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
@@ -58,6 +58,7 @@ exports.TagsClient = void 0;
58
58
  const BaseClient_js_1 = require("../../../../BaseClient.js");
59
59
  const headers_js_1 = require("../../../../core/headers.js");
60
60
  const core = __importStar(require("../../../../core/index.js"));
61
+ const requestBody_js_1 = require("../../../../core/requestBody.js");
61
62
  const environments = __importStar(require("../../../../environments.js"));
62
63
  const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
63
64
  const errors = __importStar(require("../../../../errors/index.js"));
@@ -77,6 +78,8 @@ class TagsClient {
77
78
  *
78
79
  * @throws {@link Intercom.UnauthorizedError}
79
80
  * @throws {@link Intercom.NotFoundError}
81
+ * @throws {@link errors.IntercomError}
82
+ * @throws {@link errors.IntercomTimeoutError}
80
83
  *
81
84
  * @example
82
85
  * await client.tags.tagContact({
@@ -100,13 +103,13 @@ class TagsClient {
100
103
  const _authRequest = yield this._options.authProvider.getAuthRequest();
101
104
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
102
105
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
103
- 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, `contacts/${core.url.encodePathParam(contactId)}/tags`),
106
+ 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, `contacts/${core.url.encodePathParam(contactId, errors.IntercomError)}/tags`),
104
107
  method: "POST",
105
108
  headers: _headers,
106
109
  contentType: "application/json",
107
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
110
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
108
111
  requestType: "json",
109
- body: _body,
112
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
110
113
  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,
111
114
  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,
112
115
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -141,6 +144,8 @@ class TagsClient {
141
144
  *
142
145
  * @throws {@link Intercom.UnauthorizedError}
143
146
  * @throws {@link Intercom.NotFoundError}
147
+ * @throws {@link errors.IntercomError}
148
+ * @throws {@link errors.IntercomTimeoutError}
144
149
  *
145
150
  * @example
146
151
  * await client.tags.untagContact({
@@ -158,10 +163,10 @@ class TagsClient {
158
163
  const _authRequest = yield this._options.authProvider.getAuthRequest();
159
164
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
160
165
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
161
- 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, `contacts/${core.url.encodePathParam(contactId)}/tags/${core.url.encodePathParam(tagId)}`),
166
+ 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, `contacts/${core.url.encodePathParam(contactId, errors.IntercomError)}/tags/${core.url.encodePathParam(tagId, errors.IntercomError)}`),
162
167
  method: "DELETE",
163
168
  headers: _headers,
164
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
169
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
165
170
  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,
166
171
  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,
167
172
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -196,6 +201,8 @@ class TagsClient {
196
201
  *
197
202
  * @throws {@link Intercom.UnauthorizedError}
198
203
  * @throws {@link Intercom.NotFoundError}
204
+ * @throws {@link errors.IntercomError}
205
+ * @throws {@link errors.IntercomTimeoutError}
199
206
  *
200
207
  * @example
201
208
  * await client.tags.tagConversation({
@@ -214,13 +221,13 @@ class TagsClient {
214
221
  const _authRequest = yield this._options.authProvider.getAuthRequest();
215
222
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
216
223
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
217
- 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, `conversations/${core.url.encodePathParam(conversationId)}/tags`),
224
+ 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, `conversations/${core.url.encodePathParam(conversationId, errors.IntercomError)}/tags`),
218
225
  method: "POST",
219
226
  headers: _headers,
220
227
  contentType: "application/json",
221
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
228
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
222
229
  requestType: "json",
223
- body: _body,
230
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
224
231
  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,
225
232
  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,
226
233
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -255,6 +262,8 @@ class TagsClient {
255
262
  *
256
263
  * @throws {@link Intercom.UnauthorizedError}
257
264
  * @throws {@link Intercom.NotFoundError}
265
+ * @throws {@link errors.IntercomError}
266
+ * @throws {@link errors.IntercomTimeoutError}
258
267
  *
259
268
  * @example
260
269
  * await client.tags.untagConversation({
@@ -273,13 +282,13 @@ class TagsClient {
273
282
  const _authRequest = yield this._options.authProvider.getAuthRequest();
274
283
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
275
284
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
276
- 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, `conversations/${core.url.encodePathParam(conversationId)}/tags/${core.url.encodePathParam(tagId)}`),
285
+ 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, `conversations/${core.url.encodePathParam(conversationId, errors.IntercomError)}/tags/${core.url.encodePathParam(tagId, errors.IntercomError)}`),
277
286
  method: "DELETE",
278
287
  headers: _headers,
279
288
  contentType: "application/json",
280
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
289
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
281
290
  requestType: "json",
282
- body: _body,
291
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
283
292
  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,
284
293
  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,
285
294
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -313,6 +322,8 @@ class TagsClient {
313
322
  * @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
314
323
  *
315
324
  * @throws {@link Intercom.UnauthorizedError}
325
+ * @throws {@link errors.IntercomError}
326
+ * @throws {@link errors.IntercomTimeoutError}
316
327
  *
317
328
  * @example
318
329
  * await client.tags.list()
@@ -329,7 +340,7 @@ class TagsClient {
329
340
  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, "tags"),
330
341
  method: "GET",
331
342
  headers: _headers,
332
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
343
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
333
344
  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,
334
345
  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,
335
346
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -375,6 +386,8 @@ class TagsClient {
375
386
  * @throws {@link Intercom.BadRequestError}
376
387
  * @throws {@link Intercom.UnauthorizedError}
377
388
  * @throws {@link Intercom.NotFoundError}
389
+ * @throws {@link errors.IntercomError}
390
+ * @throws {@link errors.IntercomTimeoutError}
378
391
  *
379
392
  * @example
380
393
  * await client.tags.create({
@@ -415,9 +428,9 @@ class TagsClient {
415
428
  method: "POST",
416
429
  headers: _headers,
417
430
  contentType: "application/json",
418
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
431
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
419
432
  requestType: "json",
420
- body: request,
433
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
421
434
  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,
422
435
  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,
423
436
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -455,6 +468,8 @@ class TagsClient {
455
468
  *
456
469
  * @throws {@link Intercom.UnauthorizedError}
457
470
  * @throws {@link Intercom.NotFoundError}
471
+ * @throws {@link errors.IntercomError}
472
+ * @throws {@link errors.IntercomTimeoutError}
458
473
  *
459
474
  * @example
460
475
  * await client.tags.find({
@@ -471,10 +486,10 @@ class TagsClient {
471
486
  const _authRequest = yield this._options.authProvider.getAuthRequest();
472
487
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
473
488
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
474
- 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, `tags/${core.url.encodePathParam(tagId)}`),
489
+ 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, `tags/${core.url.encodePathParam(tagId, errors.IntercomError)}`),
475
490
  method: "GET",
476
491
  headers: _headers,
477
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
492
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
478
493
  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,
479
494
  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,
480
495
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -510,6 +525,8 @@ class TagsClient {
510
525
  * @throws {@link Intercom.BadRequestError}
511
526
  * @throws {@link Intercom.UnauthorizedError}
512
527
  * @throws {@link Intercom.NotFoundError}
528
+ * @throws {@link errors.IntercomError}
529
+ * @throws {@link errors.IntercomTimeoutError}
513
530
  *
514
531
  * @example
515
532
  * await client.tags.delete({
@@ -526,10 +543,10 @@ class TagsClient {
526
543
  const _authRequest = yield this._options.authProvider.getAuthRequest();
527
544
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
528
545
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
529
- 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, `tags/${core.url.encodePathParam(tagId)}`),
546
+ 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, `tags/${core.url.encodePathParam(tagId, errors.IntercomError)}`),
530
547
  method: "DELETE",
531
548
  headers: _headers,
532
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
549
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
533
550
  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,
534
551
  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,
535
552
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -566,6 +583,8 @@ class TagsClient {
566
583
  *
567
584
  * @throws {@link Intercom.UnauthorizedError}
568
585
  * @throws {@link Intercom.NotFoundError}
586
+ * @throws {@link errors.IntercomError}
587
+ * @throws {@link errors.IntercomTimeoutError}
569
588
  *
570
589
  * @example
571
590
  * await client.tags.tagTicket({
@@ -584,13 +603,13 @@ class TagsClient {
584
603
  const _authRequest = yield this._options.authProvider.getAuthRequest();
585
604
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
586
605
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
587
- 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, `tickets/${core.url.encodePathParam(ticketId)}/tags`),
606
+ 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, `tickets/${core.url.encodePathParam(ticketId, errors.IntercomError)}/tags`),
588
607
  method: "POST",
589
608
  headers: _headers,
590
609
  contentType: "application/json",
591
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
610
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
592
611
  requestType: "json",
593
- body: _body,
612
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
594
613
  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,
595
614
  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,
596
615
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -625,6 +644,8 @@ class TagsClient {
625
644
  *
626
645
  * @throws {@link Intercom.UnauthorizedError}
627
646
  * @throws {@link Intercom.NotFoundError}
647
+ * @throws {@link errors.IntercomError}
648
+ * @throws {@link errors.IntercomTimeoutError}
628
649
  *
629
650
  * @example
630
651
  * await client.tags.untagTicket({
@@ -643,13 +664,13 @@ class TagsClient {
643
664
  const _authRequest = yield this._options.authProvider.getAuthRequest();
644
665
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
645
666
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
646
- 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, `tickets/${core.url.encodePathParam(ticketId)}/tags/${core.url.encodePathParam(tagId)}`),
667
+ 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, `tickets/${core.url.encodePathParam(ticketId, errors.IntercomError)}/tags/${core.url.encodePathParam(tagId, errors.IntercomError)}`),
647
668
  method: "DELETE",
648
669
  headers: _headers,
649
670
  contentType: "application/json",
650
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
671
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
651
672
  requestType: "json",
652
- body: _body,
673
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
653
674
  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,
654
675
  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,
655
676
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -8,12 +8,6 @@
8
8
  * @example
9
9
  * {
10
10
  * contact_id: "63a07ddf05a32042dffac965",
11
- * id: "7522907"
12
- * }
13
- *
14
- * @example
15
- * {
16
- * contact_id: "63a07ddf05a32042dffac965",
17
11
  * id: "123"
18
12
  * }
19
13
  */
@@ -1,11 +1,4 @@
1
1
  /**
2
- * @example
3
- * {
4
- * conversation_id: "64619700005694",
5
- * id: "7522907",
6
- * admin_id: "780"
7
- * }
8
- *
9
2
  * @example
10
3
  * {
11
4
  * conversation_id: "64619700005694",
@@ -1,11 +1,4 @@
1
1
  /**
2
- * @example
3
- * {
4
- * ticket_id: "64619700005694",
5
- * id: "7522907",
6
- * admin_id: "780"
7
- * }
8
- *
9
2
  * @example
10
3
  * {
11
4
  * ticket_id: "64619700005694",
@@ -1,18 +1,4 @@
1
1
  /**
2
- * @example
3
- * {
4
- * conversation_id: "64619700005694",
5
- * tag_id: "7522907",
6
- * admin_id: "123"
7
- * }
8
- *
9
- * @example
10
- * {
11
- * conversation_id: "64619700005694",
12
- * tag_id: "7522907",
13
- * admin_id: "123"
14
- * }
15
- *
16
2
  * @example
17
3
  * {
18
4
  * conversation_id: "64619700005694",
@@ -1,18 +1,4 @@
1
1
  /**
2
- * @example
3
- * {
4
- * ticket_id: "64619700005694",
5
- * tag_id: "7522907",
6
- * admin_id: "123"
7
- * }
8
- *
9
- * @example
10
- * {
11
- * ticket_id: "64619700005694",
12
- * tag_id: "7522907",
13
- * admin_id: "123"
14
- * }
15
- *
16
2
  * @example
17
3
  * {
18
4
  * ticket_id: "64619700005694",
@@ -0,0 +1,2 @@
1
+ export { TagsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TagsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "TagsClient", { enumerable: true, get: function () { return Client_js_1.TagsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -10,6 +10,6 @@ export interface Tag {
10
10
  /** The name of the tag */
11
11
  name: string;
12
12
  /** The time when the tag was applied to the object */
13
- applied_at?: number;
14
- applied_by?: Intercom.Reference;
13
+ applied_at?: number | undefined;
14
+ applied_by?: Intercom.Reference | undefined;
15
15
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface TagBasic {
5
5
  /** value is "tag" */
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** The id of the tag */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  /** The name of the tag */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  }
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as Intercom from "../../../index.js";
5
5
  export declare namespace TeamsClient {
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 TeamsClient {
20
19
  * @param {TeamsClient.RequestOptions} requestOptions - Request-specific configuration.
21
20
  *
22
21
  * @throws {@link Intercom.UnauthorizedError}
22
+ * @throws {@link errors.IntercomError}
23
+ * @throws {@link errors.IntercomTimeoutError}
23
24
  *
24
25
  * @example
25
26
  * await client.teams.list()
@@ -34,6 +35,8 @@ export declare class TeamsClient {
34
35
  *
35
36
  * @throws {@link Intercom.UnauthorizedError}
36
37
  * @throws {@link Intercom.NotFoundError}
38
+ * @throws {@link errors.IntercomError}
39
+ * @throws {@link errors.IntercomTimeoutError}
37
40
  *
38
41
  * @example
39
42
  * await client.teams.find({
@@ -64,6 +64,8 @@ class TeamsClient {
64
64
  * @param {TeamsClient.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @throws {@link Intercom.UnauthorizedError}
67
+ * @throws {@link errors.IntercomError}
68
+ * @throws {@link errors.IntercomTimeoutError}
67
69
  *
68
70
  * @example
69
71
  * await client.teams.list()
@@ -80,7 +82,7 @@ class TeamsClient {
80
82
  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, "teams"),
81
83
  method: "GET",
82
84
  headers: _headers,
83
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
84
86
  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,
85
87
  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,
86
88
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -113,6 +115,8 @@ class TeamsClient {
113
115
  *
114
116
  * @throws {@link Intercom.UnauthorizedError}
115
117
  * @throws {@link Intercom.NotFoundError}
118
+ * @throws {@link errors.IntercomError}
119
+ * @throws {@link errors.IntercomTimeoutError}
116
120
  *
117
121
  * @example
118
122
  * await client.teams.find({
@@ -129,10 +133,10 @@ class TeamsClient {
129
133
  const _authRequest = yield this._options.authProvider.getAuthRequest();
130
134
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Intercom-Version": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
131
135
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
132
- 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, `teams/${core.url.encodePathParam(teamId)}`),
136
+ 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, `teams/${core.url.encodePathParam(teamId, errors.IntercomError)}`),
133
137
  method: "GET",
134
138
  headers: _headers,
135
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
139
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
136
140
  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,
137
141
  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,
138
142
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,2 @@
1
+ export { TeamsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TeamsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "TeamsClient", { enumerable: true, get: function () { return Client_js_1.TeamsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -4,16 +4,16 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface Team {
6
6
  /** Value is always "team" */
7
- type?: string;
7
+ type?: string | undefined;
8
8
  /** The id of the team */
9
- id?: string;
9
+ id?: string | undefined;
10
10
  /** The name of the team */
11
- name?: string;
11
+ name?: string | undefined;
12
12
  /** The list of admin IDs that are a part of the team. */
13
- admin_ids?: number[];
14
- admin_priority_level?: Intercom.AdminPriorityLevel;
13
+ admin_ids?: number[] | undefined;
14
+ admin_priority_level?: Intercom.AdminPriorityLevel | undefined;
15
15
  /** The assignment limit for the team. This field is only present when the team's distribution type is load balanced. */
16
- assignment_limit?: number;
16
+ assignment_limit?: number | undefined;
17
17
  /** Describes how assignments are distributed among the team members */
18
- distribution_method?: string;
18
+ distribution_method?: string | undefined;
19
19
  }
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as Intercom from "../../../index.js";
5
5
  export declare namespace TicketStatesClient {
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 TicketStatesClient {
20
19
  * @param {TicketStatesClient.RequestOptions} requestOptions - Request-specific configuration.
21
20
  *
22
21
  * @throws {@link Intercom.UnauthorizedError}
22
+ * @throws {@link errors.IntercomError}
23
+ * @throws {@link errors.IntercomTimeoutError}
23
24
  *
24
25
  * @example
25
26
  * await client.ticketStates.listTicketStates()
@@ -64,6 +64,8 @@ class TicketStatesClient {
64
64
  * @param {TicketStatesClient.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @throws {@link Intercom.UnauthorizedError}
67
+ * @throws {@link errors.IntercomError}
68
+ * @throws {@link errors.IntercomTimeoutError}
67
69
  *
68
70
  * @example
69
71
  * await client.ticketStates.listTicketStates()
@@ -80,7 +82,7 @@ class TicketStatesClient {
80
82
  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, "ticket_states"),
81
83
  method: "GET",
82
84
  headers: _headers,
83
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
84
86
  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,
85
87
  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,
86
88
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,2 @@
1
+ export { TicketStatesClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TicketStatesClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "TicketStatesClient", { enumerable: true, get: function () { return Client_js_1.TicketStatesClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -4,8 +4,7 @@ import * as core from "../../../../core/index.js";
4
4
  import * as Intercom from "../../../index.js";
5
5
  import { AttributesClient } from "../resources/attributes/client/Client.js";
6
6
  export declare namespace TicketTypesClient {
7
- interface Options extends BaseClientOptions {
8
- }
7
+ type Options = BaseClientOptions;
9
8
  interface RequestOptions extends BaseRequestOptions {
10
9
  }
11
10
  }
@@ -23,6 +22,8 @@ export declare class TicketTypesClient {
23
22
  * @param {TicketTypesClient.RequestOptions} requestOptions - Request-specific configuration.
24
23
  *
25
24
  * @throws {@link Intercom.UnauthorizedError}
25
+ * @throws {@link errors.IntercomError}
26
+ * @throws {@link errors.IntercomTimeoutError}
26
27
  *
27
28
  * @example
28
29
  * await client.ticketTypes.list()
@@ -40,6 +41,8 @@ export declare class TicketTypesClient {
40
41
  * @param {TicketTypesClient.RequestOptions} requestOptions - Request-specific configuration.
41
42
  *
42
43
  * @throws {@link Intercom.UnauthorizedError}
44
+ * @throws {@link errors.IntercomError}
45
+ * @throws {@link errors.IntercomTimeoutError}
43
46
  *
44
47
  * @example
45
48
  * await client.ticketTypes.create({
@@ -58,6 +61,8 @@ export declare class TicketTypesClient {
58
61
  * @param {TicketTypesClient.RequestOptions} requestOptions - Request-specific configuration.
59
62
  *
60
63
  * @throws {@link Intercom.UnauthorizedError}
64
+ * @throws {@link errors.IntercomError}
65
+ * @throws {@link errors.IntercomTimeoutError}
61
66
  *
62
67
  * @example
63
68
  * await client.ticketTypes.get({
@@ -78,6 +83,8 @@ export declare class TicketTypesClient {
78
83
  * @param {TicketTypesClient.RequestOptions} requestOptions - Request-specific configuration.
79
84
  *
80
85
  * @throws {@link Intercom.UnauthorizedError}
86
+ * @throws {@link errors.IntercomError}
87
+ * @throws {@link errors.IntercomTimeoutError}
81
88
  *
82
89
  * @example
83
90
  * await client.ticketTypes.update({