@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
|
@@ -28,10 +28,17 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
28
28
|
import {
|
|
29
29
|
CustomersExportRequest,
|
|
30
30
|
CustomersExportRequest$outboundSchema,
|
|
31
|
+
CustomersExportResponse,
|
|
32
|
+
CustomersExportResponse$inboundSchema,
|
|
31
33
|
} from "../models/operations/customersexport.js";
|
|
32
34
|
import { APICall, APIPromise } from "../types/async.js";
|
|
33
35
|
import { Result } from "../types/fp.js";
|
|
34
36
|
|
|
37
|
+
export enum ExportAcceptEnum {
|
|
38
|
+
applicationJson = "application/json",
|
|
39
|
+
textCsv = "text/csv",
|
|
40
|
+
}
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* Export Customers
|
|
37
44
|
*
|
|
@@ -43,10 +50,10 @@ import { Result } from "../types/fp.js";
|
|
|
43
50
|
export function customersExport(
|
|
44
51
|
client: PolarCore,
|
|
45
52
|
request: CustomersExportRequest,
|
|
46
|
-
options?: RequestOptions,
|
|
53
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
47
54
|
): APIPromise<
|
|
48
55
|
Result<
|
|
49
|
-
|
|
56
|
+
CustomersExportResponse,
|
|
50
57
|
| HTTPValidationError
|
|
51
58
|
| PolarError
|
|
52
59
|
| ResponseValidationError
|
|
@@ -68,11 +75,11 @@ export function customersExport(
|
|
|
68
75
|
async function $do(
|
|
69
76
|
client: PolarCore,
|
|
70
77
|
request: CustomersExportRequest,
|
|
71
|
-
options?: RequestOptions,
|
|
78
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
72
79
|
): Promise<
|
|
73
80
|
[
|
|
74
81
|
Result<
|
|
75
|
-
|
|
82
|
+
CustomersExportResponse,
|
|
76
83
|
| HTTPValidationError
|
|
77
84
|
| PolarError
|
|
78
85
|
| ResponseValidationError
|
|
@@ -104,7 +111,8 @@ async function $do(
|
|
|
104
111
|
});
|
|
105
112
|
|
|
106
113
|
const headers = new Headers(compactMap({
|
|
107
|
-
Accept:
|
|
114
|
+
Accept: options?.acceptHeaderOverride
|
|
115
|
+
|| "application/json;q=1, text/csv;q=0",
|
|
108
116
|
}));
|
|
109
117
|
|
|
110
118
|
const secConfig = await extractSecurity(client._options.accessToken);
|
|
@@ -158,7 +166,7 @@ async function $do(
|
|
|
158
166
|
};
|
|
159
167
|
|
|
160
168
|
const [result] = await M.match<
|
|
161
|
-
|
|
169
|
+
CustomersExportResponse,
|
|
162
170
|
| HTTPValidationError
|
|
163
171
|
| PolarError
|
|
164
172
|
| ResponseValidationError
|
|
@@ -169,7 +177,8 @@ async function $do(
|
|
|
169
177
|
| UnexpectedClientError
|
|
170
178
|
| SDKValidationError
|
|
171
179
|
>(
|
|
172
|
-
M.json(200,
|
|
180
|
+
M.json(200, CustomersExportResponse$inboundSchema),
|
|
181
|
+
M.text(200, CustomersExportResponse$inboundSchema, { ctype: "text/csv" }),
|
|
173
182
|
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
174
183
|
M.fail("4XX"),
|
|
175
184
|
M.fail("5XX"),
|
|
@@ -28,12 +28,19 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
28
28
|
import {
|
|
29
29
|
OrdersExportRequest,
|
|
30
30
|
OrdersExportRequest$outboundSchema,
|
|
31
|
+
OrdersExportResponse,
|
|
32
|
+
OrdersExportResponse$inboundSchema,
|
|
31
33
|
} from "../models/operations/ordersexport.js";
|
|
32
34
|
import { APICall, APIPromise } from "../types/async.js";
|
|
33
35
|
import { Result } from "../types/fp.js";
|
|
34
36
|
|
|
37
|
+
export enum ExportAcceptEnum {
|
|
38
|
+
applicationJson = "application/json",
|
|
39
|
+
textCsv = "text/csv",
|
|
40
|
+
}
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
|
-
* Export
|
|
43
|
+
* Export Orders
|
|
37
44
|
*
|
|
38
45
|
* @remarks
|
|
39
46
|
* Export orders as a CSV file.
|
|
@@ -43,10 +50,10 @@ import { Result } from "../types/fp.js";
|
|
|
43
50
|
export function ordersExport(
|
|
44
51
|
client: PolarCore,
|
|
45
52
|
request: OrdersExportRequest,
|
|
46
|
-
options?: RequestOptions,
|
|
53
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
47
54
|
): APIPromise<
|
|
48
55
|
Result<
|
|
49
|
-
|
|
56
|
+
OrdersExportResponse,
|
|
50
57
|
| HTTPValidationError
|
|
51
58
|
| PolarError
|
|
52
59
|
| ResponseValidationError
|
|
@@ -68,11 +75,11 @@ export function ordersExport(
|
|
|
68
75
|
async function $do(
|
|
69
76
|
client: PolarCore,
|
|
70
77
|
request: OrdersExportRequest,
|
|
71
|
-
options?: RequestOptions,
|
|
78
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
72
79
|
): Promise<
|
|
73
80
|
[
|
|
74
81
|
Result<
|
|
75
|
-
|
|
82
|
+
OrdersExportResponse,
|
|
76
83
|
| HTTPValidationError
|
|
77
84
|
| PolarError
|
|
78
85
|
| ResponseValidationError
|
|
@@ -105,7 +112,8 @@ async function $do(
|
|
|
105
112
|
});
|
|
106
113
|
|
|
107
114
|
const headers = new Headers(compactMap({
|
|
108
|
-
Accept:
|
|
115
|
+
Accept: options?.acceptHeaderOverride
|
|
116
|
+
|| "application/json;q=1, text/csv;q=0",
|
|
109
117
|
}));
|
|
110
118
|
|
|
111
119
|
const secConfig = await extractSecurity(client._options.accessToken);
|
|
@@ -159,7 +167,7 @@ async function $do(
|
|
|
159
167
|
};
|
|
160
168
|
|
|
161
169
|
const [result] = await M.match<
|
|
162
|
-
|
|
170
|
+
OrdersExportResponse,
|
|
163
171
|
| HTTPValidationError
|
|
164
172
|
| PolarError
|
|
165
173
|
| ResponseValidationError
|
|
@@ -170,7 +178,8 @@ async function $do(
|
|
|
170
178
|
| UnexpectedClientError
|
|
171
179
|
| SDKValidationError
|
|
172
180
|
>(
|
|
173
|
-
M.json(200,
|
|
181
|
+
M.json(200, OrdersExportResponse$inboundSchema),
|
|
182
|
+
M.text(200, OrdersExportResponse$inboundSchema, { ctype: "text/csv" }),
|
|
174
183
|
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
175
184
|
M.fail("4XX"),
|
|
176
185
|
M.fail("5XX"),
|
|
@@ -28,10 +28,17 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
28
28
|
import {
|
|
29
29
|
SubscriptionsExportRequest,
|
|
30
30
|
SubscriptionsExportRequest$outboundSchema,
|
|
31
|
+
SubscriptionsExportResponse,
|
|
32
|
+
SubscriptionsExportResponse$inboundSchema,
|
|
31
33
|
} from "../models/operations/subscriptionsexport.js";
|
|
32
34
|
import { APICall, APIPromise } from "../types/async.js";
|
|
33
35
|
import { Result } from "../types/fp.js";
|
|
34
36
|
|
|
37
|
+
export enum ExportAcceptEnum {
|
|
38
|
+
applicationJson = "application/json",
|
|
39
|
+
textCsv = "text/csv",
|
|
40
|
+
}
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* Export Subscriptions
|
|
37
44
|
*
|
|
@@ -43,10 +50,10 @@ import { Result } from "../types/fp.js";
|
|
|
43
50
|
export function subscriptionsExport(
|
|
44
51
|
client: PolarCore,
|
|
45
52
|
request: SubscriptionsExportRequest,
|
|
46
|
-
options?: RequestOptions,
|
|
53
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
47
54
|
): APIPromise<
|
|
48
55
|
Result<
|
|
49
|
-
|
|
56
|
+
SubscriptionsExportResponse,
|
|
50
57
|
| HTTPValidationError
|
|
51
58
|
| PolarError
|
|
52
59
|
| ResponseValidationError
|
|
@@ -68,11 +75,11 @@ export function subscriptionsExport(
|
|
|
68
75
|
async function $do(
|
|
69
76
|
client: PolarCore,
|
|
70
77
|
request: SubscriptionsExportRequest,
|
|
71
|
-
options?: RequestOptions,
|
|
78
|
+
options?: RequestOptions & { acceptHeaderOverride?: ExportAcceptEnum },
|
|
72
79
|
): Promise<
|
|
73
80
|
[
|
|
74
81
|
Result<
|
|
75
|
-
|
|
82
|
+
SubscriptionsExportResponse,
|
|
76
83
|
| HTTPValidationError
|
|
77
84
|
| PolarError
|
|
78
85
|
| ResponseValidationError
|
|
@@ -104,7 +111,8 @@ async function $do(
|
|
|
104
111
|
});
|
|
105
112
|
|
|
106
113
|
const headers = new Headers(compactMap({
|
|
107
|
-
Accept:
|
|
114
|
+
Accept: options?.acceptHeaderOverride
|
|
115
|
+
|| "application/json;q=1, text/csv;q=0",
|
|
108
116
|
}));
|
|
109
117
|
|
|
110
118
|
const secConfig = await extractSecurity(client._options.accessToken);
|
|
@@ -158,7 +166,7 @@ async function $do(
|
|
|
158
166
|
};
|
|
159
167
|
|
|
160
168
|
const [result] = await M.match<
|
|
161
|
-
|
|
169
|
+
SubscriptionsExportResponse,
|
|
162
170
|
| HTTPValidationError
|
|
163
171
|
| PolarError
|
|
164
172
|
| ResponseValidationError
|
|
@@ -169,7 +177,10 @@ async function $do(
|
|
|
169
177
|
| UnexpectedClientError
|
|
170
178
|
| SDKValidationError
|
|
171
179
|
>(
|
|
172
|
-
M.json(200,
|
|
180
|
+
M.json(200, SubscriptionsExportResponse$inboundSchema),
|
|
181
|
+
M.text(200, SubscriptionsExportResponse$inboundSchema, {
|
|
182
|
+
ctype: "text/csv",
|
|
183
|
+
}),
|
|
173
184
|
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
174
185
|
M.fail("4XX"),
|
|
175
186
|
M.fail("5XX"),
|
package/src/lib/config.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "0.1.0",
|
|
67
|
-
sdkVersion: "0.
|
|
68
|
-
genVersion: "2.
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
67
|
+
sdkVersion: "0.45.0",
|
|
68
|
+
genVersion: "2.839.0",
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 0.45.0 2.839.0 0.1.0 @polar-sh/sdk",
|
|
70
70
|
} as const;
|
|
@@ -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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
@@ -260,7 +261,7 @@ export const CountryAlpha2 = {
|
|
|
260
261
|
Zm: "ZM",
|
|
261
262
|
Zw: "ZW",
|
|
262
263
|
} as const;
|
|
263
|
-
export type CountryAlpha2 =
|
|
264
|
+
export type CountryAlpha2 = OpenEnum<typeof CountryAlpha2>;
|
|
264
265
|
|
|
265
266
|
export type Address = {
|
|
266
267
|
line1?: string | null | undefined;
|
|
@@ -272,11 +273,15 @@ export type Address = {
|
|
|
272
273
|
};
|
|
273
274
|
|
|
274
275
|
/** @internal */
|
|
275
|
-
export const CountryAlpha2$inboundSchema: z.
|
|
276
|
-
|
|
276
|
+
export const CountryAlpha2$inboundSchema: z.ZodMiniType<
|
|
277
|
+
CountryAlpha2,
|
|
278
|
+
unknown
|
|
279
|
+
> = openEnums.inboundSchema(CountryAlpha2);
|
|
277
280
|
/** @internal */
|
|
278
|
-
export const CountryAlpha2$outboundSchema: z.
|
|
279
|
-
|
|
281
|
+
export const CountryAlpha2$outboundSchema: z.ZodMiniType<
|
|
282
|
+
string,
|
|
283
|
+
CountryAlpha2
|
|
284
|
+
> = openEnums.outboundSchema(CountryAlpha2);
|
|
280
285
|
|
|
281
286
|
/** @internal */
|
|
282
287
|
export const Address$inboundSchema: z.ZodMiniType<Address, unknown> = z.pipe(
|
|
@@ -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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
@@ -22,7 +23,7 @@ export const Permission = {
|
|
|
22
23
|
/**
|
|
23
24
|
* The permission level to grant. Read more about roles and their permissions on [GitHub documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role).
|
|
24
25
|
*/
|
|
25
|
-
export type Permission =
|
|
26
|
+
export type Permission = OpenEnum<typeof Permission>;
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
29
|
* Properties for a benefit of type `github_repository`.
|
|
@@ -43,11 +44,11 @@ export type BenefitGitHubRepositoryProperties = {
|
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
/** @internal */
|
|
46
|
-
export const Permission$inboundSchema: z.
|
|
47
|
-
.
|
|
47
|
+
export const Permission$inboundSchema: z.ZodMiniType<Permission, unknown> =
|
|
48
|
+
openEnums.inboundSchema(Permission);
|
|
48
49
|
/** @internal */
|
|
49
|
-
export const Permission$outboundSchema: z.
|
|
50
|
-
Permission
|
|
50
|
+
export const Permission$outboundSchema: z.ZodMiniType<string, Permission> =
|
|
51
|
+
openEnums.outboundSchema(Permission);
|
|
51
52
|
|
|
52
53
|
/** @internal */
|
|
53
54
|
export const BenefitGitHubRepositoryProperties$inboundSchema: z.ZodMiniType<
|
|
@@ -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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
@@ -16,7 +17,7 @@ export const BenefitGrantGitHubRepositoryPropertiesPermission = {
|
|
|
16
17
|
Maintain: "maintain",
|
|
17
18
|
Admin: "admin",
|
|
18
19
|
} as const;
|
|
19
|
-
export type BenefitGrantGitHubRepositoryPropertiesPermission =
|
|
20
|
+
export type BenefitGrantGitHubRepositoryPropertiesPermission = OpenEnum<
|
|
20
21
|
typeof BenefitGrantGitHubRepositoryPropertiesPermission
|
|
21
22
|
>;
|
|
22
23
|
|
|
@@ -30,12 +31,12 @@ export type BenefitGrantGitHubRepositoryProperties = {
|
|
|
30
31
|
|
|
31
32
|
/** @internal */
|
|
32
33
|
export const BenefitGrantGitHubRepositoryPropertiesPermission$inboundSchema:
|
|
33
|
-
z.
|
|
34
|
-
.
|
|
34
|
+
z.ZodMiniType<BenefitGrantGitHubRepositoryPropertiesPermission, unknown> =
|
|
35
|
+
openEnums.inboundSchema(BenefitGrantGitHubRepositoryPropertiesPermission);
|
|
35
36
|
/** @internal */
|
|
36
37
|
export const BenefitGrantGitHubRepositoryPropertiesPermission$outboundSchema:
|
|
37
|
-
z.
|
|
38
|
-
BenefitGrantGitHubRepositoryPropertiesPermission
|
|
38
|
+
z.ZodMiniType<string, BenefitGrantGitHubRepositoryPropertiesPermission> =
|
|
39
|
+
openEnums.outboundSchema(BenefitGrantGitHubRepositoryPropertiesPermission);
|
|
39
40
|
|
|
40
41
|
/** @internal */
|
|
41
42
|
export const BenefitGrantGitHubRepositoryProperties$inboundSchema:
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -13,7 +14,7 @@ export const Timeframe = {
|
|
|
13
14
|
Month: "month",
|
|
14
15
|
Day: "day",
|
|
15
16
|
} as const;
|
|
16
|
-
export type Timeframe =
|
|
17
|
+
export type Timeframe = OpenEnum<typeof Timeframe>;
|
|
17
18
|
|
|
18
19
|
export type BenefitLicenseKeyExpirationProperties = {
|
|
19
20
|
ttl: number;
|
|
@@ -21,12 +22,11 @@ export type BenefitLicenseKeyExpirationProperties = {
|
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
/** @internal */
|
|
24
|
-
export const Timeframe$inboundSchema: z.
|
|
25
|
-
Timeframe
|
|
26
|
-
);
|
|
25
|
+
export const Timeframe$inboundSchema: z.ZodMiniType<Timeframe, unknown> =
|
|
26
|
+
openEnums.inboundSchema(Timeframe);
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const Timeframe$outboundSchema: z.
|
|
29
|
-
Timeframe
|
|
28
|
+
export const Timeframe$outboundSchema: z.ZodMiniType<string, Timeframe> =
|
|
29
|
+
openEnums.outboundSchema(Timeframe);
|
|
30
30
|
|
|
31
31
|
/** @internal */
|
|
32
32
|
export const BenefitLicenseKeyExpirationProperties$inboundSchema: z.ZodMiniType<
|
|
@@ -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 BenefitType = {
|
|
9
10
|
Custom: "custom",
|
|
@@ -13,11 +14,11 @@ export const BenefitType = {
|
|
|
13
14
|
LicenseKeys: "license_keys",
|
|
14
15
|
MeterCredit: "meter_credit",
|
|
15
16
|
} as const;
|
|
16
|
-
export type BenefitType =
|
|
17
|
+
export type BenefitType = OpenEnum<typeof BenefitType>;
|
|
17
18
|
|
|
18
19
|
/** @internal */
|
|
19
|
-
export const BenefitType$inboundSchema: z.
|
|
20
|
-
.
|
|
20
|
+
export const BenefitType$inboundSchema: z.ZodMiniType<BenefitType, unknown> =
|
|
21
|
+
openEnums.inboundSchema(BenefitType);
|
|
21
22
|
/** @internal */
|
|
22
|
-
export const BenefitType$outboundSchema: z.
|
|
23
|
-
BenefitType
|
|
23
|
+
export const BenefitType$outboundSchema: z.ZodMiniType<string, BenefitType> =
|
|
24
|
+
openEnums.outboundSchema(BenefitType);
|
|
@@ -3,22 +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 BillingAddressFieldMode = {
|
|
9
10
|
Required: "required",
|
|
10
11
|
Optional: "optional",
|
|
11
12
|
Disabled: "disabled",
|
|
12
13
|
} as const;
|
|
13
|
-
export type BillingAddressFieldMode =
|
|
14
|
-
typeof BillingAddressFieldMode
|
|
15
|
-
>;
|
|
14
|
+
export type BillingAddressFieldMode = OpenEnum<typeof BillingAddressFieldMode>;
|
|
16
15
|
|
|
17
16
|
/** @internal */
|
|
18
|
-
export const BillingAddressFieldMode$inboundSchema: z.
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
export const BillingAddressFieldMode$inboundSchema: z.ZodMiniType<
|
|
18
|
+
BillingAddressFieldMode,
|
|
19
|
+
unknown
|
|
20
|
+
> = openEnums.inboundSchema(BillingAddressFieldMode);
|
|
21
21
|
/** @internal */
|
|
22
|
-
export const BillingAddressFieldMode$outboundSchema: z.
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
export const BillingAddressFieldMode$outboundSchema: z.ZodMiniType<
|
|
23
|
+
string,
|
|
24
|
+
BillingAddressFieldMode
|
|
25
|
+
> = openEnums.outboundSchema(BillingAddressFieldMode);
|
|
@@ -92,8 +92,6 @@ import {
|
|
|
92
92
|
|
|
93
93
|
export type CheckoutCustomFieldData = string | number | boolean | Date;
|
|
94
94
|
|
|
95
|
-
export type CheckoutProductPrice = LegacyRecurringProductPrice | ProductPrice;
|
|
96
|
-
|
|
97
95
|
export type CheckoutPrices = LegacyRecurringProductPrice | ProductPrice;
|
|
98
96
|
|
|
99
97
|
export type CheckoutDiscount =
|
|
@@ -208,12 +206,6 @@ export type Checkout = {
|
|
|
208
206
|
* ID of the product to checkout.
|
|
209
207
|
*/
|
|
210
208
|
productId: string | null;
|
|
211
|
-
/**
|
|
212
|
-
* ID of the product price to checkout.
|
|
213
|
-
*
|
|
214
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
215
|
-
*/
|
|
216
|
-
productPriceId: string | null;
|
|
217
209
|
/**
|
|
218
210
|
* ID of the discount applied to the checkout.
|
|
219
211
|
*/
|
|
@@ -279,10 +271,6 @@ export type Checkout = {
|
|
|
279
271
|
* ID of the customer in your system. If a matching customer exists on Polar, the resulting order will be linked to this customer. Otherwise, a new customer will be created with this external ID set.
|
|
280
272
|
*/
|
|
281
273
|
externalCustomerId: string | null;
|
|
282
|
-
/**
|
|
283
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
284
|
-
*/
|
|
285
|
-
customerExternalId: string | null;
|
|
286
274
|
/**
|
|
287
275
|
* List of products available to select.
|
|
288
276
|
*/
|
|
@@ -291,12 +279,6 @@ export type Checkout = {
|
|
|
291
279
|
* Product selected to checkout.
|
|
292
280
|
*/
|
|
293
281
|
product: CheckoutProduct | null;
|
|
294
|
-
/**
|
|
295
|
-
* Price of the selected product.
|
|
296
|
-
*
|
|
297
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
298
|
-
*/
|
|
299
|
-
productPrice: LegacyRecurringProductPrice | ProductPrice | null;
|
|
300
282
|
/**
|
|
301
283
|
* Mapping of product IDs to their list of prices.
|
|
302
284
|
*/
|
|
@@ -359,45 +341,6 @@ export function checkoutCustomFieldDataFromJSON(
|
|
|
359
341
|
);
|
|
360
342
|
}
|
|
361
343
|
|
|
362
|
-
/** @internal */
|
|
363
|
-
export const CheckoutProductPrice$inboundSchema: z.ZodMiniType<
|
|
364
|
-
CheckoutProductPrice,
|
|
365
|
-
unknown
|
|
366
|
-
> = smartUnion([
|
|
367
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
368
|
-
ProductPrice$inboundSchema,
|
|
369
|
-
]);
|
|
370
|
-
/** @internal */
|
|
371
|
-
export type CheckoutProductPrice$Outbound =
|
|
372
|
-
| LegacyRecurringProductPrice$Outbound
|
|
373
|
-
| ProductPrice$Outbound;
|
|
374
|
-
|
|
375
|
-
/** @internal */
|
|
376
|
-
export const CheckoutProductPrice$outboundSchema: z.ZodMiniType<
|
|
377
|
-
CheckoutProductPrice$Outbound,
|
|
378
|
-
CheckoutProductPrice
|
|
379
|
-
> = smartUnion([
|
|
380
|
-
LegacyRecurringProductPrice$outboundSchema,
|
|
381
|
-
ProductPrice$outboundSchema,
|
|
382
|
-
]);
|
|
383
|
-
|
|
384
|
-
export function checkoutProductPriceToJSON(
|
|
385
|
-
checkoutProductPrice: CheckoutProductPrice,
|
|
386
|
-
): string {
|
|
387
|
-
return JSON.stringify(
|
|
388
|
-
CheckoutProductPrice$outboundSchema.parse(checkoutProductPrice),
|
|
389
|
-
);
|
|
390
|
-
}
|
|
391
|
-
export function checkoutProductPriceFromJSON(
|
|
392
|
-
jsonString: string,
|
|
393
|
-
): SafeParseResult<CheckoutProductPrice, SDKValidationError> {
|
|
394
|
-
return safeParse(
|
|
395
|
-
jsonString,
|
|
396
|
-
(x) => CheckoutProductPrice$inboundSchema.parse(JSON.parse(x)),
|
|
397
|
-
`Failed to parse 'CheckoutProductPrice' from JSON`,
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
344
|
/** @internal */
|
|
402
345
|
export const CheckoutPrices$inboundSchema: z.ZodMiniType<
|
|
403
346
|
CheckoutPrices,
|
|
@@ -563,7 +506,6 @@ export const Checkout$inboundSchema: z.ZodMiniType<Checkout, unknown> = z.pipe(
|
|
|
563
506
|
),
|
|
564
507
|
organization_id: z.string(),
|
|
565
508
|
product_id: z.nullable(z.string()),
|
|
566
|
-
product_price_id: z.nullable(z.string()),
|
|
567
509
|
discount_id: z.nullable(z.string()),
|
|
568
510
|
allow_discount_codes: z.boolean(),
|
|
569
511
|
require_billing_address: z.boolean(),
|
|
@@ -587,15 +529,8 @@ export const Checkout$inboundSchema: z.ZodMiniType<Checkout, unknown> = z.pipe(
|
|
|
587
529
|
trial_interval_count: z.nullable(z.int()),
|
|
588
530
|
metadata: z.record(z.string(), MetadataOutputType$inboundSchema),
|
|
589
531
|
external_customer_id: z.nullable(z.string()),
|
|
590
|
-
customer_external_id: z.nullable(z.string()),
|
|
591
532
|
products: z.array(CheckoutProduct$inboundSchema),
|
|
592
533
|
product: z.nullable(CheckoutProduct$inboundSchema),
|
|
593
|
-
product_price: z.nullable(
|
|
594
|
-
smartUnion([
|
|
595
|
-
LegacyRecurringProductPrice$inboundSchema,
|
|
596
|
-
ProductPrice$inboundSchema,
|
|
597
|
-
]),
|
|
598
|
-
),
|
|
599
534
|
prices: z.nullable(
|
|
600
535
|
z.record(
|
|
601
536
|
z.string(),
|
|
@@ -646,7 +581,6 @@ export const Checkout$inboundSchema: z.ZodMiniType<Checkout, unknown> = z.pipe(
|
|
|
646
581
|
"trial_end": "trialEnd",
|
|
647
582
|
"organization_id": "organizationId",
|
|
648
583
|
"product_id": "productId",
|
|
649
|
-
"product_price_id": "productPriceId",
|
|
650
584
|
"discount_id": "discountId",
|
|
651
585
|
"allow_discount_codes": "allowDiscountCodes",
|
|
652
586
|
"require_billing_address": "requireBillingAddress",
|
|
@@ -668,8 +602,6 @@ export const Checkout$inboundSchema: z.ZodMiniType<Checkout, unknown> = z.pipe(
|
|
|
668
602
|
"trial_interval": "trialInterval",
|
|
669
603
|
"trial_interval_count": "trialIntervalCount",
|
|
670
604
|
"external_customer_id": "externalCustomerId",
|
|
671
|
-
"customer_external_id": "customerExternalId",
|
|
672
|
-
"product_price": "productPrice",
|
|
673
605
|
"subscription_id": "subscriptionId",
|
|
674
606
|
"attached_custom_fields": "attachedCustomFields",
|
|
675
607
|
"customer_metadata": "customerMetadata",
|
|
@@ -706,7 +638,6 @@ export type Checkout$Outbound = {
|
|
|
706
638
|
trial_end: string | null;
|
|
707
639
|
organization_id: string;
|
|
708
640
|
product_id: string | null;
|
|
709
|
-
product_price_id: string | null;
|
|
710
641
|
discount_id: string | null;
|
|
711
642
|
allow_discount_codes: boolean;
|
|
712
643
|
require_billing_address: boolean;
|
|
@@ -730,13 +661,8 @@ export type Checkout$Outbound = {
|
|
|
730
661
|
trial_interval_count: number | null;
|
|
731
662
|
metadata: { [k: string]: MetadataOutputType$Outbound };
|
|
732
663
|
external_customer_id: string | null;
|
|
733
|
-
customer_external_id: string | null;
|
|
734
664
|
products: Array<CheckoutProduct$Outbound>;
|
|
735
665
|
product: CheckoutProduct$Outbound | null;
|
|
736
|
-
product_price:
|
|
737
|
-
| LegacyRecurringProductPrice$Outbound
|
|
738
|
-
| ProductPrice$Outbound
|
|
739
|
-
| null;
|
|
740
666
|
prices: {
|
|
741
667
|
[k: string]: Array<
|
|
742
668
|
LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound
|
|
@@ -797,7 +723,6 @@ export const Checkout$outboundSchema: z.ZodMiniType<
|
|
|
797
723
|
trialEnd: z.nullable(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
798
724
|
organizationId: z.string(),
|
|
799
725
|
productId: z.nullable(z.string()),
|
|
800
|
-
productPriceId: z.nullable(z.string()),
|
|
801
726
|
discountId: z.nullable(z.string()),
|
|
802
727
|
allowDiscountCodes: z.boolean(),
|
|
803
728
|
requireBillingAddress: z.boolean(),
|
|
@@ -821,15 +746,8 @@ export const Checkout$outboundSchema: z.ZodMiniType<
|
|
|
821
746
|
trialIntervalCount: z.nullable(z.int()),
|
|
822
747
|
metadata: z.record(z.string(), MetadataOutputType$outboundSchema),
|
|
823
748
|
externalCustomerId: z.nullable(z.string()),
|
|
824
|
-
customerExternalId: z.nullable(z.string()),
|
|
825
749
|
products: z.array(CheckoutProduct$outboundSchema),
|
|
826
750
|
product: z.nullable(CheckoutProduct$outboundSchema),
|
|
827
|
-
productPrice: z.nullable(
|
|
828
|
-
smartUnion([
|
|
829
|
-
LegacyRecurringProductPrice$outboundSchema,
|
|
830
|
-
ProductPrice$outboundSchema,
|
|
831
|
-
]),
|
|
832
|
-
),
|
|
833
751
|
prices: z.nullable(
|
|
834
752
|
z.record(
|
|
835
753
|
z.string(),
|
|
@@ -880,7 +798,6 @@ export const Checkout$outboundSchema: z.ZodMiniType<
|
|
|
880
798
|
trialEnd: "trial_end",
|
|
881
799
|
organizationId: "organization_id",
|
|
882
800
|
productId: "product_id",
|
|
883
|
-
productPriceId: "product_price_id",
|
|
884
801
|
discountId: "discount_id",
|
|
885
802
|
allowDiscountCodes: "allow_discount_codes",
|
|
886
803
|
requireBillingAddress: "require_billing_address",
|
|
@@ -902,8 +819,6 @@ export const Checkout$outboundSchema: z.ZodMiniType<
|
|
|
902
819
|
trialInterval: "trial_interval",
|
|
903
820
|
trialIntervalCount: "trial_interval_count",
|
|
904
821
|
externalCustomerId: "external_customer_id",
|
|
905
|
-
customerExternalId: "customer_external_id",
|
|
906
|
-
productPrice: "product_price",
|
|
907
822
|
subscriptionId: "subscription_id",
|
|
908
823
|
attachedCustomFields: "attached_custom_fields",
|
|
909
824
|
customerMetadata: "customer_metadata",
|
|
@@ -31,12 +31,6 @@ export type CheckoutConfirmStripe = {
|
|
|
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.
|
|
@@ -97,7 +91,6 @@ export type CheckoutConfirmStripe$Outbound = {
|
|
|
97
91
|
| { [k: string]: string | number | boolean | string | null }
|
|
98
92
|
| undefined;
|
|
99
93
|
product_id?: string | null | undefined;
|
|
100
|
-
product_price_id?: string | null | undefined;
|
|
101
94
|
amount?: number | null | undefined;
|
|
102
95
|
seats?: number | null | undefined;
|
|
103
96
|
is_business_customer?: boolean | null | undefined;
|
|
@@ -132,7 +125,6 @@ export const CheckoutConfirmStripe$outboundSchema: z.ZodMiniType<
|
|
|
132
125
|
),
|
|
133
126
|
),
|
|
134
127
|
productId: z.optional(z.nullable(z.string())),
|
|
135
|
-
productPriceId: z.optional(z.nullable(z.string())),
|
|
136
128
|
amount: z.optional(z.nullable(z.int())),
|
|
137
129
|
seats: z.optional(z.nullable(z.int())),
|
|
138
130
|
isBusinessCustomer: z.optional(z.nullable(z.boolean())),
|
|
@@ -150,7 +142,6 @@ export const CheckoutConfirmStripe$outboundSchema: z.ZodMiniType<
|
|
|
150
142
|
return remap$(v, {
|
|
151
143
|
customFieldData: "custom_field_data",
|
|
152
144
|
productId: "product_id",
|
|
153
|
-
productPriceId: "product_price_id",
|
|
154
145
|
isBusinessCustomer: "is_business_customer",
|
|
155
146
|
customerName: "customer_name",
|
|
156
147
|
customerEmail: "customer_email",
|