@getbrevo/brevo 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (641) hide show
  1. package/README.md +4 -4
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/account/exports.d.ts +2 -0
  4. package/dist/cjs/api/resources/account/exports.js +21 -0
  5. package/dist/cjs/api/resources/account/types/GetAccountActivityResponse.d.ts +1 -1
  6. package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +7 -7
  7. package/dist/cjs/api/resources/balance/client/Client.d.ts +2 -2
  8. package/dist/cjs/api/resources/balance/client/Client.js +6 -6
  9. package/dist/cjs/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.ts +5 -5
  10. package/dist/cjs/api/resources/balance/exports.d.ts +2 -0
  11. package/dist/cjs/api/resources/balance/exports.js +21 -0
  12. package/dist/cjs/api/resources/balance/types/CreateBalanceOrderResponse.d.ts +6 -6
  13. package/dist/cjs/api/resources/balance/types/GetBalanceDefinitionListResponse.d.ts +1 -1
  14. package/dist/cjs/api/resources/balance/types/GetContactBalancesResponse.d.ts +8 -8
  15. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.ts +15 -15
  16. package/dist/cjs/api/resources/balance/types/GetSubscriptionBalancesResponse.d.ts +3 -3
  17. package/dist/cjs/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.ts +9 -9
  18. package/dist/cjs/api/resources/balance/types/index.d.ts +0 -1
  19. package/dist/cjs/api/resources/balance/types/index.js +0 -1
  20. package/dist/cjs/api/resources/companies/client/Client.d.ts +28 -0
  21. package/dist/cjs/api/resources/companies/client/Client.js +107 -0
  22. package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.ts +10 -0
  23. package/dist/cjs/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.js +3 -0
  24. package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.ts +33 -0
  25. package/dist/cjs/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.js +12 -0
  26. package/dist/cjs/api/resources/companies/client/requests/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/companies/client/requests/index.js +3 -1
  28. package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
  29. package/dist/cjs/api/resources/companies/exports.js +21 -0
  30. package/dist/cjs/api/resources/companies/types/GetCompaniesResponse.d.ts +1 -1
  31. package/dist/cjs/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.ts +5 -5
  32. package/dist/cjs/api/resources/companies/types/PostCompaniesImportResponse.d.ts +1 -1
  33. package/dist/cjs/api/resources/contacts/client/Client.d.ts +15 -45
  34. package/dist/cjs/api/resources/contacts/client/Client.js +15 -45
  35. package/dist/cjs/api/resources/contacts/client/requests/AddContactToListRequest.d.ts +0 -24
  36. package/dist/cjs/api/resources/contacts/client/requests/ImportContactsRequest.d.ts +4 -4
  37. package/dist/cjs/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.ts +0 -32
  38. package/dist/cjs/api/resources/contacts/client/requests/RequestContactExportRequest.d.ts +7 -7
  39. package/dist/cjs/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.ts +10 -10
  40. package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
  41. package/dist/cjs/api/resources/contacts/exports.js +21 -0
  42. package/dist/cjs/api/resources/contacts/types/CreateContactResponse.d.ts +1 -1
  43. package/dist/cjs/api/resources/contacts/types/GetAttributesResponse.d.ts +4 -4
  44. package/dist/cjs/api/resources/contacts/types/GetContactInfoResponse.d.ts +13 -13
  45. package/dist/cjs/api/resources/contacts/types/GetContactStatsResponse.d.ts +11 -11
  46. package/dist/cjs/api/resources/contacts/types/GetFolderListsResponse.d.ts +2 -2
  47. package/dist/cjs/api/resources/contacts/types/GetFoldersResponse.d.ts +2 -2
  48. package/dist/cjs/api/resources/contacts/types/GetListResponse.d.ts +2 -2
  49. package/dist/cjs/api/resources/contacts/types/GetListsResponse.d.ts +2 -2
  50. package/dist/cjs/api/resources/contacts/types/GetSegmentsResponse.d.ts +3 -3
  51. package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
  52. package/dist/cjs/api/resources/conversations/exports.js +21 -0
  53. package/dist/cjs/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.ts +2 -2
  54. package/dist/cjs/api/resources/coupons/exports.d.ts +2 -0
  55. package/dist/cjs/api/resources/coupons/exports.js +21 -0
  56. package/dist/cjs/api/resources/customObjects/client/Client.d.ts +6 -14
  57. package/dist/cjs/api/resources/customObjects/client/Client.js +6 -14
  58. package/dist/cjs/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.ts +6 -6
  59. package/dist/cjs/api/resources/customObjects/exports.d.ts +2 -0
  60. package/dist/cjs/api/resources/customObjects/exports.js +21 -0
  61. package/dist/cjs/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.ts +2 -2
  62. package/dist/cjs/api/resources/customObjects/types/GetrecordsResponse.d.ts +9 -9
  63. package/dist/cjs/api/resources/customObjects/types/UpsertrecordsResponse.d.ts +3 -3
  64. package/dist/cjs/api/resources/deals/client/Client.d.ts +2 -0
  65. package/dist/cjs/api/resources/deals/client/Client.js +2 -0
  66. package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
  67. package/dist/cjs/api/resources/deals/exports.js +21 -0
  68. package/dist/cjs/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.ts +5 -5
  69. package/dist/cjs/api/resources/deals/types/GetCrmDealsResponse.d.ts +1 -1
  70. package/dist/cjs/api/resources/deals/types/PostCrmDealsImportResponse.d.ts +1 -1
  71. package/dist/cjs/api/resources/domains/client/requests/AuthenticateDomainRequest.d.ts +0 -5
  72. package/dist/cjs/api/resources/domains/client/requests/CreateDomainRequest.d.ts +0 -10
  73. package/dist/cjs/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.ts +0 -5
  74. package/dist/cjs/api/resources/domains/exports.d.ts +2 -0
  75. package/dist/cjs/api/resources/domains/exports.js +21 -0
  76. package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +2 -2
  77. package/dist/cjs/api/resources/domains/types/GetDomainsResponse.d.ts +1 -1
  78. package/dist/cjs/api/resources/ecommerce/client/Client.d.ts +2 -4
  79. package/dist/cjs/api/resources/ecommerce/client/Client.js +2 -4
  80. package/dist/cjs/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.ts +1 -2
  81. package/dist/cjs/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.ts +3 -3
  82. package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.ts +4 -4
  83. package/dist/cjs/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.ts +10 -10
  84. package/dist/cjs/api/resources/ecommerce/exports.d.ts +2 -0
  85. package/dist/cjs/api/resources/ecommerce/exports.js +21 -0
  86. package/dist/cjs/api/resources/ecommerce/types/CreateBatchOrderResponse.d.ts +1 -1
  87. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.ts +2 -2
  88. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.ts +2 -2
  89. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.ts +1 -1
  90. package/dist/cjs/api/resources/ecommerce/types/CreateUpdateProductResponse.d.ts +1 -1
  91. package/dist/cjs/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.ts +7 -7
  92. package/dist/cjs/api/resources/emailCampaigns/client/Client.d.ts +2 -5
  93. package/dist/cjs/api/resources/emailCampaigns/client/Client.js +4 -6
  94. package/dist/cjs/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.ts +9 -9
  95. package/dist/cjs/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.ts +2 -0
  96. package/dist/cjs/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.ts +9 -9
  97. package/dist/cjs/api/resources/emailCampaigns/exports.d.ts +2 -0
  98. package/dist/cjs/api/resources/emailCampaigns/exports.js +21 -0
  99. package/dist/cjs/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.ts +8 -8
  100. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.ts +32 -25
  101. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignResponse.js +3 -0
  102. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.ts +2 -0
  103. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.js +2 -0
  104. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.ts +34 -27
  105. package/dist/cjs/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.js +3 -0
  106. package/dist/cjs/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.ts +1 -1
  107. package/dist/cjs/api/resources/event/client/Client.d.ts +17 -0
  108. package/dist/cjs/api/resources/event/client/Client.js +57 -0
  109. package/dist/cjs/api/resources/event/client/requests/CreateEventRequest.d.ts +10 -10
  110. package/dist/cjs/api/resources/event/exports.d.ts +2 -0
  111. package/dist/cjs/api/resources/event/exports.js +21 -0
  112. package/dist/cjs/api/resources/event/index.d.ts +1 -0
  113. package/dist/cjs/api/resources/event/index.js +1 -0
  114. package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.d.ts +59 -0
  115. package/dist/cjs/api/resources/event/types/CreateBatchEventsRequestItem.js +3 -0
  116. package/dist/cjs/api/resources/event/types/index.d.ts +1 -0
  117. package/dist/cjs/api/resources/event/types/index.js +17 -0
  118. package/dist/cjs/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.ts +0 -10
  119. package/dist/cjs/api/resources/externalFeeds/exports.d.ts +2 -0
  120. package/dist/cjs/api/resources/externalFeeds/exports.js +21 -0
  121. package/dist/cjs/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.ts +4 -4
  122. package/dist/cjs/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.ts +4 -4
  123. package/dist/cjs/api/resources/files/exports.d.ts +2 -0
  124. package/dist/cjs/api/resources/files/exports.js +21 -0
  125. package/dist/cjs/api/resources/files/types/GetCrmFilesIdResponse.d.ts +1 -1
  126. package/dist/cjs/api/resources/inboundParsing/client/Client.d.ts +1 -0
  127. package/dist/cjs/api/resources/inboundParsing/client/Client.js +1 -0
  128. package/dist/cjs/api/resources/inboundParsing/exports.d.ts +2 -0
  129. package/dist/cjs/api/resources/inboundParsing/exports.js +21 -0
  130. package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.ts +14 -14
  131. package/dist/cjs/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.ts +1 -1
  132. package/dist/cjs/api/resources/index.d.ts +1 -0
  133. package/dist/cjs/api/resources/index.js +1 -0
  134. package/dist/cjs/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.ts +2 -2
  135. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.ts +9 -9
  136. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.ts +8 -8
  137. package/dist/cjs/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.ts +2 -2
  138. package/dist/cjs/api/resources/masterAccount/exports.d.ts +2 -0
  139. package/dist/cjs/api/resources/masterAccount/exports.js +21 -0
  140. package/dist/cjs/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.ts +12 -12
  141. package/dist/cjs/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.ts +11 -11
  142. package/dist/cjs/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.ts +3 -3
  143. package/dist/cjs/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.ts +31 -31
  144. package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.ts +37 -37
  145. package/dist/cjs/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.ts +4 -4
  146. package/dist/cjs/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.ts +10 -10
  147. package/dist/cjs/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.ts +2 -2
  148. package/dist/cjs/api/resources/masterAccount/types/InviteAdminUserResponse.d.ts +1 -1
  149. package/dist/cjs/api/resources/masterAccount/types/PostCorporateGroupResponse.d.ts +1 -1
  150. package/dist/cjs/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.ts +1 -1
  151. package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
  152. package/dist/cjs/api/resources/notes/exports.js +21 -0
  153. package/dist/cjs/api/resources/notes/types/PostCrmNotesResponse.d.ts +1 -1
  154. package/dist/cjs/api/resources/payments/exports.d.ts +2 -0
  155. package/dist/cjs/api/resources/payments/exports.js +21 -0
  156. package/dist/cjs/api/resources/payments/types/CreatePaymentRequestResponse.d.ts +1 -1
  157. package/dist/cjs/api/resources/payments/types/GetPaymentRequestResponse.d.ts +3 -3
  158. package/dist/cjs/api/resources/process/client/requests/GetProcessRequest.d.ts +0 -15
  159. package/dist/cjs/api/resources/process/exports.d.ts +2 -0
  160. package/dist/cjs/api/resources/process/exports.js +21 -0
  161. package/dist/cjs/api/resources/process/types/GetProcessResponse.d.ts +16 -16
  162. package/dist/cjs/api/resources/process/types/GetProcessesResponse.d.ts +16 -16
  163. package/dist/cjs/api/resources/program/client/Client.d.ts +21 -0
  164. package/dist/cjs/api/resources/program/client/Client.js +67 -0
  165. package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.ts +13 -0
  166. package/dist/cjs/api/resources/program/client/requests/DeleteContactSubscriptionRequest.js +3 -0
  167. package/dist/cjs/api/resources/program/client/requests/index.d.ts +1 -0
  168. package/dist/cjs/api/resources/program/exports.d.ts +2 -0
  169. package/dist/cjs/api/resources/program/exports.js +21 -0
  170. package/dist/cjs/api/resources/program/types/GetLpListResponse.d.ts +1 -1
  171. package/dist/cjs/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.ts +28 -28
  172. package/dist/cjs/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.ts +5 -5
  173. package/dist/cjs/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.ts +7 -7
  174. package/dist/cjs/api/resources/reward/client/requests/RedeemVoucherRequest.d.ts +26 -26
  175. package/dist/cjs/api/resources/reward/exports.d.ts +2 -0
  176. package/dist/cjs/api/resources/reward/exports.js +21 -0
  177. package/dist/cjs/api/resources/reward/types/CreateRewardResponse.d.ts +8 -8
  178. package/dist/cjs/api/resources/reward/types/CreateVoucherResponse.d.ts +11 -11
  179. package/dist/cjs/api/resources/reward/types/GetCodeCountResponse.d.ts +1 -1
  180. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.ts +11 -11
  181. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.ts +81 -81
  182. package/dist/cjs/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.ts +15 -15
  183. package/dist/cjs/api/resources/reward/types/ValidateRewardResponse.d.ts +1 -1
  184. package/dist/cjs/api/resources/senders/client/requests/CreateSenderRequest.d.ts +1 -13
  185. package/dist/cjs/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.ts +0 -5
  186. package/dist/cjs/api/resources/senders/client/requests/GetSendersRequest.d.ts +0 -3
  187. package/dist/cjs/api/resources/senders/client/requests/UpdateSenderRequest.d.ts +1 -1
  188. package/dist/cjs/api/resources/senders/exports.d.ts +2 -0
  189. package/dist/cjs/api/resources/senders/exports.js +21 -0
  190. package/dist/cjs/api/resources/senders/types/CreateSenderResponse.d.ts +2 -2
  191. package/dist/cjs/api/resources/senders/types/GetSendersResponse.d.ts +1 -1
  192. package/dist/cjs/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.ts +1 -1
  193. package/dist/cjs/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.ts +1 -1
  194. package/dist/cjs/api/resources/smsCampaigns/exports.d.ts +2 -0
  195. package/dist/cjs/api/resources/smsCampaigns/exports.js +21 -0
  196. package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.ts +1 -1
  197. package/dist/cjs/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.ts +3 -3
  198. package/dist/cjs/api/resources/smsTemplates/exports.d.ts +2 -0
  199. package/dist/cjs/api/resources/smsTemplates/exports.js +21 -0
  200. package/dist/cjs/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.ts +17 -17
  201. package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
  202. package/dist/cjs/api/resources/tasks/exports.js +21 -0
  203. package/dist/cjs/api/resources/tasks/types/GetCrmTasksResponse.d.ts +1 -1
  204. package/dist/cjs/api/resources/tasks/types/GetCrmTasktypesResponse.d.ts +2 -2
  205. package/dist/cjs/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.ts +3 -3
  206. package/dist/cjs/api/resources/tier/client/requests/UpdateTierRequest.d.ts +3 -3
  207. package/dist/cjs/api/resources/tier/exports.d.ts +2 -0
  208. package/dist/cjs/api/resources/tier/exports.js +21 -0
  209. package/dist/cjs/api/resources/tier/types/AddSubscriptionToTierResponse.d.ts +7 -7
  210. package/dist/cjs/api/resources/tier/types/GetListOfTierGroupsResponse.d.ts +1 -1
  211. package/dist/cjs/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.ts +1 -1
  212. package/dist/cjs/api/resources/transactionalEmails/client/Client.d.ts +2 -6
  213. package/dist/cjs/api/resources/transactionalEmails/client/Client.js +2 -6
  214. package/dist/cjs/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.ts +3 -3
  215. package/dist/cjs/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.ts +0 -7
  216. package/dist/cjs/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.ts +21 -21
  217. package/dist/cjs/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.ts +3 -3
  218. package/dist/cjs/api/resources/transactionalEmails/exports.d.ts +2 -0
  219. package/dist/cjs/api/resources/transactionalEmails/exports.js +21 -0
  220. package/dist/cjs/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.ts +13 -13
  221. package/dist/cjs/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.ts +8 -8
  222. package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.ts +1 -1
  223. package/dist/cjs/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.ts +2 -2
  224. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.ts +4 -4
  225. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.ts +1 -1
  226. package/dist/cjs/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.ts +5 -5
  227. package/dist/cjs/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.ts +6 -6
  228. package/dist/cjs/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.ts +2 -2
  229. package/dist/cjs/api/resources/transactionalSms/client/Client.d.ts +5 -9
  230. package/dist/cjs/api/resources/transactionalSms/client/Client.js +5 -9
  231. package/dist/cjs/api/resources/transactionalSms/exports.d.ts +2 -0
  232. package/dist/cjs/api/resources/transactionalSms/exports.js +21 -0
  233. package/dist/cjs/api/resources/transactionalSms/types/GetSmsEventsResponse.d.ts +8 -8
  234. package/dist/cjs/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.ts +11 -11
  235. package/dist/cjs/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.ts +12 -12
  236. package/dist/cjs/api/resources/transactionalSms/types/SendTransacSmsResponse.d.ts +3 -3
  237. package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.d.ts +2 -1
  238. package/dist/cjs/api/resources/transactionalWhatsApp/client/Client.js +2 -1
  239. package/dist/cjs/api/resources/transactionalWhatsApp/exports.d.ts +2 -0
  240. package/dist/cjs/api/resources/transactionalWhatsApp/exports.js +21 -0
  241. package/dist/cjs/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.ts +4 -4
  242. package/dist/cjs/api/resources/user/exports.d.ts +2 -0
  243. package/dist/cjs/api/resources/user/exports.js +21 -0
  244. package/dist/cjs/api/resources/user/types/EditUserPermissionResponse.d.ts +2 -2
  245. package/dist/cjs/api/resources/user/types/GetInvitedUsersListResponse.d.ts +4 -4
  246. package/dist/cjs/api/resources/user/types/InviteuserResponse.d.ts +1 -1
  247. package/dist/cjs/api/resources/user/types/PutRevokeUserPermissionResponse.d.ts +1 -1
  248. package/dist/cjs/api/resources/user/types/PutresendcancelinvitationResponse.d.ts +1 -1
  249. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -13
  250. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -13
  251. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +6 -4
  252. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +1 -0
  253. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.ts +6 -4
  254. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.js +1 -0
  255. package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
  256. package/dist/cjs/api/resources/webhooks/exports.js +21 -0
  257. package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.d.ts +19 -44
  258. package/dist/cjs/api/resources/whatsAppCampaigns/client/Client.js +19 -44
  259. package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.ts +3 -3
  260. package/dist/cjs/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.ts +3 -3
  261. package/dist/cjs/api/resources/whatsAppCampaigns/exports.d.ts +2 -0
  262. package/dist/cjs/api/resources/whatsAppCampaigns/exports.js +21 -0
  263. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.ts +15 -15
  264. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.ts +6 -6
  265. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.ts +6 -6
  266. package/dist/cjs/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.ts +3 -3
  267. package/dist/cjs/api/types/BalanceDefinition.d.ts +20 -20
  268. package/dist/cjs/api/types/BalanceLimit.d.ts +8 -8
  269. package/dist/cjs/api/types/BatchEventsResponse.d.ts +26 -0
  270. package/dist/cjs/api/types/BatchEventsResponse.js +3 -0
  271. package/dist/cjs/api/types/Company.d.ts +4 -4
  272. package/dist/cjs/api/types/ContactErrorModel.d.ts +1 -1
  273. package/dist/cjs/api/types/ConversationsMessage.d.ts +53 -53
  274. package/dist/cjs/api/types/CreateUpdateFolder.d.ts +1 -1
  275. package/dist/cjs/api/types/Deal.d.ts +4 -4
  276. package/dist/cjs/api/types/ErrorModel.d.ts +1 -1
  277. package/dist/cjs/api/types/FileData.d.ts +7 -7
  278. package/dist/cjs/api/types/GetCampaignStats.d.ts +7 -7
  279. package/dist/cjs/api/types/GetCategoryDetails.d.ts +1 -1
  280. package/dist/cjs/api/types/GetContactDetails.d.ts +2 -2
  281. package/dist/cjs/api/types/GetCouponCollection.d.ts +3 -3
  282. package/dist/cjs/api/types/GetExtendedCampaignOverview.d.ts +32 -25
  283. package/dist/cjs/api/types/GetExtendedCampaignOverview.js +3 -0
  284. package/dist/cjs/api/types/GetExtendedCampaignStats.d.ts +4 -4
  285. package/dist/cjs/api/types/GetProductDetails.d.ts +10 -10
  286. package/dist/cjs/api/types/GetSmsCampaignOverview.d.ts +1 -1
  287. package/dist/cjs/api/types/GetSmtpTemplateOverview.d.ts +4 -4
  288. package/dist/cjs/api/types/GetWebhook.d.ts +4 -4
  289. package/dist/cjs/api/types/Inviteuser.d.ts +2 -2
  290. package/dist/cjs/api/types/LoyaltyProgram.d.ts +12 -12
  291. package/dist/cjs/api/types/NodeResponse.d.ts +8 -8
  292. package/dist/cjs/api/types/Note.d.ts +6 -6
  293. package/dist/cjs/api/types/NoteData.d.ts +3 -3
  294. package/dist/cjs/api/types/Order.d.ts +30 -20
  295. package/dist/cjs/api/types/Pipeline.d.ts +5 -5
  296. package/dist/cjs/api/types/PostContactInfo.d.ts +4 -4
  297. package/dist/cjs/api/types/PostSendFailed.d.ts +3 -3
  298. package/dist/cjs/api/types/Redeem.d.ts +14 -14
  299. package/dist/cjs/api/types/RuleConditionResponse.d.ts +5 -5
  300. package/dist/cjs/api/types/SendReport.d.ts +1 -1
  301. package/dist/cjs/api/types/SendTestEmail.d.ts +1 -1
  302. package/dist/cjs/api/types/SendTransacSms.d.ts +10 -6
  303. package/dist/cjs/api/types/Task.d.ts +4 -4
  304. package/dist/cjs/api/types/Tier.d.ts +16 -16
  305. package/dist/cjs/api/types/TierGroup.d.ts +8 -8
  306. package/dist/cjs/api/types/Transaction.d.ts +15 -15
  307. package/dist/cjs/api/types/UpdateCampaignStatus.d.ts +2 -1
  308. package/dist/cjs/api/types/UpdateCampaignStatus.js +1 -0
  309. package/dist/cjs/api/types/ValueResponse.d.ts +8 -8
  310. package/dist/cjs/api/types/VariablesItems.d.ts +3 -3
  311. package/dist/cjs/api/types/index.d.ts +1 -0
  312. package/dist/cjs/api/types/index.js +1 -0
  313. package/dist/cjs/core/fetcher/Fetcher.js +8 -2
  314. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
  315. package/dist/cjs/core/fetcher/makeRequest.js +30 -9
  316. package/dist/cjs/core/runtime/runtime.js +8 -7
  317. package/dist/cjs/version.d.ts +1 -1
  318. package/dist/cjs/version.js +1 -1
  319. package/dist/esm/BaseClient.mjs +2 -2
  320. package/dist/esm/api/resources/account/exports.d.mts +2 -0
  321. package/dist/esm/api/resources/account/exports.mjs +3 -0
  322. package/dist/esm/api/resources/account/types/GetAccountActivityResponse.d.mts +1 -1
  323. package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +7 -7
  324. package/dist/esm/api/resources/balance/client/Client.d.mts +2 -2
  325. package/dist/esm/api/resources/balance/client/Client.mjs +6 -6
  326. package/dist/esm/api/resources/balance/client/requests/GetLoyaltyBalanceProgramsPidTransactionHistoryRequest.d.mts +5 -5
  327. package/dist/esm/api/resources/balance/exports.d.mts +2 -0
  328. package/dist/esm/api/resources/balance/exports.mjs +3 -0
  329. package/dist/esm/api/resources/balance/types/CreateBalanceOrderResponse.d.mts +6 -6
  330. package/dist/esm/api/resources/balance/types/GetBalanceDefinitionListResponse.d.mts +1 -1
  331. package/dist/esm/api/resources/balance/types/GetContactBalancesResponse.d.mts +8 -8
  332. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryResponse.d.mts +15 -15
  333. package/dist/esm/api/resources/balance/types/GetSubscriptionBalancesResponse.d.mts +3 -3
  334. package/dist/esm/api/resources/balance/types/PostLoyaltyBalanceProgramsPidSubscriptionsCidBalancesResponse.d.mts +9 -9
  335. package/dist/esm/api/resources/balance/types/index.d.mts +0 -1
  336. package/dist/esm/api/resources/balance/types/index.mjs +0 -1
  337. package/dist/esm/api/resources/companies/client/Client.d.mts +28 -0
  338. package/dist/esm/api/resources/companies/client/Client.mjs +107 -0
  339. package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.d.mts +10 -0
  340. package/dist/esm/api/resources/companies/client/requests/DeleteCrmAttributesIdRequest.mjs +2 -0
  341. package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.d.mts +33 -0
  342. package/dist/esm/api/resources/companies/client/requests/PatchCrmAttributesIdRequest.mjs +9 -0
  343. package/dist/esm/api/resources/companies/client/requests/index.d.mts +2 -0
  344. package/dist/esm/api/resources/companies/client/requests/index.mjs +1 -0
  345. package/dist/esm/api/resources/companies/exports.d.mts +2 -0
  346. package/dist/esm/api/resources/companies/exports.mjs +3 -0
  347. package/dist/esm/api/resources/companies/types/GetCompaniesResponse.d.mts +1 -1
  348. package/dist/esm/api/resources/companies/types/GetCrmAttributesCompaniesResponseItem.d.mts +5 -5
  349. package/dist/esm/api/resources/companies/types/PostCompaniesImportResponse.d.mts +1 -1
  350. package/dist/esm/api/resources/contacts/client/Client.d.mts +15 -45
  351. package/dist/esm/api/resources/contacts/client/Client.mjs +15 -45
  352. package/dist/esm/api/resources/contacts/client/requests/AddContactToListRequest.d.mts +0 -24
  353. package/dist/esm/api/resources/contacts/client/requests/ImportContactsRequest.d.mts +4 -4
  354. package/dist/esm/api/resources/contacts/client/requests/RemoveContactFromListRequest.d.mts +0 -32
  355. package/dist/esm/api/resources/contacts/client/requests/RequestContactExportRequest.d.mts +7 -7
  356. package/dist/esm/api/resources/contacts/client/requests/UpdateBatchContactsRequest.d.mts +10 -10
  357. package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
  358. package/dist/esm/api/resources/contacts/exports.mjs +3 -0
  359. package/dist/esm/api/resources/contacts/types/CreateContactResponse.d.mts +1 -1
  360. package/dist/esm/api/resources/contacts/types/GetAttributesResponse.d.mts +4 -4
  361. package/dist/esm/api/resources/contacts/types/GetContactInfoResponse.d.mts +13 -13
  362. package/dist/esm/api/resources/contacts/types/GetContactStatsResponse.d.mts +11 -11
  363. package/dist/esm/api/resources/contacts/types/GetFolderListsResponse.d.mts +2 -2
  364. package/dist/esm/api/resources/contacts/types/GetFoldersResponse.d.mts +2 -2
  365. package/dist/esm/api/resources/contacts/types/GetListResponse.d.mts +2 -2
  366. package/dist/esm/api/resources/contacts/types/GetListsResponse.d.mts +2 -2
  367. package/dist/esm/api/resources/contacts/types/GetSegmentsResponse.d.mts +3 -3
  368. package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
  369. package/dist/esm/api/resources/conversations/exports.mjs +3 -0
  370. package/dist/esm/api/resources/conversations/types/PutConversationsVisitorGroupResponse.d.mts +2 -2
  371. package/dist/esm/api/resources/coupons/exports.d.mts +2 -0
  372. package/dist/esm/api/resources/coupons/exports.mjs +3 -0
  373. package/dist/esm/api/resources/customObjects/client/Client.d.mts +6 -14
  374. package/dist/esm/api/resources/customObjects/client/Client.mjs +6 -14
  375. package/dist/esm/api/resources/customObjects/client/requests/UpsertrecordsRequest.d.mts +6 -6
  376. package/dist/esm/api/resources/customObjects/exports.d.mts +2 -0
  377. package/dist/esm/api/resources/customObjects/exports.mjs +3 -0
  378. package/dist/esm/api/resources/customObjects/types/BatchDeleteObjectRecordsResponse.d.mts +2 -2
  379. package/dist/esm/api/resources/customObjects/types/GetrecordsResponse.d.mts +9 -9
  380. package/dist/esm/api/resources/customObjects/types/UpsertrecordsResponse.d.mts +3 -3
  381. package/dist/esm/api/resources/deals/client/Client.d.mts +2 -0
  382. package/dist/esm/api/resources/deals/client/Client.mjs +2 -0
  383. package/dist/esm/api/resources/deals/exports.d.mts +2 -0
  384. package/dist/esm/api/resources/deals/exports.mjs +3 -0
  385. package/dist/esm/api/resources/deals/types/GetCrmAttributesDealsResponseItem.d.mts +5 -5
  386. package/dist/esm/api/resources/deals/types/GetCrmDealsResponse.d.mts +1 -1
  387. package/dist/esm/api/resources/deals/types/PostCrmDealsImportResponse.d.mts +1 -1
  388. package/dist/esm/api/resources/domains/client/requests/AuthenticateDomainRequest.d.mts +0 -5
  389. package/dist/esm/api/resources/domains/client/requests/CreateDomainRequest.d.mts +0 -10
  390. package/dist/esm/api/resources/domains/client/requests/GetDomainConfigurationRequest.d.mts +0 -5
  391. package/dist/esm/api/resources/domains/exports.d.mts +2 -0
  392. package/dist/esm/api/resources/domains/exports.mjs +3 -0
  393. package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +2 -2
  394. package/dist/esm/api/resources/domains/types/GetDomainsResponse.d.mts +1 -1
  395. package/dist/esm/api/resources/ecommerce/client/Client.d.mts +2 -4
  396. package/dist/esm/api/resources/ecommerce/client/Client.mjs +2 -4
  397. package/dist/esm/api/resources/ecommerce/client/requests/CreateBatchOrderRequest.d.mts +1 -2
  398. package/dist/esm/api/resources/ecommerce/client/requests/CreateProductAlertRequest.d.mts +3 -3
  399. package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchCategoryRequest.d.mts +4 -4
  400. package/dist/esm/api/resources/ecommerce/client/requests/CreateUpdateBatchProductsRequest.d.mts +10 -10
  401. package/dist/esm/api/resources/ecommerce/exports.d.mts +2 -0
  402. package/dist/esm/api/resources/ecommerce/exports.mjs +3 -0
  403. package/dist/esm/api/resources/ecommerce/types/CreateBatchOrderResponse.d.mts +1 -1
  404. package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchCategoryResponse.d.mts +2 -2
  405. package/dist/esm/api/resources/ecommerce/types/CreateUpdateBatchProductsResponse.d.mts +2 -2
  406. package/dist/esm/api/resources/ecommerce/types/CreateUpdateCategoryResponse.d.mts +1 -1
  407. package/dist/esm/api/resources/ecommerce/types/CreateUpdateProductResponse.d.mts +1 -1
  408. package/dist/esm/api/resources/ecommerce/types/GetEcommerceAttributionProductsConversionSourceConversionSourceIdResponse.d.mts +7 -7
  409. package/dist/esm/api/resources/emailCampaigns/client/Client.d.mts +2 -5
  410. package/dist/esm/api/resources/emailCampaigns/client/Client.mjs +4 -6
  411. package/dist/esm/api/resources/emailCampaigns/client/requests/CreateEmailCampaignRequest.d.mts +9 -9
  412. package/dist/esm/api/resources/emailCampaigns/client/requests/GetEmailCampaignRequest.d.mts +2 -0
  413. package/dist/esm/api/resources/emailCampaigns/client/requests/UpdateEmailCampaignRequest.d.mts +9 -9
  414. package/dist/esm/api/resources/emailCampaigns/exports.d.mts +2 -0
  415. package/dist/esm/api/resources/emailCampaigns/exports.mjs +3 -0
  416. package/dist/esm/api/resources/emailCampaigns/types/GetAbTestCampaignResultResponse.d.mts +8 -8
  417. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.d.mts +32 -25
  418. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignResponse.mjs +3 -0
  419. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.d.mts +2 -0
  420. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsRequestStatus.mjs +2 -0
  421. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.d.mts +34 -27
  422. package/dist/esm/api/resources/emailCampaigns/types/GetEmailCampaignsResponse.mjs +3 -0
  423. package/dist/esm/api/resources/emailCampaigns/types/UploadImageToGalleryResponse.d.mts +1 -1
  424. package/dist/esm/api/resources/event/client/Client.d.mts +17 -0
  425. package/dist/esm/api/resources/event/client/Client.mjs +57 -0
  426. package/dist/esm/api/resources/event/client/requests/CreateEventRequest.d.mts +10 -10
  427. package/dist/esm/api/resources/event/exports.d.mts +2 -0
  428. package/dist/esm/api/resources/event/exports.mjs +3 -0
  429. package/dist/esm/api/resources/event/index.d.mts +1 -0
  430. package/dist/esm/api/resources/event/index.mjs +1 -0
  431. package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.d.mts +59 -0
  432. package/dist/esm/api/resources/event/types/CreateBatchEventsRequestItem.mjs +2 -0
  433. package/dist/esm/api/resources/event/types/index.d.mts +1 -0
  434. package/dist/esm/api/resources/event/types/index.mjs +1 -0
  435. package/dist/esm/api/resources/externalFeeds/client/requests/GetExternalFeedByUuidRequest.d.mts +0 -10
  436. package/dist/esm/api/resources/externalFeeds/exports.d.mts +2 -0
  437. package/dist/esm/api/resources/externalFeeds/exports.mjs +3 -0
  438. package/dist/esm/api/resources/externalFeeds/types/GetAllExternalFeedsResponse.d.mts +4 -4
  439. package/dist/esm/api/resources/externalFeeds/types/GetExternalFeedByUuidResponse.d.mts +4 -4
  440. package/dist/esm/api/resources/files/exports.d.mts +2 -0
  441. package/dist/esm/api/resources/files/exports.mjs +3 -0
  442. package/dist/esm/api/resources/files/types/GetCrmFilesIdResponse.d.mts +1 -1
  443. package/dist/esm/api/resources/inboundParsing/client/Client.d.mts +1 -0
  444. package/dist/esm/api/resources/inboundParsing/client/Client.mjs +1 -0
  445. package/dist/esm/api/resources/inboundParsing/exports.d.mts +2 -0
  446. package/dist/esm/api/resources/inboundParsing/exports.mjs +3 -0
  447. package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsByUuidResponse.d.mts +14 -14
  448. package/dist/esm/api/resources/inboundParsing/types/GetInboundEmailEventsResponse.d.mts +1 -1
  449. package/dist/esm/api/resources/index.d.mts +1 -0
  450. package/dist/esm/api/resources/index.mjs +1 -0
  451. package/dist/esm/api/resources/masterAccount/client/requests/InviteAdminUserRequest.d.mts +2 -2
  452. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountIdPlanRequest.d.mts +9 -9
  453. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateSubAccountsPlanRequest.d.mts +8 -8
  454. package/dist/esm/api/resources/masterAccount/client/requests/PutCorporateUserEmailPermissionsRequest.d.mts +2 -2
  455. package/dist/esm/api/resources/masterAccount/exports.d.mts +2 -0
  456. package/dist/esm/api/resources/masterAccount/exports.mjs +3 -0
  457. package/dist/esm/api/resources/masterAccount/types/GetCorporateGroupIdResponse.d.mts +12 -12
  458. package/dist/esm/api/resources/masterAccount/types/GetCorporateInvitedUsersListResponse.d.mts +11 -11
  459. package/dist/esm/api/resources/masterAccount/types/GetCorporateIpResponseItem.d.mts +3 -3
  460. package/dist/esm/api/resources/masterAccount/types/GetCorporateMasterAccountResponse.d.mts +31 -31
  461. package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountIdResponse.d.mts +37 -37
  462. package/dist/esm/api/resources/masterAccount/types/GetCorporateSubAccountResponse.d.mts +4 -4
  463. package/dist/esm/api/resources/masterAccount/types/GetCorporateUserPermissionResponse.d.mts +10 -10
  464. package/dist/esm/api/resources/masterAccount/types/GetSubAccountGroupsResponseItem.d.mts +2 -2
  465. package/dist/esm/api/resources/masterAccount/types/InviteAdminUserResponse.d.mts +1 -1
  466. package/dist/esm/api/resources/masterAccount/types/PostCorporateGroupResponse.d.mts +1 -1
  467. package/dist/esm/api/resources/masterAccount/types/PutCorporateUserInvitationActionEmailResponse.d.mts +1 -1
  468. package/dist/esm/api/resources/notes/exports.d.mts +2 -0
  469. package/dist/esm/api/resources/notes/exports.mjs +3 -0
  470. package/dist/esm/api/resources/notes/types/PostCrmNotesResponse.d.mts +1 -1
  471. package/dist/esm/api/resources/payments/exports.d.mts +2 -0
  472. package/dist/esm/api/resources/payments/exports.mjs +3 -0
  473. package/dist/esm/api/resources/payments/types/CreatePaymentRequestResponse.d.mts +1 -1
  474. package/dist/esm/api/resources/payments/types/GetPaymentRequestResponse.d.mts +3 -3
  475. package/dist/esm/api/resources/process/client/requests/GetProcessRequest.d.mts +0 -15
  476. package/dist/esm/api/resources/process/exports.d.mts +2 -0
  477. package/dist/esm/api/resources/process/exports.mjs +3 -0
  478. package/dist/esm/api/resources/process/types/GetProcessResponse.d.mts +16 -16
  479. package/dist/esm/api/resources/process/types/GetProcessesResponse.d.mts +16 -16
  480. package/dist/esm/api/resources/program/client/Client.d.mts +21 -0
  481. package/dist/esm/api/resources/program/client/Client.mjs +67 -0
  482. package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.d.mts +13 -0
  483. package/dist/esm/api/resources/program/client/requests/DeleteContactSubscriptionRequest.mjs +2 -0
  484. package/dist/esm/api/resources/program/client/requests/index.d.mts +1 -0
  485. package/dist/esm/api/resources/program/exports.d.mts +2 -0
  486. package/dist/esm/api/resources/program/exports.mjs +3 -0
  487. package/dist/esm/api/resources/program/types/GetLpListResponse.d.mts +1 -1
  488. package/dist/esm/api/resources/program/types/GetParameterSubscriptionInfoResponse.d.mts +28 -28
  489. package/dist/esm/api/resources/program/types/SubscribeMemberToASubscriptionResponse.d.mts +5 -5
  490. package/dist/esm/api/resources/program/types/SubscribeToLoyaltyProgramResponse.d.mts +7 -7
  491. package/dist/esm/api/resources/reward/client/requests/RedeemVoucherRequest.d.mts +26 -26
  492. package/dist/esm/api/resources/reward/exports.d.mts +2 -0
  493. package/dist/esm/api/resources/reward/exports.mjs +3 -0
  494. package/dist/esm/api/resources/reward/types/CreateRewardResponse.d.mts +8 -8
  495. package/dist/esm/api/resources/reward/types/CreateVoucherResponse.d.mts +11 -11
  496. package/dist/esm/api/resources/reward/types/GetCodeCountResponse.d.mts +1 -1
  497. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidOffersResponse.d.mts +11 -11
  498. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidRewardsRidResponse.d.mts +81 -81
  499. package/dist/esm/api/resources/reward/types/GetLoyaltyOfferProgramsPidVouchersResponse.d.mts +15 -15
  500. package/dist/esm/api/resources/reward/types/ValidateRewardResponse.d.mts +1 -1
  501. package/dist/esm/api/resources/senders/client/requests/CreateSenderRequest.d.mts +1 -13
  502. package/dist/esm/api/resources/senders/client/requests/GetIpsFromSenderRequest.d.mts +0 -5
  503. package/dist/esm/api/resources/senders/client/requests/GetSendersRequest.d.mts +0 -3
  504. package/dist/esm/api/resources/senders/client/requests/UpdateSenderRequest.d.mts +1 -1
  505. package/dist/esm/api/resources/senders/exports.d.mts +2 -0
  506. package/dist/esm/api/resources/senders/exports.mjs +3 -0
  507. package/dist/esm/api/resources/senders/types/CreateSenderResponse.d.mts +2 -2
  508. package/dist/esm/api/resources/senders/types/GetSendersResponse.d.mts +1 -1
  509. package/dist/esm/api/resources/smsCampaigns/client/requests/CreateSmsCampaignRequest.d.mts +1 -1
  510. package/dist/esm/api/resources/smsCampaigns/client/requests/UpdateSmsCampaignRequest.d.mts +1 -1
  511. package/dist/esm/api/resources/smsCampaigns/exports.d.mts +2 -0
  512. package/dist/esm/api/resources/smsCampaigns/exports.mjs +3 -0
  513. package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignResponse.d.mts +1 -1
  514. package/dist/esm/api/resources/smsCampaigns/types/GetSmsCampaignsResponse.d.mts +3 -3
  515. package/dist/esm/api/resources/smsTemplates/exports.d.mts +2 -0
  516. package/dist/esm/api/resources/smsTemplates/exports.mjs +3 -0
  517. package/dist/esm/api/resources/smsTemplates/types/GetSmsTemplatesResponse.d.mts +17 -17
  518. package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
  519. package/dist/esm/api/resources/tasks/exports.mjs +3 -0
  520. package/dist/esm/api/resources/tasks/types/GetCrmTasksResponse.d.mts +1 -1
  521. package/dist/esm/api/resources/tasks/types/GetCrmTasktypesResponse.d.mts +2 -2
  522. package/dist/esm/api/resources/tier/client/requests/CreateTierForTierGroupRequest.d.mts +3 -3
  523. package/dist/esm/api/resources/tier/client/requests/UpdateTierRequest.d.mts +3 -3
  524. package/dist/esm/api/resources/tier/exports.d.mts +2 -0
  525. package/dist/esm/api/resources/tier/exports.mjs +3 -0
  526. package/dist/esm/api/resources/tier/types/AddSubscriptionToTierResponse.d.mts +7 -7
  527. package/dist/esm/api/resources/tier/types/GetListOfTierGroupsResponse.d.mts +1 -1
  528. package/dist/esm/api/resources/tier/types/GetLoyaltyProgramTierResponse.d.mts +1 -1
  529. package/dist/esm/api/resources/transactionalEmails/client/Client.d.mts +2 -6
  530. package/dist/esm/api/resources/transactionalEmails/client/Client.mjs +2 -6
  531. package/dist/esm/api/resources/transactionalEmails/client/requests/CreateSmtpTemplateRequest.d.mts +3 -3
  532. package/dist/esm/api/resources/transactionalEmails/client/requests/GetScheduledEmailByIdRequest.d.mts +0 -7
  533. package/dist/esm/api/resources/transactionalEmails/client/requests/SendTransacEmailRequest.d.mts +21 -21
  534. package/dist/esm/api/resources/transactionalEmails/client/requests/UpdateSmtpTemplateRequest.d.mts +3 -3
  535. package/dist/esm/api/resources/transactionalEmails/exports.d.mts +2 -0
  536. package/dist/esm/api/resources/transactionalEmails/exports.mjs +3 -0
  537. package/dist/esm/api/resources/transactionalEmails/types/GetAggregatedSmtpReportResponse.d.mts +13 -13
  538. package/dist/esm/api/resources/transactionalEmails/types/GetEmailEventReportResponse.d.mts +8 -8
  539. package/dist/esm/api/resources/transactionalEmails/types/GetSmtpReportResponse.d.mts +1 -1
  540. package/dist/esm/api/resources/transactionalEmails/types/GetSmtpTemplatesResponse.d.mts +2 -2
  541. package/dist/esm/api/resources/transactionalEmails/types/GetTransacBlockedContactsResponse.d.mts +4 -4
  542. package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailContentResponse.d.mts +1 -1
  543. package/dist/esm/api/resources/transactionalEmails/types/GetTransacEmailsListResponse.d.mts +5 -5
  544. package/dist/esm/api/resources/transactionalEmails/types/PostPreviewSmtpEmailTemplatesResponse.d.mts +6 -6
  545. package/dist/esm/api/resources/transactionalEmails/types/SendTransacEmailResponse.d.mts +2 -2
  546. package/dist/esm/api/resources/transactionalSms/client/Client.d.mts +5 -9
  547. package/dist/esm/api/resources/transactionalSms/client/Client.mjs +5 -9
  548. package/dist/esm/api/resources/transactionalSms/exports.d.mts +2 -0
  549. package/dist/esm/api/resources/transactionalSms/exports.mjs +3 -0
  550. package/dist/esm/api/resources/transactionalSms/types/GetSmsEventsResponse.d.mts +8 -8
  551. package/dist/esm/api/resources/transactionalSms/types/GetTransacAggregatedSmsReportResponse.d.mts +11 -11
  552. package/dist/esm/api/resources/transactionalSms/types/GetTransacSmsReportResponse.d.mts +12 -12
  553. package/dist/esm/api/resources/transactionalSms/types/SendTransacSmsResponse.d.mts +3 -3
  554. package/dist/esm/api/resources/transactionalWhatsApp/client/Client.d.mts +2 -1
  555. package/dist/esm/api/resources/transactionalWhatsApp/client/Client.mjs +2 -1
  556. package/dist/esm/api/resources/transactionalWhatsApp/exports.d.mts +2 -0
  557. package/dist/esm/api/resources/transactionalWhatsApp/exports.mjs +3 -0
  558. package/dist/esm/api/resources/transactionalWhatsApp/types/GetWhatsappEventReportResponse.d.mts +4 -4
  559. package/dist/esm/api/resources/user/exports.d.mts +2 -0
  560. package/dist/esm/api/resources/user/exports.mjs +3 -0
  561. package/dist/esm/api/resources/user/types/EditUserPermissionResponse.d.mts +2 -2
  562. package/dist/esm/api/resources/user/types/GetInvitedUsersListResponse.d.mts +4 -4
  563. package/dist/esm/api/resources/user/types/InviteuserResponse.d.mts +1 -1
  564. package/dist/esm/api/resources/user/types/PutRevokeUserPermissionResponse.d.mts +1 -1
  565. package/dist/esm/api/resources/user/types/PutresendcancelinvitationResponse.d.mts +1 -1
  566. package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -13
  567. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -13
  568. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +6 -4
  569. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +1 -0
  570. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.mts +6 -4
  571. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.mjs +1 -0
  572. package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
  573. package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
  574. package/dist/esm/api/resources/whatsAppCampaigns/client/Client.d.mts +19 -44
  575. package/dist/esm/api/resources/whatsAppCampaigns/client/Client.mjs +19 -44
  576. package/dist/esm/api/resources/whatsAppCampaigns/client/requests/CreateWhatsAppCampaignRequest.d.mts +3 -3
  577. package/dist/esm/api/resources/whatsAppCampaigns/client/requests/UpdateWhatsAppCampaignRequest.d.mts +3 -3
  578. package/dist/esm/api/resources/whatsAppCampaigns/exports.d.mts +2 -0
  579. package/dist/esm/api/resources/whatsAppCampaigns/exports.mjs +3 -0
  580. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignResponse.d.mts +15 -15
  581. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppCampaignsResponse.d.mts +6 -6
  582. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppConfigResponse.d.mts +6 -6
  583. package/dist/esm/api/resources/whatsAppCampaigns/types/GetWhatsAppTemplatesResponse.d.mts +3 -3
  584. package/dist/esm/api/types/BalanceDefinition.d.mts +20 -20
  585. package/dist/esm/api/types/BalanceLimit.d.mts +8 -8
  586. package/dist/esm/api/types/BatchEventsResponse.d.mts +26 -0
  587. package/dist/esm/api/types/BatchEventsResponse.mjs +2 -0
  588. package/dist/esm/api/types/Company.d.mts +4 -4
  589. package/dist/esm/api/types/ContactErrorModel.d.mts +1 -1
  590. package/dist/esm/api/types/ConversationsMessage.d.mts +53 -53
  591. package/dist/esm/api/types/CreateUpdateFolder.d.mts +1 -1
  592. package/dist/esm/api/types/Deal.d.mts +4 -4
  593. package/dist/esm/api/types/ErrorModel.d.mts +1 -1
  594. package/dist/esm/api/types/FileData.d.mts +7 -7
  595. package/dist/esm/api/types/GetCampaignStats.d.mts +7 -7
  596. package/dist/esm/api/types/GetCategoryDetails.d.mts +1 -1
  597. package/dist/esm/api/types/GetContactDetails.d.mts +2 -2
  598. package/dist/esm/api/types/GetCouponCollection.d.mts +3 -3
  599. package/dist/esm/api/types/GetExtendedCampaignOverview.d.mts +32 -25
  600. package/dist/esm/api/types/GetExtendedCampaignOverview.mjs +3 -0
  601. package/dist/esm/api/types/GetExtendedCampaignStats.d.mts +4 -4
  602. package/dist/esm/api/types/GetProductDetails.d.mts +10 -10
  603. package/dist/esm/api/types/GetSmsCampaignOverview.d.mts +1 -1
  604. package/dist/esm/api/types/GetSmtpTemplateOverview.d.mts +4 -4
  605. package/dist/esm/api/types/GetWebhook.d.mts +4 -4
  606. package/dist/esm/api/types/Inviteuser.d.mts +2 -2
  607. package/dist/esm/api/types/LoyaltyProgram.d.mts +12 -12
  608. package/dist/esm/api/types/NodeResponse.d.mts +8 -8
  609. package/dist/esm/api/types/Note.d.mts +6 -6
  610. package/dist/esm/api/types/NoteData.d.mts +3 -3
  611. package/dist/esm/api/types/Order.d.mts +30 -20
  612. package/dist/esm/api/types/Pipeline.d.mts +5 -5
  613. package/dist/esm/api/types/PostContactInfo.d.mts +4 -4
  614. package/dist/esm/api/types/PostSendFailed.d.mts +3 -3
  615. package/dist/esm/api/types/Redeem.d.mts +14 -14
  616. package/dist/esm/api/types/RuleConditionResponse.d.mts +5 -5
  617. package/dist/esm/api/types/SendReport.d.mts +1 -1
  618. package/dist/esm/api/types/SendTestEmail.d.mts +1 -1
  619. package/dist/esm/api/types/SendTransacSms.d.mts +10 -6
  620. package/dist/esm/api/types/Task.d.mts +4 -4
  621. package/dist/esm/api/types/Tier.d.mts +16 -16
  622. package/dist/esm/api/types/TierGroup.d.mts +8 -8
  623. package/dist/esm/api/types/Transaction.d.mts +15 -15
  624. package/dist/esm/api/types/UpdateCampaignStatus.d.mts +2 -1
  625. package/dist/esm/api/types/UpdateCampaignStatus.mjs +1 -0
  626. package/dist/esm/api/types/ValueResponse.d.mts +8 -8
  627. package/dist/esm/api/types/VariablesItems.d.mts +3 -3
  628. package/dist/esm/api/types/index.d.mts +1 -0
  629. package/dist/esm/api/types/index.mjs +1 -0
  630. package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
  631. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
  632. package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
  633. package/dist/esm/core/runtime/runtime.mjs +8 -7
  634. package/dist/esm/version.d.mts +1 -1
  635. package/dist/esm/version.mjs +1 -1
  636. package/package.json +356 -4
  637. package/reference.md +295 -155
  638. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.ts +0 -6
  639. package/dist/cjs/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.js +0 -9
  640. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.d.mts +0 -6
  641. package/dist/esm/api/resources/balance/types/GetLoyaltyBalanceProgramsPidTransactionHistoryRequestSortField.mjs +0 -6
@@ -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</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
@@ -67,14 +67,6 @@ class ContactsClient {
67
67
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
70
- * <Note title="Follow this format when passing a SMS phone number as an attribute">
71
- * Accepted Number Formats
72
- *
73
- * 91xxxxxxxxxx
74
- * +91xxxxxxxxxx
75
- * 0091xxxxxxxxxx
76
- * </Note>
77
- *
78
70
  * @param {Brevo.GetContactsRequest} request
79
71
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
80
72
  *
@@ -135,6 +127,8 @@ class ContactsClient {
135
127
  });
136
128
  }
137
129
  /**
130
+ * <Note>Follow this format when passing a "SMS" phone number as an attribute.
131
+ * Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
138
132
  * 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>
139
133
  *
140
134
  * @param {Brevo.CreateContactRequest} request
@@ -492,9 +486,7 @@ class ContactsClient {
492
486
  });
493
487
  }
494
488
  /**
495
- * <Note title="How to use attributes param?">
496
- * 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.
497
- * </Note>
489
+ * <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>
498
490
  *
499
491
  * @param {Brevo.CreateDoiContactRequest} request
500
492
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -606,17 +598,11 @@ class ContactsClient {
606
598
  });
607
599
  }
608
600
  /**
609
- * <Note>
610
- * Ongoing changes for this endpoint
611
- *
601
+ * <Note>Ongoing changes for this endpoint
612
602
  * We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
613
- *
614
603
  * These are non breaking changes.
615
- *
616
604
  * The default value for the attributes will be 0.
617
- *
618
- * The uniqueSubscribers field is deprecated
619
- * </Note>
605
+ * The uniqueSubscribers field is deprecated</Note>
620
606
  *
621
607
  * @param {Brevo.GetFoldersRequest} request
622
608
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -719,13 +705,9 @@ class ContactsClient {
719
705
  });
720
706
  }
721
707
  /**
722
- * <Note>
723
- * Ongoing changes for this endpoint.
724
- *
708
+ * <Note>Ongoing changes for this endpoint.
725
709
  * We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
726
- *
727
- * These are non breaking changes. The default value for the attributes will be 0.
728
- * </Note>
710
+ * These are non breaking changes. The default value for the attributes will be 0.</Note>
729
711
  *
730
712
  * @param {Brevo.GetFolderRequest} request
731
713
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -887,13 +869,9 @@ class ContactsClient {
887
869
  });
888
870
  }
889
871
  /**
890
- * <Note>
891
- * Ongoing changes for this endpoint.
892
- *
872
+ * <Note>Ongoing changes for this endpoint.
893
873
  * We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
894
- *
895
- * These are non breaking changes. The default value for the attributes will be 0.
896
- * </Note>
874
+ * These are non breaking changes. The default value for the attributes will be 0.</Note>
897
875
  *
898
876
  * @param {Brevo.GetFolderListsRequest} request
899
877
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1003,13 +981,9 @@ class ContactsClient {
1003
981
  });
1004
982
  }
1005
983
  /**
1006
- * <Note>
1007
- * Ongoing changes for this endpoint.
1008
- *
984
+ * <Note>Ongoing changes for this endpoint.
1009
985
  * We're dropping support for the response attributes totalSubscribers and totalBlacklisted.
1010
- *
1011
- * These are non breaking changes. The default value for the attributes will be 0.
1012
- * </Note>
986
+ * These are non breaking changes. The default value for the attributes will be 0.</Note>
1013
987
  *
1014
988
  * @param {Brevo.GetListsRequest} request
1015
989
  * @param {ContactsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1544,14 +1518,8 @@ class ContactsClient {
1544
1518
  });
1545
1519
  }
1546
1520
  /**
1547
- * <Note title="Follow this format when passing a SMS phone number as an attribute">
1548
- * Accepted Number Formats
1549
- *
1550
- * 91xxxxxxxxxx
1551
- * +91xxxxxxxxxx
1552
- * 0091xxxxxxxxxx
1553
- * </Note>
1554
- *
1521
+ * <Note>Follow this format when passing a "SMS" phone number as an attribute.
1522
+ * Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
1555
1523
  * 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.
1556
1524
  *
1557
1525
  * @param {Brevo.GetContactInfoRequest} request
@@ -1611,6 +1579,8 @@ class ContactsClient {
1611
1579
  });
1612
1580
  }
1613
1581
  /**
1582
+ * <Note>Follow this format when passing a "SMS" phone number as an attribute.
1583
+ * Accepted Number Formats 91xxxxxxxxxx +91xxxxxxxxxx 0091xxxxxxxxxx</Note>
1614
1584
  * 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
1615
1585
  *
1616
1586
  * @param {Brevo.UpdateContactRequest} request
@@ -23,30 +23,6 @@ import type * as Brevo from "../../../../index.js";
23
23
  * ids: [1, 2]
24
24
  * }
25
25
  * }
26
- *
27
- * @example
28
- * {
29
- * listId: 1000000,
30
- * body: {
31
- * emails: ["jeff32@example.com", "jim56@example.com"]
32
- * }
33
- * }
34
- *
35
- * @example
36
- * {
37
- * listId: 1000000,
38
- * body: {
39
- * emails: ["jeff32@example.com", "jim56@example.com"]
40
- * }
41
- * }
42
- *
43
- * @example
44
- * {
45
- * listId: 1000000,
46
- * body: {
47
- * emails: ["jeff32@example.com", "jim56@example.com"]
48
- * }
49
- * }
50
26
  */
51
27
  export interface AddContactToListRequest {
52
28
  /** Id of the list */
@@ -31,8 +31,8 @@ export declare namespace ImportContactsRequest {
31
31
  namespace JsonBody {
32
32
  interface Item {
33
33
  /** List of attributes to be imported */
34
- attributes?: Record<string, unknown>;
35
- email?: string;
34
+ attributes?: Record<string, unknown> | undefined;
35
+ email?: string | undefined;
36
36
  }
37
37
  }
38
38
  /**
@@ -40,8 +40,8 @@ export declare namespace ImportContactsRequest {
40
40
  */
41
41
  interface NewList {
42
42
  /** Id of the folder where this new list shall be created. **Mandatory if listName is not empty** */
43
- folderId?: number;
43
+ folderId?: number | undefined;
44
44
  /** List with listName will be created first and users will be imported in it. **Mandatory if listIds is empty**. */
45
- listName?: string;
45
+ listName?: string | undefined;
46
46
  }
47
47
  }
@@ -31,38 +31,6 @@ import type * as Brevo from "../../../../index.js";
31
31
  * ids: [1, 2]
32
32
  * }
33
33
  * }
34
- *
35
- * @example
36
- * {
37
- * listId: 1000000,
38
- * body: {
39
- * all: true
40
- * }
41
- * }
42
- *
43
- * @example
44
- * {
45
- * listId: 1000000,
46
- * body: {
47
- * all: true
48
- * }
49
- * }
50
- *
51
- * @example
52
- * {
53
- * listId: 1000000,
54
- * body: {
55
- * all: true
56
- * }
57
- * }
58
- *
59
- * @example
60
- * {
61
- * listId: 1000000,
62
- * body: {
63
- * all: true
64
- * }
65
- * }
66
34
  */
67
35
  export interface RemoveContactFromListRequest {
68
36
  /** Id of the list */
@@ -28,19 +28,19 @@ export declare namespace RequestContactExportRequest {
28
28
  */
29
29
  interface CustomContactFilter {
30
30
  /** **Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on contacts as per the list id. * **allContacts** - Fetch the list of all contacts for a particular list. * **subscribed & unsubscribed** - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * **unsubscribedPerList** - Fetch the list of contacts that are unsubscribed from a particular list only. */
31
- actionForContacts?: CustomContactFilter.ActionForContacts;
31
+ actionForContacts?: CustomContactFilter.ActionForContacts | undefined;
32
32
  /** **Mandatory if neither actionForContacts nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on email campaigns. * **openers & nonOpeners** - emailCampaignId is mandatory. Fetch the list of readers / non-readers for a particular email campaign. * **clickers & nonClickers** - emailCampaignId is mandatory. Fetch the list of clickers / non-clickers for a particular email campaign. * **unsubscribed** - emailCampaignId is mandatory. Fetch the list of all unsubscribed (blacklisted via any means) contacts for a particular email campaign. * **hardBounces & softBounces** - emailCampaignId is optional. Fetch the list of hard bounces / soft bounces for a particular / all email campaign(s). */
33
- actionForEmailCampaigns?: CustomContactFilter.ActionForEmailCampaigns;
33
+ actionForEmailCampaigns?: CustomContactFilter.ActionForEmailCampaigns | undefined;
34
34
  /** **Mandatory if neither actionForContacts nor actionForEmailCampaigns is passed.** This will export the contacts on the basis of provided action applied on sms campaigns. * **unsubscribed** - Fetch the list of all unsubscribed (blacklisted via any means) contacts for all / particular sms campaigns. * **hardBounces & softBounces** - Fetch the list of hard bounces / soft bounces for all / particular sms campaigns. */
35
- actionForSmsCampaigns?: CustomContactFilter.ActionForSmsCampaigns;
35
+ actionForSmsCampaigns?: CustomContactFilter.ActionForSmsCampaigns | undefined;
36
36
  /** Considered only if **actionForEmailCampaigns** is passed, ignored otherwise. **Mandatory if action is one of the following - openers, nonOpeners, clickers, nonClickers, unsubscribed.** The id of the email campaign for which the corresponding action shall be applied in the filter. */
37
- emailCampaignId?: number;
37
+ emailCampaignId?: number | undefined;
38
38
  /** ID of the list. This is mandatory if actionForContacts is specified and segmentId is not provided. Either segmentId or listId must be included. */
39
- listId?: number;
39
+ listId?: number | undefined;
40
40
  /** ID of the segment. This is mandatory if actionForContacts is specified and listId is not provided. Either segmentId or listId must be included. */
41
- segmentId?: number;
41
+ segmentId?: number | undefined;
42
42
  /** Considered only if **actionForSmsCampaigns** is passed, ignored otherwise. The id of sms campaign for which the corresponding action shall be applied in the filter. */
43
- smsCampaignId?: number;
43
+ smsCampaignId?: number | undefined;
44
44
  }
45
45
  namespace CustomContactFilter {
46
46
  /** **Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed.** This will export the contacts on the basis of provided action applied on contacts as per the list id. * **allContacts** - Fetch the list of all contacts for a particular list. * **subscribed & unsubscribed** - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * **unsubscribedPerList** - Fetch the list of contacts that are unsubscribed from a particular list only. */
@@ -11,25 +11,25 @@ export declare namespace UpdateBatchContactsRequest {
11
11
  namespace Contacts {
12
12
  interface Item {
13
13
  /** Pass the set of attributes to be updated. **These attributes must be present in your account**. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, **{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}**. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in **SMS** field should be passed with proper country code. For example: **{"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}** */
14
- attributes?: Record<string, unknown>;
14
+ attributes?: Record<string, unknown> | undefined;
15
15
  /** Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
16
- email?: string;
16
+ email?: string | undefined;
17
17
  /** Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) */
18
- emailBlacklisted?: boolean;
18
+ emailBlacklisted?: boolean | undefined;
19
19
  /** Pass your own Id to update ext_id of a contact. */
20
- ext_id?: string;
20
+ ext_id?: string | undefined;
21
21
  /** id of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
22
- id?: number;
22
+ id?: number | undefined;
23
23
  /** Ids of the lists to add the contact to */
24
- listIds?: number[];
24
+ listIds?: number[] | undefined;
25
25
  /** SMS of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */
26
- sms?: string;
26
+ sms?: string | undefined;
27
27
  /** Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) */
28
- smsBlacklisted?: boolean;
28
+ smsBlacklisted?: boolean | undefined;
29
29
  /** transactional email forbidden sender for contact. Use only for email Contact */
30
- smtpBlacklistSender?: string[];
30
+ smtpBlacklistSender?: string[] | undefined;
31
31
  /** Ids of the lists to remove the contact from */
32
- unlinkListIds?: number[];
32
+ unlinkListIds?: number[] | undefined;
33
33
  }
34
34
  }
35
35
  }
@@ -0,0 +1,2 @@
1
+ export { ContactsClient } 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.ContactsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "ContactsClient", { enumerable: true, get: function () { return Client_js_1.ContactsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -1,4 +1,4 @@
1
1
  export interface CreateContactResponse {
2
2
  /** ID of the contact when a new contact is created */
3
- id?: number;
3
+ id?: number | undefined;
4
4
  }
@@ -7,17 +7,17 @@ export declare namespace GetAttributesResponse {
7
7
  namespace Attributes {
8
8
  interface Item {
9
9
  /** Calculated value formula */
10
- calculatedValue?: string;
10
+ calculatedValue?: string | undefined;
11
11
  /** Category of the attribute */
12
12
  category: Item.Category;
13
13
  /** Parameter only available for "category" type attributes. */
14
- enumeration?: Item.Enumeration.Item[];
14
+ enumeration?: Item.Enumeration.Item[] | undefined;
15
15
  /** Parameter only available for "multiple-choice" type attributes. */
16
- multiCategoryOptions?: string[];
16
+ multiCategoryOptions?: string[] | undefined;
17
17
  /** Name of the attribute */
18
18
  name: string;
19
19
  /** Type of the attribute */
20
- type?: Item.Type;
20
+ type?: Item.Type | undefined;
21
21
  }
22
22
  namespace Item {
23
23
  /** Category of the attribute */
@@ -4,13 +4,13 @@ export interface GetContactInfoResponse {
4
4
  /** Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) */
5
5
  createdAt: string;
6
6
  /** Email address of the contact for which you requested the details */
7
- email?: string;
7
+ email?: string | undefined;
8
8
  /** Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) */
9
9
  emailBlacklisted: boolean;
10
10
  /** ID of the contact for which you requested the details */
11
11
  id: number;
12
12
  listIds: number[];
13
- listUnsubscribed?: number[];
13
+ listUnsubscribed?: number[] | undefined;
14
14
  /** Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) */
15
15
  modifiedAt: string;
16
16
  /** Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) */
@@ -28,23 +28,23 @@ export declare namespace GetContactInfoResponse {
28
28
  */
29
29
  interface Statistics {
30
30
  /** Listing of the clicks generated by the contact */
31
- clicked?: Statistics.Clicked.Item[];
31
+ clicked?: Statistics.Clicked.Item[] | undefined;
32
32
  /** Listing of the complaints generated by the contact */
33
- complaints?: Statistics.Complaints.Item[];
33
+ complaints?: Statistics.Complaints.Item[] | undefined;
34
34
  /** Listing of the delivered campaign for the contact */
35
- delivered?: Statistics.Delivered.Item[];
35
+ delivered?: Statistics.Delivered.Item[] | undefined;
36
36
  /** Listing of the hardbounes generated by the contact */
37
- hardBounces?: Statistics.HardBounces.Item[];
37
+ hardBounces?: Statistics.HardBounces.Item[] | undefined;
38
38
  /** Listing of the sent campaign for the contact */
39
- messagesSent?: Statistics.MessagesSent.Item[];
39
+ messagesSent?: Statistics.MessagesSent.Item[] | undefined;
40
40
  /** Listing of the openings generated by the contact */
41
- opened?: Statistics.Opened.Item[];
41
+ opened?: Statistics.Opened.Item[] | undefined;
42
42
  /** Listing of the softbounes generated by the contact */
43
- softBounces?: Statistics.SoftBounces.Item[];
43
+ softBounces?: Statistics.SoftBounces.Item[] | undefined;
44
44
  /** Listing of the transactional attributes for the contact */
45
- transacAttributes?: Statistics.TransacAttributes.Item[];
45
+ transacAttributes?: Statistics.TransacAttributes.Item[] | undefined;
46
46
  /** Listing of the unsubscription for the contact */
47
- unsubscriptions?: Statistics.Unsubscriptions;
47
+ unsubscriptions?: Statistics.Unsubscriptions | undefined;
48
48
  }
49
49
  namespace Statistics {
50
50
  type Clicked = Clicked.Item[];
@@ -149,7 +149,7 @@ export declare namespace GetContactInfoResponse {
149
149
  /** UTC date-time of the event */
150
150
  eventTime: string;
151
151
  /** IP from which the user has been unsubscribed */
152
- ip?: string;
152
+ ip?: string | undefined;
153
153
  }
154
154
  }
155
155
  type UserUnsubscription = UserUnsubscription.Item[];
@@ -160,7 +160,7 @@ export declare namespace GetContactInfoResponse {
160
160
  /** UTC date-time of the event */
161
161
  eventTime: string;
162
162
  /** IP from which the user has unsubscribed */
163
- ip?: string;
163
+ ip?: string | undefined;
164
164
  }
165
165
  }
166
166
  }