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,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type BenefitGrantMeterCreditProperties = {
|
|
12
|
+
lastCreditedMeterId?: string | undefined;
|
|
13
|
+
lastCreditedUnits?: number | undefined;
|
|
14
|
+
lastCreditedAt?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const BenefitGrantMeterCreditProperties$inboundSchema: z.ZodType<
|
|
19
|
+
BenefitGrantMeterCreditProperties,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
last_credited_meter_id: z.string().optional(),
|
|
24
|
+
last_credited_units: z.number().int().optional(),
|
|
25
|
+
last_credited_at: z.string().optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"last_credited_meter_id": "lastCreditedMeterId",
|
|
29
|
+
"last_credited_units": "lastCreditedUnits",
|
|
30
|
+
"last_credited_at": "lastCreditedAt",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type BenefitGrantMeterCreditProperties$Outbound = {
|
|
36
|
+
last_credited_meter_id?: string | undefined;
|
|
37
|
+
last_credited_units?: number | undefined;
|
|
38
|
+
last_credited_at?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const BenefitGrantMeterCreditProperties$outboundSchema: z.ZodType<
|
|
43
|
+
BenefitGrantMeterCreditProperties$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
BenefitGrantMeterCreditProperties
|
|
46
|
+
> = z.object({
|
|
47
|
+
lastCreditedMeterId: z.string().optional(),
|
|
48
|
+
lastCreditedUnits: z.number().int().optional(),
|
|
49
|
+
lastCreditedAt: z.string().optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
lastCreditedMeterId: "last_credited_meter_id",
|
|
53
|
+
lastCreditedUnits: "last_credited_units",
|
|
54
|
+
lastCreditedAt: "last_credited_at",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
export namespace BenefitGrantMeterCreditProperties$ {
|
|
63
|
+
/** @deprecated use `BenefitGrantMeterCreditProperties$inboundSchema` instead. */
|
|
64
|
+
export const inboundSchema = BenefitGrantMeterCreditProperties$inboundSchema;
|
|
65
|
+
/** @deprecated use `BenefitGrantMeterCreditProperties$outboundSchema` instead. */
|
|
66
|
+
export const outboundSchema =
|
|
67
|
+
BenefitGrantMeterCreditProperties$outboundSchema;
|
|
68
|
+
/** @deprecated use `BenefitGrantMeterCreditProperties$Outbound` instead. */
|
|
69
|
+
export type Outbound = BenefitGrantMeterCreditProperties$Outbound;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function benefitGrantMeterCreditPropertiesToJSON(
|
|
73
|
+
benefitGrantMeterCreditProperties: BenefitGrantMeterCreditProperties,
|
|
74
|
+
): string {
|
|
75
|
+
return JSON.stringify(
|
|
76
|
+
BenefitGrantMeterCreditProperties$outboundSchema.parse(
|
|
77
|
+
benefitGrantMeterCreditProperties,
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function benefitGrantMeterCreditPropertiesFromJSON(
|
|
83
|
+
jsonString: string,
|
|
84
|
+
): SafeParseResult<BenefitGrantMeterCreditProperties, SDKValidationError> {
|
|
85
|
+
return safeParse(
|
|
86
|
+
jsonString,
|
|
87
|
+
(x) => BenefitGrantMeterCreditProperties$inboundSchema.parse(JSON.parse(x)),
|
|
88
|
+
`Failed to parse 'BenefitGrantMeterCreditProperties' from JSON`,
|
|
89
|
+
);
|
|
90
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
BenefitGrantError,
|
|
12
|
+
BenefitGrantError$inboundSchema,
|
|
13
|
+
BenefitGrantError$Outbound,
|
|
14
|
+
BenefitGrantError$outboundSchema,
|
|
15
|
+
} from "./benefitgranterror.js";
|
|
16
|
+
import {
|
|
17
|
+
BenefitGrantMeterCreditProperties,
|
|
18
|
+
BenefitGrantMeterCreditProperties$inboundSchema,
|
|
19
|
+
BenefitGrantMeterCreditProperties$Outbound,
|
|
20
|
+
BenefitGrantMeterCreditProperties$outboundSchema,
|
|
21
|
+
} from "./benefitgrantmetercreditproperties.js";
|
|
22
|
+
import {
|
|
23
|
+
BenefitMeterCredit,
|
|
24
|
+
BenefitMeterCredit$inboundSchema,
|
|
25
|
+
BenefitMeterCredit$Outbound,
|
|
26
|
+
BenefitMeterCredit$outboundSchema,
|
|
27
|
+
} from "./benefitmetercredit.js";
|
|
28
|
+
import {
|
|
29
|
+
Customer,
|
|
30
|
+
Customer$inboundSchema,
|
|
31
|
+
Customer$Outbound,
|
|
32
|
+
Customer$outboundSchema,
|
|
33
|
+
} from "./customer.js";
|
|
34
|
+
|
|
35
|
+
export type BenefitGrantMeterCreditWebhook = {
|
|
36
|
+
/**
|
|
37
|
+
* Creation timestamp of the object.
|
|
38
|
+
*/
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Last modification timestamp of the object.
|
|
42
|
+
*/
|
|
43
|
+
modifiedAt: Date | null;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the grant.
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
* The timestamp when the benefit was granted. If `None`, the benefit is not granted.
|
|
50
|
+
*/
|
|
51
|
+
grantedAt?: Date | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the benefit is granted.
|
|
54
|
+
*/
|
|
55
|
+
isGranted: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
|
|
58
|
+
*/
|
|
59
|
+
revokedAt?: Date | null | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the benefit is revoked.
|
|
62
|
+
*/
|
|
63
|
+
isRevoked: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the subscription that granted this benefit.
|
|
66
|
+
*/
|
|
67
|
+
subscriptionId: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the order that granted this benefit.
|
|
70
|
+
*/
|
|
71
|
+
orderId: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the customer concerned by this grant.
|
|
74
|
+
*/
|
|
75
|
+
customerId: string;
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the benefit concerned by this grant.
|
|
78
|
+
*/
|
|
79
|
+
benefitId: string;
|
|
80
|
+
/**
|
|
81
|
+
* The error information if the benefit grant failed with an unrecoverable error.
|
|
82
|
+
*/
|
|
83
|
+
error?: BenefitGrantError | null | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* A customer in an organization.
|
|
86
|
+
*/
|
|
87
|
+
customer: Customer;
|
|
88
|
+
/**
|
|
89
|
+
* A benefit of type `meter_unit`.
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
*
|
|
93
|
+
* Use it to grant a number of units on a specific meter.
|
|
94
|
+
*/
|
|
95
|
+
benefit: BenefitMeterCredit;
|
|
96
|
+
properties: BenefitGrantMeterCreditProperties;
|
|
97
|
+
previousProperties?: BenefitGrantMeterCreditProperties | null | undefined;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const BenefitGrantMeterCreditWebhook$inboundSchema: z.ZodType<
|
|
102
|
+
BenefitGrantMeterCreditWebhook,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
unknown
|
|
105
|
+
> = z.object({
|
|
106
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
107
|
+
modified_at: z.nullable(
|
|
108
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
109
|
+
),
|
|
110
|
+
id: z.string(),
|
|
111
|
+
granted_at: z.nullable(
|
|
112
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
113
|
+
).optional(),
|
|
114
|
+
is_granted: z.boolean(),
|
|
115
|
+
revoked_at: z.nullable(
|
|
116
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
117
|
+
).optional(),
|
|
118
|
+
is_revoked: z.boolean(),
|
|
119
|
+
subscription_id: z.nullable(z.string()),
|
|
120
|
+
order_id: z.nullable(z.string()),
|
|
121
|
+
customer_id: z.string(),
|
|
122
|
+
benefit_id: z.string(),
|
|
123
|
+
error: z.nullable(BenefitGrantError$inboundSchema).optional(),
|
|
124
|
+
customer: Customer$inboundSchema,
|
|
125
|
+
benefit: BenefitMeterCredit$inboundSchema,
|
|
126
|
+
properties: BenefitGrantMeterCreditProperties$inboundSchema,
|
|
127
|
+
previous_properties: z.nullable(
|
|
128
|
+
BenefitGrantMeterCreditProperties$inboundSchema,
|
|
129
|
+
).optional(),
|
|
130
|
+
}).transform((v) => {
|
|
131
|
+
return remap$(v, {
|
|
132
|
+
"created_at": "createdAt",
|
|
133
|
+
"modified_at": "modifiedAt",
|
|
134
|
+
"granted_at": "grantedAt",
|
|
135
|
+
"is_granted": "isGranted",
|
|
136
|
+
"revoked_at": "revokedAt",
|
|
137
|
+
"is_revoked": "isRevoked",
|
|
138
|
+
"subscription_id": "subscriptionId",
|
|
139
|
+
"order_id": "orderId",
|
|
140
|
+
"customer_id": "customerId",
|
|
141
|
+
"benefit_id": "benefitId",
|
|
142
|
+
"previous_properties": "previousProperties",
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
export type BenefitGrantMeterCreditWebhook$Outbound = {
|
|
148
|
+
created_at: string;
|
|
149
|
+
modified_at: string | null;
|
|
150
|
+
id: string;
|
|
151
|
+
granted_at?: string | null | undefined;
|
|
152
|
+
is_granted: boolean;
|
|
153
|
+
revoked_at?: string | null | undefined;
|
|
154
|
+
is_revoked: boolean;
|
|
155
|
+
subscription_id: string | null;
|
|
156
|
+
order_id: string | null;
|
|
157
|
+
customer_id: string;
|
|
158
|
+
benefit_id: string;
|
|
159
|
+
error?: BenefitGrantError$Outbound | null | undefined;
|
|
160
|
+
customer: Customer$Outbound;
|
|
161
|
+
benefit: BenefitMeterCredit$Outbound;
|
|
162
|
+
properties: BenefitGrantMeterCreditProperties$Outbound;
|
|
163
|
+
previous_properties?:
|
|
164
|
+
| BenefitGrantMeterCreditProperties$Outbound
|
|
165
|
+
| null
|
|
166
|
+
| undefined;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/** @internal */
|
|
170
|
+
export const BenefitGrantMeterCreditWebhook$outboundSchema: z.ZodType<
|
|
171
|
+
BenefitGrantMeterCreditWebhook$Outbound,
|
|
172
|
+
z.ZodTypeDef,
|
|
173
|
+
BenefitGrantMeterCreditWebhook
|
|
174
|
+
> = z.object({
|
|
175
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
176
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
177
|
+
id: z.string(),
|
|
178
|
+
grantedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
179
|
+
isGranted: z.boolean(),
|
|
180
|
+
revokedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
181
|
+
isRevoked: z.boolean(),
|
|
182
|
+
subscriptionId: z.nullable(z.string()),
|
|
183
|
+
orderId: z.nullable(z.string()),
|
|
184
|
+
customerId: z.string(),
|
|
185
|
+
benefitId: z.string(),
|
|
186
|
+
error: z.nullable(BenefitGrantError$outboundSchema).optional(),
|
|
187
|
+
customer: Customer$outboundSchema,
|
|
188
|
+
benefit: BenefitMeterCredit$outboundSchema,
|
|
189
|
+
properties: BenefitGrantMeterCreditProperties$outboundSchema,
|
|
190
|
+
previousProperties: z.nullable(
|
|
191
|
+
BenefitGrantMeterCreditProperties$outboundSchema,
|
|
192
|
+
).optional(),
|
|
193
|
+
}).transform((v) => {
|
|
194
|
+
return remap$(v, {
|
|
195
|
+
createdAt: "created_at",
|
|
196
|
+
modifiedAt: "modified_at",
|
|
197
|
+
grantedAt: "granted_at",
|
|
198
|
+
isGranted: "is_granted",
|
|
199
|
+
revokedAt: "revoked_at",
|
|
200
|
+
isRevoked: "is_revoked",
|
|
201
|
+
subscriptionId: "subscription_id",
|
|
202
|
+
orderId: "order_id",
|
|
203
|
+
customerId: "customer_id",
|
|
204
|
+
benefitId: "benefit_id",
|
|
205
|
+
previousProperties: "previous_properties",
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
212
|
+
*/
|
|
213
|
+
export namespace BenefitGrantMeterCreditWebhook$ {
|
|
214
|
+
/** @deprecated use `BenefitGrantMeterCreditWebhook$inboundSchema` instead. */
|
|
215
|
+
export const inboundSchema = BenefitGrantMeterCreditWebhook$inboundSchema;
|
|
216
|
+
/** @deprecated use `BenefitGrantMeterCreditWebhook$outboundSchema` instead. */
|
|
217
|
+
export const outboundSchema = BenefitGrantMeterCreditWebhook$outboundSchema;
|
|
218
|
+
/** @deprecated use `BenefitGrantMeterCreditWebhook$Outbound` instead. */
|
|
219
|
+
export type Outbound = BenefitGrantMeterCreditWebhook$Outbound;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export function benefitGrantMeterCreditWebhookToJSON(
|
|
223
|
+
benefitGrantMeterCreditWebhook: BenefitGrantMeterCreditWebhook,
|
|
224
|
+
): string {
|
|
225
|
+
return JSON.stringify(
|
|
226
|
+
BenefitGrantMeterCreditWebhook$outboundSchema.parse(
|
|
227
|
+
benefitGrantMeterCreditWebhook,
|
|
228
|
+
),
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export function benefitGrantMeterCreditWebhookFromJSON(
|
|
233
|
+
jsonString: string,
|
|
234
|
+
): SafeParseResult<BenefitGrantMeterCreditWebhook, SDKValidationError> {
|
|
235
|
+
return safeParse(
|
|
236
|
+
jsonString,
|
|
237
|
+
(x) => BenefitGrantMeterCreditWebhook$inboundSchema.parse(JSON.parse(x)),
|
|
238
|
+
`Failed to parse 'BenefitGrantMeterCreditWebhook' from JSON`,
|
|
239
|
+
);
|
|
240
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const BenefitGrantSortProperty = {
|
|
9
|
+
CreatedAt: "created_at",
|
|
10
|
+
MinusCreatedAt: "-created_at",
|
|
11
|
+
GrantedAt: "granted_at",
|
|
12
|
+
MinusGrantedAt: "-granted_at",
|
|
13
|
+
RevokedAt: "revoked_at",
|
|
14
|
+
MinusRevokedAt: "-revoked_at",
|
|
15
|
+
} as const;
|
|
16
|
+
export type BenefitGrantSortProperty = ClosedEnum<
|
|
17
|
+
typeof BenefitGrantSortProperty
|
|
18
|
+
>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const BenefitGrantSortProperty$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof BenefitGrantSortProperty
|
|
23
|
+
> = z.nativeEnum(BenefitGrantSortProperty);
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const BenefitGrantSortProperty$outboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof BenefitGrantSortProperty
|
|
28
|
+
> = BenefitGrantSortProperty$inboundSchema;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export namespace BenefitGrantSortProperty$ {
|
|
35
|
+
/** @deprecated use `BenefitGrantSortProperty$inboundSchema` instead. */
|
|
36
|
+
export const inboundSchema = BenefitGrantSortProperty$inboundSchema;
|
|
37
|
+
/** @deprecated use `BenefitGrantSortProperty$outboundSchema` instead. */
|
|
38
|
+
export const outboundSchema = BenefitGrantSortProperty$outboundSchema;
|
|
39
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
BenefitGrantCustomWebhook,
|
|
11
|
+
BenefitGrantCustomWebhook$inboundSchema,
|
|
12
|
+
BenefitGrantCustomWebhook$Outbound,
|
|
13
|
+
BenefitGrantCustomWebhook$outboundSchema,
|
|
14
|
+
} from "./benefitgrantcustomwebhook.js";
|
|
15
|
+
import {
|
|
16
|
+
BenefitGrantDiscordWebhook,
|
|
17
|
+
BenefitGrantDiscordWebhook$inboundSchema,
|
|
18
|
+
BenefitGrantDiscordWebhook$Outbound,
|
|
19
|
+
BenefitGrantDiscordWebhook$outboundSchema,
|
|
20
|
+
} from "./benefitgrantdiscordwebhook.js";
|
|
21
|
+
import {
|
|
22
|
+
BenefitGrantDownloadablesWebhook,
|
|
23
|
+
BenefitGrantDownloadablesWebhook$inboundSchema,
|
|
24
|
+
BenefitGrantDownloadablesWebhook$Outbound,
|
|
25
|
+
BenefitGrantDownloadablesWebhook$outboundSchema,
|
|
26
|
+
} from "./benefitgrantdownloadableswebhook.js";
|
|
27
|
+
import {
|
|
28
|
+
BenefitGrantGitHubRepositoryWebhook,
|
|
29
|
+
BenefitGrantGitHubRepositoryWebhook$inboundSchema,
|
|
30
|
+
BenefitGrantGitHubRepositoryWebhook$Outbound,
|
|
31
|
+
BenefitGrantGitHubRepositoryWebhook$outboundSchema,
|
|
32
|
+
} from "./benefitgrantgithubrepositorywebhook.js";
|
|
33
|
+
import {
|
|
34
|
+
BenefitGrantLicenseKeysWebhook,
|
|
35
|
+
BenefitGrantLicenseKeysWebhook$inboundSchema,
|
|
36
|
+
BenefitGrantLicenseKeysWebhook$Outbound,
|
|
37
|
+
BenefitGrantLicenseKeysWebhook$outboundSchema,
|
|
38
|
+
} from "./benefitgrantlicensekeyswebhook.js";
|
|
39
|
+
import {
|
|
40
|
+
BenefitGrantMeterCreditWebhook,
|
|
41
|
+
BenefitGrantMeterCreditWebhook$inboundSchema,
|
|
42
|
+
BenefitGrantMeterCreditWebhook$Outbound,
|
|
43
|
+
BenefitGrantMeterCreditWebhook$outboundSchema,
|
|
44
|
+
} from "./benefitgrantmetercreditwebhook.js";
|
|
45
|
+
|
|
46
|
+
export type BenefitGrantWebhook =
|
|
47
|
+
| BenefitGrantDiscordWebhook
|
|
48
|
+
| BenefitGrantCustomWebhook
|
|
49
|
+
| BenefitGrantGitHubRepositoryWebhook
|
|
50
|
+
| BenefitGrantDownloadablesWebhook
|
|
51
|
+
| BenefitGrantLicenseKeysWebhook
|
|
52
|
+
| BenefitGrantMeterCreditWebhook;
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const BenefitGrantWebhook$inboundSchema: z.ZodType<
|
|
56
|
+
BenefitGrantWebhook,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
unknown
|
|
59
|
+
> = z.union([
|
|
60
|
+
BenefitGrantDiscordWebhook$inboundSchema,
|
|
61
|
+
BenefitGrantCustomWebhook$inboundSchema,
|
|
62
|
+
BenefitGrantGitHubRepositoryWebhook$inboundSchema,
|
|
63
|
+
BenefitGrantDownloadablesWebhook$inboundSchema,
|
|
64
|
+
BenefitGrantLicenseKeysWebhook$inboundSchema,
|
|
65
|
+
BenefitGrantMeterCreditWebhook$inboundSchema,
|
|
66
|
+
]);
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type BenefitGrantWebhook$Outbound =
|
|
70
|
+
| BenefitGrantDiscordWebhook$Outbound
|
|
71
|
+
| BenefitGrantCustomWebhook$Outbound
|
|
72
|
+
| BenefitGrantGitHubRepositoryWebhook$Outbound
|
|
73
|
+
| BenefitGrantDownloadablesWebhook$Outbound
|
|
74
|
+
| BenefitGrantLicenseKeysWebhook$Outbound
|
|
75
|
+
| BenefitGrantMeterCreditWebhook$Outbound;
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const BenefitGrantWebhook$outboundSchema: z.ZodType<
|
|
79
|
+
BenefitGrantWebhook$Outbound,
|
|
80
|
+
z.ZodTypeDef,
|
|
81
|
+
BenefitGrantWebhook
|
|
82
|
+
> = z.union([
|
|
83
|
+
BenefitGrantDiscordWebhook$outboundSchema,
|
|
84
|
+
BenefitGrantCustomWebhook$outboundSchema,
|
|
85
|
+
BenefitGrantGitHubRepositoryWebhook$outboundSchema,
|
|
86
|
+
BenefitGrantDownloadablesWebhook$outboundSchema,
|
|
87
|
+
BenefitGrantLicenseKeysWebhook$outboundSchema,
|
|
88
|
+
BenefitGrantMeterCreditWebhook$outboundSchema,
|
|
89
|
+
]);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
94
|
+
*/
|
|
95
|
+
export namespace BenefitGrantWebhook$ {
|
|
96
|
+
/** @deprecated use `BenefitGrantWebhook$inboundSchema` instead. */
|
|
97
|
+
export const inboundSchema = BenefitGrantWebhook$inboundSchema;
|
|
98
|
+
/** @deprecated use `BenefitGrantWebhook$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema = BenefitGrantWebhook$outboundSchema;
|
|
100
|
+
/** @deprecated use `BenefitGrantWebhook$Outbound` instead. */
|
|
101
|
+
export type Outbound = BenefitGrantWebhook$Outbound;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function benefitGrantWebhookToJSON(
|
|
105
|
+
benefitGrantWebhook: BenefitGrantWebhook,
|
|
106
|
+
): string {
|
|
107
|
+
return JSON.stringify(
|
|
108
|
+
BenefitGrantWebhook$outboundSchema.parse(benefitGrantWebhook),
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function benefitGrantWebhookFromJSON(
|
|
113
|
+
jsonString: string,
|
|
114
|
+
): SafeParseResult<BenefitGrantWebhook, SDKValidationError> {
|
|
115
|
+
return safeParse(
|
|
116
|
+
jsonString,
|
|
117
|
+
(x) => BenefitGrantWebhook$inboundSchema.parse(JSON.parse(x)),
|
|
118
|
+
`Failed to parse 'BenefitGrantWebhook' from JSON`,
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type BenefitLicenseKeyActivationCreateProperties = {
|
|
12
|
+
limit: number;
|
|
13
|
+
enableCustomerAdmin: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const BenefitLicenseKeyActivationCreateProperties$inboundSchema:
|
|
18
|
+
z.ZodType<
|
|
19
|
+
BenefitLicenseKeyActivationCreateProperties,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
limit: z.number().int(),
|
|
24
|
+
enable_customer_admin: z.boolean(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"enable_customer_admin": "enableCustomerAdmin",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type BenefitLicenseKeyActivationCreateProperties$Outbound = {
|
|
33
|
+
limit: number;
|
|
34
|
+
enable_customer_admin: boolean;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const BenefitLicenseKeyActivationCreateProperties$outboundSchema:
|
|
39
|
+
z.ZodType<
|
|
40
|
+
BenefitLicenseKeyActivationCreateProperties$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
BenefitLicenseKeyActivationCreateProperties
|
|
43
|
+
> = z.object({
|
|
44
|
+
limit: z.number().int(),
|
|
45
|
+
enableCustomerAdmin: z.boolean(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
enableCustomerAdmin: "enable_customer_admin",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace BenefitLicenseKeyActivationCreateProperties$ {
|
|
57
|
+
/** @deprecated use `BenefitLicenseKeyActivationCreateProperties$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema =
|
|
59
|
+
BenefitLicenseKeyActivationCreateProperties$inboundSchema;
|
|
60
|
+
/** @deprecated use `BenefitLicenseKeyActivationCreateProperties$outboundSchema` instead. */
|
|
61
|
+
export const outboundSchema =
|
|
62
|
+
BenefitLicenseKeyActivationCreateProperties$outboundSchema;
|
|
63
|
+
/** @deprecated use `BenefitLicenseKeyActivationCreateProperties$Outbound` instead. */
|
|
64
|
+
export type Outbound = BenefitLicenseKeyActivationCreateProperties$Outbound;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function benefitLicenseKeyActivationCreatePropertiesToJSON(
|
|
68
|
+
benefitLicenseKeyActivationCreateProperties:
|
|
69
|
+
BenefitLicenseKeyActivationCreateProperties,
|
|
70
|
+
): string {
|
|
71
|
+
return JSON.stringify(
|
|
72
|
+
BenefitLicenseKeyActivationCreateProperties$outboundSchema.parse(
|
|
73
|
+
benefitLicenseKeyActivationCreateProperties,
|
|
74
|
+
),
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function benefitLicenseKeyActivationCreatePropertiesFromJSON(
|
|
79
|
+
jsonString: string,
|
|
80
|
+
): SafeParseResult<
|
|
81
|
+
BenefitLicenseKeyActivationCreateProperties,
|
|
82
|
+
SDKValidationError
|
|
83
|
+
> {
|
|
84
|
+
return safeParse(
|
|
85
|
+
jsonString,
|
|
86
|
+
(x) =>
|
|
87
|
+
BenefitLicenseKeyActivationCreateProperties$inboundSchema.parse(
|
|
88
|
+
JSON.parse(x),
|
|
89
|
+
),
|
|
90
|
+
`Failed to parse 'BenefitLicenseKeyActivationCreateProperties' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type BenefitLicenseKeyActivationProperties = {
|
|
12
|
+
limit: number;
|
|
13
|
+
enableCustomerAdmin: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const BenefitLicenseKeyActivationProperties$inboundSchema: z.ZodType<
|
|
18
|
+
BenefitLicenseKeyActivationProperties,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
limit: z.number().int(),
|
|
23
|
+
enable_customer_admin: z.boolean(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"enable_customer_admin": "enableCustomerAdmin",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type BenefitLicenseKeyActivationProperties$Outbound = {
|
|
32
|
+
limit: number;
|
|
33
|
+
enable_customer_admin: boolean;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const BenefitLicenseKeyActivationProperties$outboundSchema: z.ZodType<
|
|
38
|
+
BenefitLicenseKeyActivationProperties$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
BenefitLicenseKeyActivationProperties
|
|
41
|
+
> = z.object({
|
|
42
|
+
limit: z.number().int(),
|
|
43
|
+
enableCustomerAdmin: z.boolean(),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
enableCustomerAdmin: "enable_customer_admin",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
export namespace BenefitLicenseKeyActivationProperties$ {
|
|
55
|
+
/** @deprecated use `BenefitLicenseKeyActivationProperties$inboundSchema` instead. */
|
|
56
|
+
export const inboundSchema =
|
|
57
|
+
BenefitLicenseKeyActivationProperties$inboundSchema;
|
|
58
|
+
/** @deprecated use `BenefitLicenseKeyActivationProperties$outboundSchema` instead. */
|
|
59
|
+
export const outboundSchema =
|
|
60
|
+
BenefitLicenseKeyActivationProperties$outboundSchema;
|
|
61
|
+
/** @deprecated use `BenefitLicenseKeyActivationProperties$Outbound` instead. */
|
|
62
|
+
export type Outbound = BenefitLicenseKeyActivationProperties$Outbound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function benefitLicenseKeyActivationPropertiesToJSON(
|
|
66
|
+
benefitLicenseKeyActivationProperties: BenefitLicenseKeyActivationProperties,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
BenefitLicenseKeyActivationProperties$outboundSchema.parse(
|
|
70
|
+
benefitLicenseKeyActivationProperties,
|
|
71
|
+
),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function benefitLicenseKeyActivationPropertiesFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<BenefitLicenseKeyActivationProperties, SDKValidationError> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) =>
|
|
81
|
+
BenefitLicenseKeyActivationProperties$inboundSchema.parse(JSON.parse(x)),
|
|
82
|
+
`Failed to parse 'BenefitLicenseKeyActivationProperties' from JSON`,
|
|
83
|
+
);
|
|
84
|
+
}
|