@getbrevo/brevo 2.2.0 → 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 +113 -24
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -5
- package/api/accountApi.ts +6 -1
- package/api/apis.ts +9 -3
- package/api/balanceApi.ts +1725 -0
- package/api/companiesApi.ts +247 -69
- package/api/contactsApi.ts +119 -25
- package/api/dealsApi.ts +181 -1
- package/api/ecommerceApi.ts +29 -14
- package/api/emailCampaignsApi.ts +2 -2
- package/api/masterAccountApi.ts +233 -4
- package/api/programApi.ts +992 -0
- package/api/rewardApi.ts +975 -0
- package/api/tierApi.ts +952 -0
- package/api/transactionalEmailsApi.ts +78 -1
- package/api/transactionalSMSApi.ts +60 -0
- package/api/userApi.ts +2 -2
- 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 +13 -6
- package/dist/api/contactsApi.js +142 -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 +0 -1
- package/dist/api/couponsApi.js +11 -11
- 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 +3 -4
- package/dist/api/ecommerceApi.js +45 -36
- 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 +27 -2
- package/dist/api/masterAccountApi.js +250 -49
- 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 +0 -1
- package/dist/api/paymentsApi.js +7 -7
- 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 -45
- package/dist/api/transactionalEmailsApi.js.map +1 -1
- package/dist/api/transactionalSMSApi.d.ts +8 -1
- package/dist/api/transactionalSMSApi.js +64 -9
- 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/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/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/createSmsCampaign.js.map +1 -1
- package/dist/model/createSubAccount.js +1 -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/createUpdateCategory.js.map +1 -1
- package/dist/model/createUpdateProduct.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/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.d.ts +5 -2
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js +5 -2
- package/dist/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.js.map +1 -1
- package/dist/model/emailExportRecipients.js +1 -1
- package/dist/model/emailExportRecipients.js.map +1 -1
- package/dist/model/errorModel.d.ts +0 -1
- package/dist/model/errorModel.js +1 -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/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 +2 -4
- package/dist/model/getEmailCampaign.js +3 -3
- package/dist/model/getEmailCampaign.js.map +1 -1
- package/dist/model/getEmailCampaignsCampaignsInner.js +1 -1
- package/dist/model/getEmailCampaignsCampaignsInner.js.map +1 -1
- package/dist/model/getEmailEventReportEventsInner.js +1 -1
- package/dist/model/getEmailEventReportEventsInner.js.map +1 -1
- package/dist/model/getExtendedCampaignOverview.js +1 -1
- package/dist/model/getExtendedCampaignOverview.js.map +1 -1
- package/dist/model/getExtendedCampaignStats.js.map +1 -1
- package/dist/model/getExternalFeedByUUID.js +1 -1
- package/dist/model/getExternalFeedByUUID.js.map +1 -1
- package/dist/model/getInboundEmailEventsByUuidLogsInner.js +1 -1
- package/dist/model/getInboundEmailEventsByUuidLogsInner.js.map +1 -1
- package/dist/model/getOrdersOrdersInner.d.ts +6 -1
- package/dist/model/getOrdersOrdersInner.js +15 -5
- package/dist/model/getOrdersOrdersInner.js.map +1 -1
- package/dist/model/getPaymentRequest.js +1 -1
- package/dist/model/getPaymentRequest.js.map +1 -1
- package/dist/model/getProcess.js +1 -1
- package/dist/model/getProcess.js.map +1 -1
- package/dist/model/getScheduledEmailByBatchIdBatchesInner.js +1 -1
- package/dist/model/getScheduledEmailByBatchIdBatchesInner.js.map +1 -1
- package/dist/model/getScheduledEmailByMessageId.js +1 -1
- package/dist/model/getScheduledEmailByMessageId.js.map +1 -1
- package/dist/model/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.js +1 -1
- package/dist/model/getSmsEventReportEventsInner.js.map +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js +1 -1
- package/dist/model/getTransacBlockedContactsContactsInnerReason.js.map +1 -1
- package/dist/model/getWebhook.js +1 -1
- package/dist/model/getWebhook.js.map +1 -1
- package/dist/model/getWhatsAppConfig.js +1 -1
- package/dist/model/getWhatsAppConfig.js.map +1 -1
- package/dist/model/getWhatsappCampaignOverview.js +1 -1
- package/dist/model/getWhatsappCampaignOverview.js.map +1 -1
- package/dist/model/getWhatsappCampaignsCampaignsInner.js +1 -1
- package/dist/model/getWhatsappCampaignsCampaignsInner.js.map +1 -1
- package/dist/model/getWhatsappEventReportEventsInner.js +1 -1
- package/dist/model/getWhatsappEventReportEventsInner.js.map +1 -1
- package/dist/model/inviteAdminUserPrivilegesInner.d.ts +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 +109 -25
- package/dist/model/models.js +412 -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/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/subAccountDetailsResponsePlanInfoCredits.d.ts +4 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCredits.js +10 -0
- 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/subAccountDetailsResponsePlanInfoCreditsWhatsapp.d.ts +15 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.js +23 -0
- package/dist/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.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 +2 -0
- package/dist/model/subAccountUpdatePlanRequestCredits.js +10 -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/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/addContactToList.ts +11 -2
- package/model/addSubscriptionMemberPayload.ts +52 -0
- package/model/aggregateBalance.ts +43 -0
- 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/companiesIdPatchRequest.ts +18 -0
- package/model/companiesImportPost200Response.ts +34 -0
- package/model/companiesImportPost400Response.ts +31 -0
- package/model/contactBalancesResp.ts +50 -0
- package/model/contactErrorModel.ts +63 -0
- package/model/conversationsMessage.ts +131 -0
- package/model/conversationsMessageAttachmentsInner.ts +79 -0
- 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/conversionSourceMetrics.ts +6 -3
- package/model/corporateUserEmailPermissionsPutRequest.ts +41 -0
- package/model/corporateUserEmailPermissionsPutRequestPrivilegesInner.ts +69 -0
- package/model/createAttribute.ts +13 -3
- package/model/createBalanceDefinitionPayload.ts +218 -0
- package/model/createBalanceLimitPayload.ts +98 -0
- package/model/createBalancePayload.ts +37 -0
- package/model/createContact.ts +4 -4
- package/model/createDoiContact.ts +3 -3
- package/model/createEmailCampaign.ts +7 -0
- package/model/createEmailCampaignEmailExpirationDate.ts +53 -0
- package/model/createEmailCampaignRecipients.ts +9 -0
- package/model/createLoyaltyProgramPayload.ts +61 -0
- package/model/createOrderPayload.ts +91 -0
- 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/createUpdateProduct.ts +1 -1
- package/model/createUpdateProducts.ts +1 -1
- package/model/createWebhook.ts +14 -1
- package/model/crmAttributesPost200Response.ts +34 -0
- package/model/crmAttributesPostRequest.ts +85 -0
- package/model/crmDealsIdPatchRequest.ts +18 -0
- package/model/ecommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response.ts +6 -3
- package/model/errorModel.ts +0 -1
- package/model/errorResponse.ts +31 -0
- package/model/fetchTemplatePreview.ts +52 -0
- package/model/getAccountAllOfPlan.ts +3 -13
- package/model/getAttributesAttributesInner.ts +12 -1
- package/model/getCampaignStats.ts +18 -0
- package/model/getContactCampaignStats.ts +11 -11
- package/model/getContactCampaignStatsClickedInner.ts +3 -3
- package/model/getContactCampaignStatsUnsubscriptions.ts +6 -6
- package/model/getCorporateInvitedUsersListUsersInnerFeatureAccess.ts +45 -0
- package/model/getCorporateUserPermissionFeatureAccess.ts +45 -0
- package/model/getEmailCampaign.ts +4 -6
- package/model/getExtendedCampaignStats.ts +3 -0
- package/model/getOrdersOrdersInner.ts +24 -8
- package/model/getSegment.ts +61 -0
- package/model/getSegments.ts +3 -3
- package/model/getSmsCampaign.ts +4 -6
- package/model/inviteAdminUserPrivilegesInner.ts +11 -2
- package/model/inviteuserPrivilegesInner.ts +5 -3
- 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/memberContact.ts +52 -0
- package/model/modelSubscriptionBalanceResp.ts +32 -0
- package/model/models.ts +419 -77
- package/model/order.ts +24 -8
- package/model/orderBilling.ts +1 -1
- package/model/orderIdentifiers.ts +64 -0
- package/model/patchLoyaltyProgramPayload.ts +52 -0
- package/model/removeContactFromList.ts +12 -3
- package/model/requestContactExport.ts +37 -1
- package/model/requestContactExportCustomContactFilter.ts +10 -1
- package/model/sendSmtpEmail.ts +1 -1
- package/model/sendTransacSms.ts +3 -5
- package/model/sendTransacSmsTag.ts +37 -0
- package/model/subAccountDetailsResponsePlanInfoCredits.ts +14 -0
- package/model/subAccountDetailsResponsePlanInfoCreditsExternalFeeds.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoCreditsWhatsapp.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoFeatures.ts +7 -0
- package/model/subAccountDetailsResponsePlanInfoFeaturesSalesUsers.ts +46 -0
- package/model/subAccountDetailsResponsePlanInfoFeaturesUsers.ts +3 -3
- package/model/subAccountUpdatePlanRequestCredits.ts +20 -2
- package/model/subAccountUpdatePlanRequestFeatures.ts +10 -1
- 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/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 +10 -1
- package/model/updateBalanceDefinitionPayload.ts +218 -0
- package/model/updateBalanceLimitPayload.ts +98 -0
- package/model/updateContact.ts +3 -3
- package/model/updateEmailCampaign.ts +7 -0
- package/model/updateEmailCampaignEmailExpirationDate.ts +53 -0
- package/model/updateEmailCampaignRecipients.ts +9 -0
- package/model/updateLoyaltyProgramPayload.ts +52 -0
- package/model/updateTierGroupRequest.ts +73 -0
- package/package.json +5 -6
- package/tsconfig.json +0 -1
package/api/dealsApi.ts
CHANGED
|
@@ -15,6 +15,10 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
+
import { CompaniesImportPost200Response } from '../model/companiesImportPost200Response';
|
|
19
|
+
import { CompaniesImportPost400Response } from '../model/companiesImportPost400Response';
|
|
20
|
+
import { CrmAttributesPost200Response } from '../model/crmAttributesPost200Response';
|
|
21
|
+
import { CrmAttributesPostRequest } from '../model/crmAttributesPostRequest';
|
|
18
22
|
import { CrmDealsIdPatchRequest } from '../model/crmDealsIdPatchRequest';
|
|
19
23
|
import { CrmDealsLinkUnlinkIdPatchRequest } from '../model/crmDealsLinkUnlinkIdPatchRequest';
|
|
20
24
|
import { CrmDealsPost201Response } from '../model/crmDealsPost201Response';
|
|
@@ -167,18 +171,95 @@ export class DealsApi {
|
|
|
167
171
|
});
|
|
168
172
|
});
|
|
169
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Create a deal/company attribute
|
|
177
|
+
* @param body Attribute creation data for company
|
|
178
|
+
*/
|
|
179
|
+
public async crmAttributesPost (body: CrmAttributesPostRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: CrmAttributesPost200Response; }> {
|
|
180
|
+
const localVarPath = this.basePath + '/crm/attributes';
|
|
181
|
+
let localVarQueryParameters: any = {};
|
|
182
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
183
|
+
const produces = ['application/json'];
|
|
184
|
+
// give precedence to 'application/json'
|
|
185
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
186
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
187
|
+
} else {
|
|
188
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
189
|
+
}
|
|
190
|
+
let localVarFormParams: any = {};
|
|
191
|
+
|
|
192
|
+
// verify required parameter 'body' is not null or undefined
|
|
193
|
+
if (body === null || body === undefined) {
|
|
194
|
+
throw new Error('Required parameter body was null or undefined when calling crmAttributesPost.');
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
198
|
+
|
|
199
|
+
let localVarUseFormData = false;
|
|
200
|
+
|
|
201
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
202
|
+
method: 'POST',
|
|
203
|
+
qs: localVarQueryParameters,
|
|
204
|
+
headers: localVarHeaderParams,
|
|
205
|
+
uri: localVarPath,
|
|
206
|
+
useQuerystring: this._useQuerystring,
|
|
207
|
+
json: true,
|
|
208
|
+
body: ObjectSerializer.serialize(body, "CrmAttributesPostRequest")
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
let authenticationPromise = Promise.resolve();
|
|
212
|
+
if (this.authentications.apiKey.apiKey) {
|
|
213
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
214
|
+
}
|
|
215
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
216
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
217
|
+
}
|
|
218
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
219
|
+
|
|
220
|
+
let interceptorPromise = authenticationPromise;
|
|
221
|
+
for (const interceptor of this.interceptors) {
|
|
222
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
return interceptorPromise.then(() => {
|
|
226
|
+
if (Object.keys(localVarFormParams).length) {
|
|
227
|
+
if (localVarUseFormData) {
|
|
228
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
229
|
+
} else {
|
|
230
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return new Promise<{ response: http.IncomingMessage; body: CrmAttributesPost200Response; }>((resolve, reject) => {
|
|
234
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
235
|
+
if (error) {
|
|
236
|
+
reject(error);
|
|
237
|
+
} else {
|
|
238
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
239
|
+
body = ObjectSerializer.deserialize(body, "CrmAttributesPost200Response");
|
|
240
|
+
resolve({ response: response, body: body });
|
|
241
|
+
} else {
|
|
242
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
}
|
|
170
249
|
/**
|
|
171
250
|
*
|
|
172
251
|
* @summary Get all deals
|
|
173
252
|
* @param filtersAttributesDealName Filter by attributes. If you have a filter for the owner on your end, please send it as filters[attributes.deal_owner] and utilize the account email for the filtering.
|
|
174
253
|
* @param filtersLinkedCompaniesIds Filter by linked companies ids
|
|
175
254
|
* @param filtersLinkedContactsIds Filter by linked companies ids
|
|
255
|
+
* @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
|
|
256
|
+
* @param createdSince Filter (urlencoded) the contacts created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
|
|
176
257
|
* @param offset Index of the first document of the page
|
|
177
258
|
* @param limit Number of documents per page
|
|
178
259
|
* @param sort Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
|
|
179
260
|
* @param sortBy The field used to sort field names.
|
|
180
261
|
*/
|
|
181
|
-
public async crmDealsGet (filtersAttributesDealName?: string, filtersLinkedCompaniesIds?: string, filtersLinkedContactsIds?: string, offset?: number, limit?: number, sort?: 'asc' | 'desc', sortBy?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: DealsList; }> {
|
|
262
|
+
public async crmDealsGet (filtersAttributesDealName?: string, filtersLinkedCompaniesIds?: string, filtersLinkedContactsIds?: string, modifiedSince?: string, createdSince?: string, offset?: number, limit?: number, sort?: 'asc' | 'desc', sortBy?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: DealsList; }> {
|
|
182
263
|
const localVarPath = this.basePath + '/crm/deals';
|
|
183
264
|
let localVarQueryParameters: any = {};
|
|
184
265
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -203,6 +284,14 @@ export class DealsApi {
|
|
|
203
284
|
localVarQueryParameters['filters[linkedContactsIds]'] = ObjectSerializer.serialize(filtersLinkedContactsIds, "string");
|
|
204
285
|
}
|
|
205
286
|
|
|
287
|
+
if (modifiedSince !== undefined) {
|
|
288
|
+
localVarQueryParameters['modifiedSince'] = ObjectSerializer.serialize(modifiedSince, "string");
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
if (createdSince !== undefined) {
|
|
292
|
+
localVarQueryParameters['createdSince'] = ObjectSerializer.serialize(createdSince, "string");
|
|
293
|
+
}
|
|
294
|
+
|
|
206
295
|
if (offset !== undefined) {
|
|
207
296
|
localVarQueryParameters['offset'] = ObjectSerializer.serialize(offset, "number");
|
|
208
297
|
}
|
|
@@ -500,6 +589,95 @@ export class DealsApi {
|
|
|
500
589
|
});
|
|
501
590
|
});
|
|
502
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* Import deals from a CSV file with mapping options.
|
|
594
|
+
* @summary Import deals(creation and updation)
|
|
595
|
+
* @param file The CSV file to upload.The file should have the first row as the mapping attribute. Some default attribute names are (a) deal_id [brevo mongoID to update deals] (b) associated_contact (c) associated_company (f) any other attribute with internal name
|
|
596
|
+
* @param mapping The mapping options in JSON format. json { \\\"link_entities\\\": true, // Determines whether to link related entities during the import process \\\"unlink_entities\\\": false, //Determines whether to unlink related entities during the import process. \\\"update_existing_records\\\": true, // Determines whether to update based on deal ID or treat every row as create \\\"unset_empty_attributes\\\": false // Determines whether unset a specific attribute during update if values input is blank }
|
|
597
|
+
*/
|
|
598
|
+
public async crmDealsImportPost (file: RequestFile, mapping: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: CompaniesImportPost200Response; }> {
|
|
599
|
+
const localVarPath = this.basePath + '/crm/deals/import';
|
|
600
|
+
let localVarQueryParameters: any = {};
|
|
601
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
602
|
+
const produces = ['application/json'];
|
|
603
|
+
// give precedence to 'application/json'
|
|
604
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
605
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
606
|
+
} else {
|
|
607
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
608
|
+
}
|
|
609
|
+
let localVarFormParams: any = {};
|
|
610
|
+
|
|
611
|
+
// verify required parameter 'file' is not null or undefined
|
|
612
|
+
if (file === null || file === undefined) {
|
|
613
|
+
throw new Error('Required parameter file was null or undefined when calling crmDealsImportPost.');
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
// verify required parameter 'mapping' is not null or undefined
|
|
617
|
+
if (mapping === null || mapping === undefined) {
|
|
618
|
+
throw new Error('Required parameter mapping was null or undefined when calling crmDealsImportPost.');
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
622
|
+
|
|
623
|
+
let localVarUseFormData = false;
|
|
624
|
+
|
|
625
|
+
if (file !== undefined) {
|
|
626
|
+
localVarFormParams['file'] = file;
|
|
627
|
+
}
|
|
628
|
+
localVarUseFormData = true;
|
|
629
|
+
|
|
630
|
+
if (mapping !== undefined) {
|
|
631
|
+
localVarFormParams['mapping'] = ObjectSerializer.serialize(mapping, "string");
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
635
|
+
method: 'POST',
|
|
636
|
+
qs: localVarQueryParameters,
|
|
637
|
+
headers: localVarHeaderParams,
|
|
638
|
+
uri: localVarPath,
|
|
639
|
+
useQuerystring: this._useQuerystring,
|
|
640
|
+
json: true,
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
let authenticationPromise = Promise.resolve();
|
|
644
|
+
if (this.authentications.apiKey.apiKey) {
|
|
645
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.apiKey.applyToRequest(localVarRequestOptions));
|
|
646
|
+
}
|
|
647
|
+
if (this.authentications.partnerKey.apiKey) {
|
|
648
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.partnerKey.applyToRequest(localVarRequestOptions));
|
|
649
|
+
}
|
|
650
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
651
|
+
|
|
652
|
+
let interceptorPromise = authenticationPromise;
|
|
653
|
+
for (const interceptor of this.interceptors) {
|
|
654
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
return interceptorPromise.then(() => {
|
|
658
|
+
if (Object.keys(localVarFormParams).length) {
|
|
659
|
+
if (localVarUseFormData) {
|
|
660
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
661
|
+
} else {
|
|
662
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return new Promise<{ response: http.IncomingMessage; body: CompaniesImportPost200Response; }>((resolve, reject) => {
|
|
666
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
667
|
+
if (error) {
|
|
668
|
+
reject(error);
|
|
669
|
+
} else {
|
|
670
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
671
|
+
body = ObjectSerializer.deserialize(body, "CompaniesImportPost200Response");
|
|
672
|
+
resolve({ response: response, body: body });
|
|
673
|
+
} else {
|
|
674
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
});
|
|
678
|
+
});
|
|
679
|
+
});
|
|
680
|
+
}
|
|
503
681
|
/**
|
|
504
682
|
*
|
|
505
683
|
* @summary Link and Unlink a deal with contacts and companies
|
|
@@ -727,6 +905,8 @@ export class DealsApi {
|
|
|
727
905
|
/**
|
|
728
906
|
* This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead.
|
|
729
907
|
* @summary Get pipeline stages
|
|
908
|
+
*
|
|
909
|
+
* @deprecated
|
|
730
910
|
*/
|
|
731
911
|
public async crmPipelineDetailsGet (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Pipeline; }> {
|
|
732
912
|
const localVarPath = this.basePath + '/crm/pipeline/details';
|
package/api/ecommerceApi.ts
CHANGED
|
@@ -627,11 +627,11 @@ export class EcommerceApi {
|
|
|
627
627
|
}
|
|
628
628
|
/**
|
|
629
629
|
*
|
|
630
|
-
* @summary Get detailed attribution metrics for a single Brevo campaign
|
|
631
|
-
* @param conversionSource The Brevo campaign type for which data will be retrieved
|
|
632
|
-
* @param conversionSourceId The Brevo campaign id for which data will be retrieved
|
|
630
|
+
* @summary Get detailed attribution metrics for a single Brevo campaign or workflow
|
|
631
|
+
* @param conversionSource The Brevo campaign type or workflow type for which data will be retrieved
|
|
632
|
+
* @param conversionSourceId The Brevo campaign or automation workflow id for which data will be retrieved
|
|
633
633
|
*/
|
|
634
|
-
public async ecommerceAttributionMetricsConversionSourceConversionSourceIdGet (conversionSource: 'email_campaign', conversionSourceId:
|
|
634
|
+
public async ecommerceAttributionMetricsConversionSourceConversionSourceIdGet (conversionSource: 'email_campaign' | 'sms_campaign' | 'automation_workflow_email' | 'automation_workflow_sms', conversionSourceId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: EcommerceAttributionMetricsConversionSourceConversionSourceIdGet200Response; }> {
|
|
635
635
|
const localVarPath = this.basePath + '/ecommerce/attribution/metrics/{conversionSource}/{conversionSourceId}'
|
|
636
636
|
.replace('{' + 'conversionSource' + '}', encodeURIComponent(String(conversionSource)))
|
|
637
637
|
.replace('{' + 'conversionSourceId' + '}', encodeURIComponent(String(conversionSourceId)));
|
|
@@ -709,12 +709,15 @@ export class EcommerceApi {
|
|
|
709
709
|
}
|
|
710
710
|
/**
|
|
711
711
|
*
|
|
712
|
-
* @summary Get attribution metrics for one or more Brevo campaigns
|
|
712
|
+
* @summary Get attribution metrics for one or more Brevo campaigns or workflows
|
|
713
713
|
* @param periodFrom When getting metrics for a specific period, define the starting datetime in RFC3339 format
|
|
714
714
|
* @param periodTo When getting metrics for a specific period, define the end datetime in RFC3339 format
|
|
715
|
-
* @param emailCampaignId The email campaign
|
|
715
|
+
* @param emailCampaignId The email campaign ID(s) to get metrics for
|
|
716
|
+
* @param smsCampaignId The SMS campaign ID(s) to get metrics for
|
|
717
|
+
* @param automationWorkflowEmailId The automation workflow ID(s) to get email attribution metrics for
|
|
718
|
+
* @param automationWorkflowSmsId The automation workflow ID(s) to get SMS attribution metrics for
|
|
716
719
|
*/
|
|
717
|
-
public async ecommerceAttributionMetricsGet (periodFrom?: Date, periodTo?: Date, emailCampaignId?: Array<
|
|
720
|
+
public async ecommerceAttributionMetricsGet (periodFrom?: Date, periodTo?: Date, emailCampaignId?: Array<string>, smsCampaignId?: Array<string>, automationWorkflowEmailId?: Array<string>, automationWorkflowSmsId?: Array<string>, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: EcommerceAttributionMetricsGet200Response; }> {
|
|
718
721
|
const localVarPath = this.basePath + '/ecommerce/attribution/metrics';
|
|
719
722
|
let localVarQueryParameters: any = {};
|
|
720
723
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -736,7 +739,19 @@ export class EcommerceApi {
|
|
|
736
739
|
}
|
|
737
740
|
|
|
738
741
|
if (emailCampaignId !== undefined) {
|
|
739
|
-
localVarQueryParameters['emailCampaignId[]'] = ObjectSerializer.serialize(emailCampaignId, "Array<
|
|
742
|
+
localVarQueryParameters['emailCampaignId[]'] = ObjectSerializer.serialize(emailCampaignId, "Array<string>");
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
if (smsCampaignId !== undefined) {
|
|
746
|
+
localVarQueryParameters['smsCampaignId[]'] = ObjectSerializer.serialize(smsCampaignId, "Array<string>");
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
if (automationWorkflowEmailId !== undefined) {
|
|
750
|
+
localVarQueryParameters['automationWorkflowEmailId[]'] = ObjectSerializer.serialize(automationWorkflowEmailId, "Array<string>");
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
if (automationWorkflowSmsId !== undefined) {
|
|
754
|
+
localVarQueryParameters['automationWorkflowSmsId[]'] = ObjectSerializer.serialize(automationWorkflowSmsId, "Array<string>");
|
|
740
755
|
}
|
|
741
756
|
|
|
742
757
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -792,11 +807,11 @@ export class EcommerceApi {
|
|
|
792
807
|
}
|
|
793
808
|
/**
|
|
794
809
|
*
|
|
795
|
-
* @summary Get attributed product sales for a single Brevo campaign
|
|
796
|
-
* @param conversionSource The Brevo campaign type for which data will be retrieved
|
|
797
|
-
* @param conversionSourceId The Brevo campaign id for which data will be retrieved
|
|
810
|
+
* @summary Get attributed product sales for a single Brevo campaign or workflow
|
|
811
|
+
* @param conversionSource The Brevo campaign or automation workflow type for which data will be retrieved
|
|
812
|
+
* @param conversionSourceId The Brevo campaign or automation workflow id for which data will be retrieved
|
|
798
813
|
*/
|
|
799
|
-
public async ecommerceAttributionProductsConversionSourceConversionSourceIdGet (conversionSource: 'email_campaign', conversionSourceId:
|
|
814
|
+
public async ecommerceAttributionProductsConversionSourceConversionSourceIdGet (conversionSource: 'email_campaign' | 'sms_campaign' | 'automation_workflow_email' | 'automation_workflow_sms', conversionSourceId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: EcommerceAttributionProductsConversionSourceConversionSourceIdGet200Response; }> {
|
|
800
815
|
const localVarPath = this.basePath + '/ecommerce/attribution/products/{conversionSource}/{conversionSourceId}'
|
|
801
816
|
.replace('{' + 'conversionSource' + '}', encodeURIComponent(String(conversionSource)))
|
|
802
817
|
.replace('{' + 'conversionSourceId' + '}', encodeURIComponent(String(conversionSourceId)));
|
|
@@ -948,8 +963,8 @@ export class EcommerceApi {
|
|
|
948
963
|
* @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
|
949
964
|
* @param ids Filter by category ids
|
|
950
965
|
* @param name Filter by category name
|
|
951
|
-
* @param modifiedSince Filter (urlencoded) the categories modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.**
|
|
952
|
-
* @param createdSince Filter (urlencoded) the categories created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.**
|
|
966
|
+
* @param modifiedSince Filter (urlencoded) the categories modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.**
|
|
967
|
+
* @param createdSince Filter (urlencoded) the categories created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.**
|
|
953
968
|
*/
|
|
954
969
|
public async getCategories (limit?: number, offset?: number, sort?: 'asc' | 'desc', ids?: Array<string>, name?: string, modifiedSince?: string, createdSince?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: GetCategories; }> {
|
|
955
970
|
const localVarPath = this.basePath + '/categories';
|
package/api/emailCampaignsApi.ts
CHANGED
|
@@ -500,7 +500,7 @@ export class EmailCampaignsApi {
|
|
|
500
500
|
* @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
|
501
501
|
* @param excludeHtmlContent Use this flag to exclude htmlContent from the response body. If set to **true**, htmlContent field will be returned as empty string in the response body
|
|
502
502
|
*/
|
|
503
|
-
public async getEmailCampaigns (type?: 'classic' | 'trigger', status?: 'suspended' | 'archive' | 'sent' | 'queued' | 'draft' | 'inProcess', statistics?: 'globalStats' | 'linksStats' | 'statsByDomain', startDate?: string, endDate?: string, limit?: number, offset?: number, sort?: 'asc' | 'desc', excludeHtmlContent?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: GetEmailCampaigns; }> {
|
|
503
|
+
public async getEmailCampaigns (type?: 'classic' | 'trigger', status?: 'suspended' | 'archive' | 'sent' | 'queued' | 'draft' | 'inProcess' | 'inReview', statistics?: 'globalStats' | 'linksStats' | 'statsByDomain', startDate?: string, endDate?: string, limit?: number, offset?: number, sort?: 'asc' | 'desc', excludeHtmlContent?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: GetEmailCampaigns; }> {
|
|
504
504
|
const localVarPath = this.basePath + '/emailCampaigns';
|
|
505
505
|
let localVarQueryParameters: any = {};
|
|
506
506
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -518,7 +518,7 @@ export class EmailCampaignsApi {
|
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
if (status !== undefined) {
|
|
521
|
-
localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "'suspended' | 'archive' | 'sent' | 'queued' | 'draft' | 'inProcess'");
|
|
521
|
+
localVarQueryParameters['status'] = ObjectSerializer.serialize(status, "'suspended' | 'archive' | 'sent' | 'queued' | 'draft' | 'inProcess' | 'inReview'");
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
if (statistics !== undefined) {
|
package/api/masterAccountApi.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { CorporateGroupPostRequest } from '../model/corporateGroupPostRequest';
|
|
|
21
21
|
import { CorporateGroupUnlinkGroupIdSubAccountsPutRequest } from '../model/corporateGroupUnlinkGroupIdSubAccountsPutRequest';
|
|
22
22
|
import { CorporateSubAccountIpAssociatePostRequest } from '../model/corporateSubAccountIpAssociatePostRequest';
|
|
23
23
|
import { CorporateSubAccountIpDissociatePutRequest } from '../model/corporateSubAccountIpDissociatePutRequest';
|
|
24
|
+
import { CorporateUserEmailPermissionsPutRequest } from '../model/corporateUserEmailPermissionsPutRequest';
|
|
24
25
|
import { CorporateUserInvitationActionEmailPut200Response } from '../model/corporateUserInvitationActionEmailPut200Response';
|
|
25
26
|
import { CreateApiKeyRequest } from '../model/createApiKeyRequest';
|
|
26
27
|
import { CreateApiKeyResponse } from '../model/createApiKeyResponse';
|
|
@@ -40,6 +41,7 @@ import { SubAccountAppsToggleRequest } from '../model/subAccountAppsToggleReques
|
|
|
40
41
|
import { SubAccountDetailsResponse } from '../model/subAccountDetailsResponse';
|
|
41
42
|
import { SubAccountUpdatePlanRequest } from '../model/subAccountUpdatePlanRequest';
|
|
42
43
|
import { SubAccountsResponse } from '../model/subAccountsResponse';
|
|
44
|
+
import { SubAccountsUpdatePlanRequest } from '../model/subAccountsUpdatePlanRequest';
|
|
43
45
|
|
|
44
46
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
45
47
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models';
|
|
@@ -501,6 +503,73 @@ export class MasterAccountApi {
|
|
|
501
503
|
});
|
|
502
504
|
});
|
|
503
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
|
+
}
|
|
504
573
|
/**
|
|
505
574
|
* This endpoint will provide the details of the master account.
|
|
506
575
|
* @summary Get the details of requested master account
|
|
@@ -1418,7 +1487,162 @@ export class MasterAccountApi {
|
|
|
1418
1487
|
});
|
|
1419
1488
|
}
|
|
1420
1489
|
/**
|
|
1421
|
-
* 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
|
|
1422
1646
|
* @summary Resend / cancel admin user invitation
|
|
1423
1647
|
* @param action Action to be performed (cancel / resend)
|
|
1424
1648
|
* @param email Email address of the recipient
|
|
@@ -1578,10 +1802,11 @@ export class MasterAccountApi {
|
|
|
1578
1802
|
* @summary Get user activity logs
|
|
1579
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.
|
|
1580
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.
|
|
1581
1806
|
* @param limit Number of documents per page
|
|
1582
1807
|
* @param offset Index of the first document in the page.
|
|
1583
1808
|
*/
|
|
1584
|
-
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; }> {
|
|
1585
1810
|
const localVarPath = this.basePath + '/organization/activities';
|
|
1586
1811
|
let localVarQueryParameters: any = {};
|
|
1587
1812
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -1602,6 +1827,10 @@ export class MasterAccountApi {
|
|
|
1602
1827
|
localVarQueryParameters['endDate'] = ObjectSerializer.serialize(endDate, "string");
|
|
1603
1828
|
}
|
|
1604
1829
|
|
|
1830
|
+
if (email !== undefined) {
|
|
1831
|
+
localVarQueryParameters['email'] = ObjectSerializer.serialize(email, "string");
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1605
1834
|
if (limit !== undefined) {
|
|
1606
1835
|
localVarQueryParameters['limit'] = ObjectSerializer.serialize(limit, "number");
|
|
1607
1836
|
}
|
|
@@ -1730,7 +1959,7 @@ export class MasterAccountApi {
|
|
|
1730
1959
|
});
|
|
1731
1960
|
}
|
|
1732
1961
|
/**
|
|
1733
|
-
*
|
|
1962
|
+
* This endpoint will provide the list of admin user permissions
|
|
1734
1963
|
* @summary Check admin user permissions
|
|
1735
1964
|
* @param email Email of the invited user
|
|
1736
1965
|
*/
|
|
@@ -1873,7 +2102,7 @@ export class MasterAccountApi {
|
|
|
1873
2102
|
});
|
|
1874
2103
|
}
|
|
1875
2104
|
/**
|
|
1876
|
-
* `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.
|
|
1877
2106
|
* @summary Send invitation to an admin user
|
|
1878
2107
|
* @param sendInvitation Payload to send an invitation
|
|
1879
2108
|
*/
|