chargefy-js 1.0.0 → 1.1.1

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 (2989) hide show
  1. package/README.md +283 -879
  2. package/dist/chargefy.d.ts +34 -0
  3. package/dist/chargefy.d.ts.map +1 -0
  4. package/dist/chargefy.js +39 -0
  5. package/dist/core.d.ts +41 -0
  6. package/dist/core.d.ts.map +1 -0
  7. package/dist/core.js +77 -0
  8. package/dist/funcs/checkoutsClientConfirm.d.ts +20 -0
  9. package/dist/funcs/checkoutsClientConfirm.d.ts.map +1 -0
  10. package/dist/funcs/checkoutsClientConfirm.js +47 -0
  11. package/dist/funcs/checkoutsClientGet.d.ts +15 -0
  12. package/dist/funcs/checkoutsClientGet.d.ts.map +1 -0
  13. package/dist/funcs/checkoutsClientGet.js +40 -0
  14. package/dist/funcs/checkoutsClientUpdate.d.ts +19 -0
  15. package/dist/funcs/checkoutsClientUpdate.d.ts.map +1 -0
  16. package/dist/funcs/checkoutsClientUpdate.js +43 -0
  17. package/dist/index.d.ts +22 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +15 -0
  20. package/dist/models/buyer.d.ts +41 -0
  21. package/dist/models/buyer.d.ts.map +1 -0
  22. package/dist/models/buyer.js +1 -0
  23. package/dist/models/checkout.d.ts +118 -0
  24. package/dist/models/checkout.d.ts.map +1 -0
  25. package/dist/models/checkout.js +1 -0
  26. package/dist/models/checkoutLink.d.ts +29 -0
  27. package/dist/models/checkoutLink.d.ts.map +1 -0
  28. package/dist/models/checkoutLink.js +1 -0
  29. package/dist/models/components/checkoutconfirmcelcoin.d.ts +21 -0
  30. package/dist/models/components/checkoutconfirmcelcoin.d.ts.map +1 -0
  31. package/dist/models/components/checkoutconfirmcelcoin.js +5 -0
  32. package/dist/models/components/checkoutpublic.d.ts +112 -0
  33. package/dist/models/components/checkoutpublic.d.ts.map +1 -0
  34. package/dist/models/components/checkoutpublic.js +5 -0
  35. package/dist/models/components/checkoutpublicconfirmed.d.ts +9 -0
  36. package/dist/models/components/checkoutpublicconfirmed.d.ts.map +1 -0
  37. package/dist/models/components/checkoutpublicconfirmed.js +4 -0
  38. package/dist/models/components/checkoutupdatepublic.d.ts +21 -0
  39. package/dist/models/components/checkoutupdatepublic.d.ts.map +1 -0
  40. package/dist/models/components/checkoutupdatepublic.js +5 -0
  41. package/dist/models/errors/alreadyactivesubscriptionerror.d.ts +9 -0
  42. package/dist/models/errors/alreadyactivesubscriptionerror.d.ts.map +1 -0
  43. package/dist/models/errors/alreadyactivesubscriptionerror.js +12 -0
  44. package/dist/models/errors/expiredcheckouterror.d.ts +9 -0
  45. package/dist/models/errors/expiredcheckouterror.d.ts.map +1 -0
  46. package/dist/models/errors/expiredcheckouterror.js +12 -0
  47. package/dist/models/errors/httpclienterrors.d.ts +33 -0
  48. package/dist/models/errors/httpclienterrors.d.ts.map +1 -0
  49. package/dist/models/errors/httpclienterrors.js +60 -0
  50. package/dist/models/errors/httpvalidationerror.d.ts +14 -0
  51. package/dist/models/errors/httpvalidationerror.d.ts.map +1 -0
  52. package/dist/models/errors/httpvalidationerror.js +8 -0
  53. package/dist/models/errors/notopencheckout.d.ts +9 -0
  54. package/dist/models/errors/notopencheckout.d.ts.map +1 -0
  55. package/dist/models/errors/notopencheckout.js +12 -0
  56. package/dist/models/errors/paymenterror.d.ts +9 -0
  57. package/dist/models/errors/paymenterror.d.ts.map +1 -0
  58. package/dist/models/errors/paymenterror.js +12 -0
  59. package/dist/models/errors/paymentnotready.d.ts +9 -0
  60. package/dist/models/errors/paymentnotready.d.ts.map +1 -0
  61. package/dist/models/errors/paymentnotready.js +12 -0
  62. package/dist/models/errors/resourcenotfound.d.ts +8 -0
  63. package/dist/models/errors/resourcenotfound.d.ts.map +1 -0
  64. package/dist/models/errors/resourcenotfound.js +11 -0
  65. package/dist/models/organization.d.ts +10 -0
  66. package/dist/models/organization.d.ts.map +1 -0
  67. package/dist/models/organization.js +1 -0
  68. package/dist/models/pagination.d.ts +12 -0
  69. package/dist/models/pagination.d.ts.map +1 -0
  70. package/dist/models/pagination.js +1 -0
  71. package/dist/models/product.d.ts +44 -0
  72. package/dist/models/product.d.ts.map +1 -0
  73. package/dist/models/product.js +1 -0
  74. package/dist/namespaces/buyers.d.ts +15 -0
  75. package/dist/namespaces/buyers.d.ts.map +1 -0
  76. package/dist/namespaces/buyers.js +35 -0
  77. package/dist/namespaces/checkoutLinks.d.ts +17 -0
  78. package/dist/namespaces/checkoutLinks.d.ts.map +1 -0
  79. package/dist/namespaces/checkoutLinks.js +57 -0
  80. package/dist/namespaces/checkouts.d.ts +23 -0
  81. package/dist/namespaces/checkouts.d.ts.map +1 -0
  82. package/dist/namespaces/checkouts.js +113 -0
  83. package/dist/namespaces/organizations.d.ts +10 -0
  84. package/dist/namespaces/organizations.d.ts.map +1 -0
  85. package/dist/namespaces/organizations.js +13 -0
  86. package/dist/namespaces/products.d.ts +17 -0
  87. package/dist/namespaces/products.d.ts.map +1 -0
  88. package/dist/namespaces/products.js +58 -0
  89. package/dist/types/fp.d.ts +14 -0
  90. package/dist/types/fp.d.ts.map +1 -0
  91. package/dist/types/fp.js +1 -0
  92. package/dist/utils/errors.d.ts +13 -0
  93. package/dist/utils/errors.d.ts.map +1 -0
  94. package/dist/utils/errors.js +56 -0
  95. package/dist/utils/transformers.d.ts +19 -0
  96. package/dist/utils/transformers.d.ts.map +1 -0
  97. package/dist/utils/transformers.js +180 -0
  98. package/package.json +29 -78
  99. package/src/chargefy.ts +43 -0
  100. package/src/core.ts +135 -0
  101. package/src/funcs/checkoutsClientConfirm.ts +101 -0
  102. package/src/funcs/checkoutsClientGet.ts +84 -0
  103. package/src/funcs/checkoutsClientUpdate.ts +94 -0
  104. package/src/index.ts +59 -7
  105. package/src/models/buyer.ts +43 -0
  106. package/src/models/checkout.ts +127 -0
  107. package/src/models/checkoutLink.ts +30 -0
  108. package/src/models/components/checkoutconfirmcelcoin.ts +32 -0
  109. package/src/models/components/checkoutpublic.ts +141 -0
  110. package/src/models/components/checkoutpublicconfirmed.ts +10 -0
  111. package/src/models/components/checkoutupdatepublic.ts +29 -0
  112. package/src/models/errors/alreadyactivesubscriptionerror.ts +13 -0
  113. package/src/models/errors/expiredcheckouterror.ts +13 -0
  114. package/src/models/errors/httpclienterrors.ts +74 -0
  115. package/src/models/errors/httpvalidationerror.ts +19 -0
  116. package/src/models/errors/notopencheckout.ts +13 -0
  117. package/src/models/errors/paymenterror.ts +13 -0
  118. package/src/models/errors/paymentnotready.ts +13 -0
  119. package/src/models/errors/resourcenotfound.ts +12 -0
  120. package/src/models/organization.ts +9 -0
  121. package/src/models/pagination.ts +12 -0
  122. package/src/models/product.ts +46 -0
  123. package/src/namespaces/buyers.ts +35 -0
  124. package/src/namespaces/checkoutLinks.ts +56 -0
  125. package/src/namespaces/checkouts.ts +110 -0
  126. package/src/namespaces/organizations.ts +15 -0
  127. package/src/namespaces/products.ts +60 -0
  128. package/src/types/fp.ts +7 -0
  129. package/src/utils/errors.ts +82 -0
  130. package/src/utils/transformers.ts +196 -0
  131. package/tsconfig.json +11 -33
  132. package/tsconfig.tsbuildinfo +1 -0
  133. package/.claude/EXAMPLE_SESSION.md +0 -647
  134. package/.claude/INDEX.md +0 -404
  135. package/.claude/MULTI_AGENT_WORKFLOW.md +0 -557
  136. package/.claude/QUICK_REFERENCE.md +0 -399
  137. package/.claude/README.md +0 -342
  138. package/.claude/agents/backend-engineer.md +0 -230
  139. package/.claude/agents/product-manager.md +0 -462
  140. package/.claude/agents/qa-engineer.md +0 -430
  141. package/.claude/prompts/api-compliance-check.md +0 -372
  142. package/.claude/prompts/sdk-architecture-review.md +0 -233
  143. package/.claude/settings.local.json +0 -20
  144. package/.tsbuildinfo +0 -1
  145. package/.tshy/build.json +0 -8
  146. package/.tshy/commonjs.json +0 -16
  147. package/.tshy/esm.json +0 -15
  148. package/AGENT_SYSTEM_SUMMARY.md +0 -406
  149. package/CONTRIBUTING.md +0 -26
  150. package/FUNCTIONS.md +0 -89
  151. package/RELEASES.md +0 -1121
  152. package/RUNTIMES.md +0 -48
  153. package/USAGE.md +0 -20
  154. package/codeSamples.yaml +0 -1115
  155. package/docs/lib/utils/retryconfig.md +0 -24
  156. package/docs/models/components/activesubscriptions.md +0 -17
  157. package/docs/models/components/activeuserbyevent.md +0 -17
  158. package/docs/models/components/address.md +0 -22
  159. package/docs/models/components/addressdict.md +0 -22
  160. package/docs/models/components/addressinput.md +0 -22
  161. package/docs/models/components/aggregation.md +0 -55
  162. package/docs/models/components/aggregationfunction.md +0 -15
  163. package/docs/models/components/amount.md +0 -19
  164. package/docs/models/components/attachedcustomfield.md +0 -37
  165. package/docs/models/components/attachedcustomfieldcreate.md +0 -21
  166. package/docs/models/components/authorizationcodetokenrequest.md +0 -25
  167. package/docs/models/components/authorizeorganization.md +0 -21
  168. package/docs/models/components/authorizeresponseorganization.md +0 -38
  169. package/docs/models/components/authorizeresponseuser.md +0 -36
  170. package/docs/models/components/authorizeuser.md +0 -21
  171. package/docs/models/components/averageordervalue.md +0 -17
  172. package/docs/models/components/averagerevenueperuser.md +0 -17
  173. package/docs/models/components/benefit.md +0 -149
  174. package/docs/models/components/benefitcreate.md +0 -91
  175. package/docs/models/components/benefitcustom.md +0 -43
  176. package/docs/models/components/benefitcustomcreate.md +0 -26
  177. package/docs/models/components/benefitcustomcreatemetadata.md +0 -29
  178. package/docs/models/components/benefitcustomcreateproperties.md +0 -17
  179. package/docs/models/components/benefitcustommetadata.md +0 -29
  180. package/docs/models/components/benefitcustomproperties.md +0 -19
  181. package/docs/models/components/benefitcustomsubscriber.md +0 -73
  182. package/docs/models/components/benefitcustomsubscribermetadata.md +0 -29
  183. package/docs/models/components/benefitcustomsubscriberproperties.md +0 -19
  184. package/docs/models/components/benefitcustomupdate.md +0 -20
  185. package/docs/models/components/benefitcustomupdatemetadata.md +0 -29
  186. package/docs/models/components/benefitcycledevent.md +0 -60
  187. package/docs/models/components/benefitdiscord.md +0 -46
  188. package/docs/models/components/benefitdiscordcreate.md +0 -28
  189. package/docs/models/components/benefitdiscordcreatemetadata.md +0 -29
  190. package/docs/models/components/benefitdiscordcreateproperties.md +0 -23
  191. package/docs/models/components/benefitdiscordmetadata.md +0 -29
  192. package/docs/models/components/benefitdiscordproperties.md +0 -25
  193. package/docs/models/components/benefitdiscordsubscriber.md +0 -74
  194. package/docs/models/components/benefitdiscordsubscribermetadata.md +0 -29
  195. package/docs/models/components/benefitdiscordsubscriberproperties.md +0 -19
  196. package/docs/models/components/benefitdiscordupdate.md +0 -20
  197. package/docs/models/components/benefitdiscordupdatemetadata.md +0 -29
  198. package/docs/models/components/benefitdownloadables.md +0 -45
  199. package/docs/models/components/benefitdownloadablescreate.md +0 -29
  200. package/docs/models/components/benefitdownloadablescreatemetadata.md +0 -29
  201. package/docs/models/components/benefitdownloadablescreateproperties.md +0 -21
  202. package/docs/models/components/benefitdownloadablesmetadata.md +0 -29
  203. package/docs/models/components/benefitdownloadablesproperties.md +0 -19
  204. package/docs/models/components/benefitdownloadablessubscriber.md +0 -76
  205. package/docs/models/components/benefitdownloadablessubscribermetadata.md +0 -29
  206. package/docs/models/components/benefitdownloadablessubscriberproperties.md +0 -20
  207. package/docs/models/components/benefitdownloadablesupdate.md +0 -20
  208. package/docs/models/components/benefitdownloadablesupdatemetadata.md +0 -29
  209. package/docs/models/components/benefitgithubrepository.md +0 -45
  210. package/docs/models/components/benefitgithubrepositorycreate.md +0 -29
  211. package/docs/models/components/benefitgithubrepositorycreatemetadata.md +0 -29
  212. package/docs/models/components/benefitgithubrepositorycreateproperties.md +0 -23
  213. package/docs/models/components/benefitgithubrepositorycreatepropertiespermission.md +0 -17
  214. package/docs/models/components/benefitgithubrepositorymetadata.md +0 -29
  215. package/docs/models/components/benefitgithubrepositoryproperties.md +0 -23
  216. package/docs/models/components/benefitgithubrepositorysubscriber.md +0 -73
  217. package/docs/models/components/benefitgithubrepositorysubscribermetadata.md +0 -29
  218. package/docs/models/components/benefitgithubrepositorysubscriberproperties.md +0 -21
  219. package/docs/models/components/benefitgithubrepositoryupdate.md +0 -25
  220. package/docs/models/components/benefitgithubrepositoryupdatemetadata.md +0 -29
  221. package/docs/models/components/benefitgrant.md +0 -78
  222. package/docs/models/components/benefitgrantcustomproperties.md +0 -14
  223. package/docs/models/components/benefitgrantcustomwebhook.md +0 -77
  224. package/docs/models/components/benefitgrantdiscordproperties.md +0 -18
  225. package/docs/models/components/benefitgrantdiscordwebhook.md +0 -82
  226. package/docs/models/components/benefitgrantdownloadablesproperties.md +0 -15
  227. package/docs/models/components/benefitgrantdownloadableswebhook.md +0 -85
  228. package/docs/models/components/benefitgrantedevent.md +0 -60
  229. package/docs/models/components/benefitgranterror.md +0 -21
  230. package/docs/models/components/benefitgrantgithubrepositoryproperties.md +0 -19
  231. package/docs/models/components/benefitgrantgithubrepositorypropertiespermission.md +0 -15
  232. package/docs/models/components/benefitgrantgithubrepositorywebhook.md +0 -81
  233. package/docs/models/components/benefitgrantlicensekeysproperties.md +0 -16
  234. package/docs/models/components/benefitgrantlicensekeyswebhook.md +0 -86
  235. package/docs/models/components/benefitgrantmetadata.md +0 -21
  236. package/docs/models/components/benefitgrantmetercreditproperties.md +0 -17
  237. package/docs/models/components/benefitgrantmetercreditwebhook.md +0 -80
  238. package/docs/models/components/benefitgrantsortproperty.md +0 -15
  239. package/docs/models/components/benefitgrantwebhook.md +0 -352
  240. package/docs/models/components/benefitlicensekeyactivationcreateproperties.md +0 -19
  241. package/docs/models/components/benefitlicensekeyactivationproperties.md +0 -19
  242. package/docs/models/components/benefitlicensekeyexpirationproperties.md +0 -19
  243. package/docs/models/components/benefitlicensekeys.md +0 -46
  244. package/docs/models/components/benefitlicensekeyscreate.md +0 -25
  245. package/docs/models/components/benefitlicensekeyscreatemetadata.md +0 -29
  246. package/docs/models/components/benefitlicensekeyscreateproperties.md +0 -18
  247. package/docs/models/components/benefitlicensekeysmetadata.md +0 -29
  248. package/docs/models/components/benefitlicensekeysproperties.md +0 -29
  249. package/docs/models/components/benefitlicensekeyssubscriber.md +0 -83
  250. package/docs/models/components/benefitlicensekeyssubscribermetadata.md +0 -29
  251. package/docs/models/components/benefitlicensekeyssubscriberproperties.md +0 -29
  252. package/docs/models/components/benefitlicensekeysupdate.md +0 -20
  253. package/docs/models/components/benefitlicensekeysupdatemetadata.md +0 -29
  254. package/docs/models/components/benefitmetadata.md +0 -29
  255. package/docs/models/components/benefitmetercredit.md +0 -43
  256. package/docs/models/components/benefitmetercreditcreate.md +0 -31
  257. package/docs/models/components/benefitmetercreditcreatemetadata.md +0 -29
  258. package/docs/models/components/benefitmetercreditcreateproperties.md +0 -23
  259. package/docs/models/components/benefitmetercreditmetadata.md +0 -29
  260. package/docs/models/components/benefitmetercreditproperties.md +0 -23
  261. package/docs/models/components/benefitmetercreditsubscriber.md +0 -76
  262. package/docs/models/components/benefitmetercreditsubscribermetadata.md +0 -29
  263. package/docs/models/components/benefitmetercreditsubscriberproperties.md +0 -23
  264. package/docs/models/components/benefitmetercreditupdate.md +0 -20
  265. package/docs/models/components/benefitmetercreditupdatemetadata.md +0 -29
  266. package/docs/models/components/benefitpublic.md +0 -32
  267. package/docs/models/components/benefitrevokedevent.md +0 -60
  268. package/docs/models/components/benefitsortproperty.md +0 -15
  269. package/docs/models/components/benefittype.md +0 -15
  270. package/docs/models/components/benefitupdatedevent.md +0 -60
  271. package/docs/models/components/billingaddressfieldmode.md +0 -15
  272. package/docs/models/components/canceledsubscriptions.md +0 -17
  273. package/docs/models/components/canceledsubscriptionscustomerservice.md +0 -17
  274. package/docs/models/components/canceledsubscriptionslowquality.md +0 -17
  275. package/docs/models/components/canceledsubscriptionsmissingfeatures.md +0 -17
  276. package/docs/models/components/canceledsubscriptionsother.md +0 -17
  277. package/docs/models/components/canceledsubscriptionsswitchedservice.md +0 -17
  278. package/docs/models/components/canceledsubscriptionstoocomplex.md +0 -17
  279. package/docs/models/components/canceledsubscriptionstooexpensive.md +0 -17
  280. package/docs/models/components/canceledsubscriptionsunused.md +0 -17
  281. package/docs/models/components/cardpayment.md +0 -49
  282. package/docs/models/components/cardpaymentmetadata.md +0 -21
  283. package/docs/models/components/cashflow.md +0 -17
  284. package/docs/models/components/checkout.md +0 -222
  285. package/docs/models/components/checkoutbillingaddressfields.md +0 -27
  286. package/docs/models/components/checkoutconfirmstripe.md +0 -33
  287. package/docs/models/components/checkoutconfirmstripecustomfielddata.md +0 -29
  288. package/docs/models/components/checkoutcreate.md +0 -49
  289. package/docs/models/components/checkoutcreatecustomermetadata.md +0 -29
  290. package/docs/models/components/checkoutcreatecustomfielddata.md +0 -29
  291. package/docs/models/components/checkoutcreatemetadata.md +0 -29
  292. package/docs/models/components/checkoutcustomfielddata.md +0 -29
  293. package/docs/models/components/checkoutdiscount.md +0 -61
  294. package/docs/models/components/checkoutdiscountfixedonceforeverduration.md +0 -31
  295. package/docs/models/components/checkoutdiscountfixedrepeatduration.md +0 -34
  296. package/docs/models/components/checkoutdiscountpercentageonceforeverduration.md +0 -29
  297. package/docs/models/components/checkoutdiscountpercentagerepeatduration.md +0 -32
  298. package/docs/models/components/checkoutlink.md +0 -104
  299. package/docs/models/components/checkoutlinkcreate.md +0 -36
  300. package/docs/models/components/checkoutlinkcreateproduct.md +0 -31
  301. package/docs/models/components/checkoutlinkcreateproductmetadata.md +0 -29
  302. package/docs/models/components/checkoutlinkcreateproductprice.md +0 -31
  303. package/docs/models/components/checkoutlinkcreateproductpricemetadata.md +0 -29
  304. package/docs/models/components/checkoutlinkcreateproducts.md +0 -33
  305. package/docs/models/components/checkoutlinkcreateproductsmetadata.md +0 -29
  306. package/docs/models/components/checkoutlinkdiscount.md +0 -101
  307. package/docs/models/components/checkoutlinkmetadata.md +0 -29
  308. package/docs/models/components/checkoutlinkproduct.md +0 -100
  309. package/docs/models/components/checkoutlinkproductmetadata.md +0 -29
  310. package/docs/models/components/checkoutlinkproductprices.md +0 -48
  311. package/docs/models/components/checkoutlinksortproperty.md +0 -15
  312. package/docs/models/components/checkoutlinkupdate.md +0 -25
  313. package/docs/models/components/checkoutlinkupdatemetadata.md +0 -29
  314. package/docs/models/components/checkoutmetadata.md +0 -29
  315. package/docs/models/components/checkoutproduct.md +0 -48
  316. package/docs/models/components/checkoutproductprice.md +0 -48
  317. package/docs/models/components/checkoutproductprices.md +0 -48
  318. package/docs/models/components/checkoutpublic.md +0 -313
  319. package/docs/models/components/checkoutpublicconfirmed.md +0 -318
  320. package/docs/models/components/checkoutpublicconfirmedcustomfielddata.md +0 -29
  321. package/docs/models/components/checkoutpublicconfirmeddiscount.md +0 -61
  322. package/docs/models/components/checkoutpublicconfirmedproductprice.md +0 -48
  323. package/docs/models/components/checkoutpubliccustomfielddata.md +0 -29
  324. package/docs/models/components/checkoutpublicdiscount.md +0 -61
  325. package/docs/models/components/checkoutpublicproductprice.md +0 -48
  326. package/docs/models/components/checkouts.md +0 -17
  327. package/docs/models/components/checkoutsconversion.md +0 -17
  328. package/docs/models/components/checkoutsortproperty.md +0 -15
  329. package/docs/models/components/checkoutstatus.md +0 -15
  330. package/docs/models/components/checkoutupdate.md +0 -42
  331. package/docs/models/components/checkoutupdatecustomermetadata.md +0 -29
  332. package/docs/models/components/checkoutupdatecustomfielddata.md +0 -29
  333. package/docs/models/components/checkoutupdatemetadata.md +0 -29
  334. package/docs/models/components/checkoutupdatepublic.md +0 -32
  335. package/docs/models/components/checkoutupdatepubliccustomfielddata.md +0 -29
  336. package/docs/models/components/churnrate.md +0 -17
  337. package/docs/models/components/clauses.md +0 -24
  338. package/docs/models/components/committedmonthlyrecurringrevenue.md +0 -17
  339. package/docs/models/components/conditions.md +0 -29
  340. package/docs/models/components/costmetadatainput.md +0 -19
  341. package/docs/models/components/costmetadataoutput.md +0 -19
  342. package/docs/models/components/costperuser.md +0 -17
  343. package/docs/models/components/costs.md +0 -17
  344. package/docs/models/components/countaggregation.md +0 -15
  345. package/docs/models/components/countryalpha2.md +0 -15
  346. package/docs/models/components/countryalpha2input.md +0 -15
  347. package/docs/models/components/cumulativecosts.md +0 -17
  348. package/docs/models/components/cumulativerevenue.md +0 -17
  349. package/docs/models/components/customer.md +0 -50
  350. package/docs/models/components/customerbalance.md +0 -21
  351. package/docs/models/components/customerbenefitgrant.md +0 -536
  352. package/docs/models/components/customerbenefitgrantcustom.md +0 -109
  353. package/docs/models/components/customerbenefitgrantcustomupdate.md +0 -17
  354. package/docs/models/components/customerbenefitgrantdiscord.md +0 -109
  355. package/docs/models/components/customerbenefitgrantdiscordpropertiesupdate.md +0 -17
  356. package/docs/models/components/customerbenefitgrantdiscordupdate.md +0 -21
  357. package/docs/models/components/customerbenefitgrantdownloadables.md +0 -110
  358. package/docs/models/components/customerbenefitgrantdownloadablesupdate.md +0 -17
  359. package/docs/models/components/customerbenefitgrantgithubrepository.md +0 -109
  360. package/docs/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.md +0 -17
  361. package/docs/models/components/customerbenefitgrantgithubrepositoryupdate.md +0 -21
  362. package/docs/models/components/customerbenefitgrantlicensekeys.md +0 -117
  363. package/docs/models/components/customerbenefitgrantlicensekeysupdate.md +0 -17
  364. package/docs/models/components/customerbenefitgrantmetercredit.md +0 -109
  365. package/docs/models/components/customerbenefitgrantmetercreditupdate.md +0 -17
  366. package/docs/models/components/customerbenefitgrantsortproperty.md +0 -15
  367. package/docs/models/components/customerbenefitgrantupdate.md +0 -59
  368. package/docs/models/components/customercancellationreason.md +0 -15
  369. package/docs/models/components/customercreate.md +0 -33
  370. package/docs/models/components/customercreatedevent.md +0 -61
  371. package/docs/models/components/customercreatedmetadata.md +0 -23
  372. package/docs/models/components/customercreatemetadata.md +0 -29
  373. package/docs/models/components/customercreatetaxid.md +0 -17
  374. package/docs/models/components/customercustomermeter.md +0 -38
  375. package/docs/models/components/customercustomermetermeter.md +0 -23
  376. package/docs/models/components/customercustomermetersortproperty.md +0 -15
  377. package/docs/models/components/customercustomersession.md +0 -19
  378. package/docs/models/components/customerdeletedevent.md +0 -61
  379. package/docs/models/components/customerdeletedmetadata.md +0 -23
  380. package/docs/models/components/customermetadata.md +0 -23
  381. package/docs/models/components/customermetadata1.md +0 -29
  382. package/docs/models/components/customermeter.md +0 -75
  383. package/docs/models/components/customermetersortproperty.md +0 -15
  384. package/docs/models/components/customerorder.md +0 -165
  385. package/docs/models/components/customerorderconfirmpayment.md +0 -19
  386. package/docs/models/components/customerorderinvoice.md +0 -19
  387. package/docs/models/components/customerorderpaymentconfirmation.md +0 -21
  388. package/docs/models/components/customerorderpaymentstatus.md +0 -20
  389. package/docs/models/components/customerorderproduct.md +0 -96
  390. package/docs/models/components/customerorderproductprices.md +0 -48
  391. package/docs/models/components/customerordersortproperty.md +0 -15
  392. package/docs/models/components/customerordersubscription.md +0 -62
  393. package/docs/models/components/customerorderupdate.md +0 -23
  394. package/docs/models/components/customerorganization.md +0 -84
  395. package/docs/models/components/customerpaymentmethod.md +0 -37
  396. package/docs/models/components/customerpaymentmethodconfirm.md +0 -19
  397. package/docs/models/components/customerpaymentmethodcreate.md +0 -21
  398. package/docs/models/components/customerpaymentmethodcreaterequiresactionresponse.md +0 -19
  399. package/docs/models/components/customerpaymentmethodcreateresponse.md +0 -36
  400. package/docs/models/components/customerpaymentmethodcreatesucceededresponse.md +0 -32
  401. package/docs/models/components/customerportalcustomer.md +0 -44
  402. package/docs/models/components/customerportalcustomertaxid.md +0 -17
  403. package/docs/models/components/customerportalcustomerupdate.md +0 -21
  404. package/docs/models/components/customerportaloauthaccount.md +0 -19
  405. package/docs/models/components/customerproduct.md +0 -58
  406. package/docs/models/components/customerproductprices.md +0 -48
  407. package/docs/models/components/customerseat.md +0 -31
  408. package/docs/models/components/customerseatclaimresponse.md +0 -26
  409. package/docs/models/components/customersession.md +0 -56
  410. package/docs/models/components/customersessioncustomerexternalidcreate.md +0 -21
  411. package/docs/models/components/customersessioncustomeridcreate.md +0 -21
  412. package/docs/models/components/customersortproperty.md +0 -15
  413. package/docs/models/components/customerstate.md +0 -111
  414. package/docs/models/components/customerstatebenefitgrant.md +0 -35
  415. package/docs/models/components/customerstatebenefitgrantproperties.md +0 -35
  416. package/docs/models/components/customerstatemetadata.md +0 -29
  417. package/docs/models/components/customerstatemeter.md +0 -31
  418. package/docs/models/components/customerstatesubscription.md +0 -68
  419. package/docs/models/components/customerstatesubscriptioncustomfielddata.md +0 -29
  420. package/docs/models/components/customerstatesubscriptionmetadata.md +0 -29
  421. package/docs/models/components/customerstatesubscriptionmeter.md +0 -31
  422. package/docs/models/components/customerstatetaxid.md +0 -17
  423. package/docs/models/components/customersubscription.md +0 -152
  424. package/docs/models/components/customersubscriptioncancel.md +0 -17
  425. package/docs/models/components/customersubscriptionmeter.md +0 -36
  426. package/docs/models/components/customersubscriptionmetermeter.md +0 -23
  427. package/docs/models/components/customersubscriptionprices.md +0 -48
  428. package/docs/models/components/customersubscriptionproduct.md +0 -91
  429. package/docs/models/components/customersubscriptionproductprices.md +0 -48
  430. package/docs/models/components/customersubscriptionsortproperty.md +0 -15
  431. package/docs/models/components/customersubscriptionupdate.md +0 -27
  432. package/docs/models/components/customersubscriptionupdateproduct.md +0 -17
  433. package/docs/models/components/customersubscriptionupdateseats.md +0 -18
  434. package/docs/models/components/customertaxid.md +0 -17
  435. package/docs/models/components/customerupdate.md +0 -31
  436. package/docs/models/components/customerupdatedevent.md +0 -62
  437. package/docs/models/components/customerupdatedfields.md +0 -19
  438. package/docs/models/components/customerupdatedfieldsmetadata.md +0 -23
  439. package/docs/models/components/customerupdatedmetadata.md +0 -25
  440. package/docs/models/components/customerupdateexternalid.md +0 -29
  441. package/docs/models/components/customerupdateexternalidmetadata.md +0 -29
  442. package/docs/models/components/customerupdateexternalidtaxid.md +0 -17
  443. package/docs/models/components/customerupdatemetadata.md +0 -29
  444. package/docs/models/components/customerupdatetaxid.md +0 -17
  445. package/docs/models/components/customerwallet.md +0 -31
  446. package/docs/models/components/customerwalletsortproperty.md +0 -15
  447. package/docs/models/components/customfield.md +0 -102
  448. package/docs/models/components/customfieldcheckbox.md +0 -37
  449. package/docs/models/components/customfieldcheckboxmetadata.md +0 -29
  450. package/docs/models/components/customfieldcheckboxproperties.md +0 -17
  451. package/docs/models/components/customfieldcreate.md +0 -72
  452. package/docs/models/components/customfieldcreatecheckbox.md +0 -28
  453. package/docs/models/components/customfieldcreatecheckboxmetadata.md +0 -29
  454. package/docs/models/components/customfieldcreatedate.md +0 -28
  455. package/docs/models/components/customfieldcreatedatemetadata.md +0 -29
  456. package/docs/models/components/customfieldcreatenumber.md +0 -28
  457. package/docs/models/components/customfieldcreatenumbermetadata.md +0 -29
  458. package/docs/models/components/customfieldcreateselect.md +0 -35
  459. package/docs/models/components/customfieldcreateselectmetadata.md +0 -29
  460. package/docs/models/components/customfieldcreatetext.md +0 -28
  461. package/docs/models/components/customfieldcreatetextmetadata.md +0 -29
  462. package/docs/models/components/customfielddata.md +0 -29
  463. package/docs/models/components/customfielddate.md +0 -37
  464. package/docs/models/components/customfielddatemetadata.md +0 -29
  465. package/docs/models/components/customfielddateproperties.md +0 -19
  466. package/docs/models/components/customfieldnumber.md +0 -37
  467. package/docs/models/components/customfieldnumbermetadata.md +0 -29
  468. package/docs/models/components/customfieldnumberproperties.md +0 -19
  469. package/docs/models/components/customfieldselect.md +0 -44
  470. package/docs/models/components/customfieldselectmetadata.md +0 -29
  471. package/docs/models/components/customfieldselectoption.md +0 -19
  472. package/docs/models/components/customfieldselectproperties.md +0 -25
  473. package/docs/models/components/customfieldsortproperty.md +0 -15
  474. package/docs/models/components/customfieldtext.md +0 -37
  475. package/docs/models/components/customfieldtextmetadata.md +0 -29
  476. package/docs/models/components/customfieldtextproperties.md +0 -20
  477. package/docs/models/components/customfieldtype.md +0 -15
  478. package/docs/models/components/customfieldupdate.md +0 -45
  479. package/docs/models/components/customfieldupdatecheckbox.md +0 -23
  480. package/docs/models/components/customfieldupdatecheckboxmetadata.md +0 -29
  481. package/docs/models/components/customfieldupdatedate.md +0 -23
  482. package/docs/models/components/customfieldupdatedatemetadata.md +0 -29
  483. package/docs/models/components/customfieldupdatenumber.md +0 -23
  484. package/docs/models/components/customfieldupdatenumbermetadata.md +0 -29
  485. package/docs/models/components/customfieldupdateselect.md +0 -23
  486. package/docs/models/components/customfieldupdateselectmetadata.md +0 -29
  487. package/docs/models/components/customfieldupdatetext.md +0 -23
  488. package/docs/models/components/customfieldupdatetextmetadata.md +0 -29
  489. package/docs/models/components/discount.md +0 -122
  490. package/docs/models/components/discountcreate.md +0 -55
  491. package/docs/models/components/discountduration.md +0 -15
  492. package/docs/models/components/discountfixedonceforeverduration.md +0 -51
  493. package/docs/models/components/discountfixedonceforeverdurationbase.md +0 -47
  494. package/docs/models/components/discountfixedonceforeverdurationbasemetadata.md +0 -29
  495. package/docs/models/components/discountfixedonceforeverdurationcreate.md +0 -34
  496. package/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md +0 -29
  497. package/docs/models/components/discountfixedonceforeverdurationmetadata.md +0 -29
  498. package/docs/models/components/discountfixedrepeatduration.md +0 -54
  499. package/docs/models/components/discountfixedrepeatdurationbase.md +0 -49
  500. package/docs/models/components/discountfixedrepeatdurationbasemetadata.md +0 -29
  501. package/docs/models/components/discountfixedrepeatdurationcreate.md +0 -37
  502. package/docs/models/components/discountfixedrepeatdurationcreatemetadata.md +0 -29
  503. package/docs/models/components/discountfixedrepeatdurationmetadata.md +0 -29
  504. package/docs/models/components/discountpercentageonceforeverduration.md +0 -68
  505. package/docs/models/components/discountpercentageonceforeverdurationbase.md +0 -45
  506. package/docs/models/components/discountpercentageonceforeverdurationbasemetadata.md +0 -29
  507. package/docs/models/components/discountpercentageonceforeverdurationcreate.md +0 -33
  508. package/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md +0 -29
  509. package/docs/models/components/discountpercentageonceforeverdurationmetadata.md +0 -29
  510. package/docs/models/components/discountpercentagerepeatduration.md +0 -50
  511. package/docs/models/components/discountpercentagerepeatdurationbase.md +0 -47
  512. package/docs/models/components/discountpercentagerepeatdurationbasemetadata.md +0 -29
  513. package/docs/models/components/discountpercentagerepeatdurationcreate.md +0 -36
  514. package/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md +0 -29
  515. package/docs/models/components/discountpercentagerepeatdurationmetadata.md +0 -29
  516. package/docs/models/components/discountproduct.md +0 -46
  517. package/docs/models/components/discountproductmetadata.md +0 -29
  518. package/docs/models/components/discountsortproperty.md +0 -15
  519. package/docs/models/components/discounttype.md +0 -15
  520. package/docs/models/components/discountupdate.md +0 -29
  521. package/docs/models/components/discountupdatemetadata.md +0 -29
  522. package/docs/models/components/downloadablefilecreate.md +0 -39
  523. package/docs/models/components/downloadablefileread.md +0 -49
  524. package/docs/models/components/downloadableread.md +0 -41
  525. package/docs/models/components/event.md +0 -83
  526. package/docs/models/components/eventcreatecustomer.md +0 -23
  527. package/docs/models/components/eventcreateexternalcustomer.md +0 -23
  528. package/docs/models/components/eventmetadatainput.md +0 -50
  529. package/docs/models/components/eventmetadataoutput.md +0 -50
  530. package/docs/models/components/eventname.md +0 -25
  531. package/docs/models/components/eventnamessortproperty.md +0 -15
  532. package/docs/models/components/events.md +0 -25
  533. package/docs/models/components/eventsingest.md +0 -17
  534. package/docs/models/components/eventsingestresponse.md +0 -17
  535. package/docs/models/components/eventsortproperty.md +0 -15
  536. package/docs/models/components/eventsource.md +0 -15
  537. package/docs/models/components/existingproductprice.md +0 -21
  538. package/docs/models/components/filecreate.md +0 -68
  539. package/docs/models/components/filedownload.md +0 -50
  540. package/docs/models/components/filepatch.md +0 -16
  541. package/docs/models/components/fileread.md +0 -76
  542. package/docs/models/components/fileservicetypes.md +0 -15
  543. package/docs/models/components/fileupload.md +0 -58
  544. package/docs/models/components/fileuploadcompleted.md +0 -21
  545. package/docs/models/components/filter.md +0 -19
  546. package/docs/models/components/filterclause.md +0 -21
  547. package/docs/models/components/filterconjunction.md +0 -15
  548. package/docs/models/components/filteroperator.md +0 -15
  549. package/docs/models/components/func.md +0 -15
  550. package/docs/models/components/genericpayment.md +0 -44
  551. package/docs/models/components/granttypes.md +0 -15
  552. package/docs/models/components/grossmargin.md +0 -17
  553. package/docs/models/components/grossmarginpercentage.md +0 -17
  554. package/docs/models/components/introspecttokenrequest.md +0 -22
  555. package/docs/models/components/introspecttokenrequesttokentypehint.md +0 -15
  556. package/docs/models/components/introspecttokenresponse.md +0 -35
  557. package/docs/models/components/legacyrecurringproductprice.md +0 -59
  558. package/docs/models/components/legacyrecurringproductpricecustom.md +0 -45
  559. package/docs/models/components/legacyrecurringproductpricefixed.md +0 -41
  560. package/docs/models/components/legacyrecurringproductpricefree.md +0 -37
  561. package/docs/models/components/licensekeyactivate.md +0 -23
  562. package/docs/models/components/licensekeyactivateconditions.md +0 -29
  563. package/docs/models/components/licensekeyactivatemeta.md +0 -29
  564. package/docs/models/components/licensekeyactivationbase.md +0 -27
  565. package/docs/models/components/licensekeyactivationread.md +0 -67
  566. package/docs/models/components/licensekeyactivationreadmeta.md +0 -29
  567. package/docs/models/components/licensekeycustomer.md +0 -48
  568. package/docs/models/components/licensekeycustomermetadata.md +0 -29
  569. package/docs/models/components/licensekeycustomertaxid.md +0 -17
  570. package/docs/models/components/licensekeydeactivate.md +0 -21
  571. package/docs/models/components/licensekeyread.md +0 -68
  572. package/docs/models/components/licensekeystatus.md +0 -15
  573. package/docs/models/components/licensekeyupdate.md +0 -19
  574. package/docs/models/components/licensekeyvalidate.md +0 -24
  575. package/docs/models/components/licensekeywithactivations.md +0 -70
  576. package/docs/models/components/listresource.md +0 -22
  577. package/docs/models/components/listresourcebenefit.md +0 -40
  578. package/docs/models/components/listresourcebenefitgrant.md +0 -22
  579. package/docs/models/components/listresourcecheckout.md +0 -22
  580. package/docs/models/components/listresourcecheckoutlink.md +0 -95
  581. package/docs/models/components/listresourcecustomer.md +0 -41
  582. package/docs/models/components/listresourcecustomerbenefitgrant.md +0 -113
  583. package/docs/models/components/listresourcecustomercustomermeter.md +0 -39
  584. package/docs/models/components/listresourcecustomermeter.md +0 -22
  585. package/docs/models/components/listresourcecustomerorder.md +0 -132
  586. package/docs/models/components/listresourcecustomerpaymentmethod.md +0 -22
  587. package/docs/models/components/listresourcecustomersubscription.md +0 -22
  588. package/docs/models/components/listresourcecustomerwallet.md +0 -22
  589. package/docs/models/components/listresourcecustomfield.md +0 -43
  590. package/docs/models/components/listresourcediscount.md +0 -22
  591. package/docs/models/components/listresourcedownloadableread.md +0 -22
  592. package/docs/models/components/listresourceevent.md +0 -22
  593. package/docs/models/components/listresourceeventname.md +0 -30
  594. package/docs/models/components/listresourcefileread.md +0 -22
  595. package/docs/models/components/listresourcelicensekeyread.md +0 -62
  596. package/docs/models/components/listresourcemeter.md +0 -44
  597. package/docs/models/components/listresourceorder.md +0 -22
  598. package/docs/models/components/listresourceorganization.md +0 -57
  599. package/docs/models/components/listresourceproduct.md +0 -22
  600. package/docs/models/components/listresourcerefund.md +0 -22
  601. package/docs/models/components/listresourcesubscription.md +0 -154
  602. package/docs/models/components/listresourcewallet.md +0 -22
  603. package/docs/models/components/listresourcewebhookdelivery.md +0 -39
  604. package/docs/models/components/listresourcewebhookendpoint.md +0 -22
  605. package/docs/models/components/llmmetadata.md +0 -28
  606. package/docs/models/components/loc.md +0 -17
  607. package/docs/models/components/meta.md +0 -29
  608. package/docs/models/components/metadata.md +0 -29
  609. package/docs/models/components/metadataquery.md +0 -50
  610. package/docs/models/components/meter.md +0 -40
  611. package/docs/models/components/meteraggregation.md +0 -57
  612. package/docs/models/components/metercreate.md +0 -35
  613. package/docs/models/components/metercreateaggregation.md +0 -57
  614. package/docs/models/components/metercreatemetadata.md +0 -29
  615. package/docs/models/components/metercreditedmetadata.md +0 -21
  616. package/docs/models/components/metercreditevent.md +0 -60
  617. package/docs/models/components/metermetadata.md +0 -29
  618. package/docs/models/components/meterquantities.md +0 -19
  619. package/docs/models/components/meterquantity.md +0 -19
  620. package/docs/models/components/meterresetevent.md +0 -58
  621. package/docs/models/components/meterresetmetadata.md +0 -17
  622. package/docs/models/components/metersortproperty.md +0 -15
  623. package/docs/models/components/meterupdate.md +0 -19
  624. package/docs/models/components/meterupdatemetadata.md +0 -29
  625. package/docs/models/components/metric.md +0 -23
  626. package/docs/models/components/metricperiod.md +0 -97
  627. package/docs/models/components/metrics.md +0 -255
  628. package/docs/models/components/metricsintervallimit.md +0 -19
  629. package/docs/models/components/metricsintervalslimits.md +0 -37
  630. package/docs/models/components/metricslimits.md +0 -38
  631. package/docs/models/components/metricsresponse.md +0 -265
  632. package/docs/models/components/metricstotals.md +0 -95
  633. package/docs/models/components/metricstotalsactivesubscriptions.md +0 -17
  634. package/docs/models/components/metricstotalsactiveuserbyevent.md +0 -17
  635. package/docs/models/components/metricstotalsaverageordervalue.md +0 -17
  636. package/docs/models/components/metricstotalsaveragerevenueperuser.md +0 -17
  637. package/docs/models/components/metricstotalscanceledsubscriptions.md +0 -17
  638. package/docs/models/components/metricstotalscanceledsubscriptionscustomerservice.md +0 -17
  639. package/docs/models/components/metricstotalscanceledsubscriptionslowquality.md +0 -17
  640. package/docs/models/components/metricstotalscanceledsubscriptionsmissingfeatures.md +0 -17
  641. package/docs/models/components/metricstotalscanceledsubscriptionsother.md +0 -17
  642. package/docs/models/components/metricstotalscanceledsubscriptionsswitchedservice.md +0 -17
  643. package/docs/models/components/metricstotalscanceledsubscriptionstoocomplex.md +0 -17
  644. package/docs/models/components/metricstotalscanceledsubscriptionstooexpensive.md +0 -17
  645. package/docs/models/components/metricstotalscanceledsubscriptionsunused.md +0 -17
  646. package/docs/models/components/metricstotalscashflow.md +0 -17
  647. package/docs/models/components/metricstotalscheckouts.md +0 -17
  648. package/docs/models/components/metricstotalscheckoutsconversion.md +0 -17
  649. package/docs/models/components/metricstotalschurnrate.md +0 -17
  650. package/docs/models/components/metricstotalscommittedmonthlyrecurringrevenue.md +0 -17
  651. package/docs/models/components/metricstotalscostperuser.md +0 -17
  652. package/docs/models/components/metricstotalscosts.md +0 -17
  653. package/docs/models/components/metricstotalscumulativecosts.md +0 -17
  654. package/docs/models/components/metricstotalscumulativerevenue.md +0 -17
  655. package/docs/models/components/metricstotalsgrossmargin.md +0 -17
  656. package/docs/models/components/metricstotalsgrossmarginpercentage.md +0 -17
  657. package/docs/models/components/metricstotalsmonthlyrecurringrevenue.md +0 -17
  658. package/docs/models/components/metricstotalsnetaverageordervalue.md +0 -17
  659. package/docs/models/components/metricstotalsnetcumulativerevenue.md +0 -17
  660. package/docs/models/components/metricstotalsnetrevenue.md +0 -17
  661. package/docs/models/components/metricstotalsnewsubscriptions.md +0 -17
  662. package/docs/models/components/metricstotalsnewsubscriptionsnetrevenue.md +0 -17
  663. package/docs/models/components/metricstotalsnewsubscriptionsrevenue.md +0 -17
  664. package/docs/models/components/metricstotalsonetimeproducts.md +0 -17
  665. package/docs/models/components/metricstotalsonetimeproductsnetrevenue.md +0 -17
  666. package/docs/models/components/metricstotalsonetimeproductsrevenue.md +0 -17
  667. package/docs/models/components/metricstotalsorders.md +0 -17
  668. package/docs/models/components/metricstotalsrenewedsubscriptions.md +0 -17
  669. package/docs/models/components/metricstotalsrenewedsubscriptionsnetrevenue.md +0 -17
  670. package/docs/models/components/metricstotalsrenewedsubscriptionsrevenue.md +0 -17
  671. package/docs/models/components/metricstotalsrevenue.md +0 -17
  672. package/docs/models/components/metricstotalssucceededcheckouts.md +0 -17
  673. package/docs/models/components/metrictype.md +0 -15
  674. package/docs/models/components/monthlyrecurringrevenue.md +0 -17
  675. package/docs/models/components/netaverageordervalue.md +0 -17
  676. package/docs/models/components/netcumulativerevenue.md +0 -17
  677. package/docs/models/components/netrevenue.md +0 -17
  678. package/docs/models/components/newsubscriptions.md +0 -17
  679. package/docs/models/components/newsubscriptionsnetrevenue.md +0 -17
  680. package/docs/models/components/newsubscriptionsrevenue.md +0 -17
  681. package/docs/models/components/oauth2clientconfiguration.md +0 -31
  682. package/docs/models/components/oauth2clientconfigurationupdate.md +0 -33
  683. package/docs/models/components/oauth2clientconfigurationupdategranttypes.md +0 -15
  684. package/docs/models/components/oauth2clientconfigurationupdatetokenendpointauthmethod.md +0 -16
  685. package/docs/models/components/oauth2clientpublic.md +0 -31
  686. package/docs/models/components/onetimeproducts.md +0 -17
  687. package/docs/models/components/onetimeproductsnetrevenue.md +0 -17
  688. package/docs/models/components/onetimeproductsrevenue.md +0 -17
  689. package/docs/models/components/order.md +0 -181
  690. package/docs/models/components/orderbillingreason.md +0 -15
  691. package/docs/models/components/ordercustomer.md +0 -48
  692. package/docs/models/components/ordercustomermetadata.md +0 -29
  693. package/docs/models/components/ordercustomertaxid.md +0 -17
  694. package/docs/models/components/ordercustomfielddata.md +0 -29
  695. package/docs/models/components/orderdiscount.md +0 -101
  696. package/docs/models/components/orderinvoice.md +0 -19
  697. package/docs/models/components/orderitemschema.md +0 -33
  698. package/docs/models/components/ordermetadata.md +0 -29
  699. package/docs/models/components/orderpaidevent.md +0 -39
  700. package/docs/models/components/orderpaidmetadata.md +0 -22
  701. package/docs/models/components/orderproduct.md +0 -41
  702. package/docs/models/components/orderproductmetadata.md +0 -29
  703. package/docs/models/components/orderrefundedevent.md +0 -39
  704. package/docs/models/components/orderrefundedmetadata.md +0 -22
  705. package/docs/models/components/orders.md +0 -17
  706. package/docs/models/components/ordersortproperty.md +0 -15
  707. package/docs/models/components/orderstatus.md +0 -15
  708. package/docs/models/components/ordersubscription.md +0 -66
  709. package/docs/models/components/ordersubscriptionmetadata.md +0 -29
  710. package/docs/models/components/orderupdate.md +0 -23
  711. package/docs/models/components/organization.md +0 -67
  712. package/docs/models/components/organizationavatarfilecreate.md +0 -39
  713. package/docs/models/components/organizationavatarfileread.md +0 -51
  714. package/docs/models/components/organizationcreate.md +0 -28
  715. package/docs/models/components/organizationcustomeremailsettings.md +0 -31
  716. package/docs/models/components/organizationdetails.md +0 -30
  717. package/docs/models/components/organizationfeaturesettings.md +0 -18
  718. package/docs/models/components/organizationnotificationsettings.md +0 -19
  719. package/docs/models/components/organizationsociallink.md +0 -19
  720. package/docs/models/components/organizationsocialplatforms.md +0 -15
  721. package/docs/models/components/organizationsortproperty.md +0 -15
  722. package/docs/models/components/organizationstatus.md +0 -15
  723. package/docs/models/components/organizationsubscriptionsettings.md +0 -23
  724. package/docs/models/components/organizationupdate.md +0 -24
  725. package/docs/models/components/pagination.md +0 -19
  726. package/docs/models/components/payment.md +0 -49
  727. package/docs/models/components/paymentmethodcard.md +0 -34
  728. package/docs/models/components/paymentmethodcardmetadata.md +0 -24
  729. package/docs/models/components/paymentmethodgeneric.md +0 -27
  730. package/docs/models/components/paymentprocessor.md +0 -15
  731. package/docs/models/components/paymentsortproperty.md +0 -15
  732. package/docs/models/components/paymentstatus.md +0 -15
  733. package/docs/models/components/permission.md +0 -17
  734. package/docs/models/components/prices.md +0 -48
  735. package/docs/models/components/product.md +0 -117
  736. package/docs/models/components/productbenefitsupdate.md +0 -22
  737. package/docs/models/components/productbillingtype.md +0 -15
  738. package/docs/models/components/productcreate.md +0 -38
  739. package/docs/models/components/productcreateonetime.md +0 -32
  740. package/docs/models/components/productcreateonetimemetadata.md +0 -29
  741. package/docs/models/components/productcreateonetimeprices.md +0 -56
  742. package/docs/models/components/productcreaterecurring.md +0 -37
  743. package/docs/models/components/productcreaterecurringmetadata.md +0 -29
  744. package/docs/models/components/productcreaterecurringprices.md +0 -56
  745. package/docs/models/components/productmediafilecreate.md +0 -39
  746. package/docs/models/components/productmediafileread.md +0 -51
  747. package/docs/models/components/productmetadata.md +0 -29
  748. package/docs/models/components/productprice.md +0 -103
  749. package/docs/models/components/productpricecustom.md +0 -41
  750. package/docs/models/components/productpricecustomcreate.md +0 -23
  751. package/docs/models/components/productpricefixed.md +0 -37
  752. package/docs/models/components/productpricefixedcreate.md +0 -22
  753. package/docs/models/components/productpricefree.md +0 -33
  754. package/docs/models/components/productpricefreecreate.md +0 -19
  755. package/docs/models/components/productpricemeter.md +0 -21
  756. package/docs/models/components/productpricemeteredunit.md +0 -46
  757. package/docs/models/components/productpricemeteredunitcreate.md +0 -25
  758. package/docs/models/components/productpriceseatbased.md +0 -44
  759. package/docs/models/components/productpriceseatbasedcreate.md +0 -29
  760. package/docs/models/components/productpriceseattier.md +0 -22
  761. package/docs/models/components/productpriceseattiers.md +0 -19
  762. package/docs/models/components/productpricetype.md +0 -15
  763. package/docs/models/components/productsortproperty.md +0 -15
  764. package/docs/models/components/productupdate.md +0 -27
  765. package/docs/models/components/productupdatemetadata.md +0 -29
  766. package/docs/models/components/productupdateprices.md +0 -23
  767. package/docs/models/components/properties.md +0 -35
  768. package/docs/models/components/propertyaggregation.md +0 -19
  769. package/docs/models/components/refreshtokenrequest.md +0 -23
  770. package/docs/models/components/refund.md +0 -43
  771. package/docs/models/components/refundcreate.md +0 -24
  772. package/docs/models/components/refundcreatemetadata.md +0 -29
  773. package/docs/models/components/refundmetadata.md +0 -29
  774. package/docs/models/components/refundreason.md +0 -15
  775. package/docs/models/components/refundsortproperty.md +0 -15
  776. package/docs/models/components/refundstatus.md +0 -15
  777. package/docs/models/components/renewedsubscriptions.md +0 -17
  778. package/docs/models/components/renewedsubscriptionsnetrevenue.md +0 -17
  779. package/docs/models/components/renewedsubscriptionsrevenue.md +0 -17
  780. package/docs/models/components/revenue.md +0 -17
  781. package/docs/models/components/revoketokenrequest.md +0 -22
  782. package/docs/models/components/revoketokenresponse.md +0 -14
  783. package/docs/models/components/s3downloadurl.md +0 -20
  784. package/docs/models/components/s3filecreatemultipart.md +0 -17
  785. package/docs/models/components/s3filecreatepart.md +0 -22
  786. package/docs/models/components/s3fileuploadcompletedpart.md +0 -21
  787. package/docs/models/components/s3fileuploadmultipart.md +0 -21
  788. package/docs/models/components/s3fileuploadpart.md +0 -27
  789. package/docs/models/components/scope.md +0 -15
  790. package/docs/models/components/seatassign.md +0 -22
  791. package/docs/models/components/seatclaim.md +0 -17
  792. package/docs/models/components/seatclaiminfo.md +0 -30
  793. package/docs/models/components/seatslist.md +0 -28
  794. package/docs/models/components/seatstatus.md +0 -15
  795. package/docs/models/components/security.md +0 -15
  796. package/docs/models/components/status.md +0 -15
  797. package/docs/models/components/subscription.md +0 -170
  798. package/docs/models/components/subscriptioncancel.md +0 -19
  799. package/docs/models/components/subscriptioncreatecustomer.md +0 -22
  800. package/docs/models/components/subscriptioncreatecustomermetadata.md +0 -29
  801. package/docs/models/components/subscriptioncreateexternalcustomer.md +0 -22
  802. package/docs/models/components/subscriptioncreateexternalcustomermetadata.md +0 -29
  803. package/docs/models/components/subscriptioncustomer.md +0 -48
  804. package/docs/models/components/subscriptioncustomermetadata.md +0 -29
  805. package/docs/models/components/subscriptioncycledevent.md +0 -58
  806. package/docs/models/components/subscriptioncycledmetadata.md +0 -17
  807. package/docs/models/components/subscriptiondiscount.md +0 -101
  808. package/docs/models/components/subscriptionmeter.md +0 -50
  809. package/docs/models/components/subscriptionprices.md +0 -48
  810. package/docs/models/components/subscriptionproductupdatedevent.md +0 -60
  811. package/docs/models/components/subscriptionproductupdatedmetadata.md +0 -21
  812. package/docs/models/components/subscriptionprorationbehavior.md +0 -15
  813. package/docs/models/components/subscriptionrecurringinterval.md +0 -15
  814. package/docs/models/components/subscriptionrevoke.md +0 -19
  815. package/docs/models/components/subscriptionrevokedevent.md +0 -58
  816. package/docs/models/components/subscriptionrevokedmetadata.md +0 -17
  817. package/docs/models/components/subscriptionsortproperty.md +0 -15
  818. package/docs/models/components/subscriptionstatus.md +0 -15
  819. package/docs/models/components/subscriptionupdate.md +0 -53
  820. package/docs/models/components/subscriptionupdatediscount.md +0 -17
  821. package/docs/models/components/subscriptionupdateproduct.md +0 -18
  822. package/docs/models/components/subscriptionupdateseats.md +0 -18
  823. package/docs/models/components/subscriptionupdatetrial.md +0 -17
  824. package/docs/models/components/subtype.md +0 -15
  825. package/docs/models/components/succeededcheckouts.md +0 -17
  826. package/docs/models/components/switchingfrom.md +0 -15
  827. package/docs/models/components/systemevent.md +0 -535
  828. package/docs/models/components/taxid.md +0 -17
  829. package/docs/models/components/taxidformat.md +0 -19
  830. package/docs/models/components/timeframe.md +0 -15
  831. package/docs/models/components/timeinterval.md +0 -15
  832. package/docs/models/components/tokenendpointauthmethod.md +0 -15
  833. package/docs/models/components/tokenresponse.md +0 -27
  834. package/docs/models/components/tokentype.md +0 -15
  835. package/docs/models/components/tokentypehint.md +0 -15
  836. package/docs/models/components/trialinterval.md +0 -15
  837. package/docs/models/components/two.md +0 -56
  838. package/docs/models/components/uniqueaggregation.md +0 -18
  839. package/docs/models/components/unitamount.md +0 -19
  840. package/docs/models/components/userevent.md +0 -56
  841. package/docs/models/components/userinfoorganization.md +0 -18
  842. package/docs/models/components/userinfouser.md +0 -20
  843. package/docs/models/components/validatedlicensekey.md +0 -69
  844. package/docs/models/components/validationerror.md +0 -23
  845. package/docs/models/components/value.md +0 -23
  846. package/docs/models/components/wallet.md +0 -31
  847. package/docs/models/components/walletsortproperty.md +0 -15
  848. package/docs/models/components/wallettopupcreate.md +0 -21
  849. package/docs/models/components/webhookbenefitcreatedpayload.md +0 -48
  850. package/docs/models/components/webhookbenefitgrantcreatedpayload.md +0 -81
  851. package/docs/models/components/webhookbenefitgrantcycledpayload.md +0 -77
  852. package/docs/models/components/webhookbenefitgrantrevokedpayload.md +0 -81
  853. package/docs/models/components/webhookbenefitgrantupdatedpayload.md +0 -72
  854. package/docs/models/components/webhookbenefitupdatedpayload.md +0 -42
  855. package/docs/models/components/webhookcheckoutcreatedpayload.md +0 -195
  856. package/docs/models/components/webhookcheckoutupdatedpayload.md +0 -195
  857. package/docs/models/components/webhookcustomercreatedpayload.md +0 -51
  858. package/docs/models/components/webhookcustomerdeletedpayload.md +0 -46
  859. package/docs/models/components/webhookcustomerseatassignedpayload.md +0 -31
  860. package/docs/models/components/webhookcustomerseatclaimedpayload.md +0 -30
  861. package/docs/models/components/webhookcustomerseatrevokedpayload.md +0 -30
  862. package/docs/models/components/webhookcustomerstatechangedpayload.md +0 -76
  863. package/docs/models/components/webhookcustomerupdatedpayload.md +0 -50
  864. package/docs/models/components/webhookdelivery.md +0 -38
  865. package/docs/models/components/webhookendpoint.md +0 -37
  866. package/docs/models/components/webhookendpointcreate.md +0 -28
  867. package/docs/models/components/webhookendpointupdate.md +0 -23
  868. package/docs/models/components/webhookevent.md +0 -37
  869. package/docs/models/components/webhookeventtype.md +0 -15
  870. package/docs/models/components/webhookformat.md +0 -15
  871. package/docs/models/components/webhookordercreatedpayload.md +0 -153
  872. package/docs/models/components/webhookorderpaidpayload.md +0 -146
  873. package/docs/models/components/webhookorderrefundedpayload.md +0 -144
  874. package/docs/models/components/webhookorderupdatedpayload.md +0 -149
  875. package/docs/models/components/webhookorganizationupdatedpayload.md +0 -63
  876. package/docs/models/components/webhookproductcreatedpayload.md +0 -112
  877. package/docs/models/components/webhookproductupdatedpayload.md +0 -112
  878. package/docs/models/components/webhookrefundcreatedpayload.md +0 -40
  879. package/docs/models/components/webhookrefundupdatedpayload.md +0 -40
  880. package/docs/models/components/webhooksubscriptionactivepayload.md +0 -155
  881. package/docs/models/components/webhooksubscriptioncanceledpayload.md +0 -155
  882. package/docs/models/components/webhooksubscriptioncreatedpayload.md +0 -156
  883. package/docs/models/components/webhooksubscriptionrevokedpayload.md +0 -155
  884. package/docs/models/components/webhooksubscriptionuncanceledpayload.md +0 -154
  885. package/docs/models/components/webhooksubscriptionupdatedpayload.md +0 -158
  886. package/docs/models/components/webtokenrequest.md +0 -26
  887. package/docs/models/components/webtokenrequestsubtype.md +0 -15
  888. package/docs/models/errors/alreadyactivesubscriptionerror.md +0 -16
  889. package/docs/models/errors/alreadycanceledsubscription.md +0 -16
  890. package/docs/models/errors/checkoutforbiddenerror.md +0 -32
  891. package/docs/models/errors/customernotready.md +0 -16
  892. package/docs/models/errors/customerportalordersgenerateinvoiceresponse422customerportalordersgenerateinvoice.md +0 -25
  893. package/docs/models/errors/expiredcheckouterror.md +0 -16
  894. package/docs/models/errors/httpvalidationerror.md +0 -15
  895. package/docs/models/errors/missinginvoicebillingdetails.md +0 -16
  896. package/docs/models/errors/missingpaymentmethoderror.md +0 -16
  897. package/docs/models/errors/notopencheckout.md +0 -16
  898. package/docs/models/errors/notpaidorder.md +0 -16
  899. package/docs/models/errors/notpermitted.md +0 -16
  900. package/docs/models/errors/ordernoteligibleforretry.md +0 -16
  901. package/docs/models/errors/ordersgenerateinvoiceresponse422ordersgenerateinvoice.md +0 -25
  902. package/docs/models/errors/paymentalreadyinprogress.md +0 -16
  903. package/docs/models/errors/paymenterror.md +0 -16
  904. package/docs/models/errors/paymentintentfailederror.md +0 -16
  905. package/docs/models/errors/paymentmethodinusebyactivesubscription.md +0 -16
  906. package/docs/models/errors/paymentnotready.md +0 -16
  907. package/docs/models/errors/refundamounttoohigh.md +0 -16
  908. package/docs/models/errors/refundedalready.md +0 -16
  909. package/docs/models/errors/resourcenotfound.md +0 -16
  910. package/docs/models/errors/subscriptionlocked.md +0 -16
  911. package/docs/models/errors/unauthorized.md +0 -16
  912. package/docs/models/operations/benefitgrantslistqueryparamcustomeridfilter.md +0 -22
  913. package/docs/models/operations/benefitgrantslistqueryparamorganizationidfilter.md +0 -21
  914. package/docs/models/operations/benefitgrantslistrequest.md +0 -22
  915. package/docs/models/operations/benefitgrantslistresponse.md +0 -23
  916. package/docs/models/operations/benefitidfilter.md +0 -22
  917. package/docs/models/operations/benefitsdeleterequest.md +0 -17
  918. package/docs/models/operations/benefitsgetrequest.md +0 -17
  919. package/docs/models/operations/benefitsgrantsrequest.md +0 -21
  920. package/docs/models/operations/benefitsgrantsresponse.md +0 -23
  921. package/docs/models/operations/benefitslistrequest.md +0 -23
  922. package/docs/models/operations/benefitslistresponse.md +0 -23
  923. package/docs/models/operations/benefitsupdatebenefitupdate.md +0 -58
  924. package/docs/models/operations/benefitsupdaterequest.md +0 -21
  925. package/docs/models/operations/benefittypefilter.md +0 -19
  926. package/docs/models/operations/checkoutidfilter.md +0 -22
  927. package/docs/models/operations/checkoutlinksdeleterequest.md +0 -17
  928. package/docs/models/operations/checkoutlinksgetrequest.md +0 -17
  929. package/docs/models/operations/checkoutlinkslistqueryparamorganizationidfilter.md +0 -21
  930. package/docs/models/operations/checkoutlinkslistqueryparamproductidfilter.md +0 -22
  931. package/docs/models/operations/checkoutlinkslistrequest.md +0 -21
  932. package/docs/models/operations/checkoutlinkslistresponse.md +0 -23
  933. package/docs/models/operations/checkoutlinksupdaterequest.md +0 -19
  934. package/docs/models/operations/checkoutsclientconfirmrequest.md +0 -23
  935. package/docs/models/operations/checkoutsclientgetrequest.md +0 -17
  936. package/docs/models/operations/checkoutsclientupdaterequest.md +0 -23
  937. package/docs/models/operations/checkoutsgetrequest.md +0 -17
  938. package/docs/models/operations/checkoutslistqueryparamcustomeridfilter.md +0 -22
  939. package/docs/models/operations/checkoutslistqueryparamorganizationidfilter.md +0 -21
  940. package/docs/models/operations/checkoutslistqueryparamproductidfilter.md +0 -22
  941. package/docs/models/operations/checkoutslistrequest.md +0 -24
  942. package/docs/models/operations/checkoutslistresponse.md +0 -23
  943. package/docs/models/operations/checkoutsupdaterequest.md +0 -23
  944. package/docs/models/operations/customeremailfilter.md +0 -22
  945. package/docs/models/operations/customeridfilter.md +0 -22
  946. package/docs/models/operations/customermetersgetrequest.md +0 -17
  947. package/docs/models/operations/customermeterslistqueryparamcustomeridfilter.md +0 -22
  948. package/docs/models/operations/customermeterslistqueryparamexternalcustomeridfilter.md +0 -22
  949. package/docs/models/operations/customermeterslistqueryparamorganizationidfilter.md +0 -21
  950. package/docs/models/operations/customermeterslistrequest.md +0 -23
  951. package/docs/models/operations/customermeterslistresponse.md +0 -74
  952. package/docs/models/operations/customerportalbenefitgrantsgetrequest.md +0 -17
  953. package/docs/models/operations/customerportalbenefitgrantsgetsecurity.md +0 -17
  954. package/docs/models/operations/customerportalbenefitgrantslistqueryparambenefitidfilter.md +0 -22
  955. package/docs/models/operations/customerportalbenefitgrantslistrequest.md +0 -22
  956. package/docs/models/operations/customerportalbenefitgrantslistresponse.md +0 -106
  957. package/docs/models/operations/customerportalbenefitgrantslistsecurity.md +0 -17
  958. package/docs/models/operations/customerportalbenefitgrantsupdaterequest.md +0 -21
  959. package/docs/models/operations/customerportalbenefitgrantsupdatesecurity.md +0 -17
  960. package/docs/models/operations/customerportalcustomermetersgetrequest.md +0 -17
  961. package/docs/models/operations/customerportalcustomermetersgetsecurity.md +0 -17
  962. package/docs/models/operations/customerportalcustomermeterslistrequest.md +0 -19
  963. package/docs/models/operations/customerportalcustomermeterslistresponse.md +0 -40
  964. package/docs/models/operations/customerportalcustomermeterslistsecurity.md +0 -17
  965. package/docs/models/operations/customerportalcustomersaddpaymentmethodsecurity.md +0 -17
  966. package/docs/models/operations/customerportalcustomersconfirmpaymentmethodsecurity.md +0 -17
  967. package/docs/models/operations/customerportalcustomersdeletepaymentmethodrequest.md +0 -17
  968. package/docs/models/operations/customerportalcustomersdeletepaymentmethodsecurity.md +0 -17
  969. package/docs/models/operations/customerportalcustomersessionintrospectsecurity.md +0 -17
  970. package/docs/models/operations/customerportalcustomersgetsecurity.md +0 -17
  971. package/docs/models/operations/customerportalcustomerslistpaymentmethodsrequest.md +0 -16
  972. package/docs/models/operations/customerportalcustomerslistpaymentmethodsresponse.md +0 -23
  973. package/docs/models/operations/customerportalcustomerslistpaymentmethodssecurity.md +0 -17
  974. package/docs/models/operations/customerportalcustomersupdatesecurity.md +0 -17
  975. package/docs/models/operations/customerportaldownloadableslistqueryparambenefitidfilter.md +0 -22
  976. package/docs/models/operations/customerportaldownloadableslistrequest.md +0 -17
  977. package/docs/models/operations/customerportaldownloadableslistresponse.md +0 -23
  978. package/docs/models/operations/customerportaldownloadableslistsecurity.md +0 -17
  979. package/docs/models/operations/customerportallicensekeysgetrequest.md +0 -17
  980. package/docs/models/operations/customerportallicensekeysgetsecurity.md +0 -17
  981. package/docs/models/operations/customerportallicensekeyslistrequest.md +0 -17
  982. package/docs/models/operations/customerportallicensekeyslistresponse.md +0 -23
  983. package/docs/models/operations/customerportallicensekeyslistsecurity.md +0 -17
  984. package/docs/models/operations/customerportalordersconfirmretrypaymentrequest.md +0 -19
  985. package/docs/models/operations/customerportalordersconfirmretrypaymentsecurity.md +0 -17
  986. package/docs/models/operations/customerportalordersgenerateinvoicerequest.md +0 -17
  987. package/docs/models/operations/customerportalordersgenerateinvoicesecurity.md +0 -17
  988. package/docs/models/operations/customerportalordersgetpaymentstatusrequest.md +0 -17
  989. package/docs/models/operations/customerportalordersgetpaymentstatussecurity.md +0 -17
  990. package/docs/models/operations/customerportalordersgetrequest.md +0 -17
  991. package/docs/models/operations/customerportalordersgetsecurity.md +0 -17
  992. package/docs/models/operations/customerportalordersinvoicerequest.md +0 -17
  993. package/docs/models/operations/customerportalordersinvoicesecurity.md +0 -17
  994. package/docs/models/operations/customerportalorderslistqueryparamproductbillingtypefilter.md +0 -19
  995. package/docs/models/operations/customerportalorderslistqueryparamproductidfilter.md +0 -22
  996. package/docs/models/operations/customerportalorderslistqueryparamsubscriptionidfilter.md +0 -22
  997. package/docs/models/operations/customerportalorderslistrequest.md +0 -21
  998. package/docs/models/operations/customerportalorderslistresponse.md +0 -23
  999. package/docs/models/operations/customerportalorderslistsecurity.md +0 -17
  1000. package/docs/models/operations/customerportalordersupdaterequest.md +0 -24
  1001. package/docs/models/operations/customerportalordersupdatesecurity.md +0 -17
  1002. package/docs/models/operations/customerportalorganizationsgetrequest.md +0 -17
  1003. package/docs/models/operations/customerportalseatsassignseatsecurity.md +0 -17
  1004. package/docs/models/operations/customerportalseatslistclaimedsubscriptionssecurity.md +0 -17
  1005. package/docs/models/operations/customerportalseatslistseatsrequest.md +0 -16
  1006. package/docs/models/operations/customerportalseatslistseatssecurity.md +0 -17
  1007. package/docs/models/operations/customerportalseatsresendinvitationrequest.md +0 -17
  1008. package/docs/models/operations/customerportalseatsresendinvitationsecurity.md +0 -17
  1009. package/docs/models/operations/customerportalseatsrevokeseatrequest.md +0 -17
  1010. package/docs/models/operations/customerportalseatsrevokeseatsecurity.md +0 -17
  1011. package/docs/models/operations/customerportalsubscriptionscancelrequest.md +0 -17
  1012. package/docs/models/operations/customerportalsubscriptionscancelsecurity.md +0 -17
  1013. package/docs/models/operations/customerportalsubscriptionsgetrequest.md +0 -17
  1014. package/docs/models/operations/customerportalsubscriptionsgetsecurity.md +0 -17
  1015. package/docs/models/operations/customerportalsubscriptionslistqueryparamproductidfilter.md +0 -22
  1016. package/docs/models/operations/customerportalsubscriptionslistrequest.md +0 -20
  1017. package/docs/models/operations/customerportalsubscriptionslistresponse.md +0 -115
  1018. package/docs/models/operations/customerportalsubscriptionslistsecurity.md +0 -17
  1019. package/docs/models/operations/customerportalsubscriptionsupdaterequest.md +0 -21
  1020. package/docs/models/operations/customerportalsubscriptionsupdatesecurity.md +0 -17
  1021. package/docs/models/operations/customerportalwalletsgetrequest.md +0 -17
  1022. package/docs/models/operations/customerportalwalletsgetsecurity.md +0 -17
  1023. package/docs/models/operations/customerportalwalletslistrequest.md +0 -17
  1024. package/docs/models/operations/customerportalwalletslistresponse.md +0 -32
  1025. package/docs/models/operations/customerportalwalletslistsecurity.md +0 -17
  1026. package/docs/models/operations/customersdeleteexternalrequest.md +0 -17
  1027. package/docs/models/operations/customersdeleterequest.md +0 -17
  1028. package/docs/models/operations/customerseatsgetclaiminforequest.md +0 -17
  1029. package/docs/models/operations/customerseatslistseatsrequest.md +0 -16
  1030. package/docs/models/operations/customerseatsresendinvitationrequest.md +0 -17
  1031. package/docs/models/operations/customerseatsrevokeseatrequest.md +0 -17
  1032. package/docs/models/operations/customersessionscreatecustomersessioncreate.md +0 -23
  1033. package/docs/models/operations/customersexportqueryparamorganizationid.md +0 -21
  1034. package/docs/models/operations/customersexportrequest.md +0 -17
  1035. package/docs/models/operations/customersgetbalancerequest.md +0 -17
  1036. package/docs/models/operations/customersgetexternalrequest.md +0 -17
  1037. package/docs/models/operations/customersgetrequest.md +0 -17
  1038. package/docs/models/operations/customersgetstateexternalrequest.md +0 -17
  1039. package/docs/models/operations/customersgetstaterequest.md +0 -17
  1040. package/docs/models/operations/customerslistqueryparamorganizationidfilter.md +0 -21
  1041. package/docs/models/operations/customerslistrequest.md +0 -23
  1042. package/docs/models/operations/customerslistresponse.md +0 -23
  1043. package/docs/models/operations/customersupdateexternalrequest.md +0 -29
  1044. package/docs/models/operations/customersupdaterequest.md +0 -30
  1045. package/docs/models/operations/customfieldsdeleterequest.md +0 -17
  1046. package/docs/models/operations/customfieldsgetrequest.md +0 -17
  1047. package/docs/models/operations/customfieldslistqueryparamorganizationidfilter.md +0 -21
  1048. package/docs/models/operations/customfieldslistrequest.md +0 -22
  1049. package/docs/models/operations/customfieldslistresponse.md +0 -37
  1050. package/docs/models/operations/customfieldsupdaterequest.md +0 -21
  1051. package/docs/models/operations/customfieldtypefilter.md +0 -21
  1052. package/docs/models/operations/discountidfilter.md +0 -22
  1053. package/docs/models/operations/discountsdeleterequest.md +0 -17
  1054. package/docs/models/operations/discountsgetrequest.md +0 -17
  1055. package/docs/models/operations/discountslistqueryparamorganizationidfilter.md +0 -21
  1056. package/docs/models/operations/discountslistrequest.md +0 -21
  1057. package/docs/models/operations/discountslistresponse.md +0 -23
  1058. package/docs/models/operations/discountsupdaterequest.md +0 -19
  1059. package/docs/models/operations/endpointid.md +0 -22
  1060. package/docs/models/operations/eventsgetrequest.md +0 -17
  1061. package/docs/models/operations/eventslistnamesqueryparamcustomeridfilter.md +0 -22
  1062. package/docs/models/operations/eventslistnamesqueryparamexternalcustomeridfilter.md +0 -22
  1063. package/docs/models/operations/eventslistnamesqueryparamorganizationidfilter.md +0 -21
  1064. package/docs/models/operations/eventslistnamesrequest.md +0 -24
  1065. package/docs/models/operations/eventslistnamesresponse.md +0 -23
  1066. package/docs/models/operations/eventslistqueryparamcustomeridfilter.md +0 -22
  1067. package/docs/models/operations/eventslistqueryparamorganizationidfilter.md +0 -21
  1068. package/docs/models/operations/eventslistrequest.md +0 -30
  1069. package/docs/models/operations/eventslistresponse.md +0 -56
  1070. package/docs/models/operations/externalcustomeridfilter.md +0 -22
  1071. package/docs/models/operations/fileidfilter.md +0 -22
  1072. package/docs/models/operations/filesdeleterequest.md +0 -17
  1073. package/docs/models/operations/fileslistqueryparamorganizationidfilter.md +0 -21
  1074. package/docs/models/operations/fileslistrequest.md +0 -20
  1075. package/docs/models/operations/fileslistresponse.md +0 -23
  1076. package/docs/models/operations/filesupdaterequest.md +0 -19
  1077. package/docs/models/operations/filesupdateresponsefilesupdate.md +0 -78
  1078. package/docs/models/operations/filesuploadedrequest.md +0 -23
  1079. package/docs/models/operations/filesuploadedresponsefilesuploaded.md +0 -78
  1080. package/docs/models/operations/licensekeysgetactivationrequest.md +0 -19
  1081. package/docs/models/operations/licensekeysgetrequest.md +0 -17
  1082. package/docs/models/operations/licensekeyslistqueryparamorganizationidfilter.md +0 -21
  1083. package/docs/models/operations/licensekeyslistrequest.md +0 -20
  1084. package/docs/models/operations/licensekeyslistresponse.md +0 -23
  1085. package/docs/models/operations/licensekeysupdaterequest.md +0 -19
  1086. package/docs/models/operations/meteridfilter.md +0 -22
  1087. package/docs/models/operations/metersgetrequest.md +0 -17
  1088. package/docs/models/operations/meterslistqueryparamorganizationidfilter.md +0 -21
  1089. package/docs/models/operations/meterslistrequest.md +0 -23
  1090. package/docs/models/operations/meterslistresponse.md +0 -23
  1091. package/docs/models/operations/metersquantitiesqueryparamcustomeridfilter.md +0 -22
  1092. package/docs/models/operations/metersquantitiesqueryparamexternalcustomeridfilter.md +0 -22
  1093. package/docs/models/operations/metersquantitiesrequest.md +0 -27
  1094. package/docs/models/operations/metersupdaterequest.md +0 -19
  1095. package/docs/models/operations/methodfilter.md +0 -22
  1096. package/docs/models/operations/metricsgetqueryparamcustomeridfilter.md +0 -22
  1097. package/docs/models/operations/metricsgetqueryparamorganizationidfilter.md +0 -21
  1098. package/docs/models/operations/metricsgetqueryparamproductidfilter.md +0 -22
  1099. package/docs/models/operations/metricsgetrequest.md +0 -28
  1100. package/docs/models/operations/namefilter.md +0 -22
  1101. package/docs/models/operations/oauth2authorizeresponseoauth2authorize.md +0 -56
  1102. package/docs/models/operations/oauth2clientsoauth2deleteclientrequest.md +0 -17
  1103. package/docs/models/operations/oauth2clientsoauth2getclientrequest.md +0 -17
  1104. package/docs/models/operations/oauth2clientsoauth2updateclientrequest.md +0 -26
  1105. package/docs/models/operations/oauth2requesttokenrequestbody.md +0 -39
  1106. package/docs/models/operations/oauth2userinforesponseoauth2userinfo.md +0 -23
  1107. package/docs/models/operations/orderidfilter.md +0 -22
  1108. package/docs/models/operations/ordersexportqueryparamorganizationidfilter.md +0 -21
  1109. package/docs/models/operations/ordersexportqueryparamproductidfilter.md +0 -22
  1110. package/docs/models/operations/ordersexportrequest.md +0 -18
  1111. package/docs/models/operations/ordersgenerateinvoicerequest.md +0 -17
  1112. package/docs/models/operations/ordersgetrequest.md +0 -17
  1113. package/docs/models/operations/ordersinvoicerequest.md +0 -17
  1114. package/docs/models/operations/orderslistqueryparamcustomeridfilter.md +0 -22
  1115. package/docs/models/operations/orderslistqueryparamorganizationidfilter.md +0 -21
  1116. package/docs/models/operations/orderslistqueryparamproductidfilter.md +0 -22
  1117. package/docs/models/operations/orderslistrequest.md +0 -26
  1118. package/docs/models/operations/orderslistresponse.md +0 -142
  1119. package/docs/models/operations/ordersupdaterequest.md +0 -24
  1120. package/docs/models/operations/organizationid.md +0 -21
  1121. package/docs/models/operations/organizationidfilter.md +0 -21
  1122. package/docs/models/operations/organizationsgetrequest.md +0 -17
  1123. package/docs/models/operations/organizationslistrequest.md +0 -18
  1124. package/docs/models/operations/organizationslistresponse.md +0 -23
  1125. package/docs/models/operations/organizationsupdaterequest.md +0 -19
  1126. package/docs/models/operations/paymentsgetrequest.md +0 -17
  1127. package/docs/models/operations/paymentslistqueryparamcheckoutidfilter.md +0 -22
  1128. package/docs/models/operations/paymentslistqueryparamorderidfilter.md +0 -22
  1129. package/docs/models/operations/paymentslistqueryparamorganizationidfilter.md +0 -21
  1130. package/docs/models/operations/paymentslistrequest.md +0 -25
  1131. package/docs/models/operations/paymentslistresponse.md +0 -39
  1132. package/docs/models/operations/productbillingtypefilter.md +0 -19
  1133. package/docs/models/operations/productidfilter.md +0 -22
  1134. package/docs/models/operations/productsgetrequest.md +0 -17
  1135. package/docs/models/operations/productslistqueryparamorganizationidfilter.md +0 -21
  1136. package/docs/models/operations/productslistrequest.md +0 -26
  1137. package/docs/models/operations/productslistresponse.md +0 -79
  1138. package/docs/models/operations/productsupdatebenefitsrequest.md +0 -23
  1139. package/docs/models/operations/productsupdaterequest.md +0 -19
  1140. package/docs/models/operations/queryparambenefitidfilter.md +0 -22
  1141. package/docs/models/operations/queryparambenefittypefilter.md +0 -19
  1142. package/docs/models/operations/queryparamcheckoutidfilter.md +0 -22
  1143. package/docs/models/operations/queryparamcustomeridfilter.md +0 -22
  1144. package/docs/models/operations/queryparamdiscountidfilter.md +0 -22
  1145. package/docs/models/operations/queryparamexternalcustomeridfilter.md +0 -22
  1146. package/docs/models/operations/queryparammeteridfilter.md +0 -22
  1147. package/docs/models/operations/queryparamorderidfilter.md +0 -22
  1148. package/docs/models/operations/queryparamorganizationid.md +0 -21
  1149. package/docs/models/operations/queryparamorganizationidfilter.md +0 -21
  1150. package/docs/models/operations/queryparamproductbillingtypefilter.md +0 -19
  1151. package/docs/models/operations/queryparamproductidfilter.md +0 -22
  1152. package/docs/models/operations/queryparamsourcefilter.md +0 -19
  1153. package/docs/models/operations/queryparamstatusfilter.md +0 -21
  1154. package/docs/models/operations/queryparamsubscriptionidfilter.md +0 -22
  1155. package/docs/models/operations/refundidfilter.md +0 -22
  1156. package/docs/models/operations/refundslistqueryparamcustomeridfilter.md +0 -22
  1157. package/docs/models/operations/refundslistqueryparamorganizationidfilter.md +0 -21
  1158. package/docs/models/operations/refundslistrequest.md +0 -25
  1159. package/docs/models/operations/refundslistresponse.md +0 -42
  1160. package/docs/models/operations/sourcefilter.md +0 -19
  1161. package/docs/models/operations/statusfilter.md +0 -21
  1162. package/docs/models/operations/subscriptionidfilter.md +0 -22
  1163. package/docs/models/operations/subscriptionscreatesubscriptioncreate.md +0 -23
  1164. package/docs/models/operations/subscriptionsexportrequest.md +0 -17
  1165. package/docs/models/operations/subscriptionsgetrequest.md +0 -17
  1166. package/docs/models/operations/subscriptionslistrequest.md +0 -26
  1167. package/docs/models/operations/subscriptionslistresponse.md +0 -23
  1168. package/docs/models/operations/subscriptionsrevokerequest.md +0 -17
  1169. package/docs/models/operations/subscriptionsupdaterequest.md +0 -21
  1170. package/docs/models/operations/walletsgetrequest.md +0 -17
  1171. package/docs/models/operations/walletslistqueryparamcustomeridfilter.md +0 -22
  1172. package/docs/models/operations/walletslistqueryparamorganizationidfilter.md +0 -21
  1173. package/docs/models/operations/walletslistrequest.md +0 -21
  1174. package/docs/models/operations/walletslistresponse.md +0 -23
  1175. package/docs/models/operations/walletstopuprequest.md +0 -22
  1176. package/docs/models/operations/webhooksdeletewebhookendpointrequest.md +0 -17
  1177. package/docs/models/operations/webhooksgetwebhookendpointrequest.md +0 -17
  1178. package/docs/models/operations/webhookslistwebhookdeliveriesrequest.md +0 -19
  1179. package/docs/models/operations/webhookslistwebhookdeliveriesresponse.md +0 -23
  1180. package/docs/models/operations/webhookslistwebhookendpointsrequest.md +0 -19
  1181. package/docs/models/operations/webhookslistwebhookendpointsresponse.md +0 -35
  1182. package/docs/models/operations/webhooksredeliverwebhookeventrequest.md +0 -17
  1183. package/docs/models/operations/webhooksresetwebhookendpointsecretrequest.md +0 -17
  1184. package/docs/models/operations/webhooksupdatewebhookendpointrequest.md +0 -21
  1185. package/docs/sdks/benefitgrants/README.md +0 -88
  1186. package/docs/sdks/benefits/README.md +0 -500
  1187. package/docs/sdks/checkoutlinks/README.md +0 -407
  1188. package/docs/sdks/checkouts/README.md +0 -600
  1189. package/docs/sdks/clients/README.md +0 -331
  1190. package/docs/sdks/customermeters/README.md +0 -166
  1191. package/docs/sdks/customers/README.md +0 -1036
  1192. package/docs/sdks/customerseats/README.md +0 -441
  1193. package/docs/sdks/customersession/README.md +0 -79
  1194. package/docs/sdks/customersessions/README.md +0 -84
  1195. package/docs/sdks/customfields/README.md +0 -417
  1196. package/docs/sdks/discounts/README.md +0 -409
  1197. package/docs/sdks/downloadables/README.md +0 -83
  1198. package/docs/sdks/events/README.md +0 -324
  1199. package/docs/sdks/files/README.md +0 -460
  1200. package/docs/sdks/licensekeys/README.md +0 -576
  1201. package/docs/sdks/meters/README.md +0 -437
  1202. package/docs/sdks/metrics/README.md +0 -165
  1203. package/docs/sdks/oauth2/README.md +0 -371
  1204. package/docs/sdks/orders/README.md +0 -489
  1205. package/docs/sdks/organizations/README.md +0 -322
  1206. package/docs/sdks/payments/README.md +0 -166
  1207. package/docs/sdks/polarbenefitgrants/README.md +0 -250
  1208. package/docs/sdks/polarcustomermeters/README.md +0 -164
  1209. package/docs/sdks/polarcustomers/README.md +0 -482
  1210. package/docs/sdks/polarlicensekeys/README.md +0 -406
  1211. package/docs/sdks/polarorders/README.md +0 -574
  1212. package/docs/sdks/polarorganizations/README.md +0 -79
  1213. package/docs/sdks/polarsubscriptions/README.md +0 -326
  1214. package/docs/sdks/polarwallets/README.md +0 -164
  1215. package/docs/sdks/products/README.md +0 -441
  1216. package/docs/sdks/refunds/README.md +0 -171
  1217. package/docs/sdks/seats/README.md +0 -379
  1218. package/docs/sdks/subscriptions/README.md +0 -493
  1219. package/docs/sdks/wallets/README.md +0 -256
  1220. package/docs/sdks/webhooks/README.md +0 -650
  1221. package/docs/types/rfcdate.md +0 -11
  1222. package/eslint.config.mjs +0 -22
  1223. package/examples/.env.template +0 -14
  1224. package/examples/README.md +0 -31
  1225. package/examples/core copy.ts +0 -13
  1226. package/examples/core.ts +0 -13
  1227. package/examples/funcs/benefitGrantsList.ts +0 -261
  1228. package/examples/funcs/benefitsCreate.ts +0 -181
  1229. package/examples/funcs/benefitsDelete.ts +0 -204
  1230. package/examples/funcs/benefitsGet.ts +0 -195
  1231. package/examples/funcs/benefitsGrants.ts +0 -277
  1232. package/examples/funcs/benefitsList.ts +0 -270
  1233. package/examples/funcs/benefitsUpdate.ts +0 -196
  1234. package/examples/funcs/checkoutLinksCreate.ts +0 -181
  1235. package/examples/funcs/checkoutLinksDelete.ts +0 -192
  1236. package/examples/funcs/checkoutLinksGet.ts +0 -195
  1237. package/examples/funcs/checkoutLinksList.ts +0 -260
  1238. package/examples/funcs/checkoutLinksUpdate.ts +0 -198
  1239. package/examples/funcs/checkoutsClientConfirm.ts +0 -224
  1240. package/examples/funcs/checkoutsClientGet.ts +0 -195
  1241. package/examples/funcs/checkoutsClientUpdate.ts +0 -206
  1242. package/examples/funcs/checkoutsCreate.ts +0 -181
  1243. package/examples/funcs/checkoutsGet.ts +0 -195
  1244. package/examples/funcs/checkoutsList.ts +0 -263
  1245. package/examples/funcs/checkoutsUpdate.ts +0 -204
  1246. package/examples/funcs/customFieldsCreate.ts +0 -181
  1247. package/examples/funcs/customFieldsDelete.ts +0 -192
  1248. package/examples/funcs/customFieldsGet.ts +0 -195
  1249. package/examples/funcs/customFieldsList.ts +0 -261
  1250. package/examples/funcs/customFieldsUpdate.ts +0 -196
  1251. package/examples/funcs/customerMetersGet.ts +0 -195
  1252. package/examples/funcs/customerMetersList.ts +0 -262
  1253. package/examples/funcs/customerPortalBenefitGrantsGet.ts +0 -208
  1254. package/examples/funcs/customerPortalBenefitGrantsList.ts +0 -277
  1255. package/examples/funcs/customerPortalBenefitGrantsUpdate.ts +0 -219
  1256. package/examples/funcs/customerPortalCustomerMetersGet.ts +0 -206
  1257. package/examples/funcs/customerPortalCustomerMetersList.ts +0 -274
  1258. package/examples/funcs/customerPortalCustomerSessionIntrospect.ts +0 -157
  1259. package/examples/funcs/customerPortalCustomersAddPaymentMethod.ts +0 -191
  1260. package/examples/funcs/customerPortalCustomersConfirmPaymentMethod.ts +0 -201
  1261. package/examples/funcs/customerPortalCustomersDeletePaymentMethod.ts +0 -215
  1262. package/examples/funcs/customerPortalCustomersGet.ts +0 -157
  1263. package/examples/funcs/customerPortalCustomersListPaymentMethods.ts +0 -275
  1264. package/examples/funcs/customerPortalCustomersUpdate.ts +0 -191
  1265. package/examples/funcs/customerPortalDownloadablesList.ts +0 -270
  1266. package/examples/funcs/customerPortalLicenseKeysActivate.ts +0 -194
  1267. package/examples/funcs/customerPortalLicenseKeysDeactivate.ts +0 -183
  1268. package/examples/funcs/customerPortalLicenseKeysGet.ts +0 -205
  1269. package/examples/funcs/customerPortalLicenseKeysList.ts +0 -287
  1270. package/examples/funcs/customerPortalLicenseKeysValidate.ts +0 -186
  1271. package/examples/funcs/customerPortalOrdersConfirmRetryPayment.ts +0 -221
  1272. package/examples/funcs/customerPortalOrdersGenerateInvoice.ts +0 -200
  1273. package/examples/funcs/customerPortalOrdersGet.ts +0 -205
  1274. package/examples/funcs/customerPortalOrdersGetPaymentStatus.ts +0 -208
  1275. package/examples/funcs/customerPortalOrdersInvoice.ts +0 -207
  1276. package/examples/funcs/customerPortalOrdersList.ts +0 -275
  1277. package/examples/funcs/customerPortalOrdersUpdate.ts +0 -208
  1278. package/examples/funcs/customerPortalOrganizationsGet.ts +0 -190
  1279. package/examples/funcs/customerPortalSeatsAssignSeat.ts +0 -189
  1280. package/examples/funcs/customerPortalSeatsListClaimedSubscriptions.ts +0 -158
  1281. package/examples/funcs/customerPortalSeatsListSeats.ts +0 -194
  1282. package/examples/funcs/customerPortalSeatsResendInvitation.ts +0 -198
  1283. package/examples/funcs/customerPortalSeatsRevokeSeat.ts +0 -195
  1284. package/examples/funcs/customerPortalSubscriptionsCancel.ts +0 -214
  1285. package/examples/funcs/customerPortalSubscriptionsGet.ts +0 -206
  1286. package/examples/funcs/customerPortalSubscriptionsList.ts +0 -275
  1287. package/examples/funcs/customerPortalSubscriptionsUpdate.ts +0 -217
  1288. package/examples/funcs/customerPortalWalletsGet.ts +0 -205
  1289. package/examples/funcs/customerPortalWalletsList.ts +0 -271
  1290. package/examples/funcs/customerSeatsAssignSeat.ts +0 -179
  1291. package/examples/funcs/customerSeatsClaimSeat.ts +0 -170
  1292. package/examples/funcs/customerSeatsGetClaimInfo.ts +0 -179
  1293. package/examples/funcs/customerSeatsListSeats.ts +0 -184
  1294. package/examples/funcs/customerSeatsResendInvitation.ts +0 -185
  1295. package/examples/funcs/customerSeatsRevokeSeat.ts +0 -185
  1296. package/examples/funcs/customerSessionsCreate.ts +0 -182
  1297. package/examples/funcs/customersCreate.ts +0 -181
  1298. package/examples/funcs/customersDelete.ts +0 -204
  1299. package/examples/funcs/customersDeleteExternal.ts +0 -194
  1300. package/examples/funcs/customersExport.ts +0 -182
  1301. package/examples/funcs/customersGet.ts +0 -195
  1302. package/examples/funcs/customersGetBalance.ts +0 -195
  1303. package/examples/funcs/customersGetExternal.ts +0 -195
  1304. package/examples/funcs/customersGetState.ts +0 -201
  1305. package/examples/funcs/customersGetStateExternal.ts +0 -203
  1306. package/examples/funcs/customersList.ts +0 -270
  1307. package/examples/funcs/customersUpdate.ts +0 -196
  1308. package/examples/funcs/customersUpdateExternal.ts +0 -198
  1309. package/examples/funcs/discountsCreate.ts +0 -181
  1310. package/examples/funcs/discountsDelete.ts +0 -192
  1311. package/examples/funcs/discountsGet.ts +0 -195
  1312. package/examples/funcs/discountsList.ts +0 -260
  1313. package/examples/funcs/discountsUpdate.ts +0 -196
  1314. package/examples/funcs/eventsGet.ts +0 -192
  1315. package/examples/funcs/eventsIngest.ts +0 -181
  1316. package/examples/funcs/eventsList.ts +0 -277
  1317. package/examples/funcs/eventsListNames.ts +0 -263
  1318. package/examples/funcs/filesCreate.ts +0 -181
  1319. package/examples/funcs/filesDelete.ts +0 -200
  1320. package/examples/funcs/filesList.ts +0 -259
  1321. package/examples/funcs/filesUpdate.ts +0 -202
  1322. package/examples/funcs/filesUploaded.ts +0 -204
  1323. package/examples/funcs/licenseKeysActivate.ts +0 -197
  1324. package/examples/funcs/licenseKeysDeactivate.ts +0 -186
  1325. package/examples/funcs/licenseKeysGet.ts +0 -203
  1326. package/examples/funcs/licenseKeysGetActivation.ts +0 -209
  1327. package/examples/funcs/licenseKeysList.ts +0 -277
  1328. package/examples/funcs/licenseKeysUpdate.ts +0 -204
  1329. package/examples/funcs/licenseKeysValidate.ts +0 -189
  1330. package/examples/funcs/metersCreate.ts +0 -178
  1331. package/examples/funcs/metersGet.ts +0 -192
  1332. package/examples/funcs/metersList.ts +0 -270
  1333. package/examples/funcs/metersQuantities.ts +0 -215
  1334. package/examples/funcs/metersUpdate.ts +0 -193
  1335. package/examples/funcs/metricsGet.ts +0 -194
  1336. package/examples/funcs/metricsLimits.ts +0 -147
  1337. package/examples/funcs/oauth2Authorize.ts +0 -142
  1338. package/examples/funcs/oauth2ClientsCreate.ts +0 -176
  1339. package/examples/funcs/oauth2ClientsDelete.ts +0 -183
  1340. package/examples/funcs/oauth2ClientsGet.ts +0 -182
  1341. package/examples/funcs/oauth2ClientsUpdate.ts +0 -186
  1342. package/examples/funcs/oauth2Introspect.ts +0 -164
  1343. package/examples/funcs/oauth2Revoke.ts +0 -164
  1344. package/examples/funcs/oauth2Token.ts +0 -164
  1345. package/examples/funcs/oauth2Userinfo.ts +0 -145
  1346. package/examples/funcs/ordersExport.ts +0 -183
  1347. package/examples/funcs/ordersGenerateInvoice.ts +0 -187
  1348. package/examples/funcs/ordersGet.ts +0 -192
  1349. package/examples/funcs/ordersInvoice.ts +0 -195
  1350. package/examples/funcs/ordersList.ts +0 -273
  1351. package/examples/funcs/ordersUpdate.ts +0 -193
  1352. package/examples/funcs/organizationsCreate.ts +0 -181
  1353. package/examples/funcs/organizationsGet.ts +0 -195
  1354. package/examples/funcs/organizationsList.ts +0 -259
  1355. package/examples/funcs/organizationsUpdate.ts +0 -206
  1356. package/examples/funcs/paymentsGet.ts +0 -195
  1357. package/examples/funcs/paymentsList.ts +0 -264
  1358. package/examples/funcs/productsCreate.ts +0 -181
  1359. package/examples/funcs/productsGet.ts +0 -195
  1360. package/examples/funcs/productsList.ts +0 -273
  1361. package/examples/funcs/productsUpdate.ts +0 -204
  1362. package/examples/funcs/productsUpdateBenefits.ts +0 -206
  1363. package/examples/funcs/refundsCreate.ts +0 -195
  1364. package/examples/funcs/refundsList.ts +0 -264
  1365. package/examples/funcs/subscriptionsCreate.ts +0 -187
  1366. package/examples/funcs/subscriptionsExport.ts +0 -182
  1367. package/examples/funcs/subscriptionsGet.ts +0 -195
  1368. package/examples/funcs/subscriptionsList.ts +0 -273
  1369. package/examples/funcs/subscriptionsRevoke.ts +0 -211
  1370. package/examples/funcs/subscriptionsUpdate.ts +0 -214
  1371. package/examples/funcs/walletsGet.ts +0 -192
  1372. package/examples/funcs/walletsList.ts +0 -260
  1373. package/examples/funcs/walletsTopUp.ts +0 -212
  1374. package/examples/funcs/webhooksCreateWebhookEndpoint.ts +0 -181
  1375. package/examples/funcs/webhooksDeleteWebhookEndpoint.ts +0 -192
  1376. package/examples/funcs/webhooksGetWebhookEndpoint.ts +0 -195
  1377. package/examples/funcs/webhooksListWebhookDeliveries.ts +0 -264
  1378. package/examples/funcs/webhooksListWebhookEndpoints.ts +0 -260
  1379. package/examples/funcs/webhooksRedeliverWebhookEvent.ts +0 -192
  1380. package/examples/funcs/webhooksResetWebhookEndpointSecret.ts +0 -196
  1381. package/examples/funcs/webhooksUpdateWebhookEndpoint.ts +0 -198
  1382. package/examples/hooks/hooks.ts +0 -132
  1383. package/examples/hooks/registration.ts +0 -14
  1384. package/examples/hooks/types.ts +0 -114
  1385. package/examples/lib/base64.ts +0 -37
  1386. package/examples/lib/config.ts +0 -70
  1387. package/examples/lib/dlv.ts +0 -53
  1388. package/examples/lib/encodings.ts +0 -483
  1389. package/examples/lib/env.ts +0 -57
  1390. package/examples/lib/files.ts +0 -82
  1391. package/examples/lib/http.ts +0 -323
  1392. package/examples/lib/is-plain-object.ts +0 -43
  1393. package/examples/lib/logger.ts +0 -9
  1394. package/examples/lib/matchers.ts +0 -345
  1395. package/examples/lib/primitives.ts +0 -150
  1396. package/examples/lib/retries.ts +0 -218
  1397. package/examples/lib/schemas.ts +0 -91
  1398. package/examples/lib/sdks.ts +0 -407
  1399. package/examples/lib/security.ts +0 -264
  1400. package/examples/lib/url.ts +0 -33
  1401. package/examples/models/components/address.ts +0 -363
  1402. package/examples/models/components/addressdict.ts +0 -91
  1403. package/examples/models/components/addressinput.ts +0 -361
  1404. package/examples/models/components/aggregationfunction.ts +0 -37
  1405. package/examples/models/components/attachedcustomfield.ts +0 -107
  1406. package/examples/models/components/attachedcustomfieldcreate.ts +0 -88
  1407. package/examples/models/components/authorizationcodetokenrequest.ts +0 -99
  1408. package/examples/models/components/authorizeorganization.ts +0 -83
  1409. package/examples/models/components/authorizeresponseorganization.ts +0 -106
  1410. package/examples/models/components/authorizeresponseuser.ts +0 -100
  1411. package/examples/models/components/authorizeuser.ts +0 -79
  1412. package/examples/models/components/benefit.ts +0 -113
  1413. package/examples/models/components/benefitcreate.ts +0 -164
  1414. package/examples/models/components/benefitcustom.ts +0 -204
  1415. package/examples/models/components/benefitcustomcreate.ts +0 -184
  1416. package/examples/models/components/benefitcustomcreateproperties.ts +0 -71
  1417. package/examples/models/components/benefitcustomproperties.ts +0 -69
  1418. package/examples/models/components/benefitcustomsubscriber.ts +0 -221
  1419. package/examples/models/components/benefitcustomsubscriberproperties.ts +0 -72
  1420. package/examples/models/components/benefitcustomupdate.ts +0 -162
  1421. package/examples/models/components/benefitcycledevent.ts +0 -150
  1422. package/examples/models/components/benefitdiscord.ts +0 -208
  1423. package/examples/models/components/benefitdiscordcreate.ts +0 -181
  1424. package/examples/models/components/benefitdiscordcreateproperties.ts +0 -98
  1425. package/examples/models/components/benefitdiscordproperties.ts +0 -105
  1426. package/examples/models/components/benefitdiscordsubscriber.ts +0 -221
  1427. package/examples/models/components/benefitdiscordsubscriberproperties.ts +0 -85
  1428. package/examples/models/components/benefitdiscordupdate.ts +0 -164
  1429. package/examples/models/components/benefitdownloadables.ts +0 -204
  1430. package/examples/models/components/benefitdownloadablescreate.ts +0 -184
  1431. package/examples/models/components/benefitdownloadablescreateproperties.ts +0 -75
  1432. package/examples/models/components/benefitdownloadablesproperties.ts +0 -72
  1433. package/examples/models/components/benefitdownloadablessubscriber.ts +0 -224
  1434. package/examples/models/components/benefitdownloadablessubscriberproperties.ts +0 -86
  1435. package/examples/models/components/benefitdownloadablesupdate.ts +0 -170
  1436. package/examples/models/components/benefitgithubrepository.ts +0 -218
  1437. package/examples/models/components/benefitgithubrepositorycreate.ts +0 -190
  1438. package/examples/models/components/benefitgithubrepositorycreateproperties.ts +0 -149
  1439. package/examples/models/components/benefitgithubrepositoryproperties.ts +0 -135
  1440. package/examples/models/components/benefitgithubrepositorysubscriber.ts +0 -234
  1441. package/examples/models/components/benefitgithubrepositorysubscriberproperties.ts +0 -103
  1442. package/examples/models/components/benefitgithubrepositoryupdate.ts +0 -176
  1443. package/examples/models/components/benefitgrant.ts +0 -328
  1444. package/examples/models/components/benefitgrantcustomproperties.ts +0 -60
  1445. package/examples/models/components/benefitgrantcustomwebhook.ts +0 -236
  1446. package/examples/models/components/benefitgrantdiscordproperties.ts +0 -95
  1447. package/examples/models/components/benefitgrantdiscordwebhook.ts +0 -236
  1448. package/examples/models/components/benefitgrantdownloadablesproperties.ts +0 -71
  1449. package/examples/models/components/benefitgrantdownloadableswebhook.ts +0 -233
  1450. package/examples/models/components/benefitgrantedevent.ts +0 -150
  1451. package/examples/models/components/benefitgranterror.ts +0 -74
  1452. package/examples/models/components/benefitgrantgithubrepositoryproperties.ts +0 -140
  1453. package/examples/models/components/benefitgrantgithubrepositorywebhook.ts +0 -246
  1454. package/examples/models/components/benefitgrantlicensekeysproperties.ts +0 -84
  1455. package/examples/models/components/benefitgrantlicensekeyswebhook.ts +0 -233
  1456. package/examples/models/components/benefitgrantmetadata.ts +0 -92
  1457. package/examples/models/components/benefitgrantmetercreditproperties.ts +0 -90
  1458. package/examples/models/components/benefitgrantmetercreditwebhook.ts +0 -240
  1459. package/examples/models/components/benefitgrantsortproperty.ts +0 -39
  1460. package/examples/models/components/benefitgrantwebhook.ts +0 -120
  1461. package/examples/models/components/benefitlicensekeyactivationcreateproperties.ts +0 -92
  1462. package/examples/models/components/benefitlicensekeyactivationproperties.ts +0 -84
  1463. package/examples/models/components/benefitlicensekeyexpirationproperties.ts +0 -102
  1464. package/examples/models/components/benefitlicensekeys.ts +0 -202
  1465. package/examples/models/components/benefitlicensekeyscreate.ts +0 -182
  1466. package/examples/models/components/benefitlicensekeyscreateproperties.ts +0 -112
  1467. package/examples/models/components/benefitlicensekeysproperties.ts +0 -101
  1468. package/examples/models/components/benefitlicensekeyssubscriber.ts +0 -223
  1469. package/examples/models/components/benefitlicensekeyssubscriberproperties.ts +0 -105
  1470. package/examples/models/components/benefitlicensekeysupdate.ts +0 -168
  1471. package/examples/models/components/benefitmetercredit.ts +0 -212
  1472. package/examples/models/components/benefitmetercreditcreate.ts +0 -188
  1473. package/examples/models/components/benefitmetercreditcreateproperties.ts +0 -90
  1474. package/examples/models/components/benefitmetercreditproperties.ts +0 -88
  1475. package/examples/models/components/benefitmetercreditsubscriber.ts +0 -226
  1476. package/examples/models/components/benefitmetercreditsubscriberproperties.ts +0 -92
  1477. package/examples/models/components/benefitmetercreditupdate.ts +0 -168
  1478. package/examples/models/components/benefitpublic.ts +0 -131
  1479. package/examples/models/components/benefitrevokedevent.ts +0 -150
  1480. package/examples/models/components/benefitsortproperty.ts +0 -37
  1481. package/examples/models/components/benefittype.ts +0 -35
  1482. package/examples/models/components/benefitupdatedevent.ts +0 -150
  1483. package/examples/models/components/billingaddressfieldmode.ts +0 -36
  1484. package/examples/models/components/cardpayment.ts +0 -203
  1485. package/examples/models/components/cardpaymentmetadata.ts +0 -79
  1486. package/examples/models/components/checkout.ts +0 -948
  1487. package/examples/models/components/checkoutbillingaddressfields.ts +0 -102
  1488. package/examples/models/components/checkoutconfirmstripe.ts +0 -267
  1489. package/examples/models/components/checkoutcreate.ts +0 -506
  1490. package/examples/models/components/checkoutdiscountfixedonceforeverduration.ts +0 -117
  1491. package/examples/models/components/checkoutdiscountfixedrepeatduration.ts +0 -127
  1492. package/examples/models/components/checkoutdiscountpercentageonceforeverduration.ts +0 -127
  1493. package/examples/models/components/checkoutdiscountpercentagerepeatduration.ts +0 -134
  1494. package/examples/models/components/checkoutlink.ts +0 -382
  1495. package/examples/models/components/checkoutlinkcreate.ts +0 -90
  1496. package/examples/models/components/checkoutlinkcreateproduct.ts +0 -241
  1497. package/examples/models/components/checkoutlinkcreateproductprice.ts +0 -246
  1498. package/examples/models/components/checkoutlinkcreateproducts.ts +0 -239
  1499. package/examples/models/components/checkoutlinkproduct.ts +0 -365
  1500. package/examples/models/components/checkoutlinksortproperty.ts +0 -41
  1501. package/examples/models/components/checkoutlinkupdate.ts +0 -219
  1502. package/examples/models/components/checkoutproduct.ts +0 -297
  1503. package/examples/models/components/checkoutpublic.ts +0 -802
  1504. package/examples/models/components/checkoutpublicconfirmed.ts +0 -827
  1505. package/examples/models/components/checkoutsortproperty.ts +0 -37
  1506. package/examples/models/components/checkoutstatus.ts +0 -36
  1507. package/examples/models/components/checkoutupdate.ts +0 -485
  1508. package/examples/models/components/checkoutupdatepublic.ts +0 -258
  1509. package/examples/models/components/costmetadatainput.ts +0 -122
  1510. package/examples/models/components/costmetadataoutput.ts +0 -76
  1511. package/examples/models/components/countaggregation.ts +0 -66
  1512. package/examples/models/components/customer.ts +0 -284
  1513. package/examples/models/components/customerbalance.ts +0 -77
  1514. package/examples/models/components/customerbenefitgrant.ts +0 -120
  1515. package/examples/models/components/customerbenefitgrantcustom.ts +0 -178
  1516. package/examples/models/components/customerbenefitgrantcustomupdate.ts +0 -77
  1517. package/examples/models/components/customerbenefitgrantdiscord.ts +0 -180
  1518. package/examples/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +0 -88
  1519. package/examples/models/components/customerbenefitgrantdiscordupdate.ts +0 -88
  1520. package/examples/models/components/customerbenefitgrantdownloadables.ts +0 -181
  1521. package/examples/models/components/customerbenefitgrantdownloadablesupdate.ts +0 -86
  1522. package/examples/models/components/customerbenefitgrantgithubrepository.ts +0 -183
  1523. package/examples/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +0 -89
  1524. package/examples/models/components/customerbenefitgrantgithubrepositoryupdate.ts +0 -97
  1525. package/examples/models/components/customerbenefitgrantlicensekeys.ts +0 -180
  1526. package/examples/models/components/customerbenefitgrantlicensekeysupdate.ts +0 -80
  1527. package/examples/models/components/customerbenefitgrantmetercredit.ts +0 -180
  1528. package/examples/models/components/customerbenefitgrantmetercreditupdate.ts +0 -80
  1529. package/examples/models/components/customerbenefitgrantsortproperty.ts +0 -39
  1530. package/examples/models/components/customerbenefitgrantupdate.ts +0 -178
  1531. package/examples/models/components/customercancellationreason.ts +0 -41
  1532. package/examples/models/components/customercreate.ts +0 -251
  1533. package/examples/models/components/customercreatedevent.ts +0 -150
  1534. package/examples/models/components/customercreatedmetadata.ts +0 -93
  1535. package/examples/models/components/customercustomermeter.ts +0 -149
  1536. package/examples/models/components/customercustomermetermeter.ts +0 -103
  1537. package/examples/models/components/customercustomermetersortproperty.ts +0 -48
  1538. package/examples/models/components/customercustomersession.ts +0 -81
  1539. package/examples/models/components/customerdeletedevent.ts +0 -150
  1540. package/examples/models/components/customerdeletedmetadata.ts +0 -93
  1541. package/examples/models/components/customermeter.ts +0 -161
  1542. package/examples/models/components/customermetersortproperty.ts +0 -51
  1543. package/examples/models/components/customerorder.ts +0 -341
  1544. package/examples/models/components/customerorderconfirmpayment.ts +0 -103
  1545. package/examples/models/components/customerorderinvoice.ts +0 -72
  1546. package/examples/models/components/customerorderpaymentconfirmation.ts +0 -97
  1547. package/examples/models/components/customerorderpaymentstatus.ts +0 -79
  1548. package/examples/models/components/customerorderproduct.ts +0 -308
  1549. package/examples/models/components/customerordersortproperty.ts +0 -43
  1550. package/examples/models/components/customerordersubscription.ts +0 -297
  1551. package/examples/models/components/customerorderupdate.ts +0 -96
  1552. package/examples/models/components/customerorganization.ts +0 -85
  1553. package/examples/models/components/customerpaymentmethod.ts +0 -78
  1554. package/examples/models/components/customerpaymentmethodconfirm.ts +0 -83
  1555. package/examples/models/components/customerpaymentmethodcreate.ts +0 -89
  1556. package/examples/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +0 -93
  1557. package/examples/models/components/customerpaymentmethodcreateresponse.ts +0 -107
  1558. package/examples/models/components/customerpaymentmethodcreatesucceededresponse.ts +0 -98
  1559. package/examples/models/components/customerportalcustomer.ts +0 -213
  1560. package/examples/models/components/customerportalcustomerupdate.ts +0 -95
  1561. package/examples/models/components/customerportaloauthaccount.ts +0 -81
  1562. package/examples/models/components/customerproduct.ts +0 -297
  1563. package/examples/models/components/customerseat.ts +0 -180
  1564. package/examples/models/components/customerseatclaimresponse.ts +0 -91
  1565. package/examples/models/components/customersession.ts +0 -138
  1566. package/examples/models/components/customersessioncustomerexternalidcreate.ts +0 -101
  1567. package/examples/models/components/customersessioncustomeridcreate.ts +0 -92
  1568. package/examples/models/components/customersortproperty.ts +0 -37
  1569. package/examples/models/components/customerstate.ts +0 -339
  1570. package/examples/models/components/customerstatebenefitgrant.ts +0 -322
  1571. package/examples/models/components/customerstatemeter.ts +0 -133
  1572. package/examples/models/components/customerstatesubscription.ts +0 -450
  1573. package/examples/models/components/customerstatesubscriptionmeter.ts +0 -135
  1574. package/examples/models/components/customersubscription.ts +0 -418
  1575. package/examples/models/components/customersubscriptioncancel.ts +0 -118
  1576. package/examples/models/components/customersubscriptionmeter.ts +0 -140
  1577. package/examples/models/components/customersubscriptionmetermeter.ts +0 -105
  1578. package/examples/models/components/customersubscriptionproduct.ts +0 -313
  1579. package/examples/models/components/customersubscriptionsortproperty.ts +0 -43
  1580. package/examples/models/components/customersubscriptionupdate.ts +0 -90
  1581. package/examples/models/components/customersubscriptionupdateproduct.ts +0 -81
  1582. package/examples/models/components/customersubscriptionupdateseats.ts +0 -94
  1583. package/examples/models/components/customerupdate.ts +0 -242
  1584. package/examples/models/components/customerupdatedevent.ts +0 -150
  1585. package/examples/models/components/customerupdatedfields.ts +0 -155
  1586. package/examples/models/components/customerupdatedmetadata.ts +0 -105
  1587. package/examples/models/components/customerupdateexternalid.ts +0 -245
  1588. package/examples/models/components/customerwallet.ts +0 -122
  1589. package/examples/models/components/customerwalletsortproperty.ts +0 -37
  1590. package/examples/models/components/customfield.ts +0 -138
  1591. package/examples/models/components/customfieldcheckbox.ts +0 -200
  1592. package/examples/models/components/customfieldcheckboxproperties.ts +0 -89
  1593. package/examples/models/components/customfieldcreate.ts +0 -142
  1594. package/examples/models/components/customfieldcreatecheckbox.ts +0 -193
  1595. package/examples/models/components/customfieldcreatedate.ts +0 -188
  1596. package/examples/models/components/customfieldcreatenumber.ts +0 -192
  1597. package/examples/models/components/customfieldcreateselect.ts +0 -192
  1598. package/examples/models/components/customfieldcreatetext.ts +0 -188
  1599. package/examples/models/components/customfielddate.ts +0 -196
  1600. package/examples/models/components/customfielddateproperties.ts +0 -95
  1601. package/examples/models/components/customfieldnumber.ts +0 -198
  1602. package/examples/models/components/customfieldnumberproperties.ts +0 -97
  1603. package/examples/models/components/customfieldselect.ts +0 -198
  1604. package/examples/models/components/customfieldselectoption.ts +0 -70
  1605. package/examples/models/components/customfieldselectproperties.ts +0 -99
  1606. package/examples/models/components/customfieldsortproperty.ts +0 -41
  1607. package/examples/models/components/customfieldtext.ts +0 -196
  1608. package/examples/models/components/customfieldtextproperties.ts +0 -103
  1609. package/examples/models/components/customfieldtype.ts +0 -36
  1610. package/examples/models/components/customfieldupdate.ts +0 -142
  1611. package/examples/models/components/customfieldupdatecheckbox.ts +0 -173
  1612. package/examples/models/components/customfieldupdatedate.ts +0 -166
  1613. package/examples/models/components/customfieldupdatenumber.ts +0 -170
  1614. package/examples/models/components/customfieldupdateselect.ts +0 -170
  1615. package/examples/models/components/customfieldupdatetext.ts +0 -166
  1616. package/examples/models/components/discount.ts +0 -96
  1617. package/examples/models/components/discountcreate.ts +0 -96
  1618. package/examples/models/components/discountduration.ts +0 -34
  1619. package/examples/models/components/discountfixedonceforeverduration.ts +0 -277
  1620. package/examples/models/components/discountfixedonceforeverdurationbase.ts +0 -269
  1621. package/examples/models/components/discountfixedonceforeverdurationcreate.ts +0 -263
  1622. package/examples/models/components/discountfixedrepeatduration.ts +0 -280
  1623. package/examples/models/components/discountfixedrepeatdurationbase.ts +0 -270
  1624. package/examples/models/components/discountfixedrepeatdurationcreate.ts +0 -275
  1625. package/examples/models/components/discountpercentageonceforeverduration.ts +0 -283
  1626. package/examples/models/components/discountpercentageonceforeverdurationbase.ts +0 -278
  1627. package/examples/models/components/discountpercentageonceforeverdurationcreate.ts +0 -270
  1628. package/examples/models/components/discountpercentagerepeatduration.ts +0 -287
  1629. package/examples/models/components/discountpercentagerepeatdurationbase.ts +0 -276
  1630. package/examples/models/components/discountpercentagerepeatdurationcreate.ts +0 -280
  1631. package/examples/models/components/discountproduct.ts +0 -246
  1632. package/examples/models/components/discountsortproperty.ts +0 -39
  1633. package/examples/models/components/discounttype.ts +0 -31
  1634. package/examples/models/components/discountupdate.ts +0 -229
  1635. package/examples/models/components/downloadablefilecreate.ts +0 -116
  1636. package/examples/models/components/downloadablefileread.ts +0 -161
  1637. package/examples/models/components/downloadableread.ts +0 -89
  1638. package/examples/models/components/event.ts +0 -63
  1639. package/examples/models/components/eventcreatecustomer.ts +0 -112
  1640. package/examples/models/components/eventcreateexternalcustomer.ts +0 -114
  1641. package/examples/models/components/eventmetadatainput.ts +0 -96
  1642. package/examples/models/components/eventmetadataoutput.ts +0 -96
  1643. package/examples/models/components/eventname.ts +0 -106
  1644. package/examples/models/components/eventnamessortproperty.ts +0 -39
  1645. package/examples/models/components/eventsingest.ts +0 -140
  1646. package/examples/models/components/eventsingestresponse.ts +0 -69
  1647. package/examples/models/components/eventsortproperty.ts +0 -33
  1648. package/examples/models/components/eventsource.ts +0 -31
  1649. package/examples/models/components/existingproductprice.ts +0 -73
  1650. package/examples/models/components/filecreate.ts +0 -110
  1651. package/examples/models/components/filedownload.ts +0 -163
  1652. package/examples/models/components/filepatch.ts +0 -66
  1653. package/examples/models/components/fileservicetypes.ts +0 -34
  1654. package/examples/models/components/fileupload.ts +0 -163
  1655. package/examples/models/components/fileuploadcompleted.ts +0 -80
  1656. package/examples/models/components/filter.ts +0 -121
  1657. package/examples/models/components/filterclause.ts +0 -118
  1658. package/examples/models/components/filterconjunction.ts +0 -33
  1659. package/examples/models/components/filteroperator.ts +0 -39
  1660. package/examples/models/components/genericpayment.ts +0 -188
  1661. package/examples/models/components/introspecttokenrequest.ts +0 -125
  1662. package/examples/models/components/introspecttokenresponse.ts +0 -146
  1663. package/examples/models/components/legacyrecurringproductprice.ts +0 -116
  1664. package/examples/models/components/legacyrecurringproductpricecustom.ts +0 -188
  1665. package/examples/models/components/legacyrecurringproductpricefixed.ts +0 -169
  1666. package/examples/models/components/legacyrecurringproductpricefree.ts +0 -151
  1667. package/examples/models/components/licensekeyactivate.ts +0 -239
  1668. package/examples/models/components/licensekeyactivationbase.ts +0 -145
  1669. package/examples/models/components/licensekeyactivationread.ts +0 -173
  1670. package/examples/models/components/licensekeycustomer.ts +0 -293
  1671. package/examples/models/components/licensekeydeactivate.ts +0 -85
  1672. package/examples/models/components/licensekeyread.ts +0 -178
  1673. package/examples/models/components/licensekeystatus.ts +0 -34
  1674. package/examples/models/components/licensekeyupdate.ts +0 -102
  1675. package/examples/models/components/licensekeyvalidate.ts +0 -172
  1676. package/examples/models/components/licensekeywithactivations.ts +0 -192
  1677. package/examples/models/components/listresource.ts +0 -78
  1678. package/examples/models/components/listresourcebenefit.ts +0 -82
  1679. package/examples/models/components/listresourcebenefitgrant.ts +0 -82
  1680. package/examples/models/components/listresourcecheckout.ts +0 -82
  1681. package/examples/models/components/listresourcecheckoutlink.ts +0 -82
  1682. package/examples/models/components/listresourcecustomer.ts +0 -82
  1683. package/examples/models/components/listresourcecustomerbenefitgrant.ts +0 -84
  1684. package/examples/models/components/listresourcecustomercustomermeter.ts +0 -85
  1685. package/examples/models/components/listresourcecustomermeter.ts +0 -82
  1686. package/examples/models/components/listresourcecustomerorder.ts +0 -82
  1687. package/examples/models/components/listresourcecustomerpaymentmethod.ts +0 -85
  1688. package/examples/models/components/listresourcecustomersubscription.ts +0 -84
  1689. package/examples/models/components/listresourcecustomerwallet.ts +0 -82
  1690. package/examples/models/components/listresourcecustomfield.ts +0 -82
  1691. package/examples/models/components/listresourcediscount.ts +0 -82
  1692. package/examples/models/components/listresourcedownloadableread.ts +0 -84
  1693. package/examples/models/components/listresourceevent.ts +0 -82
  1694. package/examples/models/components/listresourceeventname.ts +0 -82
  1695. package/examples/models/components/listresourcefileread.ts +0 -222
  1696. package/examples/models/components/listresourcelicensekeyread.ts +0 -82
  1697. package/examples/models/components/listresourcemeter.ts +0 -82
  1698. package/examples/models/components/listresourceorder.ts +0 -82
  1699. package/examples/models/components/listresourceorganization.ts +0 -82
  1700. package/examples/models/components/listresourceproduct.ts +0 -82
  1701. package/examples/models/components/listresourcerefund.ts +0 -82
  1702. package/examples/models/components/listresourcesubscription.ts +0 -82
  1703. package/examples/models/components/listresourcewallet.ts +0 -82
  1704. package/examples/models/components/listresourcewebhookdelivery.ts +0 -84
  1705. package/examples/models/components/listresourcewebhookendpoint.ts +0 -84
  1706. package/examples/models/components/llmmetadata.ts +0 -129
  1707. package/examples/models/components/meter.ts +0 -380
  1708. package/examples/models/components/metercreate.ts +0 -354
  1709. package/examples/models/components/metercreditedmetadata.ts +0 -83
  1710. package/examples/models/components/metercreditevent.ts +0 -150
  1711. package/examples/models/components/meterquantities.ts +0 -77
  1712. package/examples/models/components/meterquantity.ts +0 -72
  1713. package/examples/models/components/meterresetevent.ts +0 -148
  1714. package/examples/models/components/meterresetmetadata.ts +0 -75
  1715. package/examples/models/components/metersortproperty.ts +0 -35
  1716. package/examples/models/components/meterupdate.ts +0 -374
  1717. package/examples/models/components/metric.ts +0 -90
  1718. package/examples/models/components/metricperiod.ts +0 -2298
  1719. package/examples/models/components/metrics.ts +0 -425
  1720. package/examples/models/components/metricsintervallimit.ts +0 -81
  1721. package/examples/models/components/metricsintervalslimits.ts +0 -106
  1722. package/examples/models/components/metricslimits.ts +0 -91
  1723. package/examples/models/components/metricsresponse.ts +0 -96
  1724. package/examples/models/components/metricstotals.ts +0 -2538
  1725. package/examples/models/components/metrictype.ts +0 -33
  1726. package/examples/models/components/oauth2clientconfiguration.ts +0 -202
  1727. package/examples/models/components/oauth2clientconfigurationupdate.ts +0 -224
  1728. package/examples/models/components/oauth2clientpublic.ts +0 -125
  1729. package/examples/models/components/order.ts +0 -608
  1730. package/examples/models/components/orderbillingreason.ts +0 -35
  1731. package/examples/models/components/ordercustomer.ts +0 -285
  1732. package/examples/models/components/orderinvoice.ts +0 -68
  1733. package/examples/models/components/orderitemschema.ts +0 -136
  1734. package/examples/models/components/orderpaidevent.ts +0 -146
  1735. package/examples/models/components/orderpaidmetadata.ts +0 -87
  1736. package/examples/models/components/orderproduct.ts +0 -237
  1737. package/examples/models/components/orderrefundedevent.ts +0 -150
  1738. package/examples/models/components/orderrefundedmetadata.ts +0 -89
  1739. package/examples/models/components/ordersortproperty.ts +0 -49
  1740. package/examples/models/components/orderstatus.ts +0 -33
  1741. package/examples/models/components/ordersubscription.ts +0 -359
  1742. package/examples/models/components/orderupdate.ts +0 -92
  1743. package/examples/models/components/organization.ts +0 -213
  1744. package/examples/models/components/organizationavatarfilecreate.ts +0 -124
  1745. package/examples/models/components/organizationavatarfileread.ts +0 -167
  1746. package/examples/models/components/organizationcreate.ts +0 -195
  1747. package/examples/models/components/organizationcustomeremailsettings.ts +0 -120
  1748. package/examples/models/components/organizationdetails.ts +0 -168
  1749. package/examples/models/components/organizationfeaturesettings.ts +0 -107
  1750. package/examples/models/components/organizationnotificationsettings.ts +0 -83
  1751. package/examples/models/components/organizationsociallink.ts +0 -78
  1752. package/examples/models/components/organizationsocialplatforms.ts +0 -41
  1753. package/examples/models/components/organizationsortproperty.ts +0 -43
  1754. package/examples/models/components/organizationstatus.ts +0 -36
  1755. package/examples/models/components/organizationsubscriptionsettings.ts +0 -100
  1756. package/examples/models/components/organizationupdate.ts +0 -191
  1757. package/examples/models/components/pagination.ts +0 -77
  1758. package/examples/models/components/payment.ts +0 -63
  1759. package/examples/models/components/paymentmethodcard.ts +0 -127
  1760. package/examples/models/components/paymentmethodcardmetadata.ts +0 -93
  1761. package/examples/models/components/paymentmethodgeneric.ts +0 -115
  1762. package/examples/models/components/paymentprocessor.ts +0 -32
  1763. package/examples/models/components/paymentsortproperty.ts +0 -39
  1764. package/examples/models/components/paymentstatus.ts +0 -34
  1765. package/examples/models/components/product.ts +0 -358
  1766. package/examples/models/components/productbenefitsupdate.ts +0 -72
  1767. package/examples/models/components/productbillingtype.ts +0 -33
  1768. package/examples/models/components/productcreate.ts +0 -74
  1769. package/examples/models/components/productcreateonetime.ts +0 -432
  1770. package/examples/models/components/productcreaterecurring.ts +0 -459
  1771. package/examples/models/components/productmediafilecreate.ts +0 -122
  1772. package/examples/models/components/productmediafileread.ts +0 -167
  1773. package/examples/models/components/productprice.ts +0 -146
  1774. package/examples/models/components/productpricecustom.ts +0 -182
  1775. package/examples/models/components/productpricecustomcreate.ts +0 -114
  1776. package/examples/models/components/productpricefixed.ts +0 -164
  1777. package/examples/models/components/productpricefixedcreate.ts +0 -96
  1778. package/examples/models/components/productpricefree.ts +0 -146
  1779. package/examples/models/components/productpricefreecreate.ts +0 -78
  1780. package/examples/models/components/productpricemeter.ts +0 -79
  1781. package/examples/models/components/productpricemeteredunit.ts +0 -195
  1782. package/examples/models/components/productpricemeteredunitcreate.ts +0 -165
  1783. package/examples/models/components/productpriceseatbased.ts +0 -170
  1784. package/examples/models/components/productpriceseatbasedcreate.ts +0 -104
  1785. package/examples/models/components/productpriceseattier.ts +0 -99
  1786. package/examples/models/components/productpriceseattiers.ts +0 -78
  1787. package/examples/models/components/productpricetype.ts +0 -33
  1788. package/examples/models/components/productsortproperty.ts +0 -39
  1789. package/examples/models/components/productupdate.ts +0 -589
  1790. package/examples/models/components/propertyaggregation.ts +0 -99
  1791. package/examples/models/components/refreshtokenrequest.ts +0 -93
  1792. package/examples/models/components/refund.ts +0 -207
  1793. package/examples/models/components/refundcreate.ts +0 -183
  1794. package/examples/models/components/refundreason.ts +0 -35
  1795. package/examples/models/components/refundsortproperty.ts +0 -35
  1796. package/examples/models/components/refundstatus.ts +0 -33
  1797. package/examples/models/components/revoketokenrequest.ts +0 -119
  1798. package/examples/models/components/revoketokenresponse.ts +0 -58
  1799. package/examples/models/components/s3downloadurl.ts +0 -79
  1800. package/examples/models/components/s3filecreatemultipart.ts +0 -72
  1801. package/examples/models/components/s3filecreatepart.ts +0 -91
  1802. package/examples/models/components/s3fileuploadcompletedpart.ts +0 -85
  1803. package/examples/models/components/s3fileuploadmultipart.ts +0 -80
  1804. package/examples/models/components/s3fileuploadpart.ts +0 -105
  1805. package/examples/models/components/scope.ts +0 -91
  1806. package/examples/models/components/seatassign.ts +0 -133
  1807. package/examples/models/components/seatclaim.ts +0 -74
  1808. package/examples/models/components/seatclaiminfo.ts +0 -125
  1809. package/examples/models/components/seatslist.ts +0 -96
  1810. package/examples/models/components/seatstatus.ts +0 -32
  1811. package/examples/models/components/security.ts +0 -71
  1812. package/examples/models/components/subscription.ts +0 -679
  1813. package/examples/models/components/subscriptioncancel.ts +0 -137
  1814. package/examples/models/components/subscriptioncreatecustomer.ts +0 -175
  1815. package/examples/models/components/subscriptioncreateexternalcustomer.ts +0 -185
  1816. package/examples/models/components/subscriptioncustomer.ts +0 -288
  1817. package/examples/models/components/subscriptioncycledevent.ts +0 -150
  1818. package/examples/models/components/subscriptioncycledmetadata.ts +0 -75
  1819. package/examples/models/components/subscriptionmeter.ts +0 -143
  1820. package/examples/models/components/subscriptionproductupdatedevent.ts +0 -152
  1821. package/examples/models/components/subscriptionproductupdatedmetadata.ts +0 -91
  1822. package/examples/models/components/subscriptionprorationbehavior.ts +0 -35
  1823. package/examples/models/components/subscriptionrecurringinterval.ts +0 -37
  1824. package/examples/models/components/subscriptionrevoke.ts +0 -131
  1825. package/examples/models/components/subscriptionrevokedevent.ts +0 -150
  1826. package/examples/models/components/subscriptionrevokedmetadata.ts +0 -77
  1827. package/examples/models/components/subscriptionslist.ts +0 -80
  1828. package/examples/models/components/subscriptionsortproperty.ts +0 -47
  1829. package/examples/models/components/subscriptionstatus.ts +0 -38
  1830. package/examples/models/components/subscriptionupdate.ts +0 -120
  1831. package/examples/models/components/subscriptionupdatediscount.ts +0 -78
  1832. package/examples/models/components/subscriptionupdateproduct.ts +0 -94
  1833. package/examples/models/components/subscriptionupdateseats.ts +0 -92
  1834. package/examples/models/components/subscriptionupdatetrial.ts +0 -78
  1835. package/examples/models/components/subtype.ts +0 -31
  1836. package/examples/models/components/systemevent.ts +0 -310
  1837. package/examples/models/components/taxidformat.ts +0 -117
  1838. package/examples/models/components/timeinterval.ts +0 -34
  1839. package/examples/models/components/tokenresponse.ts +0 -99
  1840. package/examples/models/components/trialinterval.ts +0 -35
  1841. package/examples/models/components/uniqueaggregation.ts +0 -70
  1842. package/examples/models/components/userevent.ts +0 -146
  1843. package/examples/models/components/userinfoorganization.ts +0 -70
  1844. package/examples/models/components/userinfouser.ts +0 -83
  1845. package/examples/models/components/validatedlicensekey.ts +0 -192
  1846. package/examples/models/components/validationerror.ts +0 -113
  1847. package/examples/models/components/wallet.ts +0 -121
  1848. package/examples/models/components/walletsortproperty.ts +0 -35
  1849. package/examples/models/components/wallettopupcreate.ts +0 -79
  1850. package/examples/models/components/webhookbenefitcreatedpayload.ts +0 -89
  1851. package/examples/models/components/webhookbenefitgrantcreatedpayload.ts +0 -90
  1852. package/examples/models/components/webhookbenefitgrantcycledpayload.ts +0 -90
  1853. package/examples/models/components/webhookbenefitgrantrevokedpayload.ts +0 -90
  1854. package/examples/models/components/webhookbenefitgrantupdatedpayload.ts +0 -90
  1855. package/examples/models/components/webhookbenefitupdatedpayload.ts +0 -89
  1856. package/examples/models/components/webhookcheckoutcreatedpayload.ts +0 -92
  1857. package/examples/models/components/webhookcheckoutupdatedpayload.ts +0 -92
  1858. package/examples/models/components/webhookcustomercreatedpayload.ts +0 -97
  1859. package/examples/models/components/webhookcustomerdeletedpayload.ts +0 -92
  1860. package/examples/models/components/webhookcustomerseatassignedpayload.ts +0 -92
  1861. package/examples/models/components/webhookcustomerseatclaimedpayload.ts +0 -90
  1862. package/examples/models/components/webhookcustomerseatrevokedpayload.ts +0 -90
  1863. package/examples/models/components/webhookcustomerstatechangedpayload.ts +0 -106
  1864. package/examples/models/components/webhookcustomerupdatedpayload.ts +0 -96
  1865. package/examples/models/components/webhookdelivery.ts +0 -143
  1866. package/examples/models/components/webhookendpoint.ts +0 -148
  1867. package/examples/models/components/webhookendpointcreate.ts +0 -116
  1868. package/examples/models/components/webhookendpointupdate.ts +0 -101
  1869. package/examples/models/components/webhookevent.ts +0 -144
  1870. package/examples/models/components/webhookeventtype.ts +0 -61
  1871. package/examples/models/components/webhookformat.ts +0 -34
  1872. package/examples/models/components/webhookordercreatedpayload.ts +0 -96
  1873. package/examples/models/components/webhookorderpaidpayload.ts +0 -89
  1874. package/examples/models/components/webhookorderrefundedpayload.ts +0 -89
  1875. package/examples/models/components/webhookorderupdatedpayload.ts +0 -92
  1876. package/examples/models/components/webhookorganizationupdatedpayload.ts +0 -90
  1877. package/examples/models/components/webhookproductcreatedpayload.ts +0 -92
  1878. package/examples/models/components/webhookproductupdatedpayload.ts +0 -92
  1879. package/examples/models/components/webhookrefundcreatedpayload.ts +0 -89
  1880. package/examples/models/components/webhookrefundupdatedpayload.ts +0 -89
  1881. package/examples/models/components/webhooksubscriptionactivepayload.ts +0 -90
  1882. package/examples/models/components/webhooksubscriptioncanceledpayload.ts +0 -92
  1883. package/examples/models/components/webhooksubscriptioncreatedpayload.ts +0 -92
  1884. package/examples/models/components/webhooksubscriptionrevokedpayload.ts +0 -91
  1885. package/examples/models/components/webhooksubscriptionuncanceledpayload.ts +0 -92
  1886. package/examples/models/components/webhooksubscriptionupdatedpayload.ts +0 -94
  1887. package/examples/models/components/webtokenrequest.ts +0 -133
  1888. package/examples/models/errors/alreadyactivesubscriptionerror.ts +0 -85
  1889. package/examples/models/errors/alreadycanceledsubscription.ts +0 -85
  1890. package/examples/models/errors/chargefyerror.ts +0 -35
  1891. package/examples/models/errors/checkoutforbiddenerror.ts +0 -90
  1892. package/examples/models/errors/customernotready.ts +0 -85
  1893. package/examples/models/errors/customerportalordersgenerateinvoice.ts +0 -97
  1894. package/examples/models/errors/expiredcheckouterror.ts +0 -85
  1895. package/examples/models/errors/httpclienterrors.ts +0 -62
  1896. package/examples/models/errors/httpvalidationerror.ts +0 -85
  1897. package/examples/models/errors/missinginvoicebillingdetails.ts +0 -85
  1898. package/examples/models/errors/missingpaymentmethoderror.ts +0 -85
  1899. package/examples/models/errors/notopencheckout.ts +0 -85
  1900. package/examples/models/errors/notpaidorder.ts +0 -85
  1901. package/examples/models/errors/notpermitted.ts +0 -85
  1902. package/examples/models/errors/ordernoteligibleforretry.ts +0 -85
  1903. package/examples/models/errors/ordersgenerateinvoice.ts +0 -97
  1904. package/examples/models/errors/paymentalreadyinprogress.ts +0 -85
  1905. package/examples/models/errors/paymenterror.ts +0 -85
  1906. package/examples/models/errors/paymentintentfailederror.ts +0 -85
  1907. package/examples/models/errors/paymentmethodinusebyactivesubscription.ts +0 -87
  1908. package/examples/models/errors/paymentnotready.ts +0 -85
  1909. package/examples/models/errors/refundamounttoohigh.ts +0 -85
  1910. package/examples/models/errors/refundedalready.ts +0 -85
  1911. package/examples/models/errors/resourcenotfound.ts +0 -85
  1912. package/examples/models/errors/responsevalidationerror.ts +0 -50
  1913. package/examples/models/errors/sdkerror.ts +0 -40
  1914. package/examples/models/errors/sdkvalidationerror.ts +0 -109
  1915. package/examples/models/errors/subscriptionlocked.ts +0 -85
  1916. package/examples/models/errors/unauthorized.ts +0 -85
  1917. package/examples/models/operations/benefitgrantslist.ts +0 -340
  1918. package/examples/models/operations/benefitsdelete.ts +0 -66
  1919. package/examples/models/operations/benefitsget.ts +0 -66
  1920. package/examples/models/operations/benefitsgrants.ts +0 -231
  1921. package/examples/models/operations/benefitslist.ts +0 -324
  1922. package/examples/models/operations/benefitsupdate.ts +0 -219
  1923. package/examples/models/operations/checkoutlinksdelete.ts +0 -69
  1924. package/examples/models/operations/checkoutlinksget.ts +0 -69
  1925. package/examples/models/operations/checkoutlinkslist.ts +0 -325
  1926. package/examples/models/operations/checkoutlinksupdate.ts +0 -88
  1927. package/examples/models/operations/checkoutsclientconfirm.ts +0 -92
  1928. package/examples/models/operations/checkoutsclientget.ts +0 -78
  1929. package/examples/models/operations/checkoutsclientupdate.ts +0 -92
  1930. package/examples/models/operations/checkoutsget.ts +0 -69
  1931. package/examples/models/operations/checkoutslist.ts +0 -478
  1932. package/examples/models/operations/checkoutsupdate.ts +0 -88
  1933. package/examples/models/operations/customermetersget.ts +0 -69
  1934. package/examples/models/operations/customermeterslist.ts +0 -475
  1935. package/examples/models/operations/customerportalbenefitgrantsget.ts +0 -147
  1936. package/examples/models/operations/customerportalbenefitgrantslist.ts +0 -605
  1937. package/examples/models/operations/customerportalbenefitgrantsupdate.ts +0 -177
  1938. package/examples/models/operations/customerportalcustomermetersget.ts +0 -153
  1939. package/examples/models/operations/customerportalcustomermeterslist.ts +0 -333
  1940. package/examples/models/operations/customerportalcustomersaddpaymentmethod.ts +0 -89
  1941. package/examples/models/operations/customerportalcustomersconfirmpaymentmethod.ts +0 -89
  1942. package/examples/models/operations/customerportalcustomersdeletepaymentmethod.ts +0 -161
  1943. package/examples/models/operations/customerportalcustomersessionintrospect.ts +0 -89
  1944. package/examples/models/operations/customerportalcustomersget.ts +0 -79
  1945. package/examples/models/operations/customerportalcustomerslistpaymentmethods.ts +0 -257
  1946. package/examples/models/operations/customerportalcustomersupdate.ts +0 -80
  1947. package/examples/models/operations/customerportaldownloadableslist.ts +0 -327
  1948. package/examples/models/operations/customerportallicensekeysget.ts +0 -143
  1949. package/examples/models/operations/customerportallicensekeyslist.ts +0 -245
  1950. package/examples/models/operations/customerportalordersconfirmretrypayment.ts +0 -182
  1951. package/examples/models/operations/customerportalordersgenerateinvoice.ts +0 -159
  1952. package/examples/models/operations/customerportalordersget.ts +0 -140
  1953. package/examples/models/operations/customerportalordersgetpaymentstatus.ts +0 -162
  1954. package/examples/models/operations/customerportalordersinvoice.ts +0 -145
  1955. package/examples/models/operations/customerportalorderslist.ts +0 -512
  1956. package/examples/models/operations/customerportalordersupdate.ts +0 -161
  1957. package/examples/models/operations/customerportalorganizationsget.ts +0 -74
  1958. package/examples/models/operations/customerportalseatsassignseat.ts +0 -80
  1959. package/examples/models/operations/customerportalseatslistclaimedsubscriptions.ts +0 -89
  1960. package/examples/models/operations/customerportalseatslistseats.ts +0 -163
  1961. package/examples/models/operations/customerportalseatsresendinvitation.ts +0 -164
  1962. package/examples/models/operations/customerportalseatsrevokeseat.ts +0 -151
  1963. package/examples/models/operations/customerportalsubscriptionscancel.ts +0 -159
  1964. package/examples/models/operations/customerportalsubscriptionsget.ts +0 -147
  1965. package/examples/models/operations/customerportalsubscriptionslist.ts +0 -355
  1966. package/examples/models/operations/customerportalsubscriptionsupdate.ts +0 -177
  1967. package/examples/models/operations/customerportalwalletsget.ts +0 -140
  1968. package/examples/models/operations/customerportalwalletslist.ts +0 -237
  1969. package/examples/models/operations/customersdelete.ts +0 -69
  1970. package/examples/models/operations/customersdeleteexternal.ts +0 -80
  1971. package/examples/models/operations/customerseatsgetclaiminfo.ts +0 -77
  1972. package/examples/models/operations/customerseatslistseats.ts +0 -83
  1973. package/examples/models/operations/customerseatsresendinvitation.ts +0 -80
  1974. package/examples/models/operations/customerseatsrevokeseat.ts +0 -77
  1975. package/examples/models/operations/customersessionscreate.ts +0 -93
  1976. package/examples/models/operations/customersexport.ts +0 -146
  1977. package/examples/models/operations/customersget.ts +0 -69
  1978. package/examples/models/operations/customersgetbalance.ts +0 -69
  1979. package/examples/models/operations/customersgetexternal.ts +0 -80
  1980. package/examples/models/operations/customersgetstate.ts +0 -69
  1981. package/examples/models/operations/customersgetstateexternal.ts +0 -80
  1982. package/examples/models/operations/customerslist.ts +0 -275
  1983. package/examples/models/operations/customersupdate.ts +0 -88
  1984. package/examples/models/operations/customersupdateexternal.ts +0 -92
  1985. package/examples/models/operations/customfieldsdelete.ts +0 -69
  1986. package/examples/models/operations/customfieldsget.ts +0 -69
  1987. package/examples/models/operations/customfieldslist.ts +0 -341
  1988. package/examples/models/operations/customfieldsupdate.ts +0 -88
  1989. package/examples/models/operations/discountsdelete.ts +0 -69
  1990. package/examples/models/operations/discountsget.ts +0 -69
  1991. package/examples/models/operations/discountslist.ts +0 -255
  1992. package/examples/models/operations/discountsupdate.ts +0 -88
  1993. package/examples/models/operations/eventsget.ts +0 -69
  1994. package/examples/models/operations/eventslist.ts +0 -564
  1995. package/examples/models/operations/eventslistnames.ts +0 -484
  1996. package/examples/models/operations/filesdelete.ts +0 -66
  1997. package/examples/models/operations/fileslist.ts +0 -288
  1998. package/examples/models/operations/filesupdate.ts +0 -199
  1999. package/examples/models/operations/filesuploaded.ts +0 -201
  2000. package/examples/models/operations/licensekeysget.ts +0 -66
  2001. package/examples/models/operations/licensekeysgetactivation.ts +0 -81
  2002. package/examples/models/operations/licensekeyslist.ts +0 -298
  2003. package/examples/models/operations/licensekeysupdate.ts +0 -85
  2004. package/examples/models/operations/metersget.ts +0 -69
  2005. package/examples/models/operations/meterslist.ts +0 -273
  2006. package/examples/models/operations/metersquantities.ts +0 -296
  2007. package/examples/models/operations/metersupdate.ts +0 -88
  2008. package/examples/models/operations/metricsget.ts +0 -418
  2009. package/examples/models/operations/oauth2authorize.ts +0 -105
  2010. package/examples/models/operations/oauth2clientsoauth2deleteclient.ts +0 -81
  2011. package/examples/models/operations/oauth2clientsoauth2getclient.ts +0 -80
  2012. package/examples/models/operations/oauth2clientsoauth2updateclient.ts +0 -95
  2013. package/examples/models/operations/oauth2requesttoken.ts +0 -92
  2014. package/examples/models/operations/oauth2userinfo.ts +0 -82
  2015. package/examples/models/operations/ordersexport.ts +0 -214
  2016. package/examples/models/operations/ordersgenerateinvoice.ts +0 -71
  2017. package/examples/models/operations/ordersget.ts +0 -69
  2018. package/examples/models/operations/ordersinvoice.ts +0 -69
  2019. package/examples/models/operations/orderslist.ts +0 -611
  2020. package/examples/models/operations/ordersupdate.ts +0 -88
  2021. package/examples/models/operations/organizationsget.ts +0 -66
  2022. package/examples/models/operations/organizationslist.ts +0 -170
  2023. package/examples/models/operations/organizationsupdate.ts +0 -85
  2024. package/examples/models/operations/paymentsget.ts +0 -69
  2025. package/examples/models/operations/paymentslist.ts +0 -584
  2026. package/examples/models/operations/productsget.ts +0 -66
  2027. package/examples/models/operations/productslist.ts +0 -401
  2028. package/examples/models/operations/productsupdate.ts +0 -85
  2029. package/examples/models/operations/productsupdatebenefits.ts +0 -87
  2030. package/examples/models/operations/refundslist.ts +0 -500
  2031. package/examples/models/operations/subscriptionscreate.ts +0 -85
  2032. package/examples/models/operations/subscriptionsexport.ts +0 -129
  2033. package/examples/models/operations/subscriptionsget.ts +0 -69
  2034. package/examples/models/operations/subscriptionslist.ts +0 -505
  2035. package/examples/models/operations/subscriptionsrevoke.ts +0 -69
  2036. package/examples/models/operations/subscriptionsupdate.ts +0 -88
  2037. package/examples/models/operations/walletsget.ts +0 -69
  2038. package/examples/models/operations/walletslist.ts +0 -315
  2039. package/examples/models/operations/walletstopup.ts +0 -88
  2040. package/examples/models/operations/webhooksdeletewebhookendpoint.ts +0 -74
  2041. package/examples/models/operations/webhooksgetwebhookendpoint.ts +0 -72
  2042. package/examples/models/operations/webhookslistwebhookdeliveries.ts +0 -247
  2043. package/examples/models/operations/webhookslistwebhookendpoints.ts +0 -229
  2044. package/examples/models/operations/webhooksredeliverwebhookevent.ts +0 -74
  2045. package/examples/models/operations/webhooksresetwebhookendpointsecret.ts +0 -81
  2046. package/examples/models/operations/webhooksupdatewebhookendpoint.ts +0 -93
  2047. package/examples/organizationsList.example.ts +0 -28
  2048. package/examples/package-lock.json +0 -616
  2049. package/examples/package.json +0 -18
  2050. package/examples/sdk/benefitgrants.ts +0 -32
  2051. package/examples/sdk/benefits.ts +0 -148
  2052. package/examples/sdk/chargefybenefitgrants.ts +0 -91
  2053. package/examples/sdk/chargefycustomermeters.ts +0 -65
  2054. package/examples/sdk/chargefycustomers.ts +0 -162
  2055. package/examples/sdk/chargefylicensekeys.ts +0 -137
  2056. package/examples/sdk/chargefyorders.ts +0 -196
  2057. package/examples/sdk/chargefyorganizations.ts +0 -28
  2058. package/examples/sdk/chargefysubscriptions.ts +0 -117
  2059. package/examples/sdk/chargefywallets.ts +0 -65
  2060. package/examples/sdk/checkoutlinks.ts +0 -118
  2061. package/examples/sdk/checkouts.ts +0 -158
  2062. package/examples/sdk/clients.ts +0 -84
  2063. package/examples/sdk/customermeters.ts +0 -55
  2064. package/examples/sdk/customerportal.ts +0 -73
  2065. package/examples/sdk/customers.ts +0 -293
  2066. package/examples/sdk/customerseats.ts +0 -120
  2067. package/examples/sdk/customersession.ts +0 -30
  2068. package/examples/sdk/customersessions.ts +0 -30
  2069. package/examples/sdk/customfields.ts +0 -118
  2070. package/examples/sdk/discounts.ts +0 -118
  2071. package/examples/sdk/downloadables.ts +0 -35
  2072. package/examples/sdk/events.ts +0 -101
  2073. package/examples/sdk/files.ts +0 -124
  2074. package/examples/sdk/licensekeys.ts +0 -163
  2075. package/examples/sdk/meters.ts +0 -119
  2076. package/examples/sdk/metrics.ts +0 -51
  2077. package/examples/sdk/oauth2.ts +0 -105
  2078. package/examples/sdk/orders.ts +0 -140
  2079. package/examples/sdk/organizations.ts +0 -97
  2080. package/examples/sdk/payments.ts +0 -55
  2081. package/examples/sdk/products.ts +0 -118
  2082. package/examples/sdk/refunds.ts +0 -55
  2083. package/examples/sdk/sdk.ts +0 -157
  2084. package/examples/sdk/seats.ts +0 -126
  2085. package/examples/sdk/subscriptions.ts +0 -144
  2086. package/examples/sdk/wallets.ts +0 -78
  2087. package/examples/sdk/webhooks.ts +0 -190
  2088. package/examples/test copy.ts +0 -0
  2089. package/examples/test.ts +0 -0
  2090. package/examples/types/async.ts +0 -68
  2091. package/examples/types/blobs.ts +0 -32
  2092. package/examples/types/constdatetime.ts +0 -15
  2093. package/examples/types/enums.ts +0 -16
  2094. package/examples/types/fp.ts +0 -50
  2095. package/examples/types/operations.ts +0 -105
  2096. package/examples/types/rfcdate.ts +0 -54
  2097. package/examples/types/streams.ts +0 -21
  2098. package/examples/types/webhooks.ts +0 -7
  2099. package/examples/webhooks copy.ts +0 -138
  2100. package/examples/webhooks.test copy.ts +0 -116
  2101. package/examples/webhooks.test.ts +0 -116
  2102. package/examples/webhooks.ts +0 -138
  2103. package/jest.config.cjs +0 -5
  2104. package/jsr.json +0 -27
  2105. package/polar-js-main/.devcontainer/devcontainer.json +0 -45
  2106. package/polar-js-main/FUNCTIONS.md +0 -89
  2107. package/polar-js-main/RUNTIMES.md +0 -48
  2108. package/polar-js-main/examples/organizationsList.example.ts +0 -28
  2109. package/polar-js-main/examples/package-lock.json +0 -616
  2110. package/polar-js-main/examples/package.json +0 -18
  2111. package/polar-js-main/jsr.json +0 -27
  2112. package/polar-js-main/package-lock.json +0 -5768
  2113. package/polar-js-main/package.json +0 -83
  2114. package/polar-js-main/src/core.ts +0 -13
  2115. package/polar-js-main/src/funcs/benefitGrantsList.ts +0 -261
  2116. package/polar-js-main/src/funcs/benefitsCreate.ts +0 -181
  2117. package/polar-js-main/src/funcs/benefitsDelete.ts +0 -204
  2118. package/polar-js-main/src/funcs/benefitsGet.ts +0 -195
  2119. package/polar-js-main/src/funcs/benefitsGrants.ts +0 -277
  2120. package/polar-js-main/src/funcs/benefitsList.ts +0 -270
  2121. package/polar-js-main/src/funcs/benefitsUpdate.ts +0 -196
  2122. package/polar-js-main/src/funcs/checkoutLinksCreate.ts +0 -181
  2123. package/polar-js-main/src/funcs/checkoutLinksDelete.ts +0 -192
  2124. package/polar-js-main/src/funcs/checkoutLinksGet.ts +0 -195
  2125. package/polar-js-main/src/funcs/checkoutLinksList.ts +0 -260
  2126. package/polar-js-main/src/funcs/checkoutLinksUpdate.ts +0 -198
  2127. package/polar-js-main/src/funcs/checkoutsClientConfirm.ts +0 -224
  2128. package/polar-js-main/src/funcs/checkoutsClientGet.ts +0 -195
  2129. package/polar-js-main/src/funcs/checkoutsClientUpdate.ts +0 -206
  2130. package/polar-js-main/src/funcs/checkoutsCreate.ts +0 -181
  2131. package/polar-js-main/src/funcs/checkoutsGet.ts +0 -195
  2132. package/polar-js-main/src/funcs/checkoutsList.ts +0 -263
  2133. package/polar-js-main/src/funcs/checkoutsUpdate.ts +0 -204
  2134. package/polar-js-main/src/funcs/customFieldsCreate.ts +0 -181
  2135. package/polar-js-main/src/funcs/customFieldsDelete.ts +0 -192
  2136. package/polar-js-main/src/funcs/customFieldsGet.ts +0 -195
  2137. package/polar-js-main/src/funcs/customFieldsList.ts +0 -261
  2138. package/polar-js-main/src/funcs/customFieldsUpdate.ts +0 -196
  2139. package/polar-js-main/src/funcs/customerMetersGet.ts +0 -195
  2140. package/polar-js-main/src/funcs/customerMetersList.ts +0 -262
  2141. package/polar-js-main/src/funcs/customerPortalBenefitGrantsGet.ts +0 -208
  2142. package/polar-js-main/src/funcs/customerPortalBenefitGrantsList.ts +0 -277
  2143. package/polar-js-main/src/funcs/customerPortalBenefitGrantsUpdate.ts +0 -219
  2144. package/polar-js-main/src/funcs/customerPortalCustomerMetersGet.ts +0 -206
  2145. package/polar-js-main/src/funcs/customerPortalCustomerMetersList.ts +0 -274
  2146. package/polar-js-main/src/funcs/customerPortalCustomerSessionIntrospect.ts +0 -157
  2147. package/polar-js-main/src/funcs/customerPortalCustomersAddPaymentMethod.ts +0 -191
  2148. package/polar-js-main/src/funcs/customerPortalCustomersConfirmPaymentMethod.ts +0 -201
  2149. package/polar-js-main/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +0 -215
  2150. package/polar-js-main/src/funcs/customerPortalCustomersGet.ts +0 -157
  2151. package/polar-js-main/src/funcs/customerPortalCustomersListPaymentMethods.ts +0 -275
  2152. package/polar-js-main/src/funcs/customerPortalCustomersUpdate.ts +0 -191
  2153. package/polar-js-main/src/funcs/customerPortalDownloadablesList.ts +0 -270
  2154. package/polar-js-main/src/funcs/customerPortalLicenseKeysActivate.ts +0 -194
  2155. package/polar-js-main/src/funcs/customerPortalLicenseKeysDeactivate.ts +0 -183
  2156. package/polar-js-main/src/funcs/customerPortalLicenseKeysGet.ts +0 -205
  2157. package/polar-js-main/src/funcs/customerPortalLicenseKeysList.ts +0 -287
  2158. package/polar-js-main/src/funcs/customerPortalLicenseKeysValidate.ts +0 -186
  2159. package/polar-js-main/src/funcs/customerPortalOrdersConfirmRetryPayment.ts +0 -221
  2160. package/polar-js-main/src/funcs/customerPortalOrdersGenerateInvoice.ts +0 -200
  2161. package/polar-js-main/src/funcs/customerPortalOrdersGet.ts +0 -205
  2162. package/polar-js-main/src/funcs/customerPortalOrdersGetPaymentStatus.ts +0 -208
  2163. package/polar-js-main/src/funcs/customerPortalOrdersInvoice.ts +0 -207
  2164. package/polar-js-main/src/funcs/customerPortalOrdersList.ts +0 -275
  2165. package/polar-js-main/src/funcs/customerPortalOrdersUpdate.ts +0 -208
  2166. package/polar-js-main/src/funcs/customerPortalOrganizationsGet.ts +0 -190
  2167. package/polar-js-main/src/funcs/customerPortalSeatsAssignSeat.ts +0 -189
  2168. package/polar-js-main/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +0 -158
  2169. package/polar-js-main/src/funcs/customerPortalSeatsListSeats.ts +0 -194
  2170. package/polar-js-main/src/funcs/customerPortalSeatsResendInvitation.ts +0 -198
  2171. package/polar-js-main/src/funcs/customerPortalSeatsRevokeSeat.ts +0 -195
  2172. package/polar-js-main/src/funcs/customerPortalSubscriptionsCancel.ts +0 -214
  2173. package/polar-js-main/src/funcs/customerPortalSubscriptionsGet.ts +0 -206
  2174. package/polar-js-main/src/funcs/customerPortalSubscriptionsList.ts +0 -275
  2175. package/polar-js-main/src/funcs/customerPortalSubscriptionsUpdate.ts +0 -217
  2176. package/polar-js-main/src/funcs/customerPortalWalletsGet.ts +0 -205
  2177. package/polar-js-main/src/funcs/customerPortalWalletsList.ts +0 -271
  2178. package/polar-js-main/src/funcs/customerSeatsAssignSeat.ts +0 -179
  2179. package/polar-js-main/src/funcs/customerSeatsClaimSeat.ts +0 -170
  2180. package/polar-js-main/src/funcs/customerSeatsGetClaimInfo.ts +0 -179
  2181. package/polar-js-main/src/funcs/customerSeatsListSeats.ts +0 -184
  2182. package/polar-js-main/src/funcs/customerSeatsResendInvitation.ts +0 -185
  2183. package/polar-js-main/src/funcs/customerSeatsRevokeSeat.ts +0 -185
  2184. package/polar-js-main/src/funcs/customerSessionsCreate.ts +0 -182
  2185. package/polar-js-main/src/funcs/customersCreate.ts +0 -181
  2186. package/polar-js-main/src/funcs/customersDelete.ts +0 -204
  2187. package/polar-js-main/src/funcs/customersDeleteExternal.ts +0 -194
  2188. package/polar-js-main/src/funcs/customersExport.ts +0 -182
  2189. package/polar-js-main/src/funcs/customersGet.ts +0 -195
  2190. package/polar-js-main/src/funcs/customersGetBalance.ts +0 -195
  2191. package/polar-js-main/src/funcs/customersGetExternal.ts +0 -195
  2192. package/polar-js-main/src/funcs/customersGetState.ts +0 -201
  2193. package/polar-js-main/src/funcs/customersGetStateExternal.ts +0 -203
  2194. package/polar-js-main/src/funcs/customersList.ts +0 -270
  2195. package/polar-js-main/src/funcs/customersUpdate.ts +0 -196
  2196. package/polar-js-main/src/funcs/customersUpdateExternal.ts +0 -198
  2197. package/polar-js-main/src/funcs/discountsCreate.ts +0 -181
  2198. package/polar-js-main/src/funcs/discountsDelete.ts +0 -192
  2199. package/polar-js-main/src/funcs/discountsGet.ts +0 -195
  2200. package/polar-js-main/src/funcs/discountsList.ts +0 -260
  2201. package/polar-js-main/src/funcs/discountsUpdate.ts +0 -196
  2202. package/polar-js-main/src/funcs/eventsGet.ts +0 -192
  2203. package/polar-js-main/src/funcs/eventsIngest.ts +0 -181
  2204. package/polar-js-main/src/funcs/eventsList.ts +0 -279
  2205. package/polar-js-main/src/funcs/eventsListNames.ts +0 -263
  2206. package/polar-js-main/src/funcs/filesCreate.ts +0 -181
  2207. package/polar-js-main/src/funcs/filesDelete.ts +0 -200
  2208. package/polar-js-main/src/funcs/filesList.ts +0 -259
  2209. package/polar-js-main/src/funcs/filesUpdate.ts +0 -202
  2210. package/polar-js-main/src/funcs/filesUploaded.ts +0 -204
  2211. package/polar-js-main/src/funcs/licenseKeysActivate.ts +0 -197
  2212. package/polar-js-main/src/funcs/licenseKeysDeactivate.ts +0 -186
  2213. package/polar-js-main/src/funcs/licenseKeysGet.ts +0 -203
  2214. package/polar-js-main/src/funcs/licenseKeysGetActivation.ts +0 -209
  2215. package/polar-js-main/src/funcs/licenseKeysList.ts +0 -277
  2216. package/polar-js-main/src/funcs/licenseKeysUpdate.ts +0 -204
  2217. package/polar-js-main/src/funcs/licenseKeysValidate.ts +0 -189
  2218. package/polar-js-main/src/funcs/metersCreate.ts +0 -178
  2219. package/polar-js-main/src/funcs/metersGet.ts +0 -192
  2220. package/polar-js-main/src/funcs/metersList.ts +0 -270
  2221. package/polar-js-main/src/funcs/metersQuantities.ts +0 -215
  2222. package/polar-js-main/src/funcs/metersUpdate.ts +0 -193
  2223. package/polar-js-main/src/funcs/metricsGet.ts +0 -194
  2224. package/polar-js-main/src/funcs/metricsLimits.ts +0 -147
  2225. package/polar-js-main/src/funcs/oauth2Authorize.ts +0 -142
  2226. package/polar-js-main/src/funcs/oauth2ClientsCreate.ts +0 -176
  2227. package/polar-js-main/src/funcs/oauth2ClientsDelete.ts +0 -183
  2228. package/polar-js-main/src/funcs/oauth2ClientsGet.ts +0 -182
  2229. package/polar-js-main/src/funcs/oauth2ClientsUpdate.ts +0 -186
  2230. package/polar-js-main/src/funcs/oauth2Introspect.ts +0 -164
  2231. package/polar-js-main/src/funcs/oauth2Revoke.ts +0 -164
  2232. package/polar-js-main/src/funcs/oauth2Token.ts +0 -164
  2233. package/polar-js-main/src/funcs/oauth2Userinfo.ts +0 -145
  2234. package/polar-js-main/src/funcs/ordersExport.ts +0 -183
  2235. package/polar-js-main/src/funcs/ordersGenerateInvoice.ts +0 -187
  2236. package/polar-js-main/src/funcs/ordersGet.ts +0 -192
  2237. package/polar-js-main/src/funcs/ordersInvoice.ts +0 -195
  2238. package/polar-js-main/src/funcs/ordersList.ts +0 -273
  2239. package/polar-js-main/src/funcs/ordersUpdate.ts +0 -193
  2240. package/polar-js-main/src/funcs/organizationsCreate.ts +0 -181
  2241. package/polar-js-main/src/funcs/organizationsGet.ts +0 -195
  2242. package/polar-js-main/src/funcs/organizationsList.ts +0 -259
  2243. package/polar-js-main/src/funcs/organizationsUpdate.ts +0 -206
  2244. package/polar-js-main/src/funcs/paymentsGet.ts +0 -195
  2245. package/polar-js-main/src/funcs/paymentsList.ts +0 -264
  2246. package/polar-js-main/src/funcs/productsCreate.ts +0 -181
  2247. package/polar-js-main/src/funcs/productsGet.ts +0 -195
  2248. package/polar-js-main/src/funcs/productsList.ts +0 -273
  2249. package/polar-js-main/src/funcs/productsUpdate.ts +0 -204
  2250. package/polar-js-main/src/funcs/productsUpdateBenefits.ts +0 -206
  2251. package/polar-js-main/src/funcs/refundsCreate.ts +0 -195
  2252. package/polar-js-main/src/funcs/refundsList.ts +0 -264
  2253. package/polar-js-main/src/funcs/subscriptionsCreate.ts +0 -187
  2254. package/polar-js-main/src/funcs/subscriptionsExport.ts +0 -182
  2255. package/polar-js-main/src/funcs/subscriptionsGet.ts +0 -195
  2256. package/polar-js-main/src/funcs/subscriptionsList.ts +0 -273
  2257. package/polar-js-main/src/funcs/subscriptionsRevoke.ts +0 -211
  2258. package/polar-js-main/src/funcs/subscriptionsUpdate.ts +0 -214
  2259. package/polar-js-main/src/funcs/walletsGet.ts +0 -192
  2260. package/polar-js-main/src/funcs/walletsList.ts +0 -260
  2261. package/polar-js-main/src/funcs/walletsTopUp.ts +0 -212
  2262. package/polar-js-main/src/funcs/webhooksCreateWebhookEndpoint.ts +0 -181
  2263. package/polar-js-main/src/funcs/webhooksDeleteWebhookEndpoint.ts +0 -192
  2264. package/polar-js-main/src/funcs/webhooksGetWebhookEndpoint.ts +0 -195
  2265. package/polar-js-main/src/funcs/webhooksListWebhookDeliveries.ts +0 -264
  2266. package/polar-js-main/src/funcs/webhooksListWebhookEndpoints.ts +0 -260
  2267. package/polar-js-main/src/funcs/webhooksRedeliverWebhookEvent.ts +0 -192
  2268. package/polar-js-main/src/funcs/webhooksResetWebhookEndpointSecret.ts +0 -196
  2269. package/polar-js-main/src/funcs/webhooksUpdateWebhookEndpoint.ts +0 -198
  2270. package/polar-js-main/src/hooks/hooks.ts +0 -132
  2271. package/polar-js-main/src/hooks/registration.ts +0 -14
  2272. package/polar-js-main/src/hooks/types.ts +0 -114
  2273. package/polar-js-main/src/index.ts +0 -9
  2274. package/polar-js-main/src/lib/base64.ts +0 -37
  2275. package/polar-js-main/src/lib/config.ts +0 -70
  2276. package/polar-js-main/src/lib/dlv.ts +0 -53
  2277. package/polar-js-main/src/lib/encodings.ts +0 -483
  2278. package/polar-js-main/src/lib/env.ts +0 -57
  2279. package/polar-js-main/src/lib/files.ts +0 -82
  2280. package/polar-js-main/src/lib/http.ts +0 -323
  2281. package/polar-js-main/src/lib/is-plain-object.ts +0 -43
  2282. package/polar-js-main/src/lib/logger.ts +0 -9
  2283. package/polar-js-main/src/lib/matchers.ts +0 -345
  2284. package/polar-js-main/src/lib/primitives.ts +0 -150
  2285. package/polar-js-main/src/lib/retries.ts +0 -218
  2286. package/polar-js-main/src/lib/schemas.ts +0 -91
  2287. package/polar-js-main/src/lib/sdks.ts +0 -407
  2288. package/polar-js-main/src/lib/security.ts +0 -264
  2289. package/polar-js-main/src/lib/url.ts +0 -33
  2290. package/polar-js-main/src/models/components/address.ts +0 -363
  2291. package/polar-js-main/src/models/components/addressdict.ts +0 -91
  2292. package/polar-js-main/src/models/components/addressinput.ts +0 -361
  2293. package/polar-js-main/src/models/components/aggregationfunction.ts +0 -37
  2294. package/polar-js-main/src/models/components/attachedcustomfield.ts +0 -107
  2295. package/polar-js-main/src/models/components/attachedcustomfieldcreate.ts +0 -88
  2296. package/polar-js-main/src/models/components/authorizationcodetokenrequest.ts +0 -99
  2297. package/polar-js-main/src/models/components/authorizeorganization.ts +0 -83
  2298. package/polar-js-main/src/models/components/authorizeresponseorganization.ts +0 -106
  2299. package/polar-js-main/src/models/components/authorizeresponseuser.ts +0 -100
  2300. package/polar-js-main/src/models/components/authorizeuser.ts +0 -79
  2301. package/polar-js-main/src/models/components/benefit.ts +0 -113
  2302. package/polar-js-main/src/models/components/benefitcreate.ts +0 -164
  2303. package/polar-js-main/src/models/components/benefitcustom.ts +0 -204
  2304. package/polar-js-main/src/models/components/benefitcustomcreate.ts +0 -184
  2305. package/polar-js-main/src/models/components/benefitcustomcreateproperties.ts +0 -71
  2306. package/polar-js-main/src/models/components/benefitcustomproperties.ts +0 -69
  2307. package/polar-js-main/src/models/components/benefitcustomsubscriber.ts +0 -221
  2308. package/polar-js-main/src/models/components/benefitcustomsubscriberproperties.ts +0 -72
  2309. package/polar-js-main/src/models/components/benefitcustomupdate.ts +0 -162
  2310. package/polar-js-main/src/models/components/benefitcycledevent.ts +0 -168
  2311. package/polar-js-main/src/models/components/benefitdiscord.ts +0 -208
  2312. package/polar-js-main/src/models/components/benefitdiscordcreate.ts +0 -181
  2313. package/polar-js-main/src/models/components/benefitdiscordcreateproperties.ts +0 -98
  2314. package/polar-js-main/src/models/components/benefitdiscordproperties.ts +0 -105
  2315. package/polar-js-main/src/models/components/benefitdiscordsubscriber.ts +0 -221
  2316. package/polar-js-main/src/models/components/benefitdiscordsubscriberproperties.ts +0 -85
  2317. package/polar-js-main/src/models/components/benefitdiscordupdate.ts +0 -164
  2318. package/polar-js-main/src/models/components/benefitdownloadables.ts +0 -204
  2319. package/polar-js-main/src/models/components/benefitdownloadablescreate.ts +0 -184
  2320. package/polar-js-main/src/models/components/benefitdownloadablescreateproperties.ts +0 -75
  2321. package/polar-js-main/src/models/components/benefitdownloadablesproperties.ts +0 -72
  2322. package/polar-js-main/src/models/components/benefitdownloadablessubscriber.ts +0 -224
  2323. package/polar-js-main/src/models/components/benefitdownloadablessubscriberproperties.ts +0 -86
  2324. package/polar-js-main/src/models/components/benefitdownloadablesupdate.ts +0 -170
  2325. package/polar-js-main/src/models/components/benefitgithubrepository.ts +0 -218
  2326. package/polar-js-main/src/models/components/benefitgithubrepositorycreate.ts +0 -190
  2327. package/polar-js-main/src/models/components/benefitgithubrepositorycreateproperties.ts +0 -149
  2328. package/polar-js-main/src/models/components/benefitgithubrepositoryproperties.ts +0 -135
  2329. package/polar-js-main/src/models/components/benefitgithubrepositorysubscriber.ts +0 -234
  2330. package/polar-js-main/src/models/components/benefitgithubrepositorysubscriberproperties.ts +0 -103
  2331. package/polar-js-main/src/models/components/benefitgithubrepositoryupdate.ts +0 -176
  2332. package/polar-js-main/src/models/components/benefitgrant.ts +0 -328
  2333. package/polar-js-main/src/models/components/benefitgrantcustomproperties.ts +0 -60
  2334. package/polar-js-main/src/models/components/benefitgrantcustomwebhook.ts +0 -236
  2335. package/polar-js-main/src/models/components/benefitgrantdiscordproperties.ts +0 -95
  2336. package/polar-js-main/src/models/components/benefitgrantdiscordwebhook.ts +0 -236
  2337. package/polar-js-main/src/models/components/benefitgrantdownloadablesproperties.ts +0 -71
  2338. package/polar-js-main/src/models/components/benefitgrantdownloadableswebhook.ts +0 -233
  2339. package/polar-js-main/src/models/components/benefitgrantedevent.ts +0 -168
  2340. package/polar-js-main/src/models/components/benefitgranterror.ts +0 -74
  2341. package/polar-js-main/src/models/components/benefitgrantgithubrepositoryproperties.ts +0 -140
  2342. package/polar-js-main/src/models/components/benefitgrantgithubrepositorywebhook.ts +0 -246
  2343. package/polar-js-main/src/models/components/benefitgrantlicensekeysproperties.ts +0 -84
  2344. package/polar-js-main/src/models/components/benefitgrantlicensekeyswebhook.ts +0 -233
  2345. package/polar-js-main/src/models/components/benefitgrantmetadata.ts +0 -92
  2346. package/polar-js-main/src/models/components/benefitgrantmetercreditproperties.ts +0 -90
  2347. package/polar-js-main/src/models/components/benefitgrantmetercreditwebhook.ts +0 -240
  2348. package/polar-js-main/src/models/components/benefitgrantsortproperty.ts +0 -39
  2349. package/polar-js-main/src/models/components/benefitgrantwebhook.ts +0 -120
  2350. package/polar-js-main/src/models/components/benefitlicensekeyactivationcreateproperties.ts +0 -92
  2351. package/polar-js-main/src/models/components/benefitlicensekeyactivationproperties.ts +0 -84
  2352. package/polar-js-main/src/models/components/benefitlicensekeyexpirationproperties.ts +0 -102
  2353. package/polar-js-main/src/models/components/benefitlicensekeys.ts +0 -202
  2354. package/polar-js-main/src/models/components/benefitlicensekeyscreate.ts +0 -182
  2355. package/polar-js-main/src/models/components/benefitlicensekeyscreateproperties.ts +0 -112
  2356. package/polar-js-main/src/models/components/benefitlicensekeysproperties.ts +0 -101
  2357. package/polar-js-main/src/models/components/benefitlicensekeyssubscriber.ts +0 -223
  2358. package/polar-js-main/src/models/components/benefitlicensekeyssubscriberproperties.ts +0 -105
  2359. package/polar-js-main/src/models/components/benefitlicensekeysupdate.ts +0 -168
  2360. package/polar-js-main/src/models/components/benefitmetercredit.ts +0 -212
  2361. package/polar-js-main/src/models/components/benefitmetercreditcreate.ts +0 -188
  2362. package/polar-js-main/src/models/components/benefitmetercreditcreateproperties.ts +0 -90
  2363. package/polar-js-main/src/models/components/benefitmetercreditproperties.ts +0 -88
  2364. package/polar-js-main/src/models/components/benefitmetercreditsubscriber.ts +0 -226
  2365. package/polar-js-main/src/models/components/benefitmetercreditsubscriberproperties.ts +0 -92
  2366. package/polar-js-main/src/models/components/benefitmetercreditupdate.ts +0 -168
  2367. package/polar-js-main/src/models/components/benefitpublic.ts +0 -131
  2368. package/polar-js-main/src/models/components/benefitrevokedevent.ts +0 -168
  2369. package/polar-js-main/src/models/components/benefitsortproperty.ts +0 -37
  2370. package/polar-js-main/src/models/components/benefitsubscriberorganization.ts +0 -141
  2371. package/polar-js-main/src/models/components/benefittype.ts +0 -35
  2372. package/polar-js-main/src/models/components/benefitupdatedevent.ts +0 -168
  2373. package/polar-js-main/src/models/components/billingaddressfieldmode.ts +0 -36
  2374. package/polar-js-main/src/models/components/cardpayment.ts +0 -203
  2375. package/polar-js-main/src/models/components/cardpaymentmetadata.ts +0 -79
  2376. package/polar-js-main/src/models/components/checkout.ts +0 -948
  2377. package/polar-js-main/src/models/components/checkoutbillingaddressfields.ts +0 -102
  2378. package/polar-js-main/src/models/components/checkoutconfirmstripe.ts +0 -267
  2379. package/polar-js-main/src/models/components/checkoutcreate.ts +0 -506
  2380. package/polar-js-main/src/models/components/checkoutdiscountfixedonceforeverduration.ts +0 -117
  2381. package/polar-js-main/src/models/components/checkoutdiscountfixedrepeatduration.ts +0 -127
  2382. package/polar-js-main/src/models/components/checkoutdiscountpercentageonceforeverduration.ts +0 -127
  2383. package/polar-js-main/src/models/components/checkoutdiscountpercentagerepeatduration.ts +0 -134
  2384. package/polar-js-main/src/models/components/checkoutlink.ts +0 -382
  2385. package/polar-js-main/src/models/components/checkoutlinkcreate.ts +0 -90
  2386. package/polar-js-main/src/models/components/checkoutlinkcreateproduct.ts +0 -241
  2387. package/polar-js-main/src/models/components/checkoutlinkcreateproductprice.ts +0 -246
  2388. package/polar-js-main/src/models/components/checkoutlinkcreateproducts.ts +0 -239
  2389. package/polar-js-main/src/models/components/checkoutlinkproduct.ts +0 -365
  2390. package/polar-js-main/src/models/components/checkoutlinksortproperty.ts +0 -41
  2391. package/polar-js-main/src/models/components/checkoutlinkupdate.ts +0 -219
  2392. package/polar-js-main/src/models/components/checkoutorganization.ts +0 -139
  2393. package/polar-js-main/src/models/components/checkoutproduct.ts +0 -297
  2394. package/polar-js-main/src/models/components/checkoutpublic.ts +0 -802
  2395. package/polar-js-main/src/models/components/checkoutpublicconfirmed.ts +0 -827
  2396. package/polar-js-main/src/models/components/checkoutsortproperty.ts +0 -37
  2397. package/polar-js-main/src/models/components/checkoutstatus.ts +0 -36
  2398. package/polar-js-main/src/models/components/checkoutupdate.ts +0 -485
  2399. package/polar-js-main/src/models/components/checkoutupdatepublic.ts +0 -258
  2400. package/polar-js-main/src/models/components/costmetadatainput.ts +0 -122
  2401. package/polar-js-main/src/models/components/costmetadataoutput.ts +0 -76
  2402. package/polar-js-main/src/models/components/countaggregation.ts +0 -66
  2403. package/polar-js-main/src/models/components/customer.ts +0 -284
  2404. package/polar-js-main/src/models/components/customerbalance.ts +0 -77
  2405. package/polar-js-main/src/models/components/customerbenefitgrant.ts +0 -120
  2406. package/polar-js-main/src/models/components/customerbenefitgrantcustom.ts +0 -178
  2407. package/polar-js-main/src/models/components/customerbenefitgrantcustomupdate.ts +0 -77
  2408. package/polar-js-main/src/models/components/customerbenefitgrantdiscord.ts +0 -180
  2409. package/polar-js-main/src/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +0 -88
  2410. package/polar-js-main/src/models/components/customerbenefitgrantdiscordupdate.ts +0 -88
  2411. package/polar-js-main/src/models/components/customerbenefitgrantdownloadables.ts +0 -181
  2412. package/polar-js-main/src/models/components/customerbenefitgrantdownloadablesupdate.ts +0 -86
  2413. package/polar-js-main/src/models/components/customerbenefitgrantgithubrepository.ts +0 -183
  2414. package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +0 -89
  2415. package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositoryupdate.ts +0 -97
  2416. package/polar-js-main/src/models/components/customerbenefitgrantlicensekeys.ts +0 -180
  2417. package/polar-js-main/src/models/components/customerbenefitgrantlicensekeysupdate.ts +0 -80
  2418. package/polar-js-main/src/models/components/customerbenefitgrantmetercredit.ts +0 -180
  2419. package/polar-js-main/src/models/components/customerbenefitgrantmetercreditupdate.ts +0 -80
  2420. package/polar-js-main/src/models/components/customerbenefitgrantsortproperty.ts +0 -39
  2421. package/polar-js-main/src/models/components/customerbenefitgrantupdate.ts +0 -178
  2422. package/polar-js-main/src/models/components/customercancellationreason.ts +0 -41
  2423. package/polar-js-main/src/models/components/customercreate.ts +0 -248
  2424. package/polar-js-main/src/models/components/customercreatedevent.ts +0 -168
  2425. package/polar-js-main/src/models/components/customercreatedmetadata.ts +0 -93
  2426. package/polar-js-main/src/models/components/customercustomermeter.ts +0 -149
  2427. package/polar-js-main/src/models/components/customercustomermetermeter.ts +0 -103
  2428. package/polar-js-main/src/models/components/customercustomermetersortproperty.ts +0 -48
  2429. package/polar-js-main/src/models/components/customercustomersession.ts +0 -81
  2430. package/polar-js-main/src/models/components/customerdeletedevent.ts +0 -168
  2431. package/polar-js-main/src/models/components/customerdeletedmetadata.ts +0 -93
  2432. package/polar-js-main/src/models/components/customermeter.ts +0 -161
  2433. package/polar-js-main/src/models/components/customermetersortproperty.ts +0 -51
  2434. package/polar-js-main/src/models/components/customerorder.ts +0 -341
  2435. package/polar-js-main/src/models/components/customerorderconfirmpayment.ts +0 -103
  2436. package/polar-js-main/src/models/components/customerorderinvoice.ts +0 -72
  2437. package/polar-js-main/src/models/components/customerorderpaymentconfirmation.ts +0 -97
  2438. package/polar-js-main/src/models/components/customerorderpaymentstatus.ts +0 -79
  2439. package/polar-js-main/src/models/components/customerorderproduct.ts +0 -308
  2440. package/polar-js-main/src/models/components/customerordersortproperty.ts +0 -43
  2441. package/polar-js-main/src/models/components/customerordersubscription.ts +0 -297
  2442. package/polar-js-main/src/models/components/customerorderupdate.ts +0 -96
  2443. package/polar-js-main/src/models/components/customerorganization.ts +0 -139
  2444. package/polar-js-main/src/models/components/customerorganizationdata.ts +0 -85
  2445. package/polar-js-main/src/models/components/customerpaymentmethod.ts +0 -78
  2446. package/polar-js-main/src/models/components/customerpaymentmethodconfirm.ts +0 -83
  2447. package/polar-js-main/src/models/components/customerpaymentmethodcreate.ts +0 -89
  2448. package/polar-js-main/src/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +0 -93
  2449. package/polar-js-main/src/models/components/customerpaymentmethodcreateresponse.ts +0 -107
  2450. package/polar-js-main/src/models/components/customerpaymentmethodcreatesucceededresponse.ts +0 -98
  2451. package/polar-js-main/src/models/components/customerportalcustomer.ts +0 -213
  2452. package/polar-js-main/src/models/components/customerportalcustomerupdate.ts +0 -95
  2453. package/polar-js-main/src/models/components/customerportaloauthaccount.ts +0 -81
  2454. package/polar-js-main/src/models/components/customerproduct.ts +0 -297
  2455. package/polar-js-main/src/models/components/customerseat.ts +0 -180
  2456. package/polar-js-main/src/models/components/customerseatclaimresponse.ts +0 -91
  2457. package/polar-js-main/src/models/components/customersession.ts +0 -138
  2458. package/polar-js-main/src/models/components/customersessioncustomerexternalidcreate.ts +0 -101
  2459. package/polar-js-main/src/models/components/customersessioncustomeridcreate.ts +0 -92
  2460. package/polar-js-main/src/models/components/customersortproperty.ts +0 -37
  2461. package/polar-js-main/src/models/components/customerstate.ts +0 -339
  2462. package/polar-js-main/src/models/components/customerstatebenefitgrant.ts +0 -322
  2463. package/polar-js-main/src/models/components/customerstatemeter.ts +0 -133
  2464. package/polar-js-main/src/models/components/customerstatesubscription.ts +0 -450
  2465. package/polar-js-main/src/models/components/customerstatesubscriptionmeter.ts +0 -135
  2466. package/polar-js-main/src/models/components/customersubscription.ts +0 -418
  2467. package/polar-js-main/src/models/components/customersubscriptioncancel.ts +0 -118
  2468. package/polar-js-main/src/models/components/customersubscriptionmeter.ts +0 -140
  2469. package/polar-js-main/src/models/components/customersubscriptionmetermeter.ts +0 -105
  2470. package/polar-js-main/src/models/components/customersubscriptionproduct.ts +0 -313
  2471. package/polar-js-main/src/models/components/customersubscriptionsortproperty.ts +0 -43
  2472. package/polar-js-main/src/models/components/customersubscriptionupdate.ts +0 -90
  2473. package/polar-js-main/src/models/components/customersubscriptionupdateproduct.ts +0 -81
  2474. package/polar-js-main/src/models/components/customersubscriptionupdateseats.ts +0 -94
  2475. package/polar-js-main/src/models/components/customerupdate.ts +0 -239
  2476. package/polar-js-main/src/models/components/customerupdatedevent.ts +0 -168
  2477. package/polar-js-main/src/models/components/customerupdatedfields.ts +0 -155
  2478. package/polar-js-main/src/models/components/customerupdatedmetadata.ts +0 -105
  2479. package/polar-js-main/src/models/components/customerupdateexternalid.ts +0 -242
  2480. package/polar-js-main/src/models/components/customerwallet.ts +0 -122
  2481. package/polar-js-main/src/models/components/customerwalletsortproperty.ts +0 -37
  2482. package/polar-js-main/src/models/components/customfield.ts +0 -138
  2483. package/polar-js-main/src/models/components/customfieldcheckbox.ts +0 -200
  2484. package/polar-js-main/src/models/components/customfieldcheckboxproperties.ts +0 -89
  2485. package/polar-js-main/src/models/components/customfieldcreate.ts +0 -142
  2486. package/polar-js-main/src/models/components/customfieldcreatecheckbox.ts +0 -193
  2487. package/polar-js-main/src/models/components/customfieldcreatedate.ts +0 -188
  2488. package/polar-js-main/src/models/components/customfieldcreatenumber.ts +0 -192
  2489. package/polar-js-main/src/models/components/customfieldcreateselect.ts +0 -192
  2490. package/polar-js-main/src/models/components/customfieldcreatetext.ts +0 -188
  2491. package/polar-js-main/src/models/components/customfielddate.ts +0 -196
  2492. package/polar-js-main/src/models/components/customfielddateproperties.ts +0 -95
  2493. package/polar-js-main/src/models/components/customfieldnumber.ts +0 -198
  2494. package/polar-js-main/src/models/components/customfieldnumberproperties.ts +0 -97
  2495. package/polar-js-main/src/models/components/customfieldselect.ts +0 -198
  2496. package/polar-js-main/src/models/components/customfieldselectoption.ts +0 -70
  2497. package/polar-js-main/src/models/components/customfieldselectproperties.ts +0 -99
  2498. package/polar-js-main/src/models/components/customfieldsortproperty.ts +0 -41
  2499. package/polar-js-main/src/models/components/customfieldtext.ts +0 -196
  2500. package/polar-js-main/src/models/components/customfieldtextproperties.ts +0 -103
  2501. package/polar-js-main/src/models/components/customfieldtype.ts +0 -36
  2502. package/polar-js-main/src/models/components/customfieldupdate.ts +0 -142
  2503. package/polar-js-main/src/models/components/customfieldupdatecheckbox.ts +0 -173
  2504. package/polar-js-main/src/models/components/customfieldupdatedate.ts +0 -166
  2505. package/polar-js-main/src/models/components/customfieldupdatenumber.ts +0 -170
  2506. package/polar-js-main/src/models/components/customfieldupdateselect.ts +0 -170
  2507. package/polar-js-main/src/models/components/customfieldupdatetext.ts +0 -166
  2508. package/polar-js-main/src/models/components/discount.ts +0 -96
  2509. package/polar-js-main/src/models/components/discountcreate.ts +0 -96
  2510. package/polar-js-main/src/models/components/discountduration.ts +0 -34
  2511. package/polar-js-main/src/models/components/discountfixedonceforeverduration.ts +0 -277
  2512. package/polar-js-main/src/models/components/discountfixedonceforeverdurationbase.ts +0 -269
  2513. package/polar-js-main/src/models/components/discountfixedonceforeverdurationcreate.ts +0 -263
  2514. package/polar-js-main/src/models/components/discountfixedrepeatduration.ts +0 -280
  2515. package/polar-js-main/src/models/components/discountfixedrepeatdurationbase.ts +0 -270
  2516. package/polar-js-main/src/models/components/discountfixedrepeatdurationcreate.ts +0 -275
  2517. package/polar-js-main/src/models/components/discountpercentageonceforeverduration.ts +0 -283
  2518. package/polar-js-main/src/models/components/discountpercentageonceforeverdurationbase.ts +0 -278
  2519. package/polar-js-main/src/models/components/discountpercentageonceforeverdurationcreate.ts +0 -270
  2520. package/polar-js-main/src/models/components/discountpercentagerepeatduration.ts +0 -287
  2521. package/polar-js-main/src/models/components/discountpercentagerepeatdurationbase.ts +0 -276
  2522. package/polar-js-main/src/models/components/discountpercentagerepeatdurationcreate.ts +0 -280
  2523. package/polar-js-main/src/models/components/discountproduct.ts +0 -246
  2524. package/polar-js-main/src/models/components/discountsortproperty.ts +0 -39
  2525. package/polar-js-main/src/models/components/discounttype.ts +0 -31
  2526. package/polar-js-main/src/models/components/discountupdate.ts +0 -229
  2527. package/polar-js-main/src/models/components/downloadablefilecreate.ts +0 -116
  2528. package/polar-js-main/src/models/components/downloadablefileread.ts +0 -161
  2529. package/polar-js-main/src/models/components/downloadableread.ts +0 -89
  2530. package/polar-js-main/src/models/components/event.ts +0 -63
  2531. package/polar-js-main/src/models/components/eventcreatecustomer.ts +0 -130
  2532. package/polar-js-main/src/models/components/eventcreateexternalcustomer.ts +0 -132
  2533. package/polar-js-main/src/models/components/eventmetadatainput.ts +0 -96
  2534. package/polar-js-main/src/models/components/eventmetadataoutput.ts +0 -96
  2535. package/polar-js-main/src/models/components/eventname.ts +0 -106
  2536. package/polar-js-main/src/models/components/eventnamessortproperty.ts +0 -39
  2537. package/polar-js-main/src/models/components/eventsingest.ts +0 -140
  2538. package/polar-js-main/src/models/components/eventsingestresponse.ts +0 -76
  2539. package/polar-js-main/src/models/components/eventsortproperty.ts +0 -33
  2540. package/polar-js-main/src/models/components/eventsource.ts +0 -31
  2541. package/polar-js-main/src/models/components/existingproductprice.ts +0 -73
  2542. package/polar-js-main/src/models/components/filecreate.ts +0 -110
  2543. package/polar-js-main/src/models/components/filedownload.ts +0 -163
  2544. package/polar-js-main/src/models/components/filepatch.ts +0 -66
  2545. package/polar-js-main/src/models/components/fileservicetypes.ts +0 -34
  2546. package/polar-js-main/src/models/components/fileupload.ts +0 -163
  2547. package/polar-js-main/src/models/components/fileuploadcompleted.ts +0 -80
  2548. package/polar-js-main/src/models/components/filter.ts +0 -121
  2549. package/polar-js-main/src/models/components/filterclause.ts +0 -118
  2550. package/polar-js-main/src/models/components/filterconjunction.ts +0 -33
  2551. package/polar-js-main/src/models/components/filteroperator.ts +0 -39
  2552. package/polar-js-main/src/models/components/genericpayment.ts +0 -188
  2553. package/polar-js-main/src/models/components/introspecttokenrequest.ts +0 -125
  2554. package/polar-js-main/src/models/components/introspecttokenresponse.ts +0 -146
  2555. package/polar-js-main/src/models/components/legacyrecurringproductprice.ts +0 -116
  2556. package/polar-js-main/src/models/components/legacyrecurringproductpricecustom.ts +0 -188
  2557. package/polar-js-main/src/models/components/legacyrecurringproductpricefixed.ts +0 -169
  2558. package/polar-js-main/src/models/components/legacyrecurringproductpricefree.ts +0 -151
  2559. package/polar-js-main/src/models/components/licensekeyactivate.ts +0 -239
  2560. package/polar-js-main/src/models/components/licensekeyactivationbase.ts +0 -145
  2561. package/polar-js-main/src/models/components/licensekeyactivationread.ts +0 -173
  2562. package/polar-js-main/src/models/components/licensekeycustomer.ts +0 -293
  2563. package/polar-js-main/src/models/components/licensekeydeactivate.ts +0 -85
  2564. package/polar-js-main/src/models/components/licensekeyread.ts +0 -178
  2565. package/polar-js-main/src/models/components/licensekeystatus.ts +0 -34
  2566. package/polar-js-main/src/models/components/licensekeyupdate.ts +0 -102
  2567. package/polar-js-main/src/models/components/licensekeyvalidate.ts +0 -172
  2568. package/polar-js-main/src/models/components/licensekeywithactivations.ts +0 -192
  2569. package/polar-js-main/src/models/components/listresource.ts +0 -78
  2570. package/polar-js-main/src/models/components/listresourcebenefit.ts +0 -82
  2571. package/polar-js-main/src/models/components/listresourcebenefitgrant.ts +0 -82
  2572. package/polar-js-main/src/models/components/listresourcecheckout.ts +0 -82
  2573. package/polar-js-main/src/models/components/listresourcecheckoutlink.ts +0 -82
  2574. package/polar-js-main/src/models/components/listresourcecustomer.ts +0 -82
  2575. package/polar-js-main/src/models/components/listresourcecustomerbenefitgrant.ts +0 -84
  2576. package/polar-js-main/src/models/components/listresourcecustomercustomermeter.ts +0 -85
  2577. package/polar-js-main/src/models/components/listresourcecustomermeter.ts +0 -82
  2578. package/polar-js-main/src/models/components/listresourcecustomerorder.ts +0 -82
  2579. package/polar-js-main/src/models/components/listresourcecustomerpaymentmethod.ts +0 -85
  2580. package/polar-js-main/src/models/components/listresourcecustomersubscription.ts +0 -84
  2581. package/polar-js-main/src/models/components/listresourcecustomerwallet.ts +0 -82
  2582. package/polar-js-main/src/models/components/listresourcecustomfield.ts +0 -82
  2583. package/polar-js-main/src/models/components/listresourcediscount.ts +0 -82
  2584. package/polar-js-main/src/models/components/listresourcedownloadableread.ts +0 -84
  2585. package/polar-js-main/src/models/components/listresourceevent.ts +0 -82
  2586. package/polar-js-main/src/models/components/listresourceeventname.ts +0 -82
  2587. package/polar-js-main/src/models/components/listresourcefileread.ts +0 -222
  2588. package/polar-js-main/src/models/components/listresourcelicensekeyread.ts +0 -82
  2589. package/polar-js-main/src/models/components/listresourcemeter.ts +0 -82
  2590. package/polar-js-main/src/models/components/listresourceorder.ts +0 -82
  2591. package/polar-js-main/src/models/components/listresourceorganization.ts +0 -82
  2592. package/polar-js-main/src/models/components/listresourceproduct.ts +0 -82
  2593. package/polar-js-main/src/models/components/listresourcerefund.ts +0 -82
  2594. package/polar-js-main/src/models/components/listresourcesubscription.ts +0 -82
  2595. package/polar-js-main/src/models/components/listresourcewallet.ts +0 -82
  2596. package/polar-js-main/src/models/components/listresourcewebhookdelivery.ts +0 -84
  2597. package/polar-js-main/src/models/components/listresourcewebhookendpoint.ts +0 -84
  2598. package/polar-js-main/src/models/components/llmmetadata.ts +0 -129
  2599. package/polar-js-main/src/models/components/meter.ts +0 -380
  2600. package/polar-js-main/src/models/components/metercreate.ts +0 -354
  2601. package/polar-js-main/src/models/components/metercreditedmetadata.ts +0 -83
  2602. package/polar-js-main/src/models/components/metercreditevent.ts +0 -168
  2603. package/polar-js-main/src/models/components/meterquantities.ts +0 -77
  2604. package/polar-js-main/src/models/components/meterquantity.ts +0 -72
  2605. package/polar-js-main/src/models/components/meterresetevent.ts +0 -166
  2606. package/polar-js-main/src/models/components/meterresetmetadata.ts +0 -75
  2607. package/polar-js-main/src/models/components/metersortproperty.ts +0 -35
  2608. package/polar-js-main/src/models/components/meterupdate.ts +0 -374
  2609. package/polar-js-main/src/models/components/metric.ts +0 -90
  2610. package/polar-js-main/src/models/components/metricperiod.ts +0 -2298
  2611. package/polar-js-main/src/models/components/metrics.ts +0 -425
  2612. package/polar-js-main/src/models/components/metricsintervallimit.ts +0 -81
  2613. package/polar-js-main/src/models/components/metricsintervalslimits.ts +0 -106
  2614. package/polar-js-main/src/models/components/metricslimits.ts +0 -91
  2615. package/polar-js-main/src/models/components/metricsresponse.ts +0 -96
  2616. package/polar-js-main/src/models/components/metricstotals.ts +0 -2538
  2617. package/polar-js-main/src/models/components/metrictype.ts +0 -33
  2618. package/polar-js-main/src/models/components/oauth2clientconfiguration.ts +0 -202
  2619. package/polar-js-main/src/models/components/oauth2clientconfigurationupdate.ts +0 -224
  2620. package/polar-js-main/src/models/components/oauth2clientpublic.ts +0 -125
  2621. package/polar-js-main/src/models/components/order.ts +0 -608
  2622. package/polar-js-main/src/models/components/orderbillingreason.ts +0 -35
  2623. package/polar-js-main/src/models/components/ordercustomer.ts +0 -285
  2624. package/polar-js-main/src/models/components/orderinvoice.ts +0 -68
  2625. package/polar-js-main/src/models/components/orderitemschema.ts +0 -136
  2626. package/polar-js-main/src/models/components/orderpaidevent.ts +0 -164
  2627. package/polar-js-main/src/models/components/orderpaidmetadata.ts +0 -87
  2628. package/polar-js-main/src/models/components/orderproduct.ts +0 -237
  2629. package/polar-js-main/src/models/components/orderrefundedevent.ts +0 -168
  2630. package/polar-js-main/src/models/components/orderrefundedmetadata.ts +0 -89
  2631. package/polar-js-main/src/models/components/ordersortproperty.ts +0 -49
  2632. package/polar-js-main/src/models/components/orderstatus.ts +0 -33
  2633. package/polar-js-main/src/models/components/ordersubscription.ts +0 -359
  2634. package/polar-js-main/src/models/components/orderupdate.ts +0 -92
  2635. package/polar-js-main/src/models/components/organization.ts +0 -233
  2636. package/polar-js-main/src/models/components/organizationavatarfilecreate.ts +0 -124
  2637. package/polar-js-main/src/models/components/organizationavatarfileread.ts +0 -167
  2638. package/polar-js-main/src/models/components/organizationcreate.ts +0 -195
  2639. package/polar-js-main/src/models/components/organizationcustomeremailsettings.ts +0 -120
  2640. package/polar-js-main/src/models/components/organizationdetails.ts +0 -168
  2641. package/polar-js-main/src/models/components/organizationfeaturesettings.ts +0 -107
  2642. package/polar-js-main/src/models/components/organizationnotificationsettings.ts +0 -83
  2643. package/polar-js-main/src/models/components/organizationsociallink.ts +0 -78
  2644. package/polar-js-main/src/models/components/organizationsocialplatforms.ts +0 -41
  2645. package/polar-js-main/src/models/components/organizationsortproperty.ts +0 -43
  2646. package/polar-js-main/src/models/components/organizationstatus.ts +0 -37
  2647. package/polar-js-main/src/models/components/organizationsubscriptionsettings.ts +0 -100
  2648. package/polar-js-main/src/models/components/organizationupdate.ts +0 -191
  2649. package/polar-js-main/src/models/components/pagination.ts +0 -77
  2650. package/polar-js-main/src/models/components/payment.ts +0 -63
  2651. package/polar-js-main/src/models/components/paymentmethodcard.ts +0 -127
  2652. package/polar-js-main/src/models/components/paymentmethodcardmetadata.ts +0 -93
  2653. package/polar-js-main/src/models/components/paymentmethodgeneric.ts +0 -115
  2654. package/polar-js-main/src/models/components/paymentprocessor.ts +0 -32
  2655. package/polar-js-main/src/models/components/paymentsortproperty.ts +0 -39
  2656. package/polar-js-main/src/models/components/paymentstatus.ts +0 -34
  2657. package/polar-js-main/src/models/components/product.ts +0 -358
  2658. package/polar-js-main/src/models/components/productbenefitsupdate.ts +0 -72
  2659. package/polar-js-main/src/models/components/productbillingtype.ts +0 -33
  2660. package/polar-js-main/src/models/components/productcreate.ts +0 -74
  2661. package/polar-js-main/src/models/components/productcreateonetime.ts +0 -432
  2662. package/polar-js-main/src/models/components/productcreaterecurring.ts +0 -459
  2663. package/polar-js-main/src/models/components/productmediafilecreate.ts +0 -122
  2664. package/polar-js-main/src/models/components/productmediafileread.ts +0 -167
  2665. package/polar-js-main/src/models/components/productprice.ts +0 -146
  2666. package/polar-js-main/src/models/components/productpricecustom.ts +0 -182
  2667. package/polar-js-main/src/models/components/productpricecustomcreate.ts +0 -114
  2668. package/polar-js-main/src/models/components/productpricefixed.ts +0 -164
  2669. package/polar-js-main/src/models/components/productpricefixedcreate.ts +0 -96
  2670. package/polar-js-main/src/models/components/productpricefree.ts +0 -146
  2671. package/polar-js-main/src/models/components/productpricefreecreate.ts +0 -78
  2672. package/polar-js-main/src/models/components/productpricemeter.ts +0 -79
  2673. package/polar-js-main/src/models/components/productpricemeteredunit.ts +0 -195
  2674. package/polar-js-main/src/models/components/productpricemeteredunitcreate.ts +0 -165
  2675. package/polar-js-main/src/models/components/productpriceseatbased.ts +0 -170
  2676. package/polar-js-main/src/models/components/productpriceseatbasedcreate.ts +0 -104
  2677. package/polar-js-main/src/models/components/productpriceseattier.ts +0 -99
  2678. package/polar-js-main/src/models/components/productpriceseattiers.ts +0 -78
  2679. package/polar-js-main/src/models/components/productpricetype.ts +0 -33
  2680. package/polar-js-main/src/models/components/productsortproperty.ts +0 -39
  2681. package/polar-js-main/src/models/components/productupdate.ts +0 -589
  2682. package/polar-js-main/src/models/components/propertyaggregation.ts +0 -99
  2683. package/polar-js-main/src/models/components/refreshtokenrequest.ts +0 -93
  2684. package/polar-js-main/src/models/components/refund.ts +0 -207
  2685. package/polar-js-main/src/models/components/refundcreate.ts +0 -183
  2686. package/polar-js-main/src/models/components/refundreason.ts +0 -35
  2687. package/polar-js-main/src/models/components/refundsortproperty.ts +0 -35
  2688. package/polar-js-main/src/models/components/refundstatus.ts +0 -33
  2689. package/polar-js-main/src/models/components/revoketokenrequest.ts +0 -119
  2690. package/polar-js-main/src/models/components/revoketokenresponse.ts +0 -58
  2691. package/polar-js-main/src/models/components/s3downloadurl.ts +0 -79
  2692. package/polar-js-main/src/models/components/s3filecreatemultipart.ts +0 -72
  2693. package/polar-js-main/src/models/components/s3filecreatepart.ts +0 -91
  2694. package/polar-js-main/src/models/components/s3fileuploadcompletedpart.ts +0 -85
  2695. package/polar-js-main/src/models/components/s3fileuploadmultipart.ts +0 -80
  2696. package/polar-js-main/src/models/components/s3fileuploadpart.ts +0 -105
  2697. package/polar-js-main/src/models/components/scope.ts +0 -91
  2698. package/polar-js-main/src/models/components/seatassign.ts +0 -133
  2699. package/polar-js-main/src/models/components/seatclaim.ts +0 -74
  2700. package/polar-js-main/src/models/components/seatclaiminfo.ts +0 -125
  2701. package/polar-js-main/src/models/components/seatslist.ts +0 -96
  2702. package/polar-js-main/src/models/components/seatstatus.ts +0 -32
  2703. package/polar-js-main/src/models/components/security.ts +0 -71
  2704. package/polar-js-main/src/models/components/subscription.ts +0 -679
  2705. package/polar-js-main/src/models/components/subscriptioncancel.ts +0 -137
  2706. package/polar-js-main/src/models/components/subscriptioncreatecustomer.ts +0 -175
  2707. package/polar-js-main/src/models/components/subscriptioncreateexternalcustomer.ts +0 -185
  2708. package/polar-js-main/src/models/components/subscriptioncustomer.ts +0 -288
  2709. package/polar-js-main/src/models/components/subscriptioncycledevent.ts +0 -168
  2710. package/polar-js-main/src/models/components/subscriptioncycledmetadata.ts +0 -75
  2711. package/polar-js-main/src/models/components/subscriptionmeter.ts +0 -143
  2712. package/polar-js-main/src/models/components/subscriptionproductupdatedevent.ts +0 -170
  2713. package/polar-js-main/src/models/components/subscriptionproductupdatedmetadata.ts +0 -91
  2714. package/polar-js-main/src/models/components/subscriptionprorationbehavior.ts +0 -35
  2715. package/polar-js-main/src/models/components/subscriptionrecurringinterval.ts +0 -37
  2716. package/polar-js-main/src/models/components/subscriptionrevoke.ts +0 -131
  2717. package/polar-js-main/src/models/components/subscriptionrevokedevent.ts +0 -168
  2718. package/polar-js-main/src/models/components/subscriptionrevokedmetadata.ts +0 -77
  2719. package/polar-js-main/src/models/components/subscriptionslist.ts +0 -80
  2720. package/polar-js-main/src/models/components/subscriptionsortproperty.ts +0 -47
  2721. package/polar-js-main/src/models/components/subscriptionstatus.ts +0 -38
  2722. package/polar-js-main/src/models/components/subscriptionupdate.ts +0 -120
  2723. package/polar-js-main/src/models/components/subscriptionupdatediscount.ts +0 -78
  2724. package/polar-js-main/src/models/components/subscriptionupdateproduct.ts +0 -94
  2725. package/polar-js-main/src/models/components/subscriptionupdateseats.ts +0 -92
  2726. package/polar-js-main/src/models/components/subscriptionupdatetrial.ts +0 -78
  2727. package/polar-js-main/src/models/components/subtype.ts +0 -31
  2728. package/polar-js-main/src/models/components/systemevent.ts +0 -310
  2729. package/polar-js-main/src/models/components/taxidformat.ts +0 -117
  2730. package/polar-js-main/src/models/components/timeinterval.ts +0 -34
  2731. package/polar-js-main/src/models/components/tokenresponse.ts +0 -99
  2732. package/polar-js-main/src/models/components/trialinterval.ts +0 -35
  2733. package/polar-js-main/src/models/components/uniqueaggregation.ts +0 -70
  2734. package/polar-js-main/src/models/components/userevent.ts +0 -164
  2735. package/polar-js-main/src/models/components/userinfoorganization.ts +0 -70
  2736. package/polar-js-main/src/models/components/userinfouser.ts +0 -83
  2737. package/polar-js-main/src/models/components/validatedlicensekey.ts +0 -192
  2738. package/polar-js-main/src/models/components/validationerror.ts +0 -113
  2739. package/polar-js-main/src/models/components/wallet.ts +0 -121
  2740. package/polar-js-main/src/models/components/walletsortproperty.ts +0 -35
  2741. package/polar-js-main/src/models/components/wallettopupcreate.ts +0 -79
  2742. package/polar-js-main/src/models/components/webhookbenefitcreatedpayload.ts +0 -89
  2743. package/polar-js-main/src/models/components/webhookbenefitgrantcreatedpayload.ts +0 -90
  2744. package/polar-js-main/src/models/components/webhookbenefitgrantcycledpayload.ts +0 -90
  2745. package/polar-js-main/src/models/components/webhookbenefitgrantrevokedpayload.ts +0 -90
  2746. package/polar-js-main/src/models/components/webhookbenefitgrantupdatedpayload.ts +0 -90
  2747. package/polar-js-main/src/models/components/webhookbenefitupdatedpayload.ts +0 -89
  2748. package/polar-js-main/src/models/components/webhookcheckoutcreatedpayload.ts +0 -92
  2749. package/polar-js-main/src/models/components/webhookcheckoutupdatedpayload.ts +0 -92
  2750. package/polar-js-main/src/models/components/webhookcustomercreatedpayload.ts +0 -97
  2751. package/polar-js-main/src/models/components/webhookcustomerdeletedpayload.ts +0 -92
  2752. package/polar-js-main/src/models/components/webhookcustomerseatassignedpayload.ts +0 -92
  2753. package/polar-js-main/src/models/components/webhookcustomerseatclaimedpayload.ts +0 -90
  2754. package/polar-js-main/src/models/components/webhookcustomerseatrevokedpayload.ts +0 -90
  2755. package/polar-js-main/src/models/components/webhookcustomerstatechangedpayload.ts +0 -106
  2756. package/polar-js-main/src/models/components/webhookcustomerupdatedpayload.ts +0 -96
  2757. package/polar-js-main/src/models/components/webhookdelivery.ts +0 -143
  2758. package/polar-js-main/src/models/components/webhookendpoint.ts +0 -148
  2759. package/polar-js-main/src/models/components/webhookendpointcreate.ts +0 -116
  2760. package/polar-js-main/src/models/components/webhookendpointupdate.ts +0 -101
  2761. package/polar-js-main/src/models/components/webhookevent.ts +0 -144
  2762. package/polar-js-main/src/models/components/webhookeventtype.ts +0 -61
  2763. package/polar-js-main/src/models/components/webhookformat.ts +0 -34
  2764. package/polar-js-main/src/models/components/webhookordercreatedpayload.ts +0 -96
  2765. package/polar-js-main/src/models/components/webhookorderpaidpayload.ts +0 -89
  2766. package/polar-js-main/src/models/components/webhookorderrefundedpayload.ts +0 -89
  2767. package/polar-js-main/src/models/components/webhookorderupdatedpayload.ts +0 -92
  2768. package/polar-js-main/src/models/components/webhookorganizationupdatedpayload.ts +0 -90
  2769. package/polar-js-main/src/models/components/webhookproductcreatedpayload.ts +0 -92
  2770. package/polar-js-main/src/models/components/webhookproductupdatedpayload.ts +0 -92
  2771. package/polar-js-main/src/models/components/webhookrefundcreatedpayload.ts +0 -89
  2772. package/polar-js-main/src/models/components/webhookrefundupdatedpayload.ts +0 -89
  2773. package/polar-js-main/src/models/components/webhooksubscriptionactivepayload.ts +0 -90
  2774. package/polar-js-main/src/models/components/webhooksubscriptioncanceledpayload.ts +0 -92
  2775. package/polar-js-main/src/models/components/webhooksubscriptioncreatedpayload.ts +0 -92
  2776. package/polar-js-main/src/models/components/webhooksubscriptionrevokedpayload.ts +0 -91
  2777. package/polar-js-main/src/models/components/webhooksubscriptionuncanceledpayload.ts +0 -92
  2778. package/polar-js-main/src/models/components/webhooksubscriptionupdatedpayload.ts +0 -94
  2779. package/polar-js-main/src/models/components/webtokenrequest.ts +0 -133
  2780. package/polar-js-main/src/models/errors/alreadyactivesubscriptionerror.ts +0 -85
  2781. package/polar-js-main/src/models/errors/alreadycanceledsubscription.ts +0 -85
  2782. package/polar-js-main/src/models/errors/checkoutforbiddenerror.ts +0 -90
  2783. package/polar-js-main/src/models/errors/customernotready.ts +0 -85
  2784. package/polar-js-main/src/models/errors/customerportalordersgenerateinvoice.ts +0 -97
  2785. package/polar-js-main/src/models/errors/expiredcheckouterror.ts +0 -85
  2786. package/polar-js-main/src/models/errors/httpclienterrors.ts +0 -62
  2787. package/polar-js-main/src/models/errors/httpvalidationerror.ts +0 -85
  2788. package/polar-js-main/src/models/errors/missinginvoicebillingdetails.ts +0 -85
  2789. package/polar-js-main/src/models/errors/missingpaymentmethoderror.ts +0 -85
  2790. package/polar-js-main/src/models/errors/notopencheckout.ts +0 -85
  2791. package/polar-js-main/src/models/errors/notpaidorder.ts +0 -85
  2792. package/polar-js-main/src/models/errors/notpermitted.ts +0 -85
  2793. package/polar-js-main/src/models/errors/ordernoteligibleforretry.ts +0 -85
  2794. package/polar-js-main/src/models/errors/ordersgenerateinvoice.ts +0 -97
  2795. package/polar-js-main/src/models/errors/paymentalreadyinprogress.ts +0 -85
  2796. package/polar-js-main/src/models/errors/paymenterror.ts +0 -85
  2797. package/polar-js-main/src/models/errors/paymentintentfailederror.ts +0 -85
  2798. package/polar-js-main/src/models/errors/paymentmethodinusebyactivesubscription.ts +0 -87
  2799. package/polar-js-main/src/models/errors/paymentnotready.ts +0 -85
  2800. package/polar-js-main/src/models/errors/polarerror.ts +0 -35
  2801. package/polar-js-main/src/models/errors/refundamounttoohigh.ts +0 -85
  2802. package/polar-js-main/src/models/errors/refundedalready.ts +0 -85
  2803. package/polar-js-main/src/models/errors/resourcenotfound.ts +0 -85
  2804. package/polar-js-main/src/models/errors/responsevalidationerror.ts +0 -50
  2805. package/polar-js-main/src/models/errors/sdkerror.ts +0 -40
  2806. package/polar-js-main/src/models/errors/sdkvalidationerror.ts +0 -109
  2807. package/polar-js-main/src/models/errors/subscriptionlocked.ts +0 -85
  2808. package/polar-js-main/src/models/errors/unauthorized.ts +0 -85
  2809. package/polar-js-main/src/models/operations/benefitgrantslist.ts +0 -340
  2810. package/polar-js-main/src/models/operations/benefitsdelete.ts +0 -66
  2811. package/polar-js-main/src/models/operations/benefitsget.ts +0 -66
  2812. package/polar-js-main/src/models/operations/benefitsgrants.ts +0 -231
  2813. package/polar-js-main/src/models/operations/benefitslist.ts +0 -324
  2814. package/polar-js-main/src/models/operations/benefitsupdate.ts +0 -219
  2815. package/polar-js-main/src/models/operations/checkoutlinksdelete.ts +0 -69
  2816. package/polar-js-main/src/models/operations/checkoutlinksget.ts +0 -69
  2817. package/polar-js-main/src/models/operations/checkoutlinkslist.ts +0 -325
  2818. package/polar-js-main/src/models/operations/checkoutlinksupdate.ts +0 -88
  2819. package/polar-js-main/src/models/operations/checkoutsclientconfirm.ts +0 -92
  2820. package/polar-js-main/src/models/operations/checkoutsclientget.ts +0 -78
  2821. package/polar-js-main/src/models/operations/checkoutsclientupdate.ts +0 -92
  2822. package/polar-js-main/src/models/operations/checkoutsget.ts +0 -69
  2823. package/polar-js-main/src/models/operations/checkoutslist.ts +0 -478
  2824. package/polar-js-main/src/models/operations/checkoutsupdate.ts +0 -88
  2825. package/polar-js-main/src/models/operations/customermetersget.ts +0 -69
  2826. package/polar-js-main/src/models/operations/customermeterslist.ts +0 -475
  2827. package/polar-js-main/src/models/operations/customerportalbenefitgrantsget.ts +0 -147
  2828. package/polar-js-main/src/models/operations/customerportalbenefitgrantslist.ts +0 -605
  2829. package/polar-js-main/src/models/operations/customerportalbenefitgrantsupdate.ts +0 -177
  2830. package/polar-js-main/src/models/operations/customerportalcustomermetersget.ts +0 -153
  2831. package/polar-js-main/src/models/operations/customerportalcustomermeterslist.ts +0 -333
  2832. package/polar-js-main/src/models/operations/customerportalcustomersaddpaymentmethod.ts +0 -89
  2833. package/polar-js-main/src/models/operations/customerportalcustomersconfirmpaymentmethod.ts +0 -89
  2834. package/polar-js-main/src/models/operations/customerportalcustomersdeletepaymentmethod.ts +0 -161
  2835. package/polar-js-main/src/models/operations/customerportalcustomersessionintrospect.ts +0 -89
  2836. package/polar-js-main/src/models/operations/customerportalcustomersget.ts +0 -79
  2837. package/polar-js-main/src/models/operations/customerportalcustomerslistpaymentmethods.ts +0 -257
  2838. package/polar-js-main/src/models/operations/customerportalcustomersupdate.ts +0 -80
  2839. package/polar-js-main/src/models/operations/customerportaldownloadableslist.ts +0 -327
  2840. package/polar-js-main/src/models/operations/customerportallicensekeysget.ts +0 -143
  2841. package/polar-js-main/src/models/operations/customerportallicensekeyslist.ts +0 -245
  2842. package/polar-js-main/src/models/operations/customerportalordersconfirmretrypayment.ts +0 -182
  2843. package/polar-js-main/src/models/operations/customerportalordersgenerateinvoice.ts +0 -159
  2844. package/polar-js-main/src/models/operations/customerportalordersget.ts +0 -140
  2845. package/polar-js-main/src/models/operations/customerportalordersgetpaymentstatus.ts +0 -162
  2846. package/polar-js-main/src/models/operations/customerportalordersinvoice.ts +0 -145
  2847. package/polar-js-main/src/models/operations/customerportalorderslist.ts +0 -512
  2848. package/polar-js-main/src/models/operations/customerportalordersupdate.ts +0 -161
  2849. package/polar-js-main/src/models/operations/customerportalorganizationsget.ts +0 -74
  2850. package/polar-js-main/src/models/operations/customerportalseatsassignseat.ts +0 -80
  2851. package/polar-js-main/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +0 -89
  2852. package/polar-js-main/src/models/operations/customerportalseatslistseats.ts +0 -163
  2853. package/polar-js-main/src/models/operations/customerportalseatsresendinvitation.ts +0 -164
  2854. package/polar-js-main/src/models/operations/customerportalseatsrevokeseat.ts +0 -151
  2855. package/polar-js-main/src/models/operations/customerportalsubscriptionscancel.ts +0 -159
  2856. package/polar-js-main/src/models/operations/customerportalsubscriptionsget.ts +0 -147
  2857. package/polar-js-main/src/models/operations/customerportalsubscriptionslist.ts +0 -355
  2858. package/polar-js-main/src/models/operations/customerportalsubscriptionsupdate.ts +0 -177
  2859. package/polar-js-main/src/models/operations/customerportalwalletsget.ts +0 -140
  2860. package/polar-js-main/src/models/operations/customerportalwalletslist.ts +0 -237
  2861. package/polar-js-main/src/models/operations/customersdelete.ts +0 -69
  2862. package/polar-js-main/src/models/operations/customersdeleteexternal.ts +0 -80
  2863. package/polar-js-main/src/models/operations/customerseatsgetclaiminfo.ts +0 -77
  2864. package/polar-js-main/src/models/operations/customerseatslistseats.ts +0 -83
  2865. package/polar-js-main/src/models/operations/customerseatsresendinvitation.ts +0 -80
  2866. package/polar-js-main/src/models/operations/customerseatsrevokeseat.ts +0 -77
  2867. package/polar-js-main/src/models/operations/customersessionscreate.ts +0 -93
  2868. package/polar-js-main/src/models/operations/customersexport.ts +0 -146
  2869. package/polar-js-main/src/models/operations/customersget.ts +0 -69
  2870. package/polar-js-main/src/models/operations/customersgetbalance.ts +0 -69
  2871. package/polar-js-main/src/models/operations/customersgetexternal.ts +0 -80
  2872. package/polar-js-main/src/models/operations/customersgetstate.ts +0 -69
  2873. package/polar-js-main/src/models/operations/customersgetstateexternal.ts +0 -80
  2874. package/polar-js-main/src/models/operations/customerslist.ts +0 -275
  2875. package/polar-js-main/src/models/operations/customersupdate.ts +0 -88
  2876. package/polar-js-main/src/models/operations/customersupdateexternal.ts +0 -92
  2877. package/polar-js-main/src/models/operations/customfieldsdelete.ts +0 -69
  2878. package/polar-js-main/src/models/operations/customfieldsget.ts +0 -69
  2879. package/polar-js-main/src/models/operations/customfieldslist.ts +0 -341
  2880. package/polar-js-main/src/models/operations/customfieldsupdate.ts +0 -88
  2881. package/polar-js-main/src/models/operations/discountsdelete.ts +0 -69
  2882. package/polar-js-main/src/models/operations/discountsget.ts +0 -69
  2883. package/polar-js-main/src/models/operations/discountslist.ts +0 -255
  2884. package/polar-js-main/src/models/operations/discountsupdate.ts +0 -88
  2885. package/polar-js-main/src/models/operations/eventsget.ts +0 -69
  2886. package/polar-js-main/src/models/operations/eventslist.ts +0 -580
  2887. package/polar-js-main/src/models/operations/eventslistnames.ts +0 -484
  2888. package/polar-js-main/src/models/operations/filesdelete.ts +0 -66
  2889. package/polar-js-main/src/models/operations/fileslist.ts +0 -288
  2890. package/polar-js-main/src/models/operations/filesupdate.ts +0 -199
  2891. package/polar-js-main/src/models/operations/filesuploaded.ts +0 -201
  2892. package/polar-js-main/src/models/operations/licensekeysget.ts +0 -66
  2893. package/polar-js-main/src/models/operations/licensekeysgetactivation.ts +0 -81
  2894. package/polar-js-main/src/models/operations/licensekeyslist.ts +0 -298
  2895. package/polar-js-main/src/models/operations/licensekeysupdate.ts +0 -85
  2896. package/polar-js-main/src/models/operations/metersget.ts +0 -69
  2897. package/polar-js-main/src/models/operations/meterslist.ts +0 -273
  2898. package/polar-js-main/src/models/operations/metersquantities.ts +0 -296
  2899. package/polar-js-main/src/models/operations/metersupdate.ts +0 -88
  2900. package/polar-js-main/src/models/operations/metricsget.ts +0 -418
  2901. package/polar-js-main/src/models/operations/oauth2authorize.ts +0 -105
  2902. package/polar-js-main/src/models/operations/oauth2clientsoauth2deleteclient.ts +0 -81
  2903. package/polar-js-main/src/models/operations/oauth2clientsoauth2getclient.ts +0 -80
  2904. package/polar-js-main/src/models/operations/oauth2clientsoauth2updateclient.ts +0 -95
  2905. package/polar-js-main/src/models/operations/oauth2requesttoken.ts +0 -92
  2906. package/polar-js-main/src/models/operations/oauth2userinfo.ts +0 -82
  2907. package/polar-js-main/src/models/operations/ordersexport.ts +0 -214
  2908. package/polar-js-main/src/models/operations/ordersgenerateinvoice.ts +0 -71
  2909. package/polar-js-main/src/models/operations/ordersget.ts +0 -69
  2910. package/polar-js-main/src/models/operations/ordersinvoice.ts +0 -69
  2911. package/polar-js-main/src/models/operations/orderslist.ts +0 -611
  2912. package/polar-js-main/src/models/operations/ordersupdate.ts +0 -88
  2913. package/polar-js-main/src/models/operations/organizationsget.ts +0 -66
  2914. package/polar-js-main/src/models/operations/organizationslist.ts +0 -170
  2915. package/polar-js-main/src/models/operations/organizationsupdate.ts +0 -85
  2916. package/polar-js-main/src/models/operations/paymentsget.ts +0 -69
  2917. package/polar-js-main/src/models/operations/paymentslist.ts +0 -584
  2918. package/polar-js-main/src/models/operations/productsget.ts +0 -66
  2919. package/polar-js-main/src/models/operations/productslist.ts +0 -401
  2920. package/polar-js-main/src/models/operations/productsupdate.ts +0 -85
  2921. package/polar-js-main/src/models/operations/productsupdatebenefits.ts +0 -87
  2922. package/polar-js-main/src/models/operations/refundslist.ts +0 -500
  2923. package/polar-js-main/src/models/operations/subscriptionscreate.ts +0 -85
  2924. package/polar-js-main/src/models/operations/subscriptionsexport.ts +0 -129
  2925. package/polar-js-main/src/models/operations/subscriptionsget.ts +0 -69
  2926. package/polar-js-main/src/models/operations/subscriptionslist.ts +0 -505
  2927. package/polar-js-main/src/models/operations/subscriptionsrevoke.ts +0 -69
  2928. package/polar-js-main/src/models/operations/subscriptionsupdate.ts +0 -88
  2929. package/polar-js-main/src/models/operations/walletsget.ts +0 -69
  2930. package/polar-js-main/src/models/operations/walletslist.ts +0 -315
  2931. package/polar-js-main/src/models/operations/walletstopup.ts +0 -88
  2932. package/polar-js-main/src/models/operations/webhooksdeletewebhookendpoint.ts +0 -74
  2933. package/polar-js-main/src/models/operations/webhooksgetwebhookendpoint.ts +0 -72
  2934. package/polar-js-main/src/models/operations/webhookslistwebhookdeliveries.ts +0 -247
  2935. package/polar-js-main/src/models/operations/webhookslistwebhookendpoints.ts +0 -229
  2936. package/polar-js-main/src/models/operations/webhooksredeliverwebhookevent.ts +0 -74
  2937. package/polar-js-main/src/models/operations/webhooksresetwebhookendpointsecret.ts +0 -81
  2938. package/polar-js-main/src/models/operations/webhooksupdatewebhookendpoint.ts +0 -93
  2939. package/polar-js-main/src/sdk/benefitgrants.ts +0 -32
  2940. package/polar-js-main/src/sdk/benefits.ts +0 -148
  2941. package/polar-js-main/src/sdk/checkoutlinks.ts +0 -118
  2942. package/polar-js-main/src/sdk/checkouts.ts +0 -158
  2943. package/polar-js-main/src/sdk/clients.ts +0 -84
  2944. package/polar-js-main/src/sdk/customermeters.ts +0 -55
  2945. package/polar-js-main/src/sdk/customerportal.ts +0 -73
  2946. package/polar-js-main/src/sdk/customers.ts +0 -293
  2947. package/polar-js-main/src/sdk/customerseats.ts +0 -120
  2948. package/polar-js-main/src/sdk/customersession.ts +0 -30
  2949. package/polar-js-main/src/sdk/customersessions.ts +0 -30
  2950. package/polar-js-main/src/sdk/customfields.ts +0 -118
  2951. package/polar-js-main/src/sdk/discounts.ts +0 -118
  2952. package/polar-js-main/src/sdk/downloadables.ts +0 -35
  2953. package/polar-js-main/src/sdk/events.ts +0 -101
  2954. package/polar-js-main/src/sdk/files.ts +0 -124
  2955. package/polar-js-main/src/sdk/licensekeys.ts +0 -163
  2956. package/polar-js-main/src/sdk/meters.ts +0 -119
  2957. package/polar-js-main/src/sdk/metrics.ts +0 -51
  2958. package/polar-js-main/src/sdk/oauth2.ts +0 -105
  2959. package/polar-js-main/src/sdk/orders.ts +0 -140
  2960. package/polar-js-main/src/sdk/organizations.ts +0 -97
  2961. package/polar-js-main/src/sdk/payments.ts +0 -55
  2962. package/polar-js-main/src/sdk/polarbenefitgrants.ts +0 -91
  2963. package/polar-js-main/src/sdk/polarcustomermeters.ts +0 -65
  2964. package/polar-js-main/src/sdk/polarcustomers.ts +0 -162
  2965. package/polar-js-main/src/sdk/polarlicensekeys.ts +0 -137
  2966. package/polar-js-main/src/sdk/polarorders.ts +0 -196
  2967. package/polar-js-main/src/sdk/polarorganizations.ts +0 -28
  2968. package/polar-js-main/src/sdk/polarsubscriptions.ts +0 -117
  2969. package/polar-js-main/src/sdk/polarwallets.ts +0 -65
  2970. package/polar-js-main/src/sdk/products.ts +0 -118
  2971. package/polar-js-main/src/sdk/refunds.ts +0 -55
  2972. package/polar-js-main/src/sdk/sdk.ts +0 -157
  2973. package/polar-js-main/src/sdk/seats.ts +0 -126
  2974. package/polar-js-main/src/sdk/subscriptions.ts +0 -144
  2975. package/polar-js-main/src/sdk/wallets.ts +0 -78
  2976. package/polar-js-main/src/sdk/webhooks.ts +0 -190
  2977. package/polar-js-main/src/test.ts +0 -0
  2978. package/polar-js-main/src/types/async.ts +0 -68
  2979. package/polar-js-main/src/types/blobs.ts +0 -32
  2980. package/polar-js-main/src/types/constdatetime.ts +0 -15
  2981. package/polar-js-main/src/types/enums.ts +0 -16
  2982. package/polar-js-main/src/types/fp.ts +0 -50
  2983. package/polar-js-main/src/types/operations.ts +0 -105
  2984. package/polar-js-main/src/types/rfcdate.ts +0 -54
  2985. package/polar-js-main/src/types/streams.ts +0 -21
  2986. package/polar-js-main/src/types/webhooks.ts +0 -7
  2987. package/polar-js-main/src/webhooks.test.ts +0 -116
  2988. package/polar-js-main/src/webhooks.ts +0 -138
  2989. package/polar-js-main/tsconfig.json +0 -41
package/README.md CHANGED
@@ -1,968 +1,372 @@
1
1
  # @chargefy/sdk
2
2
 
3
- Developer-friendly & type-safe Typescript SDK specifically catered to leverage [Chargefy](https://chargefy.io) API.
4
-
5
- <div align="left">
6
- <a href="https://opensource.org/licenses/MIT">
7
- <img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
8
- </a>
9
- </div>
10
-
11
- > [!NOTE]
12
- > This SDK is based on the Polar SDK structure and follows the same API contract.
13
-
14
- <!-- Start Summary [summary] -->
15
- ## Summary
16
-
17
- Chargefy API: Chargefy HTTP and Webhooks API
18
-
19
- Read the docs at https://chargefy.io/docs/api-reference
20
- <!-- End Summary [summary] -->
21
-
22
- <!-- Start Table of Contents [toc] -->
23
- ## Table of Contents
24
- <!-- $toc-max-depth=2 -->
25
- * [@chargefy/sdk](#chargefysdk)
26
- * [SDK Installation](#sdk-installation)
27
- * [Requirements](#requirements)
28
- * [SDK Example Usage](#sdk-example-usage)
29
- * [Available Resources and Operations](#available-resources-and-operations)
30
- * [Standalone functions](#standalone-functions)
31
- * [Pagination](#pagination)
32
- * [Retries](#retries)
33
- * [Error Handling](#error-handling)
34
- * [Server Selection](#server-selection)
35
- * [Custom HTTP Client](#custom-http-client)
36
- * [Authentication](#authentication)
37
- * [Debugging](#debugging)
38
- * [Development](#development)
39
- * [Maturity](#maturity)
40
- * [Contributions](#contributions)
41
-
42
- <!-- End Table of Contents [toc] -->
43
-
44
- <!-- Start SDK Installation [installation] -->
45
- ## SDK Installation
46
-
47
- The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
48
-
49
- ### NPM
3
+ TypeScript SDK for the [Chargefy](https://chargefy.io) payment platform.
4
+ Supports Node.js 18+ and modern browsers.
50
5
 
51
- ```bash
52
- npm add @chargefy/sdk
53
- ```
6
+ ---
54
7
 
55
- ### PNPM
8
+ ## Installation
56
9
 
57
10
  ```bash
11
+ npm install @chargefy/sdk
12
+ # or
58
13
  pnpm add @chargefy/sdk
59
14
  ```
60
15
 
61
- ### Bun
16
+ ---
62
17
 
63
- ```bash
64
- bun add @chargefy/sdk
65
- ```
18
+ ## Quick Start
66
19
 
67
- ### Yarn
20
+ ```ts
21
+ import { Chargefy } from '@chargefy/sdk'
68
22
 
69
- ```bash
70
- yarn add @chargefy/sdk
23
+ const chargefy = new Chargefy({
24
+ accessToken: 'chargefy_oat_YOUR_TOKEN',
25
+ })
71
26
  ```
72
27
 
73
- > [!NOTE]
74
- > This package is published with CommonJS and ES Modules (ESM) support.
75
- <!-- End SDK Installation [installation] -->
76
-
77
- <!-- Start Requirements [requirements] -->
78
- ## Requirements
79
-
80
- For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
81
- <!-- End Requirements [requirements] -->
28
+ ---
82
29
 
83
- <!-- Start SDK Example Usage [usage] -->
84
- ## SDK Example Usage
30
+ ## Configuration
85
31
 
86
- ### Example
87
-
88
- ```typescript
89
- import { Chargefy } from "@chargefy/sdk";
32
+ | Option | Type | Default | Description |
33
+ |--------|------|---------|-------------|
34
+ | `accessToken` | `string` | — | Organization Access Token (`chargefy_oat_xxx`) |
35
+ | `server` | `'production' \| 'sandbox'` | — | Target environment |
36
+ | `serverURL` | `string` | `http://localhost:8080` | Override base URL (local dev) |
37
+ | `timeout` | `number` | `30000` | Request timeout (ms) |
90
38
 
39
+ ```ts
40
+ // Production
91
41
  const chargefy = new Chargefy({
92
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
93
- });
42
+ accessToken: 'chargefy_oat_xxx',
43
+ server: 'production',
44
+ })
94
45
 
95
- async function run() {
96
- const result = await chargefy.organizations.list({});
97
-
98
- for await (const page of result) {
99
- console.log(page);
100
- }
101
- }
102
-
103
- run();
46
+ // Sandbox / staging
47
+ const chargefy = new Chargefy({
48
+ accessToken: 'chargefy_oat_xxx',
49
+ server: 'sandbox',
50
+ })
104
51
 
52
+ // Local development
53
+ const chargefy = new Chargefy({
54
+ accessToken: 'chargefy_oat_xxx',
55
+ serverURL: 'http://localhost:8080',
56
+ })
105
57
  ```
106
- <!-- End SDK Example Usage [usage] -->
107
-
108
- ### Webhook support
109
58
 
110
- The SDK has built-in support to validate webhook events. Here is an example with Express.js:
59
+ ---
111
60
 
112
- ```ts
113
- import express, { Request, Response } from "express";
114
- import { validateEvent, WebhookVerificationError } from "@chargefy/sdk/webhooks";
61
+ ## Result Pattern
115
62
 
116
- const app = express();
63
+ Every method returns `Promise<Result<T, APIError>>`.
64
+ Check `result.ok` before using `result.value`.
117
65
 
118
- app.post("/webhook", express.raw({ type: "application/json" }), (req: Request, res: Response) => {
119
- try {
120
- const event = validateEvent(req.body, req.headers, process.env["CHARGEFY_WEBHOOK_SECRET"] ?? "");
121
-
122
- // Process the event
66
+ ```ts
67
+ const result = await chargefy.products.list()
123
68
 
124
- res.status(202).send('')
125
- } catch (error) {
126
- if (error instanceof WebhookVerificationError) {
127
- res.status(403).send('')
128
- }
129
- throw error
130
- }
131
- });
69
+ if (result.ok) {
70
+ console.log(result.value.items)
71
+ } else {
72
+ console.error(result.error.message)
73
+ }
132
74
  ```
133
75
 
134
- <!-- Start Available Resources and Operations [operations] -->
135
- ## Available Resources and Operations
136
-
137
- <details open>
138
- <summary>Available methods</summary>
139
-
140
- ### [benefitGrants](docs/sdks/benefitgrants/README.md)
141
-
142
- * [list](docs/sdks/benefitgrants/README.md#list) - List Benefit Grants
143
-
144
- ### [benefits](docs/sdks/benefits/README.md)
145
-
146
- * [list](docs/sdks/benefits/README.md#list) - List Benefits
147
- * [create](docs/sdks/benefits/README.md#create) - Create Benefit
148
- * [get](docs/sdks/benefits/README.md#get) - Get Benefit
149
- * [update](docs/sdks/benefits/README.md#update) - Update Benefit
150
- * [delete](docs/sdks/benefits/README.md#delete) - Delete Benefit
151
- * [grants](docs/sdks/benefits/README.md#grants) - List Benefit Grants
152
-
153
- ### [checkoutLinks](docs/sdks/checkoutlinks/README.md)
154
-
155
- * [list](docs/sdks/checkoutlinks/README.md#list) - List Checkout Links
156
- * [create](docs/sdks/checkoutlinks/README.md#create) - Create Checkout Link
157
- * [get](docs/sdks/checkoutlinks/README.md#get) - Get Checkout Link
158
- * [update](docs/sdks/checkoutlinks/README.md#update) - Update Checkout Link
159
- * [delete](docs/sdks/checkoutlinks/README.md#delete) - Delete Checkout Link
160
-
161
- ### [checkouts](docs/sdks/checkouts/README.md)
162
-
163
- * [list](docs/sdks/checkouts/README.md#list) - List Checkout Sessions
164
- * [create](docs/sdks/checkouts/README.md#create) - Create Checkout Session
165
- * [get](docs/sdks/checkouts/README.md#get) - Get Checkout Session
166
- * [update](docs/sdks/checkouts/README.md#update) - Update Checkout Session
167
- * [clientGet](docs/sdks/checkouts/README.md#clientget) - Get Checkout Session from Client
168
- * [clientUpdate](docs/sdks/checkouts/README.md#clientupdate) - Update Checkout Session from Client
169
- * [clientConfirm](docs/sdks/checkouts/README.md#clientconfirm) - Confirm Checkout Session from Client
170
-
171
- ### [customerMeters](docs/sdks/customermeters/README.md)
172
-
173
- * [list](docs/sdks/customermeters/README.md#list) - List Customer Meters
174
- * [get](docs/sdks/customermeters/README.md#get) - Get Customer Meter
175
-
176
- #### [customerPortal.benefitGrants](docs/sdks/polarbenefitgrants/README.md)
177
-
178
- * [list](docs/sdks/polarbenefitgrants/README.md#list) - List Benefit Grants
179
- * [get](docs/sdks/polarbenefitgrants/README.md#get) - Get Benefit Grant
180
- * [update](docs/sdks/polarbenefitgrants/README.md#update) - Update Benefit Grant
181
-
182
- #### [customerPortal.customerMeters](docs/sdks/polarcustomermeters/README.md)
183
-
184
- * [list](docs/sdks/polarcustomermeters/README.md#list) - List Meters
185
- * [get](docs/sdks/polarcustomermeters/README.md#get) - Get Customer Meter
186
-
187
- #### [customerPortal.customers](docs/sdks/polarcustomers/README.md)
188
-
189
- * [get](docs/sdks/polarcustomers/README.md#get) - Get Customer
190
- * [update](docs/sdks/polarcustomers/README.md#update) - Update Customer
191
- * [listPaymentMethods](docs/sdks/polarcustomers/README.md#listpaymentmethods) - List Customer Payment Methods
192
- * [addPaymentMethod](docs/sdks/polarcustomers/README.md#addpaymentmethod) - Add Customer Payment Method
193
- * [confirmPaymentMethod](docs/sdks/polarcustomers/README.md#confirmpaymentmethod) - Confirm Customer Payment Method
194
- * [deletePaymentMethod](docs/sdks/polarcustomers/README.md#deletepaymentmethod) - Delete Customer Payment Method
195
-
196
- #### [customerPortal.customerSession](docs/sdks/customersession/README.md)
197
-
198
- * [introspect](docs/sdks/customersession/README.md#introspect) - Introspect Customer Session
76
+ ---
199
77
 
200
- #### [customerPortal.downloadables](docs/sdks/downloadables/README.md)
78
+ ## Organizations
201
79
 
202
- * [list](docs/sdks/downloadables/README.md#list) - List Downloadables
203
-
204
- #### [customerPortal.licenseKeys](docs/sdks/polarlicensekeys/README.md)
205
-
206
- * [list](docs/sdks/polarlicensekeys/README.md#list) - List License Keys
207
- * [get](docs/sdks/polarlicensekeys/README.md#get) - Get License Key
208
- * [validate](docs/sdks/polarlicensekeys/README.md#validate) - Validate License Key
209
- * [activate](docs/sdks/polarlicensekeys/README.md#activate) - Activate License Key
210
- * [deactivate](docs/sdks/polarlicensekeys/README.md#deactivate) - Deactivate License Key
211
-
212
- #### [customerPortal.orders](docs/sdks/polarorders/README.md)
213
-
214
- * [list](docs/sdks/polarorders/README.md#list) - List Orders
215
- * [get](docs/sdks/polarorders/README.md#get) - Get Order
216
- * [update](docs/sdks/polarorders/README.md#update) - Update Order
217
- * [generateInvoice](docs/sdks/polarorders/README.md#generateinvoice) - Generate Order Invoice
218
- * [invoice](docs/sdks/polarorders/README.md#invoice) - Get Order Invoice
219
- * [getPaymentStatus](docs/sdks/polarorders/README.md#getpaymentstatus) - Get Order Payment Status
220
- * [confirmRetryPayment](docs/sdks/polarorders/README.md#confirmretrypayment) - Confirm Retry Payment
221
-
222
- #### [customerPortal.organizations](docs/sdks/polarorganizations/README.md)
223
-
224
- * [get](docs/sdks/polarorganizations/README.md#get) - Get Organization
225
-
226
- #### [customerPortal.seats](docs/sdks/seats/README.md)
227
-
228
- * [listSeats](docs/sdks/seats/README.md#listseats) - List Seats
229
- * [assignSeat](docs/sdks/seats/README.md#assignseat) - Assign Seat
230
- * [revokeSeat](docs/sdks/seats/README.md#revokeseat) - Revoke Seat
231
- * [resendInvitation](docs/sdks/seats/README.md#resendinvitation) - Resend Invitation
232
- * [listClaimedSubscriptions](docs/sdks/seats/README.md#listclaimedsubscriptions) - List Claimed Subscriptions
233
-
234
- #### [customerPortal.subscriptions](docs/sdks/polarsubscriptions/README.md)
235
-
236
- * [list](docs/sdks/polarsubscriptions/README.md#list) - List Subscriptions
237
- * [get](docs/sdks/polarsubscriptions/README.md#get) - Get Subscription
238
- * [update](docs/sdks/polarsubscriptions/README.md#update) - Update Subscription
239
- * [cancel](docs/sdks/polarsubscriptions/README.md#cancel) - Cancel Subscription
240
-
241
- #### [customerPortal.wallets](docs/sdks/polarwallets/README.md)
242
-
243
- * [list](docs/sdks/polarwallets/README.md#list) - List Wallets
244
- * [get](docs/sdks/polarwallets/README.md#get) - Get Wallet
245
-
246
- ### [customers](docs/sdks/customers/README.md)
247
-
248
- * [list](docs/sdks/customers/README.md#list) - List Customers
249
- * [create](docs/sdks/customers/README.md#create) - Create Customer
250
- * [export](docs/sdks/customers/README.md#export) - Export Customers
251
- * [get](docs/sdks/customers/README.md#get) - Get Customer
252
- * [update](docs/sdks/customers/README.md#update) - Update Customer
253
- * [delete](docs/sdks/customers/README.md#delete) - Delete Customer
254
- * [getExternal](docs/sdks/customers/README.md#getexternal) - Get Customer by External ID
255
- * [updateExternal](docs/sdks/customers/README.md#updateexternal) - Update Customer by External ID
256
- * [deleteExternal](docs/sdks/customers/README.md#deleteexternal) - Delete Customer by External ID
257
- * [getState](docs/sdks/customers/README.md#getstate) - Get Customer State
258
- * [getStateExternal](docs/sdks/customers/README.md#getstateexternal) - Get Customer State by External ID
259
- * [getBalance](docs/sdks/customers/README.md#getbalance) - Get Customer Balance
260
-
261
- ### [customerSeats](docs/sdks/customerseats/README.md)
262
-
263
- * [assignSeat](docs/sdks/customerseats/README.md#assignseat) - Assign Seat
264
- * [listSeats](docs/sdks/customerseats/README.md#listseats) - List Seats
265
- * [revokeSeat](docs/sdks/customerseats/README.md#revokeseat) - Revoke Seat
266
- * [resendInvitation](docs/sdks/customerseats/README.md#resendinvitation) - Resend Invitation
267
- * [getClaimInfo](docs/sdks/customerseats/README.md#getclaiminfo) - Get Claim Info
268
- * [claimSeat](docs/sdks/customerseats/README.md#claimseat) - Claim Seat
269
-
270
- ### [customerSessions](docs/sdks/customersessions/README.md)
271
-
272
- * [create](docs/sdks/customersessions/README.md#create) - Create Customer Session
273
-
274
- ### [customFields](docs/sdks/customfields/README.md)
275
-
276
- * [list](docs/sdks/customfields/README.md#list) - List Custom Fields
277
- * [create](docs/sdks/customfields/README.md#create) - Create Custom Field
278
- * [get](docs/sdks/customfields/README.md#get) - Get Custom Field
279
- * [update](docs/sdks/customfields/README.md#update) - Update Custom Field
280
- * [delete](docs/sdks/customfields/README.md#delete) - Delete Custom Field
281
-
282
- ### [discounts](docs/sdks/discounts/README.md)
283
-
284
- * [list](docs/sdks/discounts/README.md#list) - List Discounts
285
- * [create](docs/sdks/discounts/README.md#create) - Create Discount
286
- * [get](docs/sdks/discounts/README.md#get) - Get Discount
287
- * [update](docs/sdks/discounts/README.md#update) - Update Discount
288
- * [delete](docs/sdks/discounts/README.md#delete) - Delete Discount
289
-
290
- ### [events](docs/sdks/events/README.md)
291
-
292
- * [list](docs/sdks/events/README.md#list) - List Events
293
- * [listNames](docs/sdks/events/README.md#listnames) - List Event Names
294
- * [get](docs/sdks/events/README.md#get) - Get Event
295
- * [ingest](docs/sdks/events/README.md#ingest) - Ingest Events
296
-
297
- ### [files](docs/sdks/files/README.md)
298
-
299
- * [list](docs/sdks/files/README.md#list) - List Files
300
- * [create](docs/sdks/files/README.md#create) - Create File
301
- * [uploaded](docs/sdks/files/README.md#uploaded) - Complete File Upload
302
- * [update](docs/sdks/files/README.md#update) - Update File
303
- * [delete](docs/sdks/files/README.md#delete) - Delete File
304
-
305
- ### [licenseKeys](docs/sdks/licensekeys/README.md)
306
-
307
- * [list](docs/sdks/licensekeys/README.md#list) - List License Keys
308
- * [get](docs/sdks/licensekeys/README.md#get) - Get License Key
309
- * [update](docs/sdks/licensekeys/README.md#update) - Update License Key
310
- * [getActivation](docs/sdks/licensekeys/README.md#getactivation) - Get Activation
311
- * [validate](docs/sdks/licensekeys/README.md#validate) - Validate License Key
312
- * [activate](docs/sdks/licensekeys/README.md#activate) - Activate License Key
313
- * [deactivate](docs/sdks/licensekeys/README.md#deactivate) - Deactivate License Key
314
-
315
- ### [meters](docs/sdks/meters/README.md)
80
+ ```ts
81
+ // Get the organization associated with your access token
82
+ const result = await chargefy.organizations.get()
83
+ // result.value → Organization
84
+ ```
316
85
 
317
- * [list](docs/sdks/meters/README.md#list) - List Meters
318
- * [create](docs/sdks/meters/README.md#create) - Create Meter
319
- * [get](docs/sdks/meters/README.md#get) - Get Meter
320
- * [update](docs/sdks/meters/README.md#update) - Update Meter
321
- * [quantities](docs/sdks/meters/README.md#quantities) - Get Meter Quantities
86
+ ---
322
87
 
323
- ### [metrics](docs/sdks/metrics/README.md)
88
+ ## Products
324
89
 
325
- * [get](docs/sdks/metrics/README.md#get) - Get Metrics
326
- * [limits](docs/sdks/metrics/README.md#limits) - Get Metrics Limits
90
+ ```ts
91
+ // List all products
92
+ const result = await chargefy.products.list({ limit: 20, page: 1 })
93
+ // result.value → ListResponse<Product>
94
+
95
+ // Get single product
96
+ const result = await chargefy.products.get('prod_xxx')
97
+ // result.value → Product
98
+
99
+ // Create product (one-time payment)
100
+ const result = await chargefy.products.create({
101
+ organizationId: 'org_xxx',
102
+ name: 'My Product',
103
+ description: 'Optional description',
104
+ prices: [{ amount: 9900 }], // R$ 99,00 in cents
105
+ })
106
+
107
+ // Create product (subscription)
108
+ const result = await chargefy.products.create({
109
+ organizationId: 'org_xxx',
110
+ name: 'Monthly Plan',
111
+ recurringInterval: 'month',
112
+ prices: [{ amount: 4900 }], // R$ 49,00/month
113
+ })
114
+
115
+ // Update product
116
+ const result = await chargefy.products.update({
117
+ id: 'prod_xxx',
118
+ name: 'Updated Name',
119
+ isArchived: false,
120
+ })
121
+ ```
327
122
 
328
- ### [oauth2](docs/sdks/oauth2/README.md)
123
+ ---
329
124
 
330
- * [authorize](docs/sdks/oauth2/README.md#authorize) - Authorize
331
- * [token](docs/sdks/oauth2/README.md#token) - Request Token
332
- * [revoke](docs/sdks/oauth2/README.md#revoke) - Revoke Token
333
- * [introspect](docs/sdks/oauth2/README.md#introspect) - Introspect Token
334
- * [userinfo](docs/sdks/oauth2/README.md#userinfo) - Get User Info
125
+ ## Checkout Links
335
126
 
336
- #### [oauth2.clients](docs/sdks/clients/README.md)
337
-
338
- * [create](docs/sdks/clients/README.md#create) - Create Client
339
- * [get](docs/sdks/clients/README.md#get) - Get Client
340
- * [update](docs/sdks/clients/README.md#update) - Update Client
341
- * [delete](docs/sdks/clients/README.md#delete) - Delete Client
342
-
343
- ### [orders](docs/sdks/orders/README.md)
344
-
345
- * [list](docs/sdks/orders/README.md#list) - List Orders
346
- * [export](docs/sdks/orders/README.md#export) - Export Subscriptions
347
- * [get](docs/sdks/orders/README.md#get) - Get Order
348
- * [update](docs/sdks/orders/README.md#update) - Update Order
349
- * [generateInvoice](docs/sdks/orders/README.md#generateinvoice) - Generate Order Invoice
350
- * [invoice](docs/sdks/orders/README.md#invoice) - Get Order Invoice
351
-
352
- ### [organizations](docs/sdks/organizations/README.md)
353
-
354
- * [list](docs/sdks/organizations/README.md#list) - List Organizations
355
- * [create](docs/sdks/organizations/README.md#create) - Create Organization
356
- * [get](docs/sdks/organizations/README.md#get) - Get Organization
357
- * [update](docs/sdks/organizations/README.md#update) - Update Organization
358
-
359
- ### [payments](docs/sdks/payments/README.md)
360
-
361
- * [list](docs/sdks/payments/README.md#list) - List Payments
362
- * [get](docs/sdks/payments/README.md#get) - Get Payment
363
-
364
- ### [products](docs/sdks/products/README.md)
365
-
366
- * [list](docs/sdks/products/README.md#list) - List Products
367
- * [create](docs/sdks/products/README.md#create) - Create Product
368
- * [get](docs/sdks/products/README.md#get) - Get Product
369
- * [update](docs/sdks/products/README.md#update) - Update Product
370
- * [updateBenefits](docs/sdks/products/README.md#updatebenefits) - Update Product Benefits
371
-
372
- ### [refunds](docs/sdks/refunds/README.md)
373
-
374
- * [list](docs/sdks/refunds/README.md#list) - List Refunds
375
- * [create](docs/sdks/refunds/README.md#create) - Create Refund
376
-
377
- ### [subscriptions](docs/sdks/subscriptions/README.md)
378
-
379
- * [list](docs/sdks/subscriptions/README.md#list) - List Subscriptions
380
- * [create](docs/sdks/subscriptions/README.md#create) - Create Subscription
381
- * [export](docs/sdks/subscriptions/README.md#export) - Export Subscriptions
382
- * [get](docs/sdks/subscriptions/README.md#get) - Get Subscription
383
- * [update](docs/sdks/subscriptions/README.md#update) - Update Subscription
384
- * [revoke](docs/sdks/subscriptions/README.md#revoke) - Revoke Subscription
385
-
386
- ### [wallets](docs/sdks/wallets/README.md)
387
-
388
- * [list](docs/sdks/wallets/README.md#list) - List Wallets
389
- * [get](docs/sdks/wallets/README.md#get) - Get Wallet
390
- * [topUp](docs/sdks/wallets/README.md#topup) - Top-Up Wallet
391
-
392
- ### [webhooks](docs/sdks/webhooks/README.md)
393
-
394
- * [listWebhookEndpoints](docs/sdks/webhooks/README.md#listwebhookendpoints) - List Webhook Endpoints
395
- * [createWebhookEndpoint](docs/sdks/webhooks/README.md#createwebhookendpoint) - Create Webhook Endpoint
396
- * [getWebhookEndpoint](docs/sdks/webhooks/README.md#getwebhookendpoint) - Get Webhook Endpoint
397
- * [updateWebhookEndpoint](docs/sdks/webhooks/README.md#updatewebhookendpoint) - Update Webhook Endpoint
398
- * [deleteWebhookEndpoint](docs/sdks/webhooks/README.md#deletewebhookendpoint) - Delete Webhook Endpoint
399
- * [resetWebhookEndpointSecret](docs/sdks/webhooks/README.md#resetwebhookendpointsecret) - Reset Webhook Endpoint Secret
400
- * [listWebhookDeliveries](docs/sdks/webhooks/README.md#listwebhookdeliveries) - List Webhook Deliveries
401
- * [redeliverWebhookEvent](docs/sdks/webhooks/README.md#redeliverwebhookevent) - Redeliver Webhook Event
402
-
403
- </details>
404
- <!-- End Available Resources and Operations [operations] -->
405
-
406
- <!-- Start Standalone functions [standalone-funcs] -->
407
- ## Standalone functions
408
-
409
- All the methods listed above are available as standalone functions. These
410
- functions are ideal for use in applications running in the browser, serverless
411
- runtimes or other environments where application bundle size is a primary
412
- concern. When using a bundler to build your application, all unused
413
- functionality will be either excluded from the final bundle or tree-shaken away.
414
-
415
- To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
416
-
417
- <details>
418
-
419
- <summary>Available standalone functions</summary>
420
-
421
- - [`benefitGrantsList`](docs/sdks/benefitgrants/README.md#list) - List Benefit Grants
422
- - [`benefitsCreate`](docs/sdks/benefits/README.md#create) - Create Benefit
423
- - [`benefitsDelete`](docs/sdks/benefits/README.md#delete) - Delete Benefit
424
- - [`benefitsGet`](docs/sdks/benefits/README.md#get) - Get Benefit
425
- - [`benefitsGrants`](docs/sdks/benefits/README.md#grants) - List Benefit Grants
426
- - [`benefitsList`](docs/sdks/benefits/README.md#list) - List Benefits
427
- - [`benefitsUpdate`](docs/sdks/benefits/README.md#update) - Update Benefit
428
- - [`checkoutLinksCreate`](docs/sdks/checkoutlinks/README.md#create) - Create Checkout Link
429
- - [`checkoutLinksDelete`](docs/sdks/checkoutlinks/README.md#delete) - Delete Checkout Link
430
- - [`checkoutLinksGet`](docs/sdks/checkoutlinks/README.md#get) - Get Checkout Link
431
- - [`checkoutLinksList`](docs/sdks/checkoutlinks/README.md#list) - List Checkout Links
432
- - [`checkoutLinksUpdate`](docs/sdks/checkoutlinks/README.md#update) - Update Checkout Link
433
- - [`checkoutsClientConfirm`](docs/sdks/checkouts/README.md#clientconfirm) - Confirm Checkout Session from Client
434
- - [`checkoutsClientGet`](docs/sdks/checkouts/README.md#clientget) - Get Checkout Session from Client
435
- - [`checkoutsClientUpdate`](docs/sdks/checkouts/README.md#clientupdate) - Update Checkout Session from Client
436
- - [`checkoutsCreate`](docs/sdks/checkouts/README.md#create) - Create Checkout Session
437
- - [`checkoutsGet`](docs/sdks/checkouts/README.md#get) - Get Checkout Session
438
- - [`checkoutsList`](docs/sdks/checkouts/README.md#list) - List Checkout Sessions
439
- - [`checkoutsUpdate`](docs/sdks/checkouts/README.md#update) - Update Checkout Session
440
- - [`customerMetersGet`](docs/sdks/customermeters/README.md#get) - Get Customer Meter
441
- - [`customerMetersList`](docs/sdks/customermeters/README.md#list) - List Customer Meters
442
- - [`customerPortalBenefitGrantsGet`](docs/sdks/polarbenefitgrants/README.md#get) - Get Benefit Grant
443
- - [`customerPortalBenefitGrantsList`](docs/sdks/polarbenefitgrants/README.md#list) - List Benefit Grants
444
- - [`customerPortalBenefitGrantsUpdate`](docs/sdks/polarbenefitgrants/README.md#update) - Update Benefit Grant
445
- - [`customerPortalCustomerMetersGet`](docs/sdks/polarcustomermeters/README.md#get) - Get Customer Meter
446
- - [`customerPortalCustomerMetersList`](docs/sdks/polarcustomermeters/README.md#list) - List Meters
447
- - [`customerPortalCustomersAddPaymentMethod`](docs/sdks/polarcustomers/README.md#addpaymentmethod) - Add Customer Payment Method
448
- - [`customerPortalCustomersConfirmPaymentMethod`](docs/sdks/polarcustomers/README.md#confirmpaymentmethod) - Confirm Customer Payment Method
449
- - [`customerPortalCustomersDeletePaymentMethod`](docs/sdks/polarcustomers/README.md#deletepaymentmethod) - Delete Customer Payment Method
450
- - [`customerPortalCustomerSessionIntrospect`](docs/sdks/customersession/README.md#introspect) - Introspect Customer Session
451
- - [`customerPortalCustomersGet`](docs/sdks/polarcustomers/README.md#get) - Get Customer
452
- - [`customerPortalCustomersListPaymentMethods`](docs/sdks/polarcustomers/README.md#listpaymentmethods) - List Customer Payment Methods
453
- - [`customerPortalCustomersUpdate`](docs/sdks/polarcustomers/README.md#update) - Update Customer
454
- - [`customerPortalDownloadablesList`](docs/sdks/downloadables/README.md#list) - List Downloadables
455
- - [`customerPortalLicenseKeysActivate`](docs/sdks/polarlicensekeys/README.md#activate) - Activate License Key
456
- - [`customerPortalLicenseKeysDeactivate`](docs/sdks/polarlicensekeys/README.md#deactivate) - Deactivate License Key
457
- - [`customerPortalLicenseKeysGet`](docs/sdks/polarlicensekeys/README.md#get) - Get License Key
458
- - [`customerPortalLicenseKeysList`](docs/sdks/polarlicensekeys/README.md#list) - List License Keys
459
- - [`customerPortalLicenseKeysValidate`](docs/sdks/polarlicensekeys/README.md#validate) - Validate License Key
460
- - [`customerPortalOrdersConfirmRetryPayment`](docs/sdks/polarorders/README.md#confirmretrypayment) - Confirm Retry Payment
461
- - [`customerPortalOrdersGenerateInvoice`](docs/sdks/polarorders/README.md#generateinvoice) - Generate Order Invoice
462
- - [`customerPortalOrdersGet`](docs/sdks/polarorders/README.md#get) - Get Order
463
- - [`customerPortalOrdersGetPaymentStatus`](docs/sdks/polarorders/README.md#getpaymentstatus) - Get Order Payment Status
464
- - [`customerPortalOrdersInvoice`](docs/sdks/polarorders/README.md#invoice) - Get Order Invoice
465
- - [`customerPortalOrdersList`](docs/sdks/polarorders/README.md#list) - List Orders
466
- - [`customerPortalOrdersUpdate`](docs/sdks/polarorders/README.md#update) - Update Order
467
- - [`customerPortalOrganizationsGet`](docs/sdks/polarorganizations/README.md#get) - Get Organization
468
- - [`customerPortalSeatsAssignSeat`](docs/sdks/seats/README.md#assignseat) - Assign Seat
469
- - [`customerPortalSeatsListClaimedSubscriptions`](docs/sdks/seats/README.md#listclaimedsubscriptions) - List Claimed Subscriptions
470
- - [`customerPortalSeatsListSeats`](docs/sdks/seats/README.md#listseats) - List Seats
471
- - [`customerPortalSeatsResendInvitation`](docs/sdks/seats/README.md#resendinvitation) - Resend Invitation
472
- - [`customerPortalSeatsRevokeSeat`](docs/sdks/seats/README.md#revokeseat) - Revoke Seat
473
- - [`customerPortalSubscriptionsCancel`](docs/sdks/polarsubscriptions/README.md#cancel) - Cancel Subscription
474
- - [`customerPortalSubscriptionsGet`](docs/sdks/polarsubscriptions/README.md#get) - Get Subscription
475
- - [`customerPortalSubscriptionsList`](docs/sdks/polarsubscriptions/README.md#list) - List Subscriptions
476
- - [`customerPortalSubscriptionsUpdate`](docs/sdks/polarsubscriptions/README.md#update) - Update Subscription
477
- - [`customerPortalWalletsGet`](docs/sdks/polarwallets/README.md#get) - Get Wallet
478
- - [`customerPortalWalletsList`](docs/sdks/polarwallets/README.md#list) - List Wallets
479
- - [`customersCreate`](docs/sdks/customers/README.md#create) - Create Customer
480
- - [`customersDelete`](docs/sdks/customers/README.md#delete) - Delete Customer
481
- - [`customersDeleteExternal`](docs/sdks/customers/README.md#deleteexternal) - Delete Customer by External ID
482
- - [`customerSeatsAssignSeat`](docs/sdks/customerseats/README.md#assignseat) - Assign Seat
483
- - [`customerSeatsClaimSeat`](docs/sdks/customerseats/README.md#claimseat) - Claim Seat
484
- - [`customerSeatsGetClaimInfo`](docs/sdks/customerseats/README.md#getclaiminfo) - Get Claim Info
485
- - [`customerSeatsListSeats`](docs/sdks/customerseats/README.md#listseats) - List Seats
486
- - [`customerSeatsResendInvitation`](docs/sdks/customerseats/README.md#resendinvitation) - Resend Invitation
487
- - [`customerSeatsRevokeSeat`](docs/sdks/customerseats/README.md#revokeseat) - Revoke Seat
488
- - [`customerSessionsCreate`](docs/sdks/customersessions/README.md#create) - Create Customer Session
489
- - [`customersExport`](docs/sdks/customers/README.md#export) - Export Customers
490
- - [`customersGet`](docs/sdks/customers/README.md#get) - Get Customer
491
- - [`customersGetBalance`](docs/sdks/customers/README.md#getbalance) - Get Customer Balance
492
- - [`customersGetExternal`](docs/sdks/customers/README.md#getexternal) - Get Customer by External ID
493
- - [`customersGetState`](docs/sdks/customers/README.md#getstate) - Get Customer State
494
- - [`customersGetStateExternal`](docs/sdks/customers/README.md#getstateexternal) - Get Customer State by External ID
495
- - [`customersList`](docs/sdks/customers/README.md#list) - List Customers
496
- - [`customersUpdate`](docs/sdks/customers/README.md#update) - Update Customer
497
- - [`customersUpdateExternal`](docs/sdks/customers/README.md#updateexternal) - Update Customer by External ID
498
- - [`customFieldsCreate`](docs/sdks/customfields/README.md#create) - Create Custom Field
499
- - [`customFieldsDelete`](docs/sdks/customfields/README.md#delete) - Delete Custom Field
500
- - [`customFieldsGet`](docs/sdks/customfields/README.md#get) - Get Custom Field
501
- - [`customFieldsList`](docs/sdks/customfields/README.md#list) - List Custom Fields
502
- - [`customFieldsUpdate`](docs/sdks/customfields/README.md#update) - Update Custom Field
503
- - [`discountsCreate`](docs/sdks/discounts/README.md#create) - Create Discount
504
- - [`discountsDelete`](docs/sdks/discounts/README.md#delete) - Delete Discount
505
- - [`discountsGet`](docs/sdks/discounts/README.md#get) - Get Discount
506
- - [`discountsList`](docs/sdks/discounts/README.md#list) - List Discounts
507
- - [`discountsUpdate`](docs/sdks/discounts/README.md#update) - Update Discount
508
- - [`eventsGet`](docs/sdks/events/README.md#get) - Get Event
509
- - [`eventsIngest`](docs/sdks/events/README.md#ingest) - Ingest Events
510
- - [`eventsList`](docs/sdks/events/README.md#list) - List Events
511
- - [`eventsListNames`](docs/sdks/events/README.md#listnames) - List Event Names
512
- - [`filesCreate`](docs/sdks/files/README.md#create) - Create File
513
- - [`filesDelete`](docs/sdks/files/README.md#delete) - Delete File
514
- - [`filesList`](docs/sdks/files/README.md#list) - List Files
515
- - [`filesUpdate`](docs/sdks/files/README.md#update) - Update File
516
- - [`filesUploaded`](docs/sdks/files/README.md#uploaded) - Complete File Upload
517
- - [`licenseKeysActivate`](docs/sdks/licensekeys/README.md#activate) - Activate License Key
518
- - [`licenseKeysDeactivate`](docs/sdks/licensekeys/README.md#deactivate) - Deactivate License Key
519
- - [`licenseKeysGet`](docs/sdks/licensekeys/README.md#get) - Get License Key
520
- - [`licenseKeysGetActivation`](docs/sdks/licensekeys/README.md#getactivation) - Get Activation
521
- - [`licenseKeysList`](docs/sdks/licensekeys/README.md#list) - List License Keys
522
- - [`licenseKeysUpdate`](docs/sdks/licensekeys/README.md#update) - Update License Key
523
- - [`licenseKeysValidate`](docs/sdks/licensekeys/README.md#validate) - Validate License Key
524
- - [`metersCreate`](docs/sdks/meters/README.md#create) - Create Meter
525
- - [`metersGet`](docs/sdks/meters/README.md#get) - Get Meter
526
- - [`metersList`](docs/sdks/meters/README.md#list) - List Meters
527
- - [`metersQuantities`](docs/sdks/meters/README.md#quantities) - Get Meter Quantities
528
- - [`metersUpdate`](docs/sdks/meters/README.md#update) - Update Meter
529
- - [`metricsGet`](docs/sdks/metrics/README.md#get) - Get Metrics
530
- - [`metricsLimits`](docs/sdks/metrics/README.md#limits) - Get Metrics Limits
531
- - [`oauth2Authorize`](docs/sdks/oauth2/README.md#authorize) - Authorize
532
- - [`oauth2ClientsCreate`](docs/sdks/clients/README.md#create) - Create Client
533
- - [`oauth2ClientsDelete`](docs/sdks/clients/README.md#delete) - Delete Client
534
- - [`oauth2ClientsGet`](docs/sdks/clients/README.md#get) - Get Client
535
- - [`oauth2ClientsUpdate`](docs/sdks/clients/README.md#update) - Update Client
536
- - [`oauth2Introspect`](docs/sdks/oauth2/README.md#introspect) - Introspect Token
537
- - [`oauth2Revoke`](docs/sdks/oauth2/README.md#revoke) - Revoke Token
538
- - [`oauth2Token`](docs/sdks/oauth2/README.md#token) - Request Token
539
- - [`oauth2Userinfo`](docs/sdks/oauth2/README.md#userinfo) - Get User Info
540
- - [`ordersExport`](docs/sdks/orders/README.md#export) - Export Subscriptions
541
- - [`ordersGenerateInvoice`](docs/sdks/orders/README.md#generateinvoice) - Generate Order Invoice
542
- - [`ordersGet`](docs/sdks/orders/README.md#get) - Get Order
543
- - [`ordersInvoice`](docs/sdks/orders/README.md#invoice) - Get Order Invoice
544
- - [`ordersList`](docs/sdks/orders/README.md#list) - List Orders
545
- - [`ordersUpdate`](docs/sdks/orders/README.md#update) - Update Order
546
- - [`organizationsCreate`](docs/sdks/organizations/README.md#create) - Create Organization
547
- - [`organizationsGet`](docs/sdks/organizations/README.md#get) - Get Organization
548
- - [`organizationsList`](docs/sdks/organizations/README.md#list) - List Organizations
549
- - [`organizationsUpdate`](docs/sdks/organizations/README.md#update) - Update Organization
550
- - [`paymentsGet`](docs/sdks/payments/README.md#get) - Get Payment
551
- - [`paymentsList`](docs/sdks/payments/README.md#list) - List Payments
552
- - [`productsCreate`](docs/sdks/products/README.md#create) - Create Product
553
- - [`productsGet`](docs/sdks/products/README.md#get) - Get Product
554
- - [`productsList`](docs/sdks/products/README.md#list) - List Products
555
- - [`productsUpdate`](docs/sdks/products/README.md#update) - Update Product
556
- - [`productsUpdateBenefits`](docs/sdks/products/README.md#updatebenefits) - Update Product Benefits
557
- - [`refundsCreate`](docs/sdks/refunds/README.md#create) - Create Refund
558
- - [`refundsList`](docs/sdks/refunds/README.md#list) - List Refunds
559
- - [`subscriptionsCreate`](docs/sdks/subscriptions/README.md#create) - Create Subscription
560
- - [`subscriptionsExport`](docs/sdks/subscriptions/README.md#export) - Export Subscriptions
561
- - [`subscriptionsGet`](docs/sdks/subscriptions/README.md#get) - Get Subscription
562
- - [`subscriptionsList`](docs/sdks/subscriptions/README.md#list) - List Subscriptions
563
- - [`subscriptionsRevoke`](docs/sdks/subscriptions/README.md#revoke) - Revoke Subscription
564
- - [`subscriptionsUpdate`](docs/sdks/subscriptions/README.md#update) - Update Subscription
565
- - [`walletsGet`](docs/sdks/wallets/README.md#get) - Get Wallet
566
- - [`walletsList`](docs/sdks/wallets/README.md#list) - List Wallets
567
- - [`walletsTopUp`](docs/sdks/wallets/README.md#topup) - Top-Up Wallet
568
- - [`webhooksCreateWebhookEndpoint`](docs/sdks/webhooks/README.md#createwebhookendpoint) - Create Webhook Endpoint
569
- - [`webhooksDeleteWebhookEndpoint`](docs/sdks/webhooks/README.md#deletewebhookendpoint) - Delete Webhook Endpoint
570
- - [`webhooksGetWebhookEndpoint`](docs/sdks/webhooks/README.md#getwebhookendpoint) - Get Webhook Endpoint
571
- - [`webhooksListWebhookDeliveries`](docs/sdks/webhooks/README.md#listwebhookdeliveries) - List Webhook Deliveries
572
- - [`webhooksListWebhookEndpoints`](docs/sdks/webhooks/README.md#listwebhookendpoints) - List Webhook Endpoints
573
- - [`webhooksRedeliverWebhookEvent`](docs/sdks/webhooks/README.md#redeliverwebhookevent) - Redeliver Webhook Event
574
- - [`webhooksResetWebhookEndpointSecret`](docs/sdks/webhooks/README.md#resetwebhookendpointsecret) - Reset Webhook Endpoint Secret
575
- - [`webhooksUpdateWebhookEndpoint`](docs/sdks/webhooks/README.md#updatewebhookendpoint) - Update Webhook Endpoint
576
-
577
- </details>
578
- <!-- End Standalone functions [standalone-funcs] -->
579
-
580
- <!-- Start Pagination [pagination] -->
581
- ## Pagination
582
-
583
- Some of the endpoints in this SDK support pagination. To use pagination, you
584
- make your SDK calls as usual, but the returned response object will also be an
585
- async iterable that can be consumed using the [`for await...of`][for-await-of]
586
- syntax.
587
-
588
- [for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
589
-
590
- Here's an example of one such pagination call:
591
-
592
- ```typescript
593
- import { Chargefy } from "@chargefy/sdk";
127
+ A checkout link is a shareable URL that redirects buyers to the payment page.
594
128
 
595
- const chargefy = new Chargefy({
596
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
597
- });
129
+ ```ts
130
+ // List checkout links
131
+ const result = await chargefy.checkoutLinks.list()
132
+ // result.value → ListResponse<CheckoutLink>
133
+
134
+ // Get single checkout link
135
+ const result = await chargefy.checkoutLinks.get('cl_xxx')
136
+ // result.value → CheckoutLink
137
+
138
+ // Create checkout link
139
+ const result = await chargefy.checkoutLinks.create({
140
+ organizationId: 'org_xxx',
141
+ productId: 'prod_xxx',
142
+ successUrl: 'https://mysite.com/thank-you',
143
+ })
144
+ // result.value.url → share this URL with buyers
145
+
146
+ // Update checkout link
147
+ const result = await chargefy.checkoutLinks.update({
148
+ id: 'cl_xxx',
149
+ successUrl: 'https://mysite.com/new-success-page',
150
+ allowDiscountCodes: true,
151
+ })
152
+ ```
598
153
 
599
- async function run() {
600
- const result = await chargefy.organizations.list({});
154
+ ---
601
155
 
602
- for await (const page of result) {
603
- console.log(page);
604
- }
605
- }
156
+ ## Buyers
606
157
 
607
- run();
158
+ Create or retrieve a buyer (customer) record. Required for card payments.
608
159
 
160
+ ```ts
161
+ // Create / upsert buyer
162
+ const result = await chargefy.buyers.create({
163
+ email: 'customer@example.com',
164
+ firstName: 'João',
165
+ lastName: 'Silva',
166
+ taxpayerId: '123.456.789-00', // CPF or CNPJ
167
+ phoneNumber: '+5511999999999',
168
+ birthdate: '15-06-1990', // DD-MM-YYYY
169
+ })
170
+ // result.value → { buyer, zoopBuyerId, isNew }
171
+
172
+ // Look up an existing buyer by email
173
+ const result = await chargefy.buyers.lookup('customer@example.com')
174
+ // result.value → { found: true, buyer: { ... } }
609
175
  ```
610
- <!-- End Pagination [pagination] -->
611
-
612
- <!-- Start Retries [retries] -->
613
- ## Retries
614
-
615
- Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
616
-
617
- To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
618
- ```typescript
619
- import { Chargefy } from "@chargefy/sdk";
620
176
 
621
- const chargefy = new Chargefy({
622
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
623
- });
624
-
625
- async function run() {
626
- const result = await chargefy.organizations.list({}, {
627
- retries: {
628
- strategy: "backoff",
629
- backoff: {
630
- initialInterval: 1,
631
- maxInterval: 50,
632
- exponent: 1.1,
633
- maxElapsedTime: 100,
634
- },
635
- retryConnectionErrors: false,
636
- },
637
- });
177
+ ---
638
178
 
639
- for await (const page of result) {
640
- console.log(page);
641
- }
642
- }
179
+ ## Checkouts
643
180
 
644
- run();
181
+ ### Create a checkout session
645
182
 
183
+ ```ts
184
+ const result = await chargefy.checkouts.create({
185
+ organizationId: 'org_xxx',
186
+ productId: 'prod_xxx',
187
+ customerEmail: 'customer@example.com',
188
+ customerName: 'João Silva',
189
+ successUrl: 'https://mysite.com/success',
190
+ })
191
+ // result.value → Checkout (has clientSecret)
646
192
  ```
647
193
 
648
- If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
649
- ```typescript
650
- import { Chargefy } from "@chargefy/sdk";
194
+ ### Get a checkout
651
195
 
652
- const chargefy = new Chargefy({
653
- retryConfig: {
654
- strategy: "backoff",
655
- backoff: {
656
- initialInterval: 1,
657
- maxInterval: 50,
658
- exponent: 1.1,
659
- maxElapsedTime: 100,
660
- },
661
- retryConnectionErrors: false,
662
- },
663
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
664
- });
665
-
666
- async function run() {
667
- const result = await chargefy.organizations.list({});
196
+ ```ts
197
+ // By ID (requires access token)
198
+ const result = await chargefy.checkouts.get('co_xxx')
668
199
 
669
- for await (const page of result) {
670
- console.log(page);
671
- }
672
- }
200
+ // By client secret (public no auth needed)
201
+ const result = await chargefy.checkouts.getByClientSecret('cs_xxx')
202
+ ```
673
203
 
674
- run();
204
+ ### Update customer info
675
205
 
206
+ ```ts
207
+ const result = await chargefy.checkouts.update({
208
+ id: 'co_xxx',
209
+ customerEmail: 'new@example.com',
210
+ customerName: 'Updated Name',
211
+ })
676
212
  ```
677
- <!-- End Retries [retries] -->
678
-
679
- <!-- Start Error Handling [errors] -->
680
- ## Error Handling
681
213
 
682
- [`ChargefyError`](./src/models/errors/polarerror.ts) is the base class for all HTTP error responses. It has the following properties:
214
+ ### Confirm with credit card
683
215
 
684
- | Property | Type | Description |
685
- | ------------------- | ---------- | --------------------------------------------------------------------------------------- |
686
- | `error.message` | `string` | Error message |
687
- | `error.statusCode` | `number` | HTTP response status code eg `404` |
688
- | `error.headers` | `Headers` | HTTP response headers |
689
- | `error.body` | `string` | HTTP body. Can be empty string if no body is returned. |
690
- | `error.rawResponse` | `Response` | Raw HTTP response |
691
- | `error.data$` | | Optional. Some errors may contain structured data. [See Error Classes](#error-classes). |
216
+ Card data is tokenized **server-side** — you never need to load Zoop.js.
692
217
 
693
- ### Example
694
- ```typescript
695
- import { Chargefy } from "@chargefy/sdk";
696
- import { HTTPValidationError } from "@chargefy/sdk/models/errors/httpvalidationerror.js";
697
- import { ChargefyError } from "@chargefy/sdk/models/errors/polarerror.js.js";
218
+ ```ts
219
+ const result = await chargefy.checkouts.confirm({
220
+ clientSecret: checkout.clientSecret,
221
+ paymentMethod: 'credit_card',
222
+ customerEmail: 'customer@example.com',
223
+ customerName: 'João Silva',
224
+ customerTaxId: '123.456.789-00',
225
+ card: {
226
+ number: '4111111111111111',
227
+ holderName: 'JOAO SILVA',
228
+ expirationMonth: '12',
229
+ expirationYear: '2028',
230
+ cvv: '123',
231
+ installments: 1, // 1–12
232
+ },
233
+ })
698
234
 
699
- const chargefy = new Chargefy({
700
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
701
- });
702
-
703
- async function run() {
704
- try {
705
- const result = await chargefy.organizations.list({});
706
-
707
- for await (const page of result) {
708
- console.log(page);
709
- }
710
- } catch (error) {
711
- // The base class for HTTP error responses
712
- if (error instanceof ChargefyError) {
713
- console.log(error.message);
714
- console.log(error.statusCode);
715
- console.log(error.body);
716
- console.log(error.headers);
717
-
718
- // Depending on the method different errors may be thrown
719
- if (error instanceof HTTPValidationError) {
720
- console.log(error.data$.detail); // ValidationError[]
721
- }
722
- }
723
- }
235
+ if (result.ok) {
236
+ console.log('Payment confirmed!')
237
+ console.log(result.value.zoopPaymentData?.authorizationCode)
724
238
  }
725
-
726
- run();
727
-
728
239
  ```
729
240
 
730
- ### Error Classes
731
- **Primary errors:**
732
- * [`ChargefyError`](./src/models/errors/polarerror.ts): The base class for HTTP error responses.
733
- * [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. *
734
-
735
- <details><summary>Less common errors (26)</summary>
736
-
737
- <br />
738
-
739
- **Network errors:**
740
- * [`ConnectionError`](./src/models/errors/httpclienterrors.ts): HTTP client was unable to make a request to a server.
741
- * [`RequestTimeoutError`](./src/models/errors/httpclienterrors.ts): HTTP request timed out due to an AbortSignal signal.
742
- * [`RequestAbortedError`](./src/models/errors/httpclienterrors.ts): HTTP request was aborted by the client.
743
- * [`InvalidRequestError`](./src/models/errors/httpclienterrors.ts): Any input used to create a request is invalid.
744
- * [`UnexpectedClientError`](./src/models/errors/httpclienterrors.ts): Unrecognised or unexpected error.
745
-
746
-
747
- **Inherit from [`ChargefyError`](./src/models/errors/polarerror.ts)**:
748
- * [`ResourceNotFound`](./src/models/errors/resourcenotfound.ts): Status code `404`. Applicable to 80 of 155 methods.*
749
- * [`NotPermitted`](./src/models/errors/notpermitted.ts): Status code `403`. Applicable to 10 of 155 methods.*
750
- * [`Unauthorized`](./src/models/errors/unauthorized.ts): Not authorized to manage license key. Status code `401`. Applicable to 5 of 155 methods.*
751
- * [`AlreadyCanceledSubscription`](./src/models/errors/alreadycanceledsubscription.ts): Status code `403`. Applicable to 4 of 155 methods.*
752
- * [`AlreadyActiveSubscriptionError`](./src/models/errors/alreadyactivesubscriptionerror.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.*
753
- * [`NotOpenCheckout`](./src/models/errors/notopencheckout.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.*
754
- * [`PaymentNotReady`](./src/models/errors/paymentnotready.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.*
755
- * [`ExpiredCheckoutError`](./src/models/errors/expiredcheckouterror.ts): The checkout session is expired. Status code `410`. Applicable to 3 of 155 methods.*
756
- * [`SubscriptionLocked`](./src/models/errors/subscriptionlocked.ts): Subscription is pending an update. Status code `409`. Applicable to 2 of 155 methods.*
757
- * [`MissingInvoiceBillingDetails`](./src/models/errors/missinginvoicebillingdetails.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 155 methods.*
758
- * [`NotPaidOrder`](./src/models/errors/notpaidorder.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 155 methods.*
759
- * [`RefundAmountTooHigh`](./src/models/errors/refundamounttoohigh.ts): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 155 methods.*
760
- * [`PaymentError`](./src/models/errors/paymenterror.ts): The payment failed. Status code `400`. Applicable to 1 of 155 methods.*
761
- * [`PaymentIntentFailedError`](./src/models/errors/paymentintentfailederror.ts): The payment request failed. Status code `400`. Applicable to 1 of 155 methods.*
762
- * [`CustomerNotReady`](./src/models/errors/customernotready.ts): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 155 methods.*
763
- * [`PaymentMethodInUseByActiveSubscription`](./src/models/errors/paymentmethodinusebyactivesubscription.ts): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 155 methods.*
764
- * [`MissingPaymentMethodError`](./src/models/errors/missingpaymentmethoderror.ts): No payment method available. Status code `402`. Applicable to 1 of 155 methods.*
765
- * [`RefundedAlready`](./src/models/errors/refundedalready.ts): Order is already fully refunded. Status code `403`. Applicable to 1 of 155 methods.*
766
- * [`PaymentAlreadyInProgress`](./src/models/errors/paymentalreadyinprogress.ts): Payment already in progress. Status code `409`. Applicable to 1 of 155 methods.*
767
- * [`OrderNotEligibleForRetry`](./src/models/errors/ordernoteligibleforretry.ts): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 155 methods.*
768
- * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
769
-
770
- </details>
771
-
772
- \* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.
773
- <!-- End Error Handling [errors] -->
774
-
775
- <!-- Start Server Selection [server] -->
776
- ## Server Selection
777
-
778
- ### Select Server by Name
779
-
780
- You can override the default server globally by passing a server name to the `server: keyof typeof ServerList` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
241
+ ### Confirm with PIX
781
242
 
782
- | Name | Server | Description |
783
- | ------------ | ------------------------------ | ---------------------- |
784
- | `production` | `https://chargefy.io/api` | Production environment |
785
- | `sandbox` | `https://sandbox.chargefy.io/api` | Sandbox environment |
786
-
787
- #### Example
788
-
789
- ```typescript
790
- import { Chargefy } from "@chargefy/sdk";
791
-
792
- const chargefy = new Chargefy({
793
- server: "sandbox",
794
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
795
- });
796
-
797
- async function run() {
798
- const result = await chargefy.organizations.list({});
799
-
800
- for await (const page of result) {
801
- console.log(page);
802
- }
243
+ ```ts
244
+ const result = await chargefy.checkouts.confirm({
245
+ clientSecret: checkout.clientSecret,
246
+ paymentMethod: 'pix',
247
+ customerEmail: 'customer@example.com',
248
+ customerName: 'João Silva',
249
+ })
250
+
251
+ if (result.ok) {
252
+ const { qrCode, qrCodeUrl, expirationDate } = result.value.zoopPaymentData ?? {}
253
+ // Show QR code image (qrCodeUrl) or copy-paste string (qrCode) to buyer
803
254
  }
804
-
805
- run();
806
-
807
255
  ```
808
256
 
809
- ### Override Server URL Per-Client
257
+ ---
810
258
 
811
- The default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
812
- ```typescript
813
- import { Chargefy } from "@chargefy/sdk";
259
+ ## Error Handling
814
260
 
815
- const chargefy = new Chargefy({
816
- serverURL: "https://chargefy.io/api",
817
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
818
- });
261
+ ```ts
262
+ import { ResourceNotFound, PaymentError, RequestTimeoutError } from '@chargefy/sdk'
819
263
 
820
- async function run() {
821
- const result = await chargefy.organizations.list({});
264
+ const result = await chargefy.checkouts.confirm({ ... })
822
265
 
823
- for await (const page of result) {
824
- console.log(page);
266
+ if (!result.ok) {
267
+ const { error } = result
268
+
269
+ if (error instanceof PaymentError) {
270
+ console.error('Payment declined:', error.message)
271
+ } else if (error instanceof ResourceNotFound) {
272
+ console.error('Checkout not found')
273
+ } else if (error instanceof RequestTimeoutError) {
274
+ console.error('Request timed out — retry?')
275
+ } else {
276
+ console.error('Unexpected error:', error.message)
825
277
  }
826
278
  }
827
-
828
- run();
829
-
830
279
  ```
831
- <!-- End Server Selection [server] -->
832
280
 
833
- <!-- Start Custom HTTP Client [http-client] -->
834
- ## Custom HTTP Client
281
+ ### Error Types
835
282
 
836
- The TypeScript SDK makes API calls using an `HTTPClient` that wraps the native
837
- [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This
838
- client is a thin wrapper around `fetch` and provides the ability to attach hooks
839
- around the request lifecycle that can be used to modify the request or handle
840
- errors and response.
841
-
842
- The `HTTPClient` constructor takes an optional `fetcher` argument that can be
843
- used to integrate a third-party HTTP client or when writing tests to mock out
844
- the HTTP client and feed in fixtures.
845
-
846
- The following example shows how to use the `"beforeRequest"` hook to to add a
847
- custom header and a timeout to requests and how to use the `"requestError"` hook
848
- to log errors:
849
-
850
- ```typescript
851
- import { Chargefy } from "@chargefy/sdk";
852
- import { HTTPClient } from "@chargefy/sdk/lib/http";
853
-
854
- const httpClient = new HTTPClient({
855
- // fetcher takes a function that has the same signature as native `fetch`.
856
- fetcher: (request) => {
857
- return fetch(request);
858
- }
859
- });
283
+ | Class | When |
284
+ |-------|------|
285
+ | `ResourceNotFound` | 404 resource does not exist |
286
+ | `PaymentError` | Payment declined or processor error |
287
+ | `NotOpenCheckout` | Checkout already confirmed/expired |
288
+ | `ExpiredCheckoutError` | Checkout session expired |
289
+ | `HTTPValidationError` | 422 invalid request body |
290
+ | `RequestTimeoutError` | Request exceeded `timeout` ms |
291
+ | `ConnectionError` | Network failure |
292
+ | `SDKError` | Unexpected SDK-level error |
860
293
 
861
- httpClient.addHook("beforeRequest", (request) => {
862
- const nextRequest = new Request(request, {
863
- signal: request.signal || AbortSignal.timeout(5000)
864
- });
294
+ ---
865
295
 
866
- nextRequest.headers.set("x-custom-header", "custom value");
296
+ ## TypeScript Types
867
297
 
868
- return nextRequest;
869
- });
298
+ All public types are exported from `@chargefy/sdk`:
870
299
 
871
- httpClient.addHook("requestError", (error, request) => {
872
- console.group("Request Error");
873
- console.log("Reason:", `${error}`);
874
- console.log("Endpoint:", `${request.method} ${request.url}`);
875
- console.groupEnd();
876
- });
877
-
878
- const sdk = new Chargefy({ httpClient: httpClient });
300
+ ```ts
301
+ import type {
302
+ Organization,
303
+ Product,
304
+ ProductPrice,
305
+ CheckoutLink,
306
+ Buyer,
307
+ Checkout,
308
+ CheckoutConfirmed,
309
+ ConfirmCheckoutRequest,
310
+ CardData,
311
+ ListResponse,
312
+ Result,
313
+ } from '@chargefy/sdk'
879
314
  ```
880
- <!-- End Custom HTTP Client [http-client] -->
881
-
882
- <!-- Start Authentication [security] -->
883
- ## Authentication
884
315
 
885
- ### Per-Client Security Schemes
316
+ ---
886
317
 
887
- This SDK supports the following security scheme globally:
318
+ ## Complete Example
888
319
 
889
- | Name | Type | Scheme | Environment Variable |
890
- | ------------- | ---- | ----------- | -------------------- |
891
- | `accessToken` | http | HTTP Bearer | `CHARGEFY_ACCESS_TOKEN` |
892
-
893
- To authenticate with the API the `accessToken` parameter must be set when initializing the SDK client instance. For example:
894
- ```typescript
895
- import { Chargefy } from "@chargefy/sdk";
320
+ ```ts
321
+ import { Chargefy } from '@chargefy/sdk'
896
322
 
897
323
  const chargefy = new Chargefy({
898
- accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
899
- });
900
-
901
- async function run() {
902
- const result = await chargefy.organizations.list({});
903
-
904
- for await (const page of result) {
905
- console.log(page);
906
- }
324
+ accessToken: process.env.CHARGEFY_ACCESS_TOKEN!,
325
+ server: 'production',
326
+ })
327
+
328
+ async function sellProduct() {
329
+ // 1. Create product
330
+ const productRes = await chargefy.products.create({
331
+ organizationId: 'org_xxx',
332
+ name: 'Annual Access',
333
+ prices: [{ amount: 29700 }], // R$ 297,00
334
+ })
335
+ if (!productRes.ok) throw new Error(productRes.error.message)
336
+ const product = productRes.value
337
+
338
+ // 2. Create shareable checkout link
339
+ const linkRes = await chargefy.checkoutLinks.create({
340
+ organizationId: 'org_xxx',
341
+ productId: product.id,
342
+ successUrl: 'https://myapp.com/success',
343
+ })
344
+ if (!linkRes.ok) throw new Error(linkRes.error.message)
345
+
346
+ console.log('Share this URL:', linkRes.value.url)
907
347
  }
908
348
 
909
- run();
910
-
911
- ```
912
-
913
- ### Per-Operation Security Schemes
914
-
915
- Some operations in this SDK require the security scheme to be specified at the request level. For example:
916
- ```typescript
917
- import { Chargefy } from "@chargefy/sdk";
918
-
919
- const chargefy = new Chargefy();
920
-
921
- async function run() {
922
- const result = await chargefy.customerPortal.benefitGrants.list({
923
- customerSession: process.env["CHARGEFY_CUSTOMER_SESSION"] ?? "",
924
- }, {});
349
+ async function processPayment(clientSecret: string) {
350
+ // 3. Confirm checkout programmatically (server-to-server)
351
+ const result = await chargefy.checkouts.confirm({
352
+ clientSecret,
353
+ paymentMethod: 'credit_card',
354
+ customerEmail: 'buyer@example.com',
355
+ customerName: 'Maria Santos',
356
+ customerTaxId: '987.654.321-00',
357
+ card: {
358
+ number: '5555555555554444',
359
+ holderName: 'MARIA SANTOS',
360
+ expirationMonth: '08',
361
+ expirationYear: '2027',
362
+ cvv: '321',
363
+ },
364
+ })
925
365
 
926
- for await (const page of result) {
927
- console.log(page);
366
+ if (result.ok) {
367
+ return { success: true, transactionId: result.value.zoopPaymentData?.transactionId }
368
+ } else {
369
+ return { success: false, error: result.error.message }
928
370
  }
929
371
  }
930
-
931
- run();
932
-
933
372
  ```
934
- <!-- End Authentication [security] -->
935
-
936
- <!-- Start Debugging [debug] -->
937
- ## Debugging
938
-
939
- You can setup your SDK to emit debug logs for SDK requests and responses.
940
-
941
- You can pass a logger that matches `console`'s interface as an SDK option.
942
-
943
- > [!WARNING]
944
- > Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
945
-
946
- ```typescript
947
- import { Chargefy } from "@chargefy/sdk";
948
-
949
- const sdk = new Chargefy({ debugLogger: console });
950
- ```
951
-
952
- You can also enable a default debug logger by setting an environment variable `CHARGEFY_DEBUG` to true.
953
- <!-- End Debugging [debug] -->
954
-
955
- <!-- Placeholder for Future Speakeasy SDK Sections -->
956
-
957
- # Development
958
-
959
- ## Maturity
960
-
961
- This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
962
- to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
963
- looking for the latest version.
964
-
965
- ## Contributions
966
-
967
- While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
968
- We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.