@signalhouse-sms/sdk 1.17.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/domains/Campaigns.js
CHANGED
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
* @typedef {Object} CreateTollFreeCampaignData
|
|
106
106
|
* @property {string} brandId - The ID of the Toll-Free brand associated with the campaign (required, at least 7 characters)
|
|
107
107
|
* @property {TollFreeCampaignDetails} tollFree - The Toll-Free campaign details (required)
|
|
108
|
-
* @property {string} [privacyPolicyLink] - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and the brand
|
|
109
|
-
* @property {string} [termsAndConditionsLink] - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and the brand
|
|
108
|
+
* @property {string} [privacyPolicyLink] - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and neither the brand nor the referenced Toll-Free landing page (`tollFree.landingId`) supplies one; optional otherwise. Precedence: campaign, brand, landing page.
|
|
109
|
+
* @property {string} [termsAndConditionsLink] - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and neither the brand nor the referenced Toll-Free landing page supplies one; optional otherwise.
|
|
110
110
|
* @property {string} [tag] - A tag for the campaign (optional, at most 255 characters)
|
|
111
111
|
* @property {boolean} [autoRenewal=true] - Whether the campaign should auto-renew (optional, defaults to true)
|
|
112
112
|
* @property {Array<string>} phoneNumbers - The Toll-Free numbers to assign to the campaign (required, 1 up to the brand's tollFree.maxNumbersPerCampaign and at most 5, each at least 10 digits and digits only). The numbers must be on the brand's toll-free carrier, or the campaign is refused. Numbers are locked to the campaign once assigned and cannot be moved or added afterward.
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
* @typedef {Object} CreateTollFreeCampaignData
|
|
101
101
|
* @property {string} brandId - The ID of the Toll-Free brand associated with the campaign (required, at least 7 characters)
|
|
102
102
|
* @property {TollFreeCampaignDetails} tollFree - The Toll-Free campaign details (required)
|
|
103
|
-
* @property {string} [privacyPolicyLink] - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and the brand
|
|
104
|
-
* @property {string} [termsAndConditionsLink] - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and the brand
|
|
103
|
+
* @property {string} [privacyPolicyLink] - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and neither the brand nor the referenced Toll-Free landing page (`tollFree.landingId`) supplies one; optional otherwise. Precedence: campaign, brand, landing page.
|
|
104
|
+
* @property {string} [termsAndConditionsLink] - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and neither the brand nor the referenced Toll-Free landing page supplies one; optional otherwise.
|
|
105
105
|
* @property {string} [tag] - A tag for the campaign (optional, at most 255 characters)
|
|
106
106
|
* @property {boolean} [autoRenewal=true] - Whether the campaign should auto-renew (optional, defaults to true)
|
|
107
107
|
* @property {Array<string>} phoneNumbers - The Toll-Free numbers to assign to the campaign (required, 1 up to the brand's tollFree.maxNumbersPerCampaign and at most 5, each at least 10 digits and digits only). The numbers must be on the brand's toll-free carrier, or the campaign is refused. Numbers are locked to the campaign once assigned and cannot be moved or added afterward.
|
|
@@ -965,11 +965,11 @@ export type CreateTollFreeCampaignData = {
|
|
|
965
965
|
*/
|
|
966
966
|
tollFree: TollFreeCampaignDetails;
|
|
967
967
|
/**
|
|
968
|
-
* - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and the brand
|
|
968
|
+
* - A URL linking to the privacy policy (at most 2048 characters). Required when the brand's `tollFree.requiresPrivacyPolicy` is true and neither the brand nor the referenced Toll-Free landing page (`tollFree.landingId`) supplies one; optional otherwise. Precedence: campaign, brand, landing page.
|
|
969
969
|
*/
|
|
970
970
|
privacyPolicyLink?: string;
|
|
971
971
|
/**
|
|
972
|
-
* - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and the brand
|
|
972
|
+
* - A URL linking to the terms and conditions (at most 2048 characters). Required when the brand's `tollFree.requiresTermsAndConditions` is true and neither the brand nor the referenced Toll-Free landing page supplies one; optional otherwise.
|
|
973
973
|
*/
|
|
974
974
|
termsAndConditionsLink?: string;
|
|
975
975
|
/**
|