@getbrevo/brevo 5.0.0 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +12 -0
- package/dist/cjs/Client.js +67 -0
- package/dist/cjs/api/resources/account/exports.d.ts +2 -0
- package/dist/cjs/api/resources/account/exports.js +21 -0
- package/dist/cjs/api/resources/account/types/GetAccountActivityResponse.d.ts +1 -1
- package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +7 -7
- package/dist/cjs/api/resources/balance/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/balance/client/Client.js +20 -11
- package/dist/cjs/api/resources/balance/client/requests/GetContactBalancesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.ts +10 -6
- package/dist/cjs/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.ts +10 -1
- package/dist/cjs/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.ts +10 -1
- package/dist/cjs/api/resources/balance/exports.d.ts +2 -0
- package/dist/cjs/api/resources/balance/exports.js +21 -0
- package/dist/cjs/api/resources/balance/types/CreateBalanceOrderResponse.d.ts +6 -6
- package/dist/cjs/api/resources/balance/types/GetBalanceDefinitionListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/balance/types/GetContactBalancesResponse.d.ts +8 -8
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.js +11 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.ts +5 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.js +8 -0
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.ts +15 -15
- package/dist/cjs/api/resources/balance/types/GetSubscriptionBalancesResponse.d.ts +3 -3
- package/dist/cjs/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.ts +9 -9
- package/dist/cjs/api/resources/balance/types/index.d.ts +2 -1
- package/dist/cjs/api/resources/balance/types/index.js +2 -1
- package/dist/cjs/api/resources/companies/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/companies/client/Client.js +107 -0
- package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.ts +10 -0
- package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.js +3 -0
- package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.ts +33 -0
- package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.js +12 -0
- package/dist/cjs/api/resources/companies/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/companies/client/requests/index.js +3 -1
- package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
- package/dist/cjs/api/resources/companies/exports.js +21 -0
- package/dist/cjs/api/resources/companies/types/GetCompaniesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.ts +5 -5
- package/dist/cjs/api/resources/companies/types/PostCompaniesImportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +15 -45
- package/dist/cjs/api/resources/contacts/client/Client.js +15 -45
- package/dist/cjs/api/resources/contacts/client/requests/AddContactToListRequest.d.ts +0 -24
- package/dist/cjs/api/resources/contacts/client/requests/ImportContactsRequest.d.ts +4 -4
- package/dist/cjs/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.ts +0 -32
- package/dist/cjs/api/resources/contacts/client/requests/RequestContactExportRequest.d.ts +7 -7
- package/dist/cjs/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.ts +10 -10
- package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/exports.js +21 -0
- package/dist/cjs/api/resources/contacts/types/CreateContactResponse.d.ts +1 -1
- package/dist/cjs/api/resources/contacts/types/GetAttributesResponse.d.ts +4 -4
- package/dist/cjs/api/resources/contacts/types/GetContactInfoResponse.d.ts +13 -13
- package/dist/cjs/api/resources/contacts/types/GetContactStatsResponse.d.ts +11 -11
- package/dist/cjs/api/resources/contacts/types/GetFolderListsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetFoldersResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetListResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetListsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/contacts/types/GetSegmentsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.ts +2 -2
- package/dist/cjs/api/resources/coupons/exports.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/exports.js +21 -0
- package/dist/cjs/api/resources/customObjects/client/Client.d.ts +6 -14
- package/dist/cjs/api/resources/customObjects/client/Client.js +6 -14
- package/dist/cjs/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.ts +6 -6
- package/dist/cjs/api/resources/customObjects/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customObjects/exports.js +21 -0
- package/dist/cjs/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/customObjects/types/GetrecordsResponse.d.ts +9 -9
- package/dist/cjs/api/resources/customObjects/types/UpsertrecordsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/deals/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/deals/client/Client.js +2 -0
- package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
- package/dist/cjs/api/resources/deals/exports.js +21 -0
- package/dist/cjs/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.ts +5 -5
- package/dist/cjs/api/resources/deals/types/GetCrmDealsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/deals/types/PostCrmDealsImportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/domains/client/requests/AuthenticateDomainRequest.d.ts +0 -5
- package/dist/cjs/api/resources/domains/client/requests/CreateDomainRequest.d.ts +0 -10
- package/dist/cjs/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.ts +0 -5
- package/dist/cjs/api/resources/domains/exports.d.ts +2 -0
- package/dist/cjs/api/resources/domains/exports.js +21 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +2 -2
- package/dist/cjs/api/resources/domains/types/GetDomainsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/client/Client.d.ts +2 -4
- package/dist/cjs/api/resources/ecommerce/client/Client.js +2 -4
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.ts +1 -2
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.ts +3 -3
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.ts +4 -4
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.ts +15 -11
- package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.ts +5 -1
- package/dist/cjs/api/resources/ecommerce/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ecommerce/exports.js +21 -0
- package/dist/cjs/api/resources/ecommerce/types/CreateBatchOrderResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.ts +2 -2
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/CreateUpdateProductResponse.d.ts +1 -1
- package/dist/cjs/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.ts +7 -7
- package/dist/cjs/api/resources/emailCampaigns/client/Client.d.ts +2 -5
- package/dist/cjs/api/resources/emailCampaigns/client/Client.js +4 -6
- package/dist/cjs/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.ts +9 -9
- package/dist/cjs/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.ts +9 -9
- package/dist/cjs/api/resources/emailCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.ts +8 -8
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.ts +32 -25
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.ts +2 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.js +2 -0
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.ts +34 -27
- package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.js +3 -0
- package/dist/cjs/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/event/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/event/client/Client.js +125 -0
- package/dist/cjs/api/resources/event/client/requests/CreateEventRequest.d.ts +10 -10
- package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.js +3 -0
- package/dist/cjs/api/resources/event/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/exports.d.ts +2 -0
- package/dist/cjs/api/resources/event/exports.js +21 -0
- package/dist/cjs/api/resources/event/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/index.js +1 -0
- package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.d.ts +59 -0
- package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.js +3 -0
- package/dist/cjs/api/resources/event/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/event/types/index.js +17 -0
- package/dist/cjs/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.ts +0 -10
- package/dist/cjs/api/resources/externalFeeds/exports.d.ts +2 -0
- package/dist/cjs/api/resources/externalFeeds/exports.js +21 -0
- package/dist/cjs/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.ts +4 -4
- package/dist/cjs/api/resources/files/exports.d.ts +2 -0
- package/dist/cjs/api/resources/files/exports.js +21 -0
- package/dist/cjs/api/resources/files/types/GetCrmFilesIdResponse.d.ts +1 -1
- package/dist/cjs/api/resources/inboundParsing/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/inboundParsing/client/Client.js +1 -0
- package/dist/cjs/api/resources/inboundParsing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/inboundParsing/exports.js +21 -0
- package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.ts +14 -14
- package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +1 -0
- package/dist/cjs/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.ts +9 -9
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.ts +8 -8
- package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/exports.d.ts +2 -0
- package/dist/cjs/api/resources/masterAccount/exports.js +21 -0
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.ts +12 -12
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.ts +11 -11
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.ts +3 -3
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.ts +31 -31
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.ts +37 -37
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.ts +4 -4
- package/dist/cjs/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.ts +10 -10
- package/dist/cjs/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.ts +2 -2
- package/dist/cjs/api/resources/masterAccount/types/InviteAdminUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/masterAccount/types/PostCorporateGroupResponse.d.ts +1 -1
- package/dist/cjs/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.ts +1 -1
- package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/notes/exports.js +21 -0
- package/dist/cjs/api/resources/notes/types/PostCrmNotesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/payments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/payments/exports.js +21 -0
- package/dist/cjs/api/resources/payments/types/CreatePaymentRequestResponse.d.ts +1 -1
- package/dist/cjs/api/resources/payments/types/GetPaymentRequestResponse.d.ts +3 -3
- package/dist/cjs/api/resources/process/client/requests/GetProcessRequest.d.ts +0 -15
- package/dist/cjs/api/resources/process/exports.d.ts +2 -0
- package/dist/cjs/api/resources/process/exports.js +21 -0
- package/dist/cjs/api/resources/process/types/GetProcessResponse.d.ts +16 -16
- package/dist/cjs/api/resources/process/types/GetProcessesResponse.d.ts +16 -16
- package/dist/cjs/api/resources/program/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/program/client/Client.js +69 -1
- package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.ts +13 -0
- package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.js +3 -0
- package/dist/cjs/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.ts +2 -0
- package/dist/cjs/api/resources/program/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/program/exports.d.ts +2 -0
- package/dist/cjs/api/resources/program/exports.js +21 -0
- package/dist/cjs/api/resources/program/types/GetLpListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.ts +28 -28
- package/dist/cjs/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.ts +5 -5
- package/dist/cjs/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.ts +7 -7
- package/dist/cjs/api/resources/reward/client/requests/RedeemVoucherRequest.d.ts +26 -26
- package/dist/cjs/api/resources/reward/exports.d.ts +2 -0
- package/dist/cjs/api/resources/reward/exports.js +21 -0
- package/dist/cjs/api/resources/reward/types/CreateRewardResponse.d.ts +8 -8
- package/dist/cjs/api/resources/reward/types/CreateVoucherResponse.d.ts +11 -11
- package/dist/cjs/api/resources/reward/types/GetCodeCountResponse.d.ts +1 -1
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.ts +11 -11
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.ts +81 -81
- package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.ts +15 -15
- package/dist/cjs/api/resources/reward/types/ValidateRewardResponse.d.ts +1 -1
- package/dist/cjs/api/resources/senders/client/requests/CreateSenderRequest.d.ts +1 -13
- package/dist/cjs/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.ts +0 -5
- package/dist/cjs/api/resources/senders/client/requests/GetSendersRequest.d.ts +0 -3
- package/dist/cjs/api/resources/senders/client/requests/UpdateSenderRequest.d.ts +1 -1
- package/dist/cjs/api/resources/senders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/senders/exports.js +21 -0
- package/dist/cjs/api/resources/senders/types/CreateSenderResponse.d.ts +2 -2
- package/dist/cjs/api/resources/senders/types/GetSendersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/smsCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.ts +1 -1
- package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/smsTemplates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/smsTemplates/exports.js +21 -0
- package/dist/cjs/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.ts +17 -17
- package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tasks/exports.js +21 -0
- package/dist/cjs/api/resources/tasks/types/GetCrmTasksResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tasks/types/GetCrmTasktypesResponse.d.ts +2 -2
- package/dist/cjs/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.ts +3 -3
- package/dist/cjs/api/resources/tier/client/requests/CreateTierGroupRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tier/client/requests/UpdateTierGroupRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tier/client/requests/UpdateTierRequest.d.ts +3 -3
- package/dist/cjs/api/resources/tier/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tier/exports.js +21 -0
- package/dist/cjs/api/resources/tier/types/AddSubscriptionToTierResponse.d.ts +7 -7
- package/dist/cjs/api/resources/tier/types/GetListOfTierGroupsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/client/Client.d.ts +2 -6
- package/dist/cjs/api/resources/transactionalEmails/client/Client.js +2 -6
- package/dist/cjs/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.ts +0 -7
- package/dist/cjs/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.ts +21 -21
- package/dist/cjs/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalEmails/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalEmails/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.ts +13 -13
- package/dist/cjs/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.ts +8 -8
- package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.ts +2 -2
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.ts +4 -4
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.ts +1 -1
- package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.ts +5 -5
- package/dist/cjs/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.ts +6 -6
- package/dist/cjs/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.ts +2 -2
- package/dist/cjs/api/resources/transactionalSms/client/Client.d.ts +5 -9
- package/dist/cjs/api/resources/transactionalSms/client/Client.js +5 -9
- package/dist/cjs/api/resources/transactionalSms/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalSms/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalSms/types/GetSmsEventsResponse.d.ts +8 -8
- package/dist/cjs/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.ts +11 -11
- package/dist/cjs/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.ts +12 -12
- package/dist/cjs/api/resources/transactionalSms/types/SendTransacSmsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.js +2 -1
- package/dist/cjs/api/resources/transactionalWhatsApp/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactionalWhatsApp/exports.js +21 -0
- package/dist/cjs/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.ts +4 -4
- package/dist/cjs/api/resources/user/exports.d.ts +2 -0
- package/dist/cjs/api/resources/user/exports.js +21 -0
- package/dist/cjs/api/resources/user/types/EditUserPermissionResponse.d.ts +2 -2
- package/dist/cjs/api/resources/user/types/GetInvitedUsersListResponse.d.ts +4 -4
- package/dist/cjs/api/resources/user/types/InviteuserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/PutRevokeUserPermissionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/PutresendcancelinvitationResponse.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -13
- package/dist/cjs/api/resources/webhooks/client/Client.js +7 -13
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +6 -4
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +1 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.ts +6 -4
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.js +1 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.d.ts +19 -44
- package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.js +19 -44
- package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.ts +3 -3
- package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.ts +3 -3
- package/dist/cjs/api/resources/whatsAppCampaigns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/exports.js +21 -0
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.ts +15 -15
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.ts +6 -6
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.ts +6 -6
- package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.ts +3 -3
- package/dist/cjs/api/types/BalanceDefinition.d.ts +20 -20
- package/dist/cjs/api/types/BalanceLimit.d.ts +8 -8
- package/dist/cjs/api/types/BatchAcceptedResponse.d.ts +9 -0
- package/dist/cjs/api/types/BatchAcceptedResponse.js +3 -0
- package/dist/cjs/api/types/BatchEventsResponse.d.ts +26 -0
- package/dist/cjs/api/types/BatchEventsResponse.js +3 -0
- package/dist/cjs/api/types/Company.d.ts +4 -4
- package/dist/cjs/api/types/ContactErrorModel.d.ts +1 -1
- package/dist/cjs/api/types/ConversationsMessage.d.ts +53 -53
- package/dist/cjs/api/types/CreateUpdateFolder.d.ts +1 -1
- package/dist/cjs/api/types/Deal.d.ts +4 -4
- package/dist/cjs/api/types/ErrorModel.d.ts +1 -1
- package/dist/cjs/api/types/FileData.d.ts +7 -7
- package/dist/cjs/api/types/GetCampaignStats.d.ts +7 -7
- package/dist/cjs/api/types/GetCategoryDetails.d.ts +1 -1
- package/dist/cjs/api/types/GetContactDetails.d.ts +2 -2
- package/dist/cjs/api/types/GetCouponCollection.d.ts +3 -3
- package/dist/cjs/api/types/GetEventsList.d.ts +32 -0
- package/dist/cjs/api/types/GetEventsList.js +3 -0
- package/dist/cjs/api/types/GetExtendedCampaignOverview.d.ts +32 -25
- package/dist/cjs/api/types/GetExtendedCampaignOverview.js +3 -0
- package/dist/cjs/api/types/GetExtendedCampaignStats.d.ts +4 -4
- package/dist/cjs/api/types/GetProductDetails.d.ts +14 -10
- package/dist/cjs/api/types/GetSmsCampaignOverview.d.ts +1 -1
- package/dist/cjs/api/types/GetSmtpTemplateOverview.d.ts +4 -4
- package/dist/cjs/api/types/GetWebhook.d.ts +4 -4
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +48 -0
- package/dist/cjs/api/types/InternalServerErrorBody.js +46 -0
- package/dist/cjs/api/types/Inviteuser.d.ts +2 -2
- package/dist/cjs/api/types/LoyaltyProgram.d.ts +12 -12
- package/dist/cjs/api/types/NodeResponse.d.ts +8 -8
- package/dist/cjs/api/types/Note.d.ts +6 -6
- package/dist/cjs/api/types/NoteData.d.ts +3 -3
- package/dist/cjs/api/types/Order.d.ts +30 -20
- package/dist/cjs/api/types/Pipeline.d.ts +5 -5
- package/dist/cjs/api/types/PostContactInfo.d.ts +4 -4
- package/dist/cjs/api/types/PostSendFailed.d.ts +3 -3
- package/dist/cjs/api/types/Redeem.d.ts +14 -14
- package/dist/cjs/api/types/RuleConditionResponse.d.ts +5 -5
- package/dist/cjs/api/types/SendReport.d.ts +1 -1
- package/dist/cjs/api/types/SendTestEmail.d.ts +1 -1
- package/dist/cjs/api/types/SendTransacSms.d.ts +10 -6
- package/dist/cjs/api/types/Task.d.ts +4 -4
- package/dist/cjs/api/types/Tier.d.ts +16 -16
- package/dist/cjs/api/types/TierGroup.d.ts +8 -8
- package/dist/cjs/api/types/Transaction.d.ts +15 -15
- package/dist/cjs/api/types/UpdateCampaignStatus.d.ts +2 -1
- package/dist/cjs/api/types/UpdateCampaignStatus.js +1 -0
- package/dist/cjs/api/types/ValueResponse.d.ts +8 -8
- package/dist/cjs/api/types/VariablesItems.d.ts +3 -3
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/Fetcher.js +8 -2
- package/dist/cjs/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/core/fetcher/index.js +3 -1
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/cjs/core/fetcher/makeRequest.js +30 -9
- package/dist/cjs/core/runtime/runtime.js +8 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +12 -0
- package/dist/esm/Client.mjs +34 -0
- package/dist/esm/api/resources/account/exports.d.mts +2 -0
- package/dist/esm/api/resources/account/exports.mjs +3 -0
- package/dist/esm/api/resources/account/types/GetAccountActivityResponse.d.mts +1 -1
- package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +7 -7
- package/dist/esm/api/resources/balance/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/balance/client/Client.mjs +20 -11
- package/dist/esm/api/resources/balance/client/requests/GetContactBalancesRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.mts +10 -6
- package/dist/esm/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.mts +2 -0
- package/dist/esm/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.mts +10 -1
- package/dist/esm/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.mts +10 -1
- package/dist/esm/api/resources/balance/exports.d.mts +2 -0
- package/dist/esm/api/resources/balance/exports.mjs +3 -0
- package/dist/esm/api/resources/balance/types/CreateBalanceOrderResponse.d.mts +6 -6
- package/dist/esm/api/resources/balance/types/GetBalanceDefinitionListResponse.d.mts +1 -1
- package/dist/esm/api/resources/balance/types/GetContactBalancesResponse.d.mts +8 -8
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.mts +5 -0
- package/dist/esm/api/resources/balance/types/{GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.mjs → GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.mjs} +3 -4
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.mts +15 -15
- package/dist/esm/api/resources/balance/types/GetSubscriptionBalancesResponse.d.mts +3 -3
- package/dist/esm/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.mts +9 -9
- package/dist/esm/api/resources/balance/types/index.d.mts +2 -1
- package/dist/esm/api/resources/balance/types/index.mjs +2 -1
- package/dist/esm/api/resources/companies/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/companies/client/Client.mjs +107 -0
- package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.mts +10 -0
- package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.mjs +2 -0
- package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.mts +33 -0
- package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.mjs +9 -0
- package/dist/esm/api/resources/companies/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/companies/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/companies/exports.d.mts +2 -0
- package/dist/esm/api/resources/companies/exports.mjs +3 -0
- package/dist/esm/api/resources/companies/types/GetCompaniesResponse.d.mts +1 -1
- package/dist/esm/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.mts +5 -5
- package/dist/esm/api/resources/companies/types/PostCompaniesImportResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/client/Client.d.mts +15 -45
- package/dist/esm/api/resources/contacts/client/Client.mjs +15 -45
- package/dist/esm/api/resources/contacts/client/requests/AddContactToListRequest.d.mts +0 -24
- package/dist/esm/api/resources/contacts/client/requests/ImportContactsRequest.d.mts +4 -4
- package/dist/esm/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.mts +0 -32
- package/dist/esm/api/resources/contacts/client/requests/RequestContactExportRequest.d.mts +7 -7
- package/dist/esm/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.mts +10 -10
- package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/contacts/exports.mjs +3 -0
- package/dist/esm/api/resources/contacts/types/CreateContactResponse.d.mts +1 -1
- package/dist/esm/api/resources/contacts/types/GetAttributesResponse.d.mts +4 -4
- package/dist/esm/api/resources/contacts/types/GetContactInfoResponse.d.mts +13 -13
- package/dist/esm/api/resources/contacts/types/GetContactStatsResponse.d.mts +11 -11
- package/dist/esm/api/resources/contacts/types/GetFolderListsResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetFoldersResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetListResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetListsResponse.d.mts +2 -2
- package/dist/esm/api/resources/contacts/types/GetSegmentsResponse.d.mts +3 -3
- package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.mts +2 -2
- package/dist/esm/api/resources/coupons/exports.d.mts +2 -0
- package/dist/esm/api/resources/coupons/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjects/client/Client.d.mts +6 -14
- package/dist/esm/api/resources/customObjects/client/Client.mjs +6 -14
- package/dist/esm/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.mts +6 -6
- package/dist/esm/api/resources/customObjects/exports.d.mts +2 -0
- package/dist/esm/api/resources/customObjects/exports.mjs +3 -0
- package/dist/esm/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.mts +2 -2
- package/dist/esm/api/resources/customObjects/types/GetrecordsResponse.d.mts +9 -9
- package/dist/esm/api/resources/customObjects/types/UpsertrecordsResponse.d.mts +3 -3
- package/dist/esm/api/resources/deals/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/deals/client/Client.mjs +2 -0
- package/dist/esm/api/resources/deals/exports.d.mts +2 -0
- package/dist/esm/api/resources/deals/exports.mjs +3 -0
- package/dist/esm/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.mts +5 -5
- package/dist/esm/api/resources/deals/types/GetCrmDealsResponse.d.mts +1 -1
- package/dist/esm/api/resources/deals/types/PostCrmDealsImportResponse.d.mts +1 -1
- package/dist/esm/api/resources/domains/client/requests/AuthenticateDomainRequest.d.mts +0 -5
- package/dist/esm/api/resources/domains/client/requests/CreateDomainRequest.d.mts +0 -10
- package/dist/esm/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.mts +0 -5
- package/dist/esm/api/resources/domains/exports.d.mts +2 -0
- package/dist/esm/api/resources/domains/exports.mjs +3 -0
- package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +2 -2
- package/dist/esm/api/resources/domains/types/GetDomainsResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/client/Client.d.mts +2 -4
- package/dist/esm/api/resources/ecommerce/client/Client.mjs +2 -4
- package/dist/esm/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.mts +1 -2
- package/dist/esm/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.mts +3 -3
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.mts +4 -4
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.mts +15 -11
- package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.mts +5 -1
- package/dist/esm/api/resources/ecommerce/exports.d.mts +2 -0
- package/dist/esm/api/resources/ecommerce/exports.mjs +3 -0
- package/dist/esm/api/resources/ecommerce/types/CreateBatchOrderResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.mts +2 -2
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.mts +2 -2
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/CreateUpdateProductResponse.d.mts +1 -1
- package/dist/esm/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.mts +7 -7
- package/dist/esm/api/resources/emailCampaigns/client/Client.d.mts +2 -5
- package/dist/esm/api/resources/emailCampaigns/client/Client.mjs +4 -6
- package/dist/esm/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.mts +9 -9
- package/dist/esm/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.mts +9 -9
- package/dist/esm/api/resources/emailCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.mts +8 -8
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.mts +32 -25
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.mts +2 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.mjs +2 -0
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.mts +34 -27
- package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.mjs +3 -0
- package/dist/esm/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.mts +1 -1
- package/dist/esm/api/resources/event/client/Client.d.mts +36 -0
- package/dist/esm/api/resources/event/client/Client.mjs +125 -0
- package/dist/esm/api/resources/event/client/requests/CreateEventRequest.d.mts +10 -10
- package/dist/esm/api/resources/event/client/requests/GetEventsRequest.d.mts +20 -0
- package/dist/esm/api/resources/event/client/requests/GetEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/event/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/event/exports.d.mts +2 -0
- package/dist/esm/api/resources/event/exports.mjs +3 -0
- package/dist/esm/api/resources/event/index.d.mts +1 -0
- package/dist/esm/api/resources/event/index.mjs +1 -0
- package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.d.mts +59 -0
- package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.mjs +2 -0
- package/dist/esm/api/resources/event/types/index.d.mts +1 -0
- package/dist/esm/api/resources/event/types/index.mjs +1 -0
- package/dist/esm/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.mts +0 -10
- package/dist/esm/api/resources/externalFeeds/exports.d.mts +2 -0
- package/dist/esm/api/resources/externalFeeds/exports.mjs +3 -0
- package/dist/esm/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.mts +4 -4
- package/dist/esm/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.mts +4 -4
- package/dist/esm/api/resources/files/exports.d.mts +2 -0
- package/dist/esm/api/resources/files/exports.mjs +3 -0
- package/dist/esm/api/resources/files/types/GetCrmFilesIdResponse.d.mts +1 -1
- package/dist/esm/api/resources/inboundParsing/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/inboundParsing/client/Client.mjs +1 -0
- package/dist/esm/api/resources/inboundParsing/exports.d.mts +2 -0
- package/dist/esm/api/resources/inboundParsing/exports.mjs +3 -0
- package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.mts +14 -14
- package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.mts +9 -9
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.mts +8 -8
- package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/exports.d.mts +2 -0
- package/dist/esm/api/resources/masterAccount/exports.mjs +3 -0
- package/dist/esm/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.mts +12 -12
- package/dist/esm/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.mts +11 -11
- package/dist/esm/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.mts +3 -3
- package/dist/esm/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.mts +31 -31
- package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.mts +37 -37
- package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.mts +4 -4
- package/dist/esm/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.mts +10 -10
- package/dist/esm/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.mts +2 -2
- package/dist/esm/api/resources/masterAccount/types/InviteAdminUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/masterAccount/types/PostCorporateGroupResponse.d.mts +1 -1
- package/dist/esm/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.mts +1 -1
- package/dist/esm/api/resources/notes/exports.d.mts +2 -0
- package/dist/esm/api/resources/notes/exports.mjs +3 -0
- package/dist/esm/api/resources/notes/types/PostCrmNotesResponse.d.mts +1 -1
- package/dist/esm/api/resources/payments/exports.d.mts +2 -0
- package/dist/esm/api/resources/payments/exports.mjs +3 -0
- package/dist/esm/api/resources/payments/types/CreatePaymentRequestResponse.d.mts +1 -1
- package/dist/esm/api/resources/payments/types/GetPaymentRequestResponse.d.mts +3 -3
- package/dist/esm/api/resources/process/client/requests/GetProcessRequest.d.mts +0 -15
- package/dist/esm/api/resources/process/exports.d.mts +2 -0
- package/dist/esm/api/resources/process/exports.mjs +3 -0
- package/dist/esm/api/resources/process/types/GetProcessResponse.d.mts +16 -16
- package/dist/esm/api/resources/process/types/GetProcessesResponse.d.mts +16 -16
- package/dist/esm/api/resources/program/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/program/client/Client.mjs +69 -1
- package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.mts +13 -0
- package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.mjs +2 -0
- package/dist/esm/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.mts +2 -0
- package/dist/esm/api/resources/program/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/program/exports.d.mts +2 -0
- package/dist/esm/api/resources/program/exports.mjs +3 -0
- package/dist/esm/api/resources/program/types/GetLpListResponse.d.mts +1 -1
- package/dist/esm/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.mts +28 -28
- package/dist/esm/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.mts +5 -5
- package/dist/esm/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.mts +7 -7
- package/dist/esm/api/resources/reward/client/requests/RedeemVoucherRequest.d.mts +26 -26
- package/dist/esm/api/resources/reward/exports.d.mts +2 -0
- package/dist/esm/api/resources/reward/exports.mjs +3 -0
- package/dist/esm/api/resources/reward/types/CreateRewardResponse.d.mts +8 -8
- package/dist/esm/api/resources/reward/types/CreateVoucherResponse.d.mts +11 -11
- package/dist/esm/api/resources/reward/types/GetCodeCountResponse.d.mts +1 -1
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.mts +11 -11
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.mts +81 -81
- package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.mts +15 -15
- package/dist/esm/api/resources/reward/types/ValidateRewardResponse.d.mts +1 -1
- package/dist/esm/api/resources/senders/client/requests/CreateSenderRequest.d.mts +1 -13
- package/dist/esm/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.mts +0 -5
- package/dist/esm/api/resources/senders/client/requests/GetSendersRequest.d.mts +0 -3
- package/dist/esm/api/resources/senders/client/requests/UpdateSenderRequest.d.mts +1 -1
- package/dist/esm/api/resources/senders/exports.d.mts +2 -0
- package/dist/esm/api/resources/senders/exports.mjs +3 -0
- package/dist/esm/api/resources/senders/types/CreateSenderResponse.d.mts +2 -2
- package/dist/esm/api/resources/senders/types/GetSendersResponse.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/smsCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.mts +1 -1
- package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.mts +3 -3
- package/dist/esm/api/resources/smsTemplates/exports.d.mts +2 -0
- package/dist/esm/api/resources/smsTemplates/exports.mjs +3 -0
- package/dist/esm/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.mts +17 -17
- package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
- package/dist/esm/api/resources/tasks/exports.mjs +3 -0
- package/dist/esm/api/resources/tasks/types/GetCrmTasksResponse.d.mts +1 -1
- package/dist/esm/api/resources/tasks/types/GetCrmTasktypesResponse.d.mts +2 -2
- package/dist/esm/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.mts +3 -3
- package/dist/esm/api/resources/tier/client/requests/CreateTierGroupRequest.d.mts +11 -0
- package/dist/esm/api/resources/tier/client/requests/UpdateTierGroupRequest.d.mts +11 -0
- package/dist/esm/api/resources/tier/client/requests/UpdateTierRequest.d.mts +3 -3
- package/dist/esm/api/resources/tier/exports.d.mts +2 -0
- package/dist/esm/api/resources/tier/exports.mjs +3 -0
- package/dist/esm/api/resources/tier/types/AddSubscriptionToTierResponse.d.mts +7 -7
- package/dist/esm/api/resources/tier/types/GetListOfTierGroupsResponse.d.mts +1 -1
- package/dist/esm/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/client/Client.d.mts +2 -6
- package/dist/esm/api/resources/transactionalEmails/client/Client.mjs +2 -6
- package/dist/esm/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.mts +3 -3
- package/dist/esm/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.mts +0 -7
- package/dist/esm/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.mts +21 -21
- package/dist/esm/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.mts +3 -3
- package/dist/esm/api/resources/transactionalEmails/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalEmails/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.mts +13 -13
- package/dist/esm/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.mts +8 -8
- package/dist/esm/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.mts +2 -2
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.mts +4 -4
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.mts +1 -1
- package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.mts +5 -5
- package/dist/esm/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.mts +6 -6
- package/dist/esm/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.mts +2 -2
- package/dist/esm/api/resources/transactionalSms/client/Client.d.mts +5 -9
- package/dist/esm/api/resources/transactionalSms/client/Client.mjs +5 -9
- package/dist/esm/api/resources/transactionalSms/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalSms/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalSms/types/GetSmsEventsResponse.d.mts +8 -8
- package/dist/esm/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.mts +11 -11
- package/dist/esm/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.mts +12 -12
- package/dist/esm/api/resources/transactionalSms/types/SendTransacSmsResponse.d.mts +3 -3
- package/dist/esm/api/resources/transactionalWhatsApp/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/transactionalWhatsApp/client/Client.mjs +2 -1
- package/dist/esm/api/resources/transactionalWhatsApp/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactionalWhatsApp/exports.mjs +3 -0
- package/dist/esm/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.mts +4 -4
- package/dist/esm/api/resources/user/exports.d.mts +2 -0
- package/dist/esm/api/resources/user/exports.mjs +3 -0
- package/dist/esm/api/resources/user/types/EditUserPermissionResponse.d.mts +2 -2
- package/dist/esm/api/resources/user/types/GetInvitedUsersListResponse.d.mts +4 -4
- package/dist/esm/api/resources/user/types/InviteuserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/PutRevokeUserPermissionResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/PutresendcancelinvitationResponse.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -13
- package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -13
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +6 -4
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.mts +6 -4
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/whatsAppCampaigns/client/Client.d.mts +19 -44
- package/dist/esm/api/resources/whatsAppCampaigns/client/Client.mjs +19 -44
- package/dist/esm/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.mts +3 -3
- package/dist/esm/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.mts +3 -3
- package/dist/esm/api/resources/whatsAppCampaigns/exports.d.mts +2 -0
- package/dist/esm/api/resources/whatsAppCampaigns/exports.mjs +3 -0
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.mts +15 -15
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.mts +6 -6
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.mts +6 -6
- package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.mts +3 -3
- package/dist/esm/api/types/BalanceDefinition.d.mts +20 -20
- package/dist/esm/api/types/BalanceLimit.d.mts +8 -8
- package/dist/esm/api/types/BatchAcceptedResponse.d.mts +9 -0
- package/dist/esm/api/types/BatchAcceptedResponse.mjs +2 -0
- package/dist/esm/api/types/BatchEventsResponse.d.mts +26 -0
- package/dist/esm/api/types/BatchEventsResponse.mjs +2 -0
- package/dist/esm/api/types/Company.d.mts +4 -4
- package/dist/esm/api/types/ContactErrorModel.d.mts +1 -1
- package/dist/esm/api/types/ConversationsMessage.d.mts +53 -53
- package/dist/esm/api/types/CreateUpdateFolder.d.mts +1 -1
- package/dist/esm/api/types/Deal.d.mts +4 -4
- package/dist/esm/api/types/ErrorModel.d.mts +1 -1
- package/dist/esm/api/types/FileData.d.mts +7 -7
- package/dist/esm/api/types/GetCampaignStats.d.mts +7 -7
- package/dist/esm/api/types/GetCategoryDetails.d.mts +1 -1
- package/dist/esm/api/types/GetContactDetails.d.mts +2 -2
- package/dist/esm/api/types/GetCouponCollection.d.mts +3 -3
- package/dist/esm/api/types/GetEventsList.d.mts +32 -0
- package/dist/esm/api/types/GetEventsList.mjs +2 -0
- package/dist/esm/api/types/GetExtendedCampaignOverview.d.mts +32 -25
- package/dist/esm/api/types/GetExtendedCampaignOverview.mjs +3 -0
- package/dist/esm/api/types/GetExtendedCampaignStats.d.mts +4 -4
- package/dist/esm/api/types/GetProductDetails.d.mts +14 -10
- package/dist/esm/api/types/GetSmsCampaignOverview.d.mts +1 -1
- package/dist/esm/api/types/GetSmtpTemplateOverview.d.mts +4 -4
- package/dist/esm/api/types/GetWebhook.d.mts +4 -4
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +48 -0
- package/dist/esm/api/types/InternalServerErrorBody.mjs +43 -0
- package/dist/esm/api/types/Inviteuser.d.mts +2 -2
- package/dist/esm/api/types/LoyaltyProgram.d.mts +12 -12
- package/dist/esm/api/types/NodeResponse.d.mts +8 -8
- package/dist/esm/api/types/Note.d.mts +6 -6
- package/dist/esm/api/types/NoteData.d.mts +3 -3
- package/dist/esm/api/types/Order.d.mts +30 -20
- package/dist/esm/api/types/Pipeline.d.mts +5 -5
- package/dist/esm/api/types/PostContactInfo.d.mts +4 -4
- package/dist/esm/api/types/PostSendFailed.d.mts +3 -3
- package/dist/esm/api/types/Redeem.d.mts +14 -14
- package/dist/esm/api/types/RuleConditionResponse.d.mts +5 -5
- package/dist/esm/api/types/SendReport.d.mts +1 -1
- package/dist/esm/api/types/SendTestEmail.d.mts +1 -1
- package/dist/esm/api/types/SendTransacSms.d.mts +10 -6
- package/dist/esm/api/types/Task.d.mts +4 -4
- package/dist/esm/api/types/Tier.d.mts +16 -16
- package/dist/esm/api/types/TierGroup.d.mts +8 -8
- package/dist/esm/api/types/Transaction.d.mts +15 -15
- package/dist/esm/api/types/UpdateCampaignStatus.d.mts +2 -1
- package/dist/esm/api/types/UpdateCampaignStatus.mjs +1 -0
- package/dist/esm/api/types/ValueResponse.d.mts +8 -8
- package/dist/esm/api/types/VariablesItems.d.mts +3 -3
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
- package/dist/esm/core/fetcher/index.d.mts +2 -0
- package/dist/esm/core/fetcher/index.mjs +1 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
- package/dist/esm/core/runtime/runtime.mjs +8 -7
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +356 -4
- package/reference.md +362 -155
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.ts +0 -6
- package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js +0 -9
- package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.mts +0 -6
|
@@ -3,102 +3,102 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ConversationsMessage {
|
|
5
5
|
/** ID of the agent on whose behalf the message was sent (only in messages sent by an agent). */
|
|
6
|
-
agentId?: string;
|
|
6
|
+
agentId?: string | undefined;
|
|
7
7
|
/** Agent’s name as displayed to the visitor. Only in the messages sent by an agent. */
|
|
8
|
-
agentName?: string;
|
|
8
|
+
agentName?: string | undefined;
|
|
9
9
|
/** Only set if the agent has uploaded a profile picture. */
|
|
10
|
-
agentUserpic?: string;
|
|
10
|
+
agentUserpic?: string | undefined;
|
|
11
11
|
/** An array of file attachments. */
|
|
12
|
-
attachments?: ConversationsMessage.Attachments.Item[];
|
|
12
|
+
attachments?: ConversationsMessage.Attachments.Item[] | undefined;
|
|
13
13
|
/** An array containing details of the blind carbon copy (BCC) recipients (applicable only to messages in email threads). */
|
|
14
|
-
bcc?: ConversationsMessage.Bcc.Item[];
|
|
14
|
+
bcc?: ConversationsMessage.Bcc.Item[] | undefined;
|
|
15
15
|
/** An array containing details of the carbon copy (CC) recipients (applicable only to messages in email threads). */
|
|
16
|
-
cc?: ConversationsMessage.Cc.Item[];
|
|
16
|
+
cc?: ConversationsMessage.Cc.Item[] | undefined;
|
|
17
17
|
/** Timestamp in milliseconds. */
|
|
18
|
-
createdAt?: number;
|
|
19
|
-
file?: ConversationsMessage.File_;
|
|
18
|
+
createdAt?: number | undefined;
|
|
19
|
+
file?: ConversationsMessage.File_ | undefined;
|
|
20
20
|
/** Status of the message forwarding to the source. */
|
|
21
|
-
forwardedToSourceStatus?: ConversationsMessage.ForwardedToSourceStatus;
|
|
21
|
+
forwardedToSourceStatus?: ConversationsMessage.ForwardedToSourceStatus | undefined;
|
|
22
22
|
/** An object containing details about the email sender (applicable only to messages in email threads). */
|
|
23
|
-
from?: ConversationsMessage.From;
|
|
23
|
+
from?: ConversationsMessage.From | undefined;
|
|
24
24
|
/** The HTML content of the message. */
|
|
25
|
-
html?: string;
|
|
25
|
+
html?: string | undefined;
|
|
26
26
|
/** Message ID. It can be used for further manipulations with the message. */
|
|
27
|
-
id?: string;
|
|
27
|
+
id?: string | undefined;
|
|
28
28
|
/** Integration details. */
|
|
29
|
-
integrations?: Record<string, unknown
|
|
29
|
+
integrations?: Record<string, unknown> | undefined;
|
|
30
30
|
/** `true` for automated messages generated by an AI bot. */
|
|
31
|
-
isBot?: boolean;
|
|
31
|
+
isBot?: boolean | undefined;
|
|
32
32
|
/** `true` for missed and offline messages. */
|
|
33
|
-
isMissed?: boolean;
|
|
33
|
+
isMissed?: boolean | undefined;
|
|
34
34
|
/** `true` for unread agent’s messages in finished chats. */
|
|
35
|
-
isMissedByVisitor?: boolean;
|
|
35
|
+
isMissedByVisitor?: boolean | undefined;
|
|
36
36
|
/** `true` for pushed messages */
|
|
37
|
-
isPushed?: boolean;
|
|
37
|
+
isPushed?: boolean | undefined;
|
|
38
38
|
/** `true` for automatic messages from “Targeted chats & triggers” and API (https://developers.brevo.com/docs/javascript-api-reference#sendautomessage) */
|
|
39
|
-
isTrigger?: boolean;
|
|
39
|
+
isTrigger?: boolean | undefined;
|
|
40
40
|
/** Unescaped HTML content of the message (may include unsafe HTML). */
|
|
41
|
-
rawUnsafeHtml?: string;
|
|
41
|
+
rawUnsafeHtml?: string | undefined;
|
|
42
42
|
/** In two-way integrations, messages sent via REST API can be marked with receivedFrom property and then filtered out when received in a webhook to avoid infinite loop. */
|
|
43
|
-
receivedFrom?: string;
|
|
43
|
+
receivedFrom?: string | undefined;
|
|
44
44
|
/** An object containing details of the reply-to email address (applicable only to messages in email threads). */
|
|
45
|
-
replyTo?: ConversationsMessage.ReplyTo;
|
|
45
|
+
replyTo?: ConversationsMessage.ReplyTo | undefined;
|
|
46
46
|
/** The ID of the message assigned by the integration source. */
|
|
47
|
-
sourceMessageId?: string;
|
|
47
|
+
sourceMessageId?: string | undefined;
|
|
48
48
|
/** The subject line of the email message (only for messages sent to email threads). */
|
|
49
|
-
subject?: string;
|
|
49
|
+
subject?: string | undefined;
|
|
50
50
|
/** Message text or name of the attached file */
|
|
51
|
-
text?: string;
|
|
51
|
+
text?: string | undefined;
|
|
52
52
|
/** An array containing details of the recipients (applicable only to messages in email threads). */
|
|
53
|
-
to?: ConversationsMessage.To.Item[];
|
|
53
|
+
to?: ConversationsMessage.To.Item[] | undefined;
|
|
54
54
|
/** `"agent"` for agents’ messages, `"visitor"` for visitors’ messages. */
|
|
55
|
-
type?: ConversationsMessage.Type;
|
|
55
|
+
type?: ConversationsMessage.Type | undefined;
|
|
56
56
|
/** visitor’s ID */
|
|
57
|
-
visitorId?: string;
|
|
57
|
+
visitorId?: string | undefined;
|
|
58
58
|
}
|
|
59
59
|
export declare namespace ConversationsMessage {
|
|
60
60
|
type Attachments = Attachments.Item[];
|
|
61
61
|
namespace Attachments {
|
|
62
62
|
interface Item {
|
|
63
63
|
/** The name of the file. */
|
|
64
|
-
fileName?: string;
|
|
64
|
+
fileName?: string | undefined;
|
|
65
65
|
/** The ID of the inline file. */
|
|
66
|
-
inlineId?: string;
|
|
66
|
+
inlineId?: string | undefined;
|
|
67
67
|
/** `true` for images. */
|
|
68
|
-
isImage?: boolean;
|
|
68
|
+
isImage?: boolean | undefined;
|
|
69
69
|
/** `true` for inline files. */
|
|
70
|
-
isInline?: string;
|
|
70
|
+
isInline?: string | undefined;
|
|
71
71
|
/** The size of the file in bytes. */
|
|
72
|
-
size?: number;
|
|
72
|
+
size?: number | undefined;
|
|
73
73
|
/** The URL of the file. */
|
|
74
|
-
url?: string;
|
|
74
|
+
url?: string | undefined;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
type Bcc = Bcc.Item[];
|
|
78
78
|
namespace Bcc {
|
|
79
79
|
interface Item {
|
|
80
|
-
email?: string;
|
|
81
|
-
name?: string;
|
|
80
|
+
email?: string | undefined;
|
|
81
|
+
name?: string | undefined;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
type Cc = Cc.Item[];
|
|
85
85
|
namespace Cc {
|
|
86
86
|
interface Item {
|
|
87
|
-
email?: string;
|
|
88
|
-
name?: string;
|
|
87
|
+
email?: string | undefined;
|
|
88
|
+
name?: string | undefined;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
interface File_ {
|
|
92
92
|
/** Name of the file */
|
|
93
|
-
filename?: string;
|
|
93
|
+
filename?: string | undefined;
|
|
94
94
|
/** image info is passed in case the file is an image */
|
|
95
|
-
imageInfo?: File_.ImageInfo;
|
|
95
|
+
imageInfo?: File_.ImageInfo | undefined;
|
|
96
96
|
/** Whether the file is an image */
|
|
97
|
-
isImage?: boolean;
|
|
97
|
+
isImage?: boolean | undefined;
|
|
98
98
|
/** Size in bytes */
|
|
99
|
-
size?: number;
|
|
99
|
+
size?: number | undefined;
|
|
100
100
|
/** URL of the file */
|
|
101
|
-
url?: string;
|
|
101
|
+
url?: string | undefined;
|
|
102
102
|
}
|
|
103
103
|
namespace File_ {
|
|
104
104
|
/**
|
|
@@ -106,39 +106,39 @@ export declare namespace ConversationsMessage {
|
|
|
106
106
|
*/
|
|
107
107
|
interface ImageInfo {
|
|
108
108
|
/** height of the image */
|
|
109
|
-
height?: number;
|
|
109
|
+
height?: number | undefined;
|
|
110
110
|
/** URL of the preview */
|
|
111
|
-
previewUrl?: string;
|
|
111
|
+
previewUrl?: string | undefined;
|
|
112
112
|
/** Width of the image */
|
|
113
|
-
width?: number;
|
|
113
|
+
width?: number | undefined;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* Status of the message forwarding to the source.
|
|
118
118
|
*/
|
|
119
119
|
interface ForwardedToSourceStatus {
|
|
120
|
-
error?: string;
|
|
121
|
-
isSuccess?: boolean;
|
|
120
|
+
error?: string | undefined;
|
|
121
|
+
isSuccess?: boolean | undefined;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* An object containing details about the email sender (applicable only to messages in email threads).
|
|
125
125
|
*/
|
|
126
126
|
interface From {
|
|
127
|
-
email?: string;
|
|
128
|
-
name?: string;
|
|
127
|
+
email?: string | undefined;
|
|
128
|
+
name?: string | undefined;
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* An object containing details of the reply-to email address (applicable only to messages in email threads).
|
|
132
132
|
*/
|
|
133
133
|
interface ReplyTo {
|
|
134
|
-
email?: string;
|
|
135
|
-
name?: string;
|
|
134
|
+
email?: string | undefined;
|
|
135
|
+
name?: string | undefined;
|
|
136
136
|
}
|
|
137
137
|
type To = To.Item[];
|
|
138
138
|
namespace To {
|
|
139
139
|
interface Item {
|
|
140
|
-
email?: string;
|
|
141
|
-
name?: string;
|
|
140
|
+
email?: string | undefined;
|
|
141
|
+
name?: string | undefined;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
/** `"agent"` for agents’ messages, `"visitor"` for visitors’ messages. */
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface Deal {
|
|
5
5
|
/** Deal attributes with values */
|
|
6
|
-
attributes?: Record<string, unknown
|
|
6
|
+
attributes?: Record<string, unknown> | undefined;
|
|
7
7
|
/** Unique deal id */
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | undefined;
|
|
9
9
|
/** Companies ids for companies linked to this deal */
|
|
10
|
-
linkedCompaniesIds?: string[];
|
|
10
|
+
linkedCompaniesIds?: string[] | undefined;
|
|
11
11
|
/** Contact ids for contacts linked to this deal */
|
|
12
|
-
linkedContactsIds?: number[];
|
|
12
|
+
linkedContactsIds?: number[] | undefined;
|
|
13
13
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface FileData {
|
|
5
5
|
/** Account id of user which created the file */
|
|
6
|
-
authorId?: string;
|
|
6
|
+
authorId?: string | undefined;
|
|
7
7
|
/** Company id linked to a file */
|
|
8
|
-
companyId?: string;
|
|
8
|
+
companyId?: string | undefined;
|
|
9
9
|
/** Contact id of contact on which file is uploaded */
|
|
10
|
-
contactId?: number;
|
|
10
|
+
contactId?: number | undefined;
|
|
11
11
|
/** File created date/time */
|
|
12
|
-
createdAt?: string;
|
|
12
|
+
createdAt?: string | undefined;
|
|
13
13
|
/** Deal id linked to a file */
|
|
14
|
-
dealId?: string;
|
|
14
|
+
dealId?: string | undefined;
|
|
15
15
|
/** Name of uploaded file */
|
|
16
|
-
name?: string;
|
|
16
|
+
name?: string | undefined;
|
|
17
17
|
/** Size of file in bytes */
|
|
18
|
-
size?: number;
|
|
18
|
+
size?: number | undefined;
|
|
19
19
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export interface GetCampaignStats {
|
|
2
2
|
/** Numbers of times your email has been opened automatically through Apple MPP. */
|
|
3
|
-
appleMppOpens: number;
|
|
3
|
+
appleMppOpens: number | null;
|
|
4
4
|
/** Number of total clicks for the campaign */
|
|
5
5
|
clickers: number;
|
|
6
6
|
/** Number of complaints (Spam reports) for the campaign */
|
|
7
7
|
complaints: number;
|
|
8
8
|
/** Number of deferred emails for the campaign */
|
|
9
|
-
deferred?: number;
|
|
9
|
+
deferred?: number | undefined;
|
|
10
10
|
/** Number of delivered emails for the campaign */
|
|
11
11
|
delivered: number;
|
|
12
12
|
/** Rate of recipients without any privacy protection option enabled in their email client_dev, applied to all delivered emails */
|
|
13
|
-
estimatedViews?: number;
|
|
13
|
+
estimatedViews?: number | undefined;
|
|
14
14
|
/** Number of harbounce for the campaign */
|
|
15
15
|
hardBounces: number;
|
|
16
16
|
/** List Id of email campaign (only in case of get email campaign(s)(not for global stats)) */
|
|
17
|
-
listId?: number;
|
|
17
|
+
listId?: number | undefined;
|
|
18
18
|
/** Percentage of recipients who open the email out of your total number of recipients. Depending on your Campaign settings, they may include Apple MPP opens. */
|
|
19
|
-
opensRate: number;
|
|
19
|
+
opensRate: number | null;
|
|
20
20
|
/** Total number of non-delivered campaigns for a particular campaign id. */
|
|
21
|
-
returnBounce?: number;
|
|
21
|
+
returnBounce?: number | undefined;
|
|
22
22
|
/** Number of sent emails for the campaign */
|
|
23
23
|
sent: number;
|
|
24
24
|
/** Number of softbounce for the campaign */
|
|
@@ -26,7 +26,7 @@ export interface GetCampaignStats {
|
|
|
26
26
|
/** Recipients without any privacy protection option enabled in their email client_dev */
|
|
27
27
|
trackableViews: number;
|
|
28
28
|
/** Rate of recipients without any privacy protection option enabled in their email client_dev */
|
|
29
|
-
trackableViewsRate?: number;
|
|
29
|
+
trackableViewsRate?: number | undefined;
|
|
30
30
|
/** Number of unique clicks for the campaign */
|
|
31
31
|
uniqueClicks: number;
|
|
32
32
|
/** Number of unique openings for the campaign */
|
|
@@ -4,13 +4,13 @@ export interface GetContactDetails {
|
|
|
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) */
|
|
@@ -4,7 +4,7 @@ export interface GetCouponCollection {
|
|
|
4
4
|
/** The default coupon of the collection. */
|
|
5
5
|
defaultCoupon: string;
|
|
6
6
|
/** Expiration date for the coupon collection in RFC3339 format. */
|
|
7
|
-
expirationDate?: string;
|
|
7
|
+
expirationDate?: string | undefined;
|
|
8
8
|
/** The id of the collection. */
|
|
9
9
|
id: string;
|
|
10
10
|
/** The name of the collection. */
|
|
@@ -12,9 +12,9 @@ export interface GetCouponCollection {
|
|
|
12
12
|
/** Number of coupons that have not been sent yet. */
|
|
13
13
|
remainingCoupons: number;
|
|
14
14
|
/** If present, an email notification is going to be sent when the total number of available coupons falls below the defined threshold. */
|
|
15
|
-
remainingCouponsAlert?: number;
|
|
15
|
+
remainingCouponsAlert?: number | undefined;
|
|
16
16
|
/** If present, an email notification is going to be sent the defined amount of days before to the expiration date. */
|
|
17
|
-
remainingDaysAlert?: number;
|
|
17
|
+
remainingDaysAlert?: number | undefined;
|
|
18
18
|
/** Total number of coupons in the collection. */
|
|
19
19
|
totalCoupons: number;
|
|
20
20
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response containing a list of events and the total count for pagination
|
|
3
|
+
*/
|
|
4
|
+
export interface GetEventsList {
|
|
5
|
+
/** List of matching events ordered by event_date descending */
|
|
6
|
+
events?: GetEventsList.Events.Item[] | undefined;
|
|
7
|
+
/** Total count of events matching the filters (use for pagination) */
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace GetEventsList {
|
|
11
|
+
type Events = Events.Item[];
|
|
12
|
+
namespace Events {
|
|
13
|
+
interface Item {
|
|
14
|
+
/** Contact ID associated with the event */
|
|
15
|
+
contact_id?: number | undefined;
|
|
16
|
+
/** Date and time of the event */
|
|
17
|
+
event_date?: string | undefined;
|
|
18
|
+
/** Name of the event */
|
|
19
|
+
event_name?: string | undefined;
|
|
20
|
+
/** Filter ID of the event */
|
|
21
|
+
event_filter_id?: string | undefined;
|
|
22
|
+
/** Source of the event */
|
|
23
|
+
source?: string | undefined;
|
|
24
|
+
/** Object type associated with the event */
|
|
25
|
+
object_type?: string | undefined;
|
|
26
|
+
/** Event-level custom properties */
|
|
27
|
+
event_properties?: Record<string, unknown> | undefined;
|
|
28
|
+
/** Contact-level properties at time of event */
|
|
29
|
+
contact_properties?: Record<string, unknown> | undefined;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
export interface GetExtendedCampaignOverview {
|
|
2
|
+
/** Url of the attachment file. Only available if the campaign has an attachment. */
|
|
3
|
+
attachmentFile?: string | undefined;
|
|
2
4
|
/** Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. */
|
|
3
|
-
abTesting?: boolean;
|
|
5
|
+
abTesting?: boolean | undefined;
|
|
4
6
|
/** ID of the campaign */
|
|
5
7
|
id: number;
|
|
6
8
|
/** Name of the campaign */
|
|
7
9
|
name: string;
|
|
8
10
|
/** Preview text or preheader of the email campaign */
|
|
9
|
-
previewText?: string;
|
|
11
|
+
previewText?: string | undefined;
|
|
10
12
|
/** UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
11
|
-
scheduledAt?: string;
|
|
13
|
+
scheduledAt?: string | undefined;
|
|
12
14
|
/** It is true if you have chosen to send your campaign at best time, otherwise it is false */
|
|
13
|
-
sendAtBestTime?: boolean;
|
|
15
|
+
sendAtBestTime?: boolean | undefined;
|
|
14
16
|
/** The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true` */
|
|
15
|
-
splitRule?: number;
|
|
17
|
+
splitRule?: number | undefined;
|
|
16
18
|
/** Status of the campaign */
|
|
17
19
|
status: GetExtendedCampaignOverview.Status;
|
|
18
20
|
/** Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` */
|
|
19
|
-
subject?: string;
|
|
21
|
+
subject?: string | undefined;
|
|
20
22
|
/** Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` */
|
|
21
|
-
subjectA?: string;
|
|
23
|
+
subjectA?: string | undefined;
|
|
22
24
|
/** Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` */
|
|
23
|
-
subjectB?: string;
|
|
25
|
+
subjectB?: string | undefined;
|
|
24
26
|
/** Type of campaign */
|
|
25
27
|
type: GetExtendedCampaignOverview.Type;
|
|
26
28
|
/** Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true` */
|
|
27
|
-
winnerCriteria?: string;
|
|
29
|
+
winnerCriteria?: string | undefined;
|
|
28
30
|
/** The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true` */
|
|
29
|
-
winnerDelay?: number;
|
|
31
|
+
winnerDelay?: number | undefined;
|
|
30
32
|
/** Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
31
33
|
createdAt: string;
|
|
32
34
|
/** Footer of the campaign */
|
|
@@ -36,35 +38,37 @@ export interface GetExtendedCampaignOverview {
|
|
|
36
38
|
/** HTML content of the campaign */
|
|
37
39
|
htmlContent: string;
|
|
38
40
|
/** Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. */
|
|
39
|
-
inlineImageActivation?: boolean;
|
|
41
|
+
inlineImageActivation?: boolean | undefined;
|
|
40
42
|
/** Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign */
|
|
41
|
-
mirrorActive?: boolean;
|
|
43
|
+
mirrorActive?: boolean | undefined;
|
|
42
44
|
/** UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
43
45
|
modifiedAt: string;
|
|
44
46
|
/** FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times */
|
|
45
|
-
recurring?: boolean;
|
|
47
|
+
recurring?: boolean | undefined;
|
|
46
48
|
/** Email defined as the "Reply to" of the campaign */
|
|
47
49
|
replyTo: string;
|
|
48
50
|
/** Total number of non-delivered campaigns for a particular campaign id. */
|
|
49
|
-
returnBounce?: number;
|
|
51
|
+
returnBounce?: number | undefined;
|
|
50
52
|
sender: GetExtendedCampaignOverview.Sender;
|
|
51
53
|
/** Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' */
|
|
52
|
-
sentDate?: string;
|
|
54
|
+
sentDate?: string | undefined;
|
|
53
55
|
/** Link to share the campaign on social medias */
|
|
54
|
-
shareLink?: string;
|
|
56
|
+
shareLink?: string | undefined;
|
|
55
57
|
/** Tag of the campaign */
|
|
56
|
-
tag?: string;
|
|
58
|
+
tag?: string | undefined;
|
|
59
|
+
/** List of tags of the campaign */
|
|
60
|
+
tags?: string[] | undefined;
|
|
57
61
|
/** Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) */
|
|
58
62
|
testSent: boolean;
|
|
59
63
|
/** Customisation of the "to" field of the campaign */
|
|
60
|
-
toField?: string;
|
|
64
|
+
toField?: string | undefined;
|
|
61
65
|
/** utm parameter associated with campaign */
|
|
62
|
-
utmCampaignValue?: string;
|
|
66
|
+
utmCampaignValue?: string | undefined;
|
|
63
67
|
/** utm id active */
|
|
64
|
-
utmIDActive?: boolean;
|
|
65
|
-
utmMedium?: string;
|
|
68
|
+
utmIDActive?: boolean | undefined;
|
|
69
|
+
utmMedium?: string | undefined;
|
|
66
70
|
/** source of utm */
|
|
67
|
-
utmSource?: string;
|
|
71
|
+
utmSource?: string | undefined;
|
|
68
72
|
}
|
|
69
73
|
export declare namespace GetExtendedCampaignOverview {
|
|
70
74
|
/** Status of the campaign */
|
|
@@ -75,6 +79,9 @@ export declare namespace GetExtendedCampaignOverview {
|
|
|
75
79
|
readonly Queued: "queued";
|
|
76
80
|
readonly Suspended: "suspended";
|
|
77
81
|
readonly InProcess: "in_process";
|
|
82
|
+
readonly InReview: "in_review";
|
|
83
|
+
readonly Cancelling: "cancelling";
|
|
84
|
+
readonly Cancelled: "cancelled";
|
|
78
85
|
};
|
|
79
86
|
type Status = (typeof Status)[keyof typeof Status];
|
|
80
87
|
/** Type of campaign */
|
|
@@ -85,10 +92,10 @@ export declare namespace GetExtendedCampaignOverview {
|
|
|
85
92
|
type Type = (typeof Type)[keyof typeof Type];
|
|
86
93
|
interface Sender {
|
|
87
94
|
/** Sender email of the campaign */
|
|
88
|
-
email?: string;
|
|
95
|
+
email?: string | undefined;
|
|
89
96
|
/** Sender id of the campaign */
|
|
90
|
-
id?: number;
|
|
97
|
+
id?: number | undefined;
|
|
91
98
|
/** Sender name of the campaign */
|
|
92
|
-
name?: string;
|
|
99
|
+
name?: string | undefined;
|
|
93
100
|
}
|
|
94
101
|
}
|
|
@@ -12,6 +12,9 @@ var GetExtendedCampaignOverview;
|
|
|
12
12
|
Queued: "queued",
|
|
13
13
|
Suspended: "suspended",
|
|
14
14
|
InProcess: "in_process",
|
|
15
|
+
InReview: "in_review",
|
|
16
|
+
Cancelling: "cancelling",
|
|
17
|
+
Cancelled: "cancelled",
|
|
15
18
|
};
|
|
16
19
|
/** Type of campaign */
|
|
17
20
|
GetExtendedCampaignOverview.Type = {
|
|
@@ -21,12 +21,12 @@ export declare namespace GetExtendedCampaignStats {
|
|
|
21
21
|
type LinksStats = {};
|
|
22
22
|
interface StatsByDevice {
|
|
23
23
|
/** Statistics of the campaign on the basis of desktop devices */
|
|
24
|
-
desktop?: Record<string, Brevo.GetDeviceBrowserStats
|
|
24
|
+
desktop?: Record<string, Brevo.GetDeviceBrowserStats> | undefined;
|
|
25
25
|
/** Statistics of the campaign on the basis of mobile devices */
|
|
26
|
-
mobile?: Record<string, Brevo.GetDeviceBrowserStats
|
|
26
|
+
mobile?: Record<string, Brevo.GetDeviceBrowserStats> | undefined;
|
|
27
27
|
/** Statistics of the campaign on the basis of tablet devices */
|
|
28
|
-
tablet?: Record<string, Brevo.GetDeviceBrowserStats
|
|
28
|
+
tablet?: Record<string, Brevo.GetDeviceBrowserStats> | undefined;
|
|
29
29
|
/** Statistics of the campaign on the basis of unknown devices */
|
|
30
|
-
unknown?: Record<string, Brevo.GetDeviceBrowserStats
|
|
30
|
+
unknown?: Record<string, Brevo.GetDeviceBrowserStats> | undefined;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
export interface GetProductDetails {
|
|
2
|
+
/** Brand of the product */
|
|
3
|
+
brand?: string | undefined;
|
|
2
4
|
/** Category ID-s of the product */
|
|
3
|
-
categories?: string[];
|
|
5
|
+
categories?: string[] | undefined;
|
|
4
6
|
/** Creation UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
5
7
|
createdAt: string;
|
|
8
|
+
/** Description of the product */
|
|
9
|
+
description?: string | undefined;
|
|
6
10
|
/** Product ID for which you requested the details */
|
|
7
11
|
id: string;
|
|
8
12
|
/** Absolute URL to the cover image of the product */
|
|
9
|
-
imageUrl?: string;
|
|
13
|
+
imageUrl?: string | undefined;
|
|
10
14
|
/** Product get deleted from the shop's database but not from Brevo */
|
|
11
|
-
isDeleted?: boolean;
|
|
15
|
+
isDeleted?: boolean | undefined;
|
|
12
16
|
/** Meta data of product such as description, vendor, producer, stock level, etc. */
|
|
13
|
-
metaInfo?: Record<string, unknown
|
|
17
|
+
metaInfo?: Record<string, unknown> | undefined;
|
|
14
18
|
/** Last modification UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
15
19
|
modifiedAt: string;
|
|
16
20
|
/** Name of the product for which you requested the details */
|
|
17
21
|
name: string;
|
|
18
22
|
/** Parent product id of the product */
|
|
19
|
-
parentId?: string;
|
|
23
|
+
parentId?: string | undefined;
|
|
20
24
|
/** Price of the product */
|
|
21
|
-
price?: number;
|
|
25
|
+
price?: number | undefined;
|
|
22
26
|
/** S3 url of original image */
|
|
23
|
-
s3Original?: string;
|
|
27
|
+
s3Original?: string | undefined;
|
|
24
28
|
/** S3 thumbnail url of original image in 120x120 dimension for analytics section */
|
|
25
29
|
s3ThumbAnalytics: string;
|
|
26
30
|
/** S3 thumbnail url of original image in 600x400 dimension for editor section */
|
|
27
31
|
s3ThumbEditor: string;
|
|
28
32
|
/** Product identifier from the shop */
|
|
29
|
-
sku?: string;
|
|
33
|
+
sku?: string | undefined;
|
|
30
34
|
/** Current stock value of the product from the shop's database */
|
|
31
|
-
stock?: number;
|
|
35
|
+
stock?: number | undefined;
|
|
32
36
|
/** URL to the product */
|
|
33
|
-
url?: string;
|
|
37
|
+
url?: string | undefined;
|
|
34
38
|
}
|
|
@@ -10,7 +10,7 @@ export interface GetSmsCampaignOverview {
|
|
|
10
10
|
/** Name of the SMS Campaign */
|
|
11
11
|
name: string;
|
|
12
12
|
/** UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format */
|
|
13
|
-
scheduledAt?: string;
|
|
13
|
+
scheduledAt?: string | undefined;
|
|
14
14
|
/** Sender of the SMS Campaign */
|
|
15
15
|
sender: string;
|
|
16
16
|
/** Status of the SMS Campaign */
|
|
@@ -2,7 +2,7 @@ export interface GetSmtpTemplateOverview {
|
|
|
2
2
|
/** Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
3
3
|
createdAt: string;
|
|
4
4
|
/** It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. */
|
|
5
|
-
doiTemplate?: boolean;
|
|
5
|
+
doiTemplate?: boolean | undefined;
|
|
6
6
|
/** HTML content of the template */
|
|
7
7
|
htmlContent: string;
|
|
8
8
|
/** ID of the template */
|
|
@@ -28,10 +28,10 @@ export interface GetSmtpTemplateOverview {
|
|
|
28
28
|
export declare namespace GetSmtpTemplateOverview {
|
|
29
29
|
interface Sender {
|
|
30
30
|
/** From email for the template */
|
|
31
|
-
email?: string;
|
|
31
|
+
email?: string | undefined;
|
|
32
32
|
/** Sender id of the template */
|
|
33
|
-
id?: string;
|
|
33
|
+
id?: string | undefined;
|
|
34
34
|
/** From email for the template */
|
|
35
|
-
name?: string;
|
|
35
|
+
name?: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export interface GetWebhook {
|
|
2
2
|
/** Authentication header to be send with the webhook requests */
|
|
3
|
-
auth?: Record<string, unknown
|
|
3
|
+
auth?: Record<string, unknown> | undefined;
|
|
4
4
|
/**
|
|
5
5
|
* Batching configuration of the webhook, we send batched webhooks if its
|
|
6
6
|
* true
|
|
7
7
|
*/
|
|
8
|
-
batched?: boolean;
|
|
8
|
+
batched?: boolean | undefined;
|
|
9
9
|
/** channel of webhook */
|
|
10
|
-
channel?: GetWebhook.Channel;
|
|
10
|
+
channel?: GetWebhook.Channel | undefined;
|
|
11
11
|
/** Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|
|
12
12
|
createdAt: string;
|
|
13
13
|
/** Description of the webhook */
|
|
14
14
|
description: string;
|
|
15
15
|
events: string[];
|
|
16
|
-
headers?: Record<string, unknown>[];
|
|
16
|
+
headers?: Record<string, unknown>[] | undefined;
|
|
17
17
|
/** ID of the webhook */
|
|
18
18
|
id: number;
|
|
19
19
|
/** Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) */
|