@snagsolutions/sdk 0.1.0-alpha.23 → 0.1.0-alpha.230

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 (849) hide show
  1. package/CHANGELOG.md +10 -259
  2. package/LICENSE +1 -1
  3. package/README.md +126 -64
  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 +6 -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 +202 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +202 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +478 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +474 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -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/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +1 -46
  55. package/error.d.ts.map +1 -1
  56. package/error.js +3 -110
  57. package/error.js.map +1 -1
  58. package/error.mjs +1 -96
  59. package/error.mjs.map +1 -1
  60. package/index.d.mts +6 -132
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +5 -131
  63. package/index.d.ts.map +1 -1
  64. package/index.js +12 -129
  65. package/index.js.map +1 -1
  66. package/index.mjs +5 -102
  67. package/index.mjs.map +1 -1
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +40 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +37 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +1 -0
  111. package/internal/qs/formats.d.ts.map +1 -1
  112. package/internal/qs/formats.js +4 -2
  113. package/internal/qs/formats.js.map +1 -1
  114. package/internal/qs/formats.mjs +2 -1
  115. package/internal/qs/formats.mjs.map +1 -1
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts.map +1 -1
  119. package/internal/qs/stringify.d.mts +3 -0
  120. package/internal/qs/stringify.d.mts.map +1 -0
  121. package/internal/qs/stringify.d.ts.map +1 -1
  122. package/internal/qs/stringify.js +16 -19
  123. package/internal/qs/stringify.js.map +1 -1
  124. package/internal/qs/stringify.mjs +17 -19
  125. package/internal/qs/stringify.mjs.map +1 -1
  126. package/internal/qs/types.d.mts +57 -0
  127. package/internal/qs/types.d.mts.map +1 -0
  128. package/internal/qs/utils.d.mts +15 -0
  129. package/internal/qs/utils.d.mts.map +1 -0
  130. package/internal/qs/utils.d.ts +1 -0
  131. package/internal/qs/utils.d.ts.map +1 -1
  132. package/internal/qs/utils.js +22 -21
  133. package/internal/qs/utils.js.map +1 -1
  134. package/internal/qs/utils.mjs +12 -12
  135. package/internal/qs/utils.mjs.map +1 -1
  136. package/internal/request-options.d.mts +75 -0
  137. package/internal/request-options.d.mts.map +1 -0
  138. package/internal/request-options.d.ts +75 -0
  139. package/internal/request-options.d.ts.map +1 -0
  140. package/internal/request-options.js +14 -0
  141. package/internal/request-options.js.map +1 -0
  142. package/internal/request-options.mjs +10 -0
  143. package/internal/request-options.mjs.map +1 -0
  144. package/internal/shim-types.d.mts +17 -0
  145. package/internal/shim-types.d.mts.map +1 -0
  146. package/internal/shim-types.d.ts +17 -0
  147. package/internal/shim-types.d.ts.map +1 -0
  148. package/internal/shim-types.js +4 -0
  149. package/internal/shim-types.js.map +1 -0
  150. package/internal/shim-types.mjs +3 -0
  151. package/internal/shim-types.mjs.map +1 -0
  152. package/internal/shims.d.mts +20 -0
  153. package/internal/shims.d.mts.map +1 -0
  154. package/internal/shims.d.ts +20 -0
  155. package/internal/shims.d.ts.map +1 -0
  156. package/internal/shims.js +92 -0
  157. package/internal/shims.js.map +1 -0
  158. package/internal/shims.mjs +85 -0
  159. package/internal/shims.mjs.map +1 -0
  160. package/internal/to-file.d.mts +45 -0
  161. package/internal/to-file.d.mts.map +1 -0
  162. package/internal/to-file.d.ts +45 -0
  163. package/internal/to-file.d.ts.map +1 -0
  164. package/internal/to-file.js +91 -0
  165. package/internal/to-file.js.map +1 -0
  166. package/internal/to-file.mjs +88 -0
  167. package/internal/to-file.mjs.map +1 -0
  168. package/internal/tslib.js +81 -0
  169. package/internal/tslib.mjs +17 -0
  170. package/internal/types.d.mts +69 -0
  171. package/internal/types.d.mts.map +1 -0
  172. package/internal/types.d.ts +69 -0
  173. package/internal/types.d.ts.map +1 -0
  174. package/internal/types.js +4 -0
  175. package/internal/types.js.map +1 -0
  176. package/internal/types.mjs +3 -0
  177. package/internal/types.mjs.map +1 -0
  178. package/internal/uploads.d.mts +42 -0
  179. package/internal/uploads.d.mts.map +1 -0
  180. package/internal/uploads.d.ts +42 -0
  181. package/internal/uploads.d.ts.map +1 -0
  182. package/internal/uploads.js +141 -0
  183. package/internal/uploads.js.map +1 -0
  184. package/internal/uploads.mjs +131 -0
  185. package/internal/uploads.mjs.map +1 -0
  186. package/internal/utils/base64.d.mts +3 -0
  187. package/internal/utils/base64.d.mts.map +1 -0
  188. package/internal/utils/base64.d.ts +3 -0
  189. package/internal/utils/base64.d.ts.map +1 -0
  190. package/internal/utils/base64.js +38 -0
  191. package/internal/utils/base64.js.map +1 -0
  192. package/internal/utils/base64.mjs +33 -0
  193. package/internal/utils/base64.mjs.map +1 -0
  194. package/internal/utils/bytes.d.mts +4 -0
  195. package/internal/utils/bytes.d.mts.map +1 -0
  196. package/internal/utils/bytes.d.ts +4 -0
  197. package/internal/utils/bytes.d.ts.map +1 -0
  198. package/internal/utils/bytes.js +31 -0
  199. package/internal/utils/bytes.js.map +1 -0
  200. package/internal/utils/bytes.mjs +26 -0
  201. package/internal/utils/bytes.mjs.map +1 -0
  202. package/internal/utils/env.d.mts +9 -0
  203. package/internal/utils/env.d.mts.map +1 -0
  204. package/internal/utils/env.d.ts +9 -0
  205. package/internal/utils/env.d.ts.map +1 -0
  206. package/internal/utils/env.js +22 -0
  207. package/internal/utils/env.js.map +1 -0
  208. package/internal/utils/env.mjs +18 -0
  209. package/internal/utils/env.mjs.map +1 -0
  210. package/internal/utils/log.d.mts +37 -0
  211. package/internal/utils/log.d.mts.map +1 -0
  212. package/internal/utils/log.d.ts +37 -0
  213. package/internal/utils/log.d.ts.map +1 -0
  214. package/internal/utils/log.js +86 -0
  215. package/internal/utils/log.js.map +1 -0
  216. package/internal/utils/log.mjs +80 -0
  217. package/internal/utils/log.mjs.map +1 -0
  218. package/internal/utils/path.d.mts +15 -0
  219. package/internal/utils/path.d.mts.map +1 -0
  220. package/internal/utils/path.d.ts +15 -0
  221. package/internal/utils/path.d.ts.map +1 -0
  222. package/internal/utils/path.js +79 -0
  223. package/internal/utils/path.js.map +1 -0
  224. package/internal/utils/path.mjs +74 -0
  225. package/internal/utils/path.mjs.map +1 -0
  226. package/internal/utils/sleep.d.mts +2 -0
  227. package/internal/utils/sleep.d.mts.map +1 -0
  228. package/internal/utils/sleep.d.ts +2 -0
  229. package/internal/utils/sleep.d.ts.map +1 -0
  230. package/internal/utils/sleep.js +7 -0
  231. package/internal/utils/sleep.js.map +1 -0
  232. package/internal/utils/sleep.mjs +3 -0
  233. package/internal/utils/sleep.mjs.map +1 -0
  234. package/internal/utils/uuid.d.mts +5 -0
  235. package/internal/utils/uuid.d.mts.map +1 -0
  236. package/internal/utils/uuid.d.ts +5 -0
  237. package/internal/utils/uuid.d.ts.map +1 -0
  238. package/internal/utils/uuid.js +19 -0
  239. package/internal/utils/uuid.js.map +1 -0
  240. package/internal/utils/uuid.mjs +15 -0
  241. package/internal/utils/uuid.mjs.map +1 -0
  242. package/internal/utils/values.d.mts +18 -0
  243. package/internal/utils/values.d.mts.map +1 -0
  244. package/internal/utils/values.d.ts +18 -0
  245. package/internal/utils/values.d.ts.map +1 -0
  246. package/internal/utils/values.js +112 -0
  247. package/internal/utils/values.js.map +1 -0
  248. package/internal/utils/values.mjs +94 -0
  249. package/internal/utils/values.mjs.map +1 -0
  250. package/internal/utils.d.mts +7 -0
  251. package/internal/utils.d.mts.map +1 -0
  252. package/internal/utils.d.ts +7 -0
  253. package/internal/utils.d.ts.map +1 -0
  254. package/internal/utils.js +11 -0
  255. package/internal/utils.js.map +1 -0
  256. package/internal/utils.mjs +8 -0
  257. package/internal/utils.mjs.map +1 -0
  258. package/package.json +104 -69
  259. package/resource.d.mts +2 -0
  260. package/resource.d.mts.map +1 -0
  261. package/resource.d.ts +1 -5
  262. package/resource.d.ts.map +1 -1
  263. package/resource.js +3 -8
  264. package/resource.js.map +1 -1
  265. package/resource.mjs +1 -6
  266. package/resource.mjs.map +1 -1
  267. package/resources/assets.d.mts +65 -0
  268. package/resources/assets.d.mts.map +1 -0
  269. package/resources/assets.d.ts +20 -5
  270. package/resources/assets.d.ts.map +1 -1
  271. package/resources/assets.js +9 -1
  272. package/resources/assets.js.map +1 -1
  273. package/resources/assets.mjs +9 -1
  274. package/resources/assets.mjs.map +1 -1
  275. package/resources/auctions/auctions.d.mts +368 -0
  276. package/resources/auctions/auctions.d.mts.map +1 -0
  277. package/resources/auctions/auctions.d.ts +368 -0
  278. package/resources/auctions/auctions.d.ts.map +1 -0
  279. package/resources/auctions/auctions.js +54 -0
  280. package/resources/auctions/auctions.js.map +1 -0
  281. package/resources/auctions/auctions.mjs +49 -0
  282. package/resources/auctions/auctions.mjs.map +1 -0
  283. package/resources/auctions/index.d.mts +3 -0
  284. package/resources/auctions/index.d.mts.map +1 -0
  285. package/resources/auctions/index.d.ts +3 -0
  286. package/resources/auctions/index.d.ts.map +1 -0
  287. package/resources/auctions/index.js +9 -0
  288. package/resources/auctions/index.js.map +1 -0
  289. package/resources/auctions/index.mjs +4 -0
  290. package/resources/auctions/index.mjs.map +1 -0
  291. package/resources/auctions/website-user-attributes/index.d.mts +3 -0
  292. package/resources/auctions/website-user-attributes/index.d.mts.map +1 -0
  293. package/resources/auctions/website-user-attributes/index.d.ts +3 -0
  294. package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
  295. package/resources/auctions/website-user-attributes/index.js +9 -0
  296. package/resources/auctions/website-user-attributes/index.js.map +1 -0
  297. package/resources/auctions/website-user-attributes/index.mjs +4 -0
  298. package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
  299. package/resources/auctions/website-user-attributes/values.d.mts +127 -0
  300. package/resources/auctions/website-user-attributes/values.d.mts.map +1 -0
  301. package/resources/auctions/website-user-attributes/values.d.ts +127 -0
  302. package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
  303. package/resources/auctions/website-user-attributes/values.js +49 -0
  304. package/resources/auctions/website-user-attributes/values.js.map +1 -0
  305. package/resources/auctions/website-user-attributes/values.mjs +45 -0
  306. package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
  307. package/resources/auctions/website-user-attributes/website-user-attributes.d.mts +136 -0
  308. package/resources/auctions/website-user-attributes/website-user-attributes.d.mts.map +1 -0
  309. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +136 -0
  310. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
  311. package/resources/auctions/website-user-attributes/website-user-attributes.js +60 -0
  312. package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
  313. package/resources/auctions/website-user-attributes/website-user-attributes.mjs +55 -0
  314. package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
  315. package/resources/auctions/website-user-attributes.d.mts +2 -0
  316. package/resources/auctions/website-user-attributes.d.mts.map +1 -0
  317. package/resources/auctions/website-user-attributes.d.ts +2 -0
  318. package/resources/auctions/website-user-attributes.d.ts.map +1 -0
  319. package/resources/auctions/website-user-attributes.js +6 -0
  320. package/resources/auctions/website-user-attributes.js.map +1 -0
  321. package/resources/auctions/website-user-attributes.mjs +3 -0
  322. package/resources/auctions/website-user-attributes.mjs.map +1 -0
  323. package/resources/auctions.d.mts +2 -0
  324. package/resources/auctions.d.mts.map +1 -0
  325. package/resources/auctions.d.ts +1 -133
  326. package/resources/auctions.d.ts.map +1 -1
  327. package/resources/auctions.js +2 -22
  328. package/resources/auctions.js.map +1 -1
  329. package/resources/auctions.mjs +1 -20
  330. package/resources/auctions.mjs.map +1 -1
  331. package/resources/auth.d.mts +53 -0
  332. package/resources/auth.d.mts.map +1 -0
  333. package/resources/auth.d.ts +20 -7
  334. package/resources/auth.d.ts.map +1 -1
  335. package/resources/auth.js +6 -6
  336. package/resources/auth.js.map +1 -1
  337. package/resources/auth.mjs +6 -6
  338. package/resources/auth.mjs.map +1 -1
  339. package/resources/index.d.mts +10 -0
  340. package/resources/index.d.mts.map +1 -0
  341. package/resources/index.d.ts +4 -3
  342. package/resources/index.d.ts.map +1 -1
  343. package/resources/index.js +5 -3
  344. package/resources/index.js.map +1 -1
  345. package/resources/index.mjs +3 -2
  346. package/resources/index.mjs.map +1 -1
  347. package/resources/loyalty/account-streaks.d.mts +97 -0
  348. package/resources/loyalty/account-streaks.d.mts.map +1 -0
  349. package/resources/loyalty/account-streaks.d.ts +97 -0
  350. package/resources/loyalty/account-streaks.d.ts.map +1 -0
  351. package/resources/loyalty/account-streaks.js +24 -0
  352. package/resources/loyalty/account-streaks.js.map +1 -0
  353. package/resources/loyalty/account-streaks.mjs +20 -0
  354. package/resources/loyalty/account-streaks.mjs.map +1 -0
  355. package/resources/loyalty/accounts.d.mts +238 -0
  356. package/resources/loyalty/accounts.d.mts.map +1 -0
  357. package/resources/loyalty/accounts.d.ts +66 -22
  358. package/resources/loyalty/accounts.d.ts.map +1 -1
  359. package/resources/loyalty/accounts.js +25 -6
  360. package/resources/loyalty/accounts.js.map +1 -1
  361. package/resources/loyalty/accounts.mjs +25 -6
  362. package/resources/loyalty/accounts.mjs.map +1 -1
  363. package/resources/loyalty/badges.d.mts +1398 -0
  364. package/resources/loyalty/badges.d.mts.map +1 -0
  365. package/resources/loyalty/badges.d.ts +675 -147
  366. package/resources/loyalty/badges.d.ts.map +1 -1
  367. package/resources/loyalty/badges.js +63 -19
  368. package/resources/loyalty/badges.js.map +1 -1
  369. package/resources/loyalty/badges.mjs +63 -19
  370. package/resources/loyalty/badges.mjs.map +1 -1
  371. package/resources/loyalty/currencies.d.mts +272 -0
  372. package/resources/loyalty/currencies.d.mts.map +1 -0
  373. package/resources/loyalty/currencies.d.ts +26 -6
  374. package/resources/loyalty/currencies.d.ts.map +1 -1
  375. package/resources/loyalty/currencies.js +20 -1
  376. package/resources/loyalty/currencies.js.map +1 -1
  377. package/resources/loyalty/currencies.mjs +20 -1
  378. package/resources/loyalty/currencies.mjs.map +1 -1
  379. package/resources/loyalty/index.d.mts +13 -0
  380. package/resources/loyalty/index.d.mts.map +1 -0
  381. package/resources/loyalty/index.d.ts +3 -3
  382. package/resources/loyalty/index.d.ts.map +1 -1
  383. package/resources/loyalty/index.js +5 -5
  384. package/resources/loyalty/index.js.map +1 -1
  385. package/resources/loyalty/index.mjs +2 -2
  386. package/resources/loyalty/index.mjs.map +1 -1
  387. package/resources/loyalty/loyalty.d.mts +50 -0
  388. package/resources/loyalty/loyalty.d.mts.map +1 -0
  389. package/resources/loyalty/loyalty.d.ts +10 -10
  390. package/resources/loyalty/loyalty.d.ts.map +1 -1
  391. package/resources/loyalty/loyalty.js +17 -39
  392. package/resources/loyalty/loyalty.js.map +1 -1
  393. package/resources/loyalty/loyalty.mjs +7 -7
  394. package/resources/loyalty/loyalty.mjs.map +1 -1
  395. package/resources/loyalty/multipliers.d.mts +221 -0
  396. package/resources/loyalty/multipliers.d.mts.map +1 -0
  397. package/resources/loyalty/multipliers.d.ts +47 -11
  398. package/resources/loyalty/multipliers.d.ts.map +1 -1
  399. package/resources/loyalty/multipliers.js +48 -13
  400. package/resources/loyalty/multipliers.js.map +1 -1
  401. package/resources/loyalty/multipliers.mjs +48 -13
  402. package/resources/loyalty/multipliers.mjs.map +1 -1
  403. package/resources/loyalty/questions-responses.d.mts +148 -0
  404. package/resources/loyalty/questions-responses.d.mts.map +1 -0
  405. package/resources/loyalty/questions-responses.d.ts +60 -9
  406. package/resources/loyalty/questions-responses.d.ts.map +1 -1
  407. package/resources/loyalty/questions-responses.js +20 -5
  408. package/resources/loyalty/questions-responses.js.map +1 -1
  409. package/resources/loyalty/questions-responses.mjs +20 -5
  410. package/resources/loyalty/questions-responses.mjs.map +1 -1
  411. package/resources/loyalty/questions.d.mts +205 -0
  412. package/resources/loyalty/questions.d.mts.map +1 -0
  413. package/resources/loyalty/questions.d.ts +66 -11
  414. package/resources/loyalty/questions.d.ts.map +1 -1
  415. package/resources/loyalty/questions.js +42 -2
  416. package/resources/loyalty/questions.js.map +1 -1
  417. package/resources/loyalty/questions.mjs +42 -2
  418. package/resources/loyalty/questions.mjs.map +1 -1
  419. package/resources/loyalty/rule-edits.d.mts +3165 -0
  420. package/resources/loyalty/rule-edits.d.mts.map +1 -0
  421. package/resources/loyalty/rule-edits.d.ts +2847 -12
  422. package/resources/loyalty/rule-edits.d.ts.map +1 -1
  423. package/resources/loyalty/rule-edits.js +17 -2
  424. package/resources/loyalty/rule-edits.js.map +1 -1
  425. package/resources/loyalty/rule-edits.mjs +17 -2
  426. package/resources/loyalty/rule-edits.mjs.map +1 -1
  427. package/resources/loyalty/rule-groups.d.mts +826 -0
  428. package/resources/loyalty/rule-groups.d.mts.map +1 -0
  429. package/resources/loyalty/rule-groups.d.ts +286 -64
  430. package/resources/loyalty/rule-groups.d.ts.map +1 -1
  431. package/resources/loyalty/rule-groups.js +42 -10
  432. package/resources/loyalty/rule-groups.js.map +1 -1
  433. package/resources/loyalty/rule-groups.mjs +42 -10
  434. package/resources/loyalty/rule-groups.mjs.map +1 -1
  435. package/resources/loyalty/rules.d.mts +4543 -0
  436. package/resources/loyalty/rules.d.mts.map +1 -0
  437. package/resources/loyalty/rules.d.ts +2305 -374
  438. package/resources/loyalty/rules.d.ts.map +1 -1
  439. package/resources/loyalty/rules.js +75 -14
  440. package/resources/loyalty/rules.js.map +1 -1
  441. package/resources/loyalty/rules.mjs +75 -14
  442. package/resources/loyalty/rules.mjs.map +1 -1
  443. package/resources/loyalty/transactions/index.d.mts +4 -0
  444. package/resources/loyalty/transactions/index.d.mts.map +1 -0
  445. package/resources/loyalty/transactions/index.d.ts +4 -0
  446. package/resources/loyalty/transactions/index.d.ts.map +1 -0
  447. package/resources/loyalty/transactions/index.js +11 -0
  448. package/resources/loyalty/transactions/index.js.map +1 -0
  449. package/resources/loyalty/transactions/index.mjs +5 -0
  450. package/resources/loyalty/transactions/index.mjs.map +1 -0
  451. package/resources/loyalty/transactions/posts.d.mts +145 -0
  452. package/resources/loyalty/transactions/posts.d.mts.map +1 -0
  453. package/resources/loyalty/transactions/posts.d.ts +145 -0
  454. package/resources/loyalty/transactions/posts.d.ts.map +1 -0
  455. package/resources/loyalty/transactions/posts.js +40 -0
  456. package/resources/loyalty/transactions/posts.js.map +1 -0
  457. package/resources/loyalty/transactions/posts.mjs +36 -0
  458. package/resources/loyalty/transactions/posts.mjs.map +1 -0
  459. package/resources/loyalty/transactions/rule-statuses.d.mts +121 -0
  460. package/resources/loyalty/transactions/rule-statuses.d.mts.map +1 -0
  461. package/resources/loyalty/transactions/rule-statuses.d.ts +121 -0
  462. package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
  463. package/resources/loyalty/transactions/rule-statuses.js +35 -0
  464. package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
  465. package/resources/loyalty/transactions/rule-statuses.mjs +31 -0
  466. package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
  467. package/resources/loyalty/transactions/transactions.d.mts +564 -0
  468. package/resources/loyalty/transactions/transactions.d.mts.map +1 -0
  469. package/resources/loyalty/transactions/transactions.d.ts +564 -0
  470. package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
  471. package/resources/loyalty/transactions/transactions.js +94 -0
  472. package/resources/loyalty/transactions/transactions.js.map +1 -0
  473. package/resources/loyalty/transactions/transactions.mjs +89 -0
  474. package/resources/loyalty/transactions/transactions.mjs.map +1 -0
  475. package/resources/loyalty/transactions.d.mts +2 -0
  476. package/resources/loyalty/transactions.d.mts.map +1 -0
  477. package/resources/loyalty/transactions.d.ts +1 -248
  478. package/resources/loyalty/transactions.d.ts.map +1 -1
  479. package/resources/loyalty/transactions.js +2 -18
  480. package/resources/loyalty/transactions.js.map +1 -1
  481. package/resources/loyalty/transactions.mjs +1 -16
  482. package/resources/loyalty/transactions.mjs.map +1 -1
  483. package/resources/loyalty.d.mts +2 -0
  484. package/resources/loyalty.d.mts.map +1 -0
  485. package/resources/loyalty.d.ts.map +1 -1
  486. package/resources/loyalty.js +2 -15
  487. package/resources/loyalty.js.map +1 -1
  488. package/resources/minting/allowlist.d.mts +85 -0
  489. package/resources/minting/allowlist.d.mts.map +1 -0
  490. package/resources/minting/allowlist.d.ts +85 -0
  491. package/resources/minting/allowlist.d.ts.map +1 -0
  492. package/resources/minting/allowlist.js +42 -0
  493. package/resources/minting/allowlist.js.map +1 -0
  494. package/resources/minting/allowlist.mjs +38 -0
  495. package/resources/minting/allowlist.mjs.map +1 -0
  496. package/resources/minting/contracts.d.mts +165 -0
  497. package/resources/minting/contracts.d.mts.map +1 -0
  498. package/resources/minting/contracts.d.ts +165 -0
  499. package/resources/minting/contracts.d.ts.map +1 -0
  500. package/resources/minting/contracts.js +34 -0
  501. package/resources/minting/contracts.js.map +1 -0
  502. package/resources/minting/contracts.mjs +30 -0
  503. package/resources/minting/contracts.mjs.map +1 -0
  504. package/resources/minting/index.d.mts +5 -0
  505. package/resources/minting/index.d.mts.map +1 -0
  506. package/resources/minting/index.d.ts +5 -0
  507. package/resources/minting/index.d.ts.map +1 -0
  508. package/resources/minting/index.js +13 -0
  509. package/resources/minting/index.js.map +1 -0
  510. package/resources/minting/index.mjs +6 -0
  511. package/resources/minting/index.mjs.map +1 -0
  512. package/resources/minting/minting.d.mts +143 -0
  513. package/resources/minting/minting.d.mts.map +1 -0
  514. package/resources/minting/minting.d.ts +143 -0
  515. package/resources/minting/minting.d.ts.map +1 -0
  516. package/resources/minting/minting.js +57 -0
  517. package/resources/minting/minting.js.map +1 -0
  518. package/resources/minting/minting.mjs +52 -0
  519. package/resources/minting/minting.mjs.map +1 -0
  520. package/resources/minting/status.d.mts +45 -0
  521. package/resources/minting/status.d.mts.map +1 -0
  522. package/resources/minting/status.d.ts +45 -0
  523. package/resources/minting/status.d.ts.map +1 -0
  524. package/resources/minting/status.js +34 -0
  525. package/resources/minting/status.js.map +1 -0
  526. package/resources/minting/status.mjs +30 -0
  527. package/resources/minting/status.mjs.map +1 -0
  528. package/resources/minting.d.mts +2 -0
  529. package/resources/minting.d.mts.map +1 -0
  530. package/resources/minting.d.ts +1 -94
  531. package/resources/minting.d.ts.map +1 -1
  532. package/resources/minting.js +2 -11
  533. package/resources/minting.js.map +1 -1
  534. package/resources/minting.mjs +1 -9
  535. package/resources/minting.mjs.map +1 -1
  536. package/resources/referral/index.d.mts +3 -0
  537. package/resources/referral/index.d.mts.map +1 -0
  538. package/resources/referral/index.d.ts.map +1 -1
  539. package/resources/referral/referral.d.mts +41 -0
  540. package/resources/referral/referral.d.mts.map +1 -0
  541. package/resources/referral/referral.d.ts +15 -5
  542. package/resources/referral/referral.d.ts.map +1 -1
  543. package/resources/referral/referral.js +14 -30
  544. package/resources/referral/referral.js.map +1 -1
  545. package/resources/referral/referral.mjs +12 -6
  546. package/resources/referral/referral.mjs.map +1 -1
  547. package/resources/referral/users.d.mts +84 -0
  548. package/resources/referral/users.d.mts.map +1 -0
  549. package/resources/referral/users.d.ts +33 -6
  550. package/resources/referral/users.d.ts.map +1 -1
  551. package/resources/referral/users.js +14 -2
  552. package/resources/referral/users.js.map +1 -1
  553. package/resources/referral/users.mjs +14 -2
  554. package/resources/referral/users.mjs.map +1 -1
  555. package/resources/referral.d.mts +2 -0
  556. package/resources/referral.d.mts.map +1 -0
  557. package/resources/referral.d.ts.map +1 -1
  558. package/resources/referral.js +2 -15
  559. package/resources/referral.js.map +1 -1
  560. package/resources/token-claims.d.mts +159 -0
  561. package/resources/token-claims.d.mts.map +1 -0
  562. package/resources/token-claims.d.ts +159 -0
  563. package/resources/token-claims.d.ts.map +1 -0
  564. package/resources/token-claims.js +46 -0
  565. package/resources/token-claims.js.map +1 -0
  566. package/resources/token-claims.mjs +42 -0
  567. package/resources/token-claims.mjs.map +1 -0
  568. package/resources/users/index.d.mts +3 -0
  569. package/resources/users/index.d.mts.map +1 -0
  570. package/resources/users/index.d.ts +1 -1
  571. package/resources/users/index.d.ts.map +1 -1
  572. package/resources/users/index.js.map +1 -1
  573. package/resources/users/index.mjs.map +1 -1
  574. package/resources/users/metadatas.d.mts +174 -0
  575. package/resources/users/metadatas.d.mts.map +1 -0
  576. package/resources/users/metadatas.d.ts +41 -9
  577. package/resources/users/metadatas.d.ts.map +1 -1
  578. package/resources/users/metadatas.js +17 -8
  579. package/resources/users/metadatas.js.map +1 -1
  580. package/resources/users/metadatas.mjs +17 -8
  581. package/resources/users/metadatas.mjs.map +1 -1
  582. package/resources/users/users.d.mts +465 -0
  583. package/resources/users/users.d.mts.map +1 -0
  584. package/resources/users/users.d.ts +206 -45
  585. package/resources/users/users.d.ts.map +1 -1
  586. package/resources/users/users.js +69 -30
  587. package/resources/users/users.js.map +1 -1
  588. package/resources/users/users.mjs +67 -6
  589. package/resources/users/users.mjs.map +1 -1
  590. package/resources/users.d.mts +2 -0
  591. package/resources/users.d.mts.map +1 -0
  592. package/resources/users.d.ts.map +1 -1
  593. package/resources/users.js +2 -15
  594. package/resources/users.js.map +1 -1
  595. package/resources/websites/index.d.mts +4 -0
  596. package/resources/websites/index.d.mts.map +1 -0
  597. package/resources/websites/index.d.ts.map +1 -1
  598. package/resources/websites/website-collections.d.mts +95 -0
  599. package/resources/websites/website-collections.d.mts.map +1 -0
  600. package/resources/websites/website-collections.d.ts +27 -5
  601. package/resources/websites/website-collections.d.ts.map +1 -1
  602. package/resources/websites/website-collections.js +24 -2
  603. package/resources/websites/website-collections.js.map +1 -1
  604. package/resources/websites/website-collections.mjs +24 -2
  605. package/resources/websites/website-collections.mjs.map +1 -1
  606. package/resources/websites/website-user-roles.d.mts +97 -0
  607. package/resources/websites/website-user-roles.d.mts.map +1 -0
  608. package/resources/websites/website-user-roles.d.ts +29 -5
  609. package/resources/websites/website-user-roles.d.ts.map +1 -1
  610. package/resources/websites/website-user-roles.js +24 -1
  611. package/resources/websites/website-user-roles.js.map +1 -1
  612. package/resources/websites/website-user-roles.mjs +24 -1
  613. package/resources/websites/website-user-roles.mjs.map +1 -1
  614. package/resources/websites/websites.d.mts +329 -0
  615. package/resources/websites/websites.d.mts.map +1 -0
  616. package/resources/websites/websites.d.ts +123 -5
  617. package/resources/websites/websites.d.ts.map +1 -1
  618. package/resources/websites/websites.js +20 -30
  619. package/resources/websites/websites.js.map +1 -1
  620. package/resources/websites/websites.mjs +17 -5
  621. package/resources/websites/websites.mjs.map +1 -1
  622. package/resources/websites.d.mts +2 -0
  623. package/resources/websites.d.mts.map +1 -0
  624. package/resources/websites.d.ts.map +1 -1
  625. package/resources/websites.js +2 -15
  626. package/resources/websites.js.map +1 -1
  627. package/resources.d.mts +2 -0
  628. package/resources.d.mts.map +1 -0
  629. package/resources.d.ts.map +1 -1
  630. package/resources.js +2 -15
  631. package/resources.js.map +1 -1
  632. package/src/api-promise.ts +2 -0
  633. package/src/client.ts +868 -0
  634. package/src/core/README.md +3 -0
  635. package/src/core/api-promise.ts +92 -0
  636. package/src/core/error.ts +130 -0
  637. package/src/core/resource.ts +11 -0
  638. package/src/core/uploads.ts +2 -0
  639. package/src/error.ts +2 -130
  640. package/src/index.ts +5 -264
  641. package/src/internal/README.md +3 -0
  642. package/src/internal/builtin-types.ts +93 -0
  643. package/src/internal/detect-platform.ts +196 -0
  644. package/src/internal/errors.ts +33 -0
  645. package/src/internal/headers.ts +97 -0
  646. package/src/internal/parse.ts +56 -0
  647. package/src/internal/qs/formats.ts +2 -1
  648. package/src/internal/qs/stringify.ts +17 -20
  649. package/src/internal/qs/utils.ts +14 -14
  650. package/src/internal/request-options.ts +91 -0
  651. package/src/internal/shim-types.ts +26 -0
  652. package/src/internal/shims.ts +107 -0
  653. package/src/internal/to-file.ts +154 -0
  654. package/src/internal/types.ts +95 -0
  655. package/src/internal/uploads.ts +187 -0
  656. package/src/internal/utils/base64.ts +40 -0
  657. package/src/internal/utils/bytes.ts +32 -0
  658. package/src/internal/utils/env.ts +18 -0
  659. package/src/internal/utils/log.ts +127 -0
  660. package/src/internal/utils/path.ts +88 -0
  661. package/src/internal/utils/sleep.ts +3 -0
  662. package/src/internal/utils/uuid.ts +17 -0
  663. package/src/internal/utils/values.ts +105 -0
  664. package/src/internal/utils.ts +8 -0
  665. package/src/resource.ts +2 -11
  666. package/src/resources/assets.ts +22 -9
  667. package/src/resources/auctions/auctions.ts +553 -0
  668. package/src/resources/auctions/index.ts +19 -0
  669. package/src/resources/auctions/website-user-attributes/index.ts +18 -0
  670. package/src/resources/auctions/website-user-attributes/values.ts +171 -0
  671. package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +205 -0
  672. package/src/resources/auctions/website-user-attributes.ts +3 -0
  673. package/src/resources/auctions.ts +1 -207
  674. package/src/resources/auth.ts +39 -23
  675. package/src/resources/index.ts +34 -2
  676. package/src/resources/loyalty/account-streaks.ts +129 -0
  677. package/src/resources/loyalty/accounts.ts +75 -32
  678. package/src/resources/loyalty/badges.ts +812 -199
  679. package/src/resources/loyalty/currencies.ts +26 -6
  680. package/src/resources/loyalty/index.ts +13 -2
  681. package/src/resources/loyalty/loyalty.ts +31 -13
  682. package/src/resources/loyalty/multipliers.ts +61 -38
  683. package/src/resources/loyalty/questions-responses.ts +72 -20
  684. package/src/resources/loyalty/questions.ts +73 -13
  685. package/src/resources/loyalty/rule-edits.ts +4126 -106
  686. package/src/resources/loyalty/rule-groups.ts +469 -98
  687. package/src/resources/loyalty/rules.ts +3500 -407
  688. package/src/resources/loyalty/transactions/index.ts +29 -0
  689. package/src/resources/loyalty/transactions/posts.ts +213 -0
  690. package/src/resources/loyalty/transactions/rule-statuses.ts +171 -0
  691. package/src/resources/loyalty/transactions/transactions.ts +904 -0
  692. package/src/resources/loyalty/transactions.ts +1 -440
  693. package/src/resources/minting/allowlist.ts +114 -0
  694. package/src/resources/minting/contracts.ts +403 -0
  695. package/src/resources/minting/index.ts +29 -0
  696. package/src/resources/minting/minting.ts +275 -0
  697. package/src/resources/minting/status.ts +68 -0
  698. package/src/resources/minting.ts +1 -157
  699. package/src/resources/referral/referral.ts +20 -15
  700. package/src/resources/referral/users.ts +43 -8
  701. package/src/resources/token-claims.ts +294 -0
  702. package/src/resources/users/index.ts +4 -0
  703. package/src/resources/users/metadatas.ts +70 -22
  704. package/src/resources/users/users.ts +268 -53
  705. package/src/resources/websites/website-collections.ts +49 -7
  706. package/src/resources/websites/website-user-roles.ts +32 -9
  707. package/src/resources/websites/websites.ts +149 -12
  708. package/src/tsconfig.json +2 -2
  709. package/src/uploads.ts +2 -255
  710. package/src/version.ts +1 -1
  711. package/uploads.d.mts +2 -0
  712. package/uploads.d.mts.map +1 -0
  713. package/uploads.d.ts +1 -74
  714. package/uploads.d.ts.map +1 -1
  715. package/uploads.js +3 -168
  716. package/uploads.js.map +1 -1
  717. package/uploads.mjs +1 -157
  718. package/uploads.mjs.map +1 -1
  719. package/version.d.mts +2 -0
  720. package/version.d.mts.map +1 -0
  721. package/version.d.ts +1 -1
  722. package/version.d.ts.map +1 -1
  723. package/version.js +1 -1
  724. package/version.js.map +1 -1
  725. package/version.mjs +1 -1
  726. package/version.mjs.map +1 -1
  727. package/_shims/MultipartBody.d.ts +0 -9
  728. package/_shims/MultipartBody.d.ts.map +0 -1
  729. package/_shims/MultipartBody.js +0 -16
  730. package/_shims/MultipartBody.js.map +0 -1
  731. package/_shims/MultipartBody.mjs +0 -12
  732. package/_shims/MultipartBody.mjs.map +0 -1
  733. package/_shims/README.md +0 -46
  734. package/_shims/auto/runtime-bun.d.ts +0 -5
  735. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  736. package/_shims/auto/runtime-bun.js +0 -21
  737. package/_shims/auto/runtime-bun.js.map +0 -1
  738. package/_shims/auto/runtime-bun.mjs +0 -2
  739. package/_shims/auto/runtime-bun.mjs.map +0 -1
  740. package/_shims/auto/runtime-node.d.ts +0 -5
  741. package/_shims/auto/runtime-node.d.ts.map +0 -1
  742. package/_shims/auto/runtime-node.js +0 -21
  743. package/_shims/auto/runtime-node.js.map +0 -1
  744. package/_shims/auto/runtime-node.mjs +0 -2
  745. package/_shims/auto/runtime-node.mjs.map +0 -1
  746. package/_shims/auto/runtime.d.ts +0 -5
  747. package/_shims/auto/runtime.d.ts.map +0 -1
  748. package/_shims/auto/runtime.js +0 -21
  749. package/_shims/auto/runtime.js.map +0 -1
  750. package/_shims/auto/runtime.mjs +0 -2
  751. package/_shims/auto/runtime.mjs.map +0 -1
  752. package/_shims/auto/types-node.d.ts +0 -5
  753. package/_shims/auto/types-node.d.ts.map +0 -1
  754. package/_shims/auto/types-node.js +0 -21
  755. package/_shims/auto/types-node.js.map +0 -1
  756. package/_shims/auto/types-node.mjs +0 -2
  757. package/_shims/auto/types-node.mjs.map +0 -1
  758. package/_shims/auto/types.d.ts +0 -101
  759. package/_shims/auto/types.js +0 -3
  760. package/_shims/auto/types.mjs +0 -3
  761. package/_shims/bun-runtime.d.ts +0 -6
  762. package/_shims/bun-runtime.d.ts.map +0 -1
  763. package/_shims/bun-runtime.js +0 -14
  764. package/_shims/bun-runtime.js.map +0 -1
  765. package/_shims/bun-runtime.mjs +0 -10
  766. package/_shims/bun-runtime.mjs.map +0 -1
  767. package/_shims/index.d.ts +0 -83
  768. package/_shims/index.js +0 -17
  769. package/_shims/index.mjs +0 -11
  770. package/_shims/manual-types.d.ts +0 -12
  771. package/_shims/manual-types.js +0 -3
  772. package/_shims/manual-types.mjs +0 -3
  773. package/_shims/node-runtime.d.ts +0 -3
  774. package/_shims/node-runtime.d.ts.map +0 -1
  775. package/_shims/node-runtime.js +0 -89
  776. package/_shims/node-runtime.js.map +0 -1
  777. package/_shims/node-runtime.mjs +0 -56
  778. package/_shims/node-runtime.mjs.map +0 -1
  779. package/_shims/node-types.d.ts +0 -42
  780. package/_shims/node-types.js +0 -3
  781. package/_shims/node-types.mjs +0 -3
  782. package/_shims/registry.d.ts +0 -37
  783. package/_shims/registry.d.ts.map +0 -1
  784. package/_shims/registry.js +0 -41
  785. package/_shims/registry.js.map +0 -1
  786. package/_shims/registry.mjs +0 -37
  787. package/_shims/registry.mjs.map +0 -1
  788. package/_shims/web-runtime.d.ts +0 -5
  789. package/_shims/web-runtime.d.ts.map +0 -1
  790. package/_shims/web-runtime.js +0 -78
  791. package/_shims/web-runtime.js.map +0 -1
  792. package/_shims/web-runtime.mjs +0 -71
  793. package/_shims/web-runtime.mjs.map +0 -1
  794. package/_shims/web-types.d.ts +0 -83
  795. package/_shims/web-types.js +0 -3
  796. package/_shims/web-types.mjs +0 -3
  797. package/core.d.ts +0 -241
  798. package/core.d.ts.map +0 -1
  799. package/core.js +0 -917
  800. package/core.js.map +0 -1
  801. package/core.mjs +0 -885
  802. package/core.mjs.map +0 -1
  803. package/resources/loyalty/rule-chains.d.ts +0 -34
  804. package/resources/loyalty/rule-chains.d.ts.map +0 -1
  805. package/resources/loyalty/rule-chains.js +0 -15
  806. package/resources/loyalty/rule-chains.js.map +0 -1
  807. package/resources/loyalty/rule-chains.mjs +0 -11
  808. package/resources/loyalty/rule-chains.mjs.map +0 -1
  809. package/shims/node.d.ts +0 -30
  810. package/shims/node.d.ts.map +0 -1
  811. package/shims/node.js +0 -31
  812. package/shims/node.js.map +0 -1
  813. package/shims/node.mjs +0 -5
  814. package/shims/node.mjs.map +0 -1
  815. package/shims/web.d.ts +0 -26
  816. package/shims/web.d.ts.map +0 -1
  817. package/shims/web.js +0 -31
  818. package/shims/web.js.map +0 -1
  819. package/shims/web.mjs +0 -5
  820. package/shims/web.mjs.map +0 -1
  821. package/src/_shims/MultipartBody.ts +0 -9
  822. package/src/_shims/README.md +0 -46
  823. package/src/_shims/auto/runtime-bun.ts +0 -4
  824. package/src/_shims/auto/runtime-node.ts +0 -4
  825. package/src/_shims/auto/runtime.ts +0 -4
  826. package/src/_shims/auto/types-node.ts +0 -4
  827. package/src/_shims/auto/types.d.ts +0 -101
  828. package/src/_shims/auto/types.js +0 -3
  829. package/src/_shims/auto/types.mjs +0 -3
  830. package/src/_shims/bun-runtime.ts +0 -14
  831. package/src/_shims/index.d.ts +0 -83
  832. package/src/_shims/index.js +0 -17
  833. package/src/_shims/index.mjs +0 -11
  834. package/src/_shims/manual-types.d.ts +0 -12
  835. package/src/_shims/manual-types.js +0 -3
  836. package/src/_shims/manual-types.mjs +0 -3
  837. package/src/_shims/node-runtime.ts +0 -81
  838. package/src/_shims/node-types.d.ts +0 -42
  839. package/src/_shims/node-types.js +0 -3
  840. package/src/_shims/node-types.mjs +0 -3
  841. package/src/_shims/registry.ts +0 -67
  842. package/src/_shims/web-runtime.ts +0 -103
  843. package/src/_shims/web-types.d.ts +0 -83
  844. package/src/_shims/web-types.js +0 -3
  845. package/src/_shims/web-types.mjs +0 -3
  846. package/src/core.ts +0 -1214
  847. package/src/resources/loyalty/rule-chains.ts +0 -45
  848. package/src/shims/node.ts +0 -50
  849. package/src/shims/web.ts +0 -50
package/CHANGELOG.md CHANGED
@@ -1,279 +1,30 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0-alpha.23 (2025-04-03)
3
+ ## 0.1.0-alpha.230 (2026-02-10)
4
4
 
5
- Full Changelog: [v0.1.0-alpha.22...v0.1.0-alpha.23](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.22...v0.1.0-alpha.23)
5
+ Full Changelog: [v0.1.0-alpha.229...v0.1.0-alpha.230](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.229...v0.1.0-alpha.230)
6
6
 
7
7
  ### Features
8
8
 
9
- * **api:** manual updates ([#216](https://github.com/Snag-Solutions/node-sdk/issues/216)) ([94d3a3a](https://github.com/Snag-Solutions/node-sdk/commit/94d3a3acc7ec166540165e54a8b00237c5b60101))
9
+ * **api:** open api update ([809b17b](https://github.com/Snag-Solutions/node-sdk/commit/809b17b7d61858a813dc805d0ce291d06770f0e4))
10
10
 
11
- ## 0.1.0-alpha.22 (2025-03-31)
12
-
13
- Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.21...v0.1.0-alpha.22)
14
-
15
- ### Features
16
-
17
- * **api:** open api update ([#213](https://github.com/Snag-Solutions/node-sdk/issues/213)) ([ed35297](https://github.com/Snag-Solutions/node-sdk/commit/ed35297b80161f0884ec9774a748325f40f9ad88))
18
-
19
- ## 0.1.0-alpha.21 (2025-03-28)
20
-
21
- Full Changelog: [v0.1.0-alpha.20...v0.1.0-alpha.21](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.20...v0.1.0-alpha.21)
22
-
23
- ### Features
24
-
25
- * **api:** open api update ([#210](https://github.com/Snag-Solutions/node-sdk/issues/210)) ([396b332](https://github.com/Snag-Solutions/node-sdk/commit/396b3323774f3625f9dfdc86761bd50b2ea56dd8))
26
-
27
- ## 0.1.0-alpha.20 (2025-03-28)
28
-
29
- Full Changelog: [v0.1.0-alpha.19...v0.1.0-alpha.20](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.19...v0.1.0-alpha.20)
30
-
31
- ### Features
32
-
33
- * **api:** api update ([#207](https://github.com/Snag-Solutions/node-sdk/issues/207)) ([25209ea](https://github.com/Snag-Solutions/node-sdk/commit/25209eadb7b79756365fba81ca578f7e2ec06ba6))
34
-
35
- ## 0.1.0-alpha.19 (2025-03-28)
36
-
37
- Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
38
-
39
- ### Features
40
-
41
- * **api:** open api update ([#204](https://github.com/Snag-Solutions/node-sdk/issues/204)) ([a03b88d](https://github.com/Snag-Solutions/node-sdk/commit/a03b88d62767a9fcd90061dc122246471578429e))
42
-
43
- ## 0.1.0-alpha.18 (2025-03-28)
44
-
45
- Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
46
-
47
- ### Features
48
-
49
- * **api:** manual updates ([#201](https://github.com/Snag-Solutions/node-sdk/issues/201)) ([98ffe0b](https://github.com/Snag-Solutions/node-sdk/commit/98ffe0b626323e2c0e00d2b938c4de526faee19f))
50
-
51
- ## 0.1.0-alpha.17 (2025-03-28)
52
-
53
- Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
54
-
55
- ### Features
56
-
57
- * **api:** manual updates ([#198](https://github.com/Snag-Solutions/node-sdk/issues/198)) ([e7112eb](https://github.com/Snag-Solutions/node-sdk/commit/e7112eb20f9999bdf4513511ef8da16c7101328f))
58
-
59
- ## 0.1.0-alpha.16 (2025-03-28)
60
-
61
- Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)
62
-
63
- ### Features
64
-
65
- * **api:** manual updates ([#195](https://github.com/Snag-Solutions/node-sdk/issues/195)) ([312da2e](https://github.com/Snag-Solutions/node-sdk/commit/312da2e5e60c388d1a5051fe7557fec9fd326b3d))
66
-
67
- ## 0.1.0-alpha.15 (2025-03-28)
68
-
69
- Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
70
-
71
- ### Features
72
-
73
- * **api:** api update ([9db71a8](https://github.com/Snag-Solutions/node-sdk/commit/9db71a8a336cad149a6dee626aab19542bb4c269))
74
- * **api:** manual updates ([2fc7269](https://github.com/Snag-Solutions/node-sdk/commit/2fc7269c5b2e9b0bd92daef6674bcc69df5146da))
75
- * **api:** manual updates ([0762ae6](https://github.com/Snag-Solutions/node-sdk/commit/0762ae6de81aec708b7f52f4ffabaa0402f8bb9e))
76
- * **api:** manual updates ([#184](https://github.com/Snag-Solutions/node-sdk/issues/184)) ([17322ff](https://github.com/Snag-Solutions/node-sdk/commit/17322ff407b4be58a3480caa09ebf4003ceb4c82))
77
- * **api:** manual updates ([#186](https://github.com/Snag-Solutions/node-sdk/issues/186)) ([15df7ea](https://github.com/Snag-Solutions/node-sdk/commit/15df7ea7963f1b3055a0b2cabd9ca05f6bbcd3a0))
78
- * **api:** manual updates ([#187](https://github.com/Snag-Solutions/node-sdk/issues/187)) ([885252c](https://github.com/Snag-Solutions/node-sdk/commit/885252c933cbbc3c6252b7732c79ffc9988ecc40))
79
- * **api:** manual updates ([#188](https://github.com/Snag-Solutions/node-sdk/issues/188)) ([f1876d2](https://github.com/Snag-Solutions/node-sdk/commit/f1876d20a25c454f66a6b2995dcadd50b69e18f3))
80
- * **api:** manual updates ([#189](https://github.com/Snag-Solutions/node-sdk/issues/189)) ([136e91b](https://github.com/Snag-Solutions/node-sdk/commit/136e91be906bcc4db9ffe56d8a9829e12c0bdfdd))
81
- * **api:** manual updates ([#191](https://github.com/Snag-Solutions/node-sdk/issues/191)) ([1e38dd4](https://github.com/Snag-Solutions/node-sdk/commit/1e38dd4bf56fed4acc2b7af1f962ee2e5e90281d))
82
- * **api:** open api update ([3cedd3a](https://github.com/Snag-Solutions/node-sdk/commit/3cedd3aad63131914204154fd95d73e988dce3ea))
83
- * **api:** open api update ([#190](https://github.com/Snag-Solutions/node-sdk/issues/190)) ([dfa1302](https://github.com/Snag-Solutions/node-sdk/commit/dfa13021f8f81105d5fdcb477b83f48b2c9cc0d0))
84
-
85
-
86
- ### Chores
87
-
88
- * go live ([#182](https://github.com/Snag-Solutions/node-sdk/issues/182)) ([12b2834](https://github.com/Snag-Solutions/node-sdk/commit/12b2834a5b6d8083b826b34f62b397c99efc4edd))
89
- * sync repo ([4dbe8ed](https://github.com/Snag-Solutions/node-sdk/commit/4dbe8edf05d35b926b97ac54543544e23d0bf0c4))
90
- * update SDK settings ([#183](https://github.com/Snag-Solutions/node-sdk/issues/183)) ([7241769](https://github.com/Snag-Solutions/node-sdk/commit/7241769a40ae875b5ea525935ec8bbcd58677a0b))
91
-
92
- ## 0.1.0-alpha.14 (2025-03-04)
93
-
94
- Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
95
-
96
- ### Features
97
-
98
- * **api:** api update ([#113](https://github.com/Snag-Solutions/node-sdk/issues/113)) ([7b22f6d](https://github.com/Snag-Solutions/node-sdk/commit/7b22f6dc19c2790059df91275b9f005f75e585eb))
99
- * **api:** api update ([#116](https://github.com/Snag-Solutions/node-sdk/issues/116)) ([49d5ec1](https://github.com/Snag-Solutions/node-sdk/commit/49d5ec13a70f3d7167fd24a2103f5f1d5ef82fe0))
100
- * **api:** api update ([#119](https://github.com/Snag-Solutions/node-sdk/issues/119)) ([352c998](https://github.com/Snag-Solutions/node-sdk/commit/352c998a44006a4b441e30249995f824df992f54))
101
- * **api:** api update ([#122](https://github.com/Snag-Solutions/node-sdk/issues/122)) ([40d7797](https://github.com/Snag-Solutions/node-sdk/commit/40d77976bad778ae3f9dda115c117df5c2b0fcf8))
102
- * **api:** api update ([#123](https://github.com/Snag-Solutions/node-sdk/issues/123)) ([b165255](https://github.com/Snag-Solutions/node-sdk/commit/b1652556767548121e2b9a6866eb67e5a5092a2e))
103
- * **api:** api update ([#125](https://github.com/Snag-Solutions/node-sdk/issues/125)) ([1ecfaba](https://github.com/Snag-Solutions/node-sdk/commit/1ecfaba5c59f9427703478d9634d40421fa4778a))
104
- * **api:** api update ([#126](https://github.com/Snag-Solutions/node-sdk/issues/126)) ([2d91502](https://github.com/Snag-Solutions/node-sdk/commit/2d915022abc2316684b2b4b808c703b6946ec4c1))
105
- * **api:** api update ([#130](https://github.com/Snag-Solutions/node-sdk/issues/130)) ([b83eef2](https://github.com/Snag-Solutions/node-sdk/commit/b83eef21a458c3e244f09abe6f9e37b3f8046f88))
106
- * **api:** api update ([#131](https://github.com/Snag-Solutions/node-sdk/issues/131)) ([27924b3](https://github.com/Snag-Solutions/node-sdk/commit/27924b3a164f93ff03ea10e4d01fd1482bd96878))
107
- * **api:** api update ([#134](https://github.com/Snag-Solutions/node-sdk/issues/134)) ([95cb142](https://github.com/Snag-Solutions/node-sdk/commit/95cb142031f21744873bc16c5c96203c7a45d688))
108
- * **api:** manual updates ([#136](https://github.com/Snag-Solutions/node-sdk/issues/136)) ([e216c85](https://github.com/Snag-Solutions/node-sdk/commit/e216c85b407adaa055baf44bc144bad49eacae92))
109
- * **api:** open api update ([#112](https://github.com/Snag-Solutions/node-sdk/issues/112)) ([b54d088](https://github.com/Snag-Solutions/node-sdk/commit/b54d08880fd075ae7c1c3e4b46998159a1353d74))
110
- * **api:** open api update ([#114](https://github.com/Snag-Solutions/node-sdk/issues/114)) ([1e5919a](https://github.com/Snag-Solutions/node-sdk/commit/1e5919af64bdcfa8693b923bf5d0c508e46f0511))
111
- * **api:** open api update ([#115](https://github.com/Snag-Solutions/node-sdk/issues/115)) ([15058b1](https://github.com/Snag-Solutions/node-sdk/commit/15058b1dba2109a3389977ac6b300b9d24ec566f))
112
- * **api:** open api update ([#117](https://github.com/Snag-Solutions/node-sdk/issues/117)) ([39d1db6](https://github.com/Snag-Solutions/node-sdk/commit/39d1db673d4e7e2233fe573e6fdadeb57efa807d))
113
- * **api:** open api update ([#118](https://github.com/Snag-Solutions/node-sdk/issues/118)) ([45d4b4b](https://github.com/Snag-Solutions/node-sdk/commit/45d4b4b7d9f995929fd948e94ed5075429a98f14))
114
- * **api:** open api update ([#120](https://github.com/Snag-Solutions/node-sdk/issues/120)) ([be69e9f](https://github.com/Snag-Solutions/node-sdk/commit/be69e9f39785eebf584ed20df63d3c5920d12646))
115
- * **api:** open api update ([#121](https://github.com/Snag-Solutions/node-sdk/issues/121)) ([2a4d94b](https://github.com/Snag-Solutions/node-sdk/commit/2a4d94bb0ca881f72668e470b9c45e5ae7e61d8c))
116
- * **api:** open api update ([#124](https://github.com/Snag-Solutions/node-sdk/issues/124)) ([e733b06](https://github.com/Snag-Solutions/node-sdk/commit/e733b06b96d397655843d7bbf020a28d0527daea))
117
- * **api:** open api update ([#128](https://github.com/Snag-Solutions/node-sdk/issues/128)) ([f77dcfb](https://github.com/Snag-Solutions/node-sdk/commit/f77dcfb820b65dd4095e88a5c7e4476ee9ee22b2))
118
- * **api:** open api update ([#129](https://github.com/Snag-Solutions/node-sdk/issues/129)) ([8940ee9](https://github.com/Snag-Solutions/node-sdk/commit/8940ee9041a17c096b0306cea509e1b5dcef6c7a))
119
- * **api:** open api update ([#133](https://github.com/Snag-Solutions/node-sdk/issues/133)) ([bc17b3f](https://github.com/Snag-Solutions/node-sdk/commit/bc17b3fa6ceaf2924b03e7e9b1f1f2462d471327))
120
- * **api:** open api update ([#135](https://github.com/Snag-Solutions/node-sdk/issues/135)) ([41a93d9](https://github.com/Snag-Solutions/node-sdk/commit/41a93d941dba7d40502c1ef28daa387965e0896c))
121
-
122
-
123
- ### Chores
124
-
125
- * **internal:** fix devcontainers setup ([#127](https://github.com/Snag-Solutions/node-sdk/issues/127)) ([05365bd](https://github.com/Snag-Solutions/node-sdk/commit/05365bd6d319a82b01396c9dd6a5098ccb60432d))
126
-
127
-
128
- ### Documentation
129
-
130
- * update URLs from stainlessapi.com to stainless.com ([#132](https://github.com/Snag-Solutions/node-sdk/issues/132)) ([4f8844e](https://github.com/Snag-Solutions/node-sdk/commit/4f8844ea2ec5b0bc5dfe129a6ce6e5d50909c026))
131
-
132
- ## 0.1.0-alpha.13 (2025-01-19)
133
-
134
- Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
135
-
136
- ### Features
137
-
138
- * **api:** open api update ([#77](https://github.com/Snag-Solutions/node-sdk/issues/77)) ([a1a3ffe](https://github.com/Snag-Solutions/node-sdk/commit/a1a3ffe3ef9195d55e153e45aab9642922f46f5e))
139
-
140
- ## 0.1.0-alpha.12 (2025-01-19)
141
-
142
- Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
143
-
144
- ### Features
145
-
146
- * **api:** open api update ([#74](https://github.com/Snag-Solutions/node-sdk/issues/74)) ([d663764](https://github.com/Snag-Solutions/node-sdk/commit/d6637641448a98a54fdaefbcf24dff9f070d8c55))
147
-
148
- ## 0.1.0-alpha.11 (2025-01-19)
149
-
150
- Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
151
-
152
- ### Chores
153
-
154
- * update SDK settings ([#69](https://github.com/Snag-Solutions/node-sdk/issues/69)) ([5558d09](https://github.com/Snag-Solutions/node-sdk/commit/5558d09c342935eb2dafa1821349b4c2088768c9))
155
- * update SDK settings ([#71](https://github.com/Snag-Solutions/node-sdk/issues/71)) ([f13dc92](https://github.com/Snag-Solutions/node-sdk/commit/f13dc9266757e82b1398cc4ebd0a4c01b0b8269d))
156
-
157
- ## 0.1.0-alpha.10 (2025-01-19)
158
-
159
- Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
160
-
161
- ### Features
162
-
163
- * **api:** manual updates ([#64](https://github.com/Snag-Solutions/node-sdk/issues/64)) ([2c0c72d](https://github.com/Snag-Solutions/node-sdk/commit/2c0c72dee71d170cdb81f33ef4c4eb6c16aef78d))
11
+ ## 0.1.0-alpha.229 (2026-02-09)
164
12
 
13
+ Full Changelog: [v0.1.0-alpha.228...v0.1.0-alpha.229](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.228...v0.1.0-alpha.229)
165
14
 
166
15
  ### Chores
167
16
 
168
- * update SDK settings ([#66](https://github.com/Snag-Solutions/node-sdk/issues/66)) ([34d4ebd](https://github.com/Snag-Solutions/node-sdk/commit/34d4ebda5118997bbce33c2869a11356b07a1d51))
169
-
170
- ## 0.1.0-alpha.9 (2025-01-19)
171
-
172
- Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
173
-
174
- ### Features
175
-
176
- * **api:** api update ([#42](https://github.com/Snag-Solutions/node-sdk/issues/42)) ([b0021f7](https://github.com/Snag-Solutions/node-sdk/commit/b0021f77372bdb6c401836f6d8f91cf46e94b43a))
177
- * **api:** api update ([#43](https://github.com/Snag-Solutions/node-sdk/issues/43)) ([d772569](https://github.com/Snag-Solutions/node-sdk/commit/d77256957b5441ca8878ff871bf331c5a301daf1))
178
- * **api:** api update ([#44](https://github.com/Snag-Solutions/node-sdk/issues/44)) ([5f8c1af](https://github.com/Snag-Solutions/node-sdk/commit/5f8c1af21d44360eacede294efedba2749a6f628))
179
- * **api:** api update ([#51](https://github.com/Snag-Solutions/node-sdk/issues/51)) ([c87475e](https://github.com/Snag-Solutions/node-sdk/commit/c87475e7497c1da9281cfb2eeb151c79e0d50cbe))
180
- * **api:** api update ([#57](https://github.com/Snag-Solutions/node-sdk/issues/57)) ([4e9eba0](https://github.com/Snag-Solutions/node-sdk/commit/4e9eba027a7eabfb59ddc76890248ce3ded772e6))
181
- * **api:** api update ([#58](https://github.com/Snag-Solutions/node-sdk/issues/58)) ([1cf1d9a](https://github.com/Snag-Solutions/node-sdk/commit/1cf1d9ac7f86c59c57538640e4738ba83fcf2bfd))
182
- * **api:** open api update ([#50](https://github.com/Snag-Solutions/node-sdk/issues/50)) ([048be25](https://github.com/Snag-Solutions/node-sdk/commit/048be2501cf994253d36866b246670d01f7ef498))
183
- * **api:** open api update ([#52](https://github.com/Snag-Solutions/node-sdk/issues/52)) ([6502084](https://github.com/Snag-Solutions/node-sdk/commit/6502084a0297431c2014c7c0d1eefafbe78d890b))
184
- * **api:** open api update ([#54](https://github.com/Snag-Solutions/node-sdk/issues/54)) ([e6a4548](https://github.com/Snag-Solutions/node-sdk/commit/e6a4548754a6b4a6da6517bdf8151197f77e3c19))
185
- * **api:** open api update ([#55](https://github.com/Snag-Solutions/node-sdk/issues/55)) ([3483621](https://github.com/Snag-Solutions/node-sdk/commit/3483621ad5e35def2e10c24efcc342307b9798f9))
186
- * **api:** open api update ([#56](https://github.com/Snag-Solutions/node-sdk/issues/56)) ([0015403](https://github.com/Snag-Solutions/node-sdk/commit/001540368909a3e6de6ce184f6429b6301c09c1b))
187
- * **api:** open api update ([#60](https://github.com/Snag-Solutions/node-sdk/issues/60)) ([d37c04c](https://github.com/Snag-Solutions/node-sdk/commit/d37c04ce76de779286620f25d04d3e0fa210c2bb))
188
- * **api:** open api update ([#61](https://github.com/Snag-Solutions/node-sdk/issues/61)) ([7be2c09](https://github.com/Snag-Solutions/node-sdk/commit/7be2c09e28bf47e47092e4c850fe660487fac97a))
189
-
190
-
191
- ### Chores
192
-
193
- * **internal:** codegen related update ([#46](https://github.com/Snag-Solutions/node-sdk/issues/46)) ([6b97e9f](https://github.com/Snag-Solutions/node-sdk/commit/6b97e9fa2b3f40e8143c38edf2fd5bae1f15990d))
194
- * **internal:** codegen related update ([#48](https://github.com/Snag-Solutions/node-sdk/issues/48)) ([7be5577](https://github.com/Snag-Solutions/node-sdk/commit/7be5577a10139def97777fe3fc9183b16d2150a0))
195
- * **internal:** codegen related update ([#59](https://github.com/Snag-Solutions/node-sdk/issues/59)) ([78785ea](https://github.com/Snag-Solutions/node-sdk/commit/78785ea055d6d49313a79cd204174e1d039ddf7d))
196
- * **internal:** codegen related update ([#62](https://github.com/Snag-Solutions/node-sdk/issues/62)) ([78e6c12](https://github.com/Snag-Solutions/node-sdk/commit/78e6c12c11eeda88894bd87a79e8332a54d18ab8))
197
- * **internal:** fix some typos ([#45](https://github.com/Snag-Solutions/node-sdk/issues/45)) ([0f0d61a](https://github.com/Snag-Solutions/node-sdk/commit/0f0d61af3d255360727f9681ea48f5eaa1a47193))
198
- * **internal:** fix some typos ([#47](https://github.com/Snag-Solutions/node-sdk/issues/47)) ([47dc89e](https://github.com/Snag-Solutions/node-sdk/commit/47dc89e909ac05b5ce0e6eb8016b9b1049072889))
199
- * **internal:** fix some typos ([#49](https://github.com/Snag-Solutions/node-sdk/issues/49)) ([1e0446a](https://github.com/Snag-Solutions/node-sdk/commit/1e0446a04c2ed791e7bfb00943e4ac80d6cd6923))
200
- * **internal:** update isAbsoluteURL ([#41](https://github.com/Snag-Solutions/node-sdk/issues/41)) ([df5ec7b](https://github.com/Snag-Solutions/node-sdk/commit/df5ec7bf4980e406e1392f99ba18c1fb7fcc00f5))
201
-
202
-
203
- ### Documentation
204
-
205
- * minor formatting changes ([#53](https://github.com/Snag-Solutions/node-sdk/issues/53)) ([62eb4c8](https://github.com/Snag-Solutions/node-sdk/commit/62eb4c8e6c0a73b41bd111f0e1677f92b93c3236))
206
-
207
- ## 0.1.0-alpha.8 (2024-11-23)
208
-
209
- Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
210
-
211
- ### Features
212
-
213
- * **api:** api update ([#26](https://github.com/Snag-Solutions/node-sdk/issues/26)) ([c441b0f](https://github.com/Snag-Solutions/node-sdk/commit/c441b0f481a94634e5ed71f7781400ef9660cdd1))
214
-
215
- ## 0.1.0-alpha.7 (2024-11-23)
216
-
217
- Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
218
-
219
- ### Features
220
-
221
- * **api:** api update ([#22](https://github.com/Snag-Solutions/node-sdk/issues/22)) ([94c9533](https://github.com/Snag-Solutions/node-sdk/commit/94c95332c7650bb2b1e8b2fd011ebf39cbdca231))
222
- * **api:** manual updates ([#24](https://github.com/Snag-Solutions/node-sdk/issues/24)) ([633af8d](https://github.com/Snag-Solutions/node-sdk/commit/633af8d21132d89b01159066c4eecffbf323b697))
223
-
224
- ## 0.1.0-alpha.6 (2024-11-22)
225
-
226
- Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
227
-
228
- ### Features
229
-
230
- * **api:** api update ([#20](https://github.com/Snag-Solutions/node-sdk/issues/20)) ([59e9c60](https://github.com/Snag-Solutions/node-sdk/commit/59e9c6025caccfba9dde465af795beff514a9dbd))
231
- * **api:** manual updates ([#17](https://github.com/Snag-Solutions/node-sdk/issues/17)) ([cf16f38](https://github.com/Snag-Solutions/node-sdk/commit/cf16f38e8ef707c5a7770b54c0d7d0d051882077))
232
-
233
- ## 0.1.0-alpha.5 (2024-11-22)
234
-
235
- Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
236
-
237
- ### Features
238
-
239
- * **api:** api update ([#13](https://github.com/Snag-Solutions/node-sdk/issues/13)) ([b691782](https://github.com/Snag-Solutions/node-sdk/commit/b69178269f9d182d2ea7105f8b1024a0c3880134))
240
- * **api:** api update ([#15](https://github.com/Snag-Solutions/node-sdk/issues/15)) ([ec14b9d](https://github.com/Snag-Solutions/node-sdk/commit/ec14b9d0964f8beceda60a09fd2c9c2cfffd17da))
241
- * **api:** api update ([#16](https://github.com/Snag-Solutions/node-sdk/issues/16)) ([3123dc6](https://github.com/Snag-Solutions/node-sdk/commit/3123dc6e29d239580f6d3a800801f9ad50dbabc5))
242
-
243
- ## 0.1.0-alpha.4 (2024-11-22)
244
-
245
- Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
246
-
247
- ### Features
248
-
249
- * **api:** manual updates ([#10](https://github.com/Snag-Solutions/node-sdk/issues/10)) ([5ff680b](https://github.com/Snag-Solutions/node-sdk/commit/5ff680b93da06a8f6c5c1b0fce4927e844e38d4e))
250
-
251
- ## 0.1.0-alpha.3 (2024-11-22)
252
-
253
- Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
254
-
255
- ### Chores
256
-
257
- * update SDK settings ([#7](https://github.com/Snag-Solutions/node-sdk/issues/7)) ([04be237](https://github.com/Snag-Solutions/node-sdk/commit/04be23720196035f4dfe147fd0a7fd92385438f2))
258
-
259
- ## 0.1.0-alpha.2 (2024-11-22)
260
-
261
- Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
262
-
263
- ### Features
264
-
265
- * **api:** api update ([#4](https://github.com/Snag-Solutions/node-sdk/issues/4)) ([496a04f](https://github.com/Snag-Solutions/node-sdk/commit/496a04fa714d9a9f474504b8b95e217c40c60b50))
17
+ * update SDK settings ([93c1400](https://github.com/Snag-Solutions/node-sdk/commit/93c1400a6f17d633f02fc6064107f5f7d1e193ec))
266
18
 
267
- ## 0.1.0-alpha.1 (2024-11-22)
19
+ ## 0.1.0-alpha.228 (2026-02-09)
268
20
 
269
- Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/Snag-Solutions/node-sdk/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
21
+ Full Changelog: [v0.1.0-alpha.227...v0.1.0-alpha.228](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.227...v0.1.0-alpha.228)
270
22
 
271
23
  ### Features
272
24
 
273
- * **api:** update via SDK Studio ([4991e20](https://github.com/Snag-Solutions/node-sdk/commit/4991e2054da3f1ad359b37c1f95bb80e727436bf))
25
+ * **api:** manual updates ([96c1460](https://github.com/Snag-Solutions/node-sdk/commit/96c14601067bd1e9ca0bb6fd7141e1f3671324d3))
274
26
 
275
27
 
276
28
  ### Chores
277
29
 
278
- * go live ([#1](https://github.com/Snag-Solutions/node-sdk/issues/1)) ([724c133](https://github.com/Snag-Solutions/node-sdk/commit/724c133a7a29aa2a1c0ef41f1c91cbdc8effae41))
279
- * update SDK settings ([cb45f83](https://github.com/Snag-Solutions/node-sdk/commit/cb45f83f653ab83ecf062e3bead73f7335bfd0ac))
30
+ * sync repo ([ff6444b](https://github.com/Snag-Solutions/node-sdk/commit/ff6444b274115c37b467dbf653428ace3a179a48))
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2025 Snag Solutions
189
+ Copyright 2026 Snag Solutions
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Snag Solutions Node API Library
1
+ # Snag Solutions TypeScript API Library
2
2
 
3
- [![NPM version](https://img.shields.io/npm/v/@snagsolutions/sdk.svg)](https://npmjs.org/package/@snagsolutions/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@snagsolutions/sdk)
3
+ [![NPM version](<https://img.shields.io/npm/v/@snagsolutions/sdk.svg?label=npm%20(stable)>)](https://npmjs.org/package/@snagsolutions/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@snagsolutions/sdk)
4
4
 
5
5
  This library provides convenient access to the Snag Solutions REST API from server-side TypeScript or JavaScript.
6
6
 
@@ -26,13 +26,9 @@ const client = new SnagSolutions({
26
26
  apiKey: process.env['X_API_KEY'], // This is the default and can be omitted
27
27
  });
28
28
 
29
- async function main() {
30
- const response = await client.assets.createAsset({ fileName: 'REPLACE_ME' });
29
+ const response = await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 });
31
30
 
32
- console.log(response.signedUrl);
33
- }
34
-
35
- main();
31
+ console.log(response.signedUrl);
36
32
  ```
37
33
 
38
34
  ### Request & Response types
@@ -47,12 +43,8 @@ const client = new SnagSolutions({
47
43
  apiKey: process.env['X_API_KEY'], // This is the default and can be omitted
48
44
  });
49
45
 
50
- async function main() {
51
- const params: SnagSolutions.AssetCreateAssetParams = { fileName: 'REPLACE_ME' };
52
- const response: SnagSolutions.AssetCreateAssetResponse = await client.assets.createAsset(params);
53
- }
54
-
55
- main();
46
+ const params: SnagSolutions.AssetCreateAssetParams = { fileName: 'REPLACE_ME', fileSize: 1024 };
47
+ const response: SnagSolutions.AssetCreateAssetResponse = await client.assets.createAsset(params);
56
48
  ```
57
49
 
58
50
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -65,8 +57,9 @@ a subclass of `APIError` will be thrown:
65
57
 
66
58
  <!-- prettier-ignore -->
67
59
  ```ts
68
- async function main() {
69
- const response = await client.assets.createAsset({ fileName: 'REPLACE_ME' }).catch(async (err) => {
60
+ const response = await client.assets
61
+ .createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
62
+ .catch(async (err) => {
70
63
  if (err instanceof SnagSolutions.APIError) {
71
64
  console.log(err.status); // 400
72
65
  console.log(err.name); // BadRequestError
@@ -75,12 +68,9 @@ async function main() {
75
68
  throw err;
76
69
  }
77
70
  });
78
- }
79
-
80
- main();
81
71
  ```
82
72
 
83
- Error codes are as followed:
73
+ Error codes are as follows:
84
74
 
85
75
  | Status Code | Error Type |
86
76
  | ----------- | -------------------------- |
@@ -109,7 +99,7 @@ const client = new SnagSolutions({
109
99
  });
110
100
 
111
101
  // Or, configure per-request:
112
- await client.assets.createAsset({ fileName: 'REPLACE_ME' }, {
102
+ await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 }, {
113
103
  maxRetries: 5,
114
104
  });
115
105
  ```
@@ -126,7 +116,7 @@ const client = new SnagSolutions({
126
116
  });
127
117
 
128
118
  // Override per-request:
129
- await client.assets.createAsset({ fileName: 'REPLACE_ME' }, {
119
+ await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 }, {
130
120
  timeout: 5 * 1000,
131
121
  });
132
122
  ```
@@ -140,24 +130,81 @@ Note that requests which time out will be [retried twice by default](#retries).
140
130
  ### Accessing raw Response data (e.g., headers)
141
131
 
142
132
  The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
133
+ This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
143
134
 
144
135
  You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
136
+ Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
145
137
 
146
138
  <!-- prettier-ignore -->
147
139
  ```ts
148
140
  const client = new SnagSolutions();
149
141
 
150
- const response = await client.assets.createAsset({ fileName: 'REPLACE_ME' }).asResponse();
142
+ const response = await client.assets
143
+ .createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
144
+ .asResponse();
151
145
  console.log(response.headers.get('X-My-Header'));
152
146
  console.log(response.statusText); // access the underlying Response object
153
147
 
154
148
  const { data: response, response: raw } = await client.assets
155
- .createAsset({ fileName: 'REPLACE_ME' })
149
+ .createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
156
150
  .withResponse();
157
151
  console.log(raw.headers.get('X-My-Header'));
158
152
  console.log(response.signedUrl);
159
153
  ```
160
154
 
155
+ ### Logging
156
+
157
+ > [!IMPORTANT]
158
+ > All log messages are intended for debugging only. The format and content of log messages
159
+ > may change between releases.
160
+
161
+ #### Log levels
162
+
163
+ The log level can be configured in two ways:
164
+
165
+ 1. Via the `SNAG_SOLUTIONS_LOG` environment variable
166
+ 2. Using the `logLevel` client option (overrides the environment variable if set)
167
+
168
+ ```ts
169
+ import SnagSolutions from '@snagsolutions/sdk';
170
+
171
+ const client = new SnagSolutions({
172
+ logLevel: 'debug', // Show all log messages
173
+ });
174
+ ```
175
+
176
+ Available log levels, from most to least verbose:
177
+
178
+ - `'debug'` - Show debug messages, info, warnings, and errors
179
+ - `'info'` - Show info messages, warnings, and errors
180
+ - `'warn'` - Show warnings and errors (default)
181
+ - `'error'` - Show only errors
182
+ - `'off'` - Disable all logging
183
+
184
+ At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
185
+ Some authentication-related headers are redacted, but sensitive data in request and response bodies
186
+ may still be visible.
187
+
188
+ #### Custom logger
189
+
190
+ By default, this library logs to `globalThis.console`. You can also provide a custom logger.
191
+ Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
192
+
193
+ When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
194
+ below the configured level will not be sent to your logger.
195
+
196
+ ```ts
197
+ import SnagSolutions from '@snagsolutions/sdk';
198
+ import pino from 'pino';
199
+
200
+ const logger = pino();
201
+
202
+ const client = new SnagSolutions({
203
+ logger: logger.child({ name: 'SnagSolutions' }),
204
+ logLevel: 'debug', // Send all messages to pino, allowing it to filter
205
+ });
206
+ ```
207
+
161
208
  ### Making custom/undocumented requests
162
209
 
163
210
  This library is typed for convenient access to the documented API. If you need to access undocumented
@@ -182,9 +229,8 @@ parameter. This library doesn't validate at runtime that the request matches the
182
229
  send will be sent as-is.
183
230
 
184
231
  ```ts
185
- client.foo.create({
186
- foo: 'my_param',
187
- bar: 12,
232
+ client.assets.createAsset({
233
+ // ...
188
234
  // @ts-expect-error baz is not yet public
189
235
  baz: 'undocumented option',
190
236
  });
@@ -204,69 +250,85 @@ validate or strip extra properties from the response from the API.
204
250
 
205
251
  ### Customizing the fetch client
206
252
 
207
- By default, this library uses `node-fetch` in Node, and expects a global `fetch` function in other environments.
253
+ By default, this library expects a global `fetch` function is defined.
208
254
 
209
- If you would prefer to use a global, web-standards-compliant `fetch` function even in a Node environment,
210
- (for example, if you are running Node with `--experimental-fetch` or using NextJS which polyfills with `undici`),
211
- add the following import before your first import `from "SnagSolutions"`:
255
+ If you want to use a different `fetch` function, you can either polyfill the global:
212
256
 
213
257
  ```ts
214
- // Tell TypeScript and the package to use the global web fetch instead of node-fetch.
215
- // Note, despite the name, this does not add any polyfills, but expects them to be provided if needed.
216
- import '@snagsolutions/sdk/shims/web';
217
- import SnagSolutions from '@snagsolutions/sdk';
258
+ import fetch from 'my-fetch';
259
+
260
+ globalThis.fetch = fetch;
218
261
  ```
219
262
 
220
- To do the inverse, add `import "@snagsolutions/sdk/shims/node"` (which does import polyfills).
221
- This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/Snag-Solutions/node-sdk/tree/main/src/_shims#readme)).
263
+ Or pass it to the client:
264
+
265
+ ```ts
266
+ import SnagSolutions from '@snagsolutions/sdk';
267
+ import fetch from 'my-fetch';
268
+
269
+ const client = new SnagSolutions({ fetch });
270
+ ```
222
271
 
223
- ### Logging and middleware
272
+ ### Fetch options
224
273
 
225
- You may also provide a custom `fetch` function when instantiating the client,
226
- which can be used to inspect or alter the `Request` or `Response` before/after each request:
274
+ If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
227
275
 
228
276
  ```ts
229
- import { fetch } from 'undici'; // as one example
230
277
  import SnagSolutions from '@snagsolutions/sdk';
231
278
 
232
279
  const client = new SnagSolutions({
233
- fetch: async (url: RequestInfo, init?: RequestInit): Promise<Response> => {
234
- console.log('About to make a request', url, init);
235
- const response = await fetch(url, init);
236
- console.log('Got response', response);
237
- return response;
280
+ fetchOptions: {
281
+ // `RequestInit` options
238
282
  },
239
283
  });
240
284
  ```
241
285
 
242
- Note that if given a `DEBUG=true` environment variable, this library will log all requests and responses automatically.
243
- This is intended for debugging purposes only and may change in the future without notice.
286
+ #### Configuring proxies
244
287
 
245
- ### Configuring an HTTP(S) Agent (e.g., for proxies)
288
+ To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
289
+ options to requests:
246
290
 
247
- By default, this library uses a stable agent for all http/https requests to reuse TCP connections, eliminating many TCP & TLS handshakes and shaving around 100ms off most requests.
291
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
248
292
 
249
- If you would like to disable or customize this behavior, for example to use the API behind a proxy, you can pass an `httpAgent` which is used for all requests (be they http or https), for example:
293
+ ```ts
294
+ import SnagSolutions from '@snagsolutions/sdk';
295
+ import * as undici from 'undici';
296
+
297
+ const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
298
+ const client = new SnagSolutions({
299
+ fetchOptions: {
300
+ dispatcher: proxyAgent,
301
+ },
302
+ });
303
+ ```
304
+
305
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
250
306
 
251
- <!-- prettier-ignore -->
252
307
  ```ts
253
- import http from 'http';
254
- import { HttpsProxyAgent } from 'https-proxy-agent';
308
+ import SnagSolutions from '@snagsolutions/sdk';
255
309
 
256
- // Configure the default for all requests:
257
310
  const client = new SnagSolutions({
258
- httpAgent: new HttpsProxyAgent(process.env.PROXY_URL),
311
+ fetchOptions: {
312
+ proxy: 'http://localhost:8888',
313
+ },
259
314
  });
315
+ ```
260
316
 
261
- // Override per-request:
262
- await client.assets.createAsset(
263
- { fileName: 'REPLACE_ME' },
264
- {
265
- httpAgent: new http.Agent({ keepAlive: false }),
317
+ <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
318
+
319
+ ```ts
320
+ import SnagSolutions from 'npm:@snagsolutions/sdk';
321
+
322
+ const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
323
+ const client = new SnagSolutions({
324
+ fetchOptions: {
325
+ client: httpClient,
266
326
  },
267
- );
327
+ });
268
328
  ```
269
329
 
330
+ ## Frequently Asked Questions
331
+
270
332
  ## Semantic versioning
271
333
 
272
334
  This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
@@ -281,12 +343,12 @@ We are keen for your feedback; please open an [issue](https://www.github.com/Sna
281
343
 
282
344
  ## Requirements
283
345
 
284
- TypeScript >= 4.5 is supported.
346
+ TypeScript >= 4.9 is supported.
285
347
 
286
348
  The following runtimes are supported:
287
349
 
288
350
  - Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
289
- - Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
351
+ - Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
290
352
  - Deno v1.28.0 or higher.
291
353
  - Bun 1.0 or later.
292
354
  - Cloudflare Workers.
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.mjs";
2
+ //# sourceMappingURL=api-promise.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./core/api-promise.js";
2
+ //# sourceMappingURL=api-promise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
package/api-promise.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
4
+ /** @deprecated Import from ./core/api-promise instead */
5
+ tslib_1.__exportStar(require("./core/api-promise.js"), exports);
6
+ //# sourceMappingURL=api-promise.js.map