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
@@ -4,5 +4,5 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactArchived extends Intercom.ContactReference {
6
6
  /** Whether the contact is archived or not. */
7
- archived?: boolean;
7
+ archived?: boolean | undefined;
8
8
  }
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactAttachedCompanies {
6
6
  /** The type of object */
7
- type?: "list";
7
+ type?: "list" | undefined;
8
8
  /** An array containing Company Objects */
9
- companies?: Intercom.Company[];
9
+ companies?: Intercom.Company[] | undefined;
10
10
  /** The total number of companies associated to this contact */
11
- total_count?: number;
12
- pages?: Intercom.PagesLink;
11
+ total_count?: number | undefined;
12
+ pages?: Intercom.PagesLink | undefined;
13
13
  }
@@ -4,5 +4,5 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactBlocked extends Intercom.ContactReference {
6
6
  /** Always true. */
7
- blocked?: boolean;
7
+ blocked?: boolean | undefined;
8
8
  }
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactCompanies {
6
6
  /** An array of company data objects attached to the contact. */
7
- data?: Intercom.CompanyData[];
7
+ data?: Intercom.CompanyData[] | undefined;
8
8
  /** Url to get more company resources for this contact */
9
- url?: string;
9
+ url?: string | undefined;
10
10
  /** Integer representing the total number of companies attached to this contact */
11
- total_count?: number;
11
+ total_count?: number | undefined;
12
12
  /** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
13
- has_more?: boolean;
13
+ has_more?: boolean | undefined;
14
14
  }
@@ -4,5 +4,5 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactDeleted extends Intercom.ContactReference {
6
6
  /** Whether the contact is deleted or not. */
7
- deleted?: boolean;
7
+ deleted?: boolean | undefined;
8
8
  }
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactList {
6
6
  /** Always list */
7
- type?: "list";
7
+ type?: "list" | undefined;
8
8
  /** The list of contact objects */
9
- data?: Intercom.Contact[];
9
+ data?: Intercom.Contact[] | undefined;
10
10
  /** A count of the total number of objects. */
11
- total_count?: number;
12
- pages?: Intercom.CursorPages;
11
+ total_count?: number | undefined;
12
+ pages?: Intercom.CursorPages | undefined;
13
13
  }
@@ -3,11 +3,11 @@
3
3
  */
4
4
  export interface ContactLocation {
5
5
  /** Always location */
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** The country that the contact is located in */
8
- country?: string;
8
+ country?: string | undefined;
9
9
  /** The overal region that the contact is located in */
10
- region?: string;
10
+ region?: string | undefined;
11
11
  /** The city that the contact is located in */
12
- city?: string;
12
+ city?: string | undefined;
13
13
  }
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactNotes {
6
6
  /** This object represents the notes attached to a contact. */
7
- data?: Intercom.AddressableList[];
7
+ data?: Intercom.AddressableList[] | undefined;
8
8
  /** Url to get more company resources for this contact */
9
- url?: string;
9
+ url?: string | undefined;
10
10
  /** Int representing the total number of companyies attached to this contact */
11
- total_count?: number;
11
+ total_count?: number | undefined;
12
12
  /** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
13
- has_more?: boolean;
13
+ has_more?: boolean | undefined;
14
14
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface ContactReference {
5
5
  /** always contact */
6
- type?: "contact";
6
+ type?: "contact" | undefined;
7
7
  /** The unique identifier for the contact which is given by Intercom. */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  /** The unique identifier for the contact which is provided by the Client. */
10
- external_id?: string;
10
+ external_id?: string | undefined;
11
11
  }
@@ -4,11 +4,11 @@ export interface ContactReplyBaseRequest {
4
4
  /** The text body of the comment. */
5
5
  body: string;
6
6
  /** The time the reply was created. If not provided, the current time will be used. */
7
- created_at?: number;
7
+ created_at?: number | undefined;
8
8
  /** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */
9
- attachment_urls?: string[];
9
+ attachment_urls?: string[] | undefined;
10
10
  /** The quick reply selection the contact wishes to respond with. These map to buttons displayed in the Messenger UI if sent by a bot, or the reply options sent by an Admin via the API. */
11
- reply_options?: ContactReplyBaseRequest.ReplyOptions.Item[];
11
+ reply_options?: ContactReplyBaseRequest.ReplyOptions.Item[] | undefined;
12
12
  }
13
13
  export declare namespace ContactReplyBaseRequest {
14
14
  type ReplyOptions = ReplyOptions.Item[];
@@ -6,5 +6,5 @@ export interface ContactReplyEmailRequest extends Intercom.ContactReplyBaseReque
6
6
  /** The email you have defined for the user. */
7
7
  email: string;
8
8
  /** A list of files that will be added as attachments. */
9
- attachment_files?: Intercom.ConversationAttachmentFiles[];
9
+ attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
10
10
  }
@@ -6,5 +6,5 @@ export interface ContactReplyIntercomUserIdRequest extends Intercom.ContactReply
6
6
  /** The identifier for the contact as given by Intercom. */
7
7
  intercom_user_id: string;
8
8
  /** A list of files that will be added as attachments. */
9
- attachment_files?: Intercom.ConversationAttachmentFiles[];
9
+ attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
10
10
  }
@@ -6,5 +6,5 @@ export interface ContactReplyUserIdRequest extends Intercom.ContactReplyBaseRequ
6
6
  /** The external_id you have defined for the contact. */
7
7
  user_id: string;
8
8
  /** A list of files that will be added as attachments. You can include up to 10 files. */
9
- attachment_files?: Intercom.ConversationAttachmentFiles[];
9
+ attachment_files?: Intercom.ConversationAttachmentFiles[] | undefined;
10
10
  }
@@ -4,7 +4,7 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactSegments {
6
6
  /** The type of the object */
7
- type?: "list";
7
+ type?: "list" | undefined;
8
8
  /** Segment objects associated with the contact. */
9
- data?: Intercom.Segment[];
9
+ data?: Intercom.Segment[] | undefined;
10
10
  }
@@ -4,5 +4,5 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactSocialProfiles {
6
6
  /** A list of social profiles objects associated with the contact. */
7
- data?: Intercom.SocialProfile[];
7
+ data?: Intercom.SocialProfile[] | undefined;
8
8
  }
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactSubscriptionTypes {
6
6
  /** This object represents the subscriptions attached to a contact. */
7
- data?: Intercom.AddressableList[];
7
+ data?: Intercom.AddressableList[] | undefined;
8
8
  /** Url to get more subscription type resources for this contact */
9
- url?: string;
9
+ url?: string | undefined;
10
10
  /** Int representing the total number of subscription types attached to this contact */
11
- total_count?: number;
11
+ total_count?: number | undefined;
12
12
  /** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
13
- has_more?: boolean;
13
+ has_more?: boolean | undefined;
14
14
  }
@@ -4,11 +4,11 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactTags {
6
6
  /** This object represents the tags attached to a contact. */
7
- data?: Intercom.AddressableList[];
7
+ data?: Intercom.AddressableList[] | undefined;
8
8
  /** url to get more tag resources for this contact */
9
- url?: string;
9
+ url?: string | undefined;
10
10
  /** Int representing the total number of tags attached to this contact */
11
- total_count?: number;
11
+ total_count?: number | undefined;
12
12
  /** Whether there's more Addressable Objects to be viewed. If true, use the url to view all */
13
- has_more?: boolean;
13
+ has_more?: boolean | undefined;
14
14
  }
@@ -4,5 +4,5 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ContactUnarchived extends Intercom.ContactReference {
6
6
  /** Whether the contact is archived or not. */
7
- archived?: boolean;
7
+ archived?: boolean | undefined;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  import type * as Intercom from "../index.js";
2
2
  export interface ContentSourcesList {
3
- type?: "content_source.list";
3
+ type?: "content_source.list" | undefined;
4
4
  /** The total number of content sources used by AI Agent in the conversation. */
5
- total_count?: number;
5
+ total_count?: number | undefined;
6
6
  /** The content sources used by AI Agent in the conversation. */
7
- content_sources?: Intercom.ContentSource[];
7
+ content_sources?: Intercom.ContentSource[] | undefined;
8
8
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface ConversationAttachmentFiles {
5
5
  /** The content type of the file */
6
- content_type?: string;
6
+ content_type?: string | undefined;
7
7
  /** The base64 encoded file data. */
8
- data?: string;
8
+ data?: string | undefined;
9
9
  /** The name of the file. */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  }
@@ -2,16 +2,16 @@
2
2
  * Contains details about Custom Data Attributes (CDAs) that were modified by an admin (operator) for conversation part type <code>conversation_attribute_updated_by_admin</code>.
3
3
  */
4
4
  export interface ConversationAttributeUpdatedByAdmin {
5
- attribute?: ConversationAttributeUpdatedByAdmin.Attribute;
6
- value?: ConversationAttributeUpdatedByAdmin.Value;
5
+ attribute?: ConversationAttributeUpdatedByAdmin.Attribute | undefined;
6
+ value?: ConversationAttributeUpdatedByAdmin.Value | undefined;
7
7
  }
8
8
  export declare namespace ConversationAttributeUpdatedByAdmin {
9
9
  interface Attribute {
10
10
  /** Name of the CDA updated */
11
- name?: string;
11
+ name?: string | undefined;
12
12
  }
13
13
  interface Value {
14
14
  /** Value of the CDA updated */
15
- name?: string;
15
+ name?: string | undefined;
16
16
  }
17
17
  }
@@ -2,21 +2,21 @@
2
2
  * Contains details about the workflow that was triggered and any Custom Data Attributes (CDAs) that were modified during the workflow execution for conversation part type <code>conversation_attribute_updated_by_workflow</code>.
3
3
  */
4
4
  export interface ConversationAttributeUpdatedByWorkflow {
5
- workflow?: ConversationAttributeUpdatedByWorkflow.Workflow;
6
- attribute?: ConversationAttributeUpdatedByWorkflow.Attribute;
7
- value?: ConversationAttributeUpdatedByWorkflow.Value;
5
+ workflow?: ConversationAttributeUpdatedByWorkflow.Workflow | undefined;
6
+ attribute?: ConversationAttributeUpdatedByWorkflow.Attribute | undefined;
7
+ value?: ConversationAttributeUpdatedByWorkflow.Value | undefined;
8
8
  }
9
9
  export declare namespace ConversationAttributeUpdatedByWorkflow {
10
10
  interface Workflow {
11
11
  /** Name of the workflow */
12
- name?: string;
12
+ name?: string | undefined;
13
13
  }
14
14
  interface Attribute {
15
15
  /** Name of the CDA updated */
16
- name?: string;
16
+ name?: string | undefined;
17
17
  }
18
18
  interface Value {
19
19
  /** Value of the CDA updated */
20
- name?: string;
20
+ name?: string | undefined;
21
21
  }
22
22
  }
@@ -3,8 +3,7 @@ import type * as Intercom from "../index.js";
3
3
  * The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.
4
4
  */
5
5
  export interface ConversationContacts {
6
- /** */
7
- type?: "contact.list";
6
+ type?: "contact.list" | undefined;
8
7
  /** The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature. */
9
- contacts?: Intercom.ContactReference[];
8
+ contacts?: Intercom.ContactReference[] | undefined;
10
9
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface ConversationDeleted {
5
5
  /** The unique identifier for the conversation. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** always conversation */
8
- object?: "conversation";
8
+ object?: "conversation" | undefined;
9
9
  /** Whether the conversation is deleted or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -2,10 +2,7 @@
2
2
  * An object containing information on the first users message. For a contact initiated message this will represent the users original message.
3
3
  */
4
4
  export interface ConversationFirstContactReply {
5
- /** */
6
- created_at?: number;
7
- /** */
8
- type?: string;
9
- /** */
10
- url?: string;
5
+ created_at?: number | undefined;
6
+ type?: string | undefined;
7
+ url?: string | undefined;
11
8
  }
@@ -4,10 +4,10 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ConversationList {
6
6
  /** Always conversation.list */
7
- type?: "conversation.list";
7
+ type?: "conversation.list" | undefined;
8
8
  /** The list of conversation objects */
9
- conversations?: Intercom.Conversation[];
9
+ conversations?: Intercom.Conversation[] | undefined;
10
10
  /** A count of the total number of objects. */
11
- total_count?: number;
12
- pages?: Intercom.CursorPages;
11
+ total_count?: number | undefined;
12
+ pages?: Intercom.CursorPages | undefined;
13
13
  }
@@ -4,37 +4,37 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ConversationPart {
6
6
  /** Always conversation_part */
7
- type?: string;
7
+ type?: string | undefined;
8
8
  /** The id representing the conversation part. */
9
- id?: string;
9
+ id?: string | undefined;
10
10
  /** The type of conversation part. */
11
- part_type?: string;
11
+ part_type?: string | undefined;
12
12
  /** The message body, which may contain HTML. For Twitter, this will show a generic message regarding why the body is obscured. */
13
- body?: string;
13
+ body?: string | undefined;
14
14
  /** The time the conversation part was created. */
15
- created_at?: number;
15
+ created_at?: number | undefined;
16
16
  /** The last time the conversation part was updated. */
17
- updated_at?: number;
17
+ updated_at?: number | undefined;
18
18
  /** The time the user was notified with the conversation part. */
19
- notified_at?: number;
19
+ notified_at?: number | undefined;
20
20
  /** The id of the admin that was assigned the conversation by this conversation_part (null if there has been no change in assignment.) */
21
- assigned_to?: Intercom.Reference;
22
- author?: Intercom.ConversationPartAuthor;
21
+ assigned_to?: Intercom.Reference | undefined;
22
+ author?: Intercom.ConversationPartAuthor | undefined;
23
23
  /** A list of attachments for the part. */
24
- attachments?: Intercom.PartAttachment[];
24
+ attachments?: Intercom.PartAttachment[] | undefined;
25
25
  /** The external id of the conversation part */
26
- external_id?: string;
26
+ external_id?: string | undefined;
27
27
  /** Whether or not the conversation part has been redacted. */
28
- redacted?: boolean;
29
- email_message_metadata?: Intercom.EmailMessageMetadata;
30
- metadata?: Intercom.ConversationPartMetadata;
28
+ redacted?: boolean | undefined;
29
+ email_message_metadata?: Intercom.EmailMessageMetadata | undefined;
30
+ metadata?: Intercom.ConversationPartMetadata | undefined;
31
31
  /** Indicates the current state of conversation when the conversation part was created. */
32
- state?: ConversationPart.State;
32
+ state?: ConversationPart.State | undefined;
33
33
  /** A list of tags objects associated with the conversation part. */
34
- tags?: Intercom.TagBasic[];
35
- event_details?: Intercom.EventDetails;
34
+ tags?: Intercom.TagBasic[] | undefined;
35
+ event_details?: Intercom.EventDetails | undefined;
36
36
  /** The app package code if this part was created via API. null if the part was not created via API. */
37
- app_package_code?: string;
37
+ app_package_code?: string | undefined;
38
38
  }
39
39
  export declare namespace ConversationPart {
40
40
  /** Indicates the current state of conversation when the conversation part was created. */
@@ -3,15 +3,15 @@
3
3
  */
4
4
  export interface ConversationPartAuthor {
5
5
  /** The type of the author */
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** The id of the author */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  /** The name of the author */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  /** The email of the author */
12
- email?: string;
12
+ email?: string | undefined;
13
13
  /** If this conversation part was sent by the AI Agent */
14
- from_ai_agent?: boolean;
14
+ from_ai_agent?: boolean | undefined;
15
15
  /** If this conversation part body was generated by the AI Agent */
16
- is_ai_answer?: boolean;
16
+ is_ai_answer?: boolean | undefined;
17
17
  }
@@ -4,16 +4,16 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ConversationPartMetadata {
6
6
  /** The quick reply options sent by the Admin or bot, presented in this conversation part. */
7
- quick_reply_options?: ConversationPartMetadata.QuickReplyOptions.Item[];
7
+ quick_reply_options?: ConversationPartMetadata.QuickReplyOptions.Item[] | undefined;
8
8
  /** The unique identifier for the quick reply option that was clicked by the end user. */
9
- quick_reply_uuid?: string;
9
+ quick_reply_uuid?: string | undefined;
10
10
  }
11
11
  export declare namespace ConversationPartMetadata {
12
12
  type QuickReplyOptions = QuickReplyOptions.Item[];
13
13
  namespace QuickReplyOptions {
14
14
  interface Item extends Intercom.QuickReplyOption {
15
15
  /** The translations for the quick reply option. */
16
- translations?: Record<string, unknown>;
16
+ translations?: Record<string, unknown> | undefined;
17
17
  }
18
18
  }
19
19
  }
@@ -3,10 +3,8 @@ import type * as Intercom from "../index.js";
3
3
  * A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.
4
4
  */
5
5
  export interface ConversationParts {
6
- /** */
7
- type?: "conversation_part.list";
6
+ type?: "conversation_part.list" | undefined;
8
7
  /** A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts. */
9
- conversation_parts?: Intercom.ConversationPart[];
10
- /** */
11
- total_count?: number;
8
+ conversation_parts?: Intercom.ConversationPart[] | undefined;
9
+ total_count?: number | undefined;
12
10
  }
@@ -4,13 +4,13 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ConversationRating {
6
6
  /** The rating, between 1 and 5, for the conversation. */
7
- rating?: number;
7
+ rating?: number | undefined;
8
8
  /** An optional field to add a remark to correspond to the number rating */
9
- remark?: string;
9
+ remark?: string | undefined;
10
10
  /** The time the rating was requested in the conversation being rated. */
11
- created_at?: number;
11
+ created_at?: number | undefined;
12
12
  /** The time the rating was last updated. */
13
- updated_at?: number;
14
- contact?: Intercom.ContactReference;
15
- teammate?: Intercom.Reference;
13
+ updated_at?: number | undefined;
14
+ contact?: Intercom.ContactReference | undefined;
15
+ teammate?: Intercom.Reference | undefined;
16
16
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface ConversationResponseTime {
5
5
  /** Id of the assigned team. */
6
- team_id?: number;
6
+ team_id?: number | undefined;
7
7
  /** Name of the assigned Team, null if team does not exist, Unassigned if no team is assigned. */
8
- team_name?: string;
8
+ team_name?: string | undefined;
9
9
  /** First response time of assigned team in seconds. */
10
- response_time?: number;
10
+ response_time?: number | undefined;
11
11
  }
@@ -4,22 +4,22 @@ import type * as Intercom from "../index.js";
4
4
  */
5
5
  export interface ConversationSource {
6
6
  /** This includes conversation, email, facebook, instagram, phone_call, phone_switch, push, sms, twitter and whatsapp. */
7
- type?: ConversationSource.Type;
7
+ type?: ConversationSource.Type | undefined;
8
8
  /** The id representing the message. */
9
- id?: string;
9
+ id?: string | undefined;
10
10
  /** The conversation's initiation type. Possible values are customer_initiated, campaigns_initiated (legacy campaigns), operator_initiated (Custom bot), automated (Series and other outbounds with dynamic audience message) and admin_initiated (fixed audience message, ticket initiated by an admin, group email). */
11
- delivered_as?: string;
11
+ delivered_as?: string | undefined;
12
12
  /** Optional. The message subject. For Twitter, this will show a generic message regarding why the subject is obscured. */
13
- subject?: string;
13
+ subject?: string | undefined;
14
14
  /** The message body, which may contain HTML. For Twitter, this will show a generic message regarding why the body is obscured. */
15
- body?: string;
16
- author?: Intercom.ConversationPartAuthor;
15
+ body?: string | undefined;
16
+ author?: Intercom.ConversationPartAuthor | undefined;
17
17
  /** A list of attachments for the part. */
18
- attachments?: Intercom.PartAttachment[];
18
+ attachments?: Intercom.PartAttachment[] | undefined;
19
19
  /** The URL where the conversation was started. For Twitter, Email, and Bots, this will be blank. */
20
- url?: string;
20
+ url?: string | undefined;
21
21
  /** Whether or not the source message has been redacted. Only applicable for contact initiated messages. */
22
- redacted?: boolean;
22
+ redacted?: boolean | undefined;
23
23
  }
24
24
  export declare namespace ConversationSource {
25
25
  /** This includes conversation, email, facebook, instagram, phone_call, phone_switch, push, sms, twitter and whatsapp. */
@@ -3,50 +3,49 @@ import type * as Intercom from "../index.js";
3
3
  * A Statistics object containing all information required for reporting, with timestamps and calculated metrics.
4
4
  */
5
5
  export interface ConversationStatistics {
6
- /** */
7
- type?: string;
6
+ type?: string | undefined;
8
7
  /** Duration until last assignment before first admin reply. In seconds. */
9
- time_to_assignment?: number;
8
+ time_to_assignment?: number | undefined;
10
9
  /** Duration until first admin reply. Subtracts out of business hours. In seconds. */
11
- time_to_admin_reply?: number;
10
+ time_to_admin_reply?: number | undefined;
12
11
  /** Duration until conversation was closed first time. Subtracts out of business hours. In seconds. */
13
- time_to_first_close?: number;
12
+ time_to_first_close?: number | undefined;
14
13
  /** Duration until conversation was closed last time. Subtracts out of business hours. In seconds. */
15
- time_to_last_close?: number;
14
+ time_to_last_close?: number | undefined;
16
15
  /** Median based on all admin replies after a contact reply. Subtracts out of business hours. In seconds. */
17
- median_time_to_reply?: number;
16
+ median_time_to_reply?: number | undefined;
18
17
  /** Time of first text conversation part from a contact. */
19
- first_contact_reply_at?: number;
18
+ first_contact_reply_at?: number | undefined;
20
19
  /** Time of first assignment after first_contact_reply_at. */
21
- first_assignment_at?: number;
20
+ first_assignment_at?: number | undefined;
22
21
  /** Time of first admin reply after first_contact_reply_at. */
23
- first_admin_reply_at?: number;
22
+ first_admin_reply_at?: number | undefined;
24
23
  /** Time of first close after first_contact_reply_at. */
25
- first_close_at?: number;
24
+ first_close_at?: number | undefined;
26
25
  /** Time of last assignment after first_contact_reply_at. */
27
- last_assignment_at?: number;
26
+ last_assignment_at?: number | undefined;
28
27
  /** Time of first admin reply since most recent assignment. */
29
- last_assignment_admin_reply_at?: number;
28
+ last_assignment_admin_reply_at?: number | undefined;
30
29
  /** Time of the last conversation part from a contact. */
31
- last_contact_reply_at?: number;
30
+ last_contact_reply_at?: number | undefined;
32
31
  /** Time of the last conversation part from an admin. */
33
- last_admin_reply_at?: number;
32
+ last_admin_reply_at?: number | undefined;
34
33
  /** Time of the last conversation close. */
35
- last_close_at?: number;
34
+ last_close_at?: number | undefined;
36
35
  /** The last admin who closed the conversation. Returns a reference to an Admin object. */
37
- last_closed_by_id?: string;
36
+ last_closed_by_id?: string | undefined;
38
37
  /** Number of reopens after first_contact_reply_at. */
39
- count_reopens?: number;
38
+ count_reopens?: number | undefined;
40
39
  /** Number of assignments after first_contact_reply_at. */
41
- count_assignments?: number;
40
+ count_assignments?: number | undefined;
42
41
  /** Total number of conversation parts. */
43
- count_conversation_parts?: number;
42
+ count_conversation_parts?: number | undefined;
44
43
  /** An array of conversation response time objects */
45
- assigned_team_first_response_time_by_team?: Intercom.ConversationResponseTime[];
44
+ assigned_team_first_response_time_by_team?: Intercom.ConversationResponseTime[] | undefined;
46
45
  /** An array of conversation response time objects within office hours */
47
- assigned_team_first_response_time_in_office_hours?: Intercom.ConversationResponseTime[];
46
+ assigned_team_first_response_time_in_office_hours?: Intercom.ConversationResponseTime[] | undefined;
48
47
  /** Time from conversation assignment to conversation close in seconds. */
49
- handling_time?: number;
48
+ handling_time?: number | undefined;
50
49
  /** Adjusted handling time for conversation in seconds. This is the active handling time excluding idle periods when teammates are not actively working on the conversation. */
51
- adjusted_handling_time?: number;
50
+ adjusted_handling_time?: number | undefined;
52
51
  }