chargefy-js 1.0.0
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/.claude/EXAMPLE_SESSION.md +647 -0
- package/.claude/INDEX.md +404 -0
- package/.claude/MULTI_AGENT_WORKFLOW.md +557 -0
- package/.claude/QUICK_REFERENCE.md +399 -0
- package/.claude/README.md +342 -0
- package/.claude/agents/backend-engineer.md +230 -0
- package/.claude/agents/product-manager.md +462 -0
- package/.claude/agents/qa-engineer.md +430 -0
- package/.claude/prompts/api-compliance-check.md +372 -0
- package/.claude/prompts/sdk-architecture-review.md +233 -0
- package/.claude/settings.local.json +20 -0
- package/.tsbuildinfo +1 -0
- package/.tshy/build.json +8 -0
- package/.tshy/commonjs.json +16 -0
- package/.tshy/esm.json +15 -0
- package/AGENT_SYSTEM_SUMMARY.md +406 -0
- package/CONTRIBUTING.md +26 -0
- package/FUNCTIONS.md +89 -0
- package/README.md +968 -0
- package/RELEASES.md +1121 -0
- package/RUNTIMES.md +48 -0
- package/USAGE.md +20 -0
- package/codeSamples.yaml +1115 -0
- package/docs/lib/utils/retryconfig.md +24 -0
- package/docs/models/components/activesubscriptions.md +17 -0
- package/docs/models/components/activeuserbyevent.md +17 -0
- package/docs/models/components/address.md +22 -0
- package/docs/models/components/addressdict.md +22 -0
- package/docs/models/components/addressinput.md +22 -0
- package/docs/models/components/aggregation.md +55 -0
- package/docs/models/components/aggregationfunction.md +15 -0
- package/docs/models/components/amount.md +19 -0
- package/docs/models/components/attachedcustomfield.md +37 -0
- package/docs/models/components/attachedcustomfieldcreate.md +21 -0
- package/docs/models/components/authorizationcodetokenrequest.md +25 -0
- package/docs/models/components/authorizeorganization.md +21 -0
- package/docs/models/components/authorizeresponseorganization.md +38 -0
- package/docs/models/components/authorizeresponseuser.md +36 -0
- package/docs/models/components/authorizeuser.md +21 -0
- package/docs/models/components/averageordervalue.md +17 -0
- package/docs/models/components/averagerevenueperuser.md +17 -0
- package/docs/models/components/benefit.md +149 -0
- package/docs/models/components/benefitcreate.md +91 -0
- package/docs/models/components/benefitcustom.md +43 -0
- package/docs/models/components/benefitcustomcreate.md +26 -0
- package/docs/models/components/benefitcustomcreatemetadata.md +29 -0
- package/docs/models/components/benefitcustomcreateproperties.md +17 -0
- package/docs/models/components/benefitcustommetadata.md +29 -0
- package/docs/models/components/benefitcustomproperties.md +19 -0
- package/docs/models/components/benefitcustomsubscriber.md +73 -0
- package/docs/models/components/benefitcustomsubscribermetadata.md +29 -0
- package/docs/models/components/benefitcustomsubscriberproperties.md +19 -0
- package/docs/models/components/benefitcustomupdate.md +20 -0
- package/docs/models/components/benefitcustomupdatemetadata.md +29 -0
- package/docs/models/components/benefitcycledevent.md +60 -0
- package/docs/models/components/benefitdiscord.md +46 -0
- package/docs/models/components/benefitdiscordcreate.md +28 -0
- package/docs/models/components/benefitdiscordcreatemetadata.md +29 -0
- package/docs/models/components/benefitdiscordcreateproperties.md +23 -0
- package/docs/models/components/benefitdiscordmetadata.md +29 -0
- package/docs/models/components/benefitdiscordproperties.md +25 -0
- package/docs/models/components/benefitdiscordsubscriber.md +74 -0
- package/docs/models/components/benefitdiscordsubscribermetadata.md +29 -0
- package/docs/models/components/benefitdiscordsubscriberproperties.md +19 -0
- package/docs/models/components/benefitdiscordupdate.md +20 -0
- package/docs/models/components/benefitdiscordupdatemetadata.md +29 -0
- package/docs/models/components/benefitdownloadables.md +45 -0
- package/docs/models/components/benefitdownloadablescreate.md +29 -0
- package/docs/models/components/benefitdownloadablescreatemetadata.md +29 -0
- package/docs/models/components/benefitdownloadablescreateproperties.md +21 -0
- package/docs/models/components/benefitdownloadablesmetadata.md +29 -0
- package/docs/models/components/benefitdownloadablesproperties.md +19 -0
- package/docs/models/components/benefitdownloadablessubscriber.md +76 -0
- package/docs/models/components/benefitdownloadablessubscribermetadata.md +29 -0
- package/docs/models/components/benefitdownloadablessubscriberproperties.md +20 -0
- package/docs/models/components/benefitdownloadablesupdate.md +20 -0
- package/docs/models/components/benefitdownloadablesupdatemetadata.md +29 -0
- package/docs/models/components/benefitgithubrepository.md +45 -0
- package/docs/models/components/benefitgithubrepositorycreate.md +29 -0
- package/docs/models/components/benefitgithubrepositorycreatemetadata.md +29 -0
- package/docs/models/components/benefitgithubrepositorycreateproperties.md +23 -0
- package/docs/models/components/benefitgithubrepositorycreatepropertiespermission.md +17 -0
- package/docs/models/components/benefitgithubrepositorymetadata.md +29 -0
- package/docs/models/components/benefitgithubrepositoryproperties.md +23 -0
- package/docs/models/components/benefitgithubrepositorysubscriber.md +73 -0
- package/docs/models/components/benefitgithubrepositorysubscribermetadata.md +29 -0
- package/docs/models/components/benefitgithubrepositorysubscriberproperties.md +21 -0
- package/docs/models/components/benefitgithubrepositoryupdate.md +25 -0
- package/docs/models/components/benefitgithubrepositoryupdatemetadata.md +29 -0
- package/docs/models/components/benefitgrant.md +78 -0
- package/docs/models/components/benefitgrantcustomproperties.md +14 -0
- package/docs/models/components/benefitgrantcustomwebhook.md +77 -0
- package/docs/models/components/benefitgrantdiscordproperties.md +18 -0
- package/docs/models/components/benefitgrantdiscordwebhook.md +82 -0
- package/docs/models/components/benefitgrantdownloadablesproperties.md +15 -0
- package/docs/models/components/benefitgrantdownloadableswebhook.md +85 -0
- package/docs/models/components/benefitgrantedevent.md +60 -0
- package/docs/models/components/benefitgranterror.md +21 -0
- package/docs/models/components/benefitgrantgithubrepositoryproperties.md +19 -0
- package/docs/models/components/benefitgrantgithubrepositorypropertiespermission.md +15 -0
- package/docs/models/components/benefitgrantgithubrepositorywebhook.md +81 -0
- package/docs/models/components/benefitgrantlicensekeysproperties.md +16 -0
- package/docs/models/components/benefitgrantlicensekeyswebhook.md +86 -0
- package/docs/models/components/benefitgrantmetadata.md +21 -0
- package/docs/models/components/benefitgrantmetercreditproperties.md +17 -0
- package/docs/models/components/benefitgrantmetercreditwebhook.md +80 -0
- package/docs/models/components/benefitgrantsortproperty.md +15 -0
- package/docs/models/components/benefitgrantwebhook.md +352 -0
- package/docs/models/components/benefitlicensekeyactivationcreateproperties.md +19 -0
- package/docs/models/components/benefitlicensekeyactivationproperties.md +19 -0
- package/docs/models/components/benefitlicensekeyexpirationproperties.md +19 -0
- package/docs/models/components/benefitlicensekeys.md +46 -0
- package/docs/models/components/benefitlicensekeyscreate.md +25 -0
- package/docs/models/components/benefitlicensekeyscreatemetadata.md +29 -0
- package/docs/models/components/benefitlicensekeyscreateproperties.md +18 -0
- package/docs/models/components/benefitlicensekeysmetadata.md +29 -0
- package/docs/models/components/benefitlicensekeysproperties.md +29 -0
- package/docs/models/components/benefitlicensekeyssubscriber.md +83 -0
- package/docs/models/components/benefitlicensekeyssubscribermetadata.md +29 -0
- package/docs/models/components/benefitlicensekeyssubscriberproperties.md +29 -0
- package/docs/models/components/benefitlicensekeysupdate.md +20 -0
- package/docs/models/components/benefitlicensekeysupdatemetadata.md +29 -0
- package/docs/models/components/benefitmetadata.md +29 -0
- package/docs/models/components/benefitmetercredit.md +43 -0
- package/docs/models/components/benefitmetercreditcreate.md +31 -0
- package/docs/models/components/benefitmetercreditcreatemetadata.md +29 -0
- package/docs/models/components/benefitmetercreditcreateproperties.md +23 -0
- package/docs/models/components/benefitmetercreditmetadata.md +29 -0
- package/docs/models/components/benefitmetercreditproperties.md +23 -0
- package/docs/models/components/benefitmetercreditsubscriber.md +76 -0
- package/docs/models/components/benefitmetercreditsubscribermetadata.md +29 -0
- package/docs/models/components/benefitmetercreditsubscriberproperties.md +23 -0
- package/docs/models/components/benefitmetercreditupdate.md +20 -0
- package/docs/models/components/benefitmetercreditupdatemetadata.md +29 -0
- package/docs/models/components/benefitpublic.md +32 -0
- package/docs/models/components/benefitrevokedevent.md +60 -0
- package/docs/models/components/benefitsortproperty.md +15 -0
- package/docs/models/components/benefittype.md +15 -0
- package/docs/models/components/benefitupdatedevent.md +60 -0
- package/docs/models/components/billingaddressfieldmode.md +15 -0
- package/docs/models/components/canceledsubscriptions.md +17 -0
- package/docs/models/components/canceledsubscriptionscustomerservice.md +17 -0
- package/docs/models/components/canceledsubscriptionslowquality.md +17 -0
- package/docs/models/components/canceledsubscriptionsmissingfeatures.md +17 -0
- package/docs/models/components/canceledsubscriptionsother.md +17 -0
- package/docs/models/components/canceledsubscriptionsswitchedservice.md +17 -0
- package/docs/models/components/canceledsubscriptionstoocomplex.md +17 -0
- package/docs/models/components/canceledsubscriptionstooexpensive.md +17 -0
- package/docs/models/components/canceledsubscriptionsunused.md +17 -0
- package/docs/models/components/cardpayment.md +49 -0
- package/docs/models/components/cardpaymentmetadata.md +21 -0
- package/docs/models/components/cashflow.md +17 -0
- package/docs/models/components/checkout.md +222 -0
- package/docs/models/components/checkoutbillingaddressfields.md +27 -0
- package/docs/models/components/checkoutconfirmstripe.md +33 -0
- package/docs/models/components/checkoutconfirmstripecustomfielddata.md +29 -0
- package/docs/models/components/checkoutcreate.md +49 -0
- package/docs/models/components/checkoutcreatecustomermetadata.md +29 -0
- package/docs/models/components/checkoutcreatecustomfielddata.md +29 -0
- package/docs/models/components/checkoutcreatemetadata.md +29 -0
- package/docs/models/components/checkoutcustomfielddata.md +29 -0
- package/docs/models/components/checkoutdiscount.md +61 -0
- package/docs/models/components/checkoutdiscountfixedonceforeverduration.md +31 -0
- package/docs/models/components/checkoutdiscountfixedrepeatduration.md +34 -0
- package/docs/models/components/checkoutdiscountpercentageonceforeverduration.md +29 -0
- package/docs/models/components/checkoutdiscountpercentagerepeatduration.md +32 -0
- package/docs/models/components/checkoutlink.md +104 -0
- package/docs/models/components/checkoutlinkcreate.md +36 -0
- package/docs/models/components/checkoutlinkcreateproduct.md +31 -0
- package/docs/models/components/checkoutlinkcreateproductmetadata.md +29 -0
- package/docs/models/components/checkoutlinkcreateproductprice.md +31 -0
- package/docs/models/components/checkoutlinkcreateproductpricemetadata.md +29 -0
- package/docs/models/components/checkoutlinkcreateproducts.md +33 -0
- package/docs/models/components/checkoutlinkcreateproductsmetadata.md +29 -0
- package/docs/models/components/checkoutlinkdiscount.md +101 -0
- package/docs/models/components/checkoutlinkmetadata.md +29 -0
- package/docs/models/components/checkoutlinkproduct.md +100 -0
- package/docs/models/components/checkoutlinkproductmetadata.md +29 -0
- package/docs/models/components/checkoutlinkproductprices.md +48 -0
- package/docs/models/components/checkoutlinksortproperty.md +15 -0
- package/docs/models/components/checkoutlinkupdate.md +25 -0
- package/docs/models/components/checkoutlinkupdatemetadata.md +29 -0
- package/docs/models/components/checkoutmetadata.md +29 -0
- package/docs/models/components/checkoutproduct.md +48 -0
- package/docs/models/components/checkoutproductprice.md +48 -0
- package/docs/models/components/checkoutproductprices.md +48 -0
- package/docs/models/components/checkoutpublic.md +313 -0
- package/docs/models/components/checkoutpublicconfirmed.md +318 -0
- package/docs/models/components/checkoutpublicconfirmedcustomfielddata.md +29 -0
- package/docs/models/components/checkoutpublicconfirmeddiscount.md +61 -0
- package/docs/models/components/checkoutpublicconfirmedproductprice.md +48 -0
- package/docs/models/components/checkoutpubliccustomfielddata.md +29 -0
- package/docs/models/components/checkoutpublicdiscount.md +61 -0
- package/docs/models/components/checkoutpublicproductprice.md +48 -0
- package/docs/models/components/checkouts.md +17 -0
- package/docs/models/components/checkoutsconversion.md +17 -0
- package/docs/models/components/checkoutsortproperty.md +15 -0
- package/docs/models/components/checkoutstatus.md +15 -0
- package/docs/models/components/checkoutupdate.md +42 -0
- package/docs/models/components/checkoutupdatecustomermetadata.md +29 -0
- package/docs/models/components/checkoutupdatecustomfielddata.md +29 -0
- package/docs/models/components/checkoutupdatemetadata.md +29 -0
- package/docs/models/components/checkoutupdatepublic.md +32 -0
- package/docs/models/components/checkoutupdatepubliccustomfielddata.md +29 -0
- package/docs/models/components/churnrate.md +17 -0
- package/docs/models/components/clauses.md +24 -0
- package/docs/models/components/committedmonthlyrecurringrevenue.md +17 -0
- package/docs/models/components/conditions.md +29 -0
- package/docs/models/components/costmetadatainput.md +19 -0
- package/docs/models/components/costmetadataoutput.md +19 -0
- package/docs/models/components/costperuser.md +17 -0
- package/docs/models/components/costs.md +17 -0
- package/docs/models/components/countaggregation.md +15 -0
- package/docs/models/components/countryalpha2.md +15 -0
- package/docs/models/components/countryalpha2input.md +15 -0
- package/docs/models/components/cumulativecosts.md +17 -0
- package/docs/models/components/cumulativerevenue.md +17 -0
- package/docs/models/components/customer.md +50 -0
- package/docs/models/components/customerbalance.md +21 -0
- package/docs/models/components/customerbenefitgrant.md +536 -0
- package/docs/models/components/customerbenefitgrantcustom.md +109 -0
- package/docs/models/components/customerbenefitgrantcustomupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantdiscord.md +109 -0
- package/docs/models/components/customerbenefitgrantdiscordpropertiesupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantdiscordupdate.md +21 -0
- package/docs/models/components/customerbenefitgrantdownloadables.md +110 -0
- package/docs/models/components/customerbenefitgrantdownloadablesupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantgithubrepository.md +109 -0
- package/docs/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantgithubrepositoryupdate.md +21 -0
- package/docs/models/components/customerbenefitgrantlicensekeys.md +117 -0
- package/docs/models/components/customerbenefitgrantlicensekeysupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantmetercredit.md +109 -0
- package/docs/models/components/customerbenefitgrantmetercreditupdate.md +17 -0
- package/docs/models/components/customerbenefitgrantsortproperty.md +15 -0
- package/docs/models/components/customerbenefitgrantupdate.md +59 -0
- package/docs/models/components/customercancellationreason.md +15 -0
- package/docs/models/components/customercreate.md +33 -0
- package/docs/models/components/customercreatedevent.md +61 -0
- package/docs/models/components/customercreatedmetadata.md +23 -0
- package/docs/models/components/customercreatemetadata.md +29 -0
- package/docs/models/components/customercreatetaxid.md +17 -0
- package/docs/models/components/customercustomermeter.md +38 -0
- package/docs/models/components/customercustomermetermeter.md +23 -0
- package/docs/models/components/customercustomermetersortproperty.md +15 -0
- package/docs/models/components/customercustomersession.md +19 -0
- package/docs/models/components/customerdeletedevent.md +61 -0
- package/docs/models/components/customerdeletedmetadata.md +23 -0
- package/docs/models/components/customermetadata.md +23 -0
- package/docs/models/components/customermetadata1.md +29 -0
- package/docs/models/components/customermeter.md +75 -0
- package/docs/models/components/customermetersortproperty.md +15 -0
- package/docs/models/components/customerorder.md +165 -0
- package/docs/models/components/customerorderconfirmpayment.md +19 -0
- package/docs/models/components/customerorderinvoice.md +19 -0
- package/docs/models/components/customerorderpaymentconfirmation.md +21 -0
- package/docs/models/components/customerorderpaymentstatus.md +20 -0
- package/docs/models/components/customerorderproduct.md +96 -0
- package/docs/models/components/customerorderproductprices.md +48 -0
- package/docs/models/components/customerordersortproperty.md +15 -0
- package/docs/models/components/customerordersubscription.md +62 -0
- package/docs/models/components/customerorderupdate.md +23 -0
- package/docs/models/components/customerorganization.md +84 -0
- package/docs/models/components/customerpaymentmethod.md +37 -0
- package/docs/models/components/customerpaymentmethodconfirm.md +19 -0
- package/docs/models/components/customerpaymentmethodcreate.md +21 -0
- package/docs/models/components/customerpaymentmethodcreaterequiresactionresponse.md +19 -0
- package/docs/models/components/customerpaymentmethodcreateresponse.md +36 -0
- package/docs/models/components/customerpaymentmethodcreatesucceededresponse.md +32 -0
- package/docs/models/components/customerportalcustomer.md +44 -0
- package/docs/models/components/customerportalcustomertaxid.md +17 -0
- package/docs/models/components/customerportalcustomerupdate.md +21 -0
- package/docs/models/components/customerportaloauthaccount.md +19 -0
- package/docs/models/components/customerproduct.md +58 -0
- package/docs/models/components/customerproductprices.md +48 -0
- package/docs/models/components/customerseat.md +31 -0
- package/docs/models/components/customerseatclaimresponse.md +26 -0
- package/docs/models/components/customersession.md +56 -0
- package/docs/models/components/customersessioncustomerexternalidcreate.md +21 -0
- package/docs/models/components/customersessioncustomeridcreate.md +21 -0
- package/docs/models/components/customersortproperty.md +15 -0
- package/docs/models/components/customerstate.md +111 -0
- package/docs/models/components/customerstatebenefitgrant.md +35 -0
- package/docs/models/components/customerstatebenefitgrantproperties.md +35 -0
- package/docs/models/components/customerstatemetadata.md +29 -0
- package/docs/models/components/customerstatemeter.md +31 -0
- package/docs/models/components/customerstatesubscription.md +68 -0
- package/docs/models/components/customerstatesubscriptioncustomfielddata.md +29 -0
- package/docs/models/components/customerstatesubscriptionmetadata.md +29 -0
- package/docs/models/components/customerstatesubscriptionmeter.md +31 -0
- package/docs/models/components/customerstatetaxid.md +17 -0
- package/docs/models/components/customersubscription.md +152 -0
- package/docs/models/components/customersubscriptioncancel.md +17 -0
- package/docs/models/components/customersubscriptionmeter.md +36 -0
- package/docs/models/components/customersubscriptionmetermeter.md +23 -0
- package/docs/models/components/customersubscriptionprices.md +48 -0
- package/docs/models/components/customersubscriptionproduct.md +91 -0
- package/docs/models/components/customersubscriptionproductprices.md +48 -0
- package/docs/models/components/customersubscriptionsortproperty.md +15 -0
- package/docs/models/components/customersubscriptionupdate.md +27 -0
- package/docs/models/components/customersubscriptionupdateproduct.md +17 -0
- package/docs/models/components/customersubscriptionupdateseats.md +18 -0
- package/docs/models/components/customertaxid.md +17 -0
- package/docs/models/components/customerupdate.md +31 -0
- package/docs/models/components/customerupdatedevent.md +62 -0
- package/docs/models/components/customerupdatedfields.md +19 -0
- package/docs/models/components/customerupdatedfieldsmetadata.md +23 -0
- package/docs/models/components/customerupdatedmetadata.md +25 -0
- package/docs/models/components/customerupdateexternalid.md +29 -0
- package/docs/models/components/customerupdateexternalidmetadata.md +29 -0
- package/docs/models/components/customerupdateexternalidtaxid.md +17 -0
- package/docs/models/components/customerupdatemetadata.md +29 -0
- package/docs/models/components/customerupdatetaxid.md +17 -0
- package/docs/models/components/customerwallet.md +31 -0
- package/docs/models/components/customerwalletsortproperty.md +15 -0
- package/docs/models/components/customfield.md +102 -0
- package/docs/models/components/customfieldcheckbox.md +37 -0
- package/docs/models/components/customfieldcheckboxmetadata.md +29 -0
- package/docs/models/components/customfieldcheckboxproperties.md +17 -0
- package/docs/models/components/customfieldcreate.md +72 -0
- package/docs/models/components/customfieldcreatecheckbox.md +28 -0
- package/docs/models/components/customfieldcreatecheckboxmetadata.md +29 -0
- package/docs/models/components/customfieldcreatedate.md +28 -0
- package/docs/models/components/customfieldcreatedatemetadata.md +29 -0
- package/docs/models/components/customfieldcreatenumber.md +28 -0
- package/docs/models/components/customfieldcreatenumbermetadata.md +29 -0
- package/docs/models/components/customfieldcreateselect.md +35 -0
- package/docs/models/components/customfieldcreateselectmetadata.md +29 -0
- package/docs/models/components/customfieldcreatetext.md +28 -0
- package/docs/models/components/customfieldcreatetextmetadata.md +29 -0
- package/docs/models/components/customfielddata.md +29 -0
- package/docs/models/components/customfielddate.md +37 -0
- package/docs/models/components/customfielddatemetadata.md +29 -0
- package/docs/models/components/customfielddateproperties.md +19 -0
- package/docs/models/components/customfieldnumber.md +37 -0
- package/docs/models/components/customfieldnumbermetadata.md +29 -0
- package/docs/models/components/customfieldnumberproperties.md +19 -0
- package/docs/models/components/customfieldselect.md +44 -0
- package/docs/models/components/customfieldselectmetadata.md +29 -0
- package/docs/models/components/customfieldselectoption.md +19 -0
- package/docs/models/components/customfieldselectproperties.md +25 -0
- package/docs/models/components/customfieldsortproperty.md +15 -0
- package/docs/models/components/customfieldtext.md +37 -0
- package/docs/models/components/customfieldtextmetadata.md +29 -0
- package/docs/models/components/customfieldtextproperties.md +20 -0
- package/docs/models/components/customfieldtype.md +15 -0
- package/docs/models/components/customfieldupdate.md +45 -0
- package/docs/models/components/customfieldupdatecheckbox.md +23 -0
- package/docs/models/components/customfieldupdatecheckboxmetadata.md +29 -0
- package/docs/models/components/customfieldupdatedate.md +23 -0
- package/docs/models/components/customfieldupdatedatemetadata.md +29 -0
- package/docs/models/components/customfieldupdatenumber.md +23 -0
- package/docs/models/components/customfieldupdatenumbermetadata.md +29 -0
- package/docs/models/components/customfieldupdateselect.md +23 -0
- package/docs/models/components/customfieldupdateselectmetadata.md +29 -0
- package/docs/models/components/customfieldupdatetext.md +23 -0
- package/docs/models/components/customfieldupdatetextmetadata.md +29 -0
- package/docs/models/components/discount.md +122 -0
- package/docs/models/components/discountcreate.md +55 -0
- package/docs/models/components/discountduration.md +15 -0
- package/docs/models/components/discountfixedonceforeverduration.md +51 -0
- package/docs/models/components/discountfixedonceforeverdurationbase.md +47 -0
- package/docs/models/components/discountfixedonceforeverdurationbasemetadata.md +29 -0
- package/docs/models/components/discountfixedonceforeverdurationcreate.md +34 -0
- package/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md +29 -0
- package/docs/models/components/discountfixedonceforeverdurationmetadata.md +29 -0
- package/docs/models/components/discountfixedrepeatduration.md +54 -0
- package/docs/models/components/discountfixedrepeatdurationbase.md +49 -0
- package/docs/models/components/discountfixedrepeatdurationbasemetadata.md +29 -0
- package/docs/models/components/discountfixedrepeatdurationcreate.md +37 -0
- package/docs/models/components/discountfixedrepeatdurationcreatemetadata.md +29 -0
- package/docs/models/components/discountfixedrepeatdurationmetadata.md +29 -0
- package/docs/models/components/discountpercentageonceforeverduration.md +68 -0
- package/docs/models/components/discountpercentageonceforeverdurationbase.md +45 -0
- package/docs/models/components/discountpercentageonceforeverdurationbasemetadata.md +29 -0
- package/docs/models/components/discountpercentageonceforeverdurationcreate.md +33 -0
- package/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md +29 -0
- package/docs/models/components/discountpercentageonceforeverdurationmetadata.md +29 -0
- package/docs/models/components/discountpercentagerepeatduration.md +50 -0
- package/docs/models/components/discountpercentagerepeatdurationbase.md +47 -0
- package/docs/models/components/discountpercentagerepeatdurationbasemetadata.md +29 -0
- package/docs/models/components/discountpercentagerepeatdurationcreate.md +36 -0
- package/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md +29 -0
- package/docs/models/components/discountpercentagerepeatdurationmetadata.md +29 -0
- package/docs/models/components/discountproduct.md +46 -0
- package/docs/models/components/discountproductmetadata.md +29 -0
- package/docs/models/components/discountsortproperty.md +15 -0
- package/docs/models/components/discounttype.md +15 -0
- package/docs/models/components/discountupdate.md +29 -0
- package/docs/models/components/discountupdatemetadata.md +29 -0
- package/docs/models/components/downloadablefilecreate.md +39 -0
- package/docs/models/components/downloadablefileread.md +49 -0
- package/docs/models/components/downloadableread.md +41 -0
- package/docs/models/components/event.md +83 -0
- package/docs/models/components/eventcreatecustomer.md +23 -0
- package/docs/models/components/eventcreateexternalcustomer.md +23 -0
- package/docs/models/components/eventmetadatainput.md +50 -0
- package/docs/models/components/eventmetadataoutput.md +50 -0
- package/docs/models/components/eventname.md +25 -0
- package/docs/models/components/eventnamessortproperty.md +15 -0
- package/docs/models/components/events.md +25 -0
- package/docs/models/components/eventsingest.md +17 -0
- package/docs/models/components/eventsingestresponse.md +17 -0
- package/docs/models/components/eventsortproperty.md +15 -0
- package/docs/models/components/eventsource.md +15 -0
- package/docs/models/components/existingproductprice.md +21 -0
- package/docs/models/components/filecreate.md +68 -0
- package/docs/models/components/filedownload.md +50 -0
- package/docs/models/components/filepatch.md +16 -0
- package/docs/models/components/fileread.md +76 -0
- package/docs/models/components/fileservicetypes.md +15 -0
- package/docs/models/components/fileupload.md +58 -0
- package/docs/models/components/fileuploadcompleted.md +21 -0
- package/docs/models/components/filter.md +19 -0
- package/docs/models/components/filterclause.md +21 -0
- package/docs/models/components/filterconjunction.md +15 -0
- package/docs/models/components/filteroperator.md +15 -0
- package/docs/models/components/func.md +15 -0
- package/docs/models/components/genericpayment.md +44 -0
- package/docs/models/components/granttypes.md +15 -0
- package/docs/models/components/grossmargin.md +17 -0
- package/docs/models/components/grossmarginpercentage.md +17 -0
- package/docs/models/components/introspecttokenrequest.md +22 -0
- package/docs/models/components/introspecttokenrequesttokentypehint.md +15 -0
- package/docs/models/components/introspecttokenresponse.md +35 -0
- package/docs/models/components/legacyrecurringproductprice.md +59 -0
- package/docs/models/components/legacyrecurringproductpricecustom.md +45 -0
- package/docs/models/components/legacyrecurringproductpricefixed.md +41 -0
- package/docs/models/components/legacyrecurringproductpricefree.md +37 -0
- package/docs/models/components/licensekeyactivate.md +23 -0
- package/docs/models/components/licensekeyactivateconditions.md +29 -0
- package/docs/models/components/licensekeyactivatemeta.md +29 -0
- package/docs/models/components/licensekeyactivationbase.md +27 -0
- package/docs/models/components/licensekeyactivationread.md +67 -0
- package/docs/models/components/licensekeyactivationreadmeta.md +29 -0
- package/docs/models/components/licensekeycustomer.md +48 -0
- package/docs/models/components/licensekeycustomermetadata.md +29 -0
- package/docs/models/components/licensekeycustomertaxid.md +17 -0
- package/docs/models/components/licensekeydeactivate.md +21 -0
- package/docs/models/components/licensekeyread.md +68 -0
- package/docs/models/components/licensekeystatus.md +15 -0
- package/docs/models/components/licensekeyupdate.md +19 -0
- package/docs/models/components/licensekeyvalidate.md +24 -0
- package/docs/models/components/licensekeywithactivations.md +70 -0
- package/docs/models/components/listresource.md +22 -0
- package/docs/models/components/listresourcebenefit.md +40 -0
- package/docs/models/components/listresourcebenefitgrant.md +22 -0
- package/docs/models/components/listresourcecheckout.md +22 -0
- package/docs/models/components/listresourcecheckoutlink.md +95 -0
- package/docs/models/components/listresourcecustomer.md +41 -0
- package/docs/models/components/listresourcecustomerbenefitgrant.md +113 -0
- package/docs/models/components/listresourcecustomercustomermeter.md +39 -0
- package/docs/models/components/listresourcecustomermeter.md +22 -0
- package/docs/models/components/listresourcecustomerorder.md +132 -0
- package/docs/models/components/listresourcecustomerpaymentmethod.md +22 -0
- package/docs/models/components/listresourcecustomersubscription.md +22 -0
- package/docs/models/components/listresourcecustomerwallet.md +22 -0
- package/docs/models/components/listresourcecustomfield.md +43 -0
- package/docs/models/components/listresourcediscount.md +22 -0
- package/docs/models/components/listresourcedownloadableread.md +22 -0
- package/docs/models/components/listresourceevent.md +22 -0
- package/docs/models/components/listresourceeventname.md +30 -0
- package/docs/models/components/listresourcefileread.md +22 -0
- package/docs/models/components/listresourcelicensekeyread.md +62 -0
- package/docs/models/components/listresourcemeter.md +44 -0
- package/docs/models/components/listresourceorder.md +22 -0
- package/docs/models/components/listresourceorganization.md +57 -0
- package/docs/models/components/listresourceproduct.md +22 -0
- package/docs/models/components/listresourcerefund.md +22 -0
- package/docs/models/components/listresourcesubscription.md +154 -0
- package/docs/models/components/listresourcewallet.md +22 -0
- package/docs/models/components/listresourcewebhookdelivery.md +39 -0
- package/docs/models/components/listresourcewebhookendpoint.md +22 -0
- package/docs/models/components/llmmetadata.md +28 -0
- package/docs/models/components/loc.md +17 -0
- package/docs/models/components/meta.md +29 -0
- package/docs/models/components/metadata.md +29 -0
- package/docs/models/components/metadataquery.md +50 -0
- package/docs/models/components/meter.md +40 -0
- package/docs/models/components/meteraggregation.md +57 -0
- package/docs/models/components/metercreate.md +35 -0
- package/docs/models/components/metercreateaggregation.md +57 -0
- package/docs/models/components/metercreatemetadata.md +29 -0
- package/docs/models/components/metercreditedmetadata.md +21 -0
- package/docs/models/components/metercreditevent.md +60 -0
- package/docs/models/components/metermetadata.md +29 -0
- package/docs/models/components/meterquantities.md +19 -0
- package/docs/models/components/meterquantity.md +19 -0
- package/docs/models/components/meterresetevent.md +58 -0
- package/docs/models/components/meterresetmetadata.md +17 -0
- package/docs/models/components/metersortproperty.md +15 -0
- package/docs/models/components/meterupdate.md +19 -0
- package/docs/models/components/meterupdatemetadata.md +29 -0
- package/docs/models/components/metric.md +23 -0
- package/docs/models/components/metricperiod.md +97 -0
- package/docs/models/components/metrics.md +255 -0
- package/docs/models/components/metricsintervallimit.md +19 -0
- package/docs/models/components/metricsintervalslimits.md +37 -0
- package/docs/models/components/metricslimits.md +38 -0
- package/docs/models/components/metricsresponse.md +265 -0
- package/docs/models/components/metricstotals.md +95 -0
- package/docs/models/components/metricstotalsactivesubscriptions.md +17 -0
- package/docs/models/components/metricstotalsactiveuserbyevent.md +17 -0
- package/docs/models/components/metricstotalsaverageordervalue.md +17 -0
- package/docs/models/components/metricstotalsaveragerevenueperuser.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptions.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionscustomerservice.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionslowquality.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionsmissingfeatures.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionsother.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionsswitchedservice.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionstoocomplex.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionstooexpensive.md +17 -0
- package/docs/models/components/metricstotalscanceledsubscriptionsunused.md +17 -0
- package/docs/models/components/metricstotalscashflow.md +17 -0
- package/docs/models/components/metricstotalscheckouts.md +17 -0
- package/docs/models/components/metricstotalscheckoutsconversion.md +17 -0
- package/docs/models/components/metricstotalschurnrate.md +17 -0
- package/docs/models/components/metricstotalscommittedmonthlyrecurringrevenue.md +17 -0
- package/docs/models/components/metricstotalscostperuser.md +17 -0
- package/docs/models/components/metricstotalscosts.md +17 -0
- package/docs/models/components/metricstotalscumulativecosts.md +17 -0
- package/docs/models/components/metricstotalscumulativerevenue.md +17 -0
- package/docs/models/components/metricstotalsgrossmargin.md +17 -0
- package/docs/models/components/metricstotalsgrossmarginpercentage.md +17 -0
- package/docs/models/components/metricstotalsmonthlyrecurringrevenue.md +17 -0
- package/docs/models/components/metricstotalsnetaverageordervalue.md +17 -0
- package/docs/models/components/metricstotalsnetcumulativerevenue.md +17 -0
- package/docs/models/components/metricstotalsnetrevenue.md +17 -0
- package/docs/models/components/metricstotalsnewsubscriptions.md +17 -0
- package/docs/models/components/metricstotalsnewsubscriptionsnetrevenue.md +17 -0
- package/docs/models/components/metricstotalsnewsubscriptionsrevenue.md +17 -0
- package/docs/models/components/metricstotalsonetimeproducts.md +17 -0
- package/docs/models/components/metricstotalsonetimeproductsnetrevenue.md +17 -0
- package/docs/models/components/metricstotalsonetimeproductsrevenue.md +17 -0
- package/docs/models/components/metricstotalsorders.md +17 -0
- package/docs/models/components/metricstotalsrenewedsubscriptions.md +17 -0
- package/docs/models/components/metricstotalsrenewedsubscriptionsnetrevenue.md +17 -0
- package/docs/models/components/metricstotalsrenewedsubscriptionsrevenue.md +17 -0
- package/docs/models/components/metricstotalsrevenue.md +17 -0
- package/docs/models/components/metricstotalssucceededcheckouts.md +17 -0
- package/docs/models/components/metrictype.md +15 -0
- package/docs/models/components/monthlyrecurringrevenue.md +17 -0
- package/docs/models/components/netaverageordervalue.md +17 -0
- package/docs/models/components/netcumulativerevenue.md +17 -0
- package/docs/models/components/netrevenue.md +17 -0
- package/docs/models/components/newsubscriptions.md +17 -0
- package/docs/models/components/newsubscriptionsnetrevenue.md +17 -0
- package/docs/models/components/newsubscriptionsrevenue.md +17 -0
- package/docs/models/components/oauth2clientconfiguration.md +31 -0
- package/docs/models/components/oauth2clientconfigurationupdate.md +33 -0
- package/docs/models/components/oauth2clientconfigurationupdategranttypes.md +15 -0
- package/docs/models/components/oauth2clientconfigurationupdatetokenendpointauthmethod.md +16 -0
- package/docs/models/components/oauth2clientpublic.md +31 -0
- package/docs/models/components/onetimeproducts.md +17 -0
- package/docs/models/components/onetimeproductsnetrevenue.md +17 -0
- package/docs/models/components/onetimeproductsrevenue.md +17 -0
- package/docs/models/components/order.md +181 -0
- package/docs/models/components/orderbillingreason.md +15 -0
- package/docs/models/components/ordercustomer.md +48 -0
- package/docs/models/components/ordercustomermetadata.md +29 -0
- package/docs/models/components/ordercustomertaxid.md +17 -0
- package/docs/models/components/ordercustomfielddata.md +29 -0
- package/docs/models/components/orderdiscount.md +101 -0
- package/docs/models/components/orderinvoice.md +19 -0
- package/docs/models/components/orderitemschema.md +33 -0
- package/docs/models/components/ordermetadata.md +29 -0
- package/docs/models/components/orderpaidevent.md +39 -0
- package/docs/models/components/orderpaidmetadata.md +22 -0
- package/docs/models/components/orderproduct.md +41 -0
- package/docs/models/components/orderproductmetadata.md +29 -0
- package/docs/models/components/orderrefundedevent.md +39 -0
- package/docs/models/components/orderrefundedmetadata.md +22 -0
- package/docs/models/components/orders.md +17 -0
- package/docs/models/components/ordersortproperty.md +15 -0
- package/docs/models/components/orderstatus.md +15 -0
- package/docs/models/components/ordersubscription.md +66 -0
- package/docs/models/components/ordersubscriptionmetadata.md +29 -0
- package/docs/models/components/orderupdate.md +23 -0
- package/docs/models/components/organization.md +67 -0
- package/docs/models/components/organizationavatarfilecreate.md +39 -0
- package/docs/models/components/organizationavatarfileread.md +51 -0
- package/docs/models/components/organizationcreate.md +28 -0
- package/docs/models/components/organizationcustomeremailsettings.md +31 -0
- package/docs/models/components/organizationdetails.md +30 -0
- package/docs/models/components/organizationfeaturesettings.md +18 -0
- package/docs/models/components/organizationnotificationsettings.md +19 -0
- package/docs/models/components/organizationsociallink.md +19 -0
- package/docs/models/components/organizationsocialplatforms.md +15 -0
- package/docs/models/components/organizationsortproperty.md +15 -0
- package/docs/models/components/organizationstatus.md +15 -0
- package/docs/models/components/organizationsubscriptionsettings.md +23 -0
- package/docs/models/components/organizationupdate.md +24 -0
- package/docs/models/components/pagination.md +19 -0
- package/docs/models/components/payment.md +49 -0
- package/docs/models/components/paymentmethodcard.md +34 -0
- package/docs/models/components/paymentmethodcardmetadata.md +24 -0
- package/docs/models/components/paymentmethodgeneric.md +27 -0
- package/docs/models/components/paymentprocessor.md +15 -0
- package/docs/models/components/paymentsortproperty.md +15 -0
- package/docs/models/components/paymentstatus.md +15 -0
- package/docs/models/components/permission.md +17 -0
- package/docs/models/components/prices.md +48 -0
- package/docs/models/components/product.md +117 -0
- package/docs/models/components/productbenefitsupdate.md +22 -0
- package/docs/models/components/productbillingtype.md +15 -0
- package/docs/models/components/productcreate.md +38 -0
- package/docs/models/components/productcreateonetime.md +32 -0
- package/docs/models/components/productcreateonetimemetadata.md +29 -0
- package/docs/models/components/productcreateonetimeprices.md +56 -0
- package/docs/models/components/productcreaterecurring.md +37 -0
- package/docs/models/components/productcreaterecurringmetadata.md +29 -0
- package/docs/models/components/productcreaterecurringprices.md +56 -0
- package/docs/models/components/productmediafilecreate.md +39 -0
- package/docs/models/components/productmediafileread.md +51 -0
- package/docs/models/components/productmetadata.md +29 -0
- package/docs/models/components/productprice.md +103 -0
- package/docs/models/components/productpricecustom.md +41 -0
- package/docs/models/components/productpricecustomcreate.md +23 -0
- package/docs/models/components/productpricefixed.md +37 -0
- package/docs/models/components/productpricefixedcreate.md +22 -0
- package/docs/models/components/productpricefree.md +33 -0
- package/docs/models/components/productpricefreecreate.md +19 -0
- package/docs/models/components/productpricemeter.md +21 -0
- package/docs/models/components/productpricemeteredunit.md +46 -0
- package/docs/models/components/productpricemeteredunitcreate.md +25 -0
- package/docs/models/components/productpriceseatbased.md +44 -0
- package/docs/models/components/productpriceseatbasedcreate.md +29 -0
- package/docs/models/components/productpriceseattier.md +22 -0
- package/docs/models/components/productpriceseattiers.md +19 -0
- package/docs/models/components/productpricetype.md +15 -0
- package/docs/models/components/productsortproperty.md +15 -0
- package/docs/models/components/productupdate.md +27 -0
- package/docs/models/components/productupdatemetadata.md +29 -0
- package/docs/models/components/productupdateprices.md +23 -0
- package/docs/models/components/properties.md +35 -0
- package/docs/models/components/propertyaggregation.md +19 -0
- package/docs/models/components/refreshtokenrequest.md +23 -0
- package/docs/models/components/refund.md +43 -0
- package/docs/models/components/refundcreate.md +24 -0
- package/docs/models/components/refundcreatemetadata.md +29 -0
- package/docs/models/components/refundmetadata.md +29 -0
- package/docs/models/components/refundreason.md +15 -0
- package/docs/models/components/refundsortproperty.md +15 -0
- package/docs/models/components/refundstatus.md +15 -0
- package/docs/models/components/renewedsubscriptions.md +17 -0
- package/docs/models/components/renewedsubscriptionsnetrevenue.md +17 -0
- package/docs/models/components/renewedsubscriptionsrevenue.md +17 -0
- package/docs/models/components/revenue.md +17 -0
- package/docs/models/components/revoketokenrequest.md +22 -0
- package/docs/models/components/revoketokenresponse.md +14 -0
- package/docs/models/components/s3downloadurl.md +20 -0
- package/docs/models/components/s3filecreatemultipart.md +17 -0
- package/docs/models/components/s3filecreatepart.md +22 -0
- package/docs/models/components/s3fileuploadcompletedpart.md +21 -0
- package/docs/models/components/s3fileuploadmultipart.md +21 -0
- package/docs/models/components/s3fileuploadpart.md +27 -0
- package/docs/models/components/scope.md +15 -0
- package/docs/models/components/seatassign.md +22 -0
- package/docs/models/components/seatclaim.md +17 -0
- package/docs/models/components/seatclaiminfo.md +30 -0
- package/docs/models/components/seatslist.md +28 -0
- package/docs/models/components/seatstatus.md +15 -0
- package/docs/models/components/security.md +15 -0
- package/docs/models/components/status.md +15 -0
- package/docs/models/components/subscription.md +170 -0
- package/docs/models/components/subscriptioncancel.md +19 -0
- package/docs/models/components/subscriptioncreatecustomer.md +22 -0
- package/docs/models/components/subscriptioncreatecustomermetadata.md +29 -0
- package/docs/models/components/subscriptioncreateexternalcustomer.md +22 -0
- package/docs/models/components/subscriptioncreateexternalcustomermetadata.md +29 -0
- package/docs/models/components/subscriptioncustomer.md +48 -0
- package/docs/models/components/subscriptioncustomermetadata.md +29 -0
- package/docs/models/components/subscriptioncycledevent.md +58 -0
- package/docs/models/components/subscriptioncycledmetadata.md +17 -0
- package/docs/models/components/subscriptiondiscount.md +101 -0
- package/docs/models/components/subscriptionmeter.md +50 -0
- package/docs/models/components/subscriptionprices.md +48 -0
- package/docs/models/components/subscriptionproductupdatedevent.md +60 -0
- package/docs/models/components/subscriptionproductupdatedmetadata.md +21 -0
- package/docs/models/components/subscriptionprorationbehavior.md +15 -0
- package/docs/models/components/subscriptionrecurringinterval.md +15 -0
- package/docs/models/components/subscriptionrevoke.md +19 -0
- package/docs/models/components/subscriptionrevokedevent.md +58 -0
- package/docs/models/components/subscriptionrevokedmetadata.md +17 -0
- package/docs/models/components/subscriptionsortproperty.md +15 -0
- package/docs/models/components/subscriptionstatus.md +15 -0
- package/docs/models/components/subscriptionupdate.md +53 -0
- package/docs/models/components/subscriptionupdatediscount.md +17 -0
- package/docs/models/components/subscriptionupdateproduct.md +18 -0
- package/docs/models/components/subscriptionupdateseats.md +18 -0
- package/docs/models/components/subscriptionupdatetrial.md +17 -0
- package/docs/models/components/subtype.md +15 -0
- package/docs/models/components/succeededcheckouts.md +17 -0
- package/docs/models/components/switchingfrom.md +15 -0
- package/docs/models/components/systemevent.md +535 -0
- package/docs/models/components/taxid.md +17 -0
- package/docs/models/components/taxidformat.md +19 -0
- package/docs/models/components/timeframe.md +15 -0
- package/docs/models/components/timeinterval.md +15 -0
- package/docs/models/components/tokenendpointauthmethod.md +15 -0
- package/docs/models/components/tokenresponse.md +27 -0
- package/docs/models/components/tokentype.md +15 -0
- package/docs/models/components/tokentypehint.md +15 -0
- package/docs/models/components/trialinterval.md +15 -0
- package/docs/models/components/two.md +56 -0
- package/docs/models/components/uniqueaggregation.md +18 -0
- package/docs/models/components/unitamount.md +19 -0
- package/docs/models/components/userevent.md +56 -0
- package/docs/models/components/userinfoorganization.md +18 -0
- package/docs/models/components/userinfouser.md +20 -0
- package/docs/models/components/validatedlicensekey.md +69 -0
- package/docs/models/components/validationerror.md +23 -0
- package/docs/models/components/value.md +23 -0
- package/docs/models/components/wallet.md +31 -0
- package/docs/models/components/walletsortproperty.md +15 -0
- package/docs/models/components/wallettopupcreate.md +21 -0
- package/docs/models/components/webhookbenefitcreatedpayload.md +48 -0
- package/docs/models/components/webhookbenefitgrantcreatedpayload.md +81 -0
- package/docs/models/components/webhookbenefitgrantcycledpayload.md +77 -0
- package/docs/models/components/webhookbenefitgrantrevokedpayload.md +81 -0
- package/docs/models/components/webhookbenefitgrantupdatedpayload.md +72 -0
- package/docs/models/components/webhookbenefitupdatedpayload.md +42 -0
- package/docs/models/components/webhookcheckoutcreatedpayload.md +195 -0
- package/docs/models/components/webhookcheckoutupdatedpayload.md +195 -0
- package/docs/models/components/webhookcustomercreatedpayload.md +51 -0
- package/docs/models/components/webhookcustomerdeletedpayload.md +46 -0
- package/docs/models/components/webhookcustomerseatassignedpayload.md +31 -0
- package/docs/models/components/webhookcustomerseatclaimedpayload.md +30 -0
- package/docs/models/components/webhookcustomerseatrevokedpayload.md +30 -0
- package/docs/models/components/webhookcustomerstatechangedpayload.md +76 -0
- package/docs/models/components/webhookcustomerupdatedpayload.md +50 -0
- package/docs/models/components/webhookdelivery.md +38 -0
- package/docs/models/components/webhookendpoint.md +37 -0
- package/docs/models/components/webhookendpointcreate.md +28 -0
- package/docs/models/components/webhookendpointupdate.md +23 -0
- package/docs/models/components/webhookevent.md +37 -0
- package/docs/models/components/webhookeventtype.md +15 -0
- package/docs/models/components/webhookformat.md +15 -0
- package/docs/models/components/webhookordercreatedpayload.md +153 -0
- package/docs/models/components/webhookorderpaidpayload.md +146 -0
- package/docs/models/components/webhookorderrefundedpayload.md +144 -0
- package/docs/models/components/webhookorderupdatedpayload.md +149 -0
- package/docs/models/components/webhookorganizationupdatedpayload.md +63 -0
- package/docs/models/components/webhookproductcreatedpayload.md +112 -0
- package/docs/models/components/webhookproductupdatedpayload.md +112 -0
- package/docs/models/components/webhookrefundcreatedpayload.md +40 -0
- package/docs/models/components/webhookrefundupdatedpayload.md +40 -0
- package/docs/models/components/webhooksubscriptionactivepayload.md +155 -0
- package/docs/models/components/webhooksubscriptioncanceledpayload.md +155 -0
- package/docs/models/components/webhooksubscriptioncreatedpayload.md +156 -0
- package/docs/models/components/webhooksubscriptionrevokedpayload.md +155 -0
- package/docs/models/components/webhooksubscriptionuncanceledpayload.md +154 -0
- package/docs/models/components/webhooksubscriptionupdatedpayload.md +158 -0
- package/docs/models/components/webtokenrequest.md +26 -0
- package/docs/models/components/webtokenrequestsubtype.md +15 -0
- package/docs/models/errors/alreadyactivesubscriptionerror.md +16 -0
- package/docs/models/errors/alreadycanceledsubscription.md +16 -0
- package/docs/models/errors/checkoutforbiddenerror.md +32 -0
- package/docs/models/errors/customernotready.md +16 -0
- package/docs/models/errors/customerportalordersgenerateinvoiceresponse422customerportalordersgenerateinvoice.md +25 -0
- package/docs/models/errors/expiredcheckouterror.md +16 -0
- package/docs/models/errors/httpvalidationerror.md +15 -0
- package/docs/models/errors/missinginvoicebillingdetails.md +16 -0
- package/docs/models/errors/missingpaymentmethoderror.md +16 -0
- package/docs/models/errors/notopencheckout.md +16 -0
- package/docs/models/errors/notpaidorder.md +16 -0
- package/docs/models/errors/notpermitted.md +16 -0
- package/docs/models/errors/ordernoteligibleforretry.md +16 -0
- package/docs/models/errors/ordersgenerateinvoiceresponse422ordersgenerateinvoice.md +25 -0
- package/docs/models/errors/paymentalreadyinprogress.md +16 -0
- package/docs/models/errors/paymenterror.md +16 -0
- package/docs/models/errors/paymentintentfailederror.md +16 -0
- package/docs/models/errors/paymentmethodinusebyactivesubscription.md +16 -0
- package/docs/models/errors/paymentnotready.md +16 -0
- package/docs/models/errors/refundamounttoohigh.md +16 -0
- package/docs/models/errors/refundedalready.md +16 -0
- package/docs/models/errors/resourcenotfound.md +16 -0
- package/docs/models/errors/subscriptionlocked.md +16 -0
- package/docs/models/errors/unauthorized.md +16 -0
- package/docs/models/operations/benefitgrantslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/benefitgrantslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/benefitgrantslistrequest.md +22 -0
- package/docs/models/operations/benefitgrantslistresponse.md +23 -0
- package/docs/models/operations/benefitidfilter.md +22 -0
- package/docs/models/operations/benefitsdeleterequest.md +17 -0
- package/docs/models/operations/benefitsgetrequest.md +17 -0
- package/docs/models/operations/benefitsgrantsrequest.md +21 -0
- package/docs/models/operations/benefitsgrantsresponse.md +23 -0
- package/docs/models/operations/benefitslistrequest.md +23 -0
- package/docs/models/operations/benefitslistresponse.md +23 -0
- package/docs/models/operations/benefitsupdatebenefitupdate.md +58 -0
- package/docs/models/operations/benefitsupdaterequest.md +21 -0
- package/docs/models/operations/benefittypefilter.md +19 -0
- package/docs/models/operations/checkoutidfilter.md +22 -0
- package/docs/models/operations/checkoutlinksdeleterequest.md +17 -0
- package/docs/models/operations/checkoutlinksgetrequest.md +17 -0
- package/docs/models/operations/checkoutlinkslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/checkoutlinkslistqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/checkoutlinkslistrequest.md +21 -0
- package/docs/models/operations/checkoutlinkslistresponse.md +23 -0
- package/docs/models/operations/checkoutlinksupdaterequest.md +19 -0
- package/docs/models/operations/checkoutsclientconfirmrequest.md +23 -0
- package/docs/models/operations/checkoutsclientgetrequest.md +17 -0
- package/docs/models/operations/checkoutsclientupdaterequest.md +23 -0
- package/docs/models/operations/checkoutsgetrequest.md +17 -0
- package/docs/models/operations/checkoutslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/checkoutslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/checkoutslistqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/checkoutslistrequest.md +24 -0
- package/docs/models/operations/checkoutslistresponse.md +23 -0
- package/docs/models/operations/checkoutsupdaterequest.md +23 -0
- package/docs/models/operations/customeremailfilter.md +22 -0
- package/docs/models/operations/customeridfilter.md +22 -0
- package/docs/models/operations/customermetersgetrequest.md +17 -0
- package/docs/models/operations/customermeterslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/customermeterslistqueryparamexternalcustomeridfilter.md +22 -0
- package/docs/models/operations/customermeterslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/customermeterslistrequest.md +23 -0
- package/docs/models/operations/customermeterslistresponse.md +74 -0
- package/docs/models/operations/customerportalbenefitgrantsgetrequest.md +17 -0
- package/docs/models/operations/customerportalbenefitgrantsgetsecurity.md +17 -0
- package/docs/models/operations/customerportalbenefitgrantslistqueryparambenefitidfilter.md +22 -0
- package/docs/models/operations/customerportalbenefitgrantslistrequest.md +22 -0
- package/docs/models/operations/customerportalbenefitgrantslistresponse.md +106 -0
- package/docs/models/operations/customerportalbenefitgrantslistsecurity.md +17 -0
- package/docs/models/operations/customerportalbenefitgrantsupdaterequest.md +21 -0
- package/docs/models/operations/customerportalbenefitgrantsupdatesecurity.md +17 -0
- package/docs/models/operations/customerportalcustomermetersgetrequest.md +17 -0
- package/docs/models/operations/customerportalcustomermetersgetsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomermeterslistrequest.md +19 -0
- package/docs/models/operations/customerportalcustomermeterslistresponse.md +40 -0
- package/docs/models/operations/customerportalcustomermeterslistsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersaddpaymentmethodsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersconfirmpaymentmethodsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersdeletepaymentmethodrequest.md +17 -0
- package/docs/models/operations/customerportalcustomersdeletepaymentmethodsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersessionintrospectsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersgetsecurity.md +17 -0
- package/docs/models/operations/customerportalcustomerslistpaymentmethodsrequest.md +16 -0
- package/docs/models/operations/customerportalcustomerslistpaymentmethodsresponse.md +23 -0
- package/docs/models/operations/customerportalcustomerslistpaymentmethodssecurity.md +17 -0
- package/docs/models/operations/customerportalcustomersupdatesecurity.md +17 -0
- package/docs/models/operations/customerportaldownloadableslistqueryparambenefitidfilter.md +22 -0
- package/docs/models/operations/customerportaldownloadableslistrequest.md +17 -0
- package/docs/models/operations/customerportaldownloadableslistresponse.md +23 -0
- package/docs/models/operations/customerportaldownloadableslistsecurity.md +17 -0
- package/docs/models/operations/customerportallicensekeysgetrequest.md +17 -0
- package/docs/models/operations/customerportallicensekeysgetsecurity.md +17 -0
- package/docs/models/operations/customerportallicensekeyslistrequest.md +17 -0
- package/docs/models/operations/customerportallicensekeyslistresponse.md +23 -0
- package/docs/models/operations/customerportallicensekeyslistsecurity.md +17 -0
- package/docs/models/operations/customerportalordersconfirmretrypaymentrequest.md +19 -0
- package/docs/models/operations/customerportalordersconfirmretrypaymentsecurity.md +17 -0
- package/docs/models/operations/customerportalordersgenerateinvoicerequest.md +17 -0
- package/docs/models/operations/customerportalordersgenerateinvoicesecurity.md +17 -0
- package/docs/models/operations/customerportalordersgetpaymentstatusrequest.md +17 -0
- package/docs/models/operations/customerportalordersgetpaymentstatussecurity.md +17 -0
- package/docs/models/operations/customerportalordersgetrequest.md +17 -0
- package/docs/models/operations/customerportalordersgetsecurity.md +17 -0
- package/docs/models/operations/customerportalordersinvoicerequest.md +17 -0
- package/docs/models/operations/customerportalordersinvoicesecurity.md +17 -0
- package/docs/models/operations/customerportalorderslistqueryparamproductbillingtypefilter.md +19 -0
- package/docs/models/operations/customerportalorderslistqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/customerportalorderslistqueryparamsubscriptionidfilter.md +22 -0
- package/docs/models/operations/customerportalorderslistrequest.md +21 -0
- package/docs/models/operations/customerportalorderslistresponse.md +23 -0
- package/docs/models/operations/customerportalorderslistsecurity.md +17 -0
- package/docs/models/operations/customerportalordersupdaterequest.md +24 -0
- package/docs/models/operations/customerportalordersupdatesecurity.md +17 -0
- package/docs/models/operations/customerportalorganizationsgetrequest.md +17 -0
- package/docs/models/operations/customerportalseatsassignseatsecurity.md +17 -0
- package/docs/models/operations/customerportalseatslistclaimedsubscriptionssecurity.md +17 -0
- package/docs/models/operations/customerportalseatslistseatsrequest.md +16 -0
- package/docs/models/operations/customerportalseatslistseatssecurity.md +17 -0
- package/docs/models/operations/customerportalseatsresendinvitationrequest.md +17 -0
- package/docs/models/operations/customerportalseatsresendinvitationsecurity.md +17 -0
- package/docs/models/operations/customerportalseatsrevokeseatrequest.md +17 -0
- package/docs/models/operations/customerportalseatsrevokeseatsecurity.md +17 -0
- package/docs/models/operations/customerportalsubscriptionscancelrequest.md +17 -0
- package/docs/models/operations/customerportalsubscriptionscancelsecurity.md +17 -0
- package/docs/models/operations/customerportalsubscriptionsgetrequest.md +17 -0
- package/docs/models/operations/customerportalsubscriptionsgetsecurity.md +17 -0
- package/docs/models/operations/customerportalsubscriptionslistqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/customerportalsubscriptionslistrequest.md +20 -0
- package/docs/models/operations/customerportalsubscriptionslistresponse.md +115 -0
- package/docs/models/operations/customerportalsubscriptionslistsecurity.md +17 -0
- package/docs/models/operations/customerportalsubscriptionsupdaterequest.md +21 -0
- package/docs/models/operations/customerportalsubscriptionsupdatesecurity.md +17 -0
- package/docs/models/operations/customerportalwalletsgetrequest.md +17 -0
- package/docs/models/operations/customerportalwalletsgetsecurity.md +17 -0
- package/docs/models/operations/customerportalwalletslistrequest.md +17 -0
- package/docs/models/operations/customerportalwalletslistresponse.md +32 -0
- package/docs/models/operations/customerportalwalletslistsecurity.md +17 -0
- package/docs/models/operations/customersdeleteexternalrequest.md +17 -0
- package/docs/models/operations/customersdeleterequest.md +17 -0
- package/docs/models/operations/customerseatsgetclaiminforequest.md +17 -0
- package/docs/models/operations/customerseatslistseatsrequest.md +16 -0
- package/docs/models/operations/customerseatsresendinvitationrequest.md +17 -0
- package/docs/models/operations/customerseatsrevokeseatrequest.md +17 -0
- package/docs/models/operations/customersessionscreatecustomersessioncreate.md +23 -0
- package/docs/models/operations/customersexportqueryparamorganizationid.md +21 -0
- package/docs/models/operations/customersexportrequest.md +17 -0
- package/docs/models/operations/customersgetbalancerequest.md +17 -0
- package/docs/models/operations/customersgetexternalrequest.md +17 -0
- package/docs/models/operations/customersgetrequest.md +17 -0
- package/docs/models/operations/customersgetstateexternalrequest.md +17 -0
- package/docs/models/operations/customersgetstaterequest.md +17 -0
- package/docs/models/operations/customerslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/customerslistrequest.md +23 -0
- package/docs/models/operations/customerslistresponse.md +23 -0
- package/docs/models/operations/customersupdateexternalrequest.md +29 -0
- package/docs/models/operations/customersupdaterequest.md +30 -0
- package/docs/models/operations/customfieldsdeleterequest.md +17 -0
- package/docs/models/operations/customfieldsgetrequest.md +17 -0
- package/docs/models/operations/customfieldslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/customfieldslistrequest.md +22 -0
- package/docs/models/operations/customfieldslistresponse.md +37 -0
- package/docs/models/operations/customfieldsupdaterequest.md +21 -0
- package/docs/models/operations/customfieldtypefilter.md +21 -0
- package/docs/models/operations/discountidfilter.md +22 -0
- package/docs/models/operations/discountsdeleterequest.md +17 -0
- package/docs/models/operations/discountsgetrequest.md +17 -0
- package/docs/models/operations/discountslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/discountslistrequest.md +21 -0
- package/docs/models/operations/discountslistresponse.md +23 -0
- package/docs/models/operations/discountsupdaterequest.md +19 -0
- package/docs/models/operations/endpointid.md +22 -0
- package/docs/models/operations/eventsgetrequest.md +17 -0
- package/docs/models/operations/eventslistnamesqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/eventslistnamesqueryparamexternalcustomeridfilter.md +22 -0
- package/docs/models/operations/eventslistnamesqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/eventslistnamesrequest.md +24 -0
- package/docs/models/operations/eventslistnamesresponse.md +23 -0
- package/docs/models/operations/eventslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/eventslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/eventslistrequest.md +30 -0
- package/docs/models/operations/eventslistresponse.md +56 -0
- package/docs/models/operations/externalcustomeridfilter.md +22 -0
- package/docs/models/operations/fileidfilter.md +22 -0
- package/docs/models/operations/filesdeleterequest.md +17 -0
- package/docs/models/operations/fileslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/fileslistrequest.md +20 -0
- package/docs/models/operations/fileslistresponse.md +23 -0
- package/docs/models/operations/filesupdaterequest.md +19 -0
- package/docs/models/operations/filesupdateresponsefilesupdate.md +78 -0
- package/docs/models/operations/filesuploadedrequest.md +23 -0
- package/docs/models/operations/filesuploadedresponsefilesuploaded.md +78 -0
- package/docs/models/operations/licensekeysgetactivationrequest.md +19 -0
- package/docs/models/operations/licensekeysgetrequest.md +17 -0
- package/docs/models/operations/licensekeyslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/licensekeyslistrequest.md +20 -0
- package/docs/models/operations/licensekeyslistresponse.md +23 -0
- package/docs/models/operations/licensekeysupdaterequest.md +19 -0
- package/docs/models/operations/meteridfilter.md +22 -0
- package/docs/models/operations/metersgetrequest.md +17 -0
- package/docs/models/operations/meterslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/meterslistrequest.md +23 -0
- package/docs/models/operations/meterslistresponse.md +23 -0
- package/docs/models/operations/metersquantitiesqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/metersquantitiesqueryparamexternalcustomeridfilter.md +22 -0
- package/docs/models/operations/metersquantitiesrequest.md +27 -0
- package/docs/models/operations/metersupdaterequest.md +19 -0
- package/docs/models/operations/methodfilter.md +22 -0
- package/docs/models/operations/metricsgetqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/metricsgetqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/metricsgetqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/metricsgetrequest.md +28 -0
- package/docs/models/operations/namefilter.md +22 -0
- package/docs/models/operations/oauth2authorizeresponseoauth2authorize.md +56 -0
- package/docs/models/operations/oauth2clientsoauth2deleteclientrequest.md +17 -0
- package/docs/models/operations/oauth2clientsoauth2getclientrequest.md +17 -0
- package/docs/models/operations/oauth2clientsoauth2updateclientrequest.md +26 -0
- package/docs/models/operations/oauth2requesttokenrequestbody.md +39 -0
- package/docs/models/operations/oauth2userinforesponseoauth2userinfo.md +23 -0
- package/docs/models/operations/orderidfilter.md +22 -0
- package/docs/models/operations/ordersexportqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/ordersexportqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/ordersexportrequest.md +18 -0
- package/docs/models/operations/ordersgenerateinvoicerequest.md +17 -0
- package/docs/models/operations/ordersgetrequest.md +17 -0
- package/docs/models/operations/ordersinvoicerequest.md +17 -0
- package/docs/models/operations/orderslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/orderslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/orderslistqueryparamproductidfilter.md +22 -0
- package/docs/models/operations/orderslistrequest.md +26 -0
- package/docs/models/operations/orderslistresponse.md +142 -0
- package/docs/models/operations/ordersupdaterequest.md +24 -0
- package/docs/models/operations/organizationid.md +21 -0
- package/docs/models/operations/organizationidfilter.md +21 -0
- package/docs/models/operations/organizationsgetrequest.md +17 -0
- package/docs/models/operations/organizationslistrequest.md +18 -0
- package/docs/models/operations/organizationslistresponse.md +23 -0
- package/docs/models/operations/organizationsupdaterequest.md +19 -0
- package/docs/models/operations/paymentsgetrequest.md +17 -0
- package/docs/models/operations/paymentslistqueryparamcheckoutidfilter.md +22 -0
- package/docs/models/operations/paymentslistqueryparamorderidfilter.md +22 -0
- package/docs/models/operations/paymentslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/paymentslistrequest.md +25 -0
- package/docs/models/operations/paymentslistresponse.md +39 -0
- package/docs/models/operations/productbillingtypefilter.md +19 -0
- package/docs/models/operations/productidfilter.md +22 -0
- package/docs/models/operations/productsgetrequest.md +17 -0
- package/docs/models/operations/productslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/productslistrequest.md +26 -0
- package/docs/models/operations/productslistresponse.md +79 -0
- package/docs/models/operations/productsupdatebenefitsrequest.md +23 -0
- package/docs/models/operations/productsupdaterequest.md +19 -0
- package/docs/models/operations/queryparambenefitidfilter.md +22 -0
- package/docs/models/operations/queryparambenefittypefilter.md +19 -0
- package/docs/models/operations/queryparamcheckoutidfilter.md +22 -0
- package/docs/models/operations/queryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/queryparamdiscountidfilter.md +22 -0
- package/docs/models/operations/queryparamexternalcustomeridfilter.md +22 -0
- package/docs/models/operations/queryparammeteridfilter.md +22 -0
- package/docs/models/operations/queryparamorderidfilter.md +22 -0
- package/docs/models/operations/queryparamorganizationid.md +21 -0
- package/docs/models/operations/queryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/queryparamproductbillingtypefilter.md +19 -0
- package/docs/models/operations/queryparamproductidfilter.md +22 -0
- package/docs/models/operations/queryparamsourcefilter.md +19 -0
- package/docs/models/operations/queryparamstatusfilter.md +21 -0
- package/docs/models/operations/queryparamsubscriptionidfilter.md +22 -0
- package/docs/models/operations/refundidfilter.md +22 -0
- package/docs/models/operations/refundslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/refundslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/refundslistrequest.md +25 -0
- package/docs/models/operations/refundslistresponse.md +42 -0
- package/docs/models/operations/sourcefilter.md +19 -0
- package/docs/models/operations/statusfilter.md +21 -0
- package/docs/models/operations/subscriptionidfilter.md +22 -0
- package/docs/models/operations/subscriptionscreatesubscriptioncreate.md +23 -0
- package/docs/models/operations/subscriptionsexportrequest.md +17 -0
- package/docs/models/operations/subscriptionsgetrequest.md +17 -0
- package/docs/models/operations/subscriptionslistrequest.md +26 -0
- package/docs/models/operations/subscriptionslistresponse.md +23 -0
- package/docs/models/operations/subscriptionsrevokerequest.md +17 -0
- package/docs/models/operations/subscriptionsupdaterequest.md +21 -0
- package/docs/models/operations/walletsgetrequest.md +17 -0
- package/docs/models/operations/walletslistqueryparamcustomeridfilter.md +22 -0
- package/docs/models/operations/walletslistqueryparamorganizationidfilter.md +21 -0
- package/docs/models/operations/walletslistrequest.md +21 -0
- package/docs/models/operations/walletslistresponse.md +23 -0
- package/docs/models/operations/walletstopuprequest.md +22 -0
- package/docs/models/operations/webhooksdeletewebhookendpointrequest.md +17 -0
- package/docs/models/operations/webhooksgetwebhookendpointrequest.md +17 -0
- package/docs/models/operations/webhookslistwebhookdeliveriesrequest.md +19 -0
- package/docs/models/operations/webhookslistwebhookdeliveriesresponse.md +23 -0
- package/docs/models/operations/webhookslistwebhookendpointsrequest.md +19 -0
- package/docs/models/operations/webhookslistwebhookendpointsresponse.md +35 -0
- package/docs/models/operations/webhooksredeliverwebhookeventrequest.md +17 -0
- package/docs/models/operations/webhooksresetwebhookendpointsecretrequest.md +17 -0
- package/docs/models/operations/webhooksupdatewebhookendpointrequest.md +21 -0
- package/docs/sdks/benefitgrants/README.md +88 -0
- package/docs/sdks/benefits/README.md +500 -0
- package/docs/sdks/checkoutlinks/README.md +407 -0
- package/docs/sdks/checkouts/README.md +600 -0
- package/docs/sdks/clients/README.md +331 -0
- package/docs/sdks/customermeters/README.md +166 -0
- package/docs/sdks/customers/README.md +1036 -0
- package/docs/sdks/customerseats/README.md +441 -0
- package/docs/sdks/customersession/README.md +79 -0
- package/docs/sdks/customersessions/README.md +84 -0
- package/docs/sdks/customfields/README.md +417 -0
- package/docs/sdks/discounts/README.md +409 -0
- package/docs/sdks/downloadables/README.md +83 -0
- package/docs/sdks/events/README.md +324 -0
- package/docs/sdks/files/README.md +460 -0
- package/docs/sdks/licensekeys/README.md +576 -0
- package/docs/sdks/meters/README.md +437 -0
- package/docs/sdks/metrics/README.md +165 -0
- package/docs/sdks/oauth2/README.md +371 -0
- package/docs/sdks/orders/README.md +489 -0
- package/docs/sdks/organizations/README.md +322 -0
- package/docs/sdks/payments/README.md +166 -0
- package/docs/sdks/polarbenefitgrants/README.md +250 -0
- package/docs/sdks/polarcustomermeters/README.md +164 -0
- package/docs/sdks/polarcustomers/README.md +482 -0
- package/docs/sdks/polarlicensekeys/README.md +406 -0
- package/docs/sdks/polarorders/README.md +574 -0
- package/docs/sdks/polarorganizations/README.md +79 -0
- package/docs/sdks/polarsubscriptions/README.md +326 -0
- package/docs/sdks/polarwallets/README.md +164 -0
- package/docs/sdks/products/README.md +441 -0
- package/docs/sdks/refunds/README.md +171 -0
- package/docs/sdks/seats/README.md +379 -0
- package/docs/sdks/subscriptions/README.md +493 -0
- package/docs/sdks/wallets/README.md +256 -0
- package/docs/sdks/webhooks/README.md +650 -0
- package/docs/types/rfcdate.md +11 -0
- package/eslint.config.mjs +22 -0
- package/examples/.env.template +14 -0
- package/examples/README.md +31 -0
- package/examples/core copy.ts +13 -0
- package/examples/core.ts +13 -0
- package/examples/funcs/benefitGrantsList.ts +261 -0
- package/examples/funcs/benefitsCreate.ts +181 -0
- package/examples/funcs/benefitsDelete.ts +204 -0
- package/examples/funcs/benefitsGet.ts +195 -0
- package/examples/funcs/benefitsGrants.ts +277 -0
- package/examples/funcs/benefitsList.ts +270 -0
- package/examples/funcs/benefitsUpdate.ts +196 -0
- package/examples/funcs/checkoutLinksCreate.ts +181 -0
- package/examples/funcs/checkoutLinksDelete.ts +192 -0
- package/examples/funcs/checkoutLinksGet.ts +195 -0
- package/examples/funcs/checkoutLinksList.ts +260 -0
- package/examples/funcs/checkoutLinksUpdate.ts +198 -0
- package/examples/funcs/checkoutsClientConfirm.ts +224 -0
- package/examples/funcs/checkoutsClientGet.ts +195 -0
- package/examples/funcs/checkoutsClientUpdate.ts +206 -0
- package/examples/funcs/checkoutsCreate.ts +181 -0
- package/examples/funcs/checkoutsGet.ts +195 -0
- package/examples/funcs/checkoutsList.ts +263 -0
- package/examples/funcs/checkoutsUpdate.ts +204 -0
- package/examples/funcs/customFieldsCreate.ts +181 -0
- package/examples/funcs/customFieldsDelete.ts +192 -0
- package/examples/funcs/customFieldsGet.ts +195 -0
- package/examples/funcs/customFieldsList.ts +261 -0
- package/examples/funcs/customFieldsUpdate.ts +196 -0
- package/examples/funcs/customerMetersGet.ts +195 -0
- package/examples/funcs/customerMetersList.ts +262 -0
- package/examples/funcs/customerPortalBenefitGrantsGet.ts +208 -0
- package/examples/funcs/customerPortalBenefitGrantsList.ts +277 -0
- package/examples/funcs/customerPortalBenefitGrantsUpdate.ts +219 -0
- package/examples/funcs/customerPortalCustomerMetersGet.ts +206 -0
- package/examples/funcs/customerPortalCustomerMetersList.ts +274 -0
- package/examples/funcs/customerPortalCustomerSessionIntrospect.ts +157 -0
- package/examples/funcs/customerPortalCustomersAddPaymentMethod.ts +191 -0
- package/examples/funcs/customerPortalCustomersConfirmPaymentMethod.ts +201 -0
- package/examples/funcs/customerPortalCustomersDeletePaymentMethod.ts +215 -0
- package/examples/funcs/customerPortalCustomersGet.ts +157 -0
- package/examples/funcs/customerPortalCustomersListPaymentMethods.ts +275 -0
- package/examples/funcs/customerPortalCustomersUpdate.ts +191 -0
- package/examples/funcs/customerPortalDownloadablesList.ts +270 -0
- package/examples/funcs/customerPortalLicenseKeysActivate.ts +194 -0
- package/examples/funcs/customerPortalLicenseKeysDeactivate.ts +183 -0
- package/examples/funcs/customerPortalLicenseKeysGet.ts +205 -0
- package/examples/funcs/customerPortalLicenseKeysList.ts +287 -0
- package/examples/funcs/customerPortalLicenseKeysValidate.ts +186 -0
- package/examples/funcs/customerPortalOrdersConfirmRetryPayment.ts +221 -0
- package/examples/funcs/customerPortalOrdersGenerateInvoice.ts +200 -0
- package/examples/funcs/customerPortalOrdersGet.ts +205 -0
- package/examples/funcs/customerPortalOrdersGetPaymentStatus.ts +208 -0
- package/examples/funcs/customerPortalOrdersInvoice.ts +207 -0
- package/examples/funcs/customerPortalOrdersList.ts +275 -0
- package/examples/funcs/customerPortalOrdersUpdate.ts +208 -0
- package/examples/funcs/customerPortalOrganizationsGet.ts +190 -0
- package/examples/funcs/customerPortalSeatsAssignSeat.ts +189 -0
- package/examples/funcs/customerPortalSeatsListClaimedSubscriptions.ts +158 -0
- package/examples/funcs/customerPortalSeatsListSeats.ts +194 -0
- package/examples/funcs/customerPortalSeatsResendInvitation.ts +198 -0
- package/examples/funcs/customerPortalSeatsRevokeSeat.ts +195 -0
- package/examples/funcs/customerPortalSubscriptionsCancel.ts +214 -0
- package/examples/funcs/customerPortalSubscriptionsGet.ts +206 -0
- package/examples/funcs/customerPortalSubscriptionsList.ts +275 -0
- package/examples/funcs/customerPortalSubscriptionsUpdate.ts +217 -0
- package/examples/funcs/customerPortalWalletsGet.ts +205 -0
- package/examples/funcs/customerPortalWalletsList.ts +271 -0
- package/examples/funcs/customerSeatsAssignSeat.ts +179 -0
- package/examples/funcs/customerSeatsClaimSeat.ts +170 -0
- package/examples/funcs/customerSeatsGetClaimInfo.ts +179 -0
- package/examples/funcs/customerSeatsListSeats.ts +184 -0
- package/examples/funcs/customerSeatsResendInvitation.ts +185 -0
- package/examples/funcs/customerSeatsRevokeSeat.ts +185 -0
- package/examples/funcs/customerSessionsCreate.ts +182 -0
- package/examples/funcs/customersCreate.ts +181 -0
- package/examples/funcs/customersDelete.ts +204 -0
- package/examples/funcs/customersDeleteExternal.ts +194 -0
- package/examples/funcs/customersExport.ts +182 -0
- package/examples/funcs/customersGet.ts +195 -0
- package/examples/funcs/customersGetBalance.ts +195 -0
- package/examples/funcs/customersGetExternal.ts +195 -0
- package/examples/funcs/customersGetState.ts +201 -0
- package/examples/funcs/customersGetStateExternal.ts +203 -0
- package/examples/funcs/customersList.ts +270 -0
- package/examples/funcs/customersUpdate.ts +196 -0
- package/examples/funcs/customersUpdateExternal.ts +198 -0
- package/examples/funcs/discountsCreate.ts +181 -0
- package/examples/funcs/discountsDelete.ts +192 -0
- package/examples/funcs/discountsGet.ts +195 -0
- package/examples/funcs/discountsList.ts +260 -0
- package/examples/funcs/discountsUpdate.ts +196 -0
- package/examples/funcs/eventsGet.ts +192 -0
- package/examples/funcs/eventsIngest.ts +181 -0
- package/examples/funcs/eventsList.ts +277 -0
- package/examples/funcs/eventsListNames.ts +263 -0
- package/examples/funcs/filesCreate.ts +181 -0
- package/examples/funcs/filesDelete.ts +200 -0
- package/examples/funcs/filesList.ts +259 -0
- package/examples/funcs/filesUpdate.ts +202 -0
- package/examples/funcs/filesUploaded.ts +204 -0
- package/examples/funcs/licenseKeysActivate.ts +197 -0
- package/examples/funcs/licenseKeysDeactivate.ts +186 -0
- package/examples/funcs/licenseKeysGet.ts +203 -0
- package/examples/funcs/licenseKeysGetActivation.ts +209 -0
- package/examples/funcs/licenseKeysList.ts +277 -0
- package/examples/funcs/licenseKeysUpdate.ts +204 -0
- package/examples/funcs/licenseKeysValidate.ts +189 -0
- package/examples/funcs/metersCreate.ts +178 -0
- package/examples/funcs/metersGet.ts +192 -0
- package/examples/funcs/metersList.ts +270 -0
- package/examples/funcs/metersQuantities.ts +215 -0
- package/examples/funcs/metersUpdate.ts +193 -0
- package/examples/funcs/metricsGet.ts +194 -0
- package/examples/funcs/metricsLimits.ts +147 -0
- package/examples/funcs/oauth2Authorize.ts +142 -0
- package/examples/funcs/oauth2ClientsCreate.ts +176 -0
- package/examples/funcs/oauth2ClientsDelete.ts +183 -0
- package/examples/funcs/oauth2ClientsGet.ts +182 -0
- package/examples/funcs/oauth2ClientsUpdate.ts +186 -0
- package/examples/funcs/oauth2Introspect.ts +164 -0
- package/examples/funcs/oauth2Revoke.ts +164 -0
- package/examples/funcs/oauth2Token.ts +164 -0
- package/examples/funcs/oauth2Userinfo.ts +145 -0
- package/examples/funcs/ordersExport.ts +183 -0
- package/examples/funcs/ordersGenerateInvoice.ts +187 -0
- package/examples/funcs/ordersGet.ts +192 -0
- package/examples/funcs/ordersInvoice.ts +195 -0
- package/examples/funcs/ordersList.ts +273 -0
- package/examples/funcs/ordersUpdate.ts +193 -0
- package/examples/funcs/organizationsCreate.ts +181 -0
- package/examples/funcs/organizationsGet.ts +195 -0
- package/examples/funcs/organizationsList.ts +259 -0
- package/examples/funcs/organizationsUpdate.ts +206 -0
- package/examples/funcs/paymentsGet.ts +195 -0
- package/examples/funcs/paymentsList.ts +264 -0
- package/examples/funcs/productsCreate.ts +181 -0
- package/examples/funcs/productsGet.ts +195 -0
- package/examples/funcs/productsList.ts +273 -0
- package/examples/funcs/productsUpdate.ts +204 -0
- package/examples/funcs/productsUpdateBenefits.ts +206 -0
- package/examples/funcs/refundsCreate.ts +195 -0
- package/examples/funcs/refundsList.ts +264 -0
- package/examples/funcs/subscriptionsCreate.ts +187 -0
- package/examples/funcs/subscriptionsExport.ts +182 -0
- package/examples/funcs/subscriptionsGet.ts +195 -0
- package/examples/funcs/subscriptionsList.ts +273 -0
- package/examples/funcs/subscriptionsRevoke.ts +211 -0
- package/examples/funcs/subscriptionsUpdate.ts +214 -0
- package/examples/funcs/walletsGet.ts +192 -0
- package/examples/funcs/walletsList.ts +260 -0
- package/examples/funcs/walletsTopUp.ts +212 -0
- package/examples/funcs/webhooksCreateWebhookEndpoint.ts +181 -0
- package/examples/funcs/webhooksDeleteWebhookEndpoint.ts +192 -0
- package/examples/funcs/webhooksGetWebhookEndpoint.ts +195 -0
- package/examples/funcs/webhooksListWebhookDeliveries.ts +264 -0
- package/examples/funcs/webhooksListWebhookEndpoints.ts +260 -0
- package/examples/funcs/webhooksRedeliverWebhookEvent.ts +192 -0
- package/examples/funcs/webhooksResetWebhookEndpointSecret.ts +196 -0
- package/examples/funcs/webhooksUpdateWebhookEndpoint.ts +198 -0
- package/examples/hooks/hooks.ts +132 -0
- package/examples/hooks/registration.ts +14 -0
- package/examples/hooks/types.ts +114 -0
- package/examples/lib/base64.ts +37 -0
- package/examples/lib/config.ts +70 -0
- package/examples/lib/dlv.ts +53 -0
- package/examples/lib/encodings.ts +483 -0
- package/examples/lib/env.ts +57 -0
- package/examples/lib/files.ts +82 -0
- package/examples/lib/http.ts +323 -0
- package/examples/lib/is-plain-object.ts +43 -0
- package/examples/lib/logger.ts +9 -0
- package/examples/lib/matchers.ts +345 -0
- package/examples/lib/primitives.ts +150 -0
- package/examples/lib/retries.ts +218 -0
- package/examples/lib/schemas.ts +91 -0
- package/examples/lib/sdks.ts +407 -0
- package/examples/lib/security.ts +264 -0
- package/examples/lib/url.ts +33 -0
- package/examples/models/components/address.ts +363 -0
- package/examples/models/components/addressdict.ts +91 -0
- package/examples/models/components/addressinput.ts +361 -0
- package/examples/models/components/aggregationfunction.ts +37 -0
- package/examples/models/components/attachedcustomfield.ts +107 -0
- package/examples/models/components/attachedcustomfieldcreate.ts +88 -0
- package/examples/models/components/authorizationcodetokenrequest.ts +99 -0
- package/examples/models/components/authorizeorganization.ts +83 -0
- package/examples/models/components/authorizeresponseorganization.ts +106 -0
- package/examples/models/components/authorizeresponseuser.ts +100 -0
- package/examples/models/components/authorizeuser.ts +79 -0
- package/examples/models/components/benefit.ts +113 -0
- package/examples/models/components/benefitcreate.ts +164 -0
- package/examples/models/components/benefitcustom.ts +204 -0
- package/examples/models/components/benefitcustomcreate.ts +184 -0
- package/examples/models/components/benefitcustomcreateproperties.ts +71 -0
- package/examples/models/components/benefitcustomproperties.ts +69 -0
- package/examples/models/components/benefitcustomsubscriber.ts +221 -0
- package/examples/models/components/benefitcustomsubscriberproperties.ts +72 -0
- package/examples/models/components/benefitcustomupdate.ts +162 -0
- package/examples/models/components/benefitcycledevent.ts +150 -0
- package/examples/models/components/benefitdiscord.ts +208 -0
- package/examples/models/components/benefitdiscordcreate.ts +181 -0
- package/examples/models/components/benefitdiscordcreateproperties.ts +98 -0
- package/examples/models/components/benefitdiscordproperties.ts +105 -0
- package/examples/models/components/benefitdiscordsubscriber.ts +221 -0
- package/examples/models/components/benefitdiscordsubscriberproperties.ts +85 -0
- package/examples/models/components/benefitdiscordupdate.ts +164 -0
- package/examples/models/components/benefitdownloadables.ts +204 -0
- package/examples/models/components/benefitdownloadablescreate.ts +184 -0
- package/examples/models/components/benefitdownloadablescreateproperties.ts +75 -0
- package/examples/models/components/benefitdownloadablesproperties.ts +72 -0
- package/examples/models/components/benefitdownloadablessubscriber.ts +224 -0
- package/examples/models/components/benefitdownloadablessubscriberproperties.ts +86 -0
- package/examples/models/components/benefitdownloadablesupdate.ts +170 -0
- package/examples/models/components/benefitgithubrepository.ts +218 -0
- package/examples/models/components/benefitgithubrepositorycreate.ts +190 -0
- package/examples/models/components/benefitgithubrepositorycreateproperties.ts +149 -0
- package/examples/models/components/benefitgithubrepositoryproperties.ts +135 -0
- package/examples/models/components/benefitgithubrepositorysubscriber.ts +234 -0
- package/examples/models/components/benefitgithubrepositorysubscriberproperties.ts +103 -0
- package/examples/models/components/benefitgithubrepositoryupdate.ts +176 -0
- package/examples/models/components/benefitgrant.ts +328 -0
- package/examples/models/components/benefitgrantcustomproperties.ts +60 -0
- package/examples/models/components/benefitgrantcustomwebhook.ts +236 -0
- package/examples/models/components/benefitgrantdiscordproperties.ts +95 -0
- package/examples/models/components/benefitgrantdiscordwebhook.ts +236 -0
- package/examples/models/components/benefitgrantdownloadablesproperties.ts +71 -0
- package/examples/models/components/benefitgrantdownloadableswebhook.ts +233 -0
- package/examples/models/components/benefitgrantedevent.ts +150 -0
- package/examples/models/components/benefitgranterror.ts +74 -0
- package/examples/models/components/benefitgrantgithubrepositoryproperties.ts +140 -0
- package/examples/models/components/benefitgrantgithubrepositorywebhook.ts +246 -0
- package/examples/models/components/benefitgrantlicensekeysproperties.ts +84 -0
- package/examples/models/components/benefitgrantlicensekeyswebhook.ts +233 -0
- package/examples/models/components/benefitgrantmetadata.ts +92 -0
- package/examples/models/components/benefitgrantmetercreditproperties.ts +90 -0
- package/examples/models/components/benefitgrantmetercreditwebhook.ts +240 -0
- package/examples/models/components/benefitgrantsortproperty.ts +39 -0
- package/examples/models/components/benefitgrantwebhook.ts +120 -0
- package/examples/models/components/benefitlicensekeyactivationcreateproperties.ts +92 -0
- package/examples/models/components/benefitlicensekeyactivationproperties.ts +84 -0
- package/examples/models/components/benefitlicensekeyexpirationproperties.ts +102 -0
- package/examples/models/components/benefitlicensekeys.ts +202 -0
- package/examples/models/components/benefitlicensekeyscreate.ts +182 -0
- package/examples/models/components/benefitlicensekeyscreateproperties.ts +112 -0
- package/examples/models/components/benefitlicensekeysproperties.ts +101 -0
- package/examples/models/components/benefitlicensekeyssubscriber.ts +223 -0
- package/examples/models/components/benefitlicensekeyssubscriberproperties.ts +105 -0
- package/examples/models/components/benefitlicensekeysupdate.ts +168 -0
- package/examples/models/components/benefitmetercredit.ts +212 -0
- package/examples/models/components/benefitmetercreditcreate.ts +188 -0
- package/examples/models/components/benefitmetercreditcreateproperties.ts +90 -0
- package/examples/models/components/benefitmetercreditproperties.ts +88 -0
- package/examples/models/components/benefitmetercreditsubscriber.ts +226 -0
- package/examples/models/components/benefitmetercreditsubscriberproperties.ts +92 -0
- package/examples/models/components/benefitmetercreditupdate.ts +168 -0
- package/examples/models/components/benefitpublic.ts +131 -0
- package/examples/models/components/benefitrevokedevent.ts +150 -0
- package/examples/models/components/benefitsortproperty.ts +37 -0
- package/examples/models/components/benefittype.ts +35 -0
- package/examples/models/components/benefitupdatedevent.ts +150 -0
- package/examples/models/components/billingaddressfieldmode.ts +36 -0
- package/examples/models/components/cardpayment.ts +203 -0
- package/examples/models/components/cardpaymentmetadata.ts +79 -0
- package/examples/models/components/checkout.ts +948 -0
- package/examples/models/components/checkoutbillingaddressfields.ts +102 -0
- package/examples/models/components/checkoutconfirmstripe.ts +267 -0
- package/examples/models/components/checkoutcreate.ts +506 -0
- package/examples/models/components/checkoutdiscountfixedonceforeverduration.ts +117 -0
- package/examples/models/components/checkoutdiscountfixedrepeatduration.ts +127 -0
- package/examples/models/components/checkoutdiscountpercentageonceforeverduration.ts +127 -0
- package/examples/models/components/checkoutdiscountpercentagerepeatduration.ts +134 -0
- package/examples/models/components/checkoutlink.ts +382 -0
- package/examples/models/components/checkoutlinkcreate.ts +90 -0
- package/examples/models/components/checkoutlinkcreateproduct.ts +241 -0
- package/examples/models/components/checkoutlinkcreateproductprice.ts +246 -0
- package/examples/models/components/checkoutlinkcreateproducts.ts +239 -0
- package/examples/models/components/checkoutlinkproduct.ts +365 -0
- package/examples/models/components/checkoutlinksortproperty.ts +41 -0
- package/examples/models/components/checkoutlinkupdate.ts +219 -0
- package/examples/models/components/checkoutproduct.ts +297 -0
- package/examples/models/components/checkoutpublic.ts +802 -0
- package/examples/models/components/checkoutpublicconfirmed.ts +827 -0
- package/examples/models/components/checkoutsortproperty.ts +37 -0
- package/examples/models/components/checkoutstatus.ts +36 -0
- package/examples/models/components/checkoutupdate.ts +485 -0
- package/examples/models/components/checkoutupdatepublic.ts +258 -0
- package/examples/models/components/costmetadatainput.ts +122 -0
- package/examples/models/components/costmetadataoutput.ts +76 -0
- package/examples/models/components/countaggregation.ts +66 -0
- package/examples/models/components/customer.ts +284 -0
- package/examples/models/components/customerbalance.ts +77 -0
- package/examples/models/components/customerbenefitgrant.ts +120 -0
- package/examples/models/components/customerbenefitgrantcustom.ts +178 -0
- package/examples/models/components/customerbenefitgrantcustomupdate.ts +77 -0
- package/examples/models/components/customerbenefitgrantdiscord.ts +180 -0
- package/examples/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +88 -0
- package/examples/models/components/customerbenefitgrantdiscordupdate.ts +88 -0
- package/examples/models/components/customerbenefitgrantdownloadables.ts +181 -0
- package/examples/models/components/customerbenefitgrantdownloadablesupdate.ts +86 -0
- package/examples/models/components/customerbenefitgrantgithubrepository.ts +183 -0
- package/examples/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +89 -0
- package/examples/models/components/customerbenefitgrantgithubrepositoryupdate.ts +97 -0
- package/examples/models/components/customerbenefitgrantlicensekeys.ts +180 -0
- package/examples/models/components/customerbenefitgrantlicensekeysupdate.ts +80 -0
- package/examples/models/components/customerbenefitgrantmetercredit.ts +180 -0
- package/examples/models/components/customerbenefitgrantmetercreditupdate.ts +80 -0
- package/examples/models/components/customerbenefitgrantsortproperty.ts +39 -0
- package/examples/models/components/customerbenefitgrantupdate.ts +178 -0
- package/examples/models/components/customercancellationreason.ts +41 -0
- package/examples/models/components/customercreate.ts +251 -0
- package/examples/models/components/customercreatedevent.ts +150 -0
- package/examples/models/components/customercreatedmetadata.ts +93 -0
- package/examples/models/components/customercustomermeter.ts +149 -0
- package/examples/models/components/customercustomermetermeter.ts +103 -0
- package/examples/models/components/customercustomermetersortproperty.ts +48 -0
- package/examples/models/components/customercustomersession.ts +81 -0
- package/examples/models/components/customerdeletedevent.ts +150 -0
- package/examples/models/components/customerdeletedmetadata.ts +93 -0
- package/examples/models/components/customermeter.ts +161 -0
- package/examples/models/components/customermetersortproperty.ts +51 -0
- package/examples/models/components/customerorder.ts +341 -0
- package/examples/models/components/customerorderconfirmpayment.ts +103 -0
- package/examples/models/components/customerorderinvoice.ts +72 -0
- package/examples/models/components/customerorderpaymentconfirmation.ts +97 -0
- package/examples/models/components/customerorderpaymentstatus.ts +79 -0
- package/examples/models/components/customerorderproduct.ts +308 -0
- package/examples/models/components/customerordersortproperty.ts +43 -0
- package/examples/models/components/customerordersubscription.ts +297 -0
- package/examples/models/components/customerorderupdate.ts +96 -0
- package/examples/models/components/customerorganization.ts +85 -0
- package/examples/models/components/customerpaymentmethod.ts +78 -0
- package/examples/models/components/customerpaymentmethodconfirm.ts +83 -0
- package/examples/models/components/customerpaymentmethodcreate.ts +89 -0
- package/examples/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +93 -0
- package/examples/models/components/customerpaymentmethodcreateresponse.ts +107 -0
- package/examples/models/components/customerpaymentmethodcreatesucceededresponse.ts +98 -0
- package/examples/models/components/customerportalcustomer.ts +213 -0
- package/examples/models/components/customerportalcustomerupdate.ts +95 -0
- package/examples/models/components/customerportaloauthaccount.ts +81 -0
- package/examples/models/components/customerproduct.ts +297 -0
- package/examples/models/components/customerseat.ts +180 -0
- package/examples/models/components/customerseatclaimresponse.ts +91 -0
- package/examples/models/components/customersession.ts +138 -0
- package/examples/models/components/customersessioncustomerexternalidcreate.ts +101 -0
- package/examples/models/components/customersessioncustomeridcreate.ts +92 -0
- package/examples/models/components/customersortproperty.ts +37 -0
- package/examples/models/components/customerstate.ts +339 -0
- package/examples/models/components/customerstatebenefitgrant.ts +322 -0
- package/examples/models/components/customerstatemeter.ts +133 -0
- package/examples/models/components/customerstatesubscription.ts +450 -0
- package/examples/models/components/customerstatesubscriptionmeter.ts +135 -0
- package/examples/models/components/customersubscription.ts +418 -0
- package/examples/models/components/customersubscriptioncancel.ts +118 -0
- package/examples/models/components/customersubscriptionmeter.ts +140 -0
- package/examples/models/components/customersubscriptionmetermeter.ts +105 -0
- package/examples/models/components/customersubscriptionproduct.ts +313 -0
- package/examples/models/components/customersubscriptionsortproperty.ts +43 -0
- package/examples/models/components/customersubscriptionupdate.ts +90 -0
- package/examples/models/components/customersubscriptionupdateproduct.ts +81 -0
- package/examples/models/components/customersubscriptionupdateseats.ts +94 -0
- package/examples/models/components/customerupdate.ts +242 -0
- package/examples/models/components/customerupdatedevent.ts +150 -0
- package/examples/models/components/customerupdatedfields.ts +155 -0
- package/examples/models/components/customerupdatedmetadata.ts +105 -0
- package/examples/models/components/customerupdateexternalid.ts +245 -0
- package/examples/models/components/customerwallet.ts +122 -0
- package/examples/models/components/customerwalletsortproperty.ts +37 -0
- package/examples/models/components/customfield.ts +138 -0
- package/examples/models/components/customfieldcheckbox.ts +200 -0
- package/examples/models/components/customfieldcheckboxproperties.ts +89 -0
- package/examples/models/components/customfieldcreate.ts +142 -0
- package/examples/models/components/customfieldcreatecheckbox.ts +193 -0
- package/examples/models/components/customfieldcreatedate.ts +188 -0
- package/examples/models/components/customfieldcreatenumber.ts +192 -0
- package/examples/models/components/customfieldcreateselect.ts +192 -0
- package/examples/models/components/customfieldcreatetext.ts +188 -0
- package/examples/models/components/customfielddate.ts +196 -0
- package/examples/models/components/customfielddateproperties.ts +95 -0
- package/examples/models/components/customfieldnumber.ts +198 -0
- package/examples/models/components/customfieldnumberproperties.ts +97 -0
- package/examples/models/components/customfieldselect.ts +198 -0
- package/examples/models/components/customfieldselectoption.ts +70 -0
- package/examples/models/components/customfieldselectproperties.ts +99 -0
- package/examples/models/components/customfieldsortproperty.ts +41 -0
- package/examples/models/components/customfieldtext.ts +196 -0
- package/examples/models/components/customfieldtextproperties.ts +103 -0
- package/examples/models/components/customfieldtype.ts +36 -0
- package/examples/models/components/customfieldupdate.ts +142 -0
- package/examples/models/components/customfieldupdatecheckbox.ts +173 -0
- package/examples/models/components/customfieldupdatedate.ts +166 -0
- package/examples/models/components/customfieldupdatenumber.ts +170 -0
- package/examples/models/components/customfieldupdateselect.ts +170 -0
- package/examples/models/components/customfieldupdatetext.ts +166 -0
- package/examples/models/components/discount.ts +96 -0
- package/examples/models/components/discountcreate.ts +96 -0
- package/examples/models/components/discountduration.ts +34 -0
- package/examples/models/components/discountfixedonceforeverduration.ts +277 -0
- package/examples/models/components/discountfixedonceforeverdurationbase.ts +269 -0
- package/examples/models/components/discountfixedonceforeverdurationcreate.ts +263 -0
- package/examples/models/components/discountfixedrepeatduration.ts +280 -0
- package/examples/models/components/discountfixedrepeatdurationbase.ts +270 -0
- package/examples/models/components/discountfixedrepeatdurationcreate.ts +275 -0
- package/examples/models/components/discountpercentageonceforeverduration.ts +283 -0
- package/examples/models/components/discountpercentageonceforeverdurationbase.ts +278 -0
- package/examples/models/components/discountpercentageonceforeverdurationcreate.ts +270 -0
- package/examples/models/components/discountpercentagerepeatduration.ts +287 -0
- package/examples/models/components/discountpercentagerepeatdurationbase.ts +276 -0
- package/examples/models/components/discountpercentagerepeatdurationcreate.ts +280 -0
- package/examples/models/components/discountproduct.ts +246 -0
- package/examples/models/components/discountsortproperty.ts +39 -0
- package/examples/models/components/discounttype.ts +31 -0
- package/examples/models/components/discountupdate.ts +229 -0
- package/examples/models/components/downloadablefilecreate.ts +116 -0
- package/examples/models/components/downloadablefileread.ts +161 -0
- package/examples/models/components/downloadableread.ts +89 -0
- package/examples/models/components/event.ts +63 -0
- package/examples/models/components/eventcreatecustomer.ts +112 -0
- package/examples/models/components/eventcreateexternalcustomer.ts +114 -0
- package/examples/models/components/eventmetadatainput.ts +96 -0
- package/examples/models/components/eventmetadataoutput.ts +96 -0
- package/examples/models/components/eventname.ts +106 -0
- package/examples/models/components/eventnamessortproperty.ts +39 -0
- package/examples/models/components/eventsingest.ts +140 -0
- package/examples/models/components/eventsingestresponse.ts +69 -0
- package/examples/models/components/eventsortproperty.ts +33 -0
- package/examples/models/components/eventsource.ts +31 -0
- package/examples/models/components/existingproductprice.ts +73 -0
- package/examples/models/components/filecreate.ts +110 -0
- package/examples/models/components/filedownload.ts +163 -0
- package/examples/models/components/filepatch.ts +66 -0
- package/examples/models/components/fileservicetypes.ts +34 -0
- package/examples/models/components/fileupload.ts +163 -0
- package/examples/models/components/fileuploadcompleted.ts +80 -0
- package/examples/models/components/filter.ts +121 -0
- package/examples/models/components/filterclause.ts +118 -0
- package/examples/models/components/filterconjunction.ts +33 -0
- package/examples/models/components/filteroperator.ts +39 -0
- package/examples/models/components/genericpayment.ts +188 -0
- package/examples/models/components/introspecttokenrequest.ts +125 -0
- package/examples/models/components/introspecttokenresponse.ts +146 -0
- package/examples/models/components/legacyrecurringproductprice.ts +116 -0
- package/examples/models/components/legacyrecurringproductpricecustom.ts +188 -0
- package/examples/models/components/legacyrecurringproductpricefixed.ts +169 -0
- package/examples/models/components/legacyrecurringproductpricefree.ts +151 -0
- package/examples/models/components/licensekeyactivate.ts +239 -0
- package/examples/models/components/licensekeyactivationbase.ts +145 -0
- package/examples/models/components/licensekeyactivationread.ts +173 -0
- package/examples/models/components/licensekeycustomer.ts +293 -0
- package/examples/models/components/licensekeydeactivate.ts +85 -0
- package/examples/models/components/licensekeyread.ts +178 -0
- package/examples/models/components/licensekeystatus.ts +34 -0
- package/examples/models/components/licensekeyupdate.ts +102 -0
- package/examples/models/components/licensekeyvalidate.ts +172 -0
- package/examples/models/components/licensekeywithactivations.ts +192 -0
- package/examples/models/components/listresource.ts +78 -0
- package/examples/models/components/listresourcebenefit.ts +82 -0
- package/examples/models/components/listresourcebenefitgrant.ts +82 -0
- package/examples/models/components/listresourcecheckout.ts +82 -0
- package/examples/models/components/listresourcecheckoutlink.ts +82 -0
- package/examples/models/components/listresourcecustomer.ts +82 -0
- package/examples/models/components/listresourcecustomerbenefitgrant.ts +84 -0
- package/examples/models/components/listresourcecustomercustomermeter.ts +85 -0
- package/examples/models/components/listresourcecustomermeter.ts +82 -0
- package/examples/models/components/listresourcecustomerorder.ts +82 -0
- package/examples/models/components/listresourcecustomerpaymentmethod.ts +85 -0
- package/examples/models/components/listresourcecustomersubscription.ts +84 -0
- package/examples/models/components/listresourcecustomerwallet.ts +82 -0
- package/examples/models/components/listresourcecustomfield.ts +82 -0
- package/examples/models/components/listresourcediscount.ts +82 -0
- package/examples/models/components/listresourcedownloadableread.ts +84 -0
- package/examples/models/components/listresourceevent.ts +82 -0
- package/examples/models/components/listresourceeventname.ts +82 -0
- package/examples/models/components/listresourcefileread.ts +222 -0
- package/examples/models/components/listresourcelicensekeyread.ts +82 -0
- package/examples/models/components/listresourcemeter.ts +82 -0
- package/examples/models/components/listresourceorder.ts +82 -0
- package/examples/models/components/listresourceorganization.ts +82 -0
- package/examples/models/components/listresourceproduct.ts +82 -0
- package/examples/models/components/listresourcerefund.ts +82 -0
- package/examples/models/components/listresourcesubscription.ts +82 -0
- package/examples/models/components/listresourcewallet.ts +82 -0
- package/examples/models/components/listresourcewebhookdelivery.ts +84 -0
- package/examples/models/components/listresourcewebhookendpoint.ts +84 -0
- package/examples/models/components/llmmetadata.ts +129 -0
- package/examples/models/components/meter.ts +380 -0
- package/examples/models/components/metercreate.ts +354 -0
- package/examples/models/components/metercreditedmetadata.ts +83 -0
- package/examples/models/components/metercreditevent.ts +150 -0
- package/examples/models/components/meterquantities.ts +77 -0
- package/examples/models/components/meterquantity.ts +72 -0
- package/examples/models/components/meterresetevent.ts +148 -0
- package/examples/models/components/meterresetmetadata.ts +75 -0
- package/examples/models/components/metersortproperty.ts +35 -0
- package/examples/models/components/meterupdate.ts +374 -0
- package/examples/models/components/metric.ts +90 -0
- package/examples/models/components/metricperiod.ts +2298 -0
- package/examples/models/components/metrics.ts +425 -0
- package/examples/models/components/metricsintervallimit.ts +81 -0
- package/examples/models/components/metricsintervalslimits.ts +106 -0
- package/examples/models/components/metricslimits.ts +91 -0
- package/examples/models/components/metricsresponse.ts +96 -0
- package/examples/models/components/metricstotals.ts +2538 -0
- package/examples/models/components/metrictype.ts +33 -0
- package/examples/models/components/oauth2clientconfiguration.ts +202 -0
- package/examples/models/components/oauth2clientconfigurationupdate.ts +224 -0
- package/examples/models/components/oauth2clientpublic.ts +125 -0
- package/examples/models/components/order.ts +608 -0
- package/examples/models/components/orderbillingreason.ts +35 -0
- package/examples/models/components/ordercustomer.ts +285 -0
- package/examples/models/components/orderinvoice.ts +68 -0
- package/examples/models/components/orderitemschema.ts +136 -0
- package/examples/models/components/orderpaidevent.ts +146 -0
- package/examples/models/components/orderpaidmetadata.ts +87 -0
- package/examples/models/components/orderproduct.ts +237 -0
- package/examples/models/components/orderrefundedevent.ts +150 -0
- package/examples/models/components/orderrefundedmetadata.ts +89 -0
- package/examples/models/components/ordersortproperty.ts +49 -0
- package/examples/models/components/orderstatus.ts +33 -0
- package/examples/models/components/ordersubscription.ts +359 -0
- package/examples/models/components/orderupdate.ts +92 -0
- package/examples/models/components/organization.ts +213 -0
- package/examples/models/components/organizationavatarfilecreate.ts +124 -0
- package/examples/models/components/organizationavatarfileread.ts +167 -0
- package/examples/models/components/organizationcreate.ts +195 -0
- package/examples/models/components/organizationcustomeremailsettings.ts +120 -0
- package/examples/models/components/organizationdetails.ts +168 -0
- package/examples/models/components/organizationfeaturesettings.ts +107 -0
- package/examples/models/components/organizationnotificationsettings.ts +83 -0
- package/examples/models/components/organizationsociallink.ts +78 -0
- package/examples/models/components/organizationsocialplatforms.ts +41 -0
- package/examples/models/components/organizationsortproperty.ts +43 -0
- package/examples/models/components/organizationstatus.ts +36 -0
- package/examples/models/components/organizationsubscriptionsettings.ts +100 -0
- package/examples/models/components/organizationupdate.ts +191 -0
- package/examples/models/components/pagination.ts +77 -0
- package/examples/models/components/payment.ts +63 -0
- package/examples/models/components/paymentmethodcard.ts +127 -0
- package/examples/models/components/paymentmethodcardmetadata.ts +93 -0
- package/examples/models/components/paymentmethodgeneric.ts +115 -0
- package/examples/models/components/paymentprocessor.ts +32 -0
- package/examples/models/components/paymentsortproperty.ts +39 -0
- package/examples/models/components/paymentstatus.ts +34 -0
- package/examples/models/components/product.ts +358 -0
- package/examples/models/components/productbenefitsupdate.ts +72 -0
- package/examples/models/components/productbillingtype.ts +33 -0
- package/examples/models/components/productcreate.ts +74 -0
- package/examples/models/components/productcreateonetime.ts +432 -0
- package/examples/models/components/productcreaterecurring.ts +459 -0
- package/examples/models/components/productmediafilecreate.ts +122 -0
- package/examples/models/components/productmediafileread.ts +167 -0
- package/examples/models/components/productprice.ts +146 -0
- package/examples/models/components/productpricecustom.ts +182 -0
- package/examples/models/components/productpricecustomcreate.ts +114 -0
- package/examples/models/components/productpricefixed.ts +164 -0
- package/examples/models/components/productpricefixedcreate.ts +96 -0
- package/examples/models/components/productpricefree.ts +146 -0
- package/examples/models/components/productpricefreecreate.ts +78 -0
- package/examples/models/components/productpricemeter.ts +79 -0
- package/examples/models/components/productpricemeteredunit.ts +195 -0
- package/examples/models/components/productpricemeteredunitcreate.ts +165 -0
- package/examples/models/components/productpriceseatbased.ts +170 -0
- package/examples/models/components/productpriceseatbasedcreate.ts +104 -0
- package/examples/models/components/productpriceseattier.ts +99 -0
- package/examples/models/components/productpriceseattiers.ts +78 -0
- package/examples/models/components/productpricetype.ts +33 -0
- package/examples/models/components/productsortproperty.ts +39 -0
- package/examples/models/components/productupdate.ts +589 -0
- package/examples/models/components/propertyaggregation.ts +99 -0
- package/examples/models/components/refreshtokenrequest.ts +93 -0
- package/examples/models/components/refund.ts +207 -0
- package/examples/models/components/refundcreate.ts +183 -0
- package/examples/models/components/refundreason.ts +35 -0
- package/examples/models/components/refundsortproperty.ts +35 -0
- package/examples/models/components/refundstatus.ts +33 -0
- package/examples/models/components/revoketokenrequest.ts +119 -0
- package/examples/models/components/revoketokenresponse.ts +58 -0
- package/examples/models/components/s3downloadurl.ts +79 -0
- package/examples/models/components/s3filecreatemultipart.ts +72 -0
- package/examples/models/components/s3filecreatepart.ts +91 -0
- package/examples/models/components/s3fileuploadcompletedpart.ts +85 -0
- package/examples/models/components/s3fileuploadmultipart.ts +80 -0
- package/examples/models/components/s3fileuploadpart.ts +105 -0
- package/examples/models/components/scope.ts +91 -0
- package/examples/models/components/seatassign.ts +133 -0
- package/examples/models/components/seatclaim.ts +74 -0
- package/examples/models/components/seatclaiminfo.ts +125 -0
- package/examples/models/components/seatslist.ts +96 -0
- package/examples/models/components/seatstatus.ts +32 -0
- package/examples/models/components/security.ts +71 -0
- package/examples/models/components/subscription.ts +679 -0
- package/examples/models/components/subscriptioncancel.ts +137 -0
- package/examples/models/components/subscriptioncreatecustomer.ts +175 -0
- package/examples/models/components/subscriptioncreateexternalcustomer.ts +185 -0
- package/examples/models/components/subscriptioncustomer.ts +288 -0
- package/examples/models/components/subscriptioncycledevent.ts +150 -0
- package/examples/models/components/subscriptioncycledmetadata.ts +75 -0
- package/examples/models/components/subscriptionmeter.ts +143 -0
- package/examples/models/components/subscriptionproductupdatedevent.ts +152 -0
- package/examples/models/components/subscriptionproductupdatedmetadata.ts +91 -0
- package/examples/models/components/subscriptionprorationbehavior.ts +35 -0
- package/examples/models/components/subscriptionrecurringinterval.ts +37 -0
- package/examples/models/components/subscriptionrevoke.ts +131 -0
- package/examples/models/components/subscriptionrevokedevent.ts +150 -0
- package/examples/models/components/subscriptionrevokedmetadata.ts +77 -0
- package/examples/models/components/subscriptionslist.ts +80 -0
- package/examples/models/components/subscriptionsortproperty.ts +47 -0
- package/examples/models/components/subscriptionstatus.ts +38 -0
- package/examples/models/components/subscriptionupdate.ts +120 -0
- package/examples/models/components/subscriptionupdatediscount.ts +78 -0
- package/examples/models/components/subscriptionupdateproduct.ts +94 -0
- package/examples/models/components/subscriptionupdateseats.ts +92 -0
- package/examples/models/components/subscriptionupdatetrial.ts +78 -0
- package/examples/models/components/subtype.ts +31 -0
- package/examples/models/components/systemevent.ts +310 -0
- package/examples/models/components/taxidformat.ts +117 -0
- package/examples/models/components/timeinterval.ts +34 -0
- package/examples/models/components/tokenresponse.ts +99 -0
- package/examples/models/components/trialinterval.ts +35 -0
- package/examples/models/components/uniqueaggregation.ts +70 -0
- package/examples/models/components/userevent.ts +146 -0
- package/examples/models/components/userinfoorganization.ts +70 -0
- package/examples/models/components/userinfouser.ts +83 -0
- package/examples/models/components/validatedlicensekey.ts +192 -0
- package/examples/models/components/validationerror.ts +113 -0
- package/examples/models/components/wallet.ts +121 -0
- package/examples/models/components/walletsortproperty.ts +35 -0
- package/examples/models/components/wallettopupcreate.ts +79 -0
- package/examples/models/components/webhookbenefitcreatedpayload.ts +89 -0
- package/examples/models/components/webhookbenefitgrantcreatedpayload.ts +90 -0
- package/examples/models/components/webhookbenefitgrantcycledpayload.ts +90 -0
- package/examples/models/components/webhookbenefitgrantrevokedpayload.ts +90 -0
- package/examples/models/components/webhookbenefitgrantupdatedpayload.ts +90 -0
- package/examples/models/components/webhookbenefitupdatedpayload.ts +89 -0
- package/examples/models/components/webhookcheckoutcreatedpayload.ts +92 -0
- package/examples/models/components/webhookcheckoutupdatedpayload.ts +92 -0
- package/examples/models/components/webhookcustomercreatedpayload.ts +97 -0
- package/examples/models/components/webhookcustomerdeletedpayload.ts +92 -0
- package/examples/models/components/webhookcustomerseatassignedpayload.ts +92 -0
- package/examples/models/components/webhookcustomerseatclaimedpayload.ts +90 -0
- package/examples/models/components/webhookcustomerseatrevokedpayload.ts +90 -0
- package/examples/models/components/webhookcustomerstatechangedpayload.ts +106 -0
- package/examples/models/components/webhookcustomerupdatedpayload.ts +96 -0
- package/examples/models/components/webhookdelivery.ts +143 -0
- package/examples/models/components/webhookendpoint.ts +148 -0
- package/examples/models/components/webhookendpointcreate.ts +116 -0
- package/examples/models/components/webhookendpointupdate.ts +101 -0
- package/examples/models/components/webhookevent.ts +144 -0
- package/examples/models/components/webhookeventtype.ts +61 -0
- package/examples/models/components/webhookformat.ts +34 -0
- package/examples/models/components/webhookordercreatedpayload.ts +96 -0
- package/examples/models/components/webhookorderpaidpayload.ts +89 -0
- package/examples/models/components/webhookorderrefundedpayload.ts +89 -0
- package/examples/models/components/webhookorderupdatedpayload.ts +92 -0
- package/examples/models/components/webhookorganizationupdatedpayload.ts +90 -0
- package/examples/models/components/webhookproductcreatedpayload.ts +92 -0
- package/examples/models/components/webhookproductupdatedpayload.ts +92 -0
- package/examples/models/components/webhookrefundcreatedpayload.ts +89 -0
- package/examples/models/components/webhookrefundupdatedpayload.ts +89 -0
- package/examples/models/components/webhooksubscriptionactivepayload.ts +90 -0
- package/examples/models/components/webhooksubscriptioncanceledpayload.ts +92 -0
- package/examples/models/components/webhooksubscriptioncreatedpayload.ts +92 -0
- package/examples/models/components/webhooksubscriptionrevokedpayload.ts +91 -0
- package/examples/models/components/webhooksubscriptionuncanceledpayload.ts +92 -0
- package/examples/models/components/webhooksubscriptionupdatedpayload.ts +94 -0
- package/examples/models/components/webtokenrequest.ts +133 -0
- package/examples/models/errors/alreadyactivesubscriptionerror.ts +85 -0
- package/examples/models/errors/alreadycanceledsubscription.ts +85 -0
- package/examples/models/errors/chargefyerror.ts +35 -0
- package/examples/models/errors/checkoutforbiddenerror.ts +90 -0
- package/examples/models/errors/customernotready.ts +85 -0
- package/examples/models/errors/customerportalordersgenerateinvoice.ts +97 -0
- package/examples/models/errors/expiredcheckouterror.ts +85 -0
- package/examples/models/errors/httpclienterrors.ts +62 -0
- package/examples/models/errors/httpvalidationerror.ts +85 -0
- package/examples/models/errors/missinginvoicebillingdetails.ts +85 -0
- package/examples/models/errors/missingpaymentmethoderror.ts +85 -0
- package/examples/models/errors/notopencheckout.ts +85 -0
- package/examples/models/errors/notpaidorder.ts +85 -0
- package/examples/models/errors/notpermitted.ts +85 -0
- package/examples/models/errors/ordernoteligibleforretry.ts +85 -0
- package/examples/models/errors/ordersgenerateinvoice.ts +97 -0
- package/examples/models/errors/paymentalreadyinprogress.ts +85 -0
- package/examples/models/errors/paymenterror.ts +85 -0
- package/examples/models/errors/paymentintentfailederror.ts +85 -0
- package/examples/models/errors/paymentmethodinusebyactivesubscription.ts +87 -0
- package/examples/models/errors/paymentnotready.ts +85 -0
- package/examples/models/errors/refundamounttoohigh.ts +85 -0
- package/examples/models/errors/refundedalready.ts +85 -0
- package/examples/models/errors/resourcenotfound.ts +85 -0
- package/examples/models/errors/responsevalidationerror.ts +50 -0
- package/examples/models/errors/sdkerror.ts +40 -0
- package/examples/models/errors/sdkvalidationerror.ts +109 -0
- package/examples/models/errors/subscriptionlocked.ts +85 -0
- package/examples/models/errors/unauthorized.ts +85 -0
- package/examples/models/operations/benefitgrantslist.ts +340 -0
- package/examples/models/operations/benefitsdelete.ts +66 -0
- package/examples/models/operations/benefitsget.ts +66 -0
- package/examples/models/operations/benefitsgrants.ts +231 -0
- package/examples/models/operations/benefitslist.ts +324 -0
- package/examples/models/operations/benefitsupdate.ts +219 -0
- package/examples/models/operations/checkoutlinksdelete.ts +69 -0
- package/examples/models/operations/checkoutlinksget.ts +69 -0
- package/examples/models/operations/checkoutlinkslist.ts +325 -0
- package/examples/models/operations/checkoutlinksupdate.ts +88 -0
- package/examples/models/operations/checkoutsclientconfirm.ts +92 -0
- package/examples/models/operations/checkoutsclientget.ts +78 -0
- package/examples/models/operations/checkoutsclientupdate.ts +92 -0
- package/examples/models/operations/checkoutsget.ts +69 -0
- package/examples/models/operations/checkoutslist.ts +478 -0
- package/examples/models/operations/checkoutsupdate.ts +88 -0
- package/examples/models/operations/customermetersget.ts +69 -0
- package/examples/models/operations/customermeterslist.ts +475 -0
- package/examples/models/operations/customerportalbenefitgrantsget.ts +147 -0
- package/examples/models/operations/customerportalbenefitgrantslist.ts +605 -0
- package/examples/models/operations/customerportalbenefitgrantsupdate.ts +177 -0
- package/examples/models/operations/customerportalcustomermetersget.ts +153 -0
- package/examples/models/operations/customerportalcustomermeterslist.ts +333 -0
- package/examples/models/operations/customerportalcustomersaddpaymentmethod.ts +89 -0
- package/examples/models/operations/customerportalcustomersconfirmpaymentmethod.ts +89 -0
- package/examples/models/operations/customerportalcustomersdeletepaymentmethod.ts +161 -0
- package/examples/models/operations/customerportalcustomersessionintrospect.ts +89 -0
- package/examples/models/operations/customerportalcustomersget.ts +79 -0
- package/examples/models/operations/customerportalcustomerslistpaymentmethods.ts +257 -0
- package/examples/models/operations/customerportalcustomersupdate.ts +80 -0
- package/examples/models/operations/customerportaldownloadableslist.ts +327 -0
- package/examples/models/operations/customerportallicensekeysget.ts +143 -0
- package/examples/models/operations/customerportallicensekeyslist.ts +245 -0
- package/examples/models/operations/customerportalordersconfirmretrypayment.ts +182 -0
- package/examples/models/operations/customerportalordersgenerateinvoice.ts +159 -0
- package/examples/models/operations/customerportalordersget.ts +140 -0
- package/examples/models/operations/customerportalordersgetpaymentstatus.ts +162 -0
- package/examples/models/operations/customerportalordersinvoice.ts +145 -0
- package/examples/models/operations/customerportalorderslist.ts +512 -0
- package/examples/models/operations/customerportalordersupdate.ts +161 -0
- package/examples/models/operations/customerportalorganizationsget.ts +74 -0
- package/examples/models/operations/customerportalseatsassignseat.ts +80 -0
- package/examples/models/operations/customerportalseatslistclaimedsubscriptions.ts +89 -0
- package/examples/models/operations/customerportalseatslistseats.ts +163 -0
- package/examples/models/operations/customerportalseatsresendinvitation.ts +164 -0
- package/examples/models/operations/customerportalseatsrevokeseat.ts +151 -0
- package/examples/models/operations/customerportalsubscriptionscancel.ts +159 -0
- package/examples/models/operations/customerportalsubscriptionsget.ts +147 -0
- package/examples/models/operations/customerportalsubscriptionslist.ts +355 -0
- package/examples/models/operations/customerportalsubscriptionsupdate.ts +177 -0
- package/examples/models/operations/customerportalwalletsget.ts +140 -0
- package/examples/models/operations/customerportalwalletslist.ts +237 -0
- package/examples/models/operations/customersdelete.ts +69 -0
- package/examples/models/operations/customersdeleteexternal.ts +80 -0
- package/examples/models/operations/customerseatsgetclaiminfo.ts +77 -0
- package/examples/models/operations/customerseatslistseats.ts +83 -0
- package/examples/models/operations/customerseatsresendinvitation.ts +80 -0
- package/examples/models/operations/customerseatsrevokeseat.ts +77 -0
- package/examples/models/operations/customersessionscreate.ts +93 -0
- package/examples/models/operations/customersexport.ts +146 -0
- package/examples/models/operations/customersget.ts +69 -0
- package/examples/models/operations/customersgetbalance.ts +69 -0
- package/examples/models/operations/customersgetexternal.ts +80 -0
- package/examples/models/operations/customersgetstate.ts +69 -0
- package/examples/models/operations/customersgetstateexternal.ts +80 -0
- package/examples/models/operations/customerslist.ts +275 -0
- package/examples/models/operations/customersupdate.ts +88 -0
- package/examples/models/operations/customersupdateexternal.ts +92 -0
- package/examples/models/operations/customfieldsdelete.ts +69 -0
- package/examples/models/operations/customfieldsget.ts +69 -0
- package/examples/models/operations/customfieldslist.ts +341 -0
- package/examples/models/operations/customfieldsupdate.ts +88 -0
- package/examples/models/operations/discountsdelete.ts +69 -0
- package/examples/models/operations/discountsget.ts +69 -0
- package/examples/models/operations/discountslist.ts +255 -0
- package/examples/models/operations/discountsupdate.ts +88 -0
- package/examples/models/operations/eventsget.ts +69 -0
- package/examples/models/operations/eventslist.ts +564 -0
- package/examples/models/operations/eventslistnames.ts +484 -0
- package/examples/models/operations/filesdelete.ts +66 -0
- package/examples/models/operations/fileslist.ts +288 -0
- package/examples/models/operations/filesupdate.ts +199 -0
- package/examples/models/operations/filesuploaded.ts +201 -0
- package/examples/models/operations/licensekeysget.ts +66 -0
- package/examples/models/operations/licensekeysgetactivation.ts +81 -0
- package/examples/models/operations/licensekeyslist.ts +298 -0
- package/examples/models/operations/licensekeysupdate.ts +85 -0
- package/examples/models/operations/metersget.ts +69 -0
- package/examples/models/operations/meterslist.ts +273 -0
- package/examples/models/operations/metersquantities.ts +296 -0
- package/examples/models/operations/metersupdate.ts +88 -0
- package/examples/models/operations/metricsget.ts +418 -0
- package/examples/models/operations/oauth2authorize.ts +105 -0
- package/examples/models/operations/oauth2clientsoauth2deleteclient.ts +81 -0
- package/examples/models/operations/oauth2clientsoauth2getclient.ts +80 -0
- package/examples/models/operations/oauth2clientsoauth2updateclient.ts +95 -0
- package/examples/models/operations/oauth2requesttoken.ts +92 -0
- package/examples/models/operations/oauth2userinfo.ts +82 -0
- package/examples/models/operations/ordersexport.ts +214 -0
- package/examples/models/operations/ordersgenerateinvoice.ts +71 -0
- package/examples/models/operations/ordersget.ts +69 -0
- package/examples/models/operations/ordersinvoice.ts +69 -0
- package/examples/models/operations/orderslist.ts +611 -0
- package/examples/models/operations/ordersupdate.ts +88 -0
- package/examples/models/operations/organizationsget.ts +66 -0
- package/examples/models/operations/organizationslist.ts +170 -0
- package/examples/models/operations/organizationsupdate.ts +85 -0
- package/examples/models/operations/paymentsget.ts +69 -0
- package/examples/models/operations/paymentslist.ts +584 -0
- package/examples/models/operations/productsget.ts +66 -0
- package/examples/models/operations/productslist.ts +401 -0
- package/examples/models/operations/productsupdate.ts +85 -0
- package/examples/models/operations/productsupdatebenefits.ts +87 -0
- package/examples/models/operations/refundslist.ts +500 -0
- package/examples/models/operations/subscriptionscreate.ts +85 -0
- package/examples/models/operations/subscriptionsexport.ts +129 -0
- package/examples/models/operations/subscriptionsget.ts +69 -0
- package/examples/models/operations/subscriptionslist.ts +505 -0
- package/examples/models/operations/subscriptionsrevoke.ts +69 -0
- package/examples/models/operations/subscriptionsupdate.ts +88 -0
- package/examples/models/operations/walletsget.ts +69 -0
- package/examples/models/operations/walletslist.ts +315 -0
- package/examples/models/operations/walletstopup.ts +88 -0
- package/examples/models/operations/webhooksdeletewebhookendpoint.ts +74 -0
- package/examples/models/operations/webhooksgetwebhookendpoint.ts +72 -0
- package/examples/models/operations/webhookslistwebhookdeliveries.ts +247 -0
- package/examples/models/operations/webhookslistwebhookendpoints.ts +229 -0
- package/examples/models/operations/webhooksredeliverwebhookevent.ts +74 -0
- package/examples/models/operations/webhooksresetwebhookendpointsecret.ts +81 -0
- package/examples/models/operations/webhooksupdatewebhookendpoint.ts +93 -0
- package/examples/organizationsList.example.ts +28 -0
- package/examples/package-lock.json +616 -0
- package/examples/package.json +18 -0
- package/examples/sdk/benefitgrants.ts +32 -0
- package/examples/sdk/benefits.ts +148 -0
- package/examples/sdk/chargefybenefitgrants.ts +91 -0
- package/examples/sdk/chargefycustomermeters.ts +65 -0
- package/examples/sdk/chargefycustomers.ts +162 -0
- package/examples/sdk/chargefylicensekeys.ts +137 -0
- package/examples/sdk/chargefyorders.ts +196 -0
- package/examples/sdk/chargefyorganizations.ts +28 -0
- package/examples/sdk/chargefysubscriptions.ts +117 -0
- package/examples/sdk/chargefywallets.ts +65 -0
- package/examples/sdk/checkoutlinks.ts +118 -0
- package/examples/sdk/checkouts.ts +158 -0
- package/examples/sdk/clients.ts +84 -0
- package/examples/sdk/customermeters.ts +55 -0
- package/examples/sdk/customerportal.ts +73 -0
- package/examples/sdk/customers.ts +293 -0
- package/examples/sdk/customerseats.ts +120 -0
- package/examples/sdk/customersession.ts +30 -0
- package/examples/sdk/customersessions.ts +30 -0
- package/examples/sdk/customfields.ts +118 -0
- package/examples/sdk/discounts.ts +118 -0
- package/examples/sdk/downloadables.ts +35 -0
- package/examples/sdk/events.ts +101 -0
- package/examples/sdk/files.ts +124 -0
- package/examples/sdk/licensekeys.ts +163 -0
- package/examples/sdk/meters.ts +119 -0
- package/examples/sdk/metrics.ts +51 -0
- package/examples/sdk/oauth2.ts +105 -0
- package/examples/sdk/orders.ts +140 -0
- package/examples/sdk/organizations.ts +97 -0
- package/examples/sdk/payments.ts +55 -0
- package/examples/sdk/products.ts +118 -0
- package/examples/sdk/refunds.ts +55 -0
- package/examples/sdk/sdk.ts +157 -0
- package/examples/sdk/seats.ts +126 -0
- package/examples/sdk/subscriptions.ts +144 -0
- package/examples/sdk/wallets.ts +78 -0
- package/examples/sdk/webhooks.ts +190 -0
- package/examples/test copy.ts +0 -0
- package/examples/test.ts +0 -0
- package/examples/types/async.ts +68 -0
- package/examples/types/blobs.ts +32 -0
- package/examples/types/constdatetime.ts +15 -0
- package/examples/types/enums.ts +16 -0
- package/examples/types/fp.ts +50 -0
- package/examples/types/operations.ts +105 -0
- package/examples/types/rfcdate.ts +54 -0
- package/examples/types/streams.ts +21 -0
- package/examples/types/webhooks.ts +7 -0
- package/examples/webhooks copy.ts +138 -0
- package/examples/webhooks.test copy.ts +116 -0
- package/examples/webhooks.test.ts +116 -0
- package/examples/webhooks.ts +138 -0
- package/jest.config.cjs +5 -0
- package/jsr.json +27 -0
- package/package.json +93 -0
- package/polar-js-main/.devcontainer/devcontainer.json +45 -0
- package/polar-js-main/FUNCTIONS.md +89 -0
- package/polar-js-main/RUNTIMES.md +48 -0
- package/polar-js-main/examples/organizationsList.example.ts +28 -0
- package/polar-js-main/examples/package-lock.json +616 -0
- package/polar-js-main/examples/package.json +18 -0
- package/polar-js-main/jsr.json +27 -0
- package/polar-js-main/package-lock.json +5768 -0
- package/polar-js-main/package.json +83 -0
- package/polar-js-main/src/core.ts +13 -0
- package/polar-js-main/src/funcs/benefitGrantsList.ts +261 -0
- package/polar-js-main/src/funcs/benefitsCreate.ts +181 -0
- package/polar-js-main/src/funcs/benefitsDelete.ts +204 -0
- package/polar-js-main/src/funcs/benefitsGet.ts +195 -0
- package/polar-js-main/src/funcs/benefitsGrants.ts +277 -0
- package/polar-js-main/src/funcs/benefitsList.ts +270 -0
- package/polar-js-main/src/funcs/benefitsUpdate.ts +196 -0
- package/polar-js-main/src/funcs/checkoutLinksCreate.ts +181 -0
- package/polar-js-main/src/funcs/checkoutLinksDelete.ts +192 -0
- package/polar-js-main/src/funcs/checkoutLinksGet.ts +195 -0
- package/polar-js-main/src/funcs/checkoutLinksList.ts +260 -0
- package/polar-js-main/src/funcs/checkoutLinksUpdate.ts +198 -0
- package/polar-js-main/src/funcs/checkoutsClientConfirm.ts +224 -0
- package/polar-js-main/src/funcs/checkoutsClientGet.ts +195 -0
- package/polar-js-main/src/funcs/checkoutsClientUpdate.ts +206 -0
- package/polar-js-main/src/funcs/checkoutsCreate.ts +181 -0
- package/polar-js-main/src/funcs/checkoutsGet.ts +195 -0
- package/polar-js-main/src/funcs/checkoutsList.ts +263 -0
- package/polar-js-main/src/funcs/checkoutsUpdate.ts +204 -0
- package/polar-js-main/src/funcs/customFieldsCreate.ts +181 -0
- package/polar-js-main/src/funcs/customFieldsDelete.ts +192 -0
- package/polar-js-main/src/funcs/customFieldsGet.ts +195 -0
- package/polar-js-main/src/funcs/customFieldsList.ts +261 -0
- package/polar-js-main/src/funcs/customFieldsUpdate.ts +196 -0
- package/polar-js-main/src/funcs/customerMetersGet.ts +195 -0
- package/polar-js-main/src/funcs/customerMetersList.ts +262 -0
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsGet.ts +208 -0
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsList.ts +277 -0
- package/polar-js-main/src/funcs/customerPortalBenefitGrantsUpdate.ts +219 -0
- package/polar-js-main/src/funcs/customerPortalCustomerMetersGet.ts +206 -0
- package/polar-js-main/src/funcs/customerPortalCustomerMetersList.ts +274 -0
- package/polar-js-main/src/funcs/customerPortalCustomerSessionIntrospect.ts +157 -0
- package/polar-js-main/src/funcs/customerPortalCustomersAddPaymentMethod.ts +191 -0
- package/polar-js-main/src/funcs/customerPortalCustomersConfirmPaymentMethod.ts +201 -0
- package/polar-js-main/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +215 -0
- package/polar-js-main/src/funcs/customerPortalCustomersGet.ts +157 -0
- package/polar-js-main/src/funcs/customerPortalCustomersListPaymentMethods.ts +275 -0
- package/polar-js-main/src/funcs/customerPortalCustomersUpdate.ts +191 -0
- package/polar-js-main/src/funcs/customerPortalDownloadablesList.ts +270 -0
- package/polar-js-main/src/funcs/customerPortalLicenseKeysActivate.ts +194 -0
- package/polar-js-main/src/funcs/customerPortalLicenseKeysDeactivate.ts +183 -0
- package/polar-js-main/src/funcs/customerPortalLicenseKeysGet.ts +205 -0
- package/polar-js-main/src/funcs/customerPortalLicenseKeysList.ts +287 -0
- package/polar-js-main/src/funcs/customerPortalLicenseKeysValidate.ts +186 -0
- package/polar-js-main/src/funcs/customerPortalOrdersConfirmRetryPayment.ts +221 -0
- package/polar-js-main/src/funcs/customerPortalOrdersGenerateInvoice.ts +200 -0
- package/polar-js-main/src/funcs/customerPortalOrdersGet.ts +205 -0
- package/polar-js-main/src/funcs/customerPortalOrdersGetPaymentStatus.ts +208 -0
- package/polar-js-main/src/funcs/customerPortalOrdersInvoice.ts +207 -0
- package/polar-js-main/src/funcs/customerPortalOrdersList.ts +275 -0
- package/polar-js-main/src/funcs/customerPortalOrdersUpdate.ts +208 -0
- package/polar-js-main/src/funcs/customerPortalOrganizationsGet.ts +190 -0
- package/polar-js-main/src/funcs/customerPortalSeatsAssignSeat.ts +189 -0
- package/polar-js-main/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +158 -0
- package/polar-js-main/src/funcs/customerPortalSeatsListSeats.ts +194 -0
- package/polar-js-main/src/funcs/customerPortalSeatsResendInvitation.ts +198 -0
- package/polar-js-main/src/funcs/customerPortalSeatsRevokeSeat.ts +195 -0
- package/polar-js-main/src/funcs/customerPortalSubscriptionsCancel.ts +214 -0
- package/polar-js-main/src/funcs/customerPortalSubscriptionsGet.ts +206 -0
- package/polar-js-main/src/funcs/customerPortalSubscriptionsList.ts +275 -0
- package/polar-js-main/src/funcs/customerPortalSubscriptionsUpdate.ts +217 -0
- package/polar-js-main/src/funcs/customerPortalWalletsGet.ts +205 -0
- package/polar-js-main/src/funcs/customerPortalWalletsList.ts +271 -0
- package/polar-js-main/src/funcs/customerSeatsAssignSeat.ts +179 -0
- package/polar-js-main/src/funcs/customerSeatsClaimSeat.ts +170 -0
- package/polar-js-main/src/funcs/customerSeatsGetClaimInfo.ts +179 -0
- package/polar-js-main/src/funcs/customerSeatsListSeats.ts +184 -0
- package/polar-js-main/src/funcs/customerSeatsResendInvitation.ts +185 -0
- package/polar-js-main/src/funcs/customerSeatsRevokeSeat.ts +185 -0
- package/polar-js-main/src/funcs/customerSessionsCreate.ts +182 -0
- package/polar-js-main/src/funcs/customersCreate.ts +181 -0
- package/polar-js-main/src/funcs/customersDelete.ts +204 -0
- package/polar-js-main/src/funcs/customersDeleteExternal.ts +194 -0
- package/polar-js-main/src/funcs/customersExport.ts +182 -0
- package/polar-js-main/src/funcs/customersGet.ts +195 -0
- package/polar-js-main/src/funcs/customersGetBalance.ts +195 -0
- package/polar-js-main/src/funcs/customersGetExternal.ts +195 -0
- package/polar-js-main/src/funcs/customersGetState.ts +201 -0
- package/polar-js-main/src/funcs/customersGetStateExternal.ts +203 -0
- package/polar-js-main/src/funcs/customersList.ts +270 -0
- package/polar-js-main/src/funcs/customersUpdate.ts +196 -0
- package/polar-js-main/src/funcs/customersUpdateExternal.ts +198 -0
- package/polar-js-main/src/funcs/discountsCreate.ts +181 -0
- package/polar-js-main/src/funcs/discountsDelete.ts +192 -0
- package/polar-js-main/src/funcs/discountsGet.ts +195 -0
- package/polar-js-main/src/funcs/discountsList.ts +260 -0
- package/polar-js-main/src/funcs/discountsUpdate.ts +196 -0
- package/polar-js-main/src/funcs/eventsGet.ts +192 -0
- package/polar-js-main/src/funcs/eventsIngest.ts +181 -0
- package/polar-js-main/src/funcs/eventsList.ts +279 -0
- package/polar-js-main/src/funcs/eventsListNames.ts +263 -0
- package/polar-js-main/src/funcs/filesCreate.ts +181 -0
- package/polar-js-main/src/funcs/filesDelete.ts +200 -0
- package/polar-js-main/src/funcs/filesList.ts +259 -0
- package/polar-js-main/src/funcs/filesUpdate.ts +202 -0
- package/polar-js-main/src/funcs/filesUploaded.ts +204 -0
- package/polar-js-main/src/funcs/licenseKeysActivate.ts +197 -0
- package/polar-js-main/src/funcs/licenseKeysDeactivate.ts +186 -0
- package/polar-js-main/src/funcs/licenseKeysGet.ts +203 -0
- package/polar-js-main/src/funcs/licenseKeysGetActivation.ts +209 -0
- package/polar-js-main/src/funcs/licenseKeysList.ts +277 -0
- package/polar-js-main/src/funcs/licenseKeysUpdate.ts +204 -0
- package/polar-js-main/src/funcs/licenseKeysValidate.ts +189 -0
- package/polar-js-main/src/funcs/metersCreate.ts +178 -0
- package/polar-js-main/src/funcs/metersGet.ts +192 -0
- package/polar-js-main/src/funcs/metersList.ts +270 -0
- package/polar-js-main/src/funcs/metersQuantities.ts +215 -0
- package/polar-js-main/src/funcs/metersUpdate.ts +193 -0
- package/polar-js-main/src/funcs/metricsGet.ts +194 -0
- package/polar-js-main/src/funcs/metricsLimits.ts +147 -0
- package/polar-js-main/src/funcs/oauth2Authorize.ts +142 -0
- package/polar-js-main/src/funcs/oauth2ClientsCreate.ts +176 -0
- package/polar-js-main/src/funcs/oauth2ClientsDelete.ts +183 -0
- package/polar-js-main/src/funcs/oauth2ClientsGet.ts +182 -0
- package/polar-js-main/src/funcs/oauth2ClientsUpdate.ts +186 -0
- package/polar-js-main/src/funcs/oauth2Introspect.ts +164 -0
- package/polar-js-main/src/funcs/oauth2Revoke.ts +164 -0
- package/polar-js-main/src/funcs/oauth2Token.ts +164 -0
- package/polar-js-main/src/funcs/oauth2Userinfo.ts +145 -0
- package/polar-js-main/src/funcs/ordersExport.ts +183 -0
- package/polar-js-main/src/funcs/ordersGenerateInvoice.ts +187 -0
- package/polar-js-main/src/funcs/ordersGet.ts +192 -0
- package/polar-js-main/src/funcs/ordersInvoice.ts +195 -0
- package/polar-js-main/src/funcs/ordersList.ts +273 -0
- package/polar-js-main/src/funcs/ordersUpdate.ts +193 -0
- package/polar-js-main/src/funcs/organizationsCreate.ts +181 -0
- package/polar-js-main/src/funcs/organizationsGet.ts +195 -0
- package/polar-js-main/src/funcs/organizationsList.ts +259 -0
- package/polar-js-main/src/funcs/organizationsUpdate.ts +206 -0
- package/polar-js-main/src/funcs/paymentsGet.ts +195 -0
- package/polar-js-main/src/funcs/paymentsList.ts +264 -0
- package/polar-js-main/src/funcs/productsCreate.ts +181 -0
- package/polar-js-main/src/funcs/productsGet.ts +195 -0
- package/polar-js-main/src/funcs/productsList.ts +273 -0
- package/polar-js-main/src/funcs/productsUpdate.ts +204 -0
- package/polar-js-main/src/funcs/productsUpdateBenefits.ts +206 -0
- package/polar-js-main/src/funcs/refundsCreate.ts +195 -0
- package/polar-js-main/src/funcs/refundsList.ts +264 -0
- package/polar-js-main/src/funcs/subscriptionsCreate.ts +187 -0
- package/polar-js-main/src/funcs/subscriptionsExport.ts +182 -0
- package/polar-js-main/src/funcs/subscriptionsGet.ts +195 -0
- package/polar-js-main/src/funcs/subscriptionsList.ts +273 -0
- package/polar-js-main/src/funcs/subscriptionsRevoke.ts +211 -0
- package/polar-js-main/src/funcs/subscriptionsUpdate.ts +214 -0
- package/polar-js-main/src/funcs/walletsGet.ts +192 -0
- package/polar-js-main/src/funcs/walletsList.ts +260 -0
- package/polar-js-main/src/funcs/walletsTopUp.ts +212 -0
- package/polar-js-main/src/funcs/webhooksCreateWebhookEndpoint.ts +181 -0
- package/polar-js-main/src/funcs/webhooksDeleteWebhookEndpoint.ts +192 -0
- package/polar-js-main/src/funcs/webhooksGetWebhookEndpoint.ts +195 -0
- package/polar-js-main/src/funcs/webhooksListWebhookDeliveries.ts +264 -0
- package/polar-js-main/src/funcs/webhooksListWebhookEndpoints.ts +260 -0
- package/polar-js-main/src/funcs/webhooksRedeliverWebhookEvent.ts +192 -0
- package/polar-js-main/src/funcs/webhooksResetWebhookEndpointSecret.ts +196 -0
- package/polar-js-main/src/funcs/webhooksUpdateWebhookEndpoint.ts +198 -0
- package/polar-js-main/src/hooks/hooks.ts +132 -0
- package/polar-js-main/src/hooks/registration.ts +14 -0
- package/polar-js-main/src/hooks/types.ts +114 -0
- package/polar-js-main/src/index.ts +9 -0
- package/polar-js-main/src/lib/base64.ts +37 -0
- package/polar-js-main/src/lib/config.ts +70 -0
- package/polar-js-main/src/lib/dlv.ts +53 -0
- package/polar-js-main/src/lib/encodings.ts +483 -0
- package/polar-js-main/src/lib/env.ts +57 -0
- package/polar-js-main/src/lib/files.ts +82 -0
- package/polar-js-main/src/lib/http.ts +323 -0
- package/polar-js-main/src/lib/is-plain-object.ts +43 -0
- package/polar-js-main/src/lib/logger.ts +9 -0
- package/polar-js-main/src/lib/matchers.ts +345 -0
- package/polar-js-main/src/lib/primitives.ts +150 -0
- package/polar-js-main/src/lib/retries.ts +218 -0
- package/polar-js-main/src/lib/schemas.ts +91 -0
- package/polar-js-main/src/lib/sdks.ts +407 -0
- package/polar-js-main/src/lib/security.ts +264 -0
- package/polar-js-main/src/lib/url.ts +33 -0
- package/polar-js-main/src/models/components/address.ts +363 -0
- package/polar-js-main/src/models/components/addressdict.ts +91 -0
- package/polar-js-main/src/models/components/addressinput.ts +361 -0
- package/polar-js-main/src/models/components/aggregationfunction.ts +37 -0
- package/polar-js-main/src/models/components/attachedcustomfield.ts +107 -0
- package/polar-js-main/src/models/components/attachedcustomfieldcreate.ts +88 -0
- package/polar-js-main/src/models/components/authorizationcodetokenrequest.ts +99 -0
- package/polar-js-main/src/models/components/authorizeorganization.ts +83 -0
- package/polar-js-main/src/models/components/authorizeresponseorganization.ts +106 -0
- package/polar-js-main/src/models/components/authorizeresponseuser.ts +100 -0
- package/polar-js-main/src/models/components/authorizeuser.ts +79 -0
- package/polar-js-main/src/models/components/benefit.ts +113 -0
- package/polar-js-main/src/models/components/benefitcreate.ts +164 -0
- package/polar-js-main/src/models/components/benefitcustom.ts +204 -0
- package/polar-js-main/src/models/components/benefitcustomcreate.ts +184 -0
- package/polar-js-main/src/models/components/benefitcustomcreateproperties.ts +71 -0
- package/polar-js-main/src/models/components/benefitcustomproperties.ts +69 -0
- package/polar-js-main/src/models/components/benefitcustomsubscriber.ts +221 -0
- package/polar-js-main/src/models/components/benefitcustomsubscriberproperties.ts +72 -0
- package/polar-js-main/src/models/components/benefitcustomupdate.ts +162 -0
- package/polar-js-main/src/models/components/benefitcycledevent.ts +168 -0
- package/polar-js-main/src/models/components/benefitdiscord.ts +208 -0
- package/polar-js-main/src/models/components/benefitdiscordcreate.ts +181 -0
- package/polar-js-main/src/models/components/benefitdiscordcreateproperties.ts +98 -0
- package/polar-js-main/src/models/components/benefitdiscordproperties.ts +105 -0
- package/polar-js-main/src/models/components/benefitdiscordsubscriber.ts +221 -0
- package/polar-js-main/src/models/components/benefitdiscordsubscriberproperties.ts +85 -0
- package/polar-js-main/src/models/components/benefitdiscordupdate.ts +164 -0
- package/polar-js-main/src/models/components/benefitdownloadables.ts +204 -0
- package/polar-js-main/src/models/components/benefitdownloadablescreate.ts +184 -0
- package/polar-js-main/src/models/components/benefitdownloadablescreateproperties.ts +75 -0
- package/polar-js-main/src/models/components/benefitdownloadablesproperties.ts +72 -0
- package/polar-js-main/src/models/components/benefitdownloadablessubscriber.ts +224 -0
- package/polar-js-main/src/models/components/benefitdownloadablessubscriberproperties.ts +86 -0
- package/polar-js-main/src/models/components/benefitdownloadablesupdate.ts +170 -0
- package/polar-js-main/src/models/components/benefitgithubrepository.ts +218 -0
- package/polar-js-main/src/models/components/benefitgithubrepositorycreate.ts +190 -0
- package/polar-js-main/src/models/components/benefitgithubrepositorycreateproperties.ts +149 -0
- package/polar-js-main/src/models/components/benefitgithubrepositoryproperties.ts +135 -0
- package/polar-js-main/src/models/components/benefitgithubrepositorysubscriber.ts +234 -0
- package/polar-js-main/src/models/components/benefitgithubrepositorysubscriberproperties.ts +103 -0
- package/polar-js-main/src/models/components/benefitgithubrepositoryupdate.ts +176 -0
- package/polar-js-main/src/models/components/benefitgrant.ts +328 -0
- package/polar-js-main/src/models/components/benefitgrantcustomproperties.ts +60 -0
- package/polar-js-main/src/models/components/benefitgrantcustomwebhook.ts +236 -0
- package/polar-js-main/src/models/components/benefitgrantdiscordproperties.ts +95 -0
- package/polar-js-main/src/models/components/benefitgrantdiscordwebhook.ts +236 -0
- package/polar-js-main/src/models/components/benefitgrantdownloadablesproperties.ts +71 -0
- package/polar-js-main/src/models/components/benefitgrantdownloadableswebhook.ts +233 -0
- package/polar-js-main/src/models/components/benefitgrantedevent.ts +168 -0
- package/polar-js-main/src/models/components/benefitgranterror.ts +74 -0
- package/polar-js-main/src/models/components/benefitgrantgithubrepositoryproperties.ts +140 -0
- package/polar-js-main/src/models/components/benefitgrantgithubrepositorywebhook.ts +246 -0
- package/polar-js-main/src/models/components/benefitgrantlicensekeysproperties.ts +84 -0
- package/polar-js-main/src/models/components/benefitgrantlicensekeyswebhook.ts +233 -0
- package/polar-js-main/src/models/components/benefitgrantmetadata.ts +92 -0
- package/polar-js-main/src/models/components/benefitgrantmetercreditproperties.ts +90 -0
- package/polar-js-main/src/models/components/benefitgrantmetercreditwebhook.ts +240 -0
- package/polar-js-main/src/models/components/benefitgrantsortproperty.ts +39 -0
- package/polar-js-main/src/models/components/benefitgrantwebhook.ts +120 -0
- package/polar-js-main/src/models/components/benefitlicensekeyactivationcreateproperties.ts +92 -0
- package/polar-js-main/src/models/components/benefitlicensekeyactivationproperties.ts +84 -0
- package/polar-js-main/src/models/components/benefitlicensekeyexpirationproperties.ts +102 -0
- package/polar-js-main/src/models/components/benefitlicensekeys.ts +202 -0
- package/polar-js-main/src/models/components/benefitlicensekeyscreate.ts +182 -0
- package/polar-js-main/src/models/components/benefitlicensekeyscreateproperties.ts +112 -0
- package/polar-js-main/src/models/components/benefitlicensekeysproperties.ts +101 -0
- package/polar-js-main/src/models/components/benefitlicensekeyssubscriber.ts +223 -0
- package/polar-js-main/src/models/components/benefitlicensekeyssubscriberproperties.ts +105 -0
- package/polar-js-main/src/models/components/benefitlicensekeysupdate.ts +168 -0
- package/polar-js-main/src/models/components/benefitmetercredit.ts +212 -0
- package/polar-js-main/src/models/components/benefitmetercreditcreate.ts +188 -0
- package/polar-js-main/src/models/components/benefitmetercreditcreateproperties.ts +90 -0
- package/polar-js-main/src/models/components/benefitmetercreditproperties.ts +88 -0
- package/polar-js-main/src/models/components/benefitmetercreditsubscriber.ts +226 -0
- package/polar-js-main/src/models/components/benefitmetercreditsubscriberproperties.ts +92 -0
- package/polar-js-main/src/models/components/benefitmetercreditupdate.ts +168 -0
- package/polar-js-main/src/models/components/benefitpublic.ts +131 -0
- package/polar-js-main/src/models/components/benefitrevokedevent.ts +168 -0
- package/polar-js-main/src/models/components/benefitsortproperty.ts +37 -0
- package/polar-js-main/src/models/components/benefitsubscriberorganization.ts +141 -0
- package/polar-js-main/src/models/components/benefittype.ts +35 -0
- package/polar-js-main/src/models/components/benefitupdatedevent.ts +168 -0
- package/polar-js-main/src/models/components/billingaddressfieldmode.ts +36 -0
- package/polar-js-main/src/models/components/cardpayment.ts +203 -0
- package/polar-js-main/src/models/components/cardpaymentmetadata.ts +79 -0
- package/polar-js-main/src/models/components/checkout.ts +948 -0
- package/polar-js-main/src/models/components/checkoutbillingaddressfields.ts +102 -0
- package/polar-js-main/src/models/components/checkoutconfirmstripe.ts +267 -0
- package/polar-js-main/src/models/components/checkoutcreate.ts +506 -0
- package/polar-js-main/src/models/components/checkoutdiscountfixedonceforeverduration.ts +117 -0
- package/polar-js-main/src/models/components/checkoutdiscountfixedrepeatduration.ts +127 -0
- package/polar-js-main/src/models/components/checkoutdiscountpercentageonceforeverduration.ts +127 -0
- package/polar-js-main/src/models/components/checkoutdiscountpercentagerepeatduration.ts +134 -0
- package/polar-js-main/src/models/components/checkoutlink.ts +382 -0
- package/polar-js-main/src/models/components/checkoutlinkcreate.ts +90 -0
- package/polar-js-main/src/models/components/checkoutlinkcreateproduct.ts +241 -0
- package/polar-js-main/src/models/components/checkoutlinkcreateproductprice.ts +246 -0
- package/polar-js-main/src/models/components/checkoutlinkcreateproducts.ts +239 -0
- package/polar-js-main/src/models/components/checkoutlinkproduct.ts +365 -0
- package/polar-js-main/src/models/components/checkoutlinksortproperty.ts +41 -0
- package/polar-js-main/src/models/components/checkoutlinkupdate.ts +219 -0
- package/polar-js-main/src/models/components/checkoutorganization.ts +139 -0
- package/polar-js-main/src/models/components/checkoutproduct.ts +297 -0
- package/polar-js-main/src/models/components/checkoutpublic.ts +802 -0
- package/polar-js-main/src/models/components/checkoutpublicconfirmed.ts +827 -0
- package/polar-js-main/src/models/components/checkoutsortproperty.ts +37 -0
- package/polar-js-main/src/models/components/checkoutstatus.ts +36 -0
- package/polar-js-main/src/models/components/checkoutupdate.ts +485 -0
- package/polar-js-main/src/models/components/checkoutupdatepublic.ts +258 -0
- package/polar-js-main/src/models/components/costmetadatainput.ts +122 -0
- package/polar-js-main/src/models/components/costmetadataoutput.ts +76 -0
- package/polar-js-main/src/models/components/countaggregation.ts +66 -0
- package/polar-js-main/src/models/components/customer.ts +284 -0
- package/polar-js-main/src/models/components/customerbalance.ts +77 -0
- package/polar-js-main/src/models/components/customerbenefitgrant.ts +120 -0
- package/polar-js-main/src/models/components/customerbenefitgrantcustom.ts +178 -0
- package/polar-js-main/src/models/components/customerbenefitgrantcustomupdate.ts +77 -0
- package/polar-js-main/src/models/components/customerbenefitgrantdiscord.ts +180 -0
- package/polar-js-main/src/models/components/customerbenefitgrantdiscordpropertiesupdate.ts +88 -0
- package/polar-js-main/src/models/components/customerbenefitgrantdiscordupdate.ts +88 -0
- package/polar-js-main/src/models/components/customerbenefitgrantdownloadables.ts +181 -0
- package/polar-js-main/src/models/components/customerbenefitgrantdownloadablesupdate.ts +86 -0
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepository.ts +183 -0
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositorypropertiesupdate.ts +89 -0
- package/polar-js-main/src/models/components/customerbenefitgrantgithubrepositoryupdate.ts +97 -0
- package/polar-js-main/src/models/components/customerbenefitgrantlicensekeys.ts +180 -0
- package/polar-js-main/src/models/components/customerbenefitgrantlicensekeysupdate.ts +80 -0
- package/polar-js-main/src/models/components/customerbenefitgrantmetercredit.ts +180 -0
- package/polar-js-main/src/models/components/customerbenefitgrantmetercreditupdate.ts +80 -0
- package/polar-js-main/src/models/components/customerbenefitgrantsortproperty.ts +39 -0
- package/polar-js-main/src/models/components/customerbenefitgrantupdate.ts +178 -0
- package/polar-js-main/src/models/components/customercancellationreason.ts +41 -0
- package/polar-js-main/src/models/components/customercreate.ts +248 -0
- package/polar-js-main/src/models/components/customercreatedevent.ts +168 -0
- package/polar-js-main/src/models/components/customercreatedmetadata.ts +93 -0
- package/polar-js-main/src/models/components/customercustomermeter.ts +149 -0
- package/polar-js-main/src/models/components/customercustomermetermeter.ts +103 -0
- package/polar-js-main/src/models/components/customercustomermetersortproperty.ts +48 -0
- package/polar-js-main/src/models/components/customercustomersession.ts +81 -0
- package/polar-js-main/src/models/components/customerdeletedevent.ts +168 -0
- package/polar-js-main/src/models/components/customerdeletedmetadata.ts +93 -0
- package/polar-js-main/src/models/components/customermeter.ts +161 -0
- package/polar-js-main/src/models/components/customermetersortproperty.ts +51 -0
- package/polar-js-main/src/models/components/customerorder.ts +341 -0
- package/polar-js-main/src/models/components/customerorderconfirmpayment.ts +103 -0
- package/polar-js-main/src/models/components/customerorderinvoice.ts +72 -0
- package/polar-js-main/src/models/components/customerorderpaymentconfirmation.ts +97 -0
- package/polar-js-main/src/models/components/customerorderpaymentstatus.ts +79 -0
- package/polar-js-main/src/models/components/customerorderproduct.ts +308 -0
- package/polar-js-main/src/models/components/customerordersortproperty.ts +43 -0
- package/polar-js-main/src/models/components/customerordersubscription.ts +297 -0
- package/polar-js-main/src/models/components/customerorderupdate.ts +96 -0
- package/polar-js-main/src/models/components/customerorganization.ts +139 -0
- package/polar-js-main/src/models/components/customerorganizationdata.ts +85 -0
- package/polar-js-main/src/models/components/customerpaymentmethod.ts +78 -0
- package/polar-js-main/src/models/components/customerpaymentmethodconfirm.ts +83 -0
- package/polar-js-main/src/models/components/customerpaymentmethodcreate.ts +89 -0
- package/polar-js-main/src/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +93 -0
- package/polar-js-main/src/models/components/customerpaymentmethodcreateresponse.ts +107 -0
- package/polar-js-main/src/models/components/customerpaymentmethodcreatesucceededresponse.ts +98 -0
- package/polar-js-main/src/models/components/customerportalcustomer.ts +213 -0
- package/polar-js-main/src/models/components/customerportalcustomerupdate.ts +95 -0
- package/polar-js-main/src/models/components/customerportaloauthaccount.ts +81 -0
- package/polar-js-main/src/models/components/customerproduct.ts +297 -0
- package/polar-js-main/src/models/components/customerseat.ts +180 -0
- package/polar-js-main/src/models/components/customerseatclaimresponse.ts +91 -0
- package/polar-js-main/src/models/components/customersession.ts +138 -0
- package/polar-js-main/src/models/components/customersessioncustomerexternalidcreate.ts +101 -0
- package/polar-js-main/src/models/components/customersessioncustomeridcreate.ts +92 -0
- package/polar-js-main/src/models/components/customersortproperty.ts +37 -0
- package/polar-js-main/src/models/components/customerstate.ts +339 -0
- package/polar-js-main/src/models/components/customerstatebenefitgrant.ts +322 -0
- package/polar-js-main/src/models/components/customerstatemeter.ts +133 -0
- package/polar-js-main/src/models/components/customerstatesubscription.ts +450 -0
- package/polar-js-main/src/models/components/customerstatesubscriptionmeter.ts +135 -0
- package/polar-js-main/src/models/components/customersubscription.ts +418 -0
- package/polar-js-main/src/models/components/customersubscriptioncancel.ts +118 -0
- package/polar-js-main/src/models/components/customersubscriptionmeter.ts +140 -0
- package/polar-js-main/src/models/components/customersubscriptionmetermeter.ts +105 -0
- package/polar-js-main/src/models/components/customersubscriptionproduct.ts +313 -0
- package/polar-js-main/src/models/components/customersubscriptionsortproperty.ts +43 -0
- package/polar-js-main/src/models/components/customersubscriptionupdate.ts +90 -0
- package/polar-js-main/src/models/components/customersubscriptionupdateproduct.ts +81 -0
- package/polar-js-main/src/models/components/customersubscriptionupdateseats.ts +94 -0
- package/polar-js-main/src/models/components/customerupdate.ts +239 -0
- package/polar-js-main/src/models/components/customerupdatedevent.ts +168 -0
- package/polar-js-main/src/models/components/customerupdatedfields.ts +155 -0
- package/polar-js-main/src/models/components/customerupdatedmetadata.ts +105 -0
- package/polar-js-main/src/models/components/customerupdateexternalid.ts +242 -0
- package/polar-js-main/src/models/components/customerwallet.ts +122 -0
- package/polar-js-main/src/models/components/customerwalletsortproperty.ts +37 -0
- package/polar-js-main/src/models/components/customfield.ts +138 -0
- package/polar-js-main/src/models/components/customfieldcheckbox.ts +200 -0
- package/polar-js-main/src/models/components/customfieldcheckboxproperties.ts +89 -0
- package/polar-js-main/src/models/components/customfieldcreate.ts +142 -0
- package/polar-js-main/src/models/components/customfieldcreatecheckbox.ts +193 -0
- package/polar-js-main/src/models/components/customfieldcreatedate.ts +188 -0
- package/polar-js-main/src/models/components/customfieldcreatenumber.ts +192 -0
- package/polar-js-main/src/models/components/customfieldcreateselect.ts +192 -0
- package/polar-js-main/src/models/components/customfieldcreatetext.ts +188 -0
- package/polar-js-main/src/models/components/customfielddate.ts +196 -0
- package/polar-js-main/src/models/components/customfielddateproperties.ts +95 -0
- package/polar-js-main/src/models/components/customfieldnumber.ts +198 -0
- package/polar-js-main/src/models/components/customfieldnumberproperties.ts +97 -0
- package/polar-js-main/src/models/components/customfieldselect.ts +198 -0
- package/polar-js-main/src/models/components/customfieldselectoption.ts +70 -0
- package/polar-js-main/src/models/components/customfieldselectproperties.ts +99 -0
- package/polar-js-main/src/models/components/customfieldsortproperty.ts +41 -0
- package/polar-js-main/src/models/components/customfieldtext.ts +196 -0
- package/polar-js-main/src/models/components/customfieldtextproperties.ts +103 -0
- package/polar-js-main/src/models/components/customfieldtype.ts +36 -0
- package/polar-js-main/src/models/components/customfieldupdate.ts +142 -0
- package/polar-js-main/src/models/components/customfieldupdatecheckbox.ts +173 -0
- package/polar-js-main/src/models/components/customfieldupdatedate.ts +166 -0
- package/polar-js-main/src/models/components/customfieldupdatenumber.ts +170 -0
- package/polar-js-main/src/models/components/customfieldupdateselect.ts +170 -0
- package/polar-js-main/src/models/components/customfieldupdatetext.ts +166 -0
- package/polar-js-main/src/models/components/discount.ts +96 -0
- package/polar-js-main/src/models/components/discountcreate.ts +96 -0
- package/polar-js-main/src/models/components/discountduration.ts +34 -0
- package/polar-js-main/src/models/components/discountfixedonceforeverduration.ts +277 -0
- package/polar-js-main/src/models/components/discountfixedonceforeverdurationbase.ts +269 -0
- package/polar-js-main/src/models/components/discountfixedonceforeverdurationcreate.ts +263 -0
- package/polar-js-main/src/models/components/discountfixedrepeatduration.ts +280 -0
- package/polar-js-main/src/models/components/discountfixedrepeatdurationbase.ts +270 -0
- package/polar-js-main/src/models/components/discountfixedrepeatdurationcreate.ts +275 -0
- package/polar-js-main/src/models/components/discountpercentageonceforeverduration.ts +283 -0
- package/polar-js-main/src/models/components/discountpercentageonceforeverdurationbase.ts +278 -0
- package/polar-js-main/src/models/components/discountpercentageonceforeverdurationcreate.ts +270 -0
- package/polar-js-main/src/models/components/discountpercentagerepeatduration.ts +287 -0
- package/polar-js-main/src/models/components/discountpercentagerepeatdurationbase.ts +276 -0
- package/polar-js-main/src/models/components/discountpercentagerepeatdurationcreate.ts +280 -0
- package/polar-js-main/src/models/components/discountproduct.ts +246 -0
- package/polar-js-main/src/models/components/discountsortproperty.ts +39 -0
- package/polar-js-main/src/models/components/discounttype.ts +31 -0
- package/polar-js-main/src/models/components/discountupdate.ts +229 -0
- package/polar-js-main/src/models/components/downloadablefilecreate.ts +116 -0
- package/polar-js-main/src/models/components/downloadablefileread.ts +161 -0
- package/polar-js-main/src/models/components/downloadableread.ts +89 -0
- package/polar-js-main/src/models/components/event.ts +63 -0
- package/polar-js-main/src/models/components/eventcreatecustomer.ts +130 -0
- package/polar-js-main/src/models/components/eventcreateexternalcustomer.ts +132 -0
- package/polar-js-main/src/models/components/eventmetadatainput.ts +96 -0
- package/polar-js-main/src/models/components/eventmetadataoutput.ts +96 -0
- package/polar-js-main/src/models/components/eventname.ts +106 -0
- package/polar-js-main/src/models/components/eventnamessortproperty.ts +39 -0
- package/polar-js-main/src/models/components/eventsingest.ts +140 -0
- package/polar-js-main/src/models/components/eventsingestresponse.ts +76 -0
- package/polar-js-main/src/models/components/eventsortproperty.ts +33 -0
- package/polar-js-main/src/models/components/eventsource.ts +31 -0
- package/polar-js-main/src/models/components/existingproductprice.ts +73 -0
- package/polar-js-main/src/models/components/filecreate.ts +110 -0
- package/polar-js-main/src/models/components/filedownload.ts +163 -0
- package/polar-js-main/src/models/components/filepatch.ts +66 -0
- package/polar-js-main/src/models/components/fileservicetypes.ts +34 -0
- package/polar-js-main/src/models/components/fileupload.ts +163 -0
- package/polar-js-main/src/models/components/fileuploadcompleted.ts +80 -0
- package/polar-js-main/src/models/components/filter.ts +121 -0
- package/polar-js-main/src/models/components/filterclause.ts +118 -0
- package/polar-js-main/src/models/components/filterconjunction.ts +33 -0
- package/polar-js-main/src/models/components/filteroperator.ts +39 -0
- package/polar-js-main/src/models/components/genericpayment.ts +188 -0
- package/polar-js-main/src/models/components/introspecttokenrequest.ts +125 -0
- package/polar-js-main/src/models/components/introspecttokenresponse.ts +146 -0
- package/polar-js-main/src/models/components/legacyrecurringproductprice.ts +116 -0
- package/polar-js-main/src/models/components/legacyrecurringproductpricecustom.ts +188 -0
- package/polar-js-main/src/models/components/legacyrecurringproductpricefixed.ts +169 -0
- package/polar-js-main/src/models/components/legacyrecurringproductpricefree.ts +151 -0
- package/polar-js-main/src/models/components/licensekeyactivate.ts +239 -0
- package/polar-js-main/src/models/components/licensekeyactivationbase.ts +145 -0
- package/polar-js-main/src/models/components/licensekeyactivationread.ts +173 -0
- package/polar-js-main/src/models/components/licensekeycustomer.ts +293 -0
- package/polar-js-main/src/models/components/licensekeydeactivate.ts +85 -0
- package/polar-js-main/src/models/components/licensekeyread.ts +178 -0
- package/polar-js-main/src/models/components/licensekeystatus.ts +34 -0
- package/polar-js-main/src/models/components/licensekeyupdate.ts +102 -0
- package/polar-js-main/src/models/components/licensekeyvalidate.ts +172 -0
- package/polar-js-main/src/models/components/licensekeywithactivations.ts +192 -0
- package/polar-js-main/src/models/components/listresource.ts +78 -0
- package/polar-js-main/src/models/components/listresourcebenefit.ts +82 -0
- package/polar-js-main/src/models/components/listresourcebenefitgrant.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecheckout.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecheckoutlink.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecustomer.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecustomerbenefitgrant.ts +84 -0
- package/polar-js-main/src/models/components/listresourcecustomercustomermeter.ts +85 -0
- package/polar-js-main/src/models/components/listresourcecustomermeter.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecustomerorder.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecustomerpaymentmethod.ts +85 -0
- package/polar-js-main/src/models/components/listresourcecustomersubscription.ts +84 -0
- package/polar-js-main/src/models/components/listresourcecustomerwallet.ts +82 -0
- package/polar-js-main/src/models/components/listresourcecustomfield.ts +82 -0
- package/polar-js-main/src/models/components/listresourcediscount.ts +82 -0
- package/polar-js-main/src/models/components/listresourcedownloadableread.ts +84 -0
- package/polar-js-main/src/models/components/listresourceevent.ts +82 -0
- package/polar-js-main/src/models/components/listresourceeventname.ts +82 -0
- package/polar-js-main/src/models/components/listresourcefileread.ts +222 -0
- package/polar-js-main/src/models/components/listresourcelicensekeyread.ts +82 -0
- package/polar-js-main/src/models/components/listresourcemeter.ts +82 -0
- package/polar-js-main/src/models/components/listresourceorder.ts +82 -0
- package/polar-js-main/src/models/components/listresourceorganization.ts +82 -0
- package/polar-js-main/src/models/components/listresourceproduct.ts +82 -0
- package/polar-js-main/src/models/components/listresourcerefund.ts +82 -0
- package/polar-js-main/src/models/components/listresourcesubscription.ts +82 -0
- package/polar-js-main/src/models/components/listresourcewallet.ts +82 -0
- package/polar-js-main/src/models/components/listresourcewebhookdelivery.ts +84 -0
- package/polar-js-main/src/models/components/listresourcewebhookendpoint.ts +84 -0
- package/polar-js-main/src/models/components/llmmetadata.ts +129 -0
- package/polar-js-main/src/models/components/meter.ts +380 -0
- package/polar-js-main/src/models/components/metercreate.ts +354 -0
- package/polar-js-main/src/models/components/metercreditedmetadata.ts +83 -0
- package/polar-js-main/src/models/components/metercreditevent.ts +168 -0
- package/polar-js-main/src/models/components/meterquantities.ts +77 -0
- package/polar-js-main/src/models/components/meterquantity.ts +72 -0
- package/polar-js-main/src/models/components/meterresetevent.ts +166 -0
- package/polar-js-main/src/models/components/meterresetmetadata.ts +75 -0
- package/polar-js-main/src/models/components/metersortproperty.ts +35 -0
- package/polar-js-main/src/models/components/meterupdate.ts +374 -0
- package/polar-js-main/src/models/components/metric.ts +90 -0
- package/polar-js-main/src/models/components/metricperiod.ts +2298 -0
- package/polar-js-main/src/models/components/metrics.ts +425 -0
- package/polar-js-main/src/models/components/metricsintervallimit.ts +81 -0
- package/polar-js-main/src/models/components/metricsintervalslimits.ts +106 -0
- package/polar-js-main/src/models/components/metricslimits.ts +91 -0
- package/polar-js-main/src/models/components/metricsresponse.ts +96 -0
- package/polar-js-main/src/models/components/metricstotals.ts +2538 -0
- package/polar-js-main/src/models/components/metrictype.ts +33 -0
- package/polar-js-main/src/models/components/oauth2clientconfiguration.ts +202 -0
- package/polar-js-main/src/models/components/oauth2clientconfigurationupdate.ts +224 -0
- package/polar-js-main/src/models/components/oauth2clientpublic.ts +125 -0
- package/polar-js-main/src/models/components/order.ts +608 -0
- package/polar-js-main/src/models/components/orderbillingreason.ts +35 -0
- package/polar-js-main/src/models/components/ordercustomer.ts +285 -0
- package/polar-js-main/src/models/components/orderinvoice.ts +68 -0
- package/polar-js-main/src/models/components/orderitemschema.ts +136 -0
- package/polar-js-main/src/models/components/orderpaidevent.ts +164 -0
- package/polar-js-main/src/models/components/orderpaidmetadata.ts +87 -0
- package/polar-js-main/src/models/components/orderproduct.ts +237 -0
- package/polar-js-main/src/models/components/orderrefundedevent.ts +168 -0
- package/polar-js-main/src/models/components/orderrefundedmetadata.ts +89 -0
- package/polar-js-main/src/models/components/ordersortproperty.ts +49 -0
- package/polar-js-main/src/models/components/orderstatus.ts +33 -0
- package/polar-js-main/src/models/components/ordersubscription.ts +359 -0
- package/polar-js-main/src/models/components/orderupdate.ts +92 -0
- package/polar-js-main/src/models/components/organization.ts +233 -0
- package/polar-js-main/src/models/components/organizationavatarfilecreate.ts +124 -0
- package/polar-js-main/src/models/components/organizationavatarfileread.ts +167 -0
- package/polar-js-main/src/models/components/organizationcreate.ts +195 -0
- package/polar-js-main/src/models/components/organizationcustomeremailsettings.ts +120 -0
- package/polar-js-main/src/models/components/organizationdetails.ts +168 -0
- package/polar-js-main/src/models/components/organizationfeaturesettings.ts +107 -0
- package/polar-js-main/src/models/components/organizationnotificationsettings.ts +83 -0
- package/polar-js-main/src/models/components/organizationsociallink.ts +78 -0
- package/polar-js-main/src/models/components/organizationsocialplatforms.ts +41 -0
- package/polar-js-main/src/models/components/organizationsortproperty.ts +43 -0
- package/polar-js-main/src/models/components/organizationstatus.ts +37 -0
- package/polar-js-main/src/models/components/organizationsubscriptionsettings.ts +100 -0
- package/polar-js-main/src/models/components/organizationupdate.ts +191 -0
- package/polar-js-main/src/models/components/pagination.ts +77 -0
- package/polar-js-main/src/models/components/payment.ts +63 -0
- package/polar-js-main/src/models/components/paymentmethodcard.ts +127 -0
- package/polar-js-main/src/models/components/paymentmethodcardmetadata.ts +93 -0
- package/polar-js-main/src/models/components/paymentmethodgeneric.ts +115 -0
- package/polar-js-main/src/models/components/paymentprocessor.ts +32 -0
- package/polar-js-main/src/models/components/paymentsortproperty.ts +39 -0
- package/polar-js-main/src/models/components/paymentstatus.ts +34 -0
- package/polar-js-main/src/models/components/product.ts +358 -0
- package/polar-js-main/src/models/components/productbenefitsupdate.ts +72 -0
- package/polar-js-main/src/models/components/productbillingtype.ts +33 -0
- package/polar-js-main/src/models/components/productcreate.ts +74 -0
- package/polar-js-main/src/models/components/productcreateonetime.ts +432 -0
- package/polar-js-main/src/models/components/productcreaterecurring.ts +459 -0
- package/polar-js-main/src/models/components/productmediafilecreate.ts +122 -0
- package/polar-js-main/src/models/components/productmediafileread.ts +167 -0
- package/polar-js-main/src/models/components/productprice.ts +146 -0
- package/polar-js-main/src/models/components/productpricecustom.ts +182 -0
- package/polar-js-main/src/models/components/productpricecustomcreate.ts +114 -0
- package/polar-js-main/src/models/components/productpricefixed.ts +164 -0
- package/polar-js-main/src/models/components/productpricefixedcreate.ts +96 -0
- package/polar-js-main/src/models/components/productpricefree.ts +146 -0
- package/polar-js-main/src/models/components/productpricefreecreate.ts +78 -0
- package/polar-js-main/src/models/components/productpricemeter.ts +79 -0
- package/polar-js-main/src/models/components/productpricemeteredunit.ts +195 -0
- package/polar-js-main/src/models/components/productpricemeteredunitcreate.ts +165 -0
- package/polar-js-main/src/models/components/productpriceseatbased.ts +170 -0
- package/polar-js-main/src/models/components/productpriceseatbasedcreate.ts +104 -0
- package/polar-js-main/src/models/components/productpriceseattier.ts +99 -0
- package/polar-js-main/src/models/components/productpriceseattiers.ts +78 -0
- package/polar-js-main/src/models/components/productpricetype.ts +33 -0
- package/polar-js-main/src/models/components/productsortproperty.ts +39 -0
- package/polar-js-main/src/models/components/productupdate.ts +589 -0
- package/polar-js-main/src/models/components/propertyaggregation.ts +99 -0
- package/polar-js-main/src/models/components/refreshtokenrequest.ts +93 -0
- package/polar-js-main/src/models/components/refund.ts +207 -0
- package/polar-js-main/src/models/components/refundcreate.ts +183 -0
- package/polar-js-main/src/models/components/refundreason.ts +35 -0
- package/polar-js-main/src/models/components/refundsortproperty.ts +35 -0
- package/polar-js-main/src/models/components/refundstatus.ts +33 -0
- package/polar-js-main/src/models/components/revoketokenrequest.ts +119 -0
- package/polar-js-main/src/models/components/revoketokenresponse.ts +58 -0
- package/polar-js-main/src/models/components/s3downloadurl.ts +79 -0
- package/polar-js-main/src/models/components/s3filecreatemultipart.ts +72 -0
- package/polar-js-main/src/models/components/s3filecreatepart.ts +91 -0
- package/polar-js-main/src/models/components/s3fileuploadcompletedpart.ts +85 -0
- package/polar-js-main/src/models/components/s3fileuploadmultipart.ts +80 -0
- package/polar-js-main/src/models/components/s3fileuploadpart.ts +105 -0
- package/polar-js-main/src/models/components/scope.ts +91 -0
- package/polar-js-main/src/models/components/seatassign.ts +133 -0
- package/polar-js-main/src/models/components/seatclaim.ts +74 -0
- package/polar-js-main/src/models/components/seatclaiminfo.ts +125 -0
- package/polar-js-main/src/models/components/seatslist.ts +96 -0
- package/polar-js-main/src/models/components/seatstatus.ts +32 -0
- package/polar-js-main/src/models/components/security.ts +71 -0
- package/polar-js-main/src/models/components/subscription.ts +679 -0
- package/polar-js-main/src/models/components/subscriptioncancel.ts +137 -0
- package/polar-js-main/src/models/components/subscriptioncreatecustomer.ts +175 -0
- package/polar-js-main/src/models/components/subscriptioncreateexternalcustomer.ts +185 -0
- package/polar-js-main/src/models/components/subscriptioncustomer.ts +288 -0
- package/polar-js-main/src/models/components/subscriptioncycledevent.ts +168 -0
- package/polar-js-main/src/models/components/subscriptioncycledmetadata.ts +75 -0
- package/polar-js-main/src/models/components/subscriptionmeter.ts +143 -0
- package/polar-js-main/src/models/components/subscriptionproductupdatedevent.ts +170 -0
- package/polar-js-main/src/models/components/subscriptionproductupdatedmetadata.ts +91 -0
- package/polar-js-main/src/models/components/subscriptionprorationbehavior.ts +35 -0
- package/polar-js-main/src/models/components/subscriptionrecurringinterval.ts +37 -0
- package/polar-js-main/src/models/components/subscriptionrevoke.ts +131 -0
- package/polar-js-main/src/models/components/subscriptionrevokedevent.ts +168 -0
- package/polar-js-main/src/models/components/subscriptionrevokedmetadata.ts +77 -0
- package/polar-js-main/src/models/components/subscriptionslist.ts +80 -0
- package/polar-js-main/src/models/components/subscriptionsortproperty.ts +47 -0
- package/polar-js-main/src/models/components/subscriptionstatus.ts +38 -0
- package/polar-js-main/src/models/components/subscriptionupdate.ts +120 -0
- package/polar-js-main/src/models/components/subscriptionupdatediscount.ts +78 -0
- package/polar-js-main/src/models/components/subscriptionupdateproduct.ts +94 -0
- package/polar-js-main/src/models/components/subscriptionupdateseats.ts +92 -0
- package/polar-js-main/src/models/components/subscriptionupdatetrial.ts +78 -0
- package/polar-js-main/src/models/components/subtype.ts +31 -0
- package/polar-js-main/src/models/components/systemevent.ts +310 -0
- package/polar-js-main/src/models/components/taxidformat.ts +117 -0
- package/polar-js-main/src/models/components/timeinterval.ts +34 -0
- package/polar-js-main/src/models/components/tokenresponse.ts +99 -0
- package/polar-js-main/src/models/components/trialinterval.ts +35 -0
- package/polar-js-main/src/models/components/uniqueaggregation.ts +70 -0
- package/polar-js-main/src/models/components/userevent.ts +164 -0
- package/polar-js-main/src/models/components/userinfoorganization.ts +70 -0
- package/polar-js-main/src/models/components/userinfouser.ts +83 -0
- package/polar-js-main/src/models/components/validatedlicensekey.ts +192 -0
- package/polar-js-main/src/models/components/validationerror.ts +113 -0
- package/polar-js-main/src/models/components/wallet.ts +121 -0
- package/polar-js-main/src/models/components/walletsortproperty.ts +35 -0
- package/polar-js-main/src/models/components/wallettopupcreate.ts +79 -0
- package/polar-js-main/src/models/components/webhookbenefitcreatedpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhookbenefitgrantcreatedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookbenefitgrantcycledpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookbenefitgrantrevokedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookbenefitgrantupdatedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookbenefitupdatedpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhookcheckoutcreatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookcheckoutupdatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookcustomercreatedpayload.ts +97 -0
- package/polar-js-main/src/models/components/webhookcustomerdeletedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookcustomerseatassignedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookcustomerseatclaimedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookcustomerseatrevokedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookcustomerstatechangedpayload.ts +106 -0
- package/polar-js-main/src/models/components/webhookcustomerupdatedpayload.ts +96 -0
- package/polar-js-main/src/models/components/webhookdelivery.ts +143 -0
- package/polar-js-main/src/models/components/webhookendpoint.ts +148 -0
- package/polar-js-main/src/models/components/webhookendpointcreate.ts +116 -0
- package/polar-js-main/src/models/components/webhookendpointupdate.ts +101 -0
- package/polar-js-main/src/models/components/webhookevent.ts +144 -0
- package/polar-js-main/src/models/components/webhookeventtype.ts +61 -0
- package/polar-js-main/src/models/components/webhookformat.ts +34 -0
- package/polar-js-main/src/models/components/webhookordercreatedpayload.ts +96 -0
- package/polar-js-main/src/models/components/webhookorderpaidpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhookorderrefundedpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhookorderupdatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookorganizationupdatedpayload.ts +90 -0
- package/polar-js-main/src/models/components/webhookproductcreatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookproductupdatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhookrefundcreatedpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhookrefundupdatedpayload.ts +89 -0
- package/polar-js-main/src/models/components/webhooksubscriptionactivepayload.ts +90 -0
- package/polar-js-main/src/models/components/webhooksubscriptioncanceledpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhooksubscriptioncreatedpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhooksubscriptionrevokedpayload.ts +91 -0
- package/polar-js-main/src/models/components/webhooksubscriptionuncanceledpayload.ts +92 -0
- package/polar-js-main/src/models/components/webhooksubscriptionupdatedpayload.ts +94 -0
- package/polar-js-main/src/models/components/webtokenrequest.ts +133 -0
- package/polar-js-main/src/models/errors/alreadyactivesubscriptionerror.ts +85 -0
- package/polar-js-main/src/models/errors/alreadycanceledsubscription.ts +85 -0
- package/polar-js-main/src/models/errors/checkoutforbiddenerror.ts +90 -0
- package/polar-js-main/src/models/errors/customernotready.ts +85 -0
- package/polar-js-main/src/models/errors/customerportalordersgenerateinvoice.ts +97 -0
- package/polar-js-main/src/models/errors/expiredcheckouterror.ts +85 -0
- package/polar-js-main/src/models/errors/httpclienterrors.ts +62 -0
- package/polar-js-main/src/models/errors/httpvalidationerror.ts +85 -0
- package/polar-js-main/src/models/errors/missinginvoicebillingdetails.ts +85 -0
- package/polar-js-main/src/models/errors/missingpaymentmethoderror.ts +85 -0
- package/polar-js-main/src/models/errors/notopencheckout.ts +85 -0
- package/polar-js-main/src/models/errors/notpaidorder.ts +85 -0
- package/polar-js-main/src/models/errors/notpermitted.ts +85 -0
- package/polar-js-main/src/models/errors/ordernoteligibleforretry.ts +85 -0
- package/polar-js-main/src/models/errors/ordersgenerateinvoice.ts +97 -0
- package/polar-js-main/src/models/errors/paymentalreadyinprogress.ts +85 -0
- package/polar-js-main/src/models/errors/paymenterror.ts +85 -0
- package/polar-js-main/src/models/errors/paymentintentfailederror.ts +85 -0
- package/polar-js-main/src/models/errors/paymentmethodinusebyactivesubscription.ts +87 -0
- package/polar-js-main/src/models/errors/paymentnotready.ts +85 -0
- package/polar-js-main/src/models/errors/polarerror.ts +35 -0
- package/polar-js-main/src/models/errors/refundamounttoohigh.ts +85 -0
- package/polar-js-main/src/models/errors/refundedalready.ts +85 -0
- package/polar-js-main/src/models/errors/resourcenotfound.ts +85 -0
- package/polar-js-main/src/models/errors/responsevalidationerror.ts +50 -0
- package/polar-js-main/src/models/errors/sdkerror.ts +40 -0
- package/polar-js-main/src/models/errors/sdkvalidationerror.ts +109 -0
- package/polar-js-main/src/models/errors/subscriptionlocked.ts +85 -0
- package/polar-js-main/src/models/errors/unauthorized.ts +85 -0
- package/polar-js-main/src/models/operations/benefitgrantslist.ts +340 -0
- package/polar-js-main/src/models/operations/benefitsdelete.ts +66 -0
- package/polar-js-main/src/models/operations/benefitsget.ts +66 -0
- package/polar-js-main/src/models/operations/benefitsgrants.ts +231 -0
- package/polar-js-main/src/models/operations/benefitslist.ts +324 -0
- package/polar-js-main/src/models/operations/benefitsupdate.ts +219 -0
- package/polar-js-main/src/models/operations/checkoutlinksdelete.ts +69 -0
- package/polar-js-main/src/models/operations/checkoutlinksget.ts +69 -0
- package/polar-js-main/src/models/operations/checkoutlinkslist.ts +325 -0
- package/polar-js-main/src/models/operations/checkoutlinksupdate.ts +88 -0
- package/polar-js-main/src/models/operations/checkoutsclientconfirm.ts +92 -0
- package/polar-js-main/src/models/operations/checkoutsclientget.ts +78 -0
- package/polar-js-main/src/models/operations/checkoutsclientupdate.ts +92 -0
- package/polar-js-main/src/models/operations/checkoutsget.ts +69 -0
- package/polar-js-main/src/models/operations/checkoutslist.ts +478 -0
- package/polar-js-main/src/models/operations/checkoutsupdate.ts +88 -0
- package/polar-js-main/src/models/operations/customermetersget.ts +69 -0
- package/polar-js-main/src/models/operations/customermeterslist.ts +475 -0
- package/polar-js-main/src/models/operations/customerportalbenefitgrantsget.ts +147 -0
- package/polar-js-main/src/models/operations/customerportalbenefitgrantslist.ts +605 -0
- package/polar-js-main/src/models/operations/customerportalbenefitgrantsupdate.ts +177 -0
- package/polar-js-main/src/models/operations/customerportalcustomermetersget.ts +153 -0
- package/polar-js-main/src/models/operations/customerportalcustomermeterslist.ts +333 -0
- package/polar-js-main/src/models/operations/customerportalcustomersaddpaymentmethod.ts +89 -0
- package/polar-js-main/src/models/operations/customerportalcustomersconfirmpaymentmethod.ts +89 -0
- package/polar-js-main/src/models/operations/customerportalcustomersdeletepaymentmethod.ts +161 -0
- package/polar-js-main/src/models/operations/customerportalcustomersessionintrospect.ts +89 -0
- package/polar-js-main/src/models/operations/customerportalcustomersget.ts +79 -0
- package/polar-js-main/src/models/operations/customerportalcustomerslistpaymentmethods.ts +257 -0
- package/polar-js-main/src/models/operations/customerportalcustomersupdate.ts +80 -0
- package/polar-js-main/src/models/operations/customerportaldownloadableslist.ts +327 -0
- package/polar-js-main/src/models/operations/customerportallicensekeysget.ts +143 -0
- package/polar-js-main/src/models/operations/customerportallicensekeyslist.ts +245 -0
- package/polar-js-main/src/models/operations/customerportalordersconfirmretrypayment.ts +182 -0
- package/polar-js-main/src/models/operations/customerportalordersgenerateinvoice.ts +159 -0
- package/polar-js-main/src/models/operations/customerportalordersget.ts +140 -0
- package/polar-js-main/src/models/operations/customerportalordersgetpaymentstatus.ts +162 -0
- package/polar-js-main/src/models/operations/customerportalordersinvoice.ts +145 -0
- package/polar-js-main/src/models/operations/customerportalorderslist.ts +512 -0
- package/polar-js-main/src/models/operations/customerportalordersupdate.ts +161 -0
- package/polar-js-main/src/models/operations/customerportalorganizationsget.ts +74 -0
- package/polar-js-main/src/models/operations/customerportalseatsassignseat.ts +80 -0
- package/polar-js-main/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +89 -0
- package/polar-js-main/src/models/operations/customerportalseatslistseats.ts +163 -0
- package/polar-js-main/src/models/operations/customerportalseatsresendinvitation.ts +164 -0
- package/polar-js-main/src/models/operations/customerportalseatsrevokeseat.ts +151 -0
- package/polar-js-main/src/models/operations/customerportalsubscriptionscancel.ts +159 -0
- package/polar-js-main/src/models/operations/customerportalsubscriptionsget.ts +147 -0
- package/polar-js-main/src/models/operations/customerportalsubscriptionslist.ts +355 -0
- package/polar-js-main/src/models/operations/customerportalsubscriptionsupdate.ts +177 -0
- package/polar-js-main/src/models/operations/customerportalwalletsget.ts +140 -0
- package/polar-js-main/src/models/operations/customerportalwalletslist.ts +237 -0
- package/polar-js-main/src/models/operations/customersdelete.ts +69 -0
- package/polar-js-main/src/models/operations/customersdeleteexternal.ts +80 -0
- package/polar-js-main/src/models/operations/customerseatsgetclaiminfo.ts +77 -0
- package/polar-js-main/src/models/operations/customerseatslistseats.ts +83 -0
- package/polar-js-main/src/models/operations/customerseatsresendinvitation.ts +80 -0
- package/polar-js-main/src/models/operations/customerseatsrevokeseat.ts +77 -0
- package/polar-js-main/src/models/operations/customersessionscreate.ts +93 -0
- package/polar-js-main/src/models/operations/customersexport.ts +146 -0
- package/polar-js-main/src/models/operations/customersget.ts +69 -0
- package/polar-js-main/src/models/operations/customersgetbalance.ts +69 -0
- package/polar-js-main/src/models/operations/customersgetexternal.ts +80 -0
- package/polar-js-main/src/models/operations/customersgetstate.ts +69 -0
- package/polar-js-main/src/models/operations/customersgetstateexternal.ts +80 -0
- package/polar-js-main/src/models/operations/customerslist.ts +275 -0
- package/polar-js-main/src/models/operations/customersupdate.ts +88 -0
- package/polar-js-main/src/models/operations/customersupdateexternal.ts +92 -0
- package/polar-js-main/src/models/operations/customfieldsdelete.ts +69 -0
- package/polar-js-main/src/models/operations/customfieldsget.ts +69 -0
- package/polar-js-main/src/models/operations/customfieldslist.ts +341 -0
- package/polar-js-main/src/models/operations/customfieldsupdate.ts +88 -0
- package/polar-js-main/src/models/operations/discountsdelete.ts +69 -0
- package/polar-js-main/src/models/operations/discountsget.ts +69 -0
- package/polar-js-main/src/models/operations/discountslist.ts +255 -0
- package/polar-js-main/src/models/operations/discountsupdate.ts +88 -0
- package/polar-js-main/src/models/operations/eventsget.ts +69 -0
- package/polar-js-main/src/models/operations/eventslist.ts +580 -0
- package/polar-js-main/src/models/operations/eventslistnames.ts +484 -0
- package/polar-js-main/src/models/operations/filesdelete.ts +66 -0
- package/polar-js-main/src/models/operations/fileslist.ts +288 -0
- package/polar-js-main/src/models/operations/filesupdate.ts +199 -0
- package/polar-js-main/src/models/operations/filesuploaded.ts +201 -0
- package/polar-js-main/src/models/operations/licensekeysget.ts +66 -0
- package/polar-js-main/src/models/operations/licensekeysgetactivation.ts +81 -0
- package/polar-js-main/src/models/operations/licensekeyslist.ts +298 -0
- package/polar-js-main/src/models/operations/licensekeysupdate.ts +85 -0
- package/polar-js-main/src/models/operations/metersget.ts +69 -0
- package/polar-js-main/src/models/operations/meterslist.ts +273 -0
- package/polar-js-main/src/models/operations/metersquantities.ts +296 -0
- package/polar-js-main/src/models/operations/metersupdate.ts +88 -0
- package/polar-js-main/src/models/operations/metricsget.ts +418 -0
- package/polar-js-main/src/models/operations/oauth2authorize.ts +105 -0
- package/polar-js-main/src/models/operations/oauth2clientsoauth2deleteclient.ts +81 -0
- package/polar-js-main/src/models/operations/oauth2clientsoauth2getclient.ts +80 -0
- package/polar-js-main/src/models/operations/oauth2clientsoauth2updateclient.ts +95 -0
- package/polar-js-main/src/models/operations/oauth2requesttoken.ts +92 -0
- package/polar-js-main/src/models/operations/oauth2userinfo.ts +82 -0
- package/polar-js-main/src/models/operations/ordersexport.ts +214 -0
- package/polar-js-main/src/models/operations/ordersgenerateinvoice.ts +71 -0
- package/polar-js-main/src/models/operations/ordersget.ts +69 -0
- package/polar-js-main/src/models/operations/ordersinvoice.ts +69 -0
- package/polar-js-main/src/models/operations/orderslist.ts +611 -0
- package/polar-js-main/src/models/operations/ordersupdate.ts +88 -0
- package/polar-js-main/src/models/operations/organizationsget.ts +66 -0
- package/polar-js-main/src/models/operations/organizationslist.ts +170 -0
- package/polar-js-main/src/models/operations/organizationsupdate.ts +85 -0
- package/polar-js-main/src/models/operations/paymentsget.ts +69 -0
- package/polar-js-main/src/models/operations/paymentslist.ts +584 -0
- package/polar-js-main/src/models/operations/productsget.ts +66 -0
- package/polar-js-main/src/models/operations/productslist.ts +401 -0
- package/polar-js-main/src/models/operations/productsupdate.ts +85 -0
- package/polar-js-main/src/models/operations/productsupdatebenefits.ts +87 -0
- package/polar-js-main/src/models/operations/refundslist.ts +500 -0
- package/polar-js-main/src/models/operations/subscriptionscreate.ts +85 -0
- package/polar-js-main/src/models/operations/subscriptionsexport.ts +129 -0
- package/polar-js-main/src/models/operations/subscriptionsget.ts +69 -0
- package/polar-js-main/src/models/operations/subscriptionslist.ts +505 -0
- package/polar-js-main/src/models/operations/subscriptionsrevoke.ts +69 -0
- package/polar-js-main/src/models/operations/subscriptionsupdate.ts +88 -0
- package/polar-js-main/src/models/operations/walletsget.ts +69 -0
- package/polar-js-main/src/models/operations/walletslist.ts +315 -0
- package/polar-js-main/src/models/operations/walletstopup.ts +88 -0
- package/polar-js-main/src/models/operations/webhooksdeletewebhookendpoint.ts +74 -0
- package/polar-js-main/src/models/operations/webhooksgetwebhookendpoint.ts +72 -0
- package/polar-js-main/src/models/operations/webhookslistwebhookdeliveries.ts +247 -0
- package/polar-js-main/src/models/operations/webhookslistwebhookendpoints.ts +229 -0
- package/polar-js-main/src/models/operations/webhooksredeliverwebhookevent.ts +74 -0
- package/polar-js-main/src/models/operations/webhooksresetwebhookendpointsecret.ts +81 -0
- package/polar-js-main/src/models/operations/webhooksupdatewebhookendpoint.ts +93 -0
- package/polar-js-main/src/sdk/benefitgrants.ts +32 -0
- package/polar-js-main/src/sdk/benefits.ts +148 -0
- package/polar-js-main/src/sdk/checkoutlinks.ts +118 -0
- package/polar-js-main/src/sdk/checkouts.ts +158 -0
- package/polar-js-main/src/sdk/clients.ts +84 -0
- package/polar-js-main/src/sdk/customermeters.ts +55 -0
- package/polar-js-main/src/sdk/customerportal.ts +73 -0
- package/polar-js-main/src/sdk/customers.ts +293 -0
- package/polar-js-main/src/sdk/customerseats.ts +120 -0
- package/polar-js-main/src/sdk/customersession.ts +30 -0
- package/polar-js-main/src/sdk/customersessions.ts +30 -0
- package/polar-js-main/src/sdk/customfields.ts +118 -0
- package/polar-js-main/src/sdk/discounts.ts +118 -0
- package/polar-js-main/src/sdk/downloadables.ts +35 -0
- package/polar-js-main/src/sdk/events.ts +101 -0
- package/polar-js-main/src/sdk/files.ts +124 -0
- package/polar-js-main/src/sdk/licensekeys.ts +163 -0
- package/polar-js-main/src/sdk/meters.ts +119 -0
- package/polar-js-main/src/sdk/metrics.ts +51 -0
- package/polar-js-main/src/sdk/oauth2.ts +105 -0
- package/polar-js-main/src/sdk/orders.ts +140 -0
- package/polar-js-main/src/sdk/organizations.ts +97 -0
- package/polar-js-main/src/sdk/payments.ts +55 -0
- package/polar-js-main/src/sdk/polarbenefitgrants.ts +91 -0
- package/polar-js-main/src/sdk/polarcustomermeters.ts +65 -0
- package/polar-js-main/src/sdk/polarcustomers.ts +162 -0
- package/polar-js-main/src/sdk/polarlicensekeys.ts +137 -0
- package/polar-js-main/src/sdk/polarorders.ts +196 -0
- package/polar-js-main/src/sdk/polarorganizations.ts +28 -0
- package/polar-js-main/src/sdk/polarsubscriptions.ts +117 -0
- package/polar-js-main/src/sdk/polarwallets.ts +65 -0
- package/polar-js-main/src/sdk/products.ts +118 -0
- package/polar-js-main/src/sdk/refunds.ts +55 -0
- package/polar-js-main/src/sdk/sdk.ts +157 -0
- package/polar-js-main/src/sdk/seats.ts +126 -0
- package/polar-js-main/src/sdk/subscriptions.ts +144 -0
- package/polar-js-main/src/sdk/wallets.ts +78 -0
- package/polar-js-main/src/sdk/webhooks.ts +190 -0
- package/polar-js-main/src/test.ts +0 -0
- package/polar-js-main/src/types/async.ts +68 -0
- package/polar-js-main/src/types/blobs.ts +32 -0
- package/polar-js-main/src/types/constdatetime.ts +15 -0
- package/polar-js-main/src/types/enums.ts +16 -0
- package/polar-js-main/src/types/fp.ts +50 -0
- package/polar-js-main/src/types/operations.ts +105 -0
- package/polar-js-main/src/types/rfcdate.ts +54 -0
- package/polar-js-main/src/types/streams.ts +21 -0
- package/polar-js-main/src/types/webhooks.ts +7 -0
- package/polar-js-main/src/webhooks.test.ts +116 -0
- package/polar-js-main/src/webhooks.ts +138 -0
- package/polar-js-main/tsconfig.json +41 -0
- package/src/index.ts +9 -0
- package/tsconfig.json +41 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# API Compliance Check Prompt
|
|
2
|
+
|
|
3
|
+
Use this prompt to validate that the SDK implementation matches the Chargefy API specification and follows API design best practices.
|
|
4
|
+
|
|
5
|
+
## Compliance Areas
|
|
6
|
+
|
|
7
|
+
### 1. Endpoint Coverage
|
|
8
|
+
- [ ] All documented API endpoints have SDK methods
|
|
9
|
+
- [ ] Endpoint paths match API specification
|
|
10
|
+
- [ ] HTTP methods (GET, POST, PUT, DELETE, PATCH) are correct
|
|
11
|
+
- [ ] Query parameters are supported
|
|
12
|
+
- [ ] Path parameters are supported
|
|
13
|
+
- [ ] Request body schemas match specification
|
|
14
|
+
|
|
15
|
+
### 2. Request Format
|
|
16
|
+
- [ ] Content-Type headers are correct (application/json)
|
|
17
|
+
- [ ] Request bodies are properly encoded
|
|
18
|
+
- [ ] Query parameters are URL-encoded
|
|
19
|
+
- [ ] Path parameters are properly substituted
|
|
20
|
+
- [ ] Special characters are handled correctly
|
|
21
|
+
- [ ] Arrays/objects in query params follow convention
|
|
22
|
+
|
|
23
|
+
### 3. Response Handling
|
|
24
|
+
- [ ] Success responses (2xx) are parsed correctly
|
|
25
|
+
- [ ] Error responses (4xx, 5xx) are handled
|
|
26
|
+
- [ ] Response schemas match specification
|
|
27
|
+
- [ ] Status codes are interpreted correctly
|
|
28
|
+
- [ ] Headers are accessible (pagination, rate limits)
|
|
29
|
+
- [ ] Empty responses (204) are handled
|
|
30
|
+
|
|
31
|
+
### 4. Authentication
|
|
32
|
+
- [ ] API key authentication works
|
|
33
|
+
- [ ] OAuth2 flows supported (if applicable)
|
|
34
|
+
- [ ] Bearer token format is correct
|
|
35
|
+
- [ ] Authentication errors are clear (401, 403)
|
|
36
|
+
- [ ] Token refresh works (if applicable)
|
|
37
|
+
|
|
38
|
+
### 5. Pagination
|
|
39
|
+
- [ ] Cursor-based pagination works
|
|
40
|
+
- [ ] Page-based pagination works (if applicable)
|
|
41
|
+
- [ ] Limit/offset parameters respected
|
|
42
|
+
- [ ] Next/previous page links parsed
|
|
43
|
+
- [ ] Total count available (if provided by API)
|
|
44
|
+
- [ ] Iteration works correctly
|
|
45
|
+
|
|
46
|
+
### 6. Filtering & Sorting
|
|
47
|
+
- [ ] Filter parameters match API spec
|
|
48
|
+
- [ ] Operators (eq, gt, lt, etc.) work correctly
|
|
49
|
+
- [ ] Multiple filters can be combined
|
|
50
|
+
- [ ] Sort parameters work correctly
|
|
51
|
+
- [ ] Sort direction (asc/desc) supported
|
|
52
|
+
|
|
53
|
+
### 7. Webhooks
|
|
54
|
+
- [ ] All webhook event types defined
|
|
55
|
+
- [ ] Event schemas match API specification
|
|
56
|
+
- [ ] Signature verification algorithm correct
|
|
57
|
+
- [ ] Timestamp validation works
|
|
58
|
+
- [ ] Replay attack protection implemented
|
|
59
|
+
|
|
60
|
+
### 8. Error Codes
|
|
61
|
+
- [ ] All error codes from API documented
|
|
62
|
+
- [ ] Error response format matches API
|
|
63
|
+
- [ ] Error messages are preserved
|
|
64
|
+
- [ ] Validation errors include field details
|
|
65
|
+
- [ ] Rate limit errors include retry-after
|
|
66
|
+
|
|
67
|
+
### 9. Idempotency
|
|
68
|
+
- [ ] Idempotency keys supported (if API requires)
|
|
69
|
+
- [ ] Key generation is correct
|
|
70
|
+
- [ ] Duplicate request handling tested
|
|
71
|
+
|
|
72
|
+
### 10. Rate Limiting
|
|
73
|
+
- [ ] Rate limit headers are read
|
|
74
|
+
- [ ] Rate limit information exposed
|
|
75
|
+
- [ ] Retry-After header respected
|
|
76
|
+
- [ ] 429 responses handled gracefully
|
|
77
|
+
|
|
78
|
+
## API Specification Checklist
|
|
79
|
+
|
|
80
|
+
### Data Types
|
|
81
|
+
- [ ] String fields validated (length, format)
|
|
82
|
+
- [ ] Number fields validated (range, precision)
|
|
83
|
+
- [ ] Boolean fields handled
|
|
84
|
+
- [ ] Date/DateTime parsed correctly (ISO 8601)
|
|
85
|
+
- [ ] Enum values validated
|
|
86
|
+
- [ ] Arrays handled correctly
|
|
87
|
+
- [ ] Nested objects supported
|
|
88
|
+
- [ ] Null/undefined distinction preserved
|
|
89
|
+
|
|
90
|
+
### Required vs Optional
|
|
91
|
+
- [ ] Required fields enforced
|
|
92
|
+
- [ ] Optional fields work when omitted
|
|
93
|
+
- [ ] Default values applied correctly
|
|
94
|
+
- [ ] Nullable fields handled
|
|
95
|
+
|
|
96
|
+
### Field Naming
|
|
97
|
+
- [ ] API uses snake_case
|
|
98
|
+
- [ ] SDK uses camelCase
|
|
99
|
+
- [ ] Transformation is bidirectional
|
|
100
|
+
- [ ] No field names are lost
|
|
101
|
+
- [ ] Special characters handled (e.g., $ in MongoDB)
|
|
102
|
+
|
|
103
|
+
### API Versioning
|
|
104
|
+
- [ ] API version in URL or header
|
|
105
|
+
- [ ] Version is configurable
|
|
106
|
+
- [ ] Breaking changes handled
|
|
107
|
+
- [ ] Deprecation warnings shown
|
|
108
|
+
|
|
109
|
+
## REST Best Practices
|
|
110
|
+
|
|
111
|
+
### HTTP Methods
|
|
112
|
+
- ✅ GET: Read, no side effects, idempotent
|
|
113
|
+
- ✅ POST: Create, side effects, not idempotent
|
|
114
|
+
- ✅ PUT: Update/replace, idempotent
|
|
115
|
+
- ✅ PATCH: Partial update, may be idempotent
|
|
116
|
+
- ✅ DELETE: Remove, idempotent
|
|
117
|
+
|
|
118
|
+
### Status Codes
|
|
119
|
+
- ✅ 200 OK: Success with body
|
|
120
|
+
- ✅ 201 Created: Resource created
|
|
121
|
+
- ✅ 204 No Content: Success without body
|
|
122
|
+
- ✅ 400 Bad Request: Client error
|
|
123
|
+
- ✅ 401 Unauthorized: Authentication failed
|
|
124
|
+
- ✅ 403 Forbidden: Not authorized
|
|
125
|
+
- ✅ 404 Not Found: Resource doesn't exist
|
|
126
|
+
- ✅ 422 Unprocessable Entity: Validation failed
|
|
127
|
+
- ✅ 429 Too Many Requests: Rate limited
|
|
128
|
+
- ✅ 500 Internal Server Error: Server error
|
|
129
|
+
- ✅ 503 Service Unavailable: Temporary issue
|
|
130
|
+
|
|
131
|
+
### Resource Naming
|
|
132
|
+
- ✅ Plural nouns for collections: `/customers`
|
|
133
|
+
- ✅ IDs in path: `/customers/{id}`
|
|
134
|
+
- ✅ Actions as nested resources: `/customers/{id}/activate`
|
|
135
|
+
- ✅ Consistent naming across resources
|
|
136
|
+
|
|
137
|
+
## Validation Process
|
|
138
|
+
|
|
139
|
+
### 1. Documentation Review
|
|
140
|
+
Compare SDK implementation with API documentation:
|
|
141
|
+
```typescript
|
|
142
|
+
// API Docs say: POST /customers
|
|
143
|
+
// SDK should have:
|
|
144
|
+
chargefy.customers.create({ email: "..." })
|
|
145
|
+
|
|
146
|
+
// Verify:
|
|
147
|
+
// - Method name matches operation
|
|
148
|
+
// - Parameters match request body
|
|
149
|
+
// - Response type matches API response
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### 2. Schema Validation
|
|
153
|
+
For each data model:
|
|
154
|
+
```typescript
|
|
155
|
+
// Check Zod schema matches API spec
|
|
156
|
+
const CustomerSchema = z.object({
|
|
157
|
+
id: z.string(),
|
|
158
|
+
created_at: z.string().datetime(),
|
|
159
|
+
email: z.string().email(),
|
|
160
|
+
// ... all fields from API spec
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
// Validate both directions
|
|
164
|
+
const inboundWorks = CustomerSchema.safeParse(apiResponse);
|
|
165
|
+
const outboundWorks = CustomerOutboundSchema.safeParse(sdkData);
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### 3. Example Testing
|
|
169
|
+
Test with real API examples:
|
|
170
|
+
```typescript
|
|
171
|
+
// Use examples from API documentation
|
|
172
|
+
const exampleFromDocs = {
|
|
173
|
+
"id": "cus_1234",
|
|
174
|
+
"created_at": "2025-01-01T00:00:00Z",
|
|
175
|
+
"email": "test@example.com"
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
// Should parse without errors
|
|
179
|
+
const parsed = Customer$inboundSchema.parse(exampleFromDocs);
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### 4. Error Case Testing
|
|
183
|
+
Test error responses match API:
|
|
184
|
+
```typescript
|
|
185
|
+
// API returns 422 with validation errors
|
|
186
|
+
{
|
|
187
|
+
"error": {
|
|
188
|
+
"code": "validation_error",
|
|
189
|
+
"message": "Invalid email format",
|
|
190
|
+
"fields": {
|
|
191
|
+
"email": "Must be a valid email address"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// SDK should expose this structure
|
|
197
|
+
try {
|
|
198
|
+
await chargefy.customers.create({ email: "invalid" });
|
|
199
|
+
} catch (error) {
|
|
200
|
+
expect(error).toBeInstanceOf(ValidationError);
|
|
201
|
+
expect(error.fields.email).toBeDefined();
|
|
202
|
+
}
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Compliance Red Flags
|
|
206
|
+
|
|
207
|
+
### Critical
|
|
208
|
+
- ❌ Missing required API endpoints
|
|
209
|
+
- ❌ Incorrect HTTP methods
|
|
210
|
+
- ❌ Wrong request/response formats
|
|
211
|
+
- ❌ Authentication doesn't work
|
|
212
|
+
- ❌ Data loss in transformations
|
|
213
|
+
- ❌ Wrong API version
|
|
214
|
+
|
|
215
|
+
### Major
|
|
216
|
+
- ⚠️ Missing optional parameters
|
|
217
|
+
- ⚠️ Incomplete error handling
|
|
218
|
+
- ⚠️ Pagination issues
|
|
219
|
+
- ⚠️ Webhook events missing
|
|
220
|
+
- ⚠️ Rate limiting not handled
|
|
221
|
+
|
|
222
|
+
### Minor
|
|
223
|
+
- ℹ️ Inconsistent naming
|
|
224
|
+
- ℹ️ Missing convenience methods
|
|
225
|
+
- ℹ️ Suboptimal defaults
|
|
226
|
+
- ℹ️ Documentation gaps
|
|
227
|
+
|
|
228
|
+
## OpenAPI Integration
|
|
229
|
+
|
|
230
|
+
If Chargefy provides an OpenAPI specification:
|
|
231
|
+
|
|
232
|
+
### Validation Steps
|
|
233
|
+
1. **Load OpenAPI Spec**
|
|
234
|
+
```bash
|
|
235
|
+
# Validate spec is valid
|
|
236
|
+
npx @apidevtools/swagger-cli validate openapi.yaml
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
2. **Generate Types** (optional)
|
|
240
|
+
```bash
|
|
241
|
+
# Generate types from spec
|
|
242
|
+
npx openapi-typescript openapi.yaml --output types.ts
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
3. **Compare Implementations**
|
|
246
|
+
```typescript
|
|
247
|
+
// For each endpoint in OpenAPI:
|
|
248
|
+
// - Verify SDK has corresponding method
|
|
249
|
+
// - Compare parameter types
|
|
250
|
+
// - Compare response types
|
|
251
|
+
// - Check error responses
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
4. **Automated Testing**
|
|
255
|
+
```bash
|
|
256
|
+
# Use tools like Dredd or Prism
|
|
257
|
+
npx @stoplight/prism-cli mock openapi.yaml
|
|
258
|
+
# Run SDK tests against mock server
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
## Compliance Report Template
|
|
262
|
+
|
|
263
|
+
```markdown
|
|
264
|
+
# API Compliance Report
|
|
265
|
+
Date: 2025-11-10
|
|
266
|
+
API Version: 1.0.0
|
|
267
|
+
SDK Version: 0.1.0
|
|
268
|
+
Reviewer: [Agent Name]
|
|
269
|
+
|
|
270
|
+
## Summary
|
|
271
|
+
Reviewed SDK compliance with Chargefy API specification. Found X compliant endpoints, Y issues.
|
|
272
|
+
|
|
273
|
+
## Endpoint Coverage
|
|
274
|
+
Total API endpoints: X
|
|
275
|
+
Implemented in SDK: Y
|
|
276
|
+
Coverage: Z%
|
|
277
|
+
|
|
278
|
+
### Missing Endpoints
|
|
279
|
+
- [ ] GET /endpoint1 - Priority: P1
|
|
280
|
+
- [ ] POST /endpoint2 - Priority: P2
|
|
281
|
+
|
|
282
|
+
### Incorrect Implementations
|
|
283
|
+
- [ ] GET /customers - Wrong response type
|
|
284
|
+
- [ ] POST /subscriptions - Missing parameter
|
|
285
|
+
|
|
286
|
+
## Schema Compliance
|
|
287
|
+
### Fully Compliant
|
|
288
|
+
- ✅ Customer schema
|
|
289
|
+
- ✅ Subscription schema
|
|
290
|
+
|
|
291
|
+
### Issues Found
|
|
292
|
+
- ❌ Payment schema: Missing `metadata` field
|
|
293
|
+
- ⚠️ Refund schema: Optional field marked as required
|
|
294
|
+
|
|
295
|
+
## Authentication
|
|
296
|
+
- ✅ API key authentication works
|
|
297
|
+
- ✅ Bearer token format correct
|
|
298
|
+
- ⚠️ OAuth2 not implemented (P2)
|
|
299
|
+
|
|
300
|
+
## Webhooks
|
|
301
|
+
- ✅ Signature verification correct
|
|
302
|
+
- ✅ All event types defined
|
|
303
|
+
- ⚠️ Missing event: `subscription.paused`
|
|
304
|
+
|
|
305
|
+
## Error Handling
|
|
306
|
+
- ✅ Validation errors mapped correctly
|
|
307
|
+
- ✅ Rate limit errors handled
|
|
308
|
+
- ❌ 503 errors not retried automatically
|
|
309
|
+
|
|
310
|
+
## Recommendations
|
|
311
|
+
1. Implement missing endpoints (P1 items)
|
|
312
|
+
2. Fix schema issues in Payment model
|
|
313
|
+
3. Add missing webhook event types
|
|
314
|
+
4. Implement automatic retry for 503
|
|
315
|
+
|
|
316
|
+
## Compliance Score
|
|
317
|
+
Overall: 87/100
|
|
318
|
+
|
|
319
|
+
- Endpoint Coverage: 90/100
|
|
320
|
+
- Schema Compliance: 85/100
|
|
321
|
+
- Authentication: 90/100
|
|
322
|
+
- Error Handling: 80/100
|
|
323
|
+
|
|
324
|
+
## Conclusion
|
|
325
|
+
**Status: Compliant with Exceptions**
|
|
326
|
+
|
|
327
|
+
SDK is substantially compliant with API specification. Exceptions documented and acceptable for initial release. Recommend addressing high-priority issues before 1.0.
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
## Usage
|
|
331
|
+
|
|
332
|
+
### Manual Review
|
|
333
|
+
```bash
|
|
334
|
+
# Review API compliance
|
|
335
|
+
claude --agent product-manager --prompt .claude/prompts/api-compliance-check.md
|
|
336
|
+
|
|
337
|
+
# Or with specific API version
|
|
338
|
+
claude --agent product-manager \
|
|
339
|
+
--prompt .claude/prompts/api-compliance-check.md \
|
|
340
|
+
--context "API_VERSION=1.0.0"
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
### Automated Testing
|
|
344
|
+
```typescript
|
|
345
|
+
// In test file
|
|
346
|
+
describe('API Compliance', () => {
|
|
347
|
+
it('should match OpenAPI spec', async () => {
|
|
348
|
+
const spec = loadOpenAPISpec();
|
|
349
|
+
const sdk = new Chargefy({ accessToken: 'test' });
|
|
350
|
+
|
|
351
|
+
// Validate all endpoints exist
|
|
352
|
+
for (const path of spec.paths) {
|
|
353
|
+
// Check SDK has method for this endpoint
|
|
354
|
+
expect(sdk).toHaveEndpoint(path);
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
});
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
## API Documentation Resources
|
|
361
|
+
Use these tools to research API best practices:
|
|
362
|
+
- **WebSearch**: "REST API design best practices 2025"
|
|
363
|
+
- **Context7**: Get documentation for HTTP libraries
|
|
364
|
+
- **WebFetch**: Fetch competitor API documentation
|
|
365
|
+
- **Read**: Review Chargefy API documentation (if available)
|
|
366
|
+
|
|
367
|
+
## Tools for Validation
|
|
368
|
+
- **OpenAPI Validator**: Validate spec files
|
|
369
|
+
- **Prism**: Mock API server from OpenAPI
|
|
370
|
+
- **Dredd**: API contract testing
|
|
371
|
+
- **Postman**: Manual API testing
|
|
372
|
+
- **Jest**: Automated compliance tests
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
# SDK Architecture Review Prompt
|
|
2
|
+
|
|
3
|
+
Use this prompt to conduct a comprehensive review of the SDK architecture, typically before major milestones or releases.
|
|
4
|
+
|
|
5
|
+
## Review Areas
|
|
6
|
+
|
|
7
|
+
### 1. Core Infrastructure
|
|
8
|
+
- [ ] HTTP client implementation follows best practices
|
|
9
|
+
- [ ] Retry logic handles all failure scenarios gracefully
|
|
10
|
+
- [ ] Authentication mechanism is secure and flexible
|
|
11
|
+
- [ ] Hooks system is properly documented and tested
|
|
12
|
+
- [ ] Encoding/decoding transformations are bidirectional and lossless
|
|
13
|
+
|
|
14
|
+
### 2. Type System
|
|
15
|
+
- [ ] Result types provide clear success/error paths
|
|
16
|
+
- [ ] Type inference works correctly throughout
|
|
17
|
+
- [ ] Generic constraints are appropriate
|
|
18
|
+
- [ ] No use of `any` except where absolutely necessary
|
|
19
|
+
- [ ] Types are exported and accessible to consumers
|
|
20
|
+
|
|
21
|
+
### 3. API Design
|
|
22
|
+
- [ ] Naming is consistent across all services
|
|
23
|
+
- [ ] Methods follow predictable patterns
|
|
24
|
+
- [ ] Parameters are intuitive and well-documented
|
|
25
|
+
- [ ] Return types are consistent
|
|
26
|
+
- [ ] Dual API (class + standalone) works correctly
|
|
27
|
+
|
|
28
|
+
### 4. Error Handling
|
|
29
|
+
- [ ] Error hierarchy is logical and complete
|
|
30
|
+
- [ ] Error messages are actionable
|
|
31
|
+
- [ ] All error cases are covered
|
|
32
|
+
- [ ] Network errors are properly wrapped
|
|
33
|
+
- [ ] Validation errors include field information
|
|
34
|
+
|
|
35
|
+
### 5. Data Models
|
|
36
|
+
- [ ] Zod schemas validate all required fields
|
|
37
|
+
- [ ] Optional/nullable fields handled correctly
|
|
38
|
+
- [ ] Transformations preserve data integrity
|
|
39
|
+
- [ ] Schema matches API specification
|
|
40
|
+
- [ ] Breaking changes are documented
|
|
41
|
+
|
|
42
|
+
### 6. Developer Experience
|
|
43
|
+
- [ ] TypeScript autocomplete works perfectly
|
|
44
|
+
- [ ] Examples are clear and runnable
|
|
45
|
+
- [ ] Error messages guide developers to solutions
|
|
46
|
+
- [ ] Getting started time < 5 minutes
|
|
47
|
+
- [ ] Common use cases have examples
|
|
48
|
+
|
|
49
|
+
### 7. Performance
|
|
50
|
+
- [ ] Bundle size is optimized (tree-shaking works)
|
|
51
|
+
- [ ] No memory leaks detected
|
|
52
|
+
- [ ] HTTP requests are efficient
|
|
53
|
+
- [ ] Encoding/decoding is fast
|
|
54
|
+
- [ ] Lazy loading reduces initial overhead
|
|
55
|
+
|
|
56
|
+
### 8. Security
|
|
57
|
+
- [ ] API keys are never logged
|
|
58
|
+
- [ ] Webhook signatures are verified
|
|
59
|
+
- [ ] Input validation prevents injection
|
|
60
|
+
- [ ] HTTPS is enforced
|
|
61
|
+
- [ ] Sensitive data is not exposed in errors
|
|
62
|
+
|
|
63
|
+
### 9. Testing
|
|
64
|
+
- [ ] Core modules have unit tests
|
|
65
|
+
- [ ] Services have integration tests
|
|
66
|
+
- [ ] Coverage meets targets (80%+)
|
|
67
|
+
- [ ] Tests are maintainable
|
|
68
|
+
- [ ] CI/CD runs tests automatically
|
|
69
|
+
|
|
70
|
+
### 10. Documentation
|
|
71
|
+
- [ ] README is comprehensive
|
|
72
|
+
- [ ] API reference is complete
|
|
73
|
+
- [ ] Examples cover common use cases
|
|
74
|
+
- [ ] Migration guides exist
|
|
75
|
+
- [ ] Changelog is maintained
|
|
76
|
+
|
|
77
|
+
## Review Process
|
|
78
|
+
|
|
79
|
+
1. **Automated Checks**
|
|
80
|
+
- Run TypeScript compiler
|
|
81
|
+
- Run linter
|
|
82
|
+
- Run test suite
|
|
83
|
+
- Check coverage
|
|
84
|
+
- Analyze bundle size
|
|
85
|
+
|
|
86
|
+
2. **Manual Review**
|
|
87
|
+
- Review code structure
|
|
88
|
+
- Test API ergonomics
|
|
89
|
+
- Validate examples
|
|
90
|
+
- Check documentation
|
|
91
|
+
- Compare with competitors
|
|
92
|
+
|
|
93
|
+
3. **Stakeholder Review**
|
|
94
|
+
- Backend Engineer: Technical correctness
|
|
95
|
+
- QA Engineer: Test coverage and quality
|
|
96
|
+
- Product Manager: DX and completeness
|
|
97
|
+
|
|
98
|
+
4. **Report Findings**
|
|
99
|
+
- List critical issues (blockers)
|
|
100
|
+
- List major issues (should fix)
|
|
101
|
+
- List minor issues (nice to fix)
|
|
102
|
+
- List improvements (future)
|
|
103
|
+
|
|
104
|
+
## Architecture Red Flags
|
|
105
|
+
|
|
106
|
+
### Critical (Must Fix Before Release)
|
|
107
|
+
- ❌ TypeScript errors in strict mode
|
|
108
|
+
- ❌ Security vulnerabilities
|
|
109
|
+
- ❌ Breaking API inconsistencies
|
|
110
|
+
- ❌ Data loss in transformations
|
|
111
|
+
- ❌ Memory leaks
|
|
112
|
+
- ❌ Unhandled error cases
|
|
113
|
+
|
|
114
|
+
### Major (Should Fix Before Release)
|
|
115
|
+
- ⚠️ Poor error messages
|
|
116
|
+
- ⚠️ Missing critical tests
|
|
117
|
+
- ⚠️ Inconsistent naming
|
|
118
|
+
- ⚠️ Large bundle size
|
|
119
|
+
- ⚠️ Slow performance
|
|
120
|
+
- ⚠️ Incomplete documentation
|
|
121
|
+
|
|
122
|
+
### Minor (Can Fix in Patch)
|
|
123
|
+
- ℹ️ Suboptimal code structure
|
|
124
|
+
- ℹ️ Missing JSDoc
|
|
125
|
+
- ℹ️ Redundant code
|
|
126
|
+
- ℹ️ Minor DX issues
|
|
127
|
+
|
|
128
|
+
## Architecture Best Practices Checklist
|
|
129
|
+
|
|
130
|
+
### General
|
|
131
|
+
- [ ] Follows SOLID principles
|
|
132
|
+
- [ ] DRY (Don't Repeat Yourself)
|
|
133
|
+
- [ ] KISS (Keep It Simple, Stupid)
|
|
134
|
+
- [ ] YAGNI (You Aren't Gonna Need It)
|
|
135
|
+
- [ ] Composition over inheritance
|
|
136
|
+
|
|
137
|
+
### TypeScript Specific
|
|
138
|
+
- [ ] Strict mode enabled
|
|
139
|
+
- [ ] Types exported for consumers
|
|
140
|
+
- [ ] Generics used appropriately
|
|
141
|
+
- [ ] Union types for variants
|
|
142
|
+
- [ ] Branded types for IDs
|
|
143
|
+
|
|
144
|
+
### SDK Specific
|
|
145
|
+
- [ ] Client is immutable
|
|
146
|
+
- [ ] Configuration is validated
|
|
147
|
+
- [ ] Requests are retryable
|
|
148
|
+
- [ ] Responses are typed
|
|
149
|
+
- [ ] Errors are structured
|
|
150
|
+
|
|
151
|
+
### Async/Promises
|
|
152
|
+
- [ ] All async functions return promises
|
|
153
|
+
- [ ] Errors are caught appropriately
|
|
154
|
+
- [ ] No unhandled promise rejections
|
|
155
|
+
- [ ] Timeouts are configurable
|
|
156
|
+
- [ ] Cancellation is supported (if needed)
|
|
157
|
+
|
|
158
|
+
## Comparative Analysis
|
|
159
|
+
|
|
160
|
+
### vs. Polar SDK
|
|
161
|
+
- What patterns are we following?
|
|
162
|
+
- What are we doing differently?
|
|
163
|
+
- Are our deviations justified?
|
|
164
|
+
|
|
165
|
+
### vs. Stripe SDK
|
|
166
|
+
- How does DX compare?
|
|
167
|
+
- Are we missing critical features?
|
|
168
|
+
- What can we learn?
|
|
169
|
+
|
|
170
|
+
### vs. Industry Standards
|
|
171
|
+
- Do we follow REST conventions?
|
|
172
|
+
- Is our API idiomatic?
|
|
173
|
+
- Are we using modern patterns?
|
|
174
|
+
|
|
175
|
+
## Review Outcome
|
|
176
|
+
|
|
177
|
+
### Go (Ready for Release)
|
|
178
|
+
All critical issues resolved, major issues have workarounds or are acceptable, documentation is complete.
|
|
179
|
+
|
|
180
|
+
### Go with Conditions
|
|
181
|
+
Most issues resolved, remaining issues documented and accepted as technical debt, release notes include known limitations.
|
|
182
|
+
|
|
183
|
+
### No-Go (Not Ready)
|
|
184
|
+
Critical issues remain, major quality concerns, incomplete implementation, insufficient testing.
|
|
185
|
+
|
|
186
|
+
## Example Review Report
|
|
187
|
+
|
|
188
|
+
```markdown
|
|
189
|
+
# Architecture Review Report
|
|
190
|
+
Date: 2025-11-10
|
|
191
|
+
Reviewer: [Agent Name]
|
|
192
|
+
Version: 0.1.0
|
|
193
|
+
|
|
194
|
+
## Summary
|
|
195
|
+
Overall architecture is solid, following Polar SDK patterns effectively. Found 2 critical issues, 5 major issues, and 8 minor issues.
|
|
196
|
+
|
|
197
|
+
## Critical Issues (Must Fix)
|
|
198
|
+
1. **Type Error in Encodings** - File: src/lib/encodings.ts:42
|
|
199
|
+
- Issue: Type mismatch in outbound schema
|
|
200
|
+
- Impact: Runtime errors for API calls
|
|
201
|
+
- Fix: Update type definition
|
|
202
|
+
|
|
203
|
+
## Major Issues (Should Fix)
|
|
204
|
+
1. **Missing Retry Tests** - File: src/lib/retries.ts
|
|
205
|
+
- Issue: Retry logic not tested with failure scenarios
|
|
206
|
+
- Impact: Untested behavior in production
|
|
207
|
+
- Fix: Add integration tests
|
|
208
|
+
|
|
209
|
+
## Minor Issues (Nice to Fix)
|
|
210
|
+
1. **Missing JSDoc** - File: src/sdk/customers.ts
|
|
211
|
+
- Issue: Some methods lack documentation
|
|
212
|
+
- Impact: Reduced DX
|
|
213
|
+
- Fix: Add JSDoc comments
|
|
214
|
+
|
|
215
|
+
## Recommendations
|
|
216
|
+
1. Follow up on critical issues immediately
|
|
217
|
+
2. Address major issues before beta release
|
|
218
|
+
3. Create tickets for minor issues
|
|
219
|
+
|
|
220
|
+
## Conclusion
|
|
221
|
+
**Status: Go with Conditions**
|
|
222
|
+
Ready for alpha release after fixing 2 critical issues. Major issues can be addressed in beta.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## Usage
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
# Run architecture review
|
|
229
|
+
claude --agent product-manager --prompt .claude/prompts/sdk-architecture-review.md
|
|
230
|
+
|
|
231
|
+
# Or manually invoke
|
|
232
|
+
# Read this prompt and conduct the review following all sections
|
|
233
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(tree:*)",
|
|
5
|
+
"Bash(find:*)",
|
|
6
|
+
"Bash(for file in CONTRIBUTING.md USAGE.md FUNCTIONS.md RELEASES.md RUNTIMES.md)",
|
|
7
|
+
"Bash(do [ -f \"$file\" ]:*)",
|
|
8
|
+
"Bash(done)",
|
|
9
|
+
"Bash(npm run lint:*)",
|
|
10
|
+
"Bash(npm install:*)",
|
|
11
|
+
"Bash(npm run build:*)",
|
|
12
|
+
"Bash(npx tsx:*)",
|
|
13
|
+
"Bash(node -e:*)",
|
|
14
|
+
"Bash(export CHARGEFY_ACCESS_TOKEN:*)",
|
|
15
|
+
"Bash(cat:*)"
|
|
16
|
+
],
|
|
17
|
+
"deny": [],
|
|
18
|
+
"ask": []
|
|
19
|
+
}
|
|
20
|
+
}
|