@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.
Files changed (698) hide show
  1. package/README.md +4 -4
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +12 -0
  4. package/dist/cjs/Client.js +67 -0
  5. package/dist/cjs/api/resources/account/exports.d.ts +2 -0
  6. package/dist/cjs/api/resources/account/exports.js +21 -0
  7. package/dist/cjs/api/resources/account/types/GetAccountActivityResponse.d.ts +1 -1
  8. package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +7 -7
  9. package/dist/cjs/api/resources/balance/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/balance/client/Client.js +20 -11
  11. package/dist/cjs/api/resources/balance/client/requests/GetContactBalancesRequest.d.ts +2 -0
  12. package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.ts +2 -0
  13. package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.ts +10 -6
  14. package/dist/cjs/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.ts +2 -0
  15. package/dist/cjs/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.ts +10 -1
  16. package/dist/cjs/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.ts +10 -1
  17. package/dist/cjs/api/resources/balance/exports.d.ts +2 -0
  18. package/dist/cjs/api/resources/balance/exports.js +21 -0
  19. package/dist/cjs/api/resources/balance/types/CreateBalanceOrderResponse.d.ts +6 -6
  20. package/dist/cjs/api/resources/balance/types/GetBalanceDefinitionListResponse.d.ts +1 -1
  21. package/dist/cjs/api/resources/balance/types/GetContactBalancesResponse.d.ts +8 -8
  22. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.ts +8 -0
  23. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.js +11 -0
  24. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.ts +5 -0
  25. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.js +8 -0
  26. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.ts +15 -15
  27. package/dist/cjs/api/resources/balance/types/GetSubscriptionBalancesResponse.d.ts +3 -3
  28. package/dist/cjs/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.ts +9 -9
  29. package/dist/cjs/api/resources/balance/types/index.d.ts +2 -1
  30. package/dist/cjs/api/resources/balance/types/index.js +2 -1
  31. package/dist/cjs/api/resources/companies/client/Client.d.ts +28 -0
  32. package/dist/cjs/api/resources/companies/client/Client.js +107 -0
  33. package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.ts +10 -0
  34. package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.js +3 -0
  35. package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.ts +33 -0
  36. package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.js +12 -0
  37. package/dist/cjs/api/resources/companies/client/requests/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/companies/client/requests/index.js +3 -1
  39. package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
  40. package/dist/cjs/api/resources/companies/exports.js +21 -0
  41. package/dist/cjs/api/resources/companies/types/GetCompaniesResponse.d.ts +1 -1
  42. package/dist/cjs/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.ts +5 -5
  43. package/dist/cjs/api/resources/companies/types/PostCompaniesImportResponse.d.ts +1 -1
  44. package/dist/cjs/api/resources/contacts/client/Client.d.ts +15 -45
  45. package/dist/cjs/api/resources/contacts/client/Client.js +15 -45
  46. package/dist/cjs/api/resources/contacts/client/requests/AddContactToListRequest.d.ts +0 -24
  47. package/dist/cjs/api/resources/contacts/client/requests/ImportContactsRequest.d.ts +4 -4
  48. package/dist/cjs/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.ts +0 -32
  49. package/dist/cjs/api/resources/contacts/client/requests/RequestContactExportRequest.d.ts +7 -7
  50. package/dist/cjs/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.ts +10 -10
  51. package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
  52. package/dist/cjs/api/resources/contacts/exports.js +21 -0
  53. package/dist/cjs/api/resources/contacts/types/CreateContactResponse.d.ts +1 -1
  54. package/dist/cjs/api/resources/contacts/types/GetAttributesResponse.d.ts +4 -4
  55. package/dist/cjs/api/resources/contacts/types/GetContactInfoResponse.d.ts +13 -13
  56. package/dist/cjs/api/resources/contacts/types/GetContactStatsResponse.d.ts +11 -11
  57. package/dist/cjs/api/resources/contacts/types/GetFolderListsResponse.d.ts +2 -2
  58. package/dist/cjs/api/resources/contacts/types/GetFoldersResponse.d.ts +2 -2
  59. package/dist/cjs/api/resources/contacts/types/GetListResponse.d.ts +2 -2
  60. package/dist/cjs/api/resources/contacts/types/GetListsResponse.d.ts +2 -2
  61. package/dist/cjs/api/resources/contacts/types/GetSegmentsResponse.d.ts +3 -3
  62. package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
  63. package/dist/cjs/api/resources/conversations/exports.js +21 -0
  64. package/dist/cjs/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.ts +2 -2
  65. package/dist/cjs/api/resources/coupons/exports.d.ts +2 -0
  66. package/dist/cjs/api/resources/coupons/exports.js +21 -0
  67. package/dist/cjs/api/resources/customObjects/client/Client.d.ts +6 -14
  68. package/dist/cjs/api/resources/customObjects/client/Client.js +6 -14
  69. package/dist/cjs/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.ts +6 -6
  70. package/dist/cjs/api/resources/customObjects/exports.d.ts +2 -0
  71. package/dist/cjs/api/resources/customObjects/exports.js +21 -0
  72. package/dist/cjs/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.ts +2 -2
  73. package/dist/cjs/api/resources/customObjects/types/GetrecordsResponse.d.ts +9 -9
  74. package/dist/cjs/api/resources/customObjects/types/UpsertrecordsResponse.d.ts +3 -3
  75. package/dist/cjs/api/resources/deals/client/Client.d.ts +2 -0
  76. package/dist/cjs/api/resources/deals/client/Client.js +2 -0
  77. package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
  78. package/dist/cjs/api/resources/deals/exports.js +21 -0
  79. package/dist/cjs/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.ts +5 -5
  80. package/dist/cjs/api/resources/deals/types/GetCrmDealsResponse.d.ts +1 -1
  81. package/dist/cjs/api/resources/deals/types/PostCrmDealsImportResponse.d.ts +1 -1
  82. package/dist/cjs/api/resources/domains/client/requests/AuthenticateDomainRequest.d.ts +0 -5
  83. package/dist/cjs/api/resources/domains/client/requests/CreateDomainRequest.d.ts +0 -10
  84. package/dist/cjs/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.ts +0 -5
  85. package/dist/cjs/api/resources/domains/exports.d.ts +2 -0
  86. package/dist/cjs/api/resources/domains/exports.js +21 -0
  87. package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +2 -2
  88. package/dist/cjs/api/resources/domains/types/GetDomainsResponse.d.ts +1 -1
  89. package/dist/cjs/api/resources/ecommerce/client/Client.d.ts +2 -4
  90. package/dist/cjs/api/resources/ecommerce/client/Client.js +2 -4
  91. package/dist/cjs/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.ts +1 -2
  92. package/dist/cjs/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.ts +3 -3
  93. package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.ts +4 -4
  94. package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.ts +15 -11
  95. package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.ts +5 -1
  96. package/dist/cjs/api/resources/ecommerce/exports.d.ts +2 -0
  97. package/dist/cjs/api/resources/ecommerce/exports.js +21 -0
  98. package/dist/cjs/api/resources/ecommerce/types/CreateBatchOrderResponse.d.ts +1 -1
  99. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.ts +2 -2
  100. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.ts +2 -2
  101. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.ts +1 -1
  102. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateProductResponse.d.ts +1 -1
  103. package/dist/cjs/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.ts +7 -7
  104. package/dist/cjs/api/resources/emailCampaigns/client/Client.d.ts +2 -5
  105. package/dist/cjs/api/resources/emailCampaigns/client/Client.js +4 -6
  106. package/dist/cjs/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.ts +9 -9
  107. package/dist/cjs/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.ts +2 -0
  108. package/dist/cjs/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.ts +9 -9
  109. package/dist/cjs/api/resources/emailCampaigns/exports.d.ts +2 -0
  110. package/dist/cjs/api/resources/emailCampaigns/exports.js +21 -0
  111. package/dist/cjs/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.ts +8 -8
  112. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.ts +32 -25
  113. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.js +3 -0
  114. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.ts +2 -0
  115. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.js +2 -0
  116. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.ts +34 -27
  117. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.js +3 -0
  118. package/dist/cjs/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.ts +1 -1
  119. package/dist/cjs/api/resources/event/client/Client.d.ts +36 -0
  120. package/dist/cjs/api/resources/event/client/Client.js +125 -0
  121. package/dist/cjs/api/resources/event/client/requests/CreateEventRequest.d.ts +10 -10
  122. package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.d.ts +20 -0
  123. package/dist/cjs/api/resources/event/client/requests/GetEventsRequest.js +3 -0
  124. package/dist/cjs/api/resources/event/client/requests/index.d.ts +1 -0
  125. package/dist/cjs/api/resources/event/exports.d.ts +2 -0
  126. package/dist/cjs/api/resources/event/exports.js +21 -0
  127. package/dist/cjs/api/resources/event/index.d.ts +1 -0
  128. package/dist/cjs/api/resources/event/index.js +1 -0
  129. package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.d.ts +59 -0
  130. package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.js +3 -0
  131. package/dist/cjs/api/resources/event/types/index.d.ts +1 -0
  132. package/dist/cjs/api/resources/event/types/index.js +17 -0
  133. package/dist/cjs/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.ts +0 -10
  134. package/dist/cjs/api/resources/externalFeeds/exports.d.ts +2 -0
  135. package/dist/cjs/api/resources/externalFeeds/exports.js +21 -0
  136. package/dist/cjs/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.ts +4 -4
  137. package/dist/cjs/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.ts +4 -4
  138. package/dist/cjs/api/resources/files/exports.d.ts +2 -0
  139. package/dist/cjs/api/resources/files/exports.js +21 -0
  140. package/dist/cjs/api/resources/files/types/GetCrmFilesIdResponse.d.ts +1 -1
  141. package/dist/cjs/api/resources/inboundParsing/client/Client.d.ts +1 -0
  142. package/dist/cjs/api/resources/inboundParsing/client/Client.js +1 -0
  143. package/dist/cjs/api/resources/inboundParsing/exports.d.ts +2 -0
  144. package/dist/cjs/api/resources/inboundParsing/exports.js +21 -0
  145. package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.ts +14 -14
  146. package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.ts +1 -1
  147. package/dist/cjs/api/resources/index.d.ts +1 -0
  148. package/dist/cjs/api/resources/index.js +1 -0
  149. package/dist/cjs/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.ts +2 -2
  150. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.ts +9 -9
  151. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.ts +8 -8
  152. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.ts +2 -2
  153. package/dist/cjs/api/resources/masterAccount/exports.d.ts +2 -0
  154. package/dist/cjs/api/resources/masterAccount/exports.js +21 -0
  155. package/dist/cjs/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.ts +12 -12
  156. package/dist/cjs/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.ts +11 -11
  157. package/dist/cjs/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.ts +3 -3
  158. package/dist/cjs/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.ts +31 -31
  159. package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.ts +37 -37
  160. package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.ts +4 -4
  161. package/dist/cjs/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.ts +10 -10
  162. package/dist/cjs/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.ts +2 -2
  163. package/dist/cjs/api/resources/masterAccount/types/InviteAdminUserResponse.d.ts +1 -1
  164. package/dist/cjs/api/resources/masterAccount/types/PostCorporateGroupResponse.d.ts +1 -1
  165. package/dist/cjs/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.ts +1 -1
  166. package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
  167. package/dist/cjs/api/resources/notes/exports.js +21 -0
  168. package/dist/cjs/api/resources/notes/types/PostCrmNotesResponse.d.ts +1 -1
  169. package/dist/cjs/api/resources/payments/exports.d.ts +2 -0
  170. package/dist/cjs/api/resources/payments/exports.js +21 -0
  171. package/dist/cjs/api/resources/payments/types/CreatePaymentRequestResponse.d.ts +1 -1
  172. package/dist/cjs/api/resources/payments/types/GetPaymentRequestResponse.d.ts +3 -3
  173. package/dist/cjs/api/resources/process/client/requests/GetProcessRequest.d.ts +0 -15
  174. package/dist/cjs/api/resources/process/exports.d.ts +2 -0
  175. package/dist/cjs/api/resources/process/exports.js +21 -0
  176. package/dist/cjs/api/resources/process/types/GetProcessResponse.d.ts +16 -16
  177. package/dist/cjs/api/resources/process/types/GetProcessesResponse.d.ts +16 -16
  178. package/dist/cjs/api/resources/program/client/Client.d.ts +21 -0
  179. package/dist/cjs/api/resources/program/client/Client.js +69 -1
  180. package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.ts +13 -0
  181. package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.js +3 -0
  182. package/dist/cjs/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.ts +2 -0
  183. package/dist/cjs/api/resources/program/client/requests/index.d.ts +1 -0
  184. package/dist/cjs/api/resources/program/exports.d.ts +2 -0
  185. package/dist/cjs/api/resources/program/exports.js +21 -0
  186. package/dist/cjs/api/resources/program/types/GetLpListResponse.d.ts +1 -1
  187. package/dist/cjs/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.ts +28 -28
  188. package/dist/cjs/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.ts +5 -5
  189. package/dist/cjs/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.ts +7 -7
  190. package/dist/cjs/api/resources/reward/client/requests/RedeemVoucherRequest.d.ts +26 -26
  191. package/dist/cjs/api/resources/reward/exports.d.ts +2 -0
  192. package/dist/cjs/api/resources/reward/exports.js +21 -0
  193. package/dist/cjs/api/resources/reward/types/CreateRewardResponse.d.ts +8 -8
  194. package/dist/cjs/api/resources/reward/types/CreateVoucherResponse.d.ts +11 -11
  195. package/dist/cjs/api/resources/reward/types/GetCodeCountResponse.d.ts +1 -1
  196. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.ts +11 -11
  197. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.ts +81 -81
  198. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.ts +15 -15
  199. package/dist/cjs/api/resources/reward/types/ValidateRewardResponse.d.ts +1 -1
  200. package/dist/cjs/api/resources/senders/client/requests/CreateSenderRequest.d.ts +1 -13
  201. package/dist/cjs/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.ts +0 -5
  202. package/dist/cjs/api/resources/senders/client/requests/GetSendersRequest.d.ts +0 -3
  203. package/dist/cjs/api/resources/senders/client/requests/UpdateSenderRequest.d.ts +1 -1
  204. package/dist/cjs/api/resources/senders/exports.d.ts +2 -0
  205. package/dist/cjs/api/resources/senders/exports.js +21 -0
  206. package/dist/cjs/api/resources/senders/types/CreateSenderResponse.d.ts +2 -2
  207. package/dist/cjs/api/resources/senders/types/GetSendersResponse.d.ts +1 -1
  208. package/dist/cjs/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.ts +1 -1
  209. package/dist/cjs/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.ts +1 -1
  210. package/dist/cjs/api/resources/smsCampaigns/exports.d.ts +2 -0
  211. package/dist/cjs/api/resources/smsCampaigns/exports.js +21 -0
  212. package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.ts +1 -1
  213. package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.ts +3 -3
  214. package/dist/cjs/api/resources/smsTemplates/exports.d.ts +2 -0
  215. package/dist/cjs/api/resources/smsTemplates/exports.js +21 -0
  216. package/dist/cjs/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.ts +17 -17
  217. package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
  218. package/dist/cjs/api/resources/tasks/exports.js +21 -0
  219. package/dist/cjs/api/resources/tasks/types/GetCrmTasksResponse.d.ts +1 -1
  220. package/dist/cjs/api/resources/tasks/types/GetCrmTasktypesResponse.d.ts +2 -2
  221. package/dist/cjs/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.ts +3 -3
  222. package/dist/cjs/api/resources/tier/client/requests/CreateTierGroupRequest.d.ts +11 -0
  223. package/dist/cjs/api/resources/tier/client/requests/UpdateTierGroupRequest.d.ts +11 -0
  224. package/dist/cjs/api/resources/tier/client/requests/UpdateTierRequest.d.ts +3 -3
  225. package/dist/cjs/api/resources/tier/exports.d.ts +2 -0
  226. package/dist/cjs/api/resources/tier/exports.js +21 -0
  227. package/dist/cjs/api/resources/tier/types/AddSubscriptionToTierResponse.d.ts +7 -7
  228. package/dist/cjs/api/resources/tier/types/GetListOfTierGroupsResponse.d.ts +1 -1
  229. package/dist/cjs/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.ts +1 -1
  230. package/dist/cjs/api/resources/transactionalEmails/client/Client.d.ts +2 -6
  231. package/dist/cjs/api/resources/transactionalEmails/client/Client.js +2 -6
  232. package/dist/cjs/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.ts +3 -3
  233. package/dist/cjs/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.ts +0 -7
  234. package/dist/cjs/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.ts +21 -21
  235. package/dist/cjs/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.ts +3 -3
  236. package/dist/cjs/api/resources/transactionalEmails/exports.d.ts +2 -0
  237. package/dist/cjs/api/resources/transactionalEmails/exports.js +21 -0
  238. package/dist/cjs/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.ts +13 -13
  239. package/dist/cjs/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.ts +8 -8
  240. package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.ts +1 -1
  241. package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.ts +2 -2
  242. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.ts +4 -4
  243. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.ts +1 -1
  244. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.ts +5 -5
  245. package/dist/cjs/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.ts +6 -6
  246. package/dist/cjs/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.ts +2 -2
  247. package/dist/cjs/api/resources/transactionalSms/client/Client.d.ts +5 -9
  248. package/dist/cjs/api/resources/transactionalSms/client/Client.js +5 -9
  249. package/dist/cjs/api/resources/transactionalSms/exports.d.ts +2 -0
  250. package/dist/cjs/api/resources/transactionalSms/exports.js +21 -0
  251. package/dist/cjs/api/resources/transactionalSms/types/GetSmsEventsResponse.d.ts +8 -8
  252. package/dist/cjs/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.ts +11 -11
  253. package/dist/cjs/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.ts +12 -12
  254. package/dist/cjs/api/resources/transactionalSms/types/SendTransacSmsResponse.d.ts +3 -3
  255. package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.d.ts +2 -1
  256. package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.js +2 -1
  257. package/dist/cjs/api/resources/transactionalWhatsApp/exports.d.ts +2 -0
  258. package/dist/cjs/api/resources/transactionalWhatsApp/exports.js +21 -0
  259. package/dist/cjs/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.ts +4 -4
  260. package/dist/cjs/api/resources/user/exports.d.ts +2 -0
  261. package/dist/cjs/api/resources/user/exports.js +21 -0
  262. package/dist/cjs/api/resources/user/types/EditUserPermissionResponse.d.ts +2 -2
  263. package/dist/cjs/api/resources/user/types/GetInvitedUsersListResponse.d.ts +4 -4
  264. package/dist/cjs/api/resources/user/types/InviteuserResponse.d.ts +1 -1
  265. package/dist/cjs/api/resources/user/types/PutRevokeUserPermissionResponse.d.ts +1 -1
  266. package/dist/cjs/api/resources/user/types/PutresendcancelinvitationResponse.d.ts +1 -1
  267. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -13
  268. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -13
  269. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +6 -4
  270. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +1 -0
  271. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.ts +6 -4
  272. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.js +1 -0
  273. package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
  274. package/dist/cjs/api/resources/webhooks/exports.js +21 -0
  275. package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.d.ts +19 -44
  276. package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.js +19 -44
  277. package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.ts +3 -3
  278. package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.ts +3 -3
  279. package/dist/cjs/api/resources/whatsAppCampaigns/exports.d.ts +2 -0
  280. package/dist/cjs/api/resources/whatsAppCampaigns/exports.js +21 -0
  281. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.ts +15 -15
  282. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.ts +6 -6
  283. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.ts +6 -6
  284. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.ts +3 -3
  285. package/dist/cjs/api/types/BalanceDefinition.d.ts +20 -20
  286. package/dist/cjs/api/types/BalanceLimit.d.ts +8 -8
  287. package/dist/cjs/api/types/BatchAcceptedResponse.d.ts +9 -0
  288. package/dist/cjs/api/types/BatchAcceptedResponse.js +3 -0
  289. package/dist/cjs/api/types/BatchEventsResponse.d.ts +26 -0
  290. package/dist/cjs/api/types/BatchEventsResponse.js +3 -0
  291. package/dist/cjs/api/types/Company.d.ts +4 -4
  292. package/dist/cjs/api/types/ContactErrorModel.d.ts +1 -1
  293. package/dist/cjs/api/types/ConversationsMessage.d.ts +53 -53
  294. package/dist/cjs/api/types/CreateUpdateFolder.d.ts +1 -1
  295. package/dist/cjs/api/types/Deal.d.ts +4 -4
  296. package/dist/cjs/api/types/ErrorModel.d.ts +1 -1
  297. package/dist/cjs/api/types/FileData.d.ts +7 -7
  298. package/dist/cjs/api/types/GetCampaignStats.d.ts +7 -7
  299. package/dist/cjs/api/types/GetCategoryDetails.d.ts +1 -1
  300. package/dist/cjs/api/types/GetContactDetails.d.ts +2 -2
  301. package/dist/cjs/api/types/GetCouponCollection.d.ts +3 -3
  302. package/dist/cjs/api/types/GetEventsList.d.ts +32 -0
  303. package/dist/cjs/api/types/GetEventsList.js +3 -0
  304. package/dist/cjs/api/types/GetExtendedCampaignOverview.d.ts +32 -25
  305. package/dist/cjs/api/types/GetExtendedCampaignOverview.js +3 -0
  306. package/dist/cjs/api/types/GetExtendedCampaignStats.d.ts +4 -4
  307. package/dist/cjs/api/types/GetProductDetails.d.ts +14 -10
  308. package/dist/cjs/api/types/GetSmsCampaignOverview.d.ts +1 -1
  309. package/dist/cjs/api/types/GetSmtpTemplateOverview.d.ts +4 -4
  310. package/dist/cjs/api/types/GetWebhook.d.ts +4 -4
  311. package/dist/cjs/api/types/InternalServerErrorBody.d.ts +48 -0
  312. package/dist/cjs/api/types/InternalServerErrorBody.js +46 -0
  313. package/dist/cjs/api/types/Inviteuser.d.ts +2 -2
  314. package/dist/cjs/api/types/LoyaltyProgram.d.ts +12 -12
  315. package/dist/cjs/api/types/NodeResponse.d.ts +8 -8
  316. package/dist/cjs/api/types/Note.d.ts +6 -6
  317. package/dist/cjs/api/types/NoteData.d.ts +3 -3
  318. package/dist/cjs/api/types/Order.d.ts +30 -20
  319. package/dist/cjs/api/types/Pipeline.d.ts +5 -5
  320. package/dist/cjs/api/types/PostContactInfo.d.ts +4 -4
  321. package/dist/cjs/api/types/PostSendFailed.d.ts +3 -3
  322. package/dist/cjs/api/types/Redeem.d.ts +14 -14
  323. package/dist/cjs/api/types/RuleConditionResponse.d.ts +5 -5
  324. package/dist/cjs/api/types/SendReport.d.ts +1 -1
  325. package/dist/cjs/api/types/SendTestEmail.d.ts +1 -1
  326. package/dist/cjs/api/types/SendTransacSms.d.ts +10 -6
  327. package/dist/cjs/api/types/Task.d.ts +4 -4
  328. package/dist/cjs/api/types/Tier.d.ts +16 -16
  329. package/dist/cjs/api/types/TierGroup.d.ts +8 -8
  330. package/dist/cjs/api/types/Transaction.d.ts +15 -15
  331. package/dist/cjs/api/types/UpdateCampaignStatus.d.ts +2 -1
  332. package/dist/cjs/api/types/UpdateCampaignStatus.js +1 -0
  333. package/dist/cjs/api/types/ValueResponse.d.ts +8 -8
  334. package/dist/cjs/api/types/VariablesItems.d.ts +3 -3
  335. package/dist/cjs/api/types/index.d.ts +4 -0
  336. package/dist/cjs/api/types/index.js +4 -0
  337. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  338. package/dist/cjs/core/fetcher/Fetcher.js +8 -2
  339. package/dist/cjs/core/fetcher/index.d.ts +2 -0
  340. package/dist/cjs/core/fetcher/index.js +3 -1
  341. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  342. package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
  343. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
  344. package/dist/cjs/core/fetcher/makeRequest.js +30 -9
  345. package/dist/cjs/core/runtime/runtime.js +8 -7
  346. package/dist/cjs/version.d.ts +1 -1
  347. package/dist/cjs/version.js +1 -1
  348. package/dist/esm/BaseClient.mjs +2 -2
  349. package/dist/esm/Client.d.mts +12 -0
  350. package/dist/esm/Client.mjs +34 -0
  351. package/dist/esm/api/resources/account/exports.d.mts +2 -0
  352. package/dist/esm/api/resources/account/exports.mjs +3 -0
  353. package/dist/esm/api/resources/account/types/GetAccountActivityResponse.d.mts +1 -1
  354. package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +7 -7
  355. package/dist/esm/api/resources/balance/client/Client.d.mts +2 -2
  356. package/dist/esm/api/resources/balance/client/Client.mjs +20 -11
  357. package/dist/esm/api/resources/balance/client/requests/GetContactBalancesRequest.d.mts +2 -0
  358. package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidActiveBalanceRequest.d.mts +2 -0
  359. package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.mts +10 -6
  360. package/dist/esm/api/resources/balance/client/requests/GetSubscriptionBalancesRequest.d.mts +2 -0
  361. package/dist/esm/api/resources/balance/client/requests/PostLoyaltyBalanceProgramsPidBalanceDefinitionsRequest.d.mts +10 -1
  362. package/dist/esm/api/resources/balance/client/requests/UpdateBalanceDefinitionRequest.d.mts +10 -1
  363. package/dist/esm/api/resources/balance/exports.d.mts +2 -0
  364. package/dist/esm/api/resources/balance/exports.mjs +3 -0
  365. package/dist/esm/api/resources/balance/types/CreateBalanceOrderResponse.d.mts +6 -6
  366. package/dist/esm/api/resources/balance/types/GetBalanceDefinitionListResponse.d.mts +1 -1
  367. package/dist/esm/api/resources/balance/types/GetContactBalancesResponse.d.mts +8 -8
  368. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.d.mts +8 -0
  369. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.mjs +8 -0
  370. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.d.mts +5 -0
  371. package/dist/esm/api/resources/balance/types/{GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.mjs → GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.mjs} +3 -4
  372. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.mts +15 -15
  373. package/dist/esm/api/resources/balance/types/GetSubscriptionBalancesResponse.d.mts +3 -3
  374. package/dist/esm/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.mts +9 -9
  375. package/dist/esm/api/resources/balance/types/index.d.mts +2 -1
  376. package/dist/esm/api/resources/balance/types/index.mjs +2 -1
  377. package/dist/esm/api/resources/companies/client/Client.d.mts +28 -0
  378. package/dist/esm/api/resources/companies/client/Client.mjs +107 -0
  379. package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.mts +10 -0
  380. package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.mjs +2 -0
  381. package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.mts +33 -0
  382. package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.mjs +9 -0
  383. package/dist/esm/api/resources/companies/client/requests/index.d.mts +2 -0
  384. package/dist/esm/api/resources/companies/client/requests/index.mjs +1 -0
  385. package/dist/esm/api/resources/companies/exports.d.mts +2 -0
  386. package/dist/esm/api/resources/companies/exports.mjs +3 -0
  387. package/dist/esm/api/resources/companies/types/GetCompaniesResponse.d.mts +1 -1
  388. package/dist/esm/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.mts +5 -5
  389. package/dist/esm/api/resources/companies/types/PostCompaniesImportResponse.d.mts +1 -1
  390. package/dist/esm/api/resources/contacts/client/Client.d.mts +15 -45
  391. package/dist/esm/api/resources/contacts/client/Client.mjs +15 -45
  392. package/dist/esm/api/resources/contacts/client/requests/AddContactToListRequest.d.mts +0 -24
  393. package/dist/esm/api/resources/contacts/client/requests/ImportContactsRequest.d.mts +4 -4
  394. package/dist/esm/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.mts +0 -32
  395. package/dist/esm/api/resources/contacts/client/requests/RequestContactExportRequest.d.mts +7 -7
  396. package/dist/esm/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.mts +10 -10
  397. package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
  398. package/dist/esm/api/resources/contacts/exports.mjs +3 -0
  399. package/dist/esm/api/resources/contacts/types/CreateContactResponse.d.mts +1 -1
  400. package/dist/esm/api/resources/contacts/types/GetAttributesResponse.d.mts +4 -4
  401. package/dist/esm/api/resources/contacts/types/GetContactInfoResponse.d.mts +13 -13
  402. package/dist/esm/api/resources/contacts/types/GetContactStatsResponse.d.mts +11 -11
  403. package/dist/esm/api/resources/contacts/types/GetFolderListsResponse.d.mts +2 -2
  404. package/dist/esm/api/resources/contacts/types/GetFoldersResponse.d.mts +2 -2
  405. package/dist/esm/api/resources/contacts/types/GetListResponse.d.mts +2 -2
  406. package/dist/esm/api/resources/contacts/types/GetListsResponse.d.mts +2 -2
  407. package/dist/esm/api/resources/contacts/types/GetSegmentsResponse.d.mts +3 -3
  408. package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
  409. package/dist/esm/api/resources/conversations/exports.mjs +3 -0
  410. package/dist/esm/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.mts +2 -2
  411. package/dist/esm/api/resources/coupons/exports.d.mts +2 -0
  412. package/dist/esm/api/resources/coupons/exports.mjs +3 -0
  413. package/dist/esm/api/resources/customObjects/client/Client.d.mts +6 -14
  414. package/dist/esm/api/resources/customObjects/client/Client.mjs +6 -14
  415. package/dist/esm/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.mts +6 -6
  416. package/dist/esm/api/resources/customObjects/exports.d.mts +2 -0
  417. package/dist/esm/api/resources/customObjects/exports.mjs +3 -0
  418. package/dist/esm/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.mts +2 -2
  419. package/dist/esm/api/resources/customObjects/types/GetrecordsResponse.d.mts +9 -9
  420. package/dist/esm/api/resources/customObjects/types/UpsertrecordsResponse.d.mts +3 -3
  421. package/dist/esm/api/resources/deals/client/Client.d.mts +2 -0
  422. package/dist/esm/api/resources/deals/client/Client.mjs +2 -0
  423. package/dist/esm/api/resources/deals/exports.d.mts +2 -0
  424. package/dist/esm/api/resources/deals/exports.mjs +3 -0
  425. package/dist/esm/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.mts +5 -5
  426. package/dist/esm/api/resources/deals/types/GetCrmDealsResponse.d.mts +1 -1
  427. package/dist/esm/api/resources/deals/types/PostCrmDealsImportResponse.d.mts +1 -1
  428. package/dist/esm/api/resources/domains/client/requests/AuthenticateDomainRequest.d.mts +0 -5
  429. package/dist/esm/api/resources/domains/client/requests/CreateDomainRequest.d.mts +0 -10
  430. package/dist/esm/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.mts +0 -5
  431. package/dist/esm/api/resources/domains/exports.d.mts +2 -0
  432. package/dist/esm/api/resources/domains/exports.mjs +3 -0
  433. package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +2 -2
  434. package/dist/esm/api/resources/domains/types/GetDomainsResponse.d.mts +1 -1
  435. package/dist/esm/api/resources/ecommerce/client/Client.d.mts +2 -4
  436. package/dist/esm/api/resources/ecommerce/client/Client.mjs +2 -4
  437. package/dist/esm/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.mts +1 -2
  438. package/dist/esm/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.mts +3 -3
  439. package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.mts +4 -4
  440. package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.mts +15 -11
  441. package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateProductRequest.d.mts +5 -1
  442. package/dist/esm/api/resources/ecommerce/exports.d.mts +2 -0
  443. package/dist/esm/api/resources/ecommerce/exports.mjs +3 -0
  444. package/dist/esm/api/resources/ecommerce/types/CreateBatchOrderResponse.d.mts +1 -1
  445. package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.mts +2 -2
  446. package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.mts +2 -2
  447. package/dist/esm/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.mts +1 -1
  448. package/dist/esm/api/resources/ecommerce/types/CreateUpdateProductResponse.d.mts +1 -1
  449. package/dist/esm/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.mts +7 -7
  450. package/dist/esm/api/resources/emailCampaigns/client/Client.d.mts +2 -5
  451. package/dist/esm/api/resources/emailCampaigns/client/Client.mjs +4 -6
  452. package/dist/esm/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.mts +9 -9
  453. package/dist/esm/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.mts +2 -0
  454. package/dist/esm/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.mts +9 -9
  455. package/dist/esm/api/resources/emailCampaigns/exports.d.mts +2 -0
  456. package/dist/esm/api/resources/emailCampaigns/exports.mjs +3 -0
  457. package/dist/esm/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.mts +8 -8
  458. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.mts +32 -25
  459. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.mjs +3 -0
  460. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.mts +2 -0
  461. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.mjs +2 -0
  462. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.mts +34 -27
  463. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.mjs +3 -0
  464. package/dist/esm/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.mts +1 -1
  465. package/dist/esm/api/resources/event/client/Client.d.mts +36 -0
  466. package/dist/esm/api/resources/event/client/Client.mjs +125 -0
  467. package/dist/esm/api/resources/event/client/requests/CreateEventRequest.d.mts +10 -10
  468. package/dist/esm/api/resources/event/client/requests/GetEventsRequest.d.mts +20 -0
  469. package/dist/esm/api/resources/event/client/requests/GetEventsRequest.mjs +2 -0
  470. package/dist/esm/api/resources/event/client/requests/index.d.mts +1 -0
  471. package/dist/esm/api/resources/event/exports.d.mts +2 -0
  472. package/dist/esm/api/resources/event/exports.mjs +3 -0
  473. package/dist/esm/api/resources/event/index.d.mts +1 -0
  474. package/dist/esm/api/resources/event/index.mjs +1 -0
  475. package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.d.mts +59 -0
  476. package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.mjs +2 -0
  477. package/dist/esm/api/resources/event/types/index.d.mts +1 -0
  478. package/dist/esm/api/resources/event/types/index.mjs +1 -0
  479. package/dist/esm/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.mts +0 -10
  480. package/dist/esm/api/resources/externalFeeds/exports.d.mts +2 -0
  481. package/dist/esm/api/resources/externalFeeds/exports.mjs +3 -0
  482. package/dist/esm/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.mts +4 -4
  483. package/dist/esm/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.mts +4 -4
  484. package/dist/esm/api/resources/files/exports.d.mts +2 -0
  485. package/dist/esm/api/resources/files/exports.mjs +3 -0
  486. package/dist/esm/api/resources/files/types/GetCrmFilesIdResponse.d.mts +1 -1
  487. package/dist/esm/api/resources/inboundParsing/client/Client.d.mts +1 -0
  488. package/dist/esm/api/resources/inboundParsing/client/Client.mjs +1 -0
  489. package/dist/esm/api/resources/inboundParsing/exports.d.mts +2 -0
  490. package/dist/esm/api/resources/inboundParsing/exports.mjs +3 -0
  491. package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.mts +14 -14
  492. package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.mts +1 -1
  493. package/dist/esm/api/resources/index.d.mts +1 -0
  494. package/dist/esm/api/resources/index.mjs +1 -0
  495. package/dist/esm/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.mts +2 -2
  496. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.mts +9 -9
  497. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.mts +8 -8
  498. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.mts +2 -2
  499. package/dist/esm/api/resources/masterAccount/exports.d.mts +2 -0
  500. package/dist/esm/api/resources/masterAccount/exports.mjs +3 -0
  501. package/dist/esm/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.mts +12 -12
  502. package/dist/esm/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.mts +11 -11
  503. package/dist/esm/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.mts +3 -3
  504. package/dist/esm/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.mts +31 -31
  505. package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.mts +37 -37
  506. package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.mts +4 -4
  507. package/dist/esm/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.mts +10 -10
  508. package/dist/esm/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.mts +2 -2
  509. package/dist/esm/api/resources/masterAccount/types/InviteAdminUserResponse.d.mts +1 -1
  510. package/dist/esm/api/resources/masterAccount/types/PostCorporateGroupResponse.d.mts +1 -1
  511. package/dist/esm/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.mts +1 -1
  512. package/dist/esm/api/resources/notes/exports.d.mts +2 -0
  513. package/dist/esm/api/resources/notes/exports.mjs +3 -0
  514. package/dist/esm/api/resources/notes/types/PostCrmNotesResponse.d.mts +1 -1
  515. package/dist/esm/api/resources/payments/exports.d.mts +2 -0
  516. package/dist/esm/api/resources/payments/exports.mjs +3 -0
  517. package/dist/esm/api/resources/payments/types/CreatePaymentRequestResponse.d.mts +1 -1
  518. package/dist/esm/api/resources/payments/types/GetPaymentRequestResponse.d.mts +3 -3
  519. package/dist/esm/api/resources/process/client/requests/GetProcessRequest.d.mts +0 -15
  520. package/dist/esm/api/resources/process/exports.d.mts +2 -0
  521. package/dist/esm/api/resources/process/exports.mjs +3 -0
  522. package/dist/esm/api/resources/process/types/GetProcessResponse.d.mts +16 -16
  523. package/dist/esm/api/resources/process/types/GetProcessesResponse.d.mts +16 -16
  524. package/dist/esm/api/resources/program/client/Client.d.mts +21 -0
  525. package/dist/esm/api/resources/program/client/Client.mjs +69 -1
  526. package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.mts +13 -0
  527. package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.mjs +2 -0
  528. package/dist/esm/api/resources/program/client/requests/GetParameterSubscriptionInfoRequest.d.mts +2 -0
  529. package/dist/esm/api/resources/program/client/requests/index.d.mts +1 -0
  530. package/dist/esm/api/resources/program/exports.d.mts +2 -0
  531. package/dist/esm/api/resources/program/exports.mjs +3 -0
  532. package/dist/esm/api/resources/program/types/GetLpListResponse.d.mts +1 -1
  533. package/dist/esm/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.mts +28 -28
  534. package/dist/esm/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.mts +5 -5
  535. package/dist/esm/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.mts +7 -7
  536. package/dist/esm/api/resources/reward/client/requests/RedeemVoucherRequest.d.mts +26 -26
  537. package/dist/esm/api/resources/reward/exports.d.mts +2 -0
  538. package/dist/esm/api/resources/reward/exports.mjs +3 -0
  539. package/dist/esm/api/resources/reward/types/CreateRewardResponse.d.mts +8 -8
  540. package/dist/esm/api/resources/reward/types/CreateVoucherResponse.d.mts +11 -11
  541. package/dist/esm/api/resources/reward/types/GetCodeCountResponse.d.mts +1 -1
  542. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.mts +11 -11
  543. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.mts +81 -81
  544. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.mts +15 -15
  545. package/dist/esm/api/resources/reward/types/ValidateRewardResponse.d.mts +1 -1
  546. package/dist/esm/api/resources/senders/client/requests/CreateSenderRequest.d.mts +1 -13
  547. package/dist/esm/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.mts +0 -5
  548. package/dist/esm/api/resources/senders/client/requests/GetSendersRequest.d.mts +0 -3
  549. package/dist/esm/api/resources/senders/client/requests/UpdateSenderRequest.d.mts +1 -1
  550. package/dist/esm/api/resources/senders/exports.d.mts +2 -0
  551. package/dist/esm/api/resources/senders/exports.mjs +3 -0
  552. package/dist/esm/api/resources/senders/types/CreateSenderResponse.d.mts +2 -2
  553. package/dist/esm/api/resources/senders/types/GetSendersResponse.d.mts +1 -1
  554. package/dist/esm/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.mts +1 -1
  555. package/dist/esm/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.mts +1 -1
  556. package/dist/esm/api/resources/smsCampaigns/exports.d.mts +2 -0
  557. package/dist/esm/api/resources/smsCampaigns/exports.mjs +3 -0
  558. package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.mts +1 -1
  559. package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.mts +3 -3
  560. package/dist/esm/api/resources/smsTemplates/exports.d.mts +2 -0
  561. package/dist/esm/api/resources/smsTemplates/exports.mjs +3 -0
  562. package/dist/esm/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.mts +17 -17
  563. package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
  564. package/dist/esm/api/resources/tasks/exports.mjs +3 -0
  565. package/dist/esm/api/resources/tasks/types/GetCrmTasksResponse.d.mts +1 -1
  566. package/dist/esm/api/resources/tasks/types/GetCrmTasktypesResponse.d.mts +2 -2
  567. package/dist/esm/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.mts +3 -3
  568. package/dist/esm/api/resources/tier/client/requests/CreateTierGroupRequest.d.mts +11 -0
  569. package/dist/esm/api/resources/tier/client/requests/UpdateTierGroupRequest.d.mts +11 -0
  570. package/dist/esm/api/resources/tier/client/requests/UpdateTierRequest.d.mts +3 -3
  571. package/dist/esm/api/resources/tier/exports.d.mts +2 -0
  572. package/dist/esm/api/resources/tier/exports.mjs +3 -0
  573. package/dist/esm/api/resources/tier/types/AddSubscriptionToTierResponse.d.mts +7 -7
  574. package/dist/esm/api/resources/tier/types/GetListOfTierGroupsResponse.d.mts +1 -1
  575. package/dist/esm/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.mts +1 -1
  576. package/dist/esm/api/resources/transactionalEmails/client/Client.d.mts +2 -6
  577. package/dist/esm/api/resources/transactionalEmails/client/Client.mjs +2 -6
  578. package/dist/esm/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.mts +3 -3
  579. package/dist/esm/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.mts +0 -7
  580. package/dist/esm/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.mts +21 -21
  581. package/dist/esm/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.mts +3 -3
  582. package/dist/esm/api/resources/transactionalEmails/exports.d.mts +2 -0
  583. package/dist/esm/api/resources/transactionalEmails/exports.mjs +3 -0
  584. package/dist/esm/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.mts +13 -13
  585. package/dist/esm/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.mts +8 -8
  586. package/dist/esm/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.mts +1 -1
  587. package/dist/esm/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.mts +2 -2
  588. package/dist/esm/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.mts +4 -4
  589. package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.mts +1 -1
  590. package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.mts +5 -5
  591. package/dist/esm/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.mts +6 -6
  592. package/dist/esm/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.mts +2 -2
  593. package/dist/esm/api/resources/transactionalSms/client/Client.d.mts +5 -9
  594. package/dist/esm/api/resources/transactionalSms/client/Client.mjs +5 -9
  595. package/dist/esm/api/resources/transactionalSms/exports.d.mts +2 -0
  596. package/dist/esm/api/resources/transactionalSms/exports.mjs +3 -0
  597. package/dist/esm/api/resources/transactionalSms/types/GetSmsEventsResponse.d.mts +8 -8
  598. package/dist/esm/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.mts +11 -11
  599. package/dist/esm/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.mts +12 -12
  600. package/dist/esm/api/resources/transactionalSms/types/SendTransacSmsResponse.d.mts +3 -3
  601. package/dist/esm/api/resources/transactionalWhatsApp/client/Client.d.mts +2 -1
  602. package/dist/esm/api/resources/transactionalWhatsApp/client/Client.mjs +2 -1
  603. package/dist/esm/api/resources/transactionalWhatsApp/exports.d.mts +2 -0
  604. package/dist/esm/api/resources/transactionalWhatsApp/exports.mjs +3 -0
  605. package/dist/esm/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.mts +4 -4
  606. package/dist/esm/api/resources/user/exports.d.mts +2 -0
  607. package/dist/esm/api/resources/user/exports.mjs +3 -0
  608. package/dist/esm/api/resources/user/types/EditUserPermissionResponse.d.mts +2 -2
  609. package/dist/esm/api/resources/user/types/GetInvitedUsersListResponse.d.mts +4 -4
  610. package/dist/esm/api/resources/user/types/InviteuserResponse.d.mts +1 -1
  611. package/dist/esm/api/resources/user/types/PutRevokeUserPermissionResponse.d.mts +1 -1
  612. package/dist/esm/api/resources/user/types/PutresendcancelinvitationResponse.d.mts +1 -1
  613. package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -13
  614. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -13
  615. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +6 -4
  616. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +1 -0
  617. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.mts +6 -4
  618. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.mjs +1 -0
  619. package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
  620. package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
  621. package/dist/esm/api/resources/whatsAppCampaigns/client/Client.d.mts +19 -44
  622. package/dist/esm/api/resources/whatsAppCampaigns/client/Client.mjs +19 -44
  623. package/dist/esm/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.mts +3 -3
  624. package/dist/esm/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.mts +3 -3
  625. package/dist/esm/api/resources/whatsAppCampaigns/exports.d.mts +2 -0
  626. package/dist/esm/api/resources/whatsAppCampaigns/exports.mjs +3 -0
  627. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.mts +15 -15
  628. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.mts +6 -6
  629. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.mts +6 -6
  630. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.mts +3 -3
  631. package/dist/esm/api/types/BalanceDefinition.d.mts +20 -20
  632. package/dist/esm/api/types/BalanceLimit.d.mts +8 -8
  633. package/dist/esm/api/types/BatchAcceptedResponse.d.mts +9 -0
  634. package/dist/esm/api/types/BatchAcceptedResponse.mjs +2 -0
  635. package/dist/esm/api/types/BatchEventsResponse.d.mts +26 -0
  636. package/dist/esm/api/types/BatchEventsResponse.mjs +2 -0
  637. package/dist/esm/api/types/Company.d.mts +4 -4
  638. package/dist/esm/api/types/ContactErrorModel.d.mts +1 -1
  639. package/dist/esm/api/types/ConversationsMessage.d.mts +53 -53
  640. package/dist/esm/api/types/CreateUpdateFolder.d.mts +1 -1
  641. package/dist/esm/api/types/Deal.d.mts +4 -4
  642. package/dist/esm/api/types/ErrorModel.d.mts +1 -1
  643. package/dist/esm/api/types/FileData.d.mts +7 -7
  644. package/dist/esm/api/types/GetCampaignStats.d.mts +7 -7
  645. package/dist/esm/api/types/GetCategoryDetails.d.mts +1 -1
  646. package/dist/esm/api/types/GetContactDetails.d.mts +2 -2
  647. package/dist/esm/api/types/GetCouponCollection.d.mts +3 -3
  648. package/dist/esm/api/types/GetEventsList.d.mts +32 -0
  649. package/dist/esm/api/types/GetEventsList.mjs +2 -0
  650. package/dist/esm/api/types/GetExtendedCampaignOverview.d.mts +32 -25
  651. package/dist/esm/api/types/GetExtendedCampaignOverview.mjs +3 -0
  652. package/dist/esm/api/types/GetExtendedCampaignStats.d.mts +4 -4
  653. package/dist/esm/api/types/GetProductDetails.d.mts +14 -10
  654. package/dist/esm/api/types/GetSmsCampaignOverview.d.mts +1 -1
  655. package/dist/esm/api/types/GetSmtpTemplateOverview.d.mts +4 -4
  656. package/dist/esm/api/types/GetWebhook.d.mts +4 -4
  657. package/dist/esm/api/types/InternalServerErrorBody.d.mts +48 -0
  658. package/dist/esm/api/types/InternalServerErrorBody.mjs +43 -0
  659. package/dist/esm/api/types/Inviteuser.d.mts +2 -2
  660. package/dist/esm/api/types/LoyaltyProgram.d.mts +12 -12
  661. package/dist/esm/api/types/NodeResponse.d.mts +8 -8
  662. package/dist/esm/api/types/Note.d.mts +6 -6
  663. package/dist/esm/api/types/NoteData.d.mts +3 -3
  664. package/dist/esm/api/types/Order.d.mts +30 -20
  665. package/dist/esm/api/types/Pipeline.d.mts +5 -5
  666. package/dist/esm/api/types/PostContactInfo.d.mts +4 -4
  667. package/dist/esm/api/types/PostSendFailed.d.mts +3 -3
  668. package/dist/esm/api/types/Redeem.d.mts +14 -14
  669. package/dist/esm/api/types/RuleConditionResponse.d.mts +5 -5
  670. package/dist/esm/api/types/SendReport.d.mts +1 -1
  671. package/dist/esm/api/types/SendTestEmail.d.mts +1 -1
  672. package/dist/esm/api/types/SendTransacSms.d.mts +10 -6
  673. package/dist/esm/api/types/Task.d.mts +4 -4
  674. package/dist/esm/api/types/Tier.d.mts +16 -16
  675. package/dist/esm/api/types/TierGroup.d.mts +8 -8
  676. package/dist/esm/api/types/Transaction.d.mts +15 -15
  677. package/dist/esm/api/types/UpdateCampaignStatus.d.mts +2 -1
  678. package/dist/esm/api/types/UpdateCampaignStatus.mjs +1 -0
  679. package/dist/esm/api/types/ValueResponse.d.mts +8 -8
  680. package/dist/esm/api/types/VariablesItems.d.mts +3 -3
  681. package/dist/esm/api/types/index.d.mts +4 -0
  682. package/dist/esm/api/types/index.mjs +4 -0
  683. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  684. package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
  685. package/dist/esm/core/fetcher/index.d.mts +2 -0
  686. package/dist/esm/core/fetcher/index.mjs +1 -0
  687. package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
  688. package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
  689. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
  690. package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
  691. package/dist/esm/core/runtime/runtime.mjs +8 -7
  692. package/dist/esm/version.d.mts +1 -1
  693. package/dist/esm/version.mjs +1 -1
  694. package/package.json +356 -4
  695. package/reference.md +362 -155
  696. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.ts +0 -6
  697. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js +0 -9
  698. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.mts +0 -6
@@ -3,15 +3,15 @@
3
3
  */
4
4
  export interface GetLoyaltyBalanceProgramsPidTransactionHistoryResponse {
5
5
  /** Unique identifier of the associated balance definition. */
6
- balanceDefinitionId?: string;
6
+ balanceDefinitionId?: string | undefined;
7
7
  /** Unique identifier of the contact related to the transactions. */
8
- contactId?: number;
8
+ contactId?: number | undefined;
9
9
  /** Total number of transactions in the history. */
10
- count?: number;
10
+ count?: number | undefined;
11
11
  /** Unique identifier of the associated loyalty program. */
12
- loyaltyProgramId?: string;
12
+ loyaltyProgramId?: string | undefined;
13
13
  /** List of past transactions associated with the balance. */
14
- transactionHistory?: GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.TransactionHistory.Item[];
14
+ transactionHistory?: GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.TransactionHistory.Item[] | undefined;
15
15
  }
16
16
  export declare namespace GetLoyaltyBalanceProgramsPidTransactionHistoryResponse {
17
17
  type TransactionHistory = TransactionHistory.Item[];
@@ -21,25 +21,25 @@ export declare namespace GetLoyaltyBalanceProgramsPidTransactionHistoryResponse
21
21
  */
22
22
  interface Item {
23
23
  /** The transaction amount. */
24
- amount?: number;
24
+ amount?: number | undefined;
25
25
  /** Expiration date of the balance associated with this transaction. */
26
- balanceExpirationDate?: string;
26
+ balanceExpirationDate?: string | undefined;
27
27
  /** Timestamp when the transaction was canceled, if applicable. */
28
- cancelledAt?: string;
28
+ cancelledAt?: string | undefined;
29
29
  /** Timestamp when the transaction was successfully completed. */
30
- completedAt?: string;
30
+ completedAt?: string | undefined;
31
31
  /** Timestamp when the transaction was initiated. */
32
- createdAt?: string;
32
+ createdAt?: string | undefined;
33
33
  /** Unique identifier of the transaction. */
34
- id?: string;
34
+ id?: string | undefined;
35
35
  /** Optional metadata associated with the transaction. */
36
- meta?: Record<string, unknown>;
36
+ meta?: Record<string, unknown> | undefined;
37
37
  /** Reason for rejection, if the transaction was declined. */
38
- rejectReason?: string;
38
+ rejectReason?: string | undefined;
39
39
  /** Timestamp when the transaction was rejected. */
40
- rejectedAt?: string;
40
+ rejectedAt?: string | undefined;
41
41
  /** Current status of the transaction (e.g., pending, completed, rejected). */
42
- status?: string;
42
+ status?: string | undefined;
43
43
  }
44
44
  }
45
45
  }
@@ -1,14 +1,14 @@
1
1
  export interface GetSubscriptionBalancesResponse {
2
- balance?: GetSubscriptionBalancesResponse.Balance.Item[];
2
+ balance?: GetSubscriptionBalancesResponse.Balance.Item[] | undefined;
3
3
  }
4
4
  export declare namespace GetSubscriptionBalancesResponse {
5
5
  type Balance = Balance.Item[];
6
6
  namespace Balance {
7
7
  interface Item {
8
8
  /** balance definition ID */
9
- balanceDefinitionId?: string;
9
+ balanceDefinitionId?: string | undefined;
10
10
  /** Unique identifier for the balance definition associated with this aggregate balance */
11
- value?: number;
11
+ value?: number | undefined;
12
12
  }
13
13
  }
14
14
  }
@@ -1,20 +1,20 @@
1
1
  export interface PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse {
2
2
  /** The current amount available in the balance */
3
- amount?: number;
3
+ amount?: number | undefined;
4
4
  /** balance definition ID */
5
- balanceDefinitionId?: string;
5
+ balanceDefinitionId?: string | undefined;
6
6
  /** Timestamp of when the balance was last consumed */
7
- consumedAt?: string;
7
+ consumedAt?: string | undefined;
8
8
  /** contact ID */
9
- contactId?: number;
9
+ contactId?: number | undefined;
10
10
  /** Timestamp of when the balance was created */
11
- createdAt?: string;
11
+ createdAt?: string | undefined;
12
12
  /** Expiration timestamp of the balance */
13
- expiresAt?: string;
13
+ expiresAt?: string | undefined;
14
14
  /** Unique identifier for the balance */
15
- id?: string;
15
+ id?: string | undefined;
16
16
  /** loyalty program ID */
17
- loyaltyProgramId?: string;
17
+ loyaltyProgramId?: string | undefined;
18
18
  /** organization ID */
19
- organizationId?: number;
19
+ organizationId?: number | undefined;
20
20
  }
@@ -7,7 +7,8 @@ export * from "./GetBalanceDefinitionRequestVersion.js";
7
7
  export * from "./GetBalanceLimitRequestVersion.js";
8
8
  export * from "./GetContactBalancesResponse.js";
9
9
  export * from "./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSort.js";
10
- export * from "./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js";
10
+ export * from "./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.js";
11
+ export * from "./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.js";
11
12
  export * from "./GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.js";
12
13
  export * from "./GetSubscriptionBalancesResponse.js";
13
14
  export * from "./PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.js";
@@ -23,7 +23,8 @@ __exportStar(require("./GetBalanceDefinitionRequestVersion.js"), exports);
23
23
  __exportStar(require("./GetBalanceLimitRequestVersion.js"), exports);
24
24
  __exportStar(require("./GetContactBalancesResponse.js"), exports);
25
25
  __exportStar(require("./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSort.js"), exports);
26
- __exportStar(require("./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js"), exports);
26
+ __exportStar(require("./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestStatus.js"), exports);
27
+ __exportStar(require("./GetLoyaltyBalanceProgramsPidTransactionHistoryRequestTransactionType.js"), exports);
27
28
  __exportStar(require("./GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.js"), exports);
28
29
  __exportStar(require("./GetSubscriptionBalancesResponse.js"), exports);
29
30
  __exportStar(require("./PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.js"), exports);
@@ -118,6 +118,34 @@ export declare class CompaniesClient {
118
118
  */
119
119
  createACompanyDealAttribute(request: Brevo.PostCrmAttributesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Brevo.PostCrmAttributesResponse>;
120
120
  private __createACompanyDealAttribute;
121
+ /**
122
+ * @param {Brevo.DeleteCrmAttributesIdRequest} request
123
+ * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
124
+ *
125
+ * @throws {@link Brevo.BadRequestError}
126
+ * @throws {@link Brevo.NotFoundError}
127
+ *
128
+ * @example
129
+ * await client.companies.deleteAnAttribute({
130
+ * id: "id"
131
+ * })
132
+ */
133
+ deleteAnAttribute(request: Brevo.DeleteCrmAttributesIdRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<void>;
134
+ private __deleteAnAttribute;
135
+ /**
136
+ * @param {Brevo.PatchCrmAttributesIdRequest} request
137
+ * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
138
+ *
139
+ * @throws {@link Brevo.BadRequestError}
140
+ * @throws {@link Brevo.NotFoundError}
141
+ *
142
+ * @example
143
+ * await client.companies.updateAnAttribute({
144
+ * id: "id"
145
+ * })
146
+ */
147
+ updateAnAttribute(request: Brevo.PatchCrmAttributesIdRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<void>;
148
+ private __updateAnAttribute;
121
149
  /**
122
150
  * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
123
151
  *
@@ -500,6 +500,113 @@ class CompaniesClient {
500
500
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/crm/attributes");
501
501
  });
502
502
  }
503
+ /**
504
+ * @param {Brevo.DeleteCrmAttributesIdRequest} request
505
+ * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
506
+ *
507
+ * @throws {@link Brevo.BadRequestError}
508
+ * @throws {@link Brevo.NotFoundError}
509
+ *
510
+ * @example
511
+ * await client.companies.deleteAnAttribute({
512
+ * id: "id"
513
+ * })
514
+ */
515
+ deleteAnAttribute(request, requestOptions) {
516
+ return core.HttpResponsePromise.fromPromise(this.__deleteAnAttribute(request, requestOptions));
517
+ }
518
+ __deleteAnAttribute(request, requestOptions) {
519
+ return __awaiter(this, void 0, void 0, function* () {
520
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
521
+ const { id } = request;
522
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
523
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
524
+ const _response = yield core.fetcher({
525
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrevoEnvironment.Default, `crm/attributes/${core.url.encodePathParam(id)}`),
526
+ method: "DELETE",
527
+ headers: _headers,
528
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
529
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
530
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
531
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
532
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
533
+ logging: this._options.logging,
534
+ });
535
+ if (_response.ok) {
536
+ return { data: undefined, rawResponse: _response.rawResponse };
537
+ }
538
+ if (_response.error.reason === "status-code") {
539
+ switch (_response.error.statusCode) {
540
+ case 400:
541
+ throw new Brevo.BadRequestError(_response.error.body, _response.rawResponse);
542
+ case 404:
543
+ throw new Brevo.NotFoundError(_response.error.body, _response.rawResponse);
544
+ default:
545
+ throw new errors.BrevoError({
546
+ statusCode: _response.error.statusCode,
547
+ body: _response.error.body,
548
+ rawResponse: _response.rawResponse,
549
+ });
550
+ }
551
+ }
552
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/crm/attributes/{id}");
553
+ });
554
+ }
555
+ /**
556
+ * @param {Brevo.PatchCrmAttributesIdRequest} request
557
+ * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
558
+ *
559
+ * @throws {@link Brevo.BadRequestError}
560
+ * @throws {@link Brevo.NotFoundError}
561
+ *
562
+ * @example
563
+ * await client.companies.updateAnAttribute({
564
+ * id: "id"
565
+ * })
566
+ */
567
+ updateAnAttribute(request, requestOptions) {
568
+ return core.HttpResponsePromise.fromPromise(this.__updateAnAttribute(request, requestOptions));
569
+ }
570
+ __updateAnAttribute(request, requestOptions) {
571
+ return __awaiter(this, void 0, void 0, function* () {
572
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
573
+ const { id } = request, _body = __rest(request, ["id"]);
574
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
575
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
576
+ const _response = yield core.fetcher({
577
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.BrevoEnvironment.Default, `crm/attributes/${core.url.encodePathParam(id)}`),
578
+ method: "PATCH",
579
+ headers: _headers,
580
+ contentType: "application/json",
581
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
582
+ requestType: "json",
583
+ body: _body,
584
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
585
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
586
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
587
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
588
+ logging: this._options.logging,
589
+ });
590
+ if (_response.ok) {
591
+ return { data: undefined, rawResponse: _response.rawResponse };
592
+ }
593
+ if (_response.error.reason === "status-code") {
594
+ switch (_response.error.statusCode) {
595
+ case 400:
596
+ throw new Brevo.BadRequestError(_response.error.body, _response.rawResponse);
597
+ case 404:
598
+ throw new Brevo.NotFoundError(_response.error.body, _response.rawResponse);
599
+ default:
600
+ throw new errors.BrevoError({
601
+ statusCode: _response.error.statusCode,
602
+ body: _response.error.body,
603
+ rawResponse: _response.rawResponse,
604
+ });
605
+ }
606
+ }
607
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/crm/attributes/{id}");
608
+ });
609
+ }
503
610
  /**
504
611
  * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
505
612
  *
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface DeleteCrmAttributesIdRequest {
8
+ /** Attribute ID */
9
+ id: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PatchCrmAttributesIdRequest = void 0;
5
+ var PatchCrmAttributesIdRequest;
6
+ (function (PatchCrmAttributesIdRequest) {
7
+ /** The type of object the attribute belongs to, it cannot be updated after creation */
8
+ PatchCrmAttributesIdRequest.ObjectType = {
9
+ Companies: "companies",
10
+ Deals: "deals",
11
+ };
12
+ })(PatchCrmAttributesIdRequest || (exports.PatchCrmAttributesIdRequest = PatchCrmAttributesIdRequest = {}));
@@ -1,8 +1,10 @@
1
1
  export type { DeleteCompaniesIdRequest } from "./DeleteCompaniesIdRequest.js";
2
+ export type { DeleteCrmAttributesIdRequest } from "./DeleteCrmAttributesIdRequest.js";
2
3
  export type { GetCompaniesIdRequest } from "./GetCompaniesIdRequest.js";
3
4
  export type { GetCompaniesRequest } from "./GetCompaniesRequest.js";
4
5
  export type { PatchCompaniesIdRequest } from "./PatchCompaniesIdRequest.js";
5
6
  export type { PatchCompaniesLinkUnlinkIdRequest } from "./PatchCompaniesLinkUnlinkIdRequest.js";
7
+ export { PatchCrmAttributesIdRequest } from "./PatchCrmAttributesIdRequest.js";
6
8
  export type { PostCompaniesImportRequest } from "./PostCompaniesImportRequest.js";
7
9
  export type { PostCompaniesRequest } from "./PostCompaniesRequest.js";
8
10
  export { PostCrmAttributesRequest } from "./PostCrmAttributesRequest.js";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostCrmAttributesRequest = void 0;
3
+ exports.PostCrmAttributesRequest = exports.PatchCrmAttributesIdRequest = void 0;
4
+ var PatchCrmAttributesIdRequest_js_1 = require("./PatchCrmAttributesIdRequest.js");
5
+ Object.defineProperty(exports, "PatchCrmAttributesIdRequest", { enumerable: true, get: function () { return PatchCrmAttributesIdRequest_js_1.PatchCrmAttributesIdRequest; } });
4
6
  var PostCrmAttributesRequest_js_1 = require("./PostCrmAttributesRequest.js");
5
7
  Object.defineProperty(exports, "PostCrmAttributesRequest", { enumerable: true, get: function () { return PostCrmAttributesRequest_js_1.PostCrmAttributesRequest; } });
@@ -0,0 +1,2 @@
1
+ export { CompaniesClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CompaniesClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "CompaniesClient", { enumerable: true, get: function () { return Client_js_1.CompaniesClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -4,5 +4,5 @@ import type * as Brevo from "../../../index.js";
4
4
  */
5
5
  export interface GetCompaniesResponse {
6
6
  /** List of companies */
7
- items?: Brevo.Company[];
7
+ items?: Brevo.Company[] | undefined;
8
8
  }
@@ -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
  }
@@ -1,4 +1,4 @@
1
1
  export interface PostCompaniesImportResponse {
2
2
  /** The ID of the import process */
3
- processId?: number;
3
+ processId?: number | undefined;
4
4
  }
@@ -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 title="Follow this format when passing a SMS phone number as an attribute">
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 <br><br> If a blocklisted contact's email address is updated, it is going to remove that blocklisting from the contact and they will be resubscribed.</Note>
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