@getbrevo/brevo 2.3.0 → 3.0.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/.openapi-generator/FILES +24 -113
- package/.openapi-generator/VERSION +1 -1
- package/README.md +178 -100
- package/api/accountApi.ts +6 -11
- package/api/apis.ts +3 -9
- package/api/companiesApi.ts +82 -260
- package/api/contactsApi.ts +168 -265
- package/api/conversationsApi.ts +46 -47
- package/api/couponsApi.ts +11 -11
- package/api/dealsApi.ts +51 -232
- package/api/domainsApi.ts +11 -11
- package/api/ecommerceApi.ts +97 -113
- package/api/emailCampaignsApi.ts +83 -106
- package/api/eventsApi.ts +3 -3
- package/api/externalFeedsApi.ts +11 -11
- package/api/filesApi.ts +11 -11
- package/api/inboundParsingApi.ts +7 -7
- package/api/masterAccountApi.ts +53 -282
- package/api/notesApi.ts +11 -11
- package/api/paymentsApi.ts +7 -7
- package/api/processApi.ts +5 -5
- package/api/resellerApi.ts +33 -33
- package/api/sMSCampaignsApi.ts +51 -52
- package/api/sendersApi.ts +15 -15
- package/api/tasksApi.ts +13 -13
- package/api/transactionalEmailsApi.ts +46 -123
- package/api/transactionalSMSApi.ts +9 -69
- package/api/transactionalWhatsAppApi.ts +5 -5
- package/api/userApi.ts +15 -15
- package/api/webhooksApi.ts +13 -13
- package/api/whatsAppCampaignsApi.ts +19 -19
- package/dist/api/accountApi.d.ts +2 -1
- package/dist/api/accountApi.js +10 -14
- package/dist/api/accountApi.js.map +1 -1
- package/dist/api/apis.d.ts +4 -9
- package/dist/api/apis.js +3 -9
- package/dist/api/apis.js.map +1 -1
- package/dist/api/companiesApi.d.ts +10 -29
- package/dist/api/companiesApi.js +70 -219
- package/dist/api/companiesApi.js.map +1 -1
- package/dist/api/contactsApi.d.ts +35 -43
- package/dist/api/contactsApi.js +155 -232
- package/dist/api/contactsApi.js.map +1 -1
- package/dist/api/conversationsApi.d.ts +10 -10
- package/dist/api/conversationsApi.js +47 -47
- package/dist/api/conversationsApi.js.map +1 -1
- package/dist/api/couponsApi.d.ts +1 -0
- package/dist/api/couponsApi.js +22 -22
- package/dist/api/couponsApi.js.map +1 -1
- package/dist/api/dealsApi.d.ts +12 -32
- package/dist/api/dealsApi.js +52 -201
- package/dist/api/dealsApi.js.map +1 -1
- package/dist/api/domainsApi.d.ts +1 -0
- package/dist/api/domainsApi.js +22 -22
- package/dist/api/domainsApi.js.map +1 -1
- package/dist/api/ecommerceApi.d.ts +21 -21
- package/dist/api/ecommerceApi.js +88 -97
- package/dist/api/ecommerceApi.js.map +1 -1
- package/dist/api/emailCampaignsApi.d.ts +15 -15
- package/dist/api/emailCampaignsApi.js +86 -108
- package/dist/api/emailCampaignsApi.js.map +1 -1
- package/dist/api/eventsApi.d.ts +1 -0
- package/dist/api/eventsApi.js +6 -6
- package/dist/api/eventsApi.js.map +1 -1
- package/dist/api/externalFeedsApi.d.ts +1 -0
- package/dist/api/externalFeedsApi.js +22 -22
- package/dist/api/externalFeedsApi.js.map +1 -1
- package/dist/api/filesApi.d.ts +1 -0
- package/dist/api/filesApi.js +22 -22
- package/dist/api/filesApi.js.map +1 -1
- package/dist/api/inboundParsingApi.d.ts +2 -0
- package/dist/api/inboundParsingApi.js +14 -14
- package/dist/api/inboundParsingApi.js.map +1 -1
- package/dist/api/masterAccountApi.d.ts +2 -27
- package/dist/api/masterAccountApi.js +98 -299
- package/dist/api/masterAccountApi.js.map +1 -1
- package/dist/api/notesApi.d.ts +1 -0
- package/dist/api/notesApi.js +22 -22
- package/dist/api/notesApi.js.map +1 -1
- package/dist/api/paymentsApi.d.ts +1 -0
- package/dist/api/paymentsApi.js +14 -14
- package/dist/api/paymentsApi.js.map +1 -1
- package/dist/api/processApi.d.ts +1 -0
- package/dist/api/processApi.js +10 -10
- package/dist/api/processApi.js.map +1 -1
- package/dist/api/resellerApi.d.ts +1 -0
- package/dist/api/resellerApi.js +66 -66
- package/dist/api/resellerApi.js.map +1 -1
- package/dist/api/sMSCampaignsApi.d.ts +11 -11
- package/dist/api/sMSCampaignsApi.js +52 -52
- package/dist/api/sMSCampaignsApi.js.map +1 -1
- package/dist/api/sendersApi.d.ts +1 -0
- package/dist/api/sendersApi.js +30 -30
- package/dist/api/sendersApi.js.map +1 -1
- package/dist/api/tasksApi.d.ts +1 -0
- package/dist/api/tasksApi.js +26 -26
- package/dist/api/tasksApi.js.map +1 -1
- package/dist/api/transactionalEmailsApi.d.ts +1 -10
- package/dist/api/transactionalEmailsApi.js +90 -157
- package/dist/api/transactionalEmailsApi.js.map +1 -1
- package/dist/api/transactionalSMSApi.d.ts +1 -8
- package/dist/api/transactionalSMSApi.js +18 -73
- package/dist/api/transactionalSMSApi.js.map +1 -1
- package/dist/api/transactionalWhatsAppApi.d.ts +1 -0
- package/dist/api/transactionalWhatsAppApi.js +10 -10
- package/dist/api/transactionalWhatsAppApi.js.map +1 -1
- package/dist/api/userApi.d.ts +1 -0
- package/dist/api/userApi.js +26 -26
- package/dist/api/userApi.js.map +1 -1
- package/dist/api/webhooksApi.d.ts +1 -0
- package/dist/api/webhooksApi.js +26 -26
- package/dist/api/webhooksApi.js.map +1 -1
- package/dist/api/whatsAppCampaignsApi.d.ts +1 -0
- package/dist/api/whatsAppCampaignsApi.js +38 -38
- package/dist/api/whatsAppCampaignsApi.js.map +1 -1
- package/dist/model/abTestCampaignResult.js +1 -1
- package/dist/model/abTestCampaignResult.js.map +1 -1
- package/dist/model/addContactToList.d.ts +0 -1
- package/dist/model/addContactToList.js +0 -5
- package/dist/model/addContactToList.js.map +1 -1
- package/dist/model/cart.js +1 -1
- package/dist/model/cart.js.map +1 -1
- package/dist/model/companiesIdPatchRequest.d.ts +0 -2
- package/dist/model/companiesIdPatchRequest.js +0 -10
- package/dist/model/companiesIdPatchRequest.js.map +1 -1
- package/dist/model/conversationsMessage.d.ts +0 -20
- package/dist/model/conversationsMessage.js +1 -76
- package/dist/model/conversationsMessage.js.map +1 -1
- package/dist/model/conversionSourceMetrics.d.ts +2 -5
- package/dist/model/conversionSourceMetrics.js +2 -5
- package/dist/model/conversionSourceMetrics.js.map +1 -1
- package/dist/model/createAttribute.d.ts +1 -3
- package/dist/model/createAttribute.js +1 -7
- package/dist/model/createAttribute.js.map +1 -1
- package/dist/model/createChild.js +1 -1
- package/dist/model/createChild.js.map +1 -1
- package/dist/model/createContact.d.ts +1 -3
- package/dist/model/createContact.js +1 -1
- package/dist/model/createContact.js.map +1 -1
- package/dist/model/createDoiContact.d.ts +1 -3
- package/dist/model/createDoiContact.js +1 -1
- package/dist/model/createDoiContact.js.map +1 -1
- package/dist/model/createEmailCampaign.d.ts +0 -2
- package/dist/model/createEmailCampaign.js +1 -6
- package/dist/model/createEmailCampaign.js.map +1 -1
- package/dist/model/createEmailCampaignRecipients.d.ts +0 -1
- package/dist/model/createEmailCampaignRecipients.js +0 -5
- package/dist/model/createEmailCampaignRecipients.js.map +1 -1
- package/dist/model/createExternalFeed.js +1 -1
- package/dist/model/createExternalFeed.js.map +1 -1
- package/dist/model/createSmsCampaign.js.map +1 -1
- package/dist/model/createSubAccount.js +1 -1
- package/dist/model/createSubAccount.js.map +1 -1
- package/dist/model/createUpdateCategory.js.map +1 -1
- package/dist/model/createUpdateProduct.js.map +1 -1
- package/dist/model/createWebhook.d.ts +0 -5
- package/dist/model/createWebhook.js +1 -12
- package/dist/model/createWebhook.js.map +1 -1
- package/dist/model/createWhatsAppTemplate.js +1 -1
- package/dist/model/createWhatsAppTemplate.js.map +1 -1
- package/dist/model/crmDealsIdPatchRequest.d.ts +0 -2
- package/dist/model/crmDealsIdPatchRequest.js +0 -10
- package/dist/model/crmDealsIdPatchRequest.js.map +1 -1
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.d.ts +2 -5
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js +2 -5
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js.map +1 -1
- package/dist/model/emailExportRecipients.js +1 -1
- package/dist/model/emailExportRecipients.js.map +1 -1
- package/dist/model/errorModel.d.ts +1 -0
- package/dist/model/errorModel.js +2 -1
- package/dist/model/errorModel.js.map +1 -1
- package/dist/model/exportWebhooksHistory.js +1 -1
- package/dist/model/exportWebhooksHistory.js.map +1 -1
- package/dist/model/getAccountAllOfPlan.d.ts +3 -1
- package/dist/model/getAccountAllOfPlan.js +7 -1
- package/dist/model/getAccountAllOfPlan.js.map +1 -1
- package/dist/model/getAllExternalFeedsFeedsInner.js +1 -1
- package/dist/model/getAllExternalFeedsFeedsInner.js.map +1 -1
- package/dist/model/getAttributesAttributesInner.d.ts +1 -4
- package/dist/model/getAttributesAttributesInner.js +1 -8
- package/dist/model/getAttributesAttributesInner.js.map +1 -1
- package/dist/model/getCampaignOverview.js +1 -1
- package/dist/model/getCampaignOverview.js.map +1 -1
- package/dist/model/getCampaignStats.d.ts +0 -2
- package/dist/model/getCampaignStats.js +0 -10
- package/dist/model/getCampaignStats.js.map +1 -1
- package/dist/model/getContactCampaignStats.d.ts +6 -6
- package/dist/model/getContactCampaignStats.js +5 -5
- package/dist/model/getContactCampaignStats.js.map +1 -1
- package/dist/model/getContactCampaignStatsClickedInner.d.ts +2 -2
- package/dist/model/getContactCampaignStatsClickedInner.js +1 -1
- package/dist/model/getContactCampaignStatsUnsubscriptions.d.ts +4 -4
- package/dist/model/getContactCampaignStatsUnsubscriptions.js +2 -2
- package/dist/model/getContactCampaignStatsUnsubscriptions.js.map +1 -1
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.d.ts +0 -5
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js +0 -25
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js.map +1 -1
- package/dist/model/getCorporateUserPermissionFeatureAccess.d.ts +0 -5
- package/dist/model/getCorporateUserPermissionFeatureAccess.js +0 -25
- package/dist/model/getCorporateUserPermissionFeatureAccess.js.map +1 -1
- package/dist/model/getEmailCampaign.d.ts +4 -2
- package/dist/model/getEmailCampaign.js +3 -3
- package/dist/model/getEmailCampaign.js.map +1 -1
- package/dist/model/getEmailCampaignsCampaignsInner.js +1 -1
- package/dist/model/getEmailCampaignsCampaignsInner.js.map +1 -1
- package/dist/model/getEmailEventReportEventsInner.js +1 -1
- package/dist/model/getEmailEventReportEventsInner.js.map +1 -1
- package/dist/model/getExtendedCampaignOverview.js +1 -1
- package/dist/model/getExtendedCampaignOverview.js.map +1 -1
- package/dist/model/getExtendedCampaignStats.js.map +1 -1
- package/dist/model/getExternalFeedByUUID.js +1 -1
- package/dist/model/getExternalFeedByUUID.js.map +1 -1
- package/dist/model/getInboundEmailEventsByUuidLogsInner.js +1 -1
- package/dist/model/getInboundEmailEventsByUuidLogsInner.js.map +1 -1
- package/dist/model/getOrdersOrdersInner.d.ts +1 -6
- package/dist/model/getOrdersOrdersInner.js +5 -15
- package/dist/model/getOrdersOrdersInner.js.map +1 -1
- package/dist/model/getPaymentRequest.js +1 -1
- package/dist/model/getPaymentRequest.js.map +1 -1
- package/dist/model/getProcess.js +1 -1
- package/dist/model/getProcess.js.map +1 -1
- package/dist/model/getScheduledEmailByBatchIdBatchesInner.js +1 -1
- package/dist/model/getScheduledEmailByBatchIdBatchesInner.js.map +1 -1
- package/dist/model/getScheduledEmailByMessageId.js +1 -1
- package/dist/model/getScheduledEmailByMessageId.js.map +1 -1
- package/dist/model/getSegments.d.ts +2 -2
- package/dist/model/getSegments.js +1 -1
- package/dist/model/getSegments.js.map +1 -1
- package/dist/model/getSmsCampaign.d.ts +4 -2
- package/dist/model/getSmsCampaign.js +3 -3
- package/dist/model/getSmsCampaign.js.map +1 -1
- package/dist/model/getSmsCampaignOverview.js +1 -1
- package/dist/model/getSmsCampaignOverview.js.map +1 -1
- package/dist/model/getSmsCampaignsCampaignsInner.js +1 -1
- package/dist/model/getSmsCampaignsCampaignsInner.js.map +1 -1
- package/dist/model/getSmsEventReportEventsInner.js +1 -1
- package/dist/model/getSmsEventReportEventsInner.js.map +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js.map +1 -1
- package/dist/model/getWebhook.js +1 -1
- package/dist/model/getWebhook.js.map +1 -1
- package/dist/model/getWhatsAppConfig.js +1 -1
- package/dist/model/getWhatsAppConfig.js.map +1 -1
- package/dist/model/getWhatsappCampaignOverview.js +1 -1
- package/dist/model/getWhatsappCampaignOverview.js.map +1 -1
- package/dist/model/getWhatsappCampaignsCampaignsInner.js +1 -1
- package/dist/model/getWhatsappCampaignsCampaignsInner.js.map +1 -1
- package/dist/model/getWhatsappEventReportEventsInner.js +1 -1
- package/dist/model/getWhatsappEventReportEventsInner.js.map +1 -1
- package/dist/model/inviteAdminUserPrivilegesInner.d.ts +2 -11
- package/dist/model/inviteAdminUserPrivilegesInner.js +1 -10
- package/dist/model/inviteAdminUserPrivilegesInner.js.map +1 -1
- package/dist/model/inviteuserPrivilegesInner.d.ts +3 -5
- package/dist/model/inviteuserPrivilegesInner.js +4 -6
- package/dist/model/inviteuserPrivilegesInner.js.map +1 -1
- package/dist/model/masterDetailsResponsePlanInfo.js +1 -1
- package/dist/model/masterDetailsResponsePlanInfo.js.map +1 -1
- package/dist/model/models.d.ts +33 -117
- package/dist/model/models.js +75 -412
- package/dist/model/models.js.map +1 -1
- package/dist/model/notification.js +1 -1
- package/dist/model/notification.js.map +1 -1
- package/dist/model/order.d.ts +1 -6
- package/dist/model/order.js +5 -15
- package/dist/model/order.js.map +1 -1
- package/dist/model/orderBatch.js.map +1 -1
- package/dist/model/removeContactFromList.d.ts +0 -1
- package/dist/model/removeContactFromList.js +0 -5
- package/dist/model/removeContactFromList.js.map +1 -1
- package/dist/model/requestContactExport.d.ts +0 -4
- package/dist/model/requestContactExport.js +0 -24
- package/dist/model/requestContactExport.js.map +1 -1
- package/dist/model/requestContactExportCustomContactFilter.d.ts +0 -1
- package/dist/model/requestContactExportCustomContactFilter.js +1 -6
- package/dist/model/requestContactExportCustomContactFilter.js.map +1 -1
- package/dist/model/requestContactImport.js.map +1 -1
- package/dist/model/requestSmsRecipientExport.js +1 -1
- package/dist/model/requestSmsRecipientExport.js.map +1 -1
- package/dist/model/sendReport.js +1 -1
- package/dist/model/sendReport.js.map +1 -1
- package/dist/model/sendTransacSms.d.ts +1 -2
- package/dist/model/sendTransacSms.js +2 -2
- package/dist/model/sendTransacSms.js.map +1 -1
- package/dist/model/ssoTokenRequest.js +1 -1
- package/dist/model/ssoTokenRequest.js.map +1 -1
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.d.ts +0 -4
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.js +0 -10
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.js.map +1 -1
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.d.ts +0 -2
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.js +0 -5
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.js.map +1 -1
- package/dist/model/subAccountUpdatePlanRequestCredits.d.ts +0 -2
- package/dist/model/subAccountUpdatePlanRequestCredits.js +0 -10
- package/dist/model/subAccountUpdatePlanRequestCredits.js.map +1 -1
- package/dist/model/subAccountUpdatePlanRequestFeatures.d.ts +0 -1
- package/dist/model/subAccountUpdatePlanRequestFeatures.js +0 -5
- package/dist/model/subAccountUpdatePlanRequestFeatures.js.map +1 -1
- package/dist/model/taskReminder.js +1 -1
- package/dist/model/taskReminder.js.map +1 -1
- package/dist/model/updateAttribute.d.ts +0 -1
- package/dist/model/updateAttribute.js +0 -5
- package/dist/model/updateAttribute.js.map +1 -1
- package/dist/model/updateCampaignStatus.js +1 -1
- package/dist/model/updateCampaignStatus.js.map +1 -1
- package/dist/model/updateContact.d.ts +1 -3
- package/dist/model/updateContact.js +1 -1
- package/dist/model/updateContact.js.map +1 -1
- package/dist/model/updateEmailCampaign.d.ts +0 -2
- package/dist/model/updateEmailCampaign.js +1 -6
- package/dist/model/updateEmailCampaign.js.map +1 -1
- package/dist/model/updateEmailCampaignRecipients.d.ts +0 -1
- package/dist/model/updateEmailCampaignRecipients.js +0 -5
- package/dist/model/updateEmailCampaignRecipients.js.map +1 -1
- package/dist/model/updateExternalFeed.js +1 -1
- package/dist/model/updateExternalFeed.js.map +1 -1
- package/dist/model/updateSmsCampaign.js.map +1 -1
- package/dist/model/updateWebhook.js +1 -1
- package/dist/model/updateWebhook.js.map +1 -1
- package/dist/model/updateWhatsAppCampaign.js +1 -1
- package/dist/model/updateWhatsAppCampaign.js.map +1 -1
- package/dist/requestCompat.d.ts +29 -0
- package/dist/requestCompat.js +110 -0
- package/dist/requestCompat.js.map +1 -0
- 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 +85 -427
- 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 -6
- package/requestCompat.ts +138 -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/dist/api/balanceApi.d.ts +0 -187
- package/dist/api/balanceApi.js +0 -1434
- package/dist/api/balanceApi.js.map +0 -1
- package/dist/api/programApi.d.ts +0 -125
- package/dist/api/programApi.js +0 -847
- package/dist/api/programApi.js.map +0 -1
- package/dist/api/rewardApi.d.ts +0 -119
- package/dist/api/rewardApi.js +0 -814
- package/dist/api/rewardApi.js.map +0 -1
- package/dist/api/tierApi.d.ts +0 -116
- package/dist/api/tierApi.js +0 -801
- package/dist/api/tierApi.js.map +0 -1
- package/dist/base.d.ts +0 -66
- package/dist/base.js +0 -65
- package/dist/base.js.map +0 -1
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -161
- package/dist/common.js.map +0 -1
- package/dist/configuration.d.ts +0 -91
- package/dist/configuration.js +0 -44
- package/dist/configuration.js.map +0 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -31
- package/dist/index.js.map +0 -1
- package/dist/model/addSubscriptionMemberPayload.d.ts +0 -16
- package/dist/model/addSubscriptionMemberPayload.js +0 -28
- package/dist/model/addSubscriptionMemberPayload.js.map +0 -1
- package/dist/model/aggregateBalance.d.ts +0 -15
- package/dist/model/aggregateBalance.js +0 -23
- package/dist/model/aggregateBalance.js.map +0 -1
- package/dist/model/balance.d.ts +0 -22
- package/dist/model/balance.js +0 -58
- package/dist/model/balance.js.map +0 -1
- package/dist/model/balanceDataPerContact.d.ts +0 -17
- package/dist/model/balanceDataPerContact.js +0 -33
- package/dist/model/balanceDataPerContact.js.map +0 -1
- package/dist/model/balanceDefinition.d.ts +0 -42
- package/dist/model/balanceDefinition.js +0 -121
- package/dist/model/balanceDefinition.js.map +0 -1
- package/dist/model/balanceDefinitionPage.d.ts +0 -15
- package/dist/model/balanceDefinitionPage.js +0 -18
- package/dist/model/balanceDefinitionPage.js.map +0 -1
- package/dist/model/balanceLimit.d.ts +0 -23
- package/dist/model/balanceLimit.js +0 -63
- package/dist/model/balanceLimit.js.map +0 -1
- package/dist/model/balanceOrder.d.ts +0 -27
- package/dist/model/balanceOrder.js +0 -73
- package/dist/model/balanceOrder.js.map +0 -1
- package/dist/model/companiesImportPost200Response.d.ts +0 -14
- package/dist/model/companiesImportPost200Response.js +0 -18
- package/dist/model/companiesImportPost200Response.js.map +0 -1
- package/dist/model/companiesImportPost400Response.d.ts +0 -14
- package/dist/model/companiesImportPost400Response.js +0 -18
- package/dist/model/companiesImportPost400Response.js.map +0 -1
- package/dist/model/contactBalancesResp.d.ts +0 -18
- package/dist/model/contactBalancesResp.js +0 -33
- package/dist/model/contactBalancesResp.js.map +0 -1
- package/dist/model/contactErrorModel.d.ts +0 -27
- package/dist/model/contactErrorModel.js +0 -40
- package/dist/model/contactErrorModel.js.map +0 -1
- package/dist/model/conversationsMessageAttachmentsInner.d.ts +0 -19
- package/dist/model/conversationsMessageAttachmentsInner.js +0 -43
- package/dist/model/conversationsMessageAttachmentsInner.js.map +0 -1
- package/dist/model/conversationsMessageForwardedToSourceStatus.d.ts +0 -15
- package/dist/model/conversationsMessageForwardedToSourceStatus.js +0 -23
- package/dist/model/conversationsMessageForwardedToSourceStatus.js.map +0 -1
- package/dist/model/conversationsMessageFrom.d.ts +0 -15
- package/dist/model/conversationsMessageFrom.js +0 -23
- package/dist/model/conversationsMessageFrom.js.map +0 -1
- package/dist/model/conversationsMessageReplyTo.d.ts +0 -15
- package/dist/model/conversationsMessageReplyTo.js +0 -23
- package/dist/model/conversationsMessageReplyTo.js.map +0 -1
- package/dist/model/conversationsMessageToInner.d.ts +0 -15
- package/dist/model/conversationsMessageToInner.js +0 -23
- package/dist/model/conversationsMessageToInner.js.map +0 -1
- package/dist/model/corporateUserEmailPermissionsPutRequest.d.ts +0 -16
- package/dist/model/corporateUserEmailPermissionsPutRequest.js +0 -23
- package/dist/model/corporateUserEmailPermissionsPutRequest.js.map +0 -1
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.d.ts +0 -38
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.js +0 -48
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.js.map +0 -1
- package/dist/model/createBalanceDefinitionPayload.d.ts +0 -75
- package/dist/model/createBalanceDefinitionPayload.js +0 -145
- package/dist/model/createBalanceDefinitionPayload.js.map +0 -1
- package/dist/model/createBalanceLimitPayload.d.ts +0 -35
- package/dist/model/createBalanceLimitPayload.js +0 -62
- package/dist/model/createBalanceLimitPayload.js.map +0 -1
- package/dist/model/createBalancePayload.d.ts +0 -14
- package/dist/model/createBalancePayload.js +0 -18
- package/dist/model/createBalancePayload.js.map +0 -1
- package/dist/model/createEmailCampaignEmailExpirationDate.d.ts +0 -22
- package/dist/model/createEmailCampaignEmailExpirationDate.js +0 -31
- package/dist/model/createEmailCampaignEmailExpirationDate.js.map +0 -1
- package/dist/model/createLoyaltyProgramPayload.d.ts +0 -19
- package/dist/model/createLoyaltyProgramPayload.js +0 -33
- package/dist/model/createLoyaltyProgramPayload.js.map +0 -1
- package/dist/model/createOrderPayload.d.ts +0 -22
- package/dist/model/createOrderPayload.js +0 -48
- package/dist/model/createOrderPayload.js.map +0 -1
- package/dist/model/createSubscriptionPayload.d.ts +0 -16
- package/dist/model/createSubscriptionPayload.js +0 -28
- package/dist/model/createSubscriptionPayload.js.map +0 -1
- package/dist/model/createSubscriptionResponse.d.ts +0 -20
- package/dist/model/createSubscriptionResponse.js +0 -48
- package/dist/model/createSubscriptionResponse.js.map +0 -1
- package/dist/model/createTierGroupRequest.d.ts +0 -29
- package/dist/model/createTierGroupRequest.js +0 -51
- package/dist/model/createTierGroupRequest.js.map +0 -1
- package/dist/model/createTransactionPayload.d.ts +0 -24
- package/dist/model/createTransactionPayload.js +0 -58
- package/dist/model/createTransactionPayload.js.map +0 -1
- package/dist/model/crmAttributesPost200Response.d.ts +0 -14
- package/dist/model/crmAttributesPost200Response.js +0 -18
- package/dist/model/crmAttributesPost200Response.js.map +0 -1
- package/dist/model/crmAttributesPostRequest.d.ts +0 -33
- package/dist/model/crmAttributesPostRequest.js +0 -55
- package/dist/model/crmAttributesPostRequest.js.map +0 -1
- package/dist/model/errorResponse.d.ts +0 -14
- package/dist/model/errorResponse.js +0 -18
- package/dist/model/errorResponse.js.map +0 -1
- package/dist/model/fetchTemplatePreview.d.ts +0 -16
- package/dist/model/fetchTemplatePreview.js +0 -28
- package/dist/model/fetchTemplatePreview.js.map +0 -1
- package/dist/model/getSegment.d.ts +0 -17
- package/dist/model/getSegment.js +0 -33
- package/dist/model/getSegment.js.map +0 -1
- package/dist/model/loyaltyProgram.d.ts +0 -33
- package/dist/model/loyaltyProgram.js +0 -80
- package/dist/model/loyaltyProgram.js.map +0 -1
- package/dist/model/loyaltyProgramPage.d.ts +0 -15
- package/dist/model/loyaltyProgramPage.js +0 -18
- package/dist/model/loyaltyProgramPage.js.map +0 -1
- package/dist/model/loyaltyProgramValidationError.d.ts +0 -16
- package/dist/model/loyaltyProgramValidationError.js +0 -28
- package/dist/model/loyaltyProgramValidationError.js.map +0 -1
- package/dist/model/loyaltyTierPage.d.ts +0 -15
- package/dist/model/loyaltyTierPage.js +0 -18
- package/dist/model/loyaltyTierPage.js.map +0 -1
- package/dist/model/mainAttributeRewardPayload.d.ts +0 -22
- package/dist/model/mainAttributeRewardPayload.js +0 -48
- package/dist/model/mainAttributeRewardPayload.js.map +0 -1
- package/dist/model/mainBillingPayload.d.ts +0 -20
- package/dist/model/mainBillingPayload.js +0 -48
- package/dist/model/mainBillingPayload.js.map +0 -1
- package/dist/model/mainCodeCountHttpResponse.d.ts +0 -14
- package/dist/model/mainCodeCountHttpResponse.js +0 -18
- package/dist/model/mainCodeCountHttpResponse.js.map +0 -1
- package/dist/model/mainCreateRedeemPayload.d.ts +0 -24
- package/dist/model/mainCreateRedeemPayload.js +0 -53
- package/dist/model/mainCreateRedeemPayload.js.map +0 -1
- package/dist/model/mainCreateRewardPayload.d.ts +0 -17
- package/dist/model/mainCreateRewardPayload.js +0 -33
- package/dist/model/mainCreateRewardPayload.js.map +0 -1
- package/dist/model/mainCreateRewardResponse.d.ts +0 -21
- package/dist/model/mainCreateRewardResponse.js +0 -53
- package/dist/model/mainCreateRewardResponse.js.map +0 -1
- package/dist/model/mainErrorResponse.d.ts +0 -14
- package/dist/model/mainErrorResponse.js +0 -18
- package/dist/model/mainErrorResponse.js.map +0 -1
- package/dist/model/mainFilter.d.ts +0 -15
- package/dist/model/mainFilter.js +0 -23
- package/dist/model/mainFilter.js.map +0 -1
- package/dist/model/mainGenerator.d.ts +0 -19
- package/dist/model/mainGenerator.js +0 -43
- package/dist/model/mainGenerator.js.map +0 -1
- package/dist/model/mainGetContactRewardsPayload.d.ts +0 -31
- package/dist/model/mainGetContactRewardsPayload.js +0 -60
- package/dist/model/mainGetContactRewardsPayload.js.map +0 -1
- package/dist/model/mainIdentifiersPayload.d.ts +0 -15
- package/dist/model/mainIdentifiersPayload.js +0 -23
- package/dist/model/mainIdentifiersPayload.js.map +0 -1
- package/dist/model/mainLimit.d.ts +0 -21
- package/dist/model/mainLimit.js +0 -53
- package/dist/model/mainLimit.js.map +0 -1
- package/dist/model/mainModelContactReward.d.ts +0 -25
- package/dist/model/mainModelContactReward.js +0 -63
- package/dist/model/mainModelContactReward.js.map +0 -1
- package/dist/model/mainModelContactRewardsResp.d.ts +0 -19
- package/dist/model/mainModelContactRewardsResp.js +0 -38
- package/dist/model/mainModelContactRewardsResp.js.map +0 -1
- package/dist/model/mainNodeResponse.d.ts +0 -21
- package/dist/model/mainNodeResponse.js +0 -53
- package/dist/model/mainNodeResponse.js.map +0 -1
- package/dist/model/mainOrderPayload.d.ts +0 -28
- package/dist/model/mainOrderPayload.js +0 -73
- package/dist/model/mainOrderPayload.js.map +0 -1
- package/dist/model/mainProduct.d.ts +0 -17
- package/dist/model/mainProduct.js +0 -33
- package/dist/model/mainProduct.js.map +0 -1
- package/dist/model/mainProductPayload.d.ts +0 -18
- package/dist/model/mainProductPayload.js +0 -38
- package/dist/model/mainProductPayload.js.map +0 -1
- package/dist/model/mainRedeem.d.ts +0 -29
- package/dist/model/mainRedeem.js +0 -83
- package/dist/model/mainRedeem.js.map +0 -1
- package/dist/model/mainResultParameterResponse.d.ts +0 -16
- package/dist/model/mainResultParameterResponse.js +0 -23
- package/dist/model/mainResultParameterResponse.js.map +0 -1
- package/dist/model/mainReward.d.ts +0 -67
- package/dist/model/mainReward.js +0 -224
- package/dist/model/mainReward.js.map +0 -1
- package/dist/model/mainRewardAttribution.d.ts +0 -26
- package/dist/model/mainRewardAttribution.js +0 -68
- package/dist/model/mainRewardAttribution.js.map +0 -1
- package/dist/model/mainRewardConfigurations.d.ts +0 -16
- package/dist/model/mainRewardConfigurations.js +0 -28
- package/dist/model/mainRewardConfigurations.js.map +0 -1
- package/dist/model/mainRewardPage.d.ts +0 -16
- package/dist/model/mainRewardPage.js +0 -23
- package/dist/model/mainRewardPage.js.map +0 -1
- package/dist/model/mainRewardPageObj.d.ts +0 -22
- package/dist/model/mainRewardPageObj.js +0 -58
- package/dist/model/mainRewardPageObj.js.map +0 -1
- package/dist/model/mainRewardValidate.d.ts +0 -14
- package/dist/model/mainRewardValidate.js +0 -18
- package/dist/model/mainRewardValidate.js.map +0 -1
- package/dist/model/mainRule.d.ts +0 -31
- package/dist/model/mainRule.js +0 -78
- package/dist/model/mainRule.js.map +0 -1
- package/dist/model/mainRuleConditionResponse.d.ts +0 -19
- package/dist/model/mainRuleConditionResponse.js +0 -38
- package/dist/model/mainRuleConditionResponse.js.map +0 -1
- package/dist/model/mainRuleEventResponse.d.ts +0 -15
- package/dist/model/mainRuleEventResponse.js +0 -23
- package/dist/model/mainRuleEventResponse.js.map +0 -1
- package/dist/model/mainRuleResultResponse.d.ts +0 -17
- package/dist/model/mainRuleResultResponse.js +0 -28
- package/dist/model/mainRuleResultResponse.js.map +0 -1
- package/dist/model/mainValidateRewardPayload.d.ts +0 -19
- package/dist/model/mainValidateRewardPayload.js +0 -43
- package/dist/model/mainValidateRewardPayload.js.map +0 -1
- package/dist/model/mainValueResponse.d.ts +0 -22
- package/dist/model/mainValueResponse.js +0 -53
- package/dist/model/mainValueResponse.js.map +0 -1
- package/dist/model/mainVoucherRevokePayload.d.ts +0 -14
- package/dist/model/mainVoucherRevokePayload.js +0 -18
- package/dist/model/mainVoucherRevokePayload.js.map +0 -1
- package/dist/model/memberContact.d.ts +0 -16
- package/dist/model/memberContact.js +0 -28
- package/dist/model/memberContact.js.map +0 -1
- package/dist/model/modelSubscriptionBalanceResp.d.ts +0 -15
- package/dist/model/modelSubscriptionBalanceResp.js +0 -18
- package/dist/model/modelSubscriptionBalanceResp.js.map +0 -1
- package/dist/model/orderIdentifiers.d.ts +0 -17
- package/dist/model/orderIdentifiers.js +0 -33
- package/dist/model/orderIdentifiers.js.map +0 -1
- package/dist/model/patchLoyaltyProgramPayload.d.ts +0 -16
- package/dist/model/patchLoyaltyProgramPayload.js +0 -28
- package/dist/model/patchLoyaltyProgramPayload.js.map +0 -1
- package/dist/model/sendTransacSmsTag.d.ts +0 -14
- package/dist/model/sendTransacSmsTag.js +0 -18
- package/dist/model/sendTransacSmsTag.js.map +0 -1
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.d.ts +0 -15
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.js +0 -23
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.js.map +0 -1
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.d.ts +0 -15
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.js +0 -23
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.js.map +0 -1
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.d.ts +0 -15
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.js +0 -23
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.js.map +0 -1
- package/dist/model/subAccountsUpdatePlanRequest.d.ts +0 -18
- package/dist/model/subAccountsUpdatePlanRequest.js +0 -28
- package/dist/model/subAccountsUpdatePlanRequest.js.map +0 -1
- package/dist/model/subAccountsUpdatePlanRequestCredits.d.ts +0 -18
- package/dist/model/subAccountsUpdatePlanRequestCredits.js +0 -38
- package/dist/model/subAccountsUpdatePlanRequestCredits.js.map +0 -1
- package/dist/model/subAccountsUpdatePlanRequestFeatures.d.ts +0 -16
- package/dist/model/subAccountsUpdatePlanRequestFeatures.js +0 -28
- package/dist/model/subAccountsUpdatePlanRequestFeatures.js.map +0 -1
- package/dist/model/subscription.d.ts +0 -20
- package/dist/model/subscription.js +0 -48
- package/dist/model/subscription.js.map +0 -1
- package/dist/model/subscriptionAggregateBalance.d.ts +0 -15
- package/dist/model/subscriptionAggregateBalance.js +0 -23
- package/dist/model/subscriptionAggregateBalance.js.map +0 -1
- package/dist/model/subscriptionAttributedReward.d.ts +0 -24
- package/dist/model/subscriptionAttributedReward.js +0 -58
- package/dist/model/subscriptionAttributedReward.js.map +0 -1
- package/dist/model/subscriptionBalances.d.ts +0 -17
- package/dist/model/subscriptionBalances.js +0 -28
- package/dist/model/subscriptionBalances.js.map +0 -1
- package/dist/model/subscriptionHandlerInfo.d.ts +0 -21
- package/dist/model/subscriptionHandlerInfo.js +0 -33
- package/dist/model/subscriptionHandlerInfo.js.map +0 -1
- package/dist/model/subscriptionMember.d.ts +0 -18
- package/dist/model/subscriptionMember.js +0 -38
- package/dist/model/subscriptionMember.js.map +0 -1
- package/dist/model/subscriptionTier.d.ts +0 -22
- package/dist/model/subscriptionTier.js +0 -48
- package/dist/model/subscriptionTier.js.map +0 -1
- package/dist/model/templatePreview.d.ts +0 -19
- package/dist/model/templatePreview.js +0 -43
- package/dist/model/templatePreview.js.map +0 -1
- package/dist/model/tier.d.ts +0 -24
- package/dist/model/tier.js +0 -58
- package/dist/model/tier.js.map +0 -1
- package/dist/model/tierAccessConditionsInner.d.ts +0 -17
- package/dist/model/tierAccessConditionsInner.js +0 -33
- package/dist/model/tierAccessConditionsInner.js.map +0 -1
- package/dist/model/tierForContact.d.ts +0 -22
- package/dist/model/tierForContact.js +0 -48
- package/dist/model/tierForContact.js.map +0 -1
- package/dist/model/tierGroup.d.ts +0 -33
- package/dist/model/tierGroup.js +0 -71
- package/dist/model/tierGroup.js.map +0 -1
- package/dist/model/tierGroupPage.d.ts +0 -15
- package/dist/model/tierGroupPage.js +0 -18
- package/dist/model/tierGroupPage.js.map +0 -1
- package/dist/model/tierRequest.d.ts +0 -19
- package/dist/model/tierRequest.js +0 -33
- package/dist/model/tierRequest.js.map +0 -1
- package/dist/model/tierRequestAccessConditionsInner.d.ts +0 -15
- package/dist/model/tierRequestAccessConditionsInner.js +0 -23
- package/dist/model/tierRequestAccessConditionsInner.js.map +0 -1
- package/dist/model/tierRequestPutPayload.d.ts +0 -19
- package/dist/model/tierRequestPutPayload.js +0 -33
- package/dist/model/tierRequestPutPayload.js.map +0 -1
- package/dist/model/tierRequestTierRewardsInner.d.ts +0 -14
- package/dist/model/tierRequestTierRewardsInner.js +0 -18
- package/dist/model/tierRequestTierRewardsInner.js.map +0 -1
- package/dist/model/tierTierRewardsInner.d.ts +0 -16
- package/dist/model/tierTierRewardsInner.js +0 -28
- package/dist/model/tierTierRewardsInner.js.map +0 -1
- package/dist/model/transaction.d.ts +0 -30
- package/dist/model/transaction.js +0 -88
- package/dist/model/transaction.js.map +0 -1
- package/dist/model/transactionHistory.d.ts +0 -25
- package/dist/model/transactionHistory.js +0 -63
- package/dist/model/transactionHistory.js.map +0 -1
- package/dist/model/transactionHistoryResp.d.ts +0 -19
- package/dist/model/transactionHistoryResp.js +0 -38
- package/dist/model/transactionHistoryResp.js.map +0 -1
- package/dist/model/unauthorizedResponse.d.ts +0 -14
- package/dist/model/unauthorizedResponse.js +0 -18
- package/dist/model/unauthorizedResponse.js.map +0 -1
- package/dist/model/updateBalanceDefinitionPayload.d.ts +0 -77
- package/dist/model/updateBalanceDefinitionPayload.js +0 -145
- package/dist/model/updateBalanceDefinitionPayload.js.map +0 -1
- package/dist/model/updateBalanceLimitPayload.d.ts +0 -35
- package/dist/model/updateBalanceLimitPayload.js +0 -62
- package/dist/model/updateBalanceLimitPayload.js.map +0 -1
- package/dist/model/updateEmailCampaignEmailExpirationDate.d.ts +0 -22
- package/dist/model/updateEmailCampaignEmailExpirationDate.js +0 -31
- package/dist/model/updateEmailCampaignEmailExpirationDate.js.map +0 -1
- package/dist/model/updateLoyaltyProgramPayload.d.ts +0 -16
- package/dist/model/updateLoyaltyProgramPayload.js +0 -28
- package/dist/model/updateLoyaltyProgramPayload.js.map +0 -1
- package/dist/model/updateTierGroupRequest.d.ts +0 -29
- package/dist/model/updateTierGroupRequest.js +0 -51
- package/dist/model/updateTierGroupRequest.js.map +0 -1
- 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
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.TransactionalEmailsApi = exports.TransactionalEmailsApiApiKeys = void 0;
|
|
16
|
-
const
|
|
16
|
+
const requestCompat_1 = __importDefault(require("../requestCompat"));
|
|
17
17
|
const models_1 = require("../model/models");
|
|
18
18
|
const models_2 = require("../model/models");
|
|
19
19
|
const apis_1 = require("./apis");
|
|
@@ -22,7 +22,7 @@ var TransactionalEmailsApiApiKeys;
|
|
|
22
22
|
(function (TransactionalEmailsApiApiKeys) {
|
|
23
23
|
TransactionalEmailsApiApiKeys[TransactionalEmailsApiApiKeys["apiKey"] = 0] = "apiKey";
|
|
24
24
|
TransactionalEmailsApiApiKeys[TransactionalEmailsApiApiKeys["partnerKey"] = 1] = "partnerKey";
|
|
25
|
-
})(TransactionalEmailsApiApiKeys
|
|
25
|
+
})(TransactionalEmailsApiApiKeys = exports.TransactionalEmailsApiApiKeys || (exports.TransactionalEmailsApiApiKeys = {}));
|
|
26
26
|
class TransactionalEmailsApi {
|
|
27
27
|
constructor(basePathOrUsername, password, basePath) {
|
|
28
28
|
this._basePath = defaultBasePath;
|
|
@@ -69,8 +69,8 @@ class TransactionalEmailsApi {
|
|
|
69
69
|
addInterceptor(interceptor) {
|
|
70
70
|
this.interceptors.push(interceptor);
|
|
71
71
|
}
|
|
72
|
-
blockNewDomain(
|
|
73
|
-
return __awaiter(this,
|
|
72
|
+
blockNewDomain(blockDomain, options = { headers: {} }) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
74
|
const localVarPath = this.basePath + '/smtp/blockedDomains';
|
|
75
75
|
let localVarQueryParameters = {};
|
|
76
76
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -91,7 +91,7 @@ class TransactionalEmailsApi {
|
|
|
91
91
|
method: 'POST',
|
|
92
92
|
qs: localVarQueryParameters,
|
|
93
93
|
headers: localVarHeaderParams,
|
|
94
|
-
|
|
94
|
+
url: localVarPath,
|
|
95
95
|
useQuerystring: this._useQuerystring,
|
|
96
96
|
json: true,
|
|
97
97
|
body: models_1.ObjectSerializer.serialize(blockDomain, "BlockDomain")
|
|
@@ -118,7 +118,7 @@ class TransactionalEmailsApi {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
return new Promise((resolve, reject) => {
|
|
121
|
-
(0,
|
|
121
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
122
122
|
if (error) {
|
|
123
123
|
reject(error);
|
|
124
124
|
}
|
|
@@ -135,8 +135,8 @@ class TransactionalEmailsApi {
|
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
createSmtpTemplate(
|
|
139
|
-
return __awaiter(this,
|
|
138
|
+
createSmtpTemplate(smtpTemplate, options = { headers: {} }) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
140
|
const localVarPath = this.basePath + '/smtp/templates';
|
|
141
141
|
let localVarQueryParameters = {};
|
|
142
142
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -157,7 +157,7 @@ class TransactionalEmailsApi {
|
|
|
157
157
|
method: 'POST',
|
|
158
158
|
qs: localVarQueryParameters,
|
|
159
159
|
headers: localVarHeaderParams,
|
|
160
|
-
|
|
160
|
+
url: localVarPath,
|
|
161
161
|
useQuerystring: this._useQuerystring,
|
|
162
162
|
json: true,
|
|
163
163
|
body: models_1.ObjectSerializer.serialize(smtpTemplate, "CreateSmtpTemplate")
|
|
@@ -184,7 +184,7 @@ class TransactionalEmailsApi {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
return new Promise((resolve, reject) => {
|
|
187
|
-
(0,
|
|
187
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
188
188
|
if (error) {
|
|
189
189
|
reject(error);
|
|
190
190
|
}
|
|
@@ -202,8 +202,8 @@ class TransactionalEmailsApi {
|
|
|
202
202
|
});
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
deleteBlockedDomain(
|
|
206
|
-
return __awaiter(this,
|
|
205
|
+
deleteBlockedDomain(domain, options = { headers: {} }) {
|
|
206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
207
207
|
const localVarPath = this.basePath + '/smtp/blockedDomains/{domain}'
|
|
208
208
|
.replace('{' + 'domain' + '}', encodeURIComponent(String(domain)));
|
|
209
209
|
let localVarQueryParameters = {};
|
|
@@ -225,7 +225,7 @@ class TransactionalEmailsApi {
|
|
|
225
225
|
method: 'DELETE',
|
|
226
226
|
qs: localVarQueryParameters,
|
|
227
227
|
headers: localVarHeaderParams,
|
|
228
|
-
|
|
228
|
+
url: localVarPath,
|
|
229
229
|
useQuerystring: this._useQuerystring,
|
|
230
230
|
json: true,
|
|
231
231
|
};
|
|
@@ -251,7 +251,7 @@ class TransactionalEmailsApi {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
return new Promise((resolve, reject) => {
|
|
254
|
-
(0,
|
|
254
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
255
255
|
if (error) {
|
|
256
256
|
reject(error);
|
|
257
257
|
}
|
|
@@ -268,8 +268,8 @@ class TransactionalEmailsApi {
|
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
|
-
deleteHardbounces(
|
|
272
|
-
return __awaiter(this,
|
|
271
|
+
deleteHardbounces(deleteHardbounces, options = { headers: {} }) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
273
|
const localVarPath = this.basePath + '/smtp/deleteHardbounces';
|
|
274
274
|
let localVarQueryParameters = {};
|
|
275
275
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -287,7 +287,7 @@ class TransactionalEmailsApi {
|
|
|
287
287
|
method: 'POST',
|
|
288
288
|
qs: localVarQueryParameters,
|
|
289
289
|
headers: localVarHeaderParams,
|
|
290
|
-
|
|
290
|
+
url: localVarPath,
|
|
291
291
|
useQuerystring: this._useQuerystring,
|
|
292
292
|
json: true,
|
|
293
293
|
body: models_1.ObjectSerializer.serialize(deleteHardbounces, "DeleteHardbounces")
|
|
@@ -314,7 +314,7 @@ class TransactionalEmailsApi {
|
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
return new Promise((resolve, reject) => {
|
|
317
|
-
(0,
|
|
317
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
318
318
|
if (error) {
|
|
319
319
|
reject(error);
|
|
320
320
|
}
|
|
@@ -331,8 +331,8 @@ class TransactionalEmailsApi {
|
|
|
331
331
|
});
|
|
332
332
|
});
|
|
333
333
|
}
|
|
334
|
-
deleteScheduledEmailById(
|
|
335
|
-
return __awaiter(this,
|
|
334
|
+
deleteScheduledEmailById(identifier, options = { headers: {} }) {
|
|
335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
336
336
|
const localVarPath = this.basePath + '/smtp/email/{identifier}'
|
|
337
337
|
.replace('{' + 'identifier' + '}', encodeURIComponent(String(identifier)));
|
|
338
338
|
let localVarQueryParameters = {};
|
|
@@ -354,7 +354,7 @@ class TransactionalEmailsApi {
|
|
|
354
354
|
method: 'DELETE',
|
|
355
355
|
qs: localVarQueryParameters,
|
|
356
356
|
headers: localVarHeaderParams,
|
|
357
|
-
|
|
357
|
+
url: localVarPath,
|
|
358
358
|
useQuerystring: this._useQuerystring,
|
|
359
359
|
json: true,
|
|
360
360
|
};
|
|
@@ -380,7 +380,7 @@ class TransactionalEmailsApi {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
return new Promise((resolve, reject) => {
|
|
383
|
-
(0,
|
|
383
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
384
384
|
if (error) {
|
|
385
385
|
reject(error);
|
|
386
386
|
}
|
|
@@ -397,8 +397,8 @@ class TransactionalEmailsApi {
|
|
|
397
397
|
});
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
|
-
deleteSmtpTemplate(
|
|
401
|
-
return __awaiter(this,
|
|
400
|
+
deleteSmtpTemplate(templateId, options = { headers: {} }) {
|
|
401
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
402
402
|
const localVarPath = this.basePath + '/smtp/templates/{templateId}'
|
|
403
403
|
.replace('{' + 'templateId' + '}', encodeURIComponent(String(templateId)));
|
|
404
404
|
let localVarQueryParameters = {};
|
|
@@ -420,7 +420,7 @@ class TransactionalEmailsApi {
|
|
|
420
420
|
method: 'DELETE',
|
|
421
421
|
qs: localVarQueryParameters,
|
|
422
422
|
headers: localVarHeaderParams,
|
|
423
|
-
|
|
423
|
+
url: localVarPath,
|
|
424
424
|
useQuerystring: this._useQuerystring,
|
|
425
425
|
json: true,
|
|
426
426
|
};
|
|
@@ -446,7 +446,7 @@ class TransactionalEmailsApi {
|
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
return new Promise((resolve, reject) => {
|
|
449
|
-
(0,
|
|
449
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
450
450
|
if (error) {
|
|
451
451
|
reject(error);
|
|
452
452
|
}
|
|
@@ -463,8 +463,8 @@ class TransactionalEmailsApi {
|
|
|
463
463
|
});
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
|
-
getAggregatedSmtpReport(
|
|
467
|
-
return __awaiter(this,
|
|
466
|
+
getAggregatedSmtpReport(startDate, endDate, days, tag, options = { headers: {} }) {
|
|
467
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
468
468
|
const localVarPath = this.basePath + '/smtp/statistics/aggregatedReport';
|
|
469
469
|
let localVarQueryParameters = {};
|
|
470
470
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -494,7 +494,7 @@ class TransactionalEmailsApi {
|
|
|
494
494
|
method: 'GET',
|
|
495
495
|
qs: localVarQueryParameters,
|
|
496
496
|
headers: localVarHeaderParams,
|
|
497
|
-
|
|
497
|
+
url: localVarPath,
|
|
498
498
|
useQuerystring: this._useQuerystring,
|
|
499
499
|
json: true,
|
|
500
500
|
};
|
|
@@ -520,7 +520,7 @@ class TransactionalEmailsApi {
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
return new Promise((resolve, reject) => {
|
|
523
|
-
(0,
|
|
523
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
524
524
|
if (error) {
|
|
525
525
|
reject(error);
|
|
526
526
|
}
|
|
@@ -538,8 +538,8 @@ class TransactionalEmailsApi {
|
|
|
538
538
|
});
|
|
539
539
|
});
|
|
540
540
|
}
|
|
541
|
-
getBlockedDomains() {
|
|
542
|
-
return __awaiter(this,
|
|
541
|
+
getBlockedDomains(options = { headers: {} }) {
|
|
542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
543
543
|
const localVarPath = this.basePath + '/smtp/blockedDomains';
|
|
544
544
|
let localVarQueryParameters = {};
|
|
545
545
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -557,7 +557,7 @@ class TransactionalEmailsApi {
|
|
|
557
557
|
method: 'GET',
|
|
558
558
|
qs: localVarQueryParameters,
|
|
559
559
|
headers: localVarHeaderParams,
|
|
560
|
-
|
|
560
|
+
url: localVarPath,
|
|
561
561
|
useQuerystring: this._useQuerystring,
|
|
562
562
|
json: true,
|
|
563
563
|
};
|
|
@@ -583,7 +583,7 @@ class TransactionalEmailsApi {
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
return new Promise((resolve, reject) => {
|
|
586
|
-
(0,
|
|
586
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
587
587
|
if (error) {
|
|
588
588
|
reject(error);
|
|
589
589
|
}
|
|
@@ -601,8 +601,8 @@ class TransactionalEmailsApi {
|
|
|
601
601
|
});
|
|
602
602
|
});
|
|
603
603
|
}
|
|
604
|
-
getEmailEventReport(
|
|
605
|
-
return __awaiter(this,
|
|
604
|
+
getEmailEventReport(limit, offset, startDate, endDate, days, email, event, tags, messageId, templateId, sort, options = { headers: {} }) {
|
|
605
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
606
606
|
const localVarPath = this.basePath + '/smtp/statistics/events';
|
|
607
607
|
let localVarQueryParameters = {};
|
|
608
608
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -653,7 +653,7 @@ class TransactionalEmailsApi {
|
|
|
653
653
|
method: 'GET',
|
|
654
654
|
qs: localVarQueryParameters,
|
|
655
655
|
headers: localVarHeaderParams,
|
|
656
|
-
|
|
656
|
+
url: localVarPath,
|
|
657
657
|
useQuerystring: this._useQuerystring,
|
|
658
658
|
json: true,
|
|
659
659
|
};
|
|
@@ -679,7 +679,7 @@ class TransactionalEmailsApi {
|
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
return new Promise((resolve, reject) => {
|
|
682
|
-
(0,
|
|
682
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
683
683
|
if (error) {
|
|
684
684
|
reject(error);
|
|
685
685
|
}
|
|
@@ -697,8 +697,8 @@ class TransactionalEmailsApi {
|
|
|
697
697
|
});
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
|
-
getScheduledEmailByBatchId(
|
|
701
|
-
return __awaiter(this,
|
|
700
|
+
getScheduledEmailByBatchId(batchId, startDate, endDate, sort, status, limit, offset, options = { headers: {} }) {
|
|
701
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
702
702
|
const localVarPath = this.basePath + '/smtp/emailStatus/{batchId}'
|
|
703
703
|
.replace('{' + 'batchId' + '}', encodeURIComponent(String(batchId)));
|
|
704
704
|
let localVarQueryParameters = {};
|
|
@@ -738,7 +738,7 @@ class TransactionalEmailsApi {
|
|
|
738
738
|
method: 'GET',
|
|
739
739
|
qs: localVarQueryParameters,
|
|
740
740
|
headers: localVarHeaderParams,
|
|
741
|
-
|
|
741
|
+
url: localVarPath,
|
|
742
742
|
useQuerystring: this._useQuerystring,
|
|
743
743
|
json: true,
|
|
744
744
|
};
|
|
@@ -764,7 +764,7 @@ class TransactionalEmailsApi {
|
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
return new Promise((resolve, reject) => {
|
|
767
|
-
(0,
|
|
767
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
768
768
|
if (error) {
|
|
769
769
|
reject(error);
|
|
770
770
|
}
|
|
@@ -782,8 +782,8 @@ class TransactionalEmailsApi {
|
|
|
782
782
|
});
|
|
783
783
|
});
|
|
784
784
|
}
|
|
785
|
-
getScheduledEmailByMessageId(
|
|
786
|
-
return __awaiter(this,
|
|
785
|
+
getScheduledEmailByMessageId(messageId, startDate, endDate, options = { headers: {} }) {
|
|
786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
787
787
|
const localVarPath = this.basePath + '/smtp/emailStatus/{messageId}'
|
|
788
788
|
.replace('{' + 'messageId' + '}', encodeURIComponent(String(messageId)));
|
|
789
789
|
let localVarQueryParameters = {};
|
|
@@ -811,7 +811,7 @@ class TransactionalEmailsApi {
|
|
|
811
811
|
method: 'GET',
|
|
812
812
|
qs: localVarQueryParameters,
|
|
813
813
|
headers: localVarHeaderParams,
|
|
814
|
-
|
|
814
|
+
url: localVarPath,
|
|
815
815
|
useQuerystring: this._useQuerystring,
|
|
816
816
|
json: true,
|
|
817
817
|
};
|
|
@@ -837,7 +837,7 @@ class TransactionalEmailsApi {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
return new Promise((resolve, reject) => {
|
|
840
|
-
(0,
|
|
840
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
841
841
|
if (error) {
|
|
842
842
|
reject(error);
|
|
843
843
|
}
|
|
@@ -855,8 +855,8 @@ class TransactionalEmailsApi {
|
|
|
855
855
|
});
|
|
856
856
|
});
|
|
857
857
|
}
|
|
858
|
-
getSmtpReport(
|
|
859
|
-
return __awaiter(this,
|
|
858
|
+
getSmtpReport(limit, offset, startDate, endDate, days, tag, sort, options = { headers: {} }) {
|
|
859
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
860
860
|
const localVarPath = this.basePath + '/smtp/statistics/reports';
|
|
861
861
|
let localVarQueryParameters = {};
|
|
862
862
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -895,7 +895,7 @@ class TransactionalEmailsApi {
|
|
|
895
895
|
method: 'GET',
|
|
896
896
|
qs: localVarQueryParameters,
|
|
897
897
|
headers: localVarHeaderParams,
|
|
898
|
-
|
|
898
|
+
url: localVarPath,
|
|
899
899
|
useQuerystring: this._useQuerystring,
|
|
900
900
|
json: true,
|
|
901
901
|
};
|
|
@@ -921,7 +921,7 @@ class TransactionalEmailsApi {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
return new Promise((resolve, reject) => {
|
|
924
|
-
(0,
|
|
924
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
925
925
|
if (error) {
|
|
926
926
|
reject(error);
|
|
927
927
|
}
|
|
@@ -939,8 +939,8 @@ class TransactionalEmailsApi {
|
|
|
939
939
|
});
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
|
-
getSmtpTemplate(
|
|
943
|
-
return __awaiter(this,
|
|
942
|
+
getSmtpTemplate(templateId, options = { headers: {} }) {
|
|
943
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
944
944
|
const localVarPath = this.basePath + '/smtp/templates/{templateId}'
|
|
945
945
|
.replace('{' + 'templateId' + '}', encodeURIComponent(String(templateId)));
|
|
946
946
|
let localVarQueryParameters = {};
|
|
@@ -962,7 +962,7 @@ class TransactionalEmailsApi {
|
|
|
962
962
|
method: 'GET',
|
|
963
963
|
qs: localVarQueryParameters,
|
|
964
964
|
headers: localVarHeaderParams,
|
|
965
|
-
|
|
965
|
+
url: localVarPath,
|
|
966
966
|
useQuerystring: this._useQuerystring,
|
|
967
967
|
json: true,
|
|
968
968
|
};
|
|
@@ -988,7 +988,7 @@ class TransactionalEmailsApi {
|
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
990
|
return new Promise((resolve, reject) => {
|
|
991
|
-
(0,
|
|
991
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
992
992
|
if (error) {
|
|
993
993
|
reject(error);
|
|
994
994
|
}
|
|
@@ -1006,8 +1006,8 @@ class TransactionalEmailsApi {
|
|
|
1006
1006
|
});
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
|
-
getSmtpTemplates(
|
|
1010
|
-
return __awaiter(this,
|
|
1009
|
+
getSmtpTemplates(templateStatus, limit, offset, sort, options = { headers: {} }) {
|
|
1010
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1011
1011
|
const localVarPath = this.basePath + '/smtp/templates';
|
|
1012
1012
|
let localVarQueryParameters = {};
|
|
1013
1013
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -1037,7 +1037,7 @@ class TransactionalEmailsApi {
|
|
|
1037
1037
|
method: 'GET',
|
|
1038
1038
|
qs: localVarQueryParameters,
|
|
1039
1039
|
headers: localVarHeaderParams,
|
|
1040
|
-
|
|
1040
|
+
url: localVarPath,
|
|
1041
1041
|
useQuerystring: this._useQuerystring,
|
|
1042
1042
|
json: true,
|
|
1043
1043
|
};
|
|
@@ -1063,7 +1063,7 @@ class TransactionalEmailsApi {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
return new Promise((resolve, reject) => {
|
|
1066
|
-
(0,
|
|
1066
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1067
1067
|
if (error) {
|
|
1068
1068
|
reject(error);
|
|
1069
1069
|
}
|
|
@@ -1081,8 +1081,8 @@ class TransactionalEmailsApi {
|
|
|
1081
1081
|
});
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
|
-
getTransacBlockedContacts(
|
|
1085
|
-
return __awaiter(this,
|
|
1084
|
+
getTransacBlockedContacts(startDate, endDate, limit, offset, senders, sort, options = { headers: {} }) {
|
|
1085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1086
1086
|
const localVarPath = this.basePath + '/smtp/blockedContacts';
|
|
1087
1087
|
let localVarQueryParameters = {};
|
|
1088
1088
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -1118,7 +1118,7 @@ class TransactionalEmailsApi {
|
|
|
1118
1118
|
method: 'GET',
|
|
1119
1119
|
qs: localVarQueryParameters,
|
|
1120
1120
|
headers: localVarHeaderParams,
|
|
1121
|
-
|
|
1121
|
+
url: localVarPath,
|
|
1122
1122
|
useQuerystring: this._useQuerystring,
|
|
1123
1123
|
json: true,
|
|
1124
1124
|
};
|
|
@@ -1144,7 +1144,7 @@ class TransactionalEmailsApi {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
return new Promise((resolve, reject) => {
|
|
1147
|
-
(0,
|
|
1147
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1148
1148
|
if (error) {
|
|
1149
1149
|
reject(error);
|
|
1150
1150
|
}
|
|
@@ -1162,8 +1162,8 @@ class TransactionalEmailsApi {
|
|
|
1162
1162
|
});
|
|
1163
1163
|
});
|
|
1164
1164
|
}
|
|
1165
|
-
getTransacEmailContent(
|
|
1166
|
-
return __awaiter(this,
|
|
1165
|
+
getTransacEmailContent(uuid, options = { headers: {} }) {
|
|
1166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1167
1167
|
const localVarPath = this.basePath + '/smtp/emails/{uuid}'
|
|
1168
1168
|
.replace('{' + 'uuid' + '}', encodeURIComponent(String(uuid)));
|
|
1169
1169
|
let localVarQueryParameters = {};
|
|
@@ -1185,7 +1185,7 @@ class TransactionalEmailsApi {
|
|
|
1185
1185
|
method: 'GET',
|
|
1186
1186
|
qs: localVarQueryParameters,
|
|
1187
1187
|
headers: localVarHeaderParams,
|
|
1188
|
-
|
|
1188
|
+
url: localVarPath,
|
|
1189
1189
|
useQuerystring: this._useQuerystring,
|
|
1190
1190
|
json: true,
|
|
1191
1191
|
};
|
|
@@ -1211,7 +1211,7 @@ class TransactionalEmailsApi {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
return new Promise((resolve, reject) => {
|
|
1214
|
-
(0,
|
|
1214
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1215
1215
|
if (error) {
|
|
1216
1216
|
reject(error);
|
|
1217
1217
|
}
|
|
@@ -1229,8 +1229,8 @@ class TransactionalEmailsApi {
|
|
|
1229
1229
|
});
|
|
1230
1230
|
});
|
|
1231
1231
|
}
|
|
1232
|
-
getTransacEmailsList(
|
|
1233
|
-
return __awaiter(this,
|
|
1232
|
+
getTransacEmailsList(email, templateId, messageId, startDate, endDate, sort, limit, offset, options = { headers: {} }) {
|
|
1233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1234
1234
|
const localVarPath = this.basePath + '/smtp/emails';
|
|
1235
1235
|
let localVarQueryParameters = {};
|
|
1236
1236
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -1272,7 +1272,7 @@ class TransactionalEmailsApi {
|
|
|
1272
1272
|
method: 'GET',
|
|
1273
1273
|
qs: localVarQueryParameters,
|
|
1274
1274
|
headers: localVarHeaderParams,
|
|
1275
|
-
|
|
1275
|
+
url: localVarPath,
|
|
1276
1276
|
useQuerystring: this._useQuerystring,
|
|
1277
1277
|
json: true,
|
|
1278
1278
|
};
|
|
@@ -1298,7 +1298,7 @@ class TransactionalEmailsApi {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
return new Promise((resolve, reject) => {
|
|
1301
|
-
(0,
|
|
1301
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1302
1302
|
if (error) {
|
|
1303
1303
|
reject(error);
|
|
1304
1304
|
}
|
|
@@ -1316,75 +1316,8 @@ class TransactionalEmailsApi {
|
|
|
1316
1316
|
});
|
|
1317
1317
|
});
|
|
1318
1318
|
}
|
|
1319
|
-
|
|
1320
|
-
return __awaiter(this,
|
|
1321
|
-
const localVarPath = this.basePath + '/smtp/template/preview';
|
|
1322
|
-
let localVarQueryParameters = {};
|
|
1323
|
-
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
1324
|
-
const produces = ['application/json'];
|
|
1325
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
1326
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
1327
|
-
}
|
|
1328
|
-
else {
|
|
1329
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
1330
|
-
}
|
|
1331
|
-
let localVarFormParams = {};
|
|
1332
|
-
if (fetchTemplatePreview === null || fetchTemplatePreview === undefined) {
|
|
1333
|
-
throw new Error('Required parameter fetchTemplatePreview was null or undefined when calling postPreviewSmtpEmailTemplates.');
|
|
1334
|
-
}
|
|
1335
|
-
Object.assign(localVarHeaderParams, options.headers);
|
|
1336
|
-
let localVarUseFormData = false;
|
|
1337
|
-
let localVarRequestOptions = {
|
|
1338
|
-
method: 'POST',
|
|
1339
|
-
qs: localVarQueryParameters,
|
|
1340
|
-
headers: localVarHeaderParams,
|
|
1341
|
-
uri: localVarPath,
|
|
1342
|
-
useQuerystring: this._useQuerystring,
|
|
1343
|
-
json: true,
|
|
1344
|
-
body: models_1.ObjectSerializer.serialize(fetchTemplatePreview, "FetchTemplatePreview")
|
|
1345
|
-
};
|
|
1346
|
-
let authenticationPromise = Promise.resolve();
|
|
1347
|
-
if (this.authentications.apiKey.apiKey) {
|
|
1348
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
1349
|
-
}
|
|
1350
|
-
if (this.authentications.partnerKey.apiKey) {
|
|
1351
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
1352
|
-
}
|
|
1353
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1354
|
-
let interceptorPromise = authenticationPromise;
|
|
1355
|
-
for (const interceptor of this.interceptors) {
|
|
1356
|
-
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1357
|
-
}
|
|
1358
|
-
return interceptorPromise.then(() => {
|
|
1359
|
-
if (Object.keys(localVarFormParams).length) {
|
|
1360
|
-
if (localVarUseFormData) {
|
|
1361
|
-
localVarRequestOptions.formData = localVarFormParams;
|
|
1362
|
-
}
|
|
1363
|
-
else {
|
|
1364
|
-
localVarRequestOptions.form = localVarFormParams;
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
return new Promise((resolve, reject) => {
|
|
1368
|
-
(0, request_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1369
|
-
if (error) {
|
|
1370
|
-
reject(error);
|
|
1371
|
-
}
|
|
1372
|
-
else {
|
|
1373
|
-
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1374
|
-
body = models_1.ObjectSerializer.deserialize(body, "TemplatePreview");
|
|
1375
|
-
resolve({ response: response, body: body });
|
|
1376
|
-
}
|
|
1377
|
-
else {
|
|
1378
|
-
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
});
|
|
1382
|
-
});
|
|
1383
|
-
});
|
|
1384
|
-
});
|
|
1385
|
-
}
|
|
1386
|
-
sendTestTemplate(templateId_1, sendTestEmail_1) {
|
|
1387
|
-
return __awaiter(this, arguments, void 0, function* (templateId, sendTestEmail, options = { headers: {} }) {
|
|
1319
|
+
sendTestTemplate(templateId, sendTestEmail, options = { headers: {} }) {
|
|
1320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1388
1321
|
const localVarPath = this.basePath + '/smtp/templates/{templateId}/sendTest'
|
|
1389
1322
|
.replace('{' + 'templateId' + '}', encodeURIComponent(String(templateId)));
|
|
1390
1323
|
let localVarQueryParameters = {};
|
|
@@ -1409,7 +1342,7 @@ class TransactionalEmailsApi {
|
|
|
1409
1342
|
method: 'POST',
|
|
1410
1343
|
qs: localVarQueryParameters,
|
|
1411
1344
|
headers: localVarHeaderParams,
|
|
1412
|
-
|
|
1345
|
+
url: localVarPath,
|
|
1413
1346
|
useQuerystring: this._useQuerystring,
|
|
1414
1347
|
json: true,
|
|
1415
1348
|
body: models_1.ObjectSerializer.serialize(sendTestEmail, "SendTestEmail")
|
|
@@ -1436,7 +1369,7 @@ class TransactionalEmailsApi {
|
|
|
1436
1369
|
}
|
|
1437
1370
|
}
|
|
1438
1371
|
return new Promise((resolve, reject) => {
|
|
1439
|
-
(0,
|
|
1372
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1440
1373
|
if (error) {
|
|
1441
1374
|
reject(error);
|
|
1442
1375
|
}
|
|
@@ -1453,8 +1386,8 @@ class TransactionalEmailsApi {
|
|
|
1453
1386
|
});
|
|
1454
1387
|
});
|
|
1455
1388
|
}
|
|
1456
|
-
sendTransacEmail(
|
|
1457
|
-
return __awaiter(this,
|
|
1389
|
+
sendTransacEmail(sendSmtpEmail, options = { headers: {} }) {
|
|
1390
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1458
1391
|
const localVarPath = this.basePath + '/smtp/email';
|
|
1459
1392
|
let localVarQueryParameters = {};
|
|
1460
1393
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
@@ -1475,7 +1408,7 @@ class TransactionalEmailsApi {
|
|
|
1475
1408
|
method: 'POST',
|
|
1476
1409
|
qs: localVarQueryParameters,
|
|
1477
1410
|
headers: localVarHeaderParams,
|
|
1478
|
-
|
|
1411
|
+
url: localVarPath,
|
|
1479
1412
|
useQuerystring: this._useQuerystring,
|
|
1480
1413
|
json: true,
|
|
1481
1414
|
body: models_1.ObjectSerializer.serialize(sendSmtpEmail, "SendSmtpEmail")
|
|
@@ -1502,7 +1435,7 @@ class TransactionalEmailsApi {
|
|
|
1502
1435
|
}
|
|
1503
1436
|
}
|
|
1504
1437
|
return new Promise((resolve, reject) => {
|
|
1505
|
-
(0,
|
|
1438
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1506
1439
|
if (error) {
|
|
1507
1440
|
reject(error);
|
|
1508
1441
|
}
|
|
@@ -1520,8 +1453,8 @@ class TransactionalEmailsApi {
|
|
|
1520
1453
|
});
|
|
1521
1454
|
});
|
|
1522
1455
|
}
|
|
1523
|
-
smtpBlockedContactsEmailDelete(
|
|
1524
|
-
return __awaiter(this,
|
|
1456
|
+
smtpBlockedContactsEmailDelete(email, options = { headers: {} }) {
|
|
1457
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1525
1458
|
const localVarPath = this.basePath + '/smtp/blockedContacts/{email}'
|
|
1526
1459
|
.replace('{' + 'email' + '}', encodeURIComponent(String(email)));
|
|
1527
1460
|
let localVarQueryParameters = {};
|
|
@@ -1543,7 +1476,7 @@ class TransactionalEmailsApi {
|
|
|
1543
1476
|
method: 'DELETE',
|
|
1544
1477
|
qs: localVarQueryParameters,
|
|
1545
1478
|
headers: localVarHeaderParams,
|
|
1546
|
-
|
|
1479
|
+
url: localVarPath,
|
|
1547
1480
|
useQuerystring: this._useQuerystring,
|
|
1548
1481
|
json: true,
|
|
1549
1482
|
};
|
|
@@ -1569,7 +1502,7 @@ class TransactionalEmailsApi {
|
|
|
1569
1502
|
}
|
|
1570
1503
|
}
|
|
1571
1504
|
return new Promise((resolve, reject) => {
|
|
1572
|
-
(0,
|
|
1505
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1573
1506
|
if (error) {
|
|
1574
1507
|
reject(error);
|
|
1575
1508
|
}
|
|
@@ -1586,8 +1519,8 @@ class TransactionalEmailsApi {
|
|
|
1586
1519
|
});
|
|
1587
1520
|
});
|
|
1588
1521
|
}
|
|
1589
|
-
smtpLogIdentifierDelete(
|
|
1590
|
-
return __awaiter(this,
|
|
1522
|
+
smtpLogIdentifierDelete(identifier, options = { headers: {} }) {
|
|
1523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1591
1524
|
const localVarPath = this.basePath + '/smtp/log/{identifier}'
|
|
1592
1525
|
.replace('{' + 'identifier' + '}', encodeURIComponent(String(identifier)));
|
|
1593
1526
|
let localVarQueryParameters = {};
|
|
@@ -1609,7 +1542,7 @@ class TransactionalEmailsApi {
|
|
|
1609
1542
|
method: 'DELETE',
|
|
1610
1543
|
qs: localVarQueryParameters,
|
|
1611
1544
|
headers: localVarHeaderParams,
|
|
1612
|
-
|
|
1545
|
+
url: localVarPath,
|
|
1613
1546
|
useQuerystring: this._useQuerystring,
|
|
1614
1547
|
json: true,
|
|
1615
1548
|
};
|
|
@@ -1635,7 +1568,7 @@ class TransactionalEmailsApi {
|
|
|
1635
1568
|
}
|
|
1636
1569
|
}
|
|
1637
1570
|
return new Promise((resolve, reject) => {
|
|
1638
|
-
(0,
|
|
1571
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1639
1572
|
if (error) {
|
|
1640
1573
|
reject(error);
|
|
1641
1574
|
}
|
|
@@ -1652,8 +1585,8 @@ class TransactionalEmailsApi {
|
|
|
1652
1585
|
});
|
|
1653
1586
|
});
|
|
1654
1587
|
}
|
|
1655
|
-
updateSmtpTemplate(
|
|
1656
|
-
return __awaiter(this,
|
|
1588
|
+
updateSmtpTemplate(templateId, smtpTemplate, options = { headers: {} }) {
|
|
1589
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1657
1590
|
const localVarPath = this.basePath + '/smtp/templates/{templateId}'
|
|
1658
1591
|
.replace('{' + 'templateId' + '}', encodeURIComponent(String(templateId)));
|
|
1659
1592
|
let localVarQueryParameters = {};
|
|
@@ -1678,7 +1611,7 @@ class TransactionalEmailsApi {
|
|
|
1678
1611
|
method: 'PUT',
|
|
1679
1612
|
qs: localVarQueryParameters,
|
|
1680
1613
|
headers: localVarHeaderParams,
|
|
1681
|
-
|
|
1614
|
+
url: localVarPath,
|
|
1682
1615
|
useQuerystring: this._useQuerystring,
|
|
1683
1616
|
json: true,
|
|
1684
1617
|
body: models_1.ObjectSerializer.serialize(smtpTemplate, "UpdateSmtpTemplate")
|
|
@@ -1705,7 +1638,7 @@ class TransactionalEmailsApi {
|
|
|
1705
1638
|
}
|
|
1706
1639
|
}
|
|
1707
1640
|
return new Promise((resolve, reject) => {
|
|
1708
|
-
(0,
|
|
1641
|
+
(0, requestCompat_1.default)(localVarRequestOptions, (error, response, body) => {
|
|
1709
1642
|
if (error) {
|
|
1710
1643
|
reject(error);
|
|
1711
1644
|
}
|