SDK & Types Fixes
SDK Functions
We have discovered that the following SDK functions did not return anything and fixed them.
Service Submodule
getCampaignCampaign module Service function now properly returns the campaign object
Types
We have discovered that the following types had wrong return types and fixed them.
API Submodule
getCampaignDetailCampaign module API function- return type was
Promise<ProductSupportingContractsComplete>instead of the correctPromise<CampaignDetail>
- return type was
setCampaignCancellationCampaign module API function- return type was
Promise<ProductSupportingContractsComplete>instead of the correctPromise<CampaignIdResponse>
- return type was
orderCampaignCampaign module API function- return type was
Promise<Campaign>instead of the correctPromise<CampaignIdResponse & CampaignDraftOldBackwardsCompatability>
- return type was
Service Submodule
getCampaignDetailCampaign module Service function- return type was
Promise<ProductSupportingContractsComplete>instead of the correctPromise<CampaignDetail>
- return type was
getCampaignCampaign module Service function- return type was
Promise<ProductSupportingContractsComplete>instead of the correctPromise<Campaign>
- return type was
setCampaignCancellationCampaign module Service function- return type was
Promise<ProductSupportingContractsComplete>instead of the correctPromise<CampaignIdResponse>
- return type was
orderCampaignCampaign module Service function- return type was
Promise<Campaign>instead of the correctPromise<CampaignIdResponse & CampaignDraftOldBackwardsCompatability>
- return type was