@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
package/api/dealsApi.ts
CHANGED
|
@@ -11,14 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
import localVarRequest from '
|
|
15
|
-
import http from 'http';
|
|
14
|
+
import localVarRequest, { RequestOptions, IncomingMessage } from '../requestCompat';
|
|
16
15
|
|
|
17
16
|
/* tslint:disable:no-unused-locals */
|
|
18
|
-
import { CompaniesImportPost200Response } from '../model/companiesImportPost200Response';
|
|
19
|
-
import { CompaniesImportPost400Response } from '../model/companiesImportPost400Response';
|
|
20
|
-
import { CrmAttributesPost200Response } from '../model/crmAttributesPost200Response';
|
|
21
|
-
import { CrmAttributesPostRequest } from '../model/crmAttributesPostRequest';
|
|
22
17
|
import { CrmDealsIdPatchRequest } from '../model/crmDealsIdPatchRequest';
|
|
23
18
|
import { CrmDealsLinkUnlinkIdPatchRequest } from '../model/crmDealsLinkUnlinkIdPatchRequest';
|
|
24
19
|
import { CrmDealsPost201Response } from '../model/crmDealsPost201Response';
|
|
@@ -107,7 +102,7 @@ export class DealsApi {
|
|
|
107
102
|
*
|
|
108
103
|
* @summary Get deal attributes
|
|
109
104
|
*/
|
|
110
|
-
public async crmAttributesDealsGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
105
|
+
public async crmAttributesDealsGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: Array<DealAttributesInner>; }> {
|
|
111
106
|
const localVarPath = this.basePath + '/crm/attributes/deals';
|
|
112
107
|
let localVarQueryParameters: any = {};
|
|
113
108
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -124,11 +119,11 @@ export class DealsApi {
|
|
|
124
119
|
|
|
125
120
|
let localVarUseFormData = false;
|
|
126
121
|
|
|
127
|
-
let localVarRequestOptions:
|
|
122
|
+
let localVarRequestOptions: RequestOptions = {
|
|
128
123
|
method: 'GET',
|
|
129
|
-
|
|
124
|
+
params: localVarQueryParameters,
|
|
130
125
|
headers: localVarHeaderParams,
|
|
131
|
-
|
|
126
|
+
url: localVarPath,
|
|
132
127
|
useQuerystring: this._useQuerystring,
|
|
133
128
|
json: true,
|
|
134
129
|
};
|
|
@@ -155,7 +150,7 @@ export class DealsApi {
|
|
|
155
150
|
localVarRequestOptions.form = localVarFormParams;
|
|
156
151
|
}
|
|
157
152
|
}
|
|
158
|
-
return new Promise<{ response:
|
|
153
|
+
return new Promise<{ response: IncomingMessage; body: Array<DealAttributesInner>; }>((resolve, reject) => {
|
|
159
154
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
160
155
|
if (error) {
|
|
161
156
|
reject(error);
|
|
@@ -171,95 +166,18 @@ export class DealsApi {
|
|
|
171
166
|
});
|
|
172
167
|
});
|
|
173
168
|
}
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @summary Create a deal/company attribute
|
|
177
|
-
* @param body Attribute creation data for company
|
|
178
|
-
*/
|
|
179
|
-
public async crmAttributesPost (body: CrmAttributesPostRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: CrmAttributesPost200Response; }> {
|
|
180
|
-
const localVarPath = this.basePath + '/crm/attributes';
|
|
181
|
-
let localVarQueryParameters: any = {};
|
|
182
|
-
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
183
|
-
const produces = ['application/json'];
|
|
184
|
-
// give precedence to 'application/json'
|
|
185
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
186
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
187
|
-
} else {
|
|
188
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
189
|
-
}
|
|
190
|
-
let localVarFormParams: any = {};
|
|
191
|
-
|
|
192
|
-
// verify required parameter 'body' is not null or undefined
|
|
193
|
-
if (body === null || body === undefined) {
|
|
194
|
-
throw new Error('Required parameter body was null or undefined when calling crmAttributesPost.');
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
198
|
-
|
|
199
|
-
let localVarUseFormData = false;
|
|
200
|
-
|
|
201
|
-
let localVarRequestOptions: localVarRequest.Options = {
|
|
202
|
-
method: 'POST',
|
|
203
|
-
qs: localVarQueryParameters,
|
|
204
|
-
headers: localVarHeaderParams,
|
|
205
|
-
uri: localVarPath,
|
|
206
|
-
useQuerystring: this._useQuerystring,
|
|
207
|
-
json: true,
|
|
208
|
-
body: ObjectSerializer.serialize(body, "CrmAttributesPostRequest")
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
let authenticationPromise = Promise.resolve();
|
|
212
|
-
if (this.authentications.apiKey.apiKey) {
|
|
213
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
214
|
-
}
|
|
215
|
-
if (this.authentications.partnerKey.apiKey) {
|
|
216
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
217
|
-
}
|
|
218
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
219
|
-
|
|
220
|
-
let interceptorPromise = authenticationPromise;
|
|
221
|
-
for (const interceptor of this.interceptors) {
|
|
222
|
-
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
return interceptorPromise.then(() => {
|
|
226
|
-
if (Object.keys(localVarFormParams).length) {
|
|
227
|
-
if (localVarUseFormData) {
|
|
228
|
-
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
229
|
-
} else {
|
|
230
|
-
localVarRequestOptions.form = localVarFormParams;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
return new Promise<{ response: http.IncomingMessage; body: CrmAttributesPost200Response; }>((resolve, reject) => {
|
|
234
|
-
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
235
|
-
if (error) {
|
|
236
|
-
reject(error);
|
|
237
|
-
} else {
|
|
238
|
-
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
239
|
-
body = ObjectSerializer.deserialize(body, "CrmAttributesPost200Response");
|
|
240
|
-
resolve({ response: response, body: body });
|
|
241
|
-
} else {
|
|
242
|
-
reject(new HttpError(response, body, response.statusCode));
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
});
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
169
|
/**
|
|
250
170
|
*
|
|
251
171
|
* @summary Get all deals
|
|
252
172
|
* @param filtersAttributesDealName Filter by attributes. If you have a filter for the owner on your end, please send it as filters[attributes.deal_owner] and utilize the account email for the filtering.
|
|
253
173
|
* @param filtersLinkedCompaniesIds Filter by linked companies ids
|
|
254
174
|
* @param filtersLinkedContactsIds Filter by linked companies ids
|
|
255
|
-
* @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
|
|
256
|
-
* @param createdSince Filter (urlencoded) the contacts created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
|
|
257
175
|
* @param offset Index of the first document of the page
|
|
258
176
|
* @param limit Number of documents per page
|
|
259
177
|
* @param sort Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
|
|
260
178
|
* @param sortBy The field used to sort field names.
|
|
261
179
|
*/
|
|
262
|
-
public async crmDealsGet (filtersAttributesDealName?: string, filtersLinkedCompaniesIds?: string, filtersLinkedContactsIds?: string,
|
|
180
|
+
public async crmDealsGet (filtersAttributesDealName?: string, filtersLinkedCompaniesIds?: string, filtersLinkedContactsIds?: string, offset?: number, limit?: number, sort?: 'asc' | 'desc', sortBy?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: DealsList; }> {
|
|
263
181
|
const localVarPath = this.basePath + '/crm/deals';
|
|
264
182
|
let localVarQueryParameters: any = {};
|
|
265
183
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -284,14 +202,6 @@ export class DealsApi {
|
|
|
284
202
|
localVarQueryParameters['filters[linkedContactsIds]'] = ObjectSerializer.serialize(filtersLinkedContactsIds, "string");
|
|
285
203
|
}
|
|
286
204
|
|
|
287
|
-
if (modifiedSince !== undefined) {
|
|
288
|
-
localVarQueryParameters['modifiedSince'] = ObjectSerializer.serialize(modifiedSince, "string");
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
if (createdSince !== undefined) {
|
|
292
|
-
localVarQueryParameters['createdSince'] = ObjectSerializer.serialize(createdSince, "string");
|
|
293
|
-
}
|
|
294
|
-
|
|
295
205
|
if (offset !== undefined) {
|
|
296
206
|
localVarQueryParameters['offset'] = ObjectSerializer.serialize(offset, "number");
|
|
297
207
|
}
|
|
@@ -312,11 +222,11 @@ export class DealsApi {
|
|
|
312
222
|
|
|
313
223
|
let localVarUseFormData = false;
|
|
314
224
|
|
|
315
|
-
let localVarRequestOptions:
|
|
225
|
+
let localVarRequestOptions: RequestOptions = {
|
|
316
226
|
method: 'GET',
|
|
317
|
-
|
|
227
|
+
params: localVarQueryParameters,
|
|
318
228
|
headers: localVarHeaderParams,
|
|
319
|
-
|
|
229
|
+
url: localVarPath,
|
|
320
230
|
useQuerystring: this._useQuerystring,
|
|
321
231
|
json: true,
|
|
322
232
|
};
|
|
@@ -343,7 +253,7 @@ export class DealsApi {
|
|
|
343
253
|
localVarRequestOptions.form = localVarFormParams;
|
|
344
254
|
}
|
|
345
255
|
}
|
|
346
|
-
return new Promise<{ response:
|
|
256
|
+
return new Promise<{ response: IncomingMessage; body: DealsList; }>((resolve, reject) => {
|
|
347
257
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
348
258
|
if (error) {
|
|
349
259
|
reject(error);
|
|
@@ -364,7 +274,7 @@ export class DealsApi {
|
|
|
364
274
|
* @summary Delete a deal
|
|
365
275
|
* @param id
|
|
366
276
|
*/
|
|
367
|
-
public async crmDealsIdDelete (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
277
|
+
public async crmDealsIdDelete (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body?: any; }> {
|
|
368
278
|
const localVarPath = this.basePath + '/crm/deals/{id}'
|
|
369
279
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
370
280
|
let localVarQueryParameters: any = {};
|
|
@@ -387,11 +297,11 @@ export class DealsApi {
|
|
|
387
297
|
|
|
388
298
|
let localVarUseFormData = false;
|
|
389
299
|
|
|
390
|
-
let localVarRequestOptions:
|
|
300
|
+
let localVarRequestOptions: RequestOptions = {
|
|
391
301
|
method: 'DELETE',
|
|
392
|
-
|
|
302
|
+
params: localVarQueryParameters,
|
|
393
303
|
headers: localVarHeaderParams,
|
|
394
|
-
|
|
304
|
+
url: localVarPath,
|
|
395
305
|
useQuerystring: this._useQuerystring,
|
|
396
306
|
json: true,
|
|
397
307
|
};
|
|
@@ -418,7 +328,7 @@ export class DealsApi {
|
|
|
418
328
|
localVarRequestOptions.form = localVarFormParams;
|
|
419
329
|
}
|
|
420
330
|
}
|
|
421
|
-
return new Promise<{ response:
|
|
331
|
+
return new Promise<{ response: IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
422
332
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
423
333
|
if (error) {
|
|
424
334
|
reject(error);
|
|
@@ -438,7 +348,7 @@ export class DealsApi {
|
|
|
438
348
|
* @summary Get a deal
|
|
439
349
|
* @param id
|
|
440
350
|
*/
|
|
441
|
-
public async crmDealsIdGet (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
351
|
+
public async crmDealsIdGet (id: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: Deal; }> {
|
|
442
352
|
const localVarPath = this.basePath + '/crm/deals/{id}'
|
|
443
353
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
444
354
|
let localVarQueryParameters: any = {};
|
|
@@ -461,11 +371,11 @@ export class DealsApi {
|
|
|
461
371
|
|
|
462
372
|
let localVarUseFormData = false;
|
|
463
373
|
|
|
464
|
-
let localVarRequestOptions:
|
|
374
|
+
let localVarRequestOptions: RequestOptions = {
|
|
465
375
|
method: 'GET',
|
|
466
|
-
|
|
376
|
+
params: localVarQueryParameters,
|
|
467
377
|
headers: localVarHeaderParams,
|
|
468
|
-
|
|
378
|
+
url: localVarPath,
|
|
469
379
|
useQuerystring: this._useQuerystring,
|
|
470
380
|
json: true,
|
|
471
381
|
};
|
|
@@ -492,7 +402,7 @@ export class DealsApi {
|
|
|
492
402
|
localVarRequestOptions.form = localVarFormParams;
|
|
493
403
|
}
|
|
494
404
|
}
|
|
495
|
-
return new Promise<{ response:
|
|
405
|
+
return new Promise<{ response: IncomingMessage; body: Deal; }>((resolve, reject) => {
|
|
496
406
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
497
407
|
if (error) {
|
|
498
408
|
reject(error);
|
|
@@ -514,7 +424,7 @@ export class DealsApi {
|
|
|
514
424
|
* @param id
|
|
515
425
|
* @param body Updated deal details.
|
|
516
426
|
*/
|
|
517
|
-
public async crmDealsIdPatch (id: string, body: CrmDealsIdPatchRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
427
|
+
public async crmDealsIdPatch (id: string, body: CrmDealsIdPatchRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body?: any; }> {
|
|
518
428
|
const localVarPath = this.basePath + '/crm/deals/{id}'
|
|
519
429
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
520
430
|
let localVarQueryParameters: any = {};
|
|
@@ -542,11 +452,11 @@ export class DealsApi {
|
|
|
542
452
|
|
|
543
453
|
let localVarUseFormData = false;
|
|
544
454
|
|
|
545
|
-
let localVarRequestOptions:
|
|
455
|
+
let localVarRequestOptions: RequestOptions = {
|
|
546
456
|
method: 'PATCH',
|
|
547
|
-
|
|
457
|
+
params: localVarQueryParameters,
|
|
548
458
|
headers: localVarHeaderParams,
|
|
549
|
-
|
|
459
|
+
url: localVarPath,
|
|
550
460
|
useQuerystring: this._useQuerystring,
|
|
551
461
|
json: true,
|
|
552
462
|
body: ObjectSerializer.serialize(body, "CrmDealsIdPatchRequest")
|
|
@@ -574,101 +484,12 @@ export class DealsApi {
|
|
|
574
484
|
localVarRequestOptions.form = localVarFormParams;
|
|
575
485
|
}
|
|
576
486
|
}
|
|
577
|
-
return new Promise<{ response:
|
|
578
|
-
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
579
|
-
if (error) {
|
|
580
|
-
reject(error);
|
|
581
|
-
} else {
|
|
582
|
-
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
583
|
-
resolve({ response: response, body: body });
|
|
584
|
-
} else {
|
|
585
|
-
reject(new HttpError(response, body, response.statusCode));
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
});
|
|
590
|
-
});
|
|
591
|
-
}
|
|
592
|
-
/**
|
|
593
|
-
* Import deals from a CSV file with mapping options.
|
|
594
|
-
* @summary Import deals(creation and updation)
|
|
595
|
-
* @param file The CSV file to upload.The file should have the first row as the mapping attribute. Some default attribute names are (a) deal_id [brevo mongoID to update deals] (b) associated_contact (c) associated_company (f) any other attribute with internal name
|
|
596
|
-
* @param mapping The mapping options in JSON format. json { \\\"link_entities\\\": true, // Determines whether to link related entities during the import process \\\"unlink_entities\\\": false, //Determines whether to unlink related entities during the import process. \\\"update_existing_records\\\": true, // Determines whether to update based on deal ID or treat every row as create \\\"unset_empty_attributes\\\": false // Determines whether unset a specific attribute during update if values input is blank }
|
|
597
|
-
*/
|
|
598
|
-
public async crmDealsImportPost (file: RequestFile, mapping: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: CompaniesImportPost200Response; }> {
|
|
599
|
-
const localVarPath = this.basePath + '/crm/deals/import';
|
|
600
|
-
let localVarQueryParameters: any = {};
|
|
601
|
-
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
602
|
-
const produces = ['application/json'];
|
|
603
|
-
// give precedence to 'application/json'
|
|
604
|
-
if (produces.indexOf('application/json') >= 0) {
|
|
605
|
-
localVarHeaderParams.Accept = 'application/json';
|
|
606
|
-
} else {
|
|
607
|
-
localVarHeaderParams.Accept = produces.join(',');
|
|
608
|
-
}
|
|
609
|
-
let localVarFormParams: any = {};
|
|
610
|
-
|
|
611
|
-
// verify required parameter 'file' is not null or undefined
|
|
612
|
-
if (file === null || file === undefined) {
|
|
613
|
-
throw new Error('Required parameter file was null or undefined when calling crmDealsImportPost.');
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
// verify required parameter 'mapping' is not null or undefined
|
|
617
|
-
if (mapping === null || mapping === undefined) {
|
|
618
|
-
throw new Error('Required parameter mapping was null or undefined when calling crmDealsImportPost.');
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
622
|
-
|
|
623
|
-
let localVarUseFormData = false;
|
|
624
|
-
|
|
625
|
-
if (file !== undefined) {
|
|
626
|
-
localVarFormParams['file'] = file;
|
|
627
|
-
}
|
|
628
|
-
localVarUseFormData = true;
|
|
629
|
-
|
|
630
|
-
if (mapping !== undefined) {
|
|
631
|
-
localVarFormParams['mapping'] = ObjectSerializer.serialize(mapping, "string");
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
let localVarRequestOptions: localVarRequest.Options = {
|
|
635
|
-
method: 'POST',
|
|
636
|
-
qs: localVarQueryParameters,
|
|
637
|
-
headers: localVarHeaderParams,
|
|
638
|
-
uri: localVarPath,
|
|
639
|
-
useQuerystring: this._useQuerystring,
|
|
640
|
-
json: true,
|
|
641
|
-
};
|
|
642
|
-
|
|
643
|
-
let authenticationPromise = Promise.resolve();
|
|
644
|
-
if (this.authentications.apiKey.apiKey) {
|
|
645
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
646
|
-
}
|
|
647
|
-
if (this.authentications.partnerKey.apiKey) {
|
|
648
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
649
|
-
}
|
|
650
|
-
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
651
|
-
|
|
652
|
-
let interceptorPromise = authenticationPromise;
|
|
653
|
-
for (const interceptor of this.interceptors) {
|
|
654
|
-
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
return interceptorPromise.then(() => {
|
|
658
|
-
if (Object.keys(localVarFormParams).length) {
|
|
659
|
-
if (localVarUseFormData) {
|
|
660
|
-
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
661
|
-
} else {
|
|
662
|
-
localVarRequestOptions.form = localVarFormParams;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
return new Promise<{ response: http.IncomingMessage; body: CompaniesImportPost200Response; }>((resolve, reject) => {
|
|
487
|
+
return new Promise<{ response: IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
666
488
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
667
489
|
if (error) {
|
|
668
490
|
reject(error);
|
|
669
491
|
} else {
|
|
670
492
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
671
|
-
body = ObjectSerializer.deserialize(body, "CompaniesImportPost200Response");
|
|
672
493
|
resolve({ response: response, body: body });
|
|
673
494
|
} else {
|
|
674
495
|
reject(new HttpError(response, body, response.statusCode));
|
|
@@ -684,7 +505,7 @@ export class DealsApi {
|
|
|
684
505
|
* @param id
|
|
685
506
|
* @param body Linked / Unlinked contacts and companies ids.
|
|
686
507
|
*/
|
|
687
|
-
public async crmDealsLinkUnlinkIdPatch (id: string, body: CrmDealsLinkUnlinkIdPatchRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
508
|
+
public async crmDealsLinkUnlinkIdPatch (id: string, body: CrmDealsLinkUnlinkIdPatchRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body?: any; }> {
|
|
688
509
|
const localVarPath = this.basePath + '/crm/deals/link-unlink/{id}'
|
|
689
510
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
690
511
|
let localVarQueryParameters: any = {};
|
|
@@ -712,11 +533,11 @@ export class DealsApi {
|
|
|
712
533
|
|
|
713
534
|
let localVarUseFormData = false;
|
|
714
535
|
|
|
715
|
-
let localVarRequestOptions:
|
|
536
|
+
let localVarRequestOptions: RequestOptions = {
|
|
716
537
|
method: 'PATCH',
|
|
717
|
-
|
|
538
|
+
params: localVarQueryParameters,
|
|
718
539
|
headers: localVarHeaderParams,
|
|
719
|
-
|
|
540
|
+
url: localVarPath,
|
|
720
541
|
useQuerystring: this._useQuerystring,
|
|
721
542
|
json: true,
|
|
722
543
|
body: ObjectSerializer.serialize(body, "CrmDealsLinkUnlinkIdPatchRequest")
|
|
@@ -744,7 +565,7 @@ export class DealsApi {
|
|
|
744
565
|
localVarRequestOptions.form = localVarFormParams;
|
|
745
566
|
}
|
|
746
567
|
}
|
|
747
|
-
return new Promise<{ response:
|
|
568
|
+
return new Promise<{ response: IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
748
569
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
749
570
|
if (error) {
|
|
750
571
|
reject(error);
|
|
@@ -764,7 +585,7 @@ export class DealsApi {
|
|
|
764
585
|
* @summary Create a deal
|
|
765
586
|
* @param body Deal create data.
|
|
766
587
|
*/
|
|
767
|
-
public async crmDealsPost (body: CrmDealsPostRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
588
|
+
public async crmDealsPost (body: CrmDealsPostRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: CrmDealsPost201Response; }> {
|
|
768
589
|
const localVarPath = this.basePath + '/crm/deals';
|
|
769
590
|
let localVarQueryParameters: any = {};
|
|
770
591
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -786,11 +607,11 @@ export class DealsApi {
|
|
|
786
607
|
|
|
787
608
|
let localVarUseFormData = false;
|
|
788
609
|
|
|
789
|
-
let localVarRequestOptions:
|
|
610
|
+
let localVarRequestOptions: RequestOptions = {
|
|
790
611
|
method: 'POST',
|
|
791
|
-
|
|
612
|
+
params: localVarQueryParameters,
|
|
792
613
|
headers: localVarHeaderParams,
|
|
793
|
-
|
|
614
|
+
url: localVarPath,
|
|
794
615
|
useQuerystring: this._useQuerystring,
|
|
795
616
|
json: true,
|
|
796
617
|
body: ObjectSerializer.serialize(body, "CrmDealsPostRequest")
|
|
@@ -818,7 +639,7 @@ export class DealsApi {
|
|
|
818
639
|
localVarRequestOptions.form = localVarFormParams;
|
|
819
640
|
}
|
|
820
641
|
}
|
|
821
|
-
return new Promise<{ response:
|
|
642
|
+
return new Promise<{ response: IncomingMessage; body: CrmDealsPost201Response; }>((resolve, reject) => {
|
|
822
643
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
823
644
|
if (error) {
|
|
824
645
|
reject(error);
|
|
@@ -838,7 +659,7 @@ export class DealsApi {
|
|
|
838
659
|
*
|
|
839
660
|
* @summary Get all pipelines
|
|
840
661
|
*/
|
|
841
|
-
public async crmPipelineDetailsAllGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
662
|
+
public async crmPipelineDetailsAllGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: Array<Pipeline>; }> {
|
|
842
663
|
const localVarPath = this.basePath + '/crm/pipeline/details/all';
|
|
843
664
|
let localVarQueryParameters: any = {};
|
|
844
665
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -855,11 +676,11 @@ export class DealsApi {
|
|
|
855
676
|
|
|
856
677
|
let localVarUseFormData = false;
|
|
857
678
|
|
|
858
|
-
let localVarRequestOptions:
|
|
679
|
+
let localVarRequestOptions: RequestOptions = {
|
|
859
680
|
method: 'GET',
|
|
860
|
-
|
|
681
|
+
params: localVarQueryParameters,
|
|
861
682
|
headers: localVarHeaderParams,
|
|
862
|
-
|
|
683
|
+
url: localVarPath,
|
|
863
684
|
useQuerystring: this._useQuerystring,
|
|
864
685
|
json: true,
|
|
865
686
|
};
|
|
@@ -886,7 +707,7 @@ export class DealsApi {
|
|
|
886
707
|
localVarRequestOptions.form = localVarFormParams;
|
|
887
708
|
}
|
|
888
709
|
}
|
|
889
|
-
return new Promise<{ response:
|
|
710
|
+
return new Promise<{ response: IncomingMessage; body: Array<Pipeline>; }>((resolve, reject) => {
|
|
890
711
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
891
712
|
if (error) {
|
|
892
713
|
reject(error);
|
|
@@ -905,10 +726,8 @@ export class DealsApi {
|
|
|
905
726
|
/**
|
|
906
727
|
* This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead.
|
|
907
728
|
* @summary Get pipeline stages
|
|
908
|
-
*
|
|
909
|
-
* @deprecated
|
|
910
729
|
*/
|
|
911
|
-
public async crmPipelineDetailsGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
730
|
+
public async crmPipelineDetailsGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: Pipeline; }> {
|
|
912
731
|
const localVarPath = this.basePath + '/crm/pipeline/details';
|
|
913
732
|
let localVarQueryParameters: any = {};
|
|
914
733
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -925,11 +744,11 @@ export class DealsApi {
|
|
|
925
744
|
|
|
926
745
|
let localVarUseFormData = false;
|
|
927
746
|
|
|
928
|
-
let localVarRequestOptions:
|
|
747
|
+
let localVarRequestOptions: RequestOptions = {
|
|
929
748
|
method: 'GET',
|
|
930
|
-
|
|
749
|
+
params: localVarQueryParameters,
|
|
931
750
|
headers: localVarHeaderParams,
|
|
932
|
-
|
|
751
|
+
url: localVarPath,
|
|
933
752
|
useQuerystring: this._useQuerystring,
|
|
934
753
|
json: true,
|
|
935
754
|
};
|
|
@@ -956,7 +775,7 @@ export class DealsApi {
|
|
|
956
775
|
localVarRequestOptions.form = localVarFormParams;
|
|
957
776
|
}
|
|
958
777
|
}
|
|
959
|
-
return new Promise<{ response:
|
|
778
|
+
return new Promise<{ response: IncomingMessage; body: Pipeline; }>((resolve, reject) => {
|
|
960
779
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
961
780
|
if (error) {
|
|
962
781
|
reject(error);
|
|
@@ -977,7 +796,7 @@ export class DealsApi {
|
|
|
977
796
|
* @summary Get a pipeline
|
|
978
797
|
* @param pipelineID
|
|
979
798
|
*/
|
|
980
|
-
public async crmPipelineDetailsPipelineIDGet (pipelineID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response:
|
|
799
|
+
public async crmPipelineDetailsPipelineIDGet (pipelineID: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: IncomingMessage; body: Array<Pipeline>; }> {
|
|
981
800
|
const localVarPath = this.basePath + '/crm/pipeline/details/{pipelineID}'
|
|
982
801
|
.replace('{' + 'pipelineID' + '}', encodeURIComponent(String(pipelineID)));
|
|
983
802
|
let localVarQueryParameters: any = {};
|
|
@@ -1000,11 +819,11 @@ export class DealsApi {
|
|
|
1000
819
|
|
|
1001
820
|
let localVarUseFormData = false;
|
|
1002
821
|
|
|
1003
|
-
let localVarRequestOptions:
|
|
822
|
+
let localVarRequestOptions: RequestOptions = {
|
|
1004
823
|
method: 'GET',
|
|
1005
|
-
|
|
824
|
+
params: localVarQueryParameters,
|
|
1006
825
|
headers: localVarHeaderParams,
|
|
1007
|
-
|
|
826
|
+
url: localVarPath,
|
|
1008
827
|
useQuerystring: this._useQuerystring,
|
|
1009
828
|
json: true,
|
|
1010
829
|
};
|
|
@@ -1031,7 +850,7 @@ export class DealsApi {
|
|
|
1031
850
|
localVarRequestOptions.form = localVarFormParams;
|
|
1032
851
|
}
|
|
1033
852
|
}
|
|
1034
|
-
return new Promise<{ response:
|
|
853
|
+
return new Promise<{ response: IncomingMessage; body: Array<Pipeline>; }>((resolve, reject) => {
|
|
1035
854
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1036
855
|
if (error) {
|
|
1037
856
|
reject(error);
|
package/api/domainsApi.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
import localVarRequest from '
|
|
14
|
+
import localVarRequest, { RequestOptions } from '../requestCompat';
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
@@ -124,11 +124,11 @@ export class DomainsApi {
|
|
|
124
124
|
|
|
125
125
|
let localVarUseFormData = false;
|
|
126
126
|
|
|
127
|
-
let localVarRequestOptions:
|
|
127
|
+
let localVarRequestOptions: RequestOptions = {
|
|
128
128
|
method: 'PUT',
|
|
129
129
|
qs: localVarQueryParameters,
|
|
130
130
|
headers: localVarHeaderParams,
|
|
131
|
-
|
|
131
|
+
url: localVarPath,
|
|
132
132
|
useQuerystring: this._useQuerystring,
|
|
133
133
|
json: true,
|
|
134
134
|
};
|
|
@@ -193,11 +193,11 @@ export class DomainsApi {
|
|
|
193
193
|
|
|
194
194
|
let localVarUseFormData = false;
|
|
195
195
|
|
|
196
|
-
let localVarRequestOptions:
|
|
196
|
+
let localVarRequestOptions: RequestOptions = {
|
|
197
197
|
method: 'POST',
|
|
198
198
|
qs: localVarQueryParameters,
|
|
199
199
|
headers: localVarHeaderParams,
|
|
200
|
-
|
|
200
|
+
url: localVarPath,
|
|
201
201
|
useQuerystring: this._useQuerystring,
|
|
202
202
|
json: true,
|
|
203
203
|
body: ObjectSerializer.serialize(domainName, "CreateDomain")
|
|
@@ -269,11 +269,11 @@ export class DomainsApi {
|
|
|
269
269
|
|
|
270
270
|
let localVarUseFormData = false;
|
|
271
271
|
|
|
272
|
-
let localVarRequestOptions:
|
|
272
|
+
let localVarRequestOptions: RequestOptions = {
|
|
273
273
|
method: 'DELETE',
|
|
274
274
|
qs: localVarQueryParameters,
|
|
275
275
|
headers: localVarHeaderParams,
|
|
276
|
-
|
|
276
|
+
url: localVarPath,
|
|
277
277
|
useQuerystring: this._useQuerystring,
|
|
278
278
|
json: true,
|
|
279
279
|
};
|
|
@@ -343,11 +343,11 @@ export class DomainsApi {
|
|
|
343
343
|
|
|
344
344
|
let localVarUseFormData = false;
|
|
345
345
|
|
|
346
|
-
let localVarRequestOptions:
|
|
346
|
+
let localVarRequestOptions: RequestOptions = {
|
|
347
347
|
method: 'GET',
|
|
348
348
|
qs: localVarQueryParameters,
|
|
349
349
|
headers: localVarHeaderParams,
|
|
350
|
-
|
|
350
|
+
url: localVarPath,
|
|
351
351
|
useQuerystring: this._useQuerystring,
|
|
352
352
|
json: true,
|
|
353
353
|
};
|
|
@@ -411,11 +411,11 @@ export class DomainsApi {
|
|
|
411
411
|
|
|
412
412
|
let localVarUseFormData = false;
|
|
413
413
|
|
|
414
|
-
let localVarRequestOptions:
|
|
414
|
+
let localVarRequestOptions: RequestOptions = {
|
|
415
415
|
method: 'GET',
|
|
416
416
|
qs: localVarQueryParameters,
|
|
417
417
|
headers: localVarHeaderParams,
|
|
418
|
-
|
|
418
|
+
url: localVarPath,
|
|
419
419
|
useQuerystring: this._useQuerystring,
|
|
420
420
|
json: true,
|
|
421
421
|
};
|