@getbrevo/brevo 2.3.0 → 2.5.0
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/.openapi-generator/FILES +24 -113
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +1 -6
- package/api/apis.ts +3 -9
- package/api/companiesApi.ts +69 -247
- package/api/contactsApi.ts +25 -119
- package/api/dealsApi.ts +1 -181
- package/api/ecommerceApi.ts +14 -29
- package/api/emailCampaignsApi.ts +2 -2
- package/api/masterAccountApi.ts +4 -233
- package/api/transactionalEmailsApi.ts +1 -78
- package/api/transactionalSMSApi.ts +0 -60
- package/api/userApi.ts +2 -2
- package/model/addContactToList.ts +2 -11
- package/model/companiesIdPatchRequest.ts +0 -18
- package/model/conversationsMessage.ts +0 -131
- package/model/conversionSourceMetrics.ts +3 -6
- package/model/createAttribute.ts +3 -13
- package/model/createContact.ts +4 -4
- package/model/createDoiContact.ts +3 -3
- package/model/createEmailCampaign.ts +0 -7
- package/model/createEmailCampaignRecipients.ts +0 -9
- package/model/createUpdateProduct.ts +1 -1
- package/model/createUpdateProducts.ts +1 -1
- package/model/createWebhook.ts +1 -14
- package/model/crmDealsIdPatchRequest.ts +0 -18
- package/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.ts +3 -6
- package/model/errorModel.ts +1 -0
- package/model/getAccountAllOfPlan.ts +13 -3
- package/model/getAttributesAttributesInner.ts +1 -12
- package/model/getCampaignStats.ts +0 -18
- package/model/getContactCampaignStats.ts +11 -11
- package/model/getContactCampaignStatsClickedInner.ts +3 -3
- package/model/getContactCampaignStatsUnsubscriptions.ts +6 -6
- package/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.ts +0 -45
- package/model/getCorporateUserPermissionFeatureAccess.ts +0 -45
- package/model/getEmailCampaign.ts +6 -4
- package/model/getExtendedCampaignStats.ts +0 -3
- package/model/getOrdersOrdersInner.ts +8 -24
- package/model/getSegments.ts +3 -3
- package/model/getSmsCampaign.ts +6 -4
- package/model/inviteAdminUserPrivilegesInner.ts +2 -11
- package/model/inviteuserPrivilegesInner.ts +3 -5
- package/model/models.ts +77 -419
- package/model/order.ts +8 -24
- package/model/orderBilling.ts +1 -1
- package/model/removeContactFromList.ts +3 -12
- package/model/requestContactExport.ts +1 -37
- package/model/requestContactExportCustomContactFilter.ts +1 -10
- package/model/sendSmtpEmail.ts +1 -1
- package/model/sendTransacSms.ts +5 -3
- package/model/subAccountDetailsResponsePlanInfoCredits.ts +0 -14
- package/model/subAccountDetailsResponsePlanInfoFeatures.ts +0 -7
- package/model/subAccountDetailsResponsePlanInfoFeaturesUsers.ts +3 -3
- package/model/subAccountUpdatePlanRequestCredits.ts +2 -20
- package/model/subAccountUpdatePlanRequestFeatures.ts +1 -10
- package/model/updateAttribute.ts +1 -10
- package/model/updateContact.ts +3 -3
- package/model/updateEmailCampaign.ts +0 -7
- package/model/updateEmailCampaignRecipients.ts +0 -9
- package/package.json +6 -5
- package/tsconfig.json +1 -0
- package/api/balanceApi.ts +0 -1725
- package/api/programApi.ts +0 -992
- package/api/rewardApi.ts +0 -975
- package/api/tierApi.ts +0 -952
- package/model/addSubscriptionMemberPayload.ts +0 -52
- package/model/aggregateBalance.ts +0 -43
- package/model/balance.ts +0 -106
- package/model/balanceDataPerContact.ts +0 -49
- package/model/balanceDefinition.ts +0 -212
- package/model/balanceDefinitionPage.ts +0 -35
- package/model/balanceLimit.ts +0 -115
- package/model/balanceOrder.ts +0 -136
- package/model/companiesImportPost200Response.ts +0 -34
- package/model/companiesImportPost400Response.ts +0 -31
- package/model/contactBalancesResp.ts +0 -50
- package/model/contactErrorModel.ts +0 -63
- package/model/conversationsMessageAttachmentsInner.ts +0 -79
- package/model/conversationsMessageForwardedToSourceStatus.ts +0 -40
- package/model/conversationsMessageFrom.ts +0 -40
- package/model/conversationsMessageReplyTo.ts +0 -40
- package/model/conversationsMessageToInner.ts +0 -37
- package/model/corporateUserEmailPermissionsPutRequest.ts +0 -41
- package/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.ts +0 -69
- package/model/createBalanceDefinitionPayload.ts +0 -218
- package/model/createBalanceLimitPayload.ts +0 -98
- package/model/createBalancePayload.ts +0 -37
- package/model/createEmailCampaignEmailExpirationDate.ts +0 -53
- package/model/createLoyaltyProgramPayload.ts +0 -61
- package/model/createOrderPayload.ts +0 -91
- package/model/createSubscriptionPayload.ts +0 -52
- package/model/createSubscriptionResponse.ts +0 -88
- package/model/createTierGroupRequest.ts +0 -73
- package/model/createTransactionPayload.ts +0 -109
- package/model/crmAttributesPost200Response.ts +0 -34
- package/model/crmAttributesPostRequest.ts +0 -85
- package/model/errorResponse.ts +0 -31
- package/model/fetchTemplatePreview.ts +0 -52
- package/model/getSegment.ts +0 -61
- package/model/loyaltyProgram.ts +0 -139
- package/model/loyaltyProgramPage.ts +0 -35
- package/model/loyaltyProgramValidationError.ts +0 -52
- package/model/loyaltyTierPage.ts +0 -32
- package/model/mainAttributeRewardPayload.ts +0 -88
- package/model/mainBillingPayload.ts +0 -88
- package/model/mainCodeCountHttpResponse.ts +0 -34
- package/model/mainCreateRedeemPayload.ts +0 -98
- package/model/mainCreateRewardPayload.ts +0 -61
- package/model/mainCreateRewardResponse.ts +0 -97
- package/model/mainErrorResponse.ts +0 -34
- package/model/mainFilter.ts +0 -43
- package/model/mainGenerator.ts +0 -79
- package/model/mainGetContactRewardsPayload.ts +0 -99
- package/model/mainIdentifiersPayload.ts +0 -43
- package/model/mainLimit.ts +0 -97
- package/model/mainModelContactReward.ts +0 -115
- package/model/mainModelContactRewardsResp.ts +0 -71
- package/model/mainNodeResponse.ts +0 -97
- package/model/mainOrderPayload.ts +0 -136
- package/model/mainProduct.ts +0 -61
- package/model/mainProductPayload.ts +0 -70
- package/model/mainRedeem.ts +0 -151
- package/model/mainResultParameterResponse.ts +0 -44
- package/model/mainReward.ts +0 -397
- package/model/mainRewardAttribution.ts +0 -124
- package/model/mainRewardConfigurations.ts +0 -52
- package/model/mainRewardPage.ts +0 -44
- package/model/mainRewardPageObj.ts +0 -106
- package/model/mainRewardValidate.ts +0 -34
- package/model/mainRule.ts +0 -145
- package/model/mainRuleConditionResponse.ts +0 -71
- package/model/mainRuleEventResponse.ts +0 -43
- package/model/mainRuleResultResponse.ts +0 -53
- package/model/mainValidateRewardPayload.ts +0 -79
- package/model/mainValueResponse.ts +0 -98
- package/model/mainVoucherRevokePayload.ts +0 -34
- package/model/memberContact.ts +0 -52
- package/model/modelSubscriptionBalanceResp.ts +0 -32
- package/model/orderIdentifiers.ts +0 -64
- package/model/patchLoyaltyProgramPayload.ts +0 -52
- package/model/sendTransacSmsTag.ts +0 -37
- package/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.ts +0 -46
- package/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.ts +0 -46
- package/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.ts +0 -46
- package/model/subAccountsUpdatePlanRequest.ts +0 -51
- package/model/subAccountsUpdatePlanRequestCredits.ts +0 -73
- package/model/subAccountsUpdatePlanRequestFeatures.ts +0 -55
- package/model/subscription.ts +0 -88
- package/model/subscriptionAggregateBalance.ts +0 -43
- package/model/subscriptionAttributedReward.ts +0 -106
- package/model/subscriptionBalances.ts +0 -53
- package/model/subscriptionHandlerInfo.ts +0 -65
- package/model/subscriptionMember.ts +0 -70
- package/model/subscriptionTier.ts +0 -88
- package/model/templatePreview.ts +0 -76
- package/model/tier.ts +0 -102
- package/model/tierAccessConditionsInner.ts +0 -55
- package/model/tierForContact.ts +0 -82
- package/model/tierGroup.ts +0 -109
- package/model/tierGroupPage.ts +0 -32
- package/model/tierRequest.ts +0 -57
- package/model/tierRequestAccessConditionsInner.ts +0 -43
- package/model/tierRequestPutPayload.ts +0 -57
- package/model/tierRequestTierRewardsInner.ts +0 -34
- package/model/tierTierRewardsInner.ts +0 -46
- package/model/transaction.ts +0 -163
- package/model/transactionHistory.ts +0 -118
- package/model/transactionHistoryResp.ts +0 -74
- package/model/unauthorizedResponse.ts +0 -34
- package/model/updateBalanceDefinitionPayload.ts +0 -218
- package/model/updateBalanceLimitPayload.ts +0 -98
- package/model/updateEmailCampaignEmailExpirationDate.ts +0 -53
- package/model/updateLoyaltyProgramPayload.ts +0 -52
- package/model/updateTierGroupRequest.ts +0 -73
package/model/models.ts
CHANGED
|
@@ -7,20 +7,11 @@ export * from './abTestVersionClicksInner';
|
|
|
7
7
|
export * from './abTestVersionStats';
|
|
8
8
|
export * from './addChildDomain';
|
|
9
9
|
export * from './addContactToList';
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './aggregateBalance';
|
|
10
|
+
export * from './addCredits';
|
|
12
11
|
export * from './authenticateDomainModel';
|
|
13
|
-
export * from './balance';
|
|
14
|
-
export * from './balanceDataPerContact';
|
|
15
|
-
export * from './balanceDefinition';
|
|
16
|
-
export * from './balanceDefinitionPage';
|
|
17
|
-
export * from './balanceLimit';
|
|
18
|
-
export * from './balanceOrder';
|
|
19
12
|
export * from './blockDomain';
|
|
20
13
|
export * from './cart';
|
|
21
14
|
export * from './companiesIdPatchRequest';
|
|
22
|
-
export * from './companiesImportPost200Response';
|
|
23
|
-
export * from './companiesImportPost400Response';
|
|
24
15
|
export * from './companiesLinkUnlinkIdPatchRequest';
|
|
25
16
|
export * from './companiesList';
|
|
26
17
|
export * from './companiesPost200Response';
|
|
@@ -29,17 +20,10 @@ export * from './company';
|
|
|
29
20
|
export * from './companyAttributesInner';
|
|
30
21
|
export * from './componentItems';
|
|
31
22
|
export * from './configuration';
|
|
32
|
-
export * from './contactBalancesResp';
|
|
33
|
-
export * from './contactErrorModel';
|
|
34
23
|
export * from './conversationsAgentOnlinePingPostRequest';
|
|
35
24
|
export * from './conversationsMessage';
|
|
36
|
-
export * from './conversationsMessageAttachmentsInner';
|
|
37
25
|
export * from './conversationsMessageFile';
|
|
38
26
|
export * from './conversationsMessageFileImageInfo';
|
|
39
|
-
export * from './conversationsMessageForwardedToSourceStatus';
|
|
40
|
-
export * from './conversationsMessageFrom';
|
|
41
|
-
export * from './conversationsMessageReplyTo';
|
|
42
|
-
export * from './conversationsMessageToInner';
|
|
43
27
|
export * from './conversationsMessagesIdPutRequest';
|
|
44
28
|
export * from './conversationsMessagesPostRequest';
|
|
45
29
|
export * from './conversationsPushedMessagesIdPutRequest';
|
|
@@ -55,16 +39,11 @@ export * from './corporateGroupPostRequest';
|
|
|
55
39
|
export * from './corporateGroupUnlinkGroupIdSubAccountsPutRequest';
|
|
56
40
|
export * from './corporateSubAccountIpAssociatePostRequest';
|
|
57
41
|
export * from './corporateSubAccountIpDissociatePutRequest';
|
|
58
|
-
export * from './corporateUserEmailPermissionsPutRequest';
|
|
59
|
-
export * from './corporateUserEmailPermissionsPutRequestPrivilegesInner';
|
|
60
42
|
export * from './corporateUserInvitationActionEmailPut200Response';
|
|
61
43
|
export * from './createApiKeyRequest';
|
|
62
44
|
export * from './createApiKeyResponse';
|
|
63
45
|
export * from './createAttribute';
|
|
64
46
|
export * from './createAttributeEnumerationInner';
|
|
65
|
-
export * from './createBalanceDefinitionPayload';
|
|
66
|
-
export * from './createBalanceLimitPayload';
|
|
67
|
-
export * from './createBalancePayload';
|
|
68
47
|
export * from './createCategoryModel';
|
|
69
48
|
export * from './createChild';
|
|
70
49
|
export * from './createContact';
|
|
@@ -77,18 +56,16 @@ export * from './createDomainModel';
|
|
|
77
56
|
export * from './createDomainModelDnsRecords';
|
|
78
57
|
export * from './createDomainModelDnsRecordsDkimRecord';
|
|
79
58
|
export * from './createEmailCampaign';
|
|
80
|
-
export * from './createEmailCampaignEmailExpirationDate';
|
|
81
59
|
export * from './createEmailCampaignRecipients';
|
|
82
60
|
export * from './createEmailCampaignSender';
|
|
83
61
|
export * from './createExternalFeed';
|
|
84
62
|
export * from './createExternalFeed201Response';
|
|
85
63
|
export * from './createList';
|
|
86
|
-
export * from './createLoyaltyProgramPayload';
|
|
87
64
|
export * from './createModel';
|
|
88
|
-
export * from './createOrderPayload';
|
|
89
65
|
export * from './createPaymentRequest';
|
|
90
66
|
export * from './createPaymentResponse';
|
|
91
67
|
export * from './createProductModel';
|
|
68
|
+
export * from './createReseller';
|
|
92
69
|
export * from './createSender';
|
|
93
70
|
export * from './createSenderIpsInner';
|
|
94
71
|
export * from './createSenderModel';
|
|
@@ -99,10 +76,6 @@ export * from './createSmtpTemplate';
|
|
|
99
76
|
export * from './createSmtpTemplateSender';
|
|
100
77
|
export * from './createSubAccount';
|
|
101
78
|
export * from './createSubAccountResponse';
|
|
102
|
-
export * from './createSubscriptionPayload';
|
|
103
|
-
export * from './createSubscriptionResponse';
|
|
104
|
-
export * from './createTierGroupRequest';
|
|
105
|
-
export * from './createTransactionPayload';
|
|
106
79
|
export * from './createUpdateBatchCategory';
|
|
107
80
|
export * from './createUpdateBatchCategoryModel';
|
|
108
81
|
export * from './createUpdateBatchProducts';
|
|
@@ -119,8 +92,6 @@ export * from './createWhatsAppCampaignRecipients';
|
|
|
119
92
|
export * from './createWhatsAppTemplate';
|
|
120
93
|
export * from './createdBatchId';
|
|
121
94
|
export * from './createdProcessId';
|
|
122
|
-
export * from './crmAttributesPost200Response';
|
|
123
|
-
export * from './crmAttributesPostRequest';
|
|
124
95
|
export * from './crmDealsIdPatchRequest';
|
|
125
96
|
export * from './crmDealsLinkUnlinkIdPatchRequest';
|
|
126
97
|
export * from './crmDealsPost201Response';
|
|
@@ -139,11 +110,9 @@ export * from './ecommerceAttributionProductsConversionSourceConversionSourceIdG
|
|
|
139
110
|
export * from './ecommerceConfigDisplayCurrencyGet200Response';
|
|
140
111
|
export * from './emailExportRecipients';
|
|
141
112
|
export * from './errorModel';
|
|
142
|
-
export * from './errorResponse';
|
|
143
113
|
export * from './event';
|
|
144
114
|
export * from './eventIdentifiers';
|
|
145
115
|
export * from './exportWebhooksHistory';
|
|
146
|
-
export * from './fetchTemplatePreview';
|
|
147
116
|
export * from './fileData';
|
|
148
117
|
export * from './fileDownloadableLink';
|
|
149
118
|
export * from './getAccount';
|
|
@@ -165,13 +134,26 @@ export * from './getCampaignRecipients';
|
|
|
165
134
|
export * from './getCampaignStats';
|
|
166
135
|
export * from './getCategories';
|
|
167
136
|
export * from './getCategoryDetails';
|
|
137
|
+
export * from './getChildAccountCreationStatus';
|
|
168
138
|
export * from './getChildDomain';
|
|
139
|
+
export * from './getChildInfo';
|
|
140
|
+
export * from './getChildInfoAllOfApiKeys';
|
|
141
|
+
export * from './getChildInfoAllOfApiKeysV2';
|
|
142
|
+
export * from './getChildInfoAllOfApiKeysV3';
|
|
143
|
+
export * from './getChildInfoAllOfCredits';
|
|
144
|
+
export * from './getChildInfoAllOfStatistics';
|
|
145
|
+
export * from './getChildrenList';
|
|
146
|
+
export * from './getChildrenListChildrenInner';
|
|
169
147
|
export * from './getClient';
|
|
170
148
|
export * from './getContactCampaignStats';
|
|
171
149
|
export * from './getContactCampaignStatsClickedInner';
|
|
150
|
+
export * from './getContactCampaignStatsClickedInnerLinksInner';
|
|
151
|
+
export * from './getContactCampaignStatsMessagesSentInner';
|
|
172
152
|
export * from './getContactCampaignStatsOpenedInner';
|
|
173
153
|
export * from './getContactCampaignStatsTransacAttributesInner';
|
|
174
154
|
export * from './getContactCampaignStatsUnsubscriptions';
|
|
155
|
+
export * from './getContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner';
|
|
156
|
+
export * from './getContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner';
|
|
175
157
|
export * from './getContactDetails';
|
|
176
158
|
export * from './getContacts';
|
|
177
159
|
export * from './getCorporateInvitedUsersList';
|
|
@@ -239,8 +221,8 @@ export * from './getReportsReportsInner';
|
|
|
239
221
|
export * from './getScheduledEmailByBatchId';
|
|
240
222
|
export * from './getScheduledEmailByBatchIdBatchesInner';
|
|
241
223
|
export * from './getScheduledEmailByMessageId';
|
|
242
|
-
export * from './getSegment';
|
|
243
224
|
export * from './getSegments';
|
|
225
|
+
export * from './getSegmentsSegments';
|
|
244
226
|
export * from './getSendersList';
|
|
245
227
|
export * from './getSendersListSendersInner';
|
|
246
228
|
export * from './getSendersListSendersInnerIpsInner';
|
|
@@ -286,51 +268,13 @@ export * from './inviteAdminUser';
|
|
|
286
268
|
export * from './inviteAdminUserPrivilegesInner';
|
|
287
269
|
export * from './inviteuser';
|
|
288
270
|
export * from './inviteuserPrivilegesInner';
|
|
289
|
-
export * from './
|
|
290
|
-
export * from './loyaltyProgramPage';
|
|
291
|
-
export * from './loyaltyProgramValidationError';
|
|
292
|
-
export * from './loyaltyTierPage';
|
|
293
|
-
export * from './mainAttributeRewardPayload';
|
|
294
|
-
export * from './mainBillingPayload';
|
|
295
|
-
export * from './mainCodeCountHttpResponse';
|
|
296
|
-
export * from './mainCreateRedeemPayload';
|
|
297
|
-
export * from './mainCreateRewardPayload';
|
|
298
|
-
export * from './mainCreateRewardResponse';
|
|
299
|
-
export * from './mainErrorResponse';
|
|
300
|
-
export * from './mainFilter';
|
|
301
|
-
export * from './mainGenerator';
|
|
302
|
-
export * from './mainGetContactRewardsPayload';
|
|
303
|
-
export * from './mainIdentifiersPayload';
|
|
304
|
-
export * from './mainLimit';
|
|
305
|
-
export * from './mainModelContactReward';
|
|
306
|
-
export * from './mainModelContactRewardsResp';
|
|
307
|
-
export * from './mainNodeResponse';
|
|
308
|
-
export * from './mainOrderPayload';
|
|
309
|
-
export * from './mainProduct';
|
|
310
|
-
export * from './mainProductPayload';
|
|
311
|
-
export * from './mainRedeem';
|
|
312
|
-
export * from './mainResultParameterResponse';
|
|
313
|
-
export * from './mainReward';
|
|
314
|
-
export * from './mainRewardAttribution';
|
|
315
|
-
export * from './mainRewardConfigurations';
|
|
316
|
-
export * from './mainRewardPage';
|
|
317
|
-
export * from './mainRewardPageObj';
|
|
318
|
-
export * from './mainRewardValidate';
|
|
319
|
-
export * from './mainRule';
|
|
320
|
-
export * from './mainRuleConditionResponse';
|
|
321
|
-
export * from './mainRuleEventResponse';
|
|
322
|
-
export * from './mainRuleResultResponse';
|
|
323
|
-
export * from './mainValidateRewardPayload';
|
|
324
|
-
export * from './mainValueResponse';
|
|
325
|
-
export * from './mainVoucherRevokePayload';
|
|
271
|
+
export * from './manageIp';
|
|
326
272
|
export * from './masterDetailsResponse';
|
|
327
273
|
export * from './masterDetailsResponseBillingInfo';
|
|
328
274
|
export * from './masterDetailsResponseBillingInfoAddress';
|
|
329
275
|
export * from './masterDetailsResponseBillingInfoName';
|
|
330
276
|
export * from './masterDetailsResponsePlanInfo';
|
|
331
277
|
export * from './masterDetailsResponsePlanInfoFeaturesInner';
|
|
332
|
-
export * from './memberContact';
|
|
333
|
-
export * from './modelSubscriptionBalanceResp';
|
|
334
278
|
export * from './note';
|
|
335
279
|
export * from './noteData';
|
|
336
280
|
export * from './noteId';
|
|
@@ -338,10 +282,8 @@ export * from './notification';
|
|
|
338
282
|
export * from './order';
|
|
339
283
|
export * from './orderBatch';
|
|
340
284
|
export * from './orderBilling';
|
|
341
|
-
export * from './orderIdentifiers';
|
|
342
285
|
export * from './orderProductsInner';
|
|
343
286
|
export * from './otp';
|
|
344
|
-
export * from './patchLoyaltyProgramPayload';
|
|
345
287
|
export * from './pipeline';
|
|
346
288
|
export * from './pipelineStage';
|
|
347
289
|
export * from './postContactInfo';
|
|
@@ -350,7 +292,11 @@ export * from './postSendFailed';
|
|
|
350
292
|
export * from './postSendSmsTestFailed';
|
|
351
293
|
export * from './putRevokeUserPermission';
|
|
352
294
|
export * from './putresendcancelinvitation';
|
|
295
|
+
export * from './remainingCreditModel';
|
|
296
|
+
export * from './remainingCreditModelChild';
|
|
297
|
+
export * from './remainingCreditModelReseller';
|
|
353
298
|
export * from './removeContactFromList';
|
|
299
|
+
export * from './removeCredits';
|
|
354
300
|
export * from './requestContactExport';
|
|
355
301
|
export * from './requestContactExportCustomContactFilter';
|
|
356
302
|
export * from './requestContactImport';
|
|
@@ -374,7 +320,6 @@ export * from './sendSmtpEmailToInner';
|
|
|
374
320
|
export * from './sendTestEmail';
|
|
375
321
|
export * from './sendTestSms';
|
|
376
322
|
export * from './sendTransacSms';
|
|
377
|
-
export * from './sendTransacSmsTag';
|
|
378
323
|
export * from './sendWhatsappMessage';
|
|
379
324
|
export * from './sendWhatsappMessage201Response';
|
|
380
325
|
export * from './ssoTokenRequest';
|
|
@@ -385,14 +330,11 @@ export * from './subAccountDetailsResponseGroupsInner';
|
|
|
385
330
|
export * from './subAccountDetailsResponsePlanInfo';
|
|
386
331
|
export * from './subAccountDetailsResponsePlanInfoCredits';
|
|
387
332
|
export * from './subAccountDetailsResponsePlanInfoCreditsEmails';
|
|
388
|
-
export * from './subAccountDetailsResponsePlanInfoCreditsExternalFeeds';
|
|
389
333
|
export * from './subAccountDetailsResponsePlanInfoCreditsSms';
|
|
390
|
-
export * from './subAccountDetailsResponsePlanInfoCreditsWhatsapp';
|
|
391
334
|
export * from './subAccountDetailsResponsePlanInfoCreditsWpSubscribers';
|
|
392
335
|
export * from './subAccountDetailsResponsePlanInfoFeatures';
|
|
393
336
|
export * from './subAccountDetailsResponsePlanInfoFeaturesInbox';
|
|
394
337
|
export * from './subAccountDetailsResponsePlanInfoFeaturesLandingPage';
|
|
395
|
-
export * from './subAccountDetailsResponsePlanInfoFeaturesSalesUsers';
|
|
396
338
|
export * from './subAccountDetailsResponsePlanInfoFeaturesUsers';
|
|
397
339
|
export * from './subAccountUpdatePlanRequest';
|
|
398
340
|
export * from './subAccountUpdatePlanRequestCredits';
|
|
@@ -400,59 +342,31 @@ export * from './subAccountUpdatePlanRequestFeatures';
|
|
|
400
342
|
export * from './subAccountsResponse';
|
|
401
343
|
export * from './subAccountsResponseSubAccountsInner';
|
|
402
344
|
export * from './subAccountsResponseSubAccountsInnerGroupsInner';
|
|
403
|
-
export * from './subAccountsUpdatePlanRequest';
|
|
404
|
-
export * from './subAccountsUpdatePlanRequestCredits';
|
|
405
|
-
export * from './subAccountsUpdatePlanRequestFeatures';
|
|
406
|
-
export * from './subscription';
|
|
407
|
-
export * from './subscriptionAggregateBalance';
|
|
408
|
-
export * from './subscriptionAttributedReward';
|
|
409
|
-
export * from './subscriptionBalances';
|
|
410
|
-
export * from './subscriptionHandlerInfo';
|
|
411
|
-
export * from './subscriptionMember';
|
|
412
|
-
export * from './subscriptionTier';
|
|
413
345
|
export * from './task';
|
|
414
346
|
export * from './taskList';
|
|
415
347
|
export * from './taskReminder';
|
|
416
348
|
export * from './taskTypes';
|
|
417
|
-
export * from './templatePreview';
|
|
418
|
-
export * from './tier';
|
|
419
|
-
export * from './tierAccessConditionsInner';
|
|
420
|
-
export * from './tierForContact';
|
|
421
|
-
export * from './tierGroup';
|
|
422
|
-
export * from './tierGroupPage';
|
|
423
|
-
export * from './tierRequest';
|
|
424
|
-
export * from './tierRequestAccessConditionsInner';
|
|
425
|
-
export * from './tierRequestPutPayload';
|
|
426
|
-
export * from './tierRequestTierRewardsInner';
|
|
427
|
-
export * from './tierTierRewardsInner';
|
|
428
|
-
export * from './transaction';
|
|
429
|
-
export * from './transactionHistory';
|
|
430
|
-
export * from './transactionHistoryResp';
|
|
431
|
-
export * from './unauthorizedResponse';
|
|
432
349
|
export * from './updateAttribute';
|
|
433
350
|
export * from './updateAttributeEnumerationInner';
|
|
434
|
-
export * from './updateBalanceDefinitionPayload';
|
|
435
|
-
export * from './updateBalanceLimitPayload';
|
|
436
351
|
export * from './updateBatchContacts';
|
|
437
352
|
export * from './updateBatchContactsContactsInner';
|
|
438
353
|
export * from './updateBatchContactsModel';
|
|
439
354
|
export * from './updateCampaignStatus';
|
|
440
355
|
export * from './updateChild';
|
|
356
|
+
export * from './updateChildAccountStatus';
|
|
357
|
+
export * from './updateChildDomain';
|
|
441
358
|
export * from './updateContact';
|
|
442
359
|
export * from './updateCouponCollection200Response';
|
|
443
360
|
export * from './updateCouponCollectionRequest';
|
|
444
361
|
export * from './updateEmailCampaign';
|
|
445
|
-
export * from './updateEmailCampaignEmailExpirationDate';
|
|
446
362
|
export * from './updateEmailCampaignRecipients';
|
|
447
363
|
export * from './updateEmailCampaignSender';
|
|
448
364
|
export * from './updateExternalFeed';
|
|
449
365
|
export * from './updateList';
|
|
450
|
-
export * from './updateLoyaltyProgramPayload';
|
|
451
366
|
export * from './updateSender';
|
|
452
367
|
export * from './updateSmsCampaign';
|
|
453
368
|
export * from './updateSmtpTemplate';
|
|
454
369
|
export * from './updateSmtpTemplateSender';
|
|
455
|
-
export * from './updateTierGroupRequest';
|
|
456
370
|
export * from './updateWebhook';
|
|
457
371
|
export * from './updateWhatsAppCampaign';
|
|
458
372
|
export * from './uploadImageModel';
|
|
@@ -481,20 +395,11 @@ import { AbTestVersionClicksInner } from './abTestVersionClicksInner';
|
|
|
481
395
|
import { AbTestVersionStats } from './abTestVersionStats';
|
|
482
396
|
import { AddChildDomain } from './addChildDomain';
|
|
483
397
|
import { AddContactToList } from './addContactToList';
|
|
484
|
-
import {
|
|
485
|
-
import { AggregateBalance } from './aggregateBalance';
|
|
398
|
+
import { AddCredits } from './addCredits';
|
|
486
399
|
import { AuthenticateDomainModel } from './authenticateDomainModel';
|
|
487
|
-
import { Balance } from './balance';
|
|
488
|
-
import { BalanceDataPerContact } from './balanceDataPerContact';
|
|
489
|
-
import { BalanceDefinition } from './balanceDefinition';
|
|
490
|
-
import { BalanceDefinitionPage } from './balanceDefinitionPage';
|
|
491
|
-
import { BalanceLimit } from './balanceLimit';
|
|
492
|
-
import { BalanceOrder } from './balanceOrder';
|
|
493
400
|
import { BlockDomain } from './blockDomain';
|
|
494
401
|
import { Cart } from './cart';
|
|
495
402
|
import { CompaniesIdPatchRequest } from './companiesIdPatchRequest';
|
|
496
|
-
import { CompaniesImportPost200Response } from './companiesImportPost200Response';
|
|
497
|
-
import { CompaniesImportPost400Response } from './companiesImportPost400Response';
|
|
498
403
|
import { CompaniesLinkUnlinkIdPatchRequest } from './companiesLinkUnlinkIdPatchRequest';
|
|
499
404
|
import { CompaniesList } from './companiesList';
|
|
500
405
|
import { CompaniesPost200Response } from './companiesPost200Response';
|
|
@@ -503,17 +408,10 @@ import { Company } from './company';
|
|
|
503
408
|
import { CompanyAttributesInner } from './companyAttributesInner';
|
|
504
409
|
import { ComponentItems } from './componentItems';
|
|
505
410
|
import { Configuration } from './configuration';
|
|
506
|
-
import { ContactBalancesResp } from './contactBalancesResp';
|
|
507
|
-
import { ContactErrorModel } from './contactErrorModel';
|
|
508
411
|
import { ConversationsAgentOnlinePingPostRequest } from './conversationsAgentOnlinePingPostRequest';
|
|
509
412
|
import { ConversationsMessage } from './conversationsMessage';
|
|
510
|
-
import { ConversationsMessageAttachmentsInner } from './conversationsMessageAttachmentsInner';
|
|
511
413
|
import { ConversationsMessageFile } from './conversationsMessageFile';
|
|
512
414
|
import { ConversationsMessageFileImageInfo } from './conversationsMessageFileImageInfo';
|
|
513
|
-
import { ConversationsMessageForwardedToSourceStatus } from './conversationsMessageForwardedToSourceStatus';
|
|
514
|
-
import { ConversationsMessageFrom } from './conversationsMessageFrom';
|
|
515
|
-
import { ConversationsMessageReplyTo } from './conversationsMessageReplyTo';
|
|
516
|
-
import { ConversationsMessageToInner } from './conversationsMessageToInner';
|
|
517
415
|
import { ConversationsMessagesIdPutRequest } from './conversationsMessagesIdPutRequest';
|
|
518
416
|
import { ConversationsMessagesPostRequest } from './conversationsMessagesPostRequest';
|
|
519
417
|
import { ConversationsPushedMessagesIdPutRequest } from './conversationsPushedMessagesIdPutRequest';
|
|
@@ -529,16 +427,11 @@ import { CorporateGroupPostRequest } from './corporateGroupPostRequest';
|
|
|
529
427
|
import { CorporateGroupUnlinkGroupIdSubAccountsPutRequest } from './corporateGroupUnlinkGroupIdSubAccountsPutRequest';
|
|
530
428
|
import { CorporateSubAccountIpAssociatePostRequest } from './corporateSubAccountIpAssociatePostRequest';
|
|
531
429
|
import { CorporateSubAccountIpDissociatePutRequest } from './corporateSubAccountIpDissociatePutRequest';
|
|
532
|
-
import { CorporateUserEmailPermissionsPutRequest } from './corporateUserEmailPermissionsPutRequest';
|
|
533
|
-
import { CorporateUserEmailPermissionsPutRequestPrivilegesInner } from './corporateUserEmailPermissionsPutRequestPrivilegesInner';
|
|
534
430
|
import { CorporateUserInvitationActionEmailPut200Response } from './corporateUserInvitationActionEmailPut200Response';
|
|
535
431
|
import { CreateApiKeyRequest } from './createApiKeyRequest';
|
|
536
432
|
import { CreateApiKeyResponse } from './createApiKeyResponse';
|
|
537
433
|
import { CreateAttribute } from './createAttribute';
|
|
538
434
|
import { CreateAttributeEnumerationInner } from './createAttributeEnumerationInner';
|
|
539
|
-
import { CreateBalanceDefinitionPayload } from './createBalanceDefinitionPayload';
|
|
540
|
-
import { CreateBalanceLimitPayload } from './createBalanceLimitPayload';
|
|
541
|
-
import { CreateBalancePayload } from './createBalancePayload';
|
|
542
435
|
import { CreateCategoryModel } from './createCategoryModel';
|
|
543
436
|
import { CreateChild } from './createChild';
|
|
544
437
|
import { CreateContact } from './createContact';
|
|
@@ -551,18 +444,16 @@ import { CreateDomainModel } from './createDomainModel';
|
|
|
551
444
|
import { CreateDomainModelDnsRecords } from './createDomainModelDnsRecords';
|
|
552
445
|
import { CreateDomainModelDnsRecordsDkimRecord } from './createDomainModelDnsRecordsDkimRecord';
|
|
553
446
|
import { CreateEmailCampaign } from './createEmailCampaign';
|
|
554
|
-
import { CreateEmailCampaignEmailExpirationDate } from './createEmailCampaignEmailExpirationDate';
|
|
555
447
|
import { CreateEmailCampaignRecipients } from './createEmailCampaignRecipients';
|
|
556
448
|
import { CreateEmailCampaignSender } from './createEmailCampaignSender';
|
|
557
449
|
import { CreateExternalFeed } from './createExternalFeed';
|
|
558
450
|
import { CreateExternalFeed201Response } from './createExternalFeed201Response';
|
|
559
451
|
import { CreateList } from './createList';
|
|
560
|
-
import { CreateLoyaltyProgramPayload } from './createLoyaltyProgramPayload';
|
|
561
452
|
import { CreateModel } from './createModel';
|
|
562
|
-
import { CreateOrderPayload } from './createOrderPayload';
|
|
563
453
|
import { CreatePaymentRequest } from './createPaymentRequest';
|
|
564
454
|
import { CreatePaymentResponse } from './createPaymentResponse';
|
|
565
455
|
import { CreateProductModel } from './createProductModel';
|
|
456
|
+
import { CreateReseller } from './createReseller';
|
|
566
457
|
import { CreateSender } from './createSender';
|
|
567
458
|
import { CreateSenderIpsInner } from './createSenderIpsInner';
|
|
568
459
|
import { CreateSenderModel } from './createSenderModel';
|
|
@@ -573,10 +464,6 @@ import { CreateSmtpTemplate } from './createSmtpTemplate';
|
|
|
573
464
|
import { CreateSmtpTemplateSender } from './createSmtpTemplateSender';
|
|
574
465
|
import { CreateSubAccount } from './createSubAccount';
|
|
575
466
|
import { CreateSubAccountResponse } from './createSubAccountResponse';
|
|
576
|
-
import { CreateSubscriptionPayload } from './createSubscriptionPayload';
|
|
577
|
-
import { CreateSubscriptionResponse } from './createSubscriptionResponse';
|
|
578
|
-
import { CreateTierGroupRequest } from './createTierGroupRequest';
|
|
579
|
-
import { CreateTransactionPayload } from './createTransactionPayload';
|
|
580
467
|
import { CreateUpdateBatchCategory } from './createUpdateBatchCategory';
|
|
581
468
|
import { CreateUpdateBatchCategoryModel } from './createUpdateBatchCategoryModel';
|
|
582
469
|
import { CreateUpdateBatchProducts } from './createUpdateBatchProducts';
|
|
@@ -593,8 +480,6 @@ import { CreateWhatsAppCampaignRecipients } from './createWhatsAppCampaignRecipi
|
|
|
593
480
|
import { CreateWhatsAppTemplate } from './createWhatsAppTemplate';
|
|
594
481
|
import { CreatedBatchId } from './createdBatchId';
|
|
595
482
|
import { CreatedProcessId } from './createdProcessId';
|
|
596
|
-
import { CrmAttributesPost200Response } from './crmAttributesPost200Response';
|
|
597
|
-
import { CrmAttributesPostRequest } from './crmAttributesPostRequest';
|
|
598
483
|
import { CrmDealsIdPatchRequest } from './crmDealsIdPatchRequest';
|
|
599
484
|
import { CrmDealsLinkUnlinkIdPatchRequest } from './crmDealsLinkUnlinkIdPatchRequest';
|
|
600
485
|
import { CrmDealsPost201Response } from './crmDealsPost201Response';
|
|
@@ -613,11 +498,9 @@ import { EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Res
|
|
|
613
498
|
import { EcommerceConfigDisplayCurrencyGet200Response } from './ecommerceConfigDisplayCurrencyGet200Response';
|
|
614
499
|
import { EmailExportRecipients } from './emailExportRecipients';
|
|
615
500
|
import { ErrorModel } from './errorModel';
|
|
616
|
-
import { ErrorResponse } from './errorResponse';
|
|
617
501
|
import { Event } from './event';
|
|
618
502
|
import { EventIdentifiers } from './eventIdentifiers';
|
|
619
503
|
import { ExportWebhooksHistory } from './exportWebhooksHistory';
|
|
620
|
-
import { FetchTemplatePreview } from './fetchTemplatePreview';
|
|
621
504
|
import { FileData } from './fileData';
|
|
622
505
|
import { FileDownloadableLink } from './fileDownloadableLink';
|
|
623
506
|
import { GetAccount } from './getAccount';
|
|
@@ -639,13 +522,26 @@ import { GetCampaignRecipients } from './getCampaignRecipients';
|
|
|
639
522
|
import { GetCampaignStats } from './getCampaignStats';
|
|
640
523
|
import { GetCategories } from './getCategories';
|
|
641
524
|
import { GetCategoryDetails } from './getCategoryDetails';
|
|
525
|
+
import { GetChildAccountCreationStatus } from './getChildAccountCreationStatus';
|
|
642
526
|
import { GetChildDomain } from './getChildDomain';
|
|
527
|
+
import { GetChildInfo } from './getChildInfo';
|
|
528
|
+
import { GetChildInfoAllOfApiKeys } from './getChildInfoAllOfApiKeys';
|
|
529
|
+
import { GetChildInfoAllOfApiKeysV2 } from './getChildInfoAllOfApiKeysV2';
|
|
530
|
+
import { GetChildInfoAllOfApiKeysV3 } from './getChildInfoAllOfApiKeysV3';
|
|
531
|
+
import { GetChildInfoAllOfCredits } from './getChildInfoAllOfCredits';
|
|
532
|
+
import { GetChildInfoAllOfStatistics } from './getChildInfoAllOfStatistics';
|
|
533
|
+
import { GetChildrenList } from './getChildrenList';
|
|
534
|
+
import { GetChildrenListChildrenInner } from './getChildrenListChildrenInner';
|
|
643
535
|
import { GetClient } from './getClient';
|
|
644
536
|
import { GetContactCampaignStats } from './getContactCampaignStats';
|
|
645
537
|
import { GetContactCampaignStatsClickedInner } from './getContactCampaignStatsClickedInner';
|
|
538
|
+
import { GetContactCampaignStatsClickedInnerLinksInner } from './getContactCampaignStatsClickedInnerLinksInner';
|
|
539
|
+
import { GetContactCampaignStatsMessagesSentInner } from './getContactCampaignStatsMessagesSentInner';
|
|
646
540
|
import { GetContactCampaignStatsOpenedInner } from './getContactCampaignStatsOpenedInner';
|
|
647
541
|
import { GetContactCampaignStatsTransacAttributesInner } from './getContactCampaignStatsTransacAttributesInner';
|
|
648
542
|
import { GetContactCampaignStatsUnsubscriptions } from './getContactCampaignStatsUnsubscriptions';
|
|
543
|
+
import { GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner } from './getContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner';
|
|
544
|
+
import { GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner } from './getContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner';
|
|
649
545
|
import { GetContactDetails } from './getContactDetails';
|
|
650
546
|
import { GetContacts } from './getContacts';
|
|
651
547
|
import { GetCorporateInvitedUsersList } from './getCorporateInvitedUsersList';
|
|
@@ -713,8 +609,8 @@ import { GetReportsReportsInner } from './getReportsReportsInner';
|
|
|
713
609
|
import { GetScheduledEmailByBatchId } from './getScheduledEmailByBatchId';
|
|
714
610
|
import { GetScheduledEmailByBatchIdBatchesInner } from './getScheduledEmailByBatchIdBatchesInner';
|
|
715
611
|
import { GetScheduledEmailByMessageId } from './getScheduledEmailByMessageId';
|
|
716
|
-
import { GetSegment } from './getSegment';
|
|
717
612
|
import { GetSegments } from './getSegments';
|
|
613
|
+
import { GetSegmentsSegments } from './getSegmentsSegments';
|
|
718
614
|
import { GetSendersList } from './getSendersList';
|
|
719
615
|
import { GetSendersListSendersInner } from './getSendersListSendersInner';
|
|
720
616
|
import { GetSendersListSendersInnerIpsInner } from './getSendersListSendersInnerIpsInner';
|
|
@@ -760,51 +656,13 @@ import { InviteAdminUser } from './inviteAdminUser';
|
|
|
760
656
|
import { InviteAdminUserPrivilegesInner } from './inviteAdminUserPrivilegesInner';
|
|
761
657
|
import { Inviteuser } from './inviteuser';
|
|
762
658
|
import { InviteuserPrivilegesInner } from './inviteuserPrivilegesInner';
|
|
763
|
-
import {
|
|
764
|
-
import { LoyaltyProgramPage } from './loyaltyProgramPage';
|
|
765
|
-
import { LoyaltyProgramValidationError } from './loyaltyProgramValidationError';
|
|
766
|
-
import { LoyaltyTierPage } from './loyaltyTierPage';
|
|
767
|
-
import { MainAttributeRewardPayload } from './mainAttributeRewardPayload';
|
|
768
|
-
import { MainBillingPayload } from './mainBillingPayload';
|
|
769
|
-
import { MainCodeCountHttpResponse } from './mainCodeCountHttpResponse';
|
|
770
|
-
import { MainCreateRedeemPayload } from './mainCreateRedeemPayload';
|
|
771
|
-
import { MainCreateRewardPayload } from './mainCreateRewardPayload';
|
|
772
|
-
import { MainCreateRewardResponse } from './mainCreateRewardResponse';
|
|
773
|
-
import { MainErrorResponse } from './mainErrorResponse';
|
|
774
|
-
import { MainFilter } from './mainFilter';
|
|
775
|
-
import { MainGenerator } from './mainGenerator';
|
|
776
|
-
import { MainGetContactRewardsPayload } from './mainGetContactRewardsPayload';
|
|
777
|
-
import { MainIdentifiersPayload } from './mainIdentifiersPayload';
|
|
778
|
-
import { MainLimit } from './mainLimit';
|
|
779
|
-
import { MainModelContactReward } from './mainModelContactReward';
|
|
780
|
-
import { MainModelContactRewardsResp } from './mainModelContactRewardsResp';
|
|
781
|
-
import { MainNodeResponse } from './mainNodeResponse';
|
|
782
|
-
import { MainOrderPayload } from './mainOrderPayload';
|
|
783
|
-
import { MainProduct } from './mainProduct';
|
|
784
|
-
import { MainProductPayload } from './mainProductPayload';
|
|
785
|
-
import { MainRedeem } from './mainRedeem';
|
|
786
|
-
import { MainResultParameterResponse } from './mainResultParameterResponse';
|
|
787
|
-
import { MainReward } from './mainReward';
|
|
788
|
-
import { MainRewardAttribution } from './mainRewardAttribution';
|
|
789
|
-
import { MainRewardConfigurations } from './mainRewardConfigurations';
|
|
790
|
-
import { MainRewardPage } from './mainRewardPage';
|
|
791
|
-
import { MainRewardPageObj } from './mainRewardPageObj';
|
|
792
|
-
import { MainRewardValidate } from './mainRewardValidate';
|
|
793
|
-
import { MainRule } from './mainRule';
|
|
794
|
-
import { MainRuleConditionResponse } from './mainRuleConditionResponse';
|
|
795
|
-
import { MainRuleEventResponse } from './mainRuleEventResponse';
|
|
796
|
-
import { MainRuleResultResponse } from './mainRuleResultResponse';
|
|
797
|
-
import { MainValidateRewardPayload } from './mainValidateRewardPayload';
|
|
798
|
-
import { MainValueResponse } from './mainValueResponse';
|
|
799
|
-
import { MainVoucherRevokePayload } from './mainVoucherRevokePayload';
|
|
659
|
+
import { ManageIp } from './manageIp';
|
|
800
660
|
import { MasterDetailsResponse } from './masterDetailsResponse';
|
|
801
661
|
import { MasterDetailsResponseBillingInfo } from './masterDetailsResponseBillingInfo';
|
|
802
662
|
import { MasterDetailsResponseBillingInfoAddress } from './masterDetailsResponseBillingInfoAddress';
|
|
803
663
|
import { MasterDetailsResponseBillingInfoName } from './masterDetailsResponseBillingInfoName';
|
|
804
664
|
import { MasterDetailsResponsePlanInfo } from './masterDetailsResponsePlanInfo';
|
|
805
665
|
import { MasterDetailsResponsePlanInfoFeaturesInner } from './masterDetailsResponsePlanInfoFeaturesInner';
|
|
806
|
-
import { MemberContact } from './memberContact';
|
|
807
|
-
import { ModelSubscriptionBalanceResp } from './modelSubscriptionBalanceResp';
|
|
808
666
|
import { Note } from './note';
|
|
809
667
|
import { NoteData } from './noteData';
|
|
810
668
|
import { NoteId } from './noteId';
|
|
@@ -812,10 +670,8 @@ import { Notification } from './notification';
|
|
|
812
670
|
import { Order } from './order';
|
|
813
671
|
import { OrderBatch } from './orderBatch';
|
|
814
672
|
import { OrderBilling } from './orderBilling';
|
|
815
|
-
import { OrderIdentifiers } from './orderIdentifiers';
|
|
816
673
|
import { OrderProductsInner } from './orderProductsInner';
|
|
817
674
|
import { Otp } from './otp';
|
|
818
|
-
import { PatchLoyaltyProgramPayload } from './patchLoyaltyProgramPayload';
|
|
819
675
|
import { Pipeline } from './pipeline';
|
|
820
676
|
import { PipelineStage } from './pipelineStage';
|
|
821
677
|
import { PostContactInfo } from './postContactInfo';
|
|
@@ -824,7 +680,11 @@ import { PostSendFailed } from './postSendFailed';
|
|
|
824
680
|
import { PostSendSmsTestFailed } from './postSendSmsTestFailed';
|
|
825
681
|
import { PutRevokeUserPermission } from './putRevokeUserPermission';
|
|
826
682
|
import { Putresendcancelinvitation } from './putresendcancelinvitation';
|
|
683
|
+
import { RemainingCreditModel } from './remainingCreditModel';
|
|
684
|
+
import { RemainingCreditModelChild } from './remainingCreditModelChild';
|
|
685
|
+
import { RemainingCreditModelReseller } from './remainingCreditModelReseller';
|
|
827
686
|
import { RemoveContactFromList } from './removeContactFromList';
|
|
687
|
+
import { RemoveCredits } from './removeCredits';
|
|
828
688
|
import { RequestContactExport } from './requestContactExport';
|
|
829
689
|
import { RequestContactExportCustomContactFilter } from './requestContactExportCustomContactFilter';
|
|
830
690
|
import { RequestContactImport } from './requestContactImport';
|
|
@@ -848,7 +708,6 @@ import { SendSmtpEmailToInner } from './sendSmtpEmailToInner';
|
|
|
848
708
|
import { SendTestEmail } from './sendTestEmail';
|
|
849
709
|
import { SendTestSms } from './sendTestSms';
|
|
850
710
|
import { SendTransacSms } from './sendTransacSms';
|
|
851
|
-
import { SendTransacSmsTag } from './sendTransacSmsTag';
|
|
852
711
|
import { SendWhatsappMessage } from './sendWhatsappMessage';
|
|
853
712
|
import { SendWhatsappMessage201Response } from './sendWhatsappMessage201Response';
|
|
854
713
|
import { SsoTokenRequest } from './ssoTokenRequest';
|
|
@@ -859,14 +718,11 @@ import { SubAccountDetailsResponseGroupsInner } from './subAccountDetailsRespons
|
|
|
859
718
|
import { SubAccountDetailsResponsePlanInfo } from './subAccountDetailsResponsePlanInfo';
|
|
860
719
|
import { SubAccountDetailsResponsePlanInfoCredits } from './subAccountDetailsResponsePlanInfoCredits';
|
|
861
720
|
import { SubAccountDetailsResponsePlanInfoCreditsEmails } from './subAccountDetailsResponsePlanInfoCreditsEmails';
|
|
862
|
-
import { SubAccountDetailsResponsePlanInfoCreditsExternalFeeds } from './subAccountDetailsResponsePlanInfoCreditsExternalFeeds';
|
|
863
721
|
import { SubAccountDetailsResponsePlanInfoCreditsSms } from './subAccountDetailsResponsePlanInfoCreditsSms';
|
|
864
|
-
import { SubAccountDetailsResponsePlanInfoCreditsWhatsapp } from './subAccountDetailsResponsePlanInfoCreditsWhatsapp';
|
|
865
722
|
import { SubAccountDetailsResponsePlanInfoCreditsWpSubscribers } from './subAccountDetailsResponsePlanInfoCreditsWpSubscribers';
|
|
866
723
|
import { SubAccountDetailsResponsePlanInfoFeatures } from './subAccountDetailsResponsePlanInfoFeatures';
|
|
867
724
|
import { SubAccountDetailsResponsePlanInfoFeaturesInbox } from './subAccountDetailsResponsePlanInfoFeaturesInbox';
|
|
868
725
|
import { SubAccountDetailsResponsePlanInfoFeaturesLandingPage } from './subAccountDetailsResponsePlanInfoFeaturesLandingPage';
|
|
869
|
-
import { SubAccountDetailsResponsePlanInfoFeaturesSalesUsers } from './subAccountDetailsResponsePlanInfoFeaturesSalesUsers';
|
|
870
726
|
import { SubAccountDetailsResponsePlanInfoFeaturesUsers } from './subAccountDetailsResponsePlanInfoFeaturesUsers';
|
|
871
727
|
import { SubAccountUpdatePlanRequest } from './subAccountUpdatePlanRequest';
|
|
872
728
|
import { SubAccountUpdatePlanRequestCredits } from './subAccountUpdatePlanRequestCredits';
|
|
@@ -874,59 +730,31 @@ import { SubAccountUpdatePlanRequestFeatures } from './subAccountUpdatePlanReque
|
|
|
874
730
|
import { SubAccountsResponse } from './subAccountsResponse';
|
|
875
731
|
import { SubAccountsResponseSubAccountsInner } from './subAccountsResponseSubAccountsInner';
|
|
876
732
|
import { SubAccountsResponseSubAccountsInnerGroupsInner } from './subAccountsResponseSubAccountsInnerGroupsInner';
|
|
877
|
-
import { SubAccountsUpdatePlanRequest } from './subAccountsUpdatePlanRequest';
|
|
878
|
-
import { SubAccountsUpdatePlanRequestCredits } from './subAccountsUpdatePlanRequestCredits';
|
|
879
|
-
import { SubAccountsUpdatePlanRequestFeatures } from './subAccountsUpdatePlanRequestFeatures';
|
|
880
|
-
import { Subscription } from './subscription';
|
|
881
|
-
import { SubscriptionAggregateBalance } from './subscriptionAggregateBalance';
|
|
882
|
-
import { SubscriptionAttributedReward } from './subscriptionAttributedReward';
|
|
883
|
-
import { SubscriptionBalances } from './subscriptionBalances';
|
|
884
|
-
import { SubscriptionHandlerInfo } from './subscriptionHandlerInfo';
|
|
885
|
-
import { SubscriptionMember } from './subscriptionMember';
|
|
886
|
-
import { SubscriptionTier } from './subscriptionTier';
|
|
887
733
|
import { Task } from './task';
|
|
888
734
|
import { TaskList } from './taskList';
|
|
889
735
|
import { TaskReminder } from './taskReminder';
|
|
890
736
|
import { TaskTypes } from './taskTypes';
|
|
891
|
-
import { TemplatePreview } from './templatePreview';
|
|
892
|
-
import { Tier } from './tier';
|
|
893
|
-
import { TierAccessConditionsInner } from './tierAccessConditionsInner';
|
|
894
|
-
import { TierForContact } from './tierForContact';
|
|
895
|
-
import { TierGroup } from './tierGroup';
|
|
896
|
-
import { TierGroupPage } from './tierGroupPage';
|
|
897
|
-
import { TierRequest } from './tierRequest';
|
|
898
|
-
import { TierRequestAccessConditionsInner } from './tierRequestAccessConditionsInner';
|
|
899
|
-
import { TierRequestPutPayload } from './tierRequestPutPayload';
|
|
900
|
-
import { TierRequestTierRewardsInner } from './tierRequestTierRewardsInner';
|
|
901
|
-
import { TierTierRewardsInner } from './tierTierRewardsInner';
|
|
902
|
-
import { Transaction } from './transaction';
|
|
903
|
-
import { TransactionHistory } from './transactionHistory';
|
|
904
|
-
import { TransactionHistoryResp } from './transactionHistoryResp';
|
|
905
|
-
import { UnauthorizedResponse } from './unauthorizedResponse';
|
|
906
737
|
import { UpdateAttribute } from './updateAttribute';
|
|
907
738
|
import { UpdateAttributeEnumerationInner } from './updateAttributeEnumerationInner';
|
|
908
|
-
import { UpdateBalanceDefinitionPayload } from './updateBalanceDefinitionPayload';
|
|
909
|
-
import { UpdateBalanceLimitPayload } from './updateBalanceLimitPayload';
|
|
910
739
|
import { UpdateBatchContacts } from './updateBatchContacts';
|
|
911
740
|
import { UpdateBatchContactsContactsInner } from './updateBatchContactsContactsInner';
|
|
912
741
|
import { UpdateBatchContactsModel } from './updateBatchContactsModel';
|
|
913
742
|
import { UpdateCampaignStatus } from './updateCampaignStatus';
|
|
914
743
|
import { UpdateChild } from './updateChild';
|
|
744
|
+
import { UpdateChildAccountStatus } from './updateChildAccountStatus';
|
|
745
|
+
import { UpdateChildDomain } from './updateChildDomain';
|
|
915
746
|
import { UpdateContact } from './updateContact';
|
|
916
747
|
import { UpdateCouponCollection200Response } from './updateCouponCollection200Response';
|
|
917
748
|
import { UpdateCouponCollectionRequest } from './updateCouponCollectionRequest';
|
|
918
749
|
import { UpdateEmailCampaign } from './updateEmailCampaign';
|
|
919
|
-
import { UpdateEmailCampaignEmailExpirationDate } from './updateEmailCampaignEmailExpirationDate';
|
|
920
750
|
import { UpdateEmailCampaignRecipients } from './updateEmailCampaignRecipients';
|
|
921
751
|
import { UpdateEmailCampaignSender } from './updateEmailCampaignSender';
|
|
922
752
|
import { UpdateExternalFeed } from './updateExternalFeed';
|
|
923
753
|
import { UpdateList } from './updateList';
|
|
924
|
-
import { UpdateLoyaltyProgramPayload } from './updateLoyaltyProgramPayload';
|
|
925
754
|
import { UpdateSender } from './updateSender';
|
|
926
755
|
import { UpdateSmsCampaign } from './updateSmsCampaign';
|
|
927
756
|
import { UpdateSmtpTemplate } from './updateSmtpTemplate';
|
|
928
757
|
import { UpdateSmtpTemplateSender } from './updateSmtpTemplateSender';
|
|
929
|
-
import { UpdateTierGroupRequest } from './updateTierGroupRequest';
|
|
930
758
|
import { UpdateWebhook } from './updateWebhook';
|
|
931
759
|
import { UpdateWhatsAppCampaign } from './updateWhatsAppCampaign';
|
|
932
760
|
import { UploadImageModel } from './uploadImageModel';
|
|
@@ -950,37 +778,18 @@ let primitives = [
|
|
|
950
778
|
let enumsMap: {[index: string]: any} = {
|
|
951
779
|
"AbTestCampaignResult.WinningVersionEnum": AbTestCampaignResult.WinningVersionEnum,
|
|
952
780
|
"AbTestCampaignResult.WinningCriteriaEnum": AbTestCampaignResult.WinningCriteriaEnum,
|
|
953
|
-
"BalanceDefinition.BalanceAvailabilityDurationModifierEnum": BalanceDefinition.BalanceAvailabilityDurationModifierEnum,
|
|
954
781
|
"Cart.CurrencyEnum": Cart.CurrencyEnum,
|
|
955
|
-
"ContactErrorModel.CodeEnum": ContactErrorModel.CodeEnum,
|
|
956
782
|
"ConversationsMessage.TypeEnum": ConversationsMessage.TypeEnum,
|
|
957
783
|
"ConversionSourceMetrics.ConversionSourceEnum": ConversionSourceMetrics.ConversionSourceEnum,
|
|
958
|
-
"CorporateUserEmailPermissionsPutRequestPrivilegesInner.FeatureEnum": CorporateUserEmailPermissionsPutRequestPrivilegesInner.FeatureEnum,
|
|
959
|
-
"CorporateUserEmailPermissionsPutRequestPrivilegesInner.PermissionsEnum": CorporateUserEmailPermissionsPutRequestPrivilegesInner.PermissionsEnum,
|
|
960
784
|
"CreateAttribute.TypeEnum": CreateAttribute.TypeEnum,
|
|
961
|
-
"CreateBalanceDefinitionPayload.BalanceAvailabilityDurationModifierEnum": CreateBalanceDefinitionPayload.BalanceAvailabilityDurationModifierEnum,
|
|
962
|
-
"CreateBalanceDefinitionPayload.BalanceAvailabilityDurationUnitEnum": CreateBalanceDefinitionPayload.BalanceAvailabilityDurationUnitEnum,
|
|
963
|
-
"CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum": CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum,
|
|
964
|
-
"CreateBalanceDefinitionPayload.BalanceOptionCreditRoundingEnum": CreateBalanceDefinitionPayload.BalanceOptionCreditRoundingEnum,
|
|
965
|
-
"CreateBalanceDefinitionPayload.BalanceOptionDebitRoundingEnum": CreateBalanceDefinitionPayload.BalanceOptionDebitRoundingEnum,
|
|
966
|
-
"CreateBalanceDefinitionPayload.UnitEnum": CreateBalanceDefinitionPayload.UnitEnum,
|
|
967
|
-
"CreateBalanceLimitPayload.ConstraintTypeEnum": CreateBalanceLimitPayload.ConstraintTypeEnum,
|
|
968
|
-
"CreateBalanceLimitPayload.DurationUnitEnum": CreateBalanceLimitPayload.DurationUnitEnum,
|
|
969
|
-
"CreateBalanceLimitPayload.TransactionTypeEnum": CreateBalanceLimitPayload.TransactionTypeEnum,
|
|
970
785
|
"CreateChild.LanguageEnum": CreateChild.LanguageEnum,
|
|
971
786
|
"CreateEmailCampaign.WinnerCriteriaEnum": CreateEmailCampaign.WinnerCriteriaEnum,
|
|
972
|
-
"CreateEmailCampaignEmailExpirationDate.UnitEnum": CreateEmailCampaignEmailExpirationDate.UnitEnum,
|
|
973
787
|
"CreateExternalFeed.AuthTypeEnum": CreateExternalFeed.AuthTypeEnum,
|
|
974
788
|
"CreateSubAccount.LanguageEnum": CreateSubAccount.LanguageEnum,
|
|
975
|
-
"CreateTierGroupRequest.UpgradeStrategyEnum": CreateTierGroupRequest.UpgradeStrategyEnum,
|
|
976
|
-
"CreateTierGroupRequest.DowngradeStrategyEnum": CreateTierGroupRequest.DowngradeStrategyEnum,
|
|
977
789
|
"CreateWebhook.EventsEnum": CreateWebhook.EventsEnum,
|
|
978
790
|
"CreateWebhook.TypeEnum": CreateWebhook.TypeEnum,
|
|
979
|
-
"CreateWebhook.ChannelEnum": CreateWebhook.ChannelEnum,
|
|
980
791
|
"CreateWhatsAppTemplate.CategoryEnum": CreateWhatsAppTemplate.CategoryEnum,
|
|
981
792
|
"CreateWhatsAppTemplate.SourceEnum": CreateWhatsAppTemplate.SourceEnum,
|
|
982
|
-
"CrmAttributesPostRequest.AttributeTypeEnum": CrmAttributesPostRequest.AttributeTypeEnum,
|
|
983
|
-
"CrmAttributesPostRequest.ObjectTypeEnum": CrmAttributesPostRequest.ObjectTypeEnum,
|
|
984
793
|
"EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.ConversionSourceEnum": EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.ConversionSourceEnum,
|
|
985
794
|
"EmailExportRecipients.RecipientsTypeEnum": EmailExportRecipients.RecipientsTypeEnum,
|
|
986
795
|
"ErrorModel.CodeEnum": ErrorModel.CodeEnum,
|
|
@@ -1021,10 +830,6 @@ let enumsMap: {[index: string]: any} = {
|
|
|
1021
830
|
"InviteAdminUserPrivilegesInner.PermissionsEnum": InviteAdminUserPrivilegesInner.PermissionsEnum,
|
|
1022
831
|
"InviteuserPrivilegesInner.FeatureEnum": InviteuserPrivilegesInner.FeatureEnum,
|
|
1023
832
|
"InviteuserPrivilegesInner.PermissionsEnum": InviteuserPrivilegesInner.PermissionsEnum,
|
|
1024
|
-
"LoyaltyProgram.StateEnum": LoyaltyProgram.StateEnum,
|
|
1025
|
-
"MainGetContactRewardsPayload.SortEnum": MainGetContactRewardsPayload.SortEnum,
|
|
1026
|
-
"MainGetContactRewardsPayload.SortFieldEnum": MainGetContactRewardsPayload.SortFieldEnum,
|
|
1027
|
-
"MainReward.ExpirationModifierEnum": MainReward.ExpirationModifierEnum,
|
|
1028
833
|
"MasterDetailsResponsePlanInfo.PlanPeriodEnum": MasterDetailsResponsePlanInfo.PlanPeriodEnum,
|
|
1029
834
|
"Notification.ChannelEnum": Notification.ChannelEnum,
|
|
1030
835
|
"RequestContactExportCustomContactFilter.ActionForContactsEnum": RequestContactExportCustomContactFilter.ActionForContactsEnum,
|
|
@@ -1035,23 +840,9 @@ let enumsMap: {[index: string]: any} = {
|
|
|
1035
840
|
"SendTransacSms.TypeEnum": SendTransacSms.TypeEnum,
|
|
1036
841
|
"SsoTokenRequest.TargetEnum": SsoTokenRequest.TargetEnum,
|
|
1037
842
|
"TaskReminder.UnitEnum": TaskReminder.UnitEnum,
|
|
1038
|
-
"TierGroup.UpgradeStrategyEnum": TierGroup.UpgradeStrategyEnum,
|
|
1039
|
-
"TierGroup.DowngradeStrategyEnum": TierGroup.DowngradeStrategyEnum,
|
|
1040
|
-
"UpdateBalanceDefinitionPayload.BalanceAvailabilityDurationModifierEnum": UpdateBalanceDefinitionPayload.BalanceAvailabilityDurationModifierEnum,
|
|
1041
|
-
"UpdateBalanceDefinitionPayload.BalanceAvailabilityDurationUnitEnum": UpdateBalanceDefinitionPayload.BalanceAvailabilityDurationUnitEnum,
|
|
1042
|
-
"UpdateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum": UpdateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum,
|
|
1043
|
-
"UpdateBalanceDefinitionPayload.BalanceOptionCreditRoundingEnum": UpdateBalanceDefinitionPayload.BalanceOptionCreditRoundingEnum,
|
|
1044
|
-
"UpdateBalanceDefinitionPayload.BalanceOptionDebitRoundingEnum": UpdateBalanceDefinitionPayload.BalanceOptionDebitRoundingEnum,
|
|
1045
|
-
"UpdateBalanceDefinitionPayload.UnitEnum": UpdateBalanceDefinitionPayload.UnitEnum,
|
|
1046
|
-
"UpdateBalanceLimitPayload.ConstraintTypeEnum": UpdateBalanceLimitPayload.ConstraintTypeEnum,
|
|
1047
|
-
"UpdateBalanceLimitPayload.DurationUnitEnum": UpdateBalanceLimitPayload.DurationUnitEnum,
|
|
1048
|
-
"UpdateBalanceLimitPayload.TransactionTypeEnum": UpdateBalanceLimitPayload.TransactionTypeEnum,
|
|
1049
843
|
"UpdateCampaignStatus.StatusEnum": UpdateCampaignStatus.StatusEnum,
|
|
1050
844
|
"UpdateEmailCampaign.WinnerCriteriaEnum": UpdateEmailCampaign.WinnerCriteriaEnum,
|
|
1051
|
-
"UpdateEmailCampaignEmailExpirationDate.UnitEnum": UpdateEmailCampaignEmailExpirationDate.UnitEnum,
|
|
1052
845
|
"UpdateExternalFeed.AuthTypeEnum": UpdateExternalFeed.AuthTypeEnum,
|
|
1053
|
-
"UpdateTierGroupRequest.UpgradeStrategyEnum": UpdateTierGroupRequest.UpgradeStrategyEnum,
|
|
1054
|
-
"UpdateTierGroupRequest.DowngradeStrategyEnum": UpdateTierGroupRequest.DowngradeStrategyEnum,
|
|
1055
846
|
"UpdateWebhook.EventsEnum": UpdateWebhook.EventsEnum,
|
|
1056
847
|
"UpdateWhatsAppCampaign.CampaignStatusEnum": UpdateWhatsAppCampaign.CampaignStatusEnum,
|
|
1057
848
|
}
|
|
@@ -1064,20 +855,11 @@ let typeMap: {[index: string]: any} = {
|
|
|
1064
855
|
"AbTestVersionStats": AbTestVersionStats,
|
|
1065
856
|
"AddChildDomain": AddChildDomain,
|
|
1066
857
|
"AddContactToList": AddContactToList,
|
|
1067
|
-
"
|
|
1068
|
-
"AggregateBalance": AggregateBalance,
|
|
858
|
+
"AddCredits": AddCredits,
|
|
1069
859
|
"AuthenticateDomainModel": AuthenticateDomainModel,
|
|
1070
|
-
"Balance": Balance,
|
|
1071
|
-
"BalanceDataPerContact": BalanceDataPerContact,
|
|
1072
|
-
"BalanceDefinition": BalanceDefinition,
|
|
1073
|
-
"BalanceDefinitionPage": BalanceDefinitionPage,
|
|
1074
|
-
"BalanceLimit": BalanceLimit,
|
|
1075
|
-
"BalanceOrder": BalanceOrder,
|
|
1076
860
|
"BlockDomain": BlockDomain,
|
|
1077
861
|
"Cart": Cart,
|
|
1078
862
|
"CompaniesIdPatchRequest": CompaniesIdPatchRequest,
|
|
1079
|
-
"CompaniesImportPost200Response": CompaniesImportPost200Response,
|
|
1080
|
-
"CompaniesImportPost400Response": CompaniesImportPost400Response,
|
|
1081
863
|
"CompaniesLinkUnlinkIdPatchRequest": CompaniesLinkUnlinkIdPatchRequest,
|
|
1082
864
|
"CompaniesList": CompaniesList,
|
|
1083
865
|
"CompaniesPost200Response": CompaniesPost200Response,
|
|
@@ -1086,17 +868,10 @@ let typeMap: {[index: string]: any} = {
|
|
|
1086
868
|
"CompanyAttributesInner": CompanyAttributesInner,
|
|
1087
869
|
"ComponentItems": ComponentItems,
|
|
1088
870
|
"Configuration": Configuration,
|
|
1089
|
-
"ContactBalancesResp": ContactBalancesResp,
|
|
1090
|
-
"ContactErrorModel": ContactErrorModel,
|
|
1091
871
|
"ConversationsAgentOnlinePingPostRequest": ConversationsAgentOnlinePingPostRequest,
|
|
1092
872
|
"ConversationsMessage": ConversationsMessage,
|
|
1093
|
-
"ConversationsMessageAttachmentsInner": ConversationsMessageAttachmentsInner,
|
|
1094
873
|
"ConversationsMessageFile": ConversationsMessageFile,
|
|
1095
874
|
"ConversationsMessageFileImageInfo": ConversationsMessageFileImageInfo,
|
|
1096
|
-
"ConversationsMessageForwardedToSourceStatus": ConversationsMessageForwardedToSourceStatus,
|
|
1097
|
-
"ConversationsMessageFrom": ConversationsMessageFrom,
|
|
1098
|
-
"ConversationsMessageReplyTo": ConversationsMessageReplyTo,
|
|
1099
|
-
"ConversationsMessageToInner": ConversationsMessageToInner,
|
|
1100
875
|
"ConversationsMessagesIdPutRequest": ConversationsMessagesIdPutRequest,
|
|
1101
876
|
"ConversationsMessagesPostRequest": ConversationsMessagesPostRequest,
|
|
1102
877
|
"ConversationsPushedMessagesIdPutRequest": ConversationsPushedMessagesIdPutRequest,
|
|
@@ -1112,16 +887,11 @@ let typeMap: {[index: string]: any} = {
|
|
|
1112
887
|
"CorporateGroupUnlinkGroupIdSubAccountsPutRequest": CorporateGroupUnlinkGroupIdSubAccountsPutRequest,
|
|
1113
888
|
"CorporateSubAccountIpAssociatePostRequest": CorporateSubAccountIpAssociatePostRequest,
|
|
1114
889
|
"CorporateSubAccountIpDissociatePutRequest": CorporateSubAccountIpDissociatePutRequest,
|
|
1115
|
-
"CorporateUserEmailPermissionsPutRequest": CorporateUserEmailPermissionsPutRequest,
|
|
1116
|
-
"CorporateUserEmailPermissionsPutRequestPrivilegesInner": CorporateUserEmailPermissionsPutRequestPrivilegesInner,
|
|
1117
890
|
"CorporateUserInvitationActionEmailPut200Response": CorporateUserInvitationActionEmailPut200Response,
|
|
1118
891
|
"CreateApiKeyRequest": CreateApiKeyRequest,
|
|
1119
892
|
"CreateApiKeyResponse": CreateApiKeyResponse,
|
|
1120
893
|
"CreateAttribute": CreateAttribute,
|
|
1121
894
|
"CreateAttributeEnumerationInner": CreateAttributeEnumerationInner,
|
|
1122
|
-
"CreateBalanceDefinitionPayload": CreateBalanceDefinitionPayload,
|
|
1123
|
-
"CreateBalanceLimitPayload": CreateBalanceLimitPayload,
|
|
1124
|
-
"CreateBalancePayload": CreateBalancePayload,
|
|
1125
895
|
"CreateCategoryModel": CreateCategoryModel,
|
|
1126
896
|
"CreateChild": CreateChild,
|
|
1127
897
|
"CreateContact": CreateContact,
|
|
@@ -1134,18 +904,16 @@ let typeMap: {[index: string]: any} = {
|
|
|
1134
904
|
"CreateDomainModelDnsRecords": CreateDomainModelDnsRecords,
|
|
1135
905
|
"CreateDomainModelDnsRecordsDkimRecord": CreateDomainModelDnsRecordsDkimRecord,
|
|
1136
906
|
"CreateEmailCampaign": CreateEmailCampaign,
|
|
1137
|
-
"CreateEmailCampaignEmailExpirationDate": CreateEmailCampaignEmailExpirationDate,
|
|
1138
907
|
"CreateEmailCampaignRecipients": CreateEmailCampaignRecipients,
|
|
1139
908
|
"CreateEmailCampaignSender": CreateEmailCampaignSender,
|
|
1140
909
|
"CreateExternalFeed": CreateExternalFeed,
|
|
1141
910
|
"CreateExternalFeed201Response": CreateExternalFeed201Response,
|
|
1142
911
|
"CreateList": CreateList,
|
|
1143
|
-
"CreateLoyaltyProgramPayload": CreateLoyaltyProgramPayload,
|
|
1144
912
|
"CreateModel": CreateModel,
|
|
1145
|
-
"CreateOrderPayload": CreateOrderPayload,
|
|
1146
913
|
"CreatePaymentRequest": CreatePaymentRequest,
|
|
1147
914
|
"CreatePaymentResponse": CreatePaymentResponse,
|
|
1148
915
|
"CreateProductModel": CreateProductModel,
|
|
916
|
+
"CreateReseller": CreateReseller,
|
|
1149
917
|
"CreateSender": CreateSender,
|
|
1150
918
|
"CreateSenderIpsInner": CreateSenderIpsInner,
|
|
1151
919
|
"CreateSenderModel": CreateSenderModel,
|
|
@@ -1156,10 +924,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
1156
924
|
"CreateSmtpTemplateSender": CreateSmtpTemplateSender,
|
|
1157
925
|
"CreateSubAccount": CreateSubAccount,
|
|
1158
926
|
"CreateSubAccountResponse": CreateSubAccountResponse,
|
|
1159
|
-
"CreateSubscriptionPayload": CreateSubscriptionPayload,
|
|
1160
|
-
"CreateSubscriptionResponse": CreateSubscriptionResponse,
|
|
1161
|
-
"CreateTierGroupRequest": CreateTierGroupRequest,
|
|
1162
|
-
"CreateTransactionPayload": CreateTransactionPayload,
|
|
1163
927
|
"CreateUpdateBatchCategory": CreateUpdateBatchCategory,
|
|
1164
928
|
"CreateUpdateBatchCategoryModel": CreateUpdateBatchCategoryModel,
|
|
1165
929
|
"CreateUpdateBatchProducts": CreateUpdateBatchProducts,
|
|
@@ -1176,8 +940,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
1176
940
|
"CreateWhatsAppTemplate": CreateWhatsAppTemplate,
|
|
1177
941
|
"CreatedBatchId": CreatedBatchId,
|
|
1178
942
|
"CreatedProcessId": CreatedProcessId,
|
|
1179
|
-
"CrmAttributesPost200Response": CrmAttributesPost200Response,
|
|
1180
|
-
"CrmAttributesPostRequest": CrmAttributesPostRequest,
|
|
1181
943
|
"CrmDealsIdPatchRequest": CrmDealsIdPatchRequest,
|
|
1182
944
|
"CrmDealsLinkUnlinkIdPatchRequest": CrmDealsLinkUnlinkIdPatchRequest,
|
|
1183
945
|
"CrmDealsPost201Response": CrmDealsPost201Response,
|
|
@@ -1196,11 +958,9 @@ let typeMap: {[index: string]: any} = {
|
|
|
1196
958
|
"EcommerceConfigDisplayCurrencyGet200Response": EcommerceConfigDisplayCurrencyGet200Response,
|
|
1197
959
|
"EmailExportRecipients": EmailExportRecipients,
|
|
1198
960
|
"ErrorModel": ErrorModel,
|
|
1199
|
-
"ErrorResponse": ErrorResponse,
|
|
1200
961
|
"Event": Event,
|
|
1201
962
|
"EventIdentifiers": EventIdentifiers,
|
|
1202
963
|
"ExportWebhooksHistory": ExportWebhooksHistory,
|
|
1203
|
-
"FetchTemplatePreview": FetchTemplatePreview,
|
|
1204
964
|
"FileData": FileData,
|
|
1205
965
|
"FileDownloadableLink": FileDownloadableLink,
|
|
1206
966
|
"GetAccount": GetAccount,
|
|
@@ -1222,13 +982,26 @@ let typeMap: {[index: string]: any} = {
|
|
|
1222
982
|
"GetCampaignStats": GetCampaignStats,
|
|
1223
983
|
"GetCategories": GetCategories,
|
|
1224
984
|
"GetCategoryDetails": GetCategoryDetails,
|
|
985
|
+
"GetChildAccountCreationStatus": GetChildAccountCreationStatus,
|
|
1225
986
|
"GetChildDomain": GetChildDomain,
|
|
987
|
+
"GetChildInfo": GetChildInfo,
|
|
988
|
+
"GetChildInfoAllOfApiKeys": GetChildInfoAllOfApiKeys,
|
|
989
|
+
"GetChildInfoAllOfApiKeysV2": GetChildInfoAllOfApiKeysV2,
|
|
990
|
+
"GetChildInfoAllOfApiKeysV3": GetChildInfoAllOfApiKeysV3,
|
|
991
|
+
"GetChildInfoAllOfCredits": GetChildInfoAllOfCredits,
|
|
992
|
+
"GetChildInfoAllOfStatistics": GetChildInfoAllOfStatistics,
|
|
993
|
+
"GetChildrenList": GetChildrenList,
|
|
994
|
+
"GetChildrenListChildrenInner": GetChildrenListChildrenInner,
|
|
1226
995
|
"GetClient": GetClient,
|
|
1227
996
|
"GetContactCampaignStats": GetContactCampaignStats,
|
|
1228
997
|
"GetContactCampaignStatsClickedInner": GetContactCampaignStatsClickedInner,
|
|
998
|
+
"GetContactCampaignStatsClickedInnerLinksInner": GetContactCampaignStatsClickedInnerLinksInner,
|
|
999
|
+
"GetContactCampaignStatsMessagesSentInner": GetContactCampaignStatsMessagesSentInner,
|
|
1229
1000
|
"GetContactCampaignStatsOpenedInner": GetContactCampaignStatsOpenedInner,
|
|
1230
1001
|
"GetContactCampaignStatsTransacAttributesInner": GetContactCampaignStatsTransacAttributesInner,
|
|
1231
1002
|
"GetContactCampaignStatsUnsubscriptions": GetContactCampaignStatsUnsubscriptions,
|
|
1003
|
+
"GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner": GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner,
|
|
1004
|
+
"GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner": GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner,
|
|
1232
1005
|
"GetContactDetails": GetContactDetails,
|
|
1233
1006
|
"GetContacts": GetContacts,
|
|
1234
1007
|
"GetCorporateInvitedUsersList": GetCorporateInvitedUsersList,
|
|
@@ -1296,8 +1069,8 @@ let typeMap: {[index: string]: any} = {
|
|
|
1296
1069
|
"GetScheduledEmailByBatchId": GetScheduledEmailByBatchId,
|
|
1297
1070
|
"GetScheduledEmailByBatchIdBatchesInner": GetScheduledEmailByBatchIdBatchesInner,
|
|
1298
1071
|
"GetScheduledEmailByMessageId": GetScheduledEmailByMessageId,
|
|
1299
|
-
"GetSegment": GetSegment,
|
|
1300
1072
|
"GetSegments": GetSegments,
|
|
1073
|
+
"GetSegmentsSegments": GetSegmentsSegments,
|
|
1301
1074
|
"GetSendersList": GetSendersList,
|
|
1302
1075
|
"GetSendersListSendersInner": GetSendersListSendersInner,
|
|
1303
1076
|
"GetSendersListSendersInnerIpsInner": GetSendersListSendersInnerIpsInner,
|
|
@@ -1343,51 +1116,13 @@ let typeMap: {[index: string]: any} = {
|
|
|
1343
1116
|
"InviteAdminUserPrivilegesInner": InviteAdminUserPrivilegesInner,
|
|
1344
1117
|
"Inviteuser": Inviteuser,
|
|
1345
1118
|
"InviteuserPrivilegesInner": InviteuserPrivilegesInner,
|
|
1346
|
-
"
|
|
1347
|
-
"LoyaltyProgramPage": LoyaltyProgramPage,
|
|
1348
|
-
"LoyaltyProgramValidationError": LoyaltyProgramValidationError,
|
|
1349
|
-
"LoyaltyTierPage": LoyaltyTierPage,
|
|
1350
|
-
"MainAttributeRewardPayload": MainAttributeRewardPayload,
|
|
1351
|
-
"MainBillingPayload": MainBillingPayload,
|
|
1352
|
-
"MainCodeCountHttpResponse": MainCodeCountHttpResponse,
|
|
1353
|
-
"MainCreateRedeemPayload": MainCreateRedeemPayload,
|
|
1354
|
-
"MainCreateRewardPayload": MainCreateRewardPayload,
|
|
1355
|
-
"MainCreateRewardResponse": MainCreateRewardResponse,
|
|
1356
|
-
"MainErrorResponse": MainErrorResponse,
|
|
1357
|
-
"MainFilter": MainFilter,
|
|
1358
|
-
"MainGenerator": MainGenerator,
|
|
1359
|
-
"MainGetContactRewardsPayload": MainGetContactRewardsPayload,
|
|
1360
|
-
"MainIdentifiersPayload": MainIdentifiersPayload,
|
|
1361
|
-
"MainLimit": MainLimit,
|
|
1362
|
-
"MainModelContactReward": MainModelContactReward,
|
|
1363
|
-
"MainModelContactRewardsResp": MainModelContactRewardsResp,
|
|
1364
|
-
"MainNodeResponse": MainNodeResponse,
|
|
1365
|
-
"MainOrderPayload": MainOrderPayload,
|
|
1366
|
-
"MainProduct": MainProduct,
|
|
1367
|
-
"MainProductPayload": MainProductPayload,
|
|
1368
|
-
"MainRedeem": MainRedeem,
|
|
1369
|
-
"MainResultParameterResponse": MainResultParameterResponse,
|
|
1370
|
-
"MainReward": MainReward,
|
|
1371
|
-
"MainRewardAttribution": MainRewardAttribution,
|
|
1372
|
-
"MainRewardConfigurations": MainRewardConfigurations,
|
|
1373
|
-
"MainRewardPage": MainRewardPage,
|
|
1374
|
-
"MainRewardPageObj": MainRewardPageObj,
|
|
1375
|
-
"MainRewardValidate": MainRewardValidate,
|
|
1376
|
-
"MainRule": MainRule,
|
|
1377
|
-
"MainRuleConditionResponse": MainRuleConditionResponse,
|
|
1378
|
-
"MainRuleEventResponse": MainRuleEventResponse,
|
|
1379
|
-
"MainRuleResultResponse": MainRuleResultResponse,
|
|
1380
|
-
"MainValidateRewardPayload": MainValidateRewardPayload,
|
|
1381
|
-
"MainValueResponse": MainValueResponse,
|
|
1382
|
-
"MainVoucherRevokePayload": MainVoucherRevokePayload,
|
|
1119
|
+
"ManageIp": ManageIp,
|
|
1383
1120
|
"MasterDetailsResponse": MasterDetailsResponse,
|
|
1384
1121
|
"MasterDetailsResponseBillingInfo": MasterDetailsResponseBillingInfo,
|
|
1385
1122
|
"MasterDetailsResponseBillingInfoAddress": MasterDetailsResponseBillingInfoAddress,
|
|
1386
1123
|
"MasterDetailsResponseBillingInfoName": MasterDetailsResponseBillingInfoName,
|
|
1387
1124
|
"MasterDetailsResponsePlanInfo": MasterDetailsResponsePlanInfo,
|
|
1388
1125
|
"MasterDetailsResponsePlanInfoFeaturesInner": MasterDetailsResponsePlanInfoFeaturesInner,
|
|
1389
|
-
"MemberContact": MemberContact,
|
|
1390
|
-
"ModelSubscriptionBalanceResp": ModelSubscriptionBalanceResp,
|
|
1391
1126
|
"Note": Note,
|
|
1392
1127
|
"NoteData": NoteData,
|
|
1393
1128
|
"NoteId": NoteId,
|
|
@@ -1395,10 +1130,8 @@ let typeMap: {[index: string]: any} = {
|
|
|
1395
1130
|
"Order": Order,
|
|
1396
1131
|
"OrderBatch": OrderBatch,
|
|
1397
1132
|
"OrderBilling": OrderBilling,
|
|
1398
|
-
"OrderIdentifiers": OrderIdentifiers,
|
|
1399
1133
|
"OrderProductsInner": OrderProductsInner,
|
|
1400
1134
|
"Otp": Otp,
|
|
1401
|
-
"PatchLoyaltyProgramPayload": PatchLoyaltyProgramPayload,
|
|
1402
1135
|
"Pipeline": Pipeline,
|
|
1403
1136
|
"PipelineStage": PipelineStage,
|
|
1404
1137
|
"PostContactInfo": PostContactInfo,
|
|
@@ -1407,7 +1140,11 @@ let typeMap: {[index: string]: any} = {
|
|
|
1407
1140
|
"PostSendSmsTestFailed": PostSendSmsTestFailed,
|
|
1408
1141
|
"PutRevokeUserPermission": PutRevokeUserPermission,
|
|
1409
1142
|
"Putresendcancelinvitation": Putresendcancelinvitation,
|
|
1143
|
+
"RemainingCreditModel": RemainingCreditModel,
|
|
1144
|
+
"RemainingCreditModelChild": RemainingCreditModelChild,
|
|
1145
|
+
"RemainingCreditModelReseller": RemainingCreditModelReseller,
|
|
1410
1146
|
"RemoveContactFromList": RemoveContactFromList,
|
|
1147
|
+
"RemoveCredits": RemoveCredits,
|
|
1411
1148
|
"RequestContactExport": RequestContactExport,
|
|
1412
1149
|
"RequestContactExportCustomContactFilter": RequestContactExportCustomContactFilter,
|
|
1413
1150
|
"RequestContactImport": RequestContactImport,
|
|
@@ -1431,7 +1168,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
1431
1168
|
"SendTestEmail": SendTestEmail,
|
|
1432
1169
|
"SendTestSms": SendTestSms,
|
|
1433
1170
|
"SendTransacSms": SendTransacSms,
|
|
1434
|
-
"SendTransacSmsTag": SendTransacSmsTag,
|
|
1435
1171
|
"SendWhatsappMessage": SendWhatsappMessage,
|
|
1436
1172
|
"SendWhatsappMessage201Response": SendWhatsappMessage201Response,
|
|
1437
1173
|
"SsoTokenRequest": SsoTokenRequest,
|
|
@@ -1442,14 +1178,11 @@ let typeMap: {[index: string]: any} = {
|
|
|
1442
1178
|
"SubAccountDetailsResponsePlanInfo": SubAccountDetailsResponsePlanInfo,
|
|
1443
1179
|
"SubAccountDetailsResponsePlanInfoCredits": SubAccountDetailsResponsePlanInfoCredits,
|
|
1444
1180
|
"SubAccountDetailsResponsePlanInfoCreditsEmails": SubAccountDetailsResponsePlanInfoCreditsEmails,
|
|
1445
|
-
"SubAccountDetailsResponsePlanInfoCreditsExternalFeeds": SubAccountDetailsResponsePlanInfoCreditsExternalFeeds,
|
|
1446
1181
|
"SubAccountDetailsResponsePlanInfoCreditsSms": SubAccountDetailsResponsePlanInfoCreditsSms,
|
|
1447
|
-
"SubAccountDetailsResponsePlanInfoCreditsWhatsapp": SubAccountDetailsResponsePlanInfoCreditsWhatsapp,
|
|
1448
1182
|
"SubAccountDetailsResponsePlanInfoCreditsWpSubscribers": SubAccountDetailsResponsePlanInfoCreditsWpSubscribers,
|
|
1449
1183
|
"SubAccountDetailsResponsePlanInfoFeatures": SubAccountDetailsResponsePlanInfoFeatures,
|
|
1450
1184
|
"SubAccountDetailsResponsePlanInfoFeaturesInbox": SubAccountDetailsResponsePlanInfoFeaturesInbox,
|
|
1451
1185
|
"SubAccountDetailsResponsePlanInfoFeaturesLandingPage": SubAccountDetailsResponsePlanInfoFeaturesLandingPage,
|
|
1452
|
-
"SubAccountDetailsResponsePlanInfoFeaturesSalesUsers": SubAccountDetailsResponsePlanInfoFeaturesSalesUsers,
|
|
1453
1186
|
"SubAccountDetailsResponsePlanInfoFeaturesUsers": SubAccountDetailsResponsePlanInfoFeaturesUsers,
|
|
1454
1187
|
"SubAccountUpdatePlanRequest": SubAccountUpdatePlanRequest,
|
|
1455
1188
|
"SubAccountUpdatePlanRequestCredits": SubAccountUpdatePlanRequestCredits,
|
|
@@ -1457,59 +1190,31 @@ let typeMap: {[index: string]: any} = {
|
|
|
1457
1190
|
"SubAccountsResponse": SubAccountsResponse,
|
|
1458
1191
|
"SubAccountsResponseSubAccountsInner": SubAccountsResponseSubAccountsInner,
|
|
1459
1192
|
"SubAccountsResponseSubAccountsInnerGroupsInner": SubAccountsResponseSubAccountsInnerGroupsInner,
|
|
1460
|
-
"SubAccountsUpdatePlanRequest": SubAccountsUpdatePlanRequest,
|
|
1461
|
-
"SubAccountsUpdatePlanRequestCredits": SubAccountsUpdatePlanRequestCredits,
|
|
1462
|
-
"SubAccountsUpdatePlanRequestFeatures": SubAccountsUpdatePlanRequestFeatures,
|
|
1463
|
-
"Subscription": Subscription,
|
|
1464
|
-
"SubscriptionAggregateBalance": SubscriptionAggregateBalance,
|
|
1465
|
-
"SubscriptionAttributedReward": SubscriptionAttributedReward,
|
|
1466
|
-
"SubscriptionBalances": SubscriptionBalances,
|
|
1467
|
-
"SubscriptionHandlerInfo": SubscriptionHandlerInfo,
|
|
1468
|
-
"SubscriptionMember": SubscriptionMember,
|
|
1469
|
-
"SubscriptionTier": SubscriptionTier,
|
|
1470
1193
|
"Task": Task,
|
|
1471
1194
|
"TaskList": TaskList,
|
|
1472
1195
|
"TaskReminder": TaskReminder,
|
|
1473
1196
|
"TaskTypes": TaskTypes,
|
|
1474
|
-
"TemplatePreview": TemplatePreview,
|
|
1475
|
-
"Tier": Tier,
|
|
1476
|
-
"TierAccessConditionsInner": TierAccessConditionsInner,
|
|
1477
|
-
"TierForContact": TierForContact,
|
|
1478
|
-
"TierGroup": TierGroup,
|
|
1479
|
-
"TierGroupPage": TierGroupPage,
|
|
1480
|
-
"TierRequest": TierRequest,
|
|
1481
|
-
"TierRequestAccessConditionsInner": TierRequestAccessConditionsInner,
|
|
1482
|
-
"TierRequestPutPayload": TierRequestPutPayload,
|
|
1483
|
-
"TierRequestTierRewardsInner": TierRequestTierRewardsInner,
|
|
1484
|
-
"TierTierRewardsInner": TierTierRewardsInner,
|
|
1485
|
-
"Transaction": Transaction,
|
|
1486
|
-
"TransactionHistory": TransactionHistory,
|
|
1487
|
-
"TransactionHistoryResp": TransactionHistoryResp,
|
|
1488
|
-
"UnauthorizedResponse": UnauthorizedResponse,
|
|
1489
1197
|
"UpdateAttribute": UpdateAttribute,
|
|
1490
1198
|
"UpdateAttributeEnumerationInner": UpdateAttributeEnumerationInner,
|
|
1491
|
-
"UpdateBalanceDefinitionPayload": UpdateBalanceDefinitionPayload,
|
|
1492
|
-
"UpdateBalanceLimitPayload": UpdateBalanceLimitPayload,
|
|
1493
1199
|
"UpdateBatchContacts": UpdateBatchContacts,
|
|
1494
1200
|
"UpdateBatchContactsContactsInner": UpdateBatchContactsContactsInner,
|
|
1495
1201
|
"UpdateBatchContactsModel": UpdateBatchContactsModel,
|
|
1496
1202
|
"UpdateCampaignStatus": UpdateCampaignStatus,
|
|
1497
1203
|
"UpdateChild": UpdateChild,
|
|
1204
|
+
"UpdateChildAccountStatus": UpdateChildAccountStatus,
|
|
1205
|
+
"UpdateChildDomain": UpdateChildDomain,
|
|
1498
1206
|
"UpdateContact": UpdateContact,
|
|
1499
1207
|
"UpdateCouponCollection200Response": UpdateCouponCollection200Response,
|
|
1500
1208
|
"UpdateCouponCollectionRequest": UpdateCouponCollectionRequest,
|
|
1501
1209
|
"UpdateEmailCampaign": UpdateEmailCampaign,
|
|
1502
|
-
"UpdateEmailCampaignEmailExpirationDate": UpdateEmailCampaignEmailExpirationDate,
|
|
1503
1210
|
"UpdateEmailCampaignRecipients": UpdateEmailCampaignRecipients,
|
|
1504
1211
|
"UpdateEmailCampaignSender": UpdateEmailCampaignSender,
|
|
1505
1212
|
"UpdateExternalFeed": UpdateExternalFeed,
|
|
1506
1213
|
"UpdateList": UpdateList,
|
|
1507
|
-
"UpdateLoyaltyProgramPayload": UpdateLoyaltyProgramPayload,
|
|
1508
1214
|
"UpdateSender": UpdateSender,
|
|
1509
1215
|
"UpdateSmsCampaign": UpdateSmsCampaign,
|
|
1510
1216
|
"UpdateSmtpTemplate": UpdateSmtpTemplate,
|
|
1511
1217
|
"UpdateSmtpTemplateSender": UpdateSmtpTemplateSender,
|
|
1512
|
-
"UpdateTierGroupRequest": UpdateTierGroupRequest,
|
|
1513
1218
|
"UpdateWebhook": UpdateWebhook,
|
|
1514
1219
|
"UpdateWhatsAppCampaign": UpdateWhatsAppCampaign,
|
|
1515
1220
|
"UploadImageModel": UploadImageModel,
|
|
@@ -1519,23 +1224,6 @@ let typeMap: {[index: string]: any} = {
|
|
|
1519
1224
|
"WhatsappCampTemplate": WhatsappCampTemplate,
|
|
1520
1225
|
}
|
|
1521
1226
|
|
|
1522
|
-
// Check if a string starts with another string without using es6 features
|
|
1523
|
-
function startsWith(str: string, match: string): boolean {
|
|
1524
|
-
return str.substring(0, match.length) === match;
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
// Check if a string ends with another string without using es6 features
|
|
1528
|
-
function endsWith(str: string, match: string): boolean {
|
|
1529
|
-
return str.length >= match.length && str.substring(str.length - match.length) === match;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
const nullableSuffix = " | null";
|
|
1533
|
-
const optionalSuffix = " | undefined";
|
|
1534
|
-
const arrayPrefix = "Array<";
|
|
1535
|
-
const arraySuffix = ">";
|
|
1536
|
-
const mapPrefix = "{ [key: string]: ";
|
|
1537
|
-
const mapSuffix = "; }";
|
|
1538
|
-
|
|
1539
1227
|
export class ObjectSerializer {
|
|
1540
1228
|
public static findCorrectType(data: any, expectedType: string) {
|
|
1541
1229
|
if (data == undefined) {
|
|
@@ -1572,35 +1260,20 @@ export class ObjectSerializer {
|
|
|
1572
1260
|
}
|
|
1573
1261
|
}
|
|
1574
1262
|
|
|
1575
|
-
public static serialize(data: any, type: string)
|
|
1263
|
+
public static serialize(data: any, type: string) {
|
|
1576
1264
|
if (data == undefined) {
|
|
1577
1265
|
return data;
|
|
1578
1266
|
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
1579
1267
|
return data;
|
|
1580
|
-
} else if (
|
|
1581
|
-
let subType: string = type.
|
|
1582
|
-
|
|
1583
|
-
} else if (endsWith(type, optionalSuffix)) {
|
|
1584
|
-
let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type
|
|
1585
|
-
return ObjectSerializer.serialize(data, subType);
|
|
1586
|
-
} else if (startsWith(type, arrayPrefix)) {
|
|
1587
|
-
let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array<Type> => Type
|
|
1268
|
+
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
1269
|
+
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
1270
|
+
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
1588
1271
|
let transformedData: any[] = [];
|
|
1589
1272
|
for (let index = 0; index < data.length; index++) {
|
|
1590
1273
|
let datum = data[index];
|
|
1591
1274
|
transformedData.push(ObjectSerializer.serialize(datum, subType));
|
|
1592
1275
|
}
|
|
1593
1276
|
return transformedData;
|
|
1594
|
-
} else if (startsWith(type, mapPrefix)) {
|
|
1595
|
-
let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type
|
|
1596
|
-
let transformedData: { [key: string]: any } = {};
|
|
1597
|
-
for (let key in data) {
|
|
1598
|
-
transformedData[key] = ObjectSerializer.serialize(
|
|
1599
|
-
data[key],
|
|
1600
|
-
subType,
|
|
1601
|
-
);
|
|
1602
|
-
}
|
|
1603
|
-
return transformedData;
|
|
1604
1277
|
} else if (type === "Date") {
|
|
1605
1278
|
return data.toISOString();
|
|
1606
1279
|
} else {
|
|
@@ -1625,37 +1298,22 @@ export class ObjectSerializer {
|
|
|
1625
1298
|
}
|
|
1626
1299
|
}
|
|
1627
1300
|
|
|
1628
|
-
public static deserialize(data: any, type: string)
|
|
1301
|
+
public static deserialize(data: any, type: string) {
|
|
1629
1302
|
// polymorphism may change the actual type.
|
|
1630
1303
|
type = ObjectSerializer.findCorrectType(data, type);
|
|
1631
1304
|
if (data == undefined) {
|
|
1632
1305
|
return data;
|
|
1633
1306
|
} else if (primitives.indexOf(type.toLowerCase()) !== -1) {
|
|
1634
1307
|
return data;
|
|
1635
|
-
} else if (
|
|
1636
|
-
let subType: string = type.
|
|
1637
|
-
|
|
1638
|
-
} else if (endsWith(type, optionalSuffix)) {
|
|
1639
|
-
let subType: string = type.slice(0, -optionalSuffix.length); // Type | undefined => Type
|
|
1640
|
-
return ObjectSerializer.deserialize(data, subType);
|
|
1641
|
-
} else if (startsWith(type, arrayPrefix)) {
|
|
1642
|
-
let subType: string = type.slice(arrayPrefix.length, -arraySuffix.length); // Array<Type> => Type
|
|
1308
|
+
} else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
|
|
1309
|
+
let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
|
|
1310
|
+
subType = subType.substring(0, subType.length - 1); // Type> => Type
|
|
1643
1311
|
let transformedData: any[] = [];
|
|
1644
1312
|
for (let index = 0; index < data.length; index++) {
|
|
1645
1313
|
let datum = data[index];
|
|
1646
1314
|
transformedData.push(ObjectSerializer.deserialize(datum, subType));
|
|
1647
1315
|
}
|
|
1648
1316
|
return transformedData;
|
|
1649
|
-
} else if (startsWith(type, mapPrefix)) {
|
|
1650
|
-
let subType: string = type.slice(mapPrefix.length, -mapSuffix.length); // { [key: string]: Type; } => Type
|
|
1651
|
-
let transformedData: { [key: string]: any } = {};
|
|
1652
|
-
for (let key in data) {
|
|
1653
|
-
transformedData[key] = ObjectSerializer.deserialize(
|
|
1654
|
-
data[key],
|
|
1655
|
-
subType,
|
|
1656
|
-
);
|
|
1657
|
-
}
|
|
1658
|
-
return transformedData;
|
|
1659
1317
|
} else if (type === "Date") {
|
|
1660
1318
|
return new Date(data);
|
|
1661
1319
|
} else {
|