@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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "id"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface PatchCrmAttributesIdRequest {
|
|
8
|
+
/** Attribute ID */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Attribute display label */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Updated labels for selectable options */
|
|
13
|
+
optionsLabels?: PatchCrmAttributesIdRequest.OptionsLabels.Item[];
|
|
14
|
+
/** The type of object the attribute belongs to, it cannot be updated after creation */
|
|
15
|
+
objectType?: PatchCrmAttributesIdRequest.ObjectType;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace PatchCrmAttributesIdRequest {
|
|
18
|
+
type OptionsLabels = OptionsLabels.Item[];
|
|
19
|
+
namespace OptionsLabels {
|
|
20
|
+
interface Item {
|
|
21
|
+
/** Internal option identifier */
|
|
22
|
+
key: string;
|
|
23
|
+
/** Display label for the option */
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/** The type of object the attribute belongs to, it cannot be updated after creation */
|
|
28
|
+
const ObjectType: {
|
|
29
|
+
readonly Companies: "companies";
|
|
30
|
+
readonly Deals: "deals";
|
|
31
|
+
};
|
|
32
|
+
type ObjectType = (typeof ObjectType)[keyof typeof ObjectType];
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var PatchCrmAttributesIdRequest;
|
|
3
|
+
(function (PatchCrmAttributesIdRequest) {
|
|
4
|
+
/** The type of object the attribute belongs to, it cannot be updated after creation */
|
|
5
|
+
PatchCrmAttributesIdRequest.ObjectType = {
|
|
6
|
+
Companies: "companies",
|
|
7
|
+
Deals: "deals",
|
|
8
|
+
};
|
|
9
|
+
})(PatchCrmAttributesIdRequest || (PatchCrmAttributesIdRequest = {}));
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export type { DeleteCompaniesIdRequest } from "./DeleteCompaniesIdRequest.mjs";
|
|
2
|
+
export type { DeleteCrmAttributesIdRequest } from "./DeleteCrmAttributesIdRequest.mjs";
|
|
2
3
|
export type { GetCompaniesIdRequest } from "./GetCompaniesIdRequest.mjs";
|
|
3
4
|
export type { GetCompaniesRequest } from "./GetCompaniesRequest.mjs";
|
|
4
5
|
export type { PatchCompaniesIdRequest } from "./PatchCompaniesIdRequest.mjs";
|
|
5
6
|
export type { PatchCompaniesLinkUnlinkIdRequest } from "./PatchCompaniesLinkUnlinkIdRequest.mjs";
|
|
7
|
+
export { PatchCrmAttributesIdRequest } from "./PatchCrmAttributesIdRequest.mjs";
|
|
6
8
|
export type { PostCompaniesImportRequest } from "./PostCompaniesImportRequest.mjs";
|
|
7
9
|
export type { PostCompaniesRequest } from "./PostCompaniesRequest.mjs";
|
|
8
10
|
export { PostCrmAttributesRequest } from "./PostCrmAttributesRequest.mjs";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* List of attributes
|
|
3
3
|
*/
|
|
4
4
|
export interface GetCrmAttributesCompaniesResponseItem {
|
|
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
|
}
|
|
@@ -11,14 +11,6 @@ export declare class ContactsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<ContactsClient.Options>;
|
|
12
12
|
constructor(options: ContactsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* <Note title="Follow this format when passing a SMS phone number as an attribute">
|
|
15
|
-
* Accepted Number Formats
|
|
16
|
-
*
|
|
17
|
-
* 91xxxxxxxxxx
|
|
18
|
-
* +91xxxxxxxxxx
|
|
19
|
-
* 0091xxxxxxxxxx
|
|
20
|
-
* </Note>
|
|
21
|
-
*
|
|
22
14
|
* @param {Brevo.GetContactsRequest} request
|
|
23
15
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
24
16
|
*
|
|
@@ -31,6 +23,8 @@ export declare class ContactsClient {
|
|
|
31
23
|
getContacts(request?: Brevo.GetContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.GetContacts>;
|
|
32
24
|
private __getContacts;
|
|
33
25
|
/**
|
|
26
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
27
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
34
28
|
* 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>
|
|
35
29
|
*
|
|
36
30
|
* @param {Brevo.CreateContactRequest} request
|
|
@@ -124,9 +118,7 @@ export declare class ContactsClient {
|
|
|
124
118
|
updateBatchContacts(request?: Brevo.UpdateBatchContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
125
119
|
private __updateBatchContacts;
|
|
126
120
|
/**
|
|
127
|
-
* <Note title="How to use attributes param?">
|
|
128
|
-
* 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.
|
|
129
|
-
* </Note>
|
|
121
|
+
* <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>
|
|
130
122
|
*
|
|
131
123
|
* @param {Brevo.CreateDoiContactRequest} request
|
|
132
124
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -160,17 +152,11 @@ export declare class ContactsClient {
|
|
|
160
152
|
requestContactExport(request: Brevo.RequestContactExportRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.RequestContactExportResponse>;
|
|
161
153
|
private __requestContactExport;
|
|
162
154
|
/**
|
|
163
|
-
* <Note>
|
|
164
|
-
* Ongoing changes for this endpoint
|
|
165
|
-
*
|
|
155
|
+
* <Note>Ongoing changes for this endpoint
|
|
166
156
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
167
|
-
*
|
|
168
157
|
* These are non breaking changes.
|
|
169
|
-
*
|
|
170
158
|
* The default value for the attributes will be 0.
|
|
171
|
-
*
|
|
172
|
-
* The uniqueSubscribers field is deprecated
|
|
173
|
-
* </Note>
|
|
159
|
+
* The uniqueSubscribers field is deprecated</Note>
|
|
174
160
|
*
|
|
175
161
|
* @param {Brevo.GetFoldersRequest} request
|
|
176
162
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -194,13 +180,9 @@ export declare class ContactsClient {
|
|
|
194
180
|
createFolder(request: Brevo.CreateUpdateFolder, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.CreateFolderResponse>;
|
|
195
181
|
private __createFolder;
|
|
196
182
|
/**
|
|
197
|
-
* <Note>
|
|
198
|
-
* Ongoing changes for this endpoint.
|
|
199
|
-
*
|
|
183
|
+
* <Note>Ongoing changes for this endpoint.
|
|
200
184
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
201
|
-
*
|
|
202
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
203
|
-
* </Note>
|
|
185
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
204
186
|
*
|
|
205
187
|
* @param {Brevo.GetFolderRequest} request
|
|
206
188
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -245,13 +227,9 @@ export declare class ContactsClient {
|
|
|
245
227
|
deleteFolder(request: Brevo.DeleteFolderRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
246
228
|
private __deleteFolder;
|
|
247
229
|
/**
|
|
248
|
-
* <Note>
|
|
249
|
-
* Ongoing changes for this endpoint.
|
|
250
|
-
*
|
|
230
|
+
* <Note>Ongoing changes for this endpoint.
|
|
251
231
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
252
|
-
*
|
|
253
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
254
|
-
* </Note>
|
|
232
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
255
233
|
*
|
|
256
234
|
* @param {Brevo.GetFolderListsRequest} request
|
|
257
235
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -280,13 +258,9 @@ export declare class ContactsClient {
|
|
|
280
258
|
importContacts(request?: Brevo.ImportContactsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.ImportContactsResponse>;
|
|
281
259
|
private __importContacts;
|
|
282
260
|
/**
|
|
283
|
-
* <Note>
|
|
284
|
-
* Ongoing changes for this endpoint.
|
|
285
|
-
*
|
|
261
|
+
* <Note>Ongoing changes for this endpoint.
|
|
286
262
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
287
|
-
*
|
|
288
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
289
|
-
* </Note>
|
|
263
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
290
264
|
*
|
|
291
265
|
* @param {Brevo.GetListsRequest} request
|
|
292
266
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -454,14 +428,8 @@ export declare class ContactsClient {
|
|
|
454
428
|
getSegments(request?: Brevo.GetSegmentsRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.GetSegmentsResponse>;
|
|
455
429
|
private __getSegments;
|
|
456
430
|
/**
|
|
457
|
-
* <Note
|
|
458
|
-
* Accepted Number Formats
|
|
459
|
-
*
|
|
460
|
-
* 91xxxxxxxxxx
|
|
461
|
-
* +91xxxxxxxxxx
|
|
462
|
-
* 0091xxxxxxxxxx
|
|
463
|
-
* </Note>
|
|
464
|
-
*
|
|
431
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
432
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
465
433
|
* 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.
|
|
466
434
|
*
|
|
467
435
|
* @param {Brevo.GetContactInfoRequest} request
|
|
@@ -478,6 +446,8 @@ export declare class ContactsClient {
|
|
|
478
446
|
getContactInfo(request: Brevo.GetContactInfoRequest, requestOptions?: ContactsClient.RequestOptions): core.HttpResponsePromise<Brevo.GetContactInfoResponse>;
|
|
479
447
|
private __getContactInfo;
|
|
480
448
|
/**
|
|
449
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
450
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
481
451
|
* 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
|
|
482
452
|
*
|
|
483
453
|
* @param {Brevo.UpdateContactRequest} request
|
|
@@ -31,14 +31,6 @@ export class ContactsClient {
|
|
|
31
31
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* <Note title="Follow this format when passing a SMS phone number as an attribute">
|
|
35
|
-
* Accepted Number Formats
|
|
36
|
-
*
|
|
37
|
-
* 91xxxxxxxxxx
|
|
38
|
-
* +91xxxxxxxxxx
|
|
39
|
-
* 0091xxxxxxxxxx
|
|
40
|
-
* </Note>
|
|
41
|
-
*
|
|
42
34
|
* @param {Brevo.GetContactsRequest} request
|
|
43
35
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
36
|
*
|
|
@@ -99,6 +91,8 @@ export class ContactsClient {
|
|
|
99
91
|
});
|
|
100
92
|
}
|
|
101
93
|
/**
|
|
94
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
95
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
102
96
|
* 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>
|
|
103
97
|
*
|
|
104
98
|
* @param {Brevo.CreateContactRequest} request
|
|
@@ -456,9 +450,7 @@ export class ContactsClient {
|
|
|
456
450
|
});
|
|
457
451
|
}
|
|
458
452
|
/**
|
|
459
|
-
* <Note title="How to use attributes param?">
|
|
460
|
-
* 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.
|
|
461
|
-
* </Note>
|
|
453
|
+
* <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>
|
|
462
454
|
*
|
|
463
455
|
* @param {Brevo.CreateDoiContactRequest} request
|
|
464
456
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -570,17 +562,11 @@ export class ContactsClient {
|
|
|
570
562
|
});
|
|
571
563
|
}
|
|
572
564
|
/**
|
|
573
|
-
* <Note>
|
|
574
|
-
* Ongoing changes for this endpoint
|
|
575
|
-
*
|
|
565
|
+
* <Note>Ongoing changes for this endpoint
|
|
576
566
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
577
|
-
*
|
|
578
567
|
* These are non breaking changes.
|
|
579
|
-
*
|
|
580
568
|
* The default value for the attributes will be 0.
|
|
581
|
-
*
|
|
582
|
-
* The uniqueSubscribers field is deprecated
|
|
583
|
-
* </Note>
|
|
569
|
+
* The uniqueSubscribers field is deprecated</Note>
|
|
584
570
|
*
|
|
585
571
|
* @param {Brevo.GetFoldersRequest} request
|
|
586
572
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -683,13 +669,9 @@ export class ContactsClient {
|
|
|
683
669
|
});
|
|
684
670
|
}
|
|
685
671
|
/**
|
|
686
|
-
* <Note>
|
|
687
|
-
* Ongoing changes for this endpoint.
|
|
688
|
-
*
|
|
672
|
+
* <Note>Ongoing changes for this endpoint.
|
|
689
673
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
690
|
-
*
|
|
691
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
692
|
-
* </Note>
|
|
674
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
693
675
|
*
|
|
694
676
|
* @param {Brevo.GetFolderRequest} request
|
|
695
677
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -851,13 +833,9 @@ export class ContactsClient {
|
|
|
851
833
|
});
|
|
852
834
|
}
|
|
853
835
|
/**
|
|
854
|
-
* <Note>
|
|
855
|
-
* Ongoing changes for this endpoint.
|
|
856
|
-
*
|
|
836
|
+
* <Note>Ongoing changes for this endpoint.
|
|
857
837
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
858
|
-
*
|
|
859
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
860
|
-
* </Note>
|
|
838
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
861
839
|
*
|
|
862
840
|
* @param {Brevo.GetFolderListsRequest} request
|
|
863
841
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -967,13 +945,9 @@ export class ContactsClient {
|
|
|
967
945
|
});
|
|
968
946
|
}
|
|
969
947
|
/**
|
|
970
|
-
* <Note>
|
|
971
|
-
* Ongoing changes for this endpoint.
|
|
972
|
-
*
|
|
948
|
+
* <Note>Ongoing changes for this endpoint.
|
|
973
949
|
* We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
|
|
974
|
-
*
|
|
975
|
-
* These are non breaking changes. The default value for the attributes will be 0.
|
|
976
|
-
* </Note>
|
|
950
|
+
* These are non breaking changes. The default value for the attributes will be 0.</Note>
|
|
977
951
|
*
|
|
978
952
|
* @param {Brevo.GetListsRequest} request
|
|
979
953
|
* @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1508,14 +1482,8 @@ export class ContactsClient {
|
|
|
1508
1482
|
});
|
|
1509
1483
|
}
|
|
1510
1484
|
/**
|
|
1511
|
-
* <Note
|
|
1512
|
-
* Accepted Number Formats
|
|
1513
|
-
*
|
|
1514
|
-
* 91xxxxxxxxxx
|
|
1515
|
-
* +91xxxxxxxxxx
|
|
1516
|
-
* 0091xxxxxxxxxx
|
|
1517
|
-
* </Note>
|
|
1518
|
-
*
|
|
1485
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
1486
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
1519
1487
|
* 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.
|
|
1520
1488
|
*
|
|
1521
1489
|
* @param {Brevo.GetContactInfoRequest} request
|
|
@@ -1575,6 +1543,8 @@ export class ContactsClient {
|
|
|
1575
1543
|
});
|
|
1576
1544
|
}
|
|
1577
1545
|
/**
|
|
1546
|
+
* <Note>Follow this format when passing a "SMS" phone number as an attribute.
|
|
1547
|
+
* Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
|
|
1578
1548
|
* 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
|
|
1579
1549
|
*
|
|
1580
1550
|
* @param {Brevo.UpdateContactRequest} request
|
|
@@ -23,30 +23,6 @@ import type * as Brevo from "../../../../index.mjs";
|
|
|
23
23
|
* ids: [1, 2]
|
|
24
24
|
* }
|
|
25
25
|
* }
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* {
|
|
29
|
-
* listId: 1000000,
|
|
30
|
-
* body: {
|
|
31
|
-
* emails: ["jeff32@example.com", "jim56@example.com"]
|
|
32
|
-
* }
|
|
33
|
-
* }
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* {
|
|
37
|
-
* listId: 1000000,
|
|
38
|
-
* body: {
|
|
39
|
-
* emails: ["jeff32@example.com", "jim56@example.com"]
|
|
40
|
-
* }
|
|
41
|
-
* }
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* {
|
|
45
|
-
* listId: 1000000,
|
|
46
|
-
* body: {
|
|
47
|
-
* emails: ["jeff32@example.com", "jim56@example.com"]
|
|
48
|
-
* }
|
|
49
|
-
* }
|
|
50
26
|
*/
|
|
51
27
|
export interface AddContactToListRequest {
|
|
52
28
|
/** Id of the list */
|
|
@@ -31,8 +31,8 @@ export declare namespace ImportContactsRequest {
|
|
|
31
31
|
namespace JsonBody {
|
|
32
32
|
interface Item {
|
|
33
33
|
/** List of attributes to be imported */
|
|
34
|
-
attributes?: Record<string, unknown
|
|
35
|
-
email?: string;
|
|
34
|
+
attributes?: Record<string, unknown> | undefined;
|
|
35
|
+
email?: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
@@ -40,8 +40,8 @@ export declare namespace ImportContactsRequest {
|
|
|
40
40
|
*/
|
|
41
41
|
interface NewList {
|
|
42
42
|
/** Id of the folder where this new list shall be created. **Mandatory if listName is not empty** */
|
|
43
|
-
folderId?: number;
|
|
43
|
+
folderId?: number | undefined;
|
|
44
44
|
/** List with listName will be created first and users will be imported in it. **Mandatory if listIds is empty**. */
|
|
45
|
-
listName?: string;
|
|
45
|
+
listName?: string | undefined;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -31,38 +31,6 @@ import type * as Brevo from "../../../../index.mjs";
|
|
|
31
31
|
* ids: [1, 2]
|
|
32
32
|
* }
|
|
33
33
|
* }
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* {
|
|
37
|
-
* listId: 1000000,
|
|
38
|
-
* body: {
|
|
39
|
-
* all: true
|
|
40
|
-
* }
|
|
41
|
-
* }
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* {
|
|
45
|
-
* listId: 1000000,
|
|
46
|
-
* body: {
|
|
47
|
-
* all: true
|
|
48
|
-
* }
|
|
49
|
-
* }
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* {
|
|
53
|
-
* listId: 1000000,
|
|
54
|
-
* body: {
|
|
55
|
-
* all: true
|
|
56
|
-
* }
|
|
57
|
-
* }
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* {
|
|
61
|
-
* listId: 1000000,
|
|
62
|
-
* body: {
|
|
63
|
-
* all: true
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
34
|
*/
|
|
67
35
|
export interface RemoveContactFromListRequest {
|
|
68
36
|
/** Id of the list */
|
|
@@ -28,19 +28,19 @@ export declare namespace RequestContactExportRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
interface CustomContactFilter {
|
|
30
30
|
/** **Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on contacts as per the list id. * **allContacts** - Fetch the list of all contacts for a particular list. * **subscribed & unsubscribed** - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * **unsubscribedPerList** - Fetch the list of contacts that are unsubscribed from a particular list only. */
|
|
31
|
-
actionForContacts?: CustomContactFilter.ActionForContacts;
|
|
31
|
+
actionForContacts?: CustomContactFilter.ActionForContacts | undefined;
|
|
32
32
|
/** **Mandatory if neither actionForContacts nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on email campaigns. * **openers & nonOpeners** - emailCampaignId is mandatory. Fetch the list of readers / non-readers for a particular email campaign. * **clickers & nonClickers** - emailCampaignId is mandatory. Fetch the list of clickers / non-clickers for a particular email campaign. * **unsubscribed** - emailCampaignId is mandatory. Fetch the list of all unsubscribed (blacklisted via any means) contacts for a particular email campaign. * **hardBounces & softBounces** - emailCampaignId is optional. Fetch the list of hard bounces / soft bounces for a particular / all email campaign(s). */
|
|
33
|
-
actionForEmailCampaigns?: CustomContactFilter.ActionForEmailCampaigns;
|
|
33
|
+
actionForEmailCampaigns?: CustomContactFilter.ActionForEmailCampaigns | undefined;
|
|
34
34
|
/** **Mandatory if neither actionForContacts nor actionForEmailCampaigns is passed.** This will export the contacts on the basis of provided action applied on sms campaigns. * **unsubscribed** - Fetch the list of all unsubscribed (blacklisted via any means) contacts for all / particular sms campaigns. * **hardBounces & softBounces** - Fetch the list of hard bounces / soft bounces for all / particular sms campaigns. */
|
|
35
|
-
actionForSmsCampaigns?: CustomContactFilter.ActionForSmsCampaigns;
|
|
35
|
+
actionForSmsCampaigns?: CustomContactFilter.ActionForSmsCampaigns | undefined;
|
|
36
36
|
/** Considered only if **actionForEmailCampaigns** is passed, ignored otherwise. **Mandatory if action is one of the following - openers, nonOpeners, clickers, nonClickers, unsubscribed.** The id of the email campaign for which the corresponding action shall be applied in the filter. */
|
|
37
|
-
emailCampaignId?: number;
|
|
37
|
+
emailCampaignId?: number | undefined;
|
|
38
38
|
/** ID of the list. This is mandatory if actionForContacts is specified and segmentId is not provided. Either segmentId or listId must be included. */
|
|
39
|
-
listId?: number;
|
|
39
|
+
listId?: number | undefined;
|
|
40
40
|
/** ID of the segment. This is mandatory if actionForContacts is specified and listId is not provided. Either segmentId or listId must be included. */
|
|
41
|
-
segmentId?: number;
|
|
41
|
+
segmentId?: number | undefined;
|
|
42
42
|
/** Considered only if **actionForSmsCampaigns** is passed, ignored otherwise. The id of sms campaign for which the corresponding action shall be applied in the filter. */
|
|
43
|
-
smsCampaignId?: number;
|
|
43
|
+
smsCampaignId?: number | undefined;
|
|
44
44
|
}
|
|
45
45
|
namespace CustomContactFilter {
|
|
46
46
|
/** **Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on contacts as per the list id. * **allContacts** - Fetch the list of all contacts for a particular list. * **subscribed & unsubscribed** - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * **unsubscribedPerList** - Fetch the list of contacts that are unsubscribed from a particular list only. */
|
|
@@ -11,25 +11,25 @@ export declare namespace UpdateBatchContactsRequest {
|
|
|
11
11
|
namespace Contacts {
|
|
12
12
|
interface Item {
|
|
13
13
|
/** Pass the set of attributes to be updated. **These attributes must be present in your account**. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, **{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}**. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in **SMS** field should be passed with proper country code. For example: **{"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}** */
|
|
14
|
-
attributes?: Record<string, unknown
|
|
14
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15
15
|
/** Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
|
|
16
|
-
email?: string;
|
|
16
|
+
email?: string | undefined;
|
|
17
17
|
/** Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) */
|
|
18
|
-
emailBlacklisted?: boolean;
|
|
18
|
+
emailBlacklisted?: boolean | undefined;
|
|
19
19
|
/** Pass your own Id to update ext_id of a contact. */
|
|
20
|
-
ext_id?: string;
|
|
20
|
+
ext_id?: string | undefined;
|
|
21
21
|
/** id of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
|
|
22
|
-
id?: number;
|
|
22
|
+
id?: number | undefined;
|
|
23
23
|
/** Ids of the lists to add the contact to */
|
|
24
|
-
listIds?: number[];
|
|
24
|
+
listIds?: number[] | undefined;
|
|
25
25
|
/** SMS of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
|
|
26
|
-
sms?: string;
|
|
26
|
+
sms?: string | undefined;
|
|
27
27
|
/** Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) */
|
|
28
|
-
smsBlacklisted?: boolean;
|
|
28
|
+
smsBlacklisted?: boolean | undefined;
|
|
29
29
|
/** transactional email forbidden sender for contact. Use only for email Contact */
|
|
30
|
-
smtpBlacklistSender?: string[];
|
|
30
|
+
smtpBlacklistSender?: string[] | undefined;
|
|
31
31
|
/** Ids of the lists to remove the contact from */
|
|
32
|
-
unlinkListIds?: number[];
|
|
32
|
+
unlinkListIds?: number[] | undefined;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -7,17 +7,17 @@ export declare namespace GetAttributesResponse {
|
|
|
7
7
|
namespace Attributes {
|
|
8
8
|
interface Item {
|
|
9
9
|
/** Calculated value formula */
|
|
10
|
-
calculatedValue?: string;
|
|
10
|
+
calculatedValue?: string | undefined;
|
|
11
11
|
/** Category of the attribute */
|
|
12
12
|
category: Item.Category;
|
|
13
13
|
/** Parameter only available for "category" type attributes. */
|
|
14
|
-
enumeration?: Item.Enumeration.Item[];
|
|
14
|
+
enumeration?: Item.Enumeration.Item[] | undefined;
|
|
15
15
|
/** Parameter only available for "multiple-choice" type attributes. */
|
|
16
|
-
multiCategoryOptions?: string[];
|
|
16
|
+
multiCategoryOptions?: string[] | undefined;
|
|
17
17
|
/** Name of the attribute */
|
|
18
18
|
name: string;
|
|
19
19
|
/** Type of the attribute */
|
|
20
|
-
type?: Item.Type;
|
|
20
|
+
type?: Item.Type | undefined;
|
|
21
21
|
}
|
|
22
22
|
namespace Item {
|
|
23
23
|
/** Category of the attribute */
|
|
@@ -4,13 +4,13 @@ export interface GetContactInfoResponse {
|
|
|
4
4
|
/** Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
5
5
|
createdAt: string;
|
|
6
6
|
/** Email address of the contact for which you requested the details */
|
|
7
|
-
email?: string;
|
|
7
|
+
email?: string | undefined;
|
|
8
8
|
/** Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) */
|
|
9
9
|
emailBlacklisted: boolean;
|
|
10
10
|
/** ID of the contact for which you requested the details */
|
|
11
11
|
id: number;
|
|
12
12
|
listIds: number[];
|
|
13
|
-
listUnsubscribed?: number[];
|
|
13
|
+
listUnsubscribed?: number[] | undefined;
|
|
14
14
|
/** Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
15
15
|
modifiedAt: string;
|
|
16
16
|
/** Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) */
|
|
@@ -28,23 +28,23 @@ export declare namespace GetContactInfoResponse {
|
|
|
28
28
|
*/
|
|
29
29
|
interface Statistics {
|
|
30
30
|
/** Listing of the clicks generated by the contact */
|
|
31
|
-
clicked?: Statistics.Clicked.Item[];
|
|
31
|
+
clicked?: Statistics.Clicked.Item[] | undefined;
|
|
32
32
|
/** Listing of the complaints generated by the contact */
|
|
33
|
-
complaints?: Statistics.Complaints.Item[];
|
|
33
|
+
complaints?: Statistics.Complaints.Item[] | undefined;
|
|
34
34
|
/** Listing of the delivered campaign for the contact */
|
|
35
|
-
delivered?: Statistics.Delivered.Item[];
|
|
35
|
+
delivered?: Statistics.Delivered.Item[] | undefined;
|
|
36
36
|
/** Listing of the hardbounes generated by the contact */
|
|
37
|
-
hardBounces?: Statistics.HardBounces.Item[];
|
|
37
|
+
hardBounces?: Statistics.HardBounces.Item[] | undefined;
|
|
38
38
|
/** Listing of the sent campaign for the contact */
|
|
39
|
-
messagesSent?: Statistics.MessagesSent.Item[];
|
|
39
|
+
messagesSent?: Statistics.MessagesSent.Item[] | undefined;
|
|
40
40
|
/** Listing of the openings generated by the contact */
|
|
41
|
-
opened?: Statistics.Opened.Item[];
|
|
41
|
+
opened?: Statistics.Opened.Item[] | undefined;
|
|
42
42
|
/** Listing of the softbounes generated by the contact */
|
|
43
|
-
softBounces?: Statistics.SoftBounces.Item[];
|
|
43
|
+
softBounces?: Statistics.SoftBounces.Item[] | undefined;
|
|
44
44
|
/** Listing of the transactional attributes for the contact */
|
|
45
|
-
transacAttributes?: Statistics.TransacAttributes.Item[];
|
|
45
|
+
transacAttributes?: Statistics.TransacAttributes.Item[] | undefined;
|
|
46
46
|
/** Listing of the unsubscription for the contact */
|
|
47
|
-
unsubscriptions?: Statistics.Unsubscriptions;
|
|
47
|
+
unsubscriptions?: Statistics.Unsubscriptions | undefined;
|
|
48
48
|
}
|
|
49
49
|
namespace Statistics {
|
|
50
50
|
type Clicked = Clicked.Item[];
|
|
@@ -149,7 +149,7 @@ export declare namespace GetContactInfoResponse {
|
|
|
149
149
|
/** UTC date-time of the event */
|
|
150
150
|
eventTime: string;
|
|
151
151
|
/** IP from which the user has been unsubscribed */
|
|
152
|
-
ip?: string;
|
|
152
|
+
ip?: string | undefined;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
type UserUnsubscription = UserUnsubscription.Item[];
|
|
@@ -160,7 +160,7 @@ export declare namespace GetContactInfoResponse {
|
|
|
160
160
|
/** UTC date-time of the event */
|
|
161
161
|
eventTime: string;
|
|
162
162
|
/** IP from which the user has unsubscribed */
|
|
163
|
-
ip?: string;
|
|
163
|
+
ip?: string | undefined;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|