@stigg/typescript 0.1.0-beta.2 → 0.1.0-beta.21

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 (517) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts.map +1 -1
  9. package/client.d.ts.map +1 -1
  10. package/client.mjs.map +1 -1
  11. package/core/api-promise.d.mts.map +1 -1
  12. package/core/api-promise.d.ts.map +1 -1
  13. package/core/api-promise.mjs.map +1 -1
  14. package/core/error.mjs.map +1 -1
  15. package/core/pagination.d.mts.map +1 -1
  16. package/core/pagination.d.ts.map +1 -1
  17. package/core/pagination.mjs.map +1 -1
  18. package/core/resource.d.mts.map +1 -1
  19. package/core/resource.d.ts.map +1 -1
  20. package/core/uploads.d.mts.map +1 -1
  21. package/core/uploads.d.ts.map +1 -1
  22. package/core/uploads.mjs.map +1 -1
  23. package/error.d.mts +1 -0
  24. package/error.d.mts.map +1 -1
  25. package/error.d.ts +1 -0
  26. package/error.d.ts.map +1 -1
  27. package/error.mjs +1 -0
  28. package/error.mjs.map +1 -1
  29. package/index.d.mts.map +1 -1
  30. package/index.d.ts.map +1 -1
  31. package/index.mjs.map +1 -1
  32. package/internal/detect-platform.mjs.map +1 -1
  33. package/internal/headers.mjs.map +1 -1
  34. package/internal/parse.d.mts.map +1 -1
  35. package/internal/parse.d.ts.map +1 -1
  36. package/internal/parse.mjs.map +1 -1
  37. package/internal/qs/formats.d.mts.map +1 -1
  38. package/internal/qs/formats.d.ts.map +1 -1
  39. package/internal/qs/index.d.mts +2 -2
  40. package/internal/qs/index.d.mts.map +1 -1
  41. package/internal/qs/index.d.ts +2 -2
  42. package/internal/qs/index.d.ts.map +1 -1
  43. package/internal/qs/index.mjs.map +1 -1
  44. package/internal/qs/stringify.d.mts.map +1 -1
  45. package/internal/qs/stringify.d.ts.map +1 -1
  46. package/internal/qs/stringify.mjs.map +1 -1
  47. package/internal/qs/utils.d.mts.map +1 -1
  48. package/internal/qs/utils.d.ts.map +1 -1
  49. package/internal/qs/utils.mjs.map +1 -1
  50. package/internal/request-options.d.mts.map +1 -1
  51. package/internal/request-options.d.ts.map +1 -1
  52. package/internal/shims.d.mts +6 -0
  53. package/internal/shims.d.mts.map +1 -1
  54. package/internal/shims.d.ts +6 -0
  55. package/internal/shims.d.ts.map +1 -1
  56. package/internal/to-file.d.mts.map +1 -1
  57. package/internal/to-file.d.ts.map +1 -1
  58. package/internal/to-file.mjs.map +1 -1
  59. package/internal/types.d.mts +4 -4
  60. package/internal/types.d.mts.map +1 -1
  61. package/internal/types.d.ts +4 -4
  62. package/internal/types.d.ts.map +1 -1
  63. package/internal/uploads.d.mts.map +1 -1
  64. package/internal/uploads.d.ts.map +1 -1
  65. package/internal/uploads.mjs.map +1 -1
  66. package/internal/utils/base64.mjs.map +1 -1
  67. package/internal/utils/log.d.mts.map +1 -1
  68. package/internal/utils/log.d.ts.map +1 -1
  69. package/internal/utils/log.mjs.map +1 -1
  70. package/internal/utils/path.mjs.map +1 -1
  71. package/internal/utils/query.mjs.map +1 -1
  72. package/internal/utils/values.mjs.map +1 -1
  73. package/internal/utils.d.mts.map +1 -1
  74. package/internal/utils.d.ts.map +1 -1
  75. package/internal/utils.mjs.map +1 -1
  76. package/package.json +1 -1
  77. package/pagination.d.mts +1 -0
  78. package/pagination.d.mts.map +1 -1
  79. package/pagination.d.ts +1 -0
  80. package/pagination.d.ts.map +1 -1
  81. package/pagination.mjs +1 -0
  82. package/pagination.mjs.map +1 -1
  83. package/resource.d.mts +1 -0
  84. package/resource.d.mts.map +1 -1
  85. package/resource.d.ts +1 -0
  86. package/resource.d.ts.map +1 -1
  87. package/resource.mjs +1 -0
  88. package/resource.mjs.map +1 -1
  89. package/resources/index.d.mts.map +1 -1
  90. package/resources/index.d.ts.map +1 -1
  91. package/resources/index.mjs.map +1 -1
  92. package/resources/v1/addons/addons.d.mts +372 -32
  93. package/resources/v1/addons/addons.d.mts.map +1 -1
  94. package/resources/v1/addons/addons.d.ts +372 -32
  95. package/resources/v1/addons/addons.d.ts.map +1 -1
  96. package/resources/v1/addons/addons.js +173 -15
  97. package/resources/v1/addons/addons.js.map +1 -1
  98. package/resources/v1/addons/addons.mjs +173 -15
  99. package/resources/v1/addons/addons.mjs.map +1 -1
  100. package/resources/v1/addons/entitlements.d.mts +93 -5
  101. package/resources/v1/addons/entitlements.d.mts.map +1 -1
  102. package/resources/v1/addons/entitlements.d.ts +93 -5
  103. package/resources/v1/addons/entitlements.d.ts.map +1 -1
  104. package/resources/v1/addons/entitlements.js +80 -8
  105. package/resources/v1/addons/entitlements.js.map +1 -1
  106. package/resources/v1/addons/entitlements.mjs +80 -8
  107. package/resources/v1/addons/entitlements.mjs.map +1 -1
  108. package/resources/v1/addons/index.d.mts +2 -2
  109. package/resources/v1/addons/index.d.mts.map +1 -1
  110. package/resources/v1/addons/index.d.ts +2 -2
  111. package/resources/v1/addons/index.d.ts.map +1 -1
  112. package/resources/v1/addons/index.js.map +1 -1
  113. package/resources/v1/addons/index.mjs.map +1 -1
  114. package/resources/v1/addons.d.mts.map +1 -1
  115. package/resources/v1/addons.d.ts.map +1 -1
  116. package/resources/v1/addons.mjs.map +1 -1
  117. package/resources/v1/coupons.d.mts +117 -21
  118. package/resources/v1/coupons.d.mts.map +1 -1
  119. package/resources/v1/coupons.d.ts +117 -21
  120. package/resources/v1/coupons.d.ts.map +1 -1
  121. package/resources/v1/coupons.js +96 -9
  122. package/resources/v1/coupons.js.map +1 -1
  123. package/resources/v1/coupons.mjs +96 -9
  124. package/resources/v1/coupons.mjs.map +1 -1
  125. package/resources/v1/credits/credits.d.mts +212 -27
  126. package/resources/v1/credits/credits.d.mts.map +1 -1
  127. package/resources/v1/credits/credits.d.ts +212 -27
  128. package/resources/v1/credits/credits.d.ts.map +1 -1
  129. package/resources/v1/credits/credits.js +66 -7
  130. package/resources/v1/credits/credits.js.map +1 -1
  131. package/resources/v1/credits/credits.mjs +66 -7
  132. package/resources/v1/credits/credits.mjs.map +1 -1
  133. package/resources/v1/credits/custom-currencies.d.mts +150 -28
  134. package/resources/v1/credits/custom-currencies.d.mts.map +1 -1
  135. package/resources/v1/credits/custom-currencies.d.ts +150 -28
  136. package/resources/v1/credits/custom-currencies.d.ts.map +1 -1
  137. package/resources/v1/credits/custom-currencies.js +125 -12
  138. package/resources/v1/credits/custom-currencies.js.map +1 -1
  139. package/resources/v1/credits/custom-currencies.mjs +125 -12
  140. package/resources/v1/credits/custom-currencies.mjs.map +1 -1
  141. package/resources/v1/credits/grants.d.mts +91 -26
  142. package/resources/v1/credits/grants.d.mts.map +1 -1
  143. package/resources/v1/credits/grants.d.ts +91 -26
  144. package/resources/v1/credits/grants.d.ts.map +1 -1
  145. package/resources/v1/credits/grants.js +63 -5
  146. package/resources/v1/credits/grants.js.map +1 -1
  147. package/resources/v1/credits/grants.mjs +63 -5
  148. package/resources/v1/credits/grants.mjs.map +1 -1
  149. package/resources/v1/credits/index.d.mts +3 -4
  150. package/resources/v1/credits/index.d.mts.map +1 -1
  151. package/resources/v1/credits/index.d.ts +3 -4
  152. package/resources/v1/credits/index.d.ts.map +1 -1
  153. package/resources/v1/credits/index.js +1 -3
  154. package/resources/v1/credits/index.js.map +1 -1
  155. package/resources/v1/credits/index.mjs +0 -1
  156. package/resources/v1/credits/index.mjs.map +1 -1
  157. package/resources/v1/credits.d.mts.map +1 -1
  158. package/resources/v1/credits.d.ts.map +1 -1
  159. package/resources/v1/credits.mjs.map +1 -1
  160. package/resources/v1/customers/customers.d.mts +249 -55
  161. package/resources/v1/customers/customers.d.mts.map +1 -1
  162. package/resources/v1/customers/customers.d.ts +249 -55
  163. package/resources/v1/customers/customers.d.ts.map +1 -1
  164. package/resources/v1/customers/customers.js +201 -19
  165. package/resources/v1/customers/customers.js.map +1 -1
  166. package/resources/v1/customers/customers.mjs +201 -19
  167. package/resources/v1/customers/customers.mjs.map +1 -1
  168. package/resources/v1/customers/index.d.mts +2 -2
  169. package/resources/v1/customers/index.d.mts.map +1 -1
  170. package/resources/v1/customers/index.d.ts +2 -2
  171. package/resources/v1/customers/index.d.ts.map +1 -1
  172. package/resources/v1/customers/index.js.map +1 -1
  173. package/resources/v1/customers/index.mjs +1 -1
  174. package/resources/v1/customers/index.mjs.map +1 -1
  175. package/resources/v1/customers/integrations.d.mts +116 -14
  176. package/resources/v1/customers/integrations.d.mts.map +1 -1
  177. package/resources/v1/customers/integrations.d.ts +116 -14
  178. package/resources/v1/customers/integrations.d.ts.map +1 -1
  179. package/resources/v1/customers/integrations.js +104 -9
  180. package/resources/v1/customers/integrations.js.map +1 -1
  181. package/resources/v1/customers/integrations.mjs +104 -9
  182. package/resources/v1/customers/integrations.mjs.map +1 -1
  183. package/resources/v1/customers/payment-method.d.mts +48 -8
  184. package/resources/v1/customers/payment-method.d.mts.map +1 -1
  185. package/resources/v1/customers/payment-method.d.ts +48 -8
  186. package/resources/v1/customers/payment-method.d.ts.map +1 -1
  187. package/resources/v1/customers/payment-method.js +42 -4
  188. package/resources/v1/customers/payment-method.js.map +1 -1
  189. package/resources/v1/customers/payment-method.mjs +42 -4
  190. package/resources/v1/customers/payment-method.mjs.map +1 -1
  191. package/resources/v1/customers/promotional-entitlements.d.mts +93 -9
  192. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
  193. package/resources/v1/customers/promotional-entitlements.d.ts +93 -9
  194. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
  195. package/resources/v1/customers/promotional-entitlements.js +89 -6
  196. package/resources/v1/customers/promotional-entitlements.js.map +1 -1
  197. package/resources/v1/customers/promotional-entitlements.mjs +89 -6
  198. package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
  199. package/resources/v1/customers.d.mts.map +1 -1
  200. package/resources/v1/customers.d.ts.map +1 -1
  201. package/resources/v1/customers.mjs.map +1 -1
  202. package/resources/v1/events/beta/beta.d.mts +14 -0
  203. package/resources/v1/events/beta/beta.d.mts.map +1 -0
  204. package/resources/v1/events/beta/beta.d.ts +14 -0
  205. package/resources/v1/events/beta/beta.d.ts.map +1 -0
  206. package/resources/v1/events/beta/beta.js +21 -0
  207. package/resources/v1/events/beta/beta.js.map +1 -0
  208. package/resources/v1/events/beta/beta.mjs +16 -0
  209. package/resources/v1/events/beta/beta.mjs.map +1 -0
  210. package/resources/v1/events/beta/customers/assignments.d.mts +200 -0
  211. package/resources/v1/events/beta/customers/assignments.d.mts.map +1 -0
  212. package/resources/v1/events/beta/customers/assignments.d.ts +200 -0
  213. package/resources/v1/events/beta/customers/assignments.d.ts.map +1 -0
  214. package/resources/v1/events/beta/customers/assignments.js +85 -0
  215. package/resources/v1/events/beta/customers/assignments.js.map +1 -0
  216. package/resources/v1/events/beta/customers/assignments.mjs +81 -0
  217. package/resources/v1/events/beta/customers/assignments.mjs.map +1 -0
  218. package/resources/v1/events/beta/customers/customers.d.mts +18 -0
  219. package/resources/v1/events/beta/customers/customers.d.mts.map +1 -0
  220. package/resources/v1/events/beta/customers/customers.d.ts +18 -0
  221. package/resources/v1/events/beta/customers/customers.d.ts.map +1 -0
  222. package/resources/v1/events/beta/customers/customers.js +25 -0
  223. package/resources/v1/events/beta/customers/customers.js.map +1 -0
  224. package/resources/v1/events/beta/customers/customers.mjs +20 -0
  225. package/resources/v1/events/beta/customers/customers.mjs.map +1 -0
  226. package/resources/v1/events/beta/customers/entities.d.mts +360 -0
  227. package/resources/v1/events/beta/customers/entities.d.mts.map +1 -0
  228. package/resources/v1/events/beta/customers/entities.d.ts +360 -0
  229. package/resources/v1/events/beta/customers/entities.d.ts.map +1 -0
  230. package/resources/v1/events/beta/customers/entities.js +159 -0
  231. package/resources/v1/events/beta/customers/entities.js.map +1 -0
  232. package/resources/v1/events/beta/customers/entities.mjs +155 -0
  233. package/resources/v1/events/beta/customers/entities.mjs.map +1 -0
  234. package/resources/v1/events/beta/customers/entitlements.d.mts +251 -0
  235. package/resources/v1/events/beta/customers/entitlements.d.mts.map +1 -0
  236. package/resources/v1/events/beta/customers/entitlements.d.ts +251 -0
  237. package/resources/v1/events/beta/customers/entitlements.d.ts.map +1 -0
  238. package/resources/v1/events/beta/customers/entitlements.js +38 -0
  239. package/resources/v1/events/beta/customers/entitlements.js.map +1 -0
  240. package/resources/v1/events/beta/customers/entitlements.mjs +34 -0
  241. package/resources/v1/events/beta/customers/entitlements.mjs.map +1 -0
  242. package/resources/v1/events/beta/customers/index.d.mts +5 -0
  243. package/resources/v1/events/beta/customers/index.d.mts.map +1 -0
  244. package/resources/v1/events/beta/customers/index.d.ts +5 -0
  245. package/resources/v1/events/beta/customers/index.d.ts.map +1 -0
  246. package/resources/v1/events/beta/customers/index.js +13 -0
  247. package/resources/v1/events/beta/customers/index.js.map +1 -0
  248. package/resources/v1/events/beta/customers/index.mjs +6 -0
  249. package/resources/v1/events/beta/customers/index.mjs.map +1 -0
  250. package/resources/v1/events/beta/customers.d.mts +2 -0
  251. package/resources/v1/events/beta/customers.d.mts.map +1 -0
  252. package/resources/v1/events/beta/customers.d.ts +2 -0
  253. package/resources/v1/events/beta/customers.d.ts.map +1 -0
  254. package/resources/v1/events/beta/customers.js +6 -0
  255. package/resources/v1/events/beta/customers.js.map +1 -0
  256. package/resources/v1/events/beta/customers.mjs +3 -0
  257. package/resources/v1/events/beta/customers.mjs.map +1 -0
  258. package/resources/v1/events/beta/entity-types.d.mts +166 -0
  259. package/resources/v1/events/beta/entity-types.d.mts.map +1 -0
  260. package/resources/v1/events/beta/entity-types.d.ts +166 -0
  261. package/resources/v1/events/beta/entity-types.d.ts.map +1 -0
  262. package/resources/v1/events/beta/entity-types.js +76 -0
  263. package/resources/v1/events/beta/entity-types.js.map +1 -0
  264. package/resources/v1/events/beta/entity-types.mjs +72 -0
  265. package/resources/v1/events/beta/entity-types.mjs.map +1 -0
  266. package/resources/v1/events/beta/index.d.mts +4 -0
  267. package/resources/v1/events/beta/index.d.mts.map +1 -0
  268. package/resources/v1/events/beta/index.d.ts +4 -0
  269. package/resources/v1/events/beta/index.d.ts.map +1 -0
  270. package/resources/v1/events/beta/index.js +11 -0
  271. package/resources/v1/events/beta/index.js.map +1 -0
  272. package/resources/v1/events/beta/index.mjs +5 -0
  273. package/resources/v1/events/beta/index.mjs.map +1 -0
  274. package/resources/v1/events/beta.d.mts +2 -0
  275. package/resources/v1/events/beta.d.mts.map +1 -0
  276. package/resources/v1/events/beta.d.ts +2 -0
  277. package/resources/v1/events/beta.d.ts.map +1 -0
  278. package/resources/v1/events/beta.js +6 -0
  279. package/resources/v1/events/beta.js.map +1 -0
  280. package/resources/v1/events/beta.mjs +3 -0
  281. package/resources/v1/events/beta.mjs.map +1 -0
  282. package/resources/v1/events/data-export/data-export.d.mts +126 -0
  283. package/resources/v1/events/data-export/data-export.d.mts.map +1 -0
  284. package/resources/v1/events/data-export/data-export.d.ts +126 -0
  285. package/resources/v1/events/data-export/data-export.d.ts.map +1 -0
  286. package/resources/v1/events/data-export/data-export.js +45 -0
  287. package/resources/v1/events/data-export/data-export.js.map +1 -0
  288. package/resources/v1/events/data-export/data-export.mjs +40 -0
  289. package/resources/v1/events/data-export/data-export.mjs.map +1 -0
  290. package/resources/v1/events/data-export/destinations.d.mts +202 -0
  291. package/resources/v1/events/data-export/destinations.d.mts.map +1 -0
  292. package/resources/v1/events/data-export/destinations.d.ts +202 -0
  293. package/resources/v1/events/data-export/destinations.d.ts.map +1 -0
  294. package/resources/v1/events/data-export/destinations.js +41 -0
  295. package/resources/v1/events/data-export/destinations.js.map +1 -0
  296. package/resources/v1/events/data-export/destinations.mjs +37 -0
  297. package/resources/v1/events/data-export/destinations.mjs.map +1 -0
  298. package/resources/v1/events/data-export/index.d.mts +3 -0
  299. package/resources/v1/events/data-export/index.d.mts.map +1 -0
  300. package/resources/v1/events/data-export/index.d.ts +3 -0
  301. package/resources/v1/events/data-export/index.d.ts.map +1 -0
  302. package/resources/v1/events/data-export/index.js +9 -0
  303. package/resources/v1/events/data-export/index.js.map +1 -0
  304. package/resources/v1/events/data-export/index.mjs +4 -0
  305. package/resources/v1/events/data-export/index.mjs.map +1 -0
  306. package/resources/v1/events/data-export.d.mts +2 -0
  307. package/resources/v1/events/data-export.d.mts.map +1 -0
  308. package/resources/v1/events/data-export.d.ts +2 -0
  309. package/resources/v1/events/data-export.d.ts.map +1 -0
  310. package/resources/v1/events/data-export.js +6 -0
  311. package/resources/v1/events/data-export.js.map +1 -0
  312. package/resources/v1/events/data-export.mjs +3 -0
  313. package/resources/v1/events/data-export.mjs.map +1 -0
  314. package/resources/v1/events/events.d.mts +98 -0
  315. package/resources/v1/events/events.d.mts.map +1 -0
  316. package/resources/v1/events/events.d.ts +98 -0
  317. package/resources/v1/events/events.d.ts.map +1 -0
  318. package/resources/v1/events/events.js +56 -0
  319. package/resources/v1/events/events.js.map +1 -0
  320. package/resources/v1/events/events.mjs +51 -0
  321. package/resources/v1/events/events.mjs.map +1 -0
  322. package/resources/v1/events/index.d.mts +4 -0
  323. package/resources/v1/events/index.d.mts.map +1 -0
  324. package/resources/v1/events/index.d.ts +4 -0
  325. package/resources/v1/events/index.d.ts.map +1 -0
  326. package/resources/v1/events/index.js +11 -0
  327. package/resources/v1/events/index.js.map +1 -0
  328. package/resources/v1/events/index.mjs +5 -0
  329. package/resources/v1/events/index.mjs.map +1 -0
  330. package/resources/v1/events.d.mts +1 -65
  331. package/resources/v1/events.d.mts.map +1 -1
  332. package/resources/v1/events.d.ts +1 -65
  333. package/resources/v1/events.d.ts.map +1 -1
  334. package/resources/v1/events.js +2 -15
  335. package/resources/v1/events.js.map +1 -1
  336. package/resources/v1/events.mjs +1 -13
  337. package/resources/v1/events.mjs.map +1 -1
  338. package/resources/v1/features.d.mts +152 -31
  339. package/resources/v1/features.d.mts.map +1 -1
  340. package/resources/v1/features.d.ts +152 -31
  341. package/resources/v1/features.d.ts.map +1 -1
  342. package/resources/v1/features.js +115 -11
  343. package/resources/v1/features.js.map +1 -1
  344. package/resources/v1/features.mjs +115 -11
  345. package/resources/v1/features.mjs.map +1 -1
  346. package/resources/v1/index.d.mts +9 -9
  347. package/resources/v1/index.d.mts.map +1 -1
  348. package/resources/v1/index.d.ts +9 -9
  349. package/resources/v1/index.d.ts.map +1 -1
  350. package/resources/v1/index.js +6 -6
  351. package/resources/v1/index.js.map +1 -1
  352. package/resources/v1/index.mjs +1 -1
  353. package/resources/v1/index.mjs.map +1 -1
  354. package/resources/v1/plans/entitlements.d.mts +93 -5
  355. package/resources/v1/plans/entitlements.d.mts.map +1 -1
  356. package/resources/v1/plans/entitlements.d.ts +93 -5
  357. package/resources/v1/plans/entitlements.d.ts.map +1 -1
  358. package/resources/v1/plans/entitlements.js +80 -8
  359. package/resources/v1/plans/entitlements.js.map +1 -1
  360. package/resources/v1/plans/entitlements.mjs +80 -8
  361. package/resources/v1/plans/entitlements.mjs.map +1 -1
  362. package/resources/v1/plans/index.d.mts +2 -2
  363. package/resources/v1/plans/index.d.mts.map +1 -1
  364. package/resources/v1/plans/index.d.ts +2 -2
  365. package/resources/v1/plans/index.d.ts.map +1 -1
  366. package/resources/v1/plans/index.js.map +1 -1
  367. package/resources/v1/plans/index.mjs.map +1 -1
  368. package/resources/v1/plans/plans.d.mts +565 -32
  369. package/resources/v1/plans/plans.d.mts.map +1 -1
  370. package/resources/v1/plans/plans.d.ts +565 -32
  371. package/resources/v1/plans/plans.d.ts.map +1 -1
  372. package/resources/v1/plans/plans.js +204 -16
  373. package/resources/v1/plans/plans.js.map +1 -1
  374. package/resources/v1/plans/plans.mjs +204 -16
  375. package/resources/v1/plans/plans.mjs.map +1 -1
  376. package/resources/v1/plans.d.mts.map +1 -1
  377. package/resources/v1/plans.d.ts.map +1 -1
  378. package/resources/v1/plans.mjs.map +1 -1
  379. package/resources/v1/products.d.mts +140 -23
  380. package/resources/v1/products.d.mts.map +1 -1
  381. package/resources/v1/products.d.ts +140 -23
  382. package/resources/v1/products.d.ts.map +1 -1
  383. package/resources/v1/products.js +116 -11
  384. package/resources/v1/products.js.map +1 -1
  385. package/resources/v1/products.mjs +116 -11
  386. package/resources/v1/products.mjs.map +1 -1
  387. package/resources/v1/subscriptions/future-update.d.mts +45 -3
  388. package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
  389. package/resources/v1/subscriptions/future-update.d.ts +45 -3
  390. package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
  391. package/resources/v1/subscriptions/future-update.js +41 -4
  392. package/resources/v1/subscriptions/future-update.js.map +1 -1
  393. package/resources/v1/subscriptions/future-update.mjs +41 -4
  394. package/resources/v1/subscriptions/future-update.mjs.map +1 -1
  395. package/resources/v1/subscriptions/index.d.mts +4 -4
  396. package/resources/v1/subscriptions/index.d.mts.map +1 -1
  397. package/resources/v1/subscriptions/index.d.ts +4 -4
  398. package/resources/v1/subscriptions/index.d.ts.map +1 -1
  399. package/resources/v1/subscriptions/index.js.map +1 -1
  400. package/resources/v1/subscriptions/index.mjs +1 -1
  401. package/resources/v1/subscriptions/index.mjs.map +1 -1
  402. package/resources/v1/subscriptions/invoice.d.mts +21 -2
  403. package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
  404. package/resources/v1/subscriptions/invoice.d.ts +21 -2
  405. package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
  406. package/resources/v1/subscriptions/invoice.js +19 -2
  407. package/resources/v1/subscriptions/invoice.js.map +1 -1
  408. package/resources/v1/subscriptions/invoice.mjs +19 -2
  409. package/resources/v1/subscriptions/invoice.mjs.map +1 -1
  410. package/resources/v1/subscriptions/subscriptions.d.mts +341 -85
  411. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  412. package/resources/v1/subscriptions/subscriptions.d.ts +341 -85
  413. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  414. package/resources/v1/subscriptions/subscriptions.js +207 -19
  415. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  416. package/resources/v1/subscriptions/subscriptions.mjs +209 -21
  417. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  418. package/resources/v1/subscriptions/usage.d.mts +42 -4
  419. package/resources/v1/subscriptions/usage.d.mts.map +1 -1
  420. package/resources/v1/subscriptions/usage.d.ts +42 -4
  421. package/resources/v1/subscriptions/usage.d.ts.map +1 -1
  422. package/resources/v1/subscriptions/usage.js +39 -4
  423. package/resources/v1/subscriptions/usage.js.map +1 -1
  424. package/resources/v1/subscriptions/usage.mjs +39 -4
  425. package/resources/v1/subscriptions/usage.mjs.map +1 -1
  426. package/resources/v1/subscriptions.d.mts.map +1 -1
  427. package/resources/v1/subscriptions.d.ts.map +1 -1
  428. package/resources/v1/subscriptions.mjs.map +1 -1
  429. package/resources/v1/usage.d.mts +48 -2
  430. package/resources/v1/usage.d.mts.map +1 -1
  431. package/resources/v1/usage.d.ts +48 -2
  432. package/resources/v1/usage.d.ts.map +1 -1
  433. package/resources/v1/usage.js +50 -4
  434. package/resources/v1/usage.js.map +1 -1
  435. package/resources/v1/usage.mjs +50 -4
  436. package/resources/v1/usage.mjs.map +1 -1
  437. package/resources/v1/v1.d.mts +18 -18
  438. package/resources/v1/v1.d.mts.map +1 -1
  439. package/resources/v1/v1.d.ts +18 -18
  440. package/resources/v1/v1.d.ts.map +1 -1
  441. package/resources/v1/v1.js +2 -2
  442. package/resources/v1/v1.js.map +1 -1
  443. package/resources/v1/v1.mjs +2 -2
  444. package/resources/v1/v1.mjs.map +1 -1
  445. package/resources/v1.d.mts.map +1 -1
  446. package/resources/v1.d.ts.map +1 -1
  447. package/resources/v1.mjs.map +1 -1
  448. package/resources.d.mts.map +1 -1
  449. package/resources.d.ts.map +1 -1
  450. package/resources.mjs.map +1 -1
  451. package/src/resources/v1/addons/addons.ts +908 -36
  452. package/src/resources/v1/addons/entitlements.ts +154 -10
  453. package/src/resources/v1/addons/index.ts +8 -0
  454. package/src/resources/v1/coupons.ts +194 -27
  455. package/src/resources/v1/credits/credits.ts +287 -35
  456. package/src/resources/v1/credits/custom-currencies.ts +245 -38
  457. package/src/resources/v1/credits/grants.ts +132 -26
  458. package/src/resources/v1/credits/index.ts +7 -6
  459. package/src/resources/v1/customers/customers.ts +415 -67
  460. package/src/resources/v1/customers/index.ts +8 -1
  461. package/src/resources/v1/customers/integrations.ts +184 -18
  462. package/src/resources/v1/customers/payment-method.ts +85 -10
  463. package/src/resources/v1/customers/promotional-entitlements.ts +133 -11
  464. package/src/resources/v1/events/beta/beta.ts +35 -0
  465. package/src/resources/v1/events/beta/customers/assignments.ts +277 -0
  466. package/src/resources/v1/events/beta/customers/customers.ts +71 -0
  467. package/src/resources/v1/events/beta/customers/entities.ts +501 -0
  468. package/src/resources/v1/events/beta/customers/entitlements.ts +354 -0
  469. package/src/resources/v1/events/beta/customers/index.ts +26 -0
  470. package/src/resources/v1/events/beta/customers.ts +3 -0
  471. package/src/resources/v1/events/beta/entity-types.ts +226 -0
  472. package/src/resources/v1/events/beta/index.ts +12 -0
  473. package/src/resources/v1/events/beta.ts +3 -0
  474. package/src/resources/v1/events/data-export/data-export.ts +170 -0
  475. package/src/resources/v1/events/data-export/destinations.ts +243 -0
  476. package/src/resources/v1/events/data-export/index.ts +15 -0
  477. package/src/resources/v1/events/data-export.ts +3 -0
  478. package/src/resources/v1/events/events.ts +141 -0
  479. package/src/resources/v1/events/index.ts +11 -0
  480. package/src/resources/v1/events.ts +1 -75
  481. package/src/resources/v1/features.ts +252 -39
  482. package/src/resources/v1/index.ts +31 -1
  483. package/src/resources/v1/plans/entitlements.ts +154 -10
  484. package/src/resources/v1/plans/index.ts +11 -0
  485. package/src/resources/v1/plans/plans.ts +1509 -37
  486. package/src/resources/v1/products.ts +235 -30
  487. package/src/resources/v1/subscriptions/future-update.ts +84 -5
  488. package/src/resources/v1/subscriptions/index.ts +9 -2
  489. package/src/resources/v1/subscriptions/invoice.ts +42 -3
  490. package/src/resources/v1/subscriptions/subscriptions.ts +509 -90
  491. package/src/resources/v1/subscriptions/usage.ts +74 -5
  492. package/src/resources/v1/usage.ts +77 -5
  493. package/src/resources/v1/v1.ts +62 -2
  494. package/src/version.ts +1 -1
  495. package/uploads.d.mts +1 -0
  496. package/uploads.d.mts.map +1 -1
  497. package/uploads.d.ts +1 -0
  498. package/uploads.d.ts.map +1 -1
  499. package/uploads.mjs +1 -0
  500. package/uploads.mjs.map +1 -1
  501. package/version.d.mts +1 -1
  502. package/version.d.mts.map +1 -1
  503. package/version.d.ts +1 -1
  504. package/version.d.ts.map +1 -1
  505. package/version.js +1 -1
  506. package/version.js.map +1 -1
  507. package/version.mjs +1 -1
  508. package/version.mjs.map +1 -1
  509. package/resources/v1/credits/auto-recharge.d.mts +0 -84
  510. package/resources/v1/credits/auto-recharge.d.mts.map +0 -1
  511. package/resources/v1/credits/auto-recharge.d.ts +0 -84
  512. package/resources/v1/credits/auto-recharge.d.ts.map +0 -1
  513. package/resources/v1/credits/auto-recharge.js +0 -16
  514. package/resources/v1/credits/auto-recharge.js.map +0 -1
  515. package/resources/v1/credits/auto-recharge.mjs +0 -12
  516. package/resources/v1/credits/auto-recharge.mjs.map +0 -1
  517. package/src/resources/v1/credits/auto-recharge.ts +0 -109
@@ -8,46 +8,95 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
8
8
  export declare class CustomCurrencies extends APIResource {
9
9
  /**
10
10
  * Creates a new custom currency in the environment.
11
- */
12
- create(body: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrency>;
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const customCurrencyResponse =
15
+ * await client.v1.credits.customCurrencies.create({
16
+ * id: 'id',
17
+ * displayName: 'displayName',
18
+ * });
19
+ * ```
20
+ */
21
+ create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
13
22
  /**
14
23
  * Updates an existing custom currency. Only the supplied fields are modified.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const customCurrencyResponse =
28
+ * await client.v1.credits.customCurrencies.update(
29
+ * 'currencyId',
30
+ * );
31
+ * ```
15
32
  */
16
- update(currencyID: string, body: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrency>;
33
+ update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
17
34
  /**
18
35
  * Retrieves a paginated list of custom currencies in the environment. Archived
19
36
  * currencies are excluded by default; pass `status=ARCHIVED` (or
20
37
  * `status=ACTIVE,ARCHIVED`) to include them.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * // Automatically fetches more pages as needed.
42
+ * for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
43
+ * // ...
44
+ * }
45
+ * ```
21
46
  */
22
- list(query?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
47
+ list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
23
48
  /**
24
49
  * Archives a custom currency. Fails if the currency is still associated with any
25
50
  * active plan or addon — use the associated-entities endpoint first to inspect
26
51
  * dependencies.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const customCurrencyResponse =
56
+ * await client.v1.credits.customCurrencies.archive(
57
+ * 'currencyId',
58
+ * );
59
+ * ```
27
60
  */
28
- archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency>;
61
+ archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
29
62
  /**
30
63
  * Lists the active plans and addons that reference a custom currency. Useful
31
64
  * before archiving to inspect dependencies.
65
+ *
66
+ * @example
67
+ * ```ts
68
+ * const response =
69
+ * await client.v1.credits.customCurrencies.listAssociatedEntities(
70
+ * 'currencyId',
71
+ * );
72
+ * ```
32
73
  */
33
- listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
74
+ listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
34
75
  /**
35
76
  * Restores a previously archived custom currency. Fails if another active currency
36
77
  * with the same ID already exists.
37
- */
38
- unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency>;
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * const customCurrencyResponse =
82
+ * await client.v1.credits.customCurrencies.unarchive(
83
+ * 'currencyId',
84
+ * );
85
+ * ```
86
+ */
87
+ unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
39
88
  }
40
89
  export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
41
90
  /**
42
91
  * Response object
43
92
  */
44
- export interface CustomCurrency {
93
+ export interface CustomCurrencyResponse {
45
94
  /**
46
95
  * A custom currency used to denominate credit-based entitlements and pricing
47
96
  */
48
- data: CustomCurrency.Data;
97
+ data: CustomCurrencyResponse.Data;
49
98
  }
50
- export declare namespace CustomCurrency {
99
+ export declare namespace CustomCurrencyResponse {
51
100
  /**
52
101
  * A custom currency used to denominate credit-based entitlements and pricing
53
102
  */
@@ -192,32 +241,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
192
241
  }
193
242
  export interface CustomCurrencyCreateParams {
194
243
  /**
195
- * The unique identifier for the new custom currency
244
+ * Body param: The unique identifier for the new custom currency
196
245
  */
197
246
  id: string;
198
247
  /**
199
- * The display name of the custom currency
248
+ * Body param: The display name of the custom currency
200
249
  */
201
250
  displayName: string;
202
251
  /**
203
- * Description of the currency
252
+ * Body param: Description of the currency
204
253
  */
205
254
  description?: string;
206
255
  /**
207
- * Additional metadata to attach to the custom currency
256
+ * Body param: Additional metadata to attach to the custom currency
208
257
  */
209
258
  metadata?: {
210
259
  [key: string]: string;
211
260
  };
212
261
  /**
213
- * The symbol used to represent the custom currency
262
+ * Body param: The symbol used to represent the custom currency
214
263
  */
215
264
  symbol?: string;
216
265
  /**
217
- * Singular and plural unit labels for a custom currency. Both fields are required
218
- * when supplied.
266
+ * Body param: Singular and plural unit labels for a custom currency. Both fields
267
+ * are required when supplied.
219
268
  */
220
269
  units?: CustomCurrencyCreateParams.Units;
270
+ /**
271
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
272
+ * token); falls back to the user's first membership. Ignored for API-key auth.
273
+ */
274
+ 'X-ACCOUNT-ID'?: string;
275
+ /**
276
+ * Header param: Environment ID — required when authenticating with a user JWT
277
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
278
+ * intrinsic to the key).
279
+ */
280
+ 'X-ENVIRONMENT-ID'?: string;
221
281
  }
222
282
  export declare namespace CustomCurrencyCreateParams {
223
283
  /**
@@ -237,29 +297,41 @@ export declare namespace CustomCurrencyCreateParams {
237
297
  }
238
298
  export interface CustomCurrencyUpdateParams {
239
299
  /**
240
- * A human-readable description of the custom currency. Send an empty string to
241
- * clear.
300
+ * Body param: A human-readable description of the custom currency. Send an empty
301
+ * string to clear.
242
302
  */
243
303
  description?: string | null;
244
304
  /**
245
- * The display name of the custom currency
305
+ * Body param: The display name of the custom currency
246
306
  */
247
307
  displayName?: string;
248
308
  /**
249
- * Additional metadata to attach to the custom currency
309
+ * Body param: Additional metadata to attach to the custom currency
250
310
  */
251
311
  metadata?: {
252
312
  [key: string]: string;
253
313
  } | null;
254
314
  /**
255
- * The symbol used to represent the custom currency. Send an empty string to clear.
315
+ * Body param: The symbol used to represent the custom currency. Send an empty
316
+ * string to clear.
256
317
  */
257
318
  symbol?: string | null;
258
319
  /**
259
- * Singular and plural unit labels for a custom currency. Both fields are required
260
- * when supplied.
320
+ * Body param: Singular and plural unit labels for a custom currency. Both fields
321
+ * are required when supplied.
261
322
  */
262
323
  units?: CustomCurrencyUpdateParams.Units;
324
+ /**
325
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
326
+ * token); falls back to the user's first membership. Ignored for API-key auth.
327
+ */
328
+ 'X-ACCOUNT-ID'?: string;
329
+ /**
330
+ * Header param: Environment ID — required when authenticating with a user JWT
331
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
332
+ * intrinsic to the key).
333
+ */
334
+ 'X-ENVIRONMENT-ID'?: string;
263
335
  }
264
336
  export declare namespace CustomCurrencyUpdateParams {
265
337
  /**
@@ -279,12 +351,62 @@ export declare namespace CustomCurrencyUpdateParams {
279
351
  }
280
352
  export interface CustomCurrencyListParams extends MyCursorIDPageParams {
281
353
  /**
282
- * Filter by custom currency status. Supports comma-separated values (e.g.,
283
- * `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
354
+ * Query param: Filter by custom currency status. Supports comma-separated values
355
+ * (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
284
356
  */
285
357
  status?: Array<'ACTIVE' | 'ARCHIVED'>;
358
+ /**
359
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
360
+ * token); falls back to the user's first membership. Ignored for API-key auth.
361
+ */
362
+ 'X-ACCOUNT-ID'?: string;
363
+ /**
364
+ * Header param: Environment ID — required when authenticating with a user JWT
365
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
366
+ * intrinsic to the key).
367
+ */
368
+ 'X-ENVIRONMENT-ID'?: string;
369
+ }
370
+ export interface CustomCurrencyArchiveParams {
371
+ /**
372
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
373
+ * back to the user's first membership. Ignored for API-key auth.
374
+ */
375
+ 'X-ACCOUNT-ID'?: string;
376
+ /**
377
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
378
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
379
+ * key).
380
+ */
381
+ 'X-ENVIRONMENT-ID'?: string;
382
+ }
383
+ export interface CustomCurrencyListAssociatedEntitiesParams {
384
+ /**
385
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
386
+ * back to the user's first membership. Ignored for API-key auth.
387
+ */
388
+ 'X-ACCOUNT-ID'?: string;
389
+ /**
390
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
391
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
392
+ * key).
393
+ */
394
+ 'X-ENVIRONMENT-ID'?: string;
395
+ }
396
+ export interface CustomCurrencyUnarchiveParams {
397
+ /**
398
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
399
+ * back to the user's first membership. Ignored for API-key auth.
400
+ */
401
+ 'X-ACCOUNT-ID'?: string;
402
+ /**
403
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
404
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
405
+ * key).
406
+ */
407
+ 'X-ENVIRONMENT-ID'?: string;
286
408
  }
287
409
  export declare namespace CustomCurrencies {
288
- export { type CustomCurrency as CustomCurrency, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, };
410
+ export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
289
411
  }
290
412
  //# sourceMappingURL=custom-currencies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI9F;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAI7B;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAQrF;;;;OAIG;IACH,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAIjF;;;OAGG;IACH,sBAAsB,CACpB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4CAA4C,CAAC;IAO3D;;;OAGG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;CAGpF;AAED,MAAM,MAAM,yCAAyC,GAAG,cAAc,CAAC,0BAA0B,CAAC,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC,IAAI,C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IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAE5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;;OAGG;IACH,KAAK,CAAC,EAAE,0BAA0B,CAAC,KAAK,CAAC;CAC1C;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
1
+ {"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,qCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO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AAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -8,46 +8,95 @@ import { RequestOptions } from "../../../internal/request-options.js";
8
8
  export declare class CustomCurrencies extends APIResource {
9
9
  /**
10
10
  * Creates a new custom currency in the environment.
11
- */
12
- create(body: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrency>;
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const customCurrencyResponse =
15
+ * await client.v1.credits.customCurrencies.create({
16
+ * id: 'id',
17
+ * displayName: 'displayName',
18
+ * });
19
+ * ```
20
+ */
21
+ create(params: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
13
22
  /**
14
23
  * Updates an existing custom currency. Only the supplied fields are modified.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const customCurrencyResponse =
28
+ * await client.v1.credits.customCurrencies.update(
29
+ * 'currencyId',
30
+ * );
31
+ * ```
15
32
  */
16
- update(currencyID: string, body: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrency>;
33
+ update(currencyID: string, params: CustomCurrencyUpdateParams, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
17
34
  /**
18
35
  * Retrieves a paginated list of custom currencies in the environment. Archived
19
36
  * currencies are excluded by default; pass `status=ARCHIVED` (or
20
37
  * `status=ACTIVE,ARCHIVED`) to include them.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * // Automatically fetches more pages as needed.
42
+ * for await (const customCurrencyListResponse of client.v1.credits.customCurrencies.list()) {
43
+ * // ...
44
+ * }
45
+ * ```
21
46
  */
22
- list(query?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
47
+ list(params?: CustomCurrencyListParams | null | undefined, options?: RequestOptions): PagePromise<CustomCurrencyListResponsesMyCursorIDPage, CustomCurrencyListResponse>;
23
48
  /**
24
49
  * Archives a custom currency. Fails if the currency is still associated with any
25
50
  * active plan or addon — use the associated-entities endpoint first to inspect
26
51
  * dependencies.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const customCurrencyResponse =
56
+ * await client.v1.credits.customCurrencies.archive(
57
+ * 'currencyId',
58
+ * );
59
+ * ```
27
60
  */
28
- archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency>;
61
+ archive(currencyID: string, params?: CustomCurrencyArchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
29
62
  /**
30
63
  * Lists the active plans and addons that reference a custom currency. Useful
31
64
  * before archiving to inspect dependencies.
65
+ *
66
+ * @example
67
+ * ```ts
68
+ * const response =
69
+ * await client.v1.credits.customCurrencies.listAssociatedEntities(
70
+ * 'currencyId',
71
+ * );
72
+ * ```
32
73
  */
33
- listAssociatedEntities(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
74
+ listAssociatedEntities(currencyID: string, params?: CustomCurrencyListAssociatedEntitiesParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyListAssociatedEntitiesResponse>;
34
75
  /**
35
76
  * Restores a previously archived custom currency. Fails if another active currency
36
77
  * with the same ID already exists.
37
- */
38
- unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency>;
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * const customCurrencyResponse =
82
+ * await client.v1.credits.customCurrencies.unarchive(
83
+ * 'currencyId',
84
+ * );
85
+ * ```
86
+ */
87
+ unarchive(currencyID: string, params?: CustomCurrencyUnarchiveParams | null | undefined, options?: RequestOptions): APIPromise<CustomCurrencyResponse>;
39
88
  }
40
89
  export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCurrencyListResponse>;
41
90
  /**
42
91
  * Response object
43
92
  */
44
- export interface CustomCurrency {
93
+ export interface CustomCurrencyResponse {
45
94
  /**
46
95
  * A custom currency used to denominate credit-based entitlements and pricing
47
96
  */
48
- data: CustomCurrency.Data;
97
+ data: CustomCurrencyResponse.Data;
49
98
  }
50
- export declare namespace CustomCurrency {
99
+ export declare namespace CustomCurrencyResponse {
51
100
  /**
52
101
  * A custom currency used to denominate credit-based entitlements and pricing
53
102
  */
@@ -192,32 +241,43 @@ export declare namespace CustomCurrencyListAssociatedEntitiesResponse {
192
241
  }
193
242
  export interface CustomCurrencyCreateParams {
194
243
  /**
195
- * The unique identifier for the new custom currency
244
+ * Body param: The unique identifier for the new custom currency
196
245
  */
197
246
  id: string;
198
247
  /**
199
- * The display name of the custom currency
248
+ * Body param: The display name of the custom currency
200
249
  */
201
250
  displayName: string;
202
251
  /**
203
- * Description of the currency
252
+ * Body param: Description of the currency
204
253
  */
205
254
  description?: string;
206
255
  /**
207
- * Additional metadata to attach to the custom currency
256
+ * Body param: Additional metadata to attach to the custom currency
208
257
  */
209
258
  metadata?: {
210
259
  [key: string]: string;
211
260
  };
212
261
  /**
213
- * The symbol used to represent the custom currency
262
+ * Body param: The symbol used to represent the custom currency
214
263
  */
215
264
  symbol?: string;
216
265
  /**
217
- * Singular and plural unit labels for a custom currency. Both fields are required
218
- * when supplied.
266
+ * Body param: Singular and plural unit labels for a custom currency. Both fields
267
+ * are required when supplied.
219
268
  */
220
269
  units?: CustomCurrencyCreateParams.Units;
270
+ /**
271
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
272
+ * token); falls back to the user's first membership. Ignored for API-key auth.
273
+ */
274
+ 'X-ACCOUNT-ID'?: string;
275
+ /**
276
+ * Header param: Environment ID — required when authenticating with a user JWT
277
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
278
+ * intrinsic to the key).
279
+ */
280
+ 'X-ENVIRONMENT-ID'?: string;
221
281
  }
222
282
  export declare namespace CustomCurrencyCreateParams {
223
283
  /**
@@ -237,29 +297,41 @@ export declare namespace CustomCurrencyCreateParams {
237
297
  }
238
298
  export interface CustomCurrencyUpdateParams {
239
299
  /**
240
- * A human-readable description of the custom currency. Send an empty string to
241
- * clear.
300
+ * Body param: A human-readable description of the custom currency. Send an empty
301
+ * string to clear.
242
302
  */
243
303
  description?: string | null;
244
304
  /**
245
- * The display name of the custom currency
305
+ * Body param: The display name of the custom currency
246
306
  */
247
307
  displayName?: string;
248
308
  /**
249
- * Additional metadata to attach to the custom currency
309
+ * Body param: Additional metadata to attach to the custom currency
250
310
  */
251
311
  metadata?: {
252
312
  [key: string]: string;
253
313
  } | null;
254
314
  /**
255
- * The symbol used to represent the custom currency. Send an empty string to clear.
315
+ * Body param: The symbol used to represent the custom currency. Send an empty
316
+ * string to clear.
256
317
  */
257
318
  symbol?: string | null;
258
319
  /**
259
- * Singular and plural unit labels for a custom currency. Both fields are required
260
- * when supplied.
320
+ * Body param: Singular and plural unit labels for a custom currency. Both fields
321
+ * are required when supplied.
261
322
  */
262
323
  units?: CustomCurrencyUpdateParams.Units;
324
+ /**
325
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
326
+ * token); falls back to the user's first membership. Ignored for API-key auth.
327
+ */
328
+ 'X-ACCOUNT-ID'?: string;
329
+ /**
330
+ * Header param: Environment ID — required when authenticating with a user JWT
331
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
332
+ * intrinsic to the key).
333
+ */
334
+ 'X-ENVIRONMENT-ID'?: string;
263
335
  }
264
336
  export declare namespace CustomCurrencyUpdateParams {
265
337
  /**
@@ -279,12 +351,62 @@ export declare namespace CustomCurrencyUpdateParams {
279
351
  }
280
352
  export interface CustomCurrencyListParams extends MyCursorIDPageParams {
281
353
  /**
282
- * Filter by custom currency status. Supports comma-separated values (e.g.,
283
- * `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
354
+ * Query param: Filter by custom currency status. Supports comma-separated values
355
+ * (e.g., `ACTIVE,ARCHIVED`). Defaults to `ACTIVE`.
284
356
  */
285
357
  status?: Array<'ACTIVE' | 'ARCHIVED'>;
358
+ /**
359
+ * Header param: Account ID — optional when authenticating with a user JWT (Bearer
360
+ * token); falls back to the user's first membership. Ignored for API-key auth.
361
+ */
362
+ 'X-ACCOUNT-ID'?: string;
363
+ /**
364
+ * Header param: Environment ID — required when authenticating with a user JWT
365
+ * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
366
+ * intrinsic to the key).
367
+ */
368
+ 'X-ENVIRONMENT-ID'?: string;
369
+ }
370
+ export interface CustomCurrencyArchiveParams {
371
+ /**
372
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
373
+ * back to the user's first membership. Ignored for API-key auth.
374
+ */
375
+ 'X-ACCOUNT-ID'?: string;
376
+ /**
377
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
378
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
379
+ * key).
380
+ */
381
+ 'X-ENVIRONMENT-ID'?: string;
382
+ }
383
+ export interface CustomCurrencyListAssociatedEntitiesParams {
384
+ /**
385
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
386
+ * back to the user's first membership. Ignored for API-key auth.
387
+ */
388
+ 'X-ACCOUNT-ID'?: string;
389
+ /**
390
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
391
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
392
+ * key).
393
+ */
394
+ 'X-ENVIRONMENT-ID'?: string;
395
+ }
396
+ export interface CustomCurrencyUnarchiveParams {
397
+ /**
398
+ * Account ID — optional when authenticating with a user JWT (Bearer token); falls
399
+ * back to the user's first membership. Ignored for API-key auth.
400
+ */
401
+ 'X-ACCOUNT-ID'?: string;
402
+ /**
403
+ * Environment ID — required when authenticating with a user JWT (Bearer token) on
404
+ * environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the
405
+ * key).
406
+ */
407
+ 'X-ENVIRONMENT-ID'?: string;
286
408
  }
287
409
  export declare namespace CustomCurrencies {
288
- export { type CustomCurrency as CustomCurrency, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, };
410
+ export { type CustomCurrencyResponse as CustomCurrencyResponse, type CustomCurrencyListResponse as CustomCurrencyListResponse, type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse, type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage, type CustomCurrencyCreateParams as CustomCurrencyCreateParams, type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams, type CustomCurrencyListParams as CustomCurrencyListParams, type CustomCurrencyArchiveParams as CustomCurrencyArchiveParams, type CustomCurrencyListAssociatedEntitiesParams as CustomCurrencyListAssociatedEntitiesParams, type CustomCurrencyUnarchiveParams as CustomCurrencyUnarchiveParams, };
289
411
  }
290
412
  //# sourceMappingURL=custom-currencies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI9F;;OAEG;IACH,MAAM,CACJ,UAAU,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,GAAG,UAAU,CAAC,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
1
+ {"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/credits/custom-currencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,oCAAiC;AAElG,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAexG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAerC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,0BAA0B,CAAC;IAmBrF;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC3D,OA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