intercom-client 7.0.3 → 7.1.0

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 (1663) hide show
  1. package/README.md +83 -22
  2. package/dist/cjs/BaseClient.d.ts +23 -8
  3. package/dist/cjs/BaseClient.js +43 -4
  4. package/dist/cjs/Client.d.ts +13 -2
  5. package/dist/cjs/Client.js +67 -0
  6. package/dist/cjs/api/errors/BadRequestError.js +5 -1
  7. package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -0
  8. package/dist/cjs/api/errors/ForbiddenError.js +5 -1
  9. package/dist/cjs/api/errors/NotFoundError.js +5 -1
  10. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +1 -0
  11. package/dist/cjs/api/errors/TooManyRequestsError.js +5 -1
  12. package/dist/cjs/api/errors/UnauthorizedError.d.ts +1 -0
  13. package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
  14. package/dist/cjs/api/errors/UnprocessableEntityError.js +5 -1
  15. package/dist/cjs/api/index.d.ts +1 -0
  16. package/dist/cjs/api/index.js +1 -0
  17. package/dist/cjs/api/resources/admins/client/Client.d.ts +12 -2
  18. package/dist/cjs/api/resources/admins/client/Client.js +28 -13
  19. package/dist/cjs/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +0 -7
  20. package/dist/cjs/api/resources/admins/exports.d.ts +2 -0
  21. package/dist/cjs/api/resources/admins/exports.js +21 -0
  22. package/dist/cjs/api/resources/admins/types/Admin.d.ts +5 -5
  23. package/dist/cjs/api/resources/aiAgent/exports.d.ts +1 -0
  24. package/dist/cjs/api/resources/aiAgent/exports.js +18 -0
  25. package/dist/cjs/api/resources/aiAgent/types/AiAgent.d.ts +9 -9
  26. package/dist/cjs/api/resources/aiContent/client/Client.d.ts +21 -2
  27. package/dist/cjs/api/resources/aiContent/client/Client.js +41 -20
  28. package/dist/cjs/api/resources/aiContent/client/requests/index.d.ts +2 -2
  29. package/dist/cjs/api/resources/aiContent/client/requests/index.js +5 -0
  30. package/dist/cjs/api/resources/aiContent/exports.d.ts +2 -0
  31. package/dist/cjs/api/resources/aiContent/exports.js +21 -0
  32. package/dist/cjs/api/resources/aiContent/types/ContentImportSourcesList.d.ts +4 -4
  33. package/dist/cjs/api/resources/aiContent/types/ExternalPage.d.ts +2 -2
  34. package/dist/cjs/api/resources/aiContent/types/ExternalPagesList.d.ts +4 -4
  35. package/dist/cjs/api/resources/aiContentSource/exports.d.ts +1 -0
  36. package/dist/cjs/api/resources/aiContentSource/exports.js +18 -0
  37. package/dist/cjs/api/resources/aiContentSource/types/ContentSource.d.ts +4 -4
  38. package/dist/cjs/api/resources/articles/client/Client.d.ts +13 -2
  39. package/dist/cjs/api/resources/articles/client/Client.js +49 -33
  40. package/dist/cjs/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +0 -7
  41. package/dist/cjs/api/resources/articles/client/requests/index.d.ts +1 -1
  42. package/dist/cjs/api/resources/articles/client/requests/index.js +3 -0
  43. package/dist/cjs/api/resources/articles/exports.d.ts +2 -0
  44. package/dist/cjs/api/resources/articles/exports.js +21 -0
  45. package/dist/cjs/api/resources/articles/types/Article.d.ts +1 -1
  46. package/dist/cjs/api/resources/articles/types/ArticleListItem.d.ts +9 -9
  47. package/dist/cjs/api/resources/articles/types/ArticleSearchHighlights.d.ts +7 -7
  48. package/dist/cjs/api/resources/articles/types/ArticleSearchResponse.d.ts +6 -6
  49. package/dist/cjs/api/resources/awayStatusReasons/client/Client.d.ts +3 -2
  50. package/dist/cjs/api/resources/awayStatusReasons/client/Client.js +3 -1
  51. package/dist/cjs/api/resources/awayStatusReasons/exports.d.ts +2 -0
  52. package/dist/cjs/api/resources/awayStatusReasons/exports.js +21 -0
  53. package/dist/cjs/api/resources/calls/client/Client.d.ts +11 -2
  54. package/dist/cjs/api/resources/calls/client/Client.js +28 -16
  55. package/dist/cjs/api/resources/calls/exports.d.ts +2 -0
  56. package/dist/cjs/api/resources/calls/exports.js +21 -0
  57. package/dist/cjs/api/resources/calls/types/Call.d.ts +19 -19
  58. package/dist/cjs/api/resources/calls/types/ListCallsWithTranscriptsResponse.d.ts +4 -4
  59. package/dist/cjs/api/resources/companies/client/Client.d.ts +23 -2
  60. package/dist/cjs/api/resources/companies/client/Client.js +79 -56
  61. package/dist/cjs/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +0 -1
  62. package/dist/cjs/api/resources/companies/exports.d.ts +2 -0
  63. package/dist/cjs/api/resources/companies/exports.js +21 -0
  64. package/dist/cjs/api/resources/companies/types/Company.d.ts +17 -17
  65. package/dist/cjs/api/resources/contacts/client/Client.d.ts +38 -2
  66. package/dist/cjs/api/resources/contacts/client/Client.js +97 -54
  67. package/dist/cjs/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +0 -7
  68. package/dist/cjs/api/resources/contacts/exports.d.ts +2 -0
  69. package/dist/cjs/api/resources/contacts/exports.js +21 -0
  70. package/dist/cjs/api/resources/contacts/types/Contact.d.ts +36 -36
  71. package/dist/cjs/api/resources/contacts/types/ContactsCreateResponse.d.ts +1 -1
  72. package/dist/cjs/api/resources/contacts/types/ContactsFindResponse.d.ts +1 -1
  73. package/dist/cjs/api/resources/contacts/types/ContactsMergeLeadInUserResponse.d.ts +1 -1
  74. package/dist/cjs/api/resources/contacts/types/ContactsUpdateResponse.d.ts +1 -1
  75. package/dist/cjs/api/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +1 -1
  76. package/dist/cjs/api/resources/conversations/client/Client.d.ts +28 -2
  77. package/dist/cjs/api/resources/conversations/client/Client.js +82 -49
  78. package/dist/cjs/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -21
  79. package/dist/cjs/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +0 -10
  80. package/dist/cjs/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +0 -33
  81. package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -12
  82. package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +1 -1
  83. package/dist/cjs/api/resources/conversations/client/requests/index.js +3 -0
  84. package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
  85. package/dist/cjs/api/resources/conversations/exports.js +21 -0
  86. package/dist/cjs/api/resources/conversations/types/Conversation.d.ts +17 -17
  87. package/dist/cjs/api/resources/customChannelEvents/client/Client.d.ts +9 -2
  88. package/dist/cjs/api/resources/customChannelEvents/client/Client.js +17 -8
  89. package/dist/cjs/api/resources/customChannelEvents/exports.d.ts +2 -0
  90. package/dist/cjs/api/resources/customChannelEvents/exports.js +21 -0
  91. package/dist/cjs/api/resources/customObjectInstances/client/Client.d.ts +11 -2
  92. package/dist/cjs/api/resources/customObjectInstances/client/Client.js +36 -15
  93. package/dist/cjs/api/resources/customObjectInstances/exports.d.ts +2 -0
  94. package/dist/cjs/api/resources/customObjectInstances/exports.js +21 -0
  95. package/dist/cjs/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +8 -8
  96. package/dist/cjs/api/resources/dataAttributes/client/Client.d.ts +7 -2
  97. package/dist/cjs/api/resources/dataAttributes/client/Client.js +21 -13
  98. package/dist/cjs/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -12
  99. package/dist/cjs/api/resources/dataAttributes/exports.d.ts +2 -0
  100. package/dist/cjs/api/resources/dataAttributes/exports.js +21 -0
  101. package/dist/cjs/api/resources/dataAttributes/types/DataAttribute.d.ts +12 -12
  102. package/dist/cjs/api/resources/dataEvents/exports.d.ts +1 -0
  103. package/dist/cjs/api/resources/dataEvents/exports.js +18 -0
  104. package/dist/cjs/api/resources/dataEvents/types/DataEvent.d.ts +5 -5
  105. package/dist/cjs/api/resources/dataExport/client/Client.d.ts +17 -2
  106. package/dist/cjs/api/resources/dataExport/client/Client.js +44 -17
  107. package/dist/cjs/api/resources/dataExport/client/requests/ExportReportingDataRequest.d.ts +0 -7
  108. package/dist/cjs/api/resources/dataExport/exports.d.ts +2 -0
  109. package/dist/cjs/api/resources/dataExport/exports.js +21 -0
  110. package/dist/cjs/api/resources/dataExport/types/DataExport.d.ts +4 -4
  111. package/dist/cjs/api/resources/dataExport/types/DataExportExportReportingDataResponse.d.ts +4 -4
  112. package/dist/cjs/api/resources/events/client/Client.d.ts +7 -2
  113. package/dist/cjs/api/resources/events/client/Client.js +24 -22
  114. package/dist/cjs/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +4 -4
  115. package/dist/cjs/api/resources/events/exports.d.ts +2 -0
  116. package/dist/cjs/api/resources/events/exports.js +21 -0
  117. package/dist/cjs/api/resources/export/client/Client.d.ts +6 -2
  118. package/dist/cjs/api/resources/export/client/Client.js +9 -3
  119. package/dist/cjs/api/resources/export/exports.d.ts +2 -0
  120. package/dist/cjs/api/resources/export/exports.js +21 -0
  121. package/dist/cjs/api/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +9 -9
  122. package/dist/cjs/api/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +4 -4
  123. package/dist/cjs/api/resources/helpCenter/exports.d.ts +1 -0
  124. package/dist/cjs/api/resources/helpCenter/exports.js +18 -0
  125. package/dist/cjs/api/resources/helpCenter/types/Collection.d.ts +8 -8
  126. package/dist/cjs/api/resources/helpCenter/types/HelpCenter.d.ts +9 -9
  127. package/dist/cjs/api/resources/helpCenter/types/HelpCenterList.d.ts +2 -2
  128. package/dist/cjs/api/resources/helpCenters/client/Client.d.ts +5 -2
  129. package/dist/cjs/api/resources/helpCenters/client/Client.js +22 -12
  130. package/dist/cjs/api/resources/helpCenters/exports.d.ts +3 -0
  131. package/dist/cjs/api/resources/helpCenters/exports.js +22 -0
  132. package/dist/cjs/api/resources/helpCenters/resources/collections/client/Client.d.ts +11 -2
  133. package/dist/cjs/api/resources/helpCenters/resources/collections/client/Client.js +36 -19
  134. package/dist/cjs/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -6
  135. package/dist/cjs/api/resources/helpCenters/resources/collections/exports.d.ts +2 -0
  136. package/dist/cjs/api/resources/helpCenters/resources/collections/exports.js +21 -0
  137. package/dist/cjs/api/resources/internalArticles/client/Client.d.ts +13 -2
  138. package/dist/cjs/api/resources/internalArticles/client/Client.js +31 -15
  139. package/dist/cjs/api/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.ts +0 -7
  140. package/dist/cjs/api/resources/internalArticles/exports.d.ts +2 -0
  141. package/dist/cjs/api/resources/internalArticles/exports.js +21 -0
  142. package/dist/cjs/api/resources/internalArticles/types/InternalArticleListItem.d.ts +9 -9
  143. package/dist/cjs/api/resources/internalArticles/types/InternalArticleSearchResponse.d.ts +5 -5
  144. package/dist/cjs/api/resources/ipAllowlist/client/Client.d.ts +5 -2
  145. package/dist/cjs/api/resources/ipAllowlist/client/Client.js +8 -3
  146. package/dist/cjs/api/resources/ipAllowlist/exports.d.ts +2 -0
  147. package/dist/cjs/api/resources/ipAllowlist/exports.js +21 -0
  148. package/dist/cjs/api/resources/jobs/client/Client.d.ts +3 -2
  149. package/dist/cjs/api/resources/jobs/client/Client.js +4 -2
  150. package/dist/cjs/api/resources/jobs/exports.d.ts +2 -0
  151. package/dist/cjs/api/resources/jobs/exports.js +21 -0
  152. package/dist/cjs/api/resources/jobs/types/Jobs.d.ts +6 -6
  153. package/dist/cjs/api/resources/messages/client/Client.d.ts +3 -2
  154. package/dist/cjs/api/resources/messages/client/Client.js +5 -2
  155. package/dist/cjs/api/resources/messages/exports.d.ts +2 -0
  156. package/dist/cjs/api/resources/messages/exports.js +21 -0
  157. package/dist/cjs/api/resources/messages/types/Message.d.ts +1 -1
  158. package/dist/cjs/api/resources/news/client/Client.d.ts +1 -2
  159. package/dist/cjs/api/resources/news/exports.d.ts +3 -0
  160. package/dist/cjs/api/resources/news/exports.js +22 -0
  161. package/dist/cjs/api/resources/news/resources/feeds/client/Client.d.ts +7 -2
  162. package/dist/cjs/api/resources/news/resources/feeds/client/Client.js +11 -5
  163. package/dist/cjs/api/resources/news/resources/feeds/exports.d.ts +2 -0
  164. package/dist/cjs/api/resources/news/resources/feeds/exports.js +21 -0
  165. package/dist/cjs/api/resources/news/resources/items/client/Client.d.ts +11 -2
  166. package/dist/cjs/api/resources/news/resources/items/client/Client.js +21 -10
  167. package/dist/cjs/api/resources/news/resources/items/exports.d.ts +2 -0
  168. package/dist/cjs/api/resources/news/resources/items/exports.js +21 -0
  169. package/dist/cjs/api/resources/news/types/NewsItem.d.ts +14 -14
  170. package/dist/cjs/api/resources/news/types/Newsfeed.d.ts +5 -5
  171. package/dist/cjs/api/resources/news/types/NewsfeedAssignment.d.ts +2 -2
  172. package/dist/cjs/api/resources/notes/client/Client.d.ts +7 -2
  173. package/dist/cjs/api/resources/notes/client/Client.js +29 -16
  174. package/dist/cjs/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +0 -14
  175. package/dist/cjs/api/resources/notes/exports.d.ts +2 -0
  176. package/dist/cjs/api/resources/notes/exports.js +21 -0
  177. package/dist/cjs/api/resources/notes/types/Note.d.ts +4 -4
  178. package/dist/cjs/api/resources/phoneCallRedirects/client/Client.d.ts +3 -2
  179. package/dist/cjs/api/resources/phoneCallRedirects/client/Client.js +5 -2
  180. package/dist/cjs/api/resources/phoneCallRedirects/exports.d.ts +2 -0
  181. package/dist/cjs/api/resources/phoneCallRedirects/exports.js +21 -0
  182. package/dist/cjs/api/resources/segments/client/Client.d.ts +5 -2
  183. package/dist/cjs/api/resources/segments/client/Client.js +14 -7
  184. package/dist/cjs/api/resources/segments/exports.d.ts +2 -0
  185. package/dist/cjs/api/resources/segments/exports.js +21 -0
  186. package/dist/cjs/api/resources/segments/types/Segment.d.ts +7 -7
  187. package/dist/cjs/api/resources/subscriptionTypes/client/Client.d.ts +3 -2
  188. package/dist/cjs/api/resources/subscriptionTypes/client/Client.js +3 -1
  189. package/dist/cjs/api/resources/subscriptionTypes/exports.d.ts +2 -0
  190. package/dist/cjs/api/resources/subscriptionTypes/exports.js +21 -0
  191. package/dist/cjs/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +7 -7
  192. package/dist/cjs/api/resources/tags/client/Client.d.ts +21 -2
  193. package/dist/cjs/api/resources/tags/client/Client.js +45 -24
  194. package/dist/cjs/api/resources/tags/client/requests/TagContactRequest.d.ts +0 -6
  195. package/dist/cjs/api/resources/tags/client/requests/TagConversationRequest.d.ts +0 -7
  196. package/dist/cjs/api/resources/tags/client/requests/TagTicketRequest.d.ts +0 -7
  197. package/dist/cjs/api/resources/tags/client/requests/UntagConversationRequest.d.ts +0 -14
  198. package/dist/cjs/api/resources/tags/client/requests/UntagTicketRequest.d.ts +0 -14
  199. package/dist/cjs/api/resources/tags/exports.d.ts +2 -0
  200. package/dist/cjs/api/resources/tags/exports.js +21 -0
  201. package/dist/cjs/api/resources/tags/types/Tag.d.ts +2 -2
  202. package/dist/cjs/api/resources/tags/types/TagBasic.d.ts +3 -3
  203. package/dist/cjs/api/resources/teams/client/Client.d.ts +5 -2
  204. package/dist/cjs/api/resources/teams/client/Client.js +7 -3
  205. package/dist/cjs/api/resources/teams/exports.d.ts +2 -0
  206. package/dist/cjs/api/resources/teams/exports.js +21 -0
  207. package/dist/cjs/api/resources/teams/types/Team.d.ts +7 -7
  208. package/dist/cjs/api/resources/ticketStates/client/Client.d.ts +3 -2
  209. package/dist/cjs/api/resources/ticketStates/client/Client.js +3 -1
  210. package/dist/cjs/api/resources/ticketStates/exports.d.ts +2 -0
  211. package/dist/cjs/api/resources/ticketStates/exports.js +21 -0
  212. package/dist/cjs/api/resources/ticketTypes/client/Client.d.ts +9 -2
  213. package/dist/cjs/api/resources/ticketTypes/client/Client.js +17 -8
  214. package/dist/cjs/api/resources/ticketTypes/client/requests/index.d.ts +1 -1
  215. package/dist/cjs/api/resources/ticketTypes/client/requests/index.js +3 -0
  216. package/dist/cjs/api/resources/ticketTypes/exports.d.ts +3 -0
  217. package/dist/cjs/api/resources/ticketTypes/exports.js +22 -0
  218. package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +5 -2
  219. package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/Client.js +11 -6
  220. package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +1 -1
  221. package/dist/cjs/api/resources/ticketTypes/resources/attributes/client/requests/index.js +3 -0
  222. package/dist/cjs/api/resources/ticketTypes/resources/attributes/exports.d.ts +2 -0
  223. package/dist/cjs/api/resources/ticketTypes/resources/attributes/exports.js +21 -0
  224. package/dist/cjs/api/resources/tickets/client/Client.d.ts +16 -2
  225. package/dist/cjs/api/resources/tickets/client/Client.js +32 -16
  226. package/dist/cjs/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +0 -22
  227. package/dist/cjs/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -12
  228. package/dist/cjs/api/resources/tickets/exports.d.ts +2 -0
  229. package/dist/cjs/api/resources/tickets/exports.js +21 -0
  230. package/dist/cjs/api/resources/tickets/types/DeleteTicketResponse.d.ts +3 -3
  231. package/dist/cjs/api/resources/tickets/types/Ticket.d.ts +11 -11
  232. package/dist/cjs/api/resources/tickets/types/TicketContacts.d.ts +2 -2
  233. package/dist/cjs/api/resources/tickets/types/TicketPart.d.ts +15 -15
  234. package/dist/cjs/api/resources/tickets/types/TicketState.d.ts +5 -5
  235. package/dist/cjs/api/resources/tickets/types/TicketStateDetailed.d.ts +9 -9
  236. package/dist/cjs/api/resources/tickets/types/TicketType.d.ts +14 -14
  237. package/dist/cjs/api/resources/unstable/client/Client.d.ts +1 -2
  238. package/dist/cjs/api/resources/unstable/errors/BadRequestError.js +5 -1
  239. package/dist/cjs/api/resources/unstable/errors/ConflictError.d.ts +1 -0
  240. package/dist/cjs/api/resources/unstable/errors/ConflictError.js +5 -1
  241. package/dist/cjs/api/resources/unstable/errors/ForbiddenError.d.ts +1 -0
  242. package/dist/cjs/api/resources/unstable/errors/ForbiddenError.js +5 -1
  243. package/dist/cjs/api/resources/unstable/errors/InternalServerError.d.ts +1 -0
  244. package/dist/cjs/api/resources/unstable/errors/InternalServerError.js +5 -1
  245. package/dist/cjs/api/resources/unstable/errors/NotFoundError.js +5 -1
  246. package/dist/cjs/api/resources/unstable/errors/TooManyRequestsError.d.ts +1 -0
  247. package/dist/cjs/api/resources/unstable/errors/TooManyRequestsError.js +5 -1
  248. package/dist/cjs/api/resources/unstable/errors/UnauthorizedError.d.ts +1 -0
  249. package/dist/cjs/api/resources/unstable/errors/UnauthorizedError.js +5 -1
  250. package/dist/cjs/api/resources/unstable/errors/UnprocessableEntityError.js +5 -1
  251. package/dist/cjs/api/resources/unstable/exports.d.ts +3 -0
  252. package/dist/cjs/api/resources/unstable/exports.js +22 -0
  253. package/dist/cjs/api/resources/unstable/resources/admins/client/Client.d.ts +12 -2
  254. package/dist/cjs/api/resources/unstable/resources/admins/client/Client.js +28 -13
  255. package/dist/cjs/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.ts +0 -7
  256. package/dist/cjs/api/resources/unstable/resources/admins/exports.d.ts +2 -0
  257. package/dist/cjs/api/resources/unstable/resources/admins/exports.js +21 -0
  258. package/dist/cjs/api/resources/unstable/resources/admins/types/Admin.d.ts +12 -12
  259. package/dist/cjs/api/resources/unstable/resources/aiAgent/exports.d.ts +1 -0
  260. package/dist/cjs/api/resources/unstable/resources/aiAgent/exports.js +18 -0
  261. package/dist/cjs/api/resources/unstable/resources/aiAgent/types/AiAgent.d.ts +9 -9
  262. package/dist/cjs/api/resources/unstable/resources/aiContent/client/Client.d.ts +21 -2
  263. package/dist/cjs/api/resources/unstable/resources/aiContent/client/Client.js +41 -20
  264. package/dist/cjs/api/resources/unstable/resources/aiContent/client/requests/index.d.ts +2 -2
  265. package/dist/cjs/api/resources/unstable/resources/aiContent/client/requests/index.js +5 -0
  266. package/dist/cjs/api/resources/unstable/resources/aiContent/exports.d.ts +2 -0
  267. package/dist/cjs/api/resources/unstable/resources/aiContent/exports.js +21 -0
  268. package/dist/cjs/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.ts +4 -4
  269. package/dist/cjs/api/resources/unstable/resources/aiContent/types/ExternalPage.d.ts +2 -2
  270. package/dist/cjs/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.ts +4 -4
  271. package/dist/cjs/api/resources/unstable/resources/aiContentSource/exports.d.ts +1 -0
  272. package/dist/cjs/api/resources/unstable/resources/aiContentSource/exports.js +18 -0
  273. package/dist/cjs/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.ts +4 -4
  274. package/dist/cjs/api/resources/unstable/resources/articles/client/Client.d.ts +11 -2
  275. package/dist/cjs/api/resources/unstable/resources/articles/client/Client.js +29 -21
  276. package/dist/cjs/api/resources/unstable/resources/articles/exports.d.ts +2 -0
  277. package/dist/cjs/api/resources/unstable/resources/articles/exports.js +21 -0
  278. package/dist/cjs/api/resources/unstable/resources/articles/types/Article.d.ts +1 -1
  279. package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleListItem.d.ts +16 -16
  280. package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.ts +7 -7
  281. package/dist/cjs/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.ts +6 -6
  282. package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/client/Client.d.ts +3 -2
  283. package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/client/Client.js +3 -1
  284. package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/exports.d.ts +2 -0
  285. package/dist/cjs/api/resources/unstable/resources/awayStatusReasons/exports.js +21 -0
  286. package/dist/cjs/api/resources/unstable/resources/brands/client/Client.d.ts +5 -2
  287. package/dist/cjs/api/resources/unstable/resources/brands/client/Client.js +7 -3
  288. package/dist/cjs/api/resources/unstable/resources/brands/exports.d.ts +2 -0
  289. package/dist/cjs/api/resources/unstable/resources/brands/exports.js +21 -0
  290. package/dist/cjs/api/resources/unstable/resources/brands/types/Brand.d.ts +8 -8
  291. package/dist/cjs/api/resources/unstable/resources/brands/types/BrandList.d.ts +2 -2
  292. package/dist/cjs/api/resources/unstable/resources/calls/client/Client.d.ts +19 -2
  293. package/dist/cjs/api/resources/unstable/resources/calls/client/Client.js +44 -24
  294. package/dist/cjs/api/resources/unstable/resources/calls/exports.d.ts +2 -0
  295. package/dist/cjs/api/resources/unstable/resources/calls/exports.js +21 -0
  296. package/dist/cjs/api/resources/unstable/resources/calls/types/Call.d.ts +19 -19
  297. package/dist/cjs/api/resources/unstable/resources/calls/types/ListCallsWithTranscriptsResponse.d.ts +4 -4
  298. package/dist/cjs/api/resources/unstable/resources/companies/client/Client.d.ts +23 -2
  299. package/dist/cjs/api/resources/unstable/resources/companies/client/Client.js +71 -53
  300. package/dist/cjs/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.ts +0 -1
  301. package/dist/cjs/api/resources/unstable/resources/companies/exports.d.ts +2 -0
  302. package/dist/cjs/api/resources/unstable/resources/companies/exports.js +21 -0
  303. package/dist/cjs/api/resources/unstable/resources/companies/types/Company.d.ts +29 -29
  304. package/dist/cjs/api/resources/unstable/resources/contacts/client/Client.d.ts +36 -4
  305. package/dist/cjs/api/resources/unstable/resources/contacts/client/Client.js +65 -31
  306. package/dist/cjs/api/resources/unstable/resources/contacts/exports.d.ts +2 -0
  307. package/dist/cjs/api/resources/unstable/resources/contacts/exports.js +21 -0
  308. package/dist/cjs/api/resources/unstable/resources/contacts/types/Contact.d.ts +48 -48
  309. package/dist/cjs/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.ts +1 -1
  310. package/dist/cjs/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.ts +1 -1
  311. package/dist/cjs/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.ts +1 -1
  312. package/dist/cjs/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.ts +1 -1
  313. package/dist/cjs/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.ts +1 -1
  314. package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.d.ts +30 -4
  315. package/dist/cjs/api/resources/unstable/resources/conversations/client/Client.js +83 -50
  316. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -21
  317. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.ts +0 -10
  318. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.d.ts → ReplyConversationBody.d.ts} +1 -1
  319. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -12
  320. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/index.d.ts +2 -2
  321. package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/index.js +3 -0
  322. package/dist/cjs/api/resources/unstable/resources/conversations/exports.d.ts +2 -0
  323. package/dist/cjs/api/resources/unstable/resources/conversations/exports.js +21 -0
  324. package/dist/cjs/api/resources/unstable/resources/conversations/types/Conversation.d.ts +28 -28
  325. package/dist/cjs/api/resources/unstable/resources/customChannelEvents/client/Client.d.ts +9 -2
  326. package/dist/cjs/api/resources/unstable/resources/customChannelEvents/client/Client.js +17 -8
  327. package/dist/cjs/api/resources/unstable/resources/customChannelEvents/exports.d.ts +2 -0
  328. package/dist/cjs/api/resources/unstable/resources/customChannelEvents/exports.js +21 -0
  329. package/dist/cjs/api/resources/unstable/resources/customObjectInstances/client/Client.d.ts +11 -2
  330. package/dist/cjs/api/resources/unstable/resources/customObjectInstances/client/Client.js +36 -15
  331. package/dist/cjs/api/resources/unstable/resources/customObjectInstances/exports.d.ts +2 -0
  332. package/dist/cjs/api/resources/unstable/resources/customObjectInstances/exports.js +21 -0
  333. package/dist/cjs/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.ts +8 -8
  334. package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/Client.d.ts +9 -4
  335. package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/Client.js +22 -14
  336. package/dist/{esm/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.mts → cjs/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeBody.d.ts} +1 -1
  337. package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/requests/index.d.ts +1 -1
  338. package/dist/cjs/api/resources/unstable/resources/dataAttributes/exports.d.ts +2 -0
  339. package/dist/cjs/api/resources/unstable/resources/dataAttributes/exports.js +21 -0
  340. package/dist/cjs/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.ts +17 -17
  341. package/dist/cjs/api/resources/unstable/resources/dataEvents/client/Client.d.ts +9 -4
  342. package/dist/cjs/api/resources/unstable/resources/dataEvents/client/Client.js +26 -12
  343. package/dist/cjs/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.ts +4 -4
  344. package/dist/cjs/api/resources/unstable/resources/dataEvents/exports.d.ts +2 -0
  345. package/dist/cjs/api/resources/unstable/resources/dataEvents/exports.js +21 -0
  346. package/dist/cjs/api/resources/unstable/resources/dataEvents/types/DataEvent.d.ts +6 -6
  347. package/dist/cjs/api/resources/unstable/resources/dataExport/client/Client.d.ts +13 -2
  348. package/dist/cjs/api/resources/unstable/resources/dataExport/client/Client.js +21 -8
  349. package/dist/cjs/api/resources/unstable/resources/dataExport/exports.d.ts +2 -0
  350. package/dist/cjs/api/resources/unstable/resources/dataExport/exports.js +21 -0
  351. package/dist/cjs/api/resources/unstable/resources/dataExport/types/DataExport.d.ts +4 -4
  352. package/dist/cjs/api/resources/unstable/resources/emails/client/Client.d.ts +5 -2
  353. package/dist/cjs/api/resources/unstable/resources/emails/client/Client.js +7 -3
  354. package/dist/cjs/api/resources/unstable/resources/emails/exports.d.ts +2 -0
  355. package/dist/cjs/api/resources/unstable/resources/emails/exports.js +21 -0
  356. package/dist/cjs/api/resources/unstable/resources/emails/types/EmailList.d.ts +2 -2
  357. package/dist/cjs/api/resources/unstable/resources/emails/types/EmailSetting.d.ts +10 -10
  358. package/dist/cjs/api/resources/unstable/resources/export/client/Client.d.ts +6 -2
  359. package/dist/cjs/api/resources/unstable/resources/export/client/Client.js +9 -3
  360. package/dist/cjs/api/resources/unstable/resources/export/exports.d.ts +2 -0
  361. package/dist/cjs/api/resources/unstable/resources/export/exports.js +21 -0
  362. package/dist/cjs/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.ts +9 -9
  363. package/dist/cjs/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.ts +4 -4
  364. package/dist/cjs/api/resources/unstable/resources/helpCenter/client/Client.d.ts +15 -2
  365. package/dist/cjs/api/resources/unstable/resources/helpCenter/client/Client.js +28 -13
  366. package/dist/cjs/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.ts +0 -6
  367. package/dist/cjs/api/resources/unstable/resources/helpCenter/exports.d.ts +2 -0
  368. package/dist/cjs/api/resources/unstable/resources/helpCenter/exports.js +21 -0
  369. package/dist/cjs/api/resources/unstable/resources/helpCenter/types/Collection.d.ts +13 -13
  370. package/dist/cjs/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.ts +9 -9
  371. package/dist/cjs/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.ts +2 -2
  372. package/dist/cjs/api/resources/unstable/resources/internalArticles/client/Client.d.ts +13 -2
  373. package/dist/cjs/api/resources/unstable/resources/internalArticles/client/Client.js +31 -15
  374. package/dist/cjs/api/resources/unstable/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.ts +0 -7
  375. package/dist/cjs/api/resources/unstable/resources/internalArticles/exports.d.ts +2 -0
  376. package/dist/cjs/api/resources/unstable/resources/internalArticles/exports.js +21 -0
  377. package/dist/cjs/api/resources/unstable/resources/internalArticles/types/InternalArticleListItem.d.ts +9 -9
  378. package/dist/cjs/api/resources/unstable/resources/internalArticles/types/InternalArticleSearchResponse.d.ts +5 -5
  379. package/dist/cjs/api/resources/unstable/resources/jobs/client/Client.d.ts +3 -2
  380. package/dist/cjs/api/resources/unstable/resources/jobs/client/Client.js +4 -2
  381. package/dist/cjs/api/resources/unstable/resources/jobs/exports.d.ts +2 -0
  382. package/dist/cjs/api/resources/unstable/resources/jobs/exports.js +21 -0
  383. package/dist/cjs/api/resources/unstable/resources/jobs/types/Jobs.d.ts +6 -6
  384. package/dist/cjs/api/resources/unstable/resources/macros/client/Client.d.ts +5 -2
  385. package/dist/cjs/api/resources/unstable/resources/macros/client/Client.js +16 -13
  386. package/dist/cjs/api/resources/unstable/resources/macros/client/requests/GetMacroRequest.d.ts +0 -15
  387. package/dist/cjs/api/resources/unstable/resources/macros/client/requests/ListMacrosRequest.d.ts +0 -35
  388. package/dist/cjs/api/resources/unstable/resources/macros/exports.d.ts +2 -0
  389. package/dist/cjs/api/resources/unstable/resources/macros/exports.js +21 -0
  390. package/dist/cjs/api/resources/unstable/resources/macros/types/Macro.d.ts +10 -10
  391. package/dist/cjs/api/resources/unstable/resources/macros/types/MacroList.d.ts +7 -7
  392. package/dist/cjs/api/resources/unstable/resources/messages/client/Client.d.ts +7 -4
  393. package/dist/cjs/api/resources/unstable/resources/messages/client/Client.js +18 -12
  394. package/dist/cjs/api/resources/unstable/resources/messages/exports.d.ts +2 -0
  395. package/dist/cjs/api/resources/unstable/resources/messages/exports.js +21 -0
  396. package/dist/cjs/api/resources/unstable/resources/messages/types/Message.d.ts +2 -2
  397. package/dist/cjs/api/resources/unstable/resources/news/client/Client.d.ts +17 -2
  398. package/dist/cjs/api/resources/unstable/resources/news/client/Client.js +32 -15
  399. package/dist/cjs/api/resources/unstable/resources/news/exports.d.ts +2 -0
  400. package/dist/cjs/api/resources/unstable/resources/news/exports.js +21 -0
  401. package/dist/cjs/api/resources/unstable/resources/news/types/NewsItem.d.ts +14 -14
  402. package/dist/cjs/api/resources/unstable/resources/news/types/Newsfeed.d.ts +5 -5
  403. package/dist/cjs/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.ts +2 -2
  404. package/dist/cjs/api/resources/unstable/resources/notes/client/Client.d.ts +9 -2
  405. package/dist/cjs/api/resources/unstable/resources/notes/client/Client.js +18 -9
  406. package/dist/cjs/api/resources/unstable/resources/notes/exports.d.ts +2 -0
  407. package/dist/cjs/api/resources/unstable/resources/notes/exports.js +21 -0
  408. package/dist/cjs/api/resources/unstable/resources/notes/types/CompanyNote.d.ts +8 -8
  409. package/dist/cjs/api/resources/unstable/resources/notes/types/Note.d.ts +8 -8
  410. package/dist/cjs/api/resources/unstable/resources/segments/client/Client.d.ts +5 -2
  411. package/dist/cjs/api/resources/unstable/resources/segments/client/Client.js +14 -7
  412. package/dist/cjs/api/resources/unstable/resources/segments/exports.d.ts +2 -0
  413. package/dist/cjs/api/resources/unstable/resources/segments/exports.js +21 -0
  414. package/dist/cjs/api/resources/unstable/resources/segments/types/Segment.d.ts +7 -7
  415. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/Client.d.ts +7 -2
  416. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/Client.js +13 -6
  417. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.ts +0 -7
  418. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/exports.d.ts +2 -0
  419. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/exports.js +21 -0
  420. package/dist/cjs/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.ts +7 -7
  421. package/dist/cjs/api/resources/unstable/resources/switch/client/Client.d.ts +3 -2
  422. package/dist/cjs/api/resources/unstable/resources/switch/client/Client.js +5 -2
  423. package/dist/cjs/api/resources/unstable/resources/switch/exports.d.ts +2 -0
  424. package/dist/cjs/api/resources/unstable/resources/switch/exports.js +21 -0
  425. package/dist/cjs/api/resources/unstable/resources/tags/client/Client.d.ts +21 -2
  426. package/dist/cjs/api/resources/unstable/resources/tags/client/Client.js +45 -24
  427. package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.ts +0 -6
  428. package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.ts +0 -7
  429. package/dist/cjs/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.ts +0 -7
  430. package/dist/cjs/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.ts +0 -14
  431. package/dist/cjs/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.ts +0 -14
  432. package/dist/cjs/api/resources/unstable/resources/tags/exports.d.ts +2 -0
  433. package/dist/cjs/api/resources/unstable/resources/tags/exports.js +21 -0
  434. package/dist/cjs/api/resources/unstable/resources/tags/types/Tag.d.ts +5 -5
  435. package/dist/cjs/api/resources/unstable/resources/tags/types/TagBasic.d.ts +3 -3
  436. package/dist/cjs/api/resources/unstable/resources/teams/client/Client.d.ts +5 -2
  437. package/dist/cjs/api/resources/unstable/resources/teams/client/Client.js +7 -3
  438. package/dist/cjs/api/resources/unstable/resources/teams/exports.d.ts +2 -0
  439. package/dist/cjs/api/resources/unstable/resources/teams/exports.js +21 -0
  440. package/dist/cjs/api/resources/unstable/resources/teams/types/Team.d.ts +5 -5
  441. package/dist/cjs/api/resources/unstable/resources/ticketStates/client/Client.d.ts +3 -2
  442. package/dist/cjs/api/resources/unstable/resources/ticketStates/client/Client.js +3 -1
  443. package/dist/cjs/api/resources/unstable/resources/ticketStates/exports.d.ts +2 -0
  444. package/dist/cjs/api/resources/unstable/resources/ticketStates/exports.js +21 -0
  445. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.ts +5 -2
  446. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/Client.js +11 -6
  447. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.ts +1 -1
  448. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.js +3 -0
  449. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/exports.d.ts +2 -0
  450. package/dist/cjs/api/resources/unstable/resources/ticketTypeAttributes/exports.js +21 -0
  451. package/dist/cjs/api/resources/unstable/resources/ticketTypes/client/Client.d.ts +7 -2
  452. package/dist/cjs/api/resources/unstable/resources/ticketTypes/client/Client.js +12 -5
  453. package/dist/cjs/api/resources/unstable/resources/ticketTypes/exports.d.ts +2 -0
  454. package/dist/cjs/api/resources/unstable/resources/ticketTypes/exports.js +21 -0
  455. package/dist/cjs/api/resources/unstable/resources/tickets/client/Client.d.ts +14 -2
  456. package/dist/cjs/api/resources/unstable/resources/tickets/client/Client.js +28 -14
  457. package/dist/cjs/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -12
  458. package/dist/cjs/api/resources/unstable/resources/tickets/exports.d.ts +2 -0
  459. package/dist/cjs/api/resources/unstable/resources/tickets/exports.js +21 -0
  460. package/dist/cjs/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.ts +3 -3
  461. package/dist/cjs/api/resources/unstable/resources/tickets/types/Ticket.d.ts +17 -17
  462. package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketContacts.d.ts +2 -2
  463. package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketPart.d.ts +15 -15
  464. package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketState.d.ts +5 -5
  465. package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.ts +9 -9
  466. package/dist/cjs/api/resources/unstable/resources/tickets/types/TicketType.d.ts +14 -14
  467. package/dist/cjs/api/resources/unstable/resources/visitors/client/Client.d.ts +9 -4
  468. package/dist/cjs/api/resources/unstable/resources/visitors/client/Client.js +20 -8
  469. package/dist/cjs/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +14 -2
  470. package/dist/cjs/api/resources/unstable/resources/visitors/exports.d.ts +2 -0
  471. package/dist/cjs/api/resources/unstable/resources/visitors/exports.js +21 -0
  472. package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.d.ts +3 -2
  473. package/dist/cjs/api/resources/unstable/resources/workflows/client/Client.js +4 -2
  474. package/dist/cjs/api/resources/unstable/resources/workflows/exports.d.ts +2 -0
  475. package/dist/cjs/api/resources/unstable/resources/workflows/exports.js +21 -0
  476. package/dist/cjs/api/resources/unstable/types/ActivityLog.d.ts +10 -10
  477. package/dist/cjs/api/resources/unstable/types/ActivityLogList.d.ts +3 -3
  478. package/dist/cjs/api/resources/unstable/types/ActivityLogMetadata.d.ts +11 -11
  479. package/dist/cjs/api/resources/unstable/types/AddressableList.d.ts +3 -3
  480. package/dist/cjs/api/resources/unstable/types/AdminList.d.ts +2 -2
  481. package/dist/cjs/api/resources/unstable/types/AdminPriorityLevel.d.ts +2 -2
  482. package/dist/cjs/api/resources/unstable/types/AdminReplyConversationRequest.d.ts +5 -5
  483. package/dist/cjs/api/resources/unstable/types/AdminReplyTicketRequest.d.ts +4 -4
  484. package/dist/cjs/api/resources/unstable/types/AdminWithApp.d.ts +14 -14
  485. package/dist/cjs/api/resources/unstable/types/AiCallResponse.d.ts +10 -10
  486. package/dist/cjs/api/resources/unstable/types/App.d.ts +7 -8
  487. package/dist/cjs/api/resources/unstable/types/ArticleContent.d.ts +9 -9
  488. package/dist/cjs/api/resources/unstable/types/ArticleList.d.ts +4 -4
  489. package/dist/cjs/api/resources/unstable/types/ArticleStatistics.d.ts +7 -7
  490. package/dist/cjs/api/resources/unstable/types/ArticleTranslatedContent.d.ts +38 -38
  491. package/dist/cjs/api/resources/unstable/types/AssignConversationRequest.d.ts +1 -1
  492. package/dist/cjs/api/resources/unstable/types/AwayStatusReason.d.ts +8 -8
  493. package/dist/cjs/api/resources/unstable/types/CallList.d.ts +4 -4
  494. package/dist/cjs/api/resources/unstable/types/CloseConversationRequest.d.ts +1 -1
  495. package/dist/cjs/api/resources/unstable/types/CollectionList.d.ts +4 -4
  496. package/dist/cjs/api/resources/unstable/types/CompanyAttachedContacts.d.ts +4 -4
  497. package/dist/cjs/api/resources/unstable/types/CompanyAttachedSegments.d.ts +2 -2
  498. package/dist/cjs/api/resources/unstable/types/CompanyData.d.ts +3 -3
  499. package/dist/cjs/api/resources/unstable/types/CompanyList.d.ts +4 -4
  500. package/dist/cjs/api/resources/unstable/types/CompanyScroll.d.ts +5 -5
  501. package/dist/cjs/api/resources/unstable/types/ContactArchived.d.ts +1 -1
  502. package/dist/cjs/api/resources/unstable/types/ContactAttachedCompanies.d.ts +4 -4
  503. package/dist/cjs/api/resources/unstable/types/ContactBlocked.d.ts +1 -1
  504. package/dist/cjs/api/resources/unstable/types/ContactCompanies.d.ts +4 -4
  505. package/dist/cjs/api/resources/unstable/types/ContactDeleted.d.ts +1 -1
  506. package/dist/cjs/api/resources/unstable/types/ContactList.d.ts +4 -4
  507. package/dist/cjs/api/resources/unstable/types/ContactLocation.d.ts +4 -4
  508. package/dist/cjs/api/resources/unstable/types/ContactNotes.d.ts +4 -4
  509. package/dist/cjs/api/resources/unstable/types/ContactReference.d.ts +3 -3
  510. package/dist/cjs/api/resources/unstable/types/ContactReplyBaseRequest.d.ts +3 -3
  511. package/dist/cjs/api/resources/unstable/types/ContactReplyEmailRequest.d.ts +1 -1
  512. package/dist/cjs/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.ts +1 -1
  513. package/dist/cjs/api/resources/unstable/types/ContactReplyUserIdRequest.d.ts +1 -1
  514. package/dist/cjs/api/resources/unstable/types/ContactSegments.d.ts +2 -2
  515. package/dist/cjs/api/resources/unstable/types/ContactSocialProfiles.d.ts +1 -1
  516. package/dist/cjs/api/resources/unstable/types/ContactSubscriptionTypes.d.ts +4 -4
  517. package/dist/cjs/api/resources/unstable/types/ContactTags.d.ts +4 -4
  518. package/dist/cjs/api/resources/unstable/types/ContactUnarchived.d.ts +1 -1
  519. package/dist/cjs/api/resources/unstable/types/ContentSourcesList.d.ts +3 -3
  520. package/dist/cjs/api/resources/unstable/types/ConversationAttachmentFiles.d.ts +3 -3
  521. package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.ts +5 -5
  522. package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.ts +5 -5
  523. package/dist/cjs/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.ts +6 -6
  524. package/dist/cjs/api/resources/unstable/types/ConversationContacts.d.ts +2 -3
  525. package/dist/cjs/api/resources/unstable/types/ConversationDeleted.d.ts +3 -3
  526. package/dist/cjs/api/resources/unstable/types/ConversationFirstContactReply.d.ts +3 -6
  527. package/dist/cjs/api/resources/unstable/types/ConversationList.d.ts +4 -4
  528. package/dist/cjs/api/resources/unstable/types/ConversationPart.d.ts +18 -18
  529. package/dist/cjs/api/resources/unstable/types/ConversationPartAuthor.d.ts +6 -6
  530. package/dist/cjs/api/resources/unstable/types/ConversationPartMetadata.d.ts +3 -3
  531. package/dist/cjs/api/resources/unstable/types/ConversationParts.d.ts +3 -5
  532. package/dist/cjs/api/resources/unstable/types/ConversationRating.d.ts +6 -6
  533. package/dist/cjs/api/resources/unstable/types/ConversationResponseTime.d.ts +3 -3
  534. package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByRule.d.ts +6 -6
  535. package/dist/cjs/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.ts +6 -6
  536. package/dist/cjs/api/resources/unstable/types/ConversationSlaPaused.d.ts +5 -5
  537. package/dist/cjs/api/resources/unstable/types/ConversationSlaRemoved.d.ts +1 -1
  538. package/dist/cjs/api/resources/unstable/types/ConversationSlaTargetMissed.d.ts +6 -6
  539. package/dist/cjs/api/resources/unstable/types/ConversationSlaUnpaused.d.ts +1 -1
  540. package/dist/cjs/api/resources/unstable/types/ConversationSource.d.ts +9 -9
  541. package/dist/cjs/api/resources/unstable/types/ConversationStatistics.d.ts +23 -24
  542. package/dist/cjs/api/resources/unstable/types/ConversationTagsUpdated.d.ts +2 -2
  543. package/dist/cjs/api/resources/unstable/types/ConversationTeammates.d.ts +2 -2
  544. package/dist/cjs/api/resources/unstable/types/CreateArticleRequest.d.ts +6 -6
  545. package/dist/cjs/api/resources/unstable/types/CreateContactRequest.d.ts +4 -0
  546. package/dist/cjs/api/resources/unstable/types/CreateDataAttributeRequest.d.ts +0 -3
  547. package/dist/cjs/api/resources/unstable/types/CreateDataEventRequest.d.ts +1 -0
  548. package/dist/cjs/api/resources/unstable/types/CreateInternalArticleRequest.d.ts +1 -1
  549. package/dist/cjs/api/resources/unstable/types/CreateMessageRequest.d.ts +1 -1
  550. package/dist/cjs/api/resources/unstable/types/CreateOrUpdateCompanyRequest.d.ts +9 -9
  551. package/dist/cjs/api/resources/unstable/types/CreateOrUpdateTagRequest.d.ts +1 -1
  552. package/dist/cjs/api/resources/unstable/types/CreatePhoneSwitchRequest.d.ts +1 -1
  553. package/dist/cjs/api/resources/unstable/types/CreateTicketRequestBody.d.ts +6 -6
  554. package/dist/cjs/api/resources/unstable/types/CreateTicketTypeRequest.d.ts +4 -4
  555. package/dist/cjs/api/resources/unstable/types/CursorPages.d.ts +5 -5
  556. package/dist/cjs/api/resources/unstable/types/CustomActionFinished.d.ts +3 -3
  557. package/dist/cjs/api/resources/unstable/types/CustomActionStarted.d.ts +2 -2
  558. package/dist/cjs/api/resources/unstable/types/CustomChannelContact.d.ts +2 -2
  559. package/dist/cjs/api/resources/unstable/types/CustomObjectInstanceDeleted.d.ts +3 -3
  560. package/dist/cjs/api/resources/unstable/types/CustomObjectInstanceList.d.ts +2 -2
  561. package/dist/cjs/api/resources/unstable/types/DataAttributeList.d.ts +2 -2
  562. package/dist/cjs/api/resources/unstable/types/DataEventList.d.ts +5 -5
  563. package/dist/cjs/api/resources/unstable/types/DataEventSummary.d.ts +5 -5
  564. package/dist/cjs/api/resources/unstable/types/DataEventSummaryItem.d.ts +5 -5
  565. package/dist/cjs/api/resources/unstable/types/DataExportCsv.d.ts +26 -26
  566. package/dist/cjs/api/resources/unstable/types/DeletedArticleObject.d.ts +3 -3
  567. package/dist/cjs/api/resources/unstable/types/DeletedCollectionObject.d.ts +3 -3
  568. package/dist/cjs/api/resources/unstable/types/DeletedCompanyObject.d.ts +3 -3
  569. package/dist/cjs/api/resources/unstable/types/DeletedInternalArticleObject.d.ts +3 -3
  570. package/dist/cjs/api/resources/unstable/types/DeletedObject.d.ts +3 -3
  571. package/dist/cjs/api/resources/unstable/types/EmailAddressHeader.d.ts +3 -3
  572. package/dist/cjs/api/resources/unstable/types/EmailMessageMetadata.d.ts +3 -3
  573. package/dist/cjs/api/resources/unstable/types/Error_.d.ts +3 -4
  574. package/dist/cjs/api/resources/unstable/types/FileAttribute.d.ts +7 -7
  575. package/dist/cjs/api/resources/unstable/types/GroupContent.d.ts +3 -3
  576. package/dist/cjs/api/resources/unstable/types/GroupTranslatedContent.d.ts +38 -38
  577. package/dist/cjs/api/resources/unstable/types/HandlingEvent.d.ts +1 -1
  578. package/dist/cjs/api/resources/unstable/types/HandlingEventList.d.ts +1 -1
  579. package/dist/cjs/api/resources/unstable/types/InternalArticleList.d.ts +4 -4
  580. package/dist/cjs/api/resources/unstable/types/LinkedObject.d.ts +3 -3
  581. package/dist/cjs/api/resources/unstable/types/LinkedObjectList.d.ts +4 -4
  582. package/dist/cjs/api/resources/unstable/types/Metadata.d.ts +2 -0
  583. package/dist/cjs/api/resources/unstable/types/MultipleFilterSearchRequest.d.ts +2 -2
  584. package/dist/cjs/api/resources/unstable/types/NewsItemRequest.d.ts +6 -6
  585. package/dist/cjs/api/resources/unstable/types/NotFoundErrorBody.d.ts +2 -3
  586. package/dist/cjs/api/resources/unstable/types/NoteList.d.ts +4 -4
  587. package/dist/cjs/api/resources/unstable/types/OperatorWorkflowEvent.d.ts +5 -5
  588. package/dist/cjs/api/resources/unstable/types/PagesLink.d.ts +5 -5
  589. package/dist/cjs/api/resources/unstable/types/PaginatedResponse.d.ts +4 -4
  590. package/dist/cjs/api/resources/unstable/types/PartAttachment.d.ts +7 -7
  591. package/dist/cjs/api/resources/unstable/types/PhoneSwitch.d.ts +2 -3
  592. package/dist/cjs/api/resources/unstable/types/PriorityChanged.d.ts +2 -2
  593. package/dist/cjs/api/resources/unstable/types/Reference.d.ts +2 -4
  594. package/dist/cjs/api/resources/unstable/types/RegisterFinVoiceCallRequest.d.ts +2 -2
  595. package/dist/cjs/api/resources/unstable/types/SearchRequest.d.ts +1 -1
  596. package/dist/cjs/api/resources/unstable/types/SegmentList.d.ts +3 -3
  597. package/dist/cjs/api/resources/unstable/types/SingleFilterSearchRequest.d.ts +3 -3
  598. package/dist/cjs/api/resources/unstable/types/SlaApplied.d.ts +3 -3
  599. package/dist/cjs/api/resources/unstable/types/Snoozed.d.ts +2 -2
  600. package/dist/cjs/api/resources/unstable/types/SocialProfile.d.ts +3 -3
  601. package/dist/cjs/api/resources/unstable/types/StartingAfterPaging.d.ts +2 -2
  602. package/dist/cjs/api/resources/unstable/types/SubscriptionTypeList.d.ts +2 -2
  603. package/dist/cjs/api/resources/unstable/types/TagCompanyRequest.d.ts +2 -2
  604. package/dist/cjs/api/resources/unstable/types/TagList.d.ts +2 -2
  605. package/dist/cjs/api/resources/unstable/types/TagMultipleUsersRequest.d.ts +1 -1
  606. package/dist/cjs/api/resources/unstable/types/Tags.d.ts +2 -2
  607. package/dist/cjs/api/resources/unstable/types/TeamList.d.ts +2 -2
  608. package/dist/cjs/api/resources/unstable/types/TeamPriorityLevel.d.ts +2 -2
  609. package/dist/cjs/api/resources/unstable/types/TeammateReference.d.ts +1 -1
  610. package/dist/cjs/api/resources/unstable/types/TicketList.d.ts +4 -4
  611. package/dist/cjs/api/resources/unstable/types/TicketPartAuthor.d.ts +4 -4
  612. package/dist/cjs/api/resources/unstable/types/TicketParts.d.ts +3 -5
  613. package/dist/cjs/api/resources/unstable/types/TicketReply.d.ts +9 -9
  614. package/dist/cjs/api/resources/unstable/types/TicketStateList.d.ts +2 -2
  615. package/dist/cjs/api/resources/unstable/types/TicketTypeAttribute.d.ts +17 -17
  616. package/dist/cjs/api/resources/unstable/types/TicketTypeAttributeList.d.ts +2 -2
  617. package/dist/cjs/api/resources/unstable/types/TicketTypeList.d.ts +2 -2
  618. package/dist/cjs/api/resources/unstable/types/Translation.d.ts +3 -3
  619. package/dist/cjs/api/resources/unstable/types/UntagCompanyRequest.d.ts +3 -3
  620. package/dist/cjs/api/resources/unstable/types/UpdateDataAttributeRequestBody.d.ts +0 -3
  621. package/dist/cjs/api/resources/unstable/types/UpdateVisitorRequest.d.ts +4 -0
  622. package/dist/cjs/api/resources/unstable/types/UpdateVisitorRequest.js +3 -0
  623. package/dist/cjs/api/resources/unstable/types/Visitor.d.ts +54 -56
  624. package/dist/cjs/api/resources/unstable/types/VisitorDeletedObject.d.ts +3 -3
  625. package/dist/cjs/api/resources/unstable/types/WhatsappMessageStatusList.d.ts +3 -3
  626. package/dist/cjs/api/resources/unstable/types/WorkflowExport.d.ts +17 -17
  627. package/dist/cjs/api/resources/unstable/types/index.d.ts +4 -0
  628. package/dist/cjs/api/resources/unstable/types/index.js +4 -0
  629. package/dist/cjs/api/resources/visitors/client/Client.d.ts +7 -2
  630. package/dist/cjs/api/resources/visitors/client/Client.js +19 -7
  631. package/dist/cjs/api/resources/visitors/exports.d.ts +2 -0
  632. package/dist/cjs/api/resources/visitors/exports.js +21 -0
  633. package/dist/cjs/api/types/ActivityLog.d.ts +10 -10
  634. package/dist/cjs/api/types/ActivityLogList.d.ts +3 -3
  635. package/dist/cjs/api/types/ActivityLogMetadata.d.ts +20 -20
  636. package/dist/cjs/api/types/AddressableList.d.ts +3 -3
  637. package/dist/cjs/api/types/AdminList.d.ts +2 -2
  638. package/dist/cjs/api/types/AdminPriorityLevel.d.ts +2 -2
  639. package/dist/cjs/api/types/AdminReplyConversationRequest.d.ts +5 -5
  640. package/dist/cjs/api/types/AdminReplyTicketRequest.d.ts +4 -4
  641. package/dist/cjs/api/types/AdminWithApp.d.ts +14 -14
  642. package/dist/cjs/api/types/App.d.ts +7 -8
  643. package/dist/cjs/api/types/ArticleContent.d.ts +9 -9
  644. package/dist/cjs/api/types/ArticleList.d.ts +4 -4
  645. package/dist/cjs/api/types/ArticleStatistics.d.ts +1 -1
  646. package/dist/cjs/api/types/ArticleTranslatedContent.d.ts +38 -38
  647. package/dist/cjs/api/types/AssignConversationRequest.d.ts +1 -1
  648. package/dist/cjs/api/types/AwayStatusReason.d.ts +8 -8
  649. package/dist/cjs/api/types/CallList.d.ts +4 -4
  650. package/dist/cjs/api/types/CloseConversationRequest.d.ts +1 -1
  651. package/dist/cjs/api/types/CollectionList.d.ts +4 -4
  652. package/dist/cjs/api/types/CompanyAttachedContacts.d.ts +4 -4
  653. package/dist/cjs/api/types/CompanyAttachedSegments.d.ts +2 -2
  654. package/dist/cjs/api/types/CompanyData.d.ts +3 -3
  655. package/dist/cjs/api/types/CompanyList.d.ts +4 -4
  656. package/dist/cjs/api/types/CompanyScroll.d.ts +5 -5
  657. package/dist/cjs/api/types/ContactArchived.d.ts +1 -1
  658. package/dist/cjs/api/types/ContactAttachedCompanies.d.ts +4 -4
  659. package/dist/cjs/api/types/ContactBlocked.d.ts +1 -1
  660. package/dist/cjs/api/types/ContactCompanies.d.ts +4 -4
  661. package/dist/cjs/api/types/ContactDeleted.d.ts +1 -1
  662. package/dist/cjs/api/types/ContactList.d.ts +4 -4
  663. package/dist/cjs/api/types/ContactLocation.d.ts +4 -4
  664. package/dist/cjs/api/types/ContactNotes.d.ts +4 -4
  665. package/dist/cjs/api/types/ContactReference.d.ts +3 -3
  666. package/dist/cjs/api/types/ContactReplyBaseRequest.d.ts +3 -3
  667. package/dist/cjs/api/types/ContactReplyEmailRequest.d.ts +1 -1
  668. package/dist/cjs/api/types/ContactReplyIntercomUserIdRequest.d.ts +1 -1
  669. package/dist/cjs/api/types/ContactReplyUserIdRequest.d.ts +1 -1
  670. package/dist/cjs/api/types/ContactSegments.d.ts +2 -2
  671. package/dist/cjs/api/types/ContactSocialProfiles.d.ts +1 -1
  672. package/dist/cjs/api/types/ContactSubscriptionTypes.d.ts +4 -4
  673. package/dist/cjs/api/types/ContactTags.d.ts +4 -4
  674. package/dist/cjs/api/types/ContactUnarchived.d.ts +1 -1
  675. package/dist/cjs/api/types/ContentSourcesList.d.ts +3 -3
  676. package/dist/cjs/api/types/ConversationAttachmentFiles.d.ts +3 -3
  677. package/dist/cjs/api/types/ConversationAttributeUpdatedByAdmin.d.ts +4 -4
  678. package/dist/cjs/api/types/ConversationAttributeUpdatedByWorkflow.d.ts +6 -6
  679. package/dist/cjs/api/types/ConversationContacts.d.ts +2 -3
  680. package/dist/cjs/api/types/ConversationDeleted.d.ts +3 -3
  681. package/dist/cjs/api/types/ConversationFirstContactReply.d.ts +3 -6
  682. package/dist/cjs/api/types/ConversationList.d.ts +4 -4
  683. package/dist/cjs/api/types/ConversationPart.d.ts +18 -18
  684. package/dist/cjs/api/types/ConversationPartAuthor.d.ts +6 -6
  685. package/dist/cjs/api/types/ConversationPartMetadata.d.ts +3 -3
  686. package/dist/cjs/api/types/ConversationParts.d.ts +3 -5
  687. package/dist/cjs/api/types/ConversationRating.d.ts +6 -6
  688. package/dist/cjs/api/types/ConversationResponseTime.d.ts +3 -3
  689. package/dist/cjs/api/types/ConversationSource.d.ts +9 -9
  690. package/dist/cjs/api/types/ConversationStatistics.d.ts +23 -24
  691. package/dist/cjs/api/types/CreateArticleRequest.d.ts +6 -6
  692. package/dist/cjs/api/types/CreateDataAttributeRequest.d.ts +0 -3
  693. package/dist/cjs/api/types/CreateDataEventRequest.d.ts +0 -3
  694. package/dist/cjs/api/types/CreateInternalArticleRequest.d.ts +1 -1
  695. package/dist/cjs/api/types/CreateMessageRequest.d.ts +6 -6
  696. package/dist/cjs/api/types/CreateOrUpdateCompanyRequest.d.ts +9 -9
  697. package/dist/cjs/api/types/CreateOrUpdateTagRequest.d.ts +1 -1
  698. package/dist/cjs/api/types/CreatePhoneSwitchRequest.d.ts +1 -1
  699. package/dist/cjs/api/types/CreateTicketRequestBody.d.ts +6 -6
  700. package/dist/cjs/api/types/CreateTicketTypeRequest.d.ts +4 -4
  701. package/dist/cjs/api/types/CursorPages.d.ts +5 -5
  702. package/dist/cjs/api/types/CustomActionFinished.d.ts +3 -3
  703. package/dist/cjs/api/types/CustomActionStarted.d.ts +2 -2
  704. package/dist/cjs/api/types/CustomChannelContact.d.ts +2 -2
  705. package/dist/cjs/api/types/CustomObjectInstanceDeleted.d.ts +3 -3
  706. package/dist/cjs/api/types/CustomObjectInstanceList.d.ts +2 -2
  707. package/dist/cjs/api/types/DataAttributeList.d.ts +2 -2
  708. package/dist/cjs/api/types/DataEventList.d.ts +5 -5
  709. package/dist/cjs/api/types/DataEventSummary.d.ts +4 -4
  710. package/dist/cjs/api/types/DataEventSummaryItem.d.ts +5 -5
  711. package/dist/cjs/api/types/DataExportCsv.d.ts +26 -26
  712. package/dist/cjs/api/types/DeletedArticleObject.d.ts +3 -3
  713. package/dist/cjs/api/types/DeletedCollectionObject.d.ts +3 -3
  714. package/dist/cjs/api/types/DeletedCompanyObject.d.ts +3 -3
  715. package/dist/cjs/api/types/DeletedInternalArticleObject.d.ts +3 -3
  716. package/dist/cjs/api/types/DeletedObject.d.ts +3 -3
  717. package/dist/cjs/api/types/EmailAddressHeader.d.ts +3 -3
  718. package/dist/cjs/api/types/EmailMessageMetadata.d.ts +2 -2
  719. package/dist/cjs/api/types/Error_.d.ts +3 -4
  720. package/dist/cjs/api/types/FileAttribute.d.ts +7 -7
  721. package/dist/cjs/api/types/GroupContent.d.ts +3 -3
  722. package/dist/cjs/api/types/GroupTranslatedContent.d.ts +38 -38
  723. package/dist/cjs/api/types/InternalArticleList.d.ts +4 -4
  724. package/dist/cjs/api/types/IpAllowlist.d.ts +3 -3
  725. package/dist/cjs/api/types/LinkedObject.d.ts +3 -3
  726. package/dist/cjs/api/types/LinkedObjectList.d.ts +4 -4
  727. package/dist/cjs/api/types/Metadata.d.ts +1 -1
  728. package/dist/cjs/api/types/MultipleFilterSearchRequest.d.ts +2 -2
  729. package/dist/cjs/api/types/NewsItemRequest.d.ts +6 -6
  730. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +2 -3
  731. package/dist/cjs/api/types/NoteList.d.ts +3 -3
  732. package/dist/cjs/api/types/OffsetPages.d.ts +4 -4
  733. package/dist/cjs/api/types/OperatorWorkflowEvent.d.ts +5 -5
  734. package/dist/cjs/api/types/PagesLink.d.ts +5 -5
  735. package/dist/cjs/api/types/PaginatedResponse.d.ts +4 -4
  736. package/dist/cjs/api/types/PartAttachment.d.ts +7 -7
  737. package/dist/cjs/api/types/PhoneSwitch.d.ts +2 -3
  738. package/dist/cjs/api/types/Reference.d.ts +2 -4
  739. package/dist/cjs/api/types/SearchRequest.d.ts +1 -1
  740. package/dist/cjs/api/types/SegmentList.d.ts +3 -3
  741. package/dist/cjs/api/types/SingleFilterSearchRequest.d.ts +3 -3
  742. package/dist/cjs/api/types/SlaApplied.d.ts +3 -3
  743. package/dist/cjs/api/types/SocialProfile.d.ts +3 -3
  744. package/dist/cjs/api/types/StartingAfterPaging.d.ts +2 -2
  745. package/dist/cjs/api/types/SubscriptionTypeList.d.ts +2 -2
  746. package/dist/cjs/api/types/TagCompanyRequest.d.ts +2 -2
  747. package/dist/cjs/api/types/TagList.d.ts +2 -2
  748. package/dist/cjs/api/types/TagMultipleUsersRequest.d.ts +1 -1
  749. package/dist/cjs/api/types/Tags.d.ts +2 -2
  750. package/dist/cjs/api/types/TeamList.d.ts +2 -2
  751. package/dist/cjs/api/types/TeamPriorityLevel.d.ts +2 -2
  752. package/dist/cjs/api/types/TicketList.d.ts +4 -4
  753. package/dist/cjs/api/types/TicketPartAuthor.d.ts +4 -4
  754. package/dist/cjs/api/types/TicketParts.d.ts +3 -5
  755. package/dist/cjs/api/types/TicketReply.d.ts +9 -9
  756. package/dist/cjs/api/types/TicketStateList.d.ts +2 -2
  757. package/dist/cjs/api/types/TicketTypeAttribute.d.ts +17 -17
  758. package/dist/cjs/api/types/TicketTypeAttributeList.d.ts +2 -2
  759. package/dist/cjs/api/types/TicketTypeList.d.ts +2 -2
  760. package/dist/cjs/api/types/Translation.d.ts +3 -3
  761. package/dist/cjs/api/types/UntagCompanyRequest.d.ts +3 -3
  762. package/dist/cjs/api/types/UpdateArticleRequestBody.d.ts +1 -1
  763. package/dist/cjs/api/types/UpdateCompanyRequestBody.d.ts +7 -7
  764. package/dist/cjs/api/types/UpdateDataAttributeRequestBody.d.ts +0 -3
  765. package/dist/cjs/api/types/Visitor.d.ts +51 -53
  766. package/dist/cjs/api/types/VisitorDeletedObject.d.ts +3 -3
  767. package/dist/cjs/api/types/WhatsappMessageStatusList.d.ts +3 -3
  768. package/dist/cjs/api/types/compat.d.ts +6 -0
  769. package/dist/cjs/api/types/compat.js +2 -0
  770. package/dist/cjs/api/types/index.d.ts +0 -3
  771. package/dist/cjs/api/types/index.js +0 -3
  772. package/dist/cjs/auth/BearerAuthProvider.d.ts +14 -8
  773. package/dist/cjs/auth/BearerAuthProvider.js +16 -6
  774. package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
  775. package/dist/cjs/core/auth/AuthProvider.js +7 -0
  776. package/dist/cjs/core/auth/BasicAuth.d.ts +2 -2
  777. package/dist/cjs/core/auth/BasicAuth.js +7 -1
  778. package/dist/cjs/core/auth/index.d.ts +1 -1
  779. package/dist/cjs/core/auth/index.js +3 -1
  780. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  781. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
  782. package/dist/cjs/core/fetcher/Fetcher.d.ts +9 -2
  783. package/dist/cjs/core/fetcher/Fetcher.js +61 -103
  784. package/dist/cjs/core/fetcher/getErrorResponseBody.js +20 -7
  785. package/dist/cjs/core/fetcher/getResponseBody.d.ts +16 -0
  786. package/dist/cjs/core/fetcher/getResponseBody.js +38 -22
  787. package/dist/cjs/core/fetcher/index.d.ts +2 -0
  788. package/dist/cjs/core/fetcher/index.js +3 -1
  789. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  790. package/dist/cjs/core/fetcher/makePassthroughRequest.js +176 -0
  791. package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -1
  792. package/dist/cjs/core/fetcher/makeRequest.js +65 -11
  793. package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
  794. package/dist/cjs/core/fetcher/redactUrl.js +88 -0
  795. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -1
  796. package/dist/cjs/core/fetcher/requestWithRetries.js +27 -3
  797. package/dist/cjs/core/fetcher/signals.d.ts +1 -0
  798. package/dist/cjs/core/fetcher/signals.js +12 -3
  799. package/dist/cjs/core/headers.d.ts +2 -2
  800. package/dist/cjs/core/pagination/Page.d.ts +1 -1
  801. package/dist/cjs/core/requestBody.d.ts +12 -0
  802. package/dist/cjs/core/requestBody.js +26 -0
  803. package/dist/cjs/core/runtime/index.d.ts +1 -1
  804. package/dist/cjs/core/runtime/index.js +2 -1
  805. package/dist/cjs/core/runtime/runtime.d.ts +19 -0
  806. package/dist/cjs/core/runtime/runtime.js +81 -8
  807. package/dist/cjs/core/url/QueryStringBuilder.d.ts +48 -0
  808. package/dist/cjs/core/url/QueryStringBuilder.js +88 -0
  809. package/dist/cjs/core/url/encodePathParam.d.ts +3 -1
  810. package/dist/cjs/core/url/encodePathParam.js +8 -2
  811. package/dist/cjs/core/url/index.d.ts +1 -0
  812. package/dist/cjs/core/url/index.js +3 -1
  813. package/dist/cjs/core/url/qs.d.ts +2 -1
  814. package/dist/cjs/core/url/qs.js +25 -13
  815. package/dist/cjs/core/utils/setObjectProperty.d.ts +6 -5
  816. package/dist/cjs/core/utils/setObjectProperty.js +16 -10
  817. package/dist/cjs/errors/IntercomError.d.ts +4 -1
  818. package/dist/cjs/errors/IntercomError.js +27 -2
  819. package/dist/cjs/errors/IntercomTimeoutError.d.ts +5 -2
  820. package/dist/cjs/errors/IntercomTimeoutError.js +45 -4
  821. package/dist/cjs/errors/handleNonStatusCodeError.js +4 -1
  822. package/dist/cjs/version.d.ts +1 -1
  823. package/dist/cjs/version.js +1 -1
  824. package/dist/esm/BaseClient.d.mts +23 -8
  825. package/dist/esm/BaseClient.mjs +43 -4
  826. package/dist/esm/Client.d.mts +13 -2
  827. package/dist/esm/Client.mjs +34 -0
  828. package/dist/esm/api/errors/BadRequestError.mjs +5 -1
  829. package/dist/esm/api/errors/ForbiddenError.d.mts +1 -0
  830. package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
  831. package/dist/esm/api/errors/NotFoundError.mjs +5 -1
  832. package/dist/esm/api/errors/TooManyRequestsError.d.mts +1 -0
  833. package/dist/esm/api/errors/TooManyRequestsError.mjs +5 -1
  834. package/dist/esm/api/errors/UnauthorizedError.d.mts +1 -0
  835. package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
  836. package/dist/esm/api/errors/UnprocessableEntityError.mjs +5 -1
  837. package/dist/esm/api/index.d.mts +1 -0
  838. package/dist/esm/api/index.mjs +1 -0
  839. package/dist/esm/api/resources/admins/client/Client.d.mts +12 -2
  840. package/dist/esm/api/resources/admins/client/Client.mjs +28 -13
  841. package/dist/esm/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.mts +0 -7
  842. package/dist/esm/api/resources/admins/exports.d.mts +2 -0
  843. package/dist/esm/api/resources/admins/exports.mjs +3 -0
  844. package/dist/esm/api/resources/admins/types/Admin.d.mts +5 -5
  845. package/dist/esm/api/resources/aiAgent/exports.d.mts +1 -0
  846. package/dist/esm/api/resources/aiAgent/exports.mjs +2 -0
  847. package/dist/esm/api/resources/aiAgent/types/AiAgent.d.mts +9 -9
  848. package/dist/esm/api/resources/aiContent/client/Client.d.mts +21 -2
  849. package/dist/esm/api/resources/aiContent/client/Client.mjs +41 -20
  850. package/dist/esm/api/resources/aiContent/client/requests/index.d.mts +2 -2
  851. package/dist/esm/api/resources/aiContent/client/requests/index.mjs +2 -1
  852. package/dist/esm/api/resources/aiContent/exports.d.mts +2 -0
  853. package/dist/esm/api/resources/aiContent/exports.mjs +3 -0
  854. package/dist/esm/api/resources/aiContent/types/ContentImportSourcesList.d.mts +4 -4
  855. package/dist/esm/api/resources/aiContent/types/ExternalPage.d.mts +2 -2
  856. package/dist/esm/api/resources/aiContent/types/ExternalPagesList.d.mts +4 -4
  857. package/dist/esm/api/resources/aiContentSource/exports.d.mts +1 -0
  858. package/dist/esm/api/resources/aiContentSource/exports.mjs +2 -0
  859. package/dist/esm/api/resources/aiContentSource/types/ContentSource.d.mts +4 -4
  860. package/dist/esm/api/resources/articles/client/Client.d.mts +13 -2
  861. package/dist/esm/api/resources/articles/client/Client.mjs +49 -33
  862. package/dist/esm/api/resources/articles/client/requests/UpdateArticleRequest.d.mts +0 -7
  863. package/dist/esm/api/resources/articles/client/requests/index.d.mts +1 -1
  864. package/dist/esm/api/resources/articles/client/requests/index.mjs +1 -1
  865. package/dist/esm/api/resources/articles/exports.d.mts +2 -0
  866. package/dist/esm/api/resources/articles/exports.mjs +3 -0
  867. package/dist/esm/api/resources/articles/types/Article.d.mts +1 -1
  868. package/dist/esm/api/resources/articles/types/ArticleListItem.d.mts +9 -9
  869. package/dist/esm/api/resources/articles/types/ArticleSearchHighlights.d.mts +7 -7
  870. package/dist/esm/api/resources/articles/types/ArticleSearchResponse.d.mts +6 -6
  871. package/dist/esm/api/resources/awayStatusReasons/client/Client.d.mts +3 -2
  872. package/dist/esm/api/resources/awayStatusReasons/client/Client.mjs +3 -1
  873. package/dist/esm/api/resources/awayStatusReasons/exports.d.mts +2 -0
  874. package/dist/esm/api/resources/awayStatusReasons/exports.mjs +3 -0
  875. package/dist/esm/api/resources/calls/client/Client.d.mts +11 -2
  876. package/dist/esm/api/resources/calls/client/Client.mjs +28 -16
  877. package/dist/esm/api/resources/calls/exports.d.mts +2 -0
  878. package/dist/esm/api/resources/calls/exports.mjs +3 -0
  879. package/dist/esm/api/resources/calls/types/Call.d.mts +19 -19
  880. package/dist/esm/api/resources/calls/types/ListCallsWithTranscriptsResponse.d.mts +4 -4
  881. package/dist/esm/api/resources/companies/client/Client.d.mts +23 -2
  882. package/dist/esm/api/resources/companies/client/Client.mjs +79 -56
  883. package/dist/esm/api/resources/companies/client/requests/ScrollCompaniesRequest.d.mts +0 -1
  884. package/dist/esm/api/resources/companies/exports.d.mts +2 -0
  885. package/dist/esm/api/resources/companies/exports.mjs +3 -0
  886. package/dist/esm/api/resources/companies/types/Company.d.mts +17 -17
  887. package/dist/esm/api/resources/contacts/client/Client.d.mts +38 -2
  888. package/dist/esm/api/resources/contacts/client/Client.mjs +97 -54
  889. package/dist/esm/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.mts +0 -7
  890. package/dist/esm/api/resources/contacts/exports.d.mts +2 -0
  891. package/dist/esm/api/resources/contacts/exports.mjs +3 -0
  892. package/dist/esm/api/resources/contacts/types/Contact.d.mts +36 -36
  893. package/dist/esm/api/resources/contacts/types/ContactsCreateResponse.d.mts +1 -1
  894. package/dist/esm/api/resources/contacts/types/ContactsFindResponse.d.mts +1 -1
  895. package/dist/esm/api/resources/contacts/types/ContactsMergeLeadInUserResponse.d.mts +1 -1
  896. package/dist/esm/api/resources/contacts/types/ContactsUpdateResponse.d.mts +1 -1
  897. package/dist/esm/api/resources/contacts/types/ShowContactByExternalIdResponse.d.mts +1 -1
  898. package/dist/esm/api/resources/conversations/client/Client.d.mts +28 -2
  899. package/dist/esm/api/resources/conversations/client/Client.mjs +82 -49
  900. package/dist/esm/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.mts +0 -21
  901. package/dist/esm/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.mts +0 -10
  902. package/dist/esm/api/resources/conversations/client/requests/ReplyToConversationRequest.d.mts +0 -33
  903. package/dist/esm/api/resources/conversations/client/requests/UpdateConversationRequest.d.mts +0 -12
  904. package/dist/esm/api/resources/conversations/client/requests/index.d.mts +1 -1
  905. package/dist/esm/api/resources/conversations/client/requests/index.mjs +1 -1
  906. package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
  907. package/dist/esm/api/resources/conversations/exports.mjs +3 -0
  908. package/dist/esm/api/resources/conversations/types/Conversation.d.mts +17 -17
  909. package/dist/esm/api/resources/customChannelEvents/client/Client.d.mts +9 -2
  910. package/dist/esm/api/resources/customChannelEvents/client/Client.mjs +17 -8
  911. package/dist/esm/api/resources/customChannelEvents/exports.d.mts +2 -0
  912. package/dist/esm/api/resources/customChannelEvents/exports.mjs +3 -0
  913. package/dist/esm/api/resources/customObjectInstances/client/Client.d.mts +11 -2
  914. package/dist/esm/api/resources/customObjectInstances/client/Client.mjs +36 -15
  915. package/dist/esm/api/resources/customObjectInstances/exports.d.mts +2 -0
  916. package/dist/esm/api/resources/customObjectInstances/exports.mjs +3 -0
  917. package/dist/esm/api/resources/customObjectInstances/types/CustomObjectInstance.d.mts +8 -8
  918. package/dist/esm/api/resources/dataAttributes/client/Client.d.mts +7 -2
  919. package/dist/esm/api/resources/dataAttributes/client/Client.mjs +21 -13
  920. package/dist/esm/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.mts +0 -12
  921. package/dist/esm/api/resources/dataAttributes/exports.d.mts +2 -0
  922. package/dist/esm/api/resources/dataAttributes/exports.mjs +3 -0
  923. package/dist/esm/api/resources/dataAttributes/types/DataAttribute.d.mts +12 -12
  924. package/dist/esm/api/resources/dataEvents/exports.d.mts +1 -0
  925. package/dist/esm/api/resources/dataEvents/exports.mjs +2 -0
  926. package/dist/esm/api/resources/dataEvents/types/DataEvent.d.mts +5 -5
  927. package/dist/esm/api/resources/dataExport/client/Client.d.mts +17 -2
  928. package/dist/esm/api/resources/dataExport/client/Client.mjs +44 -17
  929. package/dist/esm/api/resources/dataExport/client/requests/ExportReportingDataRequest.d.mts +0 -7
  930. package/dist/esm/api/resources/dataExport/exports.d.mts +2 -0
  931. package/dist/esm/api/resources/dataExport/exports.mjs +3 -0
  932. package/dist/esm/api/resources/dataExport/types/DataExport.d.mts +4 -4
  933. package/dist/esm/api/resources/dataExport/types/DataExportExportReportingDataResponse.d.mts +4 -4
  934. package/dist/esm/api/resources/events/client/Client.d.mts +7 -2
  935. package/dist/esm/api/resources/events/client/Client.mjs +24 -22
  936. package/dist/esm/api/resources/events/client/requests/ListEventSummariesRequest.d.mts +4 -4
  937. package/dist/esm/api/resources/events/exports.d.mts +2 -0
  938. package/dist/esm/api/resources/events/exports.mjs +3 -0
  939. package/dist/esm/api/resources/export/client/Client.d.mts +6 -2
  940. package/dist/esm/api/resources/export/client/Client.mjs +9 -3
  941. package/dist/esm/api/resources/export/exports.d.mts +2 -0
  942. package/dist/esm/api/resources/export/exports.mjs +3 -0
  943. package/dist/esm/api/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.mts +9 -9
  944. package/dist/esm/api/resources/export/types/PostExportReportingDataEnqueueResponse.d.mts +4 -4
  945. package/dist/esm/api/resources/helpCenter/exports.d.mts +1 -0
  946. package/dist/esm/api/resources/helpCenter/exports.mjs +2 -0
  947. package/dist/esm/api/resources/helpCenter/types/Collection.d.mts +8 -8
  948. package/dist/esm/api/resources/helpCenter/types/HelpCenter.d.mts +9 -9
  949. package/dist/esm/api/resources/helpCenter/types/HelpCenterList.d.mts +2 -2
  950. package/dist/esm/api/resources/helpCenters/client/Client.d.mts +5 -2
  951. package/dist/esm/api/resources/helpCenters/client/Client.mjs +22 -12
  952. package/dist/esm/api/resources/helpCenters/exports.d.mts +3 -0
  953. package/dist/esm/api/resources/helpCenters/exports.mjs +4 -0
  954. package/dist/esm/api/resources/helpCenters/resources/collections/client/Client.d.mts +11 -2
  955. package/dist/esm/api/resources/helpCenters/resources/collections/client/Client.mjs +36 -19
  956. package/dist/esm/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.mts +0 -6
  957. package/dist/esm/api/resources/helpCenters/resources/collections/exports.d.mts +2 -0
  958. package/dist/esm/api/resources/helpCenters/resources/collections/exports.mjs +3 -0
  959. package/dist/esm/api/resources/internalArticles/client/Client.d.mts +13 -2
  960. package/dist/esm/api/resources/internalArticles/client/Client.mjs +31 -15
  961. package/dist/esm/api/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.mts +0 -7
  962. package/dist/esm/api/resources/internalArticles/exports.d.mts +2 -0
  963. package/dist/esm/api/resources/internalArticles/exports.mjs +3 -0
  964. package/dist/esm/api/resources/internalArticles/types/InternalArticleListItem.d.mts +9 -9
  965. package/dist/esm/api/resources/internalArticles/types/InternalArticleSearchResponse.d.mts +5 -5
  966. package/dist/esm/api/resources/ipAllowlist/client/Client.d.mts +5 -2
  967. package/dist/esm/api/resources/ipAllowlist/client/Client.mjs +8 -3
  968. package/dist/esm/api/resources/ipAllowlist/exports.d.mts +2 -0
  969. package/dist/esm/api/resources/ipAllowlist/exports.mjs +3 -0
  970. package/dist/esm/api/resources/jobs/client/Client.d.mts +3 -2
  971. package/dist/esm/api/resources/jobs/client/Client.mjs +4 -2
  972. package/dist/esm/api/resources/jobs/exports.d.mts +2 -0
  973. package/dist/esm/api/resources/jobs/exports.mjs +3 -0
  974. package/dist/esm/api/resources/jobs/types/Jobs.d.mts +6 -6
  975. package/dist/esm/api/resources/messages/client/Client.d.mts +3 -2
  976. package/dist/esm/api/resources/messages/client/Client.mjs +5 -2
  977. package/dist/esm/api/resources/messages/exports.d.mts +2 -0
  978. package/dist/esm/api/resources/messages/exports.mjs +3 -0
  979. package/dist/esm/api/resources/messages/types/Message.d.mts +1 -1
  980. package/dist/esm/api/resources/news/client/Client.d.mts +1 -2
  981. package/dist/esm/api/resources/news/exports.d.mts +3 -0
  982. package/dist/esm/api/resources/news/exports.mjs +4 -0
  983. package/dist/esm/api/resources/news/resources/feeds/client/Client.d.mts +7 -2
  984. package/dist/esm/api/resources/news/resources/feeds/client/Client.mjs +11 -5
  985. package/dist/esm/api/resources/news/resources/feeds/exports.d.mts +2 -0
  986. package/dist/esm/api/resources/news/resources/feeds/exports.mjs +3 -0
  987. package/dist/esm/api/resources/news/resources/items/client/Client.d.mts +11 -2
  988. package/dist/esm/api/resources/news/resources/items/client/Client.mjs +21 -10
  989. package/dist/esm/api/resources/news/resources/items/exports.d.mts +2 -0
  990. package/dist/esm/api/resources/news/resources/items/exports.mjs +3 -0
  991. package/dist/esm/api/resources/news/types/NewsItem.d.mts +14 -14
  992. package/dist/esm/api/resources/news/types/Newsfeed.d.mts +5 -5
  993. package/dist/esm/api/resources/news/types/NewsfeedAssignment.d.mts +2 -2
  994. package/dist/esm/api/resources/notes/client/Client.d.mts +7 -2
  995. package/dist/esm/api/resources/notes/client/Client.mjs +29 -16
  996. package/dist/esm/api/resources/notes/client/requests/CreateContactNoteRequest.d.mts +0 -14
  997. package/dist/esm/api/resources/notes/exports.d.mts +2 -0
  998. package/dist/esm/api/resources/notes/exports.mjs +3 -0
  999. package/dist/esm/api/resources/notes/types/Note.d.mts +4 -4
  1000. package/dist/esm/api/resources/phoneCallRedirects/client/Client.d.mts +3 -2
  1001. package/dist/esm/api/resources/phoneCallRedirects/client/Client.mjs +5 -2
  1002. package/dist/esm/api/resources/phoneCallRedirects/exports.d.mts +2 -0
  1003. package/dist/esm/api/resources/phoneCallRedirects/exports.mjs +3 -0
  1004. package/dist/esm/api/resources/segments/client/Client.d.mts +5 -2
  1005. package/dist/esm/api/resources/segments/client/Client.mjs +14 -7
  1006. package/dist/esm/api/resources/segments/exports.d.mts +2 -0
  1007. package/dist/esm/api/resources/segments/exports.mjs +3 -0
  1008. package/dist/esm/api/resources/segments/types/Segment.d.mts +7 -7
  1009. package/dist/esm/api/resources/subscriptionTypes/client/Client.d.mts +3 -2
  1010. package/dist/esm/api/resources/subscriptionTypes/client/Client.mjs +3 -1
  1011. package/dist/esm/api/resources/subscriptionTypes/exports.d.mts +2 -0
  1012. package/dist/esm/api/resources/subscriptionTypes/exports.mjs +3 -0
  1013. package/dist/esm/api/resources/subscriptionTypes/types/SubscriptionType.d.mts +7 -7
  1014. package/dist/esm/api/resources/tags/client/Client.d.mts +21 -2
  1015. package/dist/esm/api/resources/tags/client/Client.mjs +45 -24
  1016. package/dist/esm/api/resources/tags/client/requests/TagContactRequest.d.mts +0 -6
  1017. package/dist/esm/api/resources/tags/client/requests/TagConversationRequest.d.mts +0 -7
  1018. package/dist/esm/api/resources/tags/client/requests/TagTicketRequest.d.mts +0 -7
  1019. package/dist/esm/api/resources/tags/client/requests/UntagConversationRequest.d.mts +0 -14
  1020. package/dist/esm/api/resources/tags/client/requests/UntagTicketRequest.d.mts +0 -14
  1021. package/dist/esm/api/resources/tags/exports.d.mts +2 -0
  1022. package/dist/esm/api/resources/tags/exports.mjs +3 -0
  1023. package/dist/esm/api/resources/tags/types/Tag.d.mts +2 -2
  1024. package/dist/esm/api/resources/tags/types/TagBasic.d.mts +3 -3
  1025. package/dist/esm/api/resources/teams/client/Client.d.mts +5 -2
  1026. package/dist/esm/api/resources/teams/client/Client.mjs +7 -3
  1027. package/dist/esm/api/resources/teams/exports.d.mts +2 -0
  1028. package/dist/esm/api/resources/teams/exports.mjs +3 -0
  1029. package/dist/esm/api/resources/teams/types/Team.d.mts +7 -7
  1030. package/dist/esm/api/resources/ticketStates/client/Client.d.mts +3 -2
  1031. package/dist/esm/api/resources/ticketStates/client/Client.mjs +3 -1
  1032. package/dist/esm/api/resources/ticketStates/exports.d.mts +2 -0
  1033. package/dist/esm/api/resources/ticketStates/exports.mjs +3 -0
  1034. package/dist/esm/api/resources/ticketTypes/client/Client.d.mts +9 -2
  1035. package/dist/esm/api/resources/ticketTypes/client/Client.mjs +17 -8
  1036. package/dist/esm/api/resources/ticketTypes/client/requests/index.d.mts +1 -1
  1037. package/dist/esm/api/resources/ticketTypes/client/requests/index.mjs +1 -1
  1038. package/dist/esm/api/resources/ticketTypes/exports.d.mts +3 -0
  1039. package/dist/esm/api/resources/ticketTypes/exports.mjs +4 -0
  1040. package/dist/esm/api/resources/ticketTypes/resources/attributes/client/Client.d.mts +5 -2
  1041. package/dist/esm/api/resources/ticketTypes/resources/attributes/client/Client.mjs +11 -6
  1042. package/dist/esm/api/resources/ticketTypes/resources/attributes/client/requests/index.d.mts +1 -1
  1043. package/dist/esm/api/resources/ticketTypes/resources/attributes/client/requests/index.mjs +1 -1
  1044. package/dist/esm/api/resources/ticketTypes/resources/attributes/exports.d.mts +2 -0
  1045. package/dist/esm/api/resources/ticketTypes/resources/attributes/exports.mjs +3 -0
  1046. package/dist/esm/api/resources/tickets/client/Client.d.mts +16 -2
  1047. package/dist/esm/api/resources/tickets/client/Client.mjs +32 -16
  1048. package/dist/esm/api/resources/tickets/client/requests/ReplyToTicketRequest.d.mts +0 -22
  1049. package/dist/esm/api/resources/tickets/client/requests/UpdateTicketRequest.d.mts +0 -12
  1050. package/dist/esm/api/resources/tickets/exports.d.mts +2 -0
  1051. package/dist/esm/api/resources/tickets/exports.mjs +3 -0
  1052. package/dist/esm/api/resources/tickets/types/DeleteTicketResponse.d.mts +3 -3
  1053. package/dist/esm/api/resources/tickets/types/Ticket.d.mts +11 -11
  1054. package/dist/esm/api/resources/tickets/types/TicketContacts.d.mts +2 -2
  1055. package/dist/esm/api/resources/tickets/types/TicketPart.d.mts +15 -15
  1056. package/dist/esm/api/resources/tickets/types/TicketState.d.mts +5 -5
  1057. package/dist/esm/api/resources/tickets/types/TicketStateDetailed.d.mts +9 -9
  1058. package/dist/esm/api/resources/tickets/types/TicketType.d.mts +14 -14
  1059. package/dist/esm/api/resources/unstable/client/Client.d.mts +1 -2
  1060. package/dist/esm/api/resources/unstable/errors/BadRequestError.mjs +5 -1
  1061. package/dist/esm/api/resources/unstable/errors/ConflictError.d.mts +1 -0
  1062. package/dist/esm/api/resources/unstable/errors/ConflictError.mjs +5 -1
  1063. package/dist/esm/api/resources/unstable/errors/ForbiddenError.d.mts +1 -0
  1064. package/dist/esm/api/resources/unstable/errors/ForbiddenError.mjs +5 -1
  1065. package/dist/esm/api/resources/unstable/errors/InternalServerError.d.mts +1 -0
  1066. package/dist/esm/api/resources/unstable/errors/InternalServerError.mjs +5 -1
  1067. package/dist/esm/api/resources/unstable/errors/NotFoundError.mjs +5 -1
  1068. package/dist/esm/api/resources/unstable/errors/TooManyRequestsError.d.mts +1 -0
  1069. package/dist/esm/api/resources/unstable/errors/TooManyRequestsError.mjs +5 -1
  1070. package/dist/esm/api/resources/unstable/errors/UnauthorizedError.d.mts +1 -0
  1071. package/dist/esm/api/resources/unstable/errors/UnauthorizedError.mjs +5 -1
  1072. package/dist/esm/api/resources/unstable/errors/UnprocessableEntityError.mjs +5 -1
  1073. package/dist/esm/api/resources/unstable/exports.d.mts +3 -0
  1074. package/dist/esm/api/resources/unstable/exports.mjs +4 -0
  1075. package/dist/esm/api/resources/unstable/resources/admins/client/Client.d.mts +12 -2
  1076. package/dist/esm/api/resources/unstable/resources/admins/client/Client.mjs +28 -13
  1077. package/dist/esm/api/resources/unstable/resources/admins/client/requests/SetAwayAdminRequest.d.mts +0 -7
  1078. package/dist/esm/api/resources/unstable/resources/admins/exports.d.mts +2 -0
  1079. package/dist/esm/api/resources/unstable/resources/admins/exports.mjs +3 -0
  1080. package/dist/esm/api/resources/unstable/resources/admins/types/Admin.d.mts +12 -12
  1081. package/dist/esm/api/resources/unstable/resources/aiAgent/exports.d.mts +1 -0
  1082. package/dist/esm/api/resources/unstable/resources/aiAgent/exports.mjs +2 -0
  1083. package/dist/esm/api/resources/unstable/resources/aiAgent/types/AiAgent.d.mts +9 -9
  1084. package/dist/esm/api/resources/unstable/resources/aiContent/client/Client.d.mts +21 -2
  1085. package/dist/esm/api/resources/unstable/resources/aiContent/client/Client.mjs +41 -20
  1086. package/dist/esm/api/resources/unstable/resources/aiContent/client/requests/index.d.mts +2 -2
  1087. package/dist/esm/api/resources/unstable/resources/aiContent/client/requests/index.mjs +2 -1
  1088. package/dist/esm/api/resources/unstable/resources/aiContent/exports.d.mts +2 -0
  1089. package/dist/esm/api/resources/unstable/resources/aiContent/exports.mjs +3 -0
  1090. package/dist/esm/api/resources/unstable/resources/aiContent/types/ContentImportSourcesList.d.mts +4 -4
  1091. package/dist/esm/api/resources/unstable/resources/aiContent/types/ExternalPage.d.mts +2 -2
  1092. package/dist/esm/api/resources/unstable/resources/aiContent/types/ExternalPagesList.d.mts +4 -4
  1093. package/dist/esm/api/resources/unstable/resources/aiContentSource/exports.d.mts +1 -0
  1094. package/dist/esm/api/resources/unstable/resources/aiContentSource/exports.mjs +2 -0
  1095. package/dist/esm/api/resources/unstable/resources/aiContentSource/types/ContentSource.d.mts +4 -4
  1096. package/dist/esm/api/resources/unstable/resources/articles/client/Client.d.mts +11 -2
  1097. package/dist/esm/api/resources/unstable/resources/articles/client/Client.mjs +29 -21
  1098. package/dist/esm/api/resources/unstable/resources/articles/exports.d.mts +2 -0
  1099. package/dist/esm/api/resources/unstable/resources/articles/exports.mjs +3 -0
  1100. package/dist/esm/api/resources/unstable/resources/articles/types/Article.d.mts +1 -1
  1101. package/dist/esm/api/resources/unstable/resources/articles/types/ArticleListItem.d.mts +16 -16
  1102. package/dist/esm/api/resources/unstable/resources/articles/types/ArticleSearchHighlights.d.mts +7 -7
  1103. package/dist/esm/api/resources/unstable/resources/articles/types/ArticleSearchResponse.d.mts +6 -6
  1104. package/dist/esm/api/resources/unstable/resources/awayStatusReasons/client/Client.d.mts +3 -2
  1105. package/dist/esm/api/resources/unstable/resources/awayStatusReasons/client/Client.mjs +3 -1
  1106. package/dist/esm/api/resources/unstable/resources/awayStatusReasons/exports.d.mts +2 -0
  1107. package/dist/esm/api/resources/unstable/resources/awayStatusReasons/exports.mjs +3 -0
  1108. package/dist/esm/api/resources/unstable/resources/brands/client/Client.d.mts +5 -2
  1109. package/dist/esm/api/resources/unstable/resources/brands/client/Client.mjs +7 -3
  1110. package/dist/esm/api/resources/unstable/resources/brands/exports.d.mts +2 -0
  1111. package/dist/esm/api/resources/unstable/resources/brands/exports.mjs +3 -0
  1112. package/dist/esm/api/resources/unstable/resources/brands/types/Brand.d.mts +8 -8
  1113. package/dist/esm/api/resources/unstable/resources/brands/types/BrandList.d.mts +2 -2
  1114. package/dist/esm/api/resources/unstable/resources/calls/client/Client.d.mts +19 -2
  1115. package/dist/esm/api/resources/unstable/resources/calls/client/Client.mjs +44 -24
  1116. package/dist/esm/api/resources/unstable/resources/calls/exports.d.mts +2 -0
  1117. package/dist/esm/api/resources/unstable/resources/calls/exports.mjs +3 -0
  1118. package/dist/esm/api/resources/unstable/resources/calls/types/Call.d.mts +19 -19
  1119. package/dist/esm/api/resources/unstable/resources/calls/types/ListCallsWithTranscriptsResponse.d.mts +4 -4
  1120. package/dist/esm/api/resources/unstable/resources/companies/client/Client.d.mts +23 -2
  1121. package/dist/esm/api/resources/unstable/resources/companies/client/Client.mjs +71 -53
  1122. package/dist/esm/api/resources/unstable/resources/companies/client/requests/ScrollOverAllCompaniesRequest.d.mts +0 -1
  1123. package/dist/esm/api/resources/unstable/resources/companies/exports.d.mts +2 -0
  1124. package/dist/esm/api/resources/unstable/resources/companies/exports.mjs +3 -0
  1125. package/dist/esm/api/resources/unstable/resources/companies/types/Company.d.mts +29 -29
  1126. package/dist/esm/api/resources/unstable/resources/contacts/client/Client.d.mts +36 -4
  1127. package/dist/esm/api/resources/unstable/resources/contacts/client/Client.mjs +65 -31
  1128. package/dist/esm/api/resources/unstable/resources/contacts/exports.d.mts +2 -0
  1129. package/dist/esm/api/resources/unstable/resources/contacts/exports.mjs +3 -0
  1130. package/dist/esm/api/resources/unstable/resources/contacts/types/Contact.d.mts +48 -48
  1131. package/dist/esm/api/resources/unstable/resources/contacts/types/CreateContactResponse.d.mts +1 -1
  1132. package/dist/esm/api/resources/unstable/resources/contacts/types/MergeContactResponse.d.mts +1 -1
  1133. package/dist/esm/api/resources/unstable/resources/contacts/types/ShowContactByExternalIdResponse.d.mts +1 -1
  1134. package/dist/esm/api/resources/unstable/resources/contacts/types/ShowContactResponse.d.mts +1 -1
  1135. package/dist/esm/api/resources/unstable/resources/contacts/types/UpdateContactResponse.d.mts +1 -1
  1136. package/dist/esm/api/resources/unstable/resources/conversations/client/Client.d.mts +30 -4
  1137. package/dist/esm/api/resources/unstable/resources/conversations/client/Client.mjs +83 -50
  1138. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/DetachContactFromConversationRequest.d.mts +0 -21
  1139. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/ManageConversationRequest.d.mts +0 -10
  1140. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.d.mts → ReplyConversationBody.d.mts} +1 -1
  1141. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/UpdateConversationRequest.d.mts +0 -12
  1142. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/index.d.mts +2 -2
  1143. package/dist/esm/api/resources/unstable/resources/conversations/client/requests/index.mjs +1 -1
  1144. package/dist/esm/api/resources/unstable/resources/conversations/exports.d.mts +2 -0
  1145. package/dist/esm/api/resources/unstable/resources/conversations/exports.mjs +3 -0
  1146. package/dist/esm/api/resources/unstable/resources/conversations/types/Conversation.d.mts +28 -28
  1147. package/dist/esm/api/resources/unstable/resources/customChannelEvents/client/Client.d.mts +9 -2
  1148. package/dist/esm/api/resources/unstable/resources/customChannelEvents/client/Client.mjs +17 -8
  1149. package/dist/esm/api/resources/unstable/resources/customChannelEvents/exports.d.mts +2 -0
  1150. package/dist/esm/api/resources/unstable/resources/customChannelEvents/exports.mjs +3 -0
  1151. package/dist/esm/api/resources/unstable/resources/customObjectInstances/client/Client.d.mts +11 -2
  1152. package/dist/esm/api/resources/unstable/resources/customObjectInstances/client/Client.mjs +36 -15
  1153. package/dist/esm/api/resources/unstable/resources/customObjectInstances/exports.d.mts +2 -0
  1154. package/dist/esm/api/resources/unstable/resources/customObjectInstances/exports.mjs +3 -0
  1155. package/dist/esm/api/resources/unstable/resources/customObjectInstances/types/CustomObjectInstance.d.mts +8 -8
  1156. package/dist/esm/api/resources/unstable/resources/dataAttributes/client/Client.d.mts +9 -4
  1157. package/dist/esm/api/resources/unstable/resources/dataAttributes/client/Client.mjs +22 -14
  1158. package/dist/{cjs/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts → esm/api/resources/unstable/resources/dataAttributes/client/requests/UpdateDataAttributeBody.d.mts} +1 -1
  1159. package/dist/esm/api/resources/unstable/resources/dataAttributes/client/requests/index.d.mts +1 -1
  1160. package/dist/esm/api/resources/unstable/resources/dataAttributes/exports.d.mts +2 -0
  1161. package/dist/esm/api/resources/unstable/resources/dataAttributes/exports.mjs +3 -0
  1162. package/dist/esm/api/resources/unstable/resources/dataAttributes/types/DataAttribute.d.mts +17 -17
  1163. package/dist/esm/api/resources/unstable/resources/dataEvents/client/Client.d.mts +9 -4
  1164. package/dist/esm/api/resources/unstable/resources/dataEvents/client/Client.mjs +26 -12
  1165. package/dist/esm/api/resources/unstable/resources/dataEvents/client/requests/CreateDataEventSummariesRequest.d.mts +4 -4
  1166. package/dist/esm/api/resources/unstable/resources/dataEvents/exports.d.mts +2 -0
  1167. package/dist/esm/api/resources/unstable/resources/dataEvents/exports.mjs +3 -0
  1168. package/dist/esm/api/resources/unstable/resources/dataEvents/types/DataEvent.d.mts +6 -6
  1169. package/dist/esm/api/resources/unstable/resources/dataExport/client/Client.d.mts +13 -2
  1170. package/dist/esm/api/resources/unstable/resources/dataExport/client/Client.mjs +21 -8
  1171. package/dist/esm/api/resources/unstable/resources/dataExport/exports.d.mts +2 -0
  1172. package/dist/esm/api/resources/unstable/resources/dataExport/exports.mjs +3 -0
  1173. package/dist/esm/api/resources/unstable/resources/dataExport/types/DataExport.d.mts +4 -4
  1174. package/dist/esm/api/resources/unstable/resources/emails/client/Client.d.mts +5 -2
  1175. package/dist/esm/api/resources/unstable/resources/emails/client/Client.mjs +7 -3
  1176. package/dist/esm/api/resources/unstable/resources/emails/exports.d.mts +2 -0
  1177. package/dist/esm/api/resources/unstable/resources/emails/exports.mjs +3 -0
  1178. package/dist/esm/api/resources/unstable/resources/emails/types/EmailList.d.mts +2 -2
  1179. package/dist/esm/api/resources/unstable/resources/emails/types/EmailSetting.d.mts +10 -10
  1180. package/dist/esm/api/resources/unstable/resources/export/client/Client.d.mts +6 -2
  1181. package/dist/esm/api/resources/unstable/resources/export/client/Client.mjs +9 -3
  1182. package/dist/esm/api/resources/unstable/resources/export/exports.d.mts +2 -0
  1183. package/dist/esm/api/resources/unstable/resources/export/exports.mjs +3 -0
  1184. package/dist/esm/api/resources/unstable/resources/export/types/GetExportReportingDataGetDatasetsResponse.d.mts +9 -9
  1185. package/dist/esm/api/resources/unstable/resources/export/types/PostExportReportingDataEnqueueResponse.d.mts +4 -4
  1186. package/dist/esm/api/resources/unstable/resources/helpCenter/client/Client.d.mts +15 -2
  1187. package/dist/esm/api/resources/unstable/resources/helpCenter/client/Client.mjs +28 -13
  1188. package/dist/esm/api/resources/unstable/resources/helpCenter/client/requests/UpdateCollectionRequest.d.mts +0 -6
  1189. package/dist/esm/api/resources/unstable/resources/helpCenter/exports.d.mts +2 -0
  1190. package/dist/esm/api/resources/unstable/resources/helpCenter/exports.mjs +3 -0
  1191. package/dist/esm/api/resources/unstable/resources/helpCenter/types/Collection.d.mts +13 -13
  1192. package/dist/esm/api/resources/unstable/resources/helpCenter/types/HelpCenter.d.mts +9 -9
  1193. package/dist/esm/api/resources/unstable/resources/helpCenter/types/HelpCenterList.d.mts +2 -2
  1194. package/dist/esm/api/resources/unstable/resources/internalArticles/client/Client.d.mts +13 -2
  1195. package/dist/esm/api/resources/unstable/resources/internalArticles/client/Client.mjs +31 -15
  1196. package/dist/esm/api/resources/unstable/resources/internalArticles/client/requests/UpdateInternalArticleRequestBody.d.mts +0 -7
  1197. package/dist/esm/api/resources/unstable/resources/internalArticles/exports.d.mts +2 -0
  1198. package/dist/esm/api/resources/unstable/resources/internalArticles/exports.mjs +3 -0
  1199. package/dist/esm/api/resources/unstable/resources/internalArticles/types/InternalArticleListItem.d.mts +9 -9
  1200. package/dist/esm/api/resources/unstable/resources/internalArticles/types/InternalArticleSearchResponse.d.mts +5 -5
  1201. package/dist/esm/api/resources/unstable/resources/jobs/client/Client.d.mts +3 -2
  1202. package/dist/esm/api/resources/unstable/resources/jobs/client/Client.mjs +4 -2
  1203. package/dist/esm/api/resources/unstable/resources/jobs/exports.d.mts +2 -0
  1204. package/dist/esm/api/resources/unstable/resources/jobs/exports.mjs +3 -0
  1205. package/dist/esm/api/resources/unstable/resources/jobs/types/Jobs.d.mts +6 -6
  1206. package/dist/esm/api/resources/unstable/resources/macros/client/Client.d.mts +5 -2
  1207. package/dist/esm/api/resources/unstable/resources/macros/client/Client.mjs +16 -13
  1208. package/dist/esm/api/resources/unstable/resources/macros/client/requests/GetMacroRequest.d.mts +0 -15
  1209. package/dist/esm/api/resources/unstable/resources/macros/client/requests/ListMacrosRequest.d.mts +0 -35
  1210. package/dist/esm/api/resources/unstable/resources/macros/exports.d.mts +2 -0
  1211. package/dist/esm/api/resources/unstable/resources/macros/exports.mjs +3 -0
  1212. package/dist/esm/api/resources/unstable/resources/macros/types/Macro.d.mts +10 -10
  1213. package/dist/esm/api/resources/unstable/resources/macros/types/MacroList.d.mts +7 -7
  1214. package/dist/esm/api/resources/unstable/resources/messages/client/Client.d.mts +7 -4
  1215. package/dist/esm/api/resources/unstable/resources/messages/client/Client.mjs +18 -12
  1216. package/dist/esm/api/resources/unstable/resources/messages/exports.d.mts +2 -0
  1217. package/dist/esm/api/resources/unstable/resources/messages/exports.mjs +3 -0
  1218. package/dist/esm/api/resources/unstable/resources/messages/types/Message.d.mts +2 -2
  1219. package/dist/esm/api/resources/unstable/resources/news/client/Client.d.mts +17 -2
  1220. package/dist/esm/api/resources/unstable/resources/news/client/Client.mjs +32 -15
  1221. package/dist/esm/api/resources/unstable/resources/news/exports.d.mts +2 -0
  1222. package/dist/esm/api/resources/unstable/resources/news/exports.mjs +3 -0
  1223. package/dist/esm/api/resources/unstable/resources/news/types/NewsItem.d.mts +14 -14
  1224. package/dist/esm/api/resources/unstable/resources/news/types/Newsfeed.d.mts +5 -5
  1225. package/dist/esm/api/resources/unstable/resources/news/types/NewsfeedAssignment.d.mts +2 -2
  1226. package/dist/esm/api/resources/unstable/resources/notes/client/Client.d.mts +9 -2
  1227. package/dist/esm/api/resources/unstable/resources/notes/client/Client.mjs +18 -9
  1228. package/dist/esm/api/resources/unstable/resources/notes/exports.d.mts +2 -0
  1229. package/dist/esm/api/resources/unstable/resources/notes/exports.mjs +3 -0
  1230. package/dist/esm/api/resources/unstable/resources/notes/types/CompanyNote.d.mts +8 -8
  1231. package/dist/esm/api/resources/unstable/resources/notes/types/Note.d.mts +8 -8
  1232. package/dist/esm/api/resources/unstable/resources/segments/client/Client.d.mts +5 -2
  1233. package/dist/esm/api/resources/unstable/resources/segments/client/Client.mjs +14 -7
  1234. package/dist/esm/api/resources/unstable/resources/segments/exports.d.mts +2 -0
  1235. package/dist/esm/api/resources/unstable/resources/segments/exports.mjs +3 -0
  1236. package/dist/esm/api/resources/unstable/resources/segments/types/Segment.d.mts +7 -7
  1237. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/Client.d.mts +7 -2
  1238. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/Client.mjs +13 -6
  1239. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/client/requests/AttachSubscriptionTypeToContactRequest.d.mts +0 -7
  1240. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/exports.d.mts +2 -0
  1241. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/exports.mjs +3 -0
  1242. package/dist/esm/api/resources/unstable/resources/subscriptionTypes/types/SubscriptionType.d.mts +7 -7
  1243. package/dist/esm/api/resources/unstable/resources/switch/client/Client.d.mts +3 -2
  1244. package/dist/esm/api/resources/unstable/resources/switch/client/Client.mjs +5 -2
  1245. package/dist/esm/api/resources/unstable/resources/switch/exports.d.mts +2 -0
  1246. package/dist/esm/api/resources/unstable/resources/switch/exports.mjs +3 -0
  1247. package/dist/esm/api/resources/unstable/resources/tags/client/Client.d.mts +21 -2
  1248. package/dist/esm/api/resources/unstable/resources/tags/client/Client.mjs +45 -24
  1249. package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToContactRequest.d.mts +0 -6
  1250. package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToConversationRequest.d.mts +0 -7
  1251. package/dist/esm/api/resources/unstable/resources/tags/client/requests/AttachTagToTicketRequest.d.mts +0 -7
  1252. package/dist/esm/api/resources/unstable/resources/tags/client/requests/DetachTagFromConversationRequest.d.mts +0 -14
  1253. package/dist/esm/api/resources/unstable/resources/tags/client/requests/DetachTagFromTicketRequest.d.mts +0 -14
  1254. package/dist/esm/api/resources/unstable/resources/tags/exports.d.mts +2 -0
  1255. package/dist/esm/api/resources/unstable/resources/tags/exports.mjs +3 -0
  1256. package/dist/esm/api/resources/unstable/resources/tags/types/Tag.d.mts +5 -5
  1257. package/dist/esm/api/resources/unstable/resources/tags/types/TagBasic.d.mts +3 -3
  1258. package/dist/esm/api/resources/unstable/resources/teams/client/Client.d.mts +5 -2
  1259. package/dist/esm/api/resources/unstable/resources/teams/client/Client.mjs +7 -3
  1260. package/dist/esm/api/resources/unstable/resources/teams/exports.d.mts +2 -0
  1261. package/dist/esm/api/resources/unstable/resources/teams/exports.mjs +3 -0
  1262. package/dist/esm/api/resources/unstable/resources/teams/types/Team.d.mts +5 -5
  1263. package/dist/esm/api/resources/unstable/resources/ticketStates/client/Client.d.mts +3 -2
  1264. package/dist/esm/api/resources/unstable/resources/ticketStates/client/Client.mjs +3 -1
  1265. package/dist/esm/api/resources/unstable/resources/ticketStates/exports.d.mts +2 -0
  1266. package/dist/esm/api/resources/unstable/resources/ticketStates/exports.mjs +3 -0
  1267. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/Client.d.mts +5 -2
  1268. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/Client.mjs +11 -6
  1269. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.d.mts +1 -1
  1270. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/client/requests/index.mjs +1 -1
  1271. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/exports.d.mts +2 -0
  1272. package/dist/esm/api/resources/unstable/resources/ticketTypeAttributes/exports.mjs +3 -0
  1273. package/dist/esm/api/resources/unstable/resources/ticketTypes/client/Client.d.mts +7 -2
  1274. package/dist/esm/api/resources/unstable/resources/ticketTypes/client/Client.mjs +12 -5
  1275. package/dist/esm/api/resources/unstable/resources/ticketTypes/exports.d.mts +2 -0
  1276. package/dist/esm/api/resources/unstable/resources/ticketTypes/exports.mjs +3 -0
  1277. package/dist/esm/api/resources/unstable/resources/tickets/client/Client.d.mts +14 -2
  1278. package/dist/esm/api/resources/unstable/resources/tickets/client/Client.mjs +28 -14
  1279. package/dist/esm/api/resources/unstable/resources/tickets/client/requests/UpdateTicketRequest.d.mts +0 -12
  1280. package/dist/esm/api/resources/unstable/resources/tickets/exports.d.mts +2 -0
  1281. package/dist/esm/api/resources/unstable/resources/tickets/exports.mjs +3 -0
  1282. package/dist/esm/api/resources/unstable/resources/tickets/types/DeleteTicketResponse.d.mts +3 -3
  1283. package/dist/esm/api/resources/unstable/resources/tickets/types/Ticket.d.mts +17 -17
  1284. package/dist/esm/api/resources/unstable/resources/tickets/types/TicketContacts.d.mts +2 -2
  1285. package/dist/esm/api/resources/unstable/resources/tickets/types/TicketPart.d.mts +15 -15
  1286. package/dist/esm/api/resources/unstable/resources/tickets/types/TicketState.d.mts +5 -5
  1287. package/dist/esm/api/resources/unstable/resources/tickets/types/TicketStateDetailed.d.mts +9 -9
  1288. package/dist/esm/api/resources/unstable/resources/tickets/types/TicketType.d.mts +14 -14
  1289. package/dist/esm/api/resources/unstable/resources/visitors/client/Client.d.mts +9 -4
  1290. package/dist/esm/api/resources/unstable/resources/visitors/client/Client.mjs +20 -8
  1291. package/dist/esm/api/resources/unstable/resources/visitors/client/requests/ConvertVisitorRequest.d.mts +14 -2
  1292. package/dist/esm/api/resources/unstable/resources/visitors/exports.d.mts +2 -0
  1293. package/dist/esm/api/resources/unstable/resources/visitors/exports.mjs +3 -0
  1294. package/dist/esm/api/resources/unstable/resources/workflows/client/Client.d.mts +3 -2
  1295. package/dist/esm/api/resources/unstable/resources/workflows/client/Client.mjs +4 -2
  1296. package/dist/esm/api/resources/unstable/resources/workflows/exports.d.mts +2 -0
  1297. package/dist/esm/api/resources/unstable/resources/workflows/exports.mjs +3 -0
  1298. package/dist/esm/api/resources/unstable/types/ActivityLog.d.mts +10 -10
  1299. package/dist/esm/api/resources/unstable/types/ActivityLogList.d.mts +3 -3
  1300. package/dist/esm/api/resources/unstable/types/ActivityLogMetadata.d.mts +11 -11
  1301. package/dist/esm/api/resources/unstable/types/AddressableList.d.mts +3 -3
  1302. package/dist/esm/api/resources/unstable/types/AdminList.d.mts +2 -2
  1303. package/dist/esm/api/resources/unstable/types/AdminPriorityLevel.d.mts +2 -2
  1304. package/dist/esm/api/resources/unstable/types/AdminReplyConversationRequest.d.mts +5 -5
  1305. package/dist/esm/api/resources/unstable/types/AdminReplyTicketRequest.d.mts +4 -4
  1306. package/dist/esm/api/resources/unstable/types/AdminWithApp.d.mts +14 -14
  1307. package/dist/esm/api/resources/unstable/types/AiCallResponse.d.mts +10 -10
  1308. package/dist/esm/api/resources/unstable/types/App.d.mts +7 -8
  1309. package/dist/esm/api/resources/unstable/types/ArticleContent.d.mts +9 -9
  1310. package/dist/esm/api/resources/unstable/types/ArticleList.d.mts +4 -4
  1311. package/dist/esm/api/resources/unstable/types/ArticleStatistics.d.mts +7 -7
  1312. package/dist/esm/api/resources/unstable/types/ArticleTranslatedContent.d.mts +38 -38
  1313. package/dist/esm/api/resources/unstable/types/AssignConversationRequest.d.mts +1 -1
  1314. package/dist/esm/api/resources/unstable/types/AwayStatusReason.d.mts +8 -8
  1315. package/dist/esm/api/resources/unstable/types/CallList.d.mts +4 -4
  1316. package/dist/esm/api/resources/unstable/types/CloseConversationRequest.d.mts +1 -1
  1317. package/dist/esm/api/resources/unstable/types/CollectionList.d.mts +4 -4
  1318. package/dist/esm/api/resources/unstable/types/CompanyAttachedContacts.d.mts +4 -4
  1319. package/dist/esm/api/resources/unstable/types/CompanyAttachedSegments.d.mts +2 -2
  1320. package/dist/esm/api/resources/unstable/types/CompanyData.d.mts +3 -3
  1321. package/dist/esm/api/resources/unstable/types/CompanyList.d.mts +4 -4
  1322. package/dist/esm/api/resources/unstable/types/CompanyScroll.d.mts +5 -5
  1323. package/dist/esm/api/resources/unstable/types/ContactArchived.d.mts +1 -1
  1324. package/dist/esm/api/resources/unstable/types/ContactAttachedCompanies.d.mts +4 -4
  1325. package/dist/esm/api/resources/unstable/types/ContactBlocked.d.mts +1 -1
  1326. package/dist/esm/api/resources/unstable/types/ContactCompanies.d.mts +4 -4
  1327. package/dist/esm/api/resources/unstable/types/ContactDeleted.d.mts +1 -1
  1328. package/dist/esm/api/resources/unstable/types/ContactList.d.mts +4 -4
  1329. package/dist/esm/api/resources/unstable/types/ContactLocation.d.mts +4 -4
  1330. package/dist/esm/api/resources/unstable/types/ContactNotes.d.mts +4 -4
  1331. package/dist/esm/api/resources/unstable/types/ContactReference.d.mts +3 -3
  1332. package/dist/esm/api/resources/unstable/types/ContactReplyBaseRequest.d.mts +3 -3
  1333. package/dist/esm/api/resources/unstable/types/ContactReplyEmailRequest.d.mts +1 -1
  1334. package/dist/esm/api/resources/unstable/types/ContactReplyIntercomUserIdRequest.d.mts +1 -1
  1335. package/dist/esm/api/resources/unstable/types/ContactReplyUserIdRequest.d.mts +1 -1
  1336. package/dist/esm/api/resources/unstable/types/ContactSegments.d.mts +2 -2
  1337. package/dist/esm/api/resources/unstable/types/ContactSocialProfiles.d.mts +1 -1
  1338. package/dist/esm/api/resources/unstable/types/ContactSubscriptionTypes.d.mts +4 -4
  1339. package/dist/esm/api/resources/unstable/types/ContactTags.d.mts +4 -4
  1340. package/dist/esm/api/resources/unstable/types/ContactUnarchived.d.mts +1 -1
  1341. package/dist/esm/api/resources/unstable/types/ContentSourcesList.d.mts +3 -3
  1342. package/dist/esm/api/resources/unstable/types/ConversationAttachmentFiles.d.mts +3 -3
  1343. package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByAdmin.d.mts +5 -5
  1344. package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByUser.d.mts +5 -5
  1345. package/dist/esm/api/resources/unstable/types/ConversationAttributeUpdatedByWorkflow.d.mts +6 -6
  1346. package/dist/esm/api/resources/unstable/types/ConversationContacts.d.mts +2 -3
  1347. package/dist/esm/api/resources/unstable/types/ConversationDeleted.d.mts +3 -3
  1348. package/dist/esm/api/resources/unstable/types/ConversationFirstContactReply.d.mts +3 -6
  1349. package/dist/esm/api/resources/unstable/types/ConversationList.d.mts +4 -4
  1350. package/dist/esm/api/resources/unstable/types/ConversationPart.d.mts +18 -18
  1351. package/dist/esm/api/resources/unstable/types/ConversationPartAuthor.d.mts +6 -6
  1352. package/dist/esm/api/resources/unstable/types/ConversationPartMetadata.d.mts +3 -3
  1353. package/dist/esm/api/resources/unstable/types/ConversationParts.d.mts +3 -5
  1354. package/dist/esm/api/resources/unstable/types/ConversationRating.d.mts +6 -6
  1355. package/dist/esm/api/resources/unstable/types/ConversationResponseTime.d.mts +3 -3
  1356. package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByRule.d.mts +6 -6
  1357. package/dist/esm/api/resources/unstable/types/ConversationSlaAppliedByWorkflow.d.mts +6 -6
  1358. package/dist/esm/api/resources/unstable/types/ConversationSlaPaused.d.mts +5 -5
  1359. package/dist/esm/api/resources/unstable/types/ConversationSlaRemoved.d.mts +1 -1
  1360. package/dist/esm/api/resources/unstable/types/ConversationSlaTargetMissed.d.mts +6 -6
  1361. package/dist/esm/api/resources/unstable/types/ConversationSlaUnpaused.d.mts +1 -1
  1362. package/dist/esm/api/resources/unstable/types/ConversationSource.d.mts +9 -9
  1363. package/dist/esm/api/resources/unstable/types/ConversationStatistics.d.mts +23 -24
  1364. package/dist/esm/api/resources/unstable/types/ConversationTagsUpdated.d.mts +2 -2
  1365. package/dist/esm/api/resources/unstable/types/ConversationTeammates.d.mts +2 -2
  1366. package/dist/esm/api/resources/unstable/types/CreateArticleRequest.d.mts +6 -6
  1367. package/dist/esm/api/resources/unstable/types/CreateContactRequest.d.mts +4 -0
  1368. package/dist/esm/api/resources/unstable/types/CreateDataAttributeRequest.d.mts +0 -3
  1369. package/dist/esm/api/resources/unstable/types/CreateDataEventRequest.d.mts +1 -0
  1370. package/dist/esm/api/resources/unstable/types/CreateInternalArticleRequest.d.mts +1 -1
  1371. package/dist/esm/api/resources/unstable/types/CreateMessageRequest.d.mts +1 -1
  1372. package/dist/esm/api/resources/unstable/types/CreateOrUpdateCompanyRequest.d.mts +9 -9
  1373. package/dist/esm/api/resources/unstable/types/CreateOrUpdateTagRequest.d.mts +1 -1
  1374. package/dist/esm/api/resources/unstable/types/CreatePhoneSwitchRequest.d.mts +1 -1
  1375. package/dist/esm/api/resources/unstable/types/CreateTicketRequestBody.d.mts +6 -6
  1376. package/dist/esm/api/resources/unstable/types/CreateTicketTypeRequest.d.mts +4 -4
  1377. package/dist/esm/api/resources/unstable/types/CursorPages.d.mts +5 -5
  1378. package/dist/esm/api/resources/unstable/types/CustomActionFinished.d.mts +3 -3
  1379. package/dist/esm/api/resources/unstable/types/CustomActionStarted.d.mts +2 -2
  1380. package/dist/esm/api/resources/unstable/types/CustomChannelContact.d.mts +2 -2
  1381. package/dist/esm/api/resources/unstable/types/CustomObjectInstanceDeleted.d.mts +3 -3
  1382. package/dist/esm/api/resources/unstable/types/CustomObjectInstanceList.d.mts +2 -2
  1383. package/dist/esm/api/resources/unstable/types/DataAttributeList.d.mts +2 -2
  1384. package/dist/esm/api/resources/unstable/types/DataEventList.d.mts +5 -5
  1385. package/dist/esm/api/resources/unstable/types/DataEventSummary.d.mts +5 -5
  1386. package/dist/esm/api/resources/unstable/types/DataEventSummaryItem.d.mts +5 -5
  1387. package/dist/esm/api/resources/unstable/types/DataExportCsv.d.mts +26 -26
  1388. package/dist/esm/api/resources/unstable/types/DeletedArticleObject.d.mts +3 -3
  1389. package/dist/esm/api/resources/unstable/types/DeletedCollectionObject.d.mts +3 -3
  1390. package/dist/esm/api/resources/unstable/types/DeletedCompanyObject.d.mts +3 -3
  1391. package/dist/esm/api/resources/unstable/types/DeletedInternalArticleObject.d.mts +3 -3
  1392. package/dist/esm/api/resources/unstable/types/DeletedObject.d.mts +3 -3
  1393. package/dist/esm/api/resources/unstable/types/EmailAddressHeader.d.mts +3 -3
  1394. package/dist/esm/api/resources/unstable/types/EmailMessageMetadata.d.mts +3 -3
  1395. package/dist/esm/api/resources/unstable/types/Error_.d.mts +3 -4
  1396. package/dist/esm/api/resources/unstable/types/FileAttribute.d.mts +7 -7
  1397. package/dist/esm/api/resources/unstable/types/GroupContent.d.mts +3 -3
  1398. package/dist/esm/api/resources/unstable/types/GroupTranslatedContent.d.mts +38 -38
  1399. package/dist/esm/api/resources/unstable/types/HandlingEvent.d.mts +1 -1
  1400. package/dist/esm/api/resources/unstable/types/HandlingEventList.d.mts +1 -1
  1401. package/dist/esm/api/resources/unstable/types/InternalArticleList.d.mts +4 -4
  1402. package/dist/esm/api/resources/unstable/types/LinkedObject.d.mts +3 -3
  1403. package/dist/esm/api/resources/unstable/types/LinkedObjectList.d.mts +4 -4
  1404. package/dist/esm/api/resources/unstable/types/Metadata.d.mts +2 -0
  1405. package/dist/esm/api/resources/unstable/types/MultipleFilterSearchRequest.d.mts +2 -2
  1406. package/dist/esm/api/resources/unstable/types/NewsItemRequest.d.mts +6 -6
  1407. package/dist/esm/api/resources/unstable/types/NotFoundErrorBody.d.mts +2 -3
  1408. package/dist/esm/api/resources/unstable/types/NoteList.d.mts +4 -4
  1409. package/dist/esm/api/resources/unstable/types/OperatorWorkflowEvent.d.mts +5 -5
  1410. package/dist/esm/api/resources/unstable/types/PagesLink.d.mts +5 -5
  1411. package/dist/esm/api/resources/unstable/types/PaginatedResponse.d.mts +4 -4
  1412. package/dist/esm/api/resources/unstable/types/PartAttachment.d.mts +7 -7
  1413. package/dist/esm/api/resources/unstable/types/PhoneSwitch.d.mts +2 -3
  1414. package/dist/esm/api/resources/unstable/types/PriorityChanged.d.mts +2 -2
  1415. package/dist/esm/api/resources/unstable/types/Reference.d.mts +2 -4
  1416. package/dist/esm/api/resources/unstable/types/RegisterFinVoiceCallRequest.d.mts +2 -2
  1417. package/dist/esm/api/resources/unstable/types/SearchRequest.d.mts +1 -1
  1418. package/dist/esm/api/resources/unstable/types/SegmentList.d.mts +3 -3
  1419. package/dist/esm/api/resources/unstable/types/SingleFilterSearchRequest.d.mts +3 -3
  1420. package/dist/esm/api/resources/unstable/types/SlaApplied.d.mts +3 -3
  1421. package/dist/esm/api/resources/unstable/types/Snoozed.d.mts +2 -2
  1422. package/dist/esm/api/resources/unstable/types/SocialProfile.d.mts +3 -3
  1423. package/dist/esm/api/resources/unstable/types/StartingAfterPaging.d.mts +2 -2
  1424. package/dist/esm/api/resources/unstable/types/SubscriptionTypeList.d.mts +2 -2
  1425. package/dist/esm/api/resources/unstable/types/TagCompanyRequest.d.mts +2 -2
  1426. package/dist/esm/api/resources/unstable/types/TagList.d.mts +2 -2
  1427. package/dist/esm/api/resources/unstable/types/TagMultipleUsersRequest.d.mts +1 -1
  1428. package/dist/esm/api/resources/unstable/types/Tags.d.mts +2 -2
  1429. package/dist/esm/api/resources/unstable/types/TeamList.d.mts +2 -2
  1430. package/dist/esm/api/resources/unstable/types/TeamPriorityLevel.d.mts +2 -2
  1431. package/dist/esm/api/resources/unstable/types/TeammateReference.d.mts +1 -1
  1432. package/dist/esm/api/resources/unstable/types/TicketList.d.mts +4 -4
  1433. package/dist/esm/api/resources/unstable/types/TicketPartAuthor.d.mts +4 -4
  1434. package/dist/esm/api/resources/unstable/types/TicketParts.d.mts +3 -5
  1435. package/dist/esm/api/resources/unstable/types/TicketReply.d.mts +9 -9
  1436. package/dist/esm/api/resources/unstable/types/TicketStateList.d.mts +2 -2
  1437. package/dist/esm/api/resources/unstable/types/TicketTypeAttribute.d.mts +17 -17
  1438. package/dist/esm/api/resources/unstable/types/TicketTypeAttributeList.d.mts +2 -2
  1439. package/dist/esm/api/resources/unstable/types/TicketTypeList.d.mts +2 -2
  1440. package/dist/esm/api/resources/unstable/types/Translation.d.mts +3 -3
  1441. package/dist/esm/api/resources/unstable/types/UntagCompanyRequest.d.mts +3 -3
  1442. package/dist/esm/api/resources/unstable/types/UpdateDataAttributeRequestBody.d.mts +0 -3
  1443. package/dist/esm/api/resources/unstable/types/UpdateVisitorRequest.d.mts +4 -0
  1444. package/dist/esm/api/resources/unstable/types/UpdateVisitorRequest.mjs +2 -0
  1445. package/dist/esm/api/resources/unstable/types/Visitor.d.mts +54 -56
  1446. package/dist/esm/api/resources/unstable/types/VisitorDeletedObject.d.mts +3 -3
  1447. package/dist/esm/api/resources/unstable/types/WhatsappMessageStatusList.d.mts +3 -3
  1448. package/dist/esm/api/resources/unstable/types/WorkflowExport.d.mts +17 -17
  1449. package/dist/esm/api/resources/unstable/types/index.d.mts +4 -0
  1450. package/dist/esm/api/resources/unstable/types/index.mjs +4 -0
  1451. package/dist/esm/api/resources/visitors/client/Client.d.mts +7 -2
  1452. package/dist/esm/api/resources/visitors/client/Client.mjs +19 -7
  1453. package/dist/esm/api/resources/visitors/exports.d.mts +2 -0
  1454. package/dist/esm/api/resources/visitors/exports.mjs +3 -0
  1455. package/dist/esm/api/types/ActivityLog.d.mts +10 -10
  1456. package/dist/esm/api/types/ActivityLogList.d.mts +3 -3
  1457. package/dist/esm/api/types/ActivityLogMetadata.d.mts +20 -20
  1458. package/dist/esm/api/types/AddressableList.d.mts +3 -3
  1459. package/dist/esm/api/types/AdminList.d.mts +2 -2
  1460. package/dist/esm/api/types/AdminPriorityLevel.d.mts +2 -2
  1461. package/dist/esm/api/types/AdminReplyConversationRequest.d.mts +5 -5
  1462. package/dist/esm/api/types/AdminReplyTicketRequest.d.mts +4 -4
  1463. package/dist/esm/api/types/AdminWithApp.d.mts +14 -14
  1464. package/dist/esm/api/types/App.d.mts +7 -8
  1465. package/dist/esm/api/types/ArticleContent.d.mts +9 -9
  1466. package/dist/esm/api/types/ArticleList.d.mts +4 -4
  1467. package/dist/esm/api/types/ArticleStatistics.d.mts +1 -1
  1468. package/dist/esm/api/types/ArticleTranslatedContent.d.mts +38 -38
  1469. package/dist/esm/api/types/AssignConversationRequest.d.mts +1 -1
  1470. package/dist/esm/api/types/AwayStatusReason.d.mts +8 -8
  1471. package/dist/esm/api/types/CallList.d.mts +4 -4
  1472. package/dist/esm/api/types/CloseConversationRequest.d.mts +1 -1
  1473. package/dist/esm/api/types/CollectionList.d.mts +4 -4
  1474. package/dist/esm/api/types/CompanyAttachedContacts.d.mts +4 -4
  1475. package/dist/esm/api/types/CompanyAttachedSegments.d.mts +2 -2
  1476. package/dist/esm/api/types/CompanyData.d.mts +3 -3
  1477. package/dist/esm/api/types/CompanyList.d.mts +4 -4
  1478. package/dist/esm/api/types/CompanyScroll.d.mts +5 -5
  1479. package/dist/esm/api/types/ContactArchived.d.mts +1 -1
  1480. package/dist/esm/api/types/ContactAttachedCompanies.d.mts +4 -4
  1481. package/dist/esm/api/types/ContactBlocked.d.mts +1 -1
  1482. package/dist/esm/api/types/ContactCompanies.d.mts +4 -4
  1483. package/dist/esm/api/types/ContactDeleted.d.mts +1 -1
  1484. package/dist/esm/api/types/ContactList.d.mts +4 -4
  1485. package/dist/esm/api/types/ContactLocation.d.mts +4 -4
  1486. package/dist/esm/api/types/ContactNotes.d.mts +4 -4
  1487. package/dist/esm/api/types/ContactReference.d.mts +3 -3
  1488. package/dist/esm/api/types/ContactReplyBaseRequest.d.mts +3 -3
  1489. package/dist/esm/api/types/ContactReplyEmailRequest.d.mts +1 -1
  1490. package/dist/esm/api/types/ContactReplyIntercomUserIdRequest.d.mts +1 -1
  1491. package/dist/esm/api/types/ContactReplyUserIdRequest.d.mts +1 -1
  1492. package/dist/esm/api/types/ContactSegments.d.mts +2 -2
  1493. package/dist/esm/api/types/ContactSocialProfiles.d.mts +1 -1
  1494. package/dist/esm/api/types/ContactSubscriptionTypes.d.mts +4 -4
  1495. package/dist/esm/api/types/ContactTags.d.mts +4 -4
  1496. package/dist/esm/api/types/ContactUnarchived.d.mts +1 -1
  1497. package/dist/esm/api/types/ContentSourcesList.d.mts +3 -3
  1498. package/dist/esm/api/types/ConversationAttachmentFiles.d.mts +3 -3
  1499. package/dist/esm/api/types/ConversationAttributeUpdatedByAdmin.d.mts +4 -4
  1500. package/dist/esm/api/types/ConversationAttributeUpdatedByWorkflow.d.mts +6 -6
  1501. package/dist/esm/api/types/ConversationContacts.d.mts +2 -3
  1502. package/dist/esm/api/types/ConversationDeleted.d.mts +3 -3
  1503. package/dist/esm/api/types/ConversationFirstContactReply.d.mts +3 -6
  1504. package/dist/esm/api/types/ConversationList.d.mts +4 -4
  1505. package/dist/esm/api/types/ConversationPart.d.mts +18 -18
  1506. package/dist/esm/api/types/ConversationPartAuthor.d.mts +6 -6
  1507. package/dist/esm/api/types/ConversationPartMetadata.d.mts +3 -3
  1508. package/dist/esm/api/types/ConversationParts.d.mts +3 -5
  1509. package/dist/esm/api/types/ConversationRating.d.mts +6 -6
  1510. package/dist/esm/api/types/ConversationResponseTime.d.mts +3 -3
  1511. package/dist/esm/api/types/ConversationSource.d.mts +9 -9
  1512. package/dist/esm/api/types/ConversationStatistics.d.mts +23 -24
  1513. package/dist/esm/api/types/CreateArticleRequest.d.mts +6 -6
  1514. package/dist/esm/api/types/CreateDataAttributeRequest.d.mts +0 -3
  1515. package/dist/esm/api/types/CreateDataEventRequest.d.mts +0 -3
  1516. package/dist/esm/api/types/CreateInternalArticleRequest.d.mts +1 -1
  1517. package/dist/esm/api/types/CreateMessageRequest.d.mts +6 -6
  1518. package/dist/esm/api/types/CreateOrUpdateCompanyRequest.d.mts +9 -9
  1519. package/dist/esm/api/types/CreateOrUpdateTagRequest.d.mts +1 -1
  1520. package/dist/esm/api/types/CreatePhoneSwitchRequest.d.mts +1 -1
  1521. package/dist/esm/api/types/CreateTicketRequestBody.d.mts +6 -6
  1522. package/dist/esm/api/types/CreateTicketTypeRequest.d.mts +4 -4
  1523. package/dist/esm/api/types/CursorPages.d.mts +5 -5
  1524. package/dist/esm/api/types/CustomActionFinished.d.mts +3 -3
  1525. package/dist/esm/api/types/CustomActionStarted.d.mts +2 -2
  1526. package/dist/esm/api/types/CustomChannelContact.d.mts +2 -2
  1527. package/dist/esm/api/types/CustomObjectInstanceDeleted.d.mts +3 -3
  1528. package/dist/esm/api/types/CustomObjectInstanceList.d.mts +2 -2
  1529. package/dist/esm/api/types/DataAttributeList.d.mts +2 -2
  1530. package/dist/esm/api/types/DataEventList.d.mts +5 -5
  1531. package/dist/esm/api/types/DataEventSummary.d.mts +4 -4
  1532. package/dist/esm/api/types/DataEventSummaryItem.d.mts +5 -5
  1533. package/dist/esm/api/types/DataExportCsv.d.mts +26 -26
  1534. package/dist/esm/api/types/DeletedArticleObject.d.mts +3 -3
  1535. package/dist/esm/api/types/DeletedCollectionObject.d.mts +3 -3
  1536. package/dist/esm/api/types/DeletedCompanyObject.d.mts +3 -3
  1537. package/dist/esm/api/types/DeletedInternalArticleObject.d.mts +3 -3
  1538. package/dist/esm/api/types/DeletedObject.d.mts +3 -3
  1539. package/dist/esm/api/types/EmailAddressHeader.d.mts +3 -3
  1540. package/dist/esm/api/types/EmailMessageMetadata.d.mts +2 -2
  1541. package/dist/esm/api/types/Error_.d.mts +3 -4
  1542. package/dist/esm/api/types/FileAttribute.d.mts +7 -7
  1543. package/dist/esm/api/types/GroupContent.d.mts +3 -3
  1544. package/dist/esm/api/types/GroupTranslatedContent.d.mts +38 -38
  1545. package/dist/esm/api/types/InternalArticleList.d.mts +4 -4
  1546. package/dist/esm/api/types/IpAllowlist.d.mts +3 -3
  1547. package/dist/esm/api/types/LinkedObject.d.mts +3 -3
  1548. package/dist/esm/api/types/LinkedObjectList.d.mts +4 -4
  1549. package/dist/esm/api/types/Metadata.d.mts +1 -1
  1550. package/dist/esm/api/types/MultipleFilterSearchRequest.d.mts +2 -2
  1551. package/dist/esm/api/types/NewsItemRequest.d.mts +6 -6
  1552. package/dist/esm/api/types/NotFoundErrorBody.d.mts +2 -3
  1553. package/dist/esm/api/types/NoteList.d.mts +3 -3
  1554. package/dist/esm/api/types/OffsetPages.d.mts +4 -4
  1555. package/dist/esm/api/types/OperatorWorkflowEvent.d.mts +5 -5
  1556. package/dist/esm/api/types/PagesLink.d.mts +5 -5
  1557. package/dist/esm/api/types/PaginatedResponse.d.mts +4 -4
  1558. package/dist/esm/api/types/PartAttachment.d.mts +7 -7
  1559. package/dist/esm/api/types/PhoneSwitch.d.mts +2 -3
  1560. package/dist/esm/api/types/Reference.d.mts +2 -4
  1561. package/dist/esm/api/types/SearchRequest.d.mts +1 -1
  1562. package/dist/esm/api/types/SegmentList.d.mts +3 -3
  1563. package/dist/esm/api/types/SingleFilterSearchRequest.d.mts +3 -3
  1564. package/dist/esm/api/types/SlaApplied.d.mts +3 -3
  1565. package/dist/esm/api/types/SocialProfile.d.mts +3 -3
  1566. package/dist/esm/api/types/StartingAfterPaging.d.mts +2 -2
  1567. package/dist/esm/api/types/SubscriptionTypeList.d.mts +2 -2
  1568. package/dist/esm/api/types/TagCompanyRequest.d.mts +2 -2
  1569. package/dist/esm/api/types/TagList.d.mts +2 -2
  1570. package/dist/esm/api/types/TagMultipleUsersRequest.d.mts +1 -1
  1571. package/dist/esm/api/types/Tags.d.mts +2 -2
  1572. package/dist/esm/api/types/TeamList.d.mts +2 -2
  1573. package/dist/esm/api/types/TeamPriorityLevel.d.mts +2 -2
  1574. package/dist/esm/api/types/TicketList.d.mts +4 -4
  1575. package/dist/esm/api/types/TicketPartAuthor.d.mts +4 -4
  1576. package/dist/esm/api/types/TicketParts.d.mts +3 -5
  1577. package/dist/esm/api/types/TicketReply.d.mts +9 -9
  1578. package/dist/esm/api/types/TicketStateList.d.mts +2 -2
  1579. package/dist/esm/api/types/TicketTypeAttribute.d.mts +17 -17
  1580. package/dist/esm/api/types/TicketTypeAttributeList.d.mts +2 -2
  1581. package/dist/esm/api/types/TicketTypeList.d.mts +2 -2
  1582. package/dist/esm/api/types/Translation.d.mts +3 -3
  1583. package/dist/esm/api/types/UntagCompanyRequest.d.mts +3 -3
  1584. package/dist/esm/api/types/UpdateArticleRequestBody.d.mts +1 -1
  1585. package/dist/esm/api/types/UpdateCompanyRequestBody.d.mts +7 -7
  1586. package/dist/esm/api/types/UpdateDataAttributeRequestBody.d.mts +0 -3
  1587. package/dist/esm/api/types/Visitor.d.mts +51 -53
  1588. package/dist/esm/api/types/VisitorDeletedObject.d.mts +3 -3
  1589. package/dist/esm/api/types/WhatsappMessageStatusList.d.mts +3 -3
  1590. package/dist/esm/api/types/compat.d.mts +6 -0
  1591. package/dist/esm/api/types/compat.mjs +1 -0
  1592. package/dist/esm/api/types/index.d.mts +0 -3
  1593. package/dist/esm/api/types/index.mjs +0 -3
  1594. package/dist/esm/auth/BearerAuthProvider.d.mts +14 -8
  1595. package/dist/esm/auth/BearerAuthProvider.mjs +16 -6
  1596. package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
  1597. package/dist/esm/core/auth/AuthProvider.mjs +6 -1
  1598. package/dist/esm/core/auth/BasicAuth.d.mts +2 -2
  1599. package/dist/esm/core/auth/BasicAuth.mjs +7 -1
  1600. package/dist/esm/core/auth/index.d.mts +1 -1
  1601. package/dist/esm/core/auth/index.mjs +1 -0
  1602. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  1603. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
  1604. package/dist/esm/core/fetcher/Fetcher.d.mts +9 -2
  1605. package/dist/esm/core/fetcher/Fetcher.mjs +56 -98
  1606. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +21 -8
  1607. package/dist/esm/core/fetcher/getResponseBody.d.mts +16 -0
  1608. package/dist/esm/core/fetcher/getResponseBody.mjs +37 -22
  1609. package/dist/esm/core/fetcher/index.d.mts +2 -0
  1610. package/dist/esm/core/fetcher/index.mjs +1 -0
  1611. package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
  1612. package/dist/esm/core/fetcher/makePassthroughRequest.mjs +173 -0
  1613. package/dist/esm/core/fetcher/makeRequest.d.mts +11 -1
  1614. package/dist/esm/core/fetcher/makeRequest.mjs +63 -12
  1615. package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
  1616. package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
  1617. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -1
  1618. package/dist/esm/core/fetcher/requestWithRetries.mjs +27 -3
  1619. package/dist/esm/core/fetcher/signals.d.mts +1 -0
  1620. package/dist/esm/core/fetcher/signals.mjs +10 -2
  1621. package/dist/esm/core/headers.d.mts +2 -2
  1622. package/dist/esm/core/pagination/Page.d.mts +1 -1
  1623. package/dist/esm/core/requestBody.d.mts +12 -0
  1624. package/dist/esm/core/requestBody.mjs +23 -0
  1625. package/dist/esm/core/runtime/index.d.mts +1 -1
  1626. package/dist/esm/core/runtime/index.mjs +1 -1
  1627. package/dist/esm/core/runtime/runtime.d.mts +19 -0
  1628. package/dist/esm/core/runtime/runtime.mjs +80 -8
  1629. package/dist/esm/core/url/QueryStringBuilder.d.mts +48 -0
  1630. package/dist/esm/core/url/QueryStringBuilder.mjs +85 -0
  1631. package/dist/esm/core/url/encodePathParam.d.mts +3 -1
  1632. package/dist/esm/core/url/encodePathParam.mjs +8 -2
  1633. package/dist/esm/core/url/index.d.mts +1 -0
  1634. package/dist/esm/core/url/index.mjs +1 -0
  1635. package/dist/esm/core/url/qs.d.mts +2 -1
  1636. package/dist/esm/core/url/qs.mjs +25 -13
  1637. package/dist/esm/core/utils/setObjectProperty.d.mts +6 -5
  1638. package/dist/esm/core/utils/setObjectProperty.mjs +16 -10
  1639. package/dist/esm/errors/IntercomError.d.mts +4 -1
  1640. package/dist/esm/errors/IntercomError.mjs +27 -2
  1641. package/dist/esm/errors/IntercomTimeoutError.d.mts +5 -2
  1642. package/dist/esm/errors/IntercomTimeoutError.mjs +12 -4
  1643. package/dist/esm/errors/handleNonStatusCodeError.mjs +4 -1
  1644. package/dist/esm/version.d.mts +1 -1
  1645. package/dist/esm/version.mjs +1 -1
  1646. package/package.json +2 -2
  1647. package/reference.md +31 -30
  1648. package/dist/cjs/api/types/CreateContactRequestTwo.d.ts +0 -1
  1649. package/dist/cjs/api/types/CreateDataEventRequestTwo.d.ts +0 -1
  1650. package/dist/cjs/api/types/UpdateVisitorRequestOne.d.ts +0 -1
  1651. package/dist/esm/api/types/CreateContactRequestTwo.d.mts +0 -1
  1652. package/dist/esm/api/types/CreateDataEventRequestTwo.d.mts +0 -1
  1653. package/dist/esm/api/types/UpdateVisitorRequestOne.d.mts +0 -1
  1654. /package/dist/cjs/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.js → ReplyConversationBody.js} +0 -0
  1655. /package/dist/cjs/api/resources/unstable/resources/dataAttributes/client/requests/{UpdateDataAttributeRequest.js → UpdateDataAttributeBody.js} +0 -0
  1656. /package/dist/cjs/api/{types/CreateContactRequestTwo.js → resources/unstable/types/CreateContactRequest.js} +0 -0
  1657. /package/dist/cjs/api/{types/CreateDataEventRequestTwo.js → resources/unstable/types/CreateDataEventRequest.js} +0 -0
  1658. /package/dist/cjs/api/{types/UpdateVisitorRequestOne.js → resources/unstable/types/Metadata.js} +0 -0
  1659. /package/dist/esm/api/resources/unstable/resources/conversations/client/requests/{ReplyConversationRequest.mjs → ReplyConversationBody.mjs} +0 -0
  1660. /package/dist/esm/api/resources/unstable/resources/dataAttributes/client/requests/{UpdateDataAttributeRequest.mjs → UpdateDataAttributeBody.mjs} +0 -0
  1661. /package/dist/esm/api/{types/CreateContactRequestTwo.mjs → resources/unstable/types/CreateContactRequest.mjs} +0 -0
  1662. /package/dist/esm/api/{types/CreateDataEventRequestTwo.mjs → resources/unstable/types/CreateDataEventRequest.mjs} +0 -0
  1663. /package/dist/esm/api/{types/UpdateVisitorRequestOne.mjs → resources/unstable/types/Metadata.mjs} +0 -0
@@ -16,26 +16,38 @@ function stringifyObject(obj, prefix = "", options) {
16
16
  const parts = [];
17
17
  for (const [key, value] of Object.entries(obj)) {
18
18
  const fullKey = prefix ? `${prefix}[${key}]` : key;
19
- if (value === undefined) {
19
+ if (value == null) {
20
20
  continue;
21
21
  }
22
22
  if (Array.isArray(value)) {
23
23
  if (value.length === 0) {
24
24
  continue;
25
25
  }
26
- for (let i = 0; i < value.length; i++) {
27
- const item = value[i];
28
- if (item === undefined) {
29
- continue;
26
+ const effectiveFormat = options.arrayFormat;
27
+ if (effectiveFormat === "comma") {
28
+ const encodedKey = options.encode ? encodeURIComponent(fullKey) : fullKey;
29
+ const encodedValues = value
30
+ .filter((item) => item !== undefined && item !== null)
31
+ .map((item) => encodeValue(item, options.encode));
32
+ if (encodedValues.length > 0) {
33
+ parts.push(`${encodedKey}=${encodedValues.join(",")}`);
30
34
  }
31
- if (typeof item === "object" && !Array.isArray(item) && item !== null) {
32
- const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
33
- parts.push(...stringifyObject(item, arrayKey, options));
34
- }
35
- else {
36
- const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
37
- const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
38
- parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
35
+ }
36
+ else {
37
+ for (let i = 0; i < value.length; i++) {
38
+ const item = value[i];
39
+ if (item == null) {
40
+ continue;
41
+ }
42
+ if (typeof item === "object" && !Array.isArray(item) && item !== null) {
43
+ const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
44
+ parts.push(...stringifyObject(item, arrayKey, options));
45
+ }
46
+ else {
47
+ const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
48
+ const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
49
+ parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
50
+ }
39
51
  }
40
52
  }
41
53
  }
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Sets the value at path of object. If a portion of path doesn’t exist it’s created. This is
3
- * inspired by Lodash's set function, but is simplified to accommodate our use case.
4
- * For more details, see https://lodash.com/docs/4.17.15#set.
2
+ * Returns a copy of object with the value at path set. If a portion of path doesn’t exist it’s created.
3
+ * Each object along path is shallow-copied, so the original object (and any nested objects it
4
+ * shares with the copy) is never modified. This is inspired by Lodash's set function, but is
5
+ * simplified to accommodate our use case. For more details, see https://lodash.com/docs/4.17.15#set.
5
6
  *
6
- * @param object The object to modify.
7
+ * @param object The object to copy.
7
8
  * @param path The path of the property to set.
8
9
  * @param value The value to set.
9
- * @return Returns object.
10
+ * @return Returns the updated copy of object.
10
11
  */
11
12
  export declare function setObjectProperty<T extends object>(object: T, path: string, value: any): T;
@@ -1,12 +1,13 @@
1
1
  /**
2
- * Sets the value at path of object. If a portion of path doesn’t exist it’s created. This is
3
- * inspired by Lodash's set function, but is simplified to accommodate our use case.
4
- * For more details, see https://lodash.com/docs/4.17.15#set.
2
+ * Returns a copy of object with the value at path set. If a portion of path doesn’t exist it’s created.
3
+ * Each object along path is shallow-copied, so the original object (and any nested objects it
4
+ * shares with the copy) is never modified. This is inspired by Lodash's set function, but is
5
+ * simplified to accommodate our use case. For more details, see https://lodash.com/docs/4.17.15#set.
5
6
  *
6
- * @param object The object to modify.
7
+ * @param object The object to copy.
7
8
  * @param path The path of the property to set.
8
9
  * @param value The value to set.
9
- * @return Returns object.
10
+ * @return Returns the updated copy of object.
10
11
  */
11
12
  export function setObjectProperty(object, path, value) {
12
13
  if (object == null) {
@@ -17,23 +18,28 @@ export function setObjectProperty(object, path, value) {
17
18
  // Invalid path; do nothing.
18
19
  return object;
19
20
  }
20
- let current = object;
21
+ const result = Object.assign({}, object);
22
+ let current = result;
21
23
  for (let i = 0; i < keys.length - 1; i++) {
22
24
  const key = keys[i];
23
25
  if (key == null) {
24
26
  // Unreachable.
25
27
  continue;
26
28
  }
27
- if (!current[key] || typeof current[key] !== "object") {
28
- current[key] = {};
29
+ const next = current[key];
30
+ if (Array.isArray(next)) {
31
+ current[key] = [...next];
32
+ }
33
+ else {
34
+ current[key] = next != null && typeof next === "object" ? Object.assign({}, next) : {};
29
35
  }
30
36
  current = current[key];
31
37
  }
32
38
  const lastKey = keys[keys.length - 1];
33
39
  if (lastKey == null) {
34
40
  // Unreachable.
35
- return object;
41
+ return result;
36
42
  }
37
43
  current[lastKey] = value;
38
- return object;
44
+ return result;
39
45
  }
@@ -3,10 +3,13 @@ export declare class IntercomError extends Error {
3
3
  readonly statusCode?: number;
4
4
  readonly body?: unknown;
5
5
  readonly rawResponse?: core.RawResponse;
6
- constructor({ message, statusCode, body, rawResponse, }: {
6
+ readonly cause?: unknown;
7
+ constructor({ message, statusCode, body, rawResponse, cause, }: {
7
8
  message?: string;
8
9
  statusCode?: number;
9
10
  body?: unknown;
10
11
  rawResponse?: core.RawResponse;
12
+ cause?: unknown;
11
13
  });
14
+ get requestId(): string | undefined;
12
15
  }
@@ -1,12 +1,37 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import { toJson } from "../core/json.mjs";
3
3
  export class IntercomError extends Error {
4
- constructor({ message, statusCode, body, rawResponse, }) {
4
+ constructor({ message, statusCode, body, rawResponse, cause, }) {
5
5
  super(buildMessage({ message, statusCode, body }));
6
- Object.setPrototypeOf(this, IntercomError.prototype);
6
+ Object.setPrototypeOf(this, new.target.prototype);
7
+ if (Error.captureStackTrace) {
8
+ Error.captureStackTrace(this, this.constructor);
9
+ }
10
+ this.name = "IntercomError";
7
11
  this.statusCode = statusCode;
8
12
  this.body = body;
9
13
  this.rawResponse = rawResponse;
14
+ if (cause != null) {
15
+ this.cause = cause;
16
+ }
17
+ }
18
+ get requestId() {
19
+ var _a;
20
+ const headers = (_a = this.rawResponse) === null || _a === void 0 ? void 0 : _a.headers;
21
+ if (headers == null) {
22
+ return undefined;
23
+ }
24
+ const requestId = headers.get("X-Request-Id");
25
+ if (requestId != null) {
26
+ return requestId;
27
+ }
28
+ let fallback;
29
+ headers.forEach((value, name) => {
30
+ if (fallback === undefined && /request[-_]?id$/i.test(name)) {
31
+ fallback = value;
32
+ }
33
+ });
34
+ return fallback;
10
35
  }
11
36
  }
12
37
  function buildMessage({ message, statusCode, body, }) {
@@ -1,3 +1,6 @@
1
- export declare class IntercomTimeoutError extends Error {
2
- constructor(message: string);
1
+ import * as errors from "./index.mjs";
2
+ export declare class IntercomTimeoutError extends errors.IntercomError {
3
+ constructor(message: string, opts?: {
4
+ cause?: unknown;
5
+ });
3
6
  }
@@ -1,7 +1,15 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export class IntercomTimeoutError extends Error {
3
- constructor(message) {
4
- super(message);
5
- Object.setPrototypeOf(this, IntercomTimeoutError.prototype);
2
+ import * as errors from "./index.mjs";
3
+ export class IntercomTimeoutError extends errors.IntercomError {
4
+ constructor(message, opts) {
5
+ super({
6
+ message: message,
7
+ cause: opts === null || opts === void 0 ? void 0 : opts.cause,
8
+ });
9
+ Object.setPrototypeOf(this, new.target.prototype);
10
+ if (Error.captureStackTrace) {
11
+ Error.captureStackTrace(this, this.constructor);
12
+ }
13
+ this.name = "IntercomTimeoutError";
6
14
  }
7
15
  }
@@ -14,11 +14,14 @@ export function handleNonStatusCodeError(error, rawResponse, method, path) {
14
14
  rawResponse: rawResponse,
15
15
  });
16
16
  case "timeout":
17
- throw new errors.IntercomTimeoutError(`Timeout exceeded when calling ${method} ${path}.`);
17
+ throw new errors.IntercomTimeoutError(`Timeout exceeded when calling ${method} ${path}.`, {
18
+ cause: error.cause,
19
+ });
18
20
  case "unknown":
19
21
  throw new errors.IntercomError({
20
22
  message: error.errorMessage,
21
23
  rawResponse: rawResponse,
24
+ cause: error.cause,
22
25
  });
23
26
  default:
24
27
  throw new errors.IntercomError({
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "7.0.3";
1
+ export declare const SDK_VERSION = "7.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "7.0.3";
1
+ export const SDK_VERSION = "7.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intercom-client",
3
- "version": "7.0.3",
3
+ "version": "7.1.0",
4
4
  "private": false,
5
5
  "repository": "github:intercom/intercom-node",
6
6
  "type": "commonjs",
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "webpack": "^5.97.1",
48
48
  "ts-loader": "^9.5.1",
49
- "vitest": "^3.2.4",
49
+ "vitest": "^4.1.0",
50
50
  "msw": "2.11.2",
51
51
  "@types/node": "^18.19.70",
52
52
  "typescript": "~5.7.2",
package/reference.md CHANGED
@@ -943,7 +943,7 @@ await client.aiContent.deleteExternalPage({
943
943
  </details>
944
944
 
945
945
  ## Articles
946
- <details><summary><code>client.articles.<a href="/src/api/resources/articles/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.ArticleListItem, Intercom.ArticleList></code></summary>
946
+ <details><summary><code>client.articles.<a href="/src/api/resources/articles/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.ArticleListItem, Intercom.ArticleList&gt;</code></summary>
947
947
  <dl>
948
948
  <dd>
949
949
 
@@ -982,7 +982,7 @@ for await (const item of pageableResponse) {
982
982
  // Or you can manually iterate page-by-page
983
983
  let page = await client.articles.list();
984
984
  while (page.hasNextPage()) {
985
- page = page.getNextPage();
985
+ page = await page.getNextPage();
986
986
  }
987
987
 
988
988
  // You can also access the underlying response
@@ -1994,7 +1994,7 @@ await client.helpCenters.find({
1994
1994
  </dl>
1995
1995
  </details>
1996
1996
 
1997
- <details><summary><code>client.helpCenters.<a href="/src/api/resources/helpCenters/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.HelpCenter, Intercom.HelpCenterList></code></summary>
1997
+ <details><summary><code>client.helpCenters.<a href="/src/api/resources/helpCenters/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.HelpCenter, Intercom.HelpCenterList&gt;</code></summary>
1998
1998
  <dl>
1999
1999
  <dd>
2000
2000
 
@@ -2029,7 +2029,7 @@ for await (const item of pageableResponse) {
2029
2029
  // Or you can manually iterate page-by-page
2030
2030
  let page = await client.helpCenters.list();
2031
2031
  while (page.hasNextPage()) {
2032
- page = page.getNextPage();
2032
+ page = await page.getNextPage();
2033
2033
  }
2034
2034
 
2035
2035
  // You can also access the underlying response
@@ -3070,7 +3070,7 @@ await client.companies.listAttachedSegments({
3070
3070
  </dl>
3071
3071
  </details>
3072
3072
 
3073
- <details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Company, Intercom.CompanyList></code></summary>
3073
+ <details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.Company, Intercom.CompanyList&gt;</code></summary>
3074
3074
  <dl>
3075
3075
  <dd>
3076
3076
 
@@ -3121,7 +3121,7 @@ let page = await client.companies.list({
3121
3121
  order: "desc"
3122
3122
  });
3123
3123
  while (page.hasNextPage()) {
3124
- page = page.getNextPage();
3124
+ page = await page.getNextPage();
3125
3125
  }
3126
3126
 
3127
3127
  // You can also access the underlying response
@@ -3161,7 +3161,7 @@ const response = page.response;
3161
3161
  </dl>
3162
3162
  </details>
3163
3163
 
3164
- <details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">scroll</a>({ ...params }) -> core.Page<Intercom.Company, Intercom.CompanyScroll | undefined></code></summary>
3164
+ <details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">scroll</a>({ ...params }) -> core.Page&lt;Intercom.Company, Intercom.CompanyScroll | undefined&gt;</code></summary>
3165
3165
  <dl>
3166
3166
  <dd>
3167
3167
 
@@ -3214,7 +3214,7 @@ let page = await client.companies.scroll({
3214
3214
  scroll_param: "scroll_param"
3215
3215
  });
3216
3216
  while (page.hasNextPage()) {
3217
- page = page.getNextPage();
3217
+ page = await page.getNextPage();
3218
3218
  }
3219
3219
 
3220
3220
  // You can also access the underlying response
@@ -3387,7 +3387,7 @@ await client.companies.detachContact({
3387
3387
  </details>
3388
3388
 
3389
3389
  ## Contacts
3390
- <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">listAttachedCompanies</a>({ ...params }) -> core.Page<Intercom.Company, Intercom.ContactAttachedCompanies></code></summary>
3390
+ <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">listAttachedCompanies</a>({ ...params }) -> core.Page&lt;Intercom.Company, Intercom.ContactAttachedCompanies&gt;</code></summary>
3391
3391
  <dl>
3392
3392
  <dd>
3393
3393
 
@@ -3430,7 +3430,7 @@ let page = await client.contacts.listAttachedCompanies({
3430
3430
  per_page: 1
3431
3431
  });
3432
3432
  while (page.hasNextPage()) {
3433
- page = page.getNextPage();
3433
+ page = await page.getNextPage();
3434
3434
  }
3435
3435
 
3436
3436
  // You can also access the underlying response
@@ -4079,7 +4079,7 @@ await client.contacts.mergeLeadInUser({
4079
4079
  </dl>
4080
4080
  </details>
4081
4081
 
4082
- <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">search</a>({ ...params }) -> core.Page<Intercom.Contact, Intercom.ContactList></code></summary>
4082
+ <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">search</a>({ ...params }) -> core.Page&lt;Intercom.Contact, Intercom.ContactList&gt;</code></summary>
4083
4083
  <dl>
4084
4084
  <dd>
4085
4085
 
@@ -4236,7 +4236,7 @@ let page = await client.contacts.search({
4236
4236
  }
4237
4237
  });
4238
4238
  while (page.hasNextPage()) {
4239
- page = page.getNextPage();
4239
+ page = await page.getNextPage();
4240
4240
  }
4241
4241
 
4242
4242
  // You can also access the underlying response
@@ -4276,7 +4276,7 @@ const response = page.response;
4276
4276
  </dl>
4277
4277
  </details>
4278
4278
 
4279
- <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Contact, Intercom.ContactList></code></summary>
4279
+ <details><summary><code>client.contacts.<a href="/src/api/resources/contacts/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.Contact, Intercom.ContactList&gt;</code></summary>
4280
4280
  <dl>
4281
4281
  <dd>
4282
4282
 
@@ -4315,7 +4315,7 @@ for await (const item of pageableResponse) {
4315
4315
  // Or you can manually iterate page-by-page
4316
4316
  let page = await client.contacts.list();
4317
4317
  while (page.hasNextPage()) {
4318
- page = page.getNextPage();
4318
+ page = await page.getNextPage();
4319
4319
  }
4320
4320
 
4321
4321
  // You can also access the underlying response
@@ -4681,7 +4681,7 @@ await client.contacts.blockContact({
4681
4681
  </details>
4682
4682
 
4683
4683
  ## Notes
4684
- <details><summary><code>client.notes.<a href="/src/api/resources/notes/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Note, Intercom.NoteList></code></summary>
4684
+ <details><summary><code>client.notes.<a href="/src/api/resources/notes/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.Note, Intercom.NoteList&gt;</code></summary>
4685
4685
  <dl>
4686
4686
  <dd>
4687
4687
 
@@ -4720,7 +4720,7 @@ let page = await client.notes.list({
4720
4720
  contact_id: "contact_id"
4721
4721
  });
4722
4722
  while (page.hasNextPage()) {
4723
- page = page.getNextPage();
4723
+ page = await page.getNextPage();
4724
4724
  }
4725
4725
 
4726
4726
  // You can also access the underlying response
@@ -5558,7 +5558,7 @@ await client.tags.untagTicket({
5558
5558
  </details>
5559
5559
 
5560
5560
  ## Conversations
5561
- <details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Conversation, Intercom.ConversationList></code></summary>
5561
+ <details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.Conversation, Intercom.ConversationList&gt;</code></summary>
5562
5562
  <dl>
5563
5563
  <dd>
5564
5564
 
@@ -5605,7 +5605,7 @@ let page = await client.conversations.list({
5605
5605
  starting_after: "starting_after"
5606
5606
  });
5607
5607
  while (page.hasNextPage()) {
5608
- page = page.getNextPage();
5608
+ page = await page.getNextPage();
5609
5609
  }
5610
5610
 
5611
5611
  // You can also access the underlying response
@@ -5948,7 +5948,7 @@ await client.conversations.deleteConversation({
5948
5948
  </dl>
5949
5949
  </details>
5950
5950
 
5951
- <details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">search</a>({ ...params }) -> core.Page<Intercom.Conversation, Intercom.ConversationList></code></summary>
5951
+ <details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">search</a>({ ...params }) -> core.Page&lt;Intercom.Conversation, Intercom.ConversationList&gt;</code></summary>
5952
5952
  <dl>
5953
5953
  <dd>
5954
5954
 
@@ -6105,7 +6105,7 @@ let page = await client.conversations.search({
6105
6105
  }
6106
6106
  });
6107
6107
  while (page.hasNextPage()) {
6108
- page = page.getNextPage();
6108
+ page = await page.getNextPage();
6109
6109
  }
6110
6110
 
6111
6111
  // You can also access the underlying response
@@ -9334,7 +9334,7 @@ await client.tickets.deleteTicket({
9334
9334
  </dl>
9335
9335
  </details>
9336
9336
 
9337
- <details><summary><code>client.tickets.<a href="/src/api/resources/tickets/client/Client.ts">search</a>({ ...params }) -> core.Page<(Intercom.Ticket | undefined), Intercom.TicketList></code></summary>
9337
+ <details><summary><code>client.tickets.<a href="/src/api/resources/tickets/client/Client.ts">search</a>({ ...params }) -> core.Page&lt;(Intercom.Ticket | undefined), Intercom.TicketList&gt;</code></summary>
9338
9338
  <dl>
9339
9339
  <dd>
9340
9340
 
@@ -9461,7 +9461,7 @@ let page = await client.tickets.search({
9461
9461
  }
9462
9462
  });
9463
9463
  while (page.hasNextPage()) {
9464
- page = page.getNextPage();
9464
+ page = await page.getNextPage();
9465
9465
  }
9466
9466
 
9467
9467
  // You can also access the underlying response
@@ -9714,7 +9714,7 @@ await client.visitors.mergeToContact({
9714
9714
  </details>
9715
9715
 
9716
9716
  ## HelpCenters Collections
9717
- <details><summary><code>client.helpCenters.collections.<a href="/src/api/resources/helpCenters/resources/collections/client/Client.ts">list</a>({ ...params }) -> core.Page<Intercom.Collection, Intercom.CollectionList></code></summary>
9717
+ <details><summary><code>client.helpCenters.collections.<a href="/src/api/resources/helpCenters/resources/collections/client/Client.ts">list</a>({ ...params }) -> core.Page&lt;Intercom.Collection, Intercom.CollectionList&gt;</code></summary>
9718
9718
  <dl>
9719
9719
  <dd>
9720
9720
 
@@ -9751,7 +9751,7 @@ for await (const item of pageableResponse) {
9751
9751
  // Or you can manually iterate page-by-page
9752
9752
  let page = await client.helpCenters.collections.list();
9753
9753
  while (page.hasNextPage()) {
9754
- page = page.getNextPage();
9754
+ page = await page.getNextPage();
9755
9755
  }
9756
9756
 
9757
9757
  // You can also access the underlying response
@@ -14783,7 +14783,7 @@ await client.unstable.contacts.createContact({
14783
14783
  <dl>
14784
14784
  <dd>
14785
14785
 
14786
- **request:** `Intercom.CreateContactRequestTwo`
14786
+ **request:** `Intercom.CreateContactRequest`
14787
14787
 
14788
14788
  </dd>
14789
14789
  </dl>
@@ -16523,7 +16523,7 @@ await client.unstable.conversations.replyConversation({
16523
16523
  <dl>
16524
16524
  <dd>
16525
16525
 
16526
- **request:** `Intercom.unstable.ReplyConversationRequest`
16526
+ **request:** `Intercom.unstable.ReplyConversationBody`
16527
16527
 
16528
16528
  </dd>
16529
16529
  </dl>
@@ -17789,7 +17789,7 @@ await client.unstable.dataAttributes.updateDataAttribute({
17789
17789
  <dl>
17790
17790
  <dd>
17791
17791
 
17792
- **request:** `Intercom.unstable.UpdateDataAttributeRequest`
17792
+ **request:** `Intercom.unstable.UpdateDataAttributeBody`
17793
17793
 
17794
17794
  </dd>
17795
17795
  </dl>
@@ -17977,7 +17977,7 @@ await client.unstable.dataEvents.createDataEvent({
17977
17977
  <dl>
17978
17978
  <dd>
17979
17979
 
17980
- **request:** `Intercom.CreateDataEventRequestTwo`
17980
+ **request:** `Intercom.CreateDataEventRequest`
17981
17981
 
17982
17982
  </dd>
17983
17983
  </dl>
@@ -18707,7 +18707,7 @@ await client.unstable.messages.createMessage({
18707
18707
  <dl>
18708
18708
  <dd>
18709
18709
 
18710
- **request:** `Intercom.CreateMessageRequest | undefined`
18710
+ **request:** `Intercom.CreateMessageRequest`
18711
18711
 
18712
18712
  </dd>
18713
18713
  </dl>
@@ -21205,7 +21205,7 @@ await client.unstable.visitors.updateVisitor({
21205
21205
  <dl>
21206
21206
  <dd>
21207
21207
 
21208
- **request:** `Intercom.UpdateVisitorRequestOne`
21208
+ **request:** `Intercom.UpdateVisitorRequest`
21209
21209
 
21210
21210
  </dd>
21211
21211
  </dl>
@@ -21542,3 +21542,4 @@ await client.unstable.emails.retrieveEmail({
21542
21542
  </dd>
21543
21543
  </dl>
21544
21544
  </details>
21545
+
@@ -1 +0,0 @@
1
- export type CreateContactRequestTwo = unknown;
@@ -1 +0,0 @@
1
- export type CreateDataEventRequestTwo = unknown;
@@ -1 +0,0 @@
1
- export type UpdateVisitorRequestOne = unknown;
@@ -1 +0,0 @@
1
- export type CreateContactRequestTwo = unknown;
@@ -1 +0,0 @@
1
- export type CreateDataEventRequestTwo = unknown;
@@ -1 +0,0 @@
1
- export type UpdateVisitorRequestOne = unknown;