@polar-sh/sdk 0.43.1 → 0.45.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/README.md +2 -2
- package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts +6 -2
- package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalMembersListMembers.js +65 -10
- package/dist/commonjs/funcs/customerPortalMembersListMembers.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
- package/dist/commonjs/funcs/customersExport.d.ts +8 -2
- package/dist/commonjs/funcs/customersExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersExport.js +9 -2
- package/dist/commonjs/funcs/customersExport.js.map +1 -1
- package/dist/commonjs/funcs/ordersExport.d.ts +9 -3
- package/dist/commonjs/funcs/ordersExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersExport.js +10 -3
- package/dist/commonjs/funcs/ordersExport.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.d.ts +8 -2
- package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.js +11 -2
- package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/address.d.ts +4 -4
- package/dist/commonjs/models/components/address.d.ts.map +1 -1
- package/dist/commonjs/models/components/address.js +3 -2
- package/dist/commonjs/models/components/address.js.map +1 -1
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js +3 -3
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js +3 -2
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefittype.d.ts +4 -4
- package/dist/commonjs/models/components/benefittype.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefittype.js +3 -4
- package/dist/commonjs/models/components/benefittype.js.map +1 -1
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts +4 -4
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts.map +1 -1
- package/dist/commonjs/models/components/billingaddressfieldmode.js +3 -3
- package/dist/commonjs/models/components/billingaddressfieldmode.js.map +1 -1
- package/dist/commonjs/models/components/checkout.d.ts +0 -28
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +1 -37
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.js +0 -2
- package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.d.ts +4 -0
- package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.js +2 -0
- package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +0 -16
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +1 -17
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +0 -16
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +1 -17
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/checkoutstatus.d.ts +4 -4
- package/dist/commonjs/models/components/checkoutstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutstatus.js +3 -3
- package/dist/commonjs/models/components/checkoutstatus.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.js +0 -2
- package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.js +0 -2
- package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/commonjs/models/components/customercancellationreason.d.ts +4 -4
- package/dist/commonjs/models/components/customercancellationreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/customercancellationreason.js +3 -3
- package/dist/commonjs/models/components/customercancellationreason.js.map +1 -1
- package/dist/commonjs/models/components/customerorder.d.ts +0 -4
- package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorder.js +0 -2
- package/dist/commonjs/models/components/customerorder.js.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.d.ts +4 -4
- package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.js +5 -2
- package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
- package/dist/commonjs/models/components/customertype.d.ts +4 -4
- package/dist/commonjs/models/components/customertype.d.ts.map +1 -1
- package/dist/commonjs/models/components/customertype.js +3 -4
- package/dist/commonjs/models/components/customertype.js.map +1 -1
- package/dist/commonjs/models/components/discountduration.d.ts +4 -4
- package/dist/commonjs/models/components/discountduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountduration.js +3 -3
- package/dist/commonjs/models/components/discountduration.js.map +1 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js +2 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js +2 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
- package/dist/commonjs/models/components/discounttype.d.ts +4 -4
- package/dist/commonjs/models/components/discounttype.d.ts.map +1 -1
- package/dist/commonjs/models/components/discounttype.js +3 -4
- package/dist/commonjs/models/components/discounttype.js.map +1 -1
- package/dist/commonjs/models/components/discountupdate.d.ts +2 -1
- package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountupdate.js +2 -1
- package/dist/commonjs/models/components/discountupdate.js.map +1 -1
- package/dist/commonjs/models/components/disputestatus.d.ts +4 -4
- package/dist/commonjs/models/components/disputestatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/disputestatus.js +3 -3
- package/dist/commonjs/models/components/disputestatus.js.map +1 -1
- package/dist/commonjs/models/components/eventsource.d.ts +4 -4
- package/dist/commonjs/models/components/eventsource.d.ts.map +1 -1
- package/dist/commonjs/models/components/eventsource.js +3 -4
- package/dist/commonjs/models/components/eventsource.js.map +1 -1
- package/dist/commonjs/models/components/fileservicetypes.d.ts +3 -3
- package/dist/commonjs/models/components/fileservicetypes.d.ts.map +1 -1
- package/dist/commonjs/models/components/fileservicetypes.js +2 -2
- package/dist/commonjs/models/components/fileservicetypes.js.map +1 -1
- package/dist/commonjs/models/components/filterconjunction.d.ts +4 -4
- package/dist/commonjs/models/components/filterconjunction.d.ts.map +1 -1
- package/dist/commonjs/models/components/filterconjunction.js +3 -3
- package/dist/commonjs/models/components/filterconjunction.js.map +1 -1
- package/dist/commonjs/models/components/filteroperator.d.ts +4 -4
- package/dist/commonjs/models/components/filteroperator.d.ts.map +1 -1
- package/dist/commonjs/models/components/filteroperator.js +3 -3
- package/dist/commonjs/models/components/filteroperator.js.map +1 -1
- package/dist/commonjs/models/components/introspecttokenresponse.d.ts +3 -3
- package/dist/commonjs/models/components/introspecttokenresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/introspecttokenresponse.js +2 -1
- package/dist/commonjs/models/components/introspecttokenresponse.js.map +1 -1
- package/dist/commonjs/models/components/licensekeystatus.d.ts +4 -4
- package/dist/commonjs/models/components/licensekeystatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/licensekeystatus.js +3 -3
- package/dist/commonjs/models/components/licensekeystatus.js.map +1 -1
- package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts +13 -0
- package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricetype.js → listresourcecustomerportalmember.js} +13 -9
- package/dist/commonjs/models/components/listresourcecustomerportalmember.js.map +1 -0
- package/dist/commonjs/models/components/memberrole.d.ts +4 -4
- package/dist/commonjs/models/components/memberrole.d.ts.map +1 -1
- package/dist/commonjs/models/components/memberrole.js +3 -4
- package/dist/commonjs/models/components/memberrole.js.map +1 -1
- package/dist/commonjs/models/components/metrictype.d.ts +3 -3
- package/dist/commonjs/models/components/metrictype.d.ts.map +1 -1
- package/dist/commonjs/models/components/metrictype.js +2 -3
- package/dist/commonjs/models/components/metrictype.js.map +1 -1
- package/dist/commonjs/models/components/order.d.ts +0 -5
- package/dist/commonjs/models/components/order.d.ts.map +1 -1
- package/dist/commonjs/models/components/order.js +0 -4
- package/dist/commonjs/models/components/order.js.map +1 -1
- package/dist/commonjs/models/components/orderbillingreason.d.ts +4 -4
- package/dist/commonjs/models/components/orderbillingreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderbillingreason.js +3 -3
- package/dist/commonjs/models/components/orderbillingreason.js.map +1 -1
- package/dist/commonjs/models/components/orderstatus.d.ts +5 -4
- package/dist/commonjs/models/components/orderstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderstatus.js +4 -4
- package/dist/commonjs/models/components/orderstatus.js.map +1 -1
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts +2 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js +4 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js.map +1 -1
- package/dist/commonjs/models/components/organizationsocialplatforms.d.ts +4 -4
- package/dist/commonjs/models/components/organizationsocialplatforms.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationsocialplatforms.js +3 -3
- package/dist/commonjs/models/components/organizationsocialplatforms.js.map +1 -1
- package/dist/commonjs/models/components/organizationstatus.d.ts +4 -4
- package/dist/commonjs/models/components/organizationstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationstatus.js +3 -3
- package/dist/commonjs/models/components/organizationstatus.js.map +1 -1
- package/dist/commonjs/models/components/paymentstatus.d.ts +4 -4
- package/dist/commonjs/models/components/paymentstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/paymentstatus.js +3 -3
- package/dist/commonjs/models/components/paymentstatus.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts +0 -9
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.js +0 -8
- package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.d.ts +0 -9
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.js +0 -8
- package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/productpricefree.d.ts +0 -9
- package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefree.js +0 -8
- package/dist/commonjs/models/components/productpricefree.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts +0 -9
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js +0 -8
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts +0 -9
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.js +0 -8
- package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
- package/dist/commonjs/models/components/productpricesource.d.ts +4 -4
- package/dist/commonjs/models/components/productpricesource.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricesource.js +3 -3
- package/dist/commonjs/models/components/productpricesource.js.map +1 -1
- package/dist/commonjs/models/components/productvisibility.d.ts +4 -4
- package/dist/commonjs/models/components/productvisibility.d.ts.map +1 -1
- package/dist/commonjs/models/components/productvisibility.js +3 -3
- package/dist/commonjs/models/components/productvisibility.js.map +1 -1
- package/dist/commonjs/models/components/propertyaggregation.d.ts +4 -4
- package/dist/commonjs/models/components/propertyaggregation.d.ts.map +1 -1
- package/dist/commonjs/models/components/propertyaggregation.js +5 -2
- package/dist/commonjs/models/components/propertyaggregation.js.map +1 -1
- package/dist/commonjs/models/components/refundreason.d.ts +4 -4
- package/dist/commonjs/models/components/refundreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/refundreason.js +3 -4
- package/dist/commonjs/models/components/refundreason.js.map +1 -1
- package/dist/commonjs/models/components/refundstatus.d.ts +4 -4
- package/dist/commonjs/models/components/refundstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/refundstatus.js +3 -4
- package/dist/commonjs/models/components/refundstatus.js.map +1 -1
- package/dist/commonjs/models/components/scope.d.ts +3 -3
- package/dist/commonjs/models/components/scope.d.ts.map +1 -1
- package/dist/commonjs/models/components/scope.js +3 -2
- package/dist/commonjs/models/components/scope.js.map +1 -1
- package/dist/commonjs/models/components/seatstatus.d.ts +4 -4
- package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/seatstatus.js +3 -4
- package/dist/commonjs/models/components/seatstatus.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionprorationbehavior.js +3 -3
- package/dist/commonjs/models/components/subscriptionprorationbehavior.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionrecurringinterval.js +3 -3
- package/dist/commonjs/models/components/subscriptionrecurringinterval.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionstatus.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionstatus.js +3 -3
- package/dist/commonjs/models/components/subscriptionstatus.js.map +1 -1
- package/dist/commonjs/models/components/subtype.d.ts +4 -4
- package/dist/commonjs/models/components/subtype.d.ts.map +1 -1
- package/dist/commonjs/models/components/subtype.js +5 -3
- package/dist/commonjs/models/components/subtype.js.map +1 -1
- package/dist/commonjs/models/components/taxidformat.d.ts +4 -4
- package/dist/commonjs/models/components/taxidformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/taxidformat.js +3 -4
- package/dist/commonjs/models/components/taxidformat.js.map +1 -1
- package/dist/commonjs/models/components/trialinterval.d.ts +4 -4
- package/dist/commonjs/models/components/trialinterval.d.ts.map +1 -1
- package/dist/commonjs/models/components/trialinterval.js +3 -3
- package/dist/commonjs/models/components/trialinterval.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpointcreate.d.ts +0 -5
- package/dist/commonjs/models/components/webhookendpointcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpointcreate.js +0 -1
- package/dist/commonjs/models/components/webhookendpointcreate.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts +0 -5
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.js +0 -1
- package/dist/commonjs/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/commonjs/models/components/webhookeventtype.d.ts +4 -4
- package/dist/commonjs/models/components/webhookeventtype.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookeventtype.js +3 -3
- package/dist/commonjs/models/components/webhookeventtype.js.map +1 -1
- package/dist/commonjs/models/components/webhookformat.d.ts +4 -4
- package/dist/commonjs/models/components/webhookformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookformat.js +3 -3
- package/dist/commonjs/models/components/webhookformat.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts +29 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.js +65 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +24 -1
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/customersexport.d.ts +6 -0
- package/dist/commonjs/models/operations/customersexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customersexport.js +8 -1
- package/dist/commonjs/models/operations/customersexport.js.map +1 -1
- package/dist/commonjs/models/operations/ordersexport.d.ts +6 -0
- package/dist/commonjs/models/operations/ordersexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/ordersexport.js +8 -1
- package/dist/commonjs/models/operations/ordersexport.js.map +1 -1
- package/dist/commonjs/models/operations/subscriptionsexport.d.ts +6 -0
- package/dist/commonjs/models/operations/subscriptionsexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/subscriptionsexport.js +8 -1
- package/dist/commonjs/models/operations/subscriptionsexport.js.map +1 -1
- package/dist/commonjs/sdk/customers.d.ts +6 -2
- package/dist/commonjs/sdk/customers.d.ts.map +1 -1
- package/dist/commonjs/sdk/customers.js +3 -1
- package/dist/commonjs/sdk/customers.js.map +1 -1
- package/dist/commonjs/sdk/orders.d.ts +7 -3
- package/dist/commonjs/sdk/orders.d.ts.map +1 -1
- package/dist/commonjs/sdk/orders.js +4 -2
- package/dist/commonjs/sdk/orders.js.map +1 -1
- package/dist/commonjs/sdk/polarmembers.d.ts +5 -1
- package/dist/commonjs/sdk/polarmembers.d.ts.map +1 -1
- package/dist/commonjs/sdk/polarmembers.js +3 -2
- package/dist/commonjs/sdk/polarmembers.js.map +1 -1
- package/dist/commonjs/sdk/seats.d.ts +5 -3
- package/dist/commonjs/sdk/seats.d.ts.map +1 -1
- package/dist/commonjs/sdk/seats.js +3 -2
- package/dist/commonjs/sdk/seats.js.map +1 -1
- package/dist/commonjs/sdk/subscriptions.d.ts +6 -2
- package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
- package/dist/commonjs/sdk/subscriptions.js +3 -1
- package/dist/commonjs/sdk/subscriptions.js.map +1 -1
- package/dist/esm/funcs/customerPortalMembersListMembers.d.ts +6 -2
- package/dist/esm/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalMembersListMembers.js +65 -10
- package/dist/esm/funcs/customerPortalMembersListMembers.js.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
- package/dist/esm/funcs/customersExport.d.ts +8 -2
- package/dist/esm/funcs/customersExport.d.ts.map +1 -1
- package/dist/esm/funcs/customersExport.js +9 -3
- package/dist/esm/funcs/customersExport.js.map +1 -1
- package/dist/esm/funcs/ordersExport.d.ts +9 -3
- package/dist/esm/funcs/ordersExport.d.ts.map +1 -1
- package/dist/esm/funcs/ordersExport.js +10 -4
- package/dist/esm/funcs/ordersExport.js.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.d.ts +8 -2
- package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.js +11 -3
- package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/address.d.ts +4 -4
- package/dist/esm/models/components/address.d.ts.map +1 -1
- package/dist/esm/models/components/address.js +3 -2
- package/dist/esm/models/components/address.js.map +1 -1
- package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitgithubrepositoryproperties.js +3 -3
- package/dist/esm/models/components/benefitgithubrepositoryproperties.js.map +1 -1
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js +3 -2
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
- package/dist/esm/models/components/benefittype.d.ts +4 -4
- package/dist/esm/models/components/benefittype.d.ts.map +1 -1
- package/dist/esm/models/components/benefittype.js +3 -4
- package/dist/esm/models/components/benefittype.js.map +1 -1
- package/dist/esm/models/components/billingaddressfieldmode.d.ts +4 -4
- package/dist/esm/models/components/billingaddressfieldmode.d.ts.map +1 -1
- package/dist/esm/models/components/billingaddressfieldmode.js +3 -3
- package/dist/esm/models/components/billingaddressfieldmode.js.map +1 -1
- package/dist/esm/models/components/checkout.d.ts +0 -28
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +0 -34
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts +0 -7
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.js +0 -2
- package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/esm/models/components/checkoutlink.d.ts +4 -0
- package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlink.js +2 -0
- package/dist/esm/models/components/checkoutlink.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproduct.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproducts.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.js +2 -0
- package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +0 -16
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +0 -15
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +0 -16
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +0 -15
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/checkoutstatus.d.ts +4 -4
- package/dist/esm/models/components/checkoutstatus.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutstatus.js +3 -3
- package/dist/esm/models/components/checkoutstatus.js.map +1 -1
- package/dist/esm/models/components/checkoutupdate.d.ts +0 -7
- package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdate.js +0 -2
- package/dist/esm/models/components/checkoutupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.d.ts +0 -7
- package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.js +0 -2
- package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/esm/models/components/customercancellationreason.d.ts +4 -4
- package/dist/esm/models/components/customercancellationreason.d.ts.map +1 -1
- package/dist/esm/models/components/customercancellationreason.js +3 -3
- package/dist/esm/models/components/customercancellationreason.js.map +1 -1
- package/dist/esm/models/components/customerorder.d.ts +0 -4
- package/dist/esm/models/components/customerorder.d.ts.map +1 -1
- package/dist/esm/models/components/customerorder.js +0 -2
- package/dist/esm/models/components/customerorder.js.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.d.ts +4 -4
- package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.js +5 -2
- package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
- package/dist/esm/models/components/customertype.d.ts +4 -4
- package/dist/esm/models/components/customertype.d.ts.map +1 -1
- package/dist/esm/models/components/customertype.js +3 -4
- package/dist/esm/models/components/customertype.js.map +1 -1
- package/dist/esm/models/components/discountduration.d.ts +4 -4
- package/dist/esm/models/components/discountduration.d.ts.map +1 -1
- package/dist/esm/models/components/discountduration.js +3 -3
- package/dist/esm/models/components/discountduration.js.map +1 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js +2 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.js +2 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
- package/dist/esm/models/components/discounttype.d.ts +4 -4
- package/dist/esm/models/components/discounttype.d.ts.map +1 -1
- package/dist/esm/models/components/discounttype.js +3 -4
- package/dist/esm/models/components/discounttype.js.map +1 -1
- package/dist/esm/models/components/discountupdate.d.ts +2 -1
- package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
- package/dist/esm/models/components/discountupdate.js +2 -1
- package/dist/esm/models/components/discountupdate.js.map +1 -1
- package/dist/esm/models/components/disputestatus.d.ts +4 -4
- package/dist/esm/models/components/disputestatus.d.ts.map +1 -1
- package/dist/esm/models/components/disputestatus.js +3 -3
- package/dist/esm/models/components/disputestatus.js.map +1 -1
- package/dist/esm/models/components/eventsource.d.ts +4 -4
- package/dist/esm/models/components/eventsource.d.ts.map +1 -1
- package/dist/esm/models/components/eventsource.js +3 -4
- package/dist/esm/models/components/eventsource.js.map +1 -1
- package/dist/esm/models/components/fileservicetypes.d.ts +3 -3
- package/dist/esm/models/components/fileservicetypes.d.ts.map +1 -1
- package/dist/esm/models/components/fileservicetypes.js +2 -2
- package/dist/esm/models/components/fileservicetypes.js.map +1 -1
- package/dist/esm/models/components/filterconjunction.d.ts +4 -4
- package/dist/esm/models/components/filterconjunction.d.ts.map +1 -1
- package/dist/esm/models/components/filterconjunction.js +3 -3
- package/dist/esm/models/components/filterconjunction.js.map +1 -1
- package/dist/esm/models/components/filteroperator.d.ts +4 -4
- package/dist/esm/models/components/filteroperator.d.ts.map +1 -1
- package/dist/esm/models/components/filteroperator.js +3 -3
- package/dist/esm/models/components/filteroperator.js.map +1 -1
- package/dist/esm/models/components/introspecttokenresponse.d.ts +3 -3
- package/dist/esm/models/components/introspecttokenresponse.d.ts.map +1 -1
- package/dist/esm/models/components/introspecttokenresponse.js +2 -1
- package/dist/esm/models/components/introspecttokenresponse.js.map +1 -1
- package/dist/esm/models/components/licensekeystatus.d.ts +4 -4
- package/dist/esm/models/components/licensekeystatus.d.ts.map +1 -1
- package/dist/esm/models/components/licensekeystatus.js +3 -3
- package/dist/esm/models/components/licensekeystatus.js.map +1 -1
- package/dist/esm/models/components/listresourcecustomerportalmember.d.ts +13 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.js +16 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.js.map +1 -0
- package/dist/esm/models/components/memberrole.d.ts +4 -4
- package/dist/esm/models/components/memberrole.d.ts.map +1 -1
- package/dist/esm/models/components/memberrole.js +3 -4
- package/dist/esm/models/components/memberrole.js.map +1 -1
- package/dist/esm/models/components/metrictype.d.ts +3 -3
- package/dist/esm/models/components/metrictype.d.ts.map +1 -1
- package/dist/esm/models/components/metrictype.js +2 -3
- package/dist/esm/models/components/metrictype.js.map +1 -1
- package/dist/esm/models/components/order.d.ts +0 -5
- package/dist/esm/models/components/order.d.ts.map +1 -1
- package/dist/esm/models/components/order.js +0 -4
- package/dist/esm/models/components/order.js.map +1 -1
- package/dist/esm/models/components/orderbillingreason.d.ts +4 -4
- package/dist/esm/models/components/orderbillingreason.d.ts.map +1 -1
- package/dist/esm/models/components/orderbillingreason.js +3 -3
- package/dist/esm/models/components/orderbillingreason.js.map +1 -1
- package/dist/esm/models/components/orderstatus.d.ts +5 -4
- package/dist/esm/models/components/orderstatus.d.ts.map +1 -1
- package/dist/esm/models/components/orderstatus.js +4 -4
- package/dist/esm/models/components/orderstatus.js.map +1 -1
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts +2 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationcustomeremailsettings.js +4 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.js.map +1 -1
- package/dist/esm/models/components/organizationsocialplatforms.d.ts +4 -4
- package/dist/esm/models/components/organizationsocialplatforms.d.ts.map +1 -1
- package/dist/esm/models/components/organizationsocialplatforms.js +3 -3
- package/dist/esm/models/components/organizationsocialplatforms.js.map +1 -1
- package/dist/esm/models/components/organizationstatus.d.ts +4 -4
- package/dist/esm/models/components/organizationstatus.d.ts.map +1 -1
- package/dist/esm/models/components/organizationstatus.js +3 -3
- package/dist/esm/models/components/organizationstatus.js.map +1 -1
- package/dist/esm/models/components/paymentstatus.d.ts +4 -4
- package/dist/esm/models/components/paymentstatus.d.ts.map +1 -1
- package/dist/esm/models/components/paymentstatus.js +3 -3
- package/dist/esm/models/components/paymentstatus.js.map +1 -1
- package/dist/esm/models/components/productpricecustom.d.ts +0 -9
- package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/productpricecustom.js +0 -8
- package/dist/esm/models/components/productpricecustom.js.map +1 -1
- package/dist/esm/models/components/productpricefixed.d.ts +0 -9
- package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefixed.js +0 -8
- package/dist/esm/models/components/productpricefixed.js.map +1 -1
- package/dist/esm/models/components/productpricefree.d.ts +0 -9
- package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefree.js +0 -8
- package/dist/esm/models/components/productpricefree.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts +0 -9
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.js +0 -8
- package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts +0 -9
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.js +0 -8
- package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
- package/dist/esm/models/components/productpricesource.d.ts +4 -4
- package/dist/esm/models/components/productpricesource.d.ts.map +1 -1
- package/dist/esm/models/components/productpricesource.js +3 -3
- package/dist/esm/models/components/productpricesource.js.map +1 -1
- package/dist/esm/models/components/productvisibility.d.ts +4 -4
- package/dist/esm/models/components/productvisibility.d.ts.map +1 -1
- package/dist/esm/models/components/productvisibility.js +3 -3
- package/dist/esm/models/components/productvisibility.js.map +1 -1
- package/dist/esm/models/components/propertyaggregation.d.ts +4 -4
- package/dist/esm/models/components/propertyaggregation.d.ts.map +1 -1
- package/dist/esm/models/components/propertyaggregation.js +5 -2
- package/dist/esm/models/components/propertyaggregation.js.map +1 -1
- package/dist/esm/models/components/refundreason.d.ts +4 -4
- package/dist/esm/models/components/refundreason.d.ts.map +1 -1
- package/dist/esm/models/components/refundreason.js +3 -4
- package/dist/esm/models/components/refundreason.js.map +1 -1
- package/dist/esm/models/components/refundstatus.d.ts +4 -4
- package/dist/esm/models/components/refundstatus.d.ts.map +1 -1
- package/dist/esm/models/components/refundstatus.js +3 -4
- package/dist/esm/models/components/refundstatus.js.map +1 -1
- package/dist/esm/models/components/scope.d.ts +3 -3
- package/dist/esm/models/components/scope.d.ts.map +1 -1
- package/dist/esm/models/components/scope.js +3 -2
- package/dist/esm/models/components/scope.js.map +1 -1
- package/dist/esm/models/components/seatstatus.d.ts +4 -4
- package/dist/esm/models/components/seatstatus.d.ts.map +1 -1
- package/dist/esm/models/components/seatstatus.js +3 -4
- package/dist/esm/models/components/seatstatus.js.map +1 -1
- package/dist/esm/models/components/subscriptionprorationbehavior.d.ts +4 -4
- package/dist/esm/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionprorationbehavior.js +3 -3
- package/dist/esm/models/components/subscriptionprorationbehavior.js.map +1 -1
- package/dist/esm/models/components/subscriptionrecurringinterval.d.ts +4 -4
- package/dist/esm/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionrecurringinterval.js +3 -3
- package/dist/esm/models/components/subscriptionrecurringinterval.js.map +1 -1
- package/dist/esm/models/components/subscriptionstatus.d.ts +4 -4
- package/dist/esm/models/components/subscriptionstatus.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionstatus.js +3 -3
- package/dist/esm/models/components/subscriptionstatus.js.map +1 -1
- package/dist/esm/models/components/subtype.d.ts +4 -4
- package/dist/esm/models/components/subtype.d.ts.map +1 -1
- package/dist/esm/models/components/subtype.js +5 -3
- package/dist/esm/models/components/subtype.js.map +1 -1
- package/dist/esm/models/components/taxidformat.d.ts +4 -4
- package/dist/esm/models/components/taxidformat.d.ts.map +1 -1
- package/dist/esm/models/components/taxidformat.js +3 -4
- package/dist/esm/models/components/taxidformat.js.map +1 -1
- package/dist/esm/models/components/trialinterval.d.ts +4 -4
- package/dist/esm/models/components/trialinterval.d.ts.map +1 -1
- package/dist/esm/models/components/trialinterval.js +3 -3
- package/dist/esm/models/components/trialinterval.js.map +1 -1
- package/dist/esm/models/components/webhookendpointcreate.d.ts +0 -5
- package/dist/esm/models/components/webhookendpointcreate.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpointcreate.js +0 -1
- package/dist/esm/models/components/webhookendpointcreate.js.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.d.ts +0 -5
- package/dist/esm/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.js +0 -1
- package/dist/esm/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/esm/models/components/webhookeventtype.d.ts +4 -4
- package/dist/esm/models/components/webhookeventtype.d.ts.map +1 -1
- package/dist/esm/models/components/webhookeventtype.js +3 -3
- package/dist/esm/models/components/webhookeventtype.js.map +1 -1
- package/dist/esm/models/components/webhookformat.d.ts +4 -4
- package/dist/esm/models/components/webhookformat.d.ts.map +1 -1
- package/dist/esm/models/components/webhookformat.js +3 -3
- package/dist/esm/models/components/webhookformat.js.map +1 -1
- package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts +29 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.js +27 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +21 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/customersexport.d.ts +6 -0
- package/dist/esm/models/operations/customersexport.d.ts.map +1 -1
- package/dist/esm/models/operations/customersexport.js +6 -0
- package/dist/esm/models/operations/customersexport.js.map +1 -1
- package/dist/esm/models/operations/ordersexport.d.ts +6 -0
- package/dist/esm/models/operations/ordersexport.d.ts.map +1 -1
- package/dist/esm/models/operations/ordersexport.js +6 -0
- package/dist/esm/models/operations/ordersexport.js.map +1 -1
- package/dist/esm/models/operations/subscriptionsexport.d.ts +6 -0
- package/dist/esm/models/operations/subscriptionsexport.d.ts.map +1 -1
- package/dist/esm/models/operations/subscriptionsexport.js +6 -0
- package/dist/esm/models/operations/subscriptionsexport.js.map +1 -1
- package/dist/esm/sdk/customers.d.ts +6 -2
- package/dist/esm/sdk/customers.d.ts.map +1 -1
- package/dist/esm/sdk/customers.js +1 -0
- package/dist/esm/sdk/customers.js.map +1 -1
- package/dist/esm/sdk/orders.d.ts +7 -3
- package/dist/esm/sdk/orders.d.ts.map +1 -1
- package/dist/esm/sdk/orders.js +2 -1
- package/dist/esm/sdk/orders.js.map +1 -1
- package/dist/esm/sdk/polarmembers.d.ts +5 -1
- package/dist/esm/sdk/polarmembers.d.ts.map +1 -1
- package/dist/esm/sdk/polarmembers.js +3 -2
- package/dist/esm/sdk/polarmembers.js.map +1 -1
- package/dist/esm/sdk/seats.d.ts +5 -3
- package/dist/esm/sdk/seats.d.ts.map +1 -1
- package/dist/esm/sdk/seats.js +3 -2
- package/dist/esm/sdk/seats.js.map +1 -1
- package/dist/esm/sdk/subscriptions.d.ts +6 -2
- package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
- package/dist/esm/sdk/subscriptions.js +2 -1
- package/dist/esm/sdk/subscriptions.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/customerPortalMembersListMembers.ts +146 -33
- package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +153 -34
- package/src/funcs/customersExport.ts +16 -7
- package/src/funcs/ordersExport.ts +17 -8
- package/src/funcs/subscriptionsExport.ts +18 -7
- package/src/lib/config.ts +3 -3
- package/src/models/components/address.ts +11 -6
- package/src/models/components/benefitgithubrepositoryproperties.ts +7 -6
- package/src/models/components/benefitgrantgithubrepositoryproperties.ts +7 -6
- package/src/models/components/benefitlicensekeyexpirationproperties.ts +7 -7
- package/src/models/components/benefittype.ts +7 -6
- package/src/models/components/billingaddressfieldmode.ts +11 -10
- package/src/models/components/checkout.ts +0 -85
- package/src/models/components/checkoutconfirmstripe.ts +0 -9
- package/src/models/components/checkoutlink.ts +6 -0
- package/src/models/components/checkoutlinkcreateproduct.ts +7 -0
- package/src/models/components/checkoutlinkcreateproductprice.ts +7 -0
- package/src/models/components/checkoutlinkcreateproducts.ts +7 -0
- package/src/models/components/checkoutlinkupdate.ts +7 -0
- package/src/models/components/checkoutpublic.ts +0 -44
- package/src/models/components/checkoutpublicconfirmed.ts +0 -45
- package/src/models/components/checkoutstatus.ts +11 -8
- package/src/models/components/checkoutupdate.ts +0 -9
- package/src/models/components/checkoutupdatepublic.ts +0 -9
- package/src/models/components/customercancellationreason.ts +11 -8
- package/src/models/components/customerorder.ts +0 -6
- package/src/models/components/customerstatesubscription.ts +7 -7
- package/src/models/components/customertype.ts +7 -6
- package/src/models/components/discountduration.ts +11 -8
- package/src/models/components/discountfixedonceforeverdurationcreate.ts +7 -6
- package/src/models/components/discountfixedrepeatdurationcreate.ts +7 -6
- package/src/models/components/discounttype.ts +7 -6
- package/src/models/components/discountupdate.ts +6 -2
- package/src/models/components/disputestatus.ts +11 -6
- package/src/models/components/eventsource.ts +7 -6
- package/src/models/components/fileservicetypes.ts +7 -5
- package/src/models/components/filterconjunction.ts +11 -8
- package/src/models/components/filteroperator.ts +11 -8
- package/src/models/components/introspecttokenresponse.ts +5 -5
- package/src/models/components/licensekeystatus.ts +11 -8
- package/src/models/components/listresourcecustomerportalmember.ts +37 -0
- package/src/models/components/memberrole.ts +7 -6
- package/src/models/components/metrictype.ts +5 -4
- package/src/models/components/order.ts +0 -9
- package/src/models/components/orderbillingreason.ts +11 -8
- package/src/models/components/orderstatus.ts +8 -6
- package/src/models/components/organizationcustomeremailsettings.ts +6 -0
- package/src/models/components/organizationsocialplatforms.ts +11 -8
- package/src/models/components/organizationstatus.ts +11 -8
- package/src/models/components/paymentstatus.ts +11 -6
- package/src/models/components/productpricecustom.ts +0 -23
- package/src/models/components/productpricefixed.ts +0 -23
- package/src/models/components/productpricefree.ts +0 -23
- package/src/models/components/productpricemeteredunit.ts +0 -23
- package/src/models/components/productpriceseatbased.ts +0 -23
- package/src/models/components/productpricesource.ts +11 -8
- package/src/models/components/productvisibility.ts +11 -8
- package/src/models/components/propertyaggregation.ts +7 -5
- package/src/models/components/refundreason.ts +7 -6
- package/src/models/components/refundstatus.ts +7 -6
- package/src/models/components/scope.ts +5 -3
- package/src/models/components/seatstatus.ts +7 -6
- package/src/models/components/subscriptionprorationbehavior.ts +11 -8
- package/src/models/components/subscriptionrecurringinterval.ts +11 -8
- package/src/models/components/subscriptionstatus.ts +11 -8
- package/src/models/components/subtype.ts +7 -7
- package/src/models/components/taxidformat.ts +7 -6
- package/src/models/components/trialinterval.ts +11 -6
- package/src/models/components/webhookendpointcreate.ts +0 -6
- package/src/models/components/webhookendpointupdate.ts +0 -6
- package/src/models/components/webhookeventtype.ts +11 -8
- package/src/models/components/webhookformat.ts +11 -6
- package/src/models/operations/customerportalmemberslistmembers.ts +84 -0
- package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +79 -0
- package/src/models/operations/customersexport.ts +21 -0
- package/src/models/operations/ordersexport.ts +21 -0
- package/src/models/operations/subscriptionsexport.ts +21 -0
- package/src/sdk/customers.ts +9 -4
- package/src/sdk/orders.ts +10 -5
- package/src/sdk/polarmembers.ts +11 -2
- package/src/sdk/seats.ts +15 -4
- package/src/sdk/subscriptions.ts +12 -4
- package/.devcontainer/devcontainer.json +0 -45
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/dist/commonjs/models/components/productpricetype.d.ts +0 -12
- package/dist/commonjs/models/components/productpricetype.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricetype.js.map +0 -1
- package/dist/esm/models/components/productpricetype.d.ts +0 -12
- package/dist/esm/models/components/productpricetype.d.ts.map +0 -1
- package/dist/esm/models/components/productpricetype.js +0 -13
- package/dist/esm/models/components/productpricetype.js.map +0 -1
- package/examples/package-lock.json +0 -616
- package/examples/package.json +0 -18
- package/src/models/components/productpricetype.ts +0 -21
- package/tsconfig.json +0 -40
|
@@ -78,6 +78,10 @@ export type CheckoutLink = {
|
|
|
78
78
|
* URL where the customer will be redirected after a successful payment.
|
|
79
79
|
*/
|
|
80
80
|
successUrl: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* When set, a back button will be shown in the checkout to return to this URL.
|
|
83
|
+
*/
|
|
84
|
+
returnUrl: string | null;
|
|
81
85
|
/**
|
|
82
86
|
* Optional label to distinguish links internally
|
|
83
87
|
*/
|
|
@@ -147,6 +151,7 @@ export const CheckoutLink$inboundSchema: z.ZodMiniType<CheckoutLink, unknown> =
|
|
|
147
151
|
payment_processor: PaymentProcessor$inboundSchema,
|
|
148
152
|
client_secret: z.string(),
|
|
149
153
|
success_url: z.nullable(z.string()),
|
|
154
|
+
return_url: z.nullable(z.string()),
|
|
150
155
|
label: z.nullable(z.string()),
|
|
151
156
|
allow_discount_codes: z.boolean(),
|
|
152
157
|
require_billing_address: z.boolean(),
|
|
@@ -172,6 +177,7 @@ export const CheckoutLink$inboundSchema: z.ZodMiniType<CheckoutLink, unknown> =
|
|
|
172
177
|
"payment_processor": "paymentProcessor",
|
|
173
178
|
"client_secret": "clientSecret",
|
|
174
179
|
"success_url": "successUrl",
|
|
180
|
+
"return_url": "returnUrl",
|
|
175
181
|
"allow_discount_codes": "allowDiscountCodes",
|
|
176
182
|
"require_billing_address": "requireBillingAddress",
|
|
177
183
|
"discount_id": "discountId",
|
|
@@ -72,6 +72,10 @@ export type CheckoutLinkCreateProduct = {
|
|
|
72
72
|
* URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
|
|
73
73
|
*/
|
|
74
74
|
successUrl?: string | null | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* When set, a back button will be shown in the checkout to return to this URL.
|
|
77
|
+
*/
|
|
78
|
+
returnUrl?: string | null | undefined;
|
|
75
79
|
productId: string;
|
|
76
80
|
};
|
|
77
81
|
|
|
@@ -109,6 +113,7 @@ export type CheckoutLinkCreateProduct$Outbound = {
|
|
|
109
113
|
require_billing_address: boolean;
|
|
110
114
|
discount_id?: string | null | undefined;
|
|
111
115
|
success_url?: string | null | undefined;
|
|
116
|
+
return_url?: string | null | undefined;
|
|
112
117
|
product_id: string;
|
|
113
118
|
};
|
|
114
119
|
|
|
@@ -132,6 +137,7 @@ export const CheckoutLinkCreateProduct$outboundSchema: z.ZodMiniType<
|
|
|
132
137
|
requireBillingAddress: z._default(z.boolean(), false),
|
|
133
138
|
discountId: z.optional(z.nullable(z.string())),
|
|
134
139
|
successUrl: z.optional(z.nullable(z.string())),
|
|
140
|
+
returnUrl: z.optional(z.nullable(z.string())),
|
|
135
141
|
productId: z.string(),
|
|
136
142
|
}),
|
|
137
143
|
z.transform((v) => {
|
|
@@ -143,6 +149,7 @@ export const CheckoutLinkCreateProduct$outboundSchema: z.ZodMiniType<
|
|
|
143
149
|
requireBillingAddress: "require_billing_address",
|
|
144
150
|
discountId: "discount_id",
|
|
145
151
|
successUrl: "success_url",
|
|
152
|
+
returnUrl: "return_url",
|
|
146
153
|
productId: "product_id",
|
|
147
154
|
});
|
|
148
155
|
}),
|
|
@@ -72,6 +72,10 @@ export type CheckoutLinkCreateProductPrice = {
|
|
|
72
72
|
* URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
|
|
73
73
|
*/
|
|
74
74
|
successUrl?: string | null | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* When set, a back button will be shown in the checkout to return to this URL.
|
|
77
|
+
*/
|
|
78
|
+
returnUrl?: string | null | undefined;
|
|
75
79
|
productPriceId: string;
|
|
76
80
|
};
|
|
77
81
|
|
|
@@ -111,6 +115,7 @@ export type CheckoutLinkCreateProductPrice$Outbound = {
|
|
|
111
115
|
require_billing_address: boolean;
|
|
112
116
|
discount_id?: string | null | undefined;
|
|
113
117
|
success_url?: string | null | undefined;
|
|
118
|
+
return_url?: string | null | undefined;
|
|
114
119
|
product_price_id: string;
|
|
115
120
|
};
|
|
116
121
|
|
|
@@ -134,6 +139,7 @@ export const CheckoutLinkCreateProductPrice$outboundSchema: z.ZodMiniType<
|
|
|
134
139
|
requireBillingAddress: z._default(z.boolean(), false),
|
|
135
140
|
discountId: z.optional(z.nullable(z.string())),
|
|
136
141
|
successUrl: z.optional(z.nullable(z.string())),
|
|
142
|
+
returnUrl: z.optional(z.nullable(z.string())),
|
|
137
143
|
productPriceId: z.string(),
|
|
138
144
|
}),
|
|
139
145
|
z.transform((v) => {
|
|
@@ -145,6 +151,7 @@ export const CheckoutLinkCreateProductPrice$outboundSchema: z.ZodMiniType<
|
|
|
145
151
|
requireBillingAddress: "require_billing_address",
|
|
146
152
|
discountId: "discount_id",
|
|
147
153
|
successUrl: "success_url",
|
|
154
|
+
returnUrl: "return_url",
|
|
148
155
|
productPriceId: "product_price_id",
|
|
149
156
|
});
|
|
150
157
|
}),
|
|
@@ -68,6 +68,10 @@ export type CheckoutLinkCreateProducts = {
|
|
|
68
68
|
* URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
|
|
69
69
|
*/
|
|
70
70
|
successUrl?: string | null | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* When set, a back button will be shown in the checkout to return to this URL.
|
|
73
|
+
*/
|
|
74
|
+
returnUrl?: string | null | undefined;
|
|
71
75
|
/**
|
|
72
76
|
* List of products that will be available to select at checkout.
|
|
73
77
|
*/
|
|
@@ -108,6 +112,7 @@ export type CheckoutLinkCreateProducts$Outbound = {
|
|
|
108
112
|
require_billing_address: boolean;
|
|
109
113
|
discount_id?: string | null | undefined;
|
|
110
114
|
success_url?: string | null | undefined;
|
|
115
|
+
return_url?: string | null | undefined;
|
|
111
116
|
products: Array<string>;
|
|
112
117
|
};
|
|
113
118
|
|
|
@@ -131,6 +136,7 @@ export const CheckoutLinkCreateProducts$outboundSchema: z.ZodMiniType<
|
|
|
131
136
|
requireBillingAddress: z._default(z.boolean(), false),
|
|
132
137
|
discountId: z.optional(z.nullable(z.string())),
|
|
133
138
|
successUrl: z.optional(z.nullable(z.string())),
|
|
139
|
+
returnUrl: z.optional(z.nullable(z.string())),
|
|
134
140
|
products: z.array(z.string()),
|
|
135
141
|
}),
|
|
136
142
|
z.transform((v) => {
|
|
@@ -142,6 +148,7 @@ export const CheckoutLinkCreateProducts$outboundSchema: z.ZodMiniType<
|
|
|
142
148
|
requireBillingAddress: "require_billing_address",
|
|
143
149
|
discountId: "discount_id",
|
|
144
150
|
successUrl: "success_url",
|
|
151
|
+
returnUrl: "return_url",
|
|
145
152
|
});
|
|
146
153
|
}),
|
|
147
154
|
);
|
|
@@ -61,6 +61,10 @@ export type CheckoutLinkUpdate = {
|
|
|
61
61
|
* URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
|
|
62
62
|
*/
|
|
63
63
|
successUrl?: string | null | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* When set, a back button will be shown in the checkout to return to this URL.
|
|
66
|
+
*/
|
|
67
|
+
returnUrl?: string | null | undefined;
|
|
64
68
|
};
|
|
65
69
|
|
|
66
70
|
/** @internal */
|
|
@@ -95,6 +99,7 @@ export type CheckoutLinkUpdate$Outbound = {
|
|
|
95
99
|
require_billing_address?: boolean | null | undefined;
|
|
96
100
|
discount_id?: string | null | undefined;
|
|
97
101
|
success_url?: string | null | undefined;
|
|
102
|
+
return_url?: string | null | undefined;
|
|
98
103
|
};
|
|
99
104
|
|
|
100
105
|
/** @internal */
|
|
@@ -117,6 +122,7 @@ export const CheckoutLinkUpdate$outboundSchema: z.ZodMiniType<
|
|
|
117
122
|
requireBillingAddress: z.optional(z.nullable(z.boolean())),
|
|
118
123
|
discountId: z.optional(z.nullable(z.string())),
|
|
119
124
|
successUrl: z.optional(z.nullable(z.string())),
|
|
125
|
+
returnUrl: z.optional(z.nullable(z.string())),
|
|
120
126
|
}),
|
|
121
127
|
z.transform((v) => {
|
|
122
128
|
return remap$(v, {
|
|
@@ -126,6 +132,7 @@ export const CheckoutLinkUpdate$outboundSchema: z.ZodMiniType<
|
|
|
126
132
|
requireBillingAddress: "require_billing_address",
|
|
127
133
|
discountId: "discount_id",
|
|
128
134
|
successUrl: "success_url",
|
|
135
|
+
returnUrl: "return_url",
|
|
129
136
|
});
|
|
130
137
|
}),
|
|
131
138
|
);
|
|
@@ -58,10 +58,6 @@ import { TrialInterval, TrialInterval$inboundSchema } from "./trialinterval.js";
|
|
|
58
58
|
|
|
59
59
|
export type CheckoutPublicCustomFieldData = string | number | boolean | Date;
|
|
60
60
|
|
|
61
|
-
export type CheckoutPublicProductPrice =
|
|
62
|
-
| LegacyRecurringProductPrice
|
|
63
|
-
| ProductPrice;
|
|
64
|
-
|
|
65
61
|
export type CheckoutPublicPrices = LegacyRecurringProductPrice | ProductPrice;
|
|
66
62
|
|
|
67
63
|
export type CheckoutPublicDiscount =
|
|
@@ -174,12 +170,6 @@ export type CheckoutPublic = {
|
|
|
174
170
|
* ID of the product to checkout.
|
|
175
171
|
*/
|
|
176
172
|
productId: string | null;
|
|
177
|
-
/**
|
|
178
|
-
* ID of the product price to checkout.
|
|
179
|
-
*
|
|
180
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
181
|
-
*/
|
|
182
|
-
productPriceId: string | null;
|
|
183
173
|
/**
|
|
184
174
|
* ID of the discount applied to the checkout.
|
|
185
175
|
*/
|
|
@@ -240,12 +230,6 @@ export type CheckoutPublic = {
|
|
|
240
230
|
* Product selected to checkout.
|
|
241
231
|
*/
|
|
242
232
|
product: CheckoutProduct | null;
|
|
243
|
-
/**
|
|
244
|
-
* Price of the selected product.
|
|
245
|
-
*
|
|
246
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
247
|
-
*/
|
|
248
|
-
productPrice: LegacyRecurringProductPrice | ProductPrice | null;
|
|
249
233
|
/**
|
|
250
234
|
* Mapping of product IDs to their list of prices.
|
|
251
235
|
*/
|
|
@@ -283,25 +267,6 @@ export function checkoutPublicCustomFieldDataFromJSON(
|
|
|
283
267
|
);
|
|
284
268
|
}
|
|
285
269
|
|
|
286
|
-
/** @internal */
|
|
287
|
-
export const CheckoutPublicProductPrice$inboundSchema: z.ZodMiniType<
|
|
288
|
-
CheckoutPublicProductPrice,
|
|
289
|
-
unknown
|
|
290
|
-
> = smartUnion([
|
|
291
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
292
|
-
ProductPrice$inboundSchema,
|
|
293
|
-
]);
|
|
294
|
-
|
|
295
|
-
export function checkoutPublicProductPriceFromJSON(
|
|
296
|
-
jsonString: string,
|
|
297
|
-
): SafeParseResult<CheckoutPublicProductPrice, SDKValidationError> {
|
|
298
|
-
return safeParse(
|
|
299
|
-
jsonString,
|
|
300
|
-
(x) => CheckoutPublicProductPrice$inboundSchema.parse(JSON.parse(x)),
|
|
301
|
-
`Failed to parse 'CheckoutPublicProductPrice' from JSON`,
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
270
|
/** @internal */
|
|
306
271
|
export const CheckoutPublicPrices$inboundSchema: z.ZodMiniType<
|
|
307
272
|
CheckoutPublicPrices,
|
|
@@ -399,7 +364,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
|
|
|
399
364
|
),
|
|
400
365
|
organization_id: z.string(),
|
|
401
366
|
product_id: z.nullable(z.string()),
|
|
402
|
-
product_price_id: z.nullable(z.string()),
|
|
403
367
|
discount_id: z.nullable(z.string()),
|
|
404
368
|
allow_discount_codes: z.boolean(),
|
|
405
369
|
require_billing_address: z.boolean(),
|
|
@@ -421,12 +385,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
|
|
|
421
385
|
billing_address_fields: CheckoutBillingAddressFields$inboundSchema,
|
|
422
386
|
products: z.array(CheckoutProduct$inboundSchema),
|
|
423
387
|
product: z.nullable(CheckoutProduct$inboundSchema),
|
|
424
|
-
product_price: z.nullable(
|
|
425
|
-
smartUnion([
|
|
426
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
427
|
-
ProductPrice$inboundSchema,
|
|
428
|
-
]),
|
|
429
|
-
),
|
|
430
388
|
prices: z.nullable(
|
|
431
389
|
z.record(
|
|
432
390
|
z.string(),
|
|
@@ -473,7 +431,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
|
|
|
473
431
|
"trial_end": "trialEnd",
|
|
474
432
|
"organization_id": "organizationId",
|
|
475
433
|
"product_id": "productId",
|
|
476
|
-
"product_price_id": "productPriceId",
|
|
477
434
|
"discount_id": "discountId",
|
|
478
435
|
"allow_discount_codes": "allowDiscountCodes",
|
|
479
436
|
"require_billing_address": "requireBillingAddress",
|
|
@@ -492,7 +449,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
|
|
|
492
449
|
"customer_tax_id": "customerTaxId",
|
|
493
450
|
"payment_processor_metadata": "paymentProcessorMetadata",
|
|
494
451
|
"billing_address_fields": "billingAddressFields",
|
|
495
|
-
"product_price": "productPrice",
|
|
496
452
|
"attached_custom_fields": "attachedCustomFields",
|
|
497
453
|
});
|
|
498
454
|
}),
|
|
@@ -58,10 +58,6 @@ export type CheckoutPublicConfirmedCustomFieldData =
|
|
|
58
58
|
| boolean
|
|
59
59
|
| Date;
|
|
60
60
|
|
|
61
|
-
export type CheckoutPublicConfirmedProductPrice =
|
|
62
|
-
| LegacyRecurringProductPrice
|
|
63
|
-
| ProductPrice;
|
|
64
|
-
|
|
65
61
|
export type CheckoutPublicConfirmedPrices =
|
|
66
62
|
| LegacyRecurringProductPrice
|
|
67
63
|
| ProductPrice;
|
|
@@ -181,12 +177,6 @@ export type CheckoutPublicConfirmed = {
|
|
|
181
177
|
* ID of the product to checkout.
|
|
182
178
|
*/
|
|
183
179
|
productId: string | null;
|
|
184
|
-
/**
|
|
185
|
-
* ID of the product price to checkout.
|
|
186
|
-
*
|
|
187
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
188
|
-
*/
|
|
189
|
-
productPriceId: string | null;
|
|
190
180
|
/**
|
|
191
181
|
* ID of the discount applied to the checkout.
|
|
192
182
|
*/
|
|
@@ -247,12 +237,6 @@ export type CheckoutPublicConfirmed = {
|
|
|
247
237
|
* Product selected to checkout.
|
|
248
238
|
*/
|
|
249
239
|
product: CheckoutProduct | null;
|
|
250
|
-
/**
|
|
251
|
-
* Price of the selected product.
|
|
252
|
-
*
|
|
253
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
254
|
-
*/
|
|
255
|
-
productPrice: LegacyRecurringProductPrice | ProductPrice | null;
|
|
256
240
|
/**
|
|
257
241
|
* Mapping of product IDs to their list of prices.
|
|
258
242
|
*/
|
|
@@ -290,26 +274,6 @@ export function checkoutPublicConfirmedCustomFieldDataFromJSON(
|
|
|
290
274
|
);
|
|
291
275
|
}
|
|
292
276
|
|
|
293
|
-
/** @internal */
|
|
294
|
-
export const CheckoutPublicConfirmedProductPrice$inboundSchema: z.ZodMiniType<
|
|
295
|
-
CheckoutPublicConfirmedProductPrice,
|
|
296
|
-
unknown
|
|
297
|
-
> = smartUnion([
|
|
298
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
299
|
-
ProductPrice$inboundSchema,
|
|
300
|
-
]);
|
|
301
|
-
|
|
302
|
-
export function checkoutPublicConfirmedProductPriceFromJSON(
|
|
303
|
-
jsonString: string,
|
|
304
|
-
): SafeParseResult<CheckoutPublicConfirmedProductPrice, SDKValidationError> {
|
|
305
|
-
return safeParse(
|
|
306
|
-
jsonString,
|
|
307
|
-
(x) =>
|
|
308
|
-
CheckoutPublicConfirmedProductPrice$inboundSchema.parse(JSON.parse(x)),
|
|
309
|
-
`Failed to parse 'CheckoutPublicConfirmedProductPrice' from JSON`,
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
277
|
/** @internal */
|
|
314
278
|
export const CheckoutPublicConfirmedPrices$inboundSchema: z.ZodMiniType<
|
|
315
279
|
CheckoutPublicConfirmedPrices,
|
|
@@ -407,7 +371,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
|
|
|
407
371
|
),
|
|
408
372
|
organization_id: z.string(),
|
|
409
373
|
product_id: z.nullable(z.string()),
|
|
410
|
-
product_price_id: z.nullable(z.string()),
|
|
411
374
|
discount_id: z.nullable(z.string()),
|
|
412
375
|
allow_discount_codes: z.boolean(),
|
|
413
376
|
require_billing_address: z.boolean(),
|
|
@@ -429,12 +392,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
|
|
|
429
392
|
billing_address_fields: CheckoutBillingAddressFields$inboundSchema,
|
|
430
393
|
products: z.array(CheckoutProduct$inboundSchema),
|
|
431
394
|
product: z.nullable(CheckoutProduct$inboundSchema),
|
|
432
|
-
product_price: z.nullable(
|
|
433
|
-
smartUnion([
|
|
434
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
435
|
-
ProductPrice$inboundSchema,
|
|
436
|
-
]),
|
|
437
|
-
),
|
|
438
395
|
prices: z.nullable(
|
|
439
396
|
z.record(
|
|
440
397
|
z.string(),
|
|
@@ -482,7 +439,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
|
|
|
482
439
|
"trial_end": "trialEnd",
|
|
483
440
|
"organization_id": "organizationId",
|
|
484
441
|
"product_id": "productId",
|
|
485
|
-
"product_price_id": "productPriceId",
|
|
486
442
|
"discount_id": "discountId",
|
|
487
443
|
"allow_discount_codes": "allowDiscountCodes",
|
|
488
444
|
"require_billing_address": "requireBillingAddress",
|
|
@@ -501,7 +457,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
|
|
|
501
457
|
"customer_tax_id": "customerTaxId",
|
|
502
458
|
"payment_processor_metadata": "paymentProcessorMetadata",
|
|
503
459
|
"billing_address_fields": "billingAddressFields",
|
|
504
|
-
"product_price": "productPrice",
|
|
505
460
|
"attached_custom_fields": "attachedCustomFields",
|
|
506
461
|
"customer_session_token": "customerSessionToken",
|
|
507
462
|
});
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const CheckoutStatus = {
|
|
9
10
|
Open: "open",
|
|
@@ -12,13 +13,15 @@ export const CheckoutStatus = {
|
|
|
12
13
|
Succeeded: "succeeded",
|
|
13
14
|
Failed: "failed",
|
|
14
15
|
} as const;
|
|
15
|
-
export type CheckoutStatus =
|
|
16
|
+
export type CheckoutStatus = OpenEnum<typeof CheckoutStatus>;
|
|
16
17
|
|
|
17
18
|
/** @internal */
|
|
18
|
-
export const CheckoutStatus$inboundSchema: z.
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
export const CheckoutStatus$inboundSchema: z.ZodMiniType<
|
|
20
|
+
CheckoutStatus,
|
|
21
|
+
unknown
|
|
22
|
+
> = openEnums.inboundSchema(CheckoutStatus);
|
|
21
23
|
/** @internal */
|
|
22
|
-
export const CheckoutStatus$outboundSchema: z.
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
export const CheckoutStatus$outboundSchema: z.ZodMiniType<
|
|
25
|
+
string,
|
|
26
|
+
CheckoutStatus
|
|
27
|
+
> = openEnums.outboundSchema(CheckoutStatus);
|
|
@@ -39,12 +39,6 @@ export type CheckoutUpdate = {
|
|
|
39
39
|
* ID of the product to checkout. Must be present in the checkout's product list.
|
|
40
40
|
*/
|
|
41
41
|
productId?: string | null | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
|
|
44
|
-
*
|
|
45
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
46
|
-
*/
|
|
47
|
-
productPriceId?: string | null | undefined;
|
|
48
42
|
amount?: number | null | undefined;
|
|
49
43
|
/**
|
|
50
44
|
* Number of seats for seat-based pricing.
|
|
@@ -210,7 +204,6 @@ export type CheckoutUpdate$Outbound = {
|
|
|
210
204
|
| { [k: string]: string | number | boolean | string | null }
|
|
211
205
|
| undefined;
|
|
212
206
|
product_id?: string | null | undefined;
|
|
213
|
-
product_price_id?: string | null | undefined;
|
|
214
207
|
amount?: number | null | undefined;
|
|
215
208
|
seats?: number | null | undefined;
|
|
216
209
|
is_business_customer?: boolean | null | undefined;
|
|
@@ -258,7 +251,6 @@ export const CheckoutUpdate$outboundSchema: z.ZodMiniType<
|
|
|
258
251
|
),
|
|
259
252
|
),
|
|
260
253
|
productId: z.optional(z.nullable(z.string())),
|
|
261
|
-
productPriceId: z.optional(z.nullable(z.string())),
|
|
262
254
|
amount: z.optional(z.nullable(z.int())),
|
|
263
255
|
seats: z.optional(z.nullable(z.int())),
|
|
264
256
|
isBusinessCustomer: z.optional(z.nullable(z.boolean())),
|
|
@@ -298,7 +290,6 @@ export const CheckoutUpdate$outboundSchema: z.ZodMiniType<
|
|
|
298
290
|
return remap$(v, {
|
|
299
291
|
customFieldData: "custom_field_data",
|
|
300
292
|
productId: "product_id",
|
|
301
|
-
productPriceId: "product_price_id",
|
|
302
293
|
isBusinessCustomer: "is_business_customer",
|
|
303
294
|
customerName: "customer_name",
|
|
304
295
|
customerEmail: "customer_email",
|
|
@@ -31,12 +31,6 @@ export type CheckoutUpdatePublic = {
|
|
|
31
31
|
* ID of the product to checkout. Must be present in the checkout's product list.
|
|
32
32
|
*/
|
|
33
33
|
productId?: string | null | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
|
|
36
|
-
*
|
|
37
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
|
-
*/
|
|
39
|
-
productPriceId?: string | null | undefined;
|
|
40
34
|
amount?: number | null | undefined;
|
|
41
35
|
/**
|
|
42
36
|
* Number of seats for seat-based pricing.
|
|
@@ -93,7 +87,6 @@ export type CheckoutUpdatePublic$Outbound = {
|
|
|
93
87
|
| { [k: string]: string | number | boolean | string | null }
|
|
94
88
|
| undefined;
|
|
95
89
|
product_id?: string | null | undefined;
|
|
96
|
-
product_price_id?: string | null | undefined;
|
|
97
90
|
amount?: number | null | undefined;
|
|
98
91
|
seats?: number | null | undefined;
|
|
99
92
|
is_business_customer?: boolean | null | undefined;
|
|
@@ -127,7 +120,6 @@ export const CheckoutUpdatePublic$outboundSchema: z.ZodMiniType<
|
|
|
127
120
|
),
|
|
128
121
|
),
|
|
129
122
|
productId: z.optional(z.nullable(z.string())),
|
|
130
|
-
productPriceId: z.optional(z.nullable(z.string())),
|
|
131
123
|
amount: z.optional(z.nullable(z.int())),
|
|
132
124
|
seats: z.optional(z.nullable(z.int())),
|
|
133
125
|
isBusinessCustomer: z.optional(z.nullable(z.boolean())),
|
|
@@ -144,7 +136,6 @@ export const CheckoutUpdatePublic$outboundSchema: z.ZodMiniType<
|
|
|
144
136
|
return remap$(v, {
|
|
145
137
|
customFieldData: "custom_field_data",
|
|
146
138
|
productId: "product_id",
|
|
147
|
-
productPriceId: "product_price_id",
|
|
148
139
|
isBusinessCustomer: "is_business_customer",
|
|
149
140
|
customerName: "customer_name",
|
|
150
141
|
customerEmail: "customer_email",
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const CustomerCancellationReason = {
|
|
9
10
|
CustomerService: "customer_service",
|
|
@@ -15,15 +16,17 @@ export const CustomerCancellationReason = {
|
|
|
15
16
|
Unused: "unused",
|
|
16
17
|
Other: "other",
|
|
17
18
|
} as const;
|
|
18
|
-
export type CustomerCancellationReason =
|
|
19
|
+
export type CustomerCancellationReason = OpenEnum<
|
|
19
20
|
typeof CustomerCancellationReason
|
|
20
21
|
>;
|
|
21
22
|
|
|
22
23
|
/** @internal */
|
|
23
|
-
export const CustomerCancellationReason$inboundSchema: z.
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
export const CustomerCancellationReason$inboundSchema: z.ZodMiniType<
|
|
25
|
+
CustomerCancellationReason,
|
|
26
|
+
unknown
|
|
27
|
+
> = openEnums.inboundSchema(CustomerCancellationReason);
|
|
26
28
|
/** @internal */
|
|
27
|
-
export const CustomerCancellationReason$outboundSchema: z.
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
export const CustomerCancellationReason$outboundSchema: z.ZodMiniType<
|
|
30
|
+
string,
|
|
31
|
+
CustomerCancellationReason
|
|
32
|
+
> = openEnums.outboundSchema(CustomerCancellationReason);
|
|
@@ -104,10 +104,6 @@ export type CustomerOrder = {
|
|
|
104
104
|
discountId: string | null;
|
|
105
105
|
subscriptionId: string | null;
|
|
106
106
|
checkoutId: string | null;
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
109
|
-
*/
|
|
110
|
-
userId: string;
|
|
111
107
|
product: CustomerOrderProduct | null;
|
|
112
108
|
subscription: CustomerOrderSubscription | null;
|
|
113
109
|
/**
|
|
@@ -161,7 +157,6 @@ export const CustomerOrder$inboundSchema: z.ZodMiniType<
|
|
|
161
157
|
discount_id: z.nullable(z.string()),
|
|
162
158
|
subscription_id: z.nullable(z.string()),
|
|
163
159
|
checkout_id: z.nullable(z.string()),
|
|
164
|
-
user_id: z.string(),
|
|
165
160
|
product: z.nullable(CustomerOrderProduct$inboundSchema),
|
|
166
161
|
subscription: z.nullable(CustomerOrderSubscription$inboundSchema),
|
|
167
162
|
items: z.array(OrderItemSchema$inboundSchema),
|
|
@@ -196,7 +191,6 @@ export const CustomerOrder$inboundSchema: z.ZodMiniType<
|
|
|
196
191
|
"discount_id": "discountId",
|
|
197
192
|
"subscription_id": "subscriptionId",
|
|
198
193
|
"checkout_id": "checkoutId",
|
|
199
|
-
"user_id": "userId",
|
|
200
194
|
"next_payment_attempt_at": "nextPaymentAttemptAt",
|
|
201
195
|
});
|
|
202
196
|
}),
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
11
|
import { smartUnion } from "../../types/smartUnion.js";
|
|
11
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -37,7 +38,7 @@ export const Status = {
|
|
|
37
38
|
Active: "active",
|
|
38
39
|
Trialing: "trialing",
|
|
39
40
|
} as const;
|
|
40
|
-
export type Status =
|
|
41
|
+
export type Status = OpenEnum<typeof Status>;
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
44
|
* An active customer subscription.
|
|
@@ -174,12 +175,11 @@ export function customerStateSubscriptionCustomFieldDataFromJSON(
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
/** @internal */
|
|
177
|
-
export const Status$inboundSchema: z.
|
|
178
|
-
Status
|
|
179
|
-
);
|
|
178
|
+
export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = openEnums
|
|
179
|
+
.inboundSchema(Status);
|
|
180
180
|
/** @internal */
|
|
181
|
-
export const Status$outboundSchema: z.
|
|
182
|
-
Status
|
|
181
|
+
export const Status$outboundSchema: z.ZodMiniType<string, Status> = openEnums
|
|
182
|
+
.outboundSchema(Status);
|
|
183
183
|
|
|
184
184
|
/** @internal */
|
|
185
185
|
export const CustomerStateSubscription$inboundSchema: z.ZodMiniType<
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const CustomerType = {
|
|
9
10
|
Individual: "individual",
|
|
10
11
|
Team: "team",
|
|
11
12
|
} as const;
|
|
12
|
-
export type CustomerType =
|
|
13
|
+
export type CustomerType = OpenEnum<typeof CustomerType>;
|
|
13
14
|
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const CustomerType$inboundSchema: z.
|
|
16
|
-
.
|
|
16
|
+
export const CustomerType$inboundSchema: z.ZodMiniType<CustomerType, unknown> =
|
|
17
|
+
openEnums.inboundSchema(CustomerType);
|
|
17
18
|
/** @internal */
|
|
18
|
-
export const CustomerType$outboundSchema: z.
|
|
19
|
-
CustomerType
|
|
19
|
+
export const CustomerType$outboundSchema: z.ZodMiniType<string, CustomerType> =
|
|
20
|
+
openEnums.outboundSchema(CustomerType);
|
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const DiscountDuration = {
|
|
9
10
|
Once: "once",
|
|
10
11
|
Forever: "forever",
|
|
11
12
|
Repeating: "repeating",
|
|
12
13
|
} as const;
|
|
13
|
-
export type DiscountDuration =
|
|
14
|
+
export type DiscountDuration = OpenEnum<typeof DiscountDuration>;
|
|
14
15
|
|
|
15
16
|
/** @internal */
|
|
16
|
-
export const DiscountDuration$inboundSchema: z.
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
export const DiscountDuration$inboundSchema: z.ZodMiniType<
|
|
18
|
+
DiscountDuration,
|
|
19
|
+
unknown
|
|
20
|
+
> = openEnums.inboundSchema(DiscountDuration);
|
|
19
21
|
/** @internal */
|
|
20
|
-
export const DiscountDuration$outboundSchema: z.
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
export const DiscountDuration$outboundSchema: z.ZodMiniType<
|
|
23
|
+
string,
|
|
24
|
+
DiscountDuration
|
|
25
|
+
> = openEnums.outboundSchema(DiscountDuration);
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
DiscountDuration$outboundSchema,
|
|
11
11
|
} from "./discountduration.js";
|
|
12
12
|
import { DiscountType, DiscountType$outboundSchema } from "./discounttype.js";
|
|
13
|
+
import {
|
|
14
|
+
PresentmentCurrency,
|
|
15
|
+
PresentmentCurrency$outboundSchema,
|
|
16
|
+
} from "./presentmentcurrency.js";
|
|
13
17
|
|
|
14
18
|
export type DiscountFixedOnceForeverDurationCreateMetadata =
|
|
15
19
|
| string
|
|
@@ -27,10 +31,7 @@ export type DiscountFixedOnceForeverDurationCreate = {
|
|
|
27
31
|
* Fixed amount to discount from the invoice total.
|
|
28
32
|
*/
|
|
29
33
|
amount: number;
|
|
30
|
-
|
|
31
|
-
* The currency. Currently, only `usd` is supported.
|
|
32
|
-
*/
|
|
33
|
-
currency?: string | undefined;
|
|
34
|
+
currency?: PresentmentCurrency | undefined;
|
|
34
35
|
/**
|
|
35
36
|
* Key-value object allowing you to store additional information.
|
|
36
37
|
*
|
|
@@ -104,7 +105,7 @@ export type DiscountFixedOnceForeverDurationCreate$Outbound = {
|
|
|
104
105
|
duration: string;
|
|
105
106
|
type: string;
|
|
106
107
|
amount: number;
|
|
107
|
-
currency
|
|
108
|
+
currency?: string | undefined;
|
|
108
109
|
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
109
110
|
name: string;
|
|
110
111
|
code?: string | null | undefined;
|
|
@@ -125,7 +126,7 @@ export const DiscountFixedOnceForeverDurationCreate$outboundSchema:
|
|
|
125
126
|
duration: DiscountDuration$outboundSchema,
|
|
126
127
|
type: DiscountType$outboundSchema,
|
|
127
128
|
amount: z.int(),
|
|
128
|
-
currency: z.
|
|
129
|
+
currency: z.optional(PresentmentCurrency$outboundSchema),
|
|
129
130
|
metadata: z.optional(
|
|
130
131
|
z.record(
|
|
131
132
|
z.string(),
|