@getbrevo/brevo 2.1.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +125 -24
- package/.openapi-generator/VERSION +1 -1
- package/LICENSE.md +15 -0
- package/README.md +106 -24
- package/api/accountApi.ts +7 -2
- package/api/apis.ts +9 -3
- package/api/balanceApi.ts +1725 -0
- package/api/companiesApi.ts +248 -70
- package/api/contactsApi.ts +125 -26
- package/api/conversationsApi.ts +1 -1
- package/api/couponsApi.ts +3 -3
- package/api/dealsApi.ts +182 -2
- package/api/domainsApi.ts +1 -1
- package/api/ecommerceApi.ts +185 -20
- package/api/emailCampaignsApi.ts +4 -4
- package/api/eventsApi.ts +1 -1
- package/api/externalFeedsApi.ts +1 -1
- package/api/filesApi.ts +1 -1
- package/api/inboundParsingApi.ts +1 -1
- package/api/masterAccountApi.ts +386 -6
- package/api/notesApi.ts +1 -1
- package/api/paymentsApi.ts +5 -5
- package/api/processApi.ts +1 -1
- package/api/programApi.ts +992 -0
- package/api/resellerApi.ts +1 -1
- package/api/rewardApi.ts +975 -0
- package/api/sMSCampaignsApi.ts +1 -1
- package/api/sendersApi.ts +1 -1
- package/api/tasksApi.ts +1 -1
- package/api/tierApi.ts +952 -0
- package/api/transactionalEmailsApi.ts +79 -2
- package/api/transactionalSMSApi.ts +63 -3
- package/api/transactionalWhatsAppApi.ts +1 -1
- package/api/userApi.ts +3 -3
- package/api/webhooksApi.ts +1 -1
- package/api/whatsAppCampaignsApi.ts +1 -1
- package/dist/api/accountApi.d.ts +1 -2
- package/dist/api/accountApi.js +9 -5
- package/dist/api/accountApi.js.map +1 -1
- package/dist/api/apis.d.ts +9 -4
- package/dist/api/apis.js +9 -3
- package/dist/api/apis.js.map +1 -1
- package/dist/api/balanceApi.d.ts +187 -0
- package/dist/api/balanceApi.js +1434 -0
- package/dist/api/balanceApi.js.map +1 -0
- package/dist/api/companiesApi.d.ts +29 -10
- package/dist/api/companiesApi.js +204 -55
- package/dist/api/companiesApi.js.map +1 -1
- package/dist/api/contactsApi.d.ts +14 -7
- package/dist/api/contactsApi.js +145 -65
- package/dist/api/contactsApi.js.map +1 -1
- package/dist/api/conversationsApi.d.ts +0 -1
- package/dist/api/conversationsApi.js +19 -19
- package/dist/api/conversationsApi.js.map +1 -1
- package/dist/api/couponsApi.d.ts +1 -2
- package/dist/api/couponsApi.js +12 -12
- package/dist/api/couponsApi.js.map +1 -1
- package/dist/api/dealsApi.d.ts +21 -2
- package/dist/api/dealsApi.js +170 -21
- package/dist/api/dealsApi.js.map +1 -1
- package/dist/api/domainsApi.d.ts +0 -1
- package/dist/api/domainsApi.js +11 -11
- package/dist/api/domainsApi.js.map +1 -1
- package/dist/api/ecommerceApi.d.ts +26 -7
- package/dist/api/ecommerceApi.js +176 -34
- package/dist/api/ecommerceApi.js.map +1 -1
- package/dist/api/emailCampaignsApi.d.ts +1 -2
- package/dist/api/emailCampaignsApi.js +28 -28
- package/dist/api/emailCampaignsApi.js.map +1 -1
- package/dist/api/eventsApi.d.ts +0 -1
- package/dist/api/eventsApi.js +3 -3
- package/dist/api/eventsApi.js.map +1 -1
- package/dist/api/externalFeedsApi.d.ts +0 -1
- package/dist/api/externalFeedsApi.js +11 -11
- package/dist/api/externalFeedsApi.js.map +1 -1
- package/dist/api/filesApi.d.ts +0 -1
- package/dist/api/filesApi.js +11 -11
- package/dist/api/filesApi.js.map +1 -1
- package/dist/api/inboundParsingApi.d.ts +0 -2
- package/dist/api/inboundParsingApi.js +7 -7
- package/dist/api/inboundParsingApi.js.map +1 -1
- package/dist/api/masterAccountApi.d.ts +45 -2
- package/dist/api/masterAccountApi.js +379 -45
- package/dist/api/masterAccountApi.js.map +1 -1
- package/dist/api/notesApi.d.ts +0 -1
- package/dist/api/notesApi.js +11 -11
- package/dist/api/notesApi.js.map +1 -1
- package/dist/api/paymentsApi.d.ts +2 -3
- package/dist/api/paymentsApi.js +8 -8
- package/dist/api/paymentsApi.js.map +1 -1
- package/dist/api/processApi.d.ts +0 -1
- package/dist/api/processApi.js +5 -5
- package/dist/api/processApi.js.map +1 -1
- package/dist/api/programApi.d.ts +125 -0
- package/dist/api/programApi.js +847 -0
- package/dist/api/programApi.js.map +1 -0
- package/dist/api/resellerApi.d.ts +0 -1
- package/dist/api/resellerApi.js +33 -33
- package/dist/api/resellerApi.js.map +1 -1
- package/dist/api/rewardApi.d.ts +119 -0
- package/dist/api/rewardApi.js +814 -0
- package/dist/api/rewardApi.js.map +1 -0
- package/dist/api/sMSCampaignsApi.d.ts +0 -1
- package/dist/api/sMSCampaignsApi.js +21 -21
- package/dist/api/sMSCampaignsApi.js.map +1 -1
- package/dist/api/sendersApi.d.ts +0 -1
- package/dist/api/sendersApi.js +15 -15
- package/dist/api/sendersApi.js.map +1 -1
- package/dist/api/tasksApi.d.ts +0 -1
- package/dist/api/tasksApi.js +13 -13
- package/dist/api/tasksApi.js.map +1 -1
- package/dist/api/tierApi.d.ts +116 -0
- package/dist/api/tierApi.js +801 -0
- package/dist/api/tierApi.js.map +1 -0
- package/dist/api/transactionalEmailsApi.d.ts +10 -1
- package/dist/api/transactionalEmailsApi.js +112 -46
- package/dist/api/transactionalEmailsApi.js.map +1 -1
- package/dist/api/transactionalSMSApi.d.ts +9 -2
- package/dist/api/transactionalSMSApi.js +65 -10
- package/dist/api/transactionalSMSApi.js.map +1 -1
- package/dist/api/transactionalWhatsAppApi.d.ts +0 -1
- package/dist/api/transactionalWhatsAppApi.js +5 -5
- package/dist/api/transactionalWhatsAppApi.js.map +1 -1
- package/dist/api/userApi.d.ts +0 -1
- package/dist/api/userApi.js +13 -13
- package/dist/api/userApi.js.map +1 -1
- package/dist/api/webhooksApi.d.ts +0 -1
- package/dist/api/webhooksApi.js +13 -13
- package/dist/api/webhooksApi.js.map +1 -1
- package/dist/api/whatsAppCampaignsApi.d.ts +0 -1
- package/dist/api/whatsAppCampaignsApi.js +19 -19
- package/dist/api/whatsAppCampaignsApi.js.map +1 -1
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/base.js.map +1 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/common.js.map +1 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/model/abTestCampaignResult.js +1 -1
- package/dist/model/abTestCampaignResult.js.map +1 -1
- package/dist/model/addContactToList.d.ts +1 -0
- package/dist/model/addContactToList.js +5 -0
- package/dist/model/addContactToList.js.map +1 -1
- package/dist/model/addSubscriptionMemberPayload.d.ts +16 -0
- package/dist/model/addSubscriptionMemberPayload.js +28 -0
- package/dist/model/addSubscriptionMemberPayload.js.map +1 -0
- package/dist/model/aggregateBalance.d.ts +15 -0
- package/dist/model/aggregateBalance.js +23 -0
- package/dist/model/aggregateBalance.js.map +1 -0
- package/dist/model/balance.d.ts +22 -0
- package/dist/model/balance.js +58 -0
- package/dist/model/balance.js.map +1 -0
- package/dist/model/balanceDataPerContact.d.ts +17 -0
- package/dist/model/balanceDataPerContact.js +33 -0
- package/dist/model/balanceDataPerContact.js.map +1 -0
- package/dist/model/balanceDefinition.d.ts +42 -0
- package/dist/model/balanceDefinition.js +121 -0
- package/dist/model/balanceDefinition.js.map +1 -0
- package/dist/model/balanceDefinitionPage.d.ts +15 -0
- package/dist/model/balanceDefinitionPage.js +18 -0
- package/dist/model/balanceDefinitionPage.js.map +1 -0
- package/dist/model/balanceLimit.d.ts +23 -0
- package/dist/model/balanceLimit.js +63 -0
- package/dist/model/balanceLimit.js.map +1 -0
- package/dist/model/balanceOrder.d.ts +27 -0
- package/dist/model/balanceOrder.js +73 -0
- package/dist/model/balanceOrder.js.map +1 -0
- package/dist/model/cart.js +1 -1
- package/dist/model/cart.js.map +1 -1
- package/dist/model/companiesIdPatchRequest.d.ts +2 -0
- package/dist/model/companiesIdPatchRequest.js +10 -0
- package/dist/model/companiesIdPatchRequest.js.map +1 -1
- package/dist/model/companiesImportPost200Response.d.ts +14 -0
- package/dist/model/companiesImportPost200Response.js +18 -0
- package/dist/model/companiesImportPost200Response.js.map +1 -0
- package/dist/model/companiesImportPost400Response.d.ts +14 -0
- package/dist/model/companiesImportPost400Response.js +18 -0
- package/dist/model/companiesImportPost400Response.js.map +1 -0
- package/dist/model/companiesPostRequest.d.ts +2 -0
- package/dist/model/companiesPostRequest.js +10 -0
- package/dist/model/companiesPostRequest.js.map +1 -1
- package/dist/model/contactBalancesResp.d.ts +18 -0
- package/dist/model/contactBalancesResp.js +33 -0
- package/dist/model/contactBalancesResp.js.map +1 -0
- package/dist/model/contactErrorModel.d.ts +27 -0
- package/dist/model/contactErrorModel.js +40 -0
- package/dist/model/contactErrorModel.js.map +1 -0
- package/dist/model/conversationsMessage.d.ts +20 -0
- package/dist/model/conversationsMessage.js +76 -1
- package/dist/model/conversationsMessage.js.map +1 -1
- package/dist/model/conversationsMessageAttachmentsInner.d.ts +19 -0
- package/dist/model/conversationsMessageAttachmentsInner.js +43 -0
- package/dist/model/conversationsMessageAttachmentsInner.js.map +1 -0
- package/dist/model/conversationsMessageForwardedToSourceStatus.d.ts +15 -0
- package/dist/model/conversationsMessageForwardedToSourceStatus.js +23 -0
- package/dist/model/conversationsMessageForwardedToSourceStatus.js.map +1 -0
- package/dist/model/conversationsMessageFrom.d.ts +15 -0
- package/dist/model/conversationsMessageFrom.js +23 -0
- package/dist/model/conversationsMessageFrom.js.map +1 -0
- package/dist/model/conversationsMessageReplyTo.d.ts +15 -0
- package/dist/model/conversationsMessageReplyTo.js +23 -0
- package/dist/model/conversationsMessageReplyTo.js.map +1 -0
- package/dist/model/conversationsMessageToInner.d.ts +15 -0
- package/dist/model/conversationsMessageToInner.js +23 -0
- package/dist/model/conversationsMessageToInner.js.map +1 -0
- package/dist/model/conversionSourceMetrics.d.ts +5 -2
- package/dist/model/conversionSourceMetrics.js +5 -2
- package/dist/model/conversionSourceMetrics.js.map +1 -1
- package/dist/model/corporateSubAccountIpAssociatePostRequest.d.ts +15 -0
- package/dist/model/corporateSubAccountIpAssociatePostRequest.js +23 -0
- package/dist/model/corporateSubAccountIpAssociatePostRequest.js.map +1 -0
- package/dist/model/corporateSubAccountIpDissociatePutRequest.d.ts +15 -0
- package/dist/model/corporateSubAccountIpDissociatePutRequest.js +23 -0
- package/dist/model/corporateSubAccountIpDissociatePutRequest.js.map +1 -0
- package/dist/model/corporateUserEmailPermissionsPutRequest.d.ts +16 -0
- package/dist/model/corporateUserEmailPermissionsPutRequest.js +23 -0
- package/dist/model/corporateUserEmailPermissionsPutRequest.js.map +1 -0
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.d.ts +38 -0
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.js +48 -0
- package/dist/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.js.map +1 -0
- package/dist/model/createAttribute.d.ts +3 -1
- package/dist/model/createAttribute.js +7 -1
- package/dist/model/createAttribute.js.map +1 -1
- package/dist/model/createBalanceDefinitionPayload.d.ts +75 -0
- package/dist/model/createBalanceDefinitionPayload.js +145 -0
- package/dist/model/createBalanceDefinitionPayload.js.map +1 -0
- package/dist/model/createBalanceLimitPayload.d.ts +35 -0
- package/dist/model/createBalanceLimitPayload.js +62 -0
- package/dist/model/createBalanceLimitPayload.js.map +1 -0
- package/dist/model/createBalancePayload.d.ts +14 -0
- package/dist/model/createBalancePayload.js +18 -0
- package/dist/model/createBalancePayload.js.map +1 -0
- package/dist/model/createChild.js +1 -1
- package/dist/model/createChild.js.map +1 -1
- package/dist/model/createContact.d.ts +3 -1
- package/dist/model/createContact.js +1 -1
- package/dist/model/createContact.js.map +1 -1
- package/dist/model/createDoiContact.d.ts +3 -1
- package/dist/model/createDoiContact.js +1 -1
- package/dist/model/createDoiContact.js.map +1 -1
- package/dist/model/createEmailCampaign.d.ts +2 -0
- package/dist/model/createEmailCampaign.js +6 -1
- package/dist/model/createEmailCampaign.js.map +1 -1
- package/dist/model/createEmailCampaignEmailExpirationDate.d.ts +22 -0
- package/dist/model/createEmailCampaignEmailExpirationDate.js +31 -0
- package/dist/model/createEmailCampaignEmailExpirationDate.js.map +1 -0
- package/dist/model/createEmailCampaignRecipients.d.ts +1 -0
- package/dist/model/createEmailCampaignRecipients.js +5 -0
- 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/createLoyaltyProgramPayload.d.ts +19 -0
- package/dist/model/createLoyaltyProgramPayload.js +33 -0
- package/dist/model/createLoyaltyProgramPayload.js.map +1 -0
- package/dist/model/createOrderPayload.d.ts +22 -0
- package/dist/model/createOrderPayload.js +48 -0
- package/dist/model/createOrderPayload.js.map +1 -0
- package/dist/model/createPaymentRequest.d.ts +2 -1
- package/dist/model/createPaymentRequest.js +5 -0
- package/dist/model/createPaymentRequest.js.map +1 -1
- package/dist/model/createPaymentResponse.d.ts +15 -0
- package/dist/model/createPaymentResponse.js +23 -0
- package/dist/model/createPaymentResponse.js.map +1 -0
- package/dist/model/createSmsCampaign.js.map +1 -1
- package/dist/model/createSubAccount.d.ts +1 -0
- package/dist/model/createSubAccount.js +6 -1
- package/dist/model/createSubAccount.js.map +1 -1
- package/dist/model/createSubscriptionPayload.d.ts +16 -0
- package/dist/model/createSubscriptionPayload.js +28 -0
- package/dist/model/createSubscriptionPayload.js.map +1 -0
- package/dist/model/createSubscriptionResponse.d.ts +20 -0
- package/dist/model/createSubscriptionResponse.js +48 -0
- package/dist/model/createSubscriptionResponse.js.map +1 -0
- package/dist/model/createTierGroupRequest.d.ts +29 -0
- package/dist/model/createTierGroupRequest.js +51 -0
- package/dist/model/createTierGroupRequest.js.map +1 -0
- package/dist/model/createTransactionPayload.d.ts +24 -0
- package/dist/model/createTransactionPayload.js +58 -0
- package/dist/model/createTransactionPayload.js.map +1 -0
- package/dist/model/createUpdateCategories.d.ts +1 -0
- package/dist/model/createUpdateCategories.js +5 -0
- package/dist/model/createUpdateCategories.js.map +1 -1
- package/dist/model/createUpdateCategory.d.ts +1 -0
- package/dist/model/createUpdateCategory.js +5 -0
- package/dist/model/createUpdateCategory.js.map +1 -1
- package/dist/model/createUpdateProduct.d.ts +1 -0
- package/dist/model/createUpdateProduct.js +5 -0
- package/dist/model/createUpdateProduct.js.map +1 -1
- package/dist/model/createUpdateProducts.d.ts +1 -0
- package/dist/model/createUpdateProducts.js +5 -0
- package/dist/model/createUpdateProducts.js.map +1 -1
- package/dist/model/createWebhook.d.ts +5 -0
- package/dist/model/createWebhook.js +12 -1
- 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/crmAttributesPost200Response.d.ts +14 -0
- package/dist/model/crmAttributesPost200Response.js +18 -0
- package/dist/model/crmAttributesPost200Response.js.map +1 -0
- package/dist/model/crmAttributesPostRequest.d.ts +33 -0
- package/dist/model/crmAttributesPostRequest.js +55 -0
- package/dist/model/crmAttributesPostRequest.js.map +1 -0
- package/dist/model/crmDealsIdPatchRequest.d.ts +2 -0
- package/dist/model/crmDealsIdPatchRequest.js +10 -0
- package/dist/model/crmDealsIdPatchRequest.js.map +1 -1
- package/dist/model/crmDealsPostRequest.d.ts +2 -0
- package/dist/model/crmDealsPostRequest.js +10 -0
- package/dist/model/crmDealsPostRequest.js.map +1 -1
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.d.ts +27 -0
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js +52 -0
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js.map +1 -0
- package/dist/model/ecommerceAttributionMetricsGet200Response.d.ts +17 -0
- package/dist/model/ecommerceAttributionMetricsGet200Response.js +23 -0
- package/dist/model/ecommerceAttributionMetricsGet200Response.js.map +1 -0
- package/dist/model/ecommerceAttributionMetricsGet200ResponseTotals.d.ts +16 -0
- package/dist/model/ecommerceAttributionMetricsGet200ResponseTotals.js +28 -0
- package/dist/model/ecommerceAttributionMetricsGet200ResponseTotals.js.map +1 -0
- package/dist/model/ecommerceAttributionProductsConversionSourceConversionSourceIdGet200Response.d.ts +15 -0
- package/dist/model/ecommerceAttributionProductsConversionSourceConversionSourceIdGet200Response.js +18 -0
- package/dist/model/ecommerceAttributionProductsConversionSourceConversionSourceIdGet200Response.js.map +1 -0
- package/dist/model/ecommerceConfigDisplayCurrencyGet200Response.d.ts +14 -0
- package/dist/model/ecommerceConfigDisplayCurrencyGet200Response.js +18 -0
- package/dist/model/ecommerceConfigDisplayCurrencyGet200Response.js.map +1 -0
- package/dist/model/emailExportRecipients.js +1 -1
- package/dist/model/emailExportRecipients.js.map +1 -1
- package/dist/model/errorModel.d.ts +2 -2
- package/dist/model/errorModel.js +2 -2
- package/dist/model/errorModel.js.map +1 -1
- package/dist/model/errorResponse.d.ts +14 -0
- package/dist/model/errorResponse.js +18 -0
- package/dist/model/errorResponse.js.map +1 -0
- package/dist/model/eventIdentifiers.d.ts +3 -3
- package/dist/model/eventIdentifiers.js +6 -6
- package/dist/model/eventIdentifiers.js.map +1 -1
- package/dist/model/exportWebhooksHistory.js +1 -1
- package/dist/model/exportWebhooksHistory.js.map +1 -1
- package/dist/model/fetchTemplatePreview.d.ts +16 -0
- package/dist/model/fetchTemplatePreview.js +28 -0
- package/dist/model/fetchTemplatePreview.js.map +1 -0
- package/dist/model/getAccountAllOfPlan.d.ts +1 -3
- package/dist/model/getAccountAllOfPlan.js +1 -7
- 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 +4 -1
- package/dist/model/getAttributesAttributesInner.js +8 -1
- 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 +2 -0
- package/dist/model/getCampaignStats.js +10 -0
- 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 +5 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js +25 -0
- package/dist/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.js.map +1 -1
- package/dist/model/getCorporateUserPermissionFeatureAccess.d.ts +5 -0
- package/dist/model/getCorporateUserPermissionFeatureAccess.js +25 -0
- package/dist/model/getCorporateUserPermissionFeatureAccess.js.map +1 -1
- package/dist/model/getEmailCampaign.d.ts +6 -4
- package/dist/model/getEmailCampaign.js +23 -3
- package/dist/model/getEmailCampaign.js.map +1 -1
- package/dist/model/getEmailCampaignsCampaignsInner.d.ts +4 -0
- package/dist/model/getEmailCampaignsCampaignsInner.js +21 -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.d.ts +4 -0
- package/dist/model/getExtendedCampaignOverview.js +21 -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 +6 -1
- package/dist/model/getOrdersOrdersInner.js +15 -5
- package/dist/model/getOrdersOrdersInner.js.map +1 -1
- package/dist/model/getPaymentRequest.d.ts +1 -0
- package/dist/model/getPaymentRequest.js +6 -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/getSegment.d.ts +17 -0
- package/dist/model/getSegment.js +33 -0
- package/dist/model/getSegment.js.map +1 -0
- 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 +2 -4
- 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.d.ts +2 -1
- package/dist/model/getSmsEventReportEventsInner.js +2 -1
- package/dist/model/getSmsEventReportEventsInner.js.map +1 -1
- package/dist/model/getTransacAggregatedSmsReport.d.ts +1 -0
- package/dist/model/getTransacAggregatedSmsReport.js +5 -0
- package/dist/model/getTransacAggregatedSmsReport.js.map +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js.map +1 -1
- package/dist/model/getTransacSmsReportReportsInner.d.ts +1 -0
- package/dist/model/getTransacSmsReportReportsInner.js +5 -0
- package/dist/model/getTransacSmsReportReportsInner.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 +11 -2
- package/dist/model/inviteAdminUserPrivilegesInner.js +10 -1
- package/dist/model/inviteAdminUserPrivilegesInner.js.map +1 -1
- package/dist/model/inviteuserPrivilegesInner.d.ts +5 -3
- package/dist/model/inviteuserPrivilegesInner.js +6 -4
- package/dist/model/inviteuserPrivilegesInner.js.map +1 -1
- package/dist/model/loyaltyProgram.d.ts +33 -0
- package/dist/model/loyaltyProgram.js +80 -0
- package/dist/model/loyaltyProgram.js.map +1 -0
- package/dist/model/loyaltyProgramPage.d.ts +15 -0
- package/dist/model/loyaltyProgramPage.js +18 -0
- package/dist/model/loyaltyProgramPage.js.map +1 -0
- package/dist/model/loyaltyProgramValidationError.d.ts +16 -0
- package/dist/model/loyaltyProgramValidationError.js +28 -0
- package/dist/model/loyaltyProgramValidationError.js.map +1 -0
- package/dist/model/loyaltyTierPage.d.ts +15 -0
- package/dist/model/loyaltyTierPage.js +18 -0
- package/dist/model/loyaltyTierPage.js.map +1 -0
- package/dist/model/mainAttributeRewardPayload.d.ts +22 -0
- package/dist/model/mainAttributeRewardPayload.js +48 -0
- package/dist/model/mainAttributeRewardPayload.js.map +1 -0
- package/dist/model/mainBillingPayload.d.ts +20 -0
- package/dist/model/mainBillingPayload.js +48 -0
- package/dist/model/mainBillingPayload.js.map +1 -0
- package/dist/model/mainCodeCountHttpResponse.d.ts +14 -0
- package/dist/model/mainCodeCountHttpResponse.js +18 -0
- package/dist/model/mainCodeCountHttpResponse.js.map +1 -0
- package/dist/model/mainCreateRedeemPayload.d.ts +24 -0
- package/dist/model/mainCreateRedeemPayload.js +53 -0
- package/dist/model/mainCreateRedeemPayload.js.map +1 -0
- package/dist/model/mainCreateRewardPayload.d.ts +17 -0
- package/dist/model/mainCreateRewardPayload.js +33 -0
- package/dist/model/mainCreateRewardPayload.js.map +1 -0
- package/dist/model/mainCreateRewardResponse.d.ts +21 -0
- package/dist/model/mainCreateRewardResponse.js +53 -0
- package/dist/model/mainCreateRewardResponse.js.map +1 -0
- package/dist/model/mainErrorResponse.d.ts +14 -0
- package/dist/model/mainErrorResponse.js +18 -0
- package/dist/model/mainErrorResponse.js.map +1 -0
- package/dist/model/mainFilter.d.ts +15 -0
- package/dist/model/mainFilter.js +23 -0
- package/dist/model/mainFilter.js.map +1 -0
- package/dist/model/mainGenerator.d.ts +19 -0
- package/dist/model/mainGenerator.js +43 -0
- package/dist/model/mainGenerator.js.map +1 -0
- package/dist/model/mainGetContactRewardsPayload.d.ts +31 -0
- package/dist/model/mainGetContactRewardsPayload.js +60 -0
- package/dist/model/mainGetContactRewardsPayload.js.map +1 -0
- package/dist/model/mainIdentifiersPayload.d.ts +15 -0
- package/dist/model/mainIdentifiersPayload.js +23 -0
- package/dist/model/mainIdentifiersPayload.js.map +1 -0
- package/dist/model/mainLimit.d.ts +21 -0
- package/dist/model/mainLimit.js +53 -0
- package/dist/model/mainLimit.js.map +1 -0
- package/dist/model/mainModelContactReward.d.ts +25 -0
- package/dist/model/mainModelContactReward.js +63 -0
- package/dist/model/mainModelContactReward.js.map +1 -0
- package/dist/model/mainModelContactRewardsResp.d.ts +19 -0
- package/dist/model/mainModelContactRewardsResp.js +38 -0
- package/dist/model/mainModelContactRewardsResp.js.map +1 -0
- package/dist/model/mainNodeResponse.d.ts +21 -0
- package/dist/model/mainNodeResponse.js +53 -0
- package/dist/model/mainNodeResponse.js.map +1 -0
- package/dist/model/mainOrderPayload.d.ts +28 -0
- package/dist/model/mainOrderPayload.js +73 -0
- package/dist/model/mainOrderPayload.js.map +1 -0
- package/dist/model/mainProduct.d.ts +17 -0
- package/dist/model/mainProduct.js +33 -0
- package/dist/model/mainProduct.js.map +1 -0
- package/dist/model/mainProductPayload.d.ts +18 -0
- package/dist/model/mainProductPayload.js +38 -0
- package/dist/model/mainProductPayload.js.map +1 -0
- package/dist/model/mainRedeem.d.ts +29 -0
- package/dist/model/mainRedeem.js +83 -0
- package/dist/model/mainRedeem.js.map +1 -0
- package/dist/model/mainResultParameterResponse.d.ts +16 -0
- package/dist/model/mainResultParameterResponse.js +23 -0
- package/dist/model/mainResultParameterResponse.js.map +1 -0
- package/dist/model/mainReward.d.ts +67 -0
- package/dist/model/mainReward.js +224 -0
- package/dist/model/mainReward.js.map +1 -0
- package/dist/model/mainRewardAttribution.d.ts +26 -0
- package/dist/model/mainRewardAttribution.js +68 -0
- package/dist/model/mainRewardAttribution.js.map +1 -0
- package/dist/model/mainRewardConfigurations.d.ts +16 -0
- package/dist/model/mainRewardConfigurations.js +28 -0
- package/dist/model/mainRewardConfigurations.js.map +1 -0
- package/dist/model/mainRewardPage.d.ts +16 -0
- package/dist/model/mainRewardPage.js +23 -0
- package/dist/model/mainRewardPage.js.map +1 -0
- package/dist/model/mainRewardPageObj.d.ts +22 -0
- package/dist/model/mainRewardPageObj.js +58 -0
- package/dist/model/mainRewardPageObj.js.map +1 -0
- package/dist/model/mainRewardValidate.d.ts +14 -0
- package/dist/model/mainRewardValidate.js +18 -0
- package/dist/model/mainRewardValidate.js.map +1 -0
- package/dist/model/mainRule.d.ts +31 -0
- package/dist/model/mainRule.js +78 -0
- package/dist/model/mainRule.js.map +1 -0
- package/dist/model/mainRuleConditionResponse.d.ts +19 -0
- package/dist/model/mainRuleConditionResponse.js +38 -0
- package/dist/model/mainRuleConditionResponse.js.map +1 -0
- package/dist/model/mainRuleEventResponse.d.ts +15 -0
- package/dist/model/mainRuleEventResponse.js +23 -0
- package/dist/model/mainRuleEventResponse.js.map +1 -0
- package/dist/model/mainRuleResultResponse.d.ts +17 -0
- package/dist/model/mainRuleResultResponse.js +28 -0
- package/dist/model/mainRuleResultResponse.js.map +1 -0
- package/dist/model/mainValidateRewardPayload.d.ts +19 -0
- package/dist/model/mainValidateRewardPayload.js +43 -0
- package/dist/model/mainValidateRewardPayload.js.map +1 -0
- package/dist/model/mainValueResponse.d.ts +22 -0
- package/dist/model/mainValueResponse.js +53 -0
- package/dist/model/mainValueResponse.js.map +1 -0
- package/dist/model/mainVoucherRevokePayload.d.ts +14 -0
- package/dist/model/mainVoucherRevokePayload.js +18 -0
- package/dist/model/mainVoucherRevokePayload.js.map +1 -0
- package/dist/model/masterDetailsResponsePlanInfo.js +1 -1
- package/dist/model/masterDetailsResponsePlanInfo.js.map +1 -1
- package/dist/model/memberContact.d.ts +16 -0
- package/dist/model/memberContact.js +28 -0
- package/dist/model/memberContact.js.map +1 -0
- package/dist/model/modelSubscriptionBalanceResp.d.ts +15 -0
- package/dist/model/modelSubscriptionBalanceResp.js +18 -0
- package/dist/model/modelSubscriptionBalanceResp.js.map +1 -0
- package/dist/model/models.d.ts +121 -25
- package/dist/model/models.js +449 -75
- 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 +6 -1
- package/dist/model/order.js +15 -5
- package/dist/model/order.js.map +1 -1
- package/dist/model/orderBatch.js.map +1 -1
- package/dist/model/orderBilling.d.ts +1 -0
- package/dist/model/orderBilling.js +5 -0
- package/dist/model/orderBilling.js.map +1 -1
- package/dist/model/orderIdentifiers.d.ts +17 -0
- package/dist/model/orderIdentifiers.js +33 -0
- package/dist/model/orderIdentifiers.js.map +1 -0
- package/dist/model/patchLoyaltyProgramPayload.d.ts +16 -0
- package/dist/model/patchLoyaltyProgramPayload.js +28 -0
- package/dist/model/patchLoyaltyProgramPayload.js.map +1 -0
- package/dist/model/removeContactFromList.d.ts +1 -0
- package/dist/model/removeContactFromList.js +5 -0
- package/dist/model/removeContactFromList.js.map +1 -1
- package/dist/model/requestContactExport.d.ts +4 -0
- package/dist/model/requestContactExport.js +24 -0
- package/dist/model/requestContactExport.js.map +1 -1
- package/dist/model/requestContactExportCustomContactFilter.d.ts +1 -0
- package/dist/model/requestContactExportCustomContactFilter.js +6 -1
- 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 +2 -1
- package/dist/model/sendTransacSms.js +2 -2
- package/dist/model/sendTransacSms.js.map +1 -1
- package/dist/model/sendTransacSmsTag.d.ts +14 -0
- package/dist/model/sendTransacSmsTag.js +18 -0
- package/dist/model/sendTransacSmsTag.js.map +1 -0
- package/dist/model/ssoTokenRequest.js +1 -1
- package/dist/model/ssoTokenRequest.js.map +1 -1
- package/dist/model/subAccountDetailsResponse.d.ts +2 -0
- package/dist/model/subAccountDetailsResponse.js +5 -0
- package/dist/model/subAccountDetailsResponse.js.map +1 -1
- package/dist/model/subAccountDetailsResponseGroupsInner.d.ts +15 -0
- package/dist/model/subAccountDetailsResponseGroupsInner.js +23 -0
- package/dist/model/subAccountDetailsResponseGroupsInner.js.map +1 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.d.ts +8 -1
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.js +19 -4
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.js.map +1 -1
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.js.map +1 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsSms.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsSms.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsSms.js.map +1 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.js.map +1 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWpSubscribers.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWpSubscribers.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWpSubscribers.js.map +1 -0
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.d.ts +2 -0
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.js +5 -0
- package/dist/model/subAccountDetailsResponsePlanInfoFeatures.js.map +1 -1
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.js.map +1 -0
- package/dist/model/subAccountUpdatePlanRequestCredits.d.ts +4 -0
- package/dist/model/subAccountUpdatePlanRequestCredits.js +20 -0
- package/dist/model/subAccountUpdatePlanRequestCredits.js.map +1 -1
- package/dist/model/subAccountUpdatePlanRequestFeatures.d.ts +1 -0
- package/dist/model/subAccountUpdatePlanRequestFeatures.js +5 -0
- package/dist/model/subAccountUpdatePlanRequestFeatures.js.map +1 -1
- package/dist/model/subAccountsResponseSubAccountsInner.d.ts +2 -0
- package/dist/model/subAccountsResponseSubAccountsInner.js +5 -0
- package/dist/model/subAccountsResponseSubAccountsInner.js.map +1 -1
- package/dist/model/subAccountsResponseSubAccountsInnerGroupsInner.d.ts +15 -0
- package/dist/model/subAccountsResponseSubAccountsInnerGroupsInner.js +23 -0
- package/dist/model/subAccountsResponseSubAccountsInnerGroupsInner.js.map +1 -0
- package/dist/model/subAccountsUpdatePlanRequest.d.ts +18 -0
- package/dist/model/subAccountsUpdatePlanRequest.js +28 -0
- package/dist/model/subAccountsUpdatePlanRequest.js.map +1 -0
- package/dist/model/subAccountsUpdatePlanRequestCredits.d.ts +18 -0
- package/dist/model/subAccountsUpdatePlanRequestCredits.js +38 -0
- package/dist/model/subAccountsUpdatePlanRequestCredits.js.map +1 -0
- package/dist/model/subAccountsUpdatePlanRequestFeatures.d.ts +16 -0
- package/dist/model/subAccountsUpdatePlanRequestFeatures.js +28 -0
- package/dist/model/subAccountsUpdatePlanRequestFeatures.js.map +1 -0
- package/dist/model/subscription.d.ts +20 -0
- package/dist/model/subscription.js +48 -0
- package/dist/model/subscription.js.map +1 -0
- package/dist/model/subscriptionAggregateBalance.d.ts +15 -0
- package/dist/model/subscriptionAggregateBalance.js +23 -0
- package/dist/model/subscriptionAggregateBalance.js.map +1 -0
- package/dist/model/subscriptionAttributedReward.d.ts +24 -0
- package/dist/model/subscriptionAttributedReward.js +58 -0
- package/dist/model/subscriptionAttributedReward.js.map +1 -0
- package/dist/model/subscriptionBalances.d.ts +17 -0
- package/dist/model/subscriptionBalances.js +28 -0
- package/dist/model/subscriptionBalances.js.map +1 -0
- package/dist/model/subscriptionHandlerInfo.d.ts +21 -0
- package/dist/model/subscriptionHandlerInfo.js +33 -0
- package/dist/model/subscriptionHandlerInfo.js.map +1 -0
- package/dist/model/subscriptionMember.d.ts +18 -0
- package/dist/model/subscriptionMember.js +38 -0
- package/dist/model/subscriptionMember.js.map +1 -0
- package/dist/model/subscriptionTier.d.ts +22 -0
- package/dist/model/subscriptionTier.js +48 -0
- package/dist/model/subscriptionTier.js.map +1 -0
- package/dist/model/taskReminder.js +1 -1
- package/dist/model/taskReminder.js.map +1 -1
- package/dist/model/templatePreview.d.ts +19 -0
- package/dist/model/templatePreview.js +43 -0
- package/dist/model/templatePreview.js.map +1 -0
- package/dist/model/tier.d.ts +24 -0
- package/dist/model/tier.js +58 -0
- package/dist/model/tier.js.map +1 -0
- package/dist/model/tierAccessConditionsInner.d.ts +17 -0
- package/dist/model/tierAccessConditionsInner.js +33 -0
- package/dist/model/tierAccessConditionsInner.js.map +1 -0
- package/dist/model/tierForContact.d.ts +22 -0
- package/dist/model/tierForContact.js +48 -0
- package/dist/model/tierForContact.js.map +1 -0
- package/dist/model/tierGroup.d.ts +33 -0
- package/dist/model/tierGroup.js +71 -0
- package/dist/model/tierGroup.js.map +1 -0
- package/dist/model/tierGroupPage.d.ts +15 -0
- package/dist/model/tierGroupPage.js +18 -0
- package/dist/model/tierGroupPage.js.map +1 -0
- package/dist/model/tierRequest.d.ts +19 -0
- package/dist/model/tierRequest.js +33 -0
- package/dist/model/tierRequest.js.map +1 -0
- package/dist/model/tierRequestAccessConditionsInner.d.ts +15 -0
- package/dist/model/tierRequestAccessConditionsInner.js +23 -0
- package/dist/model/tierRequestAccessConditionsInner.js.map +1 -0
- package/dist/model/tierRequestPutPayload.d.ts +19 -0
- package/dist/model/tierRequestPutPayload.js +33 -0
- package/dist/model/tierRequestPutPayload.js.map +1 -0
- package/dist/model/tierRequestTierRewardsInner.d.ts +14 -0
- package/dist/model/tierRequestTierRewardsInner.js +18 -0
- package/dist/model/tierRequestTierRewardsInner.js.map +1 -0
- package/dist/model/tierTierRewardsInner.d.ts +16 -0
- package/dist/model/tierTierRewardsInner.js +28 -0
- package/dist/model/tierTierRewardsInner.js.map +1 -0
- package/dist/model/transaction.d.ts +30 -0
- package/dist/model/transaction.js +88 -0
- package/dist/model/transaction.js.map +1 -0
- package/dist/model/transactionHistory.d.ts +25 -0
- package/dist/model/transactionHistory.js +63 -0
- package/dist/model/transactionHistory.js.map +1 -0
- package/dist/model/transactionHistoryResp.d.ts +19 -0
- package/dist/model/transactionHistoryResp.js +38 -0
- package/dist/model/transactionHistoryResp.js.map +1 -0
- package/dist/model/unauthorizedResponse.d.ts +14 -0
- package/dist/model/unauthorizedResponse.js +18 -0
- package/dist/model/unauthorizedResponse.js.map +1 -0
- package/dist/model/updateAttribute.d.ts +1 -0
- package/dist/model/updateAttribute.js +5 -0
- package/dist/model/updateAttribute.js.map +1 -1
- package/dist/model/updateBalanceDefinitionPayload.d.ts +77 -0
- package/dist/model/updateBalanceDefinitionPayload.js +145 -0
- package/dist/model/updateBalanceDefinitionPayload.js.map +1 -0
- package/dist/model/updateBalanceLimitPayload.d.ts +35 -0
- package/dist/model/updateBalanceLimitPayload.js +62 -0
- package/dist/model/updateBalanceLimitPayload.js.map +1 -0
- package/dist/model/updateCampaignStatus.js +1 -1
- package/dist/model/updateCampaignStatus.js.map +1 -1
- package/dist/model/updateContact.d.ts +3 -1
- package/dist/model/updateContact.js +1 -1
- package/dist/model/updateContact.js.map +1 -1
- package/dist/model/updateEmailCampaign.d.ts +2 -0
- package/dist/model/updateEmailCampaign.js +6 -1
- package/dist/model/updateEmailCampaign.js.map +1 -1
- package/dist/model/updateEmailCampaignEmailExpirationDate.d.ts +22 -0
- package/dist/model/updateEmailCampaignEmailExpirationDate.js +31 -0
- package/dist/model/updateEmailCampaignEmailExpirationDate.js.map +1 -0
- package/dist/model/updateEmailCampaignRecipients.d.ts +1 -0
- package/dist/model/updateEmailCampaignRecipients.js +5 -0
- 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/updateLoyaltyProgramPayload.d.ts +16 -0
- package/dist/model/updateLoyaltyProgramPayload.js +28 -0
- package/dist/model/updateLoyaltyProgramPayload.js.map +1 -0
- package/dist/model/updateSmsCampaign.js.map +1 -1
- package/dist/model/updateTierGroupRequest.d.ts +29 -0
- package/dist/model/updateTierGroupRequest.js +51 -0
- package/dist/model/updateTierGroupRequest.js.map +1 -0
- 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/model/abTestCampaignResult.ts +1 -1
- package/model/abTestCampaignResultClickedLinks.ts +1 -1
- package/model/abTestCampaignResultStatistics.ts +1 -1
- package/model/abTestVersionClicksInner.ts +1 -1
- package/model/abTestVersionStats.ts +1 -1
- package/model/addChildDomain.ts +1 -1
- package/model/addContactToList.ts +12 -3
- package/model/addCredits.ts +1 -1
- package/model/addSubscriptionMemberPayload.ts +52 -0
- package/model/aggregateBalance.ts +43 -0
- package/model/authenticateDomainModel.ts +1 -1
- package/model/balance.ts +106 -0
- package/model/balanceDataPerContact.ts +49 -0
- package/model/balanceDefinition.ts +212 -0
- package/model/balanceDefinitionPage.ts +35 -0
- package/model/balanceLimit.ts +115 -0
- package/model/balanceOrder.ts +136 -0
- package/model/blockDomain.ts +1 -1
- package/model/cart.ts +1 -1
- package/model/companiesIdPatchRequest.ts +19 -1
- package/model/companiesImportPost200Response.ts +34 -0
- package/model/companiesImportPost400Response.ts +31 -0
- package/model/companiesLinkUnlinkIdPatchRequest.ts +1 -1
- package/model/companiesList.ts +1 -1
- package/model/companiesPost200Response.ts +1 -1
- package/model/companiesPostRequest.ts +19 -1
- package/model/company.ts +1 -1
- package/model/companyAttributesInner.ts +1 -1
- package/model/componentItems.ts +1 -1
- package/model/configuration.ts +1 -1
- package/model/contactBalancesResp.ts +50 -0
- package/model/contactErrorModel.ts +63 -0
- package/model/conversationsAgentOnlinePingPostRequest.ts +1 -1
- package/model/conversationsMessage.ts +132 -1
- package/model/conversationsMessageAttachmentsInner.ts +79 -0
- package/model/conversationsMessageFile.ts +1 -1
- package/model/conversationsMessageFileImageInfo.ts +1 -1
- package/model/conversationsMessageForwardedToSourceStatus.ts +40 -0
- package/model/conversationsMessageFrom.ts +40 -0
- package/model/conversationsMessageReplyTo.ts +40 -0
- package/model/conversationsMessageToInner.ts +37 -0
- package/model/conversationsMessagesIdPutRequest.ts +1 -1
- package/model/conversationsMessagesPostRequest.ts +1 -1
- package/model/conversationsPushedMessagesIdPutRequest.ts +1 -1
- package/model/conversationsPushedMessagesPostRequest.ts +1 -1
- package/model/conversionSourceMetrics.ts +7 -4
- package/model/conversionSourceProduct.ts +1 -1
- package/model/corporateGroupDetailsResponse.ts +1 -1
- package/model/corporateGroupDetailsResponseGroup.ts +1 -1
- package/model/corporateGroupDetailsResponseSubAccountsInner.ts +1 -1
- package/model/corporateGroupDetailsResponseUsersInner.ts +1 -1
- package/model/corporateGroupPost201Response.ts +1 -1
- package/model/corporateGroupPostRequest.ts +1 -1
- package/model/corporateGroupUnlinkGroupIdSubAccountsPutRequest.ts +1 -1
- package/model/corporateSubAccountIpAssociatePostRequest.ts +43 -0
- package/model/corporateSubAccountIpDissociatePutRequest.ts +43 -0
- package/model/corporateUserEmailPermissionsPutRequest.ts +41 -0
- package/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.ts +69 -0
- package/model/corporateUserInvitationActionEmailPut200Response.ts +1 -1
- package/model/createApiKeyRequest.ts +1 -1
- package/model/createApiKeyResponse.ts +1 -1
- package/model/createAttribute.ts +14 -4
- package/model/createAttributeEnumerationInner.ts +1 -1
- package/model/createBalanceDefinitionPayload.ts +218 -0
- package/model/createBalanceLimitPayload.ts +98 -0
- package/model/createBalancePayload.ts +37 -0
- package/model/createCategoryModel.ts +1 -1
- package/model/createChild.ts +1 -1
- package/model/createContact.ts +5 -5
- package/model/createCouponCollection201Response.ts +1 -1
- package/model/createCouponCollectionRequest.ts +1 -1
- package/model/createCouponsRequest.ts +1 -1
- package/model/createDoiContact.ts +4 -4
- package/model/createDomain.ts +1 -1
- package/model/createDomainModel.ts +1 -1
- package/model/createDomainModelDnsRecords.ts +1 -1
- package/model/createDomainModelDnsRecordsDkimRecord.ts +1 -1
- package/model/createEmailCampaign.ts +8 -1
- package/model/createEmailCampaignEmailExpirationDate.ts +53 -0
- package/model/createEmailCampaignRecipients.ts +10 -1
- package/model/createEmailCampaignSender.ts +1 -1
- package/model/createExternalFeed.ts +1 -1
- package/model/createExternalFeed201Response.ts +1 -1
- package/model/createList.ts +1 -1
- package/model/createLoyaltyProgramPayload.ts +61 -0
- package/model/createModel.ts +1 -1
- package/model/createOrderPayload.ts +91 -0
- package/model/createPaymentRequest.ts +11 -2
- package/model/createPaymentResponse.ts +43 -0
- package/model/createProductModel.ts +1 -1
- package/model/createReseller.ts +1 -1
- package/model/createSender.ts +1 -1
- package/model/createSenderIpsInner.ts +1 -1
- package/model/createSenderModel.ts +1 -1
- package/model/createSmsCampaign.ts +1 -1
- package/model/createSmsCampaignRecipients.ts +1 -1
- package/model/createSmtpEmail.ts +1 -1
- package/model/createSmtpTemplate.ts +1 -1
- package/model/createSmtpTemplateSender.ts +1 -1
- package/model/createSubAccount.ts +10 -1
- package/model/createSubAccountResponse.ts +1 -1
- package/model/createSubscriptionPayload.ts +52 -0
- package/model/createSubscriptionResponse.ts +88 -0
- package/model/createTierGroupRequest.ts +73 -0
- package/model/createTransactionPayload.ts +109 -0
- package/model/createUpdateBatchCategory.ts +1 -1
- package/model/createUpdateBatchCategoryModel.ts +1 -1
- package/model/createUpdateBatchProducts.ts +1 -1
- package/model/createUpdateBatchProductsModel.ts +1 -1
- package/model/createUpdateCategories.ts +10 -1
- package/model/createUpdateCategory.ts +10 -1
- package/model/createUpdateContactModel.ts +1 -1
- package/model/createUpdateFolder.ts +1 -1
- package/model/createUpdateProduct.ts +11 -2
- package/model/createUpdateProducts.ts +11 -2
- package/model/createWebhook.ts +15 -2
- package/model/createWhatsAppCampaign.ts +1 -1
- package/model/createWhatsAppCampaignRecipients.ts +1 -1
- package/model/createWhatsAppTemplate.ts +1 -1
- package/model/createdBatchId.ts +1 -1
- package/model/createdProcessId.ts +1 -1
- package/model/crmAttributesPost200Response.ts +34 -0
- package/model/crmAttributesPostRequest.ts +85 -0
- package/model/crmDealsIdPatchRequest.ts +19 -1
- package/model/crmDealsLinkUnlinkIdPatchRequest.ts +1 -1
- package/model/crmDealsPost201Response.ts +1 -1
- package/model/crmDealsPostRequest.ts +19 -1
- package/model/crmTasksIdPatchRequest.ts +1 -1
- package/model/crmTasksPost201Response.ts +1 -1
- package/model/crmTasksPostRequest.ts +1 -1
- package/model/deal.ts +1 -1
- package/model/dealAttributesInner.ts +1 -1
- package/model/dealsList.ts +1 -1
- package/model/deleteHardbounces.ts +1 -1
- package/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.ts +69 -0
- package/model/ecommerceAttributionMetricsGet200Response.ts +42 -0
- package/model/ecommerceAttributionMetricsGet200ResponseTotals.ts +46 -0
- package/model/ecommerceAttributionProductsConversionSourceConversionSourceIdGet200Response.ts +35 -0
- package/model/ecommerceConfigDisplayCurrencyGet200Response.ts +34 -0
- package/model/emailExportRecipients.ts +1 -1
- package/model/errorModel.ts +3 -3
- package/model/errorResponse.ts +31 -0
- package/model/event.ts +1 -1
- package/model/eventIdentifiers.ts +10 -10
- package/model/exportWebhooksHistory.ts +1 -1
- package/model/fetchTemplatePreview.ts +52 -0
- package/model/fileData.ts +1 -1
- package/model/fileDownloadableLink.ts +1 -1
- package/model/getAccount.ts +1 -1
- package/model/getAccountActivity.ts +1 -1
- package/model/getAccountActivityLogsInner.ts +1 -1
- package/model/getAccountAllOfMarketingAutomation.ts +1 -1
- package/model/getAccountAllOfPlan.ts +4 -14
- package/model/getAccountAllOfRelay.ts +1 -1
- package/model/getAccountAllOfRelayData.ts +1 -1
- package/model/getAggregatedReport.ts +1 -1
- package/model/getAllExternalFeeds.ts +1 -1
- package/model/getAllExternalFeedsFeedsInner.ts +1 -1
- package/model/getAttributes.ts +1 -1
- package/model/getAttributesAttributesInner.ts +13 -2
- package/model/getAttributesAttributesInnerEnumerationInner.ts +1 -1
- package/model/getBlockedDomains.ts +1 -1
- package/model/getCampaignOverview.ts +1 -1
- package/model/getCampaignRecipients.ts +1 -1
- package/model/getCampaignStats.ts +19 -1
- package/model/getCategories.ts +1 -1
- package/model/getCategoryDetails.ts +1 -1
- package/model/getChildAccountCreationStatus.ts +1 -1
- package/model/getChildDomain.ts +1 -1
- package/model/getChildInfo.ts +1 -1
- package/model/getChildInfoAllOfApiKeys.ts +1 -1
- package/model/getChildInfoAllOfApiKeysV2.ts +1 -1
- package/model/getChildInfoAllOfApiKeysV3.ts +1 -1
- package/model/getChildInfoAllOfCredits.ts +1 -1
- package/model/getChildInfoAllOfStatistics.ts +1 -1
- package/model/getChildrenList.ts +1 -1
- package/model/getChildrenListChildrenInner.ts +1 -1
- package/model/getClient.ts +1 -1
- package/model/getContactCampaignStats.ts +12 -12
- package/model/getContactCampaignStatsClickedInner.ts +4 -4
- package/model/getContactCampaignStatsClickedInnerLinksInner.ts +1 -1
- package/model/getContactCampaignStatsMessagesSentInner.ts +1 -1
- package/model/getContactCampaignStatsOpenedInner.ts +1 -1
- package/model/getContactCampaignStatsTransacAttributesInner.ts +1 -1
- package/model/getContactCampaignStatsUnsubscriptions.ts +7 -7
- package/model/getContactCampaignStatsUnsubscriptionsAdminUnsubscriptionInner.ts +1 -1
- package/model/getContactCampaignStatsUnsubscriptionsUserUnsubscriptionInner.ts +1 -1
- package/model/getContactDetails.ts +1 -1
- package/model/getContacts.ts +1 -1
- package/model/getCorporateInvitedUsersList.ts +1 -1
- package/model/getCorporateInvitedUsersListUsersInner.ts +1 -1
- package/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.ts +46 -1
- package/model/getCorporateInvitedUsersListUsersInnerGroups.ts +1 -1
- package/model/getCorporateUserPermission.ts +1 -1
- package/model/getCorporateUserPermissionFeatureAccess.ts +46 -1
- package/model/getCorporateUserPermissionGroupsInner.ts +1 -1
- package/model/getCouponCollection.ts +1 -1
- package/model/getDeviceBrowserStats.ts +1 -1
- package/model/getDomainConfigurationModel.ts +1 -1
- package/model/getDomainsList.ts +1 -1
- package/model/getDomainsListDomainsInner.ts +1 -1
- package/model/getEmailCampaign.ts +41 -7
- package/model/getEmailCampaigns.ts +1 -1
- package/model/getEmailCampaignsCampaignsInner.ts +37 -1
- package/model/getEmailEventReport.ts +1 -1
- package/model/getEmailEventReportEventsInner.ts +1 -1
- package/model/getExtendedCampaignOverview.ts +37 -1
- package/model/getExtendedCampaignOverviewAllOfSender.ts +1 -1
- package/model/getExtendedCampaignStats.ts +4 -1
- package/model/getExtendedClient.ts +1 -1
- package/model/getExtendedClientAllOfAddress.ts +1 -1
- package/model/getExtendedContactDetails.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatistics.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsClicked.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsLinks.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsMessagesSent.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsOpened.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsUnsubscriptions.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsUnsubscriptionsAdminUnsubscription.ts +1 -1
- package/model/getExtendedContactDetailsAllOfStatisticsUnsubscriptionsUserUnsubscription.ts +1 -1
- package/model/getExtendedList.ts +1 -1
- package/model/getExtendedListAllOfCampaignStats.ts +1 -1
- package/model/getExternalFeedByUUID.ts +1 -1
- package/model/getExternalFeedByUUIDHeadersInner.ts +1 -1
- package/model/getFolder.ts +1 -1
- package/model/getFolderLists.ts +1 -1
- package/model/getFolders.ts +1 -1
- package/model/getInboundEmailEvents.ts +1 -1
- package/model/getInboundEmailEventsByUuid.ts +1 -1
- package/model/getInboundEmailEventsByUuidAttachmentsInner.ts +1 -1
- package/model/getInboundEmailEventsByUuidLogsInner.ts +1 -1
- package/model/getInboundEmailEventsEventsInner.ts +1 -1
- package/model/getInvitedUsersList.ts +1 -1
- package/model/getInvitedUsersListUsersInner.ts +1 -1
- package/model/getInvitedUsersListUsersInnerFeatureAccess.ts +1 -1
- package/model/getIp.ts +1 -1
- package/model/getIpFromSender.ts +1 -1
- package/model/getIps.ts +1 -1
- package/model/getIpsFromSender.ts +1 -1
- package/model/getList.ts +1 -1
- package/model/getLists.ts +1 -1
- package/model/getListsListsInner.ts +1 -1
- package/model/getOrders.ts +1 -1
- package/model/getOrdersOrdersInner.ts +25 -9
- package/model/getPaymentRequest.ts +10 -1
- package/model/getProcess.ts +1 -1
- package/model/getProcesses.ts +1 -1
- package/model/getProductDetails.ts +1 -1
- package/model/getProducts.ts +1 -1
- package/model/getReports.ts +1 -1
- package/model/getReportsReportsInner.ts +1 -1
- package/model/getScheduledEmailByBatchId.ts +1 -1
- package/model/getScheduledEmailByBatchIdBatchesInner.ts +1 -1
- package/model/getScheduledEmailByMessageId.ts +1 -1
- package/model/getSegment.ts +61 -0
- package/model/getSegments.ts +4 -4
- package/model/getSegmentsSegments.ts +1 -1
- package/model/getSendersList.ts +1 -1
- package/model/getSendersListSendersInner.ts +1 -1
- package/model/getSendersListSendersInnerIpsInner.ts +1 -1
- package/model/getSharedTemplateUrl.ts +1 -1
- package/model/getSmsCampaign.ts +5 -7
- package/model/getSmsCampaignOverview.ts +1 -1
- package/model/getSmsCampaignStats.ts +1 -1
- package/model/getSmsCampaigns.ts +1 -1
- package/model/getSmsCampaignsCampaignsInner.ts +1 -1
- package/model/getSmsEventReport.ts +1 -1
- package/model/getSmsEventReportEventsInner.ts +3 -2
- package/model/getSmtpTemplateOverview.ts +1 -1
- package/model/getSmtpTemplateOverviewSender.ts +1 -1
- package/model/getSmtpTemplates.ts +1 -1
- package/model/getSsoToken.ts +1 -1
- package/model/getStatsByDevice.ts +1 -1
- package/model/getSubAccountGroups200ResponseInner.ts +1 -1
- package/model/getTransacAggregatedSmsReport.ts +12 -3
- package/model/getTransacBlockedContacts.ts +1 -1
- package/model/getTransacBlockedContactsContactsInner.ts +1 -1
- package/model/getTransacBlockedContactsContactsInnerReason.ts +1 -1
- package/model/getTransacEmailContent.ts +1 -1
- package/model/getTransacEmailContentEventsInner.ts +1 -1
- package/model/getTransacEmailsList.ts +1 -1
- package/model/getTransacEmailsListTransactionalEmailsInner.ts +1 -1
- package/model/getTransacSmsReport.ts +1 -1
- package/model/getTransacSmsReportReportsInner.ts +12 -3
- package/model/getUserPermission.ts +1 -1
- package/model/getUserPermissionPrivilegesInner.ts +1 -1
- package/model/getWATemplates.ts +1 -1
- package/model/getWATemplatesTemplatesInner.ts +1 -1
- package/model/getWebhook.ts +1 -1
- package/model/getWebhookAuth.ts +1 -1
- package/model/getWebhookHeadersInner.ts +1 -1
- package/model/getWebhooks.ts +1 -1
- package/model/getWhatsAppConfig.ts +1 -1
- package/model/getWhatsappCampaignOverview.ts +1 -1
- package/model/getWhatsappCampaigns.ts +1 -1
- package/model/getWhatsappCampaignsCampaignsInner.ts +1 -1
- package/model/getWhatsappEventReport.ts +1 -1
- package/model/getWhatsappEventReportEventsInner.ts +1 -1
- package/model/inviteAdminUser.ts +1 -1
- package/model/inviteAdminUserPrivilegesInner.ts +12 -3
- package/model/inviteuser.ts +1 -1
- package/model/inviteuserPrivilegesInner.ts +6 -4
- package/model/loyaltyProgram.ts +139 -0
- package/model/loyaltyProgramPage.ts +35 -0
- package/model/loyaltyProgramValidationError.ts +52 -0
- package/model/loyaltyTierPage.ts +32 -0
- package/model/mainAttributeRewardPayload.ts +88 -0
- package/model/mainBillingPayload.ts +88 -0
- package/model/mainCodeCountHttpResponse.ts +34 -0
- package/model/mainCreateRedeemPayload.ts +98 -0
- package/model/mainCreateRewardPayload.ts +61 -0
- package/model/mainCreateRewardResponse.ts +97 -0
- package/model/mainErrorResponse.ts +34 -0
- package/model/mainFilter.ts +43 -0
- package/model/mainGenerator.ts +79 -0
- package/model/mainGetContactRewardsPayload.ts +99 -0
- package/model/mainIdentifiersPayload.ts +43 -0
- package/model/mainLimit.ts +97 -0
- package/model/mainModelContactReward.ts +115 -0
- package/model/mainModelContactRewardsResp.ts +71 -0
- package/model/mainNodeResponse.ts +97 -0
- package/model/mainOrderPayload.ts +136 -0
- package/model/mainProduct.ts +61 -0
- package/model/mainProductPayload.ts +70 -0
- package/model/mainRedeem.ts +151 -0
- package/model/mainResultParameterResponse.ts +44 -0
- package/model/mainReward.ts +397 -0
- package/model/mainRewardAttribution.ts +124 -0
- package/model/mainRewardConfigurations.ts +52 -0
- package/model/mainRewardPage.ts +44 -0
- package/model/mainRewardPageObj.ts +106 -0
- package/model/mainRewardValidate.ts +34 -0
- package/model/mainRule.ts +145 -0
- package/model/mainRuleConditionResponse.ts +71 -0
- package/model/mainRuleEventResponse.ts +43 -0
- package/model/mainRuleResultResponse.ts +53 -0
- package/model/mainValidateRewardPayload.ts +79 -0
- package/model/mainValueResponse.ts +98 -0
- package/model/mainVoucherRevokePayload.ts +34 -0
- package/model/manageIp.ts +1 -1
- package/model/masterDetailsResponse.ts +1 -1
- package/model/masterDetailsResponseBillingInfo.ts +1 -1
- package/model/masterDetailsResponseBillingInfoAddress.ts +1 -1
- package/model/masterDetailsResponseBillingInfoName.ts +1 -1
- package/model/masterDetailsResponsePlanInfo.ts +1 -1
- package/model/masterDetailsResponsePlanInfoFeaturesInner.ts +1 -1
- package/model/memberContact.ts +52 -0
- package/model/modelSubscriptionBalanceResp.ts +32 -0
- package/model/models.ts +456 -77
- package/model/note.ts +1 -1
- package/model/noteData.ts +1 -1
- package/model/noteId.ts +1 -1
- package/model/notification.ts +1 -1
- package/model/order.ts +25 -9
- package/model/orderBatch.ts +1 -1
- package/model/orderBilling.ts +11 -2
- package/model/orderIdentifiers.ts +64 -0
- package/model/orderProductsInner.ts +1 -1
- package/model/otp.ts +1 -1
- package/model/patchLoyaltyProgramPayload.ts +52 -0
- package/model/pipeline.ts +1 -1
- package/model/pipelineStage.ts +1 -1
- package/model/postContactInfo.ts +1 -1
- package/model/postContactInfoContacts.ts +1 -1
- package/model/postSendFailed.ts +1 -1
- package/model/postSendSmsTestFailed.ts +1 -1
- package/model/putRevokeUserPermission.ts +1 -1
- package/model/putresendcancelinvitation.ts +1 -1
- package/model/remainingCreditModel.ts +1 -1
- package/model/remainingCreditModelChild.ts +1 -1
- package/model/remainingCreditModelReseller.ts +1 -1
- package/model/removeContactFromList.ts +13 -4
- package/model/removeCredits.ts +1 -1
- package/model/requestContactExport.ts +38 -2
- package/model/requestContactExportCustomContactFilter.ts +11 -2
- package/model/requestContactImport.ts +1 -1
- package/model/requestContactImportJsonBodyInner.ts +1 -1
- package/model/requestContactImportNewList.ts +1 -1
- package/model/requestSmsRecipientExport.ts +1 -1
- package/model/scheduleSmtpEmail.ts +1 -1
- package/model/sendReport.ts +1 -1
- package/model/sendReportEmail.ts +1 -1
- package/model/sendSms.ts +1 -1
- package/model/sendSmtpEmail.ts +2 -2
- package/model/sendSmtpEmailAttachmentInner.ts +1 -1
- package/model/sendSmtpEmailBccInner.ts +1 -1
- package/model/sendSmtpEmailCcInner.ts +1 -1
- package/model/sendSmtpEmailMessageVersionsInner.ts +1 -1
- package/model/sendSmtpEmailMessageVersionsInnerReplyTo.ts +1 -1
- package/model/sendSmtpEmailMessageVersionsInnerToInner.ts +1 -1
- package/model/sendSmtpEmailReplyTo.ts +1 -1
- package/model/sendSmtpEmailSender.ts +1 -1
- package/model/sendSmtpEmailToInner.ts +1 -1
- package/model/sendTestEmail.ts +1 -1
- package/model/sendTestSms.ts +1 -1
- package/model/sendTransacSms.ts +4 -6
- package/model/sendTransacSmsTag.ts +37 -0
- package/model/sendWhatsappMessage.ts +1 -1
- package/model/sendWhatsappMessage201Response.ts +1 -1
- package/model/ssoTokenRequest.ts +1 -1
- package/model/ssoTokenRequestCorporate.ts +1 -1
- package/model/subAccountAppsToggleRequest.ts +1 -1
- package/model/subAccountDetailsResponse.ts +11 -1
- package/model/subAccountDetailsResponseGroupsInner.ts +43 -0
- package/model/subAccountDetailsResponsePlanInfo.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoCredits.ts +28 -9
- package/model/subAccountDetailsResponsePlanInfoCreditsEmails.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoCreditsSms.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoCreditsWpSubscribers.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoFeatures.ts +8 -1
- package/model/subAccountDetailsResponsePlanInfoFeaturesInbox.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoFeaturesLandingPage.ts +1 -1
- package/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoFeaturesUsers.ts +4 -4
- package/model/subAccountUpdatePlanRequest.ts +1 -1
- package/model/subAccountUpdatePlanRequestCredits.ts +38 -2
- package/model/subAccountUpdatePlanRequestFeatures.ts +11 -2
- package/model/subAccountsResponse.ts +1 -1
- package/model/subAccountsResponseSubAccountsInner.ts +11 -1
- package/model/subAccountsResponseSubAccountsInnerGroupsInner.ts +43 -0
- package/model/subAccountsUpdatePlanRequest.ts +51 -0
- package/model/subAccountsUpdatePlanRequestCredits.ts +73 -0
- package/model/subAccountsUpdatePlanRequestFeatures.ts +55 -0
- package/model/subscription.ts +88 -0
- package/model/subscriptionAggregateBalance.ts +43 -0
- package/model/subscriptionAttributedReward.ts +106 -0
- package/model/subscriptionBalances.ts +53 -0
- package/model/subscriptionHandlerInfo.ts +65 -0
- package/model/subscriptionMember.ts +70 -0
- package/model/subscriptionTier.ts +88 -0
- package/model/task.ts +1 -1
- package/model/taskList.ts +1 -1
- package/model/taskReminder.ts +1 -1
- package/model/taskTypes.ts +1 -1
- package/model/templatePreview.ts +76 -0
- package/model/tier.ts +102 -0
- package/model/tierAccessConditionsInner.ts +55 -0
- package/model/tierForContact.ts +82 -0
- package/model/tierGroup.ts +109 -0
- package/model/tierGroupPage.ts +32 -0
- package/model/tierRequest.ts +57 -0
- package/model/tierRequestAccessConditionsInner.ts +43 -0
- package/model/tierRequestPutPayload.ts +57 -0
- package/model/tierRequestTierRewardsInner.ts +34 -0
- package/model/tierTierRewardsInner.ts +46 -0
- package/model/transaction.ts +163 -0
- package/model/transactionHistory.ts +118 -0
- package/model/transactionHistoryResp.ts +74 -0
- package/model/unauthorizedResponse.ts +34 -0
- package/model/updateAttribute.ts +11 -2
- package/model/updateAttributeEnumerationInner.ts +1 -1
- package/model/updateBalanceDefinitionPayload.ts +218 -0
- package/model/updateBalanceLimitPayload.ts +98 -0
- package/model/updateBatchContacts.ts +1 -1
- package/model/updateBatchContactsContactsInner.ts +1 -1
- package/model/updateBatchContactsModel.ts +1 -1
- package/model/updateCampaignStatus.ts +1 -1
- package/model/updateChild.ts +1 -1
- package/model/updateChildAccountStatus.ts +1 -1
- package/model/updateChildDomain.ts +1 -1
- package/model/updateContact.ts +4 -4
- package/model/updateCouponCollection200Response.ts +1 -1
- package/model/updateCouponCollectionRequest.ts +1 -1
- package/model/updateEmailCampaign.ts +8 -1
- package/model/updateEmailCampaignEmailExpirationDate.ts +53 -0
- package/model/updateEmailCampaignRecipients.ts +10 -1
- package/model/updateEmailCampaignSender.ts +1 -1
- package/model/updateExternalFeed.ts +1 -1
- package/model/updateList.ts +1 -1
- package/model/updateLoyaltyProgramPayload.ts +52 -0
- package/model/updateSender.ts +1 -1
- package/model/updateSmsCampaign.ts +1 -1
- package/model/updateSmtpTemplate.ts +1 -1
- package/model/updateSmtpTemplateSender.ts +1 -1
- package/model/updateTierGroupRequest.ts +73 -0
- package/model/updateWebhook.ts +1 -1
- package/model/updateWhatsAppCampaign.ts +1 -1
- package/model/uploadImageModel.ts +1 -1
- package/model/uploadImageToGallery.ts +1 -1
- package/model/variablesItems.ts +1 -1
- package/model/whatsappCampStats.ts +1 -1
- package/model/whatsappCampTemplate.ts +1 -1
- package/package.json +6 -7
- package/tsconfig.json +0 -1
package/api/eventsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
package/api/externalFeedsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
package/api/filesApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
package/api/inboundParsingApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
package/api/masterAccountApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
|
@@ -19,6 +19,9 @@ import { CorporateGroupDetailsResponse } from '../model/corporateGroupDetailsRes
|
|
|
19
19
|
import { CorporateGroupPost201Response } from '../model/corporateGroupPost201Response';
|
|
20
20
|
import { CorporateGroupPostRequest } from '../model/corporateGroupPostRequest';
|
|
21
21
|
import { CorporateGroupUnlinkGroupIdSubAccountsPutRequest } from '../model/corporateGroupUnlinkGroupIdSubAccountsPutRequest';
|
|
22
|
+
import { CorporateSubAccountIpAssociatePostRequest } from '../model/corporateSubAccountIpAssociatePostRequest';
|
|
23
|
+
import { CorporateSubAccountIpDissociatePutRequest } from '../model/corporateSubAccountIpDissociatePutRequest';
|
|
24
|
+
import { CorporateUserEmailPermissionsPutRequest } from '../model/corporateUserEmailPermissionsPutRequest';
|
|
22
25
|
import { CorporateUserInvitationActionEmailPut200Response } from '../model/corporateUserInvitationActionEmailPut200Response';
|
|
23
26
|
import { CreateApiKeyRequest } from '../model/createApiKeyRequest';
|
|
24
27
|
import { CreateApiKeyResponse } from '../model/createApiKeyResponse';
|
|
@@ -38,6 +41,7 @@ import { SubAccountAppsToggleRequest } from '../model/subAccountAppsToggleReques
|
|
|
38
41
|
import { SubAccountDetailsResponse } from '../model/subAccountDetailsResponse';
|
|
39
42
|
import { SubAccountUpdatePlanRequest } from '../model/subAccountUpdatePlanRequest';
|
|
40
43
|
import { SubAccountsResponse } from '../model/subAccountsResponse';
|
|
44
|
+
import { SubAccountsUpdatePlanRequest } from '../model/subAccountsUpdatePlanRequest';
|
|
41
45
|
|
|
42
46
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
43
47
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -499,6 +503,73 @@ export class MasterAccountApi {
|
|
|
499
503
|
});
|
|
500
504
|
});
|
|
501
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* This endpoint allows you to retrieve the list of active IPs on your Admin account
|
|
508
|
+
* @summary List of all IPs
|
|
509
|
+
*/
|
|
510
|
+
public async corporateIpGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
511
|
+
const localVarPath = this.basePath + '/corporate/ip';
|
|
512
|
+
let localVarQueryParameters: any = {};
|
|
513
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
514
|
+
const produces = ['application/json'];
|
|
515
|
+
// give precedence to 'application/json'
|
|
516
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
517
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
518
|
+
} else {
|
|
519
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
520
|
+
}
|
|
521
|
+
let localVarFormParams: any = {};
|
|
522
|
+
|
|
523
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
524
|
+
|
|
525
|
+
let localVarUseFormData = false;
|
|
526
|
+
|
|
527
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
528
|
+
method: 'GET',
|
|
529
|
+
qs: localVarQueryParameters,
|
|
530
|
+
headers: localVarHeaderParams,
|
|
531
|
+
uri: localVarPath,
|
|
532
|
+
useQuerystring: this._useQuerystring,
|
|
533
|
+
json: true,
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
let authenticationPromise = Promise.resolve();
|
|
537
|
+
if (this.authentications.apiKey.apiKey) {
|
|
538
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
539
|
+
}
|
|
540
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
541
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
542
|
+
}
|
|
543
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
544
|
+
|
|
545
|
+
let interceptorPromise = authenticationPromise;
|
|
546
|
+
for (const interceptor of this.interceptors) {
|
|
547
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
return interceptorPromise.then(() => {
|
|
551
|
+
if (Object.keys(localVarFormParams).length) {
|
|
552
|
+
if (localVarUseFormData) {
|
|
553
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
554
|
+
} else {
|
|
555
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
559
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
560
|
+
if (error) {
|
|
561
|
+
reject(error);
|
|
562
|
+
} else {
|
|
563
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
564
|
+
resolve({ response: response, body: body });
|
|
565
|
+
} else {
|
|
566
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
});
|
|
571
|
+
});
|
|
572
|
+
}
|
|
502
573
|
/**
|
|
503
574
|
* This endpoint will provide the details of the master account.
|
|
504
575
|
* @summary Get the details of requested master account
|
|
@@ -961,7 +1032,7 @@ export class MasterAccountApi {
|
|
|
961
1032
|
});
|
|
962
1033
|
}
|
|
963
1034
|
/**
|
|
964
|
-
* This endpoint will update the sub-account plan
|
|
1035
|
+
* This endpoint will update the sub-account plan. On the Corporate solution new version v2, you can set an unlimited number of credits in your sub-organization. Please pass the value “-1\" to set the consumable in unlimited mode.
|
|
965
1036
|
* @summary Update sub-account plan
|
|
966
1037
|
* @param id Id of the sub-account organization
|
|
967
1038
|
* @param updatePlanDetails Values to update a sub-account plan
|
|
@@ -1041,6 +1112,155 @@ export class MasterAccountApi {
|
|
|
1041
1112
|
});
|
|
1042
1113
|
});
|
|
1043
1114
|
}
|
|
1115
|
+
/**
|
|
1116
|
+
* This endpoint allows to associate an IP to sub-accounts
|
|
1117
|
+
* @summary Associate an IP to sub-accounts
|
|
1118
|
+
* @param body Ip address association details
|
|
1119
|
+
*/
|
|
1120
|
+
public async corporateSubAccountIpAssociatePost (body: CorporateSubAccountIpAssociatePostRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> {
|
|
1121
|
+
const localVarPath = this.basePath + '/corporate/subAccount/ip/associate';
|
|
1122
|
+
let localVarQueryParameters: any = {};
|
|
1123
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1124
|
+
const produces = ['application/json'];
|
|
1125
|
+
// give precedence to 'application/json'
|
|
1126
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1127
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1128
|
+
} else {
|
|
1129
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1130
|
+
}
|
|
1131
|
+
let localVarFormParams: any = {};
|
|
1132
|
+
|
|
1133
|
+
// verify required parameter 'body' is not null or undefined
|
|
1134
|
+
if (body === null || body === undefined) {
|
|
1135
|
+
throw new Error('Required parameter body was null or undefined when calling corporateSubAccountIpAssociatePost.');
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1139
|
+
|
|
1140
|
+
let localVarUseFormData = false;
|
|
1141
|
+
|
|
1142
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1143
|
+
method: 'POST',
|
|
1144
|
+
qs: localVarQueryParameters,
|
|
1145
|
+
headers: localVarHeaderParams,
|
|
1146
|
+
uri: localVarPath,
|
|
1147
|
+
useQuerystring: this._useQuerystring,
|
|
1148
|
+
json: true,
|
|
1149
|
+
body: ObjectSerializer.serialize(body, "CorporateSubAccountIpAssociatePostRequest")
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
let authenticationPromise = Promise.resolve();
|
|
1153
|
+
if (this.authentications.apiKey.apiKey) {
|
|
1154
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
1155
|
+
}
|
|
1156
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
1157
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
1158
|
+
}
|
|
1159
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1160
|
+
|
|
1161
|
+
let interceptorPromise = authenticationPromise;
|
|
1162
|
+
for (const interceptor of this.interceptors) {
|
|
1163
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
return interceptorPromise.then(() => {
|
|
1167
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1168
|
+
if (localVarUseFormData) {
|
|
1169
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1170
|
+
} else {
|
|
1171
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => {
|
|
1175
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1176
|
+
if (error) {
|
|
1177
|
+
reject(error);
|
|
1178
|
+
} else {
|
|
1179
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1180
|
+
body = ObjectSerializer.deserialize(body, "object");
|
|
1181
|
+
resolve({ response: response, body: body });
|
|
1182
|
+
} else {
|
|
1183
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
});
|
|
1187
|
+
});
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* This endpoint allows to dissociate an IP from sub-accounts
|
|
1192
|
+
* @summary Dissociate an IP from sub-accounts
|
|
1193
|
+
* @param body Ip address dissociation details
|
|
1194
|
+
*/
|
|
1195
|
+
public async corporateSubAccountIpDissociatePut (body: CorporateSubAccountIpDissociatePutRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
1196
|
+
const localVarPath = this.basePath + '/corporate/subAccount/ip/dissociate';
|
|
1197
|
+
let localVarQueryParameters: any = {};
|
|
1198
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1199
|
+
const produces = ['application/json'];
|
|
1200
|
+
// give precedence to 'application/json'
|
|
1201
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1202
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1203
|
+
} else {
|
|
1204
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1205
|
+
}
|
|
1206
|
+
let localVarFormParams: any = {};
|
|
1207
|
+
|
|
1208
|
+
// verify required parameter 'body' is not null or undefined
|
|
1209
|
+
if (body === null || body === undefined) {
|
|
1210
|
+
throw new Error('Required parameter body was null or undefined when calling corporateSubAccountIpDissociatePut.');
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1214
|
+
|
|
1215
|
+
let localVarUseFormData = false;
|
|
1216
|
+
|
|
1217
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1218
|
+
method: 'PUT',
|
|
1219
|
+
qs: localVarQueryParameters,
|
|
1220
|
+
headers: localVarHeaderParams,
|
|
1221
|
+
uri: localVarPath,
|
|
1222
|
+
useQuerystring: this._useQuerystring,
|
|
1223
|
+
json: true,
|
|
1224
|
+
body: ObjectSerializer.serialize(body, "CorporateSubAccountIpDissociatePutRequest")
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
let authenticationPromise = Promise.resolve();
|
|
1228
|
+
if (this.authentications.apiKey.apiKey) {
|
|
1229
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
1230
|
+
}
|
|
1231
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
1232
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
1233
|
+
}
|
|
1234
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1235
|
+
|
|
1236
|
+
let interceptorPromise = authenticationPromise;
|
|
1237
|
+
for (const interceptor of this.interceptors) {
|
|
1238
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
return interceptorPromise.then(() => {
|
|
1242
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1243
|
+
if (localVarUseFormData) {
|
|
1244
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1245
|
+
} else {
|
|
1246
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
1250
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1251
|
+
if (error) {
|
|
1252
|
+
reject(error);
|
|
1253
|
+
} else {
|
|
1254
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1255
|
+
resolve({ response: response, body: body });
|
|
1256
|
+
} else {
|
|
1257
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
});
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1044
1264
|
/**
|
|
1045
1265
|
* This endpoint will generate an API v3 key for a sub account
|
|
1046
1266
|
* @summary Create an API key for a sub-account
|
|
@@ -1267,7 +1487,162 @@ export class MasterAccountApi {
|
|
|
1267
1487
|
});
|
|
1268
1488
|
}
|
|
1269
1489
|
/**
|
|
1270
|
-
* This endpoint will
|
|
1490
|
+
* This endpoint will update multiple sub-accounts plan. On the Corporate solution new version v2, you can set an unlimited number of credits in your sub-organization. Please pass the value “-1\" to set the consumable in unlimited mode.
|
|
1491
|
+
* @summary Update sub-accounts plan
|
|
1492
|
+
* @param updatePlanDetails Values to update sub-accounts plan
|
|
1493
|
+
*/
|
|
1494
|
+
public async corporateSubAccountsPlanPut (updatePlanDetails: SubAccountsUpdatePlanRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
1495
|
+
const localVarPath = this.basePath + '/corporate/subAccounts/plan';
|
|
1496
|
+
let localVarQueryParameters: any = {};
|
|
1497
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1498
|
+
const produces = ['application/json'];
|
|
1499
|
+
// give precedence to 'application/json'
|
|
1500
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1501
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1502
|
+
} else {
|
|
1503
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1504
|
+
}
|
|
1505
|
+
let localVarFormParams: any = {};
|
|
1506
|
+
|
|
1507
|
+
// verify required parameter 'updatePlanDetails' is not null or undefined
|
|
1508
|
+
if (updatePlanDetails === null || updatePlanDetails === undefined) {
|
|
1509
|
+
throw new Error('Required parameter updatePlanDetails was null or undefined when calling corporateSubAccountsPlanPut.');
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1513
|
+
|
|
1514
|
+
let localVarUseFormData = false;
|
|
1515
|
+
|
|
1516
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1517
|
+
method: 'PUT',
|
|
1518
|
+
qs: localVarQueryParameters,
|
|
1519
|
+
headers: localVarHeaderParams,
|
|
1520
|
+
uri: localVarPath,
|
|
1521
|
+
useQuerystring: this._useQuerystring,
|
|
1522
|
+
json: true,
|
|
1523
|
+
body: ObjectSerializer.serialize(updatePlanDetails, "SubAccountsUpdatePlanRequest")
|
|
1524
|
+
};
|
|
1525
|
+
|
|
1526
|
+
let authenticationPromise = Promise.resolve();
|
|
1527
|
+
if (this.authentications.apiKey.apiKey) {
|
|
1528
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
1529
|
+
}
|
|
1530
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
1531
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
1532
|
+
}
|
|
1533
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1534
|
+
|
|
1535
|
+
let interceptorPromise = authenticationPromise;
|
|
1536
|
+
for (const interceptor of this.interceptors) {
|
|
1537
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
return interceptorPromise.then(() => {
|
|
1541
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1542
|
+
if (localVarUseFormData) {
|
|
1543
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1544
|
+
} else {
|
|
1545
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
1549
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1550
|
+
if (error) {
|
|
1551
|
+
reject(error);
|
|
1552
|
+
} else {
|
|
1553
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1554
|
+
resolve({ response: response, body: body });
|
|
1555
|
+
} else {
|
|
1556
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
});
|
|
1560
|
+
});
|
|
1561
|
+
});
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* This endpoint will allow you to change the permissions of Admin users of your Admin account
|
|
1565
|
+
* @summary Change admin user permissions
|
|
1566
|
+
* @param email Email address of Admin user
|
|
1567
|
+
* @param body Values to update an admin user permissions
|
|
1568
|
+
*/
|
|
1569
|
+
public async corporateUserEmailPermissionsPut (email: string, body: CorporateUserEmailPermissionsPutRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
1570
|
+
const localVarPath = this.basePath + '/corporate/user/{email}/permissions'
|
|
1571
|
+
.replace('{' + 'email' + '}', encodeURIComponent(String(email)));
|
|
1572
|
+
let localVarQueryParameters: any = {};
|
|
1573
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
1574
|
+
const produces = ['application/json'];
|
|
1575
|
+
// give precedence to 'application/json'
|
|
1576
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1577
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1578
|
+
} else {
|
|
1579
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1580
|
+
}
|
|
1581
|
+
let localVarFormParams: any = {};
|
|
1582
|
+
|
|
1583
|
+
// verify required parameter 'email' is not null or undefined
|
|
1584
|
+
if (email === null || email === undefined) {
|
|
1585
|
+
throw new Error('Required parameter email was null or undefined when calling corporateUserEmailPermissionsPut.');
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
// verify required parameter 'body' is not null or undefined
|
|
1589
|
+
if (body === null || body === undefined) {
|
|
1590
|
+
throw new Error('Required parameter body was null or undefined when calling corporateUserEmailPermissionsPut.');
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
1594
|
+
|
|
1595
|
+
let localVarUseFormData = false;
|
|
1596
|
+
|
|
1597
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
1598
|
+
method: 'PUT',
|
|
1599
|
+
qs: localVarQueryParameters,
|
|
1600
|
+
headers: localVarHeaderParams,
|
|
1601
|
+
uri: localVarPath,
|
|
1602
|
+
useQuerystring: this._useQuerystring,
|
|
1603
|
+
json: true,
|
|
1604
|
+
body: ObjectSerializer.serialize(body, "CorporateUserEmailPermissionsPutRequest")
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
let authenticationPromise = Promise.resolve();
|
|
1608
|
+
if (this.authentications.apiKey.apiKey) {
|
|
1609
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
1610
|
+
}
|
|
1611
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
1612
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
1613
|
+
}
|
|
1614
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
1615
|
+
|
|
1616
|
+
let interceptorPromise = authenticationPromise;
|
|
1617
|
+
for (const interceptor of this.interceptors) {
|
|
1618
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
return interceptorPromise.then(() => {
|
|
1622
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1623
|
+
if (localVarUseFormData) {
|
|
1624
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
1625
|
+
} else {
|
|
1626
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
1630
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
1631
|
+
if (error) {
|
|
1632
|
+
reject(error);
|
|
1633
|
+
} else {
|
|
1634
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1635
|
+
resolve({ response: response, body: body });
|
|
1636
|
+
} else {
|
|
1637
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
});
|
|
1641
|
+
});
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* This endpoint will allow the user to: - Resend an admin user invitation - Cancel an admin user invitation
|
|
1271
1646
|
* @summary Resend / cancel admin user invitation
|
|
1272
1647
|
* @param action Action to be performed (cancel / resend)
|
|
1273
1648
|
* @param email Email address of the recipient
|
|
@@ -1427,10 +1802,11 @@ export class MasterAccountApi {
|
|
|
1427
1802
|
* @summary Get user activity logs
|
|
1428
1803
|
* @param startDate Mandatory if endDate is used. Enter start date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month. Additionally, you can retrieve activity logs from the past 12 months from the date of your search.
|
|
1429
1804
|
* @param endDate Mandatory if startDate is used. Enter end date in UTC date (YYYY-MM-DD) format to filter the activity in your account. Maximum time period that can be selected is one month.
|
|
1805
|
+
* @param email Enter the user\'s email address to filter their activity in the account.
|
|
1430
1806
|
* @param limit Number of documents per page
|
|
1431
1807
|
* @param offset Index of the first document in the page.
|
|
1432
1808
|
*/
|
|
1433
|
-
public async getAccountActivity (startDate?: string, endDate?: string, limit?: number, offset?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: GetAccountActivity; }> {
|
|
1809
|
+
public async getAccountActivity (startDate?: string, endDate?: string, email?: string, limit?: number, offset?: number, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: GetAccountActivity; }> {
|
|
1434
1810
|
const localVarPath = this.basePath + '/organization/activities';
|
|
1435
1811
|
let localVarQueryParameters: any = {};
|
|
1436
1812
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1451,6 +1827,10 @@ export class MasterAccountApi {
|
|
|
1451
1827
|
localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "string");
|
|
1452
1828
|
}
|
|
1453
1829
|
|
|
1830
|
+
if (email !== undefined) {
|
|
1831
|
+
localVarQueryParameters['email'] = ObjectSerializer.serialize(email, "string");
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1454
1834
|
if (limit !== undefined) {
|
|
1455
1835
|
localVarQueryParameters['limit'] = ObjectSerializer.serialize(limit, "number");
|
|
1456
1836
|
}
|
|
@@ -1579,7 +1959,7 @@ export class MasterAccountApi {
|
|
|
1579
1959
|
});
|
|
1580
1960
|
}
|
|
1581
1961
|
/**
|
|
1582
|
-
*
|
|
1962
|
+
* This endpoint will provide the list of admin user permissions
|
|
1583
1963
|
* @summary Check admin user permissions
|
|
1584
1964
|
* @param email Email of the invited user
|
|
1585
1965
|
*/
|
|
@@ -1722,7 +2102,7 @@ export class MasterAccountApi {
|
|
|
1722
2102
|
});
|
|
1723
2103
|
}
|
|
1724
2104
|
/**
|
|
1725
|
-
* `This endpoint allows you to invite a member to manage the Admin account Features and their respective permissions are as below: - `my_plan`: - \"all\" - `api`: - \"none\" - `user_management`: - \"all\" - `app_management` | Not available in ENTv2: - \"all\" **Note**: - If `all_features_access: false` then only privileges are required otherwise if `true` then it\'s assumed that all permissions will be there for the invited admin user.
|
|
2105
|
+
* `This endpoint allows you to invite a member to manage the Admin account Features and their respective permissions are as below: - `my_plan`: - \"all\" - `api`: - \"none\" - `user_management`: - \"all\" - `app_management` | Not available in ENTv2: - \"all\" - `sub_organization_groups` - \"create\" - \"edit_delete\" - `create_sub_organizations` - \"all\" - `manage_sub_organizations` - \"all\" - `analytics` - \"download_data\" - \"create_alerts\" - \"my_looks\" - \"explore_create\" - `security` - \"all\" **Note**: - If `all_features_access: false` then only privileges are required otherwise if `true` then it\'s assumed that all permissions will be there for the invited admin user.
|
|
1726
2106
|
* @summary Send invitation to an admin user
|
|
1727
2107
|
* @param sendInvitation Payload to send an invitation
|
|
1728
2108
|
*/
|
package/api/notesApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
package/api/paymentsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|
|
@@ -15,8 +15,8 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
-
import { CreateModel } from '../model/createModel';
|
|
19
18
|
import { CreatePaymentRequest } from '../model/createPaymentRequest';
|
|
19
|
+
import { CreatePaymentResponse } from '../model/createPaymentResponse';
|
|
20
20
|
import { ErrorModel } from '../model/errorModel';
|
|
21
21
|
import { GetPaymentRequest } from '../model/getPaymentRequest';
|
|
22
22
|
|
|
@@ -99,7 +99,7 @@ export class PaymentsApi {
|
|
|
99
99
|
* @summary Create a payment request
|
|
100
100
|
* @param createPaymentRquest Create a payment request
|
|
101
101
|
*/
|
|
102
|
-
public async createPaymentRequest (createPaymentRquest: CreatePaymentRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body:
|
|
102
|
+
public async createPaymentRequest (createPaymentRquest: CreatePaymentRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: CreatePaymentResponse; }> {
|
|
103
103
|
const localVarPath = this.basePath + '/payments/requests';
|
|
104
104
|
let localVarQueryParameters: any = {};
|
|
105
105
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -153,13 +153,13 @@ export class PaymentsApi {
|
|
|
153
153
|
localVarRequestOptions.form = localVarFormParams;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
return new Promise<{ response: http.IncomingMessage; body:
|
|
156
|
+
return new Promise<{ response: http.IncomingMessage; body: CreatePaymentResponse; }>((resolve, reject) => {
|
|
157
157
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
158
158
|
if (error) {
|
|
159
159
|
reject(error);
|
|
160
160
|
} else {
|
|
161
161
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
162
|
-
body = ObjectSerializer.deserialize(body, "
|
|
162
|
+
body = ObjectSerializer.deserialize(body, "CreatePaymentResponse");
|
|
163
163
|
resolve({ response: response, body: body });
|
|
164
164
|
} else {
|
|
165
165
|
reject(new HttpError(response, body, response.statusCode));
|
package/api/processApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Brevo API
|
|
3
|
-
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
3
|
+
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | | 422 | Error. Unprocessable Entity |
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: contact@brevo.com
|