@knocklabs/node 0.6.19 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (893) hide show
  1. package/CHANGELOG.md +24 -7
  2. package/LICENSE +201 -21
  3. package/README.md +338 -129
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +19 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +220 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +220 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +502 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +475 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +47 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +47 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +84 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +80 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +47 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +47 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/pagination.d.mts +112 -0
  37. package/core/pagination.d.mts.map +1 -0
  38. package/core/pagination.d.ts +112 -0
  39. package/core/pagination.d.ts.map +1 -0
  40. package/core/pagination.js +183 -0
  41. package/core/pagination.js.map +1 -0
  42. package/core/pagination.mjs +174 -0
  43. package/core/pagination.mjs.map +1 -0
  44. package/core/resource.d.mts +6 -0
  45. package/core/resource.d.mts.map +1 -0
  46. package/core/resource.d.ts +6 -0
  47. package/core/resource.d.ts.map +1 -0
  48. package/core/resource.js +11 -0
  49. package/core/resource.js.map +1 -0
  50. package/core/resource.mjs +7 -0
  51. package/core/resource.mjs.map +1 -0
  52. package/core/uploads.d.mts +3 -0
  53. package/core/uploads.d.mts.map +1 -0
  54. package/core/uploads.d.ts +3 -0
  55. package/core/uploads.d.ts.map +1 -0
  56. package/core/uploads.js +6 -0
  57. package/core/uploads.js.map +1 -0
  58. package/core/uploads.mjs +2 -0
  59. package/core/uploads.mjs.map +1 -0
  60. package/error.d.mts +2 -0
  61. package/error.d.mts.map +1 -0
  62. package/error.d.ts +2 -0
  63. package/error.d.ts.map +1 -0
  64. package/error.js +19 -0
  65. package/error.js.map +1 -0
  66. package/error.mjs +2 -0
  67. package/error.mjs.map +1 -0
  68. package/index.d.mts +7 -0
  69. package/index.d.mts.map +1 -0
  70. package/index.d.ts +7 -0
  71. package/index.d.ts.map +1 -0
  72. package/index.js +32 -0
  73. package/index.js.map +1 -0
  74. package/index.mjs +8 -0
  75. package/index.mjs.map +1 -0
  76. package/internal/builtin-types.d.mts +75 -0
  77. package/internal/builtin-types.d.mts.map +1 -0
  78. package/internal/builtin-types.d.ts +75 -0
  79. package/internal/builtin-types.d.ts.map +1 -0
  80. package/internal/builtin-types.js +4 -0
  81. package/internal/builtin-types.js.map +1 -0
  82. package/internal/builtin-types.mjs +3 -0
  83. package/internal/builtin-types.mjs.map +1 -0
  84. package/internal/detect-platform.d.mts +15 -0
  85. package/internal/detect-platform.d.mts.map +1 -0
  86. package/internal/detect-platform.d.ts +15 -0
  87. package/internal/detect-platform.d.ts.map +1 -0
  88. package/internal/detect-platform.js +162 -0
  89. package/internal/detect-platform.js.map +1 -0
  90. package/internal/detect-platform.mjs +157 -0
  91. package/internal/detect-platform.mjs.map +1 -0
  92. package/internal/errors.d.mts +3 -0
  93. package/internal/errors.d.mts.map +1 -0
  94. package/internal/errors.d.ts +3 -0
  95. package/internal/errors.d.ts.map +1 -0
  96. package/internal/errors.js +41 -0
  97. package/internal/errors.js.map +1 -0
  98. package/internal/errors.mjs +36 -0
  99. package/internal/errors.mjs.map +1 -0
  100. package/internal/headers.d.mts +21 -0
  101. package/internal/headers.d.mts.map +1 -0
  102. package/internal/headers.d.ts +21 -0
  103. package/internal/headers.d.ts.map +1 -0
  104. package/internal/headers.js +79 -0
  105. package/internal/headers.js.map +1 -0
  106. package/internal/headers.mjs +74 -0
  107. package/internal/headers.mjs.map +1 -0
  108. package/internal/parse.d.mts +13 -0
  109. package/internal/parse.d.mts.map +1 -0
  110. package/internal/parse.d.ts +13 -0
  111. package/internal/parse.d.ts.map +1 -0
  112. package/internal/parse.js +36 -0
  113. package/internal/parse.js.map +1 -0
  114. package/internal/parse.mjs +32 -0
  115. package/internal/parse.mjs.map +1 -0
  116. package/internal/qs/formats.d.mts +6 -0
  117. package/internal/qs/formats.d.mts.map +1 -0
  118. package/internal/qs/formats.d.ts +6 -0
  119. package/internal/qs/formats.d.ts.map +1 -0
  120. package/internal/qs/formats.js +11 -0
  121. package/internal/qs/formats.js.map +1 -0
  122. package/internal/qs/formats.mjs +8 -0
  123. package/internal/qs/formats.mjs.map +1 -0
  124. package/internal/qs/index.d.mts +10 -0
  125. package/internal/qs/index.d.mts.map +1 -0
  126. package/internal/qs/index.d.ts +10 -0
  127. package/internal/qs/index.d.ts.map +1 -0
  128. package/internal/qs/index.js +14 -0
  129. package/internal/qs/index.js.map +1 -0
  130. package/internal/qs/index.mjs +10 -0
  131. package/internal/qs/index.mjs.map +1 -0
  132. package/internal/qs/stringify.d.mts +3 -0
  133. package/internal/qs/stringify.d.mts.map +1 -0
  134. package/internal/qs/stringify.d.ts +3 -0
  135. package/internal/qs/stringify.d.ts.map +1 -0
  136. package/internal/qs/stringify.js +280 -0
  137. package/internal/qs/stringify.js.map +1 -0
  138. package/internal/qs/stringify.mjs +276 -0
  139. package/internal/qs/stringify.mjs.map +1 -0
  140. package/internal/qs/types.d.mts +57 -0
  141. package/internal/qs/types.d.mts.map +1 -0
  142. package/internal/qs/types.d.ts +57 -0
  143. package/internal/qs/types.d.ts.map +1 -0
  144. package/{dist/src/common/interfaces.js → internal/qs/types.js} +1 -0
  145. package/internal/qs/types.js.map +1 -0
  146. package/internal/qs/types.mjs +2 -0
  147. package/internal/qs/types.mjs.map +1 -0
  148. package/internal/qs/utils.d.mts +14 -0
  149. package/internal/qs/utils.d.mts.map +1 -0
  150. package/internal/qs/utils.d.ts +14 -0
  151. package/internal/qs/utils.d.ts.map +1 -0
  152. package/internal/qs/utils.js +229 -0
  153. package/internal/qs/utils.js.map +1 -0
  154. package/internal/qs/utils.mjs +217 -0
  155. package/internal/qs/utils.mjs.map +1 -0
  156. package/internal/request-options.d.mts +33 -0
  157. package/internal/request-options.d.mts.map +1 -0
  158. package/internal/request-options.d.ts +33 -0
  159. package/internal/request-options.d.ts.map +1 -0
  160. package/internal/request-options.js +14 -0
  161. package/internal/request-options.js.map +1 -0
  162. package/internal/request-options.mjs +10 -0
  163. package/internal/request-options.mjs.map +1 -0
  164. package/internal/shim-types.d.mts +28 -0
  165. package/internal/shim-types.d.ts +28 -0
  166. package/internal/shims/crypto.d.mts +13 -0
  167. package/internal/shims/crypto.d.mts.map +1 -0
  168. package/internal/shims/crypto.d.ts +13 -0
  169. package/internal/shims/crypto.d.ts.map +1 -0
  170. package/internal/shims/crypto.js +13 -0
  171. package/internal/shims/crypto.js.map +1 -0
  172. package/internal/shims/crypto.mjs +9 -0
  173. package/internal/shims/crypto.mjs.map +1 -0
  174. package/internal/shims/file.d.mts +23 -0
  175. package/internal/shims/file.d.mts.map +1 -0
  176. package/internal/shims/file.d.ts +23 -0
  177. package/internal/shims/file.d.ts.map +1 -0
  178. package/internal/shims/file.js +16 -0
  179. package/internal/shims/file.js.map +1 -0
  180. package/internal/shims/file.mjs +12 -0
  181. package/internal/shims/file.mjs.map +1 -0
  182. package/internal/shims/getBuiltinModule.d.mts +11 -0
  183. package/internal/shims/getBuiltinModule.d.mts.map +1 -0
  184. package/internal/shims/getBuiltinModule.d.ts +11 -0
  185. package/internal/shims/getBuiltinModule.d.ts.map +1 -0
  186. package/internal/shims/getBuiltinModule.js +71 -0
  187. package/internal/shims/getBuiltinModule.js.map +1 -0
  188. package/internal/shims/getBuiltinModule.mjs +67 -0
  189. package/internal/shims/getBuiltinModule.mjs.map +1 -0
  190. package/internal/shims/nullGetBuiltinModule.d.mts +2 -0
  191. package/internal/shims/nullGetBuiltinModule.d.mts.map +1 -0
  192. package/internal/shims/nullGetBuiltinModule.d.ts +2 -0
  193. package/internal/shims/nullGetBuiltinModule.d.ts.map +1 -0
  194. package/internal/shims/nullGetBuiltinModule.js +5 -0
  195. package/internal/shims/nullGetBuiltinModule.js.map +1 -0
  196. package/internal/shims/nullGetBuiltinModule.mjs +2 -0
  197. package/internal/shims/nullGetBuiltinModule.mjs.map +1 -0
  198. package/internal/shims.d.mts +20 -0
  199. package/internal/shims.d.mts.map +1 -0
  200. package/internal/shims.d.ts +20 -0
  201. package/internal/shims.d.ts.map +1 -0
  202. package/internal/shims.js +93 -0
  203. package/internal/shims.js.map +1 -0
  204. package/internal/shims.mjs +85 -0
  205. package/internal/shims.mjs.map +1 -0
  206. package/internal/to-file.d.mts +46 -0
  207. package/internal/to-file.d.mts.map +1 -0
  208. package/internal/to-file.d.ts +46 -0
  209. package/internal/to-file.d.ts.map +1 -0
  210. package/internal/to-file.js +91 -0
  211. package/internal/to-file.js.map +1 -0
  212. package/internal/to-file.mjs +87 -0
  213. package/internal/to-file.mjs.map +1 -0
  214. package/internal/types.d.mts +68 -0
  215. package/internal/types.d.mts.map +1 -0
  216. package/internal/types.d.ts +68 -0
  217. package/internal/types.d.ts.map +1 -0
  218. package/internal/types.js +4 -0
  219. package/internal/types.js.map +1 -0
  220. package/internal/types.mjs +3 -0
  221. package/internal/types.mjs.map +1 -0
  222. package/internal/uploads.d.mts +44 -0
  223. package/internal/uploads.d.mts.map +1 -0
  224. package/internal/uploads.d.ts +44 -0
  225. package/internal/uploads.d.ts.map +1 -0
  226. package/internal/uploads.js +131 -0
  227. package/internal/uploads.js.map +1 -0
  228. package/internal/uploads.mjs +122 -0
  229. package/internal/uploads.mjs.map +1 -0
  230. package/internal/utils/base64.d.mts +3 -0
  231. package/internal/utils/base64.d.mts.map +1 -0
  232. package/internal/utils/base64.d.ts +3 -0
  233. package/internal/utils/base64.d.ts.map +1 -0
  234. package/internal/utils/base64.js +38 -0
  235. package/internal/utils/base64.js.map +1 -0
  236. package/internal/utils/base64.mjs +33 -0
  237. package/internal/utils/base64.mjs.map +1 -0
  238. package/internal/utils/bytes.d.mts +4 -0
  239. package/internal/utils/bytes.d.mts.map +1 -0
  240. package/internal/utils/bytes.d.ts +4 -0
  241. package/internal/utils/bytes.d.ts.map +1 -0
  242. package/internal/utils/bytes.js +32 -0
  243. package/internal/utils/bytes.js.map +1 -0
  244. package/internal/utils/bytes.mjs +26 -0
  245. package/internal/utils/bytes.mjs.map +1 -0
  246. package/internal/utils/env.d.mts +9 -0
  247. package/internal/utils/env.d.mts.map +1 -0
  248. package/internal/utils/env.d.ts +9 -0
  249. package/internal/utils/env.d.ts.map +1 -0
  250. package/internal/utils/env.js +22 -0
  251. package/internal/utils/env.js.map +1 -0
  252. package/internal/utils/env.mjs +18 -0
  253. package/internal/utils/env.mjs.map +1 -0
  254. package/internal/utils/log.d.mts +38 -0
  255. package/internal/utils/log.d.mts.map +1 -0
  256. package/internal/utils/log.d.ts +38 -0
  257. package/internal/utils/log.d.ts.map +1 -0
  258. package/internal/utils/log.js +85 -0
  259. package/internal/utils/log.js.map +1 -0
  260. package/internal/utils/log.mjs +79 -0
  261. package/internal/utils/log.mjs.map +1 -0
  262. package/internal/utils/path.d.mts +15 -0
  263. package/internal/utils/path.d.mts.map +1 -0
  264. package/internal/utils/path.d.ts +15 -0
  265. package/internal/utils/path.d.ts.map +1 -0
  266. package/internal/utils/path.js +58 -0
  267. package/internal/utils/path.js.map +1 -0
  268. package/internal/utils/path.mjs +53 -0
  269. package/internal/utils/path.mjs.map +1 -0
  270. package/internal/utils/sleep.d.mts +2 -0
  271. package/internal/utils/sleep.d.mts.map +1 -0
  272. package/internal/utils/sleep.d.ts +2 -0
  273. package/internal/utils/sleep.d.ts.map +1 -0
  274. package/internal/utils/sleep.js +7 -0
  275. package/internal/utils/sleep.js.map +1 -0
  276. package/internal/utils/sleep.mjs +3 -0
  277. package/internal/utils/sleep.mjs.map +1 -0
  278. package/internal/utils/uuid.d.mts +5 -0
  279. package/internal/utils/uuid.d.mts.map +1 -0
  280. package/internal/utils/uuid.d.ts +5 -0
  281. package/internal/utils/uuid.d.ts.map +1 -0
  282. package/internal/utils/uuid.js +20 -0
  283. package/internal/utils/uuid.js.map +1 -0
  284. package/internal/utils/uuid.mjs +16 -0
  285. package/internal/utils/uuid.mjs.map +1 -0
  286. package/internal/utils/values.d.mts +16 -0
  287. package/internal/utils/values.d.mts.map +1 -0
  288. package/internal/utils/values.d.ts +16 -0
  289. package/internal/utils/values.d.ts.map +1 -0
  290. package/internal/utils/values.js +109 -0
  291. package/internal/utils/values.js.map +1 -0
  292. package/internal/utils/values.mjs +92 -0
  293. package/internal/utils/values.mjs.map +1 -0
  294. package/internal/utils.d.mts +7 -0
  295. package/internal/utils.d.mts.map +1 -0
  296. package/internal/utils.d.ts +7 -0
  297. package/internal/utils.d.ts.map +1 -0
  298. package/internal/utils.js +24 -0
  299. package/internal/utils.js.map +1 -0
  300. package/internal/utils.mjs +8 -0
  301. package/internal/utils.mjs.map +1 -0
  302. package/lib/index.d.mts +6 -0
  303. package/lib/index.d.mts.map +1 -0
  304. package/lib/index.d.ts +6 -0
  305. package/lib/index.d.ts.map +1 -0
  306. package/{dist/src → lib}/index.js +6 -10
  307. package/lib/index.js.map +1 -0
  308. package/lib/index.mjs +6 -0
  309. package/lib/index.mjs.map +1 -0
  310. package/lib/tokenSigner.d.mts +46 -0
  311. package/lib/tokenSigner.d.mts.map +1 -0
  312. package/lib/tokenSigner.d.ts +46 -0
  313. package/lib/tokenSigner.d.ts.map +1 -0
  314. package/lib/tokenSigner.js +154 -0
  315. package/lib/tokenSigner.js.map +1 -0
  316. package/lib/tokenSigner.mjs +125 -0
  317. package/lib/tokenSigner.mjs.map +1 -0
  318. package/lib/userTokens.d.mts +32 -0
  319. package/lib/userTokens.d.mts.map +1 -0
  320. package/{dist/src/common → lib}/userTokens.d.ts +7 -3
  321. package/lib/userTokens.d.ts.map +1 -0
  322. package/{dist/src/common → lib}/userTokens.js +5 -1
  323. package/lib/userTokens.js.map +1 -0
  324. package/lib/userTokens.mjs +12 -0
  325. package/lib/userTokens.mjs.map +1 -0
  326. package/package.json +157 -39
  327. package/pagination.d.mts +2 -0
  328. package/pagination.d.mts.map +1 -0
  329. package/pagination.d.ts +2 -0
  330. package/pagination.d.ts.map +1 -0
  331. package/pagination.js +19 -0
  332. package/pagination.js.map +1 -0
  333. package/pagination.mjs +2 -0
  334. package/pagination.mjs.map +1 -0
  335. package/resource.d.mts +2 -0
  336. package/resource.d.mts.map +1 -0
  337. package/resource.d.ts +2 -0
  338. package/resource.d.ts.map +1 -0
  339. package/resource.js +19 -0
  340. package/resource.js.map +1 -0
  341. package/resource.mjs +2 -0
  342. package/resource.mjs.map +1 -0
  343. package/resources/audiences.d.mts +123 -0
  344. package/resources/audiences.d.mts.map +1 -0
  345. package/resources/audiences.d.ts +123 -0
  346. package/resources/audiences.d.ts.map +1 -0
  347. package/resources/audiences.js +28 -0
  348. package/resources/audiences.js.map +1 -0
  349. package/resources/audiences.mjs +24 -0
  350. package/resources/audiences.mjs.map +1 -0
  351. package/resources/bulk-operations.d.mts +90 -0
  352. package/resources/bulk-operations.d.mts.map +1 -0
  353. package/resources/bulk-operations.d.ts +90 -0
  354. package/resources/bulk-operations.d.ts.map +1 -0
  355. package/resources/bulk-operations.js +16 -0
  356. package/resources/bulk-operations.js.map +1 -0
  357. package/resources/bulk-operations.mjs +12 -0
  358. package/resources/bulk-operations.mjs.map +1 -0
  359. package/resources/channels/bulk.d.mts +61 -0
  360. package/resources/channels/bulk.d.mts.map +1 -0
  361. package/resources/channels/bulk.d.ts +61 -0
  362. package/resources/channels/bulk.d.ts.map +1 -0
  363. package/resources/channels/bulk.js +19 -0
  364. package/resources/channels/bulk.js.map +1 -0
  365. package/resources/channels/bulk.mjs +15 -0
  366. package/resources/channels/bulk.mjs.map +1 -0
  367. package/resources/channels/channels.d.mts +10 -0
  368. package/resources/channels/channels.d.mts.map +1 -0
  369. package/resources/channels/channels.d.ts +10 -0
  370. package/resources/channels/channels.d.ts.map +1 -0
  371. package/resources/channels/channels.js +39 -0
  372. package/resources/channels/channels.js.map +1 -0
  373. package/resources/channels/channels.mjs +12 -0
  374. package/resources/channels/channels.mjs.map +1 -0
  375. package/resources/channels/index.d.mts +3 -0
  376. package/resources/channels/index.d.mts.map +1 -0
  377. package/resources/channels/index.d.ts +3 -0
  378. package/resources/channels/index.d.ts.map +1 -0
  379. package/resources/channels/index.js +9 -0
  380. package/resources/channels/index.js.map +1 -0
  381. package/resources/channels/index.mjs +4 -0
  382. package/resources/channels/index.mjs.map +1 -0
  383. package/resources/channels.d.mts +2 -0
  384. package/resources/channels.d.mts.map +1 -0
  385. package/resources/channels.d.ts +2 -0
  386. package/resources/channels.d.ts.map +1 -0
  387. package/resources/channels.js +19 -0
  388. package/resources/channels.js.map +1 -0
  389. package/resources/channels.mjs +3 -0
  390. package/resources/channels.mjs.map +1 -0
  391. package/resources/index.d.mts +14 -0
  392. package/resources/index.d.mts.map +1 -0
  393. package/resources/index.d.ts +14 -0
  394. package/resources/index.d.ts.map +1 -0
  395. package/resources/index.js +31 -0
  396. package/resources/index.js.map +1 -0
  397. package/resources/index.mjs +15 -0
  398. package/resources/index.mjs.map +1 -0
  399. package/resources/integrations/census.d.mts +41 -0
  400. package/resources/integrations/census.d.mts.map +1 -0
  401. package/resources/integrations/census.d.ts +41 -0
  402. package/resources/integrations/census.d.ts.map +1 -0
  403. package/resources/integrations/census.js +15 -0
  404. package/resources/integrations/census.js.map +1 -0
  405. package/resources/integrations/census.mjs +11 -0
  406. package/resources/integrations/census.mjs.map +1 -0
  407. package/resources/integrations/hightouch.d.mts +41 -0
  408. package/resources/integrations/hightouch.d.mts.map +1 -0
  409. package/resources/integrations/hightouch.d.ts +41 -0
  410. package/resources/integrations/hightouch.d.ts.map +1 -0
  411. package/resources/integrations/hightouch.js +15 -0
  412. package/resources/integrations/hightouch.js.map +1 -0
  413. package/resources/integrations/hightouch.mjs +11 -0
  414. package/resources/integrations/hightouch.mjs.map +1 -0
  415. package/resources/integrations/index.d.mts +4 -0
  416. package/resources/integrations/index.d.mts.map +1 -0
  417. package/resources/integrations/index.d.ts +4 -0
  418. package/resources/integrations/index.d.ts.map +1 -0
  419. package/resources/integrations/index.js +11 -0
  420. package/resources/integrations/index.js.map +1 -0
  421. package/resources/integrations/index.mjs +5 -0
  422. package/resources/integrations/index.mjs.map +1 -0
  423. package/resources/integrations/integrations.d.mts +14 -0
  424. package/resources/integrations/integrations.d.mts.map +1 -0
  425. package/resources/integrations/integrations.d.ts +14 -0
  426. package/resources/integrations/integrations.d.ts.map +1 -0
  427. package/resources/integrations/integrations.js +43 -0
  428. package/resources/integrations/integrations.js.map +1 -0
  429. package/resources/integrations/integrations.mjs +16 -0
  430. package/resources/integrations/integrations.mjs.map +1 -0
  431. package/resources/integrations.d.mts +2 -0
  432. package/resources/integrations.d.mts.map +1 -0
  433. package/resources/integrations.d.ts +2 -0
  434. package/resources/integrations.d.ts.map +1 -0
  435. package/resources/integrations.js +19 -0
  436. package/resources/integrations.js.map +1 -0
  437. package/resources/integrations.mjs +3 -0
  438. package/resources/integrations.mjs.map +1 -0
  439. package/resources/messages/activities.d.mts +22 -0
  440. package/resources/messages/activities.d.mts.map +1 -0
  441. package/resources/messages/activities.d.ts +22 -0
  442. package/resources/messages/activities.d.ts.map +1 -0
  443. package/resources/messages/activities.js +17 -0
  444. package/resources/messages/activities.js.map +1 -0
  445. package/resources/messages/activities.mjs +13 -0
  446. package/resources/messages/activities.mjs.map +1 -0
  447. package/resources/messages/batch.d.mts +379 -0
  448. package/resources/messages/batch.d.mts.map +1 -0
  449. package/resources/messages/batch.d.ts +379 -0
  450. package/resources/messages/batch.d.ts.map +1 -0
  451. package/resources/messages/batch.js +71 -0
  452. package/resources/messages/batch.js.map +1 -0
  453. package/resources/messages/batch.mjs +67 -0
  454. package/resources/messages/batch.mjs.map +1 -0
  455. package/resources/messages/index.d.mts +4 -0
  456. package/resources/messages/index.d.mts.map +1 -0
  457. package/resources/messages/index.d.ts +4 -0
  458. package/resources/messages/index.d.ts.map +1 -0
  459. package/resources/messages/index.js +11 -0
  460. package/resources/messages/index.js.map +1 -0
  461. package/resources/messages/index.mjs +5 -0
  462. package/resources/messages/index.mjs.map +1 -0
  463. package/resources/messages/messages.d.mts +677 -0
  464. package/resources/messages/messages.d.mts.map +1 -0
  465. package/resources/messages/messages.d.ts +677 -0
  466. package/resources/messages/messages.d.ts.map +1 -0
  467. package/resources/messages/messages.js +144 -0
  468. package/resources/messages/messages.js.map +1 -0
  469. package/resources/messages/messages.mjs +117 -0
  470. package/resources/messages/messages.mjs.map +1 -0
  471. package/resources/messages.d.mts +2 -0
  472. package/resources/messages.d.mts.map +1 -0
  473. package/resources/messages.d.ts +2 -0
  474. package/resources/messages.d.ts.map +1 -0
  475. package/resources/messages.js +19 -0
  476. package/resources/messages.js.map +1 -0
  477. package/resources/messages.mjs +3 -0
  478. package/resources/messages.mjs.map +1 -0
  479. package/resources/objects/bulk.d.mts +59 -0
  480. package/resources/objects/bulk.d.mts.map +1 -0
  481. package/resources/objects/bulk.d.ts +59 -0
  482. package/resources/objects/bulk.d.ts.map +1 -0
  483. package/resources/objects/bulk.js +32 -0
  484. package/resources/objects/bulk.js.map +1 -0
  485. package/resources/objects/bulk.mjs +28 -0
  486. package/resources/objects/bulk.mjs.map +1 -0
  487. package/resources/objects/index.d.mts +3 -0
  488. package/resources/objects/index.d.mts.map +1 -0
  489. package/resources/objects/index.d.ts +3 -0
  490. package/resources/objects/index.d.ts.map +1 -0
  491. package/resources/objects/index.js +9 -0
  492. package/resources/objects/index.js.map +1 -0
  493. package/resources/objects/index.mjs +4 -0
  494. package/resources/objects/index.mjs.map +1 -0
  495. package/resources/objects/objects.d.mts +389 -0
  496. package/resources/objects/objects.d.mts.map +1 -0
  497. package/resources/objects/objects.d.ts +389 -0
  498. package/resources/objects/objects.d.ts.map +1 -0
  499. package/resources/objects/objects.js +163 -0
  500. package/resources/objects/objects.js.map +1 -0
  501. package/resources/objects/objects.mjs +136 -0
  502. package/resources/objects/objects.mjs.map +1 -0
  503. package/resources/objects.d.mts +2 -0
  504. package/resources/objects.d.mts.map +1 -0
  505. package/resources/objects.d.ts +2 -0
  506. package/resources/objects.d.ts.map +1 -0
  507. package/resources/objects.js +19 -0
  508. package/resources/objects.js.map +1 -0
  509. package/resources/objects.mjs +3 -0
  510. package/resources/objects.mjs.map +1 -0
  511. package/resources/providers/index.d.mts +4 -0
  512. package/resources/providers/index.d.mts.map +1 -0
  513. package/resources/providers/index.d.ts +4 -0
  514. package/resources/providers/index.d.ts.map +1 -0
  515. package/resources/providers/index.js +11 -0
  516. package/resources/providers/index.js.map +1 -0
  517. package/resources/providers/index.mjs +5 -0
  518. package/resources/providers/index.mjs.map +1 -0
  519. package/resources/providers/ms-teams.d.mts +183 -0
  520. package/resources/providers/ms-teams.d.mts.map +1 -0
  521. package/resources/providers/ms-teams.d.ts +183 -0
  522. package/resources/providers/ms-teams.d.ts.map +1 -0
  523. package/resources/providers/ms-teams.js +42 -0
  524. package/resources/providers/ms-teams.js.map +1 -0
  525. package/resources/providers/ms-teams.mjs +38 -0
  526. package/resources/providers/ms-teams.mjs.map +1 -0
  527. package/resources/providers/providers.d.mts +14 -0
  528. package/resources/providers/providers.d.mts.map +1 -0
  529. package/resources/providers/providers.d.ts +14 -0
  530. package/resources/providers/providers.d.ts.map +1 -0
  531. package/resources/providers/providers.js +43 -0
  532. package/resources/providers/providers.js.map +1 -0
  533. package/resources/providers/providers.mjs +16 -0
  534. package/resources/providers/providers.mjs.map +1 -0
  535. package/resources/providers/slack.d.mts +127 -0
  536. package/resources/providers/slack.d.mts.map +1 -0
  537. package/resources/providers/slack.d.ts +127 -0
  538. package/resources/providers/slack.d.ts.map +1 -0
  539. package/resources/providers/slack.js +33 -0
  540. package/resources/providers/slack.js.map +1 -0
  541. package/resources/providers/slack.mjs +29 -0
  542. package/resources/providers/slack.mjs.map +1 -0
  543. package/resources/providers.d.mts +2 -0
  544. package/resources/providers.d.mts.map +1 -0
  545. package/resources/providers.d.ts +2 -0
  546. package/resources/providers.d.ts.map +1 -0
  547. package/resources/providers.js +19 -0
  548. package/resources/providers.js.map +1 -0
  549. package/resources/providers.mjs +3 -0
  550. package/resources/providers.mjs.map +1 -0
  551. package/resources/recipients/channel-data.d.mts +205 -0
  552. package/resources/recipients/channel-data.d.mts.map +1 -0
  553. package/resources/recipients/channel-data.d.ts +205 -0
  554. package/resources/recipients/channel-data.d.ts.map +1 -0
  555. package/resources/recipients/channel-data.js +9 -0
  556. package/resources/recipients/channel-data.js.map +1 -0
  557. package/resources/recipients/channel-data.mjs +5 -0
  558. package/resources/recipients/channel-data.mjs.map +1 -0
  559. package/resources/recipients/index.d.mts +5 -0
  560. package/resources/recipients/index.d.mts.map +1 -0
  561. package/resources/recipients/index.d.ts +5 -0
  562. package/resources/recipients/index.d.ts.map +1 -0
  563. package/resources/recipients/index.js +13 -0
  564. package/resources/recipients/index.js.map +1 -0
  565. package/resources/recipients/index.mjs +6 -0
  566. package/resources/recipients/index.mjs.map +1 -0
  567. package/resources/recipients/preferences.d.mts +155 -0
  568. package/resources/recipients/preferences.d.mts.map +1 -0
  569. package/resources/recipients/preferences.d.ts +155 -0
  570. package/resources/recipients/preferences.d.ts.map +1 -0
  571. package/resources/recipients/preferences.js +9 -0
  572. package/resources/recipients/preferences.js.map +1 -0
  573. package/resources/recipients/preferences.mjs +5 -0
  574. package/resources/recipients/preferences.mjs.map +1 -0
  575. package/resources/recipients/recipients.d.mts +51 -0
  576. package/resources/recipients/recipients.d.mts.map +1 -0
  577. package/resources/recipients/recipients.d.ts +51 -0
  578. package/resources/recipients/recipients.d.ts.map +1 -0
  579. package/resources/recipients/recipients.js +45 -0
  580. package/resources/recipients/recipients.js.map +1 -0
  581. package/resources/recipients/recipients.mjs +18 -0
  582. package/resources/recipients/recipients.mjs.map +1 -0
  583. package/resources/recipients/subscriptions.d.mts +40 -0
  584. package/resources/recipients/subscriptions.d.mts.map +1 -0
  585. package/resources/recipients/subscriptions.d.ts +40 -0
  586. package/resources/recipients/subscriptions.d.ts.map +1 -0
  587. package/resources/recipients/subscriptions.js +9 -0
  588. package/resources/recipients/subscriptions.js.map +1 -0
  589. package/resources/recipients/subscriptions.mjs +5 -0
  590. package/resources/recipients/subscriptions.mjs.map +1 -0
  591. package/resources/recipients.d.mts +2 -0
  592. package/resources/recipients.d.mts.map +1 -0
  593. package/resources/recipients.d.ts +2 -0
  594. package/resources/recipients.d.ts.map +1 -0
  595. package/resources/recipients.js +19 -0
  596. package/resources/recipients.js.map +1 -0
  597. package/resources/recipients.mjs +3 -0
  598. package/resources/recipients.mjs.map +1 -0
  599. package/resources/schedules/bulk.d.mts +68 -0
  600. package/resources/schedules/bulk.d.mts.map +1 -0
  601. package/resources/schedules/bulk.d.ts +68 -0
  602. package/resources/schedules/bulk.d.ts.map +1 -0
  603. package/resources/schedules/bulk.js +17 -0
  604. package/resources/schedules/bulk.js.map +1 -0
  605. package/resources/schedules/bulk.mjs +13 -0
  606. package/resources/schedules/bulk.mjs.map +1 -0
  607. package/resources/schedules/index.d.mts +3 -0
  608. package/resources/schedules/index.d.mts.map +1 -0
  609. package/resources/schedules/index.d.ts +3 -0
  610. package/resources/schedules/index.d.ts.map +1 -0
  611. package/resources/schedules/index.js +9 -0
  612. package/resources/schedules/index.js.map +1 -0
  613. package/resources/schedules/index.mjs +4 -0
  614. package/resources/schedules/index.mjs.map +1 -0
  615. package/resources/schedules/schedules.d.mts +225 -0
  616. package/resources/schedules/schedules.d.mts.map +1 -0
  617. package/resources/schedules/schedules.d.ts +225 -0
  618. package/resources/schedules/schedules.d.ts.map +1 -0
  619. package/resources/schedules/schedules.js +74 -0
  620. package/resources/schedules/schedules.js.map +1 -0
  621. package/resources/schedules/schedules.mjs +47 -0
  622. package/resources/schedules/schedules.mjs.map +1 -0
  623. package/resources/schedules.d.mts +2 -0
  624. package/resources/schedules.d.mts.map +1 -0
  625. package/resources/schedules.d.ts +2 -0
  626. package/resources/schedules.d.ts.map +1 -0
  627. package/resources/schedules.js +19 -0
  628. package/resources/schedules.js.map +1 -0
  629. package/resources/schedules.mjs +3 -0
  630. package/resources/schedules.mjs.map +1 -0
  631. package/resources/shared.d.mts +45 -0
  632. package/resources/shared.d.mts.map +1 -0
  633. package/resources/shared.d.ts +45 -0
  634. package/resources/shared.d.ts.map +1 -0
  635. package/resources/shared.js +9 -0
  636. package/resources/shared.js.map +1 -0
  637. package/resources/shared.mjs +5 -0
  638. package/resources/shared.mjs.map +1 -0
  639. package/resources/tenants/bulk.d.mts +31 -0
  640. package/resources/tenants/bulk.d.mts.map +1 -0
  641. package/resources/tenants/bulk.d.ts +31 -0
  642. package/resources/tenants/bulk.d.ts.map +1 -0
  643. package/resources/tenants/bulk.js +22 -0
  644. package/resources/tenants/bulk.js.map +1 -0
  645. package/resources/tenants/bulk.mjs +18 -0
  646. package/resources/tenants/bulk.mjs.map +1 -0
  647. package/resources/tenants/index.d.mts +3 -0
  648. package/resources/tenants/index.d.mts.map +1 -0
  649. package/resources/tenants/index.d.ts +3 -0
  650. package/resources/tenants/index.d.ts.map +1 -0
  651. package/resources/tenants/index.js +9 -0
  652. package/resources/tenants/index.js.map +1 -0
  653. package/resources/tenants/index.mjs +4 -0
  654. package/resources/tenants/index.mjs.map +1 -0
  655. package/resources/tenants/tenants.d.mts +233 -0
  656. package/resources/tenants/tenants.d.mts.map +1 -0
  657. package/resources/tenants/tenants.d.ts +233 -0
  658. package/resources/tenants/tenants.d.ts.map +1 -0
  659. package/resources/tenants/tenants.js +66 -0
  660. package/resources/tenants/tenants.js.map +1 -0
  661. package/resources/tenants/tenants.mjs +39 -0
  662. package/resources/tenants/tenants.mjs.map +1 -0
  663. package/resources/tenants.d.mts +2 -0
  664. package/resources/tenants.d.mts.map +1 -0
  665. package/resources/tenants.d.ts +2 -0
  666. package/resources/tenants.d.ts.map +1 -0
  667. package/resources/tenants.js +19 -0
  668. package/resources/tenants.js.map +1 -0
  669. package/resources/tenants.mjs +3 -0
  670. package/resources/tenants.mjs.map +1 -0
  671. package/resources/users/bulk.d.mts +51 -0
  672. package/resources/users/bulk.d.mts.map +1 -0
  673. package/resources/users/bulk.d.ts +51 -0
  674. package/resources/users/bulk.d.ts.map +1 -0
  675. package/resources/users/bulk.js +32 -0
  676. package/resources/users/bulk.js.map +1 -0
  677. package/resources/users/bulk.mjs +28 -0
  678. package/resources/users/bulk.mjs.map +1 -0
  679. package/resources/users/feeds.d.mts +229 -0
  680. package/resources/users/feeds.d.mts.map +1 -0
  681. package/resources/users/feeds.d.ts +229 -0
  682. package/resources/users/feeds.d.ts.map +1 -0
  683. package/resources/users/feeds.js +24 -0
  684. package/resources/users/feeds.js.map +1 -0
  685. package/resources/users/feeds.mjs +20 -0
  686. package/resources/users/feeds.mjs.map +1 -0
  687. package/resources/users/guides.d.mts +225 -0
  688. package/resources/users/guides.d.mts.map +1 -0
  689. package/resources/users/guides.d.ts +225 -0
  690. package/resources/users/guides.d.ts.map +1 -0
  691. package/resources/users/guides.js +46 -0
  692. package/resources/users/guides.js.map +1 -0
  693. package/resources/users/guides.mjs +42 -0
  694. package/resources/users/guides.mjs.map +1 -0
  695. package/resources/users/index.d.mts +5 -0
  696. package/resources/users/index.d.mts.map +1 -0
  697. package/resources/users/index.d.ts +5 -0
  698. package/resources/users/index.d.ts.map +1 -0
  699. package/resources/users/index.js +13 -0
  700. package/resources/users/index.js.map +1 -0
  701. package/resources/users/index.mjs +6 -0
  702. package/resources/users/index.mjs.map +1 -0
  703. package/resources/users/users.d.mts +431 -0
  704. package/resources/users/users.d.mts.map +1 -0
  705. package/resources/users/users.d.ts +431 -0
  706. package/resources/users/users.d.ts.map +1 -0
  707. package/resources/users/users.js +145 -0
  708. package/resources/users/users.js.map +1 -0
  709. package/resources/users/users.mjs +118 -0
  710. package/resources/users/users.mjs.map +1 -0
  711. package/resources/users.d.mts +2 -0
  712. package/resources/users.d.mts.map +1 -0
  713. package/resources/users.d.ts +2 -0
  714. package/resources/users.d.ts.map +1 -0
  715. package/resources/users.js +19 -0
  716. package/resources/users.js.map +1 -0
  717. package/resources/users.mjs +3 -0
  718. package/resources/users.mjs.map +1 -0
  719. package/resources/workflows.d.mts +83 -0
  720. package/resources/workflows.d.mts.map +1 -0
  721. package/resources/workflows.d.ts +83 -0
  722. package/resources/workflows.d.ts.map +1 -0
  723. package/resources/workflows.js +28 -0
  724. package/resources/workflows.js.map +1 -0
  725. package/resources/workflows.mjs +24 -0
  726. package/resources/workflows.mjs.map +1 -0
  727. package/resources.d.mts +2 -0
  728. package/resources.d.mts.map +1 -0
  729. package/resources.d.ts +2 -0
  730. package/resources.d.ts.map +1 -0
  731. package/resources.js +18 -0
  732. package/resources.js.map +1 -0
  733. package/resources.mjs +2 -0
  734. package/resources.mjs.map +1 -0
  735. package/src/api-promise.ts +2 -0
  736. package/src/client.ts +967 -0
  737. package/src/core/README.md +3 -0
  738. package/src/core/api-promise.ts +92 -0
  739. package/src/core/error.ts +130 -0
  740. package/src/core/pagination.ts +323 -0
  741. package/src/core/resource.ts +11 -0
  742. package/src/core/uploads.ts +2 -0
  743. package/src/error.ts +2 -0
  744. package/src/index.ts +23 -0
  745. package/src/internal/README.md +3 -0
  746. package/src/internal/builtin-types.ts +93 -0
  747. package/src/internal/detect-platform.ts +196 -0
  748. package/src/internal/errors.ts +33 -0
  749. package/src/internal/headers.ts +97 -0
  750. package/src/internal/parse.ts +50 -0
  751. package/src/internal/qs/LICENSE.md +13 -0
  752. package/src/internal/qs/README.md +3 -0
  753. package/src/internal/qs/formats.ts +9 -0
  754. package/src/internal/qs/index.ts +13 -0
  755. package/src/internal/qs/stringify.ts +388 -0
  756. package/src/internal/qs/types.ts +71 -0
  757. package/src/internal/qs/utils.ts +265 -0
  758. package/src/internal/request-options.ts +37 -0
  759. package/src/internal/shim-types.d.ts +28 -0
  760. package/src/internal/shims/crypto.ts +18 -0
  761. package/src/internal/shims/file.ts +32 -0
  762. package/src/internal/shims/getBuiltinModule.ts +66 -0
  763. package/src/internal/shims/nullGetBuiltinModule.ts +1 -0
  764. package/src/internal/shims.ts +107 -0
  765. package/src/internal/to-file.ts +152 -0
  766. package/src/internal/types.ts +92 -0
  767. package/src/internal/uploads.ts +175 -0
  768. package/src/internal/utils/base64.ts +40 -0
  769. package/src/internal/utils/bytes.ts +32 -0
  770. package/src/internal/utils/env.ts +18 -0
  771. package/src/internal/utils/log.ts +126 -0
  772. package/src/internal/utils/path.ts +63 -0
  773. package/src/internal/utils/sleep.ts +3 -0
  774. package/src/internal/utils/uuid.ts +19 -0
  775. package/src/internal/utils/values.ts +102 -0
  776. package/src/internal/utils.ts +8 -0
  777. package/src/lib/.keep +4 -0
  778. package/src/lib/index.ts +6 -0
  779. package/src/lib/tokenSigner.ts +170 -0
  780. package/src/lib/userTokens.ts +38 -0
  781. package/src/pagination.ts +2 -0
  782. package/src/resource.ts +2 -0
  783. package/src/resources/audiences.ts +163 -0
  784. package/src/resources/bulk-operations.ts +113 -0
  785. package/src/resources/channels/bulk.ts +107 -0
  786. package/src/resources/channels/channels.ts +15 -0
  787. package/src/resources/channels/index.ts +4 -0
  788. package/src/resources/channels.ts +3 -0
  789. package/src/resources/index.ts +108 -0
  790. package/src/resources/integrations/census.ts +58 -0
  791. package/src/resources/integrations/hightouch.ts +58 -0
  792. package/src/resources/integrations/index.ts +9 -0
  793. package/src/resources/integrations/integrations.ts +33 -0
  794. package/src/resources/integrations.ts +3 -0
  795. package/src/resources/messages/activities.ts +38 -0
  796. package/src/resources/messages/batch.ts +499 -0
  797. package/src/resources/messages/index.ts +39 -0
  798. package/src/resources/messages/messages.ts +954 -0
  799. package/src/resources/messages.ts +3 -0
  800. package/src/resources/objects/bulk.ts +92 -0
  801. package/src/resources/objects/index.ts +23 -0
  802. package/src/resources/objects/objects.ts +623 -0
  803. package/src/resources/objects.ts +3 -0
  804. package/src/resources/providers/index.ts +25 -0
  805. package/src/resources/providers/ms-teams.ts +260 -0
  806. package/src/resources/providers/providers.ts +61 -0
  807. package/src/resources/providers/slack.ts +186 -0
  808. package/src/resources/providers.ts +3 -0
  809. package/src/resources/recipients/channel-data.ts +255 -0
  810. package/src/resources/recipients/index.ts +22 -0
  811. package/src/resources/recipients/preferences.ts +192 -0
  812. package/src/resources/recipients/recipients.ts +101 -0
  813. package/src/resources/recipients/subscriptions.ts +49 -0
  814. package/src/resources/recipients.ts +3 -0
  815. package/src/resources/schedules/bulk.ts +82 -0
  816. package/src/resources/schedules/index.ts +16 -0
  817. package/src/resources/schedules/schedules.ts +295 -0
  818. package/src/resources/schedules.ts +3 -0
  819. package/src/resources/shared.ts +72 -0
  820. package/src/resources/tenants/bulk.ts +42 -0
  821. package/src/resources/tenants/index.ts +13 -0
  822. package/src/resources/tenants/tenants.ts +300 -0
  823. package/src/resources/tenants.ts +3 -0
  824. package/src/resources/users/bulk.ts +73 -0
  825. package/src/resources/users/feeds.ts +296 -0
  826. package/src/resources/users/guides.ts +318 -0
  827. package/src/resources/users/index.ts +40 -0
  828. package/src/resources/users/users.ts +666 -0
  829. package/src/resources/users.ts +3 -0
  830. package/src/resources/workflows.ts +110 -0
  831. package/src/resources.ts +1 -0
  832. package/src/tsconfig.json +11 -0
  833. package/src/uploads.ts +2 -0
  834. package/src/version.ts +1 -0
  835. package/uploads.d.mts +2 -0
  836. package/uploads.d.mts.map +1 -0
  837. package/uploads.d.ts +2 -0
  838. package/uploads.d.ts.map +1 -0
  839. package/uploads.js +19 -0
  840. package/uploads.js.map +1 -0
  841. package/uploads.mjs +2 -0
  842. package/uploads.mjs.map +1 -0
  843. package/version.d.mts +2 -0
  844. package/version.d.mts.map +1 -0
  845. package/version.d.ts +2 -0
  846. package/version.d.ts.map +1 -0
  847. package/version.js +5 -0
  848. package/version.js.map +1 -0
  849. package/version.mjs +2 -0
  850. package/version.mjs.map +1 -0
  851. package/dist/package.json +0 -48
  852. package/dist/src/common/exceptions.d.ts +0 -48
  853. package/dist/src/common/exceptions.js +0 -78
  854. package/dist/src/common/fetchClient.d.ts +0 -28
  855. package/dist/src/common/fetchClient.js +0 -148
  856. package/dist/src/common/interfaces.d.ts +0 -70
  857. package/dist/src/index.d.ts +0 -8
  858. package/dist/src/knock.d.ts +0 -57
  859. package/dist/src/knock.js +0 -241
  860. package/dist/src/resources/activities/interfaces.d.ts +0 -11
  861. package/dist/src/resources/activities/interfaces.js +0 -2
  862. package/dist/src/resources/bulk_operations/index.d.ts +0 -7
  863. package/dist/src/resources/bulk_operations/index.js +0 -24
  864. package/dist/src/resources/bulk_operations/interfaces.d.ts +0 -12
  865. package/dist/src/resources/bulk_operations/interfaces.js +0 -2
  866. package/dist/src/resources/messages/index.d.ts +0 -16
  867. package/dist/src/resources/messages/index.js +0 -93
  868. package/dist/src/resources/messages/interfaces.d.ts +0 -58
  869. package/dist/src/resources/messages/interfaces.js +0 -2
  870. package/dist/src/resources/objects/index.d.ts +0 -36
  871. package/dist/src/resources/objects/index.js +0 -203
  872. package/dist/src/resources/objects/interfaces.d.ts +0 -51
  873. package/dist/src/resources/objects/interfaces.js +0 -2
  874. package/dist/src/resources/preferences/helpers.d.ts +0 -7
  875. package/dist/src/resources/preferences/helpers.js +0 -11
  876. package/dist/src/resources/preferences/interfaces.d.ts +0 -30
  877. package/dist/src/resources/preferences/interfaces.js +0 -2
  878. package/dist/src/resources/slack/index.d.ts +0 -9
  879. package/dist/src/resources/slack/index.js +0 -75
  880. package/dist/src/resources/slack/interfaces.d.ts +0 -30
  881. package/dist/src/resources/slack/interfaces.js +0 -2
  882. package/dist/src/resources/tenants/index.d.ts +0 -11
  883. package/dist/src/resources/tenants/index.js +0 -42
  884. package/dist/src/resources/tenants/interfaces.d.ts +0 -32
  885. package/dist/src/resources/tenants/interfaces.js +0 -2
  886. package/dist/src/resources/users/index.d.ts +0 -36
  887. package/dist/src/resources/users/index.js +0 -232
  888. package/dist/src/resources/users/interfaces.d.ts +0 -34
  889. package/dist/src/resources/users/interfaces.js +0 -2
  890. package/dist/src/resources/workflows/index.d.ts +0 -13
  891. package/dist/src/resources/workflows/index.js +0 -72
  892. package/dist/src/resources/workflows/interfaces.d.ts +0 -90
  893. package/dist/src/resources/workflows/interfaces.js +0 -20
@@ -0,0 +1,144 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.Messages = void 0;
28
+ const resource_1 = require("../../core/resource.js");
29
+ const ActivitiesAPI = __importStar(require("./activities.js"));
30
+ const activities_1 = require("./activities.js");
31
+ const BatchAPI = __importStar(require("./batch.js"));
32
+ const batch_1 = require("./batch.js");
33
+ const pagination_1 = require("../../core/pagination.js");
34
+ const path_1 = require("../../internal/utils/path.js");
35
+ class Messages extends resource_1.APIResource {
36
+ constructor() {
37
+ super(...arguments);
38
+ this.batch = new BatchAPI.Batch(this._client);
39
+ this.activities = new ActivitiesAPI.Activities(this._client);
40
+ }
41
+ /**
42
+ * Returns a paginated list of messages for the current environment.
43
+ */
44
+ list(query = {}, options) {
45
+ return this._client.getAPIList('/v1/messages', (pagination_1.EntriesCursor), { query, ...options });
46
+ }
47
+ /**
48
+ * Archives a message for the user. Archived messages are hidden from the default
49
+ * message list in the feed but can still be accessed and unarchived later.
50
+ */
51
+ archive(messageID, options) {
52
+ return this._client.put((0, path_1.path) `/v1/messages/${messageID}/archived`, options);
53
+ }
54
+ /**
55
+ * Retrieves a specific message by its ID.
56
+ */
57
+ get(messageID, options) {
58
+ return this._client.get((0, path_1.path) `/v1/messages/${messageID}`, options);
59
+ }
60
+ /**
61
+ * Returns the fully rendered contents of a message, where the response depends on
62
+ * which channel the message was sent through.
63
+ */
64
+ getContent(messageID, options) {
65
+ return this._client.get((0, path_1.path) `/v1/messages/${messageID}/content`, options);
66
+ }
67
+ /**
68
+ * Returns a paginated list of activities for the specified message.
69
+ */
70
+ listActivities(messageID, query = {}, options) {
71
+ return this._client.getAPIList((0, path_1.path) `/v1/messages/${messageID}/activities`, (pagination_1.ItemsCursor), {
72
+ query,
73
+ ...options,
74
+ });
75
+ }
76
+ /**
77
+ * Returns a paginated list of delivery logs for the specified message.
78
+ */
79
+ listDeliveryLogs(messageID, query = {}, options) {
80
+ return this._client.getAPIList((0, path_1.path) `/v1/messages/${messageID}/delivery_logs`, (pagination_1.EntriesCursor), { query, ...options });
81
+ }
82
+ /**
83
+ * Returns a paginated list of events for the specified message.
84
+ */
85
+ listEvents(messageID, query = {}, options) {
86
+ return this._client.getAPIList((0, path_1.path) `/v1/messages/${messageID}/events`, (pagination_1.EntriesCursor), {
87
+ query,
88
+ ...options,
89
+ });
90
+ }
91
+ /**
92
+ * Marks a message as `interacted` with by the user. This can include any user
93
+ * action on the message, with optional metadata about the specific interaction.
94
+ * Cannot include more than 5 key-value pairs, must not contain nested data. Read
95
+ * more about message engagement statuses
96
+ * [here](/send-notifications/message-statuses#engagement-status).
97
+ */
98
+ markAsInteracted(messageID, body = {}, options) {
99
+ return this._client.put((0, path_1.path) `/v1/messages/${messageID}/interacted`, { body, ...options });
100
+ }
101
+ /**
102
+ * Marks a message as `read`. This indicates that the user has read the message
103
+ * content. Read more about message engagement statuses
104
+ * [here](/send-notifications/message-statuses#engagement-status).
105
+ */
106
+ markAsRead(messageID, options) {
107
+ return this._client.put((0, path_1.path) `/v1/messages/${messageID}/read`, options);
108
+ }
109
+ /**
110
+ * Marks a message as `seen`. This indicates that the user has viewed the message
111
+ * in their feed or inbox. Read more about message engagement statuses
112
+ * [here](/send-notifications/message-statuses#engagement-status).
113
+ */
114
+ markAsSeen(messageID, options) {
115
+ return this._client.put((0, path_1.path) `/v1/messages/${messageID}/seen`, options);
116
+ }
117
+ /**
118
+ * Marks a message as `unread`. This reverses the `read` state. Read more about
119
+ * message engagement statuses
120
+ * [here](/send-notifications/message-statuses#engagement-status).
121
+ */
122
+ markAsUnread(messageID, options) {
123
+ return this._client.delete((0, path_1.path) `/v1/messages/${messageID}/read`, options);
124
+ }
125
+ /**
126
+ * Marks a message as `unseen`. This reverses the `seen` state. Read more about
127
+ * message engagement statuses
128
+ * [here](/send-notifications/message-statuses#engagement-status).
129
+ */
130
+ markAsUnseen(messageID, options) {
131
+ return this._client.delete((0, path_1.path) `/v1/messages/${messageID}/seen`, options);
132
+ }
133
+ /**
134
+ * Removes a message from the archived state, making it visible in the default
135
+ * message list in the feed again.
136
+ */
137
+ unarchive(messageID, options) {
138
+ return this._client.delete((0, path_1.path) `/v1/messages/${messageID}/archived`, options);
139
+ }
140
+ }
141
+ exports.Messages = Messages;
142
+ Messages.Batch = batch_1.Batch;
143
+ Messages.Activities = activities_1.Activities;
144
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,117 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as ActivitiesAPI from "./activities.mjs";
4
+ import { Activities } from "./activities.mjs";
5
+ import * as BatchAPI from "./batch.mjs";
6
+ import { Batch, } from "./batch.mjs";
7
+ import { EntriesCursor, ItemsCursor, } from "../../core/pagination.mjs";
8
+ import { path } from "../../internal/utils/path.mjs";
9
+ export class Messages extends APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.batch = new BatchAPI.Batch(this._client);
13
+ this.activities = new ActivitiesAPI.Activities(this._client);
14
+ }
15
+ /**
16
+ * Returns a paginated list of messages for the current environment.
17
+ */
18
+ list(query = {}, options) {
19
+ return this._client.getAPIList('/v1/messages', (EntriesCursor), { query, ...options });
20
+ }
21
+ /**
22
+ * Archives a message for the user. Archived messages are hidden from the default
23
+ * message list in the feed but can still be accessed and unarchived later.
24
+ */
25
+ archive(messageID, options) {
26
+ return this._client.put(path `/v1/messages/${messageID}/archived`, options);
27
+ }
28
+ /**
29
+ * Retrieves a specific message by its ID.
30
+ */
31
+ get(messageID, options) {
32
+ return this._client.get(path `/v1/messages/${messageID}`, options);
33
+ }
34
+ /**
35
+ * Returns the fully rendered contents of a message, where the response depends on
36
+ * which channel the message was sent through.
37
+ */
38
+ getContent(messageID, options) {
39
+ return this._client.get(path `/v1/messages/${messageID}/content`, options);
40
+ }
41
+ /**
42
+ * Returns a paginated list of activities for the specified message.
43
+ */
44
+ listActivities(messageID, query = {}, options) {
45
+ return this._client.getAPIList(path `/v1/messages/${messageID}/activities`, (ItemsCursor), {
46
+ query,
47
+ ...options,
48
+ });
49
+ }
50
+ /**
51
+ * Returns a paginated list of delivery logs for the specified message.
52
+ */
53
+ listDeliveryLogs(messageID, query = {}, options) {
54
+ return this._client.getAPIList(path `/v1/messages/${messageID}/delivery_logs`, (EntriesCursor), { query, ...options });
55
+ }
56
+ /**
57
+ * Returns a paginated list of events for the specified message.
58
+ */
59
+ listEvents(messageID, query = {}, options) {
60
+ return this._client.getAPIList(path `/v1/messages/${messageID}/events`, (EntriesCursor), {
61
+ query,
62
+ ...options,
63
+ });
64
+ }
65
+ /**
66
+ * Marks a message as `interacted` with by the user. This can include any user
67
+ * action on the message, with optional metadata about the specific interaction.
68
+ * Cannot include more than 5 key-value pairs, must not contain nested data. Read
69
+ * more about message engagement statuses
70
+ * [here](/send-notifications/message-statuses#engagement-status).
71
+ */
72
+ markAsInteracted(messageID, body = {}, options) {
73
+ return this._client.put(path `/v1/messages/${messageID}/interacted`, { body, ...options });
74
+ }
75
+ /**
76
+ * Marks a message as `read`. This indicates that the user has read the message
77
+ * content. Read more about message engagement statuses
78
+ * [here](/send-notifications/message-statuses#engagement-status).
79
+ */
80
+ markAsRead(messageID, options) {
81
+ return this._client.put(path `/v1/messages/${messageID}/read`, options);
82
+ }
83
+ /**
84
+ * Marks a message as `seen`. This indicates that the user has viewed the message
85
+ * in their feed or inbox. Read more about message engagement statuses
86
+ * [here](/send-notifications/message-statuses#engagement-status).
87
+ */
88
+ markAsSeen(messageID, options) {
89
+ return this._client.put(path `/v1/messages/${messageID}/seen`, options);
90
+ }
91
+ /**
92
+ * Marks a message as `unread`. This reverses the `read` state. Read more about
93
+ * message engagement statuses
94
+ * [here](/send-notifications/message-statuses#engagement-status).
95
+ */
96
+ markAsUnread(messageID, options) {
97
+ return this._client.delete(path `/v1/messages/${messageID}/read`, options);
98
+ }
99
+ /**
100
+ * Marks a message as `unseen`. This reverses the `seen` state. Read more about
101
+ * message engagement statuses
102
+ * [here](/send-notifications/message-statuses#engagement-status).
103
+ */
104
+ markAsUnseen(messageID, options) {
105
+ return this._client.delete(path `/v1/messages/${messageID}/seen`, options);
106
+ }
107
+ /**
108
+ * Removes a message from the archived state, making it visible in the default
109
+ * message list in the feed again.
110
+ */
111
+ unarchive(messageID, options) {
112
+ return this._client.delete(path `/v1/messages/${messageID}/archived`, options);
113
+ }
114
+ }
115
+ Messages.Batch = Batch;
116
+ Messages.Activities = Activities;
117
+ //# sourceMappingURL=messages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export * from "./messages/index.mjs";
2
+ //# sourceMappingURL=messages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./messages/index.js";
2
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./messages/index.js"), exports);
19
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,sDAAiC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./messages/index.mjs";
3
+ //# sourceMappingURL=messages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,59 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as BulkOperationsAPI from "../bulk-operations.mjs";
3
+ import * as ObjectsAPI from "./objects.mjs";
4
+ import * as RecipientsAPI from "../recipients/recipients.mjs";
5
+ import { APIPromise } from "../../core/api-promise.mjs";
6
+ import { RequestOptions } from "../../internal/request-options.mjs";
7
+ export declare class Bulk extends APIResource {
8
+ /**
9
+ * Bulk deletes objects from the specified collection.
10
+ */
11
+ delete(collection: string, body: BulkDeleteParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
12
+ /**
13
+ * Add subscriptions for all objects in a single collection. If a subscription for
14
+ * an object in the collection already exists, it will be updated. This endpoint
15
+ * also handles
16
+ * [inline identifications](/managing-recipients/identifying-recipients#inline-identifying-recipients)
17
+ * for the `recipient` field.
18
+ */
19
+ addSubscriptions(collection: string, body: BulkAddSubscriptionsParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
20
+ /**
21
+ * Bulk sets up to 1,000 objects at a time in the specified collection.
22
+ */
23
+ set(collection: string, body: BulkSetParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
24
+ }
25
+ export interface BulkDeleteParams {
26
+ /**
27
+ * List of object IDs to delete.
28
+ */
29
+ object_ids: Array<string>;
30
+ }
31
+ export interface BulkAddSubscriptionsParams {
32
+ /**
33
+ * A list of subscriptions.
34
+ */
35
+ subscriptions: Array<BulkAddSubscriptionsParams.Subscription>;
36
+ }
37
+ export declare namespace BulkAddSubscriptionsParams {
38
+ interface Subscription {
39
+ /**
40
+ * The recipients of the subscription. You can subscribe up to 100 recipients to an
41
+ * object at a time.
42
+ */
43
+ recipients: Array<RecipientsAPI.RecipientRequest>;
44
+ /**
45
+ * The custom properties associated with the subscription relationship.
46
+ */
47
+ properties?: Record<string, unknown> | null;
48
+ }
49
+ }
50
+ export interface BulkSetParams {
51
+ /**
52
+ * A list of objects.
53
+ */
54
+ objects: Array<ObjectsAPI.InlineObjectRequest>;
55
+ }
56
+ export declare namespace Bulk {
57
+ export { type BulkDeleteParams as BulkDeleteParams, type BulkAddSubscriptionsParams as BulkAddSubscriptionsParams, type BulkSetParams as BulkSetParams, };
58
+ }
59
+ //# sourceMappingURL=bulk.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.d.mts","sourceRoot":"","sources":["../../src/resources/objects/bulk.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,iBAAiB;OACtB,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAI9C;;;;;;OAMG;IACH,gBAAgB,CACd,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAI9C;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,aAAa,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;CAG/C;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,0BAA0B,CAAC,YAAY,CAAC,CAAC;CAC/D;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,YAAY;QAC3B;;;WAGG;QACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAElD;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
@@ -0,0 +1,59 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as BulkOperationsAPI from "../bulk-operations.js";
3
+ import * as ObjectsAPI from "./objects.js";
4
+ import * as RecipientsAPI from "../recipients/recipients.js";
5
+ import { APIPromise } from "../../core/api-promise.js";
6
+ import { RequestOptions } from "../../internal/request-options.js";
7
+ export declare class Bulk extends APIResource {
8
+ /**
9
+ * Bulk deletes objects from the specified collection.
10
+ */
11
+ delete(collection: string, body: BulkDeleteParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
12
+ /**
13
+ * Add subscriptions for all objects in a single collection. If a subscription for
14
+ * an object in the collection already exists, it will be updated. This endpoint
15
+ * also handles
16
+ * [inline identifications](/managing-recipients/identifying-recipients#inline-identifying-recipients)
17
+ * for the `recipient` field.
18
+ */
19
+ addSubscriptions(collection: string, body: BulkAddSubscriptionsParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
20
+ /**
21
+ * Bulk sets up to 1,000 objects at a time in the specified collection.
22
+ */
23
+ set(collection: string, body: BulkSetParams, options?: RequestOptions): APIPromise<BulkOperationsAPI.BulkOperation>;
24
+ }
25
+ export interface BulkDeleteParams {
26
+ /**
27
+ * List of object IDs to delete.
28
+ */
29
+ object_ids: Array<string>;
30
+ }
31
+ export interface BulkAddSubscriptionsParams {
32
+ /**
33
+ * A list of subscriptions.
34
+ */
35
+ subscriptions: Array<BulkAddSubscriptionsParams.Subscription>;
36
+ }
37
+ export declare namespace BulkAddSubscriptionsParams {
38
+ interface Subscription {
39
+ /**
40
+ * The recipients of the subscription. You can subscribe up to 100 recipients to an
41
+ * object at a time.
42
+ */
43
+ recipients: Array<RecipientsAPI.RecipientRequest>;
44
+ /**
45
+ * The custom properties associated with the subscription relationship.
46
+ */
47
+ properties?: Record<string, unknown> | null;
48
+ }
49
+ }
50
+ export interface BulkSetParams {
51
+ /**
52
+ * A list of objects.
53
+ */
54
+ objects: Array<ObjectsAPI.InlineObjectRequest>;
55
+ }
56
+ export declare namespace Bulk {
57
+ export { type BulkDeleteParams as BulkDeleteParams, type BulkAddSubscriptionsParams as BulkAddSubscriptionsParams, type BulkSetParams as BulkSetParams, };
58
+ }
59
+ //# sourceMappingURL=bulk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/resources/objects/bulk.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,iBAAiB;OACtB,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAI9C;;;;;;OAMG;IACH,gBAAgB,CACd,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAI9C;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,aAAa,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC,aAAa,CAAC;CAG/C;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,0BAA0B,CAAC,YAAY,CAAC,CAAC;CAC/D;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,YAAY;QAC3B;;;WAGG;QACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAElD;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Bulk = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Bulk extends resource_1.APIResource {
8
+ /**
9
+ * Bulk deletes objects from the specified collection.
10
+ */
11
+ delete(collection, body, options) {
12
+ return this._client.post((0, path_1.path) `/v1/objects/${collection}/bulk/delete`, { body, ...options });
13
+ }
14
+ /**
15
+ * Add subscriptions for all objects in a single collection. If a subscription for
16
+ * an object in the collection already exists, it will be updated. This endpoint
17
+ * also handles
18
+ * [inline identifications](/managing-recipients/identifying-recipients#inline-identifying-recipients)
19
+ * for the `recipient` field.
20
+ */
21
+ addSubscriptions(collection, body, options) {
22
+ return this._client.post((0, path_1.path) `/v1/objects/${collection}/bulk/subscriptions/add`, { body, ...options });
23
+ }
24
+ /**
25
+ * Bulk sets up to 1,000 objects at a time in the specified collection.
26
+ */
27
+ set(collection, body, options) {
28
+ return this._client.post((0, path_1.path) `/v1/objects/${collection}/bulk/set`, { body, ...options });
29
+ }
30
+ }
31
+ exports.Bulk = Bulk;
32
+ //# sourceMappingURL=bulk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../src/resources/objects/bulk.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,UAAkB,EAClB,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,UAAU,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,GAAG,CACD,UAAkB,EAClB,IAAmB,EACnB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,UAAU,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AArCD,oBAqCC"}
@@ -0,0 +1,28 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Bulk extends APIResource {
5
+ /**
6
+ * Bulk deletes objects from the specified collection.
7
+ */
8
+ delete(collection, body, options) {
9
+ return this._client.post(path `/v1/objects/${collection}/bulk/delete`, { body, ...options });
10
+ }
11
+ /**
12
+ * Add subscriptions for all objects in a single collection. If a subscription for
13
+ * an object in the collection already exists, it will be updated. This endpoint
14
+ * also handles
15
+ * [inline identifications](/managing-recipients/identifying-recipients#inline-identifying-recipients)
16
+ * for the `recipient` field.
17
+ */
18
+ addSubscriptions(collection, body, options) {
19
+ return this._client.post(path `/v1/objects/${collection}/bulk/subscriptions/add`, { body, ...options });
20
+ }
21
+ /**
22
+ * Bulk sets up to 1,000 objects at a time in the specified collection.
23
+ */
24
+ set(collection, body, options) {
25
+ return this._client.post(path `/v1/objects/${collection}/bulk/set`, { body, ...options });
26
+ }
27
+ }
28
+ //# sourceMappingURL=bulk.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.mjs","sourceRoot":"","sources":["../../src/resources/objects/bulk.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,UAAkB,EAClB,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,UAAU,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,GAAG,CACD,UAAkB,EAClB,IAAmB,EACnB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,UAAU,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Bulk, type BulkDeleteParams, type BulkAddSubscriptionsParams, type BulkSetParams } from "./bulk.mjs";
2
+ export { Objects, type InlineObjectRequest, type Object, type ObjectDeleteResponse, type ObjectAddSubscriptionsResponse, type ObjectDeleteSubscriptionsResponse, type ObjectListPreferencesResponse, type ObjectUnsetChannelDataResponse, type ObjectListParams, type ObjectAddSubscriptionsParams, type ObjectDeleteSubscriptionsParams, type ObjectListMessagesParams, type ObjectListSchedulesParams, type ObjectListSubscriptionsParams, type ObjectSetParams, type ObjectSetChannelDataParams, type ObjectSetPreferencesParams, type ObjectsEntriesCursor, } from "./objects.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/objects/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,gBAAgB,EAAE,KAAK,0BAA0B,EAAE,KAAK,aAAa,EAAE;OACpF,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,GAC1B"}
@@ -0,0 +1,3 @@
1
+ export { Bulk, type BulkDeleteParams, type BulkAddSubscriptionsParams, type BulkSetParams } from "./bulk.js";
2
+ export { Objects, type InlineObjectRequest, type Object, type ObjectDeleteResponse, type ObjectAddSubscriptionsResponse, type ObjectDeleteSubscriptionsResponse, type ObjectListPreferencesResponse, type ObjectUnsetChannelDataResponse, type ObjectListParams, type ObjectAddSubscriptionsParams, type ObjectDeleteSubscriptionsParams, type ObjectListMessagesParams, type ObjectListSchedulesParams, type ObjectListSubscriptionsParams, type ObjectSetParams, type ObjectSetChannelDataParams, type ObjectSetPreferencesParams, type ObjectsEntriesCursor, } from "./objects.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/objects/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,gBAAgB,EAAE,KAAK,0BAA0B,EAAE,KAAK,aAAa,EAAE;OACpF,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,GAC1B"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Objects = exports.Bulk = void 0;
5
+ var bulk_1 = require("./bulk.js");
6
+ Object.defineProperty(exports, "Bulk", { enumerable: true, get: function () { return bulk_1.Bulk; } });
7
+ var objects_1 = require("./objects.js");
8
+ Object.defineProperty(exports, "Objects", { enumerable: true, get: function () { return objects_1.Objects; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/objects/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAA0G;AAAjG,4FAAA,IAAI,OAAA;AACb,wCAmBmB;AAlBjB,kGAAA,OAAO,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Bulk } from "./bulk.mjs";
3
+ export { Objects, } from "./objects.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/objects/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA8E;OACpF,EACL,OAAO,GAkBR"}