@getbrevo/brevo 5.0.0 → 5.0.3
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/README.md +4 -4
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +12 -0
- package/dist/cjs/Client.js +67 -0
- package/dist/cjs/api/resources/account/exports.d.ts +2 -0
- package/dist/cjs/api/resources/account/exports.js +21 -0
- package/dist/cjs/api/resources/account/types/GetAccountActivityResponse.d.ts +1 -1
- package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +7 -7
- package/dist/cjs/api/resources/balance/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/balance/client/Client.js +20 -11
- package/dist/cjs/api/resources/balance/client/requests/GetContactBalancesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.ts +10 -6
- package/dist/cjs/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.ts +10 -1
- package/dist/cjs/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.ts +10 -1
- package/dist/cjs/api/resources/balance/exports.d.ts +2 -0
- package/dist/cjs/api/resources/balance/exports.js +21 -0
- package/dist/cjs/api/resources/balance/types/CreateBalanceOrderResponse.d.ts +6 -6
- package/dist/cjs/api/resources/balance/types/GetBalanceDefinitionListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/balance/types/GetContactBalancesResponse.d.ts +8 -8
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.js +11 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.ts +5 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.js +8 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.ts +15 -15
- package/dist/cjs/api/resources/balance/types/GetSubscriptionBalancesResponse.d.ts +3 -3
- package/dist/cjs/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.ts +9 -9
- package/dist/cjs/api/resources/balance/types/index.d.ts +2 -1
- package/dist/cjs/api/resources/balance/types/index.js +2 -1
- package/dist/cjs/api/resources/companies/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/companies/client/Client.js +107 -0
- package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.ts +10 -0
- package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.js +3 -0
- package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.ts +33 -0
- package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.js +12 -0
- package/dist/cjs/api/resources/companies/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/companies/client/requests/index.js +3 -1
- package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
- package/dist/cjs/api/resources/companies/exports.js +21 -0
- package/dist/cjs/api/resources/companies/types/GetCompaniesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.ts +5 -5
- package/dist/cjs/api/resources/companies/types/PostCompaniesImportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +15 -45
- package/dist/cjs/api/resources/contacts/client/Client.js +15 -45
- package/dist/cjs/api/resources/contacts/client/requests/AddContactToListRequest.d.ts +0 -24
- package/dist/cjs/api/resources/contacts/client/requests/ImportContactsRequest.d.ts +4 -4
- package/dist/cjs/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.ts +0 -32
- package/dist/cjs/api/resources/contacts/client/requests/RequestContactExportRequest.d.ts +7 -7
- package/dist/cjs/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.ts +10 -10
- package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/exports.js +21 -0
- package/dist/cjs/api/resources/contacts/types/CreateContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/GetAttributesResponse.d.ts +4 -4
- package/dist/cjs/api/resources/contacts/types/GetContactInfoResponse.d.ts +13 -13
- package/dist/cjs/api/resources/contacts/types/GetContactStatsResponse.d.ts +11 -11
- package/dist/cjs/api/resources/contacts/types/GetFolderListsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetFoldersResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetListResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetListsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetSegmentsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.ts +2 -2
- package/dist/cjs/api/resources/coupons/exports.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/exports.js +21 -0
- package/dist/cjs/api/resources/customObjects/client/Client.d.ts +6 -14
- package/dist/cjs/api/resources/customObjects/client/Client.js +6 -14
- package/dist/cjs/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.ts +6 -6
- package/dist/cjs/api/resources/customObjects/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customObjects/exports.js +21 -0
- package/dist/cjs/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/customObjects/types/GetrecordsResponse.d.ts +9 -9
- package/dist/cjs/api/resources/customObjects/types/UpsertrecordsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/deals/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/deals/client/Client.js +2 -0
- package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
- package/dist/cjs/api/resources/deals/exports.js +21 -0
- package/dist/cjs/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.ts +5 -5
- package/dist/cjs/api/resources/deals/types/GetCrmDealsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/deals/types/PostCrmDealsImportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/domains/client/requests/AuthenticateDomainRequest.d.ts +0 -5
- package/dist/cjs/api/resources/domains/client/requests/CreateDomainRequest.d.ts +0 -10
- package/dist/cjs/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.ts +0 -5
- package/dist/cjs/api/resources/domains/exports.d.ts +2 -0
- package/dist/cjs/api/resources/domains/exports.js +21 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +2 -2
- package/dist/cjs/api/resources/domains/types/GetDomainsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/client/Client.d.ts +2 -4
- package/dist/cjs/api/resources/ecommerce/client/Client.js +2 -4
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.ts +1 -2
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.ts +3 -3
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.ts +4 -4
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.ts +15 -11
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.ts +5 -1
- package/dist/cjs/api/resources/ecommerce/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ecommerce/exports.js +21 -0
- package/dist/cjs/api/resources/ecommerce/types/CreateBatchOrderResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.ts +2 -2
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateProductResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.ts +7 -7
- package/dist/cjs/api/resources/emailCampaigns/client/Client.d.ts +2 -5
- package/dist/cjs/api/resources/emailCampaigns/client/Client.js +4 -6
- package/dist/cjs/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.ts +9 -9
- package/dist/cjs/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.ts +9 -9
- package/dist/cjs/api/resources/emailCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.ts +8 -8
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.ts +32 -25
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.js +2 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.ts +34 -27
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.js +3 -0
- package/dist/cjs/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/event/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/event/client/Client.js +125 -0
- package/dist/cjs/api/resources/event/client/requests/CreateEventRequest.d.ts +10 -10
- package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.js +3 -0
- package/dist/cjs/api/resources/event/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/exports.d.ts +2 -0
- package/dist/cjs/api/resources/event/exports.js +21 -0
- package/dist/cjs/api/resources/event/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/index.js +1 -0
- package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.d.ts +59 -0
- package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.js +3 -0
- package/dist/cjs/api/resources/event/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/types/index.js +17 -0
- package/dist/cjs/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.ts +0 -10
- package/dist/cjs/api/resources/externalFeeds/exports.d.ts +2 -0
- package/dist/cjs/api/resources/externalFeeds/exports.js +21 -0
- package/dist/cjs/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.ts +4 -4
- package/dist/cjs/api/resources/files/exports.d.ts +2 -0
- package/dist/cjs/api/resources/files/exports.js +21 -0
- package/dist/cjs/api/resources/files/types/GetCrmFilesIdResponse.d.ts +1 -1
- package/dist/cjs/api/resources/inboundParsing/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/inboundParsing/client/Client.js +1 -0
- package/dist/cjs/api/resources/inboundParsing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/inboundParsing/exports.js +21 -0
- package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.ts +14 -14
- package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +1 -0
- package/dist/cjs/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.ts +9 -9
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.ts +8 -8
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/exports.d.ts +2 -0
- package/dist/cjs/api/resources/masterAccount/exports.js +21 -0
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.ts +12 -12
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.ts +11 -11
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.ts +3 -3
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.ts +31 -31
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.ts +37 -37
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.ts +4 -4
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.ts +10 -10
- package/dist/cjs/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/types/InviteAdminUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/masterAccount/types/PostCorporateGroupResponse.d.ts +1 -1
- package/dist/cjs/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.ts +1 -1
- package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/notes/exports.js +21 -0
- package/dist/cjs/api/resources/notes/types/PostCrmNotesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/payments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/payments/exports.js +21 -0
- package/dist/cjs/api/resources/payments/types/CreatePaymentRequestResponse.d.ts +1 -1
- package/dist/cjs/api/resources/payments/types/GetPaymentRequestResponse.d.ts +3 -3
- package/dist/cjs/api/resources/process/client/requests/GetProcessRequest.d.ts +0 -15
- package/dist/cjs/api/resources/process/exports.d.ts +2 -0
- package/dist/cjs/api/resources/process/exports.js +21 -0
- package/dist/cjs/api/resources/process/types/GetProcessResponse.d.ts +16 -16
- package/dist/cjs/api/resources/process/types/GetProcessesResponse.d.ts +16 -16
- package/dist/cjs/api/resources/program/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/program/client/Client.js +69 -1
- package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.ts +13 -0
- package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.js +3 -0
- package/dist/cjs/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.ts +2 -0
- package/dist/cjs/api/resources/program/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/program/exports.d.ts +2 -0
- package/dist/cjs/api/resources/program/exports.js +21 -0
- package/dist/cjs/api/resources/program/types/GetLpListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.ts +28 -28
- package/dist/cjs/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.ts +5 -5
- package/dist/cjs/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.ts +7 -7
- package/dist/cjs/api/resources/reward/client/requests/RedeemVoucherRequest.d.ts +26 -26
- package/dist/cjs/api/resources/reward/exports.d.ts +2 -0
- package/dist/cjs/api/resources/reward/exports.js +21 -0
- package/dist/cjs/api/resources/reward/types/CreateRewardResponse.d.ts +8 -8
- package/dist/cjs/api/resources/reward/types/CreateVoucherResponse.d.ts +11 -11
- package/dist/cjs/api/resources/reward/types/GetCodeCountResponse.d.ts +1 -1
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.ts +11 -11
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.ts +81 -81
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.ts +15 -15
- package/dist/cjs/api/resources/reward/types/ValidateRewardResponse.d.ts +1 -1
- package/dist/cjs/api/resources/senders/client/requests/CreateSenderRequest.d.ts +1 -13
- package/dist/cjs/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.ts +0 -5
- package/dist/cjs/api/resources/senders/client/requests/GetSendersRequest.d.ts +0 -3
- package/dist/cjs/api/resources/senders/client/requests/UpdateSenderRequest.d.ts +1 -1
- package/dist/cjs/api/resources/senders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/senders/exports.js +21 -0
- package/dist/cjs/api/resources/senders/types/CreateSenderResponse.d.ts +2 -2
- package/dist/cjs/api/resources/senders/types/GetSendersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/smsCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/smsTemplates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/smsTemplates/exports.js +21 -0
- package/dist/cjs/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.ts +17 -17
- package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tasks/exports.js +21 -0
- package/dist/cjs/api/resources/tasks/types/GetCrmTasksResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tasks/types/GetCrmTasktypesResponse.d.ts +2 -2
- package/dist/cjs/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.ts +3 -3
- package/dist/cjs/api/resources/tier/client/requests/CreateTierGroupRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tier/client/requests/UpdateTierGroupRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tier/client/requests/UpdateTierRequest.d.ts +3 -3
- package/dist/cjs/api/resources/tier/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tier/exports.js +21 -0
- package/dist/cjs/api/resources/tier/types/AddSubscriptionToTierResponse.d.ts +7 -7
- package/dist/cjs/api/resources/tier/types/GetListOfTierGroupsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/client/Client.d.ts +2 -6
- package/dist/cjs/api/resources/transactionalEmails/client/Client.js +2 -6
- package/dist/cjs/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.ts +0 -7
- package/dist/cjs/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.ts +21 -21
- package/dist/cjs/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalEmails/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalEmails/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.ts +13 -13
- package/dist/cjs/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.ts +8 -8
- package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.ts +2 -2
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.ts +5 -5
- package/dist/cjs/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.ts +6 -6
- package/dist/cjs/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.ts +2 -2
- package/dist/cjs/api/resources/transactionalSms/client/Client.d.ts +5 -9
- package/dist/cjs/api/resources/transactionalSms/client/Client.js +5 -9
- package/dist/cjs/api/resources/transactionalSms/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalSms/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalSms/types/GetSmsEventsResponse.d.ts +8 -8
- package/dist/cjs/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.ts +11 -11
- package/dist/cjs/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.ts +12 -12
- package/dist/cjs/api/resources/transactionalSms/types/SendTransacSmsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.js +2 -1
- package/dist/cjs/api/resources/transactionalWhatsApp/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalWhatsApp/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.ts +4 -4
- package/dist/cjs/api/resources/user/exports.d.ts +2 -0
- package/dist/cjs/api/resources/user/exports.js +21 -0
- package/dist/cjs/api/resources/user/types/EditUserPermissionResponse.d.ts +2 -2
- package/dist/cjs/api/resources/user/types/GetInvitedUsersListResponse.d.ts +4 -4
- package/dist/cjs/api/resources/user/types/InviteuserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/PutRevokeUserPermissionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/PutresendcancelinvitationResponse.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -13
- package/dist/cjs/api/resources/webhooks/client/Client.js +7 -13
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +6 -4
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +1 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.ts +6 -4
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.js +1 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.d.ts +19 -44
- package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.js +19 -44
- package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.ts +3 -3
- package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.ts +3 -3
- package/dist/cjs/api/resources/whatsAppCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.ts +15 -15
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.ts +6 -6
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.ts +6 -6
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.ts +3 -3
- package/dist/cjs/api/types/BalanceDefinition.d.ts +20 -20
- package/dist/cjs/api/types/BalanceLimit.d.ts +8 -8
- package/dist/cjs/api/types/BatchAcceptedResponse.d.ts +9 -0
- package/dist/cjs/api/types/BatchAcceptedResponse.js +3 -0
- package/dist/cjs/api/types/BatchEventsResponse.d.ts +26 -0
- package/dist/cjs/api/types/BatchEventsResponse.js +3 -0
- package/dist/cjs/api/types/Company.d.ts +4 -4
- package/dist/cjs/api/types/ContactErrorModel.d.ts +1 -1
- package/dist/cjs/api/types/ConversationsMessage.d.ts +53 -53
- package/dist/cjs/api/types/CreateUpdateFolder.d.ts +1 -1
- package/dist/cjs/api/types/Deal.d.ts +4 -4
- package/dist/cjs/api/types/ErrorModel.d.ts +1 -1
- package/dist/cjs/api/types/FileData.d.ts +7 -7
- package/dist/cjs/api/types/GetCampaignStats.d.ts +7 -7
- package/dist/cjs/api/types/GetCategoryDetails.d.ts +1 -1
- package/dist/cjs/api/types/GetContactDetails.d.ts +2 -2
- package/dist/cjs/api/types/GetCouponCollection.d.ts +3 -3
- package/dist/cjs/api/types/GetEventsList.d.ts +32 -0
- package/dist/cjs/api/types/GetEventsList.js +3 -0
- package/dist/cjs/api/types/GetExtendedCampaignOverview.d.ts +32 -25
- package/dist/cjs/api/types/GetExtendedCampaignOverview.js +3 -0
- package/dist/cjs/api/types/GetExtendedCampaignStats.d.ts +4 -4
- package/dist/cjs/api/types/GetProductDetails.d.ts +14 -10
- package/dist/cjs/api/types/GetSmsCampaignOverview.d.ts +1 -1
- package/dist/cjs/api/types/GetSmtpTemplateOverview.d.ts +4 -4
- package/dist/cjs/api/types/GetWebhook.d.ts +4 -4
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +48 -0
- package/dist/cjs/api/types/InternalServerErrorBody.js +46 -0
- package/dist/cjs/api/types/Inviteuser.d.ts +2 -2
- package/dist/cjs/api/types/LoyaltyProgram.d.ts +12 -12
- package/dist/cjs/api/types/NodeResponse.d.ts +8 -8
- package/dist/cjs/api/types/Note.d.ts +6 -6
- package/dist/cjs/api/types/NoteData.d.ts +3 -3
- package/dist/cjs/api/types/Order.d.ts +30 -20
- package/dist/cjs/api/types/Pipeline.d.ts +5 -5
- package/dist/cjs/api/types/PostContactInfo.d.ts +4 -4
- package/dist/cjs/api/types/PostSendFailed.d.ts +3 -3
- package/dist/cjs/api/types/Redeem.d.ts +14 -14
- package/dist/cjs/api/types/RuleConditionResponse.d.ts +5 -5
- package/dist/cjs/api/types/SendReport.d.ts +1 -1
- package/dist/cjs/api/types/SendTestEmail.d.ts +1 -1
- package/dist/cjs/api/types/SendTransacSms.d.ts +10 -6
- package/dist/cjs/api/types/Task.d.ts +4 -4
- package/dist/cjs/api/types/Tier.d.ts +16 -16
- package/dist/cjs/api/types/TierGroup.d.ts +8 -8
- package/dist/cjs/api/types/Transaction.d.ts +15 -15
- package/dist/cjs/api/types/UpdateCampaignStatus.d.ts +2 -1
- package/dist/cjs/api/types/UpdateCampaignStatus.js +1 -0
- package/dist/cjs/api/types/ValueResponse.d.ts +8 -8
- package/dist/cjs/api/types/VariablesItems.d.ts +3 -3
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/Fetcher.js +8 -2
- package/dist/cjs/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/core/fetcher/index.js +3 -1
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/cjs/core/fetcher/makeRequest.js +30 -9
- package/dist/cjs/core/runtime/runtime.js +8 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +12 -0
- package/dist/esm/Client.mjs +34 -0
- package/dist/esm/api/resources/account/exports.d.mts +2 -0
- package/dist/esm/api/resources/account/exports.mjs +3 -0
- package/dist/esm/api/resources/account/types/GetAccountActivityResponse.d.mts +1 -1
- package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +7 -7
- package/dist/esm/api/resources/balance/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/balance/client/Client.mjs +20 -11
- package/dist/esm/api/resources/balance/client/requests/GetContactBalancesRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.mts +10 -6
- package/dist/esm/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.mts +10 -1
- package/dist/esm/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.mts +10 -1
- package/dist/esm/api/resources/balance/exports.d.mts +2 -0
- package/dist/esm/api/resources/balance/exports.mjs +3 -0
- package/dist/esm/api/resources/balance/types/CreateBalanceOrderResponse.d.mts +6 -6
- package/dist/esm/api/resources/balance/types/GetBalanceDefinitionListResponse.d.mts +1 -1
- package/dist/esm/api/resources/balance/types/GetContactBalancesResponse.d.mts +8 -8
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.mts +5 -0
- package/dist/esm/api/resources/balance/types/{GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.mjs → GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.mjs} +3 -4
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.mts +15 -15
- package/dist/esm/api/resources/balance/types/GetSubscriptionBalancesResponse.d.mts +3 -3
- package/dist/esm/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.mts +9 -9
- package/dist/esm/api/resources/balance/types/index.d.mts +2 -1
- package/dist/esm/api/resources/balance/types/index.mjs +2 -1
- package/dist/esm/api/resources/companies/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/companies/client/Client.mjs +107 -0
- package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.mts +10 -0
- package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.mjs +2 -0
- package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.mts +33 -0
- package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.mjs +9 -0
- package/dist/esm/api/resources/companies/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/companies/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/companies/exports.d.mts +2 -0
- package/dist/esm/api/resources/companies/exports.mjs +3 -0
- package/dist/esm/api/resources/companies/types/GetCompaniesResponse.d.mts +1 -1
- package/dist/esm/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.mts +5 -5
- package/dist/esm/api/resources/companies/types/PostCompaniesImportResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/client/Client.d.mts +15 -45
- package/dist/esm/api/resources/contacts/client/Client.mjs +15 -45
- package/dist/esm/api/resources/contacts/client/requests/AddContactToListRequest.d.mts +0 -24
- package/dist/esm/api/resources/contacts/client/requests/ImportContactsRequest.d.mts +4 -4
- package/dist/esm/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.mts +0 -32
- package/dist/esm/api/resources/contacts/client/requests/RequestContactExportRequest.d.mts +7 -7
- package/dist/esm/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.mts +10 -10
- package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/contacts/exports.mjs +3 -0
- package/dist/esm/api/resources/contacts/types/CreateContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/GetAttributesResponse.d.mts +4 -4
- package/dist/esm/api/resources/contacts/types/GetContactInfoResponse.d.mts +13 -13
- package/dist/esm/api/resources/contacts/types/GetContactStatsResponse.d.mts +11 -11
- package/dist/esm/api/resources/contacts/types/GetFolderListsResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetFoldersResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetListResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetListsResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetSegmentsResponse.d.mts +3 -3
- package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.mts +2 -2
- package/dist/esm/api/resources/coupons/exports.d.mts +2 -0
- package/dist/esm/api/resources/coupons/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjects/client/Client.d.mts +6 -14
- package/dist/esm/api/resources/customObjects/client/Client.mjs +6 -14
- package/dist/esm/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.mts +6 -6
- package/dist/esm/api/resources/customObjects/exports.d.mts +2 -0
- package/dist/esm/api/resources/customObjects/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.mts +2 -2
- package/dist/esm/api/resources/customObjects/types/GetrecordsResponse.d.mts +9 -9
- package/dist/esm/api/resources/customObjects/types/UpsertrecordsResponse.d.mts +3 -3
- package/dist/esm/api/resources/deals/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/deals/client/Client.mjs +2 -0
- package/dist/esm/api/resources/deals/exports.d.mts +2 -0
- package/dist/esm/api/resources/deals/exports.mjs +3 -0
- package/dist/esm/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.mts +5 -5
- package/dist/esm/api/resources/deals/types/GetCrmDealsResponse.d.mts +1 -1
- package/dist/esm/api/resources/deals/types/PostCrmDealsImportResponse.d.mts +1 -1
- package/dist/esm/api/resources/domains/client/requests/AuthenticateDomainRequest.d.mts +0 -5
- package/dist/esm/api/resources/domains/client/requests/CreateDomainRequest.d.mts +0 -10
- package/dist/esm/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.mts +0 -5
- package/dist/esm/api/resources/domains/exports.d.mts +2 -0
- package/dist/esm/api/resources/domains/exports.mjs +3 -0
- package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +2 -2
- package/dist/esm/api/resources/domains/types/GetDomainsResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/client/Client.d.mts +2 -4
- package/dist/esm/api/resources/ecommerce/client/Client.mjs +2 -4
- package/dist/esm/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.mts +1 -2
- package/dist/esm/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.mts +3 -3
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.mts +4 -4
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.mts +15 -11
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.mts +5 -1
- package/dist/esm/api/resources/ecommerce/exports.d.mts +2 -0
- package/dist/esm/api/resources/ecommerce/exports.mjs +3 -0
- package/dist/esm/api/resources/ecommerce/types/CreateBatchOrderResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.mts +2 -2
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.mts +2 -2
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateProductResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.mts +7 -7
- package/dist/esm/api/resources/emailCampaigns/client/Client.d.mts +2 -5
- package/dist/esm/api/resources/emailCampaigns/client/Client.mjs +4 -6
- package/dist/esm/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.mts +9 -9
- package/dist/esm/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.mts +9 -9
- package/dist/esm/api/resources/emailCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.mts +8 -8
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.mts +32 -25
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.mjs +2 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.mts +34 -27
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.mts +1 -1
- package/dist/esm/api/resources/event/client/Client.d.mts +36 -0
- package/dist/esm/api/resources/event/client/Client.mjs +125 -0
- package/dist/esm/api/resources/event/client/requests/CreateEventRequest.d.mts +10 -10
- package/dist/esm/api/resources/event/client/requests/GetEventsRequest.d.mts +20 -0
- package/dist/esm/api/resources/event/client/requests/GetEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/event/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/event/exports.d.mts +2 -0
- package/dist/esm/api/resources/event/exports.mjs +3 -0
- package/dist/esm/api/resources/event/index.d.mts +1 -0
- package/dist/esm/api/resources/event/index.mjs +1 -0
- package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.d.mts +59 -0
- package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.mjs +2 -0
- package/dist/esm/api/resources/event/types/index.d.mts +1 -0
- package/dist/esm/api/resources/event/types/index.mjs +1 -0
- package/dist/esm/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.mts +0 -10
- package/dist/esm/api/resources/externalFeeds/exports.d.mts +2 -0
- package/dist/esm/api/resources/externalFeeds/exports.mjs +3 -0
- package/dist/esm/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.mts +4 -4
- package/dist/esm/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.mts +4 -4
- package/dist/esm/api/resources/files/exports.d.mts +2 -0
- package/dist/esm/api/resources/files/exports.mjs +3 -0
- package/dist/esm/api/resources/files/types/GetCrmFilesIdResponse.d.mts +1 -1
- package/dist/esm/api/resources/inboundParsing/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/inboundParsing/client/Client.mjs +1 -0
- package/dist/esm/api/resources/inboundParsing/exports.d.mts +2 -0
- package/dist/esm/api/resources/inboundParsing/exports.mjs +3 -0
- package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.mts +14 -14
- package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.mts +9 -9
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.mts +8 -8
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/exports.d.mts +2 -0
- package/dist/esm/api/resources/masterAccount/exports.mjs +3 -0
- package/dist/esm/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.mts +12 -12
- package/dist/esm/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.mts +11 -11
- package/dist/esm/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.mts +3 -3
- package/dist/esm/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.mts +31 -31
- package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.mts +37 -37
- package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.mts +4 -4
- package/dist/esm/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.mts +10 -10
- package/dist/esm/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/types/InviteAdminUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/masterAccount/types/PostCorporateGroupResponse.d.mts +1 -1
- package/dist/esm/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.mts +1 -1
- package/dist/esm/api/resources/notes/exports.d.mts +2 -0
- package/dist/esm/api/resources/notes/exports.mjs +3 -0
- package/dist/esm/api/resources/notes/types/PostCrmNotesResponse.d.mts +1 -1
- package/dist/esm/api/resources/payments/exports.d.mts +2 -0
- package/dist/esm/api/resources/payments/exports.mjs +3 -0
- package/dist/esm/api/resources/payments/types/CreatePaymentRequestResponse.d.mts +1 -1
- package/dist/esm/api/resources/payments/types/GetPaymentRequestResponse.d.mts +3 -3
- package/dist/esm/api/resources/process/client/requests/GetProcessRequest.d.mts +0 -15
- package/dist/esm/api/resources/process/exports.d.mts +2 -0
- package/dist/esm/api/resources/process/exports.mjs +3 -0
- package/dist/esm/api/resources/process/types/GetProcessResponse.d.mts +16 -16
- package/dist/esm/api/resources/process/types/GetProcessesResponse.d.mts +16 -16
- package/dist/esm/api/resources/program/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/program/client/Client.mjs +69 -1
- package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.mts +13 -0
- package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.mjs +2 -0
- package/dist/esm/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.mts +2 -0
- package/dist/esm/api/resources/program/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/program/exports.d.mts +2 -0
- package/dist/esm/api/resources/program/exports.mjs +3 -0
- package/dist/esm/api/resources/program/types/GetLpListResponse.d.mts +1 -1
- package/dist/esm/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.mts +28 -28
- package/dist/esm/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.mts +5 -5
- package/dist/esm/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.mts +7 -7
- package/dist/esm/api/resources/reward/client/requests/RedeemVoucherRequest.d.mts +26 -26
- package/dist/esm/api/resources/reward/exports.d.mts +2 -0
- package/dist/esm/api/resources/reward/exports.mjs +3 -0
- package/dist/esm/api/resources/reward/types/CreateRewardResponse.d.mts +8 -8
- package/dist/esm/api/resources/reward/types/CreateVoucherResponse.d.mts +11 -11
- package/dist/esm/api/resources/reward/types/GetCodeCountResponse.d.mts +1 -1
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.mts +11 -11
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.mts +81 -81
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.mts +15 -15
- package/dist/esm/api/resources/reward/types/ValidateRewardResponse.d.mts +1 -1
- package/dist/esm/api/resources/senders/client/requests/CreateSenderRequest.d.mts +1 -13
- package/dist/esm/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.mts +0 -5
- package/dist/esm/api/resources/senders/client/requests/GetSendersRequest.d.mts +0 -3
- package/dist/esm/api/resources/senders/client/requests/UpdateSenderRequest.d.mts +1 -1
- package/dist/esm/api/resources/senders/exports.d.mts +2 -0
- package/dist/esm/api/resources/senders/exports.mjs +3 -0
- package/dist/esm/api/resources/senders/types/CreateSenderResponse.d.mts +2 -2
- package/dist/esm/api/resources/senders/types/GetSendersResponse.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/smsCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.mts +3 -3
- package/dist/esm/api/resources/smsTemplates/exports.d.mts +2 -0
- package/dist/esm/api/resources/smsTemplates/exports.mjs +3 -0
- package/dist/esm/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.mts +17 -17
- package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
- package/dist/esm/api/resources/tasks/exports.mjs +3 -0
- package/dist/esm/api/resources/tasks/types/GetCrmTasksResponse.d.mts +1 -1
- package/dist/esm/api/resources/tasks/types/GetCrmTasktypesResponse.d.mts +2 -2
- package/dist/esm/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.mts +3 -3
- package/dist/esm/api/resources/tier/client/requests/CreateTierGroupRequest.d.mts +11 -0
- package/dist/esm/api/resources/tier/client/requests/UpdateTierGroupRequest.d.mts +11 -0
- package/dist/esm/api/resources/tier/client/requests/UpdateTierRequest.d.mts +3 -3
- package/dist/esm/api/resources/tier/exports.d.mts +2 -0
- package/dist/esm/api/resources/tier/exports.mjs +3 -0
- package/dist/esm/api/resources/tier/types/AddSubscriptionToTierResponse.d.mts +7 -7
- package/dist/esm/api/resources/tier/types/GetListOfTierGroupsResponse.d.mts +1 -1
- package/dist/esm/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/client/Client.d.mts +2 -6
- package/dist/esm/api/resources/transactionalEmails/client/Client.mjs +2 -6
- package/dist/esm/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.mts +3 -3
- package/dist/esm/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.mts +0 -7
- package/dist/esm/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.mts +21 -21
- package/dist/esm/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.mts +3 -3
- package/dist/esm/api/resources/transactionalEmails/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalEmails/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.mts +13 -13
- package/dist/esm/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.mts +8 -8
- package/dist/esm/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.mts +2 -2
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.mts +4 -4
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.mts +5 -5
- package/dist/esm/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.mts +6 -6
- package/dist/esm/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.mts +2 -2
- package/dist/esm/api/resources/transactionalSms/client/Client.d.mts +5 -9
- package/dist/esm/api/resources/transactionalSms/client/Client.mjs +5 -9
- package/dist/esm/api/resources/transactionalSms/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalSms/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalSms/types/GetSmsEventsResponse.d.mts +8 -8
- package/dist/esm/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.mts +11 -11
- package/dist/esm/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.mts +12 -12
- package/dist/esm/api/resources/transactionalSms/types/SendTransacSmsResponse.d.mts +3 -3
- package/dist/esm/api/resources/transactionalWhatsApp/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/transactionalWhatsApp/client/Client.mjs +2 -1
- package/dist/esm/api/resources/transactionalWhatsApp/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalWhatsApp/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.mts +4 -4
- package/dist/esm/api/resources/user/exports.d.mts +2 -0
- package/dist/esm/api/resources/user/exports.mjs +3 -0
- package/dist/esm/api/resources/user/types/EditUserPermissionResponse.d.mts +2 -2
- package/dist/esm/api/resources/user/types/GetInvitedUsersListResponse.d.mts +4 -4
- package/dist/esm/api/resources/user/types/InviteuserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/PutRevokeUserPermissionResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/PutresendcancelinvitationResponse.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -13
- package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -13
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +6 -4
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.mts +6 -4
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/whatsAppCampaigns/client/Client.d.mts +19 -44
- package/dist/esm/api/resources/whatsAppCampaigns/client/Client.mjs +19 -44
- package/dist/esm/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.mts +3 -3
- package/dist/esm/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.mts +3 -3
- package/dist/esm/api/resources/whatsAppCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/whatsAppCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.mts +15 -15
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.mts +6 -6
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.mts +6 -6
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.mts +3 -3
- package/dist/esm/api/types/BalanceDefinition.d.mts +20 -20
- package/dist/esm/api/types/BalanceLimit.d.mts +8 -8
- package/dist/esm/api/types/BatchAcceptedResponse.d.mts +9 -0
- package/dist/esm/api/types/BatchAcceptedResponse.mjs +2 -0
- package/dist/esm/api/types/BatchEventsResponse.d.mts +26 -0
- package/dist/esm/api/types/BatchEventsResponse.mjs +2 -0
- package/dist/esm/api/types/Company.d.mts +4 -4
- package/dist/esm/api/types/ContactErrorModel.d.mts +1 -1
- package/dist/esm/api/types/ConversationsMessage.d.mts +53 -53
- package/dist/esm/api/types/CreateUpdateFolder.d.mts +1 -1
- package/dist/esm/api/types/Deal.d.mts +4 -4
- package/dist/esm/api/types/ErrorModel.d.mts +1 -1
- package/dist/esm/api/types/FileData.d.mts +7 -7
- package/dist/esm/api/types/GetCampaignStats.d.mts +7 -7
- package/dist/esm/api/types/GetCategoryDetails.d.mts +1 -1
- package/dist/esm/api/types/GetContactDetails.d.mts +2 -2
- package/dist/esm/api/types/GetCouponCollection.d.mts +3 -3
- package/dist/esm/api/types/GetEventsList.d.mts +32 -0
- package/dist/esm/api/types/GetEventsList.mjs +2 -0
- package/dist/esm/api/types/GetExtendedCampaignOverview.d.mts +32 -25
- package/dist/esm/api/types/GetExtendedCampaignOverview.mjs +3 -0
- package/dist/esm/api/types/GetExtendedCampaignStats.d.mts +4 -4
- package/dist/esm/api/types/GetProductDetails.d.mts +14 -10
- package/dist/esm/api/types/GetSmsCampaignOverview.d.mts +1 -1
- package/dist/esm/api/types/GetSmtpTemplateOverview.d.mts +4 -4
- package/dist/esm/api/types/GetWebhook.d.mts +4 -4
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +48 -0
- package/dist/esm/api/types/InternalServerErrorBody.mjs +43 -0
- package/dist/esm/api/types/Inviteuser.d.mts +2 -2
- package/dist/esm/api/types/LoyaltyProgram.d.mts +12 -12
- package/dist/esm/api/types/NodeResponse.d.mts +8 -8
- package/dist/esm/api/types/Note.d.mts +6 -6
- package/dist/esm/api/types/NoteData.d.mts +3 -3
- package/dist/esm/api/types/Order.d.mts +30 -20
- package/dist/esm/api/types/Pipeline.d.mts +5 -5
- package/dist/esm/api/types/PostContactInfo.d.mts +4 -4
- package/dist/esm/api/types/PostSendFailed.d.mts +3 -3
- package/dist/esm/api/types/Redeem.d.mts +14 -14
- package/dist/esm/api/types/RuleConditionResponse.d.mts +5 -5
- package/dist/esm/api/types/SendReport.d.mts +1 -1
- package/dist/esm/api/types/SendTestEmail.d.mts +1 -1
- package/dist/esm/api/types/SendTransacSms.d.mts +10 -6
- package/dist/esm/api/types/Task.d.mts +4 -4
- package/dist/esm/api/types/Tier.d.mts +16 -16
- package/dist/esm/api/types/TierGroup.d.mts +8 -8
- package/dist/esm/api/types/Transaction.d.mts +15 -15
- package/dist/esm/api/types/UpdateCampaignStatus.d.mts +2 -1
- package/dist/esm/api/types/UpdateCampaignStatus.mjs +1 -0
- package/dist/esm/api/types/ValueResponse.d.mts +8 -8
- package/dist/esm/api/types/VariablesItems.d.mts +3 -3
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
- package/dist/esm/core/fetcher/index.d.mts +2 -0
- package/dist/esm/core/fetcher/index.mjs +1 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
- package/dist/esm/core/runtime/runtime.mjs +8 -7
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +356 -4
- package/reference.md +362 -155
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.ts +0 -6
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js +0 -9
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.mts +0 -6
package/reference.md
CHANGED
|
@@ -3638,22 +3638,16 @@ await client.webhooks.createWebhook({
|
|
|
3638
3638
|
<dl>
|
|
3639
3639
|
<dd>
|
|
3640
3640
|
|
|
3641
|
-
<Note
|
|
3642
|
-
|
|
3641
|
+
<Note>
|
|
3642
|
+
This is an enterprise feature. Contact us to activate it for your account.
|
|
3643
3643
|
</Note>
|
|
3644
3644
|
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
Use this to:
|
|
3648
|
-
- Generate comprehensive webhook event reports
|
|
3649
|
-
- Analyze webhook delivery patterns and success rates
|
|
3650
|
-
- Export event data for external analysis tools
|
|
3651
|
-
- Create historical reports for compliance and auditing
|
|
3652
|
-
- Track webhook performance and reliability metrics
|
|
3645
|
+
Submits a request to export webhook event history as a CSV file. The download link is sent to the `notifyURL` you provide in the request body.
|
|
3653
3646
|
|
|
3654
|
-
|
|
3655
|
-
-
|
|
3656
|
-
-
|
|
3647
|
+
Use this endpoint to:
|
|
3648
|
+
- Export webhook event history filtered by date range, event type, or email address
|
|
3649
|
+
- Generate reports for compliance, auditing, or performance analysis
|
|
3650
|
+
- Track delivery patterns and webhook reliability over time
|
|
3657
3651
|
</dd>
|
|
3658
3652
|
</dl>
|
|
3659
3653
|
</dd>
|
|
@@ -4381,12 +4375,8 @@ await client.externalFeeds.deleteExternalFeed({
|
|
|
4381
4375
|
<dl>
|
|
4382
4376
|
<dd>
|
|
4383
4377
|
|
|
4384
|
-
<Note title="Enterprise access only">
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
This feature is in beta. These are subject to change.
|
|
4388
|
-
</Note>
|
|
4389
|
-
|
|
4378
|
+
<Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
4379
|
+
This feature is in beta. These are subject to change.</Note>
|
|
4390
4380
|
This API allows bulk upsert of object records in a single request. Each object record may include
|
|
4391
4381
|
- Attributes
|
|
4392
4382
|
- Identifiers
|
|
@@ -4400,8 +4390,8 @@ This API allows bulk upsert of object records in a single request. Each object r
|
|
|
4400
4390
|
- Max 500 attributes defined per object record upsert request
|
|
4401
4391
|
- This is coherent with schema limitation: an object cannot have more than 500 attributes.
|
|
4402
4392
|
- Worth noting: Nothing happens If an attribute is mentioned in the request, but was not previously defined for the object schema (no error, no attribute creation)
|
|
4403
|
-
- Max 10 associations defined per object record
|
|
4404
|
-
- This is
|
|
4393
|
+
- Max 10 associations defined per associated object type, in each record of the request
|
|
4394
|
+
- This is not a schema limitation. You can associate an object record to an unlimited number of other object records by running multiple requests.
|
|
4405
4395
|
**Errors:**
|
|
4406
4396
|
- Make sure both object records exist before associating them, else the API will return an error.
|
|
4407
4397
|
- This route does not create objects. The object where the object records are upserted by this API must be created already else the API will return an error "invalid object type".
|
|
@@ -4470,12 +4460,8 @@ await client.customObjects.upsertrecords({
|
|
|
4470
4460
|
<dl>
|
|
4471
4461
|
<dd>
|
|
4472
4462
|
|
|
4473
|
-
<Note title="Enterprise access only">
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
This feature is in beta. These are subject to change.
|
|
4477
|
-
</Note>
|
|
4478
|
-
|
|
4463
|
+
<Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
4464
|
+
This feature is in beta. These are subject to change.</Note>
|
|
4479
4465
|
This API retrieves a list of object records along with their associated records and provides the total count of records for the specified object. **Note**: Contact as object type is not supported in this endpoint.
|
|
4480
4466
|
</dd>
|
|
4481
4467
|
</dl>
|
|
@@ -4606,26 +4592,6 @@ await client.customObjects.batchDeleteObjectRecords({
|
|
|
4606
4592
|
<dl>
|
|
4607
4593
|
<dd>
|
|
4608
4594
|
|
|
4609
|
-
#### 📝 Description
|
|
4610
|
-
|
|
4611
|
-
<dl>
|
|
4612
|
-
<dd>
|
|
4613
|
-
|
|
4614
|
-
<dl>
|
|
4615
|
-
<dd>
|
|
4616
|
-
|
|
4617
|
-
<Note title="Follow this format when passing a SMS phone number as an attribute">
|
|
4618
|
-
Accepted Number Formats
|
|
4619
|
-
|
|
4620
|
-
91xxxxxxxxxx
|
|
4621
|
-
+91xxxxxxxxxx
|
|
4622
|
-
0091xxxxxxxxxx
|
|
4623
|
-
</Note>
|
|
4624
|
-
</dd>
|
|
4625
|
-
</dl>
|
|
4626
|
-
</dd>
|
|
4627
|
-
</dl>
|
|
4628
|
-
|
|
4629
4595
|
#### 🔌 Usage
|
|
4630
4596
|
|
|
4631
4597
|
<dl>
|
|
@@ -4683,6 +4649,8 @@ await client.contacts.getContacts();
|
|
|
4683
4649
|
<dl>
|
|
4684
4650
|
<dd>
|
|
4685
4651
|
|
|
4652
|
+
<Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
4653
|
+
Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
4686
4654
|
Creates new contacts on Brevo. Contacts can be created by passing either - <br><br> 1. email address of the contact (email_id), <br> 2. phone number of the contact (to be passed as "SMS" field in "attributes" along with proper country code), For example- {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"} <br> 3. ext_id <br>
|
|
4687
4655
|
</dd>
|
|
4688
4656
|
</dl>
|
|
@@ -5045,9 +5013,7 @@ await client.contacts.updateBatchContacts();
|
|
|
5045
5013
|
<dl>
|
|
5046
5014
|
<dd>
|
|
5047
5015
|
|
|
5048
|
-
<Note title="How to use attributes param?">
|
|
5049
|
-
attributes param in this endpoint is an object containing key-value pairs where values can be either a string, integer, array, or boolean. You can create key-value pairs with these four datatypes. When a value is an array, it should be an array of strings.
|
|
5050
|
-
</Note>
|
|
5016
|
+
<Note title="How to use attributes param?">attributes param in this endpoint is an object containing key-value pairs where values can be either a string, integer, array, or boolean. You can create key-value pairs with these four datatypes. When a value is an array, it should be an array of strings.</Note>
|
|
5051
5017
|
</dd>
|
|
5052
5018
|
</dl>
|
|
5053
5019
|
</dd>
|
|
@@ -5180,17 +5146,11 @@ await client.contacts.requestContactExport({
|
|
|
5180
5146
|
<dl>
|
|
5181
5147
|
<dd>
|
|
5182
5148
|
|
|
5183
|
-
<Note>
|
|
5184
|
-
Ongoing changes for this endpoint
|
|
5185
|
-
|
|
5149
|
+
<Note>Ongoing changes for this endpoint
|
|
5186
5150
|
We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
5187
|
-
|
|
5188
5151
|
These are non breaking changes.
|
|
5189
|
-
|
|
5190
5152
|
The default value for the attributes will be 0.
|
|
5191
|
-
|
|
5192
|
-
The uniqueSubscribers field is deprecated
|
|
5193
|
-
</Note>
|
|
5153
|
+
The uniqueSubscribers field is deprecated</Note>
|
|
5194
5154
|
</dd>
|
|
5195
5155
|
</dl>
|
|
5196
5156
|
</dd>
|
|
@@ -5302,13 +5262,9 @@ await client.contacts.createFolder({});
|
|
|
5302
5262
|
<dl>
|
|
5303
5263
|
<dd>
|
|
5304
5264
|
|
|
5305
|
-
<Note>
|
|
5306
|
-
Ongoing changes for this endpoint.
|
|
5307
|
-
|
|
5265
|
+
<Note>Ongoing changes for this endpoint.
|
|
5308
5266
|
We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
5309
|
-
|
|
5310
|
-
These are non breaking changes. The default value for the attributes will be 0.
|
|
5311
|
-
</Note>
|
|
5267
|
+
These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
5312
5268
|
</dd>
|
|
5313
5269
|
</dl>
|
|
5314
5270
|
</dd>
|
|
@@ -5476,13 +5432,9 @@ await client.contacts.deleteFolder({
|
|
|
5476
5432
|
<dl>
|
|
5477
5433
|
<dd>
|
|
5478
5434
|
|
|
5479
|
-
<Note>
|
|
5480
|
-
Ongoing changes for this endpoint.
|
|
5481
|
-
|
|
5435
|
+
<Note>Ongoing changes for this endpoint.
|
|
5482
5436
|
We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
5483
|
-
|
|
5484
|
-
These are non breaking changes. The default value for the attributes will be 0.
|
|
5485
|
-
</Note>
|
|
5437
|
+
These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
5486
5438
|
</dd>
|
|
5487
5439
|
</dl>
|
|
5488
5440
|
</dd>
|
|
@@ -5610,13 +5562,9 @@ await client.contacts.importContacts();
|
|
|
5610
5562
|
<dl>
|
|
5611
5563
|
<dd>
|
|
5612
5564
|
|
|
5613
|
-
<Note>
|
|
5614
|
-
Ongoing changes for this endpoint.
|
|
5615
|
-
|
|
5565
|
+
<Note>Ongoing changes for this endpoint.
|
|
5616
5566
|
We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
5617
|
-
|
|
5618
|
-
These are non breaking changes. The default value for the attributes will be 0.
|
|
5619
|
-
</Note>
|
|
5567
|
+
These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
5620
5568
|
</dd>
|
|
5621
5569
|
</dl>
|
|
5622
5570
|
</dd>
|
|
@@ -6092,14 +6040,8 @@ await client.contacts.getSegments();
|
|
|
6092
6040
|
<dl>
|
|
6093
6041
|
<dd>
|
|
6094
6042
|
|
|
6095
|
-
<Note
|
|
6096
|
-
Accepted Number Formats
|
|
6097
|
-
|
|
6098
|
-
91xxxxxxxxxx
|
|
6099
|
-
+91xxxxxxxxxx
|
|
6100
|
-
0091xxxxxxxxxx
|
|
6101
|
-
</Note>
|
|
6102
|
-
|
|
6043
|
+
<Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
6044
|
+
Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
6103
6045
|
There are 2 ways to get a contact <br><br> Option 1- https://api.brevo.com/v3/contacts/{identifier} <br><br> Option 2- https://api.brevo.com/v3/contacts/{identifier}?identifierType={} <br> <br> Option 1 only works if identifierType is email_id (for EMAIL), phone_id (for SMS) or contact_id (for ID of the contact),where you can directly pass the value of EMAIL, SMS and ID of the contact. <br><br> Option 2 works for all identifierType, use email_id for EMAIL attribute, phone_id for SMS attribute, contact_id for ID of the contact, ext_id for EXT_ID attribute, whatsapp_id for WHATSAPP attribute, landline_number_id for LANDLINE_NUMBER attribute <br><br>Along with the contact details, this endpoint will show the statistics of contact for the recent 90 days by default. To fetch the earlier statistics, please use Get contact campaign stats ``https://developers.brevo.com/reference/contacts-7#getcontactstats`` endpoint with the appropriate date ranges.
|
|
6104
6046
|
</dd>
|
|
6105
6047
|
</dl>
|
|
@@ -6165,6 +6107,8 @@ await client.contacts.getContactInfo({
|
|
|
6165
6107
|
<dl>
|
|
6166
6108
|
<dd>
|
|
6167
6109
|
|
|
6110
|
+
<Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
6111
|
+
Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx <br><br> If a blocklisted contact's email address is updated, it is going to remove that blocklisting from the contact and they will be resubscribed.</Note>
|
|
6168
6112
|
There are 2 ways to update a contact <br><br> Option 1- https://api.brevo.com/v3/contacts/{identifier} <br><br> Option 2- https://api.brevo.com/v3/contacts/{identifier}?identifierType={} <br> <br> Option 1 only works if identifierType is email_id (for EMAIL) or contact_id (for ID of the contact),where you can directly pass the value of EMAIL and ID of the contact. <br><br> Option 2 works for all identifierType, use email_id for EMAIL attribute, contact_id for ID of the contact, ext_id for EXT_ID attribute, phone_id for SMS attribute, whatsapp_id for WHATSAPP attribute, landline_number_id for LANDLINE attribute
|
|
6169
6113
|
</dd>
|
|
6170
6114
|
</dl>
|
|
@@ -7525,8 +7469,7 @@ await client.ecommerce.createOrder({
|
|
|
7525
7469
|
id: "14",
|
|
7526
7470
|
products: [{
|
|
7527
7471
|
price: 99.99,
|
|
7528
|
-
productId: "P1"
|
|
7529
|
-
quantity: 10
|
|
7472
|
+
productId: "P1"
|
|
7530
7473
|
}],
|
|
7531
7474
|
status: "completed",
|
|
7532
7475
|
updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -7600,8 +7543,7 @@ await client.ecommerce.createBatchOrder({
|
|
|
7600
7543
|
id: "14",
|
|
7601
7544
|
products: [{
|
|
7602
7545
|
price: 99.99,
|
|
7603
|
-
productId: "P1"
|
|
7604
|
-
quantity: 10
|
|
7546
|
+
productId: "P1"
|
|
7605
7547
|
}],
|
|
7606
7548
|
status: "completed",
|
|
7607
7549
|
updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -8316,6 +8258,73 @@ await client.payments.deletePaymentRequest({
|
|
|
8316
8258
|
</details>
|
|
8317
8259
|
|
|
8318
8260
|
## Event
|
|
8261
|
+
<details><summary><code>client.event.<a href="/src/api/resources/event/client/Client.ts">getEvents</a>({ ...params }) -> Brevo.GetEventsList</code></summary>
|
|
8262
|
+
<dl>
|
|
8263
|
+
<dd>
|
|
8264
|
+
|
|
8265
|
+
#### 📝 Description
|
|
8266
|
+
|
|
8267
|
+
<dl>
|
|
8268
|
+
<dd>
|
|
8269
|
+
|
|
8270
|
+
<dl>
|
|
8271
|
+
<dd>
|
|
8272
|
+
|
|
8273
|
+
<Note>
|
|
8274
|
+
This endpoint currently only supports custom events.
|
|
8275
|
+
</Note>
|
|
8276
|
+
|
|
8277
|
+
Retrieve a list of events filtered by various criteria.
|
|
8278
|
+
</dd>
|
|
8279
|
+
</dl>
|
|
8280
|
+
</dd>
|
|
8281
|
+
</dl>
|
|
8282
|
+
|
|
8283
|
+
#### 🔌 Usage
|
|
8284
|
+
|
|
8285
|
+
<dl>
|
|
8286
|
+
<dd>
|
|
8287
|
+
|
|
8288
|
+
<dl>
|
|
8289
|
+
<dd>
|
|
8290
|
+
|
|
8291
|
+
```typescript
|
|
8292
|
+
await client.event.getEvents();
|
|
8293
|
+
|
|
8294
|
+
```
|
|
8295
|
+
</dd>
|
|
8296
|
+
</dl>
|
|
8297
|
+
</dd>
|
|
8298
|
+
</dl>
|
|
8299
|
+
|
|
8300
|
+
#### ⚙️ Parameters
|
|
8301
|
+
|
|
8302
|
+
<dl>
|
|
8303
|
+
<dd>
|
|
8304
|
+
|
|
8305
|
+
<dl>
|
|
8306
|
+
<dd>
|
|
8307
|
+
|
|
8308
|
+
**request:** `Brevo.GetEventsRequest`
|
|
8309
|
+
|
|
8310
|
+
</dd>
|
|
8311
|
+
</dl>
|
|
8312
|
+
|
|
8313
|
+
<dl>
|
|
8314
|
+
<dd>
|
|
8315
|
+
|
|
8316
|
+
**requestOptions:** `EventClient.RequestOptions`
|
|
8317
|
+
|
|
8318
|
+
</dd>
|
|
8319
|
+
</dl>
|
|
8320
|
+
</dd>
|
|
8321
|
+
</dl>
|
|
8322
|
+
|
|
8323
|
+
|
|
8324
|
+
</dd>
|
|
8325
|
+
</dl>
|
|
8326
|
+
</details>
|
|
8327
|
+
|
|
8319
8328
|
<details><summary><code>client.event.<a href="/src/api/resources/event/client/Client.ts">createEvent</a>({ ...params }) -> void</code></summary>
|
|
8320
8329
|
<dl>
|
|
8321
8330
|
<dd>
|
|
@@ -8378,6 +8387,72 @@ await client.event.createEvent({
|
|
|
8378
8387
|
</dl>
|
|
8379
8388
|
|
|
8380
8389
|
|
|
8390
|
+
</dd>
|
|
8391
|
+
</dl>
|
|
8392
|
+
</details>
|
|
8393
|
+
|
|
8394
|
+
<details><summary><code>client.event.<a href="/src/api/resources/event/client/Client.ts">createBatchEvents</a>({ ...params }) -> Brevo.BatchAcceptedResponse</code></summary>
|
|
8395
|
+
<dl>
|
|
8396
|
+
<dd>
|
|
8397
|
+
|
|
8398
|
+
#### 📝 Description
|
|
8399
|
+
|
|
8400
|
+
<dl>
|
|
8401
|
+
<dd>
|
|
8402
|
+
|
|
8403
|
+
<dl>
|
|
8404
|
+
<dd>
|
|
8405
|
+
|
|
8406
|
+
Create multiple events to track contacts' interactions in a single request.
|
|
8407
|
+
</dd>
|
|
8408
|
+
</dl>
|
|
8409
|
+
</dd>
|
|
8410
|
+
</dl>
|
|
8411
|
+
|
|
8412
|
+
#### 🔌 Usage
|
|
8413
|
+
|
|
8414
|
+
<dl>
|
|
8415
|
+
<dd>
|
|
8416
|
+
|
|
8417
|
+
<dl>
|
|
8418
|
+
<dd>
|
|
8419
|
+
|
|
8420
|
+
```typescript
|
|
8421
|
+
await client.event.createBatchEvents([{
|
|
8422
|
+
event_name: "order_created",
|
|
8423
|
+
identifiers: {}
|
|
8424
|
+
}]);
|
|
8425
|
+
|
|
8426
|
+
```
|
|
8427
|
+
</dd>
|
|
8428
|
+
</dl>
|
|
8429
|
+
</dd>
|
|
8430
|
+
</dl>
|
|
8431
|
+
|
|
8432
|
+
#### ⚙️ Parameters
|
|
8433
|
+
|
|
8434
|
+
<dl>
|
|
8435
|
+
<dd>
|
|
8436
|
+
|
|
8437
|
+
<dl>
|
|
8438
|
+
<dd>
|
|
8439
|
+
|
|
8440
|
+
**request:** `Brevo.CreateBatchEventsRequestItem[]`
|
|
8441
|
+
|
|
8442
|
+
</dd>
|
|
8443
|
+
</dl>
|
|
8444
|
+
|
|
8445
|
+
<dl>
|
|
8446
|
+
<dd>
|
|
8447
|
+
|
|
8448
|
+
**requestOptions:** `EventClient.RequestOptions`
|
|
8449
|
+
|
|
8450
|
+
</dd>
|
|
8451
|
+
</dl>
|
|
8452
|
+
</dd>
|
|
8453
|
+
</dl>
|
|
8454
|
+
|
|
8455
|
+
|
|
8381
8456
|
</dd>
|
|
8382
8457
|
</dl>
|
|
8383
8458
|
</details>
|
|
@@ -9550,8 +9625,8 @@ Returns transaction history
|
|
|
9550
9625
|
```typescript
|
|
9551
9626
|
await client.balance.getTransactionHistoryApi({
|
|
9552
9627
|
pid: "pid",
|
|
9553
|
-
|
|
9554
|
-
|
|
9628
|
+
contactId: 1,
|
|
9629
|
+
balanceDefinitionId: "balanceDefinitionId"
|
|
9555
9630
|
});
|
|
9556
9631
|
|
|
9557
9632
|
```
|
|
@@ -10238,6 +10313,72 @@ await client.program.getParameterSubscriptionInfo({
|
|
|
10238
10313
|
</dl>
|
|
10239
10314
|
|
|
10240
10315
|
|
|
10316
|
+
</dd>
|
|
10317
|
+
</dl>
|
|
10318
|
+
</details>
|
|
10319
|
+
|
|
10320
|
+
<details><summary><code>client.program.<a href="/src/api/resources/program/client/Client.ts">deleteContactSubscription</a>({ ...params }) -> void</code></summary>
|
|
10321
|
+
<dl>
|
|
10322
|
+
<dd>
|
|
10323
|
+
|
|
10324
|
+
#### 📝 Description
|
|
10325
|
+
|
|
10326
|
+
<dl>
|
|
10327
|
+
<dd>
|
|
10328
|
+
|
|
10329
|
+
<dl>
|
|
10330
|
+
<dd>
|
|
10331
|
+
|
|
10332
|
+
Delete subscription for a contact
|
|
10333
|
+
</dd>
|
|
10334
|
+
</dl>
|
|
10335
|
+
</dd>
|
|
10336
|
+
</dl>
|
|
10337
|
+
|
|
10338
|
+
#### 🔌 Usage
|
|
10339
|
+
|
|
10340
|
+
<dl>
|
|
10341
|
+
<dd>
|
|
10342
|
+
|
|
10343
|
+
<dl>
|
|
10344
|
+
<dd>
|
|
10345
|
+
|
|
10346
|
+
```typescript
|
|
10347
|
+
await client.program.deleteContactSubscription({
|
|
10348
|
+
pid: "pid",
|
|
10349
|
+
cid: 1
|
|
10350
|
+
});
|
|
10351
|
+
|
|
10352
|
+
```
|
|
10353
|
+
</dd>
|
|
10354
|
+
</dl>
|
|
10355
|
+
</dd>
|
|
10356
|
+
</dl>
|
|
10357
|
+
|
|
10358
|
+
#### ⚙️ Parameters
|
|
10359
|
+
|
|
10360
|
+
<dl>
|
|
10361
|
+
<dd>
|
|
10362
|
+
|
|
10363
|
+
<dl>
|
|
10364
|
+
<dd>
|
|
10365
|
+
|
|
10366
|
+
**request:** `Brevo.DeleteContactSubscriptionRequest`
|
|
10367
|
+
|
|
10368
|
+
</dd>
|
|
10369
|
+
</dl>
|
|
10370
|
+
|
|
10371
|
+
<dl>
|
|
10372
|
+
<dd>
|
|
10373
|
+
|
|
10374
|
+
**requestOptions:** `ProgramClient.RequestOptions`
|
|
10375
|
+
|
|
10376
|
+
</dd>
|
|
10377
|
+
</dl>
|
|
10378
|
+
</dd>
|
|
10379
|
+
</dl>
|
|
10380
|
+
|
|
10381
|
+
|
|
10241
10382
|
</dd>
|
|
10242
10383
|
</dl>
|
|
10243
10384
|
</details>
|
|
@@ -11844,11 +11985,8 @@ await client.tier.deleteTier({
|
|
|
11844
11985
|
<dl>
|
|
11845
11986
|
<dd>
|
|
11846
11987
|
|
|
11847
|
-
<Note>
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
You now need to specify which type of statistics you would like to retrieve. For more information visit [this page](https://developers.brevo.com/changelog/get-all-marketing-campaigns).
|
|
11851
|
-
</Note>
|
|
11988
|
+
<Note>The response payload for this endpoint has changed
|
|
11989
|
+
You now need to specify which type of statistics you would like to retrieve. For more information visit [this page](https://developers.brevo.com/changelog/get-all-marketing-campaigns).</Note>
|
|
11852
11990
|
</dd>
|
|
11853
11991
|
</dl>
|
|
11854
11992
|
</dd>
|
|
@@ -13172,19 +13310,11 @@ await client.whatsAppCampaigns.getWhatsAppCampaigns();
|
|
|
13172
13310
|
<dl>
|
|
13173
13311
|
<dd>
|
|
13174
13312
|
|
|
13175
|
-
<Note>
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account
|
|
13179
|
-
</Note>
|
|
13180
|
-
|
|
13181
|
-
<Note>
|
|
13182
|
-
This API requires the List and Segment ids as recipients in Body params. You can use the below Contact endpoints to get the required information.
|
|
13183
|
-
|
|
13313
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13314
|
+
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13315
|
+
<Note>This API requires the List and Segment ids as recipients in Body params.You can use the below Contact endpoints to get the required information.
|
|
13184
13316
|
[Get all the Lists](https://developers.brevo.com/reference/getlists-1)
|
|
13185
|
-
|
|
13186
|
-
[Get all the Segments](https://developers.brevo.com/reference/getsegments)
|
|
13187
|
-
</Note>
|
|
13317
|
+
[Get all the Segments](https://developers.brevo.com/reference/getsegments)</Note>
|
|
13188
13318
|
</dd>
|
|
13189
13319
|
</dl>
|
|
13190
13320
|
</dd>
|
|
@@ -13252,11 +13382,8 @@ await client.whatsAppCampaigns.createWhatsAppCampaign({
|
|
|
13252
13382
|
<dl>
|
|
13253
13383
|
<dd>
|
|
13254
13384
|
|
|
13255
|
-
<Note>
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account
|
|
13259
|
-
</Note>
|
|
13385
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13386
|
+
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13260
13387
|
</dd>
|
|
13261
13388
|
</dl>
|
|
13262
13389
|
</dd>
|
|
@@ -13311,11 +13438,8 @@ await client.whatsAppCampaigns.getWhatsAppConfig();
|
|
|
13311
13438
|
<dl>
|
|
13312
13439
|
<dd>
|
|
13313
13440
|
|
|
13314
|
-
<Note>
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account
|
|
13318
|
-
</Note>
|
|
13441
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13442
|
+
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13319
13443
|
</dd>
|
|
13320
13444
|
</dl>
|
|
13321
13445
|
</dd>
|
|
@@ -13432,11 +13556,8 @@ await client.whatsAppCampaigns.getWhatsAppTemplates();
|
|
|
13432
13556
|
<dl>
|
|
13433
13557
|
<dd>
|
|
13434
13558
|
|
|
13435
|
-
<Note>
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account
|
|
13439
|
-
</Note>
|
|
13559
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13560
|
+
[Activating WhatsApp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13440
13561
|
</dd>
|
|
13441
13562
|
</dl>
|
|
13442
13563
|
</dd>
|
|
@@ -13501,11 +13622,11 @@ await client.whatsAppCampaigns.sendWhatsAppTemplateApproval({
|
|
|
13501
13622
|
<dl>
|
|
13502
13623
|
<dd>
|
|
13503
13624
|
|
|
13504
|
-
<Note>
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
[
|
|
13508
|
-
</Note>
|
|
13625
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13626
|
+
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13627
|
+
<Note>This API requires the List and Segment ids as recipients in Body params.You can use the below Contact endpoints to get the required information.
|
|
13628
|
+
[Get all the Lists](https://developers.brevo.com/reference/getlists-1)
|
|
13629
|
+
[Get all the Segments](https://developers.brevo.com/reference/getsegments)</Note>
|
|
13509
13630
|
</dd>
|
|
13510
13631
|
</dl>
|
|
13511
13632
|
</dd>
|
|
@@ -13570,19 +13691,11 @@ await client.whatsAppCampaigns.getWhatsAppCampaign({
|
|
|
13570
13691
|
<dl>
|
|
13571
13692
|
<dd>
|
|
13572
13693
|
|
|
13573
|
-
<Note>
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account
|
|
13577
|
-
</Note>
|
|
13578
|
-
|
|
13579
|
-
<Note>
|
|
13580
|
-
This API requires the List and Segment ids as recipients in Body params. You can use the below Contact endpoints to get the required information.
|
|
13581
|
-
|
|
13694
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
13695
|
+
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
13696
|
+
<Note>This API requires the List and Segment ids as recipients in Body params.You can use the below Contact endpoints to get the required information.
|
|
13582
13697
|
[Get all the Lists](https://developers.brevo.com/reference/getlists-1)
|
|
13583
|
-
|
|
13584
|
-
[Get all the Segments](https://developers.brevo.com/reference/getsegments)
|
|
13585
|
-
</Note>
|
|
13698
|
+
[Get all the Segments](https://developers.brevo.com/reference/getsegments)</Note>
|
|
13586
13699
|
</dd>
|
|
13587
13700
|
</dl>
|
|
13588
13701
|
</dd>
|
|
@@ -14103,6 +14216,108 @@ await client.companies.createACompanyDealAttribute({
|
|
|
14103
14216
|
</dl>
|
|
14104
14217
|
|
|
14105
14218
|
|
|
14219
|
+
</dd>
|
|
14220
|
+
</dl>
|
|
14221
|
+
</details>
|
|
14222
|
+
|
|
14223
|
+
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">deleteAnAttribute</a>({ ...params }) -> void</code></summary>
|
|
14224
|
+
<dl>
|
|
14225
|
+
<dd>
|
|
14226
|
+
|
|
14227
|
+
#### 🔌 Usage
|
|
14228
|
+
|
|
14229
|
+
<dl>
|
|
14230
|
+
<dd>
|
|
14231
|
+
|
|
14232
|
+
<dl>
|
|
14233
|
+
<dd>
|
|
14234
|
+
|
|
14235
|
+
```typescript
|
|
14236
|
+
await client.companies.deleteAnAttribute({
|
|
14237
|
+
id: "id"
|
|
14238
|
+
});
|
|
14239
|
+
|
|
14240
|
+
```
|
|
14241
|
+
</dd>
|
|
14242
|
+
</dl>
|
|
14243
|
+
</dd>
|
|
14244
|
+
</dl>
|
|
14245
|
+
|
|
14246
|
+
#### ⚙️ Parameters
|
|
14247
|
+
|
|
14248
|
+
<dl>
|
|
14249
|
+
<dd>
|
|
14250
|
+
|
|
14251
|
+
<dl>
|
|
14252
|
+
<dd>
|
|
14253
|
+
|
|
14254
|
+
**request:** `Brevo.DeleteCrmAttributesIdRequest`
|
|
14255
|
+
|
|
14256
|
+
</dd>
|
|
14257
|
+
</dl>
|
|
14258
|
+
|
|
14259
|
+
<dl>
|
|
14260
|
+
<dd>
|
|
14261
|
+
|
|
14262
|
+
**requestOptions:** `CompaniesClient.RequestOptions`
|
|
14263
|
+
|
|
14264
|
+
</dd>
|
|
14265
|
+
</dl>
|
|
14266
|
+
</dd>
|
|
14267
|
+
</dl>
|
|
14268
|
+
|
|
14269
|
+
|
|
14270
|
+
</dd>
|
|
14271
|
+
</dl>
|
|
14272
|
+
</details>
|
|
14273
|
+
|
|
14274
|
+
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">updateAnAttribute</a>({ ...params }) -> void</code></summary>
|
|
14275
|
+
<dl>
|
|
14276
|
+
<dd>
|
|
14277
|
+
|
|
14278
|
+
#### 🔌 Usage
|
|
14279
|
+
|
|
14280
|
+
<dl>
|
|
14281
|
+
<dd>
|
|
14282
|
+
|
|
14283
|
+
<dl>
|
|
14284
|
+
<dd>
|
|
14285
|
+
|
|
14286
|
+
```typescript
|
|
14287
|
+
await client.companies.updateAnAttribute({
|
|
14288
|
+
id: "id"
|
|
14289
|
+
});
|
|
14290
|
+
|
|
14291
|
+
```
|
|
14292
|
+
</dd>
|
|
14293
|
+
</dl>
|
|
14294
|
+
</dd>
|
|
14295
|
+
</dl>
|
|
14296
|
+
|
|
14297
|
+
#### ⚙️ Parameters
|
|
14298
|
+
|
|
14299
|
+
<dl>
|
|
14300
|
+
<dd>
|
|
14301
|
+
|
|
14302
|
+
<dl>
|
|
14303
|
+
<dd>
|
|
14304
|
+
|
|
14305
|
+
**request:** `Brevo.PatchCrmAttributesIdRequest`
|
|
14306
|
+
|
|
14307
|
+
</dd>
|
|
14308
|
+
</dl>
|
|
14309
|
+
|
|
14310
|
+
<dl>
|
|
14311
|
+
<dd>
|
|
14312
|
+
|
|
14313
|
+
**requestOptions:** `CompaniesClient.RequestOptions`
|
|
14314
|
+
|
|
14315
|
+
</dd>
|
|
14316
|
+
</dl>
|
|
14317
|
+
</dd>
|
|
14318
|
+
</dl>
|
|
14319
|
+
|
|
14320
|
+
|
|
14106
14321
|
</dd>
|
|
14107
14322
|
</dl>
|
|
14108
14323
|
</details>
|
|
@@ -15527,7 +15742,8 @@ await client.tasks.getAllTaskTypes();
|
|
|
15527
15742
|
<dl>
|
|
15528
15743
|
<dd>
|
|
15529
15744
|
|
|
15530
|
-
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
15745
|
+
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
|
|
15746
|
+
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
|
|
15531
15747
|
This endpoint is used to send a WhatsApp message. <br/>(**The first message you send using the API must contain a Template ID. You must create a template on WhatsApp on the Brevo platform to fetch the Template ID.**)
|
|
15532
15748
|
</dd>
|
|
15533
15749
|
</dl>
|
|
@@ -16262,13 +16478,9 @@ await client.transactionalEmails.getTransacEmailsList();
|
|
|
16262
16478
|
<dl>
|
|
16263
16479
|
<dd>
|
|
16264
16480
|
|
|
16265
|
-
<Note title="How to get uuid
|
|
16266
|
-
You can get the uuid using either of the following methods:
|
|
16267
|
-
|
|
16481
|
+
<Note title="How to get uuid">You can get the uuid using either of the following methods:
|
|
16268
16482
|
Send a GET request to https://api.brevo.com/v3/smtp/emails and pass the message_id in the url. Use your api-key to authenticate the request and you will get your uuid as a response.
|
|
16269
|
-
|
|
16270
|
-
The uuid can also be fetched from the transactional logs page in your Brevo account, from the address URL.
|
|
16271
|
-
</Note>
|
|
16483
|
+
The uuid can also be fetched from the transactional logs page in your Brevo account, from the address URL.</Note>
|
|
16272
16484
|
</dd>
|
|
16273
16485
|
</dl>
|
|
16274
16486
|
</dd>
|
|
@@ -16918,15 +17130,9 @@ await client.transactionalEmails.sendTestTemplate({
|
|
|
16918
17130
|
<dl>
|
|
16919
17131
|
<dd>
|
|
16920
17132
|
|
|
16921
|
-
<Note>
|
|
16922
|
-
|
|
16923
|
-
|
|
16924
|
-
Note: For adding a stop code, client has to add reply STOP to [STOP_CODE] and the [STOP_CODE] will be replaced with the number.
|
|
16925
|
-
</Note>
|
|
16926
|
-
|
|
16927
|
-
<Note title="For end users in France">
|
|
16928
|
-
Transactional SMS can be sent at any time without time restrictions. However, if a message is categorized as Marketing, it must adhere to specific time restrictions. Messages sent outside of these restricted hours will experience delays and will be processed during allowable times. Specifically, Marketing SMS cannot be processed between 10pm and 8am, on Sundays, and on French public holidays.
|
|
16929
|
-
</Note>
|
|
17133
|
+
<Note>If the user includes stop code in the Transactional SMS, then it will be switched to Marketing SMS automatically and it will be interpreted as a Marketing SMS. To send Transactional SMS as Transactional, it is important not to use stop code.
|
|
17134
|
+
Note: For adding a stop code, client has to add reply STOP to [STOP_CODE] and the [STOP_CODE] will be replaced with the number.</Note>
|
|
17135
|
+
<Note title="For end users in France">Transactional SMS can be sent at any time without time restrictions. However, if a message is categorized as Marketing, it must adhere to specific time restrictions. Messages sent outside of these restricted hours will experience delays and will be processed during allowable times. Specifically, Marketing SMS cannot be processed between 10pm and 8am, on Sundays, and on French public holidays.</Note>
|
|
16930
17136
|
</dd>
|
|
16931
17137
|
</dl>
|
|
16932
17138
|
</dd>
|
|
@@ -17228,3 +17434,4 @@ await client.smsTemplates.getSmsTemplates();
|
|
|
17228
17434
|
</dd>
|
|
17229
17435
|
</dl>
|
|
17230
17436
|
</details>
|
|
17437
|
+
|