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
@@ -11,13 +11,13 @@ export interface ExternalPage {
11
11
  /** The body of the external page in HTML. */
12
12
  html: string;
13
13
  /** The URL of the external page. This will be used by Fin to link end users to the page it based its answer on. */
14
- url?: string;
14
+ url?: string | undefined;
15
15
  /** Whether the external page should be used to answer questions by AI Agent. */
16
16
  ai_agent_availability: boolean;
17
17
  /** Whether the external page should be used to answer questions by AI Copilot. */
18
18
  ai_copilot_availability: boolean;
19
19
  /** Deprecated. Use ai_agent_availability and ai_copilot_availability instead. */
20
- fin_availability?: boolean;
20
+ fin_availability?: boolean | undefined;
21
21
  /** Always en */
22
22
  locale: "en";
23
23
  /** The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response. */
@@ -4,10 +4,10 @@ import type * as Intercom from "../../../../../index.mjs";
4
4
  */
5
5
  export interface ExternalPagesList {
6
6
  /** The type of the object - `list`. */
7
- type?: "list";
8
- pages?: Intercom.unstable.PagesLink;
7
+ type?: "list" | undefined;
8
+ pages?: Intercom.unstable.PagesLink | undefined;
9
9
  /** A count of the total number of external pages. */
10
- total_count?: number;
10
+ total_count?: number | undefined;
11
11
  /** An array of External Page objects */
12
- data?: Intercom.unstable.ExternalPage[];
12
+ data?: Intercom.unstable.ExternalPage[] | undefined;
13
13
  }
@@ -0,0 +1 @@
1
+ export * from "./index.mjs";
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export * from "./index.mjs";
@@ -3,13 +3,13 @@
3
3
  */
4
4
  export interface ContentSource {
5
5
  /** The type of the content source. */
6
- content_type?: ContentSource.ContentType;
6
+ content_type?: ContentSource.ContentType | undefined;
7
7
  /** The internal URL linking to the content source for teammates. */
8
- url?: string;
8
+ url?: string | undefined;
9
9
  /** The title of the content source. */
10
- title?: string;
10
+ title?: string | undefined;
11
11
  /** The ISO 639 language code of the content source. */
12
- locale?: string;
12
+ locale?: string | undefined;
13
13
  }
14
14
  export declare namespace ContentSource {
15
15
  /** The type of the content source. */
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
3
3
  import * as core from "../../../../../../core/index.mjs";
4
4
  import * as Intercom from "../../../../../index.mjs";
5
5
  export declare namespace ArticlesClient {
6
- interface Options extends BaseClientOptions {
7
- }
6
+ type Options = BaseClientOptions;
8
7
  interface RequestOptions extends BaseRequestOptions {
9
8
  }
10
9
  }
@@ -24,6 +23,8 @@ export declare class ArticlesClient {
24
23
  * @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
25
24
  *
26
25
  * @throws {@link Intercom.unstable.UnauthorizedError}
26
+ * @throws {@link errors.IntercomError}
27
+ * @throws {@link errors.IntercomTimeoutError}
27
28
  *
28
29
  * @example
29
30
  * await client.unstable.articles.listArticles()
@@ -38,6 +39,8 @@ export declare class ArticlesClient {
38
39
  *
39
40
  * @throws {@link Intercom.unstable.BadRequestError}
40
41
  * @throws {@link Intercom.unstable.UnauthorizedError}
42
+ * @throws {@link errors.IntercomError}
43
+ * @throws {@link errors.IntercomTimeoutError}
41
44
  *
42
45
  * @example
43
46
  * await client.unstable.articles.createArticle({
@@ -54,6 +57,8 @@ export declare class ArticlesClient {
54
57
  *
55
58
  * @throws {@link Intercom.unstable.UnauthorizedError}
56
59
  * @throws {@link Intercom.unstable.NotFoundError}
60
+ * @throws {@link errors.IntercomError}
61
+ * @throws {@link errors.IntercomTimeoutError}
57
62
  *
58
63
  * @example
59
64
  * await client.unstable.articles.retrieveArticle({
@@ -70,6 +75,8 @@ export declare class ArticlesClient {
70
75
  *
71
76
  * @throws {@link Intercom.unstable.UnauthorizedError}
72
77
  * @throws {@link Intercom.unstable.NotFoundError}
78
+ * @throws {@link errors.IntercomError}
79
+ * @throws {@link errors.IntercomTimeoutError}
73
80
  *
74
81
  * @example
75
82
  * await client.unstable.articles.deleteArticle({
@@ -85,6 +92,8 @@ export declare class ArticlesClient {
85
92
  * @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
86
93
  *
87
94
  * @throws {@link Intercom.unstable.UnauthorizedError}
95
+ * @throws {@link errors.IntercomError}
96
+ * @throws {@link errors.IntercomTimeoutError}
88
97
  *
89
98
  * @example
90
99
  * await client.unstable.articles.searchArticles({
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
12
12
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
13
13
  import * as core from "../../../../../../core/index.mjs";
14
+ import { mergeAdditionalBodyParameters } from "../../../../../../core/requestBody.mjs";
14
15
  import * as environments from "../../../../../../environments.mjs";
15
16
  import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
16
17
  import * as errors from "../../../../../../errors/index.mjs";
@@ -32,6 +33,8 @@ export class ArticlesClient {
32
33
  * @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
33
34
  *
34
35
  * @throws {@link Intercom.unstable.UnauthorizedError}
36
+ * @throws {@link errors.IntercomError}
37
+ * @throws {@link errors.IntercomTimeoutError}
35
38
  *
36
39
  * @example
37
40
  * await client.unstable.articles.listArticles()
@@ -48,7 +51,7 @@ export class ArticlesClient {
48
51
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "articles"),
49
52
  method: "GET",
50
53
  headers: _headers,
51
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
54
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
52
55
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
53
56
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
54
57
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -81,6 +84,8 @@ export class ArticlesClient {
81
84
  *
82
85
  * @throws {@link Intercom.unstable.BadRequestError}
83
86
  * @throws {@link Intercom.unstable.UnauthorizedError}
87
+ * @throws {@link errors.IntercomError}
88
+ * @throws {@link errors.IntercomTimeoutError}
84
89
  *
85
90
  * @example
86
91
  * await client.unstable.articles.createArticle({
@@ -100,9 +105,9 @@ export class ArticlesClient {
100
105
  method: "POST",
101
106
  headers: _headers,
102
107
  contentType: "application/json",
103
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
108
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
104
109
  requestType: "json",
105
- body: request,
110
+ body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
106
111
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
107
112
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
108
113
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -137,6 +142,8 @@ export class ArticlesClient {
137
142
  *
138
143
  * @throws {@link Intercom.unstable.UnauthorizedError}
139
144
  * @throws {@link Intercom.unstable.NotFoundError}
145
+ * @throws {@link errors.IntercomError}
146
+ * @throws {@link errors.IntercomTimeoutError}
140
147
  *
141
148
  * @example
142
149
  * await client.unstable.articles.retrieveArticle({
@@ -153,10 +160,10 @@ export class ArticlesClient {
153
160
  const _authRequest = yield this._options.authProvider.getAuthRequest();
154
161
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
155
162
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
156
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `articles/${core.url.encodePathParam(id)}`),
163
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `articles/${core.url.encodePathParam(id, errors.IntercomError)}`),
157
164
  method: "GET",
158
165
  headers: _headers,
159
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
166
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
160
167
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
161
168
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
162
169
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -191,6 +198,8 @@ export class ArticlesClient {
191
198
  *
192
199
  * @throws {@link Intercom.unstable.UnauthorizedError}
193
200
  * @throws {@link Intercom.unstable.NotFoundError}
201
+ * @throws {@link errors.IntercomError}
202
+ * @throws {@link errors.IntercomTimeoutError}
194
203
  *
195
204
  * @example
196
205
  * await client.unstable.articles.deleteArticle({
@@ -207,10 +216,10 @@ export class ArticlesClient {
207
216
  const _authRequest = yield this._options.authProvider.getAuthRequest();
208
217
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
209
218
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
210
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `articles/${core.url.encodePathParam(id)}`),
219
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `articles/${core.url.encodePathParam(id, errors.IntercomError)}`),
211
220
  method: "DELETE",
212
221
  headers: _headers,
213
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
222
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
214
223
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
215
224
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
216
225
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -247,6 +256,8 @@ export class ArticlesClient {
247
256
  * @param {ArticlesClient.RequestOptions} requestOptions - Request-specific configuration.
248
257
  *
249
258
  * @throws {@link Intercom.unstable.UnauthorizedError}
259
+ * @throws {@link errors.IntercomError}
260
+ * @throws {@link errors.IntercomTimeoutError}
250
261
  *
251
262
  * @example
252
263
  * await client.unstable.articles.searchArticles({
@@ -263,26 +274,23 @@ export class ArticlesClient {
263
274
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
264
275
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
265
276
  const { phrase, state, help_center_id: helpCenterId, highlight } = request;
266
- const _queryParams = {};
267
- if (phrase != null) {
268
- _queryParams.phrase = phrase;
269
- }
270
- if (state != null) {
271
- _queryParams.state = state;
272
- }
273
- if (helpCenterId != null) {
274
- _queryParams.help_center_id = helpCenterId.toString();
275
- }
276
- if (highlight != null) {
277
- _queryParams.highlight = highlight.toString();
278
- }
277
+ const _queryParams = {
278
+ phrase,
279
+ state,
280
+ help_center_id: helpCenterId,
281
+ highlight,
282
+ };
279
283
  const _authRequest = yield this._options.authProvider.getAuthRequest();
280
284
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
281
285
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
282
286
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "articles/search"),
283
287
  method: "GET",
284
288
  headers: _headers,
285
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
289
+ queryString: core.url
290
+ .queryBuilder()
291
+ .addMany(_queryParams)
292
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
293
+ .build(),
286
294
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
287
295
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
288
296
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,2 @@
1
+ export { ArticlesClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { ArticlesClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -3,5 +3,5 @@ import type * as Intercom from "../../../../../index.mjs";
3
3
  * The Articles API is a central place to gather all information and take actions on your articles. Articles can live within collections and sections, or alternatively they can stand alone.
4
4
  */
5
5
  export interface Article extends Intercom.unstable.ArticleListItem {
6
- statistics?: Intercom.unstable.ArticleStatistics;
6
+ statistics?: Intercom.unstable.ArticleStatistics | undefined;
7
7
  }
@@ -4,36 +4,36 @@ import type * as Intercom from "../../../../../index.mjs";
4
4
  */
5
5
  export interface ArticleListItem {
6
6
  /** The type of object - `article`. */
7
- type?: "article";
7
+ type?: "article" | undefined;
8
8
  /** The unique identifier for the article which is given by Intercom. */
9
- id?: string;
9
+ id?: string | undefined;
10
10
  /** The id of the workspace which the article belongs to. */
11
- workspace_id?: string;
11
+ workspace_id?: string | undefined;
12
12
  /** The title of the article. For multilingual articles, this will be the title of the default language's content. */
13
- title?: string;
13
+ title?: string | undefined;
14
14
  /** The description of the article. For multilingual articles, this will be the description of the default language's content. */
15
- description?: string;
15
+ description?: string | undefined;
16
16
  /** The body of the article in HTML. For multilingual articles, this will be the body of the default language's content. */
17
- body?: string;
17
+ body?: string | undefined;
18
18
  /** The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace. */
19
- author_id?: number;
19
+ author_id?: number | undefined;
20
20
  /** Whether the article is `published` or is a `draft`. For multilingual articles, this will be the state of the default language's content. */
21
- state?: ArticleListItem.State;
21
+ state?: ArticleListItem.State | undefined;
22
22
  /** The time when the article was created. For multilingual articles, this will be the timestamp of creation of the default language's content in seconds. */
23
- created_at?: number;
23
+ created_at?: number | undefined;
24
24
  /** The time when the article was last updated. For multilingual articles, this will be the timestamp of last update of the default language's content in seconds. */
25
- updated_at?: number;
25
+ updated_at?: number | undefined;
26
26
  /** The URL of the article. For multilingual articles, this will be the URL of the default language's content. */
27
- url?: string;
27
+ url?: string | undefined;
28
28
  /** The id of the article's parent collection or section. An article without this field stands alone. */
29
- parent_id?: number;
29
+ parent_id?: number | undefined;
30
30
  /** The ids of the article's parent collections or sections. An article without this field stands alone. */
31
- parent_ids?: number[];
31
+ parent_ids?: number[] | undefined;
32
32
  /** The type of parent, which can either be a `collection` or `section`. */
33
- parent_type?: string;
33
+ parent_type?: string | undefined;
34
34
  /** The default locale of the help center. This field is only returned for multilingual help centers. */
35
- default_locale?: string;
36
- translated_content?: Intercom.unstable.ArticleTranslatedContent;
35
+ default_locale?: string | undefined;
36
+ translated_content?: Intercom.unstable.ArticleTranslatedContent | undefined;
37
37
  }
38
38
  export declare namespace ArticleListItem {
39
39
  /** Whether the article is `published` or is a `draft`. For multilingual articles, this will be the state of the default language's content. */
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export interface ArticleSearchHighlights {
5
5
  /** The ID of the corresponding article. */
6
- article_id?: string;
6
+ article_id?: string | undefined;
7
7
  /** An Article title highlighted. */
8
- highlighted_title?: ArticleSearchHighlights.HighlightedTitle.Item[];
8
+ highlighted_title?: ArticleSearchHighlights.HighlightedTitle.Item[] | undefined;
9
9
  /** An Article description and body text highlighted. */
10
- highlighted_summary?: ArticleSearchHighlights.HighlightedSummary.Item[][];
10
+ highlighted_summary?: ArticleSearchHighlights.HighlightedSummary.Item[][] | undefined;
11
11
  }
12
12
  export declare namespace ArticleSearchHighlights {
13
13
  type HighlightedTitle = HighlightedTitle.Item[];
@@ -17,9 +17,9 @@ export declare namespace ArticleSearchHighlights {
17
17
  */
18
18
  interface Item {
19
19
  /** The type of text - `highlight` or `plain`. */
20
- type?: Item.Type;
20
+ type?: Item.Type | undefined;
21
21
  /** The text of the title. */
22
- text?: string;
22
+ text?: string | undefined;
23
23
  }
24
24
  namespace Item {
25
25
  /** The type of text - `highlight` or `plain`. */
@@ -37,9 +37,9 @@ export declare namespace ArticleSearchHighlights {
37
37
  */
38
38
  interface Item {
39
39
  /** The type of text - `highlight` or `plain`. */
40
- type?: Item.Type;
40
+ type?: Item.Type | undefined;
41
41
  /** The text of the title. */
42
- text?: string;
42
+ text?: string | undefined;
43
43
  }
44
44
  namespace Item {
45
45
  /** The type of text - `highlight` or `plain`. */
@@ -4,12 +4,12 @@ import type * as Intercom from "../../../../../index.mjs";
4
4
  */
5
5
  export interface ArticleSearchResponse {
6
6
  /** The type of the object - `list`. */
7
- type?: "list";
7
+ type?: "list" | undefined;
8
8
  /** The total number of Articles matching the search query */
9
- total_count?: number;
9
+ total_count?: number | undefined;
10
10
  /** An object containing the results of the search. */
11
- data?: ArticleSearchResponse.Data;
12
- pages?: Intercom.unstable.CursorPages;
11
+ data?: ArticleSearchResponse.Data | undefined;
12
+ pages?: Intercom.unstable.CursorPages | undefined;
13
13
  }
14
14
  export declare namespace ArticleSearchResponse {
15
15
  /**
@@ -17,8 +17,8 @@ export declare namespace ArticleSearchResponse {
17
17
  */
18
18
  interface Data {
19
19
  /** An array of Article objects */
20
- articles?: Intercom.unstable.Article[];
20
+ articles?: Intercom.unstable.Article[] | undefined;
21
21
  /** A corresponding array of highlighted Article content */
22
- highlights?: Intercom.unstable.ArticleSearchHighlights[];
22
+ highlights?: Intercom.unstable.ArticleSearchHighlights[] | undefined;
23
23
  }
24
24
  }
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
3
3
  import * as core from "../../../../../../core/index.mjs";
4
4
  import * as Intercom from "../../../../../index.mjs";
5
5
  export declare namespace AwayStatusReasonsClient {
6
- interface Options extends BaseClientOptions {
7
- }
6
+ type Options = BaseClientOptions;
8
7
  interface RequestOptions extends BaseRequestOptions {
9
8
  }
10
9
  }
@@ -20,6 +19,8 @@ export declare class AwayStatusReasonsClient {
20
19
  * @param {AwayStatusReasonsClient.RequestOptions} requestOptions - Request-specific configuration.
21
20
  *
22
21
  * @throws {@link Intercom.unstable.UnauthorizedError}
22
+ * @throws {@link errors.IntercomError}
23
+ * @throws {@link errors.IntercomTimeoutError}
23
24
  *
24
25
  * @example
25
26
  * await client.unstable.awayStatusReasons.listAwayStatusReasons()
@@ -28,6 +28,8 @@ export class AwayStatusReasonsClient {
28
28
  * @param {AwayStatusReasonsClient.RequestOptions} requestOptions - Request-specific configuration.
29
29
  *
30
30
  * @throws {@link Intercom.unstable.UnauthorizedError}
31
+ * @throws {@link errors.IntercomError}
32
+ * @throws {@link errors.IntercomTimeoutError}
31
33
  *
32
34
  * @example
33
35
  * await client.unstable.awayStatusReasons.listAwayStatusReasons()
@@ -44,7 +46,7 @@ export class AwayStatusReasonsClient {
44
46
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "away_status_reasons"),
45
47
  method: "GET",
46
48
  headers: _headers,
47
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
49
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
48
50
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
49
51
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
50
52
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,2 @@
1
+ export { AwayStatusReasonsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { AwayStatusReasonsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
3
3
  import * as core from "../../../../../../core/index.mjs";
4
4
  import * as Intercom from "../../../../../index.mjs";
5
5
  export declare namespace BrandsClient {
6
- interface Options extends BaseClientOptions {
7
- }
6
+ type Options = BaseClientOptions;
8
7
  interface RequestOptions extends BaseRequestOptions {
9
8
  }
10
9
  }
@@ -21,6 +20,8 @@ export declare class BrandsClient {
21
20
  * @param {BrandsClient.RequestOptions} requestOptions - Request-specific configuration.
22
21
  *
23
22
  * @throws {@link Intercom.unstable.UnauthorizedError}
23
+ * @throws {@link errors.IntercomError}
24
+ * @throws {@link errors.IntercomTimeoutError}
24
25
  *
25
26
  * @example
26
27
  * await client.unstable.brands.listBrands()
@@ -35,6 +36,8 @@ export declare class BrandsClient {
35
36
  *
36
37
  * @throws {@link Intercom.unstable.UnauthorizedError}
37
38
  * @throws {@link Intercom.unstable.NotFoundError}
39
+ * @throws {@link errors.IntercomError}
40
+ * @throws {@link errors.IntercomTimeoutError}
38
41
  *
39
42
  * @example
40
43
  * await client.unstable.brands.retrieveBrand({
@@ -29,6 +29,8 @@ export class BrandsClient {
29
29
  * @param {BrandsClient.RequestOptions} requestOptions - Request-specific configuration.
30
30
  *
31
31
  * @throws {@link Intercom.unstable.UnauthorizedError}
32
+ * @throws {@link errors.IntercomError}
33
+ * @throws {@link errors.IntercomTimeoutError}
32
34
  *
33
35
  * @example
34
36
  * await client.unstable.brands.listBrands()
@@ -45,7 +47,7 @@ export class BrandsClient {
45
47
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, "brands"),
46
48
  method: "GET",
47
49
  headers: _headers,
48
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
50
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
49
51
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
50
52
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
51
53
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -78,6 +80,8 @@ export class BrandsClient {
78
80
  *
79
81
  * @throws {@link Intercom.unstable.UnauthorizedError}
80
82
  * @throws {@link Intercom.unstable.NotFoundError}
83
+ * @throws {@link errors.IntercomError}
84
+ * @throws {@link errors.IntercomTimeoutError}
81
85
  *
82
86
  * @example
83
87
  * await client.unstable.brands.retrieveBrand({
@@ -94,10 +98,10 @@ export class BrandsClient {
94
98
  const _authRequest = yield this._options.authProvider.getAuthRequest();
95
99
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
100
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
97
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `brands/${core.url.encodePathParam(id)}`),
101
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.IntercomEnvironment.UsProduction, `brands/${core.url.encodePathParam(id, errors.IntercomError)}`),
98
102
  method: "GET",
99
103
  headers: _headers,
100
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
104
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
101
105
  timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 20) * 1000,
102
106
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
103
107
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,2 @@
1
+ export { BrandsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { BrandsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -3,19 +3,19 @@
3
3
  */
4
4
  export interface Brand {
5
5
  /** The type of object */
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** Unique brand identifier. For default brand, matches the workspace ID */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  /** Display name of the brand */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  /** Whether this is the workspace's default brand */
12
- is_default?: boolean;
12
+ is_default?: boolean | undefined;
13
13
  /** Unix timestamp of brand creation */
14
- created_at?: number;
14
+ created_at?: number | undefined;
15
15
  /** Unix timestamp of last modification */
16
- updated_at?: number;
16
+ updated_at?: number | undefined;
17
17
  /** Associated help center identifier */
18
- help_center_id?: string;
18
+ help_center_id?: string | undefined;
19
19
  /** Default email settings ID for this brand */
20
- default_address_settings_id?: string;
20
+ default_address_settings_id?: string | undefined;
21
21
  }
@@ -4,6 +4,6 @@ import type * as Intercom from "../../../../../index.mjs";
4
4
  */
5
5
  export interface BrandList {
6
6
  /** The type of object */
7
- type?: string;
8
- data?: Intercom.unstable.Brand[];
7
+ type?: string | undefined;
8
+ data?: Intercom.unstable.Brand[] | undefined;
9
9
  }