@getbrevo/brevo 4.0.1 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/cjs/BaseClient.js +2 -2
- 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 +6 -6
- package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.ts +5 -5
- 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/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 +0 -1
- package/dist/cjs/api/resources/balance/types/index.js +0 -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 +10 -10
- 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 +17 -0
- package/dist/cjs/api/resources/event/client/Client.js +57 -0
- package/dist/cjs/api/resources/event/client/requests/CreateEventRequest.d.ts +10 -10
- 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 +67 -0
- 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/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/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tier/client/Client.js +2 -2
- package/dist/cjs/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.ts +3 -3
- 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/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/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 +10 -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/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 +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/core/fetcher/Fetcher.js +8 -2
- 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/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 +6 -6
- package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.mts +5 -5
- 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/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 +0 -1
- package/dist/esm/api/resources/balance/types/index.mjs +0 -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 +10 -10
- 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 +17 -0
- package/dist/esm/api/resources/event/client/Client.mjs +57 -0
- package/dist/esm/api/resources/event/client/requests/CreateEventRequest.d.mts +10 -10
- 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 +67 -0
- 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/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/Client.d.mts +2 -2
- package/dist/esm/api/resources/tier/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.mts +3 -3
- 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/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/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 +10 -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/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 +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
- 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 +297 -157
- 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/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.mjs +0 -6
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* Campaign Statistics for the contact
|
|
3
3
|
*/
|
|
4
4
|
export interface GetContactStatsResponse {
|
|
5
|
-
clicked?: GetContactStatsResponse.Clicked.Item[];
|
|
6
|
-
complaints?: GetContactStatsResponse.Complaints.Item[];
|
|
7
|
-
delivered?: GetContactStatsResponse.Delivered.Item[];
|
|
8
|
-
hardBounces?: GetContactStatsResponse.HardBounces.Item[];
|
|
9
|
-
messagesSent?: GetContactStatsResponse.MessagesSent.Item[];
|
|
10
|
-
opened?: GetContactStatsResponse.Opened.Item[];
|
|
11
|
-
softBounces?: GetContactStatsResponse.SoftBounces.Item[];
|
|
12
|
-
transacAttributes?: GetContactStatsResponse.TransacAttributes.Item[];
|
|
13
|
-
unsubscriptions?: GetContactStatsResponse.Unsubscriptions;
|
|
5
|
+
clicked?: GetContactStatsResponse.Clicked.Item[] | undefined;
|
|
6
|
+
complaints?: GetContactStatsResponse.Complaints.Item[] | undefined;
|
|
7
|
+
delivered?: GetContactStatsResponse.Delivered.Item[] | undefined;
|
|
8
|
+
hardBounces?: GetContactStatsResponse.HardBounces.Item[] | undefined;
|
|
9
|
+
messagesSent?: GetContactStatsResponse.MessagesSent.Item[] | undefined;
|
|
10
|
+
opened?: GetContactStatsResponse.Opened.Item[] | undefined;
|
|
11
|
+
softBounces?: GetContactStatsResponse.SoftBounces.Item[] | undefined;
|
|
12
|
+
transacAttributes?: GetContactStatsResponse.TransacAttributes.Item[] | undefined;
|
|
13
|
+
unsubscriptions?: GetContactStatsResponse.Unsubscriptions | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare namespace GetContactStatsResponse {
|
|
16
16
|
type Clicked = Clicked.Item[];
|
|
@@ -118,7 +118,7 @@ export declare namespace GetContactStatsResponse {
|
|
|
118
118
|
/** UTC date-time of the event */
|
|
119
119
|
eventTime: string;
|
|
120
120
|
/** IP from which the user has been unsubscribed */
|
|
121
|
-
ip?: string;
|
|
121
|
+
ip?: string | undefined;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
type UserUnsubscription = UserUnsubscription.Item[];
|
|
@@ -129,7 +129,7 @@ export declare namespace GetContactStatsResponse {
|
|
|
129
129
|
/** UTC date-time of the event */
|
|
130
130
|
eventTime: string;
|
|
131
131
|
/** IP from which the user has unsubscribed */
|
|
132
|
-
ip?: string;
|
|
132
|
+
ip?: string | undefined;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Brevo from "../../../index.mjs";
|
|
2
2
|
export interface GetFoldersResponse {
|
|
3
3
|
/** Number of folders available in your account */
|
|
4
|
-
count?: number;
|
|
5
|
-
folders?: Brevo.GetFolder[];
|
|
4
|
+
count?: number | undefined;
|
|
5
|
+
folders?: Brevo.GetFolder[] | undefined;
|
|
6
6
|
}
|
|
@@ -10,11 +10,11 @@ export interface GetListResponse {
|
|
|
10
10
|
totalSubscribers: number;
|
|
11
11
|
/** Number of unique contacts in the list */
|
|
12
12
|
uniqueSubscribers: number;
|
|
13
|
-
campaignStats?: GetListResponse.CampaignStats.Item[];
|
|
13
|
+
campaignStats?: GetListResponse.CampaignStats.Item[] | undefined;
|
|
14
14
|
/** Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
15
15
|
createdAt: string;
|
|
16
16
|
/** Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) */
|
|
17
|
-
dynamicList?: boolean;
|
|
17
|
+
dynamicList?: boolean | undefined;
|
|
18
18
|
/** ID of the folder */
|
|
19
19
|
folderId: number;
|
|
20
20
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface GetListsResponse {
|
|
2
2
|
/** Number of lists in your account */
|
|
3
|
-
count?: number;
|
|
3
|
+
count?: number | undefined;
|
|
4
4
|
/** Listing of all the lists available in your account */
|
|
5
|
-
lists?: GetListsResponse.Lists.Item[];
|
|
5
|
+
lists?: GetListsResponse.Lists.Item[] | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace GetListsResponse {
|
|
8
8
|
type Lists = Lists.Item[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface GetSegmentsResponse {
|
|
2
2
|
/** Number of Segments in your account */
|
|
3
|
-
count?: number;
|
|
3
|
+
count?: number | undefined;
|
|
4
4
|
/** Listing of all the segments available in your account */
|
|
5
|
-
segments?: GetSegmentsResponse.Segments.Item[];
|
|
5
|
+
segments?: GetSegmentsResponse.Segments.Item[] | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace GetSegmentsResponse {
|
|
8
8
|
type Segments = Segments.Item[];
|
|
@@ -15,7 +15,7 @@ export declare namespace GetSegmentsResponse {
|
|
|
15
15
|
/** Name of the Segment */
|
|
16
16
|
segmentName: string;
|
|
17
17
|
/** Updation UTC date-time of the segment (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
18
|
-
updatedAt?: string;
|
|
18
|
+
updatedAt?: string | undefined;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -11,12 +11,8 @@ export declare class CustomObjectsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CustomObjectsClient.Options>;
|
|
12
12
|
constructor(options: CustomObjectsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* <Note title="Enterprise access only">
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* This feature is in beta. These are subject to change.
|
|
18
|
-
* </Note>
|
|
19
|
-
*
|
|
14
|
+
* <Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
15
|
+
* This feature is in beta. These are subject to change.</Note>
|
|
20
16
|
* This API allows bulk upsert of object records in a single request. Each object record may include
|
|
21
17
|
* - Attributes
|
|
22
18
|
* - Identifiers
|
|
@@ -30,8 +26,8 @@ export declare class CustomObjectsClient {
|
|
|
30
26
|
* - Max 500 attributes defined per object record upsert request
|
|
31
27
|
* - This is coherent with schema limitation: an object cannot have more than 500 attributes.
|
|
32
28
|
* - 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)
|
|
33
|
-
* - Max 10 associations defined per object record
|
|
34
|
-
* - This is
|
|
29
|
+
* - Max 10 associations defined per associated object type, in each record of the request
|
|
30
|
+
* - This is not a schema limitation. You can associate an object record to an unlimited number of other object records by running multiple requests.
|
|
35
31
|
* **Errors:**
|
|
36
32
|
* - Make sure both object records exist before associating them, else the API will return an error.
|
|
37
33
|
* - 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".
|
|
@@ -53,12 +49,8 @@ export declare class CustomObjectsClient {
|
|
|
53
49
|
upsertrecords(request: Brevo.UpsertrecordsRequest, requestOptions?: CustomObjectsClient.RequestOptions): core.HttpResponsePromise<Brevo.UpsertrecordsResponse>;
|
|
54
50
|
private __upsertrecords;
|
|
55
51
|
/**
|
|
56
|
-
* <Note title="Enterprise access only">
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* This feature is in beta. These are subject to change.
|
|
60
|
-
* </Note>
|
|
61
|
-
*
|
|
52
|
+
* <Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
53
|
+
* This feature is in beta. These are subject to change.</Note>
|
|
62
54
|
* 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.
|
|
63
55
|
*
|
|
64
56
|
* @param {Brevo.GetrecordsRequest} request
|
|
@@ -31,12 +31,8 @@ export class CustomObjectsClient {
|
|
|
31
31
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* <Note title="Enterprise access only">
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* This feature is in beta. These are subject to change.
|
|
38
|
-
* </Note>
|
|
39
|
-
*
|
|
34
|
+
* <Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
35
|
+
* This feature is in beta. These are subject to change.</Note>
|
|
40
36
|
* This API allows bulk upsert of object records in a single request. Each object record may include
|
|
41
37
|
* - Attributes
|
|
42
38
|
* - Identifiers
|
|
@@ -50,8 +46,8 @@ export class CustomObjectsClient {
|
|
|
50
46
|
* - Max 500 attributes defined per object record upsert request
|
|
51
47
|
* - This is coherent with schema limitation: an object cannot have more than 500 attributes.
|
|
52
48
|
* - 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)
|
|
53
|
-
* - Max 10 associations defined per object record
|
|
54
|
-
* - This is
|
|
49
|
+
* - Max 10 associations defined per associated object type, in each record of the request
|
|
50
|
+
* - This is not a schema limitation. You can associate an object record to an unlimited number of other object records by running multiple requests.
|
|
55
51
|
* **Errors:**
|
|
56
52
|
* - Make sure both object records exist before associating them, else the API will return an error.
|
|
57
53
|
* - 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".
|
|
@@ -118,12 +114,8 @@ export class CustomObjectsClient {
|
|
|
118
114
|
});
|
|
119
115
|
}
|
|
120
116
|
/**
|
|
121
|
-
* <Note title="Enterprise access only">
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* This feature is in beta. These are subject to change.
|
|
125
|
-
* </Note>
|
|
126
|
-
*
|
|
117
|
+
* <Note title="Enterprise access only">Custom objects are only available to Enterprise plans.
|
|
118
|
+
* This feature is in beta. These are subject to change.</Note>
|
|
127
119
|
* 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.
|
|
128
120
|
*
|
|
129
121
|
* @param {Brevo.GetrecordsRequest} request
|
|
@@ -15,11 +15,11 @@ export declare namespace UpsertrecordsRequest {
|
|
|
15
15
|
type Records = Records.Item[];
|
|
16
16
|
namespace Records {
|
|
17
17
|
interface Item {
|
|
18
|
-
associations?: Item.Associations.Item[];
|
|
19
|
-
/** Attributes attached with the object record. Only the already created attributes will be used with records. Minimum 1 attribute is required. */
|
|
20
|
-
attributes?: Record<string, unknown
|
|
18
|
+
associations?: Item.Associations.Item[] | undefined;
|
|
19
|
+
/** Attributes attached with the object record. Only the already created attributes will be used with records. Pass the value with the attributes key you want to set or update for the object record. Minimum 1 attribute is required. */
|
|
20
|
+
attributes?: Record<string, unknown> | undefined;
|
|
21
21
|
/** Identifiers attached with the object record. It can have id or ext_id. ext_id is ID of record in the external system that client want to store in the object system, id is an internal ID of object record generated by Brevo system. NOTE: - Its an optional field, if identifier is not provided, then id of object records will be generated by Brevo. This id can be used for further operation with the object record. - Both ext_id and id cannot be provided in the same request. */
|
|
22
|
-
identifiers?: Item.Identifiers;
|
|
22
|
+
identifiers?: Item.Identifiers | undefined;
|
|
23
23
|
}
|
|
24
24
|
namespace Item {
|
|
25
25
|
type Associations = Associations.Item[];
|
|
@@ -49,9 +49,9 @@ export declare namespace UpsertrecordsRequest {
|
|
|
49
49
|
*/
|
|
50
50
|
interface Identifiers {
|
|
51
51
|
/** ext_id is ID of record in the external system that client_dev want to store in the object system. */
|
|
52
|
-
ext_id?: string;
|
|
52
|
+
ext_id?: string | undefined;
|
|
53
53
|
/** Internal ID of the object record generated by Brevo */
|
|
54
|
-
id?: number;
|
|
54
|
+
id?: number | undefined;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export interface GetrecordsResponse {
|
|
2
2
|
/** Total number of object records for an object type. */
|
|
3
|
-
count?: number;
|
|
4
|
-
records?: GetrecordsResponse.Records.Item[];
|
|
3
|
+
count?: number | undefined;
|
|
4
|
+
records?: GetrecordsResponse.Records.Item[] | undefined;
|
|
5
5
|
}
|
|
6
6
|
export declare namespace GetrecordsResponse {
|
|
7
7
|
type Records = Records.Item[];
|
|
8
8
|
namespace Records {
|
|
9
9
|
interface Item {
|
|
10
10
|
/** List of associations for the object record. If association query param is true it will return 5 associated records per association. */
|
|
11
|
-
associations?: Item.Associations.Item[];
|
|
11
|
+
associations?: Item.Associations.Item[] | undefined;
|
|
12
12
|
/** Attributes attached with the object record. Only the already created attributes will be used with records. Minimum 1 attribute is required. */
|
|
13
|
-
attributes?: Record<string, unknown
|
|
13
|
+
attributes?: Record<string, unknown> | undefined;
|
|
14
14
|
/** Timestamp when the object record was created */
|
|
15
|
-
createdAt?: string;
|
|
15
|
+
createdAt?: string | undefined;
|
|
16
16
|
/** Identifiers attached with the object record. It can have id or ext_id. ext_id is ID of record in the external system that client want to store in the object system, id is an internal ID of object record generated by Brevo system. */
|
|
17
|
-
identifiers?: Item.Identifiers;
|
|
17
|
+
identifiers?: Item.Identifiers | undefined;
|
|
18
18
|
/** Timestamp when the object record was last updated */
|
|
19
|
-
updatedAt?: string;
|
|
19
|
+
updatedAt?: string | undefined;
|
|
20
20
|
}
|
|
21
21
|
namespace Item {
|
|
22
22
|
type Associations = Associations.Item[];
|
|
@@ -50,9 +50,9 @@ export declare namespace GetrecordsResponse {
|
|
|
50
50
|
*/
|
|
51
51
|
interface Identifiers {
|
|
52
52
|
/** ext_id is ID of record in the external system that client_dev want to store in the object system. */
|
|
53
|
-
ext_id?: string;
|
|
53
|
+
ext_id?: string | undefined;
|
|
54
54
|
/** Internal ID of the object record generated by Brevo */
|
|
55
|
-
id?: number;
|
|
55
|
+
id?: number | undefined;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface UpsertrecordsResponse {
|
|
2
|
-
message?: string;
|
|
3
|
-
/** Unique Id for the batch process used to track the status of the batch. */
|
|
4
|
-
processId?: number;
|
|
2
|
+
message?: string | undefined;
|
|
3
|
+
/** Unique Id for the batch process used to track the status of the batch. **How to use this processId:** Refer to the [Get process status API](https://developers.brevo.com/reference/get-process) to check the execution status of this batch using the returned `processId`. */
|
|
4
|
+
processId?: number | undefined;
|
|
5
5
|
}
|
|
@@ -112,6 +112,8 @@ export declare class DealsClient {
|
|
|
112
112
|
updateADeal(request: Brevo.PatchCrmDealsIdRequest, requestOptions?: DealsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
113
113
|
private __updateADeal;
|
|
114
114
|
/**
|
|
115
|
+
* @deprecated
|
|
116
|
+
*
|
|
115
117
|
* This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead.
|
|
116
118
|
*
|
|
117
119
|
* @param {DealsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -452,6 +452,8 @@ export class DealsClient {
|
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
/**
|
|
455
|
+
* @deprecated
|
|
456
|
+
*
|
|
455
457
|
* This endpoint is deprecated. Prefer /crm/pipeline/details/{pipelineID} instead.
|
|
456
458
|
*
|
|
457
459
|
* @param {DealsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* List of attributes
|
|
3
3
|
*/
|
|
4
4
|
export interface GetCrmAttributesDealsResponseItem {
|
|
5
|
-
attributeOptions?: Record<string, unknown>[];
|
|
6
|
-
attributeTypeName?: string;
|
|
7
|
-
internalName?: string;
|
|
8
|
-
isRequired?: boolean;
|
|
9
|
-
label?: string;
|
|
5
|
+
attributeOptions?: Record<string, unknown>[] | undefined;
|
|
6
|
+
attributeTypeName?: string | undefined;
|
|
7
|
+
internalName?: string | undefined;
|
|
8
|
+
isRequired?: boolean | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
10
|
}
|
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
* {
|
|
14
14
|
* name: "test.example.com"
|
|
15
15
|
* }
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* {
|
|
19
|
-
* name: "mycompany.com"
|
|
20
|
-
* }
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* {
|
|
24
|
-
* name: "mycompany.com"
|
|
25
|
-
* }
|
|
26
16
|
*/
|
|
27
17
|
export interface CreateDomainRequest {
|
|
28
18
|
/** Domain name to be added */
|
|
@@ -4,11 +4,11 @@ export interface CreateDomainResponse {
|
|
|
4
4
|
/** Domain name */
|
|
5
5
|
domain_name: string;
|
|
6
6
|
/** Detected domain provider */
|
|
7
|
-
domain_provider?: string;
|
|
7
|
+
domain_provider?: string | undefined;
|
|
8
8
|
/** Success message with next steps */
|
|
9
9
|
message: string;
|
|
10
10
|
/** DNS records required for domain authentication */
|
|
11
|
-
dns_records?: CreateDomainResponse.DnsRecords;
|
|
11
|
+
dns_records?: CreateDomainResponse.DnsRecords | undefined;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace CreateDomainResponse {
|
|
14
14
|
/**
|
|
@@ -27,7 +27,7 @@ export declare namespace GetDomainsResponse {
|
|
|
27
27
|
*/
|
|
28
28
|
verified: boolean;
|
|
29
29
|
/** Dedicated IP associated with domain (null if none) */
|
|
30
|
-
ip?: string | null;
|
|
30
|
+
ip?: (string | null) | undefined;
|
|
31
31
|
/** DNS provider for the domain */
|
|
32
32
|
provider: string;
|
|
33
33
|
/** Information about who created the domain */
|
|
@@ -174,8 +174,7 @@ export declare class EcommerceClient {
|
|
|
174
174
|
* id: "14",
|
|
175
175
|
* products: [{
|
|
176
176
|
* price: 99.99,
|
|
177
|
-
* productId: "P1"
|
|
178
|
-
* quantity: 10
|
|
177
|
+
* productId: "P1"
|
|
179
178
|
* }],
|
|
180
179
|
* status: "completed",
|
|
181
180
|
* updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -199,8 +198,7 @@ export declare class EcommerceClient {
|
|
|
199
198
|
* id: "14",
|
|
200
199
|
* products: [{
|
|
201
200
|
* price: 99.99,
|
|
202
|
-
* productId: "P1"
|
|
203
|
-
* quantity: 10
|
|
201
|
+
* productId: "P1"
|
|
204
202
|
* }],
|
|
205
203
|
* status: "completed",
|
|
206
204
|
* updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -651,8 +651,7 @@ export class EcommerceClient {
|
|
|
651
651
|
* id: "14",
|
|
652
652
|
* products: [{
|
|
653
653
|
* price: 99.99,
|
|
654
|
-
* productId: "P1"
|
|
655
|
-
* quantity: 10
|
|
654
|
+
* productId: "P1"
|
|
656
655
|
* }],
|
|
657
656
|
* status: "completed",
|
|
658
657
|
* updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -714,8 +713,7 @@ export class EcommerceClient {
|
|
|
714
713
|
* id: "14",
|
|
715
714
|
* products: [{
|
|
716
715
|
* price: 99.99,
|
|
717
|
-
* productId: "P1"
|
|
718
|
-
* quantity: 10
|
|
716
|
+
* productId: "P1"
|
|
719
717
|
* }],
|
|
720
718
|
* status: "completed",
|
|
721
719
|
* updatedAt: "2021-07-30T10:59:23.383Z"
|
|
@@ -15,10 +15,10 @@ export interface CreateProductAlertRequest {
|
|
|
15
15
|
export declare namespace CreateProductAlertRequest {
|
|
16
16
|
interface ContactIdentifiers {
|
|
17
17
|
/** Email address of the contact */
|
|
18
|
-
email?: string;
|
|
18
|
+
email?: string | undefined;
|
|
19
19
|
/** Contact ID in your system */
|
|
20
|
-
ext_id?: string;
|
|
20
|
+
ext_id?: string | undefined;
|
|
21
21
|
/** Sms of the contact */
|
|
22
|
-
sms?: string;
|
|
22
|
+
sms?: string | undefined;
|
|
23
23
|
}
|
|
24
24
|
}
|
package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.mts
CHANGED
|
@@ -17,15 +17,15 @@ export declare namespace CreateUpdateBatchCategoryRequest {
|
|
|
17
17
|
namespace Categories {
|
|
18
18
|
interface Item {
|
|
19
19
|
/** UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the category deleted from the shop's database */
|
|
20
|
-
deletedAt?: string;
|
|
20
|
+
deletedAt?: string | undefined;
|
|
21
21
|
/** Unique Category ID as saved in the shop */
|
|
22
22
|
id: string;
|
|
23
23
|
/** category deleted from the shop's database */
|
|
24
|
-
isDeleted?: boolean;
|
|
24
|
+
isDeleted?: boolean | undefined;
|
|
25
25
|
/** **Mandatory in case of creation**. Name of the Category, as displayed in the shop */
|
|
26
|
-
name?: string;
|
|
26
|
+
name?: string | undefined;
|
|
27
27
|
/** URL to the category */
|
|
28
|
-
url?: string;
|
|
28
|
+
url?: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.mts
CHANGED
|
@@ -18,29 +18,29 @@ export declare namespace CreateUpdateBatchProductsRequest {
|
|
|
18
18
|
namespace Products {
|
|
19
19
|
interface Item {
|
|
20
20
|
/** Category ID-s of the product */
|
|
21
|
-
categories?: string[];
|
|
21
|
+
categories?: string[] | undefined;
|
|
22
22
|
/** UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop's database */
|
|
23
|
-
deletedAt?: string;
|
|
23
|
+
deletedAt?: string | undefined;
|
|
24
24
|
/** Product ID for which you requested the details */
|
|
25
25
|
id: string;
|
|
26
26
|
/** Absolute URL to the cover image of the product */
|
|
27
|
-
imageUrl?: string;
|
|
27
|
+
imageUrl?: string | undefined;
|
|
28
28
|
/** product deleted from the shop's database */
|
|
29
|
-
isDeleted?: boolean;
|
|
29
|
+
isDeleted?: boolean | undefined;
|
|
30
30
|
/** Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed **1000 KB**. Maximum length of metaInfo object can be 20. */
|
|
31
|
-
metaInfo?: Record<string, Item.MetaInfo.Value
|
|
31
|
+
metaInfo?: Record<string, Item.MetaInfo.Value> | undefined;
|
|
32
32
|
/** Mandatory in case of creation**. Name of the product for which you requested the details */
|
|
33
33
|
name: string;
|
|
34
34
|
/** Parent product id of the product */
|
|
35
|
-
parentId?: string;
|
|
35
|
+
parentId?: string | undefined;
|
|
36
36
|
/** Price of the product */
|
|
37
|
-
price?: number;
|
|
37
|
+
price?: number | undefined;
|
|
38
38
|
/** Product identifier from the shop */
|
|
39
|
-
sku?: string;
|
|
39
|
+
sku?: string | undefined;
|
|
40
40
|
/** Current stock value of the product from the shop's database */
|
|
41
|
-
stock?: number;
|
|
41
|
+
stock?: number | undefined;
|
|
42
42
|
/** URL to the product */
|
|
43
|
-
url?: string;
|
|
43
|
+
url?: string | undefined;
|
|
44
44
|
}
|
|
45
45
|
namespace Item {
|
|
46
46
|
namespace MetaInfo {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface CreateUpdateBatchCategoryResponse {
|
|
2
2
|
/** Number of the new created categories */
|
|
3
|
-
createdCount?: number;
|
|
3
|
+
createdCount?: number | undefined;
|
|
4
4
|
/** Number of the existing categories updated */
|
|
5
|
-
updatedCount?: number;
|
|
5
|
+
updatedCount?: number | undefined;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface CreateUpdateBatchProductsResponse {
|
|
2
2
|
/** Number of the new created products */
|
|
3
|
-
createdCount?: number;
|
|
3
|
+
createdCount?: number | undefined;
|
|
4
4
|
/** Number of the existing products updated */
|
|
5
|
-
updatedCount?: number;
|
|
5
|
+
updatedCount?: number | undefined;
|
|
6
6
|
}
|