intercom-client 6.0.0-alpha1 → 6.0.0-beta.2

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 (2423) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/LICENSE +201 -0
  3. package/README.md +217 -111
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +16 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +12 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +21 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +2 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +21 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +2 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +21 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +2 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +21 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +2 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +101 -0
  36. package/_shims/auto/types.js +3 -0
  37. package/_shims/auto/types.mjs +3 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +14 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +10 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +81 -0
  45. package/_shims/index.js +13 -0
  46. package/_shims/index.mjs +7 -0
  47. package/_shims/manual-types.d.ts +12 -0
  48. package/_shims/manual-types.js +3 -0
  49. package/_shims/manual-types.mjs +3 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +89 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +56 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +42 -0
  57. package/_shims/node-types.js +3 -0
  58. package/_shims/node-types.mjs +3 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +41 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +37 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +78 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +71 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +83 -0
  72. package/_shims/web-types.js +3 -0
  73. package/_shims/web-types.mjs +3 -0
  74. package/core.d.ts +239 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +881 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +850 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +53 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +143 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +127 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +296 -0
  87. package/index.d.ts +296 -4
  88. package/index.d.ts.map +1 -0
  89. package/index.js +145 -9
  90. package/index.js.map +1 -0
  91. package/index.mjs +142 -0
  92. package/index.mjs.map +1 -0
  93. package/package.json +99 -33
  94. package/pagination.d.ts +40 -0
  95. package/pagination.d.ts.map +1 -0
  96. package/pagination.js +41 -0
  97. package/pagination.js.map +1 -0
  98. package/pagination.mjs +37 -0
  99. package/pagination.mjs.map +1 -0
  100. package/resource.d.ts +6 -0
  101. package/resource.d.ts.map +1 -0
  102. package/resource.js +11 -0
  103. package/resource.js.map +1 -0
  104. package/resource.mjs +7 -0
  105. package/resource.mjs.map +1 -0
  106. package/resources/admins/activity-logs.d.ts +144 -0
  107. package/resources/admins/activity-logs.d.ts.map +1 -0
  108. package/resources/admins/activity-logs.js +27 -0
  109. package/resources/admins/activity-logs.js.map +1 -0
  110. package/resources/admins/activity-logs.mjs +23 -0
  111. package/resources/admins/activity-logs.mjs.map +1 -0
  112. package/resources/admins/admins.d.ts +75 -0
  113. package/resources/admins/admins.d.ts.map +1 -0
  114. package/resources/admins/admins.js +87 -0
  115. package/resources/admins/admins.js.map +1 -0
  116. package/resources/admins/admins.mjs +60 -0
  117. package/resources/admins/admins.mjs.map +1 -0
  118. package/resources/admins/index.d.ts +3 -0
  119. package/resources/admins/index.d.ts.map +1 -0
  120. package/resources/admins/index.js +9 -0
  121. package/resources/admins/index.js.map +1 -0
  122. package/resources/admins/index.mjs +4 -0
  123. package/resources/admins/index.mjs.map +1 -0
  124. package/resources/articles.d.ts +496 -0
  125. package/resources/articles.d.ts.map +1 -0
  126. package/resources/articles.js +106 -0
  127. package/resources/articles.js.map +1 -0
  128. package/resources/articles.mjs +102 -0
  129. package/resources/articles.mjs.map +1 -0
  130. package/resources/companies/companies.d.ts +322 -0
  131. package/resources/companies/companies.d.ts.map +1 -0
  132. package/resources/companies/companies.js +153 -0
  133. package/resources/companies/companies.js.map +1 -0
  134. package/resources/companies/companies.mjs +126 -0
  135. package/resources/companies/companies.mjs.map +1 -0
  136. package/resources/companies/contacts.d.ts +47 -0
  137. package/resources/companies/contacts.d.ts.map +1 -0
  138. package/resources/companies/contacts.js +27 -0
  139. package/resources/companies/contacts.js.map +1 -0
  140. package/resources/companies/contacts.mjs +23 -0
  141. package/resources/companies/contacts.mjs.map +1 -0
  142. package/resources/companies/index.d.ts +4 -0
  143. package/resources/companies/index.d.ts.map +1 -0
  144. package/resources/companies/index.js +11 -0
  145. package/resources/companies/index.js.map +1 -0
  146. package/resources/companies/index.mjs +5 -0
  147. package/resources/companies/index.mjs.map +1 -0
  148. package/resources/companies/segments.d.ts +36 -0
  149. package/resources/companies/segments.d.ts.map +1 -0
  150. package/resources/companies/segments.js +27 -0
  151. package/resources/companies/segments.js.map +1 -0
  152. package/resources/companies/segments.mjs +23 -0
  153. package/resources/companies/segments.mjs.map +1 -0
  154. package/resources/contacts/companies.d.ts +99 -0
  155. package/resources/contacts/companies.d.ts.map +1 -0
  156. package/resources/contacts/companies.js +58 -0
  157. package/resources/contacts/companies.js.map +1 -0
  158. package/resources/contacts/companies.mjs +54 -0
  159. package/resources/contacts/companies.mjs.map +1 -0
  160. package/resources/contacts/contacts.d.ts +467 -0
  161. package/resources/contacts/contacts.d.ts.map +1 -0
  162. package/resources/contacts/contacts.js +315 -0
  163. package/resources/contacts/contacts.js.map +1 -0
  164. package/resources/contacts/contacts.mjs +288 -0
  165. package/resources/contacts/contacts.mjs.map +1 -0
  166. package/resources/contacts/index.d.ts +7 -0
  167. package/resources/contacts/index.d.ts.map +1 -0
  168. package/resources/contacts/index.js +17 -0
  169. package/resources/contacts/index.js.map +1 -0
  170. package/resources/contacts/index.mjs +8 -0
  171. package/resources/contacts/index.mjs.map +1 -0
  172. package/resources/contacts/notes.d.ts +71 -0
  173. package/resources/contacts/notes.d.ts.map +1 -0
  174. package/resources/contacts/notes.js +43 -0
  175. package/resources/contacts/notes.js.map +1 -0
  176. package/resources/contacts/notes.mjs +39 -0
  177. package/resources/contacts/notes.mjs.map +1 -0
  178. package/resources/contacts/segments.d.ts +36 -0
  179. package/resources/contacts/segments.d.ts.map +1 -0
  180. package/resources/contacts/segments.js +27 -0
  181. package/resources/contacts/segments.js.map +1 -0
  182. package/resources/contacts/segments.mjs +23 -0
  183. package/resources/contacts/segments.mjs.map +1 -0
  184. package/resources/contacts/subscriptions.d.ts +149 -0
  185. package/resources/contacts/subscriptions.d.ts.map +1 -0
  186. package/resources/contacts/subscriptions.js +68 -0
  187. package/resources/contacts/subscriptions.js.map +1 -0
  188. package/resources/contacts/subscriptions.mjs +64 -0
  189. package/resources/contacts/subscriptions.mjs.map +1 -0
  190. package/resources/contacts/tags.d.ts +53 -0
  191. package/resources/contacts/tags.d.ts.map +1 -0
  192. package/resources/contacts/tags.js +59 -0
  193. package/resources/contacts/tags.js.map +1 -0
  194. package/resources/contacts/tags.mjs +55 -0
  195. package/resources/contacts/tags.mjs.map +1 -0
  196. package/resources/conversations/conversations.d.ts +428 -0
  197. package/resources/conversations/conversations.d.ts.map +1 -0
  198. package/resources/conversations/conversations.js +298 -0
  199. package/resources/conversations/conversations.js.map +1 -0
  200. package/resources/conversations/conversations.mjs +270 -0
  201. package/resources/conversations/conversations.mjs.map +1 -0
  202. package/resources/conversations/customers.d.ts +145 -0
  203. package/resources/conversations/customers.d.ts.map +1 -0
  204. package/resources/conversations/customers.js +50 -0
  205. package/resources/conversations/customers.js.map +1 -0
  206. package/resources/conversations/customers.mjs +46 -0
  207. package/resources/conversations/customers.mjs.map +1 -0
  208. package/resources/conversations/index.d.ts +7 -0
  209. package/resources/conversations/index.d.ts.map +1 -0
  210. package/resources/conversations/index.js +18 -0
  211. package/resources/conversations/index.js.map +1 -0
  212. package/resources/conversations/index.mjs +8 -0
  213. package/resources/conversations/index.mjs.map +1 -0
  214. package/resources/conversations/parts.d.ts +110 -0
  215. package/resources/conversations/parts.d.ts.map +1 -0
  216. package/resources/conversations/parts.js +32 -0
  217. package/resources/conversations/parts.js.map +1 -0
  218. package/resources/conversations/parts.mjs +28 -0
  219. package/resources/conversations/parts.mjs.map +1 -0
  220. package/resources/conversations/reply.d.ts +163 -0
  221. package/resources/conversations/reply.d.ts.map +1 -0
  222. package/resources/conversations/reply.js +28 -0
  223. package/resources/conversations/reply.js.map +1 -0
  224. package/resources/conversations/reply.mjs +24 -0
  225. package/resources/conversations/reply.mjs.map +1 -0
  226. package/resources/conversations/run-assignment-rules.d.ts +24 -0
  227. package/resources/conversations/run-assignment-rules.d.ts.map +1 -0
  228. package/resources/conversations/run-assignment-rules.js +27 -0
  229. package/resources/conversations/run-assignment-rules.js.map +1 -0
  230. package/resources/conversations/run-assignment-rules.mjs +23 -0
  231. package/resources/conversations/run-assignment-rules.mjs.map +1 -0
  232. package/resources/conversations/tags.d.ts +47 -0
  233. package/resources/conversations/tags.d.ts.map +1 -0
  234. package/resources/conversations/tags.js +45 -0
  235. package/resources/conversations/tags.js.map +1 -0
  236. package/resources/conversations/tags.mjs +41 -0
  237. package/resources/conversations/tags.mjs.map +1 -0
  238. package/resources/data-attributes.d.ts +198 -0
  239. package/resources/data-attributes.d.ts.map +1 -0
  240. package/resources/data-attributes.js +60 -0
  241. package/resources/data-attributes.js.map +1 -0
  242. package/resources/data-attributes.mjs +56 -0
  243. package/resources/data-attributes.mjs.map +1 -0
  244. package/resources/data-events.d.ts +276 -0
  245. package/resources/data-events.d.ts.map +1 -0
  246. package/resources/data-events.js +148 -0
  247. package/resources/data-events.js.map +1 -0
  248. package/resources/data-events.mjs +144 -0
  249. package/resources/data-events.mjs.map +1 -0
  250. package/resources/data-exports.d.ts +77 -0
  251. package/resources/data-exports.d.ts.map +1 -0
  252. package/resources/data-exports.js +51 -0
  253. package/resources/data-exports.js.map +1 -0
  254. package/resources/data-exports.mjs +47 -0
  255. package/resources/data-exports.mjs.map +1 -0
  256. package/resources/download/content/content.d.ts +10 -0
  257. package/resources/download/content/content.d.ts.map +1 -0
  258. package/resources/download/content/content.js +40 -0
  259. package/resources/download/content/content.js.map +1 -0
  260. package/resources/download/content/content.mjs +13 -0
  261. package/resources/download/content/content.mjs.map +1 -0
  262. package/resources/download/content/data.d.ts +31 -0
  263. package/resources/download/content/data.d.ts.map +1 -0
  264. package/resources/download/content/data.js +28 -0
  265. package/resources/download/content/data.js.map +1 -0
  266. package/resources/download/content/data.mjs +24 -0
  267. package/resources/download/content/data.mjs.map +1 -0
  268. package/resources/download/content/index.d.ts +3 -0
  269. package/resources/download/content/index.d.ts.map +1 -0
  270. package/resources/download/content/index.js +9 -0
  271. package/resources/download/content/index.js.map +1 -0
  272. package/resources/download/content/index.mjs +4 -0
  273. package/resources/download/content/index.mjs.map +1 -0
  274. package/resources/download/download.d.ts +9 -0
  275. package/resources/download/download.d.ts.map +1 -0
  276. package/resources/download/download.js +40 -0
  277. package/resources/download/download.js.map +1 -0
  278. package/resources/download/download.mjs +13 -0
  279. package/resources/download/download.mjs.map +1 -0
  280. package/resources/download/index.d.ts +3 -0
  281. package/resources/download/index.d.ts.map +1 -0
  282. package/resources/download/index.js +9 -0
  283. package/resources/download/index.js.map +1 -0
  284. package/resources/download/index.mjs +4 -0
  285. package/resources/download/index.mjs.map +1 -0
  286. package/resources/export/content/content.d.ts +10 -0
  287. package/resources/export/content/content.d.ts.map +1 -0
  288. package/resources/export/content/content.js +40 -0
  289. package/resources/export/content/content.js.map +1 -0
  290. package/resources/export/content/content.mjs +13 -0
  291. package/resources/export/content/content.mjs.map +1 -0
  292. package/resources/export/content/data.d.ts +30 -0
  293. package/resources/export/content/data.d.ts.map +1 -0
  294. package/resources/export/content/data.js +27 -0
  295. package/resources/export/content/data.js.map +1 -0
  296. package/resources/export/content/data.mjs +23 -0
  297. package/resources/export/content/data.mjs.map +1 -0
  298. package/resources/export/content/index.d.ts +3 -0
  299. package/resources/export/content/index.d.ts.map +1 -0
  300. package/resources/export/content/index.js +9 -0
  301. package/resources/export/content/index.js.map +1 -0
  302. package/resources/export/content/index.mjs +4 -0
  303. package/resources/export/content/index.mjs.map +1 -0
  304. package/resources/export/export.d.ts +25 -0
  305. package/resources/export/export.d.ts.map +1 -0
  306. package/resources/export/export.js +56 -0
  307. package/resources/export/export.js.map +1 -0
  308. package/resources/export/export.mjs +29 -0
  309. package/resources/export/export.mjs.map +1 -0
  310. package/resources/export/index.d.ts +3 -0
  311. package/resources/export/index.d.ts.map +1 -0
  312. package/resources/export/index.js +9 -0
  313. package/resources/export/index.js.map +1 -0
  314. package/resources/export/index.mjs +4 -0
  315. package/resources/export/index.mjs.map +1 -0
  316. package/resources/help-center/collections.d.ts +237 -0
  317. package/resources/help-center/collections.d.ts.map +1 -0
  318. package/resources/help-center/collections.js +90 -0
  319. package/resources/help-center/collections.js.map +1 -0
  320. package/resources/help-center/collections.mjs +86 -0
  321. package/resources/help-center/collections.mjs.map +1 -0
  322. package/resources/help-center/help-center.d.ts +72 -0
  323. package/resources/help-center/help-center.d.ts.map +1 -0
  324. package/resources/help-center/help-center.js +43 -0
  325. package/resources/help-center/help-center.js.map +1 -0
  326. package/resources/help-center/help-center.mjs +16 -0
  327. package/resources/help-center/help-center.mjs.map +1 -0
  328. package/resources/help-center/help-centers.d.ts +37 -0
  329. package/resources/help-center/help-centers.d.ts.map +1 -0
  330. package/resources/help-center/help-centers.js +42 -0
  331. package/resources/help-center/help-centers.js.map +1 -0
  332. package/resources/help-center/help-centers.mjs +38 -0
  333. package/resources/help-center/help-centers.mjs.map +1 -0
  334. package/resources/help-center/index.d.ts +4 -0
  335. package/resources/help-center/index.d.ts.map +1 -0
  336. package/resources/help-center/index.js +11 -0
  337. package/resources/help-center/index.js.map +1 -0
  338. package/resources/help-center/index.mjs +5 -0
  339. package/resources/help-center/index.mjs.map +1 -0
  340. package/resources/index.d.ts +25 -0
  341. package/resources/index.d.ts.map +1 -0
  342. package/resources/index.js +67 -0
  343. package/resources/index.js.map +1 -0
  344. package/resources/index.mjs +26 -0
  345. package/resources/index.mjs.map +1 -0
  346. package/resources/me.d.ts +131 -0
  347. package/resources/me.d.ts.map +1 -0
  348. package/resources/me.js +27 -0
  349. package/resources/me.js.map +1 -0
  350. package/resources/me.mjs +23 -0
  351. package/resources/me.mjs.map +1 -0
  352. package/resources/messages.d.ts +54 -0
  353. package/resources/messages.d.ts.map +1 -0
  354. package/resources/messages.js +42 -0
  355. package/resources/messages.js.map +1 -0
  356. package/resources/messages.mjs +38 -0
  357. package/resources/messages.mjs.map +1 -0
  358. package/resources/news/index.d.ts +4 -0
  359. package/resources/news/index.d.ts.map +1 -0
  360. package/resources/news/index.js +11 -0
  361. package/resources/news/index.js.map +1 -0
  362. package/resources/news/index.mjs +5 -0
  363. package/resources/news/index.mjs.map +1 -0
  364. package/resources/news/news-items.d.ts +311 -0
  365. package/resources/news/news-items.d.ts.map +1 -0
  366. package/resources/news/news-items.js +89 -0
  367. package/resources/news/news-items.js.map +1 -0
  368. package/resources/news/news-items.mjs +85 -0
  369. package/resources/news/news-items.mjs.map +1 -0
  370. package/resources/news/news.d.ts +24 -0
  371. package/resources/news/news.d.ts.map +1 -0
  372. package/resources/news/news.js +43 -0
  373. package/resources/news/news.js.map +1 -0
  374. package/resources/news/news.mjs +16 -0
  375. package/resources/news/news.mjs.map +1 -0
  376. package/resources/news/newsfeeds/index.d.ts +3 -0
  377. package/resources/news/newsfeeds/index.d.ts.map +1 -0
  378. package/resources/news/newsfeeds/index.js +9 -0
  379. package/resources/news/newsfeeds/index.js.map +1 -0
  380. package/resources/news/newsfeeds/index.mjs +4 -0
  381. package/resources/news/newsfeeds/index.mjs.map +1 -0
  382. package/resources/news/newsfeeds/items.d.ts +49 -0
  383. package/resources/news/newsfeeds/items.d.ts.map +1 -0
  384. package/resources/news/newsfeeds/items.js +27 -0
  385. package/resources/news/newsfeeds/items.js.map +1 -0
  386. package/resources/news/newsfeeds/items.mjs +23 -0
  387. package/resources/news/newsfeeds/items.mjs.map +1 -0
  388. package/resources/news/newsfeeds/newsfeeds.d.ts +96 -0
  389. package/resources/news/newsfeeds/newsfeeds.d.ts.map +1 -0
  390. package/resources/news/newsfeeds/newsfeeds.js +71 -0
  391. package/resources/news/newsfeeds/newsfeeds.js.map +1 -0
  392. package/resources/news/newsfeeds/newsfeeds.mjs +44 -0
  393. package/resources/news/newsfeeds/newsfeeds.mjs.map +1 -0
  394. package/resources/notes.d.ts +22 -0
  395. package/resources/notes.d.ts.map +1 -0
  396. package/resources/notes.js +27 -0
  397. package/resources/notes.js.map +1 -0
  398. package/resources/notes.mjs +23 -0
  399. package/resources/notes.mjs.map +1 -0
  400. package/resources/phone-call-redirects.d.ts +75 -0
  401. package/resources/phone-call-redirects.d.ts.map +1 -0
  402. package/resources/phone-call-redirects.js +32 -0
  403. package/resources/phone-call-redirects.js.map +1 -0
  404. package/resources/phone-call-redirects.mjs +28 -0
  405. package/resources/phone-call-redirects.mjs.map +1 -0
  406. package/resources/segments.d.ts +92 -0
  407. package/resources/segments.d.ts.map +1 -0
  408. package/resources/segments.js +43 -0
  409. package/resources/segments.js.map +1 -0
  410. package/resources/segments.mjs +39 -0
  411. package/resources/segments.mjs.map +1 -0
  412. package/resources/shared.d.ts +2159 -0
  413. package/resources/shared.d.ts.map +1 -0
  414. package/resources/shared.js +4 -0
  415. package/resources/shared.js.map +1 -0
  416. package/resources/shared.mjs +3 -0
  417. package/resources/shared.mjs.map +1 -0
  418. package/resources/subscription-types.d.ts +23 -0
  419. package/resources/subscription-types.d.ts.map +1 -0
  420. package/resources/subscription-types.js +27 -0
  421. package/resources/subscription-types.js.map +1 -0
  422. package/resources/subscription-types.mjs +23 -0
  423. package/resources/subscription-types.mjs.map +1 -0
  424. package/resources/tags.d.ts +179 -0
  425. package/resources/tags.d.ts.map +1 -0
  426. package/resources/tags.js +96 -0
  427. package/resources/tags.js.map +1 -0
  428. package/resources/tags.mjs +92 -0
  429. package/resources/tags.mjs.map +1 -0
  430. package/resources/teams.d.ts +90 -0
  431. package/resources/teams.d.ts.map +1 -0
  432. package/resources/teams.js +42 -0
  433. package/resources/teams.js.map +1 -0
  434. package/resources/teams.mjs +38 -0
  435. package/resources/teams.mjs.map +1 -0
  436. package/resources/ticket-types/attributes.d.ts +131 -0
  437. package/resources/ticket-types/attributes.d.ts.map +1 -0
  438. package/resources/ticket-types/attributes.js +44 -0
  439. package/resources/ticket-types/attributes.js.map +1 -0
  440. package/resources/ticket-types/attributes.mjs +40 -0
  441. package/resources/ticket-types/attributes.mjs.map +1 -0
  442. package/resources/ticket-types/index.d.ts +3 -0
  443. package/resources/ticket-types/index.d.ts.map +1 -0
  444. package/resources/ticket-types/index.js +9 -0
  445. package/resources/ticket-types/index.js.map +1 -0
  446. package/resources/ticket-types/index.mjs +4 -0
  447. package/resources/ticket-types/index.mjs.map +1 -0
  448. package/resources/ticket-types/ticket-types.d.ts +204 -0
  449. package/resources/ticket-types/ticket-types.d.ts.map +1 -0
  450. package/resources/ticket-types/ticket-types.js +109 -0
  451. package/resources/ticket-types/ticket-types.js.map +1 -0
  452. package/resources/ticket-types/ticket-types.mjs +82 -0
  453. package/resources/ticket-types/ticket-types.mjs.map +1 -0
  454. package/resources/tickets/index.d.ts +3 -0
  455. package/resources/tickets/index.d.ts.map +1 -0
  456. package/resources/tickets/index.js +9 -0
  457. package/resources/tickets/index.js.map +1 -0
  458. package/resources/tickets/index.mjs +4 -0
  459. package/resources/tickets/index.mjs.map +1 -0
  460. package/resources/tickets/tags.d.ts +47 -0
  461. package/resources/tickets/tags.d.ts.map +1 -0
  462. package/resources/tickets/tags.js +45 -0
  463. package/resources/tickets/tags.js.map +1 -0
  464. package/resources/tickets/tags.mjs +41 -0
  465. package/resources/tickets/tags.mjs.map +1 -0
  466. package/resources/tickets/tickets.d.ts +472 -0
  467. package/resources/tickets/tickets.d.ts.map +1 -0
  468. package/resources/tickets/tickets.js +191 -0
  469. package/resources/tickets/tickets.js.map +1 -0
  470. package/resources/tickets/tickets.mjs +164 -0
  471. package/resources/tickets/tickets.mjs.map +1 -0
  472. package/resources/visitors.d.ts +355 -0
  473. package/resources/visitors.d.ts.map +1 -0
  474. package/resources/visitors.js +73 -0
  475. package/resources/visitors.js.map +1 -0
  476. package/resources/visitors.mjs +69 -0
  477. package/resources/visitors.mjs.map +1 -0
  478. package/shims/node.d.ts +29 -0
  479. package/shims/node.d.ts.map +1 -0
  480. package/shims/node.js +31 -0
  481. package/shims/node.js.map +1 -0
  482. package/shims/node.mjs +5 -0
  483. package/shims/node.mjs.map +1 -0
  484. package/shims/web.d.ts +26 -0
  485. package/shims/web.d.ts.map +1 -0
  486. package/shims/web.js +31 -0
  487. package/shims/web.js.map +1 -0
  488. package/shims/web.mjs +5 -0
  489. package/shims/web.mjs.map +1 -0
  490. package/src/_shims/MultipartBody.ts +9 -0
  491. package/src/_shims/README.md +46 -0
  492. package/src/_shims/auto/runtime-bun.ts +4 -0
  493. package/src/_shims/auto/runtime-node.ts +4 -0
  494. package/src/_shims/auto/runtime.ts +4 -0
  495. package/src/_shims/auto/types-node.ts +4 -0
  496. package/src/_shims/auto/types.d.ts +101 -0
  497. package/src/_shims/auto/types.js +3 -0
  498. package/src/_shims/auto/types.mjs +3 -0
  499. package/src/_shims/bun-runtime.ts +14 -0
  500. package/src/_shims/index.d.ts +81 -0
  501. package/src/_shims/index.js +13 -0
  502. package/src/_shims/index.mjs +7 -0
  503. package/src/_shims/manual-types.d.ts +12 -0
  504. package/src/_shims/manual-types.js +3 -0
  505. package/src/_shims/manual-types.mjs +3 -0
  506. package/src/_shims/node-runtime.ts +81 -0
  507. package/src/_shims/node-types.d.ts +42 -0
  508. package/src/_shims/node-types.js +3 -0
  509. package/src/_shims/node-types.mjs +3 -0
  510. package/src/_shims/registry.ts +67 -0
  511. package/src/_shims/web-runtime.ts +103 -0
  512. package/src/_shims/web-types.d.ts +83 -0
  513. package/src/_shims/web-types.js +3 -0
  514. package/src/_shims/web-types.mjs +3 -0
  515. package/src/core.ts +1165 -0
  516. package/src/error.ts +146 -0
  517. package/src/index.ts +408 -0
  518. package/src/lib/.keep +4 -0
  519. package/src/pagination.ts +91 -0
  520. package/src/resource.ts +11 -0
  521. package/src/resources/admins/activity-logs.ts +269 -0
  522. package/src/resources/admins/admins.ts +200 -0
  523. package/src/resources/admins/index.ts +4 -0
  524. package/src/resources/articles.ts +806 -0
  525. package/src/resources/companies/companies.ts +645 -0
  526. package/src/resources/companies/contacts.ts +97 -0
  527. package/src/resources/companies/index.ts +17 -0
  528. package/src/resources/companies/segments.ts +84 -0
  529. package/src/resources/contacts/companies.ts +236 -0
  530. package/src/resources/contacts/contacts.ts +904 -0
  531. package/src/resources/contacts/index.ts +35 -0
  532. package/src/resources/contacts/notes.ts +152 -0
  533. package/src/resources/contacts/segments.ts +84 -0
  534. package/src/resources/contacts/subscriptions.ts +291 -0
  535. package/src/resources/contacts/tags.ts +181 -0
  536. package/src/resources/conversations/conversations.ts +754 -0
  537. package/src/resources/conversations/customers.ts +247 -0
  538. package/src/resources/conversations/index.ts +20 -0
  539. package/src/resources/conversations/parts.ts +224 -0
  540. package/src/resources/conversations/reply.ts +288 -0
  541. package/src/resources/conversations/run-assignment-rules.ts +70 -0
  542. package/src/resources/conversations/tags.ts +125 -0
  543. package/src/resources/data-attributes.ts +347 -0
  544. package/src/resources/data-events.ts +454 -0
  545. package/src/resources/data-exports.ts +120 -0
  546. package/src/resources/download/content/content.ts +13 -0
  547. package/src/resources/download/content/data.ts +78 -0
  548. package/src/resources/download/content/index.ts +4 -0
  549. package/src/resources/download/download.ts +12 -0
  550. package/src/resources/download/index.ts +4 -0
  551. package/src/resources/export/content/content.ts +13 -0
  552. package/src/resources/export/content/data.ts +76 -0
  553. package/src/resources/export/content/index.ts +4 -0
  554. package/src/resources/export/export.ts +72 -0
  555. package/src/resources/export/index.ts +4 -0
  556. package/src/resources/help-center/collections.ts +469 -0
  557. package/src/resources/help-center/help-center.ts +84 -0
  558. package/src/resources/help-center/help-centers.ts +124 -0
  559. package/src/resources/help-center/index.ts +15 -0
  560. package/src/resources/index.ts +114 -0
  561. package/src/resources/me.ts +193 -0
  562. package/src/resources/messages.ts +110 -0
  563. package/src/resources/news/index.ts +21 -0
  564. package/src/resources/news/news-items.ts +545 -0
  565. package/src/resources/news/news.ts +27 -0
  566. package/src/resources/news/newsfeeds/index.ts +10 -0
  567. package/src/resources/news/newsfeeds/items.ts +95 -0
  568. package/src/resources/news/newsfeeds/newsfeeds.ts +190 -0
  569. package/src/resources/notes.ts +68 -0
  570. package/src/resources/phone-call-redirects.ts +120 -0
  571. package/src/resources/segments.ts +188 -0
  572. package/src/resources/shared.ts +2609 -0
  573. package/src/resources/subscription-types.ts +67 -0
  574. package/src/resources/tags.ts +414 -0
  575. package/src/resources/teams.ts +179 -0
  576. package/src/resources/ticket-types/attributes.ts +240 -0
  577. package/src/resources/ticket-types/index.ts +12 -0
  578. package/src/resources/ticket-types/ticket-types.ts +391 -0
  579. package/src/resources/tickets/index.ts +13 -0
  580. package/src/resources/tickets/tags.ts +125 -0
  581. package/src/resources/tickets/tickets.ts +780 -0
  582. package/src/resources/visitors.ts +542 -0
  583. package/src/shims/node.ts +50 -0
  584. package/src/shims/web.ts +50 -0
  585. package/src/tsconfig.json +11 -0
  586. package/src/uploads.ts +248 -0
  587. package/src/version.ts +1 -0
  588. package/uploads.d.ts +75 -0
  589. package/uploads.d.ts.map +1 -0
  590. package/uploads.js +165 -0
  591. package/uploads.js.map +1 -0
  592. package/uploads.mjs +152 -0
  593. package/uploads.mjs.map +1 -0
  594. package/version.d.ts +2 -0
  595. package/version.d.ts.map +1 -0
  596. package/version.js +5 -0
  597. package/version.js.map +1 -0
  598. package/version.mjs +2 -0
  599. package/version.mjs.map +1 -0
  600. package/Client.d.ts +0 -91
  601. package/Client.js +0 -117
  602. package/api/errors/BadRequestError.d.ts +0 -7
  603. package/api/errors/BadRequestError.js +0 -41
  604. package/api/errors/ForbiddenError.d.ts +0 -8
  605. package/api/errors/ForbiddenError.js +0 -41
  606. package/api/errors/NotFoundError.d.ts +0 -7
  607. package/api/errors/NotFoundError.js +0 -41
  608. package/api/errors/UnauthorizedError.d.ts +0 -8
  609. package/api/errors/UnauthorizedError.js +0 -41
  610. package/api/errors/UnprocessableEntityError.d.ts +0 -7
  611. package/api/errors/UnprocessableEntityError.js +0 -41
  612. package/api/errors/index.d.ts +0 -5
  613. package/api/errors/index.js +0 -21
  614. package/api/index.d.ts +0 -4
  615. package/api/index.js +0 -19
  616. package/api/resources/admins/client/Client.d.ts +0 -101
  617. package/api/resources/admins/client/Client.js +0 -387
  618. package/api/resources/admins/client/index.d.ts +0 -1
  619. package/api/resources/admins/client/index.js +0 -17
  620. package/api/resources/admins/client/requests/AdminsAwayRequest.d.ts +0 -28
  621. package/api/resources/admins/client/requests/AdminsAwayRequest.js +0 -5
  622. package/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.d.ts +0 -19
  623. package/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.js +0 -5
  624. package/api/resources/admins/client/requests/index.d.ts +0 -2
  625. package/api/resources/admins/client/requests/index.js +0 -2
  626. package/api/resources/admins/index.d.ts +0 -2
  627. package/api/resources/admins/index.js +0 -18
  628. package/api/resources/admins/types/Admin.d.ts +0 -30
  629. package/api/resources/admins/types/Admin.js +0 -5
  630. package/api/resources/admins/types/index.d.ts +0 -1
  631. package/api/resources/admins/types/index.js +0 -17
  632. package/api/resources/aiAgent/index.d.ts +0 -1
  633. package/api/resources/aiAgent/index.js +0 -17
  634. package/api/resources/aiAgent/types/AiAgent.d.ts +0 -22
  635. package/api/resources/aiAgent/types/AiAgent.js +0 -5
  636. package/api/resources/aiAgent/types/AiAgentSourceType.d.ts +0 -14
  637. package/api/resources/aiAgent/types/AiAgentSourceType.js +0 -13
  638. package/api/resources/aiAgent/types/index.d.ts +0 -2
  639. package/api/resources/aiAgent/types/index.js +0 -18
  640. package/api/resources/aiContentSource/index.d.ts +0 -1
  641. package/api/resources/aiContentSource/index.js +0 -17
  642. package/api/resources/aiContentSource/types/ContentSource.d.ts +0 -17
  643. package/api/resources/aiContentSource/types/ContentSource.js +0 -5
  644. package/api/resources/aiContentSource/types/ContentSourceContentType.d.ts +0 -14
  645. package/api/resources/aiContentSource/types/ContentSourceContentType.js +0 -13
  646. package/api/resources/aiContentSource/types/index.d.ts +0 -2
  647. package/api/resources/aiContentSource/types/index.js +0 -18
  648. package/api/resources/articles/client/Client.d.ts +0 -142
  649. package/api/resources/articles/client/Client.js +0 -495
  650. package/api/resources/articles/client/index.d.ts +0 -1
  651. package/api/resources/articles/client/index.js +0 -17
  652. package/api/resources/articles/client/requests/ArticlesSearchRequest.d.ts +0 -25
  653. package/api/resources/articles/client/requests/ArticlesSearchRequest.js +0 -5
  654. package/api/resources/articles/client/requests/index.d.ts +0 -1
  655. package/api/resources/articles/client/requests/index.js +0 -2
  656. package/api/resources/articles/index.d.ts +0 -2
  657. package/api/resources/articles/index.js +0 -18
  658. package/api/resources/articles/types/Article.d.ts +0 -10
  659. package/api/resources/articles/types/Article.js +0 -5
  660. package/api/resources/articles/types/ArticleListItem.d.ts +0 -40
  661. package/api/resources/articles/types/ArticleListItem.js +0 -5
  662. package/api/resources/articles/types/ArticleListItemState.d.ts +0 -11
  663. package/api/resources/articles/types/ArticleListItemState.js +0 -10
  664. package/api/resources/articles/types/ArticleSearchHighlights.d.ts +0 -15
  665. package/api/resources/articles/types/ArticleSearchHighlights.js +0 -5
  666. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.d.ts +0 -13
  667. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.js +0 -5
  668. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.d.ts +0 -11
  669. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.js +0 -10
  670. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.d.ts +0 -13
  671. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.js +0 -5
  672. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.d.ts +0 -11
  673. package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.js +0 -10
  674. package/api/resources/articles/types/ArticleSearchResponse.d.ts +0 -16
  675. package/api/resources/articles/types/ArticleSearchResponse.js +0 -5
  676. package/api/resources/articles/types/ArticleSearchResponseData.d.ts +0 -13
  677. package/api/resources/articles/types/ArticleSearchResponseData.js +0 -5
  678. package/api/resources/articles/types/index.d.ts +0 -10
  679. package/api/resources/articles/types/index.js +0 -26
  680. package/api/resources/companies/client/Client.d.ts +0 -237
  681. package/api/resources/companies/client/Client.js +0 -893
  682. package/api/resources/companies/client/index.d.ts +0 -1
  683. package/api/resources/companies/client/index.js +0 -17
  684. package/api/resources/companies/client/requests/CompaniesAttachContactRequest.d.ts +0 -23
  685. package/api/resources/companies/client/requests/CompaniesAttachContactRequest.js +0 -5
  686. package/api/resources/companies/client/requests/CompaniesListRequest.d.ts +0 -21
  687. package/api/resources/companies/client/requests/CompaniesListRequest.js +0 -5
  688. package/api/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +0 -33
  689. package/api/resources/companies/client/requests/CompaniesRetrieveRequest.js +0 -5
  690. package/api/resources/companies/client/requests/CompaniesScrollRequest.d.ts +0 -13
  691. package/api/resources/companies/client/requests/CompaniesScrollRequest.js +0 -5
  692. package/api/resources/companies/client/requests/index.d.ts +0 -4
  693. package/api/resources/companies/client/requests/index.js +0 -2
  694. package/api/resources/companies/index.d.ts +0 -2
  695. package/api/resources/companies/index.js +0 -18
  696. package/api/resources/companies/types/Company.d.ts +0 -46
  697. package/api/resources/companies/types/Company.js +0 -5
  698. package/api/resources/companies/types/CompanyPlan.d.ts +0 -11
  699. package/api/resources/companies/types/CompanyPlan.js +0 -5
  700. package/api/resources/companies/types/CompanySegments.d.ts +0 -12
  701. package/api/resources/companies/types/CompanySegments.js +0 -5
  702. package/api/resources/companies/types/CompanyTags.d.ts +0 -11
  703. package/api/resources/companies/types/CompanyTags.js +0 -5
  704. package/api/resources/companies/types/index.d.ts +0 -4
  705. package/api/resources/companies/types/index.js +0 -20
  706. package/api/resources/contacts/client/Client.d.ts +0 -363
  707. package/api/resources/contacts/client/Client.js +0 -1150
  708. package/api/resources/contacts/client/index.d.ts +0 -1
  709. package/api/resources/contacts/client/index.js +0 -17
  710. package/api/resources/contacts/client/requests/ContactsAttachToContactRequest.d.ts +0 -28
  711. package/api/resources/contacts/client/requests/ContactsAttachToContactRequest.js +0 -5
  712. package/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +0 -16
  713. package/api/resources/contacts/client/requests/MergeContactsRequest.js +0 -5
  714. package/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +0 -34
  715. package/api/resources/contacts/client/requests/UpdateContactRequest.js +0 -5
  716. package/api/resources/contacts/client/requests/index.d.ts +0 -3
  717. package/api/resources/contacts/client/requests/index.js +0 -2
  718. package/api/resources/contacts/index.d.ts +0 -2
  719. package/api/resources/contacts/index.js +0 -18
  720. package/api/resources/contacts/types/Contact.d.ts +0 -95
  721. package/api/resources/contacts/types/Contact.js +0 -5
  722. package/api/resources/contacts/types/ContactAvatar.d.ts +0 -9
  723. package/api/resources/contacts/types/ContactAvatar.js +0 -5
  724. package/api/resources/contacts/types/index.d.ts +0 -2
  725. package/api/resources/contacts/types/index.js +0 -18
  726. package/api/resources/conversations/client/Client.d.ts +0 -446
  727. package/api/resources/conversations/client/Client.js +0 -1153
  728. package/api/resources/conversations/client/index.d.ts +0 -1
  729. package/api/resources/conversations/client/index.js +0 -17
  730. package/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +0 -26
  731. package/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +0 -5
  732. package/api/resources/conversations/client/requests/ConversationsFindRequest.d.ts +0 -13
  733. package/api/resources/conversations/client/requests/ConversationsFindRequest.js +0 -5
  734. package/api/resources/conversations/client/requests/ConversationsListRequest.d.ts +0 -17
  735. package/api/resources/conversations/client/requests/ConversationsListRequest.js +0 -5
  736. package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +0 -20
  737. package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +0 -5
  738. package/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +0 -28
  739. package/api/resources/conversations/client/requests/CreateConversationRequest.js +0 -5
  740. package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -28
  741. package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +0 -5
  742. package/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -32
  743. package/api/resources/conversations/client/requests/UpdateConversationRequest.js +0 -5
  744. package/api/resources/conversations/client/requests/index.d.ts +0 -7
  745. package/api/resources/conversations/client/requests/index.js +0 -2
  746. package/api/resources/conversations/index.d.ts +0 -2
  747. package/api/resources/conversations/index.js +0 -18
  748. package/api/resources/conversations/types/AttachContactToConversationRequestCustomer.d.ts +0 -5
  749. package/api/resources/conversations/types/AttachContactToConversationRequestCustomer.js +0 -5
  750. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.d.ts +0 -9
  751. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.js +0 -5
  752. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.d.ts +0 -9
  753. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.js +0 -5
  754. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.d.ts +0 -9
  755. package/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.js +0 -5
  756. package/api/resources/conversations/types/Conversation.d.ts +0 -49
  757. package/api/resources/conversations/types/Conversation.js +0 -5
  758. package/api/resources/conversations/types/ConversationPriority.d.ts +0 -11
  759. package/api/resources/conversations/types/ConversationPriority.js +0 -10
  760. package/api/resources/conversations/types/ConversationState.d.ts +0 -12
  761. package/api/resources/conversations/types/ConversationState.js +0 -11
  762. package/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +0 -19
  763. package/api/resources/conversations/types/ConversationsManageRequestBody.js +0 -5
  764. package/api/resources/conversations/types/CreateConversationRequestFrom.d.ts +0 -10
  765. package/api/resources/conversations/types/CreateConversationRequestFrom.js +0 -5
  766. package/api/resources/conversations/types/CreateConversationRequestFromType.d.ts +0 -12
  767. package/api/resources/conversations/types/CreateConversationRequestFromType.js +0 -11
  768. package/api/resources/conversations/types/index.d.ts +0 -10
  769. package/api/resources/conversations/types/index.js +0 -26
  770. package/api/resources/customObjectInstances/index.d.ts +0 -1
  771. package/api/resources/customObjectInstances/index.js +0 -17
  772. package/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +0 -16
  773. package/api/resources/customObjectInstances/types/CustomObjectInstance.js +0 -5
  774. package/api/resources/customObjectInstances/types/index.d.ts +0 -1
  775. package/api/resources/customObjectInstances/types/index.js +0 -17
  776. package/api/resources/dataAttributes/client/Client.d.ts +0 -136
  777. package/api/resources/dataAttributes/client/Client.js +0 -336
  778. package/api/resources/dataAttributes/client/index.d.ts +0 -1
  779. package/api/resources/dataAttributes/client/index.js +0 -17
  780. package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +0 -63
  781. package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +0 -5
  782. package/api/resources/dataAttributes/client/requests/DataAttributesListRequest.d.ts +0 -18
  783. package/api/resources/dataAttributes/client/requests/DataAttributesListRequest.js +0 -5
  784. package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -41
  785. package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +0 -5
  786. package/api/resources/dataAttributes/client/requests/index.d.ts +0 -3
  787. package/api/resources/dataAttributes/client/requests/index.js +0 -2
  788. package/api/resources/dataAttributes/index.d.ts +0 -2
  789. package/api/resources/dataAttributes/index.js +0 -18
  790. package/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.d.ts +0 -15
  791. package/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.js +0 -14
  792. package/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.d.ts +0 -11
  793. package/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.js +0 -10
  794. package/api/resources/dataAttributes/types/DataAttribute.d.ts +0 -43
  795. package/api/resources/dataAttributes/types/DataAttribute.js +0 -5
  796. package/api/resources/dataAttributes/types/DataAttributeDataType.d.ts +0 -14
  797. package/api/resources/dataAttributes/types/DataAttributeDataType.js +0 -13
  798. package/api/resources/dataAttributes/types/DataAttributeModel.d.ts +0 -11
  799. package/api/resources/dataAttributes/types/DataAttributeModel.js +0 -10
  800. package/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +0 -9
  801. package/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +0 -11
  802. package/api/resources/dataAttributes/types/index.d.ts +0 -6
  803. package/api/resources/dataAttributes/types/index.js +0 -22
  804. package/api/resources/dataEvents/index.d.ts +0 -1
  805. package/api/resources/dataEvents/index.js +0 -17
  806. package/api/resources/dataEvents/types/DataEvent.d.ts +0 -24
  807. package/api/resources/dataEvents/types/DataEvent.js +0 -5
  808. package/api/resources/dataEvents/types/index.d.ts +0 -1
  809. package/api/resources/dataEvents/types/index.js +0 -17
  810. package/api/resources/dataExport/client/Client.d.ts +0 -100
  811. package/api/resources/dataExport/client/Client.js +0 -310
  812. package/api/resources/dataExport/client/index.d.ts +0 -1
  813. package/api/resources/dataExport/client/index.js +0 -17
  814. package/api/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +0 -16
  815. package/api/resources/dataExport/client/requests/CreateDataExportsRequest.js +0 -5
  816. package/api/resources/dataExport/client/requests/index.d.ts +0 -1
  817. package/api/resources/dataExport/client/requests/index.js +0 -2
  818. package/api/resources/dataExport/index.d.ts +0 -2
  819. package/api/resources/dataExport/index.js +0 -18
  820. package/api/resources/dataExport/types/DataExport.d.ts +0 -17
  821. package/api/resources/dataExport/types/DataExport.js +0 -5
  822. package/api/resources/dataExport/types/DataExportStatus.d.ts +0 -15
  823. package/api/resources/dataExport/types/DataExportStatus.js +0 -14
  824. package/api/resources/dataExport/types/index.d.ts +0 -2
  825. package/api/resources/dataExport/types/index.js +0 -18
  826. package/api/resources/events/client/Client.d.ts +0 -127
  827. package/api/resources/events/client/Client.js +0 -318
  828. package/api/resources/events/client/index.d.ts +0 -1
  829. package/api/resources/events/client/index.js +0 -17
  830. package/api/resources/events/client/requests/CreateDataEventSummariesRequest.d.ts +0 -14
  831. package/api/resources/events/client/requests/CreateDataEventSummariesRequest.js +0 -5
  832. package/api/resources/events/client/requests/EventsListRequest.d.ts +0 -25
  833. package/api/resources/events/client/requests/EventsListRequest.js +0 -5
  834. package/api/resources/events/client/requests/index.d.ts +0 -2
  835. package/api/resources/events/client/requests/index.js +0 -2
  836. package/api/resources/events/index.d.ts +0 -2
  837. package/api/resources/events/index.js +0 -18
  838. package/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.d.ts +0 -16
  839. package/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.js +0 -5
  840. package/api/resources/events/types/EventsListRequestFilter.d.ts +0 -5
  841. package/api/resources/events/types/EventsListRequestFilter.js +0 -5
  842. package/api/resources/events/types/EventsListRequestFilterEmail.d.ts +0 -6
  843. package/api/resources/events/types/EventsListRequestFilterEmail.js +0 -5
  844. package/api/resources/events/types/EventsListRequestFilterIntercomUserId.d.ts +0 -6
  845. package/api/resources/events/types/EventsListRequestFilterIntercomUserId.js +0 -5
  846. package/api/resources/events/types/EventsListRequestFilterUserId.d.ts +0 -6
  847. package/api/resources/events/types/EventsListRequestFilterUserId.js +0 -5
  848. package/api/resources/events/types/index.d.ts +0 -5
  849. package/api/resources/events/types/index.js +0 -21
  850. package/api/resources/helpCenter/client/Client.d.ts +0 -60
  851. package/api/resources/helpCenter/client/Client.js +0 -196
  852. package/api/resources/helpCenter/client/index.d.ts +0 -1
  853. package/api/resources/helpCenter/client/index.js +0 -2
  854. package/api/resources/helpCenter/index.d.ts +0 -3
  855. package/api/resources/helpCenter/index.js +0 -19
  856. package/api/resources/helpCenter/resources/collections/client/Client.d.ts +0 -106
  857. package/api/resources/helpCenter/resources/collections/client/Client.js +0 -395
  858. package/api/resources/helpCenter/resources/collections/client/index.d.ts +0 -1
  859. package/api/resources/helpCenter/resources/collections/client/index.js +0 -17
  860. package/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.d.ts +0 -27
  861. package/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.js +0 -5
  862. package/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -24
  863. package/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.js +0 -5
  864. package/api/resources/helpCenter/resources/collections/client/requests/index.d.ts +0 -2
  865. package/api/resources/helpCenter/resources/collections/client/requests/index.js +0 -2
  866. package/api/resources/helpCenter/resources/collections/index.d.ts +0 -1
  867. package/api/resources/helpCenter/resources/collections/index.js +0 -17
  868. package/api/resources/helpCenter/resources/index.d.ts +0 -2
  869. package/api/resources/helpCenter/resources/index.js +0 -31
  870. package/api/resources/helpCenter/types/Collection.d.ts +0 -34
  871. package/api/resources/helpCenter/types/Collection.js +0 -5
  872. package/api/resources/helpCenter/types/HelpCenter.d.ts +0 -22
  873. package/api/resources/helpCenter/types/HelpCenter.js +0 -5
  874. package/api/resources/helpCenter/types/HelpCenterList.d.ts +0 -13
  875. package/api/resources/helpCenter/types/HelpCenterList.js +0 -5
  876. package/api/resources/helpCenter/types/index.d.ts +0 -3
  877. package/api/resources/helpCenter/types/index.js +0 -19
  878. package/api/resources/index.d.ts +0 -63
  879. package/api/resources/index.js +0 -92
  880. package/api/resources/messages/client/Client.d.ts +0 -145
  881. package/api/resources/messages/client/Client.js +0 -235
  882. package/api/resources/messages/client/index.d.ts +0 -1
  883. package/api/resources/messages/client/index.js +0 -2
  884. package/api/resources/messages/index.d.ts +0 -2
  885. package/api/resources/messages/index.js +0 -18
  886. package/api/resources/messages/types/Message.d.ts +0 -23
  887. package/api/resources/messages/types/Message.js +0 -5
  888. package/api/resources/messages/types/MessageMessageType.d.ts +0 -13
  889. package/api/resources/messages/types/MessageMessageType.js +0 -12
  890. package/api/resources/messages/types/index.d.ts +0 -2
  891. package/api/resources/messages/types/index.js +0 -18
  892. package/api/resources/news/client/Client.d.ts +0 -154
  893. package/api/resources/news/client/Client.js +0 -588
  894. package/api/resources/news/client/index.d.ts +0 -1
  895. package/api/resources/news/client/index.js +0 -2
  896. package/api/resources/news/index.d.ts +0 -2
  897. package/api/resources/news/index.js +0 -18
  898. package/api/resources/news/types/NewsItem.d.ts +0 -35
  899. package/api/resources/news/types/NewsItem.js +0 -5
  900. package/api/resources/news/types/NewsItemState.d.ts +0 -11
  901. package/api/resources/news/types/NewsItemState.js +0 -10
  902. package/api/resources/news/types/Newsfeed.d.ts +0 -18
  903. package/api/resources/news/types/Newsfeed.js +0 -5
  904. package/api/resources/news/types/NewsfeedAssignment.d.ts +0 -12
  905. package/api/resources/news/types/NewsfeedAssignment.js +0 -5
  906. package/api/resources/news/types/index.d.ts +0 -4
  907. package/api/resources/news/types/index.js +0 -20
  908. package/api/resources/notes/client/Client.d.ts +0 -89
  909. package/api/resources/notes/client/Client.js +0 -273
  910. package/api/resources/notes/client/index.d.ts +0 -1
  911. package/api/resources/notes/client/index.js +0 -17
  912. package/api/resources/notes/client/requests/NotesCreateRequest.d.ts +0 -33
  913. package/api/resources/notes/client/requests/NotesCreateRequest.js +0 -5
  914. package/api/resources/notes/client/requests/index.d.ts +0 -1
  915. package/api/resources/notes/client/requests/index.js +0 -2
  916. package/api/resources/notes/index.d.ts +0 -2
  917. package/api/resources/notes/index.js +0 -18
  918. package/api/resources/notes/types/Note.d.ts +0 -21
  919. package/api/resources/notes/types/Note.js +0 -5
  920. package/api/resources/notes/types/NoteContact.d.ts +0 -12
  921. package/api/resources/notes/types/NoteContact.js +0 -5
  922. package/api/resources/notes/types/index.d.ts +0 -2
  923. package/api/resources/notes/types/index.js +0 -18
  924. package/api/resources/phoneCallRedirect/client/Client.d.ts +0 -62
  925. package/api/resources/phoneCallRedirect/client/Client.js +0 -150
  926. package/api/resources/phoneCallRedirect/client/index.d.ts +0 -1
  927. package/api/resources/phoneCallRedirect/client/index.js +0 -2
  928. package/api/resources/phoneCallRedirect/index.d.ts +0 -1
  929. package/api/resources/phoneCallRedirect/index.js +0 -17
  930. package/api/resources/segments/client/Client.d.ts +0 -58
  931. package/api/resources/segments/client/Client.js +0 -198
  932. package/api/resources/segments/client/index.d.ts +0 -1
  933. package/api/resources/segments/client/index.js +0 -17
  934. package/api/resources/segments/client/requests/SegmentsListRequest.d.ts +0 -13
  935. package/api/resources/segments/client/requests/SegmentsListRequest.js +0 -5
  936. package/api/resources/segments/client/requests/index.d.ts +0 -1
  937. package/api/resources/segments/client/requests/index.js +0 -2
  938. package/api/resources/segments/index.d.ts +0 -2
  939. package/api/resources/segments/index.js +0 -18
  940. package/api/resources/segments/types/Segment.d.ts +0 -23
  941. package/api/resources/segments/types/Segment.js +0 -5
  942. package/api/resources/segments/types/SegmentPersonType.d.ts +0 -11
  943. package/api/resources/segments/types/SegmentPersonType.js +0 -10
  944. package/api/resources/segments/types/index.d.ts +0 -2
  945. package/api/resources/segments/types/index.js +0 -18
  946. package/api/resources/subscriptionTypes/index.d.ts +0 -1
  947. package/api/resources/subscriptionTypes/index.js +0 -17
  948. package/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +0 -22
  949. package/api/resources/subscriptionTypes/types/SubscriptionType.js +0 -5
  950. package/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.d.ts +0 -11
  951. package/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.js +0 -10
  952. package/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.d.ts +0 -8
  953. package/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.js +0 -10
  954. package/api/resources/subscriptionTypes/types/SubscriptionTypeState.d.ts +0 -12
  955. package/api/resources/subscriptionTypes/types/SubscriptionTypeState.js +0 -11
  956. package/api/resources/subscriptionTypes/types/index.d.ts +0 -4
  957. package/api/resources/subscriptionTypes/types/index.js +0 -20
  958. package/api/resources/subscriptions/client/Client.d.ts +0 -41
  959. package/api/resources/subscriptions/client/Client.js +0 -124
  960. package/api/resources/subscriptions/client/index.d.ts +0 -1
  961. package/api/resources/subscriptions/client/index.js +0 -2
  962. package/api/resources/subscriptions/index.d.ts +0 -1
  963. package/api/resources/subscriptions/index.js +0 -17
  964. package/api/resources/tags/client/Client.d.ts +0 -224
  965. package/api/resources/tags/client/Client.js +0 -776
  966. package/api/resources/tags/client/index.d.ts +0 -1
  967. package/api/resources/tags/client/index.js +0 -17
  968. package/api/resources/tags/client/requests/TagsAttachRequest.d.ts +0 -22
  969. package/api/resources/tags/client/requests/TagsAttachRequest.js +0 -5
  970. package/api/resources/tags/client/requests/TagsDetachRequest.d.ts +0 -23
  971. package/api/resources/tags/client/requests/TagsDetachRequest.js +0 -5
  972. package/api/resources/tags/client/requests/TagsTagContactRequest.d.ts +0 -23
  973. package/api/resources/tags/client/requests/TagsTagContactRequest.js +0 -5
  974. package/api/resources/tags/client/requests/TagsTagConversationRequest.d.ts +0 -22
  975. package/api/resources/tags/client/requests/TagsTagConversationRequest.js +0 -5
  976. package/api/resources/tags/client/requests/TagsUntagConversationRequest.d.ts +0 -23
  977. package/api/resources/tags/client/requests/TagsUntagConversationRequest.js +0 -5
  978. package/api/resources/tags/client/requests/index.d.ts +0 -5
  979. package/api/resources/tags/client/requests/index.js +0 -2
  980. package/api/resources/tags/index.d.ts +0 -2
  981. package/api/resources/tags/index.js +0 -18
  982. package/api/resources/tags/types/Tag.d.ts +0 -18
  983. package/api/resources/tags/types/Tag.js +0 -5
  984. package/api/resources/tags/types/TagsCreateRequestBody.d.ts +0 -5
  985. package/api/resources/tags/types/TagsCreateRequestBody.js +0 -5
  986. package/api/resources/tags/types/index.d.ts +0 -2
  987. package/api/resources/tags/types/index.js +0 -18
  988. package/api/resources/teams/client/Client.d.ts +0 -57
  989. package/api/resources/teams/client/Client.js +0 -191
  990. package/api/resources/teams/client/index.d.ts +0 -1
  991. package/api/resources/teams/client/index.js +0 -2
  992. package/api/resources/teams/index.d.ts +0 -2
  993. package/api/resources/teams/index.js +0 -18
  994. package/api/resources/teams/types/Team.d.ts +0 -18
  995. package/api/resources/teams/types/Team.js +0 -5
  996. package/api/resources/teams/types/index.d.ts +0 -1
  997. package/api/resources/teams/types/index.js +0 -17
  998. package/api/resources/ticketTypeAttributes/client/Client.d.ts +0 -67
  999. package/api/resources/ticketTypeAttributes/client/Client.js +0 -201
  1000. package/api/resources/ticketTypeAttributes/client/index.d.ts +0 -1
  1001. package/api/resources/ticketTypeAttributes/client/index.js +0 -17
  1002. package/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +0 -35
  1003. package/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +0 -5
  1004. package/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +0 -31
  1005. package/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +0 -5
  1006. package/api/resources/ticketTypeAttributes/client/requests/index.d.ts +0 -2
  1007. package/api/resources/ticketTypeAttributes/client/requests/index.js +0 -2
  1008. package/api/resources/ticketTypeAttributes/index.d.ts +0 -2
  1009. package/api/resources/ticketTypeAttributes/index.js +0 -18
  1010. package/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.d.ts +0 -16
  1011. package/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.js +0 -15
  1012. package/api/resources/ticketTypeAttributes/types/index.d.ts +0 -1
  1013. package/api/resources/ticketTypeAttributes/types/index.js +0 -17
  1014. package/api/resources/ticketTypes/client/Client.d.ts +0 -97
  1015. package/api/resources/ticketTypes/client/Client.js +0 -329
  1016. package/api/resources/ticketTypes/client/index.d.ts +0 -1
  1017. package/api/resources/ticketTypes/client/index.js +0 -2
  1018. package/api/resources/ticketTypes/index.d.ts +0 -1
  1019. package/api/resources/ticketTypes/index.js +0 -17
  1020. package/api/resources/tickets/client/Client.d.ts +0 -251
  1021. package/api/resources/tickets/client/Client.js +0 -546
  1022. package/api/resources/tickets/client/index.d.ts +0 -1
  1023. package/api/resources/tickets/client/index.js +0 -17
  1024. package/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +0 -28
  1025. package/api/resources/tickets/client/requests/CreateTicketRequest.js +0 -5
  1026. package/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -59
  1027. package/api/resources/tickets/client/requests/UpdateTicketRequest.js +0 -5
  1028. package/api/resources/tickets/client/requests/index.d.ts +0 -2
  1029. package/api/resources/tickets/client/requests/index.js +0 -2
  1030. package/api/resources/tickets/index.d.ts +0 -2
  1031. package/api/resources/tickets/index.js +0 -18
  1032. package/api/resources/tickets/types/CreateTicketRequestContactsItem.d.ts +0 -5
  1033. package/api/resources/tickets/types/CreateTicketRequestContactsItem.js +0 -5
  1034. package/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.d.ts +0 -7
  1035. package/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.js +0 -5
  1036. package/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.d.ts +0 -7
  1037. package/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.js +0 -5
  1038. package/api/resources/tickets/types/CreateTicketRequestContactsItemId.d.ts +0 -7
  1039. package/api/resources/tickets/types/CreateTicketRequestContactsItemId.js +0 -5
  1040. package/api/resources/tickets/types/Ticket.d.ts +0 -42
  1041. package/api/resources/tickets/types/Ticket.js +0 -5
  1042. package/api/resources/tickets/types/TicketCategory.d.ts +0 -12
  1043. package/api/resources/tickets/types/TicketCategory.js +0 -11
  1044. package/api/resources/tickets/types/TicketContacts.d.ts +0 -13
  1045. package/api/resources/tickets/types/TicketContacts.js +0 -5
  1046. package/api/resources/tickets/types/TicketPart.d.ts +0 -34
  1047. package/api/resources/tickets/types/TicketPart.js +0 -5
  1048. package/api/resources/tickets/types/TicketPartPreviousTicketState.d.ts +0 -13
  1049. package/api/resources/tickets/types/TicketPartPreviousTicketState.js +0 -12
  1050. package/api/resources/tickets/types/TicketPartTicketState.d.ts +0 -13
  1051. package/api/resources/tickets/types/TicketPartTicketState.js +0 -12
  1052. package/api/resources/tickets/types/TicketTicketState.d.ts +0 -13
  1053. package/api/resources/tickets/types/TicketTicketState.js +0 -12
  1054. package/api/resources/tickets/types/TicketType.d.ts +0 -30
  1055. package/api/resources/tickets/types/TicketType.js +0 -5
  1056. package/api/resources/tickets/types/TicketTypeCategory.d.ts +0 -12
  1057. package/api/resources/tickets/types/TicketTypeCategory.js +0 -11
  1058. package/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +0 -5
  1059. package/api/resources/tickets/types/TicketsReplyRequestBody.js +0 -5
  1060. package/api/resources/tickets/types/UpdateTicketRequestAssignment.d.ts +0 -9
  1061. package/api/resources/tickets/types/UpdateTicketRequestAssignment.js +0 -5
  1062. package/api/resources/tickets/types/UpdateTicketRequestState.d.ts +0 -12
  1063. package/api/resources/tickets/types/UpdateTicketRequestState.js +0 -11
  1064. package/api/resources/tickets/types/index.d.ts +0 -16
  1065. package/api/resources/tickets/types/index.js +0 -32
  1066. package/api/resources/visitors/client/Client.d.ts +0 -97
  1067. package/api/resources/visitors/client/Client.js +0 -288
  1068. package/api/resources/visitors/client/index.d.ts +0 -1
  1069. package/api/resources/visitors/client/index.js +0 -17
  1070. package/api/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +0 -25
  1071. package/api/resources/visitors/client/requests/ConvertVisitorRequest.js +0 -5
  1072. package/api/resources/visitors/client/requests/VisitorsFindRequest.d.ts +0 -15
  1073. package/api/resources/visitors/client/requests/VisitorsFindRequest.js +0 -5
  1074. package/api/resources/visitors/client/requests/index.d.ts +0 -2
  1075. package/api/resources/visitors/client/requests/index.js +0 -2
  1076. package/api/resources/visitors/index.d.ts +0 -2
  1077. package/api/resources/visitors/index.js +0 -18
  1078. package/api/resources/visitors/types/ConvertVisitorRequestUser.d.ts +0 -8
  1079. package/api/resources/visitors/types/ConvertVisitorRequestUser.js +0 -5
  1080. package/api/resources/visitors/types/ConvertVisitorRequestVisitor.d.ts +0 -8
  1081. package/api/resources/visitors/types/ConvertVisitorRequestVisitor.js +0 -5
  1082. package/api/resources/visitors/types/UserWithId.d.ts +0 -9
  1083. package/api/resources/visitors/types/UserWithId.js +0 -5
  1084. package/api/resources/visitors/types/UserWithUserId.d.ts +0 -9
  1085. package/api/resources/visitors/types/UserWithUserId.js +0 -5
  1086. package/api/resources/visitors/types/VisitorWithEmail.d.ts +0 -7
  1087. package/api/resources/visitors/types/VisitorWithEmail.js +0 -5
  1088. package/api/resources/visitors/types/VisitorWithId.d.ts +0 -7
  1089. package/api/resources/visitors/types/VisitorWithId.js +0 -5
  1090. package/api/resources/visitors/types/VisitorWithUserId.d.ts +0 -7
  1091. package/api/resources/visitors/types/VisitorWithUserId.js +0 -5
  1092. package/api/resources/visitors/types/index.d.ts +0 -7
  1093. package/api/resources/visitors/types/index.js +0 -23
  1094. package/api/types/ActivityLog.d.ts +0 -19
  1095. package/api/types/ActivityLog.js +0 -5
  1096. package/api/types/ActivityLogActivityType.d.ts +0 -73
  1097. package/api/types/ActivityLogActivityType.js +0 -75
  1098. package/api/types/ActivityLogList.d.ts +0 -14
  1099. package/api/types/ActivityLogList.js +0 -5
  1100. package/api/types/ActivityLogMetadata.d.ts +0 -26
  1101. package/api/types/ActivityLogMetadata.js +0 -5
  1102. package/api/types/ActivityLogPerformedBy.d.ts +0 -16
  1103. package/api/types/ActivityLogPerformedBy.js +0 -5
  1104. package/api/types/AddressableList.d.ts +0 -14
  1105. package/api/types/AddressableList.js +0 -5
  1106. package/api/types/AdminList.d.ts +0 -13
  1107. package/api/types/AdminList.js +0 -5
  1108. package/api/types/AdminPriorityLevel.d.ts +0 -12
  1109. package/api/types/AdminPriorityLevel.js +0 -5
  1110. package/api/types/AdminReplyConversationRequest.d.ts +0 -21
  1111. package/api/types/AdminReplyConversationRequest.js +0 -5
  1112. package/api/types/AdminReplyConversationRequestMessageType.d.ts +0 -8
  1113. package/api/types/AdminReplyConversationRequestMessageType.js +0 -10
  1114. package/api/types/AdminReplyTicketRequest.d.ts +0 -21
  1115. package/api/types/AdminReplyTicketRequest.js +0 -5
  1116. package/api/types/AdminReplyTicketRequestMessageType.d.ts +0 -9
  1117. package/api/types/AdminReplyTicketRequestMessageType.js +0 -11
  1118. package/api/types/AdminReplyTicketRequestReplyOptionsItem.d.ts +0 -9
  1119. package/api/types/AdminReplyTicketRequestReplyOptionsItem.js +0 -5
  1120. package/api/types/AdminWithApp.d.ts +0 -33
  1121. package/api/types/AdminWithApp.js +0 -5
  1122. package/api/types/AdminWithAppAvatar.d.ts +0 -12
  1123. package/api/types/AdminWithAppAvatar.js +0 -5
  1124. package/api/types/App.d.ts +0 -22
  1125. package/api/types/App.js +0 -5
  1126. package/api/types/ArticleContent.d.ts +0 -27
  1127. package/api/types/ArticleContent.js +0 -5
  1128. package/api/types/ArticleContentState.d.ts +0 -11
  1129. package/api/types/ArticleContentState.js +0 -10
  1130. package/api/types/ArticleList.d.ts +0 -16
  1131. package/api/types/ArticleList.js +0 -5
  1132. package/api/types/ArticleStatistics.d.ts +0 -22
  1133. package/api/types/ArticleStatistics.js +0 -5
  1134. package/api/types/ArticleTranslatedContent.d.ts +0 -85
  1135. package/api/types/ArticleTranslatedContent.js +0 -5
  1136. package/api/types/AssignConversationRequest.d.ts +0 -16
  1137. package/api/types/AssignConversationRequest.js +0 -5
  1138. package/api/types/AssignConversationRequestType.d.ts +0 -8
  1139. package/api/types/AssignConversationRequestType.js +0 -10
  1140. package/api/types/CloseConversationRequest.d.ts +0 -13
  1141. package/api/types/CloseConversationRequest.js +0 -5
  1142. package/api/types/CollectionList.d.ts +0 -16
  1143. package/api/types/CollectionList.js +0 -5
  1144. package/api/types/CompanyAttachedContacts.d.ts +0 -16
  1145. package/api/types/CompanyAttachedContacts.js +0 -5
  1146. package/api/types/CompanyAttachedSegments.d.ts +0 -13
  1147. package/api/types/CompanyAttachedSegments.js +0 -5
  1148. package/api/types/CompanyList.d.ts +0 -16
  1149. package/api/types/CompanyList.js +0 -5
  1150. package/api/types/CompanyScroll.d.ts +0 -17
  1151. package/api/types/CompanyScroll.js +0 -5
  1152. package/api/types/ContactArchived.d.ts +0 -16
  1153. package/api/types/ContactArchived.js +0 -5
  1154. package/api/types/ContactAttachedCompanies.d.ts +0 -16
  1155. package/api/types/ContactAttachedCompanies.js +0 -5
  1156. package/api/types/ContactCompanies.d.ts +0 -14
  1157. package/api/types/ContactCompanies.js +0 -5
  1158. package/api/types/ContactDeleted.d.ts +0 -16
  1159. package/api/types/ContactDeleted.js +0 -5
  1160. package/api/types/ContactList.d.ts +0 -16
  1161. package/api/types/ContactList.js +0 -5
  1162. package/api/types/ContactLocation.d.ts +0 -16
  1163. package/api/types/ContactLocation.js +0 -5
  1164. package/api/types/ContactNotes.d.ts +0 -17
  1165. package/api/types/ContactNotes.js +0 -5
  1166. package/api/types/ContactReference.d.ts +0 -14
  1167. package/api/types/ContactReference.js +0 -5
  1168. package/api/types/ContactReplyBaseRequest.d.ts +0 -13
  1169. package/api/types/ContactReplyBaseRequest.js +0 -5
  1170. package/api/types/ContactReplyConversationRequest.d.ts +0 -5
  1171. package/api/types/ContactReplyConversationRequest.js +0 -5
  1172. package/api/types/ContactReplyEmailRequest.d.ts +0 -13
  1173. package/api/types/ContactReplyEmailRequest.js +0 -5
  1174. package/api/types/ContactReplyIntercomUserIdRequest.d.ts +0 -13
  1175. package/api/types/ContactReplyIntercomUserIdRequest.js +0 -5
  1176. package/api/types/ContactReplyTicketEmailRequest.d.ts +0 -11
  1177. package/api/types/ContactReplyTicketEmailRequest.js +0 -5
  1178. package/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +0 -11
  1179. package/api/types/ContactReplyTicketIntercomUserIdRequest.js +0 -5
  1180. package/api/types/ContactReplyTicketRequest.d.ts +0 -5
  1181. package/api/types/ContactReplyTicketRequest.js +0 -5
  1182. package/api/types/ContactReplyTicketUserIdRequest.d.ts +0 -11
  1183. package/api/types/ContactReplyTicketUserIdRequest.js +0 -5
  1184. package/api/types/ContactReplyUserIdRequest.d.ts +0 -13
  1185. package/api/types/ContactReplyUserIdRequest.js +0 -5
  1186. package/api/types/ContactSegments.d.ts +0 -13
  1187. package/api/types/ContactSegments.js +0 -5
  1188. package/api/types/ContactSocialProfiles.d.ts +0 -11
  1189. package/api/types/ContactSocialProfiles.js +0 -5
  1190. package/api/types/ContactSubscriptionTypes.d.ts +0 -17
  1191. package/api/types/ContactSubscriptionTypes.js +0 -5
  1192. package/api/types/ContactTags.d.ts +0 -17
  1193. package/api/types/ContactTags.js +0 -5
  1194. package/api/types/ContactUnarchived.d.ts +0 -16
  1195. package/api/types/ContactUnarchived.js +0 -5
  1196. package/api/types/ContentSourcesList.d.ts +0 -11
  1197. package/api/types/ContentSourcesList.js +0 -5
  1198. package/api/types/ConversationAttachmentFiles.d.ts +0 -14
  1199. package/api/types/ConversationAttachmentFiles.js +0 -5
  1200. package/api/types/ConversationContacts.d.ts +0 -13
  1201. package/api/types/ConversationContacts.js +0 -5
  1202. package/api/types/ConversationFirstContactReply.d.ts +0 -14
  1203. package/api/types/ConversationFirstContactReply.js +0 -5
  1204. package/api/types/ConversationList.d.ts +0 -16
  1205. package/api/types/ConversationList.js +0 -5
  1206. package/api/types/ConversationPart.d.ts +0 -32
  1207. package/api/types/ConversationPart.js +0 -5
  1208. package/api/types/ConversationPartAuthor.d.ts +0 -16
  1209. package/api/types/ConversationPartAuthor.js +0 -5
  1210. package/api/types/ConversationParts.d.ts +0 -15
  1211. package/api/types/ConversationParts.js +0 -5
  1212. package/api/types/ConversationRating.d.ts +0 -17
  1213. package/api/types/ConversationRating.js +0 -5
  1214. package/api/types/ConversationSource.d.ts +0 -26
  1215. package/api/types/ConversationSource.js +0 -5
  1216. package/api/types/ConversationStatistics.d.ts +0 -46
  1217. package/api/types/ConversationStatistics.js +0 -5
  1218. package/api/types/ConversationTeammates.d.ts +0 -13
  1219. package/api/types/ConversationTeammates.js +0 -5
  1220. package/api/types/CreateArticleRequest.d.ts +0 -24
  1221. package/api/types/CreateArticleRequest.js +0 -5
  1222. package/api/types/CreateArticleRequestState.d.ts +0 -11
  1223. package/api/types/CreateArticleRequestState.js +0 -10
  1224. package/api/types/CreateContactRequest.d.ts +0 -8
  1225. package/api/types/CreateContactRequest.js +0 -5
  1226. package/api/types/CreateContactRequestWithEmail.d.ts +0 -23
  1227. package/api/types/CreateContactRequestWithEmail.js +0 -5
  1228. package/api/types/CreateContactRequestWithExternalId.d.ts +0 -23
  1229. package/api/types/CreateContactRequestWithExternalId.js +0 -5
  1230. package/api/types/CreateContactRequestWithRole.d.ts +0 -23
  1231. package/api/types/CreateContactRequestWithRole.js +0 -5
  1232. package/api/types/CreateDataEventRequest.d.ts +0 -8
  1233. package/api/types/CreateDataEventRequest.js +0 -5
  1234. package/api/types/CreateDataEventRequestWithEmail.d.ts +0 -13
  1235. package/api/types/CreateDataEventRequestWithEmail.js +0 -5
  1236. package/api/types/CreateDataEventRequestWithId.d.ts +0 -13
  1237. package/api/types/CreateDataEventRequestWithId.js +0 -5
  1238. package/api/types/CreateDataEventRequestWithUserId.d.ts +0 -13
  1239. package/api/types/CreateDataEventRequestWithUserId.js +0 -5
  1240. package/api/types/CreateMessageRequest.d.ts +0 -16
  1241. package/api/types/CreateMessageRequest.js +0 -5
  1242. package/api/types/CreateMessageRequestFrom.d.ts +0 -12
  1243. package/api/types/CreateMessageRequestFrom.js +0 -5
  1244. package/api/types/CreateMessageRequestTo.d.ts +0 -13
  1245. package/api/types/CreateMessageRequestTo.js +0 -5
  1246. package/api/types/CreateMessageRequestType.d.ts +0 -11
  1247. package/api/types/CreateMessageRequestType.js +0 -10
  1248. package/api/types/CreateMessageRequestWithEmail.d.ts +0 -20
  1249. package/api/types/CreateMessageRequestWithEmail.js +0 -5
  1250. package/api/types/CreateMessageRequestWithInapp.d.ts +0 -20
  1251. package/api/types/CreateMessageRequestWithInapp.js +0 -5
  1252. package/api/types/CreateOrUpdateCompanyRequest.d.ts +0 -26
  1253. package/api/types/CreateOrUpdateCompanyRequest.js +0 -5
  1254. package/api/types/CreateOrUpdateTagRequest.d.ts +0 -12
  1255. package/api/types/CreateOrUpdateTagRequest.js +0 -5
  1256. package/api/types/CreatePhoneSwitchRequest.d.ts +0 -12
  1257. package/api/types/CreatePhoneSwitchRequest.js +0 -5
  1258. package/api/types/CreateTicketReplyWithCommentRequest.d.ts +0 -5
  1259. package/api/types/CreateTicketReplyWithCommentRequest.js +0 -5
  1260. package/api/types/CreateTicketTypeRequest.d.ts +0 -20
  1261. package/api/types/CreateTicketTypeRequest.js +0 -5
  1262. package/api/types/CreateTicketTypeRequestCategory.d.ts +0 -12
  1263. package/api/types/CreateTicketTypeRequestCategory.js +0 -11
  1264. package/api/types/CursorPages.d.ts +0 -19
  1265. package/api/types/CursorPages.js +0 -5
  1266. package/api/types/CustomAttributes.d.ts +0 -8
  1267. package/api/types/CustomAttributes.js +0 -5
  1268. package/api/types/CustomAttributesValue.d.ts +0 -5
  1269. package/api/types/CustomAttributesValue.js +0 -5
  1270. package/api/types/CustomerRequest.d.ts +0 -5
  1271. package/api/types/CustomerRequest.js +0 -5
  1272. package/api/types/CustomerRequestEmail.d.ts +0 -7
  1273. package/api/types/CustomerRequestEmail.js +0 -5
  1274. package/api/types/CustomerRequestIntercomUserId.d.ts +0 -7
  1275. package/api/types/CustomerRequestIntercomUserId.js +0 -5
  1276. package/api/types/CustomerRequestUserId.d.ts +0 -7
  1277. package/api/types/CustomerRequestUserId.js +0 -5
  1278. package/api/types/DataAttributeList.d.ts +0 -13
  1279. package/api/types/DataAttributeList.js +0 -5
  1280. package/api/types/DataEventList.d.ts +0 -15
  1281. package/api/types/DataEventList.js +0 -5
  1282. package/api/types/DataEventListPages.d.ts +0 -10
  1283. package/api/types/DataEventListPages.js +0 -5
  1284. package/api/types/DataEventSummary.d.ts +0 -19
  1285. package/api/types/DataEventSummary.js +0 -5
  1286. package/api/types/DataEventSummaryItem.d.ts +0 -18
  1287. package/api/types/DataEventSummaryItem.js +0 -5
  1288. package/api/types/DataExportCsv.d.ts +0 -60
  1289. package/api/types/DataExportCsv.js +0 -5
  1290. package/api/types/DeletedArticleObject.d.ts +0 -14
  1291. package/api/types/DeletedArticleObject.js +0 -5
  1292. package/api/types/DeletedCollectionObject.d.ts +0 -14
  1293. package/api/types/DeletedCollectionObject.js +0 -5
  1294. package/api/types/DeletedCompanyObject.d.ts +0 -14
  1295. package/api/types/DeletedCompanyObject.js +0 -5
  1296. package/api/types/DeletedObject.d.ts +0 -14
  1297. package/api/types/DeletedObject.js +0 -5
  1298. package/api/types/ErrorErrorsItem.d.ts +0 -11
  1299. package/api/types/ErrorErrorsItem.js +0 -5
  1300. package/api/types/Error_.d.ts +0 -15
  1301. package/api/types/Error_.js +0 -5
  1302. package/api/types/FileAttribute.d.ts +0 -21
  1303. package/api/types/FileAttribute.js +0 -5
  1304. package/api/types/GroupContent.d.ts +0 -14
  1305. package/api/types/GroupContent.js +0 -5
  1306. package/api/types/GroupTranslatedContent.d.ts +0 -85
  1307. package/api/types/GroupTranslatedContent.js +0 -5
  1308. package/api/types/LinkedObject.d.ts +0 -15
  1309. package/api/types/LinkedObject.js +0 -5
  1310. package/api/types/LinkedObjectList.d.ts +0 -17
  1311. package/api/types/LinkedObjectList.js +0 -5
  1312. package/api/types/LinkedObjectType.d.ts +0 -11
  1313. package/api/types/LinkedObjectType.js +0 -10
  1314. package/api/types/MultipleFilterSearchRequest.d.ts +0 -12
  1315. package/api/types/MultipleFilterSearchRequest.js +0 -5
  1316. package/api/types/MultipleFilterSearchRequestOperator.d.ts +0 -11
  1317. package/api/types/MultipleFilterSearchRequestOperator.js +0 -10
  1318. package/api/types/MultipleFilterSearchRequestValue.d.ts +0 -11
  1319. package/api/types/MultipleFilterSearchRequestValue.js +0 -5
  1320. package/api/types/NewsItemRequest.d.ts +0 -25
  1321. package/api/types/NewsItemRequest.js +0 -5
  1322. package/api/types/NewsItemRequestState.d.ts +0 -11
  1323. package/api/types/NewsItemRequestState.js +0 -10
  1324. package/api/types/NoteList.d.ts +0 -16
  1325. package/api/types/NoteList.js +0 -5
  1326. package/api/types/OpenConversationRequest.d.ts +0 -10
  1327. package/api/types/OpenConversationRequest.js +0 -5
  1328. package/api/types/PagesLink.d.ts +0 -16
  1329. package/api/types/PagesLink.js +0 -5
  1330. package/api/types/PaginatedResponse.d.ts +0 -16
  1331. package/api/types/PaginatedResponse.js +0 -5
  1332. package/api/types/PaginatedResponseDataItem.d.ts +0 -13
  1333. package/api/types/PaginatedResponseDataItem.js +0 -5
  1334. package/api/types/PaginatedResponseType.d.ts +0 -11
  1335. package/api/types/PaginatedResponseType.js +0 -10
  1336. package/api/types/PartAttachment.d.ts +0 -22
  1337. package/api/types/PartAttachment.js +0 -5
  1338. package/api/types/PhoneSwitch.d.ts +0 -12
  1339. package/api/types/PhoneSwitch.js +0 -5
  1340. package/api/types/RedactConversationRequest.d.ts +0 -19
  1341. package/api/types/RedactConversationRequest.js +0 -5
  1342. package/api/types/RedactConversationRequestConversationPart.d.ts +0 -12
  1343. package/api/types/RedactConversationRequestConversationPart.js +0 -5
  1344. package/api/types/RedactConversationRequestSource.d.ts +0 -12
  1345. package/api/types/RedactConversationRequestSource.js +0 -5
  1346. package/api/types/Reference.d.ts +0 -12
  1347. package/api/types/Reference.js +0 -5
  1348. package/api/types/ReplyConversationRequest.d.ts +0 -5
  1349. package/api/types/ReplyConversationRequest.js +0 -5
  1350. package/api/types/SearchRequest.d.ts +0 -11
  1351. package/api/types/SearchRequest.js +0 -5
  1352. package/api/types/SearchRequestQuery.d.ts +0 -5
  1353. package/api/types/SearchRequestQuery.js +0 -5
  1354. package/api/types/SegmentList.d.ts +0 -15
  1355. package/api/types/SegmentList.js +0 -5
  1356. package/api/types/SingleFilterSearchRequest.d.ts +0 -15
  1357. package/api/types/SingleFilterSearchRequest.js +0 -5
  1358. package/api/types/SingleFilterSearchRequestOperator.d.ts +0 -19
  1359. package/api/types/SingleFilterSearchRequestOperator.js +0 -18
  1360. package/api/types/SlaApplied.d.ts +0 -16
  1361. package/api/types/SlaApplied.js +0 -5
  1362. package/api/types/SlaAppliedSlaStatus.d.ts +0 -13
  1363. package/api/types/SlaAppliedSlaStatus.js +0 -12
  1364. package/api/types/SnoozeConversationRequest.d.ts +0 -12
  1365. package/api/types/SnoozeConversationRequest.js +0 -5
  1366. package/api/types/SocialProfile.d.ts +0 -14
  1367. package/api/types/SocialProfile.js +0 -5
  1368. package/api/types/StartingAfterPaging.d.ts +0 -9
  1369. package/api/types/StartingAfterPaging.js +0 -5
  1370. package/api/types/SubscriptionTypeList.d.ts +0 -13
  1371. package/api/types/SubscriptionTypeList.js +0 -5
  1372. package/api/types/TagCompanyRequest.d.ts +0 -13
  1373. package/api/types/TagCompanyRequest.js +0 -5
  1374. package/api/types/TagCompanyRequestCompaniesItem.d.ts +0 -9
  1375. package/api/types/TagCompanyRequestCompaniesItem.js +0 -5
  1376. package/api/types/TagList.d.ts +0 -13
  1377. package/api/types/TagList.js +0 -5
  1378. package/api/types/TagMultipleUsersRequest.d.ts +0 -12
  1379. package/api/types/TagMultipleUsersRequest.js +0 -5
  1380. package/api/types/TagMultipleUsersRequestUsersItem.d.ts +0 -7
  1381. package/api/types/TagMultipleUsersRequestUsersItem.js +0 -5
  1382. package/api/types/Tags.d.ts +0 -13
  1383. package/api/types/Tags.js +0 -5
  1384. package/api/types/TeamList.d.ts +0 -13
  1385. package/api/types/TeamList.js +0 -5
  1386. package/api/types/TeamPriorityLevel.d.ts +0 -12
  1387. package/api/types/TeamPriorityLevel.js +0 -5
  1388. package/api/types/TicketCustomAttributes.d.ts +0 -8
  1389. package/api/types/TicketCustomAttributes.js +0 -5
  1390. package/api/types/TicketCustomAttributesValue.d.ts +0 -5
  1391. package/api/types/TicketCustomAttributesValue.js +0 -5
  1392. package/api/types/TicketList.d.ts +0 -16
  1393. package/api/types/TicketList.js +0 -5
  1394. package/api/types/TicketPartAuthor.d.ts +0 -17
  1395. package/api/types/TicketPartAuthor.js +0 -5
  1396. package/api/types/TicketPartAuthorType.d.ts +0 -13
  1397. package/api/types/TicketPartAuthorType.js +0 -12
  1398. package/api/types/TicketParts.d.ts +0 -15
  1399. package/api/types/TicketParts.js +0 -5
  1400. package/api/types/TicketReply.d.ts +0 -26
  1401. package/api/types/TicketReply.js +0 -5
  1402. package/api/types/TicketReplyPartType.d.ts +0 -12
  1403. package/api/types/TicketReplyPartType.js +0 -11
  1404. package/api/types/TicketRequestCustomAttributes.d.ts +0 -8
  1405. package/api/types/TicketRequestCustomAttributes.js +0 -5
  1406. package/api/types/TicketRequestCustomAttributesValue.d.ts +0 -4
  1407. package/api/types/TicketRequestCustomAttributesValue.js +0 -5
  1408. package/api/types/TicketTypeAttribute.d.ts +0 -42
  1409. package/api/types/TicketTypeAttribute.js +0 -5
  1410. package/api/types/TicketTypeAttributeList.d.ts +0 -13
  1411. package/api/types/TicketTypeAttributeList.js +0 -5
  1412. package/api/types/TicketTypeList.d.ts +0 -13
  1413. package/api/types/TicketTypeList.js +0 -5
  1414. package/api/types/Translation.d.ts +0 -14
  1415. package/api/types/Translation.js +0 -5
  1416. package/api/types/UntagCompanyRequest.d.ts +0 -13
  1417. package/api/types/UntagCompanyRequest.js +0 -5
  1418. package/api/types/UntagCompanyRequestCompaniesItem.d.ts +0 -11
  1419. package/api/types/UntagCompanyRequestCompaniesItem.js +0 -5
  1420. package/api/types/UpdateArticleRequest.d.ts +0 -24
  1421. package/api/types/UpdateArticleRequest.js +0 -5
  1422. package/api/types/UpdateArticleRequestState.d.ts +0 -11
  1423. package/api/types/UpdateArticleRequestState.js +0 -10
  1424. package/api/types/UpdateTicketTypeRequest.d.ts +0 -22
  1425. package/api/types/UpdateTicketTypeRequest.js +0 -5
  1426. package/api/types/UpdateTicketTypeRequestCategory.d.ts +0 -12
  1427. package/api/types/UpdateTicketTypeRequestCategory.js +0 -11
  1428. package/api/types/UpdateVisitorRequest.d.ts +0 -8
  1429. package/api/types/UpdateVisitorRequest.js +0 -5
  1430. package/api/types/UpdateVisitorRequestWithId.d.ts +0 -9
  1431. package/api/types/UpdateVisitorRequestWithId.js +0 -5
  1432. package/api/types/UpdateVisitorRequestWithUserId.d.ts +0 -9
  1433. package/api/types/UpdateVisitorRequestWithUserId.js +0 -5
  1434. package/api/types/Visitor.d.ts +0 -69
  1435. package/api/types/Visitor.js +0 -5
  1436. package/api/types/VisitorAvatar.d.ts +0 -9
  1437. package/api/types/VisitorAvatar.js +0 -5
  1438. package/api/types/VisitorCompanies.d.ts +0 -9
  1439. package/api/types/VisitorCompanies.js +0 -5
  1440. package/api/types/VisitorDeletedObject.d.ts +0 -14
  1441. package/api/types/VisitorDeletedObject.js +0 -5
  1442. package/api/types/VisitorLocationData.d.ts +0 -21
  1443. package/api/types/VisitorLocationData.js +0 -5
  1444. package/api/types/VisitorSegments.d.ts +0 -8
  1445. package/api/types/VisitorSegments.js +0 -5
  1446. package/api/types/VisitorSocialProfiles.d.ts +0 -8
  1447. package/api/types/VisitorSocialProfiles.js +0 -5
  1448. package/api/types/VisitorTags.d.ts +0 -9
  1449. package/api/types/VisitorTags.js +0 -5
  1450. package/api/types/VisitorTagsTagsItem.d.ts +0 -11
  1451. package/api/types/VisitorTagsTagsItem.js +0 -5
  1452. package/api/types/index.d.ts +0 -179
  1453. package/api/types/index.js +0 -195
  1454. package/api/version.d.ts +0 -5
  1455. package/api/version.js +0 -5
  1456. package/core/auth/BasicAuth.d.ts +0 -8
  1457. package/core/auth/BasicAuth.js +0 -26
  1458. package/core/auth/BearerToken.d.ts +0 -5
  1459. package/core/auth/BearerToken.js +0 -15
  1460. package/core/auth/index.d.ts +0 -2
  1461. package/core/auth/index.js +0 -7
  1462. package/core/fetcher/APIResponse.d.ts +0 -10
  1463. package/core/fetcher/APIResponse.js +0 -2
  1464. package/core/fetcher/Fetcher.d.ts +0 -38
  1465. package/core/fetcher/Fetcher.js +0 -99
  1466. package/core/fetcher/Supplier.d.ts +0 -4
  1467. package/core/fetcher/Supplier.js +0 -22
  1468. package/core/fetcher/createRequestUrl.d.ts +0 -1
  1469. package/core/fetcher/createRequestUrl.js +0 -13
  1470. package/core/fetcher/getFetchFn.d.ts +0 -4
  1471. package/core/fetcher/getFetchFn.js +0 -55
  1472. package/core/fetcher/getHeader.d.ts +0 -1
  1473. package/core/fetcher/getHeader.js +0 -12
  1474. package/core/fetcher/getRequestBody.d.ts +0 -7
  1475. package/core/fetcher/getRequestBody.js +0 -23
  1476. package/core/fetcher/getResponseBody.d.ts +0 -1
  1477. package/core/fetcher/getResponseBody.js +0 -48
  1478. package/core/fetcher/index.d.ts +0 -5
  1479. package/core/fetcher/index.js +0 -9
  1480. package/core/fetcher/makeRequest.d.ts +0 -1
  1481. package/core/fetcher/makeRequest.js +0 -40
  1482. package/core/fetcher/requestWithRetries.d.ts +0 -1
  1483. package/core/fetcher/requestWithRetries.js +0 -32
  1484. package/core/fetcher/signals.d.ts +0 -12
  1485. package/core/fetcher/signals.js +0 -37
  1486. package/core/index.d.ts +0 -5
  1487. package/core/index.js +0 -21
  1488. package/core/pagination/Page.d.ts +0 -29
  1489. package/core/pagination/Page.js +0 -94
  1490. package/core/pagination/Pageable.d.ts +0 -12
  1491. package/core/pagination/Pageable.js +0 -10
  1492. package/core/pagination/index.d.ts +0 -2
  1493. package/core/pagination/index.js +0 -7
  1494. package/core/runtime/index.d.ts +0 -1
  1495. package/core/runtime/index.js +0 -5
  1496. package/core/runtime/runtime.d.ts +0 -9
  1497. package/core/runtime/runtime.js +0 -93
  1498. package/core/utils/index.d.ts +0 -1
  1499. package/core/utils/index.js +0 -5
  1500. package/core/utils/setObjectProperty.d.ts +0 -11
  1501. package/core/utils/setObjectProperty.js +0 -43
  1502. package/dist/Client.d.ts +0 -91
  1503. package/dist/Client.js +0 -117
  1504. package/dist/api/errors/BadRequestError.d.ts +0 -7
  1505. package/dist/api/errors/BadRequestError.js +0 -41
  1506. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  1507. package/dist/api/errors/ForbiddenError.js +0 -41
  1508. package/dist/api/errors/NotFoundError.d.ts +0 -7
  1509. package/dist/api/errors/NotFoundError.js +0 -41
  1510. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  1511. package/dist/api/errors/UnauthorizedError.js +0 -41
  1512. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -7
  1513. package/dist/api/errors/UnprocessableEntityError.js +0 -41
  1514. package/dist/api/errors/index.d.ts +0 -5
  1515. package/dist/api/errors/index.js +0 -21
  1516. package/dist/api/index.d.ts +0 -4
  1517. package/dist/api/index.js +0 -19
  1518. package/dist/api/resources/admins/client/Client.d.ts +0 -101
  1519. package/dist/api/resources/admins/client/Client.js +0 -387
  1520. package/dist/api/resources/admins/client/index.d.ts +0 -1
  1521. package/dist/api/resources/admins/client/index.js +0 -17
  1522. package/dist/api/resources/admins/client/requests/AdminsAwayRequest.d.ts +0 -28
  1523. package/dist/api/resources/admins/client/requests/AdminsAwayRequest.js +0 -5
  1524. package/dist/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.d.ts +0 -19
  1525. package/dist/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.js +0 -5
  1526. package/dist/api/resources/admins/client/requests/index.d.ts +0 -2
  1527. package/dist/api/resources/admins/client/requests/index.js +0 -2
  1528. package/dist/api/resources/admins/index.d.ts +0 -2
  1529. package/dist/api/resources/admins/index.js +0 -18
  1530. package/dist/api/resources/admins/types/Admin.d.ts +0 -30
  1531. package/dist/api/resources/admins/types/Admin.js +0 -5
  1532. package/dist/api/resources/admins/types/index.d.ts +0 -1
  1533. package/dist/api/resources/admins/types/index.js +0 -17
  1534. package/dist/api/resources/aiAgent/index.d.ts +0 -1
  1535. package/dist/api/resources/aiAgent/index.js +0 -17
  1536. package/dist/api/resources/aiAgent/types/AiAgent.d.ts +0 -22
  1537. package/dist/api/resources/aiAgent/types/AiAgent.js +0 -5
  1538. package/dist/api/resources/aiAgent/types/AiAgentSourceType.d.ts +0 -14
  1539. package/dist/api/resources/aiAgent/types/AiAgentSourceType.js +0 -13
  1540. package/dist/api/resources/aiAgent/types/index.d.ts +0 -2
  1541. package/dist/api/resources/aiAgent/types/index.js +0 -18
  1542. package/dist/api/resources/aiContentSource/index.d.ts +0 -1
  1543. package/dist/api/resources/aiContentSource/index.js +0 -17
  1544. package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +0 -17
  1545. package/dist/api/resources/aiContentSource/types/ContentSource.js +0 -5
  1546. package/dist/api/resources/aiContentSource/types/ContentSourceContentType.d.ts +0 -14
  1547. package/dist/api/resources/aiContentSource/types/ContentSourceContentType.js +0 -13
  1548. package/dist/api/resources/aiContentSource/types/index.d.ts +0 -2
  1549. package/dist/api/resources/aiContentSource/types/index.js +0 -18
  1550. package/dist/api/resources/articles/client/Client.d.ts +0 -142
  1551. package/dist/api/resources/articles/client/Client.js +0 -495
  1552. package/dist/api/resources/articles/client/index.d.ts +0 -1
  1553. package/dist/api/resources/articles/client/index.js +0 -17
  1554. package/dist/api/resources/articles/client/requests/ArticlesSearchRequest.d.ts +0 -25
  1555. package/dist/api/resources/articles/client/requests/ArticlesSearchRequest.js +0 -5
  1556. package/dist/api/resources/articles/client/requests/index.d.ts +0 -1
  1557. package/dist/api/resources/articles/client/requests/index.js +0 -2
  1558. package/dist/api/resources/articles/index.d.ts +0 -2
  1559. package/dist/api/resources/articles/index.js +0 -18
  1560. package/dist/api/resources/articles/types/Article.d.ts +0 -10
  1561. package/dist/api/resources/articles/types/Article.js +0 -5
  1562. package/dist/api/resources/articles/types/ArticleListItem.d.ts +0 -40
  1563. package/dist/api/resources/articles/types/ArticleListItem.js +0 -5
  1564. package/dist/api/resources/articles/types/ArticleListItemState.d.ts +0 -11
  1565. package/dist/api/resources/articles/types/ArticleListItemState.js +0 -10
  1566. package/dist/api/resources/articles/types/ArticleSearchHighlights.d.ts +0 -15
  1567. package/dist/api/resources/articles/types/ArticleSearchHighlights.js +0 -5
  1568. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.d.ts +0 -13
  1569. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.js +0 -5
  1570. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.d.ts +0 -11
  1571. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.js +0 -10
  1572. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.d.ts +0 -13
  1573. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.js +0 -5
  1574. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.d.ts +0 -11
  1575. package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.js +0 -10
  1576. package/dist/api/resources/articles/types/ArticleSearchResponse.d.ts +0 -16
  1577. package/dist/api/resources/articles/types/ArticleSearchResponse.js +0 -5
  1578. package/dist/api/resources/articles/types/ArticleSearchResponseData.d.ts +0 -13
  1579. package/dist/api/resources/articles/types/ArticleSearchResponseData.js +0 -5
  1580. package/dist/api/resources/articles/types/index.d.ts +0 -10
  1581. package/dist/api/resources/articles/types/index.js +0 -26
  1582. package/dist/api/resources/companies/client/Client.d.ts +0 -237
  1583. package/dist/api/resources/companies/client/Client.js +0 -893
  1584. package/dist/api/resources/companies/client/index.d.ts +0 -1
  1585. package/dist/api/resources/companies/client/index.js +0 -17
  1586. package/dist/api/resources/companies/client/requests/CompaniesAttachContactRequest.d.ts +0 -23
  1587. package/dist/api/resources/companies/client/requests/CompaniesAttachContactRequest.js +0 -5
  1588. package/dist/api/resources/companies/client/requests/CompaniesListRequest.d.ts +0 -21
  1589. package/dist/api/resources/companies/client/requests/CompaniesListRequest.js +0 -5
  1590. package/dist/api/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +0 -33
  1591. package/dist/api/resources/companies/client/requests/CompaniesRetrieveRequest.js +0 -5
  1592. package/dist/api/resources/companies/client/requests/CompaniesScrollRequest.d.ts +0 -13
  1593. package/dist/api/resources/companies/client/requests/CompaniesScrollRequest.js +0 -5
  1594. package/dist/api/resources/companies/client/requests/index.d.ts +0 -4
  1595. package/dist/api/resources/companies/client/requests/index.js +0 -2
  1596. package/dist/api/resources/companies/index.d.ts +0 -2
  1597. package/dist/api/resources/companies/index.js +0 -18
  1598. package/dist/api/resources/companies/types/Company.d.ts +0 -46
  1599. package/dist/api/resources/companies/types/Company.js +0 -5
  1600. package/dist/api/resources/companies/types/CompanyPlan.d.ts +0 -11
  1601. package/dist/api/resources/companies/types/CompanyPlan.js +0 -5
  1602. package/dist/api/resources/companies/types/CompanySegments.d.ts +0 -12
  1603. package/dist/api/resources/companies/types/CompanySegments.js +0 -5
  1604. package/dist/api/resources/companies/types/CompanyTags.d.ts +0 -11
  1605. package/dist/api/resources/companies/types/CompanyTags.js +0 -5
  1606. package/dist/api/resources/companies/types/index.d.ts +0 -4
  1607. package/dist/api/resources/companies/types/index.js +0 -20
  1608. package/dist/api/resources/contacts/client/Client.d.ts +0 -363
  1609. package/dist/api/resources/contacts/client/Client.js +0 -1150
  1610. package/dist/api/resources/contacts/client/index.d.ts +0 -1
  1611. package/dist/api/resources/contacts/client/index.js +0 -17
  1612. package/dist/api/resources/contacts/client/requests/ContactsAttachToContactRequest.d.ts +0 -28
  1613. package/dist/api/resources/contacts/client/requests/ContactsAttachToContactRequest.js +0 -5
  1614. package/dist/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +0 -16
  1615. package/dist/api/resources/contacts/client/requests/MergeContactsRequest.js +0 -5
  1616. package/dist/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +0 -34
  1617. package/dist/api/resources/contacts/client/requests/UpdateContactRequest.js +0 -5
  1618. package/dist/api/resources/contacts/client/requests/index.d.ts +0 -3
  1619. package/dist/api/resources/contacts/client/requests/index.js +0 -2
  1620. package/dist/api/resources/contacts/index.d.ts +0 -2
  1621. package/dist/api/resources/contacts/index.js +0 -18
  1622. package/dist/api/resources/contacts/types/Contact.d.ts +0 -95
  1623. package/dist/api/resources/contacts/types/Contact.js +0 -5
  1624. package/dist/api/resources/contacts/types/ContactAvatar.d.ts +0 -9
  1625. package/dist/api/resources/contacts/types/ContactAvatar.js +0 -5
  1626. package/dist/api/resources/contacts/types/index.d.ts +0 -2
  1627. package/dist/api/resources/contacts/types/index.js +0 -18
  1628. package/dist/api/resources/conversations/client/Client.d.ts +0 -446
  1629. package/dist/api/resources/conversations/client/Client.js +0 -1153
  1630. package/dist/api/resources/conversations/client/index.d.ts +0 -1
  1631. package/dist/api/resources/conversations/client/index.js +0 -17
  1632. package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +0 -26
  1633. package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +0 -5
  1634. package/dist/api/resources/conversations/client/requests/ConversationsFindRequest.d.ts +0 -13
  1635. package/dist/api/resources/conversations/client/requests/ConversationsFindRequest.js +0 -5
  1636. package/dist/api/resources/conversations/client/requests/ConversationsListRequest.d.ts +0 -17
  1637. package/dist/api/resources/conversations/client/requests/ConversationsListRequest.js +0 -5
  1638. package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +0 -20
  1639. package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +0 -5
  1640. package/dist/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +0 -28
  1641. package/dist/api/resources/conversations/client/requests/CreateConversationRequest.js +0 -5
  1642. package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -28
  1643. package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +0 -5
  1644. package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -32
  1645. package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.js +0 -5
  1646. package/dist/api/resources/conversations/client/requests/index.d.ts +0 -7
  1647. package/dist/api/resources/conversations/client/requests/index.js +0 -2
  1648. package/dist/api/resources/conversations/index.d.ts +0 -2
  1649. package/dist/api/resources/conversations/index.js +0 -18
  1650. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomer.d.ts +0 -5
  1651. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomer.js +0 -5
  1652. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.d.ts +0 -9
  1653. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.js +0 -5
  1654. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.d.ts +0 -9
  1655. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.js +0 -5
  1656. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.d.ts +0 -9
  1657. package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.js +0 -5
  1658. package/dist/api/resources/conversations/types/Conversation.d.ts +0 -49
  1659. package/dist/api/resources/conversations/types/Conversation.js +0 -5
  1660. package/dist/api/resources/conversations/types/ConversationPriority.d.ts +0 -11
  1661. package/dist/api/resources/conversations/types/ConversationPriority.js +0 -10
  1662. package/dist/api/resources/conversations/types/ConversationState.d.ts +0 -12
  1663. package/dist/api/resources/conversations/types/ConversationState.js +0 -11
  1664. package/dist/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +0 -19
  1665. package/dist/api/resources/conversations/types/ConversationsManageRequestBody.js +0 -5
  1666. package/dist/api/resources/conversations/types/CreateConversationRequestFrom.d.ts +0 -10
  1667. package/dist/api/resources/conversations/types/CreateConversationRequestFrom.js +0 -5
  1668. package/dist/api/resources/conversations/types/CreateConversationRequestFromType.d.ts +0 -12
  1669. package/dist/api/resources/conversations/types/CreateConversationRequestFromType.js +0 -11
  1670. package/dist/api/resources/conversations/types/index.d.ts +0 -10
  1671. package/dist/api/resources/conversations/types/index.js +0 -26
  1672. package/dist/api/resources/customObjectInstances/index.d.ts +0 -1
  1673. package/dist/api/resources/customObjectInstances/index.js +0 -17
  1674. package/dist/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +0 -16
  1675. package/dist/api/resources/customObjectInstances/types/CustomObjectInstance.js +0 -5
  1676. package/dist/api/resources/customObjectInstances/types/index.d.ts +0 -1
  1677. package/dist/api/resources/customObjectInstances/types/index.js +0 -17
  1678. package/dist/api/resources/dataAttributes/client/Client.d.ts +0 -136
  1679. package/dist/api/resources/dataAttributes/client/Client.js +0 -336
  1680. package/dist/api/resources/dataAttributes/client/index.d.ts +0 -1
  1681. package/dist/api/resources/dataAttributes/client/index.js +0 -17
  1682. package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +0 -63
  1683. package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +0 -5
  1684. package/dist/api/resources/dataAttributes/client/requests/DataAttributesListRequest.d.ts +0 -18
  1685. package/dist/api/resources/dataAttributes/client/requests/DataAttributesListRequest.js +0 -5
  1686. package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -41
  1687. package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +0 -5
  1688. package/dist/api/resources/dataAttributes/client/requests/index.d.ts +0 -3
  1689. package/dist/api/resources/dataAttributes/client/requests/index.js +0 -2
  1690. package/dist/api/resources/dataAttributes/index.d.ts +0 -2
  1691. package/dist/api/resources/dataAttributes/index.js +0 -18
  1692. package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.d.ts +0 -15
  1693. package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.js +0 -14
  1694. package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.d.ts +0 -11
  1695. package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.js +0 -10
  1696. package/dist/api/resources/dataAttributes/types/DataAttribute.d.ts +0 -43
  1697. package/dist/api/resources/dataAttributes/types/DataAttribute.js +0 -5
  1698. package/dist/api/resources/dataAttributes/types/DataAttributeDataType.d.ts +0 -14
  1699. package/dist/api/resources/dataAttributes/types/DataAttributeDataType.js +0 -13
  1700. package/dist/api/resources/dataAttributes/types/DataAttributeModel.d.ts +0 -11
  1701. package/dist/api/resources/dataAttributes/types/DataAttributeModel.js +0 -10
  1702. package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +0 -9
  1703. package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +0 -11
  1704. package/dist/api/resources/dataAttributes/types/index.d.ts +0 -6
  1705. package/dist/api/resources/dataAttributes/types/index.js +0 -22
  1706. package/dist/api/resources/dataEvents/index.d.ts +0 -1
  1707. package/dist/api/resources/dataEvents/index.js +0 -17
  1708. package/dist/api/resources/dataEvents/types/DataEvent.d.ts +0 -24
  1709. package/dist/api/resources/dataEvents/types/DataEvent.js +0 -5
  1710. package/dist/api/resources/dataEvents/types/index.d.ts +0 -1
  1711. package/dist/api/resources/dataEvents/types/index.js +0 -17
  1712. package/dist/api/resources/dataExport/client/Client.d.ts +0 -100
  1713. package/dist/api/resources/dataExport/client/Client.js +0 -310
  1714. package/dist/api/resources/dataExport/client/index.d.ts +0 -1
  1715. package/dist/api/resources/dataExport/client/index.js +0 -17
  1716. package/dist/api/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +0 -16
  1717. package/dist/api/resources/dataExport/client/requests/CreateDataExportsRequest.js +0 -5
  1718. package/dist/api/resources/dataExport/client/requests/index.d.ts +0 -1
  1719. package/dist/api/resources/dataExport/client/requests/index.js +0 -2
  1720. package/dist/api/resources/dataExport/index.d.ts +0 -2
  1721. package/dist/api/resources/dataExport/index.js +0 -18
  1722. package/dist/api/resources/dataExport/types/DataExport.d.ts +0 -17
  1723. package/dist/api/resources/dataExport/types/DataExport.js +0 -5
  1724. package/dist/api/resources/dataExport/types/DataExportStatus.d.ts +0 -15
  1725. package/dist/api/resources/dataExport/types/DataExportStatus.js +0 -14
  1726. package/dist/api/resources/dataExport/types/index.d.ts +0 -2
  1727. package/dist/api/resources/dataExport/types/index.js +0 -18
  1728. package/dist/api/resources/events/client/Client.d.ts +0 -127
  1729. package/dist/api/resources/events/client/Client.js +0 -318
  1730. package/dist/api/resources/events/client/index.d.ts +0 -1
  1731. package/dist/api/resources/events/client/index.js +0 -17
  1732. package/dist/api/resources/events/client/requests/CreateDataEventSummariesRequest.d.ts +0 -14
  1733. package/dist/api/resources/events/client/requests/CreateDataEventSummariesRequest.js +0 -5
  1734. package/dist/api/resources/events/client/requests/EventsListRequest.d.ts +0 -25
  1735. package/dist/api/resources/events/client/requests/EventsListRequest.js +0 -5
  1736. package/dist/api/resources/events/client/requests/index.d.ts +0 -2
  1737. package/dist/api/resources/events/client/requests/index.js +0 -2
  1738. package/dist/api/resources/events/index.d.ts +0 -2
  1739. package/dist/api/resources/events/index.js +0 -18
  1740. package/dist/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.d.ts +0 -16
  1741. package/dist/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.js +0 -5
  1742. package/dist/api/resources/events/types/EventsListRequestFilter.d.ts +0 -5
  1743. package/dist/api/resources/events/types/EventsListRequestFilter.js +0 -5
  1744. package/dist/api/resources/events/types/EventsListRequestFilterEmail.d.ts +0 -6
  1745. package/dist/api/resources/events/types/EventsListRequestFilterEmail.js +0 -5
  1746. package/dist/api/resources/events/types/EventsListRequestFilterIntercomUserId.d.ts +0 -6
  1747. package/dist/api/resources/events/types/EventsListRequestFilterIntercomUserId.js +0 -5
  1748. package/dist/api/resources/events/types/EventsListRequestFilterUserId.d.ts +0 -6
  1749. package/dist/api/resources/events/types/EventsListRequestFilterUserId.js +0 -5
  1750. package/dist/api/resources/events/types/index.d.ts +0 -5
  1751. package/dist/api/resources/events/types/index.js +0 -21
  1752. package/dist/api/resources/helpCenter/client/Client.d.ts +0 -60
  1753. package/dist/api/resources/helpCenter/client/Client.js +0 -196
  1754. package/dist/api/resources/helpCenter/client/index.d.ts +0 -1
  1755. package/dist/api/resources/helpCenter/client/index.js +0 -2
  1756. package/dist/api/resources/helpCenter/index.d.ts +0 -3
  1757. package/dist/api/resources/helpCenter/index.js +0 -19
  1758. package/dist/api/resources/helpCenter/resources/collections/client/Client.d.ts +0 -106
  1759. package/dist/api/resources/helpCenter/resources/collections/client/Client.js +0 -395
  1760. package/dist/api/resources/helpCenter/resources/collections/client/index.d.ts +0 -1
  1761. package/dist/api/resources/helpCenter/resources/collections/client/index.js +0 -17
  1762. package/dist/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.d.ts +0 -27
  1763. package/dist/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.js +0 -5
  1764. package/dist/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -24
  1765. package/dist/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.js +0 -5
  1766. package/dist/api/resources/helpCenter/resources/collections/client/requests/index.d.ts +0 -2
  1767. package/dist/api/resources/helpCenter/resources/collections/client/requests/index.js +0 -2
  1768. package/dist/api/resources/helpCenter/resources/collections/index.d.ts +0 -1
  1769. package/dist/api/resources/helpCenter/resources/collections/index.js +0 -17
  1770. package/dist/api/resources/helpCenter/resources/index.d.ts +0 -2
  1771. package/dist/api/resources/helpCenter/resources/index.js +0 -31
  1772. package/dist/api/resources/helpCenter/types/Collection.d.ts +0 -34
  1773. package/dist/api/resources/helpCenter/types/Collection.js +0 -5
  1774. package/dist/api/resources/helpCenter/types/HelpCenter.d.ts +0 -22
  1775. package/dist/api/resources/helpCenter/types/HelpCenter.js +0 -5
  1776. package/dist/api/resources/helpCenter/types/HelpCenterList.d.ts +0 -13
  1777. package/dist/api/resources/helpCenter/types/HelpCenterList.js +0 -5
  1778. package/dist/api/resources/helpCenter/types/index.d.ts +0 -3
  1779. package/dist/api/resources/helpCenter/types/index.js +0 -19
  1780. package/dist/api/resources/index.d.ts +0 -63
  1781. package/dist/api/resources/index.js +0 -92
  1782. package/dist/api/resources/messages/client/Client.d.ts +0 -145
  1783. package/dist/api/resources/messages/client/Client.js +0 -235
  1784. package/dist/api/resources/messages/client/index.d.ts +0 -1
  1785. package/dist/api/resources/messages/client/index.js +0 -2
  1786. package/dist/api/resources/messages/index.d.ts +0 -2
  1787. package/dist/api/resources/messages/index.js +0 -18
  1788. package/dist/api/resources/messages/types/Message.d.ts +0 -23
  1789. package/dist/api/resources/messages/types/Message.js +0 -5
  1790. package/dist/api/resources/messages/types/MessageMessageType.d.ts +0 -13
  1791. package/dist/api/resources/messages/types/MessageMessageType.js +0 -12
  1792. package/dist/api/resources/messages/types/index.d.ts +0 -2
  1793. package/dist/api/resources/messages/types/index.js +0 -18
  1794. package/dist/api/resources/news/client/Client.d.ts +0 -154
  1795. package/dist/api/resources/news/client/Client.js +0 -588
  1796. package/dist/api/resources/news/client/index.d.ts +0 -1
  1797. package/dist/api/resources/news/client/index.js +0 -2
  1798. package/dist/api/resources/news/index.d.ts +0 -2
  1799. package/dist/api/resources/news/index.js +0 -18
  1800. package/dist/api/resources/news/types/NewsItem.d.ts +0 -35
  1801. package/dist/api/resources/news/types/NewsItem.js +0 -5
  1802. package/dist/api/resources/news/types/NewsItemState.d.ts +0 -11
  1803. package/dist/api/resources/news/types/NewsItemState.js +0 -10
  1804. package/dist/api/resources/news/types/Newsfeed.d.ts +0 -18
  1805. package/dist/api/resources/news/types/Newsfeed.js +0 -5
  1806. package/dist/api/resources/news/types/NewsfeedAssignment.d.ts +0 -12
  1807. package/dist/api/resources/news/types/NewsfeedAssignment.js +0 -5
  1808. package/dist/api/resources/news/types/index.d.ts +0 -4
  1809. package/dist/api/resources/news/types/index.js +0 -20
  1810. package/dist/api/resources/notes/client/Client.d.ts +0 -89
  1811. package/dist/api/resources/notes/client/Client.js +0 -273
  1812. package/dist/api/resources/notes/client/index.d.ts +0 -1
  1813. package/dist/api/resources/notes/client/index.js +0 -17
  1814. package/dist/api/resources/notes/client/requests/NotesCreateRequest.d.ts +0 -33
  1815. package/dist/api/resources/notes/client/requests/NotesCreateRequest.js +0 -5
  1816. package/dist/api/resources/notes/client/requests/index.d.ts +0 -1
  1817. package/dist/api/resources/notes/client/requests/index.js +0 -2
  1818. package/dist/api/resources/notes/index.d.ts +0 -2
  1819. package/dist/api/resources/notes/index.js +0 -18
  1820. package/dist/api/resources/notes/types/Note.d.ts +0 -21
  1821. package/dist/api/resources/notes/types/Note.js +0 -5
  1822. package/dist/api/resources/notes/types/NoteContact.d.ts +0 -12
  1823. package/dist/api/resources/notes/types/NoteContact.js +0 -5
  1824. package/dist/api/resources/notes/types/index.d.ts +0 -2
  1825. package/dist/api/resources/notes/types/index.js +0 -18
  1826. package/dist/api/resources/phoneCallRedirect/client/Client.d.ts +0 -62
  1827. package/dist/api/resources/phoneCallRedirect/client/Client.js +0 -150
  1828. package/dist/api/resources/phoneCallRedirect/client/index.d.ts +0 -1
  1829. package/dist/api/resources/phoneCallRedirect/client/index.js +0 -2
  1830. package/dist/api/resources/phoneCallRedirect/index.d.ts +0 -1
  1831. package/dist/api/resources/phoneCallRedirect/index.js +0 -17
  1832. package/dist/api/resources/segments/client/Client.d.ts +0 -58
  1833. package/dist/api/resources/segments/client/Client.js +0 -198
  1834. package/dist/api/resources/segments/client/index.d.ts +0 -1
  1835. package/dist/api/resources/segments/client/index.js +0 -17
  1836. package/dist/api/resources/segments/client/requests/SegmentsListRequest.d.ts +0 -13
  1837. package/dist/api/resources/segments/client/requests/SegmentsListRequest.js +0 -5
  1838. package/dist/api/resources/segments/client/requests/index.d.ts +0 -1
  1839. package/dist/api/resources/segments/client/requests/index.js +0 -2
  1840. package/dist/api/resources/segments/index.d.ts +0 -2
  1841. package/dist/api/resources/segments/index.js +0 -18
  1842. package/dist/api/resources/segments/types/Segment.d.ts +0 -23
  1843. package/dist/api/resources/segments/types/Segment.js +0 -5
  1844. package/dist/api/resources/segments/types/SegmentPersonType.d.ts +0 -11
  1845. package/dist/api/resources/segments/types/SegmentPersonType.js +0 -10
  1846. package/dist/api/resources/segments/types/index.d.ts +0 -2
  1847. package/dist/api/resources/segments/types/index.js +0 -18
  1848. package/dist/api/resources/subscriptionTypes/index.d.ts +0 -1
  1849. package/dist/api/resources/subscriptionTypes/index.js +0 -17
  1850. package/dist/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +0 -22
  1851. package/dist/api/resources/subscriptionTypes/types/SubscriptionType.js +0 -5
  1852. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.d.ts +0 -11
  1853. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.js +0 -10
  1854. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.d.ts +0 -8
  1855. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.js +0 -10
  1856. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeState.d.ts +0 -12
  1857. package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeState.js +0 -11
  1858. package/dist/api/resources/subscriptionTypes/types/index.d.ts +0 -4
  1859. package/dist/api/resources/subscriptionTypes/types/index.js +0 -20
  1860. package/dist/api/resources/subscriptions/client/Client.d.ts +0 -41
  1861. package/dist/api/resources/subscriptions/client/Client.js +0 -124
  1862. package/dist/api/resources/subscriptions/client/index.d.ts +0 -1
  1863. package/dist/api/resources/subscriptions/client/index.js +0 -2
  1864. package/dist/api/resources/subscriptions/index.d.ts +0 -1
  1865. package/dist/api/resources/subscriptions/index.js +0 -17
  1866. package/dist/api/resources/tags/client/Client.d.ts +0 -224
  1867. package/dist/api/resources/tags/client/Client.js +0 -776
  1868. package/dist/api/resources/tags/client/index.d.ts +0 -1
  1869. package/dist/api/resources/tags/client/index.js +0 -17
  1870. package/dist/api/resources/tags/client/requests/TagsAttachRequest.d.ts +0 -22
  1871. package/dist/api/resources/tags/client/requests/TagsAttachRequest.js +0 -5
  1872. package/dist/api/resources/tags/client/requests/TagsDetachRequest.d.ts +0 -23
  1873. package/dist/api/resources/tags/client/requests/TagsDetachRequest.js +0 -5
  1874. package/dist/api/resources/tags/client/requests/TagsTagContactRequest.d.ts +0 -23
  1875. package/dist/api/resources/tags/client/requests/TagsTagContactRequest.js +0 -5
  1876. package/dist/api/resources/tags/client/requests/TagsTagConversationRequest.d.ts +0 -22
  1877. package/dist/api/resources/tags/client/requests/TagsTagConversationRequest.js +0 -5
  1878. package/dist/api/resources/tags/client/requests/TagsUntagConversationRequest.d.ts +0 -23
  1879. package/dist/api/resources/tags/client/requests/TagsUntagConversationRequest.js +0 -5
  1880. package/dist/api/resources/tags/client/requests/index.d.ts +0 -5
  1881. package/dist/api/resources/tags/client/requests/index.js +0 -2
  1882. package/dist/api/resources/tags/index.d.ts +0 -2
  1883. package/dist/api/resources/tags/index.js +0 -18
  1884. package/dist/api/resources/tags/types/Tag.d.ts +0 -18
  1885. package/dist/api/resources/tags/types/Tag.js +0 -5
  1886. package/dist/api/resources/tags/types/TagsCreateRequestBody.d.ts +0 -5
  1887. package/dist/api/resources/tags/types/TagsCreateRequestBody.js +0 -5
  1888. package/dist/api/resources/tags/types/index.d.ts +0 -2
  1889. package/dist/api/resources/tags/types/index.js +0 -18
  1890. package/dist/api/resources/teams/client/Client.d.ts +0 -57
  1891. package/dist/api/resources/teams/client/Client.js +0 -191
  1892. package/dist/api/resources/teams/client/index.d.ts +0 -1
  1893. package/dist/api/resources/teams/client/index.js +0 -2
  1894. package/dist/api/resources/teams/index.d.ts +0 -2
  1895. package/dist/api/resources/teams/index.js +0 -18
  1896. package/dist/api/resources/teams/types/Team.d.ts +0 -18
  1897. package/dist/api/resources/teams/types/Team.js +0 -5
  1898. package/dist/api/resources/teams/types/index.d.ts +0 -1
  1899. package/dist/api/resources/teams/types/index.js +0 -17
  1900. package/dist/api/resources/ticketTypeAttributes/client/Client.d.ts +0 -67
  1901. package/dist/api/resources/ticketTypeAttributes/client/Client.js +0 -201
  1902. package/dist/api/resources/ticketTypeAttributes/client/index.d.ts +0 -1
  1903. package/dist/api/resources/ticketTypeAttributes/client/index.js +0 -17
  1904. package/dist/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +0 -35
  1905. package/dist/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +0 -5
  1906. package/dist/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +0 -31
  1907. package/dist/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +0 -5
  1908. package/dist/api/resources/ticketTypeAttributes/client/requests/index.d.ts +0 -2
  1909. package/dist/api/resources/ticketTypeAttributes/client/requests/index.js +0 -2
  1910. package/dist/api/resources/ticketTypeAttributes/index.d.ts +0 -2
  1911. package/dist/api/resources/ticketTypeAttributes/index.js +0 -18
  1912. package/dist/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.d.ts +0 -16
  1913. package/dist/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.js +0 -15
  1914. package/dist/api/resources/ticketTypeAttributes/types/index.d.ts +0 -1
  1915. package/dist/api/resources/ticketTypeAttributes/types/index.js +0 -17
  1916. package/dist/api/resources/ticketTypes/client/Client.d.ts +0 -97
  1917. package/dist/api/resources/ticketTypes/client/Client.js +0 -329
  1918. package/dist/api/resources/ticketTypes/client/index.d.ts +0 -1
  1919. package/dist/api/resources/ticketTypes/client/index.js +0 -2
  1920. package/dist/api/resources/ticketTypes/index.d.ts +0 -1
  1921. package/dist/api/resources/ticketTypes/index.js +0 -17
  1922. package/dist/api/resources/tickets/client/Client.d.ts +0 -251
  1923. package/dist/api/resources/tickets/client/Client.js +0 -546
  1924. package/dist/api/resources/tickets/client/index.d.ts +0 -1
  1925. package/dist/api/resources/tickets/client/index.js +0 -17
  1926. package/dist/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +0 -28
  1927. package/dist/api/resources/tickets/client/requests/CreateTicketRequest.js +0 -5
  1928. package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -59
  1929. package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.js +0 -5
  1930. package/dist/api/resources/tickets/client/requests/index.d.ts +0 -2
  1931. package/dist/api/resources/tickets/client/requests/index.js +0 -2
  1932. package/dist/api/resources/tickets/index.d.ts +0 -2
  1933. package/dist/api/resources/tickets/index.js +0 -18
  1934. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItem.d.ts +0 -5
  1935. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItem.js +0 -5
  1936. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.d.ts +0 -7
  1937. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.js +0 -5
  1938. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.d.ts +0 -7
  1939. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.js +0 -5
  1940. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemId.d.ts +0 -7
  1941. package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemId.js +0 -5
  1942. package/dist/api/resources/tickets/types/Ticket.d.ts +0 -42
  1943. package/dist/api/resources/tickets/types/Ticket.js +0 -5
  1944. package/dist/api/resources/tickets/types/TicketCategory.d.ts +0 -12
  1945. package/dist/api/resources/tickets/types/TicketCategory.js +0 -11
  1946. package/dist/api/resources/tickets/types/TicketContacts.d.ts +0 -13
  1947. package/dist/api/resources/tickets/types/TicketContacts.js +0 -5
  1948. package/dist/api/resources/tickets/types/TicketPart.d.ts +0 -34
  1949. package/dist/api/resources/tickets/types/TicketPart.js +0 -5
  1950. package/dist/api/resources/tickets/types/TicketPartPreviousTicketState.d.ts +0 -13
  1951. package/dist/api/resources/tickets/types/TicketPartPreviousTicketState.js +0 -12
  1952. package/dist/api/resources/tickets/types/TicketPartTicketState.d.ts +0 -13
  1953. package/dist/api/resources/tickets/types/TicketPartTicketState.js +0 -12
  1954. package/dist/api/resources/tickets/types/TicketTicketState.d.ts +0 -13
  1955. package/dist/api/resources/tickets/types/TicketTicketState.js +0 -12
  1956. package/dist/api/resources/tickets/types/TicketType.d.ts +0 -30
  1957. package/dist/api/resources/tickets/types/TicketType.js +0 -5
  1958. package/dist/api/resources/tickets/types/TicketTypeCategory.d.ts +0 -12
  1959. package/dist/api/resources/tickets/types/TicketTypeCategory.js +0 -11
  1960. package/dist/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +0 -5
  1961. package/dist/api/resources/tickets/types/TicketsReplyRequestBody.js +0 -5
  1962. package/dist/api/resources/tickets/types/UpdateTicketRequestAssignment.d.ts +0 -9
  1963. package/dist/api/resources/tickets/types/UpdateTicketRequestAssignment.js +0 -5
  1964. package/dist/api/resources/tickets/types/UpdateTicketRequestState.d.ts +0 -12
  1965. package/dist/api/resources/tickets/types/UpdateTicketRequestState.js +0 -11
  1966. package/dist/api/resources/tickets/types/index.d.ts +0 -16
  1967. package/dist/api/resources/tickets/types/index.js +0 -32
  1968. package/dist/api/resources/visitors/client/Client.d.ts +0 -97
  1969. package/dist/api/resources/visitors/client/Client.js +0 -288
  1970. package/dist/api/resources/visitors/client/index.d.ts +0 -1
  1971. package/dist/api/resources/visitors/client/index.js +0 -17
  1972. package/dist/api/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +0 -25
  1973. package/dist/api/resources/visitors/client/requests/ConvertVisitorRequest.js +0 -5
  1974. package/dist/api/resources/visitors/client/requests/VisitorsFindRequest.d.ts +0 -15
  1975. package/dist/api/resources/visitors/client/requests/VisitorsFindRequest.js +0 -5
  1976. package/dist/api/resources/visitors/client/requests/index.d.ts +0 -2
  1977. package/dist/api/resources/visitors/client/requests/index.js +0 -2
  1978. package/dist/api/resources/visitors/index.d.ts +0 -2
  1979. package/dist/api/resources/visitors/index.js +0 -18
  1980. package/dist/api/resources/visitors/types/ConvertVisitorRequestUser.d.ts +0 -8
  1981. package/dist/api/resources/visitors/types/ConvertVisitorRequestUser.js +0 -5
  1982. package/dist/api/resources/visitors/types/ConvertVisitorRequestVisitor.d.ts +0 -8
  1983. package/dist/api/resources/visitors/types/ConvertVisitorRequestVisitor.js +0 -5
  1984. package/dist/api/resources/visitors/types/UserWithId.d.ts +0 -9
  1985. package/dist/api/resources/visitors/types/UserWithId.js +0 -5
  1986. package/dist/api/resources/visitors/types/UserWithUserId.d.ts +0 -9
  1987. package/dist/api/resources/visitors/types/UserWithUserId.js +0 -5
  1988. package/dist/api/resources/visitors/types/VisitorWithEmail.d.ts +0 -7
  1989. package/dist/api/resources/visitors/types/VisitorWithEmail.js +0 -5
  1990. package/dist/api/resources/visitors/types/VisitorWithId.d.ts +0 -7
  1991. package/dist/api/resources/visitors/types/VisitorWithId.js +0 -5
  1992. package/dist/api/resources/visitors/types/VisitorWithUserId.d.ts +0 -7
  1993. package/dist/api/resources/visitors/types/VisitorWithUserId.js +0 -5
  1994. package/dist/api/resources/visitors/types/index.d.ts +0 -7
  1995. package/dist/api/resources/visitors/types/index.js +0 -23
  1996. package/dist/api/types/ActivityLog.d.ts +0 -19
  1997. package/dist/api/types/ActivityLog.js +0 -5
  1998. package/dist/api/types/ActivityLogActivityType.d.ts +0 -73
  1999. package/dist/api/types/ActivityLogActivityType.js +0 -75
  2000. package/dist/api/types/ActivityLogList.d.ts +0 -14
  2001. package/dist/api/types/ActivityLogList.js +0 -5
  2002. package/dist/api/types/ActivityLogMetadata.d.ts +0 -26
  2003. package/dist/api/types/ActivityLogMetadata.js +0 -5
  2004. package/dist/api/types/ActivityLogPerformedBy.d.ts +0 -16
  2005. package/dist/api/types/ActivityLogPerformedBy.js +0 -5
  2006. package/dist/api/types/AddressableList.d.ts +0 -14
  2007. package/dist/api/types/AddressableList.js +0 -5
  2008. package/dist/api/types/AdminList.d.ts +0 -13
  2009. package/dist/api/types/AdminList.js +0 -5
  2010. package/dist/api/types/AdminPriorityLevel.d.ts +0 -12
  2011. package/dist/api/types/AdminPriorityLevel.js +0 -5
  2012. package/dist/api/types/AdminReplyConversationRequest.d.ts +0 -21
  2013. package/dist/api/types/AdminReplyConversationRequest.js +0 -5
  2014. package/dist/api/types/AdminReplyConversationRequestMessageType.d.ts +0 -8
  2015. package/dist/api/types/AdminReplyConversationRequestMessageType.js +0 -10
  2016. package/dist/api/types/AdminReplyTicketRequest.d.ts +0 -21
  2017. package/dist/api/types/AdminReplyTicketRequest.js +0 -5
  2018. package/dist/api/types/AdminReplyTicketRequestMessageType.d.ts +0 -9
  2019. package/dist/api/types/AdminReplyTicketRequestMessageType.js +0 -11
  2020. package/dist/api/types/AdminReplyTicketRequestReplyOptionsItem.d.ts +0 -9
  2021. package/dist/api/types/AdminReplyTicketRequestReplyOptionsItem.js +0 -5
  2022. package/dist/api/types/AdminWithApp.d.ts +0 -33
  2023. package/dist/api/types/AdminWithApp.js +0 -5
  2024. package/dist/api/types/AdminWithAppAvatar.d.ts +0 -12
  2025. package/dist/api/types/AdminWithAppAvatar.js +0 -5
  2026. package/dist/api/types/App.d.ts +0 -22
  2027. package/dist/api/types/App.js +0 -5
  2028. package/dist/api/types/ArticleContent.d.ts +0 -27
  2029. package/dist/api/types/ArticleContent.js +0 -5
  2030. package/dist/api/types/ArticleContentState.d.ts +0 -11
  2031. package/dist/api/types/ArticleContentState.js +0 -10
  2032. package/dist/api/types/ArticleList.d.ts +0 -16
  2033. package/dist/api/types/ArticleList.js +0 -5
  2034. package/dist/api/types/ArticleStatistics.d.ts +0 -22
  2035. package/dist/api/types/ArticleStatistics.js +0 -5
  2036. package/dist/api/types/ArticleTranslatedContent.d.ts +0 -85
  2037. package/dist/api/types/ArticleTranslatedContent.js +0 -5
  2038. package/dist/api/types/AssignConversationRequest.d.ts +0 -16
  2039. package/dist/api/types/AssignConversationRequest.js +0 -5
  2040. package/dist/api/types/AssignConversationRequestType.d.ts +0 -8
  2041. package/dist/api/types/AssignConversationRequestType.js +0 -10
  2042. package/dist/api/types/CloseConversationRequest.d.ts +0 -13
  2043. package/dist/api/types/CloseConversationRequest.js +0 -5
  2044. package/dist/api/types/CollectionList.d.ts +0 -16
  2045. package/dist/api/types/CollectionList.js +0 -5
  2046. package/dist/api/types/CompanyAttachedContacts.d.ts +0 -16
  2047. package/dist/api/types/CompanyAttachedContacts.js +0 -5
  2048. package/dist/api/types/CompanyAttachedSegments.d.ts +0 -13
  2049. package/dist/api/types/CompanyAttachedSegments.js +0 -5
  2050. package/dist/api/types/CompanyList.d.ts +0 -16
  2051. package/dist/api/types/CompanyList.js +0 -5
  2052. package/dist/api/types/CompanyScroll.d.ts +0 -17
  2053. package/dist/api/types/CompanyScroll.js +0 -5
  2054. package/dist/api/types/ContactArchived.d.ts +0 -16
  2055. package/dist/api/types/ContactArchived.js +0 -5
  2056. package/dist/api/types/ContactAttachedCompanies.d.ts +0 -16
  2057. package/dist/api/types/ContactAttachedCompanies.js +0 -5
  2058. package/dist/api/types/ContactCompanies.d.ts +0 -14
  2059. package/dist/api/types/ContactCompanies.js +0 -5
  2060. package/dist/api/types/ContactDeleted.d.ts +0 -16
  2061. package/dist/api/types/ContactDeleted.js +0 -5
  2062. package/dist/api/types/ContactList.d.ts +0 -16
  2063. package/dist/api/types/ContactList.js +0 -5
  2064. package/dist/api/types/ContactLocation.d.ts +0 -16
  2065. package/dist/api/types/ContactLocation.js +0 -5
  2066. package/dist/api/types/ContactNotes.d.ts +0 -17
  2067. package/dist/api/types/ContactNotes.js +0 -5
  2068. package/dist/api/types/ContactReference.d.ts +0 -14
  2069. package/dist/api/types/ContactReference.js +0 -5
  2070. package/dist/api/types/ContactReplyBaseRequest.d.ts +0 -13
  2071. package/dist/api/types/ContactReplyBaseRequest.js +0 -5
  2072. package/dist/api/types/ContactReplyConversationRequest.d.ts +0 -5
  2073. package/dist/api/types/ContactReplyConversationRequest.js +0 -5
  2074. package/dist/api/types/ContactReplyEmailRequest.d.ts +0 -13
  2075. package/dist/api/types/ContactReplyEmailRequest.js +0 -5
  2076. package/dist/api/types/ContactReplyIntercomUserIdRequest.d.ts +0 -13
  2077. package/dist/api/types/ContactReplyIntercomUserIdRequest.js +0 -5
  2078. package/dist/api/types/ContactReplyTicketEmailRequest.d.ts +0 -11
  2079. package/dist/api/types/ContactReplyTicketEmailRequest.js +0 -5
  2080. package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +0 -11
  2081. package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.js +0 -5
  2082. package/dist/api/types/ContactReplyTicketRequest.d.ts +0 -5
  2083. package/dist/api/types/ContactReplyTicketRequest.js +0 -5
  2084. package/dist/api/types/ContactReplyTicketUserIdRequest.d.ts +0 -11
  2085. package/dist/api/types/ContactReplyTicketUserIdRequest.js +0 -5
  2086. package/dist/api/types/ContactReplyUserIdRequest.d.ts +0 -13
  2087. package/dist/api/types/ContactReplyUserIdRequest.js +0 -5
  2088. package/dist/api/types/ContactSegments.d.ts +0 -13
  2089. package/dist/api/types/ContactSegments.js +0 -5
  2090. package/dist/api/types/ContactSocialProfiles.d.ts +0 -11
  2091. package/dist/api/types/ContactSocialProfiles.js +0 -5
  2092. package/dist/api/types/ContactSubscriptionTypes.d.ts +0 -17
  2093. package/dist/api/types/ContactSubscriptionTypes.js +0 -5
  2094. package/dist/api/types/ContactTags.d.ts +0 -17
  2095. package/dist/api/types/ContactTags.js +0 -5
  2096. package/dist/api/types/ContactUnarchived.d.ts +0 -16
  2097. package/dist/api/types/ContactUnarchived.js +0 -5
  2098. package/dist/api/types/ContentSourcesList.d.ts +0 -11
  2099. package/dist/api/types/ContentSourcesList.js +0 -5
  2100. package/dist/api/types/ConversationAttachmentFiles.d.ts +0 -14
  2101. package/dist/api/types/ConversationAttachmentFiles.js +0 -5
  2102. package/dist/api/types/ConversationContacts.d.ts +0 -13
  2103. package/dist/api/types/ConversationContacts.js +0 -5
  2104. package/dist/api/types/ConversationFirstContactReply.d.ts +0 -14
  2105. package/dist/api/types/ConversationFirstContactReply.js +0 -5
  2106. package/dist/api/types/ConversationList.d.ts +0 -16
  2107. package/dist/api/types/ConversationList.js +0 -5
  2108. package/dist/api/types/ConversationPart.d.ts +0 -32
  2109. package/dist/api/types/ConversationPart.js +0 -5
  2110. package/dist/api/types/ConversationPartAuthor.d.ts +0 -16
  2111. package/dist/api/types/ConversationPartAuthor.js +0 -5
  2112. package/dist/api/types/ConversationParts.d.ts +0 -15
  2113. package/dist/api/types/ConversationParts.js +0 -5
  2114. package/dist/api/types/ConversationRating.d.ts +0 -17
  2115. package/dist/api/types/ConversationRating.js +0 -5
  2116. package/dist/api/types/ConversationSource.d.ts +0 -26
  2117. package/dist/api/types/ConversationSource.js +0 -5
  2118. package/dist/api/types/ConversationStatistics.d.ts +0 -46
  2119. package/dist/api/types/ConversationStatistics.js +0 -5
  2120. package/dist/api/types/ConversationTeammates.d.ts +0 -13
  2121. package/dist/api/types/ConversationTeammates.js +0 -5
  2122. package/dist/api/types/CreateArticleRequest.d.ts +0 -24
  2123. package/dist/api/types/CreateArticleRequest.js +0 -5
  2124. package/dist/api/types/CreateArticleRequestState.d.ts +0 -11
  2125. package/dist/api/types/CreateArticleRequestState.js +0 -10
  2126. package/dist/api/types/CreateContactRequest.d.ts +0 -8
  2127. package/dist/api/types/CreateContactRequest.js +0 -5
  2128. package/dist/api/types/CreateContactRequestWithEmail.d.ts +0 -23
  2129. package/dist/api/types/CreateContactRequestWithEmail.js +0 -5
  2130. package/dist/api/types/CreateContactRequestWithExternalId.d.ts +0 -23
  2131. package/dist/api/types/CreateContactRequestWithExternalId.js +0 -5
  2132. package/dist/api/types/CreateContactRequestWithRole.d.ts +0 -23
  2133. package/dist/api/types/CreateContactRequestWithRole.js +0 -5
  2134. package/dist/api/types/CreateDataEventRequest.d.ts +0 -8
  2135. package/dist/api/types/CreateDataEventRequest.js +0 -5
  2136. package/dist/api/types/CreateDataEventRequestWithEmail.d.ts +0 -13
  2137. package/dist/api/types/CreateDataEventRequestWithEmail.js +0 -5
  2138. package/dist/api/types/CreateDataEventRequestWithId.d.ts +0 -13
  2139. package/dist/api/types/CreateDataEventRequestWithId.js +0 -5
  2140. package/dist/api/types/CreateDataEventRequestWithUserId.d.ts +0 -13
  2141. package/dist/api/types/CreateDataEventRequestWithUserId.js +0 -5
  2142. package/dist/api/types/CreateMessageRequest.d.ts +0 -16
  2143. package/dist/api/types/CreateMessageRequest.js +0 -5
  2144. package/dist/api/types/CreateMessageRequestFrom.d.ts +0 -12
  2145. package/dist/api/types/CreateMessageRequestFrom.js +0 -5
  2146. package/dist/api/types/CreateMessageRequestTo.d.ts +0 -13
  2147. package/dist/api/types/CreateMessageRequestTo.js +0 -5
  2148. package/dist/api/types/CreateMessageRequestType.d.ts +0 -11
  2149. package/dist/api/types/CreateMessageRequestType.js +0 -10
  2150. package/dist/api/types/CreateMessageRequestWithEmail.d.ts +0 -20
  2151. package/dist/api/types/CreateMessageRequestWithEmail.js +0 -5
  2152. package/dist/api/types/CreateMessageRequestWithInapp.d.ts +0 -20
  2153. package/dist/api/types/CreateMessageRequestWithInapp.js +0 -5
  2154. package/dist/api/types/CreateOrUpdateCompanyRequest.d.ts +0 -26
  2155. package/dist/api/types/CreateOrUpdateCompanyRequest.js +0 -5
  2156. package/dist/api/types/CreateOrUpdateTagRequest.d.ts +0 -12
  2157. package/dist/api/types/CreateOrUpdateTagRequest.js +0 -5
  2158. package/dist/api/types/CreatePhoneSwitchRequest.d.ts +0 -12
  2159. package/dist/api/types/CreatePhoneSwitchRequest.js +0 -5
  2160. package/dist/api/types/CreateTicketReplyWithCommentRequest.d.ts +0 -5
  2161. package/dist/api/types/CreateTicketReplyWithCommentRequest.js +0 -5
  2162. package/dist/api/types/CreateTicketTypeRequest.d.ts +0 -20
  2163. package/dist/api/types/CreateTicketTypeRequest.js +0 -5
  2164. package/dist/api/types/CreateTicketTypeRequestCategory.d.ts +0 -12
  2165. package/dist/api/types/CreateTicketTypeRequestCategory.js +0 -11
  2166. package/dist/api/types/CursorPages.d.ts +0 -19
  2167. package/dist/api/types/CursorPages.js +0 -5
  2168. package/dist/api/types/CustomAttributes.d.ts +0 -8
  2169. package/dist/api/types/CustomAttributes.js +0 -5
  2170. package/dist/api/types/CustomAttributesValue.d.ts +0 -5
  2171. package/dist/api/types/CustomAttributesValue.js +0 -5
  2172. package/dist/api/types/CustomerRequest.d.ts +0 -5
  2173. package/dist/api/types/CustomerRequest.js +0 -5
  2174. package/dist/api/types/CustomerRequestEmail.d.ts +0 -7
  2175. package/dist/api/types/CustomerRequestEmail.js +0 -5
  2176. package/dist/api/types/CustomerRequestIntercomUserId.d.ts +0 -7
  2177. package/dist/api/types/CustomerRequestIntercomUserId.js +0 -5
  2178. package/dist/api/types/CustomerRequestUserId.d.ts +0 -7
  2179. package/dist/api/types/CustomerRequestUserId.js +0 -5
  2180. package/dist/api/types/DataAttributeList.d.ts +0 -13
  2181. package/dist/api/types/DataAttributeList.js +0 -5
  2182. package/dist/api/types/DataEventList.d.ts +0 -15
  2183. package/dist/api/types/DataEventList.js +0 -5
  2184. package/dist/api/types/DataEventListPages.d.ts +0 -10
  2185. package/dist/api/types/DataEventListPages.js +0 -5
  2186. package/dist/api/types/DataEventSummary.d.ts +0 -19
  2187. package/dist/api/types/DataEventSummary.js +0 -5
  2188. package/dist/api/types/DataEventSummaryItem.d.ts +0 -18
  2189. package/dist/api/types/DataEventSummaryItem.js +0 -5
  2190. package/dist/api/types/DataExportCsv.d.ts +0 -60
  2191. package/dist/api/types/DataExportCsv.js +0 -5
  2192. package/dist/api/types/DeletedArticleObject.d.ts +0 -14
  2193. package/dist/api/types/DeletedArticleObject.js +0 -5
  2194. package/dist/api/types/DeletedCollectionObject.d.ts +0 -14
  2195. package/dist/api/types/DeletedCollectionObject.js +0 -5
  2196. package/dist/api/types/DeletedCompanyObject.d.ts +0 -14
  2197. package/dist/api/types/DeletedCompanyObject.js +0 -5
  2198. package/dist/api/types/DeletedObject.d.ts +0 -14
  2199. package/dist/api/types/DeletedObject.js +0 -5
  2200. package/dist/api/types/ErrorErrorsItem.d.ts +0 -11
  2201. package/dist/api/types/ErrorErrorsItem.js +0 -5
  2202. package/dist/api/types/Error_.d.ts +0 -15
  2203. package/dist/api/types/Error_.js +0 -5
  2204. package/dist/api/types/FileAttribute.d.ts +0 -21
  2205. package/dist/api/types/FileAttribute.js +0 -5
  2206. package/dist/api/types/GroupContent.d.ts +0 -14
  2207. package/dist/api/types/GroupContent.js +0 -5
  2208. package/dist/api/types/GroupTranslatedContent.d.ts +0 -85
  2209. package/dist/api/types/GroupTranslatedContent.js +0 -5
  2210. package/dist/api/types/LinkedObject.d.ts +0 -15
  2211. package/dist/api/types/LinkedObject.js +0 -5
  2212. package/dist/api/types/LinkedObjectList.d.ts +0 -17
  2213. package/dist/api/types/LinkedObjectList.js +0 -5
  2214. package/dist/api/types/LinkedObjectType.d.ts +0 -11
  2215. package/dist/api/types/LinkedObjectType.js +0 -10
  2216. package/dist/api/types/MultipleFilterSearchRequest.d.ts +0 -12
  2217. package/dist/api/types/MultipleFilterSearchRequest.js +0 -5
  2218. package/dist/api/types/MultipleFilterSearchRequestOperator.d.ts +0 -11
  2219. package/dist/api/types/MultipleFilterSearchRequestOperator.js +0 -10
  2220. package/dist/api/types/MultipleFilterSearchRequestValue.d.ts +0 -11
  2221. package/dist/api/types/MultipleFilterSearchRequestValue.js +0 -5
  2222. package/dist/api/types/NewsItemRequest.d.ts +0 -25
  2223. package/dist/api/types/NewsItemRequest.js +0 -5
  2224. package/dist/api/types/NewsItemRequestState.d.ts +0 -11
  2225. package/dist/api/types/NewsItemRequestState.js +0 -10
  2226. package/dist/api/types/NoteList.d.ts +0 -16
  2227. package/dist/api/types/NoteList.js +0 -5
  2228. package/dist/api/types/OpenConversationRequest.d.ts +0 -10
  2229. package/dist/api/types/OpenConversationRequest.js +0 -5
  2230. package/dist/api/types/PagesLink.d.ts +0 -16
  2231. package/dist/api/types/PagesLink.js +0 -5
  2232. package/dist/api/types/PaginatedResponse.d.ts +0 -16
  2233. package/dist/api/types/PaginatedResponse.js +0 -5
  2234. package/dist/api/types/PaginatedResponseDataItem.d.ts +0 -13
  2235. package/dist/api/types/PaginatedResponseDataItem.js +0 -5
  2236. package/dist/api/types/PaginatedResponseType.d.ts +0 -11
  2237. package/dist/api/types/PaginatedResponseType.js +0 -10
  2238. package/dist/api/types/PartAttachment.d.ts +0 -22
  2239. package/dist/api/types/PartAttachment.js +0 -5
  2240. package/dist/api/types/PhoneSwitch.d.ts +0 -12
  2241. package/dist/api/types/PhoneSwitch.js +0 -5
  2242. package/dist/api/types/RedactConversationRequest.d.ts +0 -19
  2243. package/dist/api/types/RedactConversationRequest.js +0 -5
  2244. package/dist/api/types/RedactConversationRequestConversationPart.d.ts +0 -12
  2245. package/dist/api/types/RedactConversationRequestConversationPart.js +0 -5
  2246. package/dist/api/types/RedactConversationRequestSource.d.ts +0 -12
  2247. package/dist/api/types/RedactConversationRequestSource.js +0 -5
  2248. package/dist/api/types/Reference.d.ts +0 -12
  2249. package/dist/api/types/Reference.js +0 -5
  2250. package/dist/api/types/ReplyConversationRequest.d.ts +0 -5
  2251. package/dist/api/types/ReplyConversationRequest.js +0 -5
  2252. package/dist/api/types/SearchRequest.d.ts +0 -11
  2253. package/dist/api/types/SearchRequest.js +0 -5
  2254. package/dist/api/types/SearchRequestQuery.d.ts +0 -5
  2255. package/dist/api/types/SearchRequestQuery.js +0 -5
  2256. package/dist/api/types/SegmentList.d.ts +0 -15
  2257. package/dist/api/types/SegmentList.js +0 -5
  2258. package/dist/api/types/SingleFilterSearchRequest.d.ts +0 -15
  2259. package/dist/api/types/SingleFilterSearchRequest.js +0 -5
  2260. package/dist/api/types/SingleFilterSearchRequestOperator.d.ts +0 -19
  2261. package/dist/api/types/SingleFilterSearchRequestOperator.js +0 -18
  2262. package/dist/api/types/SlaApplied.d.ts +0 -16
  2263. package/dist/api/types/SlaApplied.js +0 -5
  2264. package/dist/api/types/SlaAppliedSlaStatus.d.ts +0 -13
  2265. package/dist/api/types/SlaAppliedSlaStatus.js +0 -12
  2266. package/dist/api/types/SnoozeConversationRequest.d.ts +0 -12
  2267. package/dist/api/types/SnoozeConversationRequest.js +0 -5
  2268. package/dist/api/types/SocialProfile.d.ts +0 -14
  2269. package/dist/api/types/SocialProfile.js +0 -5
  2270. package/dist/api/types/StartingAfterPaging.d.ts +0 -9
  2271. package/dist/api/types/StartingAfterPaging.js +0 -5
  2272. package/dist/api/types/SubscriptionTypeList.d.ts +0 -13
  2273. package/dist/api/types/SubscriptionTypeList.js +0 -5
  2274. package/dist/api/types/TagCompanyRequest.d.ts +0 -13
  2275. package/dist/api/types/TagCompanyRequest.js +0 -5
  2276. package/dist/api/types/TagCompanyRequestCompaniesItem.d.ts +0 -9
  2277. package/dist/api/types/TagCompanyRequestCompaniesItem.js +0 -5
  2278. package/dist/api/types/TagList.d.ts +0 -13
  2279. package/dist/api/types/TagList.js +0 -5
  2280. package/dist/api/types/TagMultipleUsersRequest.d.ts +0 -12
  2281. package/dist/api/types/TagMultipleUsersRequest.js +0 -5
  2282. package/dist/api/types/TagMultipleUsersRequestUsersItem.d.ts +0 -7
  2283. package/dist/api/types/TagMultipleUsersRequestUsersItem.js +0 -5
  2284. package/dist/api/types/Tags.d.ts +0 -13
  2285. package/dist/api/types/Tags.js +0 -5
  2286. package/dist/api/types/TeamList.d.ts +0 -13
  2287. package/dist/api/types/TeamList.js +0 -5
  2288. package/dist/api/types/TeamPriorityLevel.d.ts +0 -12
  2289. package/dist/api/types/TeamPriorityLevel.js +0 -5
  2290. package/dist/api/types/TicketCustomAttributes.d.ts +0 -8
  2291. package/dist/api/types/TicketCustomAttributes.js +0 -5
  2292. package/dist/api/types/TicketCustomAttributesValue.d.ts +0 -5
  2293. package/dist/api/types/TicketCustomAttributesValue.js +0 -5
  2294. package/dist/api/types/TicketList.d.ts +0 -16
  2295. package/dist/api/types/TicketList.js +0 -5
  2296. package/dist/api/types/TicketPartAuthor.d.ts +0 -17
  2297. package/dist/api/types/TicketPartAuthor.js +0 -5
  2298. package/dist/api/types/TicketPartAuthorType.d.ts +0 -13
  2299. package/dist/api/types/TicketPartAuthorType.js +0 -12
  2300. package/dist/api/types/TicketParts.d.ts +0 -15
  2301. package/dist/api/types/TicketParts.js +0 -5
  2302. package/dist/api/types/TicketReply.d.ts +0 -26
  2303. package/dist/api/types/TicketReply.js +0 -5
  2304. package/dist/api/types/TicketReplyPartType.d.ts +0 -12
  2305. package/dist/api/types/TicketReplyPartType.js +0 -11
  2306. package/dist/api/types/TicketRequestCustomAttributes.d.ts +0 -8
  2307. package/dist/api/types/TicketRequestCustomAttributes.js +0 -5
  2308. package/dist/api/types/TicketRequestCustomAttributesValue.d.ts +0 -4
  2309. package/dist/api/types/TicketRequestCustomAttributesValue.js +0 -5
  2310. package/dist/api/types/TicketTypeAttribute.d.ts +0 -42
  2311. package/dist/api/types/TicketTypeAttribute.js +0 -5
  2312. package/dist/api/types/TicketTypeAttributeList.d.ts +0 -13
  2313. package/dist/api/types/TicketTypeAttributeList.js +0 -5
  2314. package/dist/api/types/TicketTypeList.d.ts +0 -13
  2315. package/dist/api/types/TicketTypeList.js +0 -5
  2316. package/dist/api/types/Translation.d.ts +0 -14
  2317. package/dist/api/types/Translation.js +0 -5
  2318. package/dist/api/types/UntagCompanyRequest.d.ts +0 -13
  2319. package/dist/api/types/UntagCompanyRequest.js +0 -5
  2320. package/dist/api/types/UntagCompanyRequestCompaniesItem.d.ts +0 -11
  2321. package/dist/api/types/UntagCompanyRequestCompaniesItem.js +0 -5
  2322. package/dist/api/types/UpdateArticleRequest.d.ts +0 -24
  2323. package/dist/api/types/UpdateArticleRequest.js +0 -5
  2324. package/dist/api/types/UpdateArticleRequestState.d.ts +0 -11
  2325. package/dist/api/types/UpdateArticleRequestState.js +0 -10
  2326. package/dist/api/types/UpdateTicketTypeRequest.d.ts +0 -22
  2327. package/dist/api/types/UpdateTicketTypeRequest.js +0 -5
  2328. package/dist/api/types/UpdateTicketTypeRequestCategory.d.ts +0 -12
  2329. package/dist/api/types/UpdateTicketTypeRequestCategory.js +0 -11
  2330. package/dist/api/types/UpdateVisitorRequest.d.ts +0 -8
  2331. package/dist/api/types/UpdateVisitorRequest.js +0 -5
  2332. package/dist/api/types/UpdateVisitorRequestWithId.d.ts +0 -9
  2333. package/dist/api/types/UpdateVisitorRequestWithId.js +0 -5
  2334. package/dist/api/types/UpdateVisitorRequestWithUserId.d.ts +0 -9
  2335. package/dist/api/types/UpdateVisitorRequestWithUserId.js +0 -5
  2336. package/dist/api/types/Visitor.d.ts +0 -69
  2337. package/dist/api/types/Visitor.js +0 -5
  2338. package/dist/api/types/VisitorAvatar.d.ts +0 -9
  2339. package/dist/api/types/VisitorAvatar.js +0 -5
  2340. package/dist/api/types/VisitorCompanies.d.ts +0 -9
  2341. package/dist/api/types/VisitorCompanies.js +0 -5
  2342. package/dist/api/types/VisitorDeletedObject.d.ts +0 -14
  2343. package/dist/api/types/VisitorDeletedObject.js +0 -5
  2344. package/dist/api/types/VisitorLocationData.d.ts +0 -21
  2345. package/dist/api/types/VisitorLocationData.js +0 -5
  2346. package/dist/api/types/VisitorSegments.d.ts +0 -8
  2347. package/dist/api/types/VisitorSegments.js +0 -5
  2348. package/dist/api/types/VisitorSocialProfiles.d.ts +0 -8
  2349. package/dist/api/types/VisitorSocialProfiles.js +0 -5
  2350. package/dist/api/types/VisitorTags.d.ts +0 -9
  2351. package/dist/api/types/VisitorTags.js +0 -5
  2352. package/dist/api/types/VisitorTagsTagsItem.d.ts +0 -11
  2353. package/dist/api/types/VisitorTagsTagsItem.js +0 -5
  2354. package/dist/api/types/index.d.ts +0 -179
  2355. package/dist/api/types/index.js +0 -195
  2356. package/dist/api/version.d.ts +0 -5
  2357. package/dist/api/version.js +0 -5
  2358. package/dist/core/auth/BasicAuth.d.ts +0 -8
  2359. package/dist/core/auth/BasicAuth.js +0 -26
  2360. package/dist/core/auth/BearerToken.d.ts +0 -5
  2361. package/dist/core/auth/BearerToken.js +0 -15
  2362. package/dist/core/auth/index.d.ts +0 -2
  2363. package/dist/core/auth/index.js +0 -7
  2364. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  2365. package/dist/core/fetcher/APIResponse.js +0 -2
  2366. package/dist/core/fetcher/Fetcher.d.ts +0 -38
  2367. package/dist/core/fetcher/Fetcher.js +0 -99
  2368. package/dist/core/fetcher/Supplier.d.ts +0 -4
  2369. package/dist/core/fetcher/Supplier.js +0 -22
  2370. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  2371. package/dist/core/fetcher/createRequestUrl.js +0 -13
  2372. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  2373. package/dist/core/fetcher/getFetchFn.js +0 -55
  2374. package/dist/core/fetcher/getHeader.d.ts +0 -1
  2375. package/dist/core/fetcher/getHeader.js +0 -12
  2376. package/dist/core/fetcher/getRequestBody.d.ts +0 -7
  2377. package/dist/core/fetcher/getRequestBody.js +0 -23
  2378. package/dist/core/fetcher/getResponseBody.d.ts +0 -1
  2379. package/dist/core/fetcher/getResponseBody.js +0 -48
  2380. package/dist/core/fetcher/index.d.ts +0 -5
  2381. package/dist/core/fetcher/index.js +0 -9
  2382. package/dist/core/fetcher/makeRequest.d.ts +0 -1
  2383. package/dist/core/fetcher/makeRequest.js +0 -40
  2384. package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
  2385. package/dist/core/fetcher/requestWithRetries.js +0 -32
  2386. package/dist/core/fetcher/signals.d.ts +0 -12
  2387. package/dist/core/fetcher/signals.js +0 -37
  2388. package/dist/core/index.d.ts +0 -5
  2389. package/dist/core/index.js +0 -21
  2390. package/dist/core/pagination/Page.d.ts +0 -29
  2391. package/dist/core/pagination/Page.js +0 -94
  2392. package/dist/core/pagination/Pageable.d.ts +0 -12
  2393. package/dist/core/pagination/Pageable.js +0 -10
  2394. package/dist/core/pagination/index.d.ts +0 -2
  2395. package/dist/core/pagination/index.js +0 -7
  2396. package/dist/core/runtime/index.d.ts +0 -1
  2397. package/dist/core/runtime/index.js +0 -5
  2398. package/dist/core/runtime/runtime.d.ts +0 -9
  2399. package/dist/core/runtime/runtime.js +0 -93
  2400. package/dist/core/utils/index.d.ts +0 -1
  2401. package/dist/core/utils/index.js +0 -5
  2402. package/dist/core/utils/setObjectProperty.d.ts +0 -11
  2403. package/dist/core/utils/setObjectProperty.js +0 -43
  2404. package/dist/environments.d.ts +0 -9
  2405. package/dist/environments.js +0 -11
  2406. package/dist/errors/IntercomError.d.ts +0 -12
  2407. package/dist/errors/IntercomError.js +0 -32
  2408. package/dist/errors/IntercomTimeoutError.d.ts +0 -6
  2409. package/dist/errors/IntercomTimeoutError.js +0 -13
  2410. package/dist/errors/index.d.ts +0 -2
  2411. package/dist/errors/index.js +0 -7
  2412. package/dist/index.d.ts +0 -4
  2413. package/dist/index.js +0 -34
  2414. package/environments.d.ts +0 -9
  2415. package/environments.js +0 -11
  2416. package/errors/IntercomError.d.ts +0 -12
  2417. package/errors/IntercomError.js +0 -32
  2418. package/errors/IntercomTimeoutError.d.ts +0 -6
  2419. package/errors/IntercomTimeoutError.js +0 -13
  2420. package/errors/index.d.ts +0 -2
  2421. package/errors/index.js +0 -7
  2422. package/jest.config.js +0 -5
  2423. package/reference.md +0 -7755
@@ -1,1150 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.Contacts = void 0;
42
- const environments = __importStar(require("../../../../environments"));
43
- const core = __importStar(require("../../../../core"));
44
- const Intercom = __importStar(require("../../../index"));
45
- const url_join_1 = __importDefault(require("url-join"));
46
- const errors = __importStar(require("../../../../errors/index"));
47
- /**
48
- * Everything about your contacts
49
- */
50
- class Contacts {
51
- constructor(_options = {}) {
52
- this._options = _options;
53
- }
54
- /**
55
- * You can fetch a list of companies that are associated to a contact.
56
- *
57
- * @param {string} id - The unique identifier for the contact which is given by Intercom
58
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
59
- *
60
- * @throws {@link Intercom.UnauthorizedError}
61
- * @throws {@link Intercom.NotFoundError}
62
- *
63
- * @example
64
- * await client.contacts.listAttachedCompanies("id")
65
- */
66
- listAttachedCompanies(id, requestOptions) {
67
- var _a, _b, _c, _d, _e;
68
- return __awaiter(this, void 0, void 0, function* () {
69
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
70
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}/companies`),
71
- method: "GET",
72
- headers: {
73
- Authorization: yield this._getAuthorizationHeader(),
74
- "X-Fern-Language": "JavaScript",
75
- "X-Fern-SDK-Name": "intercom-client",
76
- "X-Fern-SDK-Version": "6.0.0-alpha",
77
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
78
- "X-Fern-Runtime": core.RUNTIME.type,
79
- "X-Fern-Runtime-Version": core.RUNTIME.version,
80
- },
81
- contentType: "application/json",
82
- requestType: "json",
83
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
84
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
85
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
86
- });
87
- if (_response.ok) {
88
- return _response.body;
89
- }
90
- if (_response.error.reason === "status-code") {
91
- switch (_response.error.statusCode) {
92
- case 401:
93
- throw new Intercom.UnauthorizedError(_response.error.body);
94
- case 404:
95
- throw new Intercom.NotFoundError(_response.error.body);
96
- default:
97
- throw new errors.IntercomError({
98
- statusCode: _response.error.statusCode,
99
- body: _response.error.body,
100
- });
101
- }
102
- }
103
- switch (_response.error.reason) {
104
- case "non-json":
105
- throw new errors.IntercomError({
106
- statusCode: _response.error.statusCode,
107
- body: _response.error.rawBody,
108
- });
109
- case "timeout":
110
- throw new errors.IntercomTimeoutError();
111
- case "unknown":
112
- throw new errors.IntercomError({
113
- message: _response.error.errorMessage,
114
- });
115
- }
116
- });
117
- }
118
- /**
119
- * You can fetch a list of segments that are associated to a contact.
120
- *
121
- * @param {string} contactId - The unique identifier for the contact which is given by Intercom
122
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
123
- *
124
- * @throws {@link Intercom.UnauthorizedError}
125
- * @throws {@link Intercom.NotFoundError}
126
- *
127
- * @example
128
- * await client.contacts.listAttachedSegments("contact_id")
129
- */
130
- listAttachedSegments(contactId, requestOptions) {
131
- var _a, _b, _c, _d, _e;
132
- return __awaiter(this, void 0, void 0, function* () {
133
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
134
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/segments`),
135
- method: "GET",
136
- headers: {
137
- Authorization: yield this._getAuthorizationHeader(),
138
- "X-Fern-Language": "JavaScript",
139
- "X-Fern-SDK-Name": "intercom-client",
140
- "X-Fern-SDK-Version": "6.0.0-alpha",
141
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
142
- "X-Fern-Runtime": core.RUNTIME.type,
143
- "X-Fern-Runtime-Version": core.RUNTIME.version,
144
- },
145
- contentType: "application/json",
146
- requestType: "json",
147
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
148
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
149
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
150
- });
151
- if (_response.ok) {
152
- return _response.body;
153
- }
154
- if (_response.error.reason === "status-code") {
155
- switch (_response.error.statusCode) {
156
- case 401:
157
- throw new Intercom.UnauthorizedError(_response.error.body);
158
- case 404:
159
- throw new Intercom.NotFoundError(_response.error.body);
160
- default:
161
- throw new errors.IntercomError({
162
- statusCode: _response.error.statusCode,
163
- body: _response.error.body,
164
- });
165
- }
166
- }
167
- switch (_response.error.reason) {
168
- case "non-json":
169
- throw new errors.IntercomError({
170
- statusCode: _response.error.statusCode,
171
- body: _response.error.rawBody,
172
- });
173
- case "timeout":
174
- throw new errors.IntercomTimeoutError();
175
- case "unknown":
176
- throw new errors.IntercomError({
177
- message: _response.error.errorMessage,
178
- });
179
- }
180
- });
181
- }
182
- /**
183
- * You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.
184
- * This will return a list of Subscription Type objects that the contact is associated with.
185
- *
186
- * The data property will show a combined list of:
187
- *
188
- * 1.Opt-out subscription types that the user has opted-out from.
189
- * 2.Opt-in subscription types that the user has opted-in to receiving.
190
- *
191
- * @param {string} contactId - The unique identifier for the contact which is given by Intercom
192
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
193
- *
194
- * @throws {@link Intercom.UnauthorizedError}
195
- * @throws {@link Intercom.NotFoundError}
196
- *
197
- * @example
198
- * await client.contacts.listAttachedEmailSubscriptions("contact_id")
199
- */
200
- listAttachedEmailSubscriptions(contactId, requestOptions) {
201
- var _a, _b, _c, _d, _e;
202
- return __awaiter(this, void 0, void 0, function* () {
203
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
204
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions`),
205
- method: "GET",
206
- headers: {
207
- Authorization: yield this._getAuthorizationHeader(),
208
- "X-Fern-Language": "JavaScript",
209
- "X-Fern-SDK-Name": "intercom-client",
210
- "X-Fern-SDK-Version": "6.0.0-alpha",
211
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
212
- "X-Fern-Runtime": core.RUNTIME.type,
213
- "X-Fern-Runtime-Version": core.RUNTIME.version,
214
- },
215
- contentType: "application/json",
216
- requestType: "json",
217
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
218
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
219
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
220
- });
221
- if (_response.ok) {
222
- return _response.body;
223
- }
224
- if (_response.error.reason === "status-code") {
225
- switch (_response.error.statusCode) {
226
- case 401:
227
- throw new Intercom.UnauthorizedError(_response.error.body);
228
- case 404:
229
- throw new Intercom.NotFoundError(_response.error.body);
230
- default:
231
- throw new errors.IntercomError({
232
- statusCode: _response.error.statusCode,
233
- body: _response.error.body,
234
- });
235
- }
236
- }
237
- switch (_response.error.reason) {
238
- case "non-json":
239
- throw new errors.IntercomError({
240
- statusCode: _response.error.statusCode,
241
- body: _response.error.rawBody,
242
- });
243
- case "timeout":
244
- throw new errors.IntercomTimeoutError();
245
- case "unknown":
246
- throw new errors.IntercomError({
247
- message: _response.error.errorMessage,
248
- });
249
- }
250
- });
251
- }
252
- /**
253
- * You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:
254
- *
255
- * 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.
256
- *
257
- * 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.
258
- *
259
- * This will return a subscription type model for the subscription type that was added to the contact.
260
- *
261
- * @param {string} contactId - The unique identifier for the contact which is given by Intercom
262
- * @param {Intercom.ContactsAttachToContactRequest} request
263
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
264
- *
265
- * @throws {@link Intercom.UnauthorizedError}
266
- * @throws {@link Intercom.NotFoundError}
267
- *
268
- * @example
269
- * await client.contacts.attachToContact("contact_id", {
270
- * id: "37846",
271
- * consent_type: "opt_in"
272
- * })
273
- *
274
- * @example
275
- * await client.contacts.attachToContact("contact_id", {
276
- * id: "invalid_id",
277
- * consent_type: "opt_in"
278
- * })
279
- */
280
- attachToContact(contactId, request, requestOptions) {
281
- var _a, _b, _c, _d, _e;
282
- return __awaiter(this, void 0, void 0, function* () {
283
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
284
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions`),
285
- method: "POST",
286
- headers: {
287
- Authorization: yield this._getAuthorizationHeader(),
288
- "X-Fern-Language": "JavaScript",
289
- "X-Fern-SDK-Name": "intercom-client",
290
- "X-Fern-SDK-Version": "6.0.0-alpha",
291
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
292
- "X-Fern-Runtime": core.RUNTIME.type,
293
- "X-Fern-Runtime-Version": core.RUNTIME.version,
294
- },
295
- contentType: "application/json",
296
- requestType: "json",
297
- body: request,
298
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
300
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
301
- });
302
- if (_response.ok) {
303
- return _response.body;
304
- }
305
- if (_response.error.reason === "status-code") {
306
- switch (_response.error.statusCode) {
307
- case 401:
308
- throw new Intercom.UnauthorizedError(_response.error.body);
309
- case 404:
310
- throw new Intercom.NotFoundError(_response.error.body);
311
- default:
312
- throw new errors.IntercomError({
313
- statusCode: _response.error.statusCode,
314
- body: _response.error.body,
315
- });
316
- }
317
- }
318
- switch (_response.error.reason) {
319
- case "non-json":
320
- throw new errors.IntercomError({
321
- statusCode: _response.error.statusCode,
322
- body: _response.error.rawBody,
323
- });
324
- case "timeout":
325
- throw new errors.IntercomTimeoutError();
326
- case "unknown":
327
- throw new errors.IntercomError({
328
- message: _response.error.errorMessage,
329
- });
330
- }
331
- });
332
- }
333
- /**
334
- * You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.
335
- *
336
- * @param {string} contactId - The unique identifier for the contact which is given by Intercom
337
- * @param {string} id - The unique identifier for the subscription type which is given by Intercom
338
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
339
- *
340
- * @throws {@link Intercom.UnauthorizedError}
341
- * @throws {@link Intercom.NotFoundError}
342
- *
343
- * @example
344
- * await client.contacts.detachFromContact("contact_id", "id")
345
- */
346
- detachFromContact(contactId, id, requestOptions) {
347
- var _a, _b, _c, _d, _e;
348
- return __awaiter(this, void 0, void 0, function* () {
349
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
350
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/subscriptions/${encodeURIComponent(id)}`),
351
- method: "DELETE",
352
- headers: {
353
- Authorization: yield this._getAuthorizationHeader(),
354
- "X-Fern-Language": "JavaScript",
355
- "X-Fern-SDK-Name": "intercom-client",
356
- "X-Fern-SDK-Version": "6.0.0-alpha",
357
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
358
- "X-Fern-Runtime": core.RUNTIME.type,
359
- "X-Fern-Runtime-Version": core.RUNTIME.version,
360
- },
361
- contentType: "application/json",
362
- requestType: "json",
363
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
364
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
365
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
366
- });
367
- if (_response.ok) {
368
- return _response.body;
369
- }
370
- if (_response.error.reason === "status-code") {
371
- switch (_response.error.statusCode) {
372
- case 401:
373
- throw new Intercom.UnauthorizedError(_response.error.body);
374
- case 404:
375
- throw new Intercom.NotFoundError(_response.error.body);
376
- default:
377
- throw new errors.IntercomError({
378
- statusCode: _response.error.statusCode,
379
- body: _response.error.body,
380
- });
381
- }
382
- }
383
- switch (_response.error.reason) {
384
- case "non-json":
385
- throw new errors.IntercomError({
386
- statusCode: _response.error.statusCode,
387
- body: _response.error.rawBody,
388
- });
389
- case "timeout":
390
- throw new errors.IntercomTimeoutError();
391
- case "unknown":
392
- throw new errors.IntercomError({
393
- message: _response.error.errorMessage,
394
- });
395
- }
396
- });
397
- }
398
- /**
399
- * You can fetch a list of all tags that are attached to a specific contact.
400
- *
401
- * @param {string} contactId - The unique identifier for the contact which is given by Intercom
402
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
403
- *
404
- * @throws {@link Intercom.UnauthorizedError}
405
- * @throws {@link Intercom.NotFoundError}
406
- *
407
- * @example
408
- * await client.contacts.listAttachedTags("contact_id")
409
- */
410
- listAttachedTags(contactId, requestOptions) {
411
- var _a, _b, _c, _d, _e;
412
- return __awaiter(this, void 0, void 0, function* () {
413
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
414
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(contactId)}/tags`),
415
- method: "GET",
416
- headers: {
417
- Authorization: yield this._getAuthorizationHeader(),
418
- "X-Fern-Language": "JavaScript",
419
- "X-Fern-SDK-Name": "intercom-client",
420
- "X-Fern-SDK-Version": "6.0.0-alpha",
421
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
422
- "X-Fern-Runtime": core.RUNTIME.type,
423
- "X-Fern-Runtime-Version": core.RUNTIME.version,
424
- },
425
- contentType: "application/json",
426
- requestType: "json",
427
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
428
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
429
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
430
- });
431
- if (_response.ok) {
432
- return _response.body;
433
- }
434
- if (_response.error.reason === "status-code") {
435
- switch (_response.error.statusCode) {
436
- case 401:
437
- throw new Intercom.UnauthorizedError(_response.error.body);
438
- case 404:
439
- throw new Intercom.NotFoundError(_response.error.body);
440
- default:
441
- throw new errors.IntercomError({
442
- statusCode: _response.error.statusCode,
443
- body: _response.error.body,
444
- });
445
- }
446
- }
447
- switch (_response.error.reason) {
448
- case "non-json":
449
- throw new errors.IntercomError({
450
- statusCode: _response.error.statusCode,
451
- body: _response.error.rawBody,
452
- });
453
- case "timeout":
454
- throw new errors.IntercomTimeoutError();
455
- case "unknown":
456
- throw new errors.IntercomError({
457
- message: _response.error.errorMessage,
458
- });
459
- }
460
- });
461
- }
462
- /**
463
- * You can fetch the details of a single contact.
464
- *
465
- * @param {string} id - id
466
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
467
- *
468
- * @throws {@link Intercom.UnauthorizedError}
469
- *
470
- * @example
471
- * await client.contacts.find("id")
472
- */
473
- find(id, requestOptions) {
474
- var _a, _b, _c, _d, _e;
475
- return __awaiter(this, void 0, void 0, function* () {
476
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
477
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}`),
478
- method: "GET",
479
- headers: {
480
- Authorization: yield this._getAuthorizationHeader(),
481
- "X-Fern-Language": "JavaScript",
482
- "X-Fern-SDK-Name": "intercom-client",
483
- "X-Fern-SDK-Version": "6.0.0-alpha",
484
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
485
- "X-Fern-Runtime": core.RUNTIME.type,
486
- "X-Fern-Runtime-Version": core.RUNTIME.version,
487
- },
488
- contentType: "application/json",
489
- requestType: "json",
490
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
491
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
492
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
493
- });
494
- if (_response.ok) {
495
- return _response.body;
496
- }
497
- if (_response.error.reason === "status-code") {
498
- switch (_response.error.statusCode) {
499
- case 401:
500
- throw new Intercom.UnauthorizedError(_response.error.body);
501
- default:
502
- throw new errors.IntercomError({
503
- statusCode: _response.error.statusCode,
504
- body: _response.error.body,
505
- });
506
- }
507
- }
508
- switch (_response.error.reason) {
509
- case "non-json":
510
- throw new errors.IntercomError({
511
- statusCode: _response.error.statusCode,
512
- body: _response.error.rawBody,
513
- });
514
- case "timeout":
515
- throw new errors.IntercomTimeoutError();
516
- case "unknown":
517
- throw new errors.IntercomError({
518
- message: _response.error.errorMessage,
519
- });
520
- }
521
- });
522
- }
523
- /**
524
- * You can update an existing contact (ie. user or lead).
525
- *
526
- * @param {string} id - id
527
- * @param {Intercom.UpdateContactRequest} request
528
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
529
- *
530
- * @throws {@link Intercom.UnauthorizedError}
531
- *
532
- * @example
533
- * await client.contacts.update("id", {
534
- * email: "joebloggs@intercom.io",
535
- * name: "joe bloggs"
536
- * })
537
- */
538
- update(id, request = {}, requestOptions) {
539
- var _a, _b, _c, _d, _e;
540
- return __awaiter(this, void 0, void 0, function* () {
541
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
542
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}`),
543
- method: "PUT",
544
- headers: {
545
- Authorization: yield this._getAuthorizationHeader(),
546
- "X-Fern-Language": "JavaScript",
547
- "X-Fern-SDK-Name": "intercom-client",
548
- "X-Fern-SDK-Version": "6.0.0-alpha",
549
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
550
- "X-Fern-Runtime": core.RUNTIME.type,
551
- "X-Fern-Runtime-Version": core.RUNTIME.version,
552
- },
553
- contentType: "application/json",
554
- requestType: "json",
555
- body: request,
556
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
557
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
558
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
559
- });
560
- if (_response.ok) {
561
- return _response.body;
562
- }
563
- if (_response.error.reason === "status-code") {
564
- switch (_response.error.statusCode) {
565
- case 401:
566
- throw new Intercom.UnauthorizedError(_response.error.body);
567
- default:
568
- throw new errors.IntercomError({
569
- statusCode: _response.error.statusCode,
570
- body: _response.error.body,
571
- });
572
- }
573
- }
574
- switch (_response.error.reason) {
575
- case "non-json":
576
- throw new errors.IntercomError({
577
- statusCode: _response.error.statusCode,
578
- body: _response.error.rawBody,
579
- });
580
- case "timeout":
581
- throw new errors.IntercomTimeoutError();
582
- case "unknown":
583
- throw new errors.IntercomError({
584
- message: _response.error.errorMessage,
585
- });
586
- }
587
- });
588
- }
589
- /**
590
- * You can delete a single contact.
591
- *
592
- * @param {string} id - id
593
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
594
- *
595
- * @throws {@link Intercom.UnauthorizedError}
596
- *
597
- * @example
598
- * await client.contacts.delete("id")
599
- */
600
- delete(id, requestOptions) {
601
- var _a, _b, _c, _d, _e;
602
- return __awaiter(this, void 0, void 0, function* () {
603
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
604
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}`),
605
- method: "DELETE",
606
- headers: {
607
- Authorization: yield this._getAuthorizationHeader(),
608
- "X-Fern-Language": "JavaScript",
609
- "X-Fern-SDK-Name": "intercom-client",
610
- "X-Fern-SDK-Version": "6.0.0-alpha",
611
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
612
- "X-Fern-Runtime": core.RUNTIME.type,
613
- "X-Fern-Runtime-Version": core.RUNTIME.version,
614
- },
615
- contentType: "application/json",
616
- requestType: "json",
617
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
618
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
619
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
620
- });
621
- if (_response.ok) {
622
- return _response.body;
623
- }
624
- if (_response.error.reason === "status-code") {
625
- switch (_response.error.statusCode) {
626
- case 401:
627
- throw new Intercom.UnauthorizedError(_response.error.body);
628
- default:
629
- throw new errors.IntercomError({
630
- statusCode: _response.error.statusCode,
631
- body: _response.error.body,
632
- });
633
- }
634
- }
635
- switch (_response.error.reason) {
636
- case "non-json":
637
- throw new errors.IntercomError({
638
- statusCode: _response.error.statusCode,
639
- body: _response.error.rawBody,
640
- });
641
- case "timeout":
642
- throw new errors.IntercomTimeoutError();
643
- case "unknown":
644
- throw new errors.IntercomError({
645
- message: _response.error.errorMessage,
646
- });
647
- }
648
- });
649
- }
650
- /**
651
- * You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.
652
- *
653
- * @param {Intercom.MergeContactsRequest} request
654
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
655
- *
656
- * @throws {@link Intercom.UnauthorizedError}
657
- *
658
- * @example
659
- * await client.contacts.mergeLeadInUser({
660
- * from: "667d60ac8a68186f43bafdbb",
661
- * into: "667d60ac8a68186f43bafdbc"
662
- * })
663
- */
664
- mergeLeadInUser(request = {}, requestOptions) {
665
- var _a, _b, _c, _d, _e;
666
- return __awaiter(this, void 0, void 0, function* () {
667
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
668
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, "contacts/merge"),
669
- method: "POST",
670
- headers: {
671
- Authorization: yield this._getAuthorizationHeader(),
672
- "X-Fern-Language": "JavaScript",
673
- "X-Fern-SDK-Name": "intercom-client",
674
- "X-Fern-SDK-Version": "6.0.0-alpha",
675
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
676
- "X-Fern-Runtime": core.RUNTIME.type,
677
- "X-Fern-Runtime-Version": core.RUNTIME.version,
678
- },
679
- contentType: "application/json",
680
- requestType: "json",
681
- body: request,
682
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
683
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
684
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
685
- });
686
- if (_response.ok) {
687
- return _response.body;
688
- }
689
- if (_response.error.reason === "status-code") {
690
- switch (_response.error.statusCode) {
691
- case 401:
692
- throw new Intercom.UnauthorizedError(_response.error.body);
693
- default:
694
- throw new errors.IntercomError({
695
- statusCode: _response.error.statusCode,
696
- body: _response.error.body,
697
- });
698
- }
699
- }
700
- switch (_response.error.reason) {
701
- case "non-json":
702
- throw new errors.IntercomError({
703
- statusCode: _response.error.statusCode,
704
- body: _response.error.rawBody,
705
- });
706
- case "timeout":
707
- throw new errors.IntercomTimeoutError();
708
- case "unknown":
709
- throw new errors.IntercomError({
710
- message: _response.error.errorMessage,
711
- });
712
- }
713
- });
714
- }
715
- /**
716
- * You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.
717
- *
718
- * To search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.
719
- *
720
- * This will accept a query object in the body which will define your filters in order to search for contacts.
721
- *
722
- * {% admonition type="warning" name="Optimizing search queries" %}
723
- * Search queries can be complex, so optimizing them can help the performance of your search.
724
- * Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize
725
- * pagination to limit the number of results returned. The default is `50` results per page.
726
- * See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.
727
- * {% /admonition %}
728
- *
729
- * ### Contact Creation Delay
730
- *
731
- * If a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.
732
- *
733
- * ### Nesting & Limitations
734
- *
735
- * You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).
736
- * There are some limitations to the amount of multiple's there can be:
737
- *
738
- * - There's a limit of max 2 nested filters
739
- * - There's a limit of max 15 filters for each AND or OR group
740
- *
741
- * ### Searching for Timestamp Fields
742
- *
743
- * All timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.
744
- * For example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.
745
- * If you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).
746
- * This behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.
747
- *
748
- * ### Accepted Fields
749
- *
750
- * Most key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foorbar"`).
751
- *
752
- * | Field | Type |
753
- * | ---------------------------------- | ------------------------------ |
754
- * | id | String |
755
- * | role | String<br>Accepts user or lead |
756
- * | name | String |
757
- * | avatar | String |
758
- * | owner_id | Integer |
759
- * | email | String |
760
- * | email_domain | String |
761
- * | phone | String |
762
- * | formatted_phone | String |
763
- * | external_id | String |
764
- * | created_at | Date (UNIX Timestamp) |
765
- * | signed_up_at | Date (UNIX Timestamp) |
766
- * | updated_at | Date (UNIX Timestamp) |
767
- * | last_seen_at | Date (UNIX Timestamp) |
768
- * | last_contacted_at | Date (UNIX Timestamp) |
769
- * | last_replied_at | Date (UNIX Timestamp) |
770
- * | last_email_opened_at | Date (UNIX Timestamp) |
771
- * | last_email_clicked_at | Date (UNIX Timestamp) |
772
- * | language_override | String |
773
- * | browser | String |
774
- * | browser_language | String |
775
- * | os | String |
776
- * | location.country | String |
777
- * | location.region | String |
778
- * | location.city | String |
779
- * | unsubscribed_from_emails | Boolean |
780
- * | marked_email_as_spam | Boolean |
781
- * | has_hard_bounced | Boolean |
782
- * | ios_last_seen_at | Date (UNIX Timestamp) |
783
- * | ios_app_version | String |
784
- * | ios_device | String |
785
- * | ios_app_device | String |
786
- * | ios_os_version | String |
787
- * | ios_app_name | String |
788
- * | ios_sdk_version | String |
789
- * | android_last_seen_at | Date (UNIX Timestamp) |
790
- * | android_app_version | String |
791
- * | android_device | String |
792
- * | android_app_name | String |
793
- * | andoid_sdk_version | String |
794
- * | segment_id | String |
795
- * | tag_id | String |
796
- * | custom_attributes.{attribute_name} | String |
797
- *
798
- * ### Accepted Operators
799
- *
800
- * {% admonition type="attention" name="Searching based on `created_at`" %}
801
- * You cannot use the `<=` or `>=` operators to search by `created_at`.
802
- * {% /admonition %}
803
- *
804
- * The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).
805
- *
806
- * | Operator | Valid Types | Description |
807
- * | :------- | :------------------------------- | :--------------------------------------------------------------- |
808
- * | = | All | Equals |
809
- * | != | All | Doesn't Equal |
810
- * | IN | All | In<br>Shortcut for `OR` queries<br>Values must be in Array |
811
- * | NIN | All | Not In<br>Shortcut for `OR !` queries<br>Values must be in Array |
812
- * | > | Integer<br>Date (UNIX Timestamp) | Greater than |
813
- * | < | Integer<br>Date (UNIX Timestamp) | Lower than |
814
- * | ~ | String | Contains |
815
- * | !~ | String | Doesn't Contain |
816
- * | ^ | String | Starts With |
817
- * | $ | String | Ends With |
818
- *
819
- * @param {Intercom.SearchRequest} request
820
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
821
- *
822
- * @throws {@link Intercom.UnauthorizedError}
823
- *
824
- * @example
825
- * await client.contacts.search({
826
- * query: {
827
- * operator: Intercom.MultipleFilterSearchRequestOperator.And,
828
- * value: [{
829
- * field: "created_at",
830
- * operator: Intercom.SingleFilterSearchRequestOperator.GreaterThan,
831
- * value: "1306054154"
832
- * }]
833
- * },
834
- * pagination: {
835
- * per_page: 5
836
- * }
837
- * })
838
- */
839
- search(request, requestOptions) {
840
- return __awaiter(this, void 0, void 0, function* () {
841
- const list = (request) => __awaiter(this, void 0, void 0, function* () {
842
- var _a, _b, _c, _d, _e;
843
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
844
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, "contacts/search"),
845
- method: "POST",
846
- headers: {
847
- Authorization: yield this._getAuthorizationHeader(),
848
- "X-Fern-Language": "JavaScript",
849
- "X-Fern-SDK-Name": "intercom-client",
850
- "X-Fern-SDK-Version": "6.0.0-alpha",
851
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
852
- "X-Fern-Runtime": core.RUNTIME.type,
853
- "X-Fern-Runtime-Version": core.RUNTIME.version,
854
- },
855
- contentType: "application/json",
856
- requestType: "json",
857
- body: request,
858
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
859
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
860
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
861
- });
862
- if (_response.ok) {
863
- return _response.body;
864
- }
865
- if (_response.error.reason === "status-code") {
866
- switch (_response.error.statusCode) {
867
- case 401:
868
- throw new Intercom.UnauthorizedError(_response.error.body);
869
- default:
870
- throw new errors.IntercomError({
871
- statusCode: _response.error.statusCode,
872
- body: _response.error.body,
873
- });
874
- }
875
- }
876
- switch (_response.error.reason) {
877
- case "non-json":
878
- throw new errors.IntercomError({
879
- statusCode: _response.error.statusCode,
880
- body: _response.error.rawBody,
881
- });
882
- case "timeout":
883
- throw new errors.IntercomTimeoutError();
884
- case "unknown":
885
- throw new errors.IntercomError({
886
- message: _response.error.errorMessage,
887
- });
888
- }
889
- });
890
- return new core.Pageable({
891
- response: yield list(request),
892
- hasNextPage: (response) => { var _a, _b; return ((_b = (_a = response === null || response === void 0 ? void 0 : response.pages) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.starting_after) != null; },
893
- getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.data) !== null && _a !== void 0 ? _a : []; },
894
- loadPage: (response) => {
895
- var _a, _b;
896
- return list(core.setObjectProperty(request, "pagination.starting_after", (_b = (_a = response === null || response === void 0 ? void 0 : response.pages) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.starting_after));
897
- },
898
- });
899
- });
900
- }
901
- /**
902
- * You can fetch a list of all contacts (ie. users or leads) in your workspace.
903
- * {% admonition type="warning" name="Pagination" %}
904
- * You can use pagination to limit the number of results returned. The default is `50` results per page.
905
- * See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.
906
- * {% /admonition %}
907
- *
908
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
909
- *
910
- * @throws {@link Intercom.UnauthorizedError}
911
- *
912
- * @example
913
- * await client.contacts.list()
914
- */
915
- list(requestOptions) {
916
- var _a, _b, _c, _d, _e;
917
- return __awaiter(this, void 0, void 0, function* () {
918
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
919
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, "contacts"),
920
- method: "GET",
921
- headers: {
922
- Authorization: yield this._getAuthorizationHeader(),
923
- "X-Fern-Language": "JavaScript",
924
- "X-Fern-SDK-Name": "intercom-client",
925
- "X-Fern-SDK-Version": "6.0.0-alpha",
926
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
927
- "X-Fern-Runtime": core.RUNTIME.type,
928
- "X-Fern-Runtime-Version": core.RUNTIME.version,
929
- },
930
- contentType: "application/json",
931
- requestType: "json",
932
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
933
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
934
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
935
- });
936
- if (_response.ok) {
937
- return _response.body;
938
- }
939
- if (_response.error.reason === "status-code") {
940
- switch (_response.error.statusCode) {
941
- case 401:
942
- throw new Intercom.UnauthorizedError(_response.error.body);
943
- default:
944
- throw new errors.IntercomError({
945
- statusCode: _response.error.statusCode,
946
- body: _response.error.body,
947
- });
948
- }
949
- }
950
- switch (_response.error.reason) {
951
- case "non-json":
952
- throw new errors.IntercomError({
953
- statusCode: _response.error.statusCode,
954
- body: _response.error.rawBody,
955
- });
956
- case "timeout":
957
- throw new errors.IntercomTimeoutError();
958
- case "unknown":
959
- throw new errors.IntercomError({
960
- message: _response.error.errorMessage,
961
- });
962
- }
963
- });
964
- }
965
- /**
966
- * You can create a new contact (ie. user or lead).
967
- *
968
- * @param {Intercom.CreateContactRequest} request
969
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
970
- *
971
- * @throws {@link Intercom.UnauthorizedError}
972
- *
973
- * @example
974
- * await client.contacts.create({
975
- * email: "joebloggs@intercom.io"
976
- * })
977
- */
978
- create(request, requestOptions) {
979
- var _a, _b, _c, _d, _e;
980
- return __awaiter(this, void 0, void 0, function* () {
981
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
982
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, "contacts"),
983
- method: "POST",
984
- headers: {
985
- Authorization: yield this._getAuthorizationHeader(),
986
- "X-Fern-Language": "JavaScript",
987
- "X-Fern-SDK-Name": "intercom-client",
988
- "X-Fern-SDK-Version": "6.0.0-alpha",
989
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
990
- "X-Fern-Runtime": core.RUNTIME.type,
991
- "X-Fern-Runtime-Version": core.RUNTIME.version,
992
- },
993
- contentType: "application/json",
994
- requestType: "json",
995
- body: request,
996
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
997
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
998
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
999
- });
1000
- if (_response.ok) {
1001
- return _response.body;
1002
- }
1003
- if (_response.error.reason === "status-code") {
1004
- switch (_response.error.statusCode) {
1005
- case 401:
1006
- throw new Intercom.UnauthorizedError(_response.error.body);
1007
- default:
1008
- throw new errors.IntercomError({
1009
- statusCode: _response.error.statusCode,
1010
- body: _response.error.body,
1011
- });
1012
- }
1013
- }
1014
- switch (_response.error.reason) {
1015
- case "non-json":
1016
- throw new errors.IntercomError({
1017
- statusCode: _response.error.statusCode,
1018
- body: _response.error.rawBody,
1019
- });
1020
- case "timeout":
1021
- throw new errors.IntercomTimeoutError();
1022
- case "unknown":
1023
- throw new errors.IntercomError({
1024
- message: _response.error.errorMessage,
1025
- });
1026
- }
1027
- });
1028
- }
1029
- /**
1030
- * You can archive a single contact.
1031
- *
1032
- * @param {string} id - id
1033
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
1034
- *
1035
- * @example
1036
- * await client.contacts.archive("id")
1037
- */
1038
- archive(id, requestOptions) {
1039
- var _a, _b, _c, _d, _e;
1040
- return __awaiter(this, void 0, void 0, function* () {
1041
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1042
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}/archive`),
1043
- method: "POST",
1044
- headers: {
1045
- Authorization: yield this._getAuthorizationHeader(),
1046
- "X-Fern-Language": "JavaScript",
1047
- "X-Fern-SDK-Name": "intercom-client",
1048
- "X-Fern-SDK-Version": "6.0.0-alpha",
1049
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
1050
- "X-Fern-Runtime": core.RUNTIME.type,
1051
- "X-Fern-Runtime-Version": core.RUNTIME.version,
1052
- },
1053
- contentType: "application/json",
1054
- requestType: "json",
1055
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1056
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1057
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1058
- });
1059
- if (_response.ok) {
1060
- return _response.body;
1061
- }
1062
- if (_response.error.reason === "status-code") {
1063
- throw new errors.IntercomError({
1064
- statusCode: _response.error.statusCode,
1065
- body: _response.error.body,
1066
- });
1067
- }
1068
- switch (_response.error.reason) {
1069
- case "non-json":
1070
- throw new errors.IntercomError({
1071
- statusCode: _response.error.statusCode,
1072
- body: _response.error.rawBody,
1073
- });
1074
- case "timeout":
1075
- throw new errors.IntercomTimeoutError();
1076
- case "unknown":
1077
- throw new errors.IntercomError({
1078
- message: _response.error.errorMessage,
1079
- });
1080
- }
1081
- });
1082
- }
1083
- /**
1084
- * You can unarchive a single contact.
1085
- *
1086
- * @param {string} id - id
1087
- * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
1088
- *
1089
- * @example
1090
- * await client.contacts.unarchive("id")
1091
- */
1092
- unarchive(id, requestOptions) {
1093
- var _a, _b, _c, _d, _e;
1094
- return __awaiter(this, void 0, void 0, function* () {
1095
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1096
- url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.IntercomEnvironment.UsProduction, `contacts/${encodeURIComponent(id)}/unarchive`),
1097
- method: "POST",
1098
- headers: {
1099
- Authorization: yield this._getAuthorizationHeader(),
1100
- "X-Fern-Language": "JavaScript",
1101
- "X-Fern-SDK-Name": "intercom-client",
1102
- "X-Fern-SDK-Version": "6.0.0-alpha",
1103
- "Intercom-Version": (_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.version) !== null && _e !== void 0 ? _e : "2.11",
1104
- "X-Fern-Runtime": core.RUNTIME.type,
1105
- "X-Fern-Runtime-Version": core.RUNTIME.version,
1106
- },
1107
- contentType: "application/json",
1108
- requestType: "json",
1109
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1110
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1111
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1112
- });
1113
- if (_response.ok) {
1114
- return _response.body;
1115
- }
1116
- if (_response.error.reason === "status-code") {
1117
- throw new errors.IntercomError({
1118
- statusCode: _response.error.statusCode,
1119
- body: _response.error.body,
1120
- });
1121
- }
1122
- switch (_response.error.reason) {
1123
- case "non-json":
1124
- throw new errors.IntercomError({
1125
- statusCode: _response.error.statusCode,
1126
- body: _response.error.rawBody,
1127
- });
1128
- case "timeout":
1129
- throw new errors.IntercomTimeoutError();
1130
- case "unknown":
1131
- throw new errors.IntercomError({
1132
- message: _response.error.errorMessage,
1133
- });
1134
- }
1135
- });
1136
- }
1137
- _getAuthorizationHeader() {
1138
- var _a;
1139
- return __awaiter(this, void 0, void 0, function* () {
1140
- const bearer = (_a = (yield core.Supplier.get(this._options.token))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env["INTERCOM_API_KEY"];
1141
- if (bearer == null) {
1142
- throw new errors.IntercomError({
1143
- message: "Please specify INTERCOM_API_KEY when instantiating the client.",
1144
- });
1145
- }
1146
- return `Bearer ${bearer}`;
1147
- });
1148
- }
1149
- }
1150
- exports.Contacts = Contacts;