@snagsolutions/sdk 0.1.0-alpha.26 → 0.1.0-alpha.261

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 (341) hide show
  1. package/CHANGELOG.md +151 -151
  2. package/LICENSE +1 -1
  3. package/README.md +15 -23
  4. package/core.d.ts +9 -6
  5. package/core.d.ts.map +1 -1
  6. package/core.js +36 -33
  7. package/core.js.map +1 -1
  8. package/core.mjs +36 -33
  9. package/core.mjs.map +1 -1
  10. package/index.d.mts +15 -9
  11. package/index.d.ts +15 -9
  12. package/index.d.ts.map +1 -1
  13. package/index.js +13 -6
  14. package/index.js.map +1 -1
  15. package/index.mjs +14 -7
  16. package/index.mjs.map +1 -1
  17. package/internal/utils/query.d.ts +2 -0
  18. package/internal/utils/query.d.ts.map +1 -0
  19. package/internal/utils/query.js +33 -0
  20. package/internal/utils/query.js.map +1 -0
  21. package/internal/utils/query.mjs +6 -0
  22. package/internal/utils/query.mjs.map +1 -0
  23. package/package.json +4 -5
  24. package/resource.d.ts +1 -1
  25. package/resource.d.ts.map +1 -1
  26. package/resource.js.map +1 -1
  27. package/resource.mjs.map +1 -1
  28. package/resources/assets.d.ts +16 -2
  29. package/resources/assets.d.ts.map +1 -1
  30. package/resources/assets.js +8 -0
  31. package/resources/assets.js.map +1 -1
  32. package/resources/assets.mjs +8 -0
  33. package/resources/assets.mjs.map +1 -1
  34. package/resources/auctions/auctions.d.ts +341 -0
  35. package/resources/auctions/auctions.d.ts.map +1 -0
  36. package/resources/auctions/auctions.js +72 -0
  37. package/resources/auctions/auctions.js.map +1 -0
  38. package/resources/auctions/auctions.mjs +45 -0
  39. package/resources/auctions/auctions.mjs.map +1 -0
  40. package/resources/auctions/index.d.ts +3 -0
  41. package/resources/auctions/index.d.ts.map +1 -0
  42. package/resources/auctions/index.js +9 -0
  43. package/resources/auctions/index.js.map +1 -0
  44. package/resources/auctions/index.mjs +4 -0
  45. package/resources/auctions/index.mjs.map +1 -0
  46. package/resources/auctions/website-user-attributes/index.d.ts +3 -0
  47. package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
  48. package/resources/auctions/website-user-attributes/index.js +9 -0
  49. package/resources/auctions/website-user-attributes/index.js.map +1 -0
  50. package/resources/auctions/website-user-attributes/index.mjs +4 -0
  51. package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
  52. package/resources/auctions/website-user-attributes/values.d.ts +126 -0
  53. package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
  54. package/resources/auctions/website-user-attributes/values.js +49 -0
  55. package/resources/auctions/website-user-attributes/values.js.map +1 -0
  56. package/resources/auctions/website-user-attributes/values.mjs +45 -0
  57. package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
  58. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +136 -0
  59. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
  60. package/resources/auctions/website-user-attributes/website-user-attributes.js +76 -0
  61. package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
  62. package/resources/auctions/website-user-attributes/website-user-attributes.mjs +49 -0
  63. package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
  64. package/resources/auctions/website-user-attributes.d.ts +2 -0
  65. package/resources/auctions/website-user-attributes.d.ts.map +1 -0
  66. package/resources/auctions/website-user-attributes.js +19 -0
  67. package/resources/auctions/website-user-attributes.js.map +1 -0
  68. package/resources/auctions/website-user-attributes.mjs +3 -0
  69. package/resources/auctions/website-user-attributes.mjs.map +1 -0
  70. package/resources/auctions.d.ts +1 -133
  71. package/resources/auctions.d.ts.map +1 -1
  72. package/resources/auctions.js +15 -22
  73. package/resources/auctions.js.map +1 -1
  74. package/resources/auctions.mjs +1 -20
  75. package/resources/auctions.mjs.map +1 -1
  76. package/resources/auth.d.ts +66 -6
  77. package/resources/auth.d.ts.map +1 -1
  78. package/resources/auth.js +6 -0
  79. package/resources/auth.js.map +1 -1
  80. package/resources/auth.mjs +6 -0
  81. package/resources/auth.mjs.map +1 -1
  82. package/resources/index.d.ts +5 -4
  83. package/resources/index.d.ts.map +1 -1
  84. package/resources/index.js +5 -3
  85. package/resources/index.js.map +1 -1
  86. package/resources/index.mjs +4 -3
  87. package/resources/index.mjs.map +1 -1
  88. package/resources/loyalty/account-streaks.d.ts +96 -0
  89. package/resources/loyalty/account-streaks.d.ts.map +1 -0
  90. package/resources/loyalty/account-streaks.js +24 -0
  91. package/resources/loyalty/account-streaks.js.map +1 -0
  92. package/resources/loyalty/account-streaks.mjs +20 -0
  93. package/resources/loyalty/account-streaks.mjs.map +1 -0
  94. package/resources/loyalty/accounts.d.ts +60 -16
  95. package/resources/loyalty/accounts.d.ts.map +1 -1
  96. package/resources/loyalty/accounts.js +14 -0
  97. package/resources/loyalty/accounts.js.map +1 -1
  98. package/resources/loyalty/accounts.mjs +14 -0
  99. package/resources/loyalty/accounts.mjs.map +1 -1
  100. package/resources/loyalty/badges.d.ts +885 -136
  101. package/resources/loyalty/badges.d.ts.map +1 -1
  102. package/resources/loyalty/badges.js +19 -1
  103. package/resources/loyalty/badges.js.map +1 -1
  104. package/resources/loyalty/badges.mjs +19 -1
  105. package/resources/loyalty/badges.mjs.map +1 -1
  106. package/resources/loyalty/currencies.d.ts +19 -0
  107. package/resources/loyalty/currencies.d.ts.map +1 -1
  108. package/resources/loyalty/currencies.js +19 -0
  109. package/resources/loyalty/currencies.js.map +1 -1
  110. package/resources/loyalty/currencies.mjs +19 -0
  111. package/resources/loyalty/currencies.mjs.map +1 -1
  112. package/resources/loyalty/index.d.ts +3 -3
  113. package/resources/loyalty/index.d.ts.map +1 -1
  114. package/resources/loyalty/index.js +5 -5
  115. package/resources/loyalty/index.js.map +1 -1
  116. package/resources/loyalty/index.mjs +2 -2
  117. package/resources/loyalty/index.mjs.map +1 -1
  118. package/resources/loyalty/loyalty.d.ts +9 -9
  119. package/resources/loyalty/loyalty.d.ts.map +1 -1
  120. package/resources/loyalty/loyalty.js +6 -6
  121. package/resources/loyalty/loyalty.js.map +1 -1
  122. package/resources/loyalty/loyalty.mjs +6 -6
  123. package/resources/loyalty/loyalty.mjs.map +1 -1
  124. package/resources/loyalty/multipliers.d.ts +39 -2
  125. package/resources/loyalty/multipliers.d.ts.map +1 -1
  126. package/resources/loyalty/multipliers.js +23 -0
  127. package/resources/loyalty/multipliers.js.map +1 -1
  128. package/resources/loyalty/multipliers.mjs +23 -0
  129. package/resources/loyalty/multipliers.mjs.map +1 -1
  130. package/resources/loyalty/questions-responses.d.ts +55 -4
  131. package/resources/loyalty/questions-responses.d.ts.map +1 -1
  132. package/resources/loyalty/questions-responses.js +9 -0
  133. package/resources/loyalty/questions-responses.js.map +1 -1
  134. package/resources/loyalty/questions-responses.mjs +9 -0
  135. package/resources/loyalty/questions-responses.mjs.map +1 -1
  136. package/resources/loyalty/questions.d.ts +60 -6
  137. package/resources/loyalty/questions.d.ts.map +1 -1
  138. package/resources/loyalty/questions.js +39 -0
  139. package/resources/loyalty/questions.js.map +1 -1
  140. package/resources/loyalty/questions.mjs +39 -0
  141. package/resources/loyalty/questions.mjs.map +1 -1
  142. package/resources/loyalty/rule-edits.d.ts +2898 -8
  143. package/resources/loyalty/rule-edits.d.ts.map +1 -1
  144. package/resources/loyalty/rule-edits.js +14 -0
  145. package/resources/loyalty/rule-edits.js.map +1 -1
  146. package/resources/loyalty/rule-edits.mjs +14 -0
  147. package/resources/loyalty/rule-edits.mjs.map +1 -1
  148. package/resources/loyalty/rule-groups.d.ts +284 -56
  149. package/resources/loyalty/rule-groups.d.ts.map +1 -1
  150. package/resources/loyalty/rule-groups.js +18 -0
  151. package/resources/loyalty/rule-groups.js.map +1 -1
  152. package/resources/loyalty/rule-groups.mjs +18 -0
  153. package/resources/loyalty/rule-groups.mjs.map +1 -1
  154. package/resources/loyalty/rules.d.ts +2368 -346
  155. package/resources/loyalty/rules.d.ts.map +1 -1
  156. package/resources/loyalty/rules.js +40 -9
  157. package/resources/loyalty/rules.js.map +1 -1
  158. package/resources/loyalty/rules.mjs +40 -9
  159. package/resources/loyalty/rules.mjs.map +1 -1
  160. package/resources/loyalty/transactions/index.d.ts +4 -0
  161. package/resources/loyalty/transactions/index.d.ts.map +1 -0
  162. package/resources/loyalty/transactions/index.js +11 -0
  163. package/resources/loyalty/transactions/index.js.map +1 -0
  164. package/resources/loyalty/transactions/index.mjs +5 -0
  165. package/resources/loyalty/transactions/index.mjs.map +1 -0
  166. package/resources/loyalty/transactions/posts.d.ts +145 -0
  167. package/resources/loyalty/transactions/posts.d.ts.map +1 -0
  168. package/resources/loyalty/transactions/posts.js +32 -0
  169. package/resources/loyalty/transactions/posts.js.map +1 -0
  170. package/resources/loyalty/transactions/posts.mjs +28 -0
  171. package/resources/loyalty/transactions/posts.mjs.map +1 -0
  172. package/resources/loyalty/transactions/rule-statuses.d.ts +121 -0
  173. package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
  174. package/resources/loyalty/transactions/rule-statuses.js +30 -0
  175. package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
  176. package/resources/loyalty/transactions/rule-statuses.mjs +26 -0
  177. package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
  178. package/resources/loyalty/transactions/transactions.d.ts +566 -0
  179. package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
  180. package/resources/loyalty/transactions/transactions.js +110 -0
  181. package/resources/loyalty/transactions/transactions.js.map +1 -0
  182. package/resources/loyalty/transactions/transactions.mjs +83 -0
  183. package/resources/loyalty/transactions/transactions.mjs.map +1 -0
  184. package/resources/loyalty/transactions.d.ts +1 -253
  185. package/resources/loyalty/transactions.d.ts.map +1 -1
  186. package/resources/loyalty/transactions.js +15 -18
  187. package/resources/loyalty/transactions.js.map +1 -1
  188. package/resources/loyalty/transactions.mjs +1 -16
  189. package/resources/loyalty/transactions.mjs.map +1 -1
  190. package/resources/minting/allowlist.d.ts +84 -0
  191. package/resources/minting/allowlist.d.ts.map +1 -0
  192. package/resources/minting/allowlist.js +42 -0
  193. package/resources/minting/allowlist.js.map +1 -0
  194. package/resources/minting/allowlist.mjs +38 -0
  195. package/resources/minting/allowlist.mjs.map +1 -0
  196. package/resources/minting/contracts.d.ts +165 -0
  197. package/resources/minting/contracts.d.ts.map +1 -0
  198. package/resources/minting/contracts.js +30 -0
  199. package/resources/minting/contracts.js.map +1 -0
  200. package/resources/minting/contracts.mjs +26 -0
  201. package/resources/minting/contracts.mjs.map +1 -0
  202. package/resources/minting/index.d.ts +5 -0
  203. package/resources/minting/index.d.ts.map +1 -0
  204. package/resources/minting/index.js +13 -0
  205. package/resources/minting/index.js.map +1 -0
  206. package/resources/minting/index.mjs +6 -0
  207. package/resources/minting/index.mjs.map +1 -0
  208. package/resources/minting/minting.d.ts +146 -0
  209. package/resources/minting/minting.d.ts.map +1 -0
  210. package/resources/minting/minting.js +79 -0
  211. package/resources/minting/minting.js.map +1 -0
  212. package/resources/minting/minting.mjs +52 -0
  213. package/resources/minting/minting.mjs.map +1 -0
  214. package/resources/minting/status.d.ts +44 -0
  215. package/resources/minting/status.d.ts.map +1 -0
  216. package/resources/minting/status.js +33 -0
  217. package/resources/minting/status.js.map +1 -0
  218. package/resources/minting/status.mjs +29 -0
  219. package/resources/minting/status.mjs.map +1 -0
  220. package/resources/minting.d.ts +1 -94
  221. package/resources/minting.d.ts.map +1 -1
  222. package/resources/minting.js +15 -11
  223. package/resources/minting.js.map +1 -1
  224. package/resources/minting.mjs +1 -9
  225. package/resources/minting.mjs.map +1 -1
  226. package/resources/referral/referral.d.ts +12 -3
  227. package/resources/referral/referral.d.ts.map +1 -1
  228. package/resources/referral/referral.js +11 -5
  229. package/resources/referral/referral.js.map +1 -1
  230. package/resources/referral/referral.mjs +11 -5
  231. package/resources/referral/referral.mjs.map +1 -1
  232. package/resources/referral/users.d.ts +30 -3
  233. package/resources/referral/users.d.ts.map +1 -1
  234. package/resources/referral/users.js +12 -4
  235. package/resources/referral/users.js.map +1 -1
  236. package/resources/referral/users.mjs +12 -4
  237. package/resources/referral/users.mjs.map +1 -1
  238. package/resources/token-claims.d.ts +162 -0
  239. package/resources/token-claims.d.ts.map +1 -0
  240. package/resources/token-claims.js +46 -0
  241. package/resources/token-claims.js.map +1 -0
  242. package/resources/token-claims.mjs +42 -0
  243. package/resources/token-claims.mjs.map +1 -0
  244. package/resources/users/index.d.ts +1 -1
  245. package/resources/users/index.d.ts.map +1 -1
  246. package/resources/users/index.js.map +1 -1
  247. package/resources/users/index.mjs.map +1 -1
  248. package/resources/users/metadatas.d.ts +40 -3
  249. package/resources/users/metadatas.d.ts.map +1 -1
  250. package/resources/users/metadatas.js.map +1 -1
  251. package/resources/users/metadatas.mjs.map +1 -1
  252. package/resources/users/users.d.ts +203 -36
  253. package/resources/users/users.d.ts.map +1 -1
  254. package/resources/users/users.js +58 -1
  255. package/resources/users/users.js.map +1 -1
  256. package/resources/users/users.mjs +58 -1
  257. package/resources/users/users.mjs.map +1 -1
  258. package/resources/websites/index.d.ts +1 -1
  259. package/resources/websites/index.d.ts.map +1 -1
  260. package/resources/websites/index.js.map +1 -1
  261. package/resources/websites/index.mjs +1 -1
  262. package/resources/websites/index.mjs.map +1 -1
  263. package/resources/websites/website-collections.d.ts +0 -69
  264. package/resources/websites/website-collections.d.ts.map +1 -1
  265. package/resources/websites/website-collections.js +0 -16
  266. package/resources/websites/website-collections.js.map +1 -1
  267. package/resources/websites/website-collections.mjs +0 -16
  268. package/resources/websites/website-collections.mjs.map +1 -1
  269. package/resources/websites/website-user-roles.d.ts +24 -1
  270. package/resources/websites/website-user-roles.d.ts.map +1 -1
  271. package/resources/websites/website-user-roles.js +23 -0
  272. package/resources/websites/website-user-roles.js.map +1 -1
  273. package/resources/websites/website-user-roles.mjs +23 -0
  274. package/resources/websites/website-user-roles.mjs.map +1 -1
  275. package/resources/websites/websites.d.ts +21 -99
  276. package/resources/websites/websites.d.ts.map +1 -1
  277. package/resources/websites/websites.js +9 -1
  278. package/resources/websites/websites.js.map +1 -1
  279. package/resources/websites/websites.mjs +10 -2
  280. package/resources/websites/websites.mjs.map +1 -1
  281. package/src/core.ts +40 -36
  282. package/src/index.ts +84 -6
  283. package/src/internal/utils/query.ts +7 -0
  284. package/src/resource.ts +1 -1
  285. package/src/resources/assets.ts +18 -3
  286. package/src/resources/auctions/auctions.ts +523 -0
  287. package/src/resources/auctions/index.ts +19 -0
  288. package/src/resources/auctions/website-user-attributes/index.ts +18 -0
  289. package/src/resources/auctions/website-user-attributes/values.ts +170 -0
  290. package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +212 -0
  291. package/src/resources/auctions/website-user-attributes.ts +3 -0
  292. package/src/resources/auctions.ts +1 -207
  293. package/src/resources/auth.ts +124 -6
  294. package/src/resources/index.ts +41 -3
  295. package/src/resources/loyalty/account-streaks.ts +128 -0
  296. package/src/resources/loyalty/accounts.ts +65 -18
  297. package/src/resources/loyalty/badges.ts +1058 -146
  298. package/src/resources/loyalty/currencies.ts +19 -0
  299. package/src/resources/loyalty/index.ts +13 -2
  300. package/src/resources/loyalty/loyalty.ts +30 -12
  301. package/src/resources/loyalty/multipliers.ts +43 -4
  302. package/src/resources/loyalty/questions-responses.ts +64 -4
  303. package/src/resources/loyalty/questions.ts +64 -6
  304. package/src/resources/loyalty/rule-edits.ts +4208 -94
  305. package/src/resources/loyalty/rule-groups.ts +474 -64
  306. package/src/resources/loyalty/rules.ts +3708 -403
  307. package/src/resources/loyalty/transactions/index.ts +29 -0
  308. package/src/resources/loyalty/transactions/posts.ts +221 -0
  309. package/src/resources/loyalty/transactions/rule-statuses.ts +179 -0
  310. package/src/resources/loyalty/transactions/transactions.ts +932 -0
  311. package/src/resources/loyalty/transactions.ts +1 -446
  312. package/src/resources/minting/allowlist.ts +116 -0
  313. package/src/resources/minting/contracts.ts +415 -0
  314. package/src/resources/minting/index.ts +29 -0
  315. package/src/resources/minting/minting.ts +285 -0
  316. package/src/resources/minting/status.ts +70 -0
  317. package/src/resources/minting.ts +1 -157
  318. package/src/resources/referral/referral.ts +15 -11
  319. package/src/resources/referral/users.ts +45 -5
  320. package/src/resources/token-claims.ts +311 -0
  321. package/src/resources/users/index.ts +4 -0
  322. package/src/resources/users/metadatas.ts +66 -3
  323. package/src/resources/users/users.ts +277 -39
  324. package/src/resources/websites/index.ts +1 -6
  325. package/src/resources/websites/website-collections.ts +1 -146
  326. package/src/resources/websites/website-user-roles.ts +26 -1
  327. package/src/resources/websites/websites.ts +22 -127
  328. package/src/version.ts +1 -1
  329. package/version.d.ts +1 -1
  330. package/version.d.ts.map +1 -1
  331. package/version.js +1 -1
  332. package/version.js.map +1 -1
  333. package/version.mjs +1 -1
  334. package/version.mjs.map +1 -1
  335. package/resources/loyalty/rule-chains.d.ts +0 -34
  336. package/resources/loyalty/rule-chains.d.ts.map +0 -1
  337. package/resources/loyalty/rule-chains.js +0 -15
  338. package/resources/loyalty/rule-chains.js.map +0 -1
  339. package/resources/loyalty/rule-chains.mjs +0 -11
  340. package/resources/loyalty/rule-chains.mjs.map +0 -1
  341. package/src/resources/loyalty/rule-chains.ts +0 -45
package/CHANGELOG.md CHANGED
@@ -1,303 +1,303 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0-alpha.26 (2025-04-03)
3
+ ## 0.1.0-alpha.261 (2026-03-19)
4
4
 
5
- Full Changelog: [v0.1.0-alpha.25...v0.1.0-alpha.26](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.25...v0.1.0-alpha.26)
5
+ Full Changelog: [v0.1.0-alpha.260...v0.1.0-alpha.261](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.260...v0.1.0-alpha.261)
6
6
 
7
7
  ### Features
8
8
 
9
- * **api:** open api update ([#225](https://github.com/Snag-Solutions/node-sdk/issues/225)) ([df0618d](https://github.com/Snag-Solutions/node-sdk/commit/df0618d86f1c2d072b859c08c18741ee0b447ffb))
9
+ * **api:** open api update ([4f567f9](https://github.com/Snag-Solutions/node-sdk/commit/4f567f9460d361c4a4b391e00b259afe4bac4b47))
10
10
 
11
- ## 0.1.0-alpha.25 (2025-04-03)
12
-
13
- Full Changelog: [v0.1.0-alpha.24...v0.1.0-alpha.25](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.24...v0.1.0-alpha.25)
14
11
 
15
12
  ### Chores
16
13
 
17
- * **internal:** add aliases for Record and Array ([#222](https://github.com/Snag-Solutions/node-sdk/issues/222)) ([31c797f](https://github.com/Snag-Solutions/node-sdk/commit/31c797fa27ffca6b55a5ed1f7cb0f623f58b4487))
14
+ * **internal:** tweak CI branches ([8ba677d](https://github.com/Snag-Solutions/node-sdk/commit/8ba677ddefb3bb7cc032c387ecab84a83225a54b))
18
15
 
19
- ## 0.1.0-alpha.24 (2025-04-03)
16
+ ## 0.1.0-alpha.260 (2026-03-13)
20
17
 
21
- Full Changelog: [v0.1.0-alpha.23...v0.1.0-alpha.24](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.23...v0.1.0-alpha.24)
18
+ Full Changelog: [v0.1.0-alpha.259...v0.1.0-alpha.260](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.259...v0.1.0-alpha.260)
22
19
 
23
- ### Bug Fixes
20
+ ### Features
24
21
 
25
- * **client:** send `X-Stainless-Timeout` in seconds ([#219](https://github.com/Snag-Solutions/node-sdk/issues/219)) ([fb58974](https://github.com/Snag-Solutions/node-sdk/commit/fb58974ca2d55458f982e31295a94b2a7e13dd33))
22
+ * **api:** open api update ([cde1a95](https://github.com/Snag-Solutions/node-sdk/commit/cde1a95a161ac9ab831dfe156f83af0180d4017d))
26
23
 
27
- ## 0.1.0-alpha.23 (2025-04-03)
24
+ ## 0.1.0-alpha.259 (2026-03-12)
28
25
 
29
- 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)
26
+ Full Changelog: [v0.1.0-alpha.258...v0.1.0-alpha.259](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.258...v0.1.0-alpha.259)
30
27
 
31
28
  ### Features
32
29
 
33
- * **api:** manual updates ([#216](https://github.com/Snag-Solutions/node-sdk/issues/216)) ([94d3a3a](https://github.com/Snag-Solutions/node-sdk/commit/94d3a3acc7ec166540165e54a8b00237c5b60101))
30
+ * **api:** open api update ([262db07](https://github.com/Snag-Solutions/node-sdk/commit/262db0795e7d3d942e3429054e2f3e70eb3ddf14))
34
31
 
35
- ## 0.1.0-alpha.22 (2025-03-31)
32
+ ## 0.1.0-alpha.258 (2026-03-10)
36
33
 
37
- 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)
34
+ Full Changelog: [v0.1.0-alpha.257...v0.1.0-alpha.258](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.257...v0.1.0-alpha.258)
38
35
 
39
36
  ### Features
40
37
 
41
- * **api:** open api update ([#213](https://github.com/Snag-Solutions/node-sdk/issues/213)) ([ed35297](https://github.com/Snag-Solutions/node-sdk/commit/ed35297b80161f0884ec9774a748325f40f9ad88))
38
+ * **api:** open api update ([8800221](https://github.com/Snag-Solutions/node-sdk/commit/8800221165df9b7ef53a99040d74054030c76d27))
42
39
 
43
- ## 0.1.0-alpha.21 (2025-03-28)
40
+ ## 0.1.0-alpha.257 (2026-03-10)
44
41
 
45
- 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)
42
+ Full Changelog: [v0.1.0-alpha.256...v0.1.0-alpha.257](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.256...v0.1.0-alpha.257)
46
43
 
47
44
  ### Features
48
45
 
49
- * **api:** open api update ([#210](https://github.com/Snag-Solutions/node-sdk/issues/210)) ([396b332](https://github.com/Snag-Solutions/node-sdk/commit/396b3323774f3625f9dfdc86761bd50b2ea56dd8))
46
+ * **api:** open api update ([b5247fe](https://github.com/Snag-Solutions/node-sdk/commit/b5247feec782a16afd75bcc0c336cb90bf5c2582))
50
47
 
51
- ## 0.1.0-alpha.20 (2025-03-28)
48
+ ## 0.1.0-alpha.256 (2026-03-10)
52
49
 
53
- 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)
50
+ Full Changelog: [v0.1.0-alpha.255...v0.1.0-alpha.256](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.255...v0.1.0-alpha.256)
54
51
 
55
52
  ### Features
56
53
 
57
- * **api:** api update ([#207](https://github.com/Snag-Solutions/node-sdk/issues/207)) ([25209ea](https://github.com/Snag-Solutions/node-sdk/commit/25209eadb7b79756365fba81ca578f7e2ec06ba6))
54
+ * **api:** open api update ([6cca55b](https://github.com/Snag-Solutions/node-sdk/commit/6cca55bd539cab6983b8d5ff3e7aa54eb77047fb))
58
55
 
59
- ## 0.1.0-alpha.19 (2025-03-28)
56
+ ## 0.1.0-alpha.255 (2026-03-10)
60
57
 
61
- 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)
58
+ Full Changelog: [v0.1.0-alpha.254...v0.1.0-alpha.255](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.254...v0.1.0-alpha.255)
62
59
 
63
60
  ### Features
64
61
 
65
- * **api:** open api update ([#204](https://github.com/Snag-Solutions/node-sdk/issues/204)) ([a03b88d](https://github.com/Snag-Solutions/node-sdk/commit/a03b88d62767a9fcd90061dc122246471578429e))
62
+ * **api:** open api update ([6929399](https://github.com/Snag-Solutions/node-sdk/commit/69293993424144695baf5434ef5b3e057bdb6ec8))
63
+
64
+ ## 0.1.0-alpha.254 (2026-03-08)
65
+
66
+ Full Changelog: [v0.1.0-alpha.253...v0.1.0-alpha.254](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.253...v0.1.0-alpha.254)
67
+
68
+ ### Bug Fixes
69
+
70
+ * **client:** preserve URL params already embedded in path ([5a5a8c0](https://github.com/Snag-Solutions/node-sdk/commit/5a5a8c05ecd287fef6e03e16b1bc795370592cda))
71
+
72
+
73
+ ### Chores
74
+
75
+ * **ci:** skip uploading artifacts on stainless-internal branches ([b969856](https://github.com/Snag-Solutions/node-sdk/commit/b969856c11b47d54fd5b9c2ef85f3bbc065b9d54))
76
+ * **internal:** codegen related update ([69bcad5](https://github.com/Snag-Solutions/node-sdk/commit/69bcad5a6ca9bb5d12c26031eed678c92dea21ad))
77
+ * **internal:** codegen related update ([4ebb8a5](https://github.com/Snag-Solutions/node-sdk/commit/4ebb8a50537f05d69366e0a9dfd55d9e7e0c75c6))
66
78
 
67
- ## 0.1.0-alpha.18 (2025-03-28)
79
+ ## 0.1.0-alpha.253 (2026-03-05)
68
80
 
69
- 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)
81
+ Full Changelog: [v0.1.0-alpha.252...v0.1.0-alpha.253](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.252...v0.1.0-alpha.253)
70
82
 
71
83
  ### Features
72
84
 
73
- * **api:** manual updates ([#201](https://github.com/Snag-Solutions/node-sdk/issues/201)) ([98ffe0b](https://github.com/Snag-Solutions/node-sdk/commit/98ffe0b626323e2c0e00d2b938c4de526faee19f))
85
+ * **api:** open api update ([c3c8f69](https://github.com/Snag-Solutions/node-sdk/commit/c3c8f69c2f71baaa70013f2ac9acaaa91c71a3a8))
74
86
 
75
- ## 0.1.0-alpha.17 (2025-03-28)
87
+ ## 0.1.0-alpha.252 (2026-03-04)
76
88
 
77
- 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)
89
+ Full Changelog: [v0.1.0-alpha.251...v0.1.0-alpha.252](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.251...v0.1.0-alpha.252)
78
90
 
79
91
  ### Features
80
92
 
81
- * **api:** manual updates ([#198](https://github.com/Snag-Solutions/node-sdk/issues/198)) ([e7112eb](https://github.com/Snag-Solutions/node-sdk/commit/e7112eb20f9999bdf4513511ef8da16c7101328f))
93
+ * **api:** open api update ([6a13b3f](https://github.com/Snag-Solutions/node-sdk/commit/6a13b3f54b9d64904d66d71361621028863f9830))
82
94
 
83
- ## 0.1.0-alpha.16 (2025-03-28)
95
+ ## 0.1.0-alpha.251 (2026-03-03)
84
96
 
85
- 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)
97
+ Full Changelog: [v0.1.0-alpha.250...v0.1.0-alpha.251](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.250...v0.1.0-alpha.251)
86
98
 
87
99
  ### Features
88
100
 
89
- * **api:** manual updates ([#195](https://github.com/Snag-Solutions/node-sdk/issues/195)) ([312da2e](https://github.com/Snag-Solutions/node-sdk/commit/312da2e5e60c388d1a5051fe7557fec9fd326b3d))
101
+ * **api:** open api update ([bc50c04](https://github.com/Snag-Solutions/node-sdk/commit/bc50c04fddac85adc71eeb53452c4724ebeeff8f))
90
102
 
91
- ## 0.1.0-alpha.15 (2025-03-28)
103
+ ## 0.1.0-alpha.250 (2026-03-03)
92
104
 
93
- 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)
105
+ Full Changelog: [v0.1.0-alpha.249...v0.1.0-alpha.250](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.249...v0.1.0-alpha.250)
94
106
 
95
107
  ### Features
96
108
 
97
- * **api:** api update ([9db71a8](https://github.com/Snag-Solutions/node-sdk/commit/9db71a8a336cad149a6dee626aab19542bb4c269))
98
- * **api:** manual updates ([2fc7269](https://github.com/Snag-Solutions/node-sdk/commit/2fc7269c5b2e9b0bd92daef6674bcc69df5146da))
99
- * **api:** manual updates ([0762ae6](https://github.com/Snag-Solutions/node-sdk/commit/0762ae6de81aec708b7f52f4ffabaa0402f8bb9e))
100
- * **api:** manual updates ([#184](https://github.com/Snag-Solutions/node-sdk/issues/184)) ([17322ff](https://github.com/Snag-Solutions/node-sdk/commit/17322ff407b4be58a3480caa09ebf4003ceb4c82))
101
- * **api:** manual updates ([#186](https://github.com/Snag-Solutions/node-sdk/issues/186)) ([15df7ea](https://github.com/Snag-Solutions/node-sdk/commit/15df7ea7963f1b3055a0b2cabd9ca05f6bbcd3a0))
102
- * **api:** manual updates ([#187](https://github.com/Snag-Solutions/node-sdk/issues/187)) ([885252c](https://github.com/Snag-Solutions/node-sdk/commit/885252c933cbbc3c6252b7732c79ffc9988ecc40))
103
- * **api:** manual updates ([#188](https://github.com/Snag-Solutions/node-sdk/issues/188)) ([f1876d2](https://github.com/Snag-Solutions/node-sdk/commit/f1876d20a25c454f66a6b2995dcadd50b69e18f3))
104
- * **api:** manual updates ([#189](https://github.com/Snag-Solutions/node-sdk/issues/189)) ([136e91b](https://github.com/Snag-Solutions/node-sdk/commit/136e91be906bcc4db9ffe56d8a9829e12c0bdfdd))
105
- * **api:** manual updates ([#191](https://github.com/Snag-Solutions/node-sdk/issues/191)) ([1e38dd4](https://github.com/Snag-Solutions/node-sdk/commit/1e38dd4bf56fed4acc2b7af1f962ee2e5e90281d))
106
- * **api:** open api update ([3cedd3a](https://github.com/Snag-Solutions/node-sdk/commit/3cedd3aad63131914204154fd95d73e988dce3ea))
107
- * **api:** open api update ([#190](https://github.com/Snag-Solutions/node-sdk/issues/190)) ([dfa1302](https://github.com/Snag-Solutions/node-sdk/commit/dfa13021f8f81105d5fdcb477b83f48b2c9cc0d0))
109
+ * **api:** open api update ([007b6a6](https://github.com/Snag-Solutions/node-sdk/commit/007b6a6755110b5b28e8ca1b2be8783518c873bf))
108
110
 
109
111
 
110
112
  ### Chores
111
113
 
112
- * go live ([#182](https://github.com/Snag-Solutions/node-sdk/issues/182)) ([12b2834](https://github.com/Snag-Solutions/node-sdk/commit/12b2834a5b6d8083b826b34f62b397c99efc4edd))
113
- * sync repo ([4dbe8ed](https://github.com/Snag-Solutions/node-sdk/commit/4dbe8edf05d35b926b97ac54543544e23d0bf0c4))
114
- * update SDK settings ([#183](https://github.com/Snag-Solutions/node-sdk/issues/183)) ([7241769](https://github.com/Snag-Solutions/node-sdk/commit/7241769a40ae875b5ea525935ec8bbcd58677a0b))
114
+ * **internal:** move stringifyQuery implementation to internal function ([ecfbeb8](https://github.com/Snag-Solutions/node-sdk/commit/ecfbeb83330e2503b641f7dd3e2369f5acb31275))
115
115
 
116
- ## 0.1.0-alpha.14 (2025-03-04)
116
+ ## 0.1.0-alpha.249 (2026-02-25)
117
117
 
118
- 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)
118
+ Full Changelog: [v0.1.0-alpha.248...v0.1.0-alpha.249](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.248...v0.1.0-alpha.249)
119
119
 
120
120
  ### Features
121
121
 
122
- * **api:** api update ([#113](https://github.com/Snag-Solutions/node-sdk/issues/113)) ([7b22f6d](https://github.com/Snag-Solutions/node-sdk/commit/7b22f6dc19c2790059df91275b9f005f75e585eb))
123
- * **api:** api update ([#116](https://github.com/Snag-Solutions/node-sdk/issues/116)) ([49d5ec1](https://github.com/Snag-Solutions/node-sdk/commit/49d5ec13a70f3d7167fd24a2103f5f1d5ef82fe0))
124
- * **api:** api update ([#119](https://github.com/Snag-Solutions/node-sdk/issues/119)) ([352c998](https://github.com/Snag-Solutions/node-sdk/commit/352c998a44006a4b441e30249995f824df992f54))
125
- * **api:** api update ([#122](https://github.com/Snag-Solutions/node-sdk/issues/122)) ([40d7797](https://github.com/Snag-Solutions/node-sdk/commit/40d77976bad778ae3f9dda115c117df5c2b0fcf8))
126
- * **api:** api update ([#123](https://github.com/Snag-Solutions/node-sdk/issues/123)) ([b165255](https://github.com/Snag-Solutions/node-sdk/commit/b1652556767548121e2b9a6866eb67e5a5092a2e))
127
- * **api:** api update ([#125](https://github.com/Snag-Solutions/node-sdk/issues/125)) ([1ecfaba](https://github.com/Snag-Solutions/node-sdk/commit/1ecfaba5c59f9427703478d9634d40421fa4778a))
128
- * **api:** api update ([#126](https://github.com/Snag-Solutions/node-sdk/issues/126)) ([2d91502](https://github.com/Snag-Solutions/node-sdk/commit/2d915022abc2316684b2b4b808c703b6946ec4c1))
129
- * **api:** api update ([#130](https://github.com/Snag-Solutions/node-sdk/issues/130)) ([b83eef2](https://github.com/Snag-Solutions/node-sdk/commit/b83eef21a458c3e244f09abe6f9e37b3f8046f88))
130
- * **api:** api update ([#131](https://github.com/Snag-Solutions/node-sdk/issues/131)) ([27924b3](https://github.com/Snag-Solutions/node-sdk/commit/27924b3a164f93ff03ea10e4d01fd1482bd96878))
131
- * **api:** api update ([#134](https://github.com/Snag-Solutions/node-sdk/issues/134)) ([95cb142](https://github.com/Snag-Solutions/node-sdk/commit/95cb142031f21744873bc16c5c96203c7a45d688))
132
- * **api:** manual updates ([#136](https://github.com/Snag-Solutions/node-sdk/issues/136)) ([e216c85](https://github.com/Snag-Solutions/node-sdk/commit/e216c85b407adaa055baf44bc144bad49eacae92))
133
- * **api:** open api update ([#112](https://github.com/Snag-Solutions/node-sdk/issues/112)) ([b54d088](https://github.com/Snag-Solutions/node-sdk/commit/b54d08880fd075ae7c1c3e4b46998159a1353d74))
134
- * **api:** open api update ([#114](https://github.com/Snag-Solutions/node-sdk/issues/114)) ([1e5919a](https://github.com/Snag-Solutions/node-sdk/commit/1e5919af64bdcfa8693b923bf5d0c508e46f0511))
135
- * **api:** open api update ([#115](https://github.com/Snag-Solutions/node-sdk/issues/115)) ([15058b1](https://github.com/Snag-Solutions/node-sdk/commit/15058b1dba2109a3389977ac6b300b9d24ec566f))
136
- * **api:** open api update ([#117](https://github.com/Snag-Solutions/node-sdk/issues/117)) ([39d1db6](https://github.com/Snag-Solutions/node-sdk/commit/39d1db673d4e7e2233fe573e6fdadeb57efa807d))
137
- * **api:** open api update ([#118](https://github.com/Snag-Solutions/node-sdk/issues/118)) ([45d4b4b](https://github.com/Snag-Solutions/node-sdk/commit/45d4b4b7d9f995929fd948e94ed5075429a98f14))
138
- * **api:** open api update ([#120](https://github.com/Snag-Solutions/node-sdk/issues/120)) ([be69e9f](https://github.com/Snag-Solutions/node-sdk/commit/be69e9f39785eebf584ed20df63d3c5920d12646))
139
- * **api:** open api update ([#121](https://github.com/Snag-Solutions/node-sdk/issues/121)) ([2a4d94b](https://github.com/Snag-Solutions/node-sdk/commit/2a4d94bb0ca881f72668e470b9c45e5ae7e61d8c))
140
- * **api:** open api update ([#124](https://github.com/Snag-Solutions/node-sdk/issues/124)) ([e733b06](https://github.com/Snag-Solutions/node-sdk/commit/e733b06b96d397655843d7bbf020a28d0527daea))
141
- * **api:** open api update ([#128](https://github.com/Snag-Solutions/node-sdk/issues/128)) ([f77dcfb](https://github.com/Snag-Solutions/node-sdk/commit/f77dcfb820b65dd4095e88a5c7e4476ee9ee22b2))
142
- * **api:** open api update ([#129](https://github.com/Snag-Solutions/node-sdk/issues/129)) ([8940ee9](https://github.com/Snag-Solutions/node-sdk/commit/8940ee9041a17c096b0306cea509e1b5dcef6c7a))
143
- * **api:** open api update ([#133](https://github.com/Snag-Solutions/node-sdk/issues/133)) ([bc17b3f](https://github.com/Snag-Solutions/node-sdk/commit/bc17b3fa6ceaf2924b03e7e9b1f1f2462d471327))
144
- * **api:** open api update ([#135](https://github.com/Snag-Solutions/node-sdk/issues/135)) ([41a93d9](https://github.com/Snag-Solutions/node-sdk/commit/41a93d941dba7d40502c1ef28daa387965e0896c))
122
+ * **api:** open api update ([8d650aa](https://github.com/Snag-Solutions/node-sdk/commit/8d650aa974d815727f115e4c58ef44084f21d0e9))
145
123
 
124
+ ## 0.1.0-alpha.248 (2026-02-24)
146
125
 
147
- ### Chores
126
+ Full Changelog: [v0.1.0-alpha.247...v0.1.0-alpha.248](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.247...v0.1.0-alpha.248)
127
+
128
+ ### Features
129
+
130
+ * **api:** open api update ([9e088cb](https://github.com/Snag-Solutions/node-sdk/commit/9e088cbbb3f63265ee0fcda23d54e114b29c51ca))
131
+
132
+ ## 0.1.0-alpha.247 (2026-02-24)
133
+
134
+ Full Changelog: [v0.1.0-alpha.246...v0.1.0-alpha.247](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.246...v0.1.0-alpha.247)
135
+
136
+ ### Features
137
+
138
+ * **api:** open api update ([16776a5](https://github.com/Snag-Solutions/node-sdk/commit/16776a5a7236eadb5857a2ba08221c8fe0ff2bd5))
139
+
140
+ ## 0.1.0-alpha.246 (2026-02-24)
148
141
 
149
- * **internal:** fix devcontainers setup ([#127](https://github.com/Snag-Solutions/node-sdk/issues/127)) ([05365bd](https://github.com/Snag-Solutions/node-sdk/commit/05365bd6d319a82b01396c9dd6a5098ccb60432d))
142
+ Full Changelog: [v0.1.0-alpha.245...v0.1.0-alpha.246](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.245...v0.1.0-alpha.246)
150
143
 
144
+ ### Bug Fixes
145
+
146
+ * **docs/contributing:** correct pnpm link command ([5b2d31f](https://github.com/Snag-Solutions/node-sdk/commit/5b2d31f952d830f6766bfe57f842aaa18b68790d))
147
+
148
+ ## 0.1.0-alpha.245 (2026-02-24)
151
149
 
152
- ### Documentation
150
+ Full Changelog: [v0.1.0-alpha.244...v0.1.0-alpha.245](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.244...v0.1.0-alpha.245)
153
151
 
154
- * 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))
152
+ ### Features
153
+
154
+ * **api:** open api update ([21dfe83](https://github.com/Snag-Solutions/node-sdk/commit/21dfe8313906129cfbed1461a1b3fb7765471bcd))
155
155
 
156
- ## 0.1.0-alpha.13 (2025-01-19)
156
+ ## 0.1.0-alpha.244 (2026-02-23)
157
157
 
158
- 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)
158
+ Full Changelog: [v0.1.0-alpha.243...v0.1.0-alpha.244](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.243...v0.1.0-alpha.244)
159
159
 
160
160
  ### Features
161
161
 
162
- * **api:** open api update ([#77](https://github.com/Snag-Solutions/node-sdk/issues/77)) ([a1a3ffe](https://github.com/Snag-Solutions/node-sdk/commit/a1a3ffe3ef9195d55e153e45aab9642922f46f5e))
162
+ * **api:** open api update ([b10c697](https://github.com/Snag-Solutions/node-sdk/commit/b10c6971ba98d38c925ea67d7fbac885f4ff362b))
163
163
 
164
- ## 0.1.0-alpha.12 (2025-01-19)
164
+ ## 0.1.0-alpha.243 (2026-02-23)
165
165
 
166
- 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)
166
+ Full Changelog: [v0.1.0-alpha.242...v0.1.0-alpha.243](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.242...v0.1.0-alpha.243)
167
167
 
168
168
  ### Features
169
169
 
170
- * **api:** open api update ([#74](https://github.com/Snag-Solutions/node-sdk/issues/74)) ([d663764](https://github.com/Snag-Solutions/node-sdk/commit/d6637641448a98a54fdaefbcf24dff9f070d8c55))
170
+ * **api:** open api update ([29ff355](https://github.com/Snag-Solutions/node-sdk/commit/29ff3551ad0d1decf1a7d3a8ed9e3c920f0733bb))
171
171
 
172
- ## 0.1.0-alpha.11 (2025-01-19)
172
+ ## 0.1.0-alpha.242 (2026-02-23)
173
173
 
174
- 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)
174
+ Full Changelog: [v0.1.0-alpha.241...v0.1.0-alpha.242](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.241...v0.1.0-alpha.242)
175
175
 
176
- ### Chores
176
+ ### Features
177
177
 
178
- * update SDK settings ([#69](https://github.com/Snag-Solutions/node-sdk/issues/69)) ([5558d09](https://github.com/Snag-Solutions/node-sdk/commit/5558d09c342935eb2dafa1821349b4c2088768c9))
179
- * update SDK settings ([#71](https://github.com/Snag-Solutions/node-sdk/issues/71)) ([f13dc92](https://github.com/Snag-Solutions/node-sdk/commit/f13dc9266757e82b1398cc4ebd0a4c01b0b8269d))
178
+ * **api:** open api update ([f15fa7b](https://github.com/Snag-Solutions/node-sdk/commit/f15fa7bc429e91263f3fea21c4099d694be84132))
180
179
 
181
- ## 0.1.0-alpha.10 (2025-01-19)
180
+ ## 0.1.0-alpha.241 (2026-02-20)
182
181
 
183
- 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)
182
+ Full Changelog: [v0.1.0-alpha.240...v0.1.0-alpha.241](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.240...v0.1.0-alpha.241)
184
183
 
185
184
  ### Features
186
185
 
187
- * **api:** manual updates ([#64](https://github.com/Snag-Solutions/node-sdk/issues/64)) ([2c0c72d](https://github.com/Snag-Solutions/node-sdk/commit/2c0c72dee71d170cdb81f33ef4c4eb6c16aef78d))
186
+ * **api:** open api update ([fa2f57c](https://github.com/Snag-Solutions/node-sdk/commit/fa2f57c170f01493a8a7bead50fc39a7effe4297))
188
187
 
189
188
 
190
189
  ### Chores
191
190
 
192
- * update SDK settings ([#66](https://github.com/Snag-Solutions/node-sdk/issues/66)) ([34d4ebd](https://github.com/Snag-Solutions/node-sdk/commit/34d4ebda5118997bbce33c2869a11356b07a1d51))
191
+ * **internal:** remove mock server code ([a76e4bf](https://github.com/Snag-Solutions/node-sdk/commit/a76e4bf0efcd30230407f249b090bde214ce885a))
192
+ * update mock server docs ([2a7962d](https://github.com/Snag-Solutions/node-sdk/commit/2a7962d55efff86a12c665dc92f91b525226447b))
193
193
 
194
- ## 0.1.0-alpha.9 (2025-01-19)
194
+ ## 0.1.0-alpha.240 (2026-02-20)
195
195
 
196
- 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)
196
+ Full Changelog: [v0.1.0-alpha.239...v0.1.0-alpha.240](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.239...v0.1.0-alpha.240)
197
197
 
198
198
  ### Features
199
199
 
200
- * **api:** api update ([#42](https://github.com/Snag-Solutions/node-sdk/issues/42)) ([b0021f7](https://github.com/Snag-Solutions/node-sdk/commit/b0021f77372bdb6c401836f6d8f91cf46e94b43a))
201
- * **api:** api update ([#43](https://github.com/Snag-Solutions/node-sdk/issues/43)) ([d772569](https://github.com/Snag-Solutions/node-sdk/commit/d77256957b5441ca8878ff871bf331c5a301daf1))
202
- * **api:** api update ([#44](https://github.com/Snag-Solutions/node-sdk/issues/44)) ([5f8c1af](https://github.com/Snag-Solutions/node-sdk/commit/5f8c1af21d44360eacede294efedba2749a6f628))
203
- * **api:** api update ([#51](https://github.com/Snag-Solutions/node-sdk/issues/51)) ([c87475e](https://github.com/Snag-Solutions/node-sdk/commit/c87475e7497c1da9281cfb2eeb151c79e0d50cbe))
204
- * **api:** api update ([#57](https://github.com/Snag-Solutions/node-sdk/issues/57)) ([4e9eba0](https://github.com/Snag-Solutions/node-sdk/commit/4e9eba027a7eabfb59ddc76890248ce3ded772e6))
205
- * **api:** api update ([#58](https://github.com/Snag-Solutions/node-sdk/issues/58)) ([1cf1d9a](https://github.com/Snag-Solutions/node-sdk/commit/1cf1d9ac7f86c59c57538640e4738ba83fcf2bfd))
206
- * **api:** open api update ([#50](https://github.com/Snag-Solutions/node-sdk/issues/50)) ([048be25](https://github.com/Snag-Solutions/node-sdk/commit/048be2501cf994253d36866b246670d01f7ef498))
207
- * **api:** open api update ([#52](https://github.com/Snag-Solutions/node-sdk/issues/52)) ([6502084](https://github.com/Snag-Solutions/node-sdk/commit/6502084a0297431c2014c7c0d1eefafbe78d890b))
208
- * **api:** open api update ([#54](https://github.com/Snag-Solutions/node-sdk/issues/54)) ([e6a4548](https://github.com/Snag-Solutions/node-sdk/commit/e6a4548754a6b4a6da6517bdf8151197f77e3c19))
209
- * **api:** open api update ([#55](https://github.com/Snag-Solutions/node-sdk/issues/55)) ([3483621](https://github.com/Snag-Solutions/node-sdk/commit/3483621ad5e35def2e10c24efcc342307b9798f9))
210
- * **api:** open api update ([#56](https://github.com/Snag-Solutions/node-sdk/issues/56)) ([0015403](https://github.com/Snag-Solutions/node-sdk/commit/001540368909a3e6de6ce184f6429b6301c09c1b))
211
- * **api:** open api update ([#60](https://github.com/Snag-Solutions/node-sdk/issues/60)) ([d37c04c](https://github.com/Snag-Solutions/node-sdk/commit/d37c04ce76de779286620f25d04d3e0fa210c2bb))
212
- * **api:** open api update ([#61](https://github.com/Snag-Solutions/node-sdk/issues/61)) ([7be2c09](https://github.com/Snag-Solutions/node-sdk/commit/7be2c09e28bf47e47092e4c850fe660487fac97a))
200
+ * **api:** open api update ([c253ad3](https://github.com/Snag-Solutions/node-sdk/commit/c253ad38558d86560cda99c171f3e8e5046abc97))
201
+ * **api:** open api update ([b5a98e4](https://github.com/Snag-Solutions/node-sdk/commit/b5a98e4f9ace731cf380568679a81ef782a04699))
213
202
 
203
+ ## 0.1.0-alpha.239 (2026-02-18)
214
204
 
215
- ### Chores
205
+ Full Changelog: [v0.1.0-alpha.238...v0.1.0-alpha.239](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.238...v0.1.0-alpha.239)
206
+
207
+ ### Features
208
+
209
+ * **api:** open api update ([9af911b](https://github.com/Snag-Solutions/node-sdk/commit/9af911b88b5cf3fe8cee1bfaa139111ba5f19e4a))
216
210
 
217
- * **internal:** codegen related update ([#46](https://github.com/Snag-Solutions/node-sdk/issues/46)) ([6b97e9f](https://github.com/Snag-Solutions/node-sdk/commit/6b97e9fa2b3f40e8143c38edf2fd5bae1f15990d))
218
- * **internal:** codegen related update ([#48](https://github.com/Snag-Solutions/node-sdk/issues/48)) ([7be5577](https://github.com/Snag-Solutions/node-sdk/commit/7be5577a10139def97777fe3fc9183b16d2150a0))
219
- * **internal:** codegen related update ([#59](https://github.com/Snag-Solutions/node-sdk/issues/59)) ([78785ea](https://github.com/Snag-Solutions/node-sdk/commit/78785ea055d6d49313a79cd204174e1d039ddf7d))
220
- * **internal:** codegen related update ([#62](https://github.com/Snag-Solutions/node-sdk/issues/62)) ([78e6c12](https://github.com/Snag-Solutions/node-sdk/commit/78e6c12c11eeda88894bd87a79e8332a54d18ab8))
221
- * **internal:** fix some typos ([#45](https://github.com/Snag-Solutions/node-sdk/issues/45)) ([0f0d61a](https://github.com/Snag-Solutions/node-sdk/commit/0f0d61af3d255360727f9681ea48f5eaa1a47193))
222
- * **internal:** fix some typos ([#47](https://github.com/Snag-Solutions/node-sdk/issues/47)) ([47dc89e](https://github.com/Snag-Solutions/node-sdk/commit/47dc89e909ac05b5ce0e6eb8016b9b1049072889))
223
- * **internal:** fix some typos ([#49](https://github.com/Snag-Solutions/node-sdk/issues/49)) ([1e0446a](https://github.com/Snag-Solutions/node-sdk/commit/1e0446a04c2ed791e7bfb00943e4ac80d6cd6923))
224
- * **internal:** update isAbsoluteURL ([#41](https://github.com/Snag-Solutions/node-sdk/issues/41)) ([df5ec7b](https://github.com/Snag-Solutions/node-sdk/commit/df5ec7bf4980e406e1392f99ba18c1fb7fcc00f5))
211
+ ## 0.1.0-alpha.238 (2026-02-18)
225
212
 
213
+ Full Changelog: [v0.1.0-alpha.237...v0.1.0-alpha.238](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.237...v0.1.0-alpha.238)
226
214
 
227
- ### Documentation
215
+ ### Features
216
+
217
+ * **api:** open api update ([d80318a](https://github.com/Snag-Solutions/node-sdk/commit/d80318ac38532f0eb01fec1505fb2ebe49d65e70))
218
+
219
+ ## 0.1.0-alpha.237 (2026-02-16)
220
+
221
+ Full Changelog: [v0.1.0-alpha.236...v0.1.0-alpha.237](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.236...v0.1.0-alpha.237)
222
+
223
+ ### Features
228
224
 
229
- * minor formatting changes ([#53](https://github.com/Snag-Solutions/node-sdk/issues/53)) ([62eb4c8](https://github.com/Snag-Solutions/node-sdk/commit/62eb4c8e6c0a73b41bd111f0e1677f92b93c3236))
225
+ * **api:** open api update ([7a57cdc](https://github.com/Snag-Solutions/node-sdk/commit/7a57cdc4fe541feb5d2c4f1ffcc027060ab99a62))
226
+ * **api:** open api update ([dd34e5b](https://github.com/Snag-Solutions/node-sdk/commit/dd34e5b4378300b3e50480b20085bfdb666a2d0f))
230
227
 
231
- ## 0.1.0-alpha.8 (2024-11-23)
228
+ ## 0.1.0-alpha.236 (2026-02-11)
232
229
 
233
- 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)
230
+ Full Changelog: [v0.1.0-alpha.235...v0.1.0-alpha.236](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.235...v0.1.0-alpha.236)
234
231
 
235
232
  ### Features
236
233
 
237
- * **api:** api update ([#26](https://github.com/Snag-Solutions/node-sdk/issues/26)) ([c441b0f](https://github.com/Snag-Solutions/node-sdk/commit/c441b0f481a94634e5ed71f7781400ef9660cdd1))
234
+ * **api:** open api update ([d68aa6b](https://github.com/Snag-Solutions/node-sdk/commit/d68aa6b4d9cdc2f4a32d514c09b99ddd03074063))
238
235
 
239
- ## 0.1.0-alpha.7 (2024-11-23)
236
+ ## 0.1.0-alpha.235 (2026-02-11)
240
237
 
241
- 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)
238
+ Full Changelog: [v0.1.0-alpha.234...v0.1.0-alpha.235](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.234...v0.1.0-alpha.235)
242
239
 
243
240
  ### Features
244
241
 
245
- * **api:** api update ([#22](https://github.com/Snag-Solutions/node-sdk/issues/22)) ([94c9533](https://github.com/Snag-Solutions/node-sdk/commit/94c95332c7650bb2b1e8b2fd011ebf39cbdca231))
246
- * **api:** manual updates ([#24](https://github.com/Snag-Solutions/node-sdk/issues/24)) ([633af8d](https://github.com/Snag-Solutions/node-sdk/commit/633af8d21132d89b01159066c4eecffbf323b697))
242
+ * **api:** open api update ([ad2c3a9](https://github.com/Snag-Solutions/node-sdk/commit/ad2c3a97741a6af014be9ff17677903124147e98))
247
243
 
248
- ## 0.1.0-alpha.6 (2024-11-22)
244
+ ## 0.1.0-alpha.234 (2026-02-11)
249
245
 
250
- 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)
246
+ Full Changelog: [v0.1.0-alpha.233...v0.1.0-alpha.234](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.233...v0.1.0-alpha.234)
251
247
 
252
248
  ### Features
253
249
 
254
- * **api:** api update ([#20](https://github.com/Snag-Solutions/node-sdk/issues/20)) ([59e9c60](https://github.com/Snag-Solutions/node-sdk/commit/59e9c6025caccfba9dde465af795beff514a9dbd))
255
- * **api:** manual updates ([#17](https://github.com/Snag-Solutions/node-sdk/issues/17)) ([cf16f38](https://github.com/Snag-Solutions/node-sdk/commit/cf16f38e8ef707c5a7770b54c0d7d0d051882077))
250
+ * **api:** open api update ([e17d4be](https://github.com/Snag-Solutions/node-sdk/commit/e17d4be4e166ef055f5507f0a0fe916b5e3e67f6))
256
251
 
257
- ## 0.1.0-alpha.5 (2024-11-22)
252
+ ## 0.1.0-alpha.233 (2026-02-11)
258
253
 
259
- 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)
254
+ Full Changelog: [v0.1.0-alpha.232...v0.1.0-alpha.233](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.232...v0.1.0-alpha.233)
260
255
 
261
256
  ### Features
262
257
 
263
- * **api:** api update ([#13](https://github.com/Snag-Solutions/node-sdk/issues/13)) ([b691782](https://github.com/Snag-Solutions/node-sdk/commit/b69178269f9d182d2ea7105f8b1024a0c3880134))
264
- * **api:** api update ([#15](https://github.com/Snag-Solutions/node-sdk/issues/15)) ([ec14b9d](https://github.com/Snag-Solutions/node-sdk/commit/ec14b9d0964f8beceda60a09fd2c9c2cfffd17da))
265
- * **api:** api update ([#16](https://github.com/Snag-Solutions/node-sdk/issues/16)) ([3123dc6](https://github.com/Snag-Solutions/node-sdk/commit/3123dc6e29d239580f6d3a800801f9ad50dbabc5))
258
+ * **api:** open api update ([cbc5c2d](https://github.com/Snag-Solutions/node-sdk/commit/cbc5c2db49637c64d27e8801d6f8c5de86636ad9))
266
259
 
267
- ## 0.1.0-alpha.4 (2024-11-22)
260
+ ## 0.1.0-alpha.232 (2026-02-11)
268
261
 
269
- 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)
262
+ Full Changelog: [v0.1.0-alpha.231...v0.1.0-alpha.232](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.231...v0.1.0-alpha.232)
270
263
 
271
264
  ### Features
272
265
 
273
- * **api:** manual updates ([#10](https://github.com/Snag-Solutions/node-sdk/issues/10)) ([5ff680b](https://github.com/Snag-Solutions/node-sdk/commit/5ff680b93da06a8f6c5c1b0fce4927e844e38d4e))
266
+ * **api:** open api update ([ca1ac81](https://github.com/Snag-Solutions/node-sdk/commit/ca1ac81508f393436dc1daca7d5e10cbbb878a21))
274
267
 
275
- ## 0.1.0-alpha.3 (2024-11-22)
268
+ ## 0.1.0-alpha.231 (2026-02-11)
276
269
 
277
- 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)
270
+ Full Changelog: [v0.1.0-alpha.230...v0.1.0-alpha.231](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.230...v0.1.0-alpha.231)
278
271
 
279
272
  ### Chores
280
273
 
281
- * update SDK settings ([#7](https://github.com/Snag-Solutions/node-sdk/issues/7)) ([04be237](https://github.com/Snag-Solutions/node-sdk/commit/04be23720196035f4dfe147fd0a7fd92385438f2))
274
+ * remove custom code ([827479d](https://github.com/Snag-Solutions/node-sdk/commit/827479dd478fb4eb18af479930ada2451531cbd3))
282
275
 
283
- ## 0.1.0-alpha.2 (2024-11-22)
276
+ ## 0.1.0-alpha.230 (2026-02-10)
284
277
 
285
- 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)
278
+ 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)
286
279
 
287
280
  ### Features
288
281
 
289
- * **api:** api update ([#4](https://github.com/Snag-Solutions/node-sdk/issues/4)) ([496a04f](https://github.com/Snag-Solutions/node-sdk/commit/496a04fa714d9a9f474504b8b95e217c40c60b50))
282
+ * **api:** open api update ([809b17b](https://github.com/Snag-Solutions/node-sdk/commit/809b17b7d61858a813dc805d0ce291d06770f0e4))
283
+
284
+ ## 0.1.0-alpha.229 (2026-02-09)
285
+
286
+ 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)
287
+
288
+ ### Chores
289
+
290
+ * update SDK settings ([93c1400](https://github.com/Snag-Solutions/node-sdk/commit/93c1400a6f17d633f02fc6064107f5f7d1e193ec))
290
291
 
291
- ## 0.1.0-alpha.1 (2024-11-22)
292
+ ## 0.1.0-alpha.228 (2026-02-09)
292
293
 
293
- 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)
294
+ 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)
294
295
 
295
296
  ### Features
296
297
 
297
- * **api:** update via SDK Studio ([4991e20](https://github.com/Snag-Solutions/node-sdk/commit/4991e2054da3f1ad359b37c1f95bb80e727436bf))
298
+ * **api:** manual updates ([96c1460](https://github.com/Snag-Solutions/node-sdk/commit/96c14601067bd1e9ca0bb6fd7141e1f3671324d3))
298
299
 
299
300
 
300
301
  ### Chores
301
302
 
302
- * go live ([#1](https://github.com/Snag-Solutions/node-sdk/issues/1)) ([724c133](https://github.com/Snag-Solutions/node-sdk/commit/724c133a7a29aa2a1c0ef41f1c91cbdc8effae41))
303
- * update SDK settings ([cb45f83](https://github.com/Snag-Solutions/node-sdk/commit/cb45f83f653ab83ecf062e3bead73f7335bfd0ac))
303
+ * 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
@@ -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
  ```
@@ -147,12 +137,14 @@ You can also use the `.withResponse()` method to get the raw `Response` along wi
147
137
  ```ts
148
138
  const client = new SnagSolutions();
149
139
 
150
- const response = await client.assets.createAsset({ fileName: 'REPLACE_ME' }).asResponse();
140
+ const response = await client.assets
141
+ .createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
142
+ .asResponse();
151
143
  console.log(response.headers.get('X-My-Header'));
152
144
  console.log(response.statusText); // access the underlying Response object
153
145
 
154
146
  const { data: response, response: raw } = await client.assets
155
- .createAsset({ fileName: 'REPLACE_ME' })
147
+ .createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
156
148
  .withResponse();
157
149
  console.log(raw.headers.get('X-My-Header'));
158
150
  console.log(response.signedUrl);
@@ -260,7 +252,7 @@ const client = new SnagSolutions({
260
252
 
261
253
  // Override per-request:
262
254
  await client.assets.createAsset(
263
- { fileName: 'REPLACE_ME' },
255
+ { fileName: 'REPLACE_ME', fileSize: 1024 },
264
256
  {
265
257
  httpAgent: new http.Agent({ keepAlive: false }),
266
258
  },