dodopayments 2.32.0 → 2.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/bin/migration-config.json +17 -17
  3. package/client.d.mts +15 -15
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +15 -15
  6. package/client.d.ts.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/addons.d.mts +4 -4
  9. package/resources/addons.d.mts.map +1 -1
  10. package/resources/addons.d.ts +4 -4
  11. package/resources/addons.d.ts.map +1 -1
  12. package/resources/addons.js +6 -6
  13. package/resources/addons.js.map +1 -1
  14. package/resources/addons.mjs +6 -6
  15. package/resources/addons.mjs.map +1 -1
  16. package/resources/brands.d.mts +1 -1
  17. package/resources/brands.d.mts.map +1 -1
  18. package/resources/brands.d.ts +1 -1
  19. package/resources/brands.d.ts.map +1 -1
  20. package/resources/brands.js +3 -3
  21. package/resources/brands.js.map +1 -1
  22. package/resources/brands.mjs +3 -3
  23. package/resources/brands.mjs.map +1 -1
  24. package/resources/credit-entitlements/balances.d.mts +69 -69
  25. package/resources/credit-entitlements/balances.d.mts.map +1 -1
  26. package/resources/credit-entitlements/balances.d.ts +69 -69
  27. package/resources/credit-entitlements/balances.d.ts.map +1 -1
  28. package/resources/credit-entitlements/balances.js +41 -41
  29. package/resources/credit-entitlements/balances.js.map +1 -1
  30. package/resources/credit-entitlements/balances.mjs +41 -41
  31. package/resources/credit-entitlements/balances.mjs.map +1 -1
  32. package/resources/credit-entitlements/credit-entitlements.d.mts +38 -38
  33. package/resources/credit-entitlements/credit-entitlements.d.mts.map +1 -1
  34. package/resources/credit-entitlements/credit-entitlements.d.ts +38 -38
  35. package/resources/credit-entitlements/credit-entitlements.d.ts.map +1 -1
  36. package/resources/credit-entitlements/credit-entitlements.js +40 -40
  37. package/resources/credit-entitlements/credit-entitlements.js.map +1 -1
  38. package/resources/credit-entitlements/credit-entitlements.mjs +40 -40
  39. package/resources/credit-entitlements/credit-entitlements.mjs.map +1 -1
  40. package/resources/credit-entitlements/index.d.mts +2 -2
  41. package/resources/credit-entitlements/index.d.mts.map +1 -1
  42. package/resources/credit-entitlements/index.d.ts +2 -2
  43. package/resources/credit-entitlements/index.d.ts.map +1 -1
  44. package/resources/customers/customers.d.mts +23 -23
  45. package/resources/customers/customers.d.mts.map +1 -1
  46. package/resources/customers/customers.d.ts +23 -23
  47. package/resources/customers/customers.d.ts.map +1 -1
  48. package/resources/customers/customers.js +16 -16
  49. package/resources/customers/customers.js.map +1 -1
  50. package/resources/customers/customers.mjs +16 -16
  51. package/resources/customers/customers.mjs.map +1 -1
  52. package/resources/customers/index.d.mts +1 -1
  53. package/resources/customers/index.d.mts.map +1 -1
  54. package/resources/customers/index.d.ts +1 -1
  55. package/resources/customers/index.d.ts.map +1 -1
  56. package/resources/customers/wallets/index.d.mts +1 -1
  57. package/resources/customers/wallets/index.d.mts.map +1 -1
  58. package/resources/customers/wallets/index.d.ts +1 -1
  59. package/resources/customers/wallets/index.d.ts.map +1 -1
  60. package/resources/customers/wallets/ledger-entries.d.mts +8 -8
  61. package/resources/customers/wallets/ledger-entries.d.mts.map +1 -1
  62. package/resources/customers/wallets/ledger-entries.d.ts +8 -8
  63. package/resources/customers/wallets/ledger-entries.d.ts.map +1 -1
  64. package/resources/customers/wallets/ledger-entries.js +3 -3
  65. package/resources/customers/wallets/ledger-entries.js.map +1 -1
  66. package/resources/customers/wallets/ledger-entries.mjs +3 -3
  67. package/resources/customers/wallets/ledger-entries.mjs.map +1 -1
  68. package/resources/customers/wallets/wallets.d.mts +1 -1
  69. package/resources/customers/wallets/wallets.d.mts.map +1 -1
  70. package/resources/customers/wallets/wallets.d.ts +1 -1
  71. package/resources/customers/wallets/wallets.d.ts.map +1 -1
  72. package/resources/discounts.d.mts +27 -27
  73. package/resources/discounts.d.mts.map +1 -1
  74. package/resources/discounts.d.ts +27 -27
  75. package/resources/discounts.d.ts.map +1 -1
  76. package/resources/discounts.js +15 -15
  77. package/resources/discounts.js.map +1 -1
  78. package/resources/discounts.mjs +15 -15
  79. package/resources/discounts.mjs.map +1 -1
  80. package/resources/disputes.d.mts +1 -1
  81. package/resources/disputes.d.mts.map +1 -1
  82. package/resources/disputes.d.ts +1 -1
  83. package/resources/disputes.d.ts.map +1 -1
  84. package/resources/disputes.js +3 -3
  85. package/resources/disputes.js.map +1 -1
  86. package/resources/disputes.mjs +3 -3
  87. package/resources/disputes.mjs.map +1 -1
  88. package/resources/entitlements/entitlements.d.mts +15 -15
  89. package/resources/entitlements/entitlements.d.mts.map +1 -1
  90. package/resources/entitlements/entitlements.d.ts +15 -15
  91. package/resources/entitlements/entitlements.d.ts.map +1 -1
  92. package/resources/entitlements/entitlements.js +15 -15
  93. package/resources/entitlements/entitlements.js.map +1 -1
  94. package/resources/entitlements/entitlements.mjs +15 -15
  95. package/resources/entitlements/entitlements.mjs.map +1 -1
  96. package/resources/entitlements/files.d.mts +4 -4
  97. package/resources/entitlements/files.d.mts.map +1 -1
  98. package/resources/entitlements/files.d.ts +4 -4
  99. package/resources/entitlements/files.d.ts.map +1 -1
  100. package/resources/entitlements/files.js +6 -6
  101. package/resources/entitlements/files.js.map +1 -1
  102. package/resources/entitlements/files.mjs +6 -6
  103. package/resources/entitlements/files.mjs.map +1 -1
  104. package/resources/entitlements/index.d.mts +1 -1
  105. package/resources/entitlements/index.d.mts.map +1 -1
  106. package/resources/entitlements/index.d.ts +1 -1
  107. package/resources/entitlements/index.d.ts.map +1 -1
  108. package/resources/index.d.mts +15 -15
  109. package/resources/index.d.mts.map +1 -1
  110. package/resources/index.d.ts +15 -15
  111. package/resources/index.d.ts.map +1 -1
  112. package/resources/invoices/payments.d.mts +1 -1
  113. package/resources/invoices/payments.d.ts +1 -1
  114. package/resources/invoices/payments.js +4 -4
  115. package/resources/invoices/payments.mjs +4 -4
  116. package/resources/license-key-instances.d.mts +14 -14
  117. package/resources/license-key-instances.d.mts.map +1 -1
  118. package/resources/license-key-instances.d.ts +14 -14
  119. package/resources/license-key-instances.d.ts.map +1 -1
  120. package/resources/license-key-instances.js +12 -12
  121. package/resources/license-key-instances.js.map +1 -1
  122. package/resources/license-key-instances.mjs +12 -12
  123. package/resources/license-key-instances.mjs.map +1 -1
  124. package/resources/license-keys.d.mts +38 -38
  125. package/resources/license-keys.d.mts.map +1 -1
  126. package/resources/license-keys.d.ts +38 -38
  127. package/resources/license-keys.d.ts.map +1 -1
  128. package/resources/license-keys.js +16 -16
  129. package/resources/license-keys.js.map +1 -1
  130. package/resources/license-keys.mjs +16 -16
  131. package/resources/license-keys.mjs.map +1 -1
  132. package/resources/meters.d.mts +8 -8
  133. package/resources/meters.d.mts.map +1 -1
  134. package/resources/meters.d.ts +8 -8
  135. package/resources/meters.d.ts.map +1 -1
  136. package/resources/meters.js +3 -3
  137. package/resources/meters.js.map +1 -1
  138. package/resources/meters.mjs +3 -3
  139. package/resources/meters.mjs.map +1 -1
  140. package/resources/payments.d.mts +32 -32
  141. package/resources/payments.d.mts.map +1 -1
  142. package/resources/payments.d.ts +32 -32
  143. package/resources/payments.d.ts.map +1 -1
  144. package/resources/payments.js +6 -6
  145. package/resources/payments.js.map +1 -1
  146. package/resources/payments.mjs +6 -6
  147. package/resources/payments.mjs.map +1 -1
  148. package/resources/product-collections/groups/groups.d.mts +9 -9
  149. package/resources/product-collections/groups/groups.d.mts.map +1 -1
  150. package/resources/product-collections/groups/groups.d.ts +9 -9
  151. package/resources/product-collections/groups/groups.d.ts.map +1 -1
  152. package/resources/product-collections/groups/groups.js +7 -7
  153. package/resources/product-collections/groups/groups.js.map +1 -1
  154. package/resources/product-collections/groups/groups.mjs +7 -7
  155. package/resources/product-collections/groups/groups.mjs.map +1 -1
  156. package/resources/product-collections/groups/index.d.mts +2 -2
  157. package/resources/product-collections/groups/index.d.ts +2 -2
  158. package/resources/product-collections/groups/items.d.mts +12 -12
  159. package/resources/product-collections/groups/items.d.mts.map +1 -1
  160. package/resources/product-collections/groups/items.d.ts +12 -12
  161. package/resources/product-collections/groups/items.d.ts.map +1 -1
  162. package/resources/product-collections/groups/items.js +7 -7
  163. package/resources/product-collections/groups/items.js.map +1 -1
  164. package/resources/product-collections/groups/items.mjs +7 -7
  165. package/resources/product-collections/groups/items.mjs.map +1 -1
  166. package/resources/product-collections/index.d.mts +2 -2
  167. package/resources/product-collections/index.d.mts.map +1 -1
  168. package/resources/product-collections/index.d.ts +2 -2
  169. package/resources/product-collections/index.d.ts.map +1 -1
  170. package/resources/product-collections/product-collections.d.mts +15 -15
  171. package/resources/product-collections/product-collections.d.mts.map +1 -1
  172. package/resources/product-collections/product-collections.d.ts +15 -15
  173. package/resources/product-collections/product-collections.d.ts.map +1 -1
  174. package/resources/product-collections/product-collections.js +11 -11
  175. package/resources/product-collections/product-collections.js.map +1 -1
  176. package/resources/product-collections/product-collections.mjs +11 -11
  177. package/resources/product-collections/product-collections.mjs.map +1 -1
  178. package/resources/products/index.d.mts +2 -2
  179. package/resources/products/index.d.mts.map +1 -1
  180. package/resources/products/index.d.ts +2 -2
  181. package/resources/products/index.d.ts.map +1 -1
  182. package/resources/products/products.d.mts +21 -21
  183. package/resources/products/products.d.mts.map +1 -1
  184. package/resources/products/products.d.ts +21 -21
  185. package/resources/products/products.d.ts.map +1 -1
  186. package/resources/products/products.js +6 -6
  187. package/resources/products/products.js.map +1 -1
  188. package/resources/products/products.mjs +6 -6
  189. package/resources/products/products.mjs.map +1 -1
  190. package/resources/products/short-links.d.mts +11 -11
  191. package/resources/products/short-links.d.mts.map +1 -1
  192. package/resources/products/short-links.d.ts +11 -11
  193. package/resources/products/short-links.d.ts.map +1 -1
  194. package/resources/products/short-links.js +6 -6
  195. package/resources/products/short-links.js.map +1 -1
  196. package/resources/products/short-links.mjs +6 -6
  197. package/resources/products/short-links.mjs.map +1 -1
  198. package/resources/refunds.d.mts +24 -24
  199. package/resources/refunds.d.mts.map +1 -1
  200. package/resources/refunds.d.ts +24 -24
  201. package/resources/refunds.d.ts.map +1 -1
  202. package/resources/refunds.js +6 -6
  203. package/resources/refunds.js.map +1 -1
  204. package/resources/refunds.mjs +6 -6
  205. package/resources/refunds.mjs.map +1 -1
  206. package/resources/subscriptions.d.mts +86 -86
  207. package/resources/subscriptions.d.mts.map +1 -1
  208. package/resources/subscriptions.d.ts +86 -86
  209. package/resources/subscriptions.d.ts.map +1 -1
  210. package/resources/subscriptions.js +23 -23
  211. package/resources/subscriptions.js.map +1 -1
  212. package/resources/subscriptions.mjs +23 -23
  213. package/resources/subscriptions.mjs.map +1 -1
  214. package/resources/usage-events.d.mts +61 -61
  215. package/resources/usage-events.d.mts.map +1 -1
  216. package/resources/usage-events.d.ts +61 -61
  217. package/resources/usage-events.d.ts.map +1 -1
  218. package/resources/usage-events.js +56 -56
  219. package/resources/usage-events.js.map +1 -1
  220. package/resources/usage-events.mjs +56 -56
  221. package/resources/usage-events.mjs.map +1 -1
  222. package/resources/webhooks/index.d.mts +1 -1
  223. package/resources/webhooks/index.d.mts.map +1 -1
  224. package/resources/webhooks/index.d.ts +1 -1
  225. package/resources/webhooks/index.d.ts.map +1 -1
  226. package/resources/webhooks/webhooks.d.mts +12 -12
  227. package/resources/webhooks/webhooks.d.mts.map +1 -1
  228. package/resources/webhooks/webhooks.d.ts +12 -12
  229. package/resources/webhooks/webhooks.d.ts.map +1 -1
  230. package/resources/webhooks/webhooks.js +15 -15
  231. package/resources/webhooks/webhooks.js.map +1 -1
  232. package/resources/webhooks/webhooks.mjs +15 -15
  233. package/resources/webhooks/webhooks.mjs.map +1 -1
  234. package/src/client.ts +18 -18
  235. package/src/resources/addons.ts +13 -13
  236. package/src/resources/brands.ts +4 -4
  237. package/src/resources/credit-entitlements/balances.ts +91 -91
  238. package/src/resources/credit-entitlements/credit-entitlements.ts +55 -55
  239. package/src/resources/credit-entitlements/index.ts +3 -3
  240. package/src/resources/customers/customers.ts +49 -49
  241. package/src/resources/customers/index.ts +1 -1
  242. package/src/resources/customers/wallets/index.ts +1 -1
  243. package/src/resources/customers/wallets/ledger-entries.ts +16 -16
  244. package/src/resources/customers/wallets/wallets.ts +1 -1
  245. package/src/resources/discounts.ts +43 -43
  246. package/src/resources/disputes.ts +4 -4
  247. package/src/resources/entitlements/entitlements.ts +36 -36
  248. package/src/resources/entitlements/files.ts +7 -7
  249. package/src/resources/entitlements/index.ts +1 -1
  250. package/src/resources/index.ts +18 -18
  251. package/src/resources/invoices/payments.ts +4 -4
  252. package/src/resources/license-key-instances.ts +25 -25
  253. package/src/resources/license-keys.ts +48 -48
  254. package/src/resources/meters.ts +15 -15
  255. package/src/resources/payments.ts +59 -59
  256. package/src/resources/product-collections/groups/groups.ts +16 -16
  257. package/src/resources/product-collections/groups/index.ts +2 -2
  258. package/src/resources/product-collections/groups/items.ts +19 -19
  259. package/src/resources/product-collections/index.ts +2 -2
  260. package/src/resources/product-collections/product-collections.ts +32 -32
  261. package/src/resources/products/index.ts +2 -2
  262. package/src/resources/products/products.ts +33 -33
  263. package/src/resources/products/short-links.ts +20 -20
  264. package/src/resources/refunds.ts +36 -36
  265. package/src/resources/subscriptions.ts +130 -130
  266. package/src/resources/usage-events.ts +64 -64
  267. package/src/resources/webhooks/index.ts +1 -1
  268. package/src/resources/webhooks/webhooks.ts +24 -24
  269. package/src/version.ts +1 -1
  270. package/version.d.mts +1 -1
  271. package/version.d.ts +1 -1
  272. package/version.js +1 -1
  273. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"disputes.d.ts","sourceRoot":"","sources":["../src/resources/disputes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,8BAA2B;AAC5B,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,QAAS,SAAQ,WAAW;IACvC,QAAQ,C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EG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,cAAc,EAAE,aAAa,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,iBAAkB,SAAQ,iCAAiC;IAC1E;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,iBAAiB,CAAC;IAE9D;;OAEG;IACH,cAAc,CAAC,EACX,gBAAgB,GAChB,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,GACnB,oBAAoB,GACpB,aAAa,GACb,cAAc,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -6,15 +6,15 @@ const resource_1 = require("../core/resource.js");
6
6
  const pagination_1 = require("../core/pagination.js");
7
7
  const path_1 = require("../internal/utils/path.js");
8
8
  class Disputes extends resource_1.APIResource {
9
- retrieve(disputeID, options) {
10
- return this._client.get((0, path_1.path) `/disputes/${disputeID}`, options);
11
- }
12
9
  list(query = {}, options) {
13
10
  return this._client.getAPIList('/disputes', (pagination_1.DefaultPageNumberPagination), {
14
11
  query,
15
12
  ...options,
16
13
  });
17
14
  }
15
+ retrieve(disputeID, options) {
16
+ return this._client.get((0, path_1.path) `/disputes/${disputeID}`, options);
17
+ }
18
18
  }
19
19
  exports.Disputes = Disputes;
20
20
  //# sourceMappingURL=disputes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"disputes.js","sourceRoot":"","sources":["../src/resources/disputes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAI4B;AAE5B,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,wCAAgD,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAdD,4BAcC"}
1
+ {"version":3,"file":"disputes.js","sourceRoot":"","sources":["../src/resources/disputes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAI4B;AAE5B,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,wCAAgD,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAdD,4BAcC"}
@@ -3,14 +3,14 @@ import { APIResource } from "../core/resource.mjs";
3
3
  import { DefaultPageNumberPagination, } from "../core/pagination.mjs";
4
4
  import { path } from "../internal/utils/path.mjs";
5
5
  export class Disputes extends APIResource {
6
- retrieve(disputeID, options) {
7
- return this._client.get(path `/disputes/${disputeID}`, options);
8
- }
9
6
  list(query = {}, options) {
10
7
  return this._client.getAPIList('/disputes', (DefaultPageNumberPagination), {
11
8
  query,
12
9
  ...options,
13
10
  });
14
11
  }
12
+ retrieve(disputeID, options) {
13
+ return this._client.get(path `/disputes/${disputeID}`, options);
14
+ }
15
15
  }
16
16
  //# sourceMappingURL=disputes.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"disputes.mjs","sourceRoot":"","sources":["../src/resources/disputes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EACL,2BAA2B,GAG5B,+BAA2B;AAE5B,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,2BAAgD,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"disputes.mjs","sourceRoot":"","sources":["../src/resources/disputes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EACL,2BAA2B,GAG5B,+BAA2B;AAE5B,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,2BAAgD,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}
@@ -11,6 +11,10 @@ import { RequestOptions } from "../../internal/request-options.mjs";
11
11
  export declare class Entitlements extends APIResource {
12
12
  files: FilesAPI.Files;
13
13
  grants: GrantsAPI.Grants;
14
+ /**
15
+ * GET /entitlements
16
+ */
17
+ list(query?: EntitlementListParams | null | undefined, options?: RequestOptions): PagePromise<EntitlementsDefaultPageNumberPagination, Entitlement>;
14
18
  /**
15
19
  * POST /entitlements
16
20
  */
@@ -19,18 +23,14 @@ export declare class Entitlements extends APIResource {
19
23
  * GET /entitlements/{id}
20
24
  */
21
25
  retrieve(id: string, options?: RequestOptions): APIPromise<Entitlement>;
22
- /**
23
- * PATCH /entitlements/{id}
24
- */
25
- update(id: string, body: EntitlementUpdateParams, options?: RequestOptions): APIPromise<Entitlement>;
26
- /**
27
- * GET /entitlements
28
- */
29
- list(query?: EntitlementListParams | null | undefined, options?: RequestOptions): PagePromise<EntitlementsDefaultPageNumberPagination, Entitlement>;
30
26
  /**
31
27
  * DELETE /entitlements/{id} (soft-delete)
32
28
  */
33
29
  delete(id: string, options?: RequestOptions): APIPromise<void>;
30
+ /**
31
+ * PATCH /entitlements/{id}
32
+ */
33
+ update(id: string, body: EntitlementUpdateParams, options?: RequestOptions): APIPromise<Entitlement>;
34
34
  }
35
35
  export type EntitlementsDefaultPageNumberPagination = DefaultPageNumberPagination<Entitlement>;
36
36
  /**
@@ -321,6 +321,12 @@ export declare namespace IntegrationConfigResponse {
321
321
  duration_interval?: SubscriptionsAPI.TimeInterval | null;
322
322
  }
323
323
  }
324
+ export interface EntitlementListParams extends DefaultPageNumberPaginationParams {
325
+ /**
326
+ * Filter by integration type
327
+ */
328
+ integration_type?: 'discord' | 'telegram' | 'github' | 'figma' | 'framer' | 'notion' | 'digital_files' | 'license_key';
329
+ }
324
330
  export interface EntitlementCreateParams {
325
331
  /**
326
332
  * Platform-specific configuration (validated per integration_type)
@@ -357,14 +363,8 @@ export interface EntitlementUpdateParams {
357
363
  } | null;
358
364
  name?: string | null;
359
365
  }
360
- export interface EntitlementListParams extends DefaultPageNumberPaginationParams {
361
- /**
362
- * Filter by integration type
363
- */
364
- integration_type?: 'discord' | 'telegram' | 'github' | 'figma' | 'framer' | 'notion' | 'digital_files' | 'license_key';
365
- }
366
366
  export declare namespace Entitlements {
367
- export { type Entitlement as Entitlement, type EntitlementIntegrationType as EntitlementIntegrationType, type GitHubPermission as GitHubPermission, type IntegrationConfig as IntegrationConfig, type IntegrationConfigResponse as IntegrationConfigResponse, type EntitlementsDefaultPageNumberPagination as EntitlementsDefaultPageNumberPagination, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementListParams as EntitlementListParams, };
367
+ export { type Entitlement as Entitlement, type EntitlementIntegrationType as EntitlementIntegrationType, type GitHubPermission as GitHubPermission, type IntegrationConfig as IntegrationConfig, type IntegrationConfigResponse as IntegrationConfigResponse, type EntitlementsDefaultPageNumberPagination as EntitlementsDefaultPageNumberPagination, type EntitlementListParams as EntitlementListParams, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, };
368
368
  export { Files as Files, type FileUploadResponse as FileUploadResponse, type FileDeleteParams as FileDeleteParams, };
369
369
  export { Grants as Grants, type EntitlementGrant as EntitlementGrant, type LicenseKeyGrant as LicenseKeyGrant, type EntitlementGrantsDefaultPageNumberPagination as EntitlementGrantsDefaultPageNumberPagination, type GrantListParams as GrantListParams, type GrantRevokeParams as GrantRevokeParams, };
370
370
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,oBAAgB;AACtE,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,gBAAgB,EAChB,4CAA4C,EAC5C,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,eAAe,EAChB,qBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,kCAA8B;AAE/B,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIpG;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB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tB;AAED,MAAM,WAAW,qBAAsB,SAAQ,iCAAiC;IAC9E;;OAEG;IACH,gBAAgB,CAAC,EACb,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,aAAa,CAAC;CACnB;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
1
+ {"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,oBAAgB;AACtE,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,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yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -11,6 +11,10 @@ import { RequestOptions } from "../../internal/request-options.js";
11
11
  export declare class Entitlements extends APIResource {
12
12
  files: FilesAPI.Files;
13
13
  grants: GrantsAPI.Grants;
14
+ /**
15
+ * GET /entitlements
16
+ */
17
+ list(query?: EntitlementListParams | null | undefined, options?: RequestOptions): PagePromise<EntitlementsDefaultPageNumberPagination, Entitlement>;
14
18
  /**
15
19
  * POST /entitlements
16
20
  */
@@ -19,18 +23,14 @@ export declare class Entitlements extends APIResource {
19
23
  * GET /entitlements/{id}
20
24
  */
21
25
  retrieve(id: string, options?: RequestOptions): APIPromise<Entitlement>;
22
- /**
23
- * PATCH /entitlements/{id}
24
- */
25
- update(id: string, body: EntitlementUpdateParams, options?: RequestOptions): APIPromise<Entitlement>;
26
- /**
27
- * GET /entitlements
28
- */
29
- list(query?: EntitlementListParams | null | undefined, options?: RequestOptions): PagePromise<EntitlementsDefaultPageNumberPagination, Entitlement>;
30
26
  /**
31
27
  * DELETE /entitlements/{id} (soft-delete)
32
28
  */
33
29
  delete(id: string, options?: RequestOptions): APIPromise<void>;
30
+ /**
31
+ * PATCH /entitlements/{id}
32
+ */
33
+ update(id: string, body: EntitlementUpdateParams, options?: RequestOptions): APIPromise<Entitlement>;
34
34
  }
35
35
  export type EntitlementsDefaultPageNumberPagination = DefaultPageNumberPagination<Entitlement>;
36
36
  /**
@@ -321,6 +321,12 @@ export declare namespace IntegrationConfigResponse {
321
321
  duration_interval?: SubscriptionsAPI.TimeInterval | null;
322
322
  }
323
323
  }
324
+ export interface EntitlementListParams extends DefaultPageNumberPaginationParams {
325
+ /**
326
+ * Filter by integration type
327
+ */
328
+ integration_type?: 'discord' | 'telegram' | 'github' | 'figma' | 'framer' | 'notion' | 'digital_files' | 'license_key';
329
+ }
324
330
  export interface EntitlementCreateParams {
325
331
  /**
326
332
  * Platform-specific configuration (validated per integration_type)
@@ -357,14 +363,8 @@ export interface EntitlementUpdateParams {
357
363
  } | null;
358
364
  name?: string | null;
359
365
  }
360
- export interface EntitlementListParams extends DefaultPageNumberPaginationParams {
361
- /**
362
- * Filter by integration type
363
- */
364
- integration_type?: 'discord' | 'telegram' | 'github' | 'figma' | 'framer' | 'notion' | 'digital_files' | 'license_key';
365
- }
366
366
  export declare namespace Entitlements {
367
- export { type Entitlement as Entitlement, type EntitlementIntegrationType as EntitlementIntegrationType, type GitHubPermission as GitHubPermission, type IntegrationConfig as IntegrationConfig, type IntegrationConfigResponse as IntegrationConfigResponse, type EntitlementsDefaultPageNumberPagination as EntitlementsDefaultPageNumberPagination, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, type EntitlementListParams as EntitlementListParams, };
367
+ export { type Entitlement as Entitlement, type EntitlementIntegrationType as EntitlementIntegrationType, type GitHubPermission as GitHubPermission, type IntegrationConfig as IntegrationConfig, type IntegrationConfigResponse as IntegrationConfigResponse, type EntitlementsDefaultPageNumberPagination as EntitlementsDefaultPageNumberPagination, type EntitlementListParams as EntitlementListParams, type EntitlementCreateParams as EntitlementCreateParams, type EntitlementUpdateParams as EntitlementUpdateParams, };
368
368
  export { Files as Files, type FileUploadResponse as FileUploadResponse, type FileDeleteParams as FileDeleteParams, };
369
369
  export { Grants as Grants, type EntitlementGrant as EntitlementGrant, type LicenseKeyGrant as LicenseKeyGrant, type EntitlementGrantsDefaultPageNumberPagination as EntitlementGrantsDefaultPageNumberPagination, type GrantListParams as GrantListParams, type GrantRevokeParams as GrantRevokeParams, };
370
370
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAgB;AACtE,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,gBAAgB,EAChB,4CAA4C,EAC5C,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,eAAe,EAChB,oBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,iCAA8B;AAE/B,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG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AAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAE5C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,qBAAsB,SAAQ,iCAAiC;IAC9E;;OAEG;IACH,gBAAgB,CAAC,EACb,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,aAAa,CAAC;CACnB;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
1
+ {"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO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EAC/B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -17,6 +17,15 @@ class Entitlements extends resource_1.APIResource {
17
17
  this.files = new FilesAPI.Files(this._client);
18
18
  this.grants = new GrantsAPI.Grants(this._client);
19
19
  }
20
+ /**
21
+ * GET /entitlements
22
+ */
23
+ list(query = {}, options) {
24
+ return this._client.getAPIList('/entitlements', (pagination_1.DefaultPageNumberPagination), {
25
+ query,
26
+ ...options,
27
+ });
28
+ }
20
29
  /**
21
30
  * POST /entitlements
22
31
  */
@@ -29,21 +38,6 @@ class Entitlements extends resource_1.APIResource {
29
38
  retrieve(id, options) {
30
39
  return this._client.get((0, path_1.path) `/entitlements/${id}`, options);
31
40
  }
32
- /**
33
- * PATCH /entitlements/{id}
34
- */
35
- update(id, body, options) {
36
- return this._client.patch((0, path_1.path) `/entitlements/${id}`, { body, ...options });
37
- }
38
- /**
39
- * GET /entitlements
40
- */
41
- list(query = {}, options) {
42
- return this._client.getAPIList('/entitlements', (pagination_1.DefaultPageNumberPagination), {
43
- query,
44
- ...options,
45
- });
46
- }
47
41
  /**
48
42
  * DELETE /entitlements/{id} (soft-delete)
49
43
  */
@@ -53,6 +47,12 @@ class Entitlements extends resource_1.APIResource {
53
47
  headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
54
48
  });
55
49
  }
50
+ /**
51
+ * PATCH /entitlements/{id}
52
+ */
53
+ update(id, body, options) {
54
+ return this._client.patch((0, path_1.path) `/entitlements/${id}`, { body, ...options });
55
+ }
56
56
  }
57
57
  exports.Entitlements = Entitlements;
58
58
  Entitlements.Files = files_1.Files;
@@ -1 +1 @@
1
- {"version":3,"file":"entitlements.js","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,6DAAoC;AACpC,sCAAsE;AACtE,+DAAsC;AACtC,wCAOkB;AAElB,yDAI+B;AAC/B,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6ChE,CAAC;IA3CC;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA6B,EAAE,OAAwB;QACxE,OAAO,IAAI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AExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,wCAAwC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE;YACpD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA6B,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AA/CD,oCA+CC;AAsaD,YAAY,CAAC,KAAK,GAAG,aAAK,CAAC;AAC3B,YAAY,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -13,6 +13,15 @@ export class Entitlements extends APIResource {
13
13
  this.files = new FilesAPI.Files(this._client);
14
14
  this.grants = new GrantsAPI.Grants(this._client);
15
15
  }
16
+ /**
17
+ * GET /entitlements
18
+ */
19
+ list(query = {}, options) {
20
+ return this._client.getAPIList('/entitlements', (DefaultPageNumberPagination), {
21
+ query,
22
+ ...options,
23
+ });
24
+ }
16
25
  /**
17
26
  * POST /entitlements
18
27
  */
@@ -25,21 +34,6 @@ export class Entitlements extends APIResource {
25
34
  retrieve(id, options) {
26
35
  return this._client.get(path `/entitlements/${id}`, options);
27
36
  }
28
- /**
29
- * PATCH /entitlements/{id}
30
- */
31
- update(id, body, options) {
32
- return this._client.patch(path `/entitlements/${id}`, { body, ...options });
33
- }
34
- /**
35
- * GET /entitlements
36
- */
37
- list(query = {}, options) {
38
- return this._client.getAPIList('/entitlements', (DefaultPageNumberPagination), {
39
- query,
40
- ...options,
41
- });
42
- }
43
37
  /**
44
38
  * DELETE /entitlements/{id} (soft-delete)
45
39
  */
@@ -49,6 +43,12 @@ export class Entitlements extends APIResource {
49
43
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
50
44
  });
51
45
  }
46
+ /**
47
+ * PATCH /entitlements/{id}
48
+ */
49
+ update(id, body, options) {
50
+ return this._client.patch(path `/entitlements/${id}`, { body, ...options });
51
+ }
52
52
  }
53
53
  Entitlements.Files = Files;
54
54
  Entitlements.Grants = Grants;
@@ -1 +1 @@
1
- {"version":3,"file":"entitlements.mjs","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAwC,KAAK,EAAE,oBAAgB;AACtE,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GAEP,qBAAiB;AAElB,OAAO,EACL,2BAA2B,GAG5B,kCAA8B;AAC/B,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,U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G;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE;YACpD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA6B,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAsaD,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -2,14 +2,14 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Files extends APIResource {
5
- /**
6
- * Detach a previously-attached file from a `digital_files` entitlement.
7
- */
8
- delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void>;
9
5
  /**
10
6
  * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
11
7
  */
12
8
  upload(id: string, options?: RequestOptions): APIPromise<FileUploadResponse>;
9
+ /**
10
+ * Detach a previously-attached file from a `digital_files` entitlement.
11
+ */
12
+ delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void>;
13
13
  }
14
14
  export interface FileUploadResponse {
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCA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EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -2,14 +2,14 @@ import { APIResource } from "../../core/resource.js";
2
2
  import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Files extends APIResource {
5
- /**
6
- * Detach a previously-attached file from a `digital_files` entitlement.
7
- */
8
- delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void>;
9
5
  /**
10
6
  * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
11
7
  */
12
8
  upload(id: string, options?: RequestOptions): APIPromise<FileUploadResponse>;
9
+ /**
10
+ * Detach a previously-attached file from a `digital_files` entitlement.
11
+ */
12
+ delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void>;
13
13
  }
14
14
  export interface FileUploadResponse {
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ5F;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAG7E;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI5E;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO7F;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -6,6 +6,12 @@ const resource_1 = require("../../core/resource.js");
6
6
  const headers_1 = require("../../internal/headers.js");
7
7
  const path_1 = require("../../internal/utils/path.js");
8
8
  class Files extends resource_1.APIResource {
9
+ /**
10
+ * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
11
+ */
12
+ upload(id, options) {
13
+ return this._client.post((0, path_1.path) `/entitlements/${id}/files`, options);
14
+ }
9
15
  /**
10
16
  * Detach a previously-attached file from a `digital_files` entitlement.
11
17
  */
@@ -16,12 +22,6 @@ class Files extends resource_1.APIResource {
16
22
  headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
17
23
  });
18
24
  }
19
- /**
20
- * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
21
- */
22
- upload(id, options) {
23
- return this._client.post((0, path_1.path) `/entitlements/${id}/files`, options);
24
- }
25
25
  }
26
26
  exports.Files = Files;
27
27
  //# sourceMappingURL=files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,UAAU,MAAM,EAAE,EAAE;YACpE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAlBD,sBAkBC"}
1
+ {"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,UAAU,MAAM,EAAE,EAAE;YACpE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAlBD,sBAkBC"}
@@ -3,6 +3,12 @@ import { APIResource } from "../../core/resource.mjs";
3
3
  import { buildHeaders } from "../../internal/headers.mjs";
4
4
  import { path } from "../../internal/utils/path.mjs";
5
5
  export class Files extends APIResource {
6
+ /**
7
+ * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
8
+ */
9
+ upload(id, options) {
10
+ return this._client.post(path `/entitlements/${id}/files`, options);
11
+ }
6
12
  /**
7
13
  * Detach a previously-attached file from a `digital_files` entitlement.
8
14
  */
@@ -13,11 +19,5 @@ export class Files extends APIResource {
13
19
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
14
20
  });
15
21
  }
16
- /**
17
- * Attach a file to a `digital_files` entitlement. Per-file size cap: 500 MiB.
18
- */
19
- upload(id, options) {
20
- return this._client.post(path `/entitlements/${id}/files`, options);
21
- }
22
22
  }
23
23
  //# sourceMappingURL=files.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/entitlements/files.ts"],"names":[],"m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tB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,EAAE,UAAU,MAAM,EAAE,EAAE;YACpE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.mjs";
1
+ export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementListParams, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.mjs";
2
2
  export { Files, type FileUploadResponse, type FileDeleteParams } from "./files.mjs";
3
3
  export { Grants, type EntitlementGrant, type LicenseKeyGrant, type GrantListParams, type GrantRevokeParams, type EntitlementGrantsDefaultPageNumberPagination, } from "./grants.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,GAC7C,2BAAuB;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,oBAAgB;AAChF,OAAO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD,qBAAiB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uCAAuC,GAC7C,2BAAuB;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,oBAAgB;AAChF,OAAO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD,qBAAiB"}
@@ -1,4 +1,4 @@
1
- export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.js";
1
+ export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementListParams, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements.js";
2
2
  export { Files, type FileUploadResponse, type FileDeleteParams } from "./files.js";
3
3
  export { Grants, type EntitlementGrant, type LicenseKeyGrant, type GrantListParams, type GrantRevokeParams, type EntitlementGrantsDefaultPageNumberPagination, } from "./grants.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,GAC7C,0BAAuB;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,mBAAgB;AAChF,OAAO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD,oBAAiB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/entitlements/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uCAAuC,GAC7C,0BAAuB;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,mBAAgB;AAChF,OAAO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4CAA4C,GAClD,oBAAiB"}
@@ -1,25 +1,25 @@
1
- export { Addons, type AddonResponse, type AddonUpdateImagesResponse, type AddonCreateParams, type AddonUpdateParams, type AddonListParams, type AddonResponsesDefaultPageNumberPagination, } from "./addons.mjs";
1
+ export { Addons, type AddonResponse, type AddonUpdateImagesResponse, type AddonListParams, type AddonCreateParams, type AddonUpdateParams, type AddonResponsesDefaultPageNumberPagination, } from "./addons.mjs";
2
2
  export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, type BalanceLedgerEntriesDefaultPageNumberPagination, } from "./balances.mjs";
3
3
  export { Brands, type Brand, type BrandListResponse, type BrandUpdateImagesResponse, type BrandCreateParams, type BrandUpdateParams, } from "./brands.mjs";
4
4
  export { CheckoutSessions, type CheckoutSessionBillingAddress, type CheckoutSessionCustomization, type CheckoutSessionFlags, type CheckoutSessionRequest, type CheckoutSessionResponse, type CheckoutSessionStatus, type CustomField, type ProductItemReq, type SubscriptionData, type ThemeConfig, type ThemeModeConfig, type CheckoutSessionPreviewResponse, type CheckoutSessionCreateParams, type CheckoutSessionPreviewParams, } from "./checkout-sessions.mjs";
5
- export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementListParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.mjs";
6
- export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.mjs";
7
- export { Discounts, type Discount, type DiscountDetail, type DiscountType, type DiscountCreateParams, type DiscountUpdateParams, type DiscountListParams, type DiscountsDefaultPageNumberPagination, } from "./discounts.mjs";
5
+ export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementListParams, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.mjs";
6
+ export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerListParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerDeletePaymentMethodParams, type CustomersDefaultPageNumberPagination, } from "./customers/customers.mjs";
7
+ export { Discounts, type Discount, type DiscountDetail, type DiscountType, type DiscountListParams, type DiscountCreateParams, type DiscountUpdateParams, type DiscountsDefaultPageNumberPagination, } from "./discounts.mjs";
8
8
  export { Disputes, type Dispute, type DisputeStage, type DisputeStatus, type GetDispute, type DisputeListResponse, type DisputeListParams, type DisputeListResponsesDefaultPageNumberPagination, } from "./disputes.mjs";
9
- export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementListParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements/entitlements.mjs";
9
+ export { Entitlements, type Entitlement, type EntitlementIntegrationType, type GitHubPermission, type IntegrationConfig, type IntegrationConfigResponse, type EntitlementListParams, type EntitlementCreateParams, type EntitlementUpdateParams, type EntitlementsDefaultPageNumberPagination, } from "./entitlements/entitlements.mjs";
10
10
  export { Invoices } from "./invoices/invoices.mjs";
11
- export { LicenseKeyInstances, type LicenseKeyInstance, type LicenseKeyInstanceUpdateParams, type LicenseKeyInstanceListParams, type LicenseKeyInstancesDefaultPageNumberPagination, } from "./license-key-instances.mjs";
12
- export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyCreateParams, type LicenseKeyUpdateParams, type LicenseKeyListParams, type LicenseKeysDefaultPageNumberPagination, } from "./license-keys.mjs";
11
+ export { LicenseKeyInstances, type LicenseKeyInstance, type LicenseKeyInstanceListParams, type LicenseKeyInstanceUpdateParams, type LicenseKeyInstancesDefaultPageNumberPagination, } from "./license-key-instances.mjs";
12
+ export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyListParams, type LicenseKeyUpdateParams, type LicenseKeyCreateParams, type LicenseKeysDefaultPageNumberPagination, } from "./license-keys.mjs";
13
13
  export { Licenses, type LicenseActivateResponse, type LicenseValidateResponse, type LicenseActivateParams, type LicenseDeactivateParams, type LicenseValidateParams, } from "./licenses.mjs";
14
- export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type MeterCreateParams, type MeterListParams, type MetersDefaultPageNumberPagination, } from "./meters.mjs";
14
+ export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type MeterListParams, type MeterCreateParams, type MetersDefaultPageNumberPagination, } from "./meters.mjs";
15
15
  export { Misc, type CountryCode, type Currency, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.mjs";
16
- export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentCreateParams, type PaymentListParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.mjs";
16
+ export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.mjs";
17
17
  export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.mjs";
18
- export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionListParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections/product-collections.mjs";
19
- export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type ProductCreateParams, type ProductUpdateParams, type ProductListParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.mjs";
20
- export { Refunds, type Refund, type RefundStatus, type RefundCreateParams, type RefundListParams, } from "./refunds.mjs";
21
- export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionChangePlanParams, type SubscriptionChargeParams, type SubscriptionPreviewChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.mjs";
22
- export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventListParams, type UsageEventIngestParams, type EventsDefaultPageNumberPagination, } from "./usage-events.mjs";
18
+ export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections/product-collections.mjs";
19
+ export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type ProductListParams, type ProductCreateParams, type ProductUpdateParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.mjs";
20
+ export { Refunds, type Refund, type RefundStatus, type RefundListParams, type RefundCreateParams, } from "./refunds.mjs";
21
+ export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionListParams, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionChargeParams, type SubscriptionChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionPreviewChangePlanParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.mjs";
22
+ export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventIngestParams, type UsageEventListParams, type EventsDefaultPageNumberPagination, } from "./usage-events.mjs";
23
23
  export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.mjs";
24
- export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
24
+ export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
25
25
  //# sourceMappingURL=index.d.mts.map