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.
- package/README.md +283 -879
- package/dist/chargefy.d.ts +34 -0
- package/dist/chargefy.d.ts.map +1 -0
- package/dist/chargefy.js +39 -0
- package/dist/core.d.ts +41 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +77 -0
- package/dist/funcs/checkoutsClientConfirm.d.ts +20 -0
- package/dist/funcs/checkoutsClientConfirm.d.ts.map +1 -0
- package/dist/funcs/checkoutsClientConfirm.js +47 -0
- package/dist/funcs/checkoutsClientGet.d.ts +15 -0
- package/dist/funcs/checkoutsClientGet.d.ts.map +1 -0
- package/dist/funcs/checkoutsClientGet.js +40 -0
- package/dist/funcs/checkoutsClientUpdate.d.ts +19 -0
- package/dist/funcs/checkoutsClientUpdate.d.ts.map +1 -0
- package/dist/funcs/checkoutsClientUpdate.js +43 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/models/buyer.d.ts +41 -0
- package/dist/models/buyer.d.ts.map +1 -0
- package/dist/models/buyer.js +1 -0
- package/dist/models/checkout.d.ts +118 -0
- package/dist/models/checkout.d.ts.map +1 -0
- package/dist/models/checkout.js +1 -0
- package/dist/models/checkoutLink.d.ts +29 -0
- package/dist/models/checkoutLink.d.ts.map +1 -0
- package/dist/models/checkoutLink.js +1 -0
- package/dist/models/components/checkoutconfirmcelcoin.d.ts +21 -0
- package/dist/models/components/checkoutconfirmcelcoin.d.ts.map +1 -0
- package/dist/models/components/checkoutconfirmcelcoin.js +5 -0
- package/dist/models/components/checkoutpublic.d.ts +112 -0
- package/dist/models/components/checkoutpublic.d.ts.map +1 -0
- package/dist/models/components/checkoutpublic.js +5 -0
- package/dist/models/components/checkoutpublicconfirmed.d.ts +9 -0
- package/dist/models/components/checkoutpublicconfirmed.d.ts.map +1 -0
- package/dist/models/components/checkoutpublicconfirmed.js +4 -0
- package/dist/models/components/checkoutupdatepublic.d.ts +21 -0
- package/dist/models/components/checkoutupdatepublic.d.ts.map +1 -0
- package/dist/models/components/checkoutupdatepublic.js +5 -0
- package/dist/models/errors/alreadyactivesubscriptionerror.d.ts +9 -0
- package/dist/models/errors/alreadyactivesubscriptionerror.d.ts.map +1 -0
- package/dist/models/errors/alreadyactivesubscriptionerror.js +12 -0
- package/dist/models/errors/expiredcheckouterror.d.ts +9 -0
- package/dist/models/errors/expiredcheckouterror.d.ts.map +1 -0
- package/dist/models/errors/expiredcheckouterror.js +12 -0
- package/dist/models/errors/httpclienterrors.d.ts +33 -0
- package/dist/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/models/errors/httpclienterrors.js +60 -0
- package/dist/models/errors/httpvalidationerror.d.ts +14 -0
- package/dist/models/errors/httpvalidationerror.d.ts.map +1 -0
- package/dist/models/errors/httpvalidationerror.js +8 -0
- package/dist/models/errors/notopencheckout.d.ts +9 -0
- package/dist/models/errors/notopencheckout.d.ts.map +1 -0
- package/dist/models/errors/notopencheckout.js +12 -0
- package/dist/models/errors/paymenterror.d.ts +9 -0
- package/dist/models/errors/paymenterror.d.ts.map +1 -0
- package/dist/models/errors/paymenterror.js +12 -0
- package/dist/models/errors/paymentnotready.d.ts +9 -0
- package/dist/models/errors/paymentnotready.d.ts.map +1 -0
- package/dist/models/errors/paymentnotready.js +12 -0
- package/dist/models/errors/resourcenotfound.d.ts +8 -0
- package/dist/models/errors/resourcenotfound.d.ts.map +1 -0
- package/dist/models/errors/resourcenotfound.js +11 -0
- package/dist/models/organization.d.ts +10 -0
- package/dist/models/organization.d.ts.map +1 -0
- package/dist/models/organization.js +1 -0
- package/dist/models/pagination.d.ts +12 -0
- package/dist/models/pagination.d.ts.map +1 -0
- package/dist/models/pagination.js +1 -0
- package/dist/models/product.d.ts +44 -0
- package/dist/models/product.d.ts.map +1 -0
- package/dist/models/product.js +1 -0
- package/dist/namespaces/buyers.d.ts +15 -0
- package/dist/namespaces/buyers.d.ts.map +1 -0
- package/dist/namespaces/buyers.js +35 -0
- package/dist/namespaces/checkoutLinks.d.ts +17 -0
- package/dist/namespaces/checkoutLinks.d.ts.map +1 -0
- package/dist/namespaces/checkoutLinks.js +57 -0
- package/dist/namespaces/checkouts.d.ts +23 -0
- package/dist/namespaces/checkouts.d.ts.map +1 -0
- package/dist/namespaces/checkouts.js +113 -0
- package/dist/namespaces/organizations.d.ts +10 -0
- package/dist/namespaces/organizations.d.ts.map +1 -0
- package/dist/namespaces/organizations.js +13 -0
- package/dist/namespaces/products.d.ts +17 -0
- package/dist/namespaces/products.d.ts.map +1 -0
- package/dist/namespaces/products.js +58 -0
- package/dist/types/fp.d.ts +14 -0
- package/dist/types/fp.d.ts.map +1 -0
- package/dist/types/fp.js +1 -0
- package/dist/utils/errors.d.ts +13 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +56 -0
- package/dist/utils/transformers.d.ts +19 -0
- package/dist/utils/transformers.d.ts.map +1 -0
- package/dist/utils/transformers.js +180 -0
- package/package.json +29 -78
- package/src/chargefy.ts +43 -0
- package/src/core.ts +135 -0
- package/src/funcs/checkoutsClientConfirm.ts +101 -0
- package/src/funcs/checkoutsClientGet.ts +84 -0
- package/src/funcs/checkoutsClientUpdate.ts +94 -0
- package/src/index.ts +59 -7
- package/src/models/buyer.ts +43 -0
- package/src/models/checkout.ts +127 -0
- package/src/models/checkoutLink.ts +30 -0
- package/src/models/components/checkoutconfirmcelcoin.ts +32 -0
- package/src/models/components/checkoutpublic.ts +141 -0
- package/src/models/components/checkoutpublicconfirmed.ts +10 -0
- package/src/models/components/checkoutupdatepublic.ts +29 -0
- package/src/models/errors/alreadyactivesubscriptionerror.ts +13 -0
- package/src/models/errors/expiredcheckouterror.ts +13 -0
- package/src/models/errors/httpclienterrors.ts +74 -0
- package/src/models/errors/httpvalidationerror.ts +19 -0
- package/src/models/errors/notopencheckout.ts +13 -0
- package/src/models/errors/paymenterror.ts +13 -0
- package/src/models/errors/paymentnotready.ts +13 -0
- package/src/models/errors/resourcenotfound.ts +12 -0
- package/src/models/organization.ts +9 -0
- package/src/models/pagination.ts +12 -0
- package/src/models/product.ts +46 -0
- package/src/namespaces/buyers.ts +35 -0
- package/src/namespaces/checkoutLinks.ts +56 -0
- package/src/namespaces/checkouts.ts +110 -0
- package/src/namespaces/organizations.ts +15 -0
- package/src/namespaces/products.ts +60 -0
- package/src/types/fp.ts +7 -0
- package/src/utils/errors.ts +82 -0
- package/src/utils/transformers.ts +196 -0
- package/tsconfig.json +11 -33
- package/tsconfig.tsbuildinfo +1 -0
- package/.claude/EXAMPLE_SESSION.md +0 -647
- package/.claude/INDEX.md +0 -404
- package/.claude/MULTI_AGENT_WORKFLOW.md +0 -557
- package/.claude/QUICK_REFERENCE.md +0 -399
- package/.claude/README.md +0 -342
- package/.claude/agents/backend-engineer.md +0 -230
- package/.claude/agents/product-manager.md +0 -462
- package/.claude/agents/qa-engineer.md +0 -430
- package/.claude/prompts/api-compliance-check.md +0 -372
- package/.claude/prompts/sdk-architecture-review.md +0 -233
- package/.claude/settings.local.json +0 -20
- package/.tsbuildinfo +0 -1
- package/.tshy/build.json +0 -8
- package/.tshy/commonjs.json +0 -16
- package/.tshy/esm.json +0 -15
- package/AGENT_SYSTEM_SUMMARY.md +0 -406
- package/CONTRIBUTING.md +0 -26
- package/FUNCTIONS.md +0 -89
- package/RELEASES.md +0 -1121
- package/RUNTIMES.md +0 -48
- package/USAGE.md +0 -20
- package/codeSamples.yaml +0 -1115
- package/docs/lib/utils/retryconfig.md +0 -24
- package/docs/models/components/activesubscriptions.md +0 -17
- package/docs/models/components/activeuserbyevent.md +0 -17
- package/docs/models/components/address.md +0 -22
- package/docs/models/components/addressdict.md +0 -22
- package/docs/models/components/addressinput.md +0 -22
- package/docs/models/components/aggregation.md +0 -55
- package/docs/models/components/aggregationfunction.md +0 -15
- package/docs/models/components/amount.md +0 -19
- package/docs/models/components/attachedcustomfield.md +0 -37
- package/docs/models/components/attachedcustomfieldcreate.md +0 -21
- package/docs/models/components/authorizationcodetokenrequest.md +0 -25
- package/docs/models/components/authorizeorganization.md +0 -21
- package/docs/models/components/authorizeresponseorganization.md +0 -38
- package/docs/models/components/authorizeresponseuser.md +0 -36
- package/docs/models/components/authorizeuser.md +0 -21
- package/docs/models/components/averageordervalue.md +0 -17
- package/docs/models/components/averagerevenueperuser.md +0 -17
- package/docs/models/components/benefit.md +0 -149
- package/docs/models/components/benefitcreate.md +0 -91
- package/docs/models/components/benefitcustom.md +0 -43
- package/docs/models/components/benefitcustomcreate.md +0 -26
- package/docs/models/components/benefitcustomcreatemetadata.md +0 -29
- package/docs/models/components/benefitcustomcreateproperties.md +0 -17
- package/docs/models/components/benefitcustommetadata.md +0 -29
- package/docs/models/components/benefitcustomproperties.md +0 -19
- package/docs/models/components/benefitcustomsubscriber.md +0 -73
- package/docs/models/components/benefitcustomsubscribermetadata.md +0 -29
- package/docs/models/components/benefitcustomsubscriberproperties.md +0 -19
- package/docs/models/components/benefitcustomupdate.md +0 -20
- package/docs/models/components/benefitcustomupdatemetadata.md +0 -29
- package/docs/models/components/benefitcycledevent.md +0 -60
- package/docs/models/components/benefitdiscord.md +0 -46
- package/docs/models/components/benefitdiscordcreate.md +0 -28
- package/docs/models/components/benefitdiscordcreatemetadata.md +0 -29
- package/docs/models/components/benefitdiscordcreateproperties.md +0 -23
- package/docs/models/components/benefitdiscordmetadata.md +0 -29
- package/docs/models/components/benefitdiscordproperties.md +0 -25
- package/docs/models/components/benefitdiscordsubscriber.md +0 -74
- package/docs/models/components/benefitdiscordsubscribermetadata.md +0 -29
- package/docs/models/components/benefitdiscordsubscriberproperties.md +0 -19
- package/docs/models/components/benefitdiscordupdate.md +0 -20
- package/docs/models/components/benefitdiscordupdatemetadata.md +0 -29
- package/docs/models/components/benefitdownloadables.md +0 -45
- package/docs/models/components/benefitdownloadablescreate.md +0 -29
- package/docs/models/components/benefitdownloadablescreatemetadata.md +0 -29
- package/docs/models/components/benefitdownloadablescreateproperties.md +0 -21
- package/docs/models/components/benefitdownloadablesmetadata.md +0 -29
- package/docs/models/components/benefitdownloadablesproperties.md +0 -19
- package/docs/models/components/benefitdownloadablessubscriber.md +0 -76
- package/docs/models/components/benefitdownloadablessubscribermetadata.md +0 -29
- package/docs/models/components/benefitdownloadablessubscriberproperties.md +0 -20
- package/docs/models/components/benefitdownloadablesupdate.md +0 -20
- package/docs/models/components/benefitdownloadablesupdatemetadata.md +0 -29
- package/docs/models/components/benefitgithubrepository.md +0 -45
- package/docs/models/components/benefitgithubrepositorycreate.md +0 -29
- package/docs/models/components/benefitgithubrepositorycreatemetadata.md +0 -29
- package/docs/models/components/benefitgithubrepositorycreateproperties.md +0 -23
- package/docs/models/components/benefitgithubrepositorycreatepropertiespermission.md +0 -17
- package/docs/models/components/benefitgithubrepositorymetadata.md +0 -29
- package/docs/models/components/benefitgithubrepositoryproperties.md +0 -23
- package/docs/models/components/benefitgithubrepositorysubscriber.md +0 -73
- package/docs/models/components/benefitgithubrepositorysubscribermetadata.md +0 -29
- package/docs/models/components/benefitgithubrepositorysubscriberproperties.md +0 -21
- package/docs/models/components/benefitgithubrepositoryupdate.md +0 -25
- package/docs/models/components/benefitgithubrepositoryupdatemetadata.md +0 -29
- package/docs/models/components/benefitgrant.md +0 -78
- package/docs/models/components/benefitgrantcustomproperties.md +0 -14
- package/docs/models/components/benefitgrantcustomwebhook.md +0 -77
- package/docs/models/components/benefitgrantdiscordproperties.md +0 -18
- package/docs/models/components/benefitgrantdiscordwebhook.md +0 -82
- package/docs/models/components/benefitgrantdownloadablesproperties.md +0 -15
- package/docs/models/components/benefitgrantdownloadableswebhook.md +0 -85
- package/docs/models/components/benefitgrantedevent.md +0 -60
- package/docs/models/components/benefitgranterror.md +0 -21
- package/docs/models/components/benefitgrantgithubrepositoryproperties.md +0 -19
- package/docs/models/components/benefitgrantgithubrepositorypropertiespermission.md +0 -15
- package/docs/models/components/benefitgrantgithubrepositorywebhook.md +0 -81
- package/docs/models/components/benefitgrantlicensekeysproperties.md +0 -16
- package/docs/models/components/benefitgrantlicensekeyswebhook.md +0 -86
- package/docs/models/components/benefitgrantmetadata.md +0 -21
- package/docs/models/components/benefitgrantmetercreditproperties.md +0 -17
- package/docs/models/components/benefitgrantmetercreditwebhook.md +0 -80
- package/docs/models/components/benefitgrantsortproperty.md +0 -15
- package/docs/models/components/benefitgrantwebhook.md +0 -352
- package/docs/models/components/benefitlicensekeyactivationcreateproperties.md +0 -19
- package/docs/models/components/benefitlicensekeyactivationproperties.md +0 -19
- package/docs/models/components/benefitlicensekeyexpirationproperties.md +0 -19
- package/docs/models/components/benefitlicensekeys.md +0 -46
- package/docs/models/components/benefitlicensekeyscreate.md +0 -25
- package/docs/models/components/benefitlicensekeyscreatemetadata.md +0 -29
- package/docs/models/components/benefitlicensekeyscreateproperties.md +0 -18
- package/docs/models/components/benefitlicensekeysmetadata.md +0 -29
- package/docs/models/components/benefitlicensekeysproperties.md +0 -29
- package/docs/models/components/benefitlicensekeyssubscriber.md +0 -83
- package/docs/models/components/benefitlicensekeyssubscribermetadata.md +0 -29
- package/docs/models/components/benefitlicensekeyssubscriberproperties.md +0 -29
- package/docs/models/components/benefitlicensekeysupdate.md +0 -20
- package/docs/models/components/benefitlicensekeysupdatemetadata.md +0 -29
- package/docs/models/components/benefitmetadata.md +0 -29
- package/docs/models/components/benefitmetercredit.md +0 -43
- package/docs/models/components/benefitmetercreditcreate.md +0 -31
- package/docs/models/components/benefitmetercreditcreatemetadata.md +0 -29
- package/docs/models/components/benefitmetercreditcreateproperties.md +0 -23
- package/docs/models/components/benefitmetercreditmetadata.md +0 -29
- package/docs/models/components/benefitmetercreditproperties.md +0 -23
- package/docs/models/components/benefitmetercreditsubscriber.md +0 -76
- package/docs/models/components/benefitmetercreditsubscribermetadata.md +0 -29
- package/docs/models/components/benefitmetercreditsubscriberproperties.md +0 -23
- package/docs/models/components/benefitmetercreditupdate.md +0 -20
- package/docs/models/components/benefitmetercreditupdatemetadata.md +0 -29
- package/docs/models/components/benefitpublic.md +0 -32
- package/docs/models/components/benefitrevokedevent.md +0 -60
- package/docs/models/components/benefitsortproperty.md +0 -15
- package/docs/models/components/benefittype.md +0 -15
- package/docs/models/components/benefitupdatedevent.md +0 -60
- package/docs/models/components/billingaddressfieldmode.md +0 -15
- package/docs/models/components/canceledsubscriptions.md +0 -17
- package/docs/models/components/canceledsubscriptionscustomerservice.md +0 -17
- package/docs/models/components/canceledsubscriptionslowquality.md +0 -17
- package/docs/models/components/canceledsubscriptionsmissingfeatures.md +0 -17
- package/docs/models/components/canceledsubscriptionsother.md +0 -17
- package/docs/models/components/canceledsubscriptionsswitchedservice.md +0 -17
- package/docs/models/components/canceledsubscriptionstoocomplex.md +0 -17
- package/docs/models/components/canceledsubscriptionstooexpensive.md +0 -17
- package/docs/models/components/canceledsubscriptionsunused.md +0 -17
- package/docs/models/components/cardpayment.md +0 -49
- package/docs/models/components/cardpaymentmetadata.md +0 -21
- package/docs/models/components/cashflow.md +0 -17
- package/docs/models/components/checkout.md +0 -222
- package/docs/models/components/checkoutbillingaddressfields.md +0 -27
- package/docs/models/components/checkoutconfirmstripe.md +0 -33
- package/docs/models/components/checkoutconfirmstripecustomfielddata.md +0 -29
- package/docs/models/components/checkoutcreate.md +0 -49
- package/docs/models/components/checkoutcreatecustomermetadata.md +0 -29
- package/docs/models/components/checkoutcreatecustomfielddata.md +0 -29
- package/docs/models/components/checkoutcreatemetadata.md +0 -29
- package/docs/models/components/checkoutcustomfielddata.md +0 -29
- package/docs/models/components/checkoutdiscount.md +0 -61
- package/docs/models/components/checkoutdiscountfixedonceforeverduration.md +0 -31
- package/docs/models/components/checkoutdiscountfixedrepeatduration.md +0 -34
- package/docs/models/components/checkoutdiscountpercentageonceforeverduration.md +0 -29
- package/docs/models/components/checkoutdiscountpercentagerepeatduration.md +0 -32
- package/docs/models/components/checkoutlink.md +0 -104
- package/docs/models/components/checkoutlinkcreate.md +0 -36
- package/docs/models/components/checkoutlinkcreateproduct.md +0 -31
- package/docs/models/components/checkoutlinkcreateproductmetadata.md +0 -29
- package/docs/models/components/checkoutlinkcreateproductprice.md +0 -31
- package/docs/models/components/checkoutlinkcreateproductpricemetadata.md +0 -29
- package/docs/models/components/checkoutlinkcreateproducts.md +0 -33
- package/docs/models/components/checkoutlinkcreateproductsmetadata.md +0 -29
- package/docs/models/components/checkoutlinkdiscount.md +0 -101
- package/docs/models/components/checkoutlinkmetadata.md +0 -29
- package/docs/models/components/checkoutlinkproduct.md +0 -100
- package/docs/models/components/checkoutlinkproductmetadata.md +0 -29
- package/docs/models/components/checkoutlinkproductprices.md +0 -48
- package/docs/models/components/checkoutlinksortproperty.md +0 -15
- package/docs/models/components/checkoutlinkupdate.md +0 -25
- package/docs/models/components/checkoutlinkupdatemetadata.md +0 -29
- package/docs/models/components/checkoutmetadata.md +0 -29
- package/docs/models/components/checkoutproduct.md +0 -48
- package/docs/models/components/checkoutproductprice.md +0 -48
- package/docs/models/components/checkoutproductprices.md +0 -48
- package/docs/models/components/checkoutpublic.md +0 -313
- package/docs/models/components/checkoutpublicconfirmed.md +0 -318
- package/docs/models/components/checkoutpublicconfirmedcustomfielddata.md +0 -29
- package/docs/models/components/checkoutpublicconfirmeddiscount.md +0 -61
- package/docs/models/components/checkoutpublicconfirmedproductprice.md +0 -48
- package/docs/models/components/checkoutpubliccustomfielddata.md +0 -29
- package/docs/models/components/checkoutpublicdiscount.md +0 -61
- package/docs/models/components/checkoutpublicproductprice.md +0 -48
- package/docs/models/components/checkouts.md +0 -17
- package/docs/models/components/checkoutsconversion.md +0 -17
- package/docs/models/components/checkoutsortproperty.md +0 -15
- package/docs/models/components/checkoutstatus.md +0 -15
- package/docs/models/components/checkoutupdate.md +0 -42
- package/docs/models/components/checkoutupdatecustomermetadata.md +0 -29
- package/docs/models/components/checkoutupdatecustomfielddata.md +0 -29
- package/docs/models/components/checkoutupdatemetadata.md +0 -29
- package/docs/models/components/checkoutupdatepublic.md +0 -32
- package/docs/models/components/checkoutupdatepubliccustomfielddata.md +0 -29
- package/docs/models/components/churnrate.md +0 -17
- package/docs/models/components/clauses.md +0 -24
- package/docs/models/components/committedmonthlyrecurringrevenue.md +0 -17
- package/docs/models/components/conditions.md +0 -29
- package/docs/models/components/costmetadatainput.md +0 -19
- package/docs/models/components/costmetadataoutput.md +0 -19
- package/docs/models/components/costperuser.md +0 -17
- package/docs/models/components/costs.md +0 -17
- package/docs/models/components/countaggregation.md +0 -15
- package/docs/models/components/countryalpha2.md +0 -15
- package/docs/models/components/countryalpha2input.md +0 -15
- package/docs/models/components/cumulativecosts.md +0 -17
- package/docs/models/components/cumulativerevenue.md +0 -17
- package/docs/models/components/customer.md +0 -50
- package/docs/models/components/customerbalance.md +0 -21
- package/docs/models/components/customerbenefitgrant.md +0 -536
- package/docs/models/components/customerbenefitgrantcustom.md +0 -109
- package/docs/models/components/customerbenefitgrantcustomupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantdiscord.md +0 -109
- package/docs/models/components/customerbenefitgrantdiscordpropertiesupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantdiscordupdate.md +0 -21
- package/docs/models/components/customerbenefitgrantdownloadables.md +0 -110
- package/docs/models/components/customerbenefitgrantdownloadablesupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantgithubrepository.md +0 -109
- package/docs/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantgithubrepositoryupdate.md +0 -21
- package/docs/models/components/customerbenefitgrantlicensekeys.md +0 -117
- package/docs/models/components/customerbenefitgrantlicensekeysupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantmetercredit.md +0 -109
- package/docs/models/components/customerbenefitgrantmetercreditupdate.md +0 -17
- package/docs/models/components/customerbenefitgrantsortproperty.md +0 -15
- package/docs/models/components/customerbenefitgrantupdate.md +0 -59
- package/docs/models/components/customercancellationreason.md +0 -15
- package/docs/models/components/customercreate.md +0 -33
- package/docs/models/components/customercreatedevent.md +0 -61
- package/docs/models/components/customercreatedmetadata.md +0 -23
- package/docs/models/components/customercreatemetadata.md +0 -29
- package/docs/models/components/customercreatetaxid.md +0 -17
- package/docs/models/components/customercustomermeter.md +0 -38
- package/docs/models/components/customercustomermetermeter.md +0 -23
- package/docs/models/components/customercustomermetersortproperty.md +0 -15
- package/docs/models/components/customercustomersession.md +0 -19
- package/docs/models/components/customerdeletedevent.md +0 -61
- package/docs/models/components/customerdeletedmetadata.md +0 -23
- package/docs/models/components/customermetadata.md +0 -23
- package/docs/models/components/customermetadata1.md +0 -29
- package/docs/models/components/customermeter.md +0 -75
- package/docs/models/components/customermetersortproperty.md +0 -15
- package/docs/models/components/customerorder.md +0 -165
- package/docs/models/components/customerorderconfirmpayment.md +0 -19
- package/docs/models/components/customerorderinvoice.md +0 -19
- package/docs/models/components/customerorderpaymentconfirmation.md +0 -21
- package/docs/models/components/customerorderpaymentstatus.md +0 -20
- package/docs/models/components/customerorderproduct.md +0 -96
- package/docs/models/components/customerorderproductprices.md +0 -48
- package/docs/models/components/customerordersortproperty.md +0 -15
- package/docs/models/components/customerordersubscription.md +0 -62
- package/docs/models/components/customerorderupdate.md +0 -23
- package/docs/models/components/customerorganization.md +0 -84
- package/docs/models/components/customerpaymentmethod.md +0 -37
- package/docs/models/components/customerpaymentmethodconfirm.md +0 -19
- package/docs/models/components/customerpaymentmethodcreate.md +0 -21
- package/docs/models/components/customerpaymentmethodcreaterequiresactionresponse.md +0 -19
- package/docs/models/components/customerpaymentmethodcreateresponse.md +0 -36
- package/docs/models/components/customerpaymentmethodcreatesucceededresponse.md +0 -32
- package/docs/models/components/customerportalcustomer.md +0 -44
- package/docs/models/components/customerportalcustomertaxid.md +0 -17
- package/docs/models/components/customerportalcustomerupdate.md +0 -21
- package/docs/models/components/customerportaloauthaccount.md +0 -19
- package/docs/models/components/customerproduct.md +0 -58
- package/docs/models/components/customerproductprices.md +0 -48
- package/docs/models/components/customerseat.md +0 -31
- package/docs/models/components/customerseatclaimresponse.md +0 -26
- package/docs/models/components/customersession.md +0 -56
- package/docs/models/components/customersessioncustomerexternalidcreate.md +0 -21
- package/docs/models/components/customersessioncustomeridcreate.md +0 -21
- package/docs/models/components/customersortproperty.md +0 -15
- package/docs/models/components/customerstate.md +0 -111
- package/docs/models/components/customerstatebenefitgrant.md +0 -35
- package/docs/models/components/customerstatebenefitgrantproperties.md +0 -35
- package/docs/models/components/customerstatemetadata.md +0 -29
- package/docs/models/components/customerstatemeter.md +0 -31
- package/docs/models/components/customerstatesubscription.md +0 -68
- package/docs/models/components/customerstatesubscriptioncustomfielddata.md +0 -29
- package/docs/models/components/customerstatesubscriptionmetadata.md +0 -29
- package/docs/models/components/customerstatesubscriptionmeter.md +0 -31
- package/docs/models/components/customerstatetaxid.md +0 -17
- package/docs/models/components/customersubscription.md +0 -152
- package/docs/models/components/customersubscriptioncancel.md +0 -17
- package/docs/models/components/customersubscriptionmeter.md +0 -36
- package/docs/models/components/customersubscriptionmetermeter.md +0 -23
- package/docs/models/components/customersubscriptionprices.md +0 -48
- package/docs/models/components/customersubscriptionproduct.md +0 -91
- package/docs/models/components/customersubscriptionproductprices.md +0 -48
- package/docs/models/components/customersubscriptionsortproperty.md +0 -15
- package/docs/models/components/customersubscriptionupdate.md +0 -27
- package/docs/models/components/customersubscriptionupdateproduct.md +0 -17
- package/docs/models/components/customersubscriptionupdateseats.md +0 -18
- package/docs/models/components/customertaxid.md +0 -17
- package/docs/models/components/customerupdate.md +0 -31
- package/docs/models/components/customerupdatedevent.md +0 -62
- package/docs/models/components/customerupdatedfields.md +0 -19
- package/docs/models/components/customerupdatedfieldsmetadata.md +0 -23
- package/docs/models/components/customerupdatedmetadata.md +0 -25
- package/docs/models/components/customerupdateexternalid.md +0 -29
- package/docs/models/components/customerupdateexternalidmetadata.md +0 -29
- package/docs/models/components/customerupdateexternalidtaxid.md +0 -17
- package/docs/models/components/customerupdatemetadata.md +0 -29
- package/docs/models/components/customerupdatetaxid.md +0 -17
- package/docs/models/components/customerwallet.md +0 -31
- package/docs/models/components/customerwalletsortproperty.md +0 -15
- package/docs/models/components/customfield.md +0 -102
- package/docs/models/components/customfieldcheckbox.md +0 -37
- package/docs/models/components/customfieldcheckboxmetadata.md +0 -29
- package/docs/models/components/customfieldcheckboxproperties.md +0 -17
- package/docs/models/components/customfieldcreate.md +0 -72
- package/docs/models/components/customfieldcreatecheckbox.md +0 -28
- package/docs/models/components/customfieldcreatecheckboxmetadata.md +0 -29
- package/docs/models/components/customfieldcreatedate.md +0 -28
- package/docs/models/components/customfieldcreatedatemetadata.md +0 -29
- package/docs/models/components/customfieldcreatenumber.md +0 -28
- package/docs/models/components/customfieldcreatenumbermetadata.md +0 -29
- package/docs/models/components/customfieldcreateselect.md +0 -35
- package/docs/models/components/customfieldcreateselectmetadata.md +0 -29
- package/docs/models/components/customfieldcreatetext.md +0 -28
- package/docs/models/components/customfieldcreatetextmetadata.md +0 -29
- package/docs/models/components/customfielddata.md +0 -29
- package/docs/models/components/customfielddate.md +0 -37
- package/docs/models/components/customfielddatemetadata.md +0 -29
- package/docs/models/components/customfielddateproperties.md +0 -19
- package/docs/models/components/customfieldnumber.md +0 -37
- package/docs/models/components/customfieldnumbermetadata.md +0 -29
- package/docs/models/components/customfieldnumberproperties.md +0 -19
- package/docs/models/components/customfieldselect.md +0 -44
- package/docs/models/components/customfieldselectmetadata.md +0 -29
- package/docs/models/components/customfieldselectoption.md +0 -19
- package/docs/models/components/customfieldselectproperties.md +0 -25
- package/docs/models/components/customfieldsortproperty.md +0 -15
- package/docs/models/components/customfieldtext.md +0 -37
- package/docs/models/components/customfieldtextmetadata.md +0 -29
- package/docs/models/components/customfieldtextproperties.md +0 -20
- package/docs/models/components/customfieldtype.md +0 -15
- package/docs/models/components/customfieldupdate.md +0 -45
- package/docs/models/components/customfieldupdatecheckbox.md +0 -23
- package/docs/models/components/customfieldupdatecheckboxmetadata.md +0 -29
- package/docs/models/components/customfieldupdatedate.md +0 -23
- package/docs/models/components/customfieldupdatedatemetadata.md +0 -29
- package/docs/models/components/customfieldupdatenumber.md +0 -23
- package/docs/models/components/customfieldupdatenumbermetadata.md +0 -29
- package/docs/models/components/customfieldupdateselect.md +0 -23
- package/docs/models/components/customfieldupdateselectmetadata.md +0 -29
- package/docs/models/components/customfieldupdatetext.md +0 -23
- package/docs/models/components/customfieldupdatetextmetadata.md +0 -29
- package/docs/models/components/discount.md +0 -122
- package/docs/models/components/discountcreate.md +0 -55
- package/docs/models/components/discountduration.md +0 -15
- package/docs/models/components/discountfixedonceforeverduration.md +0 -51
- package/docs/models/components/discountfixedonceforeverdurationbase.md +0 -47
- package/docs/models/components/discountfixedonceforeverdurationbasemetadata.md +0 -29
- package/docs/models/components/discountfixedonceforeverdurationcreate.md +0 -34
- package/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md +0 -29
- package/docs/models/components/discountfixedonceforeverdurationmetadata.md +0 -29
- package/docs/models/components/discountfixedrepeatduration.md +0 -54
- package/docs/models/components/discountfixedrepeatdurationbase.md +0 -49
- package/docs/models/components/discountfixedrepeatdurationbasemetadata.md +0 -29
- package/docs/models/components/discountfixedrepeatdurationcreate.md +0 -37
- package/docs/models/components/discountfixedrepeatdurationcreatemetadata.md +0 -29
- package/docs/models/components/discountfixedrepeatdurationmetadata.md +0 -29
- package/docs/models/components/discountpercentageonceforeverduration.md +0 -68
- package/docs/models/components/discountpercentageonceforeverdurationbase.md +0 -45
- package/docs/models/components/discountpercentageonceforeverdurationbasemetadata.md +0 -29
- package/docs/models/components/discountpercentageonceforeverdurationcreate.md +0 -33
- package/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md +0 -29
- package/docs/models/components/discountpercentageonceforeverdurationmetadata.md +0 -29
- package/docs/models/components/discountpercentagerepeatduration.md +0 -50
- package/docs/models/components/discountpercentagerepeatdurationbase.md +0 -47
- package/docs/models/components/discountpercentagerepeatdurationbasemetadata.md +0 -29
- package/docs/models/components/discountpercentagerepeatdurationcreate.md +0 -36
- package/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md +0 -29
- package/docs/models/components/discountpercentagerepeatdurationmetadata.md +0 -29
- package/docs/models/components/discountproduct.md +0 -46
- package/docs/models/components/discountproductmetadata.md +0 -29
- package/docs/models/components/discountsortproperty.md +0 -15
- package/docs/models/components/discounttype.md +0 -15
- package/docs/models/components/discountupdate.md +0 -29
- package/docs/models/components/discountupdatemetadata.md +0 -29
- package/docs/models/components/downloadablefilecreate.md +0 -39
- package/docs/models/components/downloadablefileread.md +0 -49
- package/docs/models/components/downloadableread.md +0 -41
- package/docs/models/components/event.md +0 -83
- package/docs/models/components/eventcreatecustomer.md +0 -23
- package/docs/models/components/eventcreateexternalcustomer.md +0 -23
- package/docs/models/components/eventmetadatainput.md +0 -50
- package/docs/models/components/eventmetadataoutput.md +0 -50
- package/docs/models/components/eventname.md +0 -25
- package/docs/models/components/eventnamessortproperty.md +0 -15
- package/docs/models/components/events.md +0 -25
- package/docs/models/components/eventsingest.md +0 -17
- package/docs/models/components/eventsingestresponse.md +0 -17
- package/docs/models/components/eventsortproperty.md +0 -15
- package/docs/models/components/eventsource.md +0 -15
- package/docs/models/components/existingproductprice.md +0 -21
- package/docs/models/components/filecreate.md +0 -68
- package/docs/models/components/filedownload.md +0 -50
- package/docs/models/components/filepatch.md +0 -16
- package/docs/models/components/fileread.md +0 -76
- package/docs/models/components/fileservicetypes.md +0 -15
- package/docs/models/components/fileupload.md +0 -58
- package/docs/models/components/fileuploadcompleted.md +0 -21
- package/docs/models/components/filter.md +0 -19
- package/docs/models/components/filterclause.md +0 -21
- package/docs/models/components/filterconjunction.md +0 -15
- package/docs/models/components/filteroperator.md +0 -15
- package/docs/models/components/func.md +0 -15
- package/docs/models/components/genericpayment.md +0 -44
- package/docs/models/components/granttypes.md +0 -15
- package/docs/models/components/grossmargin.md +0 -17
- package/docs/models/components/grossmarginpercentage.md +0 -17
- package/docs/models/components/introspecttokenrequest.md +0 -22
- package/docs/models/components/introspecttokenrequesttokentypehint.md +0 -15
- package/docs/models/components/introspecttokenresponse.md +0 -35
- package/docs/models/components/legacyrecurringproductprice.md +0 -59
- package/docs/models/components/legacyrecurringproductpricecustom.md +0 -45
- package/docs/models/components/legacyrecurringproductpricefixed.md +0 -41
- package/docs/models/components/legacyrecurringproductpricefree.md +0 -37
- package/docs/models/components/licensekeyactivate.md +0 -23
- package/docs/models/components/licensekeyactivateconditions.md +0 -29
- package/docs/models/components/licensekeyactivatemeta.md +0 -29
- package/docs/models/components/licensekeyactivationbase.md +0 -27
- package/docs/models/components/licensekeyactivationread.md +0 -67
- package/docs/models/components/licensekeyactivationreadmeta.md +0 -29
- package/docs/models/components/licensekeycustomer.md +0 -48
- package/docs/models/components/licensekeycustomermetadata.md +0 -29
- package/docs/models/components/licensekeycustomertaxid.md +0 -17
- package/docs/models/components/licensekeydeactivate.md +0 -21
- package/docs/models/components/licensekeyread.md +0 -68
- package/docs/models/components/licensekeystatus.md +0 -15
- package/docs/models/components/licensekeyupdate.md +0 -19
- package/docs/models/components/licensekeyvalidate.md +0 -24
- package/docs/models/components/licensekeywithactivations.md +0 -70
- package/docs/models/components/listresource.md +0 -22
- package/docs/models/components/listresourcebenefit.md +0 -40
- package/docs/models/components/listresourcebenefitgrant.md +0 -22
- package/docs/models/components/listresourcecheckout.md +0 -22
- package/docs/models/components/listresourcecheckoutlink.md +0 -95
- package/docs/models/components/listresourcecustomer.md +0 -41
- package/docs/models/components/listresourcecustomerbenefitgrant.md +0 -113
- package/docs/models/components/listresourcecustomercustomermeter.md +0 -39
- package/docs/models/components/listresourcecustomermeter.md +0 -22
- package/docs/models/components/listresourcecustomerorder.md +0 -132
- package/docs/models/components/listresourcecustomerpaymentmethod.md +0 -22
- package/docs/models/components/listresourcecustomersubscription.md +0 -22
- package/docs/models/components/listresourcecustomerwallet.md +0 -22
- package/docs/models/components/listresourcecustomfield.md +0 -43
- package/docs/models/components/listresourcediscount.md +0 -22
- package/docs/models/components/listresourcedownloadableread.md +0 -22
- package/docs/models/components/listresourceevent.md +0 -22
- package/docs/models/components/listresourceeventname.md +0 -30
- package/docs/models/components/listresourcefileread.md +0 -22
- package/docs/models/components/listresourcelicensekeyread.md +0 -62
- package/docs/models/components/listresourcemeter.md +0 -44
- package/docs/models/components/listresourceorder.md +0 -22
- package/docs/models/components/listresourceorganization.md +0 -57
- package/docs/models/components/listresourceproduct.md +0 -22
- package/docs/models/components/listresourcerefund.md +0 -22
- package/docs/models/components/listresourcesubscription.md +0 -154
- package/docs/models/components/listresourcewallet.md +0 -22
- package/docs/models/components/listresourcewebhookdelivery.md +0 -39
- package/docs/models/components/listresourcewebhookendpoint.md +0 -22
- package/docs/models/components/llmmetadata.md +0 -28
- package/docs/models/components/loc.md +0 -17
- package/docs/models/components/meta.md +0 -29
- package/docs/models/components/metadata.md +0 -29
- package/docs/models/components/metadataquery.md +0 -50
- package/docs/models/components/meter.md +0 -40
- package/docs/models/components/meteraggregation.md +0 -57
- package/docs/models/components/metercreate.md +0 -35
- package/docs/models/components/metercreateaggregation.md +0 -57
- package/docs/models/components/metercreatemetadata.md +0 -29
- package/docs/models/components/metercreditedmetadata.md +0 -21
- package/docs/models/components/metercreditevent.md +0 -60
- package/docs/models/components/metermetadata.md +0 -29
- package/docs/models/components/meterquantities.md +0 -19
- package/docs/models/components/meterquantity.md +0 -19
- package/docs/models/components/meterresetevent.md +0 -58
- package/docs/models/components/meterresetmetadata.md +0 -17
- package/docs/models/components/metersortproperty.md +0 -15
- package/docs/models/components/meterupdate.md +0 -19
- package/docs/models/components/meterupdatemetadata.md +0 -29
- package/docs/models/components/metric.md +0 -23
- package/docs/models/components/metricperiod.md +0 -97
- package/docs/models/components/metrics.md +0 -255
- package/docs/models/components/metricsintervallimit.md +0 -19
- package/docs/models/components/metricsintervalslimits.md +0 -37
- package/docs/models/components/metricslimits.md +0 -38
- package/docs/models/components/metricsresponse.md +0 -265
- package/docs/models/components/metricstotals.md +0 -95
- package/docs/models/components/metricstotalsactivesubscriptions.md +0 -17
- package/docs/models/components/metricstotalsactiveuserbyevent.md +0 -17
- package/docs/models/components/metricstotalsaverageordervalue.md +0 -17
- package/docs/models/components/metricstotalsaveragerevenueperuser.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptions.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionscustomerservice.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionslowquality.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionsmissingfeatures.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionsother.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionsswitchedservice.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionstoocomplex.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionstooexpensive.md +0 -17
- package/docs/models/components/metricstotalscanceledsubscriptionsunused.md +0 -17
- package/docs/models/components/metricstotalscashflow.md +0 -17
- package/docs/models/components/metricstotalscheckouts.md +0 -17
- package/docs/models/components/metricstotalscheckoutsconversion.md +0 -17
- package/docs/models/components/metricstotalschurnrate.md +0 -17
- package/docs/models/components/metricstotalscommittedmonthlyrecurringrevenue.md +0 -17
- package/docs/models/components/metricstotalscostperuser.md +0 -17
- package/docs/models/components/metricstotalscosts.md +0 -17
- package/docs/models/components/metricstotalscumulativecosts.md +0 -17
- package/docs/models/components/metricstotalscumulativerevenue.md +0 -17
- package/docs/models/components/metricstotalsgrossmargin.md +0 -17
- package/docs/models/components/metricstotalsgrossmarginpercentage.md +0 -17
- package/docs/models/components/metricstotalsmonthlyrecurringrevenue.md +0 -17
- package/docs/models/components/metricstotalsnetaverageordervalue.md +0 -17
- package/docs/models/components/metricstotalsnetcumulativerevenue.md +0 -17
- package/docs/models/components/metricstotalsnetrevenue.md +0 -17
- package/docs/models/components/metricstotalsnewsubscriptions.md +0 -17
- package/docs/models/components/metricstotalsnewsubscriptionsnetrevenue.md +0 -17
- package/docs/models/components/metricstotalsnewsubscriptionsrevenue.md +0 -17
- package/docs/models/components/metricstotalsonetimeproducts.md +0 -17
- package/docs/models/components/metricstotalsonetimeproductsnetrevenue.md +0 -17
- package/docs/models/components/metricstotalsonetimeproductsrevenue.md +0 -17
- package/docs/models/components/metricstotalsorders.md +0 -17
- package/docs/models/components/metricstotalsrenewedsubscriptions.md +0 -17
- package/docs/models/components/metricstotalsrenewedsubscriptionsnetrevenue.md +0 -17
- package/docs/models/components/metricstotalsrenewedsubscriptionsrevenue.md +0 -17
- package/docs/models/components/metricstotalsrevenue.md +0 -17
- package/docs/models/components/metricstotalssucceededcheckouts.md +0 -17
- package/docs/models/components/metrictype.md +0 -15
- package/docs/models/components/monthlyrecurringrevenue.md +0 -17
- package/docs/models/components/netaverageordervalue.md +0 -17
- package/docs/models/components/netcumulativerevenue.md +0 -17
- package/docs/models/components/netrevenue.md +0 -17
- package/docs/models/components/newsubscriptions.md +0 -17
- package/docs/models/components/newsubscriptionsnetrevenue.md +0 -17
- package/docs/models/components/newsubscriptionsrevenue.md +0 -17
- package/docs/models/components/oauth2clientconfiguration.md +0 -31
- package/docs/models/components/oauth2clientconfigurationupdate.md +0 -33
- package/docs/models/components/oauth2clientconfigurationupdategranttypes.md +0 -15
- package/docs/models/components/oauth2clientconfigurationupdatetokenendpointauthmethod.md +0 -16
- package/docs/models/components/oauth2clientpublic.md +0 -31
- package/docs/models/components/onetimeproducts.md +0 -17
- package/docs/models/components/onetimeproductsnetrevenue.md +0 -17
- package/docs/models/components/onetimeproductsrevenue.md +0 -17
- package/docs/models/components/order.md +0 -181
- package/docs/models/components/orderbillingreason.md +0 -15
- package/docs/models/components/ordercustomer.md +0 -48
- package/docs/models/components/ordercustomermetadata.md +0 -29
- package/docs/models/components/ordercustomertaxid.md +0 -17
- package/docs/models/components/ordercustomfielddata.md +0 -29
- package/docs/models/components/orderdiscount.md +0 -101
- package/docs/models/components/orderinvoice.md +0 -19
- package/docs/models/components/orderitemschema.md +0 -33
- package/docs/models/components/ordermetadata.md +0 -29
- package/docs/models/components/orderpaidevent.md +0 -39
- package/docs/models/components/orderpaidmetadata.md +0 -22
- package/docs/models/components/orderproduct.md +0 -41
- package/docs/models/components/orderproductmetadata.md +0 -29
- package/docs/models/components/orderrefundedevent.md +0 -39
- package/docs/models/components/orderrefundedmetadata.md +0 -22
- package/docs/models/components/orders.md +0 -17
- package/docs/models/components/ordersortproperty.md +0 -15
- package/docs/models/components/orderstatus.md +0 -15
- package/docs/models/components/ordersubscription.md +0 -66
- package/docs/models/components/ordersubscriptionmetadata.md +0 -29
- package/docs/models/components/orderupdate.md +0 -23
- package/docs/models/components/organization.md +0 -67
- package/docs/models/components/organizationavatarfilecreate.md +0 -39
- package/docs/models/components/organizationavatarfileread.md +0 -51
- package/docs/models/components/organizationcreate.md +0 -28
- package/docs/models/components/organizationcustomeremailsettings.md +0 -31
- package/docs/models/components/organizationdetails.md +0 -30
- package/docs/models/components/organizationfeaturesettings.md +0 -18
- package/docs/models/components/organizationnotificationsettings.md +0 -19
- package/docs/models/components/organizationsociallink.md +0 -19
- package/docs/models/components/organizationsocialplatforms.md +0 -15
- package/docs/models/components/organizationsortproperty.md +0 -15
- package/docs/models/components/organizationstatus.md +0 -15
- package/docs/models/components/organizationsubscriptionsettings.md +0 -23
- package/docs/models/components/organizationupdate.md +0 -24
- package/docs/models/components/pagination.md +0 -19
- package/docs/models/components/payment.md +0 -49
- package/docs/models/components/paymentmethodcard.md +0 -34
- package/docs/models/components/paymentmethodcardmetadata.md +0 -24
- package/docs/models/components/paymentmethodgeneric.md +0 -27
- package/docs/models/components/paymentprocessor.md +0 -15
- package/docs/models/components/paymentsortproperty.md +0 -15
- package/docs/models/components/paymentstatus.md +0 -15
- package/docs/models/components/permission.md +0 -17
- package/docs/models/components/prices.md +0 -48
- package/docs/models/components/product.md +0 -117
- package/docs/models/components/productbenefitsupdate.md +0 -22
- package/docs/models/components/productbillingtype.md +0 -15
- package/docs/models/components/productcreate.md +0 -38
- package/docs/models/components/productcreateonetime.md +0 -32
- package/docs/models/components/productcreateonetimemetadata.md +0 -29
- package/docs/models/components/productcreateonetimeprices.md +0 -56
- package/docs/models/components/productcreaterecurring.md +0 -37
- package/docs/models/components/productcreaterecurringmetadata.md +0 -29
- package/docs/models/components/productcreaterecurringprices.md +0 -56
- package/docs/models/components/productmediafilecreate.md +0 -39
- package/docs/models/components/productmediafileread.md +0 -51
- package/docs/models/components/productmetadata.md +0 -29
- package/docs/models/components/productprice.md +0 -103
- package/docs/models/components/productpricecustom.md +0 -41
- package/docs/models/components/productpricecustomcreate.md +0 -23
- package/docs/models/components/productpricefixed.md +0 -37
- package/docs/models/components/productpricefixedcreate.md +0 -22
- package/docs/models/components/productpricefree.md +0 -33
- package/docs/models/components/productpricefreecreate.md +0 -19
- package/docs/models/components/productpricemeter.md +0 -21
- package/docs/models/components/productpricemeteredunit.md +0 -46
- package/docs/models/components/productpricemeteredunitcreate.md +0 -25
- package/docs/models/components/productpriceseatbased.md +0 -44
- package/docs/models/components/productpriceseatbasedcreate.md +0 -29
- package/docs/models/components/productpriceseattier.md +0 -22
- package/docs/models/components/productpriceseattiers.md +0 -19
- package/docs/models/components/productpricetype.md +0 -15
- package/docs/models/components/productsortproperty.md +0 -15
- package/docs/models/components/productupdate.md +0 -27
- package/docs/models/components/productupdatemetadata.md +0 -29
- package/docs/models/components/productupdateprices.md +0 -23
- package/docs/models/components/properties.md +0 -35
- package/docs/models/components/propertyaggregation.md +0 -19
- package/docs/models/components/refreshtokenrequest.md +0 -23
- package/docs/models/components/refund.md +0 -43
- package/docs/models/components/refundcreate.md +0 -24
- package/docs/models/components/refundcreatemetadata.md +0 -29
- package/docs/models/components/refundmetadata.md +0 -29
- package/docs/models/components/refundreason.md +0 -15
- package/docs/models/components/refundsortproperty.md +0 -15
- package/docs/models/components/refundstatus.md +0 -15
- package/docs/models/components/renewedsubscriptions.md +0 -17
- package/docs/models/components/renewedsubscriptionsnetrevenue.md +0 -17
- package/docs/models/components/renewedsubscriptionsrevenue.md +0 -17
- package/docs/models/components/revenue.md +0 -17
- package/docs/models/components/revoketokenrequest.md +0 -22
- package/docs/models/components/revoketokenresponse.md +0 -14
- package/docs/models/components/s3downloadurl.md +0 -20
- package/docs/models/components/s3filecreatemultipart.md +0 -17
- package/docs/models/components/s3filecreatepart.md +0 -22
- package/docs/models/components/s3fileuploadcompletedpart.md +0 -21
- package/docs/models/components/s3fileuploadmultipart.md +0 -21
- package/docs/models/components/s3fileuploadpart.md +0 -27
- package/docs/models/components/scope.md +0 -15
- package/docs/models/components/seatassign.md +0 -22
- package/docs/models/components/seatclaim.md +0 -17
- package/docs/models/components/seatclaiminfo.md +0 -30
- package/docs/models/components/seatslist.md +0 -28
- package/docs/models/components/seatstatus.md +0 -15
- package/docs/models/components/security.md +0 -15
- package/docs/models/components/status.md +0 -15
- package/docs/models/components/subscription.md +0 -170
- package/docs/models/components/subscriptioncancel.md +0 -19
- package/docs/models/components/subscriptioncreatecustomer.md +0 -22
- package/docs/models/components/subscriptioncreatecustomermetadata.md +0 -29
- package/docs/models/components/subscriptioncreateexternalcustomer.md +0 -22
- package/docs/models/components/subscriptioncreateexternalcustomermetadata.md +0 -29
- package/docs/models/components/subscriptioncustomer.md +0 -48
- package/docs/models/components/subscriptioncustomermetadata.md +0 -29
- package/docs/models/components/subscriptioncycledevent.md +0 -58
- package/docs/models/components/subscriptioncycledmetadata.md +0 -17
- package/docs/models/components/subscriptiondiscount.md +0 -101
- package/docs/models/components/subscriptionmeter.md +0 -50
- package/docs/models/components/subscriptionprices.md +0 -48
- package/docs/models/components/subscriptionproductupdatedevent.md +0 -60
- package/docs/models/components/subscriptionproductupdatedmetadata.md +0 -21
- package/docs/models/components/subscriptionprorationbehavior.md +0 -15
- package/docs/models/components/subscriptionrecurringinterval.md +0 -15
- package/docs/models/components/subscriptionrevoke.md +0 -19
- package/docs/models/components/subscriptionrevokedevent.md +0 -58
- package/docs/models/components/subscriptionrevokedmetadata.md +0 -17
- package/docs/models/components/subscriptionsortproperty.md +0 -15
- package/docs/models/components/subscriptionstatus.md +0 -15
- package/docs/models/components/subscriptionupdate.md +0 -53
- package/docs/models/components/subscriptionupdatediscount.md +0 -17
- package/docs/models/components/subscriptionupdateproduct.md +0 -18
- package/docs/models/components/subscriptionupdateseats.md +0 -18
- package/docs/models/components/subscriptionupdatetrial.md +0 -17
- package/docs/models/components/subtype.md +0 -15
- package/docs/models/components/succeededcheckouts.md +0 -17
- package/docs/models/components/switchingfrom.md +0 -15
- package/docs/models/components/systemevent.md +0 -535
- package/docs/models/components/taxid.md +0 -17
- package/docs/models/components/taxidformat.md +0 -19
- package/docs/models/components/timeframe.md +0 -15
- package/docs/models/components/timeinterval.md +0 -15
- package/docs/models/components/tokenendpointauthmethod.md +0 -15
- package/docs/models/components/tokenresponse.md +0 -27
- package/docs/models/components/tokentype.md +0 -15
- package/docs/models/components/tokentypehint.md +0 -15
- package/docs/models/components/trialinterval.md +0 -15
- package/docs/models/components/two.md +0 -56
- package/docs/models/components/uniqueaggregation.md +0 -18
- package/docs/models/components/unitamount.md +0 -19
- package/docs/models/components/userevent.md +0 -56
- package/docs/models/components/userinfoorganization.md +0 -18
- package/docs/models/components/userinfouser.md +0 -20
- package/docs/models/components/validatedlicensekey.md +0 -69
- package/docs/models/components/validationerror.md +0 -23
- package/docs/models/components/value.md +0 -23
- package/docs/models/components/wallet.md +0 -31
- package/docs/models/components/walletsortproperty.md +0 -15
- package/docs/models/components/wallettopupcreate.md +0 -21
- package/docs/models/components/webhookbenefitcreatedpayload.md +0 -48
- package/docs/models/components/webhookbenefitgrantcreatedpayload.md +0 -81
- package/docs/models/components/webhookbenefitgrantcycledpayload.md +0 -77
- package/docs/models/components/webhookbenefitgrantrevokedpayload.md +0 -81
- package/docs/models/components/webhookbenefitgrantupdatedpayload.md +0 -72
- package/docs/models/components/webhookbenefitupdatedpayload.md +0 -42
- package/docs/models/components/webhookcheckoutcreatedpayload.md +0 -195
- package/docs/models/components/webhookcheckoutupdatedpayload.md +0 -195
- package/docs/models/components/webhookcustomercreatedpayload.md +0 -51
- package/docs/models/components/webhookcustomerdeletedpayload.md +0 -46
- package/docs/models/components/webhookcustomerseatassignedpayload.md +0 -31
- package/docs/models/components/webhookcustomerseatclaimedpayload.md +0 -30
- package/docs/models/components/webhookcustomerseatrevokedpayload.md +0 -30
- package/docs/models/components/webhookcustomerstatechangedpayload.md +0 -76
- package/docs/models/components/webhookcustomerupdatedpayload.md +0 -50
- package/docs/models/components/webhookdelivery.md +0 -38
- package/docs/models/components/webhookendpoint.md +0 -37
- package/docs/models/components/webhookendpointcreate.md +0 -28
- package/docs/models/components/webhookendpointupdate.md +0 -23
- package/docs/models/components/webhookevent.md +0 -37
- package/docs/models/components/webhookeventtype.md +0 -15
- package/docs/models/components/webhookformat.md +0 -15
- package/docs/models/components/webhookordercreatedpayload.md +0 -153
- package/docs/models/components/webhookorderpaidpayload.md +0 -146
- package/docs/models/components/webhookorderrefundedpayload.md +0 -144
- package/docs/models/components/webhookorderupdatedpayload.md +0 -149
- package/docs/models/components/webhookorganizationupdatedpayload.md +0 -63
- package/docs/models/components/webhookproductcreatedpayload.md +0 -112
- package/docs/models/components/webhookproductupdatedpayload.md +0 -112
- package/docs/models/components/webhookrefundcreatedpayload.md +0 -40
- package/docs/models/components/webhookrefundupdatedpayload.md +0 -40
- package/docs/models/components/webhooksubscriptionactivepayload.md +0 -155
- package/docs/models/components/webhooksubscriptioncanceledpayload.md +0 -155
- package/docs/models/components/webhooksubscriptioncreatedpayload.md +0 -156
- package/docs/models/components/webhooksubscriptionrevokedpayload.md +0 -155
- package/docs/models/components/webhooksubscriptionuncanceledpayload.md +0 -154
- package/docs/models/components/webhooksubscriptionupdatedpayload.md +0 -158
- package/docs/models/components/webtokenrequest.md +0 -26
- package/docs/models/components/webtokenrequestsubtype.md +0 -15
- package/docs/models/errors/alreadyactivesubscriptionerror.md +0 -16
- package/docs/models/errors/alreadycanceledsubscription.md +0 -16
- package/docs/models/errors/checkoutforbiddenerror.md +0 -32
- package/docs/models/errors/customernotready.md +0 -16
- package/docs/models/errors/customerportalordersgenerateinvoiceresponse422customerportalordersgenerateinvoice.md +0 -25
- package/docs/models/errors/expiredcheckouterror.md +0 -16
- package/docs/models/errors/httpvalidationerror.md +0 -15
- package/docs/models/errors/missinginvoicebillingdetails.md +0 -16
- package/docs/models/errors/missingpaymentmethoderror.md +0 -16
- package/docs/models/errors/notopencheckout.md +0 -16
- package/docs/models/errors/notpaidorder.md +0 -16
- package/docs/models/errors/notpermitted.md +0 -16
- package/docs/models/errors/ordernoteligibleforretry.md +0 -16
- package/docs/models/errors/ordersgenerateinvoiceresponse422ordersgenerateinvoice.md +0 -25
- package/docs/models/errors/paymentalreadyinprogress.md +0 -16
- package/docs/models/errors/paymenterror.md +0 -16
- package/docs/models/errors/paymentintentfailederror.md +0 -16
- package/docs/models/errors/paymentmethodinusebyactivesubscription.md +0 -16
- package/docs/models/errors/paymentnotready.md +0 -16
- package/docs/models/errors/refundamounttoohigh.md +0 -16
- package/docs/models/errors/refundedalready.md +0 -16
- package/docs/models/errors/resourcenotfound.md +0 -16
- package/docs/models/errors/subscriptionlocked.md +0 -16
- package/docs/models/errors/unauthorized.md +0 -16
- package/docs/models/operations/benefitgrantslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/benefitgrantslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/benefitgrantslistrequest.md +0 -22
- package/docs/models/operations/benefitgrantslistresponse.md +0 -23
- package/docs/models/operations/benefitidfilter.md +0 -22
- package/docs/models/operations/benefitsdeleterequest.md +0 -17
- package/docs/models/operations/benefitsgetrequest.md +0 -17
- package/docs/models/operations/benefitsgrantsrequest.md +0 -21
- package/docs/models/operations/benefitsgrantsresponse.md +0 -23
- package/docs/models/operations/benefitslistrequest.md +0 -23
- package/docs/models/operations/benefitslistresponse.md +0 -23
- package/docs/models/operations/benefitsupdatebenefitupdate.md +0 -58
- package/docs/models/operations/benefitsupdaterequest.md +0 -21
- package/docs/models/operations/benefittypefilter.md +0 -19
- package/docs/models/operations/checkoutidfilter.md +0 -22
- package/docs/models/operations/checkoutlinksdeleterequest.md +0 -17
- package/docs/models/operations/checkoutlinksgetrequest.md +0 -17
- package/docs/models/operations/checkoutlinkslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/checkoutlinkslistqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/checkoutlinkslistrequest.md +0 -21
- package/docs/models/operations/checkoutlinkslistresponse.md +0 -23
- package/docs/models/operations/checkoutlinksupdaterequest.md +0 -19
- package/docs/models/operations/checkoutsclientconfirmrequest.md +0 -23
- package/docs/models/operations/checkoutsclientgetrequest.md +0 -17
- package/docs/models/operations/checkoutsclientupdaterequest.md +0 -23
- package/docs/models/operations/checkoutsgetrequest.md +0 -17
- package/docs/models/operations/checkoutslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/checkoutslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/checkoutslistqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/checkoutslistrequest.md +0 -24
- package/docs/models/operations/checkoutslistresponse.md +0 -23
- package/docs/models/operations/checkoutsupdaterequest.md +0 -23
- package/docs/models/operations/customeremailfilter.md +0 -22
- package/docs/models/operations/customeridfilter.md +0 -22
- package/docs/models/operations/customermetersgetrequest.md +0 -17
- package/docs/models/operations/customermeterslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/customermeterslistqueryparamexternalcustomeridfilter.md +0 -22
- package/docs/models/operations/customermeterslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/customermeterslistrequest.md +0 -23
- package/docs/models/operations/customermeterslistresponse.md +0 -74
- package/docs/models/operations/customerportalbenefitgrantsgetrequest.md +0 -17
- package/docs/models/operations/customerportalbenefitgrantsgetsecurity.md +0 -17
- package/docs/models/operations/customerportalbenefitgrantslistqueryparambenefitidfilter.md +0 -22
- package/docs/models/operations/customerportalbenefitgrantslistrequest.md +0 -22
- package/docs/models/operations/customerportalbenefitgrantslistresponse.md +0 -106
- package/docs/models/operations/customerportalbenefitgrantslistsecurity.md +0 -17
- package/docs/models/operations/customerportalbenefitgrantsupdaterequest.md +0 -21
- package/docs/models/operations/customerportalbenefitgrantsupdatesecurity.md +0 -17
- package/docs/models/operations/customerportalcustomermetersgetrequest.md +0 -17
- package/docs/models/operations/customerportalcustomermetersgetsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomermeterslistrequest.md +0 -19
- package/docs/models/operations/customerportalcustomermeterslistresponse.md +0 -40
- package/docs/models/operations/customerportalcustomermeterslistsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersaddpaymentmethodsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersconfirmpaymentmethodsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersdeletepaymentmethodrequest.md +0 -17
- package/docs/models/operations/customerportalcustomersdeletepaymentmethodsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersessionintrospectsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersgetsecurity.md +0 -17
- package/docs/models/operations/customerportalcustomerslistpaymentmethodsrequest.md +0 -16
- package/docs/models/operations/customerportalcustomerslistpaymentmethodsresponse.md +0 -23
- package/docs/models/operations/customerportalcustomerslistpaymentmethodssecurity.md +0 -17
- package/docs/models/operations/customerportalcustomersupdatesecurity.md +0 -17
- package/docs/models/operations/customerportaldownloadableslistqueryparambenefitidfilter.md +0 -22
- package/docs/models/operations/customerportaldownloadableslistrequest.md +0 -17
- package/docs/models/operations/customerportaldownloadableslistresponse.md +0 -23
- package/docs/models/operations/customerportaldownloadableslistsecurity.md +0 -17
- package/docs/models/operations/customerportallicensekeysgetrequest.md +0 -17
- package/docs/models/operations/customerportallicensekeysgetsecurity.md +0 -17
- package/docs/models/operations/customerportallicensekeyslistrequest.md +0 -17
- package/docs/models/operations/customerportallicensekeyslistresponse.md +0 -23
- package/docs/models/operations/customerportallicensekeyslistsecurity.md +0 -17
- package/docs/models/operations/customerportalordersconfirmretrypaymentrequest.md +0 -19
- package/docs/models/operations/customerportalordersconfirmretrypaymentsecurity.md +0 -17
- package/docs/models/operations/customerportalordersgenerateinvoicerequest.md +0 -17
- package/docs/models/operations/customerportalordersgenerateinvoicesecurity.md +0 -17
- package/docs/models/operations/customerportalordersgetpaymentstatusrequest.md +0 -17
- package/docs/models/operations/customerportalordersgetpaymentstatussecurity.md +0 -17
- package/docs/models/operations/customerportalordersgetrequest.md +0 -17
- package/docs/models/operations/customerportalordersgetsecurity.md +0 -17
- package/docs/models/operations/customerportalordersinvoicerequest.md +0 -17
- package/docs/models/operations/customerportalordersinvoicesecurity.md +0 -17
- package/docs/models/operations/customerportalorderslistqueryparamproductbillingtypefilter.md +0 -19
- package/docs/models/operations/customerportalorderslistqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/customerportalorderslistqueryparamsubscriptionidfilter.md +0 -22
- package/docs/models/operations/customerportalorderslistrequest.md +0 -21
- package/docs/models/operations/customerportalorderslistresponse.md +0 -23
- package/docs/models/operations/customerportalorderslistsecurity.md +0 -17
- package/docs/models/operations/customerportalordersupdaterequest.md +0 -24
- package/docs/models/operations/customerportalordersupdatesecurity.md +0 -17
- package/docs/models/operations/customerportalorganizationsgetrequest.md +0 -17
- package/docs/models/operations/customerportalseatsassignseatsecurity.md +0 -17
- package/docs/models/operations/customerportalseatslistclaimedsubscriptionssecurity.md +0 -17
- package/docs/models/operations/customerportalseatslistseatsrequest.md +0 -16
- package/docs/models/operations/customerportalseatslistseatssecurity.md +0 -17
- package/docs/models/operations/customerportalseatsresendinvitationrequest.md +0 -17
- package/docs/models/operations/customerportalseatsresendinvitationsecurity.md +0 -17
- package/docs/models/operations/customerportalseatsrevokeseatrequest.md +0 -17
- package/docs/models/operations/customerportalseatsrevokeseatsecurity.md +0 -17
- package/docs/models/operations/customerportalsubscriptionscancelrequest.md +0 -17
- package/docs/models/operations/customerportalsubscriptionscancelsecurity.md +0 -17
- package/docs/models/operations/customerportalsubscriptionsgetrequest.md +0 -17
- package/docs/models/operations/customerportalsubscriptionsgetsecurity.md +0 -17
- package/docs/models/operations/customerportalsubscriptionslistqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/customerportalsubscriptionslistrequest.md +0 -20
- package/docs/models/operations/customerportalsubscriptionslistresponse.md +0 -115
- package/docs/models/operations/customerportalsubscriptionslistsecurity.md +0 -17
- package/docs/models/operations/customerportalsubscriptionsupdaterequest.md +0 -21
- package/docs/models/operations/customerportalsubscriptionsupdatesecurity.md +0 -17
- package/docs/models/operations/customerportalwalletsgetrequest.md +0 -17
- package/docs/models/operations/customerportalwalletsgetsecurity.md +0 -17
- package/docs/models/operations/customerportalwalletslistrequest.md +0 -17
- package/docs/models/operations/customerportalwalletslistresponse.md +0 -32
- package/docs/models/operations/customerportalwalletslistsecurity.md +0 -17
- package/docs/models/operations/customersdeleteexternalrequest.md +0 -17
- package/docs/models/operations/customersdeleterequest.md +0 -17
- package/docs/models/operations/customerseatsgetclaiminforequest.md +0 -17
- package/docs/models/operations/customerseatslistseatsrequest.md +0 -16
- package/docs/models/operations/customerseatsresendinvitationrequest.md +0 -17
- package/docs/models/operations/customerseatsrevokeseatrequest.md +0 -17
- package/docs/models/operations/customersessionscreatecustomersessioncreate.md +0 -23
- package/docs/models/operations/customersexportqueryparamorganizationid.md +0 -21
- package/docs/models/operations/customersexportrequest.md +0 -17
- package/docs/models/operations/customersgetbalancerequest.md +0 -17
- package/docs/models/operations/customersgetexternalrequest.md +0 -17
- package/docs/models/operations/customersgetrequest.md +0 -17
- package/docs/models/operations/customersgetstateexternalrequest.md +0 -17
- package/docs/models/operations/customersgetstaterequest.md +0 -17
- package/docs/models/operations/customerslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/customerslistrequest.md +0 -23
- package/docs/models/operations/customerslistresponse.md +0 -23
- package/docs/models/operations/customersupdateexternalrequest.md +0 -29
- package/docs/models/operations/customersupdaterequest.md +0 -30
- package/docs/models/operations/customfieldsdeleterequest.md +0 -17
- package/docs/models/operations/customfieldsgetrequest.md +0 -17
- package/docs/models/operations/customfieldslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/customfieldslistrequest.md +0 -22
- package/docs/models/operations/customfieldslistresponse.md +0 -37
- package/docs/models/operations/customfieldsupdaterequest.md +0 -21
- package/docs/models/operations/customfieldtypefilter.md +0 -21
- package/docs/models/operations/discountidfilter.md +0 -22
- package/docs/models/operations/discountsdeleterequest.md +0 -17
- package/docs/models/operations/discountsgetrequest.md +0 -17
- package/docs/models/operations/discountslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/discountslistrequest.md +0 -21
- package/docs/models/operations/discountslistresponse.md +0 -23
- package/docs/models/operations/discountsupdaterequest.md +0 -19
- package/docs/models/operations/endpointid.md +0 -22
- package/docs/models/operations/eventsgetrequest.md +0 -17
- package/docs/models/operations/eventslistnamesqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/eventslistnamesqueryparamexternalcustomeridfilter.md +0 -22
- package/docs/models/operations/eventslistnamesqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/eventslistnamesrequest.md +0 -24
- package/docs/models/operations/eventslistnamesresponse.md +0 -23
- package/docs/models/operations/eventslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/eventslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/eventslistrequest.md +0 -30
- package/docs/models/operations/eventslistresponse.md +0 -56
- package/docs/models/operations/externalcustomeridfilter.md +0 -22
- package/docs/models/operations/fileidfilter.md +0 -22
- package/docs/models/operations/filesdeleterequest.md +0 -17
- package/docs/models/operations/fileslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/fileslistrequest.md +0 -20
- package/docs/models/operations/fileslistresponse.md +0 -23
- package/docs/models/operations/filesupdaterequest.md +0 -19
- package/docs/models/operations/filesupdateresponsefilesupdate.md +0 -78
- package/docs/models/operations/filesuploadedrequest.md +0 -23
- package/docs/models/operations/filesuploadedresponsefilesuploaded.md +0 -78
- package/docs/models/operations/licensekeysgetactivationrequest.md +0 -19
- package/docs/models/operations/licensekeysgetrequest.md +0 -17
- package/docs/models/operations/licensekeyslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/licensekeyslistrequest.md +0 -20
- package/docs/models/operations/licensekeyslistresponse.md +0 -23
- package/docs/models/operations/licensekeysupdaterequest.md +0 -19
- package/docs/models/operations/meteridfilter.md +0 -22
- package/docs/models/operations/metersgetrequest.md +0 -17
- package/docs/models/operations/meterslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/meterslistrequest.md +0 -23
- package/docs/models/operations/meterslistresponse.md +0 -23
- package/docs/models/operations/metersquantitiesqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/metersquantitiesqueryparamexternalcustomeridfilter.md +0 -22
- package/docs/models/operations/metersquantitiesrequest.md +0 -27
- package/docs/models/operations/metersupdaterequest.md +0 -19
- package/docs/models/operations/methodfilter.md +0 -22
- package/docs/models/operations/metricsgetqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/metricsgetqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/metricsgetqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/metricsgetrequest.md +0 -28
- package/docs/models/operations/namefilter.md +0 -22
- package/docs/models/operations/oauth2authorizeresponseoauth2authorize.md +0 -56
- package/docs/models/operations/oauth2clientsoauth2deleteclientrequest.md +0 -17
- package/docs/models/operations/oauth2clientsoauth2getclientrequest.md +0 -17
- package/docs/models/operations/oauth2clientsoauth2updateclientrequest.md +0 -26
- package/docs/models/operations/oauth2requesttokenrequestbody.md +0 -39
- package/docs/models/operations/oauth2userinforesponseoauth2userinfo.md +0 -23
- package/docs/models/operations/orderidfilter.md +0 -22
- package/docs/models/operations/ordersexportqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/ordersexportqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/ordersexportrequest.md +0 -18
- package/docs/models/operations/ordersgenerateinvoicerequest.md +0 -17
- package/docs/models/operations/ordersgetrequest.md +0 -17
- package/docs/models/operations/ordersinvoicerequest.md +0 -17
- package/docs/models/operations/orderslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/orderslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/orderslistqueryparamproductidfilter.md +0 -22
- package/docs/models/operations/orderslistrequest.md +0 -26
- package/docs/models/operations/orderslistresponse.md +0 -142
- package/docs/models/operations/ordersupdaterequest.md +0 -24
- package/docs/models/operations/organizationid.md +0 -21
- package/docs/models/operations/organizationidfilter.md +0 -21
- package/docs/models/operations/organizationsgetrequest.md +0 -17
- package/docs/models/operations/organizationslistrequest.md +0 -18
- package/docs/models/operations/organizationslistresponse.md +0 -23
- package/docs/models/operations/organizationsupdaterequest.md +0 -19
- package/docs/models/operations/paymentsgetrequest.md +0 -17
- package/docs/models/operations/paymentslistqueryparamcheckoutidfilter.md +0 -22
- package/docs/models/operations/paymentslistqueryparamorderidfilter.md +0 -22
- package/docs/models/operations/paymentslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/paymentslistrequest.md +0 -25
- package/docs/models/operations/paymentslistresponse.md +0 -39
- package/docs/models/operations/productbillingtypefilter.md +0 -19
- package/docs/models/operations/productidfilter.md +0 -22
- package/docs/models/operations/productsgetrequest.md +0 -17
- package/docs/models/operations/productslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/productslistrequest.md +0 -26
- package/docs/models/operations/productslistresponse.md +0 -79
- package/docs/models/operations/productsupdatebenefitsrequest.md +0 -23
- package/docs/models/operations/productsupdaterequest.md +0 -19
- package/docs/models/operations/queryparambenefitidfilter.md +0 -22
- package/docs/models/operations/queryparambenefittypefilter.md +0 -19
- package/docs/models/operations/queryparamcheckoutidfilter.md +0 -22
- package/docs/models/operations/queryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/queryparamdiscountidfilter.md +0 -22
- package/docs/models/operations/queryparamexternalcustomeridfilter.md +0 -22
- package/docs/models/operations/queryparammeteridfilter.md +0 -22
- package/docs/models/operations/queryparamorderidfilter.md +0 -22
- package/docs/models/operations/queryparamorganizationid.md +0 -21
- package/docs/models/operations/queryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/queryparamproductbillingtypefilter.md +0 -19
- package/docs/models/operations/queryparamproductidfilter.md +0 -22
- package/docs/models/operations/queryparamsourcefilter.md +0 -19
- package/docs/models/operations/queryparamstatusfilter.md +0 -21
- package/docs/models/operations/queryparamsubscriptionidfilter.md +0 -22
- package/docs/models/operations/refundidfilter.md +0 -22
- package/docs/models/operations/refundslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/refundslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/refundslistrequest.md +0 -25
- package/docs/models/operations/refundslistresponse.md +0 -42
- package/docs/models/operations/sourcefilter.md +0 -19
- package/docs/models/operations/statusfilter.md +0 -21
- package/docs/models/operations/subscriptionidfilter.md +0 -22
- package/docs/models/operations/subscriptionscreatesubscriptioncreate.md +0 -23
- package/docs/models/operations/subscriptionsexportrequest.md +0 -17
- package/docs/models/operations/subscriptionsgetrequest.md +0 -17
- package/docs/models/operations/subscriptionslistrequest.md +0 -26
- package/docs/models/operations/subscriptionslistresponse.md +0 -23
- package/docs/models/operations/subscriptionsrevokerequest.md +0 -17
- package/docs/models/operations/subscriptionsupdaterequest.md +0 -21
- package/docs/models/operations/walletsgetrequest.md +0 -17
- package/docs/models/operations/walletslistqueryparamcustomeridfilter.md +0 -22
- package/docs/models/operations/walletslistqueryparamorganizationidfilter.md +0 -21
- package/docs/models/operations/walletslistrequest.md +0 -21
- package/docs/models/operations/walletslistresponse.md +0 -23
- package/docs/models/operations/walletstopuprequest.md +0 -22
- package/docs/models/operations/webhooksdeletewebhookendpointrequest.md +0 -17
- package/docs/models/operations/webhooksgetwebhookendpointrequest.md +0 -17
- package/docs/models/operations/webhookslistwebhookdeliveriesrequest.md +0 -19
- package/docs/models/operations/webhookslistwebhookdeliveriesresponse.md +0 -23
- package/docs/models/operations/webhookslistwebhookendpointsrequest.md +0 -19
- package/docs/models/operations/webhookslistwebhookendpointsresponse.md +0 -35
- package/docs/models/operations/webhooksredeliverwebhookeventrequest.md +0 -17
- package/docs/models/operations/webhooksresetwebhookendpointsecretrequest.md +0 -17
- package/docs/models/operations/webhooksupdatewebhookendpointrequest.md +0 -21
- package/docs/sdks/benefitgrants/README.md +0 -88
- package/docs/sdks/benefits/README.md +0 -500
- package/docs/sdks/checkoutlinks/README.md +0 -407
- package/docs/sdks/checkouts/README.md +0 -600
- package/docs/sdks/clients/README.md +0 -331
- package/docs/sdks/customermeters/README.md +0 -166
- package/docs/sdks/customers/README.md +0 -1036
- package/docs/sdks/customerseats/README.md +0 -441
- package/docs/sdks/customersession/README.md +0 -79
- package/docs/sdks/customersessions/README.md +0 -84
- package/docs/sdks/customfields/README.md +0 -417
- package/docs/sdks/discounts/README.md +0 -409
- package/docs/sdks/downloadables/README.md +0 -83
- package/docs/sdks/events/README.md +0 -324
- package/docs/sdks/files/README.md +0 -460
- package/docs/sdks/licensekeys/README.md +0 -576
- package/docs/sdks/meters/README.md +0 -437
- package/docs/sdks/metrics/README.md +0 -165
- package/docs/sdks/oauth2/README.md +0 -371
- package/docs/sdks/orders/README.md +0 -489
- package/docs/sdks/organizations/README.md +0 -322
- package/docs/sdks/payments/README.md +0 -166
- package/docs/sdks/polarbenefitgrants/README.md +0 -250
- package/docs/sdks/polarcustomermeters/README.md +0 -164
- package/docs/sdks/polarcustomers/README.md +0 -482
- package/docs/sdks/polarlicensekeys/README.md +0 -406
- package/docs/sdks/polarorders/README.md +0 -574
- package/docs/sdks/polarorganizations/README.md +0 -79
- package/docs/sdks/polarsubscriptions/README.md +0 -326
- package/docs/sdks/polarwallets/README.md +0 -164
- package/docs/sdks/products/README.md +0 -441
- package/docs/sdks/refunds/README.md +0 -171
- package/docs/sdks/seats/README.md +0 -379
- package/docs/sdks/subscriptions/README.md +0 -493
- package/docs/sdks/wallets/README.md +0 -256
- package/docs/sdks/webhooks/README.md +0 -650
- package/docs/types/rfcdate.md +0 -11
- package/eslint.config.mjs +0 -22
- package/examples/.env.template +0 -14
- package/examples/README.md +0 -31
- package/examples/core copy.ts +0 -13
- package/examples/core.ts +0 -13
- package/examples/funcs/benefitGrantsList.ts +0 -261
- package/examples/funcs/benefitsCreate.ts +0 -181
- package/examples/funcs/benefitsDelete.ts +0 -204
- package/examples/funcs/benefitsGet.ts +0 -195
- package/examples/funcs/benefitsGrants.ts +0 -277
- package/examples/funcs/benefitsList.ts +0 -270
- package/examples/funcs/benefitsUpdate.ts +0 -196
- package/examples/funcs/checkoutLinksCreate.ts +0 -181
- package/examples/funcs/checkoutLinksDelete.ts +0 -192
- package/examples/funcs/checkoutLinksGet.ts +0 -195
- package/examples/funcs/checkoutLinksList.ts +0 -260
- package/examples/funcs/checkoutLinksUpdate.ts +0 -198
- package/examples/funcs/checkoutsClientConfirm.ts +0 -224
- package/examples/funcs/checkoutsClientGet.ts +0 -195
- package/examples/funcs/checkoutsClientUpdate.ts +0 -206
- package/examples/funcs/checkoutsCreate.ts +0 -181
- package/examples/funcs/checkoutsGet.ts +0 -195
- package/examples/funcs/checkoutsList.ts +0 -263
- package/examples/funcs/checkoutsUpdate.ts +0 -204
- package/examples/funcs/customFieldsCreate.ts +0 -181
- package/examples/funcs/customFieldsDelete.ts +0 -192
- package/examples/funcs/customFieldsGet.ts +0 -195
- package/examples/funcs/customFieldsList.ts +0 -261
- package/examples/funcs/customFieldsUpdate.ts +0 -196
- package/examples/funcs/customerMetersGet.ts +0 -195
- package/examples/funcs/customerMetersList.ts +0 -262
- package/examples/funcs/customerPortalBenefitGrantsGet.ts +0 -208
- package/examples/funcs/customerPortalBenefitGrantsList.ts +0 -277
- package/examples/funcs/customerPortalBenefitGrantsUpdate.ts +0 -219
- package/examples/funcs/customerPortalCustomerMetersGet.ts +0 -206
- package/examples/funcs/customerPortalCustomerMetersList.ts +0 -274
- package/examples/funcs/customerPortalCustomerSessionIntrospect.ts +0 -157
- package/examples/funcs/customerPortalCustomersAddPaymentMethod.ts +0 -191
- package/examples/funcs/customerPortalCustomersConfirmPaymentMethod.ts +0 -201
- package/examples/funcs/customerPortalCustomersDeletePaymentMethod.ts +0 -215
- package/examples/funcs/customerPortalCustomersGet.ts +0 -157
- package/examples/funcs/customerPortalCustomersListPaymentMethods.ts +0 -275
- package/examples/funcs/customerPortalCustomersUpdate.ts +0 -191
- package/examples/funcs/customerPortalDownloadablesList.ts +0 -270
- package/examples/funcs/customerPortalLicenseKeysActivate.ts +0 -194
- package/examples/funcs/customerPortalLicenseKeysDeactivate.ts +0 -183
- package/examples/funcs/customerPortalLicenseKeysGet.ts +0 -205
- package/examples/funcs/customerPortalLicenseKeysList.ts +0 -287
- package/examples/funcs/customerPortalLicenseKeysValidate.ts +0 -186
- package/examples/funcs/customerPortalOrdersConfirmRetryPayment.ts +0 -221
- package/examples/funcs/customerPortalOrdersGenerateInvoice.ts +0 -200
- package/examples/funcs/customerPortalOrdersGet.ts +0 -205
- package/examples/funcs/customerPortalOrdersGetPaymentStatus.ts +0 -208
- package/examples/funcs/customerPortalOrdersInvoice.ts +0 -207
- package/examples/funcs/customerPortalOrdersList.ts +0 -275
- package/examples/funcs/customerPortalOrdersUpdate.ts +0 -208
- package/examples/funcs/customerPortalOrganizationsGet.ts +0 -190
- package/examples/funcs/customerPortalSeatsAssignSeat.ts +0 -189
- package/examples/funcs/customerPortalSeatsListClaimedSubscriptions.ts +0 -158
- package/examples/funcs/customerPortalSeatsListSeats.ts +0 -194
- package/examples/funcs/customerPortalSeatsResendInvitation.ts +0 -198
- package/examples/funcs/customerPortalSeatsRevokeSeat.ts +0 -195
- package/examples/funcs/customerPortalSubscriptionsCancel.ts +0 -214
- package/examples/funcs/customerPortalSubscriptionsGet.ts +0 -206
- package/examples/funcs/customerPortalSubscriptionsList.ts +0 -275
- package/examples/funcs/customerPortalSubscriptionsUpdate.ts +0 -217
- package/examples/funcs/customerPortalWalletsGet.ts +0 -205
- package/examples/funcs/customerPortalWalletsList.ts +0 -271
- package/examples/funcs/customerSeatsAssignSeat.ts +0 -179
- package/examples/funcs/customerSeatsClaimSeat.ts +0 -170
- package/examples/funcs/customerSeatsGetClaimInfo.ts +0 -179
- package/examples/funcs/customerSeatsListSeats.ts +0 -184
- package/examples/funcs/customerSeatsResendInvitation.ts +0 -185
- package/examples/funcs/customerSeatsRevokeSeat.ts +0 -185
- package/examples/funcs/customerSessionsCreate.ts +0 -182
- package/examples/funcs/customersCreate.ts +0 -181
- package/examples/funcs/customersDelete.ts +0 -204
- package/examples/funcs/customersDeleteExternal.ts +0 -194
- package/examples/funcs/customersExport.ts +0 -182
- package/examples/funcs/customersGet.ts +0 -195
- package/examples/funcs/customersGetBalance.ts +0 -195
- package/examples/funcs/customersGetExternal.ts +0 -195
- package/examples/funcs/customersGetState.ts +0 -201
- package/examples/funcs/customersGetStateExternal.ts +0 -203
- package/examples/funcs/customersList.ts +0 -270
- package/examples/funcs/customersUpdate.ts +0 -196
- package/examples/funcs/customersUpdateExternal.ts +0 -198
- package/examples/funcs/discountsCreate.ts +0 -181
- package/examples/funcs/discountsDelete.ts +0 -192
- package/examples/funcs/discountsGet.ts +0 -195
- package/examples/funcs/discountsList.ts +0 -260
- package/examples/funcs/discountsUpdate.ts +0 -196
- package/examples/funcs/eventsGet.ts +0 -192
- package/examples/funcs/eventsIngest.ts +0 -181
- package/examples/funcs/eventsList.ts +0 -277
- package/examples/funcs/eventsListNames.ts +0 -263
- package/examples/funcs/filesCreate.ts +0 -181
- package/examples/funcs/filesDelete.ts +0 -200
- package/examples/funcs/filesList.ts +0 -259
- package/examples/funcs/filesUpdate.ts +0 -202
- package/examples/funcs/filesUploaded.ts +0 -204
- package/examples/funcs/licenseKeysActivate.ts +0 -197
- package/examples/funcs/licenseKeysDeactivate.ts +0 -186
- package/examples/funcs/licenseKeysGet.ts +0 -203
- package/examples/funcs/licenseKeysGetActivation.ts +0 -209
- package/examples/funcs/licenseKeysList.ts +0 -277
- package/examples/funcs/licenseKeysUpdate.ts +0 -204
- package/examples/funcs/licenseKeysValidate.ts +0 -189
- package/examples/funcs/metersCreate.ts +0 -178
- package/examples/funcs/metersGet.ts +0 -192
- package/examples/funcs/metersList.ts +0 -270
- package/examples/funcs/metersQuantities.ts +0 -215
- package/examples/funcs/metersUpdate.ts +0 -193
- package/examples/funcs/metricsGet.ts +0 -194
- package/examples/funcs/metricsLimits.ts +0 -147
- package/examples/funcs/oauth2Authorize.ts +0 -142
- package/examples/funcs/oauth2ClientsCreate.ts +0 -176
- package/examples/funcs/oauth2ClientsDelete.ts +0 -183
- package/examples/funcs/oauth2ClientsGet.ts +0 -182
- package/examples/funcs/oauth2ClientsUpdate.ts +0 -186
- package/examples/funcs/oauth2Introspect.ts +0 -164
- package/examples/funcs/oauth2Revoke.ts +0 -164
- package/examples/funcs/oauth2Token.ts +0 -164
- package/examples/funcs/oauth2Userinfo.ts +0 -145
- package/examples/funcs/ordersExport.ts +0 -183
- package/examples/funcs/ordersGenerateInvoice.ts +0 -187
- package/examples/funcs/ordersGet.ts +0 -192
- package/examples/funcs/ordersInvoice.ts +0 -195
- package/examples/funcs/ordersList.ts +0 -273
- package/examples/funcs/ordersUpdate.ts +0 -193
- package/examples/funcs/organizationsCreate.ts +0 -181
- package/examples/funcs/organizationsGet.ts +0 -195
- package/examples/funcs/organizationsList.ts +0 -259
- package/examples/funcs/organizationsUpdate.ts +0 -206
- package/examples/funcs/paymentsGet.ts +0 -195
- package/examples/funcs/paymentsList.ts +0 -264
- package/examples/funcs/productsCreate.ts +0 -181
- package/examples/funcs/productsGet.ts +0 -195
- package/examples/funcs/productsList.ts +0 -273
- package/examples/funcs/productsUpdate.ts +0 -204
- package/examples/funcs/productsUpdateBenefits.ts +0 -206
- package/examples/funcs/refundsCreate.ts +0 -195
- package/examples/funcs/refundsList.ts +0 -264
- package/examples/funcs/subscriptionsCreate.ts +0 -187
- package/examples/funcs/subscriptionsExport.ts +0 -182
- package/examples/funcs/subscriptionsGet.ts +0 -195
- package/examples/funcs/subscriptionsList.ts +0 -273
- package/examples/funcs/subscriptionsRevoke.ts +0 -211
- package/examples/funcs/subscriptionsUpdate.ts +0 -214
- package/examples/funcs/walletsGet.ts +0 -192
- package/examples/funcs/walletsList.ts +0 -260
- package/examples/funcs/walletsTopUp.ts +0 -212
- package/examples/funcs/webhooksCreateWebhookEndpoint.ts +0 -181
- package/examples/funcs/webhooksDeleteWebhookEndpoint.ts +0 -192
- package/examples/funcs/webhooksGetWebhookEndpoint.ts +0 -195
- package/examples/funcs/webhooksListWebhookDeliveries.ts +0 -264
- package/examples/funcs/webhooksListWebhookEndpoints.ts +0 -260
- package/examples/funcs/webhooksRedeliverWebhookEvent.ts +0 -192
- package/examples/funcs/webhooksResetWebhookEndpointSecret.ts +0 -196
- package/examples/funcs/webhooksUpdateWebhookEndpoint.ts +0 -198
- package/examples/hooks/hooks.ts +0 -132
- package/examples/hooks/registration.ts +0 -14
- package/examples/hooks/types.ts +0 -114
- package/examples/lib/base64.ts +0 -37
- package/examples/lib/config.ts +0 -70
- package/examples/lib/dlv.ts +0 -53
- package/examples/lib/encodings.ts +0 -483
- package/examples/lib/env.ts +0 -57
- package/examples/lib/files.ts +0 -82
- package/examples/lib/http.ts +0 -323
- package/examples/lib/is-plain-object.ts +0 -43
- package/examples/lib/logger.ts +0 -9
- package/examples/lib/matchers.ts +0 -345
- package/examples/lib/primitives.ts +0 -150
- package/examples/lib/retries.ts +0 -218
- package/examples/lib/schemas.ts +0 -91
- package/examples/lib/sdks.ts +0 -407
- package/examples/lib/security.ts +0 -264
- package/examples/lib/url.ts +0 -33
- package/examples/models/components/address.ts +0 -363
- package/examples/models/components/addressdict.ts +0 -91
- package/examples/models/components/addressinput.ts +0 -361
- package/examples/models/components/aggregationfunction.ts +0 -37
- package/examples/models/components/attachedcustomfield.ts +0 -107
- package/examples/models/components/attachedcustomfieldcreate.ts +0 -88
- package/examples/models/components/authorizationcodetokenrequest.ts +0 -99
- package/examples/models/components/authorizeorganization.ts +0 -83
- package/examples/models/components/authorizeresponseorganization.ts +0 -106
- package/examples/models/components/authorizeresponseuser.ts +0 -100
- package/examples/models/components/authorizeuser.ts +0 -79
- package/examples/models/components/benefit.ts +0 -113
- package/examples/models/components/benefitcreate.ts +0 -164
- package/examples/models/components/benefitcustom.ts +0 -204
- package/examples/models/components/benefitcustomcreate.ts +0 -184
- package/examples/models/components/benefitcustomcreateproperties.ts +0 -71
- package/examples/models/components/benefitcustomproperties.ts +0 -69
- package/examples/models/components/benefitcustomsubscriber.ts +0 -221
- package/examples/models/components/benefitcustomsubscriberproperties.ts +0 -72
- package/examples/models/components/benefitcustomupdate.ts +0 -162
- package/examples/models/components/benefitcycledevent.ts +0 -150
- package/examples/models/components/benefitdiscord.ts +0 -208
- package/examples/models/components/benefitdiscordcreate.ts +0 -181
- package/examples/models/components/benefitdiscordcreateproperties.ts +0 -98
- package/examples/models/components/benefitdiscordproperties.ts +0 -105
- package/examples/models/components/benefitdiscordsubscriber.ts +0 -221
- package/examples/models/components/benefitdiscordsubscriberproperties.ts +0 -85
- package/examples/models/components/benefitdiscordupdate.ts +0 -164
- package/examples/models/components/benefitdownloadables.ts +0 -204
- package/examples/models/components/benefitdownloadablescreate.ts +0 -184
- package/examples/models/components/benefitdownloadablescreateproperties.ts +0 -75
- package/examples/models/components/benefitdownloadablesproperties.ts +0 -72
- package/examples/models/components/benefitdownloadablessubscriber.ts +0 -224
- package/examples/models/components/benefitdownloadablessubscriberproperties.ts +0 -86
- package/examples/models/components/benefitdownloadablesupdate.ts +0 -170
- package/examples/models/components/benefitgithubrepository.ts +0 -218
- package/examples/models/components/benefitgithubrepositorycreate.ts +0 -190
- package/examples/models/components/benefitgithubrepositorycreateproperties.ts +0 -149
- package/examples/models/components/benefitgithubrepositoryproperties.ts +0 -135
- package/examples/models/components/benefitgithubrepositorysubscriber.ts +0 -234
- package/examples/models/components/benefitgithubrepositorysubscriberproperties.ts +0 -103
- package/examples/models/components/benefitgithubrepositoryupdate.ts +0 -176
- package/examples/models/components/benefitgrant.ts +0 -328
- package/examples/models/components/benefitgrantcustomproperties.ts +0 -60
- package/examples/models/components/benefitgrantcustomwebhook.ts +0 -236
- package/examples/models/components/benefitgrantdiscordproperties.ts +0 -95
- package/examples/models/components/benefitgrantdiscordwebhook.ts +0 -236
- package/examples/models/components/benefitgrantdownloadablesproperties.ts +0 -71
- package/examples/models/components/benefitgrantdownloadableswebhook.ts +0 -233
- package/examples/models/components/benefitgrantedevent.ts +0 -150
- package/examples/models/components/benefitgranterror.ts +0 -74
- package/examples/models/components/benefitgrantgithubrepositoryproperties.ts +0 -140
- package/examples/models/components/benefitgrantgithubrepositorywebhook.ts +0 -246
- package/examples/models/components/benefitgrantlicensekeysproperties.ts +0 -84
- package/examples/models/components/benefitgrantlicensekeyswebhook.ts +0 -233
- package/examples/models/components/benefitgrantmetadata.ts +0 -92
- package/examples/models/components/benefitgrantmetercreditproperties.ts +0 -90
- package/examples/models/components/benefitgrantmetercreditwebhook.ts +0 -240
- package/examples/models/components/benefitgrantsortproperty.ts +0 -39
- package/examples/models/components/benefitgrantwebhook.ts +0 -120
- package/examples/models/components/benefitlicensekeyactivationcreateproperties.ts +0 -92
- package/examples/models/components/benefitlicensekeyactivationproperties.ts +0 -84
- package/examples/models/components/benefitlicensekeyexpirationproperties.ts +0 -102
- package/examples/models/components/benefitlicensekeys.ts +0 -202
- package/examples/models/components/benefitlicensekeyscreate.ts +0 -182
- package/examples/models/components/benefitlicensekeyscreateproperties.ts +0 -112
- package/examples/models/components/benefitlicensekeysproperties.ts +0 -101
- package/examples/models/components/benefitlicensekeyssubscriber.ts +0 -223
- package/examples/models/components/benefitlicensekeyssubscriberproperties.ts +0 -105
- package/examples/models/components/benefitlicensekeysupdate.ts +0 -168
- package/examples/models/components/benefitmetercredit.ts +0 -212
- package/examples/models/components/benefitmetercreditcreate.ts +0 -188
- package/examples/models/components/benefitmetercreditcreateproperties.ts +0 -90
- package/examples/models/components/benefitmetercreditproperties.ts +0 -88
- package/examples/models/components/benefitmetercreditsubscriber.ts +0 -226
- package/examples/models/components/benefitmetercreditsubscriberproperties.ts +0 -92
- package/examples/models/components/benefitmetercreditupdate.ts +0 -168
- package/examples/models/components/benefitpublic.ts +0 -131
- package/examples/models/components/benefitrevokedevent.ts +0 -150
- package/examples/models/components/benefitsortproperty.ts +0 -37
- package/examples/models/components/benefittype.ts +0 -35
- package/examples/models/components/benefitupdatedevent.ts +0 -150
- package/examples/models/components/billingaddressfieldmode.ts +0 -36
- package/examples/models/components/cardpayment.ts +0 -203
- package/examples/models/components/cardpaymentmetadata.ts +0 -79
- package/examples/models/components/checkout.ts +0 -948
- package/examples/models/components/checkoutbillingaddressfields.ts +0 -102
- package/examples/models/components/checkoutconfirmstripe.ts +0 -267
- package/examples/models/components/checkoutcreate.ts +0 -506
- package/examples/models/components/checkoutdiscountfixedonceforeverduration.ts +0 -117
- package/examples/models/components/checkoutdiscountfixedrepeatduration.ts +0 -127
- package/examples/models/components/checkoutdiscountpercentageonceforeverduration.ts +0 -127
- package/examples/models/components/checkoutdiscountpercentagerepeatduration.ts +0 -134
- package/examples/models/components/checkoutlink.ts +0 -382
- package/examples/models/components/checkoutlinkcreate.ts +0 -90
- package/examples/models/components/checkoutlinkcreateproduct.ts +0 -241
- package/examples/models/components/checkoutlinkcreateproductprice.ts +0 -246
- package/examples/models/components/checkoutlinkcreateproducts.ts +0 -239
- package/examples/models/components/checkoutlinkproduct.ts +0 -365
- package/examples/models/components/checkoutlinksortproperty.ts +0 -41
- package/examples/models/components/checkoutlinkupdate.ts +0 -219
- package/examples/models/components/checkoutproduct.ts +0 -297
- package/examples/models/components/checkoutpublic.ts +0 -802
- package/examples/models/components/checkoutpublicconfirmed.ts +0 -827
- package/examples/models/components/checkoutsortproperty.ts +0 -37
- package/examples/models/components/checkoutstatus.ts +0 -36
- package/examples/models/components/checkoutupdate.ts +0 -485
- package/examples/models/components/checkoutupdatepublic.ts +0 -258
- package/examples/models/components/costmetadatainput.ts +0 -122
- package/examples/models/components/costmetadataoutput.ts +0 -76
- package/examples/models/components/countaggregation.ts +0 -66
- package/examples/models/components/customer.ts +0 -284
- package/examples/models/components/customerbalance.ts +0 -77
- package/examples/models/components/customerbenefitgrant.ts +0 -120
- package/examples/models/components/customerbenefitgrantcustom.ts +0 -178
- package/examples/models/components/customerbenefitgrantcustomupdate.ts +0 -77
- package/examples/models/components/customerbenefitgrantdiscord.ts +0 -180
- package/examples/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +0 -88
- package/examples/models/components/customerbenefitgrantdiscordupdate.ts +0 -88
- package/examples/models/components/customerbenefitgrantdownloadables.ts +0 -181
- package/examples/models/components/customerbenefitgrantdownloadablesupdate.ts +0 -86
- package/examples/models/components/customerbenefitgrantgithubrepository.ts +0 -183
- package/examples/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +0 -89
- package/examples/models/components/customerbenefitgrantgithubrepositoryupdate.ts +0 -97
- package/examples/models/components/customerbenefitgrantlicensekeys.ts +0 -180
- package/examples/models/components/customerbenefitgrantlicensekeysupdate.ts +0 -80
- package/examples/models/components/customerbenefitgrantmetercredit.ts +0 -180
- package/examples/models/components/customerbenefitgrantmetercreditupdate.ts +0 -80
- package/examples/models/components/customerbenefitgrantsortproperty.ts +0 -39
- package/examples/models/components/customerbenefitgrantupdate.ts +0 -178
- package/examples/models/components/customercancellationreason.ts +0 -41
- package/examples/models/components/customercreate.ts +0 -251
- package/examples/models/components/customercreatedevent.ts +0 -150
- package/examples/models/components/customercreatedmetadata.ts +0 -93
- package/examples/models/components/customercustomermeter.ts +0 -149
- package/examples/models/components/customercustomermetermeter.ts +0 -103
- package/examples/models/components/customercustomermetersortproperty.ts +0 -48
- package/examples/models/components/customercustomersession.ts +0 -81
- package/examples/models/components/customerdeletedevent.ts +0 -150
- package/examples/models/components/customerdeletedmetadata.ts +0 -93
- package/examples/models/components/customermeter.ts +0 -161
- package/examples/models/components/customermetersortproperty.ts +0 -51
- package/examples/models/components/customerorder.ts +0 -341
- package/examples/models/components/customerorderconfirmpayment.ts +0 -103
- package/examples/models/components/customerorderinvoice.ts +0 -72
- package/examples/models/components/customerorderpaymentconfirmation.ts +0 -97
- package/examples/models/components/customerorderpaymentstatus.ts +0 -79
- package/examples/models/components/customerorderproduct.ts +0 -308
- package/examples/models/components/customerordersortproperty.ts +0 -43
- package/examples/models/components/customerordersubscription.ts +0 -297
- package/examples/models/components/customerorderupdate.ts +0 -96
- package/examples/models/components/customerorganization.ts +0 -85
- package/examples/models/components/customerpaymentmethod.ts +0 -78
- package/examples/models/components/customerpaymentmethodconfirm.ts +0 -83
- package/examples/models/components/customerpaymentmethodcreate.ts +0 -89
- package/examples/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +0 -93
- package/examples/models/components/customerpaymentmethodcreateresponse.ts +0 -107
- package/examples/models/components/customerpaymentmethodcreatesucceededresponse.ts +0 -98
- package/examples/models/components/customerportalcustomer.ts +0 -213
- package/examples/models/components/customerportalcustomerupdate.ts +0 -95
- package/examples/models/components/customerportaloauthaccount.ts +0 -81
- package/examples/models/components/customerproduct.ts +0 -297
- package/examples/models/components/customerseat.ts +0 -180
- package/examples/models/components/customerseatclaimresponse.ts +0 -91
- package/examples/models/components/customersession.ts +0 -138
- package/examples/models/components/customersessioncustomerexternalidcreate.ts +0 -101
- package/examples/models/components/customersessioncustomeridcreate.ts +0 -92
- package/examples/models/components/customersortproperty.ts +0 -37
- package/examples/models/components/customerstate.ts +0 -339
- package/examples/models/components/customerstatebenefitgrant.ts +0 -322
- package/examples/models/components/customerstatemeter.ts +0 -133
- package/examples/models/components/customerstatesubscription.ts +0 -450
- package/examples/models/components/customerstatesubscriptionmeter.ts +0 -135
- package/examples/models/components/customersubscription.ts +0 -418
- package/examples/models/components/customersubscriptioncancel.ts +0 -118
- package/examples/models/components/customersubscriptionmeter.ts +0 -140
- package/examples/models/components/customersubscriptionmetermeter.ts +0 -105
- package/examples/models/components/customersubscriptionproduct.ts +0 -313
- package/examples/models/components/customersubscriptionsortproperty.ts +0 -43
- package/examples/models/components/customersubscriptionupdate.ts +0 -90
- package/examples/models/components/customersubscriptionupdateproduct.ts +0 -81
- package/examples/models/components/customersubscriptionupdateseats.ts +0 -94
- package/examples/models/components/customerupdate.ts +0 -242
- package/examples/models/components/customerupdatedevent.ts +0 -150
- package/examples/models/components/customerupdatedfields.ts +0 -155
- package/examples/models/components/customerupdatedmetadata.ts +0 -105
- package/examples/models/components/customerupdateexternalid.ts +0 -245
- package/examples/models/components/customerwallet.ts +0 -122
- package/examples/models/components/customerwalletsortproperty.ts +0 -37
- package/examples/models/components/customfield.ts +0 -138
- package/examples/models/components/customfieldcheckbox.ts +0 -200
- package/examples/models/components/customfieldcheckboxproperties.ts +0 -89
- package/examples/models/components/customfieldcreate.ts +0 -142
- package/examples/models/components/customfieldcreatecheckbox.ts +0 -193
- package/examples/models/components/customfieldcreatedate.ts +0 -188
- package/examples/models/components/customfieldcreatenumber.ts +0 -192
- package/examples/models/components/customfieldcreateselect.ts +0 -192
- package/examples/models/components/customfieldcreatetext.ts +0 -188
- package/examples/models/components/customfielddate.ts +0 -196
- package/examples/models/components/customfielddateproperties.ts +0 -95
- package/examples/models/components/customfieldnumber.ts +0 -198
- package/examples/models/components/customfieldnumberproperties.ts +0 -97
- package/examples/models/components/customfieldselect.ts +0 -198
- package/examples/models/components/customfieldselectoption.ts +0 -70
- package/examples/models/components/customfieldselectproperties.ts +0 -99
- package/examples/models/components/customfieldsortproperty.ts +0 -41
- package/examples/models/components/customfieldtext.ts +0 -196
- package/examples/models/components/customfieldtextproperties.ts +0 -103
- package/examples/models/components/customfieldtype.ts +0 -36
- package/examples/models/components/customfieldupdate.ts +0 -142
- package/examples/models/components/customfieldupdatecheckbox.ts +0 -173
- package/examples/models/components/customfieldupdatedate.ts +0 -166
- package/examples/models/components/customfieldupdatenumber.ts +0 -170
- package/examples/models/components/customfieldupdateselect.ts +0 -170
- package/examples/models/components/customfieldupdatetext.ts +0 -166
- package/examples/models/components/discount.ts +0 -96
- package/examples/models/components/discountcreate.ts +0 -96
- package/examples/models/components/discountduration.ts +0 -34
- package/examples/models/components/discountfixedonceforeverduration.ts +0 -277
- package/examples/models/components/discountfixedonceforeverdurationbase.ts +0 -269
- package/examples/models/components/discountfixedonceforeverdurationcreate.ts +0 -263
- package/examples/models/components/discountfixedrepeatduration.ts +0 -280
- package/examples/models/components/discountfixedrepeatdurationbase.ts +0 -270
- package/examples/models/components/discountfixedrepeatdurationcreate.ts +0 -275
- package/examples/models/components/discountpercentageonceforeverduration.ts +0 -283
- package/examples/models/components/discountpercentageonceforeverdurationbase.ts +0 -278
- package/examples/models/components/discountpercentageonceforeverdurationcreate.ts +0 -270
- package/examples/models/components/discountpercentagerepeatduration.ts +0 -287
- package/examples/models/components/discountpercentagerepeatdurationbase.ts +0 -276
- package/examples/models/components/discountpercentagerepeatdurationcreate.ts +0 -280
- package/examples/models/components/discountproduct.ts +0 -246
- package/examples/models/components/discountsortproperty.ts +0 -39
- package/examples/models/components/discounttype.ts +0 -31
- package/examples/models/components/discountupdate.ts +0 -229
- package/examples/models/components/downloadablefilecreate.ts +0 -116
- package/examples/models/components/downloadablefileread.ts +0 -161
- package/examples/models/components/downloadableread.ts +0 -89
- package/examples/models/components/event.ts +0 -63
- package/examples/models/components/eventcreatecustomer.ts +0 -112
- package/examples/models/components/eventcreateexternalcustomer.ts +0 -114
- package/examples/models/components/eventmetadatainput.ts +0 -96
- package/examples/models/components/eventmetadataoutput.ts +0 -96
- package/examples/models/components/eventname.ts +0 -106
- package/examples/models/components/eventnamessortproperty.ts +0 -39
- package/examples/models/components/eventsingest.ts +0 -140
- package/examples/models/components/eventsingestresponse.ts +0 -69
- package/examples/models/components/eventsortproperty.ts +0 -33
- package/examples/models/components/eventsource.ts +0 -31
- package/examples/models/components/existingproductprice.ts +0 -73
- package/examples/models/components/filecreate.ts +0 -110
- package/examples/models/components/filedownload.ts +0 -163
- package/examples/models/components/filepatch.ts +0 -66
- package/examples/models/components/fileservicetypes.ts +0 -34
- package/examples/models/components/fileupload.ts +0 -163
- package/examples/models/components/fileuploadcompleted.ts +0 -80
- package/examples/models/components/filter.ts +0 -121
- package/examples/models/components/filterclause.ts +0 -118
- package/examples/models/components/filterconjunction.ts +0 -33
- package/examples/models/components/filteroperator.ts +0 -39
- package/examples/models/components/genericpayment.ts +0 -188
- package/examples/models/components/introspecttokenrequest.ts +0 -125
- package/examples/models/components/introspecttokenresponse.ts +0 -146
- package/examples/models/components/legacyrecurringproductprice.ts +0 -116
- package/examples/models/components/legacyrecurringproductpricecustom.ts +0 -188
- package/examples/models/components/legacyrecurringproductpricefixed.ts +0 -169
- package/examples/models/components/legacyrecurringproductpricefree.ts +0 -151
- package/examples/models/components/licensekeyactivate.ts +0 -239
- package/examples/models/components/licensekeyactivationbase.ts +0 -145
- package/examples/models/components/licensekeyactivationread.ts +0 -173
- package/examples/models/components/licensekeycustomer.ts +0 -293
- package/examples/models/components/licensekeydeactivate.ts +0 -85
- package/examples/models/components/licensekeyread.ts +0 -178
- package/examples/models/components/licensekeystatus.ts +0 -34
- package/examples/models/components/licensekeyupdate.ts +0 -102
- package/examples/models/components/licensekeyvalidate.ts +0 -172
- package/examples/models/components/licensekeywithactivations.ts +0 -192
- package/examples/models/components/listresource.ts +0 -78
- package/examples/models/components/listresourcebenefit.ts +0 -82
- package/examples/models/components/listresourcebenefitgrant.ts +0 -82
- package/examples/models/components/listresourcecheckout.ts +0 -82
- package/examples/models/components/listresourcecheckoutlink.ts +0 -82
- package/examples/models/components/listresourcecustomer.ts +0 -82
- package/examples/models/components/listresourcecustomerbenefitgrant.ts +0 -84
- package/examples/models/components/listresourcecustomercustomermeter.ts +0 -85
- package/examples/models/components/listresourcecustomermeter.ts +0 -82
- package/examples/models/components/listresourcecustomerorder.ts +0 -82
- package/examples/models/components/listresourcecustomerpaymentmethod.ts +0 -85
- package/examples/models/components/listresourcecustomersubscription.ts +0 -84
- package/examples/models/components/listresourcecustomerwallet.ts +0 -82
- package/examples/models/components/listresourcecustomfield.ts +0 -82
- package/examples/models/components/listresourcediscount.ts +0 -82
- package/examples/models/components/listresourcedownloadableread.ts +0 -84
- package/examples/models/components/listresourceevent.ts +0 -82
- package/examples/models/components/listresourceeventname.ts +0 -82
- package/examples/models/components/listresourcefileread.ts +0 -222
- package/examples/models/components/listresourcelicensekeyread.ts +0 -82
- package/examples/models/components/listresourcemeter.ts +0 -82
- package/examples/models/components/listresourceorder.ts +0 -82
- package/examples/models/components/listresourceorganization.ts +0 -82
- package/examples/models/components/listresourceproduct.ts +0 -82
- package/examples/models/components/listresourcerefund.ts +0 -82
- package/examples/models/components/listresourcesubscription.ts +0 -82
- package/examples/models/components/listresourcewallet.ts +0 -82
- package/examples/models/components/listresourcewebhookdelivery.ts +0 -84
- package/examples/models/components/listresourcewebhookendpoint.ts +0 -84
- package/examples/models/components/llmmetadata.ts +0 -129
- package/examples/models/components/meter.ts +0 -380
- package/examples/models/components/metercreate.ts +0 -354
- package/examples/models/components/metercreditedmetadata.ts +0 -83
- package/examples/models/components/metercreditevent.ts +0 -150
- package/examples/models/components/meterquantities.ts +0 -77
- package/examples/models/components/meterquantity.ts +0 -72
- package/examples/models/components/meterresetevent.ts +0 -148
- package/examples/models/components/meterresetmetadata.ts +0 -75
- package/examples/models/components/metersortproperty.ts +0 -35
- package/examples/models/components/meterupdate.ts +0 -374
- package/examples/models/components/metric.ts +0 -90
- package/examples/models/components/metricperiod.ts +0 -2298
- package/examples/models/components/metrics.ts +0 -425
- package/examples/models/components/metricsintervallimit.ts +0 -81
- package/examples/models/components/metricsintervalslimits.ts +0 -106
- package/examples/models/components/metricslimits.ts +0 -91
- package/examples/models/components/metricsresponse.ts +0 -96
- package/examples/models/components/metricstotals.ts +0 -2538
- package/examples/models/components/metrictype.ts +0 -33
- package/examples/models/components/oauth2clientconfiguration.ts +0 -202
- package/examples/models/components/oauth2clientconfigurationupdate.ts +0 -224
- package/examples/models/components/oauth2clientpublic.ts +0 -125
- package/examples/models/components/order.ts +0 -608
- package/examples/models/components/orderbillingreason.ts +0 -35
- package/examples/models/components/ordercustomer.ts +0 -285
- package/examples/models/components/orderinvoice.ts +0 -68
- package/examples/models/components/orderitemschema.ts +0 -136
- package/examples/models/components/orderpaidevent.ts +0 -146
- package/examples/models/components/orderpaidmetadata.ts +0 -87
- package/examples/models/components/orderproduct.ts +0 -237
- package/examples/models/components/orderrefundedevent.ts +0 -150
- package/examples/models/components/orderrefundedmetadata.ts +0 -89
- package/examples/models/components/ordersortproperty.ts +0 -49
- package/examples/models/components/orderstatus.ts +0 -33
- package/examples/models/components/ordersubscription.ts +0 -359
- package/examples/models/components/orderupdate.ts +0 -92
- package/examples/models/components/organization.ts +0 -213
- package/examples/models/components/organizationavatarfilecreate.ts +0 -124
- package/examples/models/components/organizationavatarfileread.ts +0 -167
- package/examples/models/components/organizationcreate.ts +0 -195
- package/examples/models/components/organizationcustomeremailsettings.ts +0 -120
- package/examples/models/components/organizationdetails.ts +0 -168
- package/examples/models/components/organizationfeaturesettings.ts +0 -107
- package/examples/models/components/organizationnotificationsettings.ts +0 -83
- package/examples/models/components/organizationsociallink.ts +0 -78
- package/examples/models/components/organizationsocialplatforms.ts +0 -41
- package/examples/models/components/organizationsortproperty.ts +0 -43
- package/examples/models/components/organizationstatus.ts +0 -36
- package/examples/models/components/organizationsubscriptionsettings.ts +0 -100
- package/examples/models/components/organizationupdate.ts +0 -191
- package/examples/models/components/pagination.ts +0 -77
- package/examples/models/components/payment.ts +0 -63
- package/examples/models/components/paymentmethodcard.ts +0 -127
- package/examples/models/components/paymentmethodcardmetadata.ts +0 -93
- package/examples/models/components/paymentmethodgeneric.ts +0 -115
- package/examples/models/components/paymentprocessor.ts +0 -32
- package/examples/models/components/paymentsortproperty.ts +0 -39
- package/examples/models/components/paymentstatus.ts +0 -34
- package/examples/models/components/product.ts +0 -358
- package/examples/models/components/productbenefitsupdate.ts +0 -72
- package/examples/models/components/productbillingtype.ts +0 -33
- package/examples/models/components/productcreate.ts +0 -74
- package/examples/models/components/productcreateonetime.ts +0 -432
- package/examples/models/components/productcreaterecurring.ts +0 -459
- package/examples/models/components/productmediafilecreate.ts +0 -122
- package/examples/models/components/productmediafileread.ts +0 -167
- package/examples/models/components/productprice.ts +0 -146
- package/examples/models/components/productpricecustom.ts +0 -182
- package/examples/models/components/productpricecustomcreate.ts +0 -114
- package/examples/models/components/productpricefixed.ts +0 -164
- package/examples/models/components/productpricefixedcreate.ts +0 -96
- package/examples/models/components/productpricefree.ts +0 -146
- package/examples/models/components/productpricefreecreate.ts +0 -78
- package/examples/models/components/productpricemeter.ts +0 -79
- package/examples/models/components/productpricemeteredunit.ts +0 -195
- package/examples/models/components/productpricemeteredunitcreate.ts +0 -165
- package/examples/models/components/productpriceseatbased.ts +0 -170
- package/examples/models/components/productpriceseatbasedcreate.ts +0 -104
- package/examples/models/components/productpriceseattier.ts +0 -99
- package/examples/models/components/productpriceseattiers.ts +0 -78
- package/examples/models/components/productpricetype.ts +0 -33
- package/examples/models/components/productsortproperty.ts +0 -39
- package/examples/models/components/productupdate.ts +0 -589
- package/examples/models/components/propertyaggregation.ts +0 -99
- package/examples/models/components/refreshtokenrequest.ts +0 -93
- package/examples/models/components/refund.ts +0 -207
- package/examples/models/components/refundcreate.ts +0 -183
- package/examples/models/components/refundreason.ts +0 -35
- package/examples/models/components/refundsortproperty.ts +0 -35
- package/examples/models/components/refundstatus.ts +0 -33
- package/examples/models/components/revoketokenrequest.ts +0 -119
- package/examples/models/components/revoketokenresponse.ts +0 -58
- package/examples/models/components/s3downloadurl.ts +0 -79
- package/examples/models/components/s3filecreatemultipart.ts +0 -72
- package/examples/models/components/s3filecreatepart.ts +0 -91
- package/examples/models/components/s3fileuploadcompletedpart.ts +0 -85
- package/examples/models/components/s3fileuploadmultipart.ts +0 -80
- package/examples/models/components/s3fileuploadpart.ts +0 -105
- package/examples/models/components/scope.ts +0 -91
- package/examples/models/components/seatassign.ts +0 -133
- package/examples/models/components/seatclaim.ts +0 -74
- package/examples/models/components/seatclaiminfo.ts +0 -125
- package/examples/models/components/seatslist.ts +0 -96
- package/examples/models/components/seatstatus.ts +0 -32
- package/examples/models/components/security.ts +0 -71
- package/examples/models/components/subscription.ts +0 -679
- package/examples/models/components/subscriptioncancel.ts +0 -137
- package/examples/models/components/subscriptioncreatecustomer.ts +0 -175
- package/examples/models/components/subscriptioncreateexternalcustomer.ts +0 -185
- package/examples/models/components/subscriptioncustomer.ts +0 -288
- package/examples/models/components/subscriptioncycledevent.ts +0 -150
- package/examples/models/components/subscriptioncycledmetadata.ts +0 -75
- package/examples/models/components/subscriptionmeter.ts +0 -143
- package/examples/models/components/subscriptionproductupdatedevent.ts +0 -152
- package/examples/models/components/subscriptionproductupdatedmetadata.ts +0 -91
- package/examples/models/components/subscriptionprorationbehavior.ts +0 -35
- package/examples/models/components/subscriptionrecurringinterval.ts +0 -37
- package/examples/models/components/subscriptionrevoke.ts +0 -131
- package/examples/models/components/subscriptionrevokedevent.ts +0 -150
- package/examples/models/components/subscriptionrevokedmetadata.ts +0 -77
- package/examples/models/components/subscriptionslist.ts +0 -80
- package/examples/models/components/subscriptionsortproperty.ts +0 -47
- package/examples/models/components/subscriptionstatus.ts +0 -38
- package/examples/models/components/subscriptionupdate.ts +0 -120
- package/examples/models/components/subscriptionupdatediscount.ts +0 -78
- package/examples/models/components/subscriptionupdateproduct.ts +0 -94
- package/examples/models/components/subscriptionupdateseats.ts +0 -92
- package/examples/models/components/subscriptionupdatetrial.ts +0 -78
- package/examples/models/components/subtype.ts +0 -31
- package/examples/models/components/systemevent.ts +0 -310
- package/examples/models/components/taxidformat.ts +0 -117
- package/examples/models/components/timeinterval.ts +0 -34
- package/examples/models/components/tokenresponse.ts +0 -99
- package/examples/models/components/trialinterval.ts +0 -35
- package/examples/models/components/uniqueaggregation.ts +0 -70
- package/examples/models/components/userevent.ts +0 -146
- package/examples/models/components/userinfoorganization.ts +0 -70
- package/examples/models/components/userinfouser.ts +0 -83
- package/examples/models/components/validatedlicensekey.ts +0 -192
- package/examples/models/components/validationerror.ts +0 -113
- package/examples/models/components/wallet.ts +0 -121
- package/examples/models/components/walletsortproperty.ts +0 -35
- package/examples/models/components/wallettopupcreate.ts +0 -79
- package/examples/models/components/webhookbenefitcreatedpayload.ts +0 -89
- package/examples/models/components/webhookbenefitgrantcreatedpayload.ts +0 -90
- package/examples/models/components/webhookbenefitgrantcycledpayload.ts +0 -90
- package/examples/models/components/webhookbenefitgrantrevokedpayload.ts +0 -90
- package/examples/models/components/webhookbenefitgrantupdatedpayload.ts +0 -90
- package/examples/models/components/webhookbenefitupdatedpayload.ts +0 -89
- package/examples/models/components/webhookcheckoutcreatedpayload.ts +0 -92
- package/examples/models/components/webhookcheckoutupdatedpayload.ts +0 -92
- package/examples/models/components/webhookcustomercreatedpayload.ts +0 -97
- package/examples/models/components/webhookcustomerdeletedpayload.ts +0 -92
- package/examples/models/components/webhookcustomerseatassignedpayload.ts +0 -92
- package/examples/models/components/webhookcustomerseatclaimedpayload.ts +0 -90
- package/examples/models/components/webhookcustomerseatrevokedpayload.ts +0 -90
- package/examples/models/components/webhookcustomerstatechangedpayload.ts +0 -106
- package/examples/models/components/webhookcustomerupdatedpayload.ts +0 -96
- package/examples/models/components/webhookdelivery.ts +0 -143
- package/examples/models/components/webhookendpoint.ts +0 -148
- package/examples/models/components/webhookendpointcreate.ts +0 -116
- package/examples/models/components/webhookendpointupdate.ts +0 -101
- package/examples/models/components/webhookevent.ts +0 -144
- package/examples/models/components/webhookeventtype.ts +0 -61
- package/examples/models/components/webhookformat.ts +0 -34
- package/examples/models/components/webhookordercreatedpayload.ts +0 -96
- package/examples/models/components/webhookorderpaidpayload.ts +0 -89
- package/examples/models/components/webhookorderrefundedpayload.ts +0 -89
- package/examples/models/components/webhookorderupdatedpayload.ts +0 -92
- package/examples/models/components/webhookorganizationupdatedpayload.ts +0 -90
- package/examples/models/components/webhookproductcreatedpayload.ts +0 -92
- package/examples/models/components/webhookproductupdatedpayload.ts +0 -92
- package/examples/models/components/webhookrefundcreatedpayload.ts +0 -89
- package/examples/models/components/webhookrefundupdatedpayload.ts +0 -89
- package/examples/models/components/webhooksubscriptionactivepayload.ts +0 -90
- package/examples/models/components/webhooksubscriptioncanceledpayload.ts +0 -92
- package/examples/models/components/webhooksubscriptioncreatedpayload.ts +0 -92
- package/examples/models/components/webhooksubscriptionrevokedpayload.ts +0 -91
- package/examples/models/components/webhooksubscriptionuncanceledpayload.ts +0 -92
- package/examples/models/components/webhooksubscriptionupdatedpayload.ts +0 -94
- package/examples/models/components/webtokenrequest.ts +0 -133
- package/examples/models/errors/alreadyactivesubscriptionerror.ts +0 -85
- package/examples/models/errors/alreadycanceledsubscription.ts +0 -85
- package/examples/models/errors/chargefyerror.ts +0 -35
- package/examples/models/errors/checkoutforbiddenerror.ts +0 -90
- package/examples/models/errors/customernotready.ts +0 -85
- package/examples/models/errors/customerportalordersgenerateinvoice.ts +0 -97
- package/examples/models/errors/expiredcheckouterror.ts +0 -85
- package/examples/models/errors/httpclienterrors.ts +0 -62
- package/examples/models/errors/httpvalidationerror.ts +0 -85
- package/examples/models/errors/missinginvoicebillingdetails.ts +0 -85
- package/examples/models/errors/missingpaymentmethoderror.ts +0 -85
- package/examples/models/errors/notopencheckout.ts +0 -85
- package/examples/models/errors/notpaidorder.ts +0 -85
- package/examples/models/errors/notpermitted.ts +0 -85
- package/examples/models/errors/ordernoteligibleforretry.ts +0 -85
- package/examples/models/errors/ordersgenerateinvoice.ts +0 -97
- package/examples/models/errors/paymentalreadyinprogress.ts +0 -85
- package/examples/models/errors/paymenterror.ts +0 -85
- package/examples/models/errors/paymentintentfailederror.ts +0 -85
- package/examples/models/errors/paymentmethodinusebyactivesubscription.ts +0 -87
- package/examples/models/errors/paymentnotready.ts +0 -85
- package/examples/models/errors/refundamounttoohigh.ts +0 -85
- package/examples/models/errors/refundedalready.ts +0 -85
- package/examples/models/errors/resourcenotfound.ts +0 -85
- package/examples/models/errors/responsevalidationerror.ts +0 -50
- package/examples/models/errors/sdkerror.ts +0 -40
- package/examples/models/errors/sdkvalidationerror.ts +0 -109
- package/examples/models/errors/subscriptionlocked.ts +0 -85
- package/examples/models/errors/unauthorized.ts +0 -85
- package/examples/models/operations/benefitgrantslist.ts +0 -340
- package/examples/models/operations/benefitsdelete.ts +0 -66
- package/examples/models/operations/benefitsget.ts +0 -66
- package/examples/models/operations/benefitsgrants.ts +0 -231
- package/examples/models/operations/benefitslist.ts +0 -324
- package/examples/models/operations/benefitsupdate.ts +0 -219
- package/examples/models/operations/checkoutlinksdelete.ts +0 -69
- package/examples/models/operations/checkoutlinksget.ts +0 -69
- package/examples/models/operations/checkoutlinkslist.ts +0 -325
- package/examples/models/operations/checkoutlinksupdate.ts +0 -88
- package/examples/models/operations/checkoutsclientconfirm.ts +0 -92
- package/examples/models/operations/checkoutsclientget.ts +0 -78
- package/examples/models/operations/checkoutsclientupdate.ts +0 -92
- package/examples/models/operations/checkoutsget.ts +0 -69
- package/examples/models/operations/checkoutslist.ts +0 -478
- package/examples/models/operations/checkoutsupdate.ts +0 -88
- package/examples/models/operations/customermetersget.ts +0 -69
- package/examples/models/operations/customermeterslist.ts +0 -475
- package/examples/models/operations/customerportalbenefitgrantsget.ts +0 -147
- package/examples/models/operations/customerportalbenefitgrantslist.ts +0 -605
- package/examples/models/operations/customerportalbenefitgrantsupdate.ts +0 -177
- package/examples/models/operations/customerportalcustomermetersget.ts +0 -153
- package/examples/models/operations/customerportalcustomermeterslist.ts +0 -333
- package/examples/models/operations/customerportalcustomersaddpaymentmethod.ts +0 -89
- package/examples/models/operations/customerportalcustomersconfirmpaymentmethod.ts +0 -89
- package/examples/models/operations/customerportalcustomersdeletepaymentmethod.ts +0 -161
- package/examples/models/operations/customerportalcustomersessionintrospect.ts +0 -89
- package/examples/models/operations/customerportalcustomersget.ts +0 -79
- package/examples/models/operations/customerportalcustomerslistpaymentmethods.ts +0 -257
- package/examples/models/operations/customerportalcustomersupdate.ts +0 -80
- package/examples/models/operations/customerportaldownloadableslist.ts +0 -327
- package/examples/models/operations/customerportallicensekeysget.ts +0 -143
- package/examples/models/operations/customerportallicensekeyslist.ts +0 -245
- package/examples/models/operations/customerportalordersconfirmretrypayment.ts +0 -182
- package/examples/models/operations/customerportalordersgenerateinvoice.ts +0 -159
- package/examples/models/operations/customerportalordersget.ts +0 -140
- package/examples/models/operations/customerportalordersgetpaymentstatus.ts +0 -162
- package/examples/models/operations/customerportalordersinvoice.ts +0 -145
- package/examples/models/operations/customerportalorderslist.ts +0 -512
- package/examples/models/operations/customerportalordersupdate.ts +0 -161
- package/examples/models/operations/customerportalorganizationsget.ts +0 -74
- package/examples/models/operations/customerportalseatsassignseat.ts +0 -80
- package/examples/models/operations/customerportalseatslistclaimedsubscriptions.ts +0 -89
- package/examples/models/operations/customerportalseatslistseats.ts +0 -163
- package/examples/models/operations/customerportalseatsresendinvitation.ts +0 -164
- package/examples/models/operations/customerportalseatsrevokeseat.ts +0 -151
- package/examples/models/operations/customerportalsubscriptionscancel.ts +0 -159
- package/examples/models/operations/customerportalsubscriptionsget.ts +0 -147
- package/examples/models/operations/customerportalsubscriptionslist.ts +0 -355
- package/examples/models/operations/customerportalsubscriptionsupdate.ts +0 -177
- package/examples/models/operations/customerportalwalletsget.ts +0 -140
- package/examples/models/operations/customerportalwalletslist.ts +0 -237
- package/examples/models/operations/customersdelete.ts +0 -69
- package/examples/models/operations/customersdeleteexternal.ts +0 -80
- package/examples/models/operations/customerseatsgetclaiminfo.ts +0 -77
- package/examples/models/operations/customerseatslistseats.ts +0 -83
- package/examples/models/operations/customerseatsresendinvitation.ts +0 -80
- package/examples/models/operations/customerseatsrevokeseat.ts +0 -77
- package/examples/models/operations/customersessionscreate.ts +0 -93
- package/examples/models/operations/customersexport.ts +0 -146
- package/examples/models/operations/customersget.ts +0 -69
- package/examples/models/operations/customersgetbalance.ts +0 -69
- package/examples/models/operations/customersgetexternal.ts +0 -80
- package/examples/models/operations/customersgetstate.ts +0 -69
- package/examples/models/operations/customersgetstateexternal.ts +0 -80
- package/examples/models/operations/customerslist.ts +0 -275
- package/examples/models/operations/customersupdate.ts +0 -88
- package/examples/models/operations/customersupdateexternal.ts +0 -92
- package/examples/models/operations/customfieldsdelete.ts +0 -69
- package/examples/models/operations/customfieldsget.ts +0 -69
- package/examples/models/operations/customfieldslist.ts +0 -341
- package/examples/models/operations/customfieldsupdate.ts +0 -88
- package/examples/models/operations/discountsdelete.ts +0 -69
- package/examples/models/operations/discountsget.ts +0 -69
- package/examples/models/operations/discountslist.ts +0 -255
- package/examples/models/operations/discountsupdate.ts +0 -88
- package/examples/models/operations/eventsget.ts +0 -69
- package/examples/models/operations/eventslist.ts +0 -564
- package/examples/models/operations/eventslistnames.ts +0 -484
- package/examples/models/operations/filesdelete.ts +0 -66
- package/examples/models/operations/fileslist.ts +0 -288
- package/examples/models/operations/filesupdate.ts +0 -199
- package/examples/models/operations/filesuploaded.ts +0 -201
- package/examples/models/operations/licensekeysget.ts +0 -66
- package/examples/models/operations/licensekeysgetactivation.ts +0 -81
- package/examples/models/operations/licensekeyslist.ts +0 -298
- package/examples/models/operations/licensekeysupdate.ts +0 -85
- package/examples/models/operations/metersget.ts +0 -69
- package/examples/models/operations/meterslist.ts +0 -273
- package/examples/models/operations/metersquantities.ts +0 -296
- package/examples/models/operations/metersupdate.ts +0 -88
- package/examples/models/operations/metricsget.ts +0 -418
- package/examples/models/operations/oauth2authorize.ts +0 -105
- package/examples/models/operations/oauth2clientsoauth2deleteclient.ts +0 -81
- package/examples/models/operations/oauth2clientsoauth2getclient.ts +0 -80
- package/examples/models/operations/oauth2clientsoauth2updateclient.ts +0 -95
- package/examples/models/operations/oauth2requesttoken.ts +0 -92
- package/examples/models/operations/oauth2userinfo.ts +0 -82
- package/examples/models/operations/ordersexport.ts +0 -214
- package/examples/models/operations/ordersgenerateinvoice.ts +0 -71
- package/examples/models/operations/ordersget.ts +0 -69
- package/examples/models/operations/ordersinvoice.ts +0 -69
- package/examples/models/operations/orderslist.ts +0 -611
- package/examples/models/operations/ordersupdate.ts +0 -88
- package/examples/models/operations/organizationsget.ts +0 -66
- package/examples/models/operations/organizationslist.ts +0 -170
- package/examples/models/operations/organizationsupdate.ts +0 -85
- package/examples/models/operations/paymentsget.ts +0 -69
- package/examples/models/operations/paymentslist.ts +0 -584
- package/examples/models/operations/productsget.ts +0 -66
- package/examples/models/operations/productslist.ts +0 -401
- package/examples/models/operations/productsupdate.ts +0 -85
- package/examples/models/operations/productsupdatebenefits.ts +0 -87
- package/examples/models/operations/refundslist.ts +0 -500
- package/examples/models/operations/subscriptionscreate.ts +0 -85
- package/examples/models/operations/subscriptionsexport.ts +0 -129
- package/examples/models/operations/subscriptionsget.ts +0 -69
- package/examples/models/operations/subscriptionslist.ts +0 -505
- package/examples/models/operations/subscriptionsrevoke.ts +0 -69
- package/examples/models/operations/subscriptionsupdate.ts +0 -88
- package/examples/models/operations/walletsget.ts +0 -69
- package/examples/models/operations/walletslist.ts +0 -315
- package/examples/models/operations/walletstopup.ts +0 -88
- package/examples/models/operations/webhooksdeletewebhookendpoint.ts +0 -74
- package/examples/models/operations/webhooksgetwebhookendpoint.ts +0 -72
- package/examples/models/operations/webhookslistwebhookdeliveries.ts +0 -247
- package/examples/models/operations/webhookslistwebhookendpoints.ts +0 -229
- package/examples/models/operations/webhooksredeliverwebhookevent.ts +0 -74
- package/examples/models/operations/webhooksresetwebhookendpointsecret.ts +0 -81
- package/examples/models/operations/webhooksupdatewebhookendpoint.ts +0 -93
- package/examples/organizationsList.example.ts +0 -28
- package/examples/package-lock.json +0 -616
- package/examples/package.json +0 -18
- package/examples/sdk/benefitgrants.ts +0 -32
- package/examples/sdk/benefits.ts +0 -148
- package/examples/sdk/chargefybenefitgrants.ts +0 -91
- package/examples/sdk/chargefycustomermeters.ts +0 -65
- package/examples/sdk/chargefycustomers.ts +0 -162
- package/examples/sdk/chargefylicensekeys.ts +0 -137
- package/examples/sdk/chargefyorders.ts +0 -196
- package/examples/sdk/chargefyorganizations.ts +0 -28
- package/examples/sdk/chargefysubscriptions.ts +0 -117
- package/examples/sdk/chargefywallets.ts +0 -65
- package/examples/sdk/checkoutlinks.ts +0 -118
- package/examples/sdk/checkouts.ts +0 -158
- package/examples/sdk/clients.ts +0 -84
- package/examples/sdk/customermeters.ts +0 -55
- package/examples/sdk/customerportal.ts +0 -73
- package/examples/sdk/customers.ts +0 -293
- package/examples/sdk/customerseats.ts +0 -120
- package/examples/sdk/customersession.ts +0 -30
- package/examples/sdk/customersessions.ts +0 -30
- package/examples/sdk/customfields.ts +0 -118
- package/examples/sdk/discounts.ts +0 -118
- package/examples/sdk/downloadables.ts +0 -35
- package/examples/sdk/events.ts +0 -101
- package/examples/sdk/files.ts +0 -124
- package/examples/sdk/licensekeys.ts +0 -163
- package/examples/sdk/meters.ts +0 -119
- package/examples/sdk/metrics.ts +0 -51
- package/examples/sdk/oauth2.ts +0 -105
- package/examples/sdk/orders.ts +0 -140
- package/examples/sdk/organizations.ts +0 -97
- package/examples/sdk/payments.ts +0 -55
- package/examples/sdk/products.ts +0 -118
- package/examples/sdk/refunds.ts +0 -55
- package/examples/sdk/sdk.ts +0 -157
- package/examples/sdk/seats.ts +0 -126
- package/examples/sdk/subscriptions.ts +0 -144
- package/examples/sdk/wallets.ts +0 -78
- package/examples/sdk/webhooks.ts +0 -190
- package/examples/test copy.ts +0 -0
- package/examples/test.ts +0 -0
- package/examples/types/async.ts +0 -68
- package/examples/types/blobs.ts +0 -32
- package/examples/types/constdatetime.ts +0 -15
- package/examples/types/enums.ts +0 -16
- package/examples/types/fp.ts +0 -50
- package/examples/types/operations.ts +0 -105
- package/examples/types/rfcdate.ts +0 -54
- package/examples/types/streams.ts +0 -21
- package/examples/types/webhooks.ts +0 -7
- package/examples/webhooks copy.ts +0 -138
- package/examples/webhooks.test copy.ts +0 -116
- package/examples/webhooks.test.ts +0 -116
- package/examples/webhooks.ts +0 -138
- package/jest.config.cjs +0 -5
- package/jsr.json +0 -27
- package/polar-js-main/.devcontainer/devcontainer.json +0 -45
- package/polar-js-main/FUNCTIONS.md +0 -89
- package/polar-js-main/RUNTIMES.md +0 -48
- package/polar-js-main/examples/organizationsList.example.ts +0 -28
- package/polar-js-main/examples/package-lock.json +0 -616
- package/polar-js-main/examples/package.json +0 -18
- package/polar-js-main/jsr.json +0 -27
- package/polar-js-main/package-lock.json +0 -5768
- package/polar-js-main/package.json +0 -83
- package/polar-js-main/src/core.ts +0 -13
- package/polar-js-main/src/funcs/benefitGrantsList.ts +0 -261
- package/polar-js-main/src/funcs/benefitsCreate.ts +0 -181
- package/polar-js-main/src/funcs/benefitsDelete.ts +0 -204
- package/polar-js-main/src/funcs/benefitsGet.ts +0 -195
- package/polar-js-main/src/funcs/benefitsGrants.ts +0 -277
- package/polar-js-main/src/funcs/benefitsList.ts +0 -270
- package/polar-js-main/src/funcs/benefitsUpdate.ts +0 -196
- package/polar-js-main/src/funcs/checkoutLinksCreate.ts +0 -181
- package/polar-js-main/src/funcs/checkoutLinksDelete.ts +0 -192
- package/polar-js-main/src/funcs/checkoutLinksGet.ts +0 -195
- package/polar-js-main/src/funcs/checkoutLinksList.ts +0 -260
- package/polar-js-main/src/funcs/checkoutLinksUpdate.ts +0 -198
- package/polar-js-main/src/funcs/checkoutsClientConfirm.ts +0 -224
- package/polar-js-main/src/funcs/checkoutsClientGet.ts +0 -195
- package/polar-js-main/src/funcs/checkoutsClientUpdate.ts +0 -206
- package/polar-js-main/src/funcs/checkoutsCreate.ts +0 -181
- package/polar-js-main/src/funcs/checkoutsGet.ts +0 -195
- package/polar-js-main/src/funcs/checkoutsList.ts +0 -263
- package/polar-js-main/src/funcs/checkoutsUpdate.ts +0 -204
- package/polar-js-main/src/funcs/customFieldsCreate.ts +0 -181
- package/polar-js-main/src/funcs/customFieldsDelete.ts +0 -192
- package/polar-js-main/src/funcs/customFieldsGet.ts +0 -195
- package/polar-js-main/src/funcs/customFieldsList.ts +0 -261
- package/polar-js-main/src/funcs/customFieldsUpdate.ts +0 -196
- package/polar-js-main/src/funcs/customerMetersGet.ts +0 -195
- package/polar-js-main/src/funcs/customerMetersList.ts +0 -262
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsGet.ts +0 -208
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsList.ts +0 -277
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsUpdate.ts +0 -219
- package/polar-js-main/src/funcs/customerPortalCustomerMetersGet.ts +0 -206
- package/polar-js-main/src/funcs/customerPortalCustomerMetersList.ts +0 -274
- package/polar-js-main/src/funcs/customerPortalCustomerSessionIntrospect.ts +0 -157
- package/polar-js-main/src/funcs/customerPortalCustomersAddPaymentMethod.ts +0 -191
- package/polar-js-main/src/funcs/customerPortalCustomersConfirmPaymentMethod.ts +0 -201
- package/polar-js-main/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +0 -215
- package/polar-js-main/src/funcs/customerPortalCustomersGet.ts +0 -157
- package/polar-js-main/src/funcs/customerPortalCustomersListPaymentMethods.ts +0 -275
- package/polar-js-main/src/funcs/customerPortalCustomersUpdate.ts +0 -191
- package/polar-js-main/src/funcs/customerPortalDownloadablesList.ts +0 -270
- package/polar-js-main/src/funcs/customerPortalLicenseKeysActivate.ts +0 -194
- package/polar-js-main/src/funcs/customerPortalLicenseKeysDeactivate.ts +0 -183
- package/polar-js-main/src/funcs/customerPortalLicenseKeysGet.ts +0 -205
- package/polar-js-main/src/funcs/customerPortalLicenseKeysList.ts +0 -287
- package/polar-js-main/src/funcs/customerPortalLicenseKeysValidate.ts +0 -186
- package/polar-js-main/src/funcs/customerPortalOrdersConfirmRetryPayment.ts +0 -221
- package/polar-js-main/src/funcs/customerPortalOrdersGenerateInvoice.ts +0 -200
- package/polar-js-main/src/funcs/customerPortalOrdersGet.ts +0 -205
- package/polar-js-main/src/funcs/customerPortalOrdersGetPaymentStatus.ts +0 -208
- package/polar-js-main/src/funcs/customerPortalOrdersInvoice.ts +0 -207
- package/polar-js-main/src/funcs/customerPortalOrdersList.ts +0 -275
- package/polar-js-main/src/funcs/customerPortalOrdersUpdate.ts +0 -208
- package/polar-js-main/src/funcs/customerPortalOrganizationsGet.ts +0 -190
- package/polar-js-main/src/funcs/customerPortalSeatsAssignSeat.ts +0 -189
- package/polar-js-main/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +0 -158
- package/polar-js-main/src/funcs/customerPortalSeatsListSeats.ts +0 -194
- package/polar-js-main/src/funcs/customerPortalSeatsResendInvitation.ts +0 -198
- package/polar-js-main/src/funcs/customerPortalSeatsRevokeSeat.ts +0 -195
- package/polar-js-main/src/funcs/customerPortalSubscriptionsCancel.ts +0 -214
- package/polar-js-main/src/funcs/customerPortalSubscriptionsGet.ts +0 -206
- package/polar-js-main/src/funcs/customerPortalSubscriptionsList.ts +0 -275
- package/polar-js-main/src/funcs/customerPortalSubscriptionsUpdate.ts +0 -217
- package/polar-js-main/src/funcs/customerPortalWalletsGet.ts +0 -205
- package/polar-js-main/src/funcs/customerPortalWalletsList.ts +0 -271
- package/polar-js-main/src/funcs/customerSeatsAssignSeat.ts +0 -179
- package/polar-js-main/src/funcs/customerSeatsClaimSeat.ts +0 -170
- package/polar-js-main/src/funcs/customerSeatsGetClaimInfo.ts +0 -179
- package/polar-js-main/src/funcs/customerSeatsListSeats.ts +0 -184
- package/polar-js-main/src/funcs/customerSeatsResendInvitation.ts +0 -185
- package/polar-js-main/src/funcs/customerSeatsRevokeSeat.ts +0 -185
- package/polar-js-main/src/funcs/customerSessionsCreate.ts +0 -182
- package/polar-js-main/src/funcs/customersCreate.ts +0 -181
- package/polar-js-main/src/funcs/customersDelete.ts +0 -204
- package/polar-js-main/src/funcs/customersDeleteExternal.ts +0 -194
- package/polar-js-main/src/funcs/customersExport.ts +0 -182
- package/polar-js-main/src/funcs/customersGet.ts +0 -195
- package/polar-js-main/src/funcs/customersGetBalance.ts +0 -195
- package/polar-js-main/src/funcs/customersGetExternal.ts +0 -195
- package/polar-js-main/src/funcs/customersGetState.ts +0 -201
- package/polar-js-main/src/funcs/customersGetStateExternal.ts +0 -203
- package/polar-js-main/src/funcs/customersList.ts +0 -270
- package/polar-js-main/src/funcs/customersUpdate.ts +0 -196
- package/polar-js-main/src/funcs/customersUpdateExternal.ts +0 -198
- package/polar-js-main/src/funcs/discountsCreate.ts +0 -181
- package/polar-js-main/src/funcs/discountsDelete.ts +0 -192
- package/polar-js-main/src/funcs/discountsGet.ts +0 -195
- package/polar-js-main/src/funcs/discountsList.ts +0 -260
- package/polar-js-main/src/funcs/discountsUpdate.ts +0 -196
- package/polar-js-main/src/funcs/eventsGet.ts +0 -192
- package/polar-js-main/src/funcs/eventsIngest.ts +0 -181
- package/polar-js-main/src/funcs/eventsList.ts +0 -279
- package/polar-js-main/src/funcs/eventsListNames.ts +0 -263
- package/polar-js-main/src/funcs/filesCreate.ts +0 -181
- package/polar-js-main/src/funcs/filesDelete.ts +0 -200
- package/polar-js-main/src/funcs/filesList.ts +0 -259
- package/polar-js-main/src/funcs/filesUpdate.ts +0 -202
- package/polar-js-main/src/funcs/filesUploaded.ts +0 -204
- package/polar-js-main/src/funcs/licenseKeysActivate.ts +0 -197
- package/polar-js-main/src/funcs/licenseKeysDeactivate.ts +0 -186
- package/polar-js-main/src/funcs/licenseKeysGet.ts +0 -203
- package/polar-js-main/src/funcs/licenseKeysGetActivation.ts +0 -209
- package/polar-js-main/src/funcs/licenseKeysList.ts +0 -277
- package/polar-js-main/src/funcs/licenseKeysUpdate.ts +0 -204
- package/polar-js-main/src/funcs/licenseKeysValidate.ts +0 -189
- package/polar-js-main/src/funcs/metersCreate.ts +0 -178
- package/polar-js-main/src/funcs/metersGet.ts +0 -192
- package/polar-js-main/src/funcs/metersList.ts +0 -270
- package/polar-js-main/src/funcs/metersQuantities.ts +0 -215
- package/polar-js-main/src/funcs/metersUpdate.ts +0 -193
- package/polar-js-main/src/funcs/metricsGet.ts +0 -194
- package/polar-js-main/src/funcs/metricsLimits.ts +0 -147
- package/polar-js-main/src/funcs/oauth2Authorize.ts +0 -142
- package/polar-js-main/src/funcs/oauth2ClientsCreate.ts +0 -176
- package/polar-js-main/src/funcs/oauth2ClientsDelete.ts +0 -183
- package/polar-js-main/src/funcs/oauth2ClientsGet.ts +0 -182
- package/polar-js-main/src/funcs/oauth2ClientsUpdate.ts +0 -186
- package/polar-js-main/src/funcs/oauth2Introspect.ts +0 -164
- package/polar-js-main/src/funcs/oauth2Revoke.ts +0 -164
- package/polar-js-main/src/funcs/oauth2Token.ts +0 -164
- package/polar-js-main/src/funcs/oauth2Userinfo.ts +0 -145
- package/polar-js-main/src/funcs/ordersExport.ts +0 -183
- package/polar-js-main/src/funcs/ordersGenerateInvoice.ts +0 -187
- package/polar-js-main/src/funcs/ordersGet.ts +0 -192
- package/polar-js-main/src/funcs/ordersInvoice.ts +0 -195
- package/polar-js-main/src/funcs/ordersList.ts +0 -273
- package/polar-js-main/src/funcs/ordersUpdate.ts +0 -193
- package/polar-js-main/src/funcs/organizationsCreate.ts +0 -181
- package/polar-js-main/src/funcs/organizationsGet.ts +0 -195
- package/polar-js-main/src/funcs/organizationsList.ts +0 -259
- package/polar-js-main/src/funcs/organizationsUpdate.ts +0 -206
- package/polar-js-main/src/funcs/paymentsGet.ts +0 -195
- package/polar-js-main/src/funcs/paymentsList.ts +0 -264
- package/polar-js-main/src/funcs/productsCreate.ts +0 -181
- package/polar-js-main/src/funcs/productsGet.ts +0 -195
- package/polar-js-main/src/funcs/productsList.ts +0 -273
- package/polar-js-main/src/funcs/productsUpdate.ts +0 -204
- package/polar-js-main/src/funcs/productsUpdateBenefits.ts +0 -206
- package/polar-js-main/src/funcs/refundsCreate.ts +0 -195
- package/polar-js-main/src/funcs/refundsList.ts +0 -264
- package/polar-js-main/src/funcs/subscriptionsCreate.ts +0 -187
- package/polar-js-main/src/funcs/subscriptionsExport.ts +0 -182
- package/polar-js-main/src/funcs/subscriptionsGet.ts +0 -195
- package/polar-js-main/src/funcs/subscriptionsList.ts +0 -273
- package/polar-js-main/src/funcs/subscriptionsRevoke.ts +0 -211
- package/polar-js-main/src/funcs/subscriptionsUpdate.ts +0 -214
- package/polar-js-main/src/funcs/walletsGet.ts +0 -192
- package/polar-js-main/src/funcs/walletsList.ts +0 -260
- package/polar-js-main/src/funcs/walletsTopUp.ts +0 -212
- package/polar-js-main/src/funcs/webhooksCreateWebhookEndpoint.ts +0 -181
- package/polar-js-main/src/funcs/webhooksDeleteWebhookEndpoint.ts +0 -192
- package/polar-js-main/src/funcs/webhooksGetWebhookEndpoint.ts +0 -195
- package/polar-js-main/src/funcs/webhooksListWebhookDeliveries.ts +0 -264
- package/polar-js-main/src/funcs/webhooksListWebhookEndpoints.ts +0 -260
- package/polar-js-main/src/funcs/webhooksRedeliverWebhookEvent.ts +0 -192
- package/polar-js-main/src/funcs/webhooksResetWebhookEndpointSecret.ts +0 -196
- package/polar-js-main/src/funcs/webhooksUpdateWebhookEndpoint.ts +0 -198
- package/polar-js-main/src/hooks/hooks.ts +0 -132
- package/polar-js-main/src/hooks/registration.ts +0 -14
- package/polar-js-main/src/hooks/types.ts +0 -114
- package/polar-js-main/src/index.ts +0 -9
- package/polar-js-main/src/lib/base64.ts +0 -37
- package/polar-js-main/src/lib/config.ts +0 -70
- package/polar-js-main/src/lib/dlv.ts +0 -53
- package/polar-js-main/src/lib/encodings.ts +0 -483
- package/polar-js-main/src/lib/env.ts +0 -57
- package/polar-js-main/src/lib/files.ts +0 -82
- package/polar-js-main/src/lib/http.ts +0 -323
- package/polar-js-main/src/lib/is-plain-object.ts +0 -43
- package/polar-js-main/src/lib/logger.ts +0 -9
- package/polar-js-main/src/lib/matchers.ts +0 -345
- package/polar-js-main/src/lib/primitives.ts +0 -150
- package/polar-js-main/src/lib/retries.ts +0 -218
- package/polar-js-main/src/lib/schemas.ts +0 -91
- package/polar-js-main/src/lib/sdks.ts +0 -407
- package/polar-js-main/src/lib/security.ts +0 -264
- package/polar-js-main/src/lib/url.ts +0 -33
- package/polar-js-main/src/models/components/address.ts +0 -363
- package/polar-js-main/src/models/components/addressdict.ts +0 -91
- package/polar-js-main/src/models/components/addressinput.ts +0 -361
- package/polar-js-main/src/models/components/aggregationfunction.ts +0 -37
- package/polar-js-main/src/models/components/attachedcustomfield.ts +0 -107
- package/polar-js-main/src/models/components/attachedcustomfieldcreate.ts +0 -88
- package/polar-js-main/src/models/components/authorizationcodetokenrequest.ts +0 -99
- package/polar-js-main/src/models/components/authorizeorganization.ts +0 -83
- package/polar-js-main/src/models/components/authorizeresponseorganization.ts +0 -106
- package/polar-js-main/src/models/components/authorizeresponseuser.ts +0 -100
- package/polar-js-main/src/models/components/authorizeuser.ts +0 -79
- package/polar-js-main/src/models/components/benefit.ts +0 -113
- package/polar-js-main/src/models/components/benefitcreate.ts +0 -164
- package/polar-js-main/src/models/components/benefitcustom.ts +0 -204
- package/polar-js-main/src/models/components/benefitcustomcreate.ts +0 -184
- package/polar-js-main/src/models/components/benefitcustomcreateproperties.ts +0 -71
- package/polar-js-main/src/models/components/benefitcustomproperties.ts +0 -69
- package/polar-js-main/src/models/components/benefitcustomsubscriber.ts +0 -221
- package/polar-js-main/src/models/components/benefitcustomsubscriberproperties.ts +0 -72
- package/polar-js-main/src/models/components/benefitcustomupdate.ts +0 -162
- package/polar-js-main/src/models/components/benefitcycledevent.ts +0 -168
- package/polar-js-main/src/models/components/benefitdiscord.ts +0 -208
- package/polar-js-main/src/models/components/benefitdiscordcreate.ts +0 -181
- package/polar-js-main/src/models/components/benefitdiscordcreateproperties.ts +0 -98
- package/polar-js-main/src/models/components/benefitdiscordproperties.ts +0 -105
- package/polar-js-main/src/models/components/benefitdiscordsubscriber.ts +0 -221
- package/polar-js-main/src/models/components/benefitdiscordsubscriberproperties.ts +0 -85
- package/polar-js-main/src/models/components/benefitdiscordupdate.ts +0 -164
- package/polar-js-main/src/models/components/benefitdownloadables.ts +0 -204
- package/polar-js-main/src/models/components/benefitdownloadablescreate.ts +0 -184
- package/polar-js-main/src/models/components/benefitdownloadablescreateproperties.ts +0 -75
- package/polar-js-main/src/models/components/benefitdownloadablesproperties.ts +0 -72
- package/polar-js-main/src/models/components/benefitdownloadablessubscriber.ts +0 -224
- package/polar-js-main/src/models/components/benefitdownloadablessubscriberproperties.ts +0 -86
- package/polar-js-main/src/models/components/benefitdownloadablesupdate.ts +0 -170
- package/polar-js-main/src/models/components/benefitgithubrepository.ts +0 -218
- package/polar-js-main/src/models/components/benefitgithubrepositorycreate.ts +0 -190
- package/polar-js-main/src/models/components/benefitgithubrepositorycreateproperties.ts +0 -149
- package/polar-js-main/src/models/components/benefitgithubrepositoryproperties.ts +0 -135
- package/polar-js-main/src/models/components/benefitgithubrepositorysubscriber.ts +0 -234
- package/polar-js-main/src/models/components/benefitgithubrepositorysubscriberproperties.ts +0 -103
- package/polar-js-main/src/models/components/benefitgithubrepositoryupdate.ts +0 -176
- package/polar-js-main/src/models/components/benefitgrant.ts +0 -328
- package/polar-js-main/src/models/components/benefitgrantcustomproperties.ts +0 -60
- package/polar-js-main/src/models/components/benefitgrantcustomwebhook.ts +0 -236
- package/polar-js-main/src/models/components/benefitgrantdiscordproperties.ts +0 -95
- package/polar-js-main/src/models/components/benefitgrantdiscordwebhook.ts +0 -236
- package/polar-js-main/src/models/components/benefitgrantdownloadablesproperties.ts +0 -71
- package/polar-js-main/src/models/components/benefitgrantdownloadableswebhook.ts +0 -233
- package/polar-js-main/src/models/components/benefitgrantedevent.ts +0 -168
- package/polar-js-main/src/models/components/benefitgranterror.ts +0 -74
- package/polar-js-main/src/models/components/benefitgrantgithubrepositoryproperties.ts +0 -140
- package/polar-js-main/src/models/components/benefitgrantgithubrepositorywebhook.ts +0 -246
- package/polar-js-main/src/models/components/benefitgrantlicensekeysproperties.ts +0 -84
- package/polar-js-main/src/models/components/benefitgrantlicensekeyswebhook.ts +0 -233
- package/polar-js-main/src/models/components/benefitgrantmetadata.ts +0 -92
- package/polar-js-main/src/models/components/benefitgrantmetercreditproperties.ts +0 -90
- package/polar-js-main/src/models/components/benefitgrantmetercreditwebhook.ts +0 -240
- package/polar-js-main/src/models/components/benefitgrantsortproperty.ts +0 -39
- package/polar-js-main/src/models/components/benefitgrantwebhook.ts +0 -120
- package/polar-js-main/src/models/components/benefitlicensekeyactivationcreateproperties.ts +0 -92
- package/polar-js-main/src/models/components/benefitlicensekeyactivationproperties.ts +0 -84
- package/polar-js-main/src/models/components/benefitlicensekeyexpirationproperties.ts +0 -102
- package/polar-js-main/src/models/components/benefitlicensekeys.ts +0 -202
- package/polar-js-main/src/models/components/benefitlicensekeyscreate.ts +0 -182
- package/polar-js-main/src/models/components/benefitlicensekeyscreateproperties.ts +0 -112
- package/polar-js-main/src/models/components/benefitlicensekeysproperties.ts +0 -101
- package/polar-js-main/src/models/components/benefitlicensekeyssubscriber.ts +0 -223
- package/polar-js-main/src/models/components/benefitlicensekeyssubscriberproperties.ts +0 -105
- package/polar-js-main/src/models/components/benefitlicensekeysupdate.ts +0 -168
- package/polar-js-main/src/models/components/benefitmetercredit.ts +0 -212
- package/polar-js-main/src/models/components/benefitmetercreditcreate.ts +0 -188
- package/polar-js-main/src/models/components/benefitmetercreditcreateproperties.ts +0 -90
- package/polar-js-main/src/models/components/benefitmetercreditproperties.ts +0 -88
- package/polar-js-main/src/models/components/benefitmetercreditsubscriber.ts +0 -226
- package/polar-js-main/src/models/components/benefitmetercreditsubscriberproperties.ts +0 -92
- package/polar-js-main/src/models/components/benefitmetercreditupdate.ts +0 -168
- package/polar-js-main/src/models/components/benefitpublic.ts +0 -131
- package/polar-js-main/src/models/components/benefitrevokedevent.ts +0 -168
- package/polar-js-main/src/models/components/benefitsortproperty.ts +0 -37
- package/polar-js-main/src/models/components/benefitsubscriberorganization.ts +0 -141
- package/polar-js-main/src/models/components/benefittype.ts +0 -35
- package/polar-js-main/src/models/components/benefitupdatedevent.ts +0 -168
- package/polar-js-main/src/models/components/billingaddressfieldmode.ts +0 -36
- package/polar-js-main/src/models/components/cardpayment.ts +0 -203
- package/polar-js-main/src/models/components/cardpaymentmetadata.ts +0 -79
- package/polar-js-main/src/models/components/checkout.ts +0 -948
- package/polar-js-main/src/models/components/checkoutbillingaddressfields.ts +0 -102
- package/polar-js-main/src/models/components/checkoutconfirmstripe.ts +0 -267
- package/polar-js-main/src/models/components/checkoutcreate.ts +0 -506
- package/polar-js-main/src/models/components/checkoutdiscountfixedonceforeverduration.ts +0 -117
- package/polar-js-main/src/models/components/checkoutdiscountfixedrepeatduration.ts +0 -127
- package/polar-js-main/src/models/components/checkoutdiscountpercentageonceforeverduration.ts +0 -127
- package/polar-js-main/src/models/components/checkoutdiscountpercentagerepeatduration.ts +0 -134
- package/polar-js-main/src/models/components/checkoutlink.ts +0 -382
- package/polar-js-main/src/models/components/checkoutlinkcreate.ts +0 -90
- package/polar-js-main/src/models/components/checkoutlinkcreateproduct.ts +0 -241
- package/polar-js-main/src/models/components/checkoutlinkcreateproductprice.ts +0 -246
- package/polar-js-main/src/models/components/checkoutlinkcreateproducts.ts +0 -239
- package/polar-js-main/src/models/components/checkoutlinkproduct.ts +0 -365
- package/polar-js-main/src/models/components/checkoutlinksortproperty.ts +0 -41
- package/polar-js-main/src/models/components/checkoutlinkupdate.ts +0 -219
- package/polar-js-main/src/models/components/checkoutorganization.ts +0 -139
- package/polar-js-main/src/models/components/checkoutproduct.ts +0 -297
- package/polar-js-main/src/models/components/checkoutpublic.ts +0 -802
- package/polar-js-main/src/models/components/checkoutpublicconfirmed.ts +0 -827
- package/polar-js-main/src/models/components/checkoutsortproperty.ts +0 -37
- package/polar-js-main/src/models/components/checkoutstatus.ts +0 -36
- package/polar-js-main/src/models/components/checkoutupdate.ts +0 -485
- package/polar-js-main/src/models/components/checkoutupdatepublic.ts +0 -258
- package/polar-js-main/src/models/components/costmetadatainput.ts +0 -122
- package/polar-js-main/src/models/components/costmetadataoutput.ts +0 -76
- package/polar-js-main/src/models/components/countaggregation.ts +0 -66
- package/polar-js-main/src/models/components/customer.ts +0 -284
- package/polar-js-main/src/models/components/customerbalance.ts +0 -77
- package/polar-js-main/src/models/components/customerbenefitgrant.ts +0 -120
- package/polar-js-main/src/models/components/customerbenefitgrantcustom.ts +0 -178
- package/polar-js-main/src/models/components/customerbenefitgrantcustomupdate.ts +0 -77
- package/polar-js-main/src/models/components/customerbenefitgrantdiscord.ts +0 -180
- package/polar-js-main/src/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +0 -88
- package/polar-js-main/src/models/components/customerbenefitgrantdiscordupdate.ts +0 -88
- package/polar-js-main/src/models/components/customerbenefitgrantdownloadables.ts +0 -181
- package/polar-js-main/src/models/components/customerbenefitgrantdownloadablesupdate.ts +0 -86
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepository.ts +0 -183
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +0 -89
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositoryupdate.ts +0 -97
- package/polar-js-main/src/models/components/customerbenefitgrantlicensekeys.ts +0 -180
- package/polar-js-main/src/models/components/customerbenefitgrantlicensekeysupdate.ts +0 -80
- package/polar-js-main/src/models/components/customerbenefitgrantmetercredit.ts +0 -180
- package/polar-js-main/src/models/components/customerbenefitgrantmetercreditupdate.ts +0 -80
- package/polar-js-main/src/models/components/customerbenefitgrantsortproperty.ts +0 -39
- package/polar-js-main/src/models/components/customerbenefitgrantupdate.ts +0 -178
- package/polar-js-main/src/models/components/customercancellationreason.ts +0 -41
- package/polar-js-main/src/models/components/customercreate.ts +0 -248
- package/polar-js-main/src/models/components/customercreatedevent.ts +0 -168
- package/polar-js-main/src/models/components/customercreatedmetadata.ts +0 -93
- package/polar-js-main/src/models/components/customercustomermeter.ts +0 -149
- package/polar-js-main/src/models/components/customercustomermetermeter.ts +0 -103
- package/polar-js-main/src/models/components/customercustomermetersortproperty.ts +0 -48
- package/polar-js-main/src/models/components/customercustomersession.ts +0 -81
- package/polar-js-main/src/models/components/customerdeletedevent.ts +0 -168
- package/polar-js-main/src/models/components/customerdeletedmetadata.ts +0 -93
- package/polar-js-main/src/models/components/customermeter.ts +0 -161
- package/polar-js-main/src/models/components/customermetersortproperty.ts +0 -51
- package/polar-js-main/src/models/components/customerorder.ts +0 -341
- package/polar-js-main/src/models/components/customerorderconfirmpayment.ts +0 -103
- package/polar-js-main/src/models/components/customerorderinvoice.ts +0 -72
- package/polar-js-main/src/models/components/customerorderpaymentconfirmation.ts +0 -97
- package/polar-js-main/src/models/components/customerorderpaymentstatus.ts +0 -79
- package/polar-js-main/src/models/components/customerorderproduct.ts +0 -308
- package/polar-js-main/src/models/components/customerordersortproperty.ts +0 -43
- package/polar-js-main/src/models/components/customerordersubscription.ts +0 -297
- package/polar-js-main/src/models/components/customerorderupdate.ts +0 -96
- package/polar-js-main/src/models/components/customerorganization.ts +0 -139
- package/polar-js-main/src/models/components/customerorganizationdata.ts +0 -85
- package/polar-js-main/src/models/components/customerpaymentmethod.ts +0 -78
- package/polar-js-main/src/models/components/customerpaymentmethodconfirm.ts +0 -83
- package/polar-js-main/src/models/components/customerpaymentmethodcreate.ts +0 -89
- package/polar-js-main/src/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +0 -93
- package/polar-js-main/src/models/components/customerpaymentmethodcreateresponse.ts +0 -107
- package/polar-js-main/src/models/components/customerpaymentmethodcreatesucceededresponse.ts +0 -98
- package/polar-js-main/src/models/components/customerportalcustomer.ts +0 -213
- package/polar-js-main/src/models/components/customerportalcustomerupdate.ts +0 -95
- package/polar-js-main/src/models/components/customerportaloauthaccount.ts +0 -81
- package/polar-js-main/src/models/components/customerproduct.ts +0 -297
- package/polar-js-main/src/models/components/customerseat.ts +0 -180
- package/polar-js-main/src/models/components/customerseatclaimresponse.ts +0 -91
- package/polar-js-main/src/models/components/customersession.ts +0 -138
- package/polar-js-main/src/models/components/customersessioncustomerexternalidcreate.ts +0 -101
- package/polar-js-main/src/models/components/customersessioncustomeridcreate.ts +0 -92
- package/polar-js-main/src/models/components/customersortproperty.ts +0 -37
- package/polar-js-main/src/models/components/customerstate.ts +0 -339
- package/polar-js-main/src/models/components/customerstatebenefitgrant.ts +0 -322
- package/polar-js-main/src/models/components/customerstatemeter.ts +0 -133
- package/polar-js-main/src/models/components/customerstatesubscription.ts +0 -450
- package/polar-js-main/src/models/components/customerstatesubscriptionmeter.ts +0 -135
- package/polar-js-main/src/models/components/customersubscription.ts +0 -418
- package/polar-js-main/src/models/components/customersubscriptioncancel.ts +0 -118
- package/polar-js-main/src/models/components/customersubscriptionmeter.ts +0 -140
- package/polar-js-main/src/models/components/customersubscriptionmetermeter.ts +0 -105
- package/polar-js-main/src/models/components/customersubscriptionproduct.ts +0 -313
- package/polar-js-main/src/models/components/customersubscriptionsortproperty.ts +0 -43
- package/polar-js-main/src/models/components/customersubscriptionupdate.ts +0 -90
- package/polar-js-main/src/models/components/customersubscriptionupdateproduct.ts +0 -81
- package/polar-js-main/src/models/components/customersubscriptionupdateseats.ts +0 -94
- package/polar-js-main/src/models/components/customerupdate.ts +0 -239
- package/polar-js-main/src/models/components/customerupdatedevent.ts +0 -168
- package/polar-js-main/src/models/components/customerupdatedfields.ts +0 -155
- package/polar-js-main/src/models/components/customerupdatedmetadata.ts +0 -105
- package/polar-js-main/src/models/components/customerupdateexternalid.ts +0 -242
- package/polar-js-main/src/models/components/customerwallet.ts +0 -122
- package/polar-js-main/src/models/components/customerwalletsortproperty.ts +0 -37
- package/polar-js-main/src/models/components/customfield.ts +0 -138
- package/polar-js-main/src/models/components/customfieldcheckbox.ts +0 -200
- package/polar-js-main/src/models/components/customfieldcheckboxproperties.ts +0 -89
- package/polar-js-main/src/models/components/customfieldcreate.ts +0 -142
- package/polar-js-main/src/models/components/customfieldcreatecheckbox.ts +0 -193
- package/polar-js-main/src/models/components/customfieldcreatedate.ts +0 -188
- package/polar-js-main/src/models/components/customfieldcreatenumber.ts +0 -192
- package/polar-js-main/src/models/components/customfieldcreateselect.ts +0 -192
- package/polar-js-main/src/models/components/customfieldcreatetext.ts +0 -188
- package/polar-js-main/src/models/components/customfielddate.ts +0 -196
- package/polar-js-main/src/models/components/customfielddateproperties.ts +0 -95
- package/polar-js-main/src/models/components/customfieldnumber.ts +0 -198
- package/polar-js-main/src/models/components/customfieldnumberproperties.ts +0 -97
- package/polar-js-main/src/models/components/customfieldselect.ts +0 -198
- package/polar-js-main/src/models/components/customfieldselectoption.ts +0 -70
- package/polar-js-main/src/models/components/customfieldselectproperties.ts +0 -99
- package/polar-js-main/src/models/components/customfieldsortproperty.ts +0 -41
- package/polar-js-main/src/models/components/customfieldtext.ts +0 -196
- package/polar-js-main/src/models/components/customfieldtextproperties.ts +0 -103
- package/polar-js-main/src/models/components/customfieldtype.ts +0 -36
- package/polar-js-main/src/models/components/customfieldupdate.ts +0 -142
- package/polar-js-main/src/models/components/customfieldupdatecheckbox.ts +0 -173
- package/polar-js-main/src/models/components/customfieldupdatedate.ts +0 -166
- package/polar-js-main/src/models/components/customfieldupdatenumber.ts +0 -170
- package/polar-js-main/src/models/components/customfieldupdateselect.ts +0 -170
- package/polar-js-main/src/models/components/customfieldupdatetext.ts +0 -166
- package/polar-js-main/src/models/components/discount.ts +0 -96
- package/polar-js-main/src/models/components/discountcreate.ts +0 -96
- package/polar-js-main/src/models/components/discountduration.ts +0 -34
- package/polar-js-main/src/models/components/discountfixedonceforeverduration.ts +0 -277
- package/polar-js-main/src/models/components/discountfixedonceforeverdurationbase.ts +0 -269
- package/polar-js-main/src/models/components/discountfixedonceforeverdurationcreate.ts +0 -263
- package/polar-js-main/src/models/components/discountfixedrepeatduration.ts +0 -280
- package/polar-js-main/src/models/components/discountfixedrepeatdurationbase.ts +0 -270
- package/polar-js-main/src/models/components/discountfixedrepeatdurationcreate.ts +0 -275
- package/polar-js-main/src/models/components/discountpercentageonceforeverduration.ts +0 -283
- package/polar-js-main/src/models/components/discountpercentageonceforeverdurationbase.ts +0 -278
- package/polar-js-main/src/models/components/discountpercentageonceforeverdurationcreate.ts +0 -270
- package/polar-js-main/src/models/components/discountpercentagerepeatduration.ts +0 -287
- package/polar-js-main/src/models/components/discountpercentagerepeatdurationbase.ts +0 -276
- package/polar-js-main/src/models/components/discountpercentagerepeatdurationcreate.ts +0 -280
- package/polar-js-main/src/models/components/discountproduct.ts +0 -246
- package/polar-js-main/src/models/components/discountsortproperty.ts +0 -39
- package/polar-js-main/src/models/components/discounttype.ts +0 -31
- package/polar-js-main/src/models/components/discountupdate.ts +0 -229
- package/polar-js-main/src/models/components/downloadablefilecreate.ts +0 -116
- package/polar-js-main/src/models/components/downloadablefileread.ts +0 -161
- package/polar-js-main/src/models/components/downloadableread.ts +0 -89
- package/polar-js-main/src/models/components/event.ts +0 -63
- package/polar-js-main/src/models/components/eventcreatecustomer.ts +0 -130
- package/polar-js-main/src/models/components/eventcreateexternalcustomer.ts +0 -132
- package/polar-js-main/src/models/components/eventmetadatainput.ts +0 -96
- package/polar-js-main/src/models/components/eventmetadataoutput.ts +0 -96
- package/polar-js-main/src/models/components/eventname.ts +0 -106
- package/polar-js-main/src/models/components/eventnamessortproperty.ts +0 -39
- package/polar-js-main/src/models/components/eventsingest.ts +0 -140
- package/polar-js-main/src/models/components/eventsingestresponse.ts +0 -76
- package/polar-js-main/src/models/components/eventsortproperty.ts +0 -33
- package/polar-js-main/src/models/components/eventsource.ts +0 -31
- package/polar-js-main/src/models/components/existingproductprice.ts +0 -73
- package/polar-js-main/src/models/components/filecreate.ts +0 -110
- package/polar-js-main/src/models/components/filedownload.ts +0 -163
- package/polar-js-main/src/models/components/filepatch.ts +0 -66
- package/polar-js-main/src/models/components/fileservicetypes.ts +0 -34
- package/polar-js-main/src/models/components/fileupload.ts +0 -163
- package/polar-js-main/src/models/components/fileuploadcompleted.ts +0 -80
- package/polar-js-main/src/models/components/filter.ts +0 -121
- package/polar-js-main/src/models/components/filterclause.ts +0 -118
- package/polar-js-main/src/models/components/filterconjunction.ts +0 -33
- package/polar-js-main/src/models/components/filteroperator.ts +0 -39
- package/polar-js-main/src/models/components/genericpayment.ts +0 -188
- package/polar-js-main/src/models/components/introspecttokenrequest.ts +0 -125
- package/polar-js-main/src/models/components/introspecttokenresponse.ts +0 -146
- package/polar-js-main/src/models/components/legacyrecurringproductprice.ts +0 -116
- package/polar-js-main/src/models/components/legacyrecurringproductpricecustom.ts +0 -188
- package/polar-js-main/src/models/components/legacyrecurringproductpricefixed.ts +0 -169
- package/polar-js-main/src/models/components/legacyrecurringproductpricefree.ts +0 -151
- package/polar-js-main/src/models/components/licensekeyactivate.ts +0 -239
- package/polar-js-main/src/models/components/licensekeyactivationbase.ts +0 -145
- package/polar-js-main/src/models/components/licensekeyactivationread.ts +0 -173
- package/polar-js-main/src/models/components/licensekeycustomer.ts +0 -293
- package/polar-js-main/src/models/components/licensekeydeactivate.ts +0 -85
- package/polar-js-main/src/models/components/licensekeyread.ts +0 -178
- package/polar-js-main/src/models/components/licensekeystatus.ts +0 -34
- package/polar-js-main/src/models/components/licensekeyupdate.ts +0 -102
- package/polar-js-main/src/models/components/licensekeyvalidate.ts +0 -172
- package/polar-js-main/src/models/components/licensekeywithactivations.ts +0 -192
- package/polar-js-main/src/models/components/listresource.ts +0 -78
- package/polar-js-main/src/models/components/listresourcebenefit.ts +0 -82
- package/polar-js-main/src/models/components/listresourcebenefitgrant.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecheckout.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecheckoutlink.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecustomer.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecustomerbenefitgrant.ts +0 -84
- package/polar-js-main/src/models/components/listresourcecustomercustomermeter.ts +0 -85
- package/polar-js-main/src/models/components/listresourcecustomermeter.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecustomerorder.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecustomerpaymentmethod.ts +0 -85
- package/polar-js-main/src/models/components/listresourcecustomersubscription.ts +0 -84
- package/polar-js-main/src/models/components/listresourcecustomerwallet.ts +0 -82
- package/polar-js-main/src/models/components/listresourcecustomfield.ts +0 -82
- package/polar-js-main/src/models/components/listresourcediscount.ts +0 -82
- package/polar-js-main/src/models/components/listresourcedownloadableread.ts +0 -84
- package/polar-js-main/src/models/components/listresourceevent.ts +0 -82
- package/polar-js-main/src/models/components/listresourceeventname.ts +0 -82
- package/polar-js-main/src/models/components/listresourcefileread.ts +0 -222
- package/polar-js-main/src/models/components/listresourcelicensekeyread.ts +0 -82
- package/polar-js-main/src/models/components/listresourcemeter.ts +0 -82
- package/polar-js-main/src/models/components/listresourceorder.ts +0 -82
- package/polar-js-main/src/models/components/listresourceorganization.ts +0 -82
- package/polar-js-main/src/models/components/listresourceproduct.ts +0 -82
- package/polar-js-main/src/models/components/listresourcerefund.ts +0 -82
- package/polar-js-main/src/models/components/listresourcesubscription.ts +0 -82
- package/polar-js-main/src/models/components/listresourcewallet.ts +0 -82
- package/polar-js-main/src/models/components/listresourcewebhookdelivery.ts +0 -84
- package/polar-js-main/src/models/components/listresourcewebhookendpoint.ts +0 -84
- package/polar-js-main/src/models/components/llmmetadata.ts +0 -129
- package/polar-js-main/src/models/components/meter.ts +0 -380
- package/polar-js-main/src/models/components/metercreate.ts +0 -354
- package/polar-js-main/src/models/components/metercreditedmetadata.ts +0 -83
- package/polar-js-main/src/models/components/metercreditevent.ts +0 -168
- package/polar-js-main/src/models/components/meterquantities.ts +0 -77
- package/polar-js-main/src/models/components/meterquantity.ts +0 -72
- package/polar-js-main/src/models/components/meterresetevent.ts +0 -166
- package/polar-js-main/src/models/components/meterresetmetadata.ts +0 -75
- package/polar-js-main/src/models/components/metersortproperty.ts +0 -35
- package/polar-js-main/src/models/components/meterupdate.ts +0 -374
- package/polar-js-main/src/models/components/metric.ts +0 -90
- package/polar-js-main/src/models/components/metricperiod.ts +0 -2298
- package/polar-js-main/src/models/components/metrics.ts +0 -425
- package/polar-js-main/src/models/components/metricsintervallimit.ts +0 -81
- package/polar-js-main/src/models/components/metricsintervalslimits.ts +0 -106
- package/polar-js-main/src/models/components/metricslimits.ts +0 -91
- package/polar-js-main/src/models/components/metricsresponse.ts +0 -96
- package/polar-js-main/src/models/components/metricstotals.ts +0 -2538
- package/polar-js-main/src/models/components/metrictype.ts +0 -33
- package/polar-js-main/src/models/components/oauth2clientconfiguration.ts +0 -202
- package/polar-js-main/src/models/components/oauth2clientconfigurationupdate.ts +0 -224
- package/polar-js-main/src/models/components/oauth2clientpublic.ts +0 -125
- package/polar-js-main/src/models/components/order.ts +0 -608
- package/polar-js-main/src/models/components/orderbillingreason.ts +0 -35
- package/polar-js-main/src/models/components/ordercustomer.ts +0 -285
- package/polar-js-main/src/models/components/orderinvoice.ts +0 -68
- package/polar-js-main/src/models/components/orderitemschema.ts +0 -136
- package/polar-js-main/src/models/components/orderpaidevent.ts +0 -164
- package/polar-js-main/src/models/components/orderpaidmetadata.ts +0 -87
- package/polar-js-main/src/models/components/orderproduct.ts +0 -237
- package/polar-js-main/src/models/components/orderrefundedevent.ts +0 -168
- package/polar-js-main/src/models/components/orderrefundedmetadata.ts +0 -89
- package/polar-js-main/src/models/components/ordersortproperty.ts +0 -49
- package/polar-js-main/src/models/components/orderstatus.ts +0 -33
- package/polar-js-main/src/models/components/ordersubscription.ts +0 -359
- package/polar-js-main/src/models/components/orderupdate.ts +0 -92
- package/polar-js-main/src/models/components/organization.ts +0 -233
- package/polar-js-main/src/models/components/organizationavatarfilecreate.ts +0 -124
- package/polar-js-main/src/models/components/organizationavatarfileread.ts +0 -167
- package/polar-js-main/src/models/components/organizationcreate.ts +0 -195
- package/polar-js-main/src/models/components/organizationcustomeremailsettings.ts +0 -120
- package/polar-js-main/src/models/components/organizationdetails.ts +0 -168
- package/polar-js-main/src/models/components/organizationfeaturesettings.ts +0 -107
- package/polar-js-main/src/models/components/organizationnotificationsettings.ts +0 -83
- package/polar-js-main/src/models/components/organizationsociallink.ts +0 -78
- package/polar-js-main/src/models/components/organizationsocialplatforms.ts +0 -41
- package/polar-js-main/src/models/components/organizationsortproperty.ts +0 -43
- package/polar-js-main/src/models/components/organizationstatus.ts +0 -37
- package/polar-js-main/src/models/components/organizationsubscriptionsettings.ts +0 -100
- package/polar-js-main/src/models/components/organizationupdate.ts +0 -191
- package/polar-js-main/src/models/components/pagination.ts +0 -77
- package/polar-js-main/src/models/components/payment.ts +0 -63
- package/polar-js-main/src/models/components/paymentmethodcard.ts +0 -127
- package/polar-js-main/src/models/components/paymentmethodcardmetadata.ts +0 -93
- package/polar-js-main/src/models/components/paymentmethodgeneric.ts +0 -115
- package/polar-js-main/src/models/components/paymentprocessor.ts +0 -32
- package/polar-js-main/src/models/components/paymentsortproperty.ts +0 -39
- package/polar-js-main/src/models/components/paymentstatus.ts +0 -34
- package/polar-js-main/src/models/components/product.ts +0 -358
- package/polar-js-main/src/models/components/productbenefitsupdate.ts +0 -72
- package/polar-js-main/src/models/components/productbillingtype.ts +0 -33
- package/polar-js-main/src/models/components/productcreate.ts +0 -74
- package/polar-js-main/src/models/components/productcreateonetime.ts +0 -432
- package/polar-js-main/src/models/components/productcreaterecurring.ts +0 -459
- package/polar-js-main/src/models/components/productmediafilecreate.ts +0 -122
- package/polar-js-main/src/models/components/productmediafileread.ts +0 -167
- package/polar-js-main/src/models/components/productprice.ts +0 -146
- package/polar-js-main/src/models/components/productpricecustom.ts +0 -182
- package/polar-js-main/src/models/components/productpricecustomcreate.ts +0 -114
- package/polar-js-main/src/models/components/productpricefixed.ts +0 -164
- package/polar-js-main/src/models/components/productpricefixedcreate.ts +0 -96
- package/polar-js-main/src/models/components/productpricefree.ts +0 -146
- package/polar-js-main/src/models/components/productpricefreecreate.ts +0 -78
- package/polar-js-main/src/models/components/productpricemeter.ts +0 -79
- package/polar-js-main/src/models/components/productpricemeteredunit.ts +0 -195
- package/polar-js-main/src/models/components/productpricemeteredunitcreate.ts +0 -165
- package/polar-js-main/src/models/components/productpriceseatbased.ts +0 -170
- package/polar-js-main/src/models/components/productpriceseatbasedcreate.ts +0 -104
- package/polar-js-main/src/models/components/productpriceseattier.ts +0 -99
- package/polar-js-main/src/models/components/productpriceseattiers.ts +0 -78
- package/polar-js-main/src/models/components/productpricetype.ts +0 -33
- package/polar-js-main/src/models/components/productsortproperty.ts +0 -39
- package/polar-js-main/src/models/components/productupdate.ts +0 -589
- package/polar-js-main/src/models/components/propertyaggregation.ts +0 -99
- package/polar-js-main/src/models/components/refreshtokenrequest.ts +0 -93
- package/polar-js-main/src/models/components/refund.ts +0 -207
- package/polar-js-main/src/models/components/refundcreate.ts +0 -183
- package/polar-js-main/src/models/components/refundreason.ts +0 -35
- package/polar-js-main/src/models/components/refundsortproperty.ts +0 -35
- package/polar-js-main/src/models/components/refundstatus.ts +0 -33
- package/polar-js-main/src/models/components/revoketokenrequest.ts +0 -119
- package/polar-js-main/src/models/components/revoketokenresponse.ts +0 -58
- package/polar-js-main/src/models/components/s3downloadurl.ts +0 -79
- package/polar-js-main/src/models/components/s3filecreatemultipart.ts +0 -72
- package/polar-js-main/src/models/components/s3filecreatepart.ts +0 -91
- package/polar-js-main/src/models/components/s3fileuploadcompletedpart.ts +0 -85
- package/polar-js-main/src/models/components/s3fileuploadmultipart.ts +0 -80
- package/polar-js-main/src/models/components/s3fileuploadpart.ts +0 -105
- package/polar-js-main/src/models/components/scope.ts +0 -91
- package/polar-js-main/src/models/components/seatassign.ts +0 -133
- package/polar-js-main/src/models/components/seatclaim.ts +0 -74
- package/polar-js-main/src/models/components/seatclaiminfo.ts +0 -125
- package/polar-js-main/src/models/components/seatslist.ts +0 -96
- package/polar-js-main/src/models/components/seatstatus.ts +0 -32
- package/polar-js-main/src/models/components/security.ts +0 -71
- package/polar-js-main/src/models/components/subscription.ts +0 -679
- package/polar-js-main/src/models/components/subscriptioncancel.ts +0 -137
- package/polar-js-main/src/models/components/subscriptioncreatecustomer.ts +0 -175
- package/polar-js-main/src/models/components/subscriptioncreateexternalcustomer.ts +0 -185
- package/polar-js-main/src/models/components/subscriptioncustomer.ts +0 -288
- package/polar-js-main/src/models/components/subscriptioncycledevent.ts +0 -168
- package/polar-js-main/src/models/components/subscriptioncycledmetadata.ts +0 -75
- package/polar-js-main/src/models/components/subscriptionmeter.ts +0 -143
- package/polar-js-main/src/models/components/subscriptionproductupdatedevent.ts +0 -170
- package/polar-js-main/src/models/components/subscriptionproductupdatedmetadata.ts +0 -91
- package/polar-js-main/src/models/components/subscriptionprorationbehavior.ts +0 -35
- package/polar-js-main/src/models/components/subscriptionrecurringinterval.ts +0 -37
- package/polar-js-main/src/models/components/subscriptionrevoke.ts +0 -131
- package/polar-js-main/src/models/components/subscriptionrevokedevent.ts +0 -168
- package/polar-js-main/src/models/components/subscriptionrevokedmetadata.ts +0 -77
- package/polar-js-main/src/models/components/subscriptionslist.ts +0 -80
- package/polar-js-main/src/models/components/subscriptionsortproperty.ts +0 -47
- package/polar-js-main/src/models/components/subscriptionstatus.ts +0 -38
- package/polar-js-main/src/models/components/subscriptionupdate.ts +0 -120
- package/polar-js-main/src/models/components/subscriptionupdatediscount.ts +0 -78
- package/polar-js-main/src/models/components/subscriptionupdateproduct.ts +0 -94
- package/polar-js-main/src/models/components/subscriptionupdateseats.ts +0 -92
- package/polar-js-main/src/models/components/subscriptionupdatetrial.ts +0 -78
- package/polar-js-main/src/models/components/subtype.ts +0 -31
- package/polar-js-main/src/models/components/systemevent.ts +0 -310
- package/polar-js-main/src/models/components/taxidformat.ts +0 -117
- package/polar-js-main/src/models/components/timeinterval.ts +0 -34
- package/polar-js-main/src/models/components/tokenresponse.ts +0 -99
- package/polar-js-main/src/models/components/trialinterval.ts +0 -35
- package/polar-js-main/src/models/components/uniqueaggregation.ts +0 -70
- package/polar-js-main/src/models/components/userevent.ts +0 -164
- package/polar-js-main/src/models/components/userinfoorganization.ts +0 -70
- package/polar-js-main/src/models/components/userinfouser.ts +0 -83
- package/polar-js-main/src/models/components/validatedlicensekey.ts +0 -192
- package/polar-js-main/src/models/components/validationerror.ts +0 -113
- package/polar-js-main/src/models/components/wallet.ts +0 -121
- package/polar-js-main/src/models/components/walletsortproperty.ts +0 -35
- package/polar-js-main/src/models/components/wallettopupcreate.ts +0 -79
- package/polar-js-main/src/models/components/webhookbenefitcreatedpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhookbenefitgrantcreatedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookbenefitgrantcycledpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookbenefitgrantrevokedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookbenefitgrantupdatedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookbenefitupdatedpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhookcheckoutcreatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookcheckoutupdatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookcustomercreatedpayload.ts +0 -97
- package/polar-js-main/src/models/components/webhookcustomerdeletedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookcustomerseatassignedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookcustomerseatclaimedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookcustomerseatrevokedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookcustomerstatechangedpayload.ts +0 -106
- package/polar-js-main/src/models/components/webhookcustomerupdatedpayload.ts +0 -96
- package/polar-js-main/src/models/components/webhookdelivery.ts +0 -143
- package/polar-js-main/src/models/components/webhookendpoint.ts +0 -148
- package/polar-js-main/src/models/components/webhookendpointcreate.ts +0 -116
- package/polar-js-main/src/models/components/webhookendpointupdate.ts +0 -101
- package/polar-js-main/src/models/components/webhookevent.ts +0 -144
- package/polar-js-main/src/models/components/webhookeventtype.ts +0 -61
- package/polar-js-main/src/models/components/webhookformat.ts +0 -34
- package/polar-js-main/src/models/components/webhookordercreatedpayload.ts +0 -96
- package/polar-js-main/src/models/components/webhookorderpaidpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhookorderrefundedpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhookorderupdatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookorganizationupdatedpayload.ts +0 -90
- package/polar-js-main/src/models/components/webhookproductcreatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookproductupdatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhookrefundcreatedpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhookrefundupdatedpayload.ts +0 -89
- package/polar-js-main/src/models/components/webhooksubscriptionactivepayload.ts +0 -90
- package/polar-js-main/src/models/components/webhooksubscriptioncanceledpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhooksubscriptioncreatedpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhooksubscriptionrevokedpayload.ts +0 -91
- package/polar-js-main/src/models/components/webhooksubscriptionuncanceledpayload.ts +0 -92
- package/polar-js-main/src/models/components/webhooksubscriptionupdatedpayload.ts +0 -94
- package/polar-js-main/src/models/components/webtokenrequest.ts +0 -133
- package/polar-js-main/src/models/errors/alreadyactivesubscriptionerror.ts +0 -85
- package/polar-js-main/src/models/errors/alreadycanceledsubscription.ts +0 -85
- package/polar-js-main/src/models/errors/checkoutforbiddenerror.ts +0 -90
- package/polar-js-main/src/models/errors/customernotready.ts +0 -85
- package/polar-js-main/src/models/errors/customerportalordersgenerateinvoice.ts +0 -97
- package/polar-js-main/src/models/errors/expiredcheckouterror.ts +0 -85
- package/polar-js-main/src/models/errors/httpclienterrors.ts +0 -62
- package/polar-js-main/src/models/errors/httpvalidationerror.ts +0 -85
- package/polar-js-main/src/models/errors/missinginvoicebillingdetails.ts +0 -85
- package/polar-js-main/src/models/errors/missingpaymentmethoderror.ts +0 -85
- package/polar-js-main/src/models/errors/notopencheckout.ts +0 -85
- package/polar-js-main/src/models/errors/notpaidorder.ts +0 -85
- package/polar-js-main/src/models/errors/notpermitted.ts +0 -85
- package/polar-js-main/src/models/errors/ordernoteligibleforretry.ts +0 -85
- package/polar-js-main/src/models/errors/ordersgenerateinvoice.ts +0 -97
- package/polar-js-main/src/models/errors/paymentalreadyinprogress.ts +0 -85
- package/polar-js-main/src/models/errors/paymenterror.ts +0 -85
- package/polar-js-main/src/models/errors/paymentintentfailederror.ts +0 -85
- package/polar-js-main/src/models/errors/paymentmethodinusebyactivesubscription.ts +0 -87
- package/polar-js-main/src/models/errors/paymentnotready.ts +0 -85
- package/polar-js-main/src/models/errors/polarerror.ts +0 -35
- package/polar-js-main/src/models/errors/refundamounttoohigh.ts +0 -85
- package/polar-js-main/src/models/errors/refundedalready.ts +0 -85
- package/polar-js-main/src/models/errors/resourcenotfound.ts +0 -85
- package/polar-js-main/src/models/errors/responsevalidationerror.ts +0 -50
- package/polar-js-main/src/models/errors/sdkerror.ts +0 -40
- package/polar-js-main/src/models/errors/sdkvalidationerror.ts +0 -109
- package/polar-js-main/src/models/errors/subscriptionlocked.ts +0 -85
- package/polar-js-main/src/models/errors/unauthorized.ts +0 -85
- package/polar-js-main/src/models/operations/benefitgrantslist.ts +0 -340
- package/polar-js-main/src/models/operations/benefitsdelete.ts +0 -66
- package/polar-js-main/src/models/operations/benefitsget.ts +0 -66
- package/polar-js-main/src/models/operations/benefitsgrants.ts +0 -231
- package/polar-js-main/src/models/operations/benefitslist.ts +0 -324
- package/polar-js-main/src/models/operations/benefitsupdate.ts +0 -219
- package/polar-js-main/src/models/operations/checkoutlinksdelete.ts +0 -69
- package/polar-js-main/src/models/operations/checkoutlinksget.ts +0 -69
- package/polar-js-main/src/models/operations/checkoutlinkslist.ts +0 -325
- package/polar-js-main/src/models/operations/checkoutlinksupdate.ts +0 -88
- package/polar-js-main/src/models/operations/checkoutsclientconfirm.ts +0 -92
- package/polar-js-main/src/models/operations/checkoutsclientget.ts +0 -78
- package/polar-js-main/src/models/operations/checkoutsclientupdate.ts +0 -92
- package/polar-js-main/src/models/operations/checkoutsget.ts +0 -69
- package/polar-js-main/src/models/operations/checkoutslist.ts +0 -478
- package/polar-js-main/src/models/operations/checkoutsupdate.ts +0 -88
- package/polar-js-main/src/models/operations/customermetersget.ts +0 -69
- package/polar-js-main/src/models/operations/customermeterslist.ts +0 -475
- package/polar-js-main/src/models/operations/customerportalbenefitgrantsget.ts +0 -147
- package/polar-js-main/src/models/operations/customerportalbenefitgrantslist.ts +0 -605
- package/polar-js-main/src/models/operations/customerportalbenefitgrantsupdate.ts +0 -177
- package/polar-js-main/src/models/operations/customerportalcustomermetersget.ts +0 -153
- package/polar-js-main/src/models/operations/customerportalcustomermeterslist.ts +0 -333
- package/polar-js-main/src/models/operations/customerportalcustomersaddpaymentmethod.ts +0 -89
- package/polar-js-main/src/models/operations/customerportalcustomersconfirmpaymentmethod.ts +0 -89
- package/polar-js-main/src/models/operations/customerportalcustomersdeletepaymentmethod.ts +0 -161
- package/polar-js-main/src/models/operations/customerportalcustomersessionintrospect.ts +0 -89
- package/polar-js-main/src/models/operations/customerportalcustomersget.ts +0 -79
- package/polar-js-main/src/models/operations/customerportalcustomerslistpaymentmethods.ts +0 -257
- package/polar-js-main/src/models/operations/customerportalcustomersupdate.ts +0 -80
- package/polar-js-main/src/models/operations/customerportaldownloadableslist.ts +0 -327
- package/polar-js-main/src/models/operations/customerportallicensekeysget.ts +0 -143
- package/polar-js-main/src/models/operations/customerportallicensekeyslist.ts +0 -245
- package/polar-js-main/src/models/operations/customerportalordersconfirmretrypayment.ts +0 -182
- package/polar-js-main/src/models/operations/customerportalordersgenerateinvoice.ts +0 -159
- package/polar-js-main/src/models/operations/customerportalordersget.ts +0 -140
- package/polar-js-main/src/models/operations/customerportalordersgetpaymentstatus.ts +0 -162
- package/polar-js-main/src/models/operations/customerportalordersinvoice.ts +0 -145
- package/polar-js-main/src/models/operations/customerportalorderslist.ts +0 -512
- package/polar-js-main/src/models/operations/customerportalordersupdate.ts +0 -161
- package/polar-js-main/src/models/operations/customerportalorganizationsget.ts +0 -74
- package/polar-js-main/src/models/operations/customerportalseatsassignseat.ts +0 -80
- package/polar-js-main/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +0 -89
- package/polar-js-main/src/models/operations/customerportalseatslistseats.ts +0 -163
- package/polar-js-main/src/models/operations/customerportalseatsresendinvitation.ts +0 -164
- package/polar-js-main/src/models/operations/customerportalseatsrevokeseat.ts +0 -151
- package/polar-js-main/src/models/operations/customerportalsubscriptionscancel.ts +0 -159
- package/polar-js-main/src/models/operations/customerportalsubscriptionsget.ts +0 -147
- package/polar-js-main/src/models/operations/customerportalsubscriptionslist.ts +0 -355
- package/polar-js-main/src/models/operations/customerportalsubscriptionsupdate.ts +0 -177
- package/polar-js-main/src/models/operations/customerportalwalletsget.ts +0 -140
- package/polar-js-main/src/models/operations/customerportalwalletslist.ts +0 -237
- package/polar-js-main/src/models/operations/customersdelete.ts +0 -69
- package/polar-js-main/src/models/operations/customersdeleteexternal.ts +0 -80
- package/polar-js-main/src/models/operations/customerseatsgetclaiminfo.ts +0 -77
- package/polar-js-main/src/models/operations/customerseatslistseats.ts +0 -83
- package/polar-js-main/src/models/operations/customerseatsresendinvitation.ts +0 -80
- package/polar-js-main/src/models/operations/customerseatsrevokeseat.ts +0 -77
- package/polar-js-main/src/models/operations/customersessionscreate.ts +0 -93
- package/polar-js-main/src/models/operations/customersexport.ts +0 -146
- package/polar-js-main/src/models/operations/customersget.ts +0 -69
- package/polar-js-main/src/models/operations/customersgetbalance.ts +0 -69
- package/polar-js-main/src/models/operations/customersgetexternal.ts +0 -80
- package/polar-js-main/src/models/operations/customersgetstate.ts +0 -69
- package/polar-js-main/src/models/operations/customersgetstateexternal.ts +0 -80
- package/polar-js-main/src/models/operations/customerslist.ts +0 -275
- package/polar-js-main/src/models/operations/customersupdate.ts +0 -88
- package/polar-js-main/src/models/operations/customersupdateexternal.ts +0 -92
- package/polar-js-main/src/models/operations/customfieldsdelete.ts +0 -69
- package/polar-js-main/src/models/operations/customfieldsget.ts +0 -69
- package/polar-js-main/src/models/operations/customfieldslist.ts +0 -341
- package/polar-js-main/src/models/operations/customfieldsupdate.ts +0 -88
- package/polar-js-main/src/models/operations/discountsdelete.ts +0 -69
- package/polar-js-main/src/models/operations/discountsget.ts +0 -69
- package/polar-js-main/src/models/operations/discountslist.ts +0 -255
- package/polar-js-main/src/models/operations/discountsupdate.ts +0 -88
- package/polar-js-main/src/models/operations/eventsget.ts +0 -69
- package/polar-js-main/src/models/operations/eventslist.ts +0 -580
- package/polar-js-main/src/models/operations/eventslistnames.ts +0 -484
- package/polar-js-main/src/models/operations/filesdelete.ts +0 -66
- package/polar-js-main/src/models/operations/fileslist.ts +0 -288
- package/polar-js-main/src/models/operations/filesupdate.ts +0 -199
- package/polar-js-main/src/models/operations/filesuploaded.ts +0 -201
- package/polar-js-main/src/models/operations/licensekeysget.ts +0 -66
- package/polar-js-main/src/models/operations/licensekeysgetactivation.ts +0 -81
- package/polar-js-main/src/models/operations/licensekeyslist.ts +0 -298
- package/polar-js-main/src/models/operations/licensekeysupdate.ts +0 -85
- package/polar-js-main/src/models/operations/metersget.ts +0 -69
- package/polar-js-main/src/models/operations/meterslist.ts +0 -273
- package/polar-js-main/src/models/operations/metersquantities.ts +0 -296
- package/polar-js-main/src/models/operations/metersupdate.ts +0 -88
- package/polar-js-main/src/models/operations/metricsget.ts +0 -418
- package/polar-js-main/src/models/operations/oauth2authorize.ts +0 -105
- package/polar-js-main/src/models/operations/oauth2clientsoauth2deleteclient.ts +0 -81
- package/polar-js-main/src/models/operations/oauth2clientsoauth2getclient.ts +0 -80
- package/polar-js-main/src/models/operations/oauth2clientsoauth2updateclient.ts +0 -95
- package/polar-js-main/src/models/operations/oauth2requesttoken.ts +0 -92
- package/polar-js-main/src/models/operations/oauth2userinfo.ts +0 -82
- package/polar-js-main/src/models/operations/ordersexport.ts +0 -214
- package/polar-js-main/src/models/operations/ordersgenerateinvoice.ts +0 -71
- package/polar-js-main/src/models/operations/ordersget.ts +0 -69
- package/polar-js-main/src/models/operations/ordersinvoice.ts +0 -69
- package/polar-js-main/src/models/operations/orderslist.ts +0 -611
- package/polar-js-main/src/models/operations/ordersupdate.ts +0 -88
- package/polar-js-main/src/models/operations/organizationsget.ts +0 -66
- package/polar-js-main/src/models/operations/organizationslist.ts +0 -170
- package/polar-js-main/src/models/operations/organizationsupdate.ts +0 -85
- package/polar-js-main/src/models/operations/paymentsget.ts +0 -69
- package/polar-js-main/src/models/operations/paymentslist.ts +0 -584
- package/polar-js-main/src/models/operations/productsget.ts +0 -66
- package/polar-js-main/src/models/operations/productslist.ts +0 -401
- package/polar-js-main/src/models/operations/productsupdate.ts +0 -85
- package/polar-js-main/src/models/operations/productsupdatebenefits.ts +0 -87
- package/polar-js-main/src/models/operations/refundslist.ts +0 -500
- package/polar-js-main/src/models/operations/subscriptionscreate.ts +0 -85
- package/polar-js-main/src/models/operations/subscriptionsexport.ts +0 -129
- package/polar-js-main/src/models/operations/subscriptionsget.ts +0 -69
- package/polar-js-main/src/models/operations/subscriptionslist.ts +0 -505
- package/polar-js-main/src/models/operations/subscriptionsrevoke.ts +0 -69
- package/polar-js-main/src/models/operations/subscriptionsupdate.ts +0 -88
- package/polar-js-main/src/models/operations/walletsget.ts +0 -69
- package/polar-js-main/src/models/operations/walletslist.ts +0 -315
- package/polar-js-main/src/models/operations/walletstopup.ts +0 -88
- package/polar-js-main/src/models/operations/webhooksdeletewebhookendpoint.ts +0 -74
- package/polar-js-main/src/models/operations/webhooksgetwebhookendpoint.ts +0 -72
- package/polar-js-main/src/models/operations/webhookslistwebhookdeliveries.ts +0 -247
- package/polar-js-main/src/models/operations/webhookslistwebhookendpoints.ts +0 -229
- package/polar-js-main/src/models/operations/webhooksredeliverwebhookevent.ts +0 -74
- package/polar-js-main/src/models/operations/webhooksresetwebhookendpointsecret.ts +0 -81
- package/polar-js-main/src/models/operations/webhooksupdatewebhookendpoint.ts +0 -93
- package/polar-js-main/src/sdk/benefitgrants.ts +0 -32
- package/polar-js-main/src/sdk/benefits.ts +0 -148
- package/polar-js-main/src/sdk/checkoutlinks.ts +0 -118
- package/polar-js-main/src/sdk/checkouts.ts +0 -158
- package/polar-js-main/src/sdk/clients.ts +0 -84
- package/polar-js-main/src/sdk/customermeters.ts +0 -55
- package/polar-js-main/src/sdk/customerportal.ts +0 -73
- package/polar-js-main/src/sdk/customers.ts +0 -293
- package/polar-js-main/src/sdk/customerseats.ts +0 -120
- package/polar-js-main/src/sdk/customersession.ts +0 -30
- package/polar-js-main/src/sdk/customersessions.ts +0 -30
- package/polar-js-main/src/sdk/customfields.ts +0 -118
- package/polar-js-main/src/sdk/discounts.ts +0 -118
- package/polar-js-main/src/sdk/downloadables.ts +0 -35
- package/polar-js-main/src/sdk/events.ts +0 -101
- package/polar-js-main/src/sdk/files.ts +0 -124
- package/polar-js-main/src/sdk/licensekeys.ts +0 -163
- package/polar-js-main/src/sdk/meters.ts +0 -119
- package/polar-js-main/src/sdk/metrics.ts +0 -51
- package/polar-js-main/src/sdk/oauth2.ts +0 -105
- package/polar-js-main/src/sdk/orders.ts +0 -140
- package/polar-js-main/src/sdk/organizations.ts +0 -97
- package/polar-js-main/src/sdk/payments.ts +0 -55
- package/polar-js-main/src/sdk/polarbenefitgrants.ts +0 -91
- package/polar-js-main/src/sdk/polarcustomermeters.ts +0 -65
- package/polar-js-main/src/sdk/polarcustomers.ts +0 -162
- package/polar-js-main/src/sdk/polarlicensekeys.ts +0 -137
- package/polar-js-main/src/sdk/polarorders.ts +0 -196
- package/polar-js-main/src/sdk/polarorganizations.ts +0 -28
- package/polar-js-main/src/sdk/polarsubscriptions.ts +0 -117
- package/polar-js-main/src/sdk/polarwallets.ts +0 -65
- package/polar-js-main/src/sdk/products.ts +0 -118
- package/polar-js-main/src/sdk/refunds.ts +0 -55
- package/polar-js-main/src/sdk/sdk.ts +0 -157
- package/polar-js-main/src/sdk/seats.ts +0 -126
- package/polar-js-main/src/sdk/subscriptions.ts +0 -144
- package/polar-js-main/src/sdk/wallets.ts +0 -78
- package/polar-js-main/src/sdk/webhooks.ts +0 -190
- package/polar-js-main/src/test.ts +0 -0
- package/polar-js-main/src/types/async.ts +0 -68
- package/polar-js-main/src/types/blobs.ts +0 -32
- package/polar-js-main/src/types/constdatetime.ts +0 -15
- package/polar-js-main/src/types/enums.ts +0 -16
- package/polar-js-main/src/types/fp.ts +0 -50
- package/polar-js-main/src/types/operations.ts +0 -105
- package/polar-js-main/src/types/rfcdate.ts +0 -54
- package/polar-js-main/src/types/streams.ts +0 -21
- package/polar-js-main/src/types/webhooks.ts +0 -7
- package/polar-js-main/src/webhooks.test.ts +0 -116
- package/polar-js-main/src/webhooks.ts +0 -138
- package/polar-js-main/tsconfig.json +0 -41
package/README.md
CHANGED
|
@@ -1,968 +1,372 @@
|
|
|
1
1
|
# @chargefy/sdk
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
52
|
-
npm add @chargefy/sdk
|
|
53
|
-
```
|
|
6
|
+
---
|
|
54
7
|
|
|
55
|
-
|
|
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
|
-
|
|
16
|
+
---
|
|
62
17
|
|
|
63
|
-
|
|
64
|
-
bun add @chargefy/sdk
|
|
65
|
-
```
|
|
18
|
+
## Quick Start
|
|
66
19
|
|
|
67
|
-
|
|
20
|
+
```ts
|
|
21
|
+
import { Chargefy } from '@chargefy/sdk'
|
|
68
22
|
|
|
69
|
-
|
|
70
|
-
|
|
23
|
+
const chargefy = new Chargefy({
|
|
24
|
+
accessToken: 'chargefy_oat_YOUR_TOKEN',
|
|
25
|
+
})
|
|
71
26
|
```
|
|
72
27
|
|
|
73
|
-
|
|
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
|
-
|
|
84
|
-
## SDK Example Usage
|
|
30
|
+
## Configuration
|
|
85
31
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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:
|
|
93
|
-
|
|
42
|
+
accessToken: 'chargefy_oat_xxx',
|
|
43
|
+
server: 'production',
|
|
44
|
+
})
|
|
94
45
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
-
|
|
59
|
+
---
|
|
111
60
|
|
|
112
|
-
|
|
113
|
-
import express, { Request, Response } from "express";
|
|
114
|
-
import { validateEvent, WebhookVerificationError } from "@chargefy/sdk/webhooks";
|
|
61
|
+
## Result Pattern
|
|
115
62
|
|
|
116
|
-
|
|
63
|
+
Every method returns `Promise<Result<T, APIError>>`.
|
|
64
|
+
Check `result.ok` before using `result.value`.
|
|
117
65
|
|
|
118
|
-
|
|
119
|
-
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
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
|
-
|
|
78
|
+
## Organizations
|
|
201
79
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
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
|
-
|
|
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
|
-
|
|
88
|
+
## Products
|
|
324
89
|
|
|
325
|
-
|
|
326
|
-
|
|
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
|
-
|
|
123
|
+
---
|
|
329
124
|
|
|
330
|
-
|
|
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
|
-
|
|
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
|
-
|
|
596
|
-
|
|
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
|
-
|
|
600
|
-
const result = await chargefy.organizations.list({});
|
|
154
|
+
---
|
|
601
155
|
|
|
602
|
-
|
|
603
|
-
console.log(page);
|
|
604
|
-
}
|
|
605
|
-
}
|
|
156
|
+
## Buyers
|
|
606
157
|
|
|
607
|
-
|
|
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
|
-
|
|
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
|
-
|
|
640
|
-
console.log(page);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
179
|
+
## Checkouts
|
|
643
180
|
|
|
644
|
-
|
|
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
|
-
|
|
649
|
-
```typescript
|
|
650
|
-
import { Chargefy } from "@chargefy/sdk";
|
|
194
|
+
### Get a checkout
|
|
651
195
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
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
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}
|
|
200
|
+
// By client secret (public — no auth needed)
|
|
201
|
+
const result = await chargefy.checkouts.getByClientSecret('cs_xxx')
|
|
202
|
+
```
|
|
673
203
|
|
|
674
|
-
|
|
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
|
-
|
|
214
|
+
### Confirm with credit card
|
|
683
215
|
|
|
684
|
-
|
|
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
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
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
|
-
|
|
700
|
-
|
|
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
|
-
###
|
|
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
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
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
|
-
|
|
257
|
+
---
|
|
810
258
|
|
|
811
|
-
|
|
812
|
-
```typescript
|
|
813
|
-
import { Chargefy } from "@chargefy/sdk";
|
|
259
|
+
## Error Handling
|
|
814
260
|
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
accessToken: process.env["CHARGEFY_ACCESS_TOKEN"] ?? "",
|
|
818
|
-
});
|
|
261
|
+
```ts
|
|
262
|
+
import { ResourceNotFound, PaymentError, RequestTimeoutError } from '@chargefy/sdk'
|
|
819
263
|
|
|
820
|
-
|
|
821
|
-
const result = await chargefy.organizations.list({});
|
|
264
|
+
const result = await chargefy.checkouts.confirm({ ... })
|
|
822
265
|
|
|
823
|
-
|
|
824
|
-
|
|
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
|
-
|
|
834
|
-
## Custom HTTP Client
|
|
281
|
+
### Error Types
|
|
835
282
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
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
|
-
|
|
862
|
-
const nextRequest = new Request(request, {
|
|
863
|
-
signal: request.signal || AbortSignal.timeout(5000)
|
|
864
|
-
});
|
|
294
|
+
---
|
|
865
295
|
|
|
866
|
-
|
|
296
|
+
## TypeScript Types
|
|
867
297
|
|
|
868
|
-
|
|
869
|
-
});
|
|
298
|
+
All public types are exported from `@chargefy/sdk`:
|
|
870
299
|
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
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
|
-
|
|
316
|
+
---
|
|
886
317
|
|
|
887
|
-
|
|
318
|
+
## Complete Example
|
|
888
319
|
|
|
889
|
-
|
|
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
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
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
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
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
|
-
|
|
927
|
-
|
|
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.
|