intercom-client 6.0.0-beta.3 → 6.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 (2375) hide show
  1. package/.gitattributes +1 -0
  2. package/Client.d.ts +90 -0
  3. package/Client.js +112 -0
  4. package/LICENSE +10 -198
  5. package/README.md +126 -209
  6. package/REPO_OWNER +1 -0
  7. package/api/errors/BadRequestError.d.ts +7 -0
  8. package/api/errors/BadRequestError.js +41 -0
  9. package/api/errors/ForbiddenError.d.ts +8 -0
  10. package/api/errors/ForbiddenError.js +41 -0
  11. package/api/errors/NotFoundError.d.ts +7 -0
  12. package/api/errors/NotFoundError.js +41 -0
  13. package/api/errors/UnauthorizedError.d.ts +8 -0
  14. package/api/errors/UnauthorizedError.js +41 -0
  15. package/api/errors/UnprocessableEntityError.d.ts +7 -0
  16. package/api/errors/UnprocessableEntityError.js +41 -0
  17. package/api/errors/index.d.ts +5 -0
  18. package/api/errors/index.js +21 -0
  19. package/api/index.d.ts +4 -0
  20. package/api/index.js +19 -0
  21. package/api/resources/admins/client/Client.d.ts +107 -0
  22. package/api/resources/admins/client/Client.js +364 -0
  23. package/api/resources/admins/client/index.d.ts +1 -0
  24. package/api/resources/admins/client/index.js +17 -0
  25. package/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +35 -0
  26. package/api/resources/admins/client/requests/ConfigureAwayAdminRequest.js +5 -0
  27. package/api/resources/admins/client/requests/FindAdminRequest.d.ts +15 -0
  28. package/api/resources/admins/client/requests/FindAdminRequest.js +5 -0
  29. package/api/resources/admins/client/requests/ListAllActivityLogsRequest.d.ts +20 -0
  30. package/api/resources/admins/client/requests/ListAllActivityLogsRequest.js +5 -0
  31. package/api/resources/admins/client/requests/index.d.ts +3 -0
  32. package/api/resources/admins/client/requests/index.js +2 -0
  33. package/api/resources/admins/index.d.ts +2 -0
  34. package/api/resources/admins/index.js +18 -0
  35. package/api/resources/admins/types/Admin.d.ts +39 -0
  36. package/api/resources/admins/types/Admin.js +5 -0
  37. package/api/resources/admins/types/index.d.ts +1 -0
  38. package/api/resources/admins/types/index.js +17 -0
  39. package/api/resources/aiAgent/index.d.ts +1 -0
  40. package/api/resources/aiAgent/index.js +17 -0
  41. package/api/resources/aiAgent/types/AiAgent.d.ts +35 -0
  42. package/api/resources/aiAgent/types/AiAgent.js +16 -0
  43. package/api/resources/aiAgent/types/index.d.ts +1 -0
  44. package/api/resources/aiAgent/types/index.js +17 -0
  45. package/api/resources/aiContentSource/index.d.ts +1 -0
  46. package/api/resources/aiContentSource/index.js +17 -0
  47. package/api/resources/aiContentSource/types/ContentSource.d.ts +29 -0
  48. package/api/resources/aiContentSource/types/ContentSource.js +16 -0
  49. package/api/resources/aiContentSource/types/index.d.ts +1 -0
  50. package/api/resources/aiContentSource/types/index.js +17 -0
  51. package/api/resources/articles/client/Client.d.ts +153 -0
  52. package/api/resources/articles/client/Client.js +491 -0
  53. package/api/resources/articles/client/index.d.ts +1 -0
  54. package/api/resources/articles/client/index.js +17 -0
  55. package/api/resources/articles/client/requests/CreateArticleRequest.d.ts +70 -0
  56. package/api/resources/articles/client/requests/CreateArticleRequest.js +17 -0
  57. package/api/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
  58. package/api/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
  59. package/api/resources/articles/client/requests/FindArticleRequest.d.ts +15 -0
  60. package/api/resources/articles/client/requests/FindArticleRequest.js +5 -0
  61. package/api/resources/articles/client/requests/ListArticlesRequest.d.ts +17 -0
  62. package/api/resources/articles/client/requests/ListArticlesRequest.js +5 -0
  63. package/api/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
  64. package/api/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
  65. package/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +58 -0
  66. package/api/resources/articles/client/requests/UpdateArticleRequest.js +17 -0
  67. package/api/resources/articles/client/requests/index.d.ts +6 -0
  68. package/api/resources/articles/client/requests/index.js +2 -0
  69. package/api/resources/articles/index.d.ts +2 -0
  70. package/api/resources/articles/index.js +18 -0
  71. package/api/resources/articles/types/Article.d.ts +10 -0
  72. package/api/resources/articles/types/Article.js +5 -0
  73. package/api/resources/articles/types/ArticleListItem.d.ts +50 -0
  74. package/api/resources/articles/types/ArticleListItem.js +13 -0
  75. package/api/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
  76. package/api/resources/articles/types/ArticleSearchHighlights.js +29 -0
  77. package/api/resources/articles/types/SearchArticlesResponse.d.ts +27 -0
  78. package/api/resources/articles/types/SearchArticlesResponse.js +5 -0
  79. package/api/resources/articles/types/index.d.ts +4 -0
  80. package/api/resources/articles/types/index.js +20 -0
  81. package/api/resources/companies/client/Client.d.ts +263 -0
  82. package/api/resources/companies/client/Client.js +855 -0
  83. package/api/resources/companies/client/index.d.ts +1 -0
  84. package/api/resources/companies/client/index.js +17 -0
  85. package/api/resources/companies/client/requests/AttachContactToCompanyRequest.d.ts +30 -0
  86. package/api/resources/companies/client/requests/AttachContactToCompanyRequest.js +5 -0
  87. package/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.d.ts +34 -0
  88. package/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.js +5 -0
  89. package/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
  90. package/api/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
  91. package/api/resources/companies/client/requests/DetachContactFromCompanyRequest.d.ts +20 -0
  92. package/api/resources/companies/client/requests/DetachContactFromCompanyRequest.js +5 -0
  93. package/api/resources/companies/client/requests/FindCompanyRequest.d.ts +15 -0
  94. package/api/resources/companies/client/requests/FindCompanyRequest.js +5 -0
  95. package/api/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +23 -0
  96. package/api/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
  97. package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +23 -0
  98. package/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
  99. package/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.d.ts +15 -0
  100. package/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.js +5 -0
  101. package/api/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
  102. package/api/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
  103. package/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +13 -0
  104. package/api/resources/companies/client/requests/ScrollCompaniesRequest.js +5 -0
  105. package/api/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
  106. package/api/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
  107. package/api/resources/companies/client/requests/index.d.ts +11 -0
  108. package/api/resources/companies/client/requests/index.js +2 -0
  109. package/api/resources/companies/index.d.ts +2 -0
  110. package/api/resources/companies/index.js +18 -0
  111. package/api/resources/companies/types/Company.d.ts +72 -0
  112. package/api/resources/companies/types/Company.js +5 -0
  113. package/api/resources/companies/types/index.d.ts +1 -0
  114. package/api/resources/companies/types/index.js +17 -0
  115. package/api/resources/contacts/client/Client.d.ts +382 -0
  116. package/api/resources/contacts/client/Client.js +1112 -0
  117. package/api/resources/contacts/client/index.d.ts +1 -0
  118. package/api/resources/contacts/client/index.js +17 -0
  119. package/api/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
  120. package/api/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
  121. package/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +35 -0
  122. package/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.js +5 -0
  123. package/api/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
  124. package/api/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
  125. package/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.d.ts +20 -0
  126. package/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.js +5 -0
  127. package/api/resources/contacts/client/requests/FindContactRequest.d.ts +15 -0
  128. package/api/resources/contacts/client/requests/FindContactRequest.js +5 -0
  129. package/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.d.ts +23 -0
  130. package/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.js +5 -0
  131. package/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.d.ts +15 -0
  132. package/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.js +5 -0
  133. package/api/resources/contacts/client/requests/ListContactsRequest.d.ts +21 -0
  134. package/api/resources/contacts/client/requests/ListContactsRequest.js +5 -0
  135. package/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.d.ts +15 -0
  136. package/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.js +5 -0
  137. package/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.d.ts +15 -0
  138. package/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.js +5 -0
  139. package/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
  140. package/api/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
  141. package/api/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
  142. package/api/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
  143. package/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +39 -0
  144. package/api/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
  145. package/api/resources/contacts/client/requests/index.d.ts +13 -0
  146. package/api/resources/contacts/client/requests/index.js +2 -0
  147. package/api/resources/contacts/index.d.ts +2 -0
  148. package/api/resources/contacts/index.js +18 -0
  149. package/api/resources/contacts/types/Contact.d.ts +103 -0
  150. package/api/resources/contacts/types/Contact.js +5 -0
  151. package/api/resources/contacts/types/index.d.ts +1 -0
  152. package/api/resources/contacts/types/index.js +17 -0
  153. package/api/resources/conversations/client/Client.d.ts +506 -0
  154. package/api/resources/conversations/client/Client.js +1132 -0
  155. package/api/resources/conversations/client/index.d.ts +1 -0
  156. package/api/resources/conversations/client/index.js +17 -0
  157. package/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
  158. package/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
  159. package/api/resources/conversations/client/requests/AutoAssignConversationRequest.d.ts +15 -0
  160. package/api/resources/conversations/client/requests/AutoAssignConversationRequest.js +5 -0
  161. package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
  162. package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
  163. package/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
  164. package/api/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
  165. package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
  166. package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
  167. package/api/resources/conversations/client/requests/FindConversationRequest.d.ts +20 -0
  168. package/api/resources/conversations/client/requests/FindConversationRequest.js +5 -0
  169. package/api/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
  170. package/api/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
  171. package/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +62 -0
  172. package/api/resources/conversations/client/requests/ManageConversationPartsRequest.js +5 -0
  173. package/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +89 -0
  174. package/api/resources/conversations/client/requests/ReplyToConversationRequest.js +5 -0
  175. package/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +40 -0
  176. package/api/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
  177. package/api/resources/conversations/client/requests/index.d.ts +10 -0
  178. package/api/resources/conversations/client/requests/index.js +2 -0
  179. package/api/resources/conversations/index.d.ts +2 -0
  180. package/api/resources/conversations/index.js +18 -0
  181. package/api/resources/conversations/types/Conversation.d.ts +68 -0
  182. package/api/resources/conversations/types/Conversation.js +18 -0
  183. package/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +19 -0
  184. package/api/resources/conversations/types/ConversationsManageRequestBody.js +5 -0
  185. package/api/resources/conversations/types/index.d.ts +2 -0
  186. package/api/resources/conversations/types/index.js +18 -0
  187. package/api/resources/dataAttributes/client/Client.d.ts +149 -0
  188. package/api/resources/dataAttributes/client/Client.js +335 -0
  189. package/api/resources/dataAttributes/client/index.d.ts +1 -0
  190. package/api/resources/dataAttributes/client/index.js +17 -0
  191. package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
  192. package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
  193. package/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.d.ts +18 -0
  194. package/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.js +5 -0
  195. package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +69 -0
  196. package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
  197. package/api/resources/dataAttributes/client/requests/index.d.ts +3 -0
  198. package/api/resources/dataAttributes/client/requests/index.js +2 -0
  199. package/api/resources/dataAttributes/index.d.ts +2 -0
  200. package/api/resources/dataAttributes/index.js +18 -0
  201. package/api/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
  202. package/api/resources/dataAttributes/types/DataAttribute.js +20 -0
  203. package/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +9 -0
  204. package/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +11 -0
  205. package/api/resources/dataAttributes/types/index.d.ts +2 -0
  206. package/api/resources/dataAttributes/types/index.js +18 -0
  207. package/api/resources/dataEvents/index.d.ts +1 -0
  208. package/api/resources/dataEvents/index.js +17 -0
  209. package/api/resources/dataEvents/types/DataEvent.d.ts +24 -0
  210. package/api/resources/dataEvents/types/DataEvent.js +5 -0
  211. package/api/resources/dataEvents/types/index.d.ts +1 -0
  212. package/api/resources/dataEvents/types/index.js +17 -0
  213. package/api/resources/dataExport/client/Client.d.ts +108 -0
  214. package/api/resources/dataExport/client/Client.js +287 -0
  215. package/api/resources/dataExport/client/index.d.ts +1 -0
  216. package/api/resources/dataExport/client/index.js +17 -0
  217. package/api/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
  218. package/api/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
  219. package/api/resources/dataExport/client/requests/CreateDataExportRequest.d.ts +16 -0
  220. package/api/resources/dataExport/client/requests/CreateDataExportRequest.js +5 -0
  221. package/api/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
  222. package/api/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
  223. package/api/resources/dataExport/client/requests/FindDataExportRequest.d.ts +15 -0
  224. package/api/resources/dataExport/client/requests/FindDataExportRequest.js +5 -0
  225. package/api/resources/dataExport/client/requests/index.d.ts +4 -0
  226. package/api/resources/dataExport/client/requests/index.js +2 -0
  227. package/api/resources/dataExport/index.d.ts +2 -0
  228. package/api/resources/dataExport/index.js +18 -0
  229. package/api/resources/dataExport/types/DataExport.d.ts +30 -0
  230. package/api/resources/dataExport/types/DataExport.js +17 -0
  231. package/api/resources/dataExport/types/index.d.ts +1 -0
  232. package/api/resources/dataExport/types/index.js +17 -0
  233. package/api/resources/events/client/Client.d.ts +129 -0
  234. package/api/resources/events/client/Client.js +305 -0
  235. package/api/resources/events/client/index.d.ts +1 -0
  236. package/api/resources/events/client/index.js +17 -0
  237. package/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +28 -0
  238. package/api/resources/events/client/requests/ListEventSummariesRequest.js +5 -0
  239. package/api/resources/events/client/requests/ListEventsRequest.d.ts +35 -0
  240. package/api/resources/events/client/requests/ListEventsRequest.js +5 -0
  241. package/api/resources/events/client/requests/index.d.ts +2 -0
  242. package/api/resources/events/client/requests/index.js +2 -0
  243. package/api/resources/events/index.d.ts +1 -0
  244. package/api/resources/events/index.js +17 -0
  245. package/api/resources/helpCenter/index.d.ts +1 -0
  246. package/api/resources/helpCenter/index.js +17 -0
  247. package/api/resources/helpCenter/types/Collection.d.ts +34 -0
  248. package/api/resources/helpCenter/types/Collection.js +5 -0
  249. package/api/resources/helpCenter/types/HelpCenter.d.ts +22 -0
  250. package/api/resources/helpCenter/types/HelpCenter.js +5 -0
  251. package/api/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
  252. package/api/resources/helpCenter/types/HelpCenterList.js +5 -0
  253. package/api/resources/helpCenter/types/index.d.ts +3 -0
  254. package/api/resources/helpCenter/types/index.js +19 -0
  255. package/api/resources/helpCenters/client/Client.d.ts +62 -0
  256. package/api/resources/helpCenters/client/Client.js +202 -0
  257. package/api/resources/helpCenters/client/index.d.ts +1 -0
  258. package/api/resources/helpCenters/client/index.js +17 -0
  259. package/api/resources/helpCenters/client/requests/FindHelpCenterRequest.d.ts +15 -0
  260. package/api/resources/helpCenters/client/requests/FindHelpCenterRequest.js +5 -0
  261. package/api/resources/helpCenters/client/requests/ListHelpCentersRequest.d.ts +17 -0
  262. package/api/resources/helpCenters/client/requests/ListHelpCentersRequest.js +5 -0
  263. package/api/resources/helpCenters/client/requests/index.d.ts +2 -0
  264. package/api/resources/helpCenters/client/requests/index.js +2 -0
  265. package/api/resources/helpCenters/index.d.ts +2 -0
  266. package/api/resources/helpCenters/index.js +18 -0
  267. package/api/resources/helpCenters/resources/collections/client/Client.d.ts +113 -0
  268. package/api/resources/helpCenters/resources/collections/client/Client.js +395 -0
  269. package/api/resources/helpCenters/resources/collections/client/index.d.ts +1 -0
  270. package/api/resources/helpCenters/resources/collections/client/index.js +17 -0
  271. package/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.d.ts +27 -0
  272. package/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.js +5 -0
  273. package/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.d.ts +15 -0
  274. package/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.js +5 -0
  275. package/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.d.ts +15 -0
  276. package/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.js +5 -0
  277. package/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.d.ts +17 -0
  278. package/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.js +5 -0
  279. package/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +30 -0
  280. package/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.js +5 -0
  281. package/api/resources/helpCenters/resources/collections/client/requests/index.d.ts +5 -0
  282. package/api/resources/helpCenters/resources/collections/client/requests/index.js +2 -0
  283. package/api/resources/helpCenters/resources/collections/index.d.ts +1 -0
  284. package/api/resources/helpCenters/resources/collections/index.js +17 -0
  285. package/api/resources/helpCenters/resources/index.d.ts +2 -0
  286. package/api/resources/helpCenters/resources/index.js +31 -0
  287. package/api/resources/index.d.ts +60 -0
  288. package/api/resources/index.js +89 -0
  289. package/api/resources/messages/client/Client.d.ts +127 -0
  290. package/api/resources/messages/client/Client.js +207 -0
  291. package/api/resources/messages/client/index.d.ts +1 -0
  292. package/api/resources/messages/client/index.js +2 -0
  293. package/api/resources/messages/index.d.ts +2 -0
  294. package/api/resources/messages/index.js +18 -0
  295. package/api/resources/messages/types/Message.d.ts +34 -0
  296. package/api/resources/messages/types/Message.js +15 -0
  297. package/api/resources/messages/types/index.d.ts +1 -0
  298. package/api/resources/messages/types/index.js +17 -0
  299. package/api/resources/news/client/Client.d.ts +36 -0
  300. package/api/resources/news/client/Client.js +22 -0
  301. package/api/resources/news/client/index.d.ts +1 -0
  302. package/api/resources/news/client/index.js +2 -0
  303. package/api/resources/news/index.d.ts +3 -0
  304. package/api/resources/news/index.js +19 -0
  305. package/api/resources/news/resources/feeds/client/Client.d.ts +71 -0
  306. package/api/resources/news/resources/feeds/client/Client.js +228 -0
  307. package/api/resources/news/resources/feeds/client/index.d.ts +1 -0
  308. package/api/resources/news/resources/feeds/client/index.js +17 -0
  309. package/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.d.ts +15 -0
  310. package/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.js +5 -0
  311. package/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.d.ts +15 -0
  312. package/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.js +5 -0
  313. package/api/resources/news/resources/feeds/client/requests/index.d.ts +2 -0
  314. package/api/resources/news/resources/feeds/client/requests/index.js +2 -0
  315. package/api/resources/news/resources/feeds/index.d.ts +1 -0
  316. package/api/resources/news/resources/feeds/index.js +17 -0
  317. package/api/resources/news/resources/index.d.ts +4 -0
  318. package/api/resources/news/resources/index.js +33 -0
  319. package/api/resources/news/resources/items/client/Client.d.ts +127 -0
  320. package/api/resources/news/resources/items/client/Client.js +375 -0
  321. package/api/resources/news/resources/items/client/index.d.ts +1 -0
  322. package/api/resources/news/resources/items/client/index.js +17 -0
  323. package/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.d.ts +15 -0
  324. package/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.js +5 -0
  325. package/api/resources/news/resources/items/client/requests/FindNewsItemRequest.d.ts +15 -0
  326. package/api/resources/news/resources/items/client/requests/FindNewsItemRequest.js +5 -0
  327. package/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.d.ts +34 -0
  328. package/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.js +5 -0
  329. package/api/resources/news/resources/items/client/requests/index.d.ts +3 -0
  330. package/api/resources/news/resources/items/client/requests/index.js +2 -0
  331. package/api/resources/news/resources/items/index.d.ts +1 -0
  332. package/api/resources/news/resources/items/index.js +17 -0
  333. package/api/resources/news/types/NewsItem.d.ts +47 -0
  334. package/api/resources/news/types/NewsItem.js +13 -0
  335. package/api/resources/news/types/Newsfeed.d.ts +20 -0
  336. package/api/resources/news/types/Newsfeed.js +5 -0
  337. package/api/resources/news/types/NewsfeedAssignment.d.ts +12 -0
  338. package/api/resources/news/types/NewsfeedAssignment.js +5 -0
  339. package/api/resources/news/types/index.d.ts +3 -0
  340. package/api/resources/news/types/index.js +19 -0
  341. package/api/resources/notes/client/Client.d.ts +80 -0
  342. package/api/resources/notes/client/Client.js +272 -0
  343. package/api/resources/notes/client/index.d.ts +1 -0
  344. package/api/resources/notes/client/index.js +17 -0
  345. package/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +35 -0
  346. package/api/resources/notes/client/requests/CreateContactNoteRequest.js +5 -0
  347. package/api/resources/notes/client/requests/FindNoteRequest.d.ts +15 -0
  348. package/api/resources/notes/client/requests/FindNoteRequest.js +5 -0
  349. package/api/resources/notes/client/requests/ListContactNotesRequest.d.ts +23 -0
  350. package/api/resources/notes/client/requests/ListContactNotesRequest.js +5 -0
  351. package/api/resources/notes/client/requests/index.d.ts +3 -0
  352. package/api/resources/notes/client/requests/index.js +2 -0
  353. package/api/resources/notes/index.d.ts +2 -0
  354. package/api/resources/notes/index.js +18 -0
  355. package/api/resources/notes/types/Note.d.ts +32 -0
  356. package/api/resources/notes/types/Note.js +5 -0
  357. package/api/resources/notes/types/index.d.ts +1 -0
  358. package/api/resources/notes/types/index.js +17 -0
  359. package/api/resources/phoneCallRedirects/client/Client.d.ts +64 -0
  360. package/api/resources/phoneCallRedirects/client/Client.js +142 -0
  361. package/api/resources/phoneCallRedirects/client/index.d.ts +1 -0
  362. package/api/resources/phoneCallRedirects/client/index.js +17 -0
  363. package/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.d.ts +46 -0
  364. package/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.js +5 -0
  365. package/api/resources/phoneCallRedirects/client/requests/index.d.ts +1 -0
  366. package/api/resources/phoneCallRedirects/client/requests/index.js +2 -0
  367. package/api/resources/phoneCallRedirects/index.d.ts +1 -0
  368. package/api/resources/phoneCallRedirects/index.js +17 -0
  369. package/api/resources/segments/client/Client.d.ts +62 -0
  370. package/api/resources/segments/client/Client.js +185 -0
  371. package/api/resources/segments/client/index.d.ts +1 -0
  372. package/api/resources/segments/client/index.js +17 -0
  373. package/api/resources/segments/client/requests/FindSegmentRequest.d.ts +15 -0
  374. package/api/resources/segments/client/requests/FindSegmentRequest.js +5 -0
  375. package/api/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
  376. package/api/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
  377. package/api/resources/segments/client/requests/index.d.ts +2 -0
  378. package/api/resources/segments/client/requests/index.js +2 -0
  379. package/api/resources/segments/index.d.ts +2 -0
  380. package/api/resources/segments/index.js +18 -0
  381. package/api/resources/segments/types/Segment.d.ts +32 -0
  382. package/api/resources/segments/types/Segment.js +13 -0
  383. package/api/resources/segments/types/index.d.ts +1 -0
  384. package/api/resources/segments/types/index.js +17 -0
  385. package/api/resources/subscriptionTypes/client/Client.d.ts +46 -0
  386. package/api/resources/subscriptionTypes/client/Client.js +119 -0
  387. package/api/resources/subscriptionTypes/client/index.d.ts +1 -0
  388. package/api/resources/subscriptionTypes/client/index.js +2 -0
  389. package/api/resources/subscriptionTypes/index.d.ts +2 -0
  390. package/api/resources/subscriptionTypes/index.js +18 -0
  391. package/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
  392. package/api/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
  393. package/api/resources/subscriptionTypes/types/index.d.ts +1 -0
  394. package/api/resources/subscriptionTypes/types/index.js +17 -0
  395. package/api/resources/tags/client/Client.d.ts +234 -0
  396. package/api/resources/tags/client/Client.js +723 -0
  397. package/api/resources/tags/client/index.d.ts +1 -0
  398. package/api/resources/tags/client/index.js +17 -0
  399. package/api/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
  400. package/api/resources/tags/client/requests/DeleteTagRequest.js +5 -0
  401. package/api/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
  402. package/api/resources/tags/client/requests/FindTagRequest.js +5 -0
  403. package/api/resources/tags/client/requests/TagContactRequest.d.ts +30 -0
  404. package/api/resources/tags/client/requests/TagContactRequest.js +5 -0
  405. package/api/resources/tags/client/requests/TagConversationRequest.d.ts +28 -0
  406. package/api/resources/tags/client/requests/TagConversationRequest.js +5 -0
  407. package/api/resources/tags/client/requests/TagTicketRequest.d.ts +28 -0
  408. package/api/resources/tags/client/requests/TagTicketRequest.js +5 -0
  409. package/api/resources/tags/client/requests/UntagContactRequest.d.ts +20 -0
  410. package/api/resources/tags/client/requests/UntagContactRequest.js +5 -0
  411. package/api/resources/tags/client/requests/UntagConversationRequest.d.ts +37 -0
  412. package/api/resources/tags/client/requests/UntagConversationRequest.js +5 -0
  413. package/api/resources/tags/client/requests/UntagTicketRequest.d.ts +37 -0
  414. package/api/resources/tags/client/requests/UntagTicketRequest.js +5 -0
  415. package/api/resources/tags/client/requests/index.d.ts +8 -0
  416. package/api/resources/tags/client/requests/index.js +2 -0
  417. package/api/resources/tags/index.d.ts +2 -0
  418. package/api/resources/tags/index.js +18 -0
  419. package/api/resources/tags/types/Tag.d.ts +18 -0
  420. package/api/resources/tags/types/Tag.js +5 -0
  421. package/api/resources/tags/types/TagsCreateRequestBody.d.ts +5 -0
  422. package/api/resources/tags/types/TagsCreateRequestBody.js +5 -0
  423. package/api/resources/tags/types/index.d.ts +2 -0
  424. package/api/resources/tags/types/index.js +18 -0
  425. package/api/resources/teams/client/Client.d.ts +61 -0
  426. package/api/resources/teams/client/Client.js +178 -0
  427. package/api/resources/teams/client/index.d.ts +1 -0
  428. package/api/resources/teams/client/index.js +17 -0
  429. package/api/resources/teams/client/requests/FindTeamRequest.d.ts +15 -0
  430. package/api/resources/teams/client/requests/FindTeamRequest.js +5 -0
  431. package/api/resources/teams/client/requests/index.d.ts +1 -0
  432. package/api/resources/teams/client/requests/index.js +2 -0
  433. package/api/resources/teams/index.d.ts +2 -0
  434. package/api/resources/teams/index.js +18 -0
  435. package/api/resources/teams/types/Team.d.ts +18 -0
  436. package/api/resources/teams/types/Team.js +5 -0
  437. package/api/resources/teams/types/index.d.ts +1 -0
  438. package/api/resources/teams/types/index.js +17 -0
  439. package/api/resources/ticketTypes/client/Client.d.ts +104 -0
  440. package/api/resources/ticketTypes/client/Client.js +317 -0
  441. package/api/resources/ticketTypes/client/index.d.ts +1 -0
  442. package/api/resources/ticketTypes/client/index.js +17 -0
  443. package/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.d.ts +35 -0
  444. package/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.js +14 -0
  445. package/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.d.ts +15 -0
  446. package/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.js +5 -0
  447. package/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +39 -0
  448. package/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +14 -0
  449. package/api/resources/ticketTypes/client/requests/index.d.ts +3 -0
  450. package/api/resources/ticketTypes/client/requests/index.js +2 -0
  451. package/api/resources/ticketTypes/index.d.ts +2 -0
  452. package/api/resources/ticketTypes/index.js +18 -0
  453. package/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +66 -0
  454. package/api/resources/ticketTypes/resources/attributes/client/Client.js +195 -0
  455. package/api/resources/ticketTypes/resources/attributes/client/index.d.ts +1 -0
  456. package/api/resources/ticketTypes/resources/attributes/client/index.js +17 -0
  457. package/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
  458. package/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
  459. package/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
  460. package/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
  461. package/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +2 -0
  462. package/api/resources/ticketTypes/resources/attributes/client/requests/index.js +2 -0
  463. package/api/resources/ticketTypes/resources/attributes/index.d.ts +1 -0
  464. package/api/resources/ticketTypes/resources/attributes/index.js +17 -0
  465. package/api/resources/ticketTypes/resources/index.d.ts +2 -0
  466. package/api/resources/ticketTypes/resources/index.js +31 -0
  467. package/api/resources/tickets/client/Client.d.ts +267 -0
  468. package/api/resources/tickets/client/Client.js +534 -0
  469. package/api/resources/tickets/client/index.d.ts +1 -0
  470. package/api/resources/tickets/client/index.js +17 -0
  471. package/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +40 -0
  472. package/api/resources/tickets/client/requests/CreateTicketRequest.js +5 -0
  473. package/api/resources/tickets/client/requests/FindTicketRequest.d.ts +15 -0
  474. package/api/resources/tickets/client/requests/FindTicketRequest.js +5 -0
  475. package/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +81 -0
  476. package/api/resources/tickets/client/requests/ReplyToTicketRequest.js +5 -0
  477. package/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +82 -0
  478. package/api/resources/tickets/client/requests/UpdateTicketRequest.js +14 -0
  479. package/api/resources/tickets/client/requests/index.d.ts +4 -0
  480. package/api/resources/tickets/client/requests/index.js +2 -0
  481. package/api/resources/tickets/index.d.ts +2 -0
  482. package/api/resources/tickets/index.js +18 -0
  483. package/api/resources/tickets/types/Ticket.d.ts +63 -0
  484. package/api/resources/tickets/types/Ticket.js +20 -0
  485. package/api/resources/tickets/types/TicketContacts.d.ts +13 -0
  486. package/api/resources/tickets/types/TicketContacts.js +5 -0
  487. package/api/resources/tickets/types/TicketPart.d.ts +56 -0
  488. package/api/resources/tickets/types/TicketPart.js +21 -0
  489. package/api/resources/tickets/types/TicketType.d.ts +41 -0
  490. package/api/resources/tickets/types/TicketType.js +14 -0
  491. package/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +5 -0
  492. package/api/resources/tickets/types/TicketsReplyRequestBody.js +5 -0
  493. package/api/resources/tickets/types/index.d.ts +5 -0
  494. package/api/resources/tickets/types/index.js +21 -0
  495. package/api/resources/visitors/client/Client.d.ts +101 -0
  496. package/api/resources/visitors/client/Client.js +266 -0
  497. package/api/resources/visitors/client/index.d.ts +1 -0
  498. package/api/resources/visitors/client/index.js +17 -0
  499. package/api/resources/visitors/client/requests/FindVisitorRequest.d.ts +15 -0
  500. package/api/resources/visitors/client/requests/FindVisitorRequest.js +5 -0
  501. package/api/resources/visitors/client/requests/MergeVisitorToContactRequest.d.ts +46 -0
  502. package/api/resources/visitors/client/requests/MergeVisitorToContactRequest.js +5 -0
  503. package/api/resources/visitors/client/requests/index.d.ts +2 -0
  504. package/api/resources/visitors/client/requests/index.js +2 -0
  505. package/api/resources/visitors/index.d.ts +1 -0
  506. package/api/resources/visitors/index.js +17 -0
  507. package/api/types/ActionComponent.d.ts +16 -0
  508. package/api/types/ActionComponent.js +5 -0
  509. package/api/types/ActivityLog.d.ts +104 -0
  510. package/api/types/ActivityLog.js +78 -0
  511. package/api/types/ActivityLogList.d.ts +14 -0
  512. package/api/types/ActivityLogList.js +5 -0
  513. package/api/types/ActivityLogMetadata.d.ts +26 -0
  514. package/api/types/ActivityLogMetadata.js +5 -0
  515. package/api/types/AddressableList.d.ts +14 -0
  516. package/api/types/AddressableList.js +5 -0
  517. package/api/types/AdminList.d.ts +13 -0
  518. package/api/types/AdminList.js +5 -0
  519. package/api/types/AdminPriorityLevel.d.ts +12 -0
  520. package/api/types/AdminPriorityLevel.js +5 -0
  521. package/api/types/AdminReplyConversationRequest.d.ts +28 -0
  522. package/api/types/AdminReplyConversationRequest.js +13 -0
  523. package/api/types/AdminReplyTicketRequest.d.ts +37 -0
  524. package/api/types/AdminReplyTicketRequest.js +14 -0
  525. package/api/types/AdminWithApp.d.ts +44 -0
  526. package/api/types/AdminWithApp.js +5 -0
  527. package/api/types/App.d.ts +22 -0
  528. package/api/types/App.js +5 -0
  529. package/api/types/ArticleContent.d.ts +36 -0
  530. package/api/types/ArticleContent.js +13 -0
  531. package/api/types/ArticleList.d.ts +16 -0
  532. package/api/types/ArticleList.js +5 -0
  533. package/api/types/ArticleStatistics.d.ts +22 -0
  534. package/api/types/ArticleStatistics.js +5 -0
  535. package/api/types/ArticleTranslatedContent.d.ts +85 -0
  536. package/api/types/ArticleTranslatedContent.js +5 -0
  537. package/api/types/AssignConversationRequest.d.ts +22 -0
  538. package/api/types/AssignConversationRequest.js +13 -0
  539. package/api/types/ButtonComponent.d.ts +33 -0
  540. package/api/types/ButtonComponent.js +14 -0
  541. package/api/types/CanvasObject.d.ts +20 -0
  542. package/api/types/CanvasObject.js +5 -0
  543. package/api/types/CheckboxComponent.d.ts +36 -0
  544. package/api/types/CheckboxComponent.js +14 -0
  545. package/api/types/CheckboxOption.d.ts +16 -0
  546. package/api/types/CheckboxOption.js +5 -0
  547. package/api/types/CloseConversationRequest.d.ts +13 -0
  548. package/api/types/CloseConversationRequest.js +5 -0
  549. package/api/types/CollectionList.d.ts +16 -0
  550. package/api/types/CollectionList.js +5 -0
  551. package/api/types/CompanyAttachedContacts.d.ts +16 -0
  552. package/api/types/CompanyAttachedContacts.js +5 -0
  553. package/api/types/CompanyAttachedSegments.d.ts +13 -0
  554. package/api/types/CompanyAttachedSegments.js +5 -0
  555. package/api/types/CompanyList.d.ts +16 -0
  556. package/api/types/CompanyList.js +5 -0
  557. package/api/types/CompanyScroll.d.ts +17 -0
  558. package/api/types/CompanyScroll.js +5 -0
  559. package/api/types/Component.d.ts +43 -0
  560. package/api/types/Component.js +5 -0
  561. package/api/types/ConfigureRequest.d.ts +22 -0
  562. package/api/types/ConfigureRequest.js +5 -0
  563. package/api/types/ConfigureResponse.d.ts +12 -0
  564. package/api/types/ConfigureResponse.js +5 -0
  565. package/api/types/ContactArchived.d.ts +16 -0
  566. package/api/types/ContactArchived.js +5 -0
  567. package/api/types/ContactAttachedCompanies.d.ts +16 -0
  568. package/api/types/ContactAttachedCompanies.js +5 -0
  569. package/api/types/ContactCompanies.d.ts +19 -0
  570. package/api/types/ContactCompanies.js +5 -0
  571. package/api/types/ContactCompany.d.ts +14 -0
  572. package/api/types/ContactCompany.js +5 -0
  573. package/api/types/ContactDeleted.d.ts +16 -0
  574. package/api/types/ContactDeleted.js +5 -0
  575. package/api/types/ContactList.d.ts +16 -0
  576. package/api/types/ContactList.js +5 -0
  577. package/api/types/ContactLocation.d.ts +16 -0
  578. package/api/types/ContactLocation.js +5 -0
  579. package/api/types/ContactNotes.d.ts +17 -0
  580. package/api/types/ContactNotes.js +5 -0
  581. package/api/types/ContactReference.d.ts +14 -0
  582. package/api/types/ContactReference.js +5 -0
  583. package/api/types/ContactReplyBaseRequest.d.ts +13 -0
  584. package/api/types/ContactReplyBaseRequest.js +5 -0
  585. package/api/types/ContactReplyConversationRequest.d.ts +5 -0
  586. package/api/types/ContactReplyConversationRequest.js +5 -0
  587. package/api/types/ContactReplyEmailRequest.d.ts +13 -0
  588. package/api/types/ContactReplyEmailRequest.js +5 -0
  589. package/api/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
  590. package/api/types/ContactReplyIntercomUserIdRequest.js +5 -0
  591. package/api/types/ContactReplyTicketEmailRequest.d.ts +11 -0
  592. package/api/types/ContactReplyTicketEmailRequest.js +5 -0
  593. package/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
  594. package/api/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
  595. package/api/types/ContactReplyTicketRequest.d.ts +5 -0
  596. package/api/types/ContactReplyTicketRequest.js +5 -0
  597. package/api/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
  598. package/api/types/ContactReplyTicketUserIdRequest.js +5 -0
  599. package/api/types/ContactReplyUserIdRequest.d.ts +13 -0
  600. package/api/types/ContactReplyUserIdRequest.js +5 -0
  601. package/api/types/ContactSegments.d.ts +13 -0
  602. package/api/types/ContactSegments.js +5 -0
  603. package/api/types/ContactSocialProfiles.d.ts +11 -0
  604. package/api/types/ContactSocialProfiles.js +5 -0
  605. package/api/types/ContactSubscriptionTypes.d.ts +17 -0
  606. package/api/types/ContactSubscriptionTypes.js +5 -0
  607. package/api/types/ContactTags.d.ts +17 -0
  608. package/api/types/ContactTags.js +5 -0
  609. package/api/types/ContactUnarchived.d.ts +16 -0
  610. package/api/types/ContactUnarchived.js +5 -0
  611. package/api/types/ContentObject.d.ts +13 -0
  612. package/api/types/ContentObject.js +5 -0
  613. package/api/types/ContentSourcesList.d.ts +11 -0
  614. package/api/types/ContentSourcesList.js +5 -0
  615. package/api/types/Context.d.ts +34 -0
  616. package/api/types/Context.js +15 -0
  617. package/api/types/ConversationAttachmentFiles.d.ts +14 -0
  618. package/api/types/ConversationAttachmentFiles.js +5 -0
  619. package/api/types/ConversationContacts.d.ts +12 -0
  620. package/api/types/ConversationContacts.js +5 -0
  621. package/api/types/ConversationFirstContactReply.d.ts +14 -0
  622. package/api/types/ConversationFirstContactReply.js +5 -0
  623. package/api/types/ConversationPart.d.ts +32 -0
  624. package/api/types/ConversationPart.js +5 -0
  625. package/api/types/ConversationPartAuthor.d.ts +16 -0
  626. package/api/types/ConversationPartAuthor.js +5 -0
  627. package/api/types/ConversationParts.d.ts +15 -0
  628. package/api/types/ConversationParts.js +5 -0
  629. package/api/types/ConversationRating.d.ts +17 -0
  630. package/api/types/ConversationRating.js +5 -0
  631. package/api/types/ConversationSource.d.ts +44 -0
  632. package/api/types/ConversationSource.js +21 -0
  633. package/api/types/ConversationStatistics.d.ts +46 -0
  634. package/api/types/ConversationStatistics.js +5 -0
  635. package/api/types/ConversationTeammates.d.ts +13 -0
  636. package/api/types/ConversationTeammates.js +5 -0
  637. package/api/types/CreateContactRequest.d.ts +37 -0
  638. package/api/types/CreateContactRequest.js +5 -0
  639. package/api/types/CreateDataEventRequest.d.ts +22 -0
  640. package/api/types/CreateDataEventRequest.js +5 -0
  641. package/api/types/CreateMessageRequest.d.ts +104 -0
  642. package/api/types/CreateMessageRequest.js +29 -0
  643. package/api/types/CreateOrUpdateTagRequest.d.ts +12 -0
  644. package/api/types/CreateOrUpdateTagRequest.js +5 -0
  645. package/api/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
  646. package/api/types/CreateTicketReplyWithCommentRequest.js +5 -0
  647. package/api/types/CurrentCanvas.d.ts +11 -0
  648. package/api/types/CurrentCanvas.js +5 -0
  649. package/api/types/CursorPages.d.ts +19 -0
  650. package/api/types/CursorPages.js +5 -0
  651. package/api/types/CustomAttributes.d.ts +7 -0
  652. package/api/types/CustomAttributes.js +5 -0
  653. package/api/types/CustomerRequest.d.ts +10 -0
  654. package/api/types/CustomerRequest.js +5 -0
  655. package/api/types/DataAttributeList.d.ts +13 -0
  656. package/api/types/DataAttributeList.js +5 -0
  657. package/api/types/DataEventList.d.ts +24 -0
  658. package/api/types/DataEventList.js +5 -0
  659. package/api/types/DataEventSummary.d.ts +19 -0
  660. package/api/types/DataEventSummary.js +5 -0
  661. package/api/types/DataEventSummaryItem.d.ts +18 -0
  662. package/api/types/DataEventSummaryItem.js +5 -0
  663. package/api/types/DataExportCsv.d.ts +60 -0
  664. package/api/types/DataExportCsv.js +5 -0
  665. package/api/types/DataTableComponent.d.ts +11 -0
  666. package/api/types/DataTableComponent.js +5 -0
  667. package/api/types/DataTableItem.d.ts +14 -0
  668. package/api/types/DataTableItem.js +5 -0
  669. package/api/types/DeletedArticleObject.d.ts +14 -0
  670. package/api/types/DeletedArticleObject.js +5 -0
  671. package/api/types/DeletedCollectionObject.d.ts +14 -0
  672. package/api/types/DeletedCollectionObject.js +5 -0
  673. package/api/types/DeletedCompanyObject.d.ts +14 -0
  674. package/api/types/DeletedCompanyObject.js +5 -0
  675. package/api/types/DeletedObject.d.ts +14 -0
  676. package/api/types/DeletedObject.js +5 -0
  677. package/api/types/DividerComponent.d.ts +12 -0
  678. package/api/types/DividerComponent.js +5 -0
  679. package/api/types/DropdownComponent.d.ts +34 -0
  680. package/api/types/DropdownComponent.js +14 -0
  681. package/api/types/DropdownOption.d.ts +16 -0
  682. package/api/types/DropdownOption.js +5 -0
  683. package/api/types/Error_.d.ts +27 -0
  684. package/api/types/Error_.js +5 -0
  685. package/api/types/Event.d.ts +10 -0
  686. package/api/types/Event.js +5 -0
  687. package/api/types/FileAttribute.d.ts +21 -0
  688. package/api/types/FileAttribute.js +5 -0
  689. package/api/types/GroupContent.d.ts +14 -0
  690. package/api/types/GroupContent.js +5 -0
  691. package/api/types/GroupTranslatedContent.d.ts +85 -0
  692. package/api/types/GroupTranslatedContent.js +5 -0
  693. package/api/types/ImageComponent.d.ts +40 -0
  694. package/api/types/ImageComponent.js +15 -0
  695. package/api/types/InitializeRequest.d.ts +23 -0
  696. package/api/types/InitializeRequest.js +5 -0
  697. package/api/types/InitializeResponse.d.ts +11 -0
  698. package/api/types/InitializeResponse.js +5 -0
  699. package/api/types/InputComponent.d.ts +37 -0
  700. package/api/types/InputComponent.js +14 -0
  701. package/api/types/LinkedObject.d.ts +24 -0
  702. package/api/types/LinkedObject.js +13 -0
  703. package/api/types/LinkedObjectList.d.ts +17 -0
  704. package/api/types/LinkedObjectList.js +5 -0
  705. package/api/types/ListComponent.d.ts +23 -0
  706. package/api/types/ListComponent.js +5 -0
  707. package/api/types/ListItem.d.ts +25 -0
  708. package/api/types/ListItem.js +5 -0
  709. package/api/types/ListItemWithImage.d.ts +12 -0
  710. package/api/types/ListItemWithImage.js +5 -0
  711. package/api/types/ListItemWithoutImage.d.ts +12 -0
  712. package/api/types/ListItemWithoutImage.js +5 -0
  713. package/api/types/LiveCanvasRequest.d.ts +21 -0
  714. package/api/types/LiveCanvasRequest.js +5 -0
  715. package/api/types/LiveCanvasResponse.d.ts +11 -0
  716. package/api/types/LiveCanvasResponse.js +5 -0
  717. package/api/types/MultipleFilterSearchRequest.d.ts +22 -0
  718. package/api/types/MultipleFilterSearchRequest.js +13 -0
  719. package/api/types/MultipleOrSingleFilterSearchRequest.d.ts +5 -0
  720. package/api/types/MultipleOrSingleFilterSearchRequest.js +5 -0
  721. package/api/types/NewsItemRequest.d.ts +35 -0
  722. package/api/types/NewsItemRequest.js +13 -0
  723. package/api/types/NoteList.d.ts +16 -0
  724. package/api/types/NoteList.js +5 -0
  725. package/api/types/OpenConversationRequest.d.ts +10 -0
  726. package/api/types/OpenConversationRequest.js +5 -0
  727. package/api/types/PagesLink.d.ts +16 -0
  728. package/api/types/PagesLink.js +5 -0
  729. package/api/types/PaginatedConversationResponse.d.ts +16 -0
  730. package/api/types/PaginatedConversationResponse.js +5 -0
  731. package/api/types/PaginatedNewsItemResponse.d.ts +16 -0
  732. package/api/types/PaginatedNewsItemResponse.js +5 -0
  733. package/api/types/PaginatedNewsfeedResponse.d.ts +16 -0
  734. package/api/types/PaginatedNewsfeedResponse.js +5 -0
  735. package/api/types/PartAttachment.d.ts +22 -0
  736. package/api/types/PartAttachment.js +5 -0
  737. package/api/types/PhoneSwitch.d.ts +12 -0
  738. package/api/types/PhoneSwitch.js +5 -0
  739. package/api/types/RedactConversationRequest.d.ts +27 -0
  740. package/api/types/RedactConversationRequest.js +5 -0
  741. package/api/types/Reference.d.ts +12 -0
  742. package/api/types/Reference.js +5 -0
  743. package/api/types/ReplyConversationRequest.d.ts +5 -0
  744. package/api/types/ReplyConversationRequest.js +5 -0
  745. package/api/types/ResultsResponse.d.ts +10 -0
  746. package/api/types/ResultsResponse.js +5 -0
  747. package/api/types/SearchRequest.d.ts +14 -0
  748. package/api/types/SearchRequest.js +5 -0
  749. package/api/types/SegmentList.d.ts +15 -0
  750. package/api/types/SegmentList.js +5 -0
  751. package/api/types/SheetActionComponent.d.ts +12 -0
  752. package/api/types/SheetActionComponent.js +5 -0
  753. package/api/types/SingleFilterSearchRequest.d.ts +36 -0
  754. package/api/types/SingleFilterSearchRequest.js +21 -0
  755. package/api/types/SingleSelectComponent.d.ts +39 -0
  756. package/api/types/SingleSelectComponent.js +14 -0
  757. package/api/types/SingleSelectOption.d.ts +16 -0
  758. package/api/types/SingleSelectOption.js +5 -0
  759. package/api/types/SlaApplied.d.ts +35 -0
  760. package/api/types/SlaApplied.js +15 -0
  761. package/api/types/SnoozeConversationRequest.d.ts +12 -0
  762. package/api/types/SnoozeConversationRequest.js +5 -0
  763. package/api/types/SocialProfile.d.ts +14 -0
  764. package/api/types/SocialProfile.js +5 -0
  765. package/api/types/SpacerComponent.d.ts +25 -0
  766. package/api/types/SpacerComponent.js +16 -0
  767. package/api/types/StartingAfterPaging.d.ts +9 -0
  768. package/api/types/StartingAfterPaging.js +5 -0
  769. package/api/types/SubmitActionComponent.d.ts +8 -0
  770. package/api/types/SubmitActionComponent.js +5 -0
  771. package/api/types/SubmitRequest.d.ts +29 -0
  772. package/api/types/SubmitRequest.js +5 -0
  773. package/api/types/SubmitResponse.d.ts +23 -0
  774. package/api/types/SubmitResponse.js +5 -0
  775. package/api/types/SubscriptionTypeList.d.ts +13 -0
  776. package/api/types/SubscriptionTypeList.js +5 -0
  777. package/api/types/TagCompanyRequest.d.ts +23 -0
  778. package/api/types/TagCompanyRequest.js +5 -0
  779. package/api/types/TagList.d.ts +13 -0
  780. package/api/types/TagList.js +5 -0
  781. package/api/types/TagMultipleUsersRequest.d.ts +20 -0
  782. package/api/types/TagMultipleUsersRequest.js +5 -0
  783. package/api/types/Tags.d.ts +13 -0
  784. package/api/types/Tags.js +5 -0
  785. package/api/types/TeamList.d.ts +13 -0
  786. package/api/types/TeamList.js +5 -0
  787. package/api/types/TeamPriorityLevel.d.ts +12 -0
  788. package/api/types/TeamPriorityLevel.js +5 -0
  789. package/api/types/TextAreaComponent.d.ts +22 -0
  790. package/api/types/TextAreaComponent.js +5 -0
  791. package/api/types/TextComponent.d.ts +39 -0
  792. package/api/types/TextComponent.js +20 -0
  793. package/api/types/TicketCustomAttributes.d.ts +11 -0
  794. package/api/types/TicketCustomAttributes.js +5 -0
  795. package/api/types/TicketList.d.ts +16 -0
  796. package/api/types/TicketList.js +5 -0
  797. package/api/types/TicketPartAuthor.d.ts +28 -0
  798. package/api/types/TicketPartAuthor.js +15 -0
  799. package/api/types/TicketParts.d.ts +15 -0
  800. package/api/types/TicketParts.js +5 -0
  801. package/api/types/TicketReply.d.ts +37 -0
  802. package/api/types/TicketReply.js +14 -0
  803. package/api/types/TicketRequestCustomAttributes.d.ts +10 -0
  804. package/api/types/TicketRequestCustomAttributes.js +5 -0
  805. package/api/types/TicketTypeAttribute.d.ts +57 -0
  806. package/api/types/TicketTypeAttribute.js +18 -0
  807. package/api/types/TicketTypeAttributeList.d.ts +13 -0
  808. package/api/types/TicketTypeAttributeList.js +5 -0
  809. package/api/types/TicketTypeList.d.ts +13 -0
  810. package/api/types/TicketTypeList.js +5 -0
  811. package/api/types/Translation.d.ts +14 -0
  812. package/api/types/Translation.js +5 -0
  813. package/api/types/UntagCompanyRequest.d.ts +25 -0
  814. package/api/types/UntagCompanyRequest.js +5 -0
  815. package/api/types/UpdateVisitorRequest.d.ts +15 -0
  816. package/api/types/UpdateVisitorRequest.js +5 -0
  817. package/api/types/UrlActionComponent.d.ts +10 -0
  818. package/api/types/UrlActionComponent.js +5 -0
  819. package/api/types/Visitor.d.ts +128 -0
  820. package/api/types/Visitor.js +5 -0
  821. package/api/types/VisitorDeletedObject.d.ts +14 -0
  822. package/api/types/VisitorDeletedObject.js +5 -0
  823. package/api/types/index.d.ts +158 -0
  824. package/api/types/index.js +174 -0
  825. package/api/version.d.ts +5 -0
  826. package/api/version.js +5 -0
  827. package/core/auth/BasicAuth.d.ts +8 -0
  828. package/core/auth/BasicAuth.js +26 -0
  829. package/core/auth/BearerToken.d.ts +5 -0
  830. package/core/auth/BearerToken.js +15 -0
  831. package/core/auth/index.d.ts +2 -0
  832. package/core/auth/index.js +7 -0
  833. package/core/fetcher/APIResponse.d.ts +10 -0
  834. package/core/fetcher/APIResponse.js +2 -0
  835. package/core/fetcher/Fetcher.d.ts +39 -0
  836. package/core/fetcher/Fetcher.js +99 -0
  837. package/core/fetcher/Supplier.d.ts +4 -0
  838. package/core/fetcher/Supplier.js +22 -0
  839. package/core/fetcher/createRequestUrl.d.ts +1 -0
  840. package/core/fetcher/createRequestUrl.js +13 -0
  841. package/core/fetcher/getFetchFn.d.ts +4 -0
  842. package/core/fetcher/getFetchFn.js +59 -0
  843. package/core/fetcher/getHeader.d.ts +1 -0
  844. package/core/fetcher/getHeader.js +12 -0
  845. package/core/fetcher/getRequestBody.d.ts +7 -0
  846. package/core/fetcher/getRequestBody.js +23 -0
  847. package/core/fetcher/getResponseBody.d.ts +1 -0
  848. package/core/fetcher/getResponseBody.js +55 -0
  849. package/core/fetcher/index.d.ts +5 -0
  850. package/core/fetcher/index.js +9 -0
  851. package/core/fetcher/makeRequest.d.ts +1 -0
  852. package/core/fetcher/makeRequest.js +42 -0
  853. package/core/fetcher/requestWithRetries.d.ts +1 -0
  854. package/core/fetcher/requestWithRetries.js +41 -0
  855. package/core/fetcher/signals.d.ts +12 -0
  856. package/core/fetcher/signals.js +37 -0
  857. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  858. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
  859. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  860. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  861. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  862. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
  863. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  864. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  865. package/core/index.d.ts +5 -0
  866. package/core/index.js +21 -0
  867. package/core/pagination/Page.d.ts +29 -0
  868. package/core/pagination/Page.js +94 -0
  869. package/core/pagination/Pageable.d.ts +12 -0
  870. package/core/pagination/Pageable.js +10 -0
  871. package/core/pagination/index.d.ts +2 -0
  872. package/core/pagination/index.js +7 -0
  873. package/core/runtime/index.d.ts +1 -0
  874. package/core/runtime/index.js +5 -0
  875. package/core/runtime/runtime.d.ts +9 -0
  876. package/core/runtime/runtime.js +93 -0
  877. package/core/utils/index.d.ts +1 -0
  878. package/core/utils/index.js +5 -0
  879. package/core/utils/setObjectProperty.d.ts +11 -0
  880. package/core/utils/setObjectProperty.js +43 -0
  881. package/dist/Client.d.ts +90 -0
  882. package/dist/Client.js +112 -0
  883. package/dist/api/errors/BadRequestError.d.ts +7 -0
  884. package/dist/api/errors/BadRequestError.js +41 -0
  885. package/dist/api/errors/ForbiddenError.d.ts +8 -0
  886. package/dist/api/errors/ForbiddenError.js +41 -0
  887. package/dist/api/errors/NotFoundError.d.ts +7 -0
  888. package/dist/api/errors/NotFoundError.js +41 -0
  889. package/dist/api/errors/UnauthorizedError.d.ts +8 -0
  890. package/dist/api/errors/UnauthorizedError.js +41 -0
  891. package/dist/api/errors/UnprocessableEntityError.d.ts +7 -0
  892. package/dist/api/errors/UnprocessableEntityError.js +41 -0
  893. package/dist/api/errors/index.d.ts +5 -0
  894. package/dist/api/errors/index.js +21 -0
  895. package/dist/api/index.d.ts +4 -0
  896. package/dist/api/index.js +19 -0
  897. package/dist/api/resources/admins/client/Client.d.ts +107 -0
  898. package/dist/api/resources/admins/client/Client.js +364 -0
  899. package/dist/api/resources/admins/client/index.d.ts +1 -0
  900. package/dist/api/resources/admins/client/index.js +17 -0
  901. package/dist/api/resources/admins/client/requests/ConfigureAwayAdminRequest.d.ts +35 -0
  902. package/dist/api/resources/admins/client/requests/ConfigureAwayAdminRequest.js +5 -0
  903. package/dist/api/resources/admins/client/requests/FindAdminRequest.d.ts +15 -0
  904. package/dist/api/resources/admins/client/requests/FindAdminRequest.js +5 -0
  905. package/dist/api/resources/admins/client/requests/ListAllActivityLogsRequest.d.ts +20 -0
  906. package/dist/api/resources/admins/client/requests/ListAllActivityLogsRequest.js +5 -0
  907. package/dist/api/resources/admins/client/requests/index.d.ts +3 -0
  908. package/dist/api/resources/admins/client/requests/index.js +2 -0
  909. package/dist/api/resources/admins/index.d.ts +2 -0
  910. package/dist/api/resources/admins/index.js +18 -0
  911. package/dist/api/resources/admins/types/Admin.d.ts +39 -0
  912. package/dist/api/resources/admins/types/Admin.js +5 -0
  913. package/dist/api/resources/admins/types/index.d.ts +1 -0
  914. package/dist/api/resources/admins/types/index.js +17 -0
  915. package/dist/api/resources/aiAgent/index.d.ts +1 -0
  916. package/dist/api/resources/aiAgent/index.js +17 -0
  917. package/dist/api/resources/aiAgent/types/AiAgent.d.ts +35 -0
  918. package/dist/api/resources/aiAgent/types/AiAgent.js +16 -0
  919. package/dist/api/resources/aiAgent/types/index.d.ts +1 -0
  920. package/dist/api/resources/aiAgent/types/index.js +17 -0
  921. package/dist/api/resources/aiContentSource/index.d.ts +1 -0
  922. package/dist/api/resources/aiContentSource/index.js +17 -0
  923. package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +29 -0
  924. package/dist/api/resources/aiContentSource/types/ContentSource.js +16 -0
  925. package/dist/api/resources/aiContentSource/types/index.d.ts +1 -0
  926. package/dist/api/resources/aiContentSource/types/index.js +17 -0
  927. package/dist/api/resources/articles/client/Client.d.ts +153 -0
  928. package/dist/api/resources/articles/client/Client.js +491 -0
  929. package/dist/api/resources/articles/client/index.d.ts +1 -0
  930. package/dist/api/resources/articles/client/index.js +17 -0
  931. package/dist/api/resources/articles/client/requests/CreateArticleRequest.d.ts +70 -0
  932. package/dist/api/resources/articles/client/requests/CreateArticleRequest.js +17 -0
  933. package/dist/api/resources/articles/client/requests/DeleteArticleRequest.d.ts +15 -0
  934. package/dist/api/resources/articles/client/requests/DeleteArticleRequest.js +5 -0
  935. package/dist/api/resources/articles/client/requests/FindArticleRequest.d.ts +15 -0
  936. package/dist/api/resources/articles/client/requests/FindArticleRequest.js +5 -0
  937. package/dist/api/resources/articles/client/requests/ListArticlesRequest.d.ts +17 -0
  938. package/dist/api/resources/articles/client/requests/ListArticlesRequest.js +5 -0
  939. package/dist/api/resources/articles/client/requests/SearchArticlesRequest.d.ts +28 -0
  940. package/dist/api/resources/articles/client/requests/SearchArticlesRequest.js +5 -0
  941. package/dist/api/resources/articles/client/requests/UpdateArticleRequest.d.ts +58 -0
  942. package/dist/api/resources/articles/client/requests/UpdateArticleRequest.js +17 -0
  943. package/dist/api/resources/articles/client/requests/index.d.ts +6 -0
  944. package/dist/api/resources/articles/client/requests/index.js +2 -0
  945. package/dist/api/resources/articles/index.d.ts +2 -0
  946. package/dist/api/resources/articles/index.js +18 -0
  947. package/dist/api/resources/articles/types/Article.d.ts +10 -0
  948. package/dist/api/resources/articles/types/Article.js +5 -0
  949. package/dist/api/resources/articles/types/ArticleListItem.d.ts +50 -0
  950. package/dist/api/resources/articles/types/ArticleListItem.js +13 -0
  951. package/dist/api/resources/articles/types/ArticleSearchHighlights.d.ts +60 -0
  952. package/dist/api/resources/articles/types/ArticleSearchHighlights.js +29 -0
  953. package/dist/api/resources/articles/types/SearchArticlesResponse.d.ts +27 -0
  954. package/dist/api/resources/articles/types/SearchArticlesResponse.js +5 -0
  955. package/dist/api/resources/articles/types/index.d.ts +4 -0
  956. package/dist/api/resources/articles/types/index.js +20 -0
  957. package/dist/api/resources/companies/client/Client.d.ts +263 -0
  958. package/dist/api/resources/companies/client/Client.js +855 -0
  959. package/dist/api/resources/companies/client/index.d.ts +1 -0
  960. package/dist/api/resources/companies/client/index.js +17 -0
  961. package/dist/api/resources/companies/client/requests/AttachContactToCompanyRequest.d.ts +30 -0
  962. package/dist/api/resources/companies/client/requests/AttachContactToCompanyRequest.js +5 -0
  963. package/dist/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.d.ts +34 -0
  964. package/dist/api/resources/companies/client/requests/CreateOrUpdateCompanyRequest.js +5 -0
  965. package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +15 -0
  966. package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.js +5 -0
  967. package/dist/api/resources/companies/client/requests/DetachContactFromCompanyRequest.d.ts +20 -0
  968. package/dist/api/resources/companies/client/requests/DetachContactFromCompanyRequest.js +5 -0
  969. package/dist/api/resources/companies/client/requests/FindCompanyRequest.d.ts +15 -0
  970. package/dist/api/resources/companies/client/requests/FindCompanyRequest.js +5 -0
  971. package/dist/api/resources/companies/client/requests/ListAttachedContactsRequest.d.ts +23 -0
  972. package/dist/api/resources/companies/client/requests/ListAttachedContactsRequest.js +5 -0
  973. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +23 -0
  974. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.js +5 -0
  975. package/dist/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.d.ts +15 -0
  976. package/dist/api/resources/companies/client/requests/ListSegmentsAttachedToCompanyRequest.js +5 -0
  977. package/dist/api/resources/companies/client/requests/RetrieveCompanyRequest.d.ts +38 -0
  978. package/dist/api/resources/companies/client/requests/RetrieveCompanyRequest.js +5 -0
  979. package/dist/api/resources/companies/client/requests/ScrollCompaniesRequest.d.ts +13 -0
  980. package/dist/api/resources/companies/client/requests/ScrollCompaniesRequest.js +5 -0
  981. package/dist/api/resources/companies/client/requests/UpdateCompanyRequest.d.ts +15 -0
  982. package/dist/api/resources/companies/client/requests/UpdateCompanyRequest.js +5 -0
  983. package/dist/api/resources/companies/client/requests/index.d.ts +11 -0
  984. package/dist/api/resources/companies/client/requests/index.js +2 -0
  985. package/dist/api/resources/companies/index.d.ts +2 -0
  986. package/dist/api/resources/companies/index.js +18 -0
  987. package/dist/api/resources/companies/types/Company.d.ts +72 -0
  988. package/dist/api/resources/companies/types/Company.js +5 -0
  989. package/dist/api/resources/companies/types/index.d.ts +1 -0
  990. package/dist/api/resources/companies/types/index.js +17 -0
  991. package/dist/api/resources/contacts/client/Client.d.ts +382 -0
  992. package/dist/api/resources/contacts/client/Client.js +1112 -0
  993. package/dist/api/resources/contacts/client/index.d.ts +1 -0
  994. package/dist/api/resources/contacts/client/index.js +17 -0
  995. package/dist/api/resources/contacts/client/requests/ArchiveContactRequest.d.ts +15 -0
  996. package/dist/api/resources/contacts/client/requests/ArchiveContactRequest.js +5 -0
  997. package/dist/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.d.ts +35 -0
  998. package/dist/api/resources/contacts/client/requests/AttachSubscriptionToContactRequest.js +5 -0
  999. package/dist/api/resources/contacts/client/requests/DeleteContactRequest.d.ts +15 -0
  1000. package/dist/api/resources/contacts/client/requests/DeleteContactRequest.js +5 -0
  1001. package/dist/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.d.ts +20 -0
  1002. package/dist/api/resources/contacts/client/requests/DetachSubscriptionFromContactRequest.js +5 -0
  1003. package/dist/api/resources/contacts/client/requests/FindContactRequest.d.ts +15 -0
  1004. package/dist/api/resources/contacts/client/requests/FindContactRequest.js +5 -0
  1005. package/dist/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.d.ts +23 -0
  1006. package/dist/api/resources/contacts/client/requests/ListAttachedCompaniesRequest.js +5 -0
  1007. package/dist/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.d.ts +15 -0
  1008. package/dist/api/resources/contacts/client/requests/ListAttachedSubscriptionsRequest.js +5 -0
  1009. package/dist/api/resources/contacts/client/requests/ListContactsRequest.d.ts +21 -0
  1010. package/dist/api/resources/contacts/client/requests/ListContactsRequest.js +5 -0
  1011. package/dist/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.d.ts +15 -0
  1012. package/dist/api/resources/contacts/client/requests/ListSegmentsAttachedToContactRequest.js +5 -0
  1013. package/dist/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.d.ts +15 -0
  1014. package/dist/api/resources/contacts/client/requests/ListTagsAttachedToContactRequest.js +5 -0
  1015. package/dist/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +16 -0
  1016. package/dist/api/resources/contacts/client/requests/MergeContactsRequest.js +5 -0
  1017. package/dist/api/resources/contacts/client/requests/UnarchiveContactRequest.d.ts +15 -0
  1018. package/dist/api/resources/contacts/client/requests/UnarchiveContactRequest.js +5 -0
  1019. package/dist/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +39 -0
  1020. package/dist/api/resources/contacts/client/requests/UpdateContactRequest.js +5 -0
  1021. package/dist/api/resources/contacts/client/requests/index.d.ts +13 -0
  1022. package/dist/api/resources/contacts/client/requests/index.js +2 -0
  1023. package/dist/api/resources/contacts/index.d.ts +2 -0
  1024. package/dist/api/resources/contacts/index.js +18 -0
  1025. package/dist/api/resources/contacts/types/Contact.d.ts +103 -0
  1026. package/dist/api/resources/contacts/types/Contact.js +5 -0
  1027. package/dist/api/resources/contacts/types/index.d.ts +1 -0
  1028. package/dist/api/resources/contacts/types/index.js +17 -0
  1029. package/dist/api/resources/conversations/client/Client.d.ts +506 -0
  1030. package/dist/api/resources/conversations/client/Client.js +1132 -0
  1031. package/dist/api/resources/conversations/client/index.d.ts +1 -0
  1032. package/dist/api/resources/conversations/client/index.js +17 -0
  1033. package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +44 -0
  1034. package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +5 -0
  1035. package/dist/api/resources/conversations/client/requests/AutoAssignConversationRequest.d.ts +15 -0
  1036. package/dist/api/resources/conversations/client/requests/AutoAssignConversationRequest.js +5 -0
  1037. package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +26 -0
  1038. package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +5 -0
  1039. package/dist/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +48 -0
  1040. package/dist/api/resources/conversations/client/requests/CreateConversationRequest.js +17 -0
  1041. package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +44 -0
  1042. package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +5 -0
  1043. package/dist/api/resources/conversations/client/requests/FindConversationRequest.d.ts +20 -0
  1044. package/dist/api/resources/conversations/client/requests/FindConversationRequest.js +5 -0
  1045. package/dist/api/resources/conversations/client/requests/ListConversationsRequest.d.ts +17 -0
  1046. package/dist/api/resources/conversations/client/requests/ListConversationsRequest.js +5 -0
  1047. package/dist/api/resources/conversations/client/requests/ManageConversationPartsRequest.d.ts +62 -0
  1048. package/dist/api/resources/conversations/client/requests/ManageConversationPartsRequest.js +5 -0
  1049. package/dist/api/resources/conversations/client/requests/ReplyToConversationRequest.d.ts +89 -0
  1050. package/dist/api/resources/conversations/client/requests/ReplyToConversationRequest.js +5 -0
  1051. package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +40 -0
  1052. package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.js +5 -0
  1053. package/dist/api/resources/conversations/client/requests/index.d.ts +10 -0
  1054. package/dist/api/resources/conversations/client/requests/index.js +2 -0
  1055. package/dist/api/resources/conversations/index.d.ts +2 -0
  1056. package/dist/api/resources/conversations/index.js +18 -0
  1057. package/dist/api/resources/conversations/types/Conversation.d.ts +68 -0
  1058. package/dist/api/resources/conversations/types/Conversation.js +18 -0
  1059. package/dist/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +19 -0
  1060. package/dist/api/resources/conversations/types/ConversationsManageRequestBody.js +5 -0
  1061. package/dist/api/resources/conversations/types/index.d.ts +2 -0
  1062. package/dist/api/resources/conversations/types/index.js +18 -0
  1063. package/dist/api/resources/dataAttributes/client/Client.d.ts +149 -0
  1064. package/dist/api/resources/dataAttributes/client/Client.js +335 -0
  1065. package/dist/api/resources/dataAttributes/client/index.d.ts +1 -0
  1066. package/dist/api/resources/dataAttributes/client/index.js +17 -0
  1067. package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +84 -0
  1068. package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +21 -0
  1069. package/dist/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.d.ts +18 -0
  1070. package/dist/api/resources/dataAttributes/client/requests/ListDataAttributesRequest.js +5 -0
  1071. package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +69 -0
  1072. package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +5 -0
  1073. package/dist/api/resources/dataAttributes/client/requests/index.d.ts +3 -0
  1074. package/dist/api/resources/dataAttributes/client/requests/index.js +2 -0
  1075. package/dist/api/resources/dataAttributes/index.d.ts +2 -0
  1076. package/dist/api/resources/dataAttributes/index.js +18 -0
  1077. package/dist/api/resources/dataAttributes/types/DataAttribute.d.ts +63 -0
  1078. package/dist/api/resources/dataAttributes/types/DataAttribute.js +20 -0
  1079. package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +9 -0
  1080. package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +11 -0
  1081. package/dist/api/resources/dataAttributes/types/index.d.ts +2 -0
  1082. package/dist/api/resources/dataAttributes/types/index.js +18 -0
  1083. package/dist/api/resources/dataEvents/index.d.ts +1 -0
  1084. package/dist/api/resources/dataEvents/index.js +17 -0
  1085. package/dist/api/resources/dataEvents/types/DataEvent.d.ts +24 -0
  1086. package/dist/api/resources/dataEvents/types/DataEvent.js +5 -0
  1087. package/dist/api/resources/dataEvents/types/index.d.ts +1 -0
  1088. package/dist/api/resources/dataEvents/types/index.js +17 -0
  1089. package/dist/api/resources/dataExport/client/Client.d.ts +108 -0
  1090. package/dist/api/resources/dataExport/client/Client.js +287 -0
  1091. package/dist/api/resources/dataExport/client/index.d.ts +1 -0
  1092. package/dist/api/resources/dataExport/client/index.js +17 -0
  1093. package/dist/api/resources/dataExport/client/requests/CancelDataExportRequest.d.ts +15 -0
  1094. package/dist/api/resources/dataExport/client/requests/CancelDataExportRequest.js +5 -0
  1095. package/dist/api/resources/dataExport/client/requests/CreateDataExportRequest.d.ts +16 -0
  1096. package/dist/api/resources/dataExport/client/requests/CreateDataExportRequest.js +5 -0
  1097. package/dist/api/resources/dataExport/client/requests/DownloadDataExportRequest.d.ts +15 -0
  1098. package/dist/api/resources/dataExport/client/requests/DownloadDataExportRequest.js +5 -0
  1099. package/dist/api/resources/dataExport/client/requests/FindDataExportRequest.d.ts +15 -0
  1100. package/dist/api/resources/dataExport/client/requests/FindDataExportRequest.js +5 -0
  1101. package/dist/api/resources/dataExport/client/requests/index.d.ts +4 -0
  1102. package/dist/api/resources/dataExport/client/requests/index.js +2 -0
  1103. package/dist/api/resources/dataExport/index.d.ts +2 -0
  1104. package/dist/api/resources/dataExport/index.js +18 -0
  1105. package/dist/api/resources/dataExport/types/DataExport.d.ts +30 -0
  1106. package/dist/api/resources/dataExport/types/DataExport.js +17 -0
  1107. package/dist/api/resources/dataExport/types/index.d.ts +1 -0
  1108. package/dist/api/resources/dataExport/types/index.js +17 -0
  1109. package/dist/api/resources/events/client/Client.d.ts +129 -0
  1110. package/dist/api/resources/events/client/Client.js +305 -0
  1111. package/dist/api/resources/events/client/index.d.ts +1 -0
  1112. package/dist/api/resources/events/client/index.js +17 -0
  1113. package/dist/api/resources/events/client/requests/ListEventSummariesRequest.d.ts +28 -0
  1114. package/dist/api/resources/events/client/requests/ListEventSummariesRequest.js +5 -0
  1115. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +35 -0
  1116. package/dist/api/resources/events/client/requests/ListEventsRequest.js +5 -0
  1117. package/dist/api/resources/events/client/requests/index.d.ts +2 -0
  1118. package/dist/api/resources/events/client/requests/index.js +2 -0
  1119. package/dist/api/resources/events/index.d.ts +1 -0
  1120. package/dist/api/resources/events/index.js +17 -0
  1121. package/dist/api/resources/helpCenter/index.d.ts +1 -0
  1122. package/dist/api/resources/helpCenter/index.js +17 -0
  1123. package/dist/api/resources/helpCenter/types/Collection.d.ts +34 -0
  1124. package/dist/api/resources/helpCenter/types/Collection.js +5 -0
  1125. package/dist/api/resources/helpCenter/types/HelpCenter.d.ts +22 -0
  1126. package/dist/api/resources/helpCenter/types/HelpCenter.js +5 -0
  1127. package/dist/api/resources/helpCenter/types/HelpCenterList.d.ts +13 -0
  1128. package/dist/api/resources/helpCenter/types/HelpCenterList.js +5 -0
  1129. package/dist/api/resources/helpCenter/types/index.d.ts +3 -0
  1130. package/dist/api/resources/helpCenter/types/index.js +19 -0
  1131. package/dist/api/resources/helpCenters/client/Client.d.ts +62 -0
  1132. package/dist/api/resources/helpCenters/client/Client.js +202 -0
  1133. package/dist/api/resources/helpCenters/client/index.d.ts +1 -0
  1134. package/dist/api/resources/helpCenters/client/index.js +17 -0
  1135. package/dist/api/resources/helpCenters/client/requests/FindHelpCenterRequest.d.ts +15 -0
  1136. package/dist/api/resources/helpCenters/client/requests/FindHelpCenterRequest.js +5 -0
  1137. package/dist/api/resources/helpCenters/client/requests/ListHelpCentersRequest.d.ts +17 -0
  1138. package/dist/api/resources/helpCenters/client/requests/ListHelpCentersRequest.js +5 -0
  1139. package/dist/api/resources/helpCenters/client/requests/index.d.ts +2 -0
  1140. package/dist/api/resources/helpCenters/client/requests/index.js +2 -0
  1141. package/dist/api/resources/helpCenters/index.d.ts +2 -0
  1142. package/dist/api/resources/helpCenters/index.js +18 -0
  1143. package/dist/api/resources/helpCenters/resources/collections/client/Client.d.ts +113 -0
  1144. package/dist/api/resources/helpCenters/resources/collections/client/Client.js +395 -0
  1145. package/dist/api/resources/helpCenters/resources/collections/client/index.d.ts +1 -0
  1146. package/dist/api/resources/helpCenters/resources/collections/client/index.js +17 -0
  1147. package/dist/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.d.ts +27 -0
  1148. package/dist/api/resources/helpCenters/resources/collections/client/requests/CreateCollectionRequest.js +5 -0
  1149. package/dist/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.d.ts +15 -0
  1150. package/dist/api/resources/helpCenters/resources/collections/client/requests/DeleteCollectionRequest.js +5 -0
  1151. package/dist/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.d.ts +15 -0
  1152. package/dist/api/resources/helpCenters/resources/collections/client/requests/FindCollectionRequest.js +5 -0
  1153. package/dist/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.d.ts +17 -0
  1154. package/dist/api/resources/helpCenters/resources/collections/client/requests/ListCollectionsRequest.js +5 -0
  1155. package/dist/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.d.ts +30 -0
  1156. package/dist/api/resources/helpCenters/resources/collections/client/requests/UpdateCollectionRequest.js +5 -0
  1157. package/dist/api/resources/helpCenters/resources/collections/client/requests/index.d.ts +5 -0
  1158. package/dist/api/resources/helpCenters/resources/collections/client/requests/index.js +2 -0
  1159. package/dist/api/resources/helpCenters/resources/collections/index.d.ts +1 -0
  1160. package/dist/api/resources/helpCenters/resources/collections/index.js +17 -0
  1161. package/dist/api/resources/helpCenters/resources/index.d.ts +2 -0
  1162. package/dist/api/resources/helpCenters/resources/index.js +31 -0
  1163. package/dist/api/resources/index.d.ts +60 -0
  1164. package/dist/api/resources/index.js +89 -0
  1165. package/dist/api/resources/messages/client/Client.d.ts +127 -0
  1166. package/dist/api/resources/messages/client/Client.js +207 -0
  1167. package/dist/api/resources/messages/client/index.d.ts +1 -0
  1168. package/dist/api/resources/messages/client/index.js +2 -0
  1169. package/dist/api/resources/messages/index.d.ts +2 -0
  1170. package/dist/api/resources/messages/index.js +18 -0
  1171. package/dist/api/resources/messages/types/Message.d.ts +34 -0
  1172. package/dist/api/resources/messages/types/Message.js +15 -0
  1173. package/dist/api/resources/messages/types/index.d.ts +1 -0
  1174. package/dist/api/resources/messages/types/index.js +17 -0
  1175. package/dist/api/resources/news/client/Client.d.ts +36 -0
  1176. package/dist/api/resources/news/client/Client.js +22 -0
  1177. package/dist/api/resources/news/client/index.d.ts +1 -0
  1178. package/dist/api/resources/news/client/index.js +2 -0
  1179. package/dist/api/resources/news/index.d.ts +3 -0
  1180. package/dist/api/resources/news/index.js +19 -0
  1181. package/dist/api/resources/news/resources/feeds/client/Client.d.ts +71 -0
  1182. package/dist/api/resources/news/resources/feeds/client/Client.js +228 -0
  1183. package/dist/api/resources/news/resources/feeds/client/index.d.ts +1 -0
  1184. package/dist/api/resources/news/resources/feeds/client/index.js +17 -0
  1185. package/dist/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.d.ts +15 -0
  1186. package/dist/api/resources/news/resources/feeds/client/requests/FindNewsFeedRequest.js +5 -0
  1187. package/dist/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.d.ts +15 -0
  1188. package/dist/api/resources/news/resources/feeds/client/requests/ListNewsFeedItemsRequest.js +5 -0
  1189. package/dist/api/resources/news/resources/feeds/client/requests/index.d.ts +2 -0
  1190. package/dist/api/resources/news/resources/feeds/client/requests/index.js +2 -0
  1191. package/dist/api/resources/news/resources/feeds/index.d.ts +1 -0
  1192. package/dist/api/resources/news/resources/feeds/index.js +17 -0
  1193. package/dist/api/resources/news/resources/index.d.ts +4 -0
  1194. package/dist/api/resources/news/resources/index.js +33 -0
  1195. package/dist/api/resources/news/resources/items/client/Client.d.ts +127 -0
  1196. package/dist/api/resources/news/resources/items/client/Client.js +375 -0
  1197. package/dist/api/resources/news/resources/items/client/index.d.ts +1 -0
  1198. package/dist/api/resources/news/resources/items/client/index.js +17 -0
  1199. package/dist/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.d.ts +15 -0
  1200. package/dist/api/resources/news/resources/items/client/requests/DeleteNewsItemRequest.js +5 -0
  1201. package/dist/api/resources/news/resources/items/client/requests/FindNewsItemRequest.d.ts +15 -0
  1202. package/dist/api/resources/news/resources/items/client/requests/FindNewsItemRequest.js +5 -0
  1203. package/dist/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.d.ts +34 -0
  1204. package/dist/api/resources/news/resources/items/client/requests/UpdateNewsItemRequest.js +5 -0
  1205. package/dist/api/resources/news/resources/items/client/requests/index.d.ts +3 -0
  1206. package/dist/api/resources/news/resources/items/client/requests/index.js +2 -0
  1207. package/dist/api/resources/news/resources/items/index.d.ts +1 -0
  1208. package/dist/api/resources/news/resources/items/index.js +17 -0
  1209. package/dist/api/resources/news/types/NewsItem.d.ts +47 -0
  1210. package/dist/api/resources/news/types/NewsItem.js +13 -0
  1211. package/dist/api/resources/news/types/Newsfeed.d.ts +20 -0
  1212. package/dist/api/resources/news/types/Newsfeed.js +5 -0
  1213. package/dist/api/resources/news/types/NewsfeedAssignment.d.ts +12 -0
  1214. package/dist/api/resources/news/types/NewsfeedAssignment.js +5 -0
  1215. package/dist/api/resources/news/types/index.d.ts +3 -0
  1216. package/dist/api/resources/news/types/index.js +19 -0
  1217. package/dist/api/resources/notes/client/Client.d.ts +80 -0
  1218. package/dist/api/resources/notes/client/Client.js +272 -0
  1219. package/dist/api/resources/notes/client/index.d.ts +1 -0
  1220. package/dist/api/resources/notes/client/index.js +17 -0
  1221. package/dist/api/resources/notes/client/requests/CreateContactNoteRequest.d.ts +35 -0
  1222. package/dist/api/resources/notes/client/requests/CreateContactNoteRequest.js +5 -0
  1223. package/dist/api/resources/notes/client/requests/FindNoteRequest.d.ts +15 -0
  1224. package/dist/api/resources/notes/client/requests/FindNoteRequest.js +5 -0
  1225. package/dist/api/resources/notes/client/requests/ListContactNotesRequest.d.ts +23 -0
  1226. package/dist/api/resources/notes/client/requests/ListContactNotesRequest.js +5 -0
  1227. package/dist/api/resources/notes/client/requests/index.d.ts +3 -0
  1228. package/dist/api/resources/notes/client/requests/index.js +2 -0
  1229. package/dist/api/resources/notes/index.d.ts +2 -0
  1230. package/dist/api/resources/notes/index.js +18 -0
  1231. package/dist/api/resources/notes/types/Note.d.ts +32 -0
  1232. package/dist/api/resources/notes/types/Note.js +5 -0
  1233. package/dist/api/resources/notes/types/index.d.ts +1 -0
  1234. package/dist/api/resources/notes/types/index.js +17 -0
  1235. package/dist/api/resources/phoneCallRedirects/client/Client.d.ts +64 -0
  1236. package/dist/api/resources/phoneCallRedirects/client/Client.js +142 -0
  1237. package/dist/api/resources/phoneCallRedirects/client/index.d.ts +1 -0
  1238. package/dist/api/resources/phoneCallRedirects/client/index.js +17 -0
  1239. package/dist/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.d.ts +46 -0
  1240. package/dist/api/resources/phoneCallRedirects/client/requests/CreatePhoneCallRedirectRequest.js +5 -0
  1241. package/dist/api/resources/phoneCallRedirects/client/requests/index.d.ts +1 -0
  1242. package/dist/api/resources/phoneCallRedirects/client/requests/index.js +2 -0
  1243. package/dist/api/resources/phoneCallRedirects/index.d.ts +1 -0
  1244. package/dist/api/resources/phoneCallRedirects/index.js +17 -0
  1245. package/dist/api/resources/segments/client/Client.d.ts +62 -0
  1246. package/dist/api/resources/segments/client/Client.js +185 -0
  1247. package/dist/api/resources/segments/client/index.d.ts +1 -0
  1248. package/dist/api/resources/segments/client/index.js +17 -0
  1249. package/dist/api/resources/segments/client/requests/FindSegmentRequest.d.ts +15 -0
  1250. package/dist/api/resources/segments/client/requests/FindSegmentRequest.js +5 -0
  1251. package/dist/api/resources/segments/client/requests/ListSegmentsRequest.d.ts +13 -0
  1252. package/dist/api/resources/segments/client/requests/ListSegmentsRequest.js +5 -0
  1253. package/dist/api/resources/segments/client/requests/index.d.ts +2 -0
  1254. package/dist/api/resources/segments/client/requests/index.js +2 -0
  1255. package/dist/api/resources/segments/index.d.ts +2 -0
  1256. package/dist/api/resources/segments/index.js +18 -0
  1257. package/dist/api/resources/segments/types/Segment.d.ts +32 -0
  1258. package/dist/api/resources/segments/types/Segment.js +13 -0
  1259. package/dist/api/resources/segments/types/index.d.ts +1 -0
  1260. package/dist/api/resources/segments/types/index.js +17 -0
  1261. package/dist/api/resources/subscriptionTypes/client/Client.d.ts +46 -0
  1262. package/dist/api/resources/subscriptionTypes/client/Client.js +119 -0
  1263. package/dist/api/resources/subscriptionTypes/client/index.d.ts +1 -0
  1264. package/dist/api/resources/subscriptionTypes/client/index.js +2 -0
  1265. package/dist/api/resources/subscriptionTypes/index.d.ts +2 -0
  1266. package/dist/api/resources/subscriptionTypes/index.js +18 -0
  1267. package/dist/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +49 -0
  1268. package/dist/api/resources/subscriptionTypes/types/SubscriptionType.js +25 -0
  1269. package/dist/api/resources/subscriptionTypes/types/index.d.ts +1 -0
  1270. package/dist/api/resources/subscriptionTypes/types/index.js +17 -0
  1271. package/dist/api/resources/tags/client/Client.d.ts +234 -0
  1272. package/dist/api/resources/tags/client/Client.js +723 -0
  1273. package/dist/api/resources/tags/client/index.d.ts +1 -0
  1274. package/dist/api/resources/tags/client/index.js +17 -0
  1275. package/dist/api/resources/tags/client/requests/DeleteTagRequest.d.ts +15 -0
  1276. package/dist/api/resources/tags/client/requests/DeleteTagRequest.js +5 -0
  1277. package/dist/api/resources/tags/client/requests/FindTagRequest.d.ts +15 -0
  1278. package/dist/api/resources/tags/client/requests/FindTagRequest.js +5 -0
  1279. package/dist/api/resources/tags/client/requests/TagContactRequest.d.ts +30 -0
  1280. package/dist/api/resources/tags/client/requests/TagContactRequest.js +5 -0
  1281. package/dist/api/resources/tags/client/requests/TagConversationRequest.d.ts +28 -0
  1282. package/dist/api/resources/tags/client/requests/TagConversationRequest.js +5 -0
  1283. package/dist/api/resources/tags/client/requests/TagTicketRequest.d.ts +28 -0
  1284. package/dist/api/resources/tags/client/requests/TagTicketRequest.js +5 -0
  1285. package/dist/api/resources/tags/client/requests/UntagContactRequest.d.ts +20 -0
  1286. package/dist/api/resources/tags/client/requests/UntagContactRequest.js +5 -0
  1287. package/dist/api/resources/tags/client/requests/UntagConversationRequest.d.ts +37 -0
  1288. package/dist/api/resources/tags/client/requests/UntagConversationRequest.js +5 -0
  1289. package/dist/api/resources/tags/client/requests/UntagTicketRequest.d.ts +37 -0
  1290. package/dist/api/resources/tags/client/requests/UntagTicketRequest.js +5 -0
  1291. package/dist/api/resources/tags/client/requests/index.d.ts +8 -0
  1292. package/dist/api/resources/tags/client/requests/index.js +2 -0
  1293. package/dist/api/resources/tags/index.d.ts +2 -0
  1294. package/dist/api/resources/tags/index.js +18 -0
  1295. package/dist/api/resources/tags/types/Tag.d.ts +18 -0
  1296. package/dist/api/resources/tags/types/Tag.js +5 -0
  1297. package/dist/api/resources/tags/types/TagsCreateRequestBody.d.ts +5 -0
  1298. package/dist/api/resources/tags/types/TagsCreateRequestBody.js +5 -0
  1299. package/dist/api/resources/tags/types/index.d.ts +2 -0
  1300. package/dist/api/resources/tags/types/index.js +18 -0
  1301. package/dist/api/resources/teams/client/Client.d.ts +61 -0
  1302. package/dist/api/resources/teams/client/Client.js +178 -0
  1303. package/dist/api/resources/teams/client/index.d.ts +1 -0
  1304. package/dist/api/resources/teams/client/index.js +17 -0
  1305. package/dist/api/resources/teams/client/requests/FindTeamRequest.d.ts +15 -0
  1306. package/dist/api/resources/teams/client/requests/FindTeamRequest.js +5 -0
  1307. package/dist/api/resources/teams/client/requests/index.d.ts +1 -0
  1308. package/dist/api/resources/teams/client/requests/index.js +2 -0
  1309. package/dist/api/resources/teams/index.d.ts +2 -0
  1310. package/dist/api/resources/teams/index.js +18 -0
  1311. package/dist/api/resources/teams/types/Team.d.ts +18 -0
  1312. package/dist/api/resources/teams/types/Team.js +5 -0
  1313. package/dist/api/resources/teams/types/index.d.ts +1 -0
  1314. package/dist/api/resources/teams/types/index.js +17 -0
  1315. package/dist/api/resources/ticketTypes/client/Client.d.ts +104 -0
  1316. package/dist/api/resources/ticketTypes/client/Client.js +317 -0
  1317. package/dist/api/resources/ticketTypes/client/index.d.ts +1 -0
  1318. package/dist/api/resources/ticketTypes/client/index.js +17 -0
  1319. package/dist/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.d.ts +35 -0
  1320. package/dist/api/resources/ticketTypes/client/requests/CreateTicketTypeRequest.js +14 -0
  1321. package/dist/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.d.ts +15 -0
  1322. package/dist/api/resources/ticketTypes/client/requests/FindTicketTypeRequest.js +5 -0
  1323. package/dist/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +39 -0
  1324. package/dist/api/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +14 -0
  1325. package/dist/api/resources/ticketTypes/client/requests/index.d.ts +3 -0
  1326. package/dist/api/resources/ticketTypes/client/requests/index.js +2 -0
  1327. package/dist/api/resources/ticketTypes/index.d.ts +2 -0
  1328. package/dist/api/resources/ticketTypes/index.js +18 -0
  1329. package/dist/api/resources/ticketTypes/resources/attributes/client/Client.d.ts +66 -0
  1330. package/dist/api/resources/ticketTypes/resources/attributes/client/Client.js +195 -0
  1331. package/dist/api/resources/ticketTypes/resources/attributes/client/index.d.ts +1 -0
  1332. package/dist/api/resources/ticketTypes/resources/attributes/client/index.js +17 -0
  1333. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +54 -0
  1334. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/CreateTicketTypeAttributeRequest.js +18 -0
  1335. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +41 -0
  1336. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/UpdateTicketTypeAttributeRequest.js +5 -0
  1337. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/index.d.ts +2 -0
  1338. package/dist/api/resources/ticketTypes/resources/attributes/client/requests/index.js +2 -0
  1339. package/dist/api/resources/ticketTypes/resources/attributes/index.d.ts +1 -0
  1340. package/dist/api/resources/ticketTypes/resources/attributes/index.js +17 -0
  1341. package/dist/api/resources/ticketTypes/resources/index.d.ts +2 -0
  1342. package/dist/api/resources/ticketTypes/resources/index.js +31 -0
  1343. package/dist/api/resources/tickets/client/Client.d.ts +267 -0
  1344. package/dist/api/resources/tickets/client/Client.js +534 -0
  1345. package/dist/api/resources/tickets/client/index.d.ts +1 -0
  1346. package/dist/api/resources/tickets/client/index.js +17 -0
  1347. package/dist/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +40 -0
  1348. package/dist/api/resources/tickets/client/requests/CreateTicketRequest.js +5 -0
  1349. package/dist/api/resources/tickets/client/requests/FindTicketRequest.d.ts +15 -0
  1350. package/dist/api/resources/tickets/client/requests/FindTicketRequest.js +5 -0
  1351. package/dist/api/resources/tickets/client/requests/ReplyToTicketRequest.d.ts +81 -0
  1352. package/dist/api/resources/tickets/client/requests/ReplyToTicketRequest.js +5 -0
  1353. package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +82 -0
  1354. package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.js +14 -0
  1355. package/dist/api/resources/tickets/client/requests/index.d.ts +4 -0
  1356. package/dist/api/resources/tickets/client/requests/index.js +2 -0
  1357. package/dist/api/resources/tickets/index.d.ts +2 -0
  1358. package/dist/api/resources/tickets/index.js +18 -0
  1359. package/dist/api/resources/tickets/types/Ticket.d.ts +63 -0
  1360. package/dist/api/resources/tickets/types/Ticket.js +20 -0
  1361. package/dist/api/resources/tickets/types/TicketContacts.d.ts +13 -0
  1362. package/dist/api/resources/tickets/types/TicketContacts.js +5 -0
  1363. package/dist/api/resources/tickets/types/TicketPart.d.ts +56 -0
  1364. package/dist/api/resources/tickets/types/TicketPart.js +21 -0
  1365. package/dist/api/resources/tickets/types/TicketType.d.ts +41 -0
  1366. package/dist/api/resources/tickets/types/TicketType.js +14 -0
  1367. package/dist/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +5 -0
  1368. package/dist/api/resources/tickets/types/TicketsReplyRequestBody.js +5 -0
  1369. package/dist/api/resources/tickets/types/index.d.ts +5 -0
  1370. package/dist/api/resources/tickets/types/index.js +21 -0
  1371. package/dist/api/resources/visitors/client/Client.d.ts +101 -0
  1372. package/dist/api/resources/visitors/client/Client.js +266 -0
  1373. package/dist/api/resources/visitors/client/index.d.ts +1 -0
  1374. package/dist/api/resources/visitors/client/index.js +17 -0
  1375. package/dist/api/resources/visitors/client/requests/FindVisitorRequest.d.ts +15 -0
  1376. package/dist/api/resources/visitors/client/requests/FindVisitorRequest.js +5 -0
  1377. package/dist/api/resources/visitors/client/requests/MergeVisitorToContactRequest.d.ts +46 -0
  1378. package/dist/api/resources/visitors/client/requests/MergeVisitorToContactRequest.js +5 -0
  1379. package/dist/api/resources/visitors/client/requests/index.d.ts +2 -0
  1380. package/dist/api/resources/visitors/client/requests/index.js +2 -0
  1381. package/dist/api/resources/visitors/index.d.ts +1 -0
  1382. package/dist/api/resources/visitors/index.js +17 -0
  1383. package/dist/api/types/ActionComponent.d.ts +16 -0
  1384. package/dist/api/types/ActionComponent.js +5 -0
  1385. package/dist/api/types/ActivityLog.d.ts +104 -0
  1386. package/dist/api/types/ActivityLog.js +78 -0
  1387. package/dist/api/types/ActivityLogList.d.ts +14 -0
  1388. package/dist/api/types/ActivityLogList.js +5 -0
  1389. package/dist/api/types/ActivityLogMetadata.d.ts +26 -0
  1390. package/dist/api/types/ActivityLogMetadata.js +5 -0
  1391. package/dist/api/types/AddressableList.d.ts +14 -0
  1392. package/dist/api/types/AddressableList.js +5 -0
  1393. package/dist/api/types/AdminList.d.ts +13 -0
  1394. package/dist/api/types/AdminList.js +5 -0
  1395. package/dist/api/types/AdminPriorityLevel.d.ts +12 -0
  1396. package/dist/api/types/AdminPriorityLevel.js +5 -0
  1397. package/dist/api/types/AdminReplyConversationRequest.d.ts +28 -0
  1398. package/dist/api/types/AdminReplyConversationRequest.js +13 -0
  1399. package/dist/api/types/AdminReplyTicketRequest.d.ts +37 -0
  1400. package/dist/api/types/AdminReplyTicketRequest.js +14 -0
  1401. package/dist/api/types/AdminWithApp.d.ts +44 -0
  1402. package/dist/api/types/AdminWithApp.js +5 -0
  1403. package/dist/api/types/App.d.ts +22 -0
  1404. package/dist/api/types/App.js +5 -0
  1405. package/dist/api/types/ArticleContent.d.ts +36 -0
  1406. package/dist/api/types/ArticleContent.js +13 -0
  1407. package/dist/api/types/ArticleList.d.ts +16 -0
  1408. package/dist/api/types/ArticleList.js +5 -0
  1409. package/dist/api/types/ArticleStatistics.d.ts +22 -0
  1410. package/dist/api/types/ArticleStatistics.js +5 -0
  1411. package/dist/api/types/ArticleTranslatedContent.d.ts +85 -0
  1412. package/dist/api/types/ArticleTranslatedContent.js +5 -0
  1413. package/dist/api/types/AssignConversationRequest.d.ts +22 -0
  1414. package/dist/api/types/AssignConversationRequest.js +13 -0
  1415. package/dist/api/types/ButtonComponent.d.ts +33 -0
  1416. package/dist/api/types/ButtonComponent.js +14 -0
  1417. package/dist/api/types/CanvasObject.d.ts +20 -0
  1418. package/dist/api/types/CanvasObject.js +5 -0
  1419. package/dist/api/types/CheckboxComponent.d.ts +36 -0
  1420. package/dist/api/types/CheckboxComponent.js +14 -0
  1421. package/dist/api/types/CheckboxOption.d.ts +16 -0
  1422. package/dist/api/types/CheckboxOption.js +5 -0
  1423. package/dist/api/types/CloseConversationRequest.d.ts +13 -0
  1424. package/dist/api/types/CloseConversationRequest.js +5 -0
  1425. package/dist/api/types/CollectionList.d.ts +16 -0
  1426. package/dist/api/types/CollectionList.js +5 -0
  1427. package/dist/api/types/CompanyAttachedContacts.d.ts +16 -0
  1428. package/dist/api/types/CompanyAttachedContacts.js +5 -0
  1429. package/dist/api/types/CompanyAttachedSegments.d.ts +13 -0
  1430. package/dist/api/types/CompanyAttachedSegments.js +5 -0
  1431. package/dist/api/types/CompanyList.d.ts +16 -0
  1432. package/dist/api/types/CompanyList.js +5 -0
  1433. package/dist/api/types/CompanyScroll.d.ts +17 -0
  1434. package/dist/api/types/CompanyScroll.js +5 -0
  1435. package/dist/api/types/Component.d.ts +43 -0
  1436. package/dist/api/types/Component.js +5 -0
  1437. package/dist/api/types/ConfigureRequest.d.ts +22 -0
  1438. package/dist/api/types/ConfigureRequest.js +5 -0
  1439. package/dist/api/types/ConfigureResponse.d.ts +12 -0
  1440. package/dist/api/types/ConfigureResponse.js +5 -0
  1441. package/dist/api/types/ContactArchived.d.ts +16 -0
  1442. package/dist/api/types/ContactArchived.js +5 -0
  1443. package/dist/api/types/ContactAttachedCompanies.d.ts +16 -0
  1444. package/dist/api/types/ContactAttachedCompanies.js +5 -0
  1445. package/dist/api/types/ContactCompanies.d.ts +19 -0
  1446. package/dist/api/types/ContactCompanies.js +5 -0
  1447. package/dist/api/types/ContactCompany.d.ts +14 -0
  1448. package/dist/api/types/ContactCompany.js +5 -0
  1449. package/dist/api/types/ContactDeleted.d.ts +16 -0
  1450. package/dist/api/types/ContactDeleted.js +5 -0
  1451. package/dist/api/types/ContactList.d.ts +16 -0
  1452. package/dist/api/types/ContactList.js +5 -0
  1453. package/dist/api/types/ContactLocation.d.ts +16 -0
  1454. package/dist/api/types/ContactLocation.js +5 -0
  1455. package/dist/api/types/ContactNotes.d.ts +17 -0
  1456. package/dist/api/types/ContactNotes.js +5 -0
  1457. package/dist/api/types/ContactReference.d.ts +14 -0
  1458. package/dist/api/types/ContactReference.js +5 -0
  1459. package/dist/api/types/ContactReplyBaseRequest.d.ts +13 -0
  1460. package/dist/api/types/ContactReplyBaseRequest.js +5 -0
  1461. package/dist/api/types/ContactReplyConversationRequest.d.ts +5 -0
  1462. package/dist/api/types/ContactReplyConversationRequest.js +5 -0
  1463. package/dist/api/types/ContactReplyEmailRequest.d.ts +13 -0
  1464. package/dist/api/types/ContactReplyEmailRequest.js +5 -0
  1465. package/dist/api/types/ContactReplyIntercomUserIdRequest.d.ts +13 -0
  1466. package/dist/api/types/ContactReplyIntercomUserIdRequest.js +5 -0
  1467. package/dist/api/types/ContactReplyTicketEmailRequest.d.ts +11 -0
  1468. package/dist/api/types/ContactReplyTicketEmailRequest.js +5 -0
  1469. package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +11 -0
  1470. package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.js +5 -0
  1471. package/dist/api/types/ContactReplyTicketRequest.d.ts +5 -0
  1472. package/dist/api/types/ContactReplyTicketRequest.js +5 -0
  1473. package/dist/api/types/ContactReplyTicketUserIdRequest.d.ts +11 -0
  1474. package/dist/api/types/ContactReplyTicketUserIdRequest.js +5 -0
  1475. package/dist/api/types/ContactReplyUserIdRequest.d.ts +13 -0
  1476. package/dist/api/types/ContactReplyUserIdRequest.js +5 -0
  1477. package/dist/api/types/ContactSegments.d.ts +13 -0
  1478. package/dist/api/types/ContactSegments.js +5 -0
  1479. package/dist/api/types/ContactSocialProfiles.d.ts +11 -0
  1480. package/dist/api/types/ContactSocialProfiles.js +5 -0
  1481. package/dist/api/types/ContactSubscriptionTypes.d.ts +17 -0
  1482. package/dist/api/types/ContactSubscriptionTypes.js +5 -0
  1483. package/dist/api/types/ContactTags.d.ts +17 -0
  1484. package/dist/api/types/ContactTags.js +5 -0
  1485. package/dist/api/types/ContactUnarchived.d.ts +16 -0
  1486. package/dist/api/types/ContactUnarchived.js +5 -0
  1487. package/dist/api/types/ContentObject.d.ts +13 -0
  1488. package/dist/api/types/ContentObject.js +5 -0
  1489. package/dist/api/types/ContentSourcesList.d.ts +11 -0
  1490. package/dist/api/types/ContentSourcesList.js +5 -0
  1491. package/dist/api/types/Context.d.ts +34 -0
  1492. package/dist/api/types/Context.js +15 -0
  1493. package/dist/api/types/ConversationAttachmentFiles.d.ts +14 -0
  1494. package/dist/api/types/ConversationAttachmentFiles.js +5 -0
  1495. package/dist/api/types/ConversationContacts.d.ts +12 -0
  1496. package/dist/api/types/ConversationContacts.js +5 -0
  1497. package/dist/api/types/ConversationFirstContactReply.d.ts +14 -0
  1498. package/dist/api/types/ConversationFirstContactReply.js +5 -0
  1499. package/dist/api/types/ConversationPart.d.ts +32 -0
  1500. package/dist/api/types/ConversationPart.js +5 -0
  1501. package/dist/api/types/ConversationPartAuthor.d.ts +16 -0
  1502. package/dist/api/types/ConversationPartAuthor.js +5 -0
  1503. package/dist/api/types/ConversationParts.d.ts +15 -0
  1504. package/dist/api/types/ConversationParts.js +5 -0
  1505. package/dist/api/types/ConversationRating.d.ts +17 -0
  1506. package/dist/api/types/ConversationRating.js +5 -0
  1507. package/dist/api/types/ConversationSource.d.ts +44 -0
  1508. package/dist/api/types/ConversationSource.js +21 -0
  1509. package/dist/api/types/ConversationStatistics.d.ts +46 -0
  1510. package/dist/api/types/ConversationStatistics.js +5 -0
  1511. package/dist/api/types/ConversationTeammates.d.ts +13 -0
  1512. package/dist/api/types/ConversationTeammates.js +5 -0
  1513. package/dist/api/types/CreateContactRequest.d.ts +37 -0
  1514. package/dist/api/types/CreateContactRequest.js +5 -0
  1515. package/dist/api/types/CreateDataEventRequest.d.ts +22 -0
  1516. package/dist/api/types/CreateDataEventRequest.js +5 -0
  1517. package/dist/api/types/CreateMessageRequest.d.ts +104 -0
  1518. package/dist/api/types/CreateMessageRequest.js +29 -0
  1519. package/dist/api/types/CreateOrUpdateTagRequest.d.ts +12 -0
  1520. package/dist/api/types/CreateOrUpdateTagRequest.js +5 -0
  1521. package/dist/api/types/CreateTicketReplyWithCommentRequest.d.ts +5 -0
  1522. package/dist/api/types/CreateTicketReplyWithCommentRequest.js +5 -0
  1523. package/dist/api/types/CurrentCanvas.d.ts +11 -0
  1524. package/dist/api/types/CurrentCanvas.js +5 -0
  1525. package/dist/api/types/CursorPages.d.ts +19 -0
  1526. package/dist/api/types/CursorPages.js +5 -0
  1527. package/dist/api/types/CustomAttributes.d.ts +7 -0
  1528. package/dist/api/types/CustomAttributes.js +5 -0
  1529. package/dist/api/types/CustomerRequest.d.ts +10 -0
  1530. package/dist/api/types/CustomerRequest.js +5 -0
  1531. package/dist/api/types/DataAttributeList.d.ts +13 -0
  1532. package/dist/api/types/DataAttributeList.js +5 -0
  1533. package/dist/api/types/DataEventList.d.ts +24 -0
  1534. package/dist/api/types/DataEventList.js +5 -0
  1535. package/dist/api/types/DataEventSummary.d.ts +19 -0
  1536. package/dist/api/types/DataEventSummary.js +5 -0
  1537. package/dist/api/types/DataEventSummaryItem.d.ts +18 -0
  1538. package/dist/api/types/DataEventSummaryItem.js +5 -0
  1539. package/dist/api/types/DataExportCsv.d.ts +60 -0
  1540. package/dist/api/types/DataExportCsv.js +5 -0
  1541. package/dist/api/types/DataTableComponent.d.ts +11 -0
  1542. package/dist/api/types/DataTableComponent.js +5 -0
  1543. package/dist/api/types/DataTableItem.d.ts +14 -0
  1544. package/dist/api/types/DataTableItem.js +5 -0
  1545. package/dist/api/types/DeletedArticleObject.d.ts +14 -0
  1546. package/dist/api/types/DeletedArticleObject.js +5 -0
  1547. package/dist/api/types/DeletedCollectionObject.d.ts +14 -0
  1548. package/dist/api/types/DeletedCollectionObject.js +5 -0
  1549. package/dist/api/types/DeletedCompanyObject.d.ts +14 -0
  1550. package/dist/api/types/DeletedCompanyObject.js +5 -0
  1551. package/dist/api/types/DeletedObject.d.ts +14 -0
  1552. package/dist/api/types/DeletedObject.js +5 -0
  1553. package/dist/api/types/DividerComponent.d.ts +12 -0
  1554. package/dist/api/types/DividerComponent.js +5 -0
  1555. package/dist/api/types/DropdownComponent.d.ts +34 -0
  1556. package/dist/api/types/DropdownComponent.js +14 -0
  1557. package/dist/api/types/DropdownOption.d.ts +16 -0
  1558. package/dist/api/types/DropdownOption.js +5 -0
  1559. package/dist/api/types/Error_.d.ts +27 -0
  1560. package/dist/api/types/Error_.js +5 -0
  1561. package/dist/api/types/Event.d.ts +10 -0
  1562. package/dist/api/types/Event.js +5 -0
  1563. package/dist/api/types/FileAttribute.d.ts +21 -0
  1564. package/dist/api/types/FileAttribute.js +5 -0
  1565. package/dist/api/types/GroupContent.d.ts +14 -0
  1566. package/dist/api/types/GroupContent.js +5 -0
  1567. package/dist/api/types/GroupTranslatedContent.d.ts +85 -0
  1568. package/dist/api/types/GroupTranslatedContent.js +5 -0
  1569. package/dist/api/types/ImageComponent.d.ts +40 -0
  1570. package/dist/api/types/ImageComponent.js +15 -0
  1571. package/dist/api/types/InitializeRequest.d.ts +23 -0
  1572. package/dist/api/types/InitializeRequest.js +5 -0
  1573. package/dist/api/types/InitializeResponse.d.ts +11 -0
  1574. package/dist/api/types/InitializeResponse.js +5 -0
  1575. package/dist/api/types/InputComponent.d.ts +37 -0
  1576. package/dist/api/types/InputComponent.js +14 -0
  1577. package/dist/api/types/LinkedObject.d.ts +24 -0
  1578. package/dist/api/types/LinkedObject.js +13 -0
  1579. package/dist/api/types/LinkedObjectList.d.ts +17 -0
  1580. package/dist/api/types/LinkedObjectList.js +5 -0
  1581. package/dist/api/types/ListComponent.d.ts +23 -0
  1582. package/dist/api/types/ListComponent.js +5 -0
  1583. package/dist/api/types/ListItem.d.ts +25 -0
  1584. package/dist/api/types/ListItem.js +5 -0
  1585. package/dist/api/types/ListItemWithImage.d.ts +12 -0
  1586. package/dist/api/types/ListItemWithImage.js +5 -0
  1587. package/dist/api/types/ListItemWithoutImage.d.ts +12 -0
  1588. package/dist/api/types/ListItemWithoutImage.js +5 -0
  1589. package/dist/api/types/LiveCanvasRequest.d.ts +21 -0
  1590. package/dist/api/types/LiveCanvasRequest.js +5 -0
  1591. package/dist/api/types/LiveCanvasResponse.d.ts +11 -0
  1592. package/dist/api/types/LiveCanvasResponse.js +5 -0
  1593. package/dist/api/types/MultipleFilterSearchRequest.d.ts +22 -0
  1594. package/dist/api/types/MultipleFilterSearchRequest.js +13 -0
  1595. package/dist/api/types/MultipleOrSingleFilterSearchRequest.d.ts +5 -0
  1596. package/dist/api/types/MultipleOrSingleFilterSearchRequest.js +5 -0
  1597. package/dist/api/types/NewsItemRequest.d.ts +35 -0
  1598. package/dist/api/types/NewsItemRequest.js +13 -0
  1599. package/dist/api/types/NoteList.d.ts +16 -0
  1600. package/dist/api/types/NoteList.js +5 -0
  1601. package/dist/api/types/OpenConversationRequest.d.ts +10 -0
  1602. package/dist/api/types/OpenConversationRequest.js +5 -0
  1603. package/dist/api/types/PagesLink.d.ts +16 -0
  1604. package/dist/api/types/PagesLink.js +5 -0
  1605. package/dist/api/types/PaginatedConversationResponse.d.ts +16 -0
  1606. package/dist/api/types/PaginatedConversationResponse.js +5 -0
  1607. package/dist/api/types/PaginatedNewsItemResponse.d.ts +16 -0
  1608. package/dist/api/types/PaginatedNewsItemResponse.js +5 -0
  1609. package/dist/api/types/PaginatedNewsfeedResponse.d.ts +16 -0
  1610. package/dist/api/types/PaginatedNewsfeedResponse.js +5 -0
  1611. package/dist/api/types/PartAttachment.d.ts +22 -0
  1612. package/dist/api/types/PartAttachment.js +5 -0
  1613. package/dist/api/types/PhoneSwitch.d.ts +12 -0
  1614. package/dist/api/types/PhoneSwitch.js +5 -0
  1615. package/dist/api/types/RedactConversationRequest.d.ts +27 -0
  1616. package/dist/api/types/RedactConversationRequest.js +5 -0
  1617. package/dist/api/types/Reference.d.ts +12 -0
  1618. package/dist/api/types/Reference.js +5 -0
  1619. package/dist/api/types/ReplyConversationRequest.d.ts +5 -0
  1620. package/dist/api/types/ReplyConversationRequest.js +5 -0
  1621. package/dist/api/types/ResultsResponse.d.ts +10 -0
  1622. package/dist/api/types/ResultsResponse.js +5 -0
  1623. package/dist/api/types/SearchRequest.d.ts +14 -0
  1624. package/dist/api/types/SearchRequest.js +5 -0
  1625. package/dist/api/types/SegmentList.d.ts +15 -0
  1626. package/dist/api/types/SegmentList.js +5 -0
  1627. package/dist/api/types/SheetActionComponent.d.ts +12 -0
  1628. package/dist/api/types/SheetActionComponent.js +5 -0
  1629. package/dist/api/types/SingleFilterSearchRequest.d.ts +36 -0
  1630. package/dist/api/types/SingleFilterSearchRequest.js +21 -0
  1631. package/dist/api/types/SingleSelectComponent.d.ts +39 -0
  1632. package/dist/api/types/SingleSelectComponent.js +14 -0
  1633. package/dist/api/types/SingleSelectOption.d.ts +16 -0
  1634. package/dist/api/types/SingleSelectOption.js +5 -0
  1635. package/dist/api/types/SlaApplied.d.ts +35 -0
  1636. package/dist/api/types/SlaApplied.js +15 -0
  1637. package/dist/api/types/SnoozeConversationRequest.d.ts +12 -0
  1638. package/dist/api/types/SnoozeConversationRequest.js +5 -0
  1639. package/dist/api/types/SocialProfile.d.ts +14 -0
  1640. package/dist/api/types/SocialProfile.js +5 -0
  1641. package/dist/api/types/SpacerComponent.d.ts +25 -0
  1642. package/dist/api/types/SpacerComponent.js +16 -0
  1643. package/dist/api/types/StartingAfterPaging.d.ts +9 -0
  1644. package/dist/api/types/StartingAfterPaging.js +5 -0
  1645. package/dist/api/types/SubmitActionComponent.d.ts +8 -0
  1646. package/dist/api/types/SubmitActionComponent.js +5 -0
  1647. package/dist/api/types/SubmitRequest.d.ts +29 -0
  1648. package/dist/api/types/SubmitRequest.js +5 -0
  1649. package/dist/api/types/SubmitResponse.d.ts +23 -0
  1650. package/dist/api/types/SubmitResponse.js +5 -0
  1651. package/dist/api/types/SubscriptionTypeList.d.ts +13 -0
  1652. package/dist/api/types/SubscriptionTypeList.js +5 -0
  1653. package/dist/api/types/TagCompanyRequest.d.ts +23 -0
  1654. package/dist/api/types/TagCompanyRequest.js +5 -0
  1655. package/dist/api/types/TagList.d.ts +13 -0
  1656. package/dist/api/types/TagList.js +5 -0
  1657. package/dist/api/types/TagMultipleUsersRequest.d.ts +20 -0
  1658. package/dist/api/types/TagMultipleUsersRequest.js +5 -0
  1659. package/dist/api/types/Tags.d.ts +13 -0
  1660. package/dist/api/types/Tags.js +5 -0
  1661. package/dist/api/types/TeamList.d.ts +13 -0
  1662. package/dist/api/types/TeamList.js +5 -0
  1663. package/dist/api/types/TeamPriorityLevel.d.ts +12 -0
  1664. package/dist/api/types/TeamPriorityLevel.js +5 -0
  1665. package/dist/api/types/TextAreaComponent.d.ts +22 -0
  1666. package/dist/api/types/TextAreaComponent.js +5 -0
  1667. package/dist/api/types/TextComponent.d.ts +39 -0
  1668. package/dist/api/types/TextComponent.js +20 -0
  1669. package/dist/api/types/TicketCustomAttributes.d.ts +11 -0
  1670. package/dist/api/types/TicketCustomAttributes.js +5 -0
  1671. package/dist/api/types/TicketList.d.ts +16 -0
  1672. package/dist/api/types/TicketList.js +5 -0
  1673. package/dist/api/types/TicketPartAuthor.d.ts +28 -0
  1674. package/dist/api/types/TicketPartAuthor.js +15 -0
  1675. package/dist/api/types/TicketParts.d.ts +15 -0
  1676. package/dist/api/types/TicketParts.js +5 -0
  1677. package/dist/api/types/TicketReply.d.ts +37 -0
  1678. package/dist/api/types/TicketReply.js +14 -0
  1679. package/dist/api/types/TicketRequestCustomAttributes.d.ts +10 -0
  1680. package/dist/api/types/TicketRequestCustomAttributes.js +5 -0
  1681. package/dist/api/types/TicketTypeAttribute.d.ts +57 -0
  1682. package/dist/api/types/TicketTypeAttribute.js +18 -0
  1683. package/dist/api/types/TicketTypeAttributeList.d.ts +13 -0
  1684. package/dist/api/types/TicketTypeAttributeList.js +5 -0
  1685. package/dist/api/types/TicketTypeList.d.ts +13 -0
  1686. package/dist/api/types/TicketTypeList.js +5 -0
  1687. package/dist/api/types/Translation.d.ts +14 -0
  1688. package/dist/api/types/Translation.js +5 -0
  1689. package/dist/api/types/UntagCompanyRequest.d.ts +25 -0
  1690. package/dist/api/types/UntagCompanyRequest.js +5 -0
  1691. package/dist/api/types/UpdateVisitorRequest.d.ts +15 -0
  1692. package/dist/api/types/UpdateVisitorRequest.js +5 -0
  1693. package/dist/api/types/UrlActionComponent.d.ts +10 -0
  1694. package/dist/api/types/UrlActionComponent.js +5 -0
  1695. package/dist/api/types/Visitor.d.ts +128 -0
  1696. package/dist/api/types/Visitor.js +5 -0
  1697. package/dist/api/types/VisitorDeletedObject.d.ts +14 -0
  1698. package/dist/api/types/VisitorDeletedObject.js +5 -0
  1699. package/dist/api/types/index.d.ts +158 -0
  1700. package/dist/api/types/index.js +174 -0
  1701. package/dist/api/version.d.ts +5 -0
  1702. package/dist/api/version.js +5 -0
  1703. package/dist/core/auth/BasicAuth.d.ts +8 -0
  1704. package/dist/core/auth/BasicAuth.js +26 -0
  1705. package/dist/core/auth/BearerToken.d.ts +5 -0
  1706. package/dist/core/auth/BearerToken.js +15 -0
  1707. package/dist/core/auth/index.d.ts +2 -0
  1708. package/dist/core/auth/index.js +7 -0
  1709. package/dist/core/fetcher/APIResponse.d.ts +10 -0
  1710. package/dist/core/fetcher/APIResponse.js +2 -0
  1711. package/dist/core/fetcher/Fetcher.d.ts +39 -0
  1712. package/dist/core/fetcher/Fetcher.js +99 -0
  1713. package/dist/core/fetcher/Supplier.d.ts +4 -0
  1714. package/dist/core/fetcher/Supplier.js +22 -0
  1715. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  1716. package/dist/core/fetcher/createRequestUrl.js +13 -0
  1717. package/dist/core/fetcher/getFetchFn.d.ts +4 -0
  1718. package/dist/core/fetcher/getFetchFn.js +59 -0
  1719. package/dist/core/fetcher/getHeader.d.ts +1 -0
  1720. package/dist/core/fetcher/getHeader.js +12 -0
  1721. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  1722. package/dist/core/fetcher/getRequestBody.js +23 -0
  1723. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  1724. package/dist/core/fetcher/getResponseBody.js +55 -0
  1725. package/dist/core/fetcher/index.d.ts +5 -0
  1726. package/dist/core/fetcher/index.js +9 -0
  1727. package/dist/core/fetcher/makeRequest.d.ts +1 -0
  1728. package/dist/core/fetcher/makeRequest.js +42 -0
  1729. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  1730. package/dist/core/fetcher/requestWithRetries.js +41 -0
  1731. package/dist/core/fetcher/signals.d.ts +12 -0
  1732. package/dist/core/fetcher/signals.js +37 -0
  1733. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  1734. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
  1735. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  1736. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  1737. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  1738. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
  1739. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  1740. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  1741. package/dist/core/index.d.ts +5 -0
  1742. package/dist/core/index.js +21 -0
  1743. package/dist/core/pagination/Page.d.ts +29 -0
  1744. package/dist/core/pagination/Page.js +94 -0
  1745. package/dist/core/pagination/Pageable.d.ts +12 -0
  1746. package/dist/core/pagination/Pageable.js +10 -0
  1747. package/dist/core/pagination/index.d.ts +2 -0
  1748. package/dist/core/pagination/index.js +7 -0
  1749. package/dist/core/runtime/index.d.ts +1 -0
  1750. package/dist/core/runtime/index.js +5 -0
  1751. package/dist/core/runtime/runtime.d.ts +9 -0
  1752. package/dist/core/runtime/runtime.js +93 -0
  1753. package/dist/core/utils/index.d.ts +1 -0
  1754. package/dist/core/utils/index.js +5 -0
  1755. package/dist/core/utils/setObjectProperty.d.ts +11 -0
  1756. package/dist/core/utils/setObjectProperty.js +43 -0
  1757. package/dist/environments.d.ts +9 -0
  1758. package/dist/environments.js +11 -0
  1759. package/dist/errors/IntercomError.d.ts +12 -0
  1760. package/dist/errors/IntercomError.js +32 -0
  1761. package/dist/errors/IntercomTimeoutError.d.ts +6 -0
  1762. package/dist/errors/IntercomTimeoutError.js +13 -0
  1763. package/dist/errors/index.d.ts +2 -0
  1764. package/dist/errors/index.js +7 -0
  1765. package/dist/index.d.ts +4 -0
  1766. package/dist/index.js +34 -0
  1767. package/dist/version.d.ts +1 -0
  1768. package/dist/version.js +4 -0
  1769. package/environments.d.ts +9 -0
  1770. package/environments.js +11 -0
  1771. package/errors/IntercomError.d.ts +12 -0
  1772. package/errors/IntercomError.js +32 -0
  1773. package/errors/IntercomTimeoutError.d.ts +6 -0
  1774. package/errors/IntercomTimeoutError.js +13 -0
  1775. package/errors/index.d.ts +2 -0
  1776. package/errors/index.js +7 -0
  1777. package/index.d.ts +4 -296
  1778. package/index.js +9 -145
  1779. package/jest.config.js +5 -0
  1780. package/package.json +45 -99
  1781. package/reference.md +7817 -0
  1782. package/version.d.ts +1 -2
  1783. package/version.js +2 -3
  1784. package/CHANGELOG.md +0 -85
  1785. package/_shims/MultipartBody.d.ts +0 -9
  1786. package/_shims/MultipartBody.d.ts.map +0 -1
  1787. package/_shims/MultipartBody.js +0 -16
  1788. package/_shims/MultipartBody.js.map +0 -1
  1789. package/_shims/MultipartBody.mjs +0 -12
  1790. package/_shims/MultipartBody.mjs.map +0 -1
  1791. package/_shims/README.md +0 -46
  1792. package/_shims/auto/runtime-bun.d.ts +0 -5
  1793. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  1794. package/_shims/auto/runtime-bun.js +0 -21
  1795. package/_shims/auto/runtime-bun.js.map +0 -1
  1796. package/_shims/auto/runtime-bun.mjs +0 -2
  1797. package/_shims/auto/runtime-bun.mjs.map +0 -1
  1798. package/_shims/auto/runtime-node.d.ts +0 -5
  1799. package/_shims/auto/runtime-node.d.ts.map +0 -1
  1800. package/_shims/auto/runtime-node.js +0 -21
  1801. package/_shims/auto/runtime-node.js.map +0 -1
  1802. package/_shims/auto/runtime-node.mjs +0 -2
  1803. package/_shims/auto/runtime-node.mjs.map +0 -1
  1804. package/_shims/auto/runtime.d.ts +0 -5
  1805. package/_shims/auto/runtime.d.ts.map +0 -1
  1806. package/_shims/auto/runtime.js +0 -21
  1807. package/_shims/auto/runtime.js.map +0 -1
  1808. package/_shims/auto/runtime.mjs +0 -2
  1809. package/_shims/auto/runtime.mjs.map +0 -1
  1810. package/_shims/auto/types-node.d.ts +0 -5
  1811. package/_shims/auto/types-node.d.ts.map +0 -1
  1812. package/_shims/auto/types-node.js +0 -21
  1813. package/_shims/auto/types-node.js.map +0 -1
  1814. package/_shims/auto/types-node.mjs +0 -2
  1815. package/_shims/auto/types-node.mjs.map +0 -1
  1816. package/_shims/auto/types.d.ts +0 -101
  1817. package/_shims/auto/types.js +0 -3
  1818. package/_shims/auto/types.mjs +0 -3
  1819. package/_shims/bun-runtime.d.ts +0 -6
  1820. package/_shims/bun-runtime.d.ts.map +0 -1
  1821. package/_shims/bun-runtime.js +0 -14
  1822. package/_shims/bun-runtime.js.map +0 -1
  1823. package/_shims/bun-runtime.mjs +0 -10
  1824. package/_shims/bun-runtime.mjs.map +0 -1
  1825. package/_shims/index.d.ts +0 -81
  1826. package/_shims/index.js +0 -13
  1827. package/_shims/index.mjs +0 -7
  1828. package/_shims/manual-types.d.ts +0 -12
  1829. package/_shims/manual-types.js +0 -3
  1830. package/_shims/manual-types.mjs +0 -3
  1831. package/_shims/node-runtime.d.ts +0 -3
  1832. package/_shims/node-runtime.d.ts.map +0 -1
  1833. package/_shims/node-runtime.js +0 -89
  1834. package/_shims/node-runtime.js.map +0 -1
  1835. package/_shims/node-runtime.mjs +0 -56
  1836. package/_shims/node-runtime.mjs.map +0 -1
  1837. package/_shims/node-types.d.ts +0 -42
  1838. package/_shims/node-types.js +0 -3
  1839. package/_shims/node-types.mjs +0 -3
  1840. package/_shims/registry.d.ts +0 -37
  1841. package/_shims/registry.d.ts.map +0 -1
  1842. package/_shims/registry.js +0 -41
  1843. package/_shims/registry.js.map +0 -1
  1844. package/_shims/registry.mjs +0 -37
  1845. package/_shims/registry.mjs.map +0 -1
  1846. package/_shims/web-runtime.d.ts +0 -5
  1847. package/_shims/web-runtime.d.ts.map +0 -1
  1848. package/_shims/web-runtime.js +0 -78
  1849. package/_shims/web-runtime.js.map +0 -1
  1850. package/_shims/web-runtime.mjs +0 -71
  1851. package/_shims/web-runtime.mjs.map +0 -1
  1852. package/_shims/web-types.d.ts +0 -83
  1853. package/_shims/web-types.js +0 -3
  1854. package/_shims/web-types.mjs +0 -3
  1855. package/core.d.ts +0 -239
  1856. package/core.d.ts.map +0 -1
  1857. package/core.js +0 -881
  1858. package/core.js.map +0 -1
  1859. package/core.mjs +0 -850
  1860. package/core.mjs.map +0 -1
  1861. package/error.d.ts +0 -53
  1862. package/error.d.ts.map +0 -1
  1863. package/error.js +0 -143
  1864. package/error.js.map +0 -1
  1865. package/error.mjs +0 -127
  1866. package/error.mjs.map +0 -1
  1867. package/index.d.mts +0 -296
  1868. package/index.d.ts.map +0 -1
  1869. package/index.js.map +0 -1
  1870. package/index.mjs +0 -142
  1871. package/index.mjs.map +0 -1
  1872. package/pagination.d.ts +0 -40
  1873. package/pagination.d.ts.map +0 -1
  1874. package/pagination.js +0 -41
  1875. package/pagination.js.map +0 -1
  1876. package/pagination.mjs +0 -37
  1877. package/pagination.mjs.map +0 -1
  1878. package/resource.d.ts +0 -6
  1879. package/resource.d.ts.map +0 -1
  1880. package/resource.js +0 -11
  1881. package/resource.js.map +0 -1
  1882. package/resource.mjs +0 -7
  1883. package/resource.mjs.map +0 -1
  1884. package/resources/admins/activity-logs.d.ts +0 -144
  1885. package/resources/admins/activity-logs.d.ts.map +0 -1
  1886. package/resources/admins/activity-logs.js +0 -27
  1887. package/resources/admins/activity-logs.js.map +0 -1
  1888. package/resources/admins/activity-logs.mjs +0 -23
  1889. package/resources/admins/activity-logs.mjs.map +0 -1
  1890. package/resources/admins/admins.d.ts +0 -75
  1891. package/resources/admins/admins.d.ts.map +0 -1
  1892. package/resources/admins/admins.js +0 -87
  1893. package/resources/admins/admins.js.map +0 -1
  1894. package/resources/admins/admins.mjs +0 -60
  1895. package/resources/admins/admins.mjs.map +0 -1
  1896. package/resources/admins/index.d.ts +0 -3
  1897. package/resources/admins/index.d.ts.map +0 -1
  1898. package/resources/admins/index.js +0 -9
  1899. package/resources/admins/index.js.map +0 -1
  1900. package/resources/admins/index.mjs +0 -4
  1901. package/resources/admins/index.mjs.map +0 -1
  1902. package/resources/articles.d.ts +0 -496
  1903. package/resources/articles.d.ts.map +0 -1
  1904. package/resources/articles.js +0 -106
  1905. package/resources/articles.js.map +0 -1
  1906. package/resources/articles.mjs +0 -102
  1907. package/resources/articles.mjs.map +0 -1
  1908. package/resources/companies/companies.d.ts +0 -322
  1909. package/resources/companies/companies.d.ts.map +0 -1
  1910. package/resources/companies/companies.js +0 -153
  1911. package/resources/companies/companies.js.map +0 -1
  1912. package/resources/companies/companies.mjs +0 -126
  1913. package/resources/companies/companies.mjs.map +0 -1
  1914. package/resources/companies/contacts.d.ts +0 -47
  1915. package/resources/companies/contacts.d.ts.map +0 -1
  1916. package/resources/companies/contacts.js +0 -27
  1917. package/resources/companies/contacts.js.map +0 -1
  1918. package/resources/companies/contacts.mjs +0 -23
  1919. package/resources/companies/contacts.mjs.map +0 -1
  1920. package/resources/companies/index.d.ts +0 -4
  1921. package/resources/companies/index.d.ts.map +0 -1
  1922. package/resources/companies/index.js +0 -11
  1923. package/resources/companies/index.js.map +0 -1
  1924. package/resources/companies/index.mjs +0 -5
  1925. package/resources/companies/index.mjs.map +0 -1
  1926. package/resources/companies/segments.d.ts +0 -36
  1927. package/resources/companies/segments.d.ts.map +0 -1
  1928. package/resources/companies/segments.js +0 -27
  1929. package/resources/companies/segments.js.map +0 -1
  1930. package/resources/companies/segments.mjs +0 -23
  1931. package/resources/companies/segments.mjs.map +0 -1
  1932. package/resources/contacts/companies.d.ts +0 -99
  1933. package/resources/contacts/companies.d.ts.map +0 -1
  1934. package/resources/contacts/companies.js +0 -58
  1935. package/resources/contacts/companies.js.map +0 -1
  1936. package/resources/contacts/companies.mjs +0 -54
  1937. package/resources/contacts/companies.mjs.map +0 -1
  1938. package/resources/contacts/contacts.d.ts +0 -467
  1939. package/resources/contacts/contacts.d.ts.map +0 -1
  1940. package/resources/contacts/contacts.js +0 -315
  1941. package/resources/contacts/contacts.js.map +0 -1
  1942. package/resources/contacts/contacts.mjs +0 -288
  1943. package/resources/contacts/contacts.mjs.map +0 -1
  1944. package/resources/contacts/index.d.ts +0 -7
  1945. package/resources/contacts/index.d.ts.map +0 -1
  1946. package/resources/contacts/index.js +0 -17
  1947. package/resources/contacts/index.js.map +0 -1
  1948. package/resources/contacts/index.mjs +0 -8
  1949. package/resources/contacts/index.mjs.map +0 -1
  1950. package/resources/contacts/notes.d.ts +0 -71
  1951. package/resources/contacts/notes.d.ts.map +0 -1
  1952. package/resources/contacts/notes.js +0 -43
  1953. package/resources/contacts/notes.js.map +0 -1
  1954. package/resources/contacts/notes.mjs +0 -39
  1955. package/resources/contacts/notes.mjs.map +0 -1
  1956. package/resources/contacts/segments.d.ts +0 -36
  1957. package/resources/contacts/segments.d.ts.map +0 -1
  1958. package/resources/contacts/segments.js +0 -27
  1959. package/resources/contacts/segments.js.map +0 -1
  1960. package/resources/contacts/segments.mjs +0 -23
  1961. package/resources/contacts/segments.mjs.map +0 -1
  1962. package/resources/contacts/subscriptions.d.ts +0 -149
  1963. package/resources/contacts/subscriptions.d.ts.map +0 -1
  1964. package/resources/contacts/subscriptions.js +0 -68
  1965. package/resources/contacts/subscriptions.js.map +0 -1
  1966. package/resources/contacts/subscriptions.mjs +0 -64
  1967. package/resources/contacts/subscriptions.mjs.map +0 -1
  1968. package/resources/contacts/tags.d.ts +0 -53
  1969. package/resources/contacts/tags.d.ts.map +0 -1
  1970. package/resources/contacts/tags.js +0 -59
  1971. package/resources/contacts/tags.js.map +0 -1
  1972. package/resources/contacts/tags.mjs +0 -55
  1973. package/resources/contacts/tags.mjs.map +0 -1
  1974. package/resources/conversations/conversations.d.ts +0 -428
  1975. package/resources/conversations/conversations.d.ts.map +0 -1
  1976. package/resources/conversations/conversations.js +0 -298
  1977. package/resources/conversations/conversations.js.map +0 -1
  1978. package/resources/conversations/conversations.mjs +0 -270
  1979. package/resources/conversations/conversations.mjs.map +0 -1
  1980. package/resources/conversations/customers.d.ts +0 -145
  1981. package/resources/conversations/customers.d.ts.map +0 -1
  1982. package/resources/conversations/customers.js +0 -50
  1983. package/resources/conversations/customers.js.map +0 -1
  1984. package/resources/conversations/customers.mjs +0 -46
  1985. package/resources/conversations/customers.mjs.map +0 -1
  1986. package/resources/conversations/index.d.ts +0 -7
  1987. package/resources/conversations/index.d.ts.map +0 -1
  1988. package/resources/conversations/index.js +0 -18
  1989. package/resources/conversations/index.js.map +0 -1
  1990. package/resources/conversations/index.mjs +0 -8
  1991. package/resources/conversations/index.mjs.map +0 -1
  1992. package/resources/conversations/parts.d.ts +0 -110
  1993. package/resources/conversations/parts.d.ts.map +0 -1
  1994. package/resources/conversations/parts.js +0 -32
  1995. package/resources/conversations/parts.js.map +0 -1
  1996. package/resources/conversations/parts.mjs +0 -28
  1997. package/resources/conversations/parts.mjs.map +0 -1
  1998. package/resources/conversations/reply.d.ts +0 -163
  1999. package/resources/conversations/reply.d.ts.map +0 -1
  2000. package/resources/conversations/reply.js +0 -28
  2001. package/resources/conversations/reply.js.map +0 -1
  2002. package/resources/conversations/reply.mjs +0 -24
  2003. package/resources/conversations/reply.mjs.map +0 -1
  2004. package/resources/conversations/run-assignment-rules.d.ts +0 -24
  2005. package/resources/conversations/run-assignment-rules.d.ts.map +0 -1
  2006. package/resources/conversations/run-assignment-rules.js +0 -27
  2007. package/resources/conversations/run-assignment-rules.js.map +0 -1
  2008. package/resources/conversations/run-assignment-rules.mjs +0 -23
  2009. package/resources/conversations/run-assignment-rules.mjs.map +0 -1
  2010. package/resources/conversations/tags.d.ts +0 -47
  2011. package/resources/conversations/tags.d.ts.map +0 -1
  2012. package/resources/conversations/tags.js +0 -45
  2013. package/resources/conversations/tags.js.map +0 -1
  2014. package/resources/conversations/tags.mjs +0 -41
  2015. package/resources/conversations/tags.mjs.map +0 -1
  2016. package/resources/data-attributes.d.ts +0 -198
  2017. package/resources/data-attributes.d.ts.map +0 -1
  2018. package/resources/data-attributes.js +0 -60
  2019. package/resources/data-attributes.js.map +0 -1
  2020. package/resources/data-attributes.mjs +0 -56
  2021. package/resources/data-attributes.mjs.map +0 -1
  2022. package/resources/data-events.d.ts +0 -276
  2023. package/resources/data-events.d.ts.map +0 -1
  2024. package/resources/data-events.js +0 -148
  2025. package/resources/data-events.js.map +0 -1
  2026. package/resources/data-events.mjs +0 -144
  2027. package/resources/data-events.mjs.map +0 -1
  2028. package/resources/data-exports.d.ts +0 -77
  2029. package/resources/data-exports.d.ts.map +0 -1
  2030. package/resources/data-exports.js +0 -51
  2031. package/resources/data-exports.js.map +0 -1
  2032. package/resources/data-exports.mjs +0 -47
  2033. package/resources/data-exports.mjs.map +0 -1
  2034. package/resources/download/content/content.d.ts +0 -10
  2035. package/resources/download/content/content.d.ts.map +0 -1
  2036. package/resources/download/content/content.js +0 -40
  2037. package/resources/download/content/content.js.map +0 -1
  2038. package/resources/download/content/content.mjs +0 -13
  2039. package/resources/download/content/content.mjs.map +0 -1
  2040. package/resources/download/content/data.d.ts +0 -31
  2041. package/resources/download/content/data.d.ts.map +0 -1
  2042. package/resources/download/content/data.js +0 -28
  2043. package/resources/download/content/data.js.map +0 -1
  2044. package/resources/download/content/data.mjs +0 -24
  2045. package/resources/download/content/data.mjs.map +0 -1
  2046. package/resources/download/content/index.d.ts +0 -3
  2047. package/resources/download/content/index.d.ts.map +0 -1
  2048. package/resources/download/content/index.js +0 -9
  2049. package/resources/download/content/index.js.map +0 -1
  2050. package/resources/download/content/index.mjs +0 -4
  2051. package/resources/download/content/index.mjs.map +0 -1
  2052. package/resources/download/download.d.ts +0 -9
  2053. package/resources/download/download.d.ts.map +0 -1
  2054. package/resources/download/download.js +0 -40
  2055. package/resources/download/download.js.map +0 -1
  2056. package/resources/download/download.mjs +0 -13
  2057. package/resources/download/download.mjs.map +0 -1
  2058. package/resources/download/index.d.ts +0 -3
  2059. package/resources/download/index.d.ts.map +0 -1
  2060. package/resources/download/index.js +0 -9
  2061. package/resources/download/index.js.map +0 -1
  2062. package/resources/download/index.mjs +0 -4
  2063. package/resources/download/index.mjs.map +0 -1
  2064. package/resources/export/content/content.d.ts +0 -10
  2065. package/resources/export/content/content.d.ts.map +0 -1
  2066. package/resources/export/content/content.js +0 -40
  2067. package/resources/export/content/content.js.map +0 -1
  2068. package/resources/export/content/content.mjs +0 -13
  2069. package/resources/export/content/content.mjs.map +0 -1
  2070. package/resources/export/content/data.d.ts +0 -30
  2071. package/resources/export/content/data.d.ts.map +0 -1
  2072. package/resources/export/content/data.js +0 -27
  2073. package/resources/export/content/data.js.map +0 -1
  2074. package/resources/export/content/data.mjs +0 -23
  2075. package/resources/export/content/data.mjs.map +0 -1
  2076. package/resources/export/content/index.d.ts +0 -3
  2077. package/resources/export/content/index.d.ts.map +0 -1
  2078. package/resources/export/content/index.js +0 -9
  2079. package/resources/export/content/index.js.map +0 -1
  2080. package/resources/export/content/index.mjs +0 -4
  2081. package/resources/export/content/index.mjs.map +0 -1
  2082. package/resources/export/export.d.ts +0 -25
  2083. package/resources/export/export.d.ts.map +0 -1
  2084. package/resources/export/export.js +0 -56
  2085. package/resources/export/export.js.map +0 -1
  2086. package/resources/export/export.mjs +0 -29
  2087. package/resources/export/export.mjs.map +0 -1
  2088. package/resources/export/index.d.ts +0 -3
  2089. package/resources/export/index.d.ts.map +0 -1
  2090. package/resources/export/index.js +0 -9
  2091. package/resources/export/index.js.map +0 -1
  2092. package/resources/export/index.mjs +0 -4
  2093. package/resources/export/index.mjs.map +0 -1
  2094. package/resources/help-center/collections.d.ts +0 -237
  2095. package/resources/help-center/collections.d.ts.map +0 -1
  2096. package/resources/help-center/collections.js +0 -90
  2097. package/resources/help-center/collections.js.map +0 -1
  2098. package/resources/help-center/collections.mjs +0 -86
  2099. package/resources/help-center/collections.mjs.map +0 -1
  2100. package/resources/help-center/help-center.d.ts +0 -72
  2101. package/resources/help-center/help-center.d.ts.map +0 -1
  2102. package/resources/help-center/help-center.js +0 -43
  2103. package/resources/help-center/help-center.js.map +0 -1
  2104. package/resources/help-center/help-center.mjs +0 -16
  2105. package/resources/help-center/help-center.mjs.map +0 -1
  2106. package/resources/help-center/help-centers.d.ts +0 -37
  2107. package/resources/help-center/help-centers.d.ts.map +0 -1
  2108. package/resources/help-center/help-centers.js +0 -42
  2109. package/resources/help-center/help-centers.js.map +0 -1
  2110. package/resources/help-center/help-centers.mjs +0 -38
  2111. package/resources/help-center/help-centers.mjs.map +0 -1
  2112. package/resources/help-center/index.d.ts +0 -4
  2113. package/resources/help-center/index.d.ts.map +0 -1
  2114. package/resources/help-center/index.js +0 -11
  2115. package/resources/help-center/index.js.map +0 -1
  2116. package/resources/help-center/index.mjs +0 -5
  2117. package/resources/help-center/index.mjs.map +0 -1
  2118. package/resources/index.d.ts +0 -25
  2119. package/resources/index.d.ts.map +0 -1
  2120. package/resources/index.js +0 -67
  2121. package/resources/index.js.map +0 -1
  2122. package/resources/index.mjs +0 -26
  2123. package/resources/index.mjs.map +0 -1
  2124. package/resources/me.d.ts +0 -131
  2125. package/resources/me.d.ts.map +0 -1
  2126. package/resources/me.js +0 -27
  2127. package/resources/me.js.map +0 -1
  2128. package/resources/me.mjs +0 -23
  2129. package/resources/me.mjs.map +0 -1
  2130. package/resources/messages.d.ts +0 -54
  2131. package/resources/messages.d.ts.map +0 -1
  2132. package/resources/messages.js +0 -42
  2133. package/resources/messages.js.map +0 -1
  2134. package/resources/messages.mjs +0 -38
  2135. package/resources/messages.mjs.map +0 -1
  2136. package/resources/news/index.d.ts +0 -4
  2137. package/resources/news/index.d.ts.map +0 -1
  2138. package/resources/news/index.js +0 -11
  2139. package/resources/news/index.js.map +0 -1
  2140. package/resources/news/index.mjs +0 -5
  2141. package/resources/news/index.mjs.map +0 -1
  2142. package/resources/news/news-items.d.ts +0 -311
  2143. package/resources/news/news-items.d.ts.map +0 -1
  2144. package/resources/news/news-items.js +0 -89
  2145. package/resources/news/news-items.js.map +0 -1
  2146. package/resources/news/news-items.mjs +0 -85
  2147. package/resources/news/news-items.mjs.map +0 -1
  2148. package/resources/news/news.d.ts +0 -24
  2149. package/resources/news/news.d.ts.map +0 -1
  2150. package/resources/news/news.js +0 -43
  2151. package/resources/news/news.js.map +0 -1
  2152. package/resources/news/news.mjs +0 -16
  2153. package/resources/news/news.mjs.map +0 -1
  2154. package/resources/news/newsfeeds/index.d.ts +0 -3
  2155. package/resources/news/newsfeeds/index.d.ts.map +0 -1
  2156. package/resources/news/newsfeeds/index.js +0 -9
  2157. package/resources/news/newsfeeds/index.js.map +0 -1
  2158. package/resources/news/newsfeeds/index.mjs +0 -4
  2159. package/resources/news/newsfeeds/index.mjs.map +0 -1
  2160. package/resources/news/newsfeeds/items.d.ts +0 -49
  2161. package/resources/news/newsfeeds/items.d.ts.map +0 -1
  2162. package/resources/news/newsfeeds/items.js +0 -27
  2163. package/resources/news/newsfeeds/items.js.map +0 -1
  2164. package/resources/news/newsfeeds/items.mjs +0 -23
  2165. package/resources/news/newsfeeds/items.mjs.map +0 -1
  2166. package/resources/news/newsfeeds/newsfeeds.d.ts +0 -96
  2167. package/resources/news/newsfeeds/newsfeeds.d.ts.map +0 -1
  2168. package/resources/news/newsfeeds/newsfeeds.js +0 -71
  2169. package/resources/news/newsfeeds/newsfeeds.js.map +0 -1
  2170. package/resources/news/newsfeeds/newsfeeds.mjs +0 -44
  2171. package/resources/news/newsfeeds/newsfeeds.mjs.map +0 -1
  2172. package/resources/notes.d.ts +0 -22
  2173. package/resources/notes.d.ts.map +0 -1
  2174. package/resources/notes.js +0 -27
  2175. package/resources/notes.js.map +0 -1
  2176. package/resources/notes.mjs +0 -23
  2177. package/resources/notes.mjs.map +0 -1
  2178. package/resources/phone-call-redirects.d.ts +0 -75
  2179. package/resources/phone-call-redirects.d.ts.map +0 -1
  2180. package/resources/phone-call-redirects.js +0 -32
  2181. package/resources/phone-call-redirects.js.map +0 -1
  2182. package/resources/phone-call-redirects.mjs +0 -28
  2183. package/resources/phone-call-redirects.mjs.map +0 -1
  2184. package/resources/segments.d.ts +0 -92
  2185. package/resources/segments.d.ts.map +0 -1
  2186. package/resources/segments.js +0 -43
  2187. package/resources/segments.js.map +0 -1
  2188. package/resources/segments.mjs +0 -39
  2189. package/resources/segments.mjs.map +0 -1
  2190. package/resources/shared.d.ts +0 -2159
  2191. package/resources/shared.d.ts.map +0 -1
  2192. package/resources/shared.js +0 -4
  2193. package/resources/shared.js.map +0 -1
  2194. package/resources/shared.mjs +0 -3
  2195. package/resources/shared.mjs.map +0 -1
  2196. package/resources/subscription-types.d.ts +0 -23
  2197. package/resources/subscription-types.d.ts.map +0 -1
  2198. package/resources/subscription-types.js +0 -27
  2199. package/resources/subscription-types.js.map +0 -1
  2200. package/resources/subscription-types.mjs +0 -23
  2201. package/resources/subscription-types.mjs.map +0 -1
  2202. package/resources/tags.d.ts +0 -179
  2203. package/resources/tags.d.ts.map +0 -1
  2204. package/resources/tags.js +0 -96
  2205. package/resources/tags.js.map +0 -1
  2206. package/resources/tags.mjs +0 -92
  2207. package/resources/tags.mjs.map +0 -1
  2208. package/resources/teams.d.ts +0 -90
  2209. package/resources/teams.d.ts.map +0 -1
  2210. package/resources/teams.js +0 -42
  2211. package/resources/teams.js.map +0 -1
  2212. package/resources/teams.mjs +0 -38
  2213. package/resources/teams.mjs.map +0 -1
  2214. package/resources/ticket-types/attributes.d.ts +0 -131
  2215. package/resources/ticket-types/attributes.d.ts.map +0 -1
  2216. package/resources/ticket-types/attributes.js +0 -44
  2217. package/resources/ticket-types/attributes.js.map +0 -1
  2218. package/resources/ticket-types/attributes.mjs +0 -40
  2219. package/resources/ticket-types/attributes.mjs.map +0 -1
  2220. package/resources/ticket-types/index.d.ts +0 -3
  2221. package/resources/ticket-types/index.d.ts.map +0 -1
  2222. package/resources/ticket-types/index.js +0 -9
  2223. package/resources/ticket-types/index.js.map +0 -1
  2224. package/resources/ticket-types/index.mjs +0 -4
  2225. package/resources/ticket-types/index.mjs.map +0 -1
  2226. package/resources/ticket-types/ticket-types.d.ts +0 -204
  2227. package/resources/ticket-types/ticket-types.d.ts.map +0 -1
  2228. package/resources/ticket-types/ticket-types.js +0 -109
  2229. package/resources/ticket-types/ticket-types.js.map +0 -1
  2230. package/resources/ticket-types/ticket-types.mjs +0 -82
  2231. package/resources/ticket-types/ticket-types.mjs.map +0 -1
  2232. package/resources/tickets/index.d.ts +0 -3
  2233. package/resources/tickets/index.d.ts.map +0 -1
  2234. package/resources/tickets/index.js +0 -9
  2235. package/resources/tickets/index.js.map +0 -1
  2236. package/resources/tickets/index.mjs +0 -4
  2237. package/resources/tickets/index.mjs.map +0 -1
  2238. package/resources/tickets/tags.d.ts +0 -47
  2239. package/resources/tickets/tags.d.ts.map +0 -1
  2240. package/resources/tickets/tags.js +0 -45
  2241. package/resources/tickets/tags.js.map +0 -1
  2242. package/resources/tickets/tags.mjs +0 -41
  2243. package/resources/tickets/tags.mjs.map +0 -1
  2244. package/resources/tickets/tickets.d.ts +0 -472
  2245. package/resources/tickets/tickets.d.ts.map +0 -1
  2246. package/resources/tickets/tickets.js +0 -191
  2247. package/resources/tickets/tickets.js.map +0 -1
  2248. package/resources/tickets/tickets.mjs +0 -164
  2249. package/resources/tickets/tickets.mjs.map +0 -1
  2250. package/resources/visitors.d.ts +0 -355
  2251. package/resources/visitors.d.ts.map +0 -1
  2252. package/resources/visitors.js +0 -73
  2253. package/resources/visitors.js.map +0 -1
  2254. package/resources/visitors.mjs +0 -69
  2255. package/resources/visitors.mjs.map +0 -1
  2256. package/shims/node.d.ts +0 -29
  2257. package/shims/node.d.ts.map +0 -1
  2258. package/shims/node.js +0 -31
  2259. package/shims/node.js.map +0 -1
  2260. package/shims/node.mjs +0 -5
  2261. package/shims/node.mjs.map +0 -1
  2262. package/shims/web.d.ts +0 -26
  2263. package/shims/web.d.ts.map +0 -1
  2264. package/shims/web.js +0 -31
  2265. package/shims/web.js.map +0 -1
  2266. package/shims/web.mjs +0 -5
  2267. package/shims/web.mjs.map +0 -1
  2268. package/src/_shims/MultipartBody.ts +0 -9
  2269. package/src/_shims/README.md +0 -46
  2270. package/src/_shims/auto/runtime-bun.ts +0 -4
  2271. package/src/_shims/auto/runtime-node.ts +0 -4
  2272. package/src/_shims/auto/runtime.ts +0 -4
  2273. package/src/_shims/auto/types-node.ts +0 -4
  2274. package/src/_shims/auto/types.d.ts +0 -101
  2275. package/src/_shims/auto/types.js +0 -3
  2276. package/src/_shims/auto/types.mjs +0 -3
  2277. package/src/_shims/bun-runtime.ts +0 -14
  2278. package/src/_shims/index.d.ts +0 -81
  2279. package/src/_shims/index.js +0 -13
  2280. package/src/_shims/index.mjs +0 -7
  2281. package/src/_shims/manual-types.d.ts +0 -12
  2282. package/src/_shims/manual-types.js +0 -3
  2283. package/src/_shims/manual-types.mjs +0 -3
  2284. package/src/_shims/node-runtime.ts +0 -81
  2285. package/src/_shims/node-types.d.ts +0 -42
  2286. package/src/_shims/node-types.js +0 -3
  2287. package/src/_shims/node-types.mjs +0 -3
  2288. package/src/_shims/registry.ts +0 -67
  2289. package/src/_shims/web-runtime.ts +0 -103
  2290. package/src/_shims/web-types.d.ts +0 -83
  2291. package/src/_shims/web-types.js +0 -3
  2292. package/src/_shims/web-types.mjs +0 -3
  2293. package/src/core.ts +0 -1165
  2294. package/src/error.ts +0 -146
  2295. package/src/index.ts +0 -408
  2296. package/src/lib/.keep +0 -4
  2297. package/src/pagination.ts +0 -91
  2298. package/src/resource.ts +0 -11
  2299. package/src/resources/admins/activity-logs.ts +0 -269
  2300. package/src/resources/admins/admins.ts +0 -200
  2301. package/src/resources/admins/index.ts +0 -4
  2302. package/src/resources/articles.ts +0 -806
  2303. package/src/resources/companies/companies.ts +0 -645
  2304. package/src/resources/companies/contacts.ts +0 -97
  2305. package/src/resources/companies/index.ts +0 -17
  2306. package/src/resources/companies/segments.ts +0 -84
  2307. package/src/resources/contacts/companies.ts +0 -236
  2308. package/src/resources/contacts/contacts.ts +0 -904
  2309. package/src/resources/contacts/index.ts +0 -35
  2310. package/src/resources/contacts/notes.ts +0 -152
  2311. package/src/resources/contacts/segments.ts +0 -84
  2312. package/src/resources/contacts/subscriptions.ts +0 -291
  2313. package/src/resources/contacts/tags.ts +0 -181
  2314. package/src/resources/conversations/conversations.ts +0 -754
  2315. package/src/resources/conversations/customers.ts +0 -247
  2316. package/src/resources/conversations/index.ts +0 -20
  2317. package/src/resources/conversations/parts.ts +0 -224
  2318. package/src/resources/conversations/reply.ts +0 -288
  2319. package/src/resources/conversations/run-assignment-rules.ts +0 -70
  2320. package/src/resources/conversations/tags.ts +0 -125
  2321. package/src/resources/data-attributes.ts +0 -347
  2322. package/src/resources/data-events.ts +0 -454
  2323. package/src/resources/data-exports.ts +0 -120
  2324. package/src/resources/download/content/content.ts +0 -13
  2325. package/src/resources/download/content/data.ts +0 -78
  2326. package/src/resources/download/content/index.ts +0 -4
  2327. package/src/resources/download/download.ts +0 -12
  2328. package/src/resources/download/index.ts +0 -4
  2329. package/src/resources/export/content/content.ts +0 -13
  2330. package/src/resources/export/content/data.ts +0 -76
  2331. package/src/resources/export/content/index.ts +0 -4
  2332. package/src/resources/export/export.ts +0 -72
  2333. package/src/resources/export/index.ts +0 -4
  2334. package/src/resources/help-center/collections.ts +0 -469
  2335. package/src/resources/help-center/help-center.ts +0 -84
  2336. package/src/resources/help-center/help-centers.ts +0 -124
  2337. package/src/resources/help-center/index.ts +0 -15
  2338. package/src/resources/index.ts +0 -114
  2339. package/src/resources/me.ts +0 -193
  2340. package/src/resources/messages.ts +0 -110
  2341. package/src/resources/news/index.ts +0 -21
  2342. package/src/resources/news/news-items.ts +0 -545
  2343. package/src/resources/news/news.ts +0 -27
  2344. package/src/resources/news/newsfeeds/index.ts +0 -10
  2345. package/src/resources/news/newsfeeds/items.ts +0 -95
  2346. package/src/resources/news/newsfeeds/newsfeeds.ts +0 -190
  2347. package/src/resources/notes.ts +0 -68
  2348. package/src/resources/phone-call-redirects.ts +0 -120
  2349. package/src/resources/segments.ts +0 -188
  2350. package/src/resources/shared.ts +0 -2609
  2351. package/src/resources/subscription-types.ts +0 -67
  2352. package/src/resources/tags.ts +0 -414
  2353. package/src/resources/teams.ts +0 -179
  2354. package/src/resources/ticket-types/attributes.ts +0 -240
  2355. package/src/resources/ticket-types/index.ts +0 -12
  2356. package/src/resources/ticket-types/ticket-types.ts +0 -391
  2357. package/src/resources/tickets/index.ts +0 -13
  2358. package/src/resources/tickets/tags.ts +0 -125
  2359. package/src/resources/tickets/tickets.ts +0 -780
  2360. package/src/resources/visitors.ts +0 -542
  2361. package/src/shims/node.ts +0 -50
  2362. package/src/shims/web.ts +0 -50
  2363. package/src/tsconfig.json +0 -11
  2364. package/src/uploads.ts +0 -248
  2365. package/src/version.ts +0 -1
  2366. package/uploads.d.ts +0 -75
  2367. package/uploads.d.ts.map +0 -1
  2368. package/uploads.js +0 -165
  2369. package/uploads.js.map +0 -1
  2370. package/uploads.mjs +0 -152
  2371. package/uploads.mjs.map +0 -1
  2372. package/version.d.ts.map +0 -1
  2373. package/version.js.map +0 -1
  2374. package/version.mjs +0 -2
  2375. package/version.mjs.map +0 -1
@@ -1,2609 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import * as Shared from './shared';
4
- import * as SegmentsAPI from './segments';
5
- import * as SubscriptionsAPI from './contacts/subscriptions';
6
- import * as TicketTypesAPI from './ticket-types/ticket-types';
7
-
8
- /**
9
- * Admins are teammate accounts that have access to a workspace.
10
- */
11
- export interface Admin {
12
- /**
13
- * The id representing the admin.
14
- */
15
- id?: string;
16
-
17
- /**
18
- * Image for the associated team or teammate
19
- */
20
- avatar?: string | null;
21
-
22
- /**
23
- * Identifies if this admin is currently set in away mode.
24
- */
25
- away_mode_enabled?: boolean;
26
-
27
- /**
28
- * Identifies if this admin is set to automatically reassign new conversations to
29
- * the apps default inbox.
30
- */
31
- away_mode_reassign?: boolean;
32
-
33
- /**
34
- * The email of the admin.
35
- */
36
- email?: string;
37
-
38
- /**
39
- * Identifies if this admin has a paid inbox seat to restrict/allow features that
40
- * require them.
41
- */
42
- has_inbox_seat?: boolean;
43
-
44
- /**
45
- * The job title of the admin.
46
- */
47
- job_title?: string;
48
-
49
- /**
50
- * The name of the admin.
51
- */
52
- name?: string;
53
-
54
- /**
55
- * This object represents the avatar associated with the admin.
56
- */
57
- team_ids?: Array<number>;
58
-
59
- /**
60
- * Admin priority levels for teams
61
- */
62
- team_priority_level?: Admin.TeamPriorityLevel | null;
63
-
64
- /**
65
- * String representing the object's type. Always has the value `admin`.
66
- */
67
- type?: string;
68
- }
69
-
70
- export namespace Admin {
71
- /**
72
- * Admin priority levels for teams
73
- */
74
- export interface TeamPriorityLevel {
75
- /**
76
- * The primary team ids for the team
77
- */
78
- primary_team_ids?: Array<number> | null;
79
-
80
- /**
81
- * The secondary team ids for the team
82
- */
83
- secondary_team_ids?: Array<number> | null;
84
- }
85
- }
86
-
87
- /**
88
- * The Content of an Article.
89
- */
90
- export interface ArticleContent {
91
- /**
92
- * The ID of the author of the article.
93
- */
94
- author_id?: number;
95
-
96
- /**
97
- * The body of the article.
98
- */
99
- body?: string;
100
-
101
- /**
102
- * The time when the article was created (seconds).
103
- */
104
- created_at?: number;
105
-
106
- /**
107
- * The description of the article.
108
- */
109
- description?: string;
110
-
111
- /**
112
- * Whether the article is `published` or is a `draft` .
113
- */
114
- state?: 'published' | 'draft';
115
-
116
- /**
117
- * The title of the article.
118
- */
119
- title?: string;
120
-
121
- /**
122
- * The type of object - `article_content` .
123
- */
124
- type?: 'article_content' | null;
125
-
126
- /**
127
- * The time when the article was last updated (seconds).
128
- */
129
- updated_at?: number;
130
-
131
- /**
132
- * The URL of the article.
133
- */
134
- url?: string;
135
- }
136
-
137
- /**
138
- * The Translated Content of an Article. The keys are the locale codes and the
139
- * values are the translated content of the article.
140
- */
141
- export interface ArticleTranslatedContent {
142
- /**
143
- * The content of the article in Indonesian
144
- */
145
- id?: ArticleContent | null;
146
-
147
- /**
148
- * The content of the article in Arabic
149
- */
150
- ar?: ArticleContent | null;
151
-
152
- /**
153
- * The content of the article in Bulgarian
154
- */
155
- bg?: ArticleContent | null;
156
-
157
- /**
158
- * The content of the article in Bosnian
159
- */
160
- bs?: ArticleContent | null;
161
-
162
- /**
163
- * The content of the article in Catalan
164
- */
165
- ca?: ArticleContent | null;
166
-
167
- /**
168
- * The content of the article in Czech
169
- */
170
- cs?: ArticleContent | null;
171
-
172
- /**
173
- * The content of the article in Danish
174
- */
175
- da?: ArticleContent | null;
176
-
177
- /**
178
- * The content of the article in German
179
- */
180
- de?: ArticleContent | null;
181
-
182
- /**
183
- * The content of the article in Greek
184
- */
185
- el?: ArticleContent | null;
186
-
187
- /**
188
- * The content of the article in English
189
- */
190
- en?: ArticleContent | null;
191
-
192
- /**
193
- * The content of the article in Spanish
194
- */
195
- es?: ArticleContent | null;
196
-
197
- /**
198
- * The content of the article in Estonian
199
- */
200
- et?: ArticleContent | null;
201
-
202
- /**
203
- * The content of the article in Finnish
204
- */
205
- fi?: ArticleContent | null;
206
-
207
- /**
208
- * The content of the article in French
209
- */
210
- fr?: ArticleContent | null;
211
-
212
- /**
213
- * The content of the article in Hebrew
214
- */
215
- he?: ArticleContent | null;
216
-
217
- /**
218
- * The content of the article in Croatian
219
- */
220
- hr?: ArticleContent | null;
221
-
222
- /**
223
- * The content of the article in Hungarian
224
- */
225
- hu?: ArticleContent | null;
226
-
227
- /**
228
- * The content of the article in Italian
229
- */
230
- it?: ArticleContent | null;
231
-
232
- /**
233
- * The content of the article in Japanese
234
- */
235
- ja?: ArticleContent | null;
236
-
237
- /**
238
- * The content of the article in Korean
239
- */
240
- ko?: ArticleContent | null;
241
-
242
- /**
243
- * The content of the article in Lithuanian
244
- */
245
- lt?: ArticleContent | null;
246
-
247
- /**
248
- * The content of the article in Latvian
249
- */
250
- lv?: ArticleContent | null;
251
-
252
- /**
253
- * The content of the article in Mongolian
254
- */
255
- mn?: ArticleContent | null;
256
-
257
- /**
258
- * The content of the article in Norwegian
259
- */
260
- nb?: ArticleContent | null;
261
-
262
- /**
263
- * The content of the article in Dutch
264
- */
265
- nl?: ArticleContent | null;
266
-
267
- /**
268
- * The content of the article in Polish
269
- */
270
- pl?: ArticleContent | null;
271
-
272
- /**
273
- * The content of the article in Portuguese (Portugal)
274
- */
275
- pt?: ArticleContent | null;
276
-
277
- /**
278
- * The content of the article in Portuguese (Brazil)
279
- */
280
- 'pt-BR'?: ArticleContent | null;
281
-
282
- /**
283
- * The content of the article in Romanian
284
- */
285
- ro?: ArticleContent | null;
286
-
287
- /**
288
- * The content of the article in Russian
289
- */
290
- ru?: ArticleContent | null;
291
-
292
- /**
293
- * The content of the article in Slovenian
294
- */
295
- sl?: ArticleContent | null;
296
-
297
- /**
298
- * The content of the article in Serbian
299
- */
300
- sr?: ArticleContent | null;
301
-
302
- /**
303
- * The content of the article in Swedish
304
- */
305
- sv?: ArticleContent | null;
306
-
307
- /**
308
- * The content of the article in Turkish
309
- */
310
- tr?: ArticleContent | null;
311
-
312
- /**
313
- * The type of object - article_translated_content.
314
- */
315
- type?: 'article_translated_content' | null;
316
-
317
- /**
318
- * The content of the article in Vietnamese
319
- */
320
- vi?: ArticleContent | null;
321
-
322
- /**
323
- * The content of the article in Chinese (China)
324
- */
325
- 'zh-CN'?: ArticleContent | null;
326
-
327
- /**
328
- * The content of the article in Chinese (Taiwan)
329
- */
330
- 'zh-TW'?: ArticleContent | null;
331
- }
332
-
333
- /**
334
- * Companies allow you to represent organizations using your product. Each company
335
- * will have its own description and be associated with contacts. You can fetch,
336
- * create, update and list companies.
337
- */
338
- export interface Company {
339
- /**
340
- * The Intercom defined id representing the company.
341
- */
342
- id?: string;
343
-
344
- /**
345
- * The Intercom defined code of the workspace the company is associated to.
346
- */
347
- app_id?: string;
348
-
349
- /**
350
- * The company id you have defined for the company.
351
- */
352
- company_id?: string;
353
-
354
- /**
355
- * The time the company was added in Intercom.
356
- */
357
- created_at?: number;
358
-
359
- /**
360
- * The custom attributes you have set on the company.
361
- */
362
- custom_attributes?: Record<string, string>;
363
-
364
- /**
365
- * The industry that the company operates in.
366
- */
367
- industry?: string;
368
-
369
- /**
370
- * The time the company last recorded making a request.
371
- */
372
- last_request_at?: number;
373
-
374
- /**
375
- * How much revenue the company generates for your business.
376
- */
377
- monthly_spend?: number;
378
-
379
- /**
380
- * The name of the company.
381
- */
382
- name?: string;
383
-
384
- plan?: Company.Plan;
385
-
386
- /**
387
- * The time the company was created by you.
388
- */
389
- remote_created_at?: number;
390
-
391
- /**
392
- * The list of segments associated with the company
393
- */
394
- segments?: Company.Segments;
395
-
396
- /**
397
- * How many sessions the company has recorded.
398
- */
399
- session_count?: number;
400
-
401
- /**
402
- * The number of employees in the company.
403
- */
404
- size?: number;
405
-
406
- /**
407
- * The list of tags associated with the company
408
- */
409
- tags?: Company.Tags;
410
-
411
- /**
412
- * Value is `company`
413
- */
414
- type?: 'company';
415
-
416
- /**
417
- * The last time the company was updated.
418
- */
419
- updated_at?: number;
420
-
421
- /**
422
- * The number of users in the company.
423
- */
424
- user_count?: number;
425
-
426
- /**
427
- * The URL for the company website.
428
- */
429
- website?: string;
430
- }
431
-
432
- export namespace Company {
433
- export interface Plan {
434
- /**
435
- * The id of the plan
436
- */
437
- id?: string;
438
-
439
- /**
440
- * The name of the plan
441
- */
442
- name?: string;
443
-
444
- /**
445
- * Value is always "plan"
446
- */
447
- type?: string;
448
- }
449
-
450
- /**
451
- * The list of segments associated with the company
452
- */
453
- export interface Segments {
454
- segments?: Array<SegmentsAPI.Segment>;
455
-
456
- /**
457
- * The type of the object
458
- */
459
- type?: 'segment.list';
460
- }
461
-
462
- /**
463
- * The list of tags associated with the company
464
- */
465
- export interface Tags {
466
- tags?: Array<Shared.Tag>;
467
-
468
- /**
469
- * The type of the object
470
- */
471
- type?: 'tag.list';
472
- }
473
- }
474
-
475
- /**
476
- * Contact are the objects that represent your leads and users in Intercom.
477
- */
478
- export interface Contact {
479
- /**
480
- * The unique identifier for the contact which is given by Intercom.
481
- */
482
- id?: string;
483
-
484
- /**
485
- * The name of the Android app which the contact is using.
486
- */
487
- android_app_name?: string | null;
488
-
489
- /**
490
- * The version of the Android app which the contact is using.
491
- */
492
- android_app_version?: string | null;
493
-
494
- /**
495
- * The Android device which the contact is using.
496
- */
497
- android_device?: string | null;
498
-
499
- /**
500
- * (UNIX timestamp) The time when the contact was last seen on an Android device.
501
- */
502
- android_last_seen_at?: number | null;
503
-
504
- /**
505
- * The version of the Android OS which the contact is using.
506
- */
507
- android_os_version?: string | null;
508
-
509
- /**
510
- * The version of the Android SDK which the contact is using.
511
- */
512
- android_sdk_version?: string | null;
513
-
514
- avatar?: Contact.Avatar | null;
515
-
516
- /**
517
- * The name of the browser which the contact is using.
518
- */
519
- browser?: string | null;
520
-
521
- /**
522
- * The language set by the browser which the contact is using.
523
- */
524
- browser_language?: string | null;
525
-
526
- /**
527
- * The version of the browser which the contact is using.
528
- */
529
- browser_version?: string | null;
530
-
531
- /**
532
- * An object containing companies meta data about the companies that a contact has.
533
- * Up to 10 will be displayed here. Use the url to get more.
534
- */
535
- companies?: Contact.Companies;
536
-
537
- /**
538
- * (UNIX timestamp) The time when the contact was created.
539
- */
540
- created_at?: number;
541
-
542
- /**
543
- * The custom attributes which are set for the contact.
544
- */
545
- custom_attributes?: unknown;
546
-
547
- /**
548
- * The contact's email.
549
- */
550
- email?: string;
551
-
552
- /**
553
- * The contact's email domain.
554
- */
555
- email_domain?: string;
556
-
557
- /**
558
- * The unique identifier for the contact which is provided by the Client.
559
- */
560
- external_id?: string | null;
561
-
562
- /**
563
- * The contacts phone number normalized to the E164 format
564
- */
565
- formatted_phone?: string | null;
566
-
567
- /**
568
- * Whether the contact has had an email sent to them hard bounce.
569
- */
570
- has_hard_bounced?: boolean;
571
-
572
- /**
573
- * The name of the iOS app which the contact is using.
574
- */
575
- ios_app_name?: string | null;
576
-
577
- /**
578
- * The version of the iOS app which the contact is using.
579
- */
580
- ios_app_version?: string | null;
581
-
582
- /**
583
- * The iOS device which the contact is using.
584
- */
585
- ios_device?: string | null;
586
-
587
- /**
588
- * (UNIX timestamp) The last time the contact used the iOS app.
589
- */
590
- ios_last_seen_at?: number | null;
591
-
592
- /**
593
- * The version of iOS which the contact is using.
594
- */
595
- ios_os_version?: string | null;
596
-
597
- /**
598
- * The version of the iOS SDK which the contact is using.
599
- */
600
- ios_sdk_version?: string | null;
601
-
602
- /**
603
- * A preferred language setting for the contact, used by the Intercom Messenger
604
- * even if their browser settings change.
605
- */
606
- language_override?: string | null;
607
-
608
- /**
609
- * (UNIX timestamp) The time when the contact was last messaged.
610
- */
611
- last_contacted_at?: number | null;
612
-
613
- /**
614
- * (UNIX timestamp) The time when the contact last clicked a link in an email.
615
- */
616
- last_email_clicked_at?: number | null;
617
-
618
- /**
619
- * (UNIX timestamp) The time when the contact last opened an email.
620
- */
621
- last_email_opened_at?: number | null;
622
-
623
- /**
624
- * (UNIX timestamp) The time when the contact last messaged in.
625
- */
626
- last_replied_at?: number | null;
627
-
628
- /**
629
- * (UNIX timestamp) The time when the contact was last seen (either where the
630
- * Intercom Messenger was installed or when specified manually).
631
- */
632
- last_seen_at?: number | null;
633
-
634
- /**
635
- * An object containing location meta data about a Intercom contact.
636
- */
637
- location?: Contact.Location;
638
-
639
- /**
640
- * Whether the contact has marked an email sent to them as spam.
641
- */
642
- marked_email_as_spam?: boolean;
643
-
644
- /**
645
- * The contacts name.
646
- */
647
- name?: string | null;
648
-
649
- /**
650
- * An object containing notes meta data about the notes that a contact has. Up to
651
- * 10 will be displayed here. Use the url to get more.
652
- */
653
- notes?: Contact.Notes;
654
-
655
- /**
656
- * The operating system which the contact is using.
657
- */
658
- os?: string | null;
659
-
660
- /**
661
- * The id of an admin that has been assigned account ownership of the contact.
662
- */
663
- owner_id?: number | null;
664
-
665
- /**
666
- * The contacts phone.
667
- */
668
- phone?: string | null;
669
-
670
- /**
671
- * The role of the contact.
672
- */
673
- role?: string;
674
-
675
- /**
676
- * (UNIX timestamp) The time specified for when a contact signed up.
677
- */
678
- signed_up_at?: number | null;
679
-
680
- /**
681
- * An object containing social profiles that a contact has.
682
- */
683
- social_profiles?: Contact.SocialProfiles;
684
-
685
- /**
686
- * An object containing tags meta data about the tags that a contact has. Up to 10
687
- * will be displayed here. Use the url to get more.
688
- */
689
- tags?: Contact.Tags | null;
690
-
691
- /**
692
- * The type of object.
693
- */
694
- type?: string;
695
-
696
- /**
697
- * Whether the contact is unsubscribed from emails.
698
- */
699
- unsubscribed_from_emails?: boolean;
700
-
701
- /**
702
- * (UNIX timestamp) The time when the contact was last updated.
703
- */
704
- updated_at?: number;
705
-
706
- /**
707
- * The id of the workspace which the contact belongs to.
708
- */
709
- workspace_id?: string;
710
- }
711
-
712
- export namespace Contact {
713
- export interface Avatar {
714
- /**
715
- * An image URL containing the avatar of a contact.
716
- */
717
- image_url?: string | null;
718
-
719
- /**
720
- * The type of object
721
- */
722
- type?: string;
723
- }
724
-
725
- /**
726
- * An object containing companies meta data about the companies that a contact has.
727
- * Up to 10 will be displayed here. Use the url to get more.
728
- */
729
- export interface Companies {
730
- /**
731
- * Whether there's more Addressable Objects to be viewed. If true, use the url to
732
- * view all
733
- */
734
- has_more?: boolean;
735
-
736
- /**
737
- * Int representing the total number of companyies attached to this contact
738
- */
739
- total_count?: number;
740
-
741
- /**
742
- * Url to get more company resources for this contact
743
- */
744
- url?: string;
745
- }
746
-
747
- /**
748
- * An object containing location meta data about a Intercom contact.
749
- */
750
- export interface Location {
751
- /**
752
- * The city that the contact is located in
753
- */
754
- city?: string | null;
755
-
756
- /**
757
- * The country that the contact is located in
758
- */
759
- country?: string | null;
760
-
761
- /**
762
- * The overal region that the contact is located in
763
- */
764
- region?: string | null;
765
-
766
- /**
767
- * Always location
768
- */
769
- type?: string | null;
770
- }
771
-
772
- /**
773
- * An object containing notes meta data about the notes that a contact has. Up to
774
- * 10 will be displayed here. Use the url to get more.
775
- */
776
- export interface Notes {
777
- /**
778
- * This object represents the notes attached to a contact.
779
- */
780
- data?: Array<Notes.Data>;
781
-
782
- /**
783
- * Whether there's more Addressable Objects to be viewed. If true, use the url to
784
- * view all
785
- */
786
- has_more?: boolean;
787
-
788
- /**
789
- * Int representing the total number of companyies attached to this contact
790
- */
791
- total_count?: number;
792
-
793
- /**
794
- * Url to get more company resources for this contact
795
- */
796
- url?: string;
797
- }
798
-
799
- export namespace Notes {
800
- /**
801
- * A list used to access other resources from a parent model.
802
- */
803
- export interface Data {
804
- /**
805
- * The id of the addressable object
806
- */
807
- id?: string;
808
-
809
- /**
810
- * The addressable object type
811
- */
812
- type?: string;
813
-
814
- /**
815
- * Url to get more company resources for this contact
816
- */
817
- url?: string;
818
- }
819
- }
820
-
821
- /**
822
- * An object containing social profiles that a contact has.
823
- */
824
- export interface SocialProfiles {
825
- /**
826
- * A list of social profiles objects associated with the contact.
827
- */
828
- data?: Array<SocialProfiles.Data>;
829
- }
830
-
831
- export namespace SocialProfiles {
832
- /**
833
- * A Social Profile allows you to label your contacts, companies, and conversations
834
- * and list them using that Social Profile.
835
- */
836
- export interface Data {
837
- /**
838
- * The name of the Social media profile
839
- */
840
- name?: string;
841
-
842
- /**
843
- * value is "social_profile"
844
- */
845
- type?: string;
846
-
847
- /**
848
- * The name of the Social media profile
849
- */
850
- url?: string;
851
- }
852
- }
853
-
854
- /**
855
- * An object containing tags meta data about the tags that a contact has. Up to 10
856
- * will be displayed here. Use the url to get more.
857
- */
858
- export interface Tags {
859
- /**
860
- * This object represents the tags attached to a contact.
861
- */
862
- data?: Array<Tags.Data>;
863
-
864
- /**
865
- * Whether there's more Addressable Objects to be viewed. If true, use the url to
866
- * view all
867
- */
868
- has_more?: boolean;
869
-
870
- /**
871
- * Int representing the total number of tags attached to this contact
872
- */
873
- total_count?: number;
874
-
875
- /**
876
- * url to get more tag resources for this contact
877
- */
878
- url?: string;
879
- }
880
-
881
- export namespace Tags {
882
- /**
883
- * A list used to access other resources from a parent model.
884
- */
885
- export interface Data {
886
- /**
887
- * The id of the addressable object
888
- */
889
- id?: string;
890
-
891
- /**
892
- * The addressable object type
893
- */
894
- type?: string;
895
-
896
- /**
897
- * Url to get more company resources for this contact
898
- */
899
- url?: string;
900
- }
901
- }
902
- }
903
-
904
- /**
905
- * reference to contact object
906
- */
907
- export interface ContactReference {
908
- /**
909
- * The unique identifier for the contact which is given by Intercom.
910
- */
911
- id?: string;
912
-
913
- /**
914
- * The unique identifier for the contact which is provided by the Client.
915
- */
916
- external_id?: string | null;
917
-
918
- /**
919
- * always contact
920
- */
921
- type?: 'contact';
922
- }
923
-
924
- /**
925
- * Conversations are how you can communicate with users in Intercom. They are
926
- * created when a contact replies to an outbound message, or when one admin
927
- * directly sends a message to a single contact.
928
- */
929
- export interface Conversation {
930
- /**
931
- * The id representing the conversation.
932
- */
933
- id?: string;
934
-
935
- /**
936
- * The id of the admin assigned to the conversation. If it's not assigned to an
937
- * admin it will return null.
938
- */
939
- admin_assignee_id?: number | null;
940
-
941
- /**
942
- * Data related to AI Agent involvement in the conversation.
943
- */
944
- ai_agent?: Conversation.AIAgent | null;
945
-
946
- /**
947
- * Indicates whether the AI Agent participated in the conversation.
948
- */
949
- ai_agent_participated?: boolean;
950
-
951
- /**
952
- * The list of contacts (users or leads) involved in this conversation. This will
953
- * only contain one customer unless more were added via the group conversation
954
- * feature.
955
- */
956
- contacts?: Conversation.Contacts;
957
-
958
- /**
959
- * A list of Conversation Part objects for each part message in the conversation.
960
- * This is only returned when Retrieving a Conversation, and ignored when Listing
961
- * all Conversations. There is a limit of 500 parts.
962
- */
963
- conversation_parts?: Conversation.ConversationParts;
964
-
965
- /**
966
- * The Conversation Rating object which contains information on the rating and/or
967
- * remark added by a Contact and the Admin assigned to the conversation.
968
- */
969
- conversation_rating?: Conversation.ConversationRating | null;
970
-
971
- /**
972
- * The time the conversation was created.
973
- */
974
- created_at?: number;
975
-
976
- /**
977
- * An object containing the different custom attributes associated to the
978
- * conversation as key-value pairs. For relationship attributes the value will be a
979
- * list of custom object instance models.
980
- */
981
- custom_attributes?: Record<string, string | Conversation.CustomObjectInstance | null>;
982
-
983
- /**
984
- * An object containing information on the first users message. For a contact
985
- * initiated message this will represent the users original message.
986
- */
987
- first_contact_reply?: Conversation.FirstContactReply | null;
988
-
989
- /**
990
- * An object containing metadata about linked conversations and linked tickets. Up
991
- * to 1000 can be returned.
992
- */
993
- linked_objects?: Conversation.LinkedObjects;
994
-
995
- /**
996
- * Indicates whether a conversation is open (true) or closed (false).
997
- */
998
- open?: boolean;
999
-
1000
- /**
1001
- * If marked as priority, it will return priority or else not_priority.
1002
- */
1003
- priority?: 'priority' | 'not_priority';
1004
-
1005
- /**
1006
- * Indicates whether a conversation has been read.
1007
- */
1008
- read?: boolean;
1009
-
1010
- /**
1011
- * The SLA Applied object contains the details for which SLA has been applied to
1012
- * this conversation. Important: if there are any canceled sla_events for the
1013
- * conversation - meaning an SLA has been manually removed from a conversation, the
1014
- * sla_status will always be returned as null.
1015
- */
1016
- sla_applied?: Conversation.SlaApplied | null;
1017
-
1018
- /**
1019
- * If set this is the time in the future when this conversation will be marked as
1020
- * open. i.e. it will be in a snoozed state until this time. i.e. it will be in a
1021
- * snoozed state until this time.
1022
- */
1023
- snoozed_until?: number | null;
1024
-
1025
- /**
1026
- * The Conversation Part that originated this conversation, which can be Contact,
1027
- * Admin, Campaign, Automated or Operator initiated.
1028
- */
1029
- source?: Conversation.Source;
1030
-
1031
- /**
1032
- * Can be set to "open", "closed" or "snoozed".
1033
- */
1034
- state?: 'open' | 'closed' | 'snoozed';
1035
-
1036
- /**
1037
- * A Statistics object containing all information required for reporting, with
1038
- * timestamps and calculated metrics.
1039
- */
1040
- statistics?: Conversation.Statistics | null;
1041
-
1042
- /**
1043
- * A list of tags objects associated with a conversation
1044
- */
1045
- tags?: Conversation.Tags;
1046
-
1047
- /**
1048
- * The id of the team assigned to the conversation. If it's not assigned to a team
1049
- * it will return null.
1050
- */
1051
- team_assignee_id?: string | null;
1052
-
1053
- /**
1054
- * The list of teammates who participated in the conversation (wrote at least one
1055
- * conversation part).
1056
- */
1057
- teammates?: Conversation.Teammates | null;
1058
-
1059
- /**
1060
- * The title given to the conversation.
1061
- */
1062
- title?: string | null;
1063
-
1064
- /**
1065
- * Always conversation.
1066
- */
1067
- type?: string;
1068
-
1069
- /**
1070
- * The last time the conversation was updated.
1071
- */
1072
- updated_at?: number;
1073
-
1074
- /**
1075
- * The last time a Contact responded to an Admin. In other words, the time a
1076
- * customer started waiting for a response. Set to null if last reply is from an
1077
- * Admin.
1078
- */
1079
- waiting_since?: number | null;
1080
- }
1081
-
1082
- export namespace Conversation {
1083
- /**
1084
- * Data related to AI Agent involvement in the conversation.
1085
- */
1086
- export interface AIAgent {
1087
- content_sources?: AIAgent.ContentSources;
1088
-
1089
- /**
1090
- * The type of the last answer delviered by AI Agent. If no answer was delivered
1091
- * then this will return null
1092
- */
1093
- last_answer_type?: 'ai_answer' | 'custom_answer' | null;
1094
-
1095
- /**
1096
- * The customer satisfaction rating given to AI Agent, from 1-5.
1097
- */
1098
- rating?: number;
1099
-
1100
- /**
1101
- * The customer satisfaction rating remark given to AI Agent.
1102
- */
1103
- rating_remark?: string;
1104
-
1105
- /**
1106
- * The resolution state of AI Agent. If no AI or custom answer has been delivered
1107
- * then this will return `abandoned`.
1108
- */
1109
- resolution_state?: 'assumed_resolution' | 'confirmed_resolution' | 'routed_to_team' | 'abandoned';
1110
-
1111
- /**
1112
- * The title of the source that triggered AI Agent involvement in the conversation.
1113
- * If this is `essentials_plan_setup` then it will return null.
1114
- */
1115
- source_title?: string | null;
1116
-
1117
- /**
1118
- * The type of the source that triggered AI Agent involvement in the conversation.
1119
- */
1120
- source_type?: 'essentials_plan_setup' | 'profile' | 'workflow' | 'workflow_preview' | 'fin_preview';
1121
- }
1122
-
1123
- export namespace AIAgent {
1124
- export interface ContentSources {
1125
- /**
1126
- * The content sources used by AI Agent in the conversation.
1127
- */
1128
- content_sources?: Array<ContentSources.ContentSource>;
1129
-
1130
- /**
1131
- * The total number of content sources used by AI Agent in the conversation.
1132
- */
1133
- total_count?: number;
1134
-
1135
- type?: 'content_source.list';
1136
- }
1137
-
1138
- export namespace ContentSources {
1139
- /**
1140
- * The content source used by AI Agent in the conversation.
1141
- */
1142
- export interface ContentSource {
1143
- /**
1144
- * The type of the content source.
1145
- */
1146
- content_type?:
1147
- | 'file'
1148
- | 'article'
1149
- | 'external_content'
1150
- | 'content_snippet'
1151
- | 'workflow_connector_action';
1152
-
1153
- /**
1154
- * The ISO 639 language code of the content source.
1155
- */
1156
- locale?: string;
1157
-
1158
- /**
1159
- * The title of the content source.
1160
- */
1161
- title?: string;
1162
-
1163
- /**
1164
- * The internal URL linking to the content source for teammates.
1165
- */
1166
- url?: string;
1167
- }
1168
- }
1169
- }
1170
-
1171
- /**
1172
- * The list of contacts (users or leads) involved in this conversation. This will
1173
- * only contain one customer unless more were added via the group conversation
1174
- * feature.
1175
- */
1176
- export interface Contacts {
1177
- /**
1178
- * The list of contacts (users or leads) involved in this conversation. This will
1179
- * only contain one customer unless more were added via the group conversation
1180
- * feature.
1181
- */
1182
- contacts?: Array<Shared.ContactReference>;
1183
-
1184
- type?: 'contact.list';
1185
- }
1186
-
1187
- /**
1188
- * A list of Conversation Part objects for each part message in the conversation.
1189
- * This is only returned when Retrieving a Conversation, and ignored when Listing
1190
- * all Conversations. There is a limit of 500 parts.
1191
- */
1192
- export interface ConversationParts {
1193
- /**
1194
- * A list of Conversation Part objects for each part message in the conversation.
1195
- * This is only returned when Retrieving a Conversation, and ignored when Listing
1196
- * all Conversations. There is a limit of 500 parts.
1197
- */
1198
- conversation_parts?: Array<ConversationParts.ConversationPart>;
1199
-
1200
- total_count?: number;
1201
-
1202
- type?: 'conversation_part.list';
1203
- }
1204
-
1205
- export namespace ConversationParts {
1206
- /**
1207
- * A Conversation Part represents a message in the conversation.
1208
- */
1209
- export interface ConversationPart {
1210
- /**
1211
- * The id representing the conversation part.
1212
- */
1213
- id?: string;
1214
-
1215
- /**
1216
- * The id of the admin that was assigned the conversation by this conversation_part
1217
- * (null if there has been no change in assignment.)
1218
- */
1219
- assigned_to?: Shared.Reference | null;
1220
-
1221
- /**
1222
- * A list of attachments for the part.
1223
- */
1224
- attachments?: Array<Shared.PartAttachment>;
1225
-
1226
- /**
1227
- * The object who initiated the conversation, which can be a Contact, Admin or
1228
- * Team. Bots and campaigns send messages on behalf of Admins or Teams. For
1229
- * Twitter, this will be blank.
1230
- */
1231
- author?: ConversationPart.Author;
1232
-
1233
- /**
1234
- * The message body, which may contain HTML. For Twitter, this will show a generic
1235
- * message regarding why the body is obscured.
1236
- */
1237
- body?: string | null;
1238
-
1239
- /**
1240
- * The time the conversation part was created.
1241
- */
1242
- created_at?: number;
1243
-
1244
- /**
1245
- * The external id of the conversation part
1246
- */
1247
- external_id?: string | null;
1248
-
1249
- /**
1250
- * The time the user was notified with the conversation part.
1251
- */
1252
- notified_at?: number;
1253
-
1254
- /**
1255
- * The type of conversation part.
1256
- */
1257
- part_type?: string;
1258
-
1259
- /**
1260
- * Whether or not the conversation part has been redacted.
1261
- */
1262
- redacted?: boolean;
1263
-
1264
- /**
1265
- * Always conversation_part
1266
- */
1267
- type?: string;
1268
-
1269
- /**
1270
- * The last time the conversation part was updated.
1271
- */
1272
- updated_at?: number;
1273
- }
1274
-
1275
- export namespace ConversationPart {
1276
- /**
1277
- * The object who initiated the conversation, which can be a Contact, Admin or
1278
- * Team. Bots and campaigns send messages on behalf of Admins or Teams. For
1279
- * Twitter, this will be blank.
1280
- */
1281
- export interface Author {
1282
- /**
1283
- * The id of the author
1284
- */
1285
- id?: string;
1286
-
1287
- /**
1288
- * The email of the author
1289
- */
1290
- email?: string;
1291
-
1292
- /**
1293
- * The name of the author
1294
- */
1295
- name?: string;
1296
-
1297
- /**
1298
- * The type of the author
1299
- */
1300
- type?: string;
1301
- }
1302
- }
1303
- }
1304
-
1305
- /**
1306
- * The Conversation Rating object which contains information on the rating and/or
1307
- * remark added by a Contact and the Admin assigned to the conversation.
1308
- */
1309
- export interface ConversationRating {
1310
- /**
1311
- * reference to contact object
1312
- */
1313
- contact?: Shared.ContactReference;
1314
-
1315
- /**
1316
- * The time the rating was requested in the conversation being rated.
1317
- */
1318
- created_at?: number;
1319
-
1320
- /**
1321
- * The rating, between 1 and 5, for the conversation.
1322
- */
1323
- rating?: number;
1324
-
1325
- /**
1326
- * An optional field to add a remark to correspond to the number rating
1327
- */
1328
- remark?: string;
1329
-
1330
- /**
1331
- * reference to another object
1332
- */
1333
- teammate?: Shared.Reference;
1334
- }
1335
-
1336
- /**
1337
- * A Custom Object Instance represents an instance of a custom object type. This
1338
- * allows you to create and set custom attributes to store data about your
1339
- * customers that is not already captured by Intercom. The parent object includes
1340
- * recommended default attributes and you can add your own custom attributes.
1341
- */
1342
- export interface CustomObjectInstance {
1343
- /**
1344
- * The Intercom defined id representing the custom object instance.
1345
- */
1346
- id?: string;
1347
-
1348
- /**
1349
- * The custom attributes you have set on the custom object instance.
1350
- */
1351
- custom_attributes?: Record<string, string>;
1352
-
1353
- /**
1354
- * The id you have defined for the custom object instance.
1355
- */
1356
- external_id?: string;
1357
-
1358
- /**
1359
- * The identifier of the custom object type that defines the structure of the
1360
- * custom object instance.
1361
- */
1362
- type?: string;
1363
- }
1364
-
1365
- /**
1366
- * An object containing information on the first users message. For a contact
1367
- * initiated message this will represent the users original message.
1368
- */
1369
- export interface FirstContactReply {
1370
- created_at?: number;
1371
-
1372
- type?: string;
1373
-
1374
- url?: string | null;
1375
- }
1376
-
1377
- /**
1378
- * An object containing metadata about linked conversations and linked tickets. Up
1379
- * to 1000 can be returned.
1380
- */
1381
- export interface LinkedObjects {
1382
- /**
1383
- * An array containing the linked conversations and linked tickets.
1384
- */
1385
- data?: Array<LinkedObjects.Data>;
1386
-
1387
- /**
1388
- * Whether or not there are more linked objects than returned.
1389
- */
1390
- has_more?: boolean;
1391
-
1392
- /**
1393
- * The total number of linked objects.
1394
- */
1395
- total_count?: number;
1396
-
1397
- /**
1398
- * Always list.
1399
- */
1400
- type?: 'list';
1401
- }
1402
-
1403
- export namespace LinkedObjects {
1404
- /**
1405
- * A linked conversation or ticket.
1406
- */
1407
- export interface Data {
1408
- /**
1409
- * The ID of the linked object
1410
- */
1411
- id?: string;
1412
-
1413
- /**
1414
- * Category of the Linked Ticket Object.
1415
- */
1416
- category?: 'Customer' | 'Back-office' | 'Tracker' | null;
1417
-
1418
- /**
1419
- * ticket or conversation
1420
- */
1421
- type?: 'ticket' | 'conversation';
1422
- }
1423
- }
1424
-
1425
- /**
1426
- * The SLA Applied object contains the details for which SLA has been applied to
1427
- * this conversation. Important: if there are any canceled sla_events for the
1428
- * conversation - meaning an SLA has been manually removed from a conversation, the
1429
- * sla_status will always be returned as null.
1430
- */
1431
- export interface SlaApplied {
1432
- /**
1433
- * The name of the SLA as given by the teammate when it was created.
1434
- */
1435
- sla_name?: string;
1436
-
1437
- /**
1438
- * SLA statuses: - `hit`: If there’s at least one hit event in the underlying
1439
- * sla_events table, and no “missed” or “canceled” events for the conversation. -
1440
- * `missed`: If there are any missed sla_events for the conversation and no
1441
- * canceled events. If there’s even a single missed sla event, the status will
1442
- * always be missed. A missed status is not applied when the SLA expires, only the
1443
- * next time a teammate replies. - `active`: An SLA has been applied to a
1444
- * conversation, but has not yet been fulfilled. SLA status is active only if there
1445
- * are no “hit, “missed”, or “canceled” events.
1446
- */
1447
- sla_status?: 'hit' | 'missed' | 'cancelled' | 'active';
1448
-
1449
- /**
1450
- * object type
1451
- */
1452
- type?: string;
1453
- }
1454
-
1455
- /**
1456
- * The Conversation Part that originated this conversation, which can be Contact,
1457
- * Admin, Campaign, Automated or Operator initiated.
1458
- */
1459
- export interface Source {
1460
- /**
1461
- * The id representing the message.
1462
- */
1463
- id?: string;
1464
-
1465
- /**
1466
- * A list of attachments for the part.
1467
- */
1468
- attachments?: Array<Shared.PartAttachment>;
1469
-
1470
- /**
1471
- * The object who initiated the conversation, which can be a Contact, Admin or
1472
- * Team. Bots and campaigns send messages on behalf of Admins or Teams. For
1473
- * Twitter, this will be blank.
1474
- */
1475
- author?: Source.Author;
1476
-
1477
- /**
1478
- * The message body, which may contain HTML. For Twitter, this will show a generic
1479
- * message regarding why the body is obscured.
1480
- */
1481
- body?: string;
1482
-
1483
- /**
1484
- * The conversation's initiation type. Possible values are customer_initiated,
1485
- * campaigns_initiated (legacy campaigns), operator_initiated (Custom bot),
1486
- * automated (Series and other outbounds with dynamic audience message) and
1487
- * admin_initiated (fixed audience message, ticket initiated by an admin, group
1488
- * email).
1489
- */
1490
- delivered_as?: string;
1491
-
1492
- /**
1493
- * Whether or not the source message has been redacted. Only applicable for contact
1494
- * initiated messages.
1495
- */
1496
- redacted?: boolean;
1497
-
1498
- /**
1499
- * Optional. The message subject. For Twitter, this will show a generic message
1500
- * regarding why the subject is obscured.
1501
- */
1502
- subject?: string;
1503
-
1504
- /**
1505
- * This includes conversation, email, facebook, instagram, phone_call,
1506
- * phone_switch, push, sms, twitter and whatsapp.
1507
- */
1508
- type?: string;
1509
-
1510
- /**
1511
- * The URL where the conversation was started. For Twitter, Email, and Bots, this
1512
- * will be blank.
1513
- */
1514
- url?: string | null;
1515
- }
1516
-
1517
- export namespace Source {
1518
- /**
1519
- * The object who initiated the conversation, which can be a Contact, Admin or
1520
- * Team. Bots and campaigns send messages on behalf of Admins or Teams. For
1521
- * Twitter, this will be blank.
1522
- */
1523
- export interface Author {
1524
- /**
1525
- * The id of the author
1526
- */
1527
- id?: string;
1528
-
1529
- /**
1530
- * The email of the author
1531
- */
1532
- email?: string;
1533
-
1534
- /**
1535
- * The name of the author
1536
- */
1537
- name?: string;
1538
-
1539
- /**
1540
- * The type of the author
1541
- */
1542
- type?: string;
1543
- }
1544
- }
1545
-
1546
- /**
1547
- * A Statistics object containing all information required for reporting, with
1548
- * timestamps and calculated metrics.
1549
- */
1550
- export interface Statistics {
1551
- /**
1552
- * Number of assignments after first_contact_reply_at.
1553
- */
1554
- count_assignments?: number;
1555
-
1556
- /**
1557
- * Total number of conversation parts.
1558
- */
1559
- count_conversation_parts?: number;
1560
-
1561
- /**
1562
- * Number of reopens after first_contact_reply_at.
1563
- */
1564
- count_reopens?: number;
1565
-
1566
- /**
1567
- * Time of first admin reply after first_contact_reply_at.
1568
- */
1569
- first_admin_reply_at?: number;
1570
-
1571
- /**
1572
- * Time of first assignment after first_contact_reply_at.
1573
- */
1574
- first_assignment_at?: number;
1575
-
1576
- /**
1577
- * Time of first close after first_contact_reply_at.
1578
- */
1579
- first_close_at?: number;
1580
-
1581
- /**
1582
- * Time of first text conversation part from a contact.
1583
- */
1584
- first_contact_reply_at?: number;
1585
-
1586
- /**
1587
- * Time of the last conversation part from an admin.
1588
- */
1589
- last_admin_reply_at?: number;
1590
-
1591
- /**
1592
- * Time of first admin reply since most recent assignment.
1593
- */
1594
- last_assignment_admin_reply_at?: number;
1595
-
1596
- /**
1597
- * Time of last assignment after first_contact_reply_at.
1598
- */
1599
- last_assignment_at?: number;
1600
-
1601
- /**
1602
- * Time of the last conversation close.
1603
- */
1604
- last_close_at?: number;
1605
-
1606
- /**
1607
- * The last admin who closed the conversation. Returns a reference to an Admin
1608
- * object.
1609
- */
1610
- last_closed_by_id?: string;
1611
-
1612
- /**
1613
- * Time of the last conversation part from a contact.
1614
- */
1615
- last_contact_reply_at?: number;
1616
-
1617
- /**
1618
- * Median based on all admin replies after a contact reply. Subtracts out of
1619
- * business hours. In seconds.
1620
- */
1621
- median_time_to_reply?: number;
1622
-
1623
- /**
1624
- * Duration until first admin reply. Subtracts out of business hours. In seconds.
1625
- */
1626
- time_to_admin_reply?: number;
1627
-
1628
- /**
1629
- * Duration until last assignment before first admin reply. In seconds.
1630
- */
1631
- time_to_assignment?: number;
1632
-
1633
- /**
1634
- * Duration until conversation was closed first time. Subtracts out of business
1635
- * hours. In seconds.
1636
- */
1637
- time_to_first_close?: number;
1638
-
1639
- /**
1640
- * Duration until conversation was closed last time. Subtracts out of business
1641
- * hours. In seconds.
1642
- */
1643
- time_to_last_close?: number;
1644
-
1645
- type?: string;
1646
- }
1647
-
1648
- /**
1649
- * A list of tags objects associated with a conversation
1650
- */
1651
- export interface Tags {
1652
- /**
1653
- * A list of tags objects associated with the conversation.
1654
- */
1655
- tags?: Array<Shared.Tag>;
1656
-
1657
- /**
1658
- * The type of the object
1659
- */
1660
- type?: 'tag.list';
1661
- }
1662
-
1663
- /**
1664
- * The list of teammates who participated in the conversation (wrote at least one
1665
- * conversation part).
1666
- */
1667
- export interface Teammates {
1668
- /**
1669
- * The list of teammates who participated in the conversation (wrote at least one
1670
- * conversation part).
1671
- */
1672
- teammates?: Array<Shared.Reference>;
1673
-
1674
- /**
1675
- * The type of the object - `admin.list`.
1676
- */
1677
- type?: string;
1678
- }
1679
- }
1680
-
1681
- /**
1682
- * Cursor-based pagination is a technique used in the Intercom API to navigate
1683
- * through large amounts of data. A "cursor" or pointer is used to keep track of
1684
- * the current position in the result set, allowing the API to return the data in
1685
- * small chunks or "pages" as needed.
1686
- */
1687
- export interface CursorPages {
1688
- next?: StartingAfterPaging | null;
1689
-
1690
- /**
1691
- * The current page
1692
- */
1693
- page?: number;
1694
-
1695
- /**
1696
- * Number of results per page
1697
- */
1698
- per_page?: number;
1699
-
1700
- /**
1701
- * Total number of pages
1702
- */
1703
- total_pages?: number;
1704
-
1705
- /**
1706
- * the type of object `pages`.
1707
- */
1708
- type?: 'pages';
1709
- }
1710
-
1711
- /**
1712
- * The Content of a Group.
1713
- */
1714
- export interface GroupContent {
1715
- /**
1716
- * The description of the collection. Only available for collections.
1717
- */
1718
- description?: string;
1719
-
1720
- /**
1721
- * The name of the collection or section.
1722
- */
1723
- name?: string;
1724
-
1725
- /**
1726
- * The type of object - `group_content` .
1727
- */
1728
- type?: 'group_content' | null;
1729
- }
1730
-
1731
- /**
1732
- * The Translated Content of an Group. The keys are the locale codes and the values
1733
- * are the translated content of the Group.
1734
- */
1735
- export interface GroupTranslatedContent {
1736
- /**
1737
- * The content of the group in Indonesian
1738
- */
1739
- id?: GroupContent | null;
1740
-
1741
- /**
1742
- * The content of the group in Arabic
1743
- */
1744
- ar?: GroupContent | null;
1745
-
1746
- /**
1747
- * The content of the group in Bulgarian
1748
- */
1749
- bg?: GroupContent | null;
1750
-
1751
- /**
1752
- * The content of the group in Bosnian
1753
- */
1754
- bs?: GroupContent | null;
1755
-
1756
- /**
1757
- * The content of the group in Catalan
1758
- */
1759
- ca?: GroupContent | null;
1760
-
1761
- /**
1762
- * The content of the group in Czech
1763
- */
1764
- cs?: GroupContent | null;
1765
-
1766
- /**
1767
- * The content of the group in Danish
1768
- */
1769
- da?: GroupContent | null;
1770
-
1771
- /**
1772
- * The content of the group in German
1773
- */
1774
- de?: GroupContent | null;
1775
-
1776
- /**
1777
- * The content of the group in Greek
1778
- */
1779
- el?: GroupContent | null;
1780
-
1781
- /**
1782
- * The content of the group in English
1783
- */
1784
- en?: GroupContent | null;
1785
-
1786
- /**
1787
- * The content of the group in Spanish
1788
- */
1789
- es?: GroupContent | null;
1790
-
1791
- /**
1792
- * The content of the group in Estonian
1793
- */
1794
- et?: GroupContent | null;
1795
-
1796
- /**
1797
- * The content of the group in Finnish
1798
- */
1799
- fi?: GroupContent | null;
1800
-
1801
- /**
1802
- * The content of the group in French
1803
- */
1804
- fr?: GroupContent | null;
1805
-
1806
- /**
1807
- * The content of the group in Hebrew
1808
- */
1809
- he?: GroupContent | null;
1810
-
1811
- /**
1812
- * The content of the group in Croatian
1813
- */
1814
- hr?: GroupContent | null;
1815
-
1816
- /**
1817
- * The content of the group in Hungarian
1818
- */
1819
- hu?: GroupContent | null;
1820
-
1821
- /**
1822
- * The content of the group in Italian
1823
- */
1824
- it?: GroupContent | null;
1825
-
1826
- /**
1827
- * The content of the group in Japanese
1828
- */
1829
- ja?: GroupContent | null;
1830
-
1831
- /**
1832
- * The content of the group in Korean
1833
- */
1834
- ko?: GroupContent | null;
1835
-
1836
- /**
1837
- * The content of the group in Lithuanian
1838
- */
1839
- lt?: GroupContent | null;
1840
-
1841
- /**
1842
- * The content of the group in Latvian
1843
- */
1844
- lv?: GroupContent | null;
1845
-
1846
- /**
1847
- * The content of the group in Mongolian
1848
- */
1849
- mn?: GroupContent | null;
1850
-
1851
- /**
1852
- * The content of the group in Norwegian
1853
- */
1854
- nb?: GroupContent | null;
1855
-
1856
- /**
1857
- * The content of the group in Dutch
1858
- */
1859
- nl?: GroupContent | null;
1860
-
1861
- /**
1862
- * The content of the group in Polish
1863
- */
1864
- pl?: GroupContent | null;
1865
-
1866
- /**
1867
- * The content of the group in Portuguese (Portugal)
1868
- */
1869
- pt?: GroupContent | null;
1870
-
1871
- /**
1872
- * The content of the group in Portuguese (Brazil)
1873
- */
1874
- 'pt-BR'?: GroupContent | null;
1875
-
1876
- /**
1877
- * The content of the group in Romanian
1878
- */
1879
- ro?: GroupContent | null;
1880
-
1881
- /**
1882
- * The content of the group in Russian
1883
- */
1884
- ru?: GroupContent | null;
1885
-
1886
- /**
1887
- * The content of the group in Slovenian
1888
- */
1889
- sl?: GroupContent | null;
1890
-
1891
- /**
1892
- * The content of the group in Serbian
1893
- */
1894
- sr?: GroupContent | null;
1895
-
1896
- /**
1897
- * The content of the group in Swedish
1898
- */
1899
- sv?: GroupContent | null;
1900
-
1901
- /**
1902
- * The content of the group in Turkish
1903
- */
1904
- tr?: GroupContent | null;
1905
-
1906
- /**
1907
- * The type of object - group_translated_content.
1908
- */
1909
- type?: 'group_translated_content' | null;
1910
-
1911
- /**
1912
- * The content of the group in Vietnamese
1913
- */
1914
- vi?: GroupContent | null;
1915
-
1916
- /**
1917
- * The content of the group in Chinese (China)
1918
- */
1919
- 'zh-CN'?: GroupContent | null;
1920
-
1921
- /**
1922
- * The content of the group in Chinese (Taiwan)
1923
- */
1924
- 'zh-TW'?: GroupContent | null;
1925
- }
1926
-
1927
- /**
1928
- * Message are how you reach out to contacts in Intercom. They are created when an
1929
- * admin sends an outbound message to a contact.
1930
- */
1931
- export interface Message {
1932
- /**
1933
- * The id representing the message.
1934
- */
1935
- id: string;
1936
-
1937
- /**
1938
- * The message body, which may contain HTML.
1939
- */
1940
- body: string;
1941
-
1942
- /**
1943
- * The time the conversation was created.
1944
- */
1945
- created_at: number;
1946
-
1947
- /**
1948
- * The type of message that was sent. Can be email, inapp, facebook or twitter.
1949
- */
1950
- message_type: 'email' | 'inapp' | 'facebook' | 'twitter';
1951
-
1952
- /**
1953
- * The type of the message
1954
- */
1955
- type: string;
1956
-
1957
- /**
1958
- * The associated conversation_id
1959
- */
1960
- conversation_id?: string;
1961
-
1962
- /**
1963
- * The subject of the message. Only present if message_type: email.
1964
- */
1965
- subject?: string;
1966
- }
1967
-
1968
- /**
1969
- * Search using Intercoms Search APIs with more than one filter.
1970
- */
1971
- export interface MultipleFilterSearchRequest {
1972
- /**
1973
- * An operator to allow boolean inspection between multiple fields.
1974
- */
1975
- operator?: 'AND' | 'OR';
1976
-
1977
- /**
1978
- * Add mutiple filters.
1979
- */
1980
- value?: Array<MultipleFilterSearchRequest> | Array<SingleFilterSearchRequest>;
1981
- }
1982
-
1983
- /**
1984
- * Notes allow you to annotate and comment on your contacts.
1985
- */
1986
- export interface Note {
1987
- /**
1988
- * The id of the note.
1989
- */
1990
- id?: string;
1991
-
1992
- /**
1993
- * Optional. Represents the Admin that created the note.
1994
- */
1995
- author?: Admin | null;
1996
-
1997
- /**
1998
- * The body text of the note.
1999
- */
2000
- body?: string;
2001
-
2002
- /**
2003
- * Represents the contact that the note was created about.
2004
- */
2005
- contact?: Note.Contact | null;
2006
-
2007
- /**
2008
- * The time the note was created.
2009
- */
2010
- created_at?: number;
2011
-
2012
- /**
2013
- * String representing the object's type. Always has the value `note`.
2014
- */
2015
- type?: string;
2016
- }
2017
-
2018
- export namespace Note {
2019
- /**
2020
- * Represents the contact that the note was created about.
2021
- */
2022
- export interface Contact {
2023
- /**
2024
- * The id of the contact.
2025
- */
2026
- id?: string;
2027
-
2028
- /**
2029
- * String representing the object's type. Always has the value `contact`.
2030
- */
2031
- type?: string;
2032
- }
2033
- }
2034
-
2035
- /**
2036
- * The file attached to a part
2037
- */
2038
- export interface PartAttachment {
2039
- /**
2040
- * The content type of the attachment
2041
- */
2042
- content_type?: string;
2043
-
2044
- /**
2045
- * The size of the attachment
2046
- */
2047
- filesize?: number;
2048
-
2049
- /**
2050
- * The height of the attachment
2051
- */
2052
- height?: number;
2053
-
2054
- /**
2055
- * The name of the attachment
2056
- */
2057
- name?: string;
2058
-
2059
- /**
2060
- * The type of attachment
2061
- */
2062
- type?: string;
2063
-
2064
- /**
2065
- * The URL of the attachment
2066
- */
2067
- url?: string;
2068
-
2069
- /**
2070
- * The width of the attachment
2071
- */
2072
- width?: number;
2073
- }
2074
-
2075
- /**
2076
- * reference to another object
2077
- */
2078
- export interface Reference {
2079
- id?: string | null;
2080
-
2081
- type?: string;
2082
- }
2083
-
2084
- /**
2085
- * Search using Intercoms Search APIs.
2086
- */
2087
- export interface SearchRequest {
2088
- /**
2089
- * Search using Intercoms Search APIs with a single filter.
2090
- */
2091
- query: SingleFilterSearchRequest | MultipleFilterSearchRequest;
2092
-
2093
- pagination?: StartingAfterPaging | null;
2094
- }
2095
-
2096
- /**
2097
- * Search using Intercoms Search APIs with a single filter.
2098
- */
2099
- export interface SingleFilterSearchRequest {
2100
- /**
2101
- * The accepted field that you want to search on.
2102
- */
2103
- field?: string;
2104
-
2105
- /**
2106
- * The accepted operators you can use to define how you want to search for the
2107
- * value.
2108
- */
2109
- operator?: '=' | '!=' | 'IN' | 'NIN' | '<' | '>' | '~' | '!~' | '^' | '$';
2110
-
2111
- /**
2112
- * The value that you want to search on.
2113
- */
2114
- value?: string;
2115
- }
2116
-
2117
- export interface StartingAfterPaging {
2118
- /**
2119
- * The number of results to fetch per page.
2120
- */
2121
- per_page?: number;
2122
-
2123
- /**
2124
- * The cursor to use in the next request to get the next page of results.
2125
- */
2126
- starting_after?: string | null;
2127
- }
2128
-
2129
- /**
2130
- * A list of subscription type objects.
2131
- */
2132
- export interface SubscriptionTypeList {
2133
- /**
2134
- * A list of subscription type objects associated with the workspace .
2135
- */
2136
- data?: Array<SubscriptionsAPI.SubscriptionType>;
2137
-
2138
- /**
2139
- * The type of the object
2140
- */
2141
- type?: 'list';
2142
- }
2143
-
2144
- /**
2145
- * A tag allows you to label your contacts, companies, and conversations and list
2146
- * them using that tag.
2147
- */
2148
- export interface Tag {
2149
- /**
2150
- * The id of the tag
2151
- */
2152
- id?: string;
2153
-
2154
- /**
2155
- * The time when the tag was applied to the object
2156
- */
2157
- applied_at?: number;
2158
-
2159
- /**
2160
- * reference to another object
2161
- */
2162
- applied_by?: Reference;
2163
-
2164
- /**
2165
- * The name of the tag
2166
- */
2167
- name?: string;
2168
-
2169
- /**
2170
- * value is "tag"
2171
- */
2172
- type?: string;
2173
- }
2174
-
2175
- /**
2176
- * A list of tags objects in the workspace.
2177
- */
2178
- export interface TagList {
2179
- /**
2180
- * A list of tags objects associated with the workspace .
2181
- */
2182
- data?: Array<Tag>;
2183
-
2184
- /**
2185
- * The type of the object
2186
- */
2187
- type?: 'list';
2188
- }
2189
-
2190
- /**
2191
- * Tickets are how you track requests from your users.
2192
- */
2193
- export interface Ticket {
2194
- /**
2195
- * The unique identifier for the ticket which is given by Intercom.
2196
- */
2197
- id?: string;
2198
-
2199
- /**
2200
- * The id representing the admin assigned to the ticket.
2201
- */
2202
- admin_assignee_id?: string;
2203
-
2204
- /**
2205
- * Category of the Ticket.
2206
- */
2207
- category?: 'Customer' | 'Back-office' | 'Tracker';
2208
-
2209
- /**
2210
- * The list of contacts affected by a ticket.
2211
- */
2212
- contacts?: Ticket.Contacts;
2213
-
2214
- /**
2215
- * The time the ticket was created as a UTC Unix timestamp.
2216
- */
2217
- created_at?: number;
2218
-
2219
- /**
2220
- * Whether or not the ticket is shared with the customer.
2221
- */
2222
- is_shared?: boolean;
2223
-
2224
- /**
2225
- * An object containing metadata about linked conversations and linked tickets. Up
2226
- * to 1000 can be returned.
2227
- */
2228
- linked_objects?: Ticket.LinkedObjects;
2229
-
2230
- /**
2231
- * Whether or not the ticket is open. If false, the ticket is closed.
2232
- */
2233
- open?: boolean;
2234
-
2235
- /**
2236
- * The time the ticket will be snoozed until as a UTC Unix timestamp. If null, the
2237
- * ticket is not currently snoozed.
2238
- */
2239
- snoozed_until?: number;
2240
-
2241
- /**
2242
- * The id representing the team assigned to the ticket.
2243
- */
2244
- team_assignee_id?: string;
2245
-
2246
- /**
2247
- * An object containing the different attributes associated to the ticket as
2248
- * key-value pairs. For the default title and description attributes, the keys are
2249
- * `_default_title_` and `_default_description_`.
2250
- */
2251
- ticket_attributes?: Record<
2252
- string,
2253
- string | null | number | boolean | Array<unknown> | Ticket.FileAttribute
2254
- >;
2255
-
2256
- /**
2257
- * The ID of the Ticket used in the Intercom Inbox and Messenger. Do not use
2258
- * ticket_id for API queries.
2259
- */
2260
- ticket_id?: string;
2261
-
2262
- /**
2263
- * A list of Ticket Part objects for each note and event in the ticket. There is a
2264
- * limit of 500 parts.
2265
- */
2266
- ticket_parts?: Ticket.TicketParts;
2267
-
2268
- /**
2269
- * The state the ticket is currenly in
2270
- */
2271
- ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
2272
-
2273
- /**
2274
- * The state the ticket is currently in, in a human readable form - visible to
2275
- * customers, in the messenger, email and tickets portal.
2276
- */
2277
- ticket_state_external_label?: string;
2278
-
2279
- /**
2280
- * The state the ticket is currently in, in a human readable form - visible in
2281
- * Intercom
2282
- */
2283
- ticket_state_internal_label?: string;
2284
-
2285
- /**
2286
- * A ticket type, used to define the data fields to be captured in a ticket.
2287
- */
2288
- ticket_type?: TicketTypesAPI.TicketType | null;
2289
-
2290
- /**
2291
- * Always ticket
2292
- */
2293
- type?: 'ticket';
2294
-
2295
- /**
2296
- * The last time the ticket was updated as a UTC Unix timestamp.
2297
- */
2298
- updated_at?: number;
2299
- }
2300
-
2301
- export namespace Ticket {
2302
- /**
2303
- * The list of contacts affected by a ticket.
2304
- */
2305
- export interface Contacts {
2306
- /**
2307
- * The list of contacts affected by this ticket.
2308
- */
2309
- contacts?: Array<Shared.ContactReference>;
2310
-
2311
- /**
2312
- * always contact.list
2313
- */
2314
- type?: 'contact.list';
2315
- }
2316
-
2317
- /**
2318
- * An object containing metadata about linked conversations and linked tickets. Up
2319
- * to 1000 can be returned.
2320
- */
2321
- export interface LinkedObjects {
2322
- /**
2323
- * An array containing the linked conversations and linked tickets.
2324
- */
2325
- data?: Array<LinkedObjects.Data>;
2326
-
2327
- /**
2328
- * Whether or not there are more linked objects than returned.
2329
- */
2330
- has_more?: boolean;
2331
-
2332
- /**
2333
- * The total number of linked objects.
2334
- */
2335
- total_count?: number;
2336
-
2337
- /**
2338
- * Always list.
2339
- */
2340
- type?: 'list';
2341
- }
2342
-
2343
- export namespace LinkedObjects {
2344
- /**
2345
- * A linked conversation or ticket.
2346
- */
2347
- export interface Data {
2348
- /**
2349
- * The ID of the linked object
2350
- */
2351
- id?: string;
2352
-
2353
- /**
2354
- * Category of the Linked Ticket Object.
2355
- */
2356
- category?: 'Customer' | 'Back-office' | 'Tracker' | null;
2357
-
2358
- /**
2359
- * ticket or conversation
2360
- */
2361
- type?: 'ticket' | 'conversation';
2362
- }
2363
- }
2364
-
2365
- /**
2366
- * The value describing a file upload set for a custom attribute
2367
- */
2368
- export interface FileAttribute {
2369
- /**
2370
- * The type of file
2371
- */
2372
- content_type?: string;
2373
-
2374
- /**
2375
- * The size of the file in bytes
2376
- */
2377
- filesize?: number;
2378
-
2379
- /**
2380
- * The height of the file in pixels, if applicable
2381
- */
2382
- height?: number;
2383
-
2384
- /**
2385
- * The name of the file
2386
- */
2387
- name?: string;
2388
-
2389
- type?: string;
2390
-
2391
- /**
2392
- * The url of the file. This is a temporary URL and will expire after 30 minutes.
2393
- */
2394
- url?: string;
2395
-
2396
- /**
2397
- * The width of the file in pixels, if applicable
2398
- */
2399
- width?: number;
2400
- }
2401
-
2402
- /**
2403
- * A list of Ticket Part objects for each note and event in the ticket. There is a
2404
- * limit of 500 parts.
2405
- */
2406
- export interface TicketParts {
2407
- /**
2408
- * A list of Ticket Part objects for each ticket. There is a limit of 500 parts.
2409
- */
2410
- ticket_parts?: Array<TicketParts.TicketPart>;
2411
-
2412
- total_count?: number;
2413
-
2414
- type?: 'ticket_part.list';
2415
- }
2416
-
2417
- export namespace TicketParts {
2418
- /**
2419
- * A Ticket Part represents a message in the ticket.
2420
- */
2421
- export interface TicketPart {
2422
- /**
2423
- * The id representing the ticket part.
2424
- */
2425
- id?: string;
2426
-
2427
- /**
2428
- * The id of the admin that was assigned the ticket by this ticket_part (null if
2429
- * there has been no change in assignment.)
2430
- */
2431
- assigned_to?: Shared.Reference | null;
2432
-
2433
- /**
2434
- * A list of attachments for the part.
2435
- */
2436
- attachments?: Array<Shared.PartAttachment>;
2437
-
2438
- /**
2439
- * The author that wrote or triggered the part. Can be a bot, admin, team or user.
2440
- */
2441
- author?: TicketPart.Author;
2442
-
2443
- /**
2444
- * The message body, which may contain HTML.
2445
- */
2446
- body?: string | null;
2447
-
2448
- /**
2449
- * The time the ticket part was created.
2450
- */
2451
- created_at?: number;
2452
-
2453
- /**
2454
- * The external id of the ticket part
2455
- */
2456
- external_id?: string | null;
2457
-
2458
- /**
2459
- * The type of ticket part.
2460
- */
2461
- part_type?: string;
2462
-
2463
- /**
2464
- * The previous state of the ticket.
2465
- */
2466
- previous_ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
2467
-
2468
- /**
2469
- * Whether or not the ticket part has been redacted.
2470
- */
2471
- redacted?: boolean;
2472
-
2473
- /**
2474
- * The state of the ticket.
2475
- */
2476
- ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
2477
-
2478
- /**
2479
- * Always ticket_part
2480
- */
2481
- type?: string;
2482
-
2483
- /**
2484
- * The last time the ticket part was updated.
2485
- */
2486
- updated_at?: number;
2487
- }
2488
-
2489
- export namespace TicketPart {
2490
- /**
2491
- * The author that wrote or triggered the part. Can be a bot, admin, team or user.
2492
- */
2493
- export interface Author {
2494
- /**
2495
- * The id of the author
2496
- */
2497
- id?: string;
2498
-
2499
- /**
2500
- * The email of the author
2501
- */
2502
- email?: string;
2503
-
2504
- /**
2505
- * The name of the author
2506
- */
2507
- name?: string | null;
2508
-
2509
- /**
2510
- * The type of the author
2511
- */
2512
- type?: 'admin' | 'bot' | 'team' | 'user';
2513
- }
2514
- }
2515
- }
2516
- }
2517
-
2518
- /**
2519
- * Ticket type attribute, used to define each data field to be captured in a
2520
- * ticket.
2521
- */
2522
- export interface TicketTypeAttribute {
2523
- /**
2524
- * The id representing the ticket type attribute.
2525
- */
2526
- id?: string;
2527
-
2528
- /**
2529
- * Whether the ticket type attribute is archived or not.
2530
- */
2531
- archived?: boolean;
2532
-
2533
- /**
2534
- * The date and time the ticket type attribute was created.
2535
- */
2536
- created_at?: number;
2537
-
2538
- /**
2539
- * The type of the data attribute (allowed values: "string list integer decimal
2540
- * boolean datetime files")
2541
- */
2542
- data_type?: string;
2543
-
2544
- /**
2545
- * Whether the attribute is built in or not.
2546
- */
2547
- default?: boolean;
2548
-
2549
- /**
2550
- * The description of the ticket type attribute
2551
- */
2552
- description?: string;
2553
-
2554
- /**
2555
- * Input options for the attribute
2556
- */
2557
- input_options?: unknown;
2558
-
2559
- /**
2560
- * The name of the ticket type attribute
2561
- */
2562
- name?: string;
2563
-
2564
- /**
2565
- * The order of the attribute against other attributes
2566
- */
2567
- order?: number;
2568
-
2569
- /**
2570
- * Whether the attribute is required or not for teammates.
2571
- */
2572
- required_to_create?: boolean;
2573
-
2574
- /**
2575
- * Whether the attribute is required or not for contacts.
2576
- */
2577
- required_to_create_for_contacts?: boolean;
2578
-
2579
- /**
2580
- * The id of the ticket type that the attribute belongs to.
2581
- */
2582
- ticket_type_id?: number;
2583
-
2584
- /**
2585
- * String representing the object's type. Always has the value
2586
- * `ticket_type_attribute`.
2587
- */
2588
- type?: string;
2589
-
2590
- /**
2591
- * The date and time the ticket type attribute was last updated.
2592
- */
2593
- updated_at?: number;
2594
-
2595
- /**
2596
- * Whether the attribute is visible or not to teammates.
2597
- */
2598
- visible_on_create?: boolean;
2599
-
2600
- /**
2601
- * Whether the attribute is visible or not to contacts.
2602
- */
2603
- visible_to_contacts?: boolean;
2604
-
2605
- /**
2606
- * The id of the workspace that the ticket type attribute belongs to.
2607
- */
2608
- workspace_id?: string;
2609
- }