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,7 +4,7 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface ConversationTeammates {
6
6
  /** The type of the object - `admin.list`. */
7
- type?: string;
7
+ type?: string | undefined;
8
8
  /** The list of teammates who participated in the conversation (wrote at least one conversation part). */
9
- teammates?: Intercom.unstable.Reference[];
9
+ teammates?: Intercom.unstable.Reference[] | undefined;
10
10
  }
@@ -6,18 +6,18 @@ export interface CreateArticleRequest {
6
6
  /** The title of the article.For multilingual articles, this will be the title of the default language's content. */
7
7
  title: string;
8
8
  /** The description of the article. For multilingual articles, this will be the description of the default language's content. */
9
- description?: string;
9
+ description?: string | undefined;
10
10
  /** The content of the article. For multilingual articles, this will be the body of the default language's content. */
11
- body?: string;
11
+ body?: string | undefined;
12
12
  /** The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace. */
13
13
  author_id: number;
14
14
  /** Whether the article will be `published` or will be a `draft`. Defaults to draft. For multilingual articles, this will be the state of the default language's content. */
15
- state?: CreateArticleRequest.State;
15
+ state?: CreateArticleRequest.State | undefined;
16
16
  /** The id of the article's parent collection or section. An article without this field stands alone. */
17
- parent_id?: number;
17
+ parent_id?: number | undefined;
18
18
  /** The type of parent, which can either be a `collection` or `section`. */
19
- parent_type?: string;
20
- translated_content?: Intercom.unstable.ArticleTranslatedContent;
19
+ parent_type?: string | undefined;
20
+ translated_content?: Intercom.unstable.ArticleTranslatedContent | undefined;
21
21
  }
22
22
  export declare namespace CreateArticleRequest {
23
23
  /** Whether the article will be `published` or will be a `draft`. Defaults to draft. For multilingual articles, this will be the state of the default language's content. */
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Payload to create a contact
3
+ */
4
+ export type CreateContactRequest = unknown;
@@ -1,6 +1,3 @@
1
- /**
2
- *
3
- */
4
1
  export type CreateDataAttributeRequest = {
5
2
  data_type?: "options" | undefined;
6
3
  options: {
@@ -0,0 +1 @@
1
+ export type CreateDataEventRequest = unknown;
@@ -5,7 +5,7 @@ export interface CreateInternalArticleRequest {
5
5
  /** The title of the article. */
6
6
  title: string;
7
7
  /** The content of the article. */
8
- body?: string;
8
+ body?: string | undefined;
9
9
  /** The id of the author of the article. */
10
10
  author_id: number;
11
11
  /** The id of the owner of the article. */
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * You can create a message
3
3
  */
4
- export type CreateMessageRequest = unknown | undefined;
4
+ export type CreateMessageRequest = unknown;
@@ -3,21 +3,21 @@
3
3
  */
4
4
  export interface CreateOrUpdateCompanyRequest {
5
5
  /** The name of the Company */
6
- name?: string;
6
+ name?: string | undefined;
7
7
  /** The company id you have defined for the company. Can't be updated */
8
- company_id?: string;
8
+ company_id?: string | undefined;
9
9
  /** The name of the plan you have associated with the company. */
10
- plan?: string;
10
+ plan?: string | undefined;
11
11
  /** The number of employees in this company. */
12
- size?: number;
12
+ size?: number | undefined;
13
13
  /** The URL for this company's website. Please note that the value specified here is not validated. Accepts any string. */
14
- website?: string;
14
+ website?: string | undefined;
15
15
  /** The industry that this company operates in. */
16
- industry?: string;
16
+ industry?: string | undefined;
17
17
  /** A hash of key/value pairs containing any other data about the company you want Intercom to store. */
18
- custom_attributes?: Record<string, string>;
18
+ custom_attributes?: Record<string, string> | undefined;
19
19
  /** The time the company was created by you. */
20
- remote_created_at?: number;
20
+ remote_created_at?: number | undefined;
21
21
  /** How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647.. */
22
- monthly_spend?: number;
22
+ monthly_spend?: number | undefined;
23
23
  }
@@ -5,5 +5,5 @@ export interface CreateOrUpdateTagRequest {
5
5
  /** The name of the tag, which will be created if not found, or the new name for the tag if this is an update request. Names are case insensitive. */
6
6
  name: string;
7
7
  /** The id of tag to updates. */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  }
@@ -5,5 +5,5 @@ import type * as Intercom from "../../../index.js";
5
5
  export interface CreatePhoneSwitchRequest {
6
6
  /** Phone number in E.164 format, that will receive the SMS to continue the conversation in the Messenger. */
7
7
  phone: string;
8
- custom_attributes?: Intercom.unstable.CustomAttributes;
8
+ custom_attributes?: Intercom.unstable.CustomAttributes | undefined;
9
9
  }
@@ -13,12 +13,12 @@ export interface CreateTicketRequestBody {
13
13
  * - conversation | tracker ticket
14
14
  * - customer ticket | tracker ticket
15
15
  */
16
- conversation_to_link_id?: string;
16
+ conversation_to_link_id?: string | undefined;
17
17
  /** The ID of the company that the ticket is associated with. The unique identifier for the company which is given by Intercom */
18
- company_id?: string;
18
+ company_id?: string | undefined;
19
19
  /** The time the ticket was created. If not provided, the current time will be used. */
20
- created_at?: number;
21
- assignment?: CreateTicketRequestBody.Assignment;
20
+ created_at?: number | undefined;
21
+ assignment?: CreateTicketRequestBody.Assignment | undefined;
22
22
  }
23
23
  export declare namespace CreateTicketRequestBody {
24
24
  type Contacts = Contacts.Item[];
@@ -33,8 +33,8 @@ export declare namespace CreateTicketRequestBody {
33
33
  }
34
34
  interface Assignment {
35
35
  /** The ID of the admin to which the ticket is assigned. If not provided, the ticket will be unassigned. */
36
- admin_assignee_id?: string;
36
+ admin_assignee_id?: string | undefined;
37
37
  /** The ID of the team to which the ticket is assigned. If not provided, the ticket will be unassigned. */
38
- team_assignee_id?: string;
38
+ team_assignee_id?: string | undefined;
39
39
  }
40
40
  }
@@ -6,13 +6,13 @@ export interface CreateTicketTypeRequest {
6
6
  /** The name of the ticket type. */
7
7
  name: string;
8
8
  /** The description of the ticket type. */
9
- description?: string;
9
+ description?: string | undefined;
10
10
  /** Category of the Ticket Type. */
11
- category?: CreateTicketTypeRequest.Category;
11
+ category?: CreateTicketTypeRequest.Category | undefined;
12
12
  /** The icon of the ticket type. */
13
- icon?: string;
13
+ icon?: string | undefined;
14
14
  /** Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers. This is currently a limited attribute. */
15
- is_internal?: boolean;
15
+ is_internal?: boolean | undefined;
16
16
  }
17
17
  export declare namespace CreateTicketTypeRequest {
18
18
  /** Category of the Ticket Type. */
@@ -5,12 +5,12 @@ import type * as Intercom from "../../../index.js";
5
5
  */
6
6
  export interface CursorPages {
7
7
  /** the type of object `pages`. */
8
- type?: "pages";
8
+ type?: "pages" | undefined;
9
9
  /** The current page */
10
- page?: number;
11
- next?: Intercom.unstable.StartingAfterPaging;
10
+ page?: number | undefined;
11
+ next?: Intercom.unstable.StartingAfterPaging | undefined;
12
12
  /** Number of results per page */
13
- per_page?: number;
13
+ per_page?: number | undefined;
14
14
  /** Total number of pages */
15
- total_pages?: number;
15
+ total_pages?: number | undefined;
16
16
  }
@@ -2,14 +2,14 @@
2
2
  * Contains details about final status of the completed action for conversation part type <code>custom_action_finished</code>.
3
3
  */
4
4
  export interface CustomActionFinished {
5
- action?: CustomActionFinished.Action;
5
+ action?: CustomActionFinished.Action | undefined;
6
6
  }
7
7
  export declare namespace CustomActionFinished {
8
8
  interface Action {
9
9
  /** Name of the action */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  /** Status of the action */
12
- result?: Action.Result;
12
+ result?: Action.Result | undefined;
13
13
  }
14
14
  namespace Action {
15
15
  /** Status of the action */
@@ -2,11 +2,11 @@
2
2
  * Contains details about name of the action that was initiated for conversation part type <code>custom_action_started</code>.
3
3
  */
4
4
  export interface CustomActionStarted {
5
- action?: CustomActionStarted.Action;
5
+ action?: CustomActionStarted.Action | undefined;
6
6
  }
7
7
  export declare namespace CustomActionStarted {
8
8
  interface Action {
9
9
  /** Name of the action */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  }
12
12
  }
@@ -4,9 +4,9 @@ export interface CustomChannelContact {
4
4
  /** External identifier for the contact. Intercom will take care of the mapping of your external_id with our internal ones so you don't have to worry about it. */
5
5
  external_id: string;
6
6
  /** Name of the contact. Required for user type. */
7
- name?: string;
7
+ name?: string | undefined;
8
8
  /** Email address of the contact. Required for user type. */
9
- email?: string;
9
+ email?: string | undefined;
10
10
  }
11
11
  export declare namespace CustomChannelContact {
12
12
  /** Type of contact, must be "user" or "lead". */
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface CustomObjectInstanceDeleted {
5
5
  /** The unique identifier of the Custom Object type that defines the structure of the Custom Object instance. */
6
- object?: string;
6
+ object?: string | undefined;
7
7
  /** The Intercom defined id representing the Custom Object instance. */
8
- id?: string;
8
+ id?: string | undefined;
9
9
  /** Whether the Custom Object instance is deleted or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,7 +3,7 @@ import type * as Intercom from "../../../index.js";
3
3
  * The list of associated custom object instances for a given reference attribute on the parent object.
4
4
  */
5
5
  export interface CustomObjectInstanceList {
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** The list of associated custom object instances for a given reference attribute on the parent object. */
8
- instances?: (Intercom.unstable.CustomObjectInstance | undefined)[];
8
+ instances?: (Intercom.unstable.CustomObjectInstance | undefined)[] | undefined;
9
9
  }
@@ -4,7 +4,7 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface DataAttributeList {
6
6
  /** The type of the object */
7
- type?: "list";
7
+ type?: "list" | undefined;
8
8
  /** A list of data attributes */
9
- data?: Intercom.unstable.DataAttribute[];
9
+ data?: Intercom.unstable.DataAttribute[] | undefined;
10
10
  }
@@ -4,18 +4,18 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface DataEventList {
6
6
  /** The type of the object */
7
- type?: "event.list";
7
+ type?: "event.list" | undefined;
8
8
  /** A list of data events */
9
- events?: Intercom.unstable.DataEvent[];
9
+ events?: Intercom.unstable.DataEvent[] | undefined;
10
10
  /** Pagination */
11
- pages?: DataEventList.Pages;
11
+ pages?: DataEventList.Pages | undefined;
12
12
  }
13
13
  export declare namespace DataEventList {
14
14
  /**
15
15
  * Pagination
16
16
  */
17
17
  interface Pages {
18
- next?: string;
19
- since?: string;
18
+ next?: string | undefined;
19
+ since?: string | undefined;
20
20
  }
21
21
  }
@@ -4,13 +4,13 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface DataEventSummary {
6
6
  /** The type of the object */
7
- type?: "event.summary";
7
+ type?: "event.summary" | undefined;
8
8
  /** The email address of the user */
9
- email?: string;
9
+ email?: string | undefined;
10
10
  /** The Intercom user ID of the user */
11
- intercom_user_id?: string;
11
+ intercom_user_id?: string | undefined;
12
12
  /** The user ID of the user */
13
- user_id?: string;
13
+ user_id?: string | undefined;
14
14
  /** A summary of data events */
15
- events?: (Intercom.unstable.DataEventSummaryItem | undefined)[];
15
+ events?: (Intercom.unstable.DataEventSummaryItem | undefined)[] | undefined;
16
16
  }
@@ -3,13 +3,13 @@
3
3
  */
4
4
  export interface DataEventSummaryItem {
5
5
  /** The name of the event */
6
- name?: string;
6
+ name?: string | undefined;
7
7
  /** The first time the event was sent */
8
- first?: string;
8
+ first?: string | undefined;
9
9
  /** The last time the event was sent */
10
- last?: string;
10
+ last?: string | undefined;
11
11
  /** The number of times the event was sent */
12
- count?: number;
12
+ count?: number | undefined;
13
13
  /** The description of the event */
14
- description?: string;
14
+ description?: string | undefined;
15
15
  }
@@ -3,55 +3,55 @@
3
3
  */
4
4
  export interface DataExportCsv {
5
5
  /** The user_id of the user who was sent the message. */
6
- user_id?: string;
6
+ user_id?: string | undefined;
7
7
  /** The external_user_id of the user who was sent the message */
8
- user_external_id?: string;
8
+ user_external_id?: string | undefined;
9
9
  /** The company ID of the user in relation to the message that was sent. Will return -1 if no company is present. */
10
- company_id?: string;
10
+ company_id?: string | undefined;
11
11
  /** The users email who was sent the message. */
12
- email?: string;
12
+ email?: string | undefined;
13
13
  /** The full name of the user receiving the message */
14
- name?: string;
14
+ name?: string | undefined;
15
15
  /** The id of the message. */
16
- ruleset_id?: string;
16
+ ruleset_id?: string | undefined;
17
17
  /** The specific content that was received. In an A/B test each version has its own Content ID. */
18
- content_id?: string;
18
+ content_id?: string | undefined;
19
19
  /** Email, Chat, Post etc. */
20
- content_type?: string;
20
+ content_type?: string | undefined;
21
21
  /** The title of the content you see in your Intercom workspace. */
22
- content_title?: string;
22
+ content_title?: string | undefined;
23
23
  /** As you edit content we record new versions. This ID can help you determine which version of a piece of content that was received. */
24
- ruleset_version_id?: string;
24
+ ruleset_version_id?: string | undefined;
25
25
  /** ID for this receipt. Will be included with any related stats in other files to identify this specific delivery of a message. */
26
- receipt_id?: string;
26
+ receipt_id?: string | undefined;
27
27
  /** Timestamp for when the receipt was recorded. */
28
- received_at?: number;
28
+ received_at?: number | undefined;
29
29
  /** The id of the series that this content is part of. Will return -1 if not part of a series. */
30
- series_id?: string;
30
+ series_id?: string | undefined;
31
31
  /** The title of the series that this content is part of. */
32
- series_title?: string;
32
+ series_title?: string | undefined;
33
33
  /** The id of the series node that this ruleset is associated with. Each block in a series has a corresponding node_id. */
34
- node_id?: string;
34
+ node_id?: string | undefined;
35
35
  /** The first time a user replied to this message if the content was able to receive replies. */
36
- first_reply?: number;
36
+ first_reply?: number | undefined;
37
37
  /** The first time a user completed this message if the content was able to be completed e.g. Tours, Surveys. */
38
- first_completion?: number;
38
+ first_completion?: number | undefined;
39
39
  /** The first time the series this message was a part of was completed by the user. */
40
- first_series_completion?: number;
40
+ first_series_completion?: number | undefined;
41
41
  /** The first time the series this message was a part of was disengaged by the user. */
42
- first_series_disengagement?: number;
42
+ first_series_disengagement?: number | undefined;
43
43
  /** The first time the series this message was a part of was exited by the user. */
44
- first_series_exit?: number;
44
+ first_series_exit?: number | undefined;
45
45
  /** The first time the user met this messages associated goal if one exists. */
46
- first_goal_success?: number;
46
+ first_goal_success?: number | undefined;
47
47
  /** The first time the user opened this message. */
48
- first_open?: number;
48
+ first_open?: number | undefined;
49
49
  /** The first time the series the user clicked on a link within this message. */
50
- first_click?: number;
50
+ first_click?: number | undefined;
51
51
  /** The first time the series the user dismissed this message. */
52
- first_dismisall?: number;
52
+ first_dismisall?: number | undefined;
53
53
  /** The first time the user unsubscribed from this message. */
54
- first_unsubscribe?: number;
54
+ first_unsubscribe?: number | undefined;
55
55
  /** The first time this message hard bounced for this user */
56
- first_hard_bounce?: number;
56
+ first_hard_bounce?: number | undefined;
57
57
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface DeletedArticleObject {
5
5
  /** The unique identifier for the article which you provided in the URL. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** The type of object which was deleted. - article */
8
- object?: "article";
8
+ object?: "article" | undefined;
9
9
  /** Whether the article was deleted successfully or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface DeletedCollectionObject {
5
5
  /** The unique identifier for the collection which you provided in the URL. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** The type of object which was deleted. - `collection` */
8
- object?: "collection";
8
+ object?: "collection" | undefined;
9
9
  /** Whether the collection was deleted successfully or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface DeletedCompanyObject {
5
5
  /** The unique identifier for the company which is given by Intercom. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** The type of object which was deleted. - `company` */
8
- object?: "company";
8
+ object?: "company" | undefined;
9
9
  /** Whether the company was deleted successfully or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface DeletedInternalArticleObject {
5
5
  /** The unique identifier for the internal article which you provided in the URL. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** The type of object which was deleted. - internal_article */
8
- object?: "internal_article";
8
+ object?: "internal_article" | undefined;
9
9
  /** Whether the internal article was deleted successfully or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface DeletedObject {
5
5
  /** The unique identifier for the news item which you provided in the URL. */
6
- id?: string;
6
+ id?: string | undefined;
7
7
  /** The type of object which was deleted - news-item. */
8
- object?: "news-item";
8
+ object?: "news-item" | undefined;
9
9
  /** Whether the news item was deleted successfully or not. */
10
- deleted?: boolean;
10
+ deleted?: boolean | undefined;
11
11
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface EmailAddressHeader {
5
5
  /** The type of email address header */
6
- type?: string;
6
+ type?: string | undefined;
7
7
  /** The email address */
8
- email_address?: string;
8
+ email_address?: string | undefined;
9
9
  /** The name associated with the email address */
10
- name?: string;
10
+ name?: string | undefined;
11
11
  }
@@ -4,9 +4,9 @@ import type * as Intercom from "../../../index.js";
4
4
  */
5
5
  export interface EmailMessageMetadata {
6
6
  /** The subject of the email */
7
- subject?: string;
7
+ subject?: string | undefined;
8
8
  /** A list of an email address headers. */
9
- email_address_headers?: Intercom.unstable.EmailAddressHeader[];
9
+ email_address_headers?: Intercom.unstable.EmailAddressHeader[] | undefined;
10
10
  /** The unique identifier for the email message as specified in the Message-ID header */
11
- message_id?: string;
11
+ message_id?: string | undefined;
12
12
  }
@@ -4,8 +4,7 @@
4
4
  export interface Error_ {
5
5
  /** The type is error.list */
6
6
  type: string;
7
- /** */
8
- request_id?: string;
7
+ request_id?: string | undefined;
9
8
  /** An array of one or more error objects */
10
9
  errors: Error_.Errors.Item[];
11
10
  }
@@ -16,9 +15,9 @@ export declare namespace Error_ {
16
15
  /** A string indicating the kind of error, used to further qualify the HTTP response code */
17
16
  code: string;
18
17
  /** Optional. Human readable description of the error. */
19
- message?: string;
18
+ message?: string | undefined;
20
19
  /** Optional. Used to identify a particular field or query parameter that was in error. */
21
- field?: string;
20
+ field?: string | undefined;
22
21
  }
23
22
  }
24
23
  }
@@ -2,17 +2,17 @@
2
2
  * The value describing a file upload set for a custom attribute
3
3
  */
4
4
  export interface FileAttribute {
5
- type?: string;
5
+ type?: string | undefined;
6
6
  /** The name of the file */
7
- name?: string;
7
+ name?: string | undefined;
8
8
  /** The url of the file. This is a temporary URL and will expire after 30 minutes. */
9
- url?: string;
9
+ url?: string | undefined;
10
10
  /** The type of file */
11
- content_type?: string;
11
+ content_type?: string | undefined;
12
12
  /** The size of the file in bytes */
13
- filesize?: number;
13
+ filesize?: number | undefined;
14
14
  /** The width of the file in pixels, if applicable */
15
- width?: number;
15
+ width?: number | undefined;
16
16
  /** The height of the file in pixels, if applicable */
17
- height?: number;
17
+ height?: number | undefined;
18
18
  }
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface GroupContent {
5
5
  /** The type of object - `group_content` . */
6
- type?: "group_content";
6
+ type?: "group_content" | undefined;
7
7
  /** The name of the collection or section. */
8
- name?: string;
8
+ name?: string | undefined;
9
9
  /** The description of the collection. Only available for collections. */
10
- description?: string;
10
+ description?: string | undefined;
11
11
  }