@polar-sh/sdk 0.43.0 → 0.44.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 +13 -9
- 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/refundsCreate.d.ts +1 -1
- package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +1 -1
- package/dist/commonjs/funcs/refundsCreate.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/balancedisputemetadata.d.ts +1 -0
- package/dist/commonjs/models/components/balancedisputemetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/balancedisputemetadata.js +2 -0
- package/dist/commonjs/models/components/balancedisputemetadata.js.map +1 -1
- package/dist/commonjs/models/components/balanceordermetadata.d.ts +1 -0
- package/dist/commonjs/models/components/balanceordermetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/balanceordermetadata.js +2 -0
- package/dist/commonjs/models/components/balanceordermetadata.js.map +1 -1
- package/dist/commonjs/models/components/balancerefundmetadata.d.ts +1 -0
- package/dist/commonjs/models/components/balancerefundmetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/balancerefundmetadata.js +2 -0
- package/dist/commonjs/models/components/balancerefundmetadata.js.map +1 -1
- package/dist/commonjs/models/components/benefit.d.ts +2 -2
- package/dist/commonjs/models/components/benefit.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefit.js +2 -2
- package/dist/commonjs/models/components/benefit.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/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/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/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/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/legacyrecurringproductpricecustom.d.ts +4 -2
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js +2 -3
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +4 -2
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js +2 -3
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +4 -2
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.js +2 -3
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.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/listresourcecustomerportalmember.js +53 -0
- 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/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 +4 -4
- package/dist/commonjs/models/components/orderstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderstatus.js +3 -4
- package/dist/commonjs/models/components/orderstatus.js.map +1 -1
- package/dist/commonjs/models/components/organization.d.ts +4 -2
- package/dist/commonjs/models/components/organization.d.ts.map +1 -1
- package/dist/commonjs/models/components/organization.js +2 -3
- package/dist/commonjs/models/components/organization.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/organizationfeaturesettings.d.ts +5 -0
- package/dist/commonjs/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationfeaturesettings.js +4 -0
- package/dist/commonjs/models/components/organizationfeaturesettings.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/presentmentcurrency.d.ts +9 -2
- package/dist/commonjs/models/components/presentmentcurrency.d.ts.map +1 -1
- package/dist/commonjs/models/components/presentmentcurrency.js +11 -4
- package/dist/commonjs/models/components/presentmentcurrency.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts +4 -2
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.js +2 -3
- package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.d.ts +4 -2
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.js +2 -3
- package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/productpricefree.d.ts +4 -2
- package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefree.js +2 -3
- package/dist/commonjs/models/components/productpricefree.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts +4 -2
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js +2 -3
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts +4 -2
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.js +2 -3
- 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/productpricetype.d.ts +4 -4
- package/dist/commonjs/models/components/productpricetype.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricetype.js +3 -3
- package/dist/commonjs/models/components/productpricetype.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/validationerror.d.ts +13 -0
- package/dist/commonjs/models/components/validationerror.d.ts.map +1 -1
- package/dist/commonjs/models/components/validationerror.js +17 -1
- package/dist/commonjs/models/components/validationerror.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/refunds.d.ts +1 -1
- package/dist/commonjs/sdk/refunds.d.ts.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/refundsCreate.d.ts +1 -1
- package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +1 -1
- package/dist/esm/funcs/refundsCreate.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/balancedisputemetadata.d.ts +1 -0
- package/dist/esm/models/components/balancedisputemetadata.d.ts.map +1 -1
- package/dist/esm/models/components/balancedisputemetadata.js +2 -0
- package/dist/esm/models/components/balancedisputemetadata.js.map +1 -1
- package/dist/esm/models/components/balanceordermetadata.d.ts +1 -0
- package/dist/esm/models/components/balanceordermetadata.d.ts.map +1 -1
- package/dist/esm/models/components/balanceordermetadata.js +2 -0
- package/dist/esm/models/components/balanceordermetadata.js.map +1 -1
- package/dist/esm/models/components/balancerefundmetadata.d.ts +1 -0
- package/dist/esm/models/components/balancerefundmetadata.d.ts.map +1 -1
- package/dist/esm/models/components/balancerefundmetadata.js +2 -0
- package/dist/esm/models/components/balancerefundmetadata.js.map +1 -1
- package/dist/esm/models/components/benefit.d.ts +2 -2
- package/dist/esm/models/components/benefit.d.ts.map +1 -1
- package/dist/esm/models/components/benefit.js +2 -2
- package/dist/esm/models/components/benefit.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/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/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/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/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/legacyrecurringproductpricecustom.d.ts +4 -2
- package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js +2 -3
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +4 -2
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js +2 -3
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +4 -2
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.js +2 -3
- package/dist/esm/models/components/legacyrecurringproductpricefree.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/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 +4 -4
- package/dist/esm/models/components/orderstatus.d.ts.map +1 -1
- package/dist/esm/models/components/orderstatus.js +3 -4
- package/dist/esm/models/components/orderstatus.js.map +1 -1
- package/dist/esm/models/components/organization.d.ts +4 -2
- package/dist/esm/models/components/organization.d.ts.map +1 -1
- package/dist/esm/models/components/organization.js +2 -3
- package/dist/esm/models/components/organization.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/organizationfeaturesettings.d.ts +5 -0
- package/dist/esm/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationfeaturesettings.js +4 -0
- package/dist/esm/models/components/organizationfeaturesettings.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/presentmentcurrency.d.ts +9 -2
- package/dist/esm/models/components/presentmentcurrency.d.ts.map +1 -1
- package/dist/esm/models/components/presentmentcurrency.js +10 -3
- package/dist/esm/models/components/presentmentcurrency.js.map +1 -1
- package/dist/esm/models/components/productpricecustom.d.ts +4 -2
- package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/productpricecustom.js +2 -3
- package/dist/esm/models/components/productpricecustom.js.map +1 -1
- package/dist/esm/models/components/productpricefixed.d.ts +4 -2
- package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefixed.js +2 -3
- package/dist/esm/models/components/productpricefixed.js.map +1 -1
- package/dist/esm/models/components/productpricefree.d.ts +4 -2
- package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefree.js +2 -3
- package/dist/esm/models/components/productpricefree.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts +4 -2
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.js +2 -3
- package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts +4 -2
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.js +2 -3
- 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/productpricetype.d.ts +4 -4
- package/dist/esm/models/components/productpricetype.d.ts.map +1 -1
- package/dist/esm/models/components/productpricetype.js +3 -3
- package/dist/esm/models/components/productpricetype.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/validationerror.d.ts +13 -0
- package/dist/esm/models/components/validationerror.d.ts.map +1 -1
- package/dist/esm/models/components/validationerror.js +14 -0
- package/dist/esm/models/components/validationerror.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/refunds.d.ts +1 -1
- package/dist/esm/sdk/refunds.d.ts.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/examples/package-lock.json +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/refundsCreate.ts +4 -5
- 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/balancedisputemetadata.ts +3 -0
- package/src/models/components/balanceordermetadata.ts +3 -0
- package/src/models/components/balancerefundmetadata.ts +3 -0
- package/src/models/components/benefit.ts +4 -4
- 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/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/checkoutstatus.ts +11 -8
- package/src/models/components/customercancellationreason.ts +11 -8
- 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/legacyrecurringproductpricecustom.ts +6 -8
- package/src/models/components/legacyrecurringproductpricefixed.ts +6 -8
- package/src/models/components/legacyrecurringproductpricefree.ts +6 -8
- 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/orderbillingreason.ts +11 -8
- package/src/models/components/orderstatus.ts +7 -6
- package/src/models/components/organization.ts +6 -8
- package/src/models/components/organizationcustomeremailsettings.ts +6 -0
- package/src/models/components/organizationfeaturesettings.ts +9 -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/presentmentcurrency.ts +10 -5
- package/src/models/components/productpricecustom.ts +6 -8
- package/src/models/components/productpricefixed.ts +6 -8
- package/src/models/components/productpricefree.ts +6 -8
- package/src/models/components/productpricemeteredunit.ts +6 -8
- package/src/models/components/productpriceseatbased.ts +6 -8
- package/src/models/components/productpricesource.ts +11 -8
- package/src/models/components/productpricetype.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/validationerror.ts +34 -0
- 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/refunds.ts +1 -1
- package/src/sdk/seats.ts +15 -4
- package/src/sdk/subscriptions.ts +12 -4
|
@@ -51,7 +51,7 @@ export function refundsCreate(
|
|
|
51
51
|
options?: RequestOptions,
|
|
52
52
|
): APIPromise<
|
|
53
53
|
Result<
|
|
54
|
-
Refund
|
|
54
|
+
Refund,
|
|
55
55
|
| RefundedAlready
|
|
56
56
|
| HTTPValidationError
|
|
57
57
|
| PolarError
|
|
@@ -78,7 +78,7 @@ async function $do(
|
|
|
78
78
|
): Promise<
|
|
79
79
|
[
|
|
80
80
|
Result<
|
|
81
|
-
Refund
|
|
81
|
+
Refund,
|
|
82
82
|
| RefundedAlready
|
|
83
83
|
| HTTPValidationError
|
|
84
84
|
| PolarError
|
|
@@ -161,7 +161,7 @@ async function $do(
|
|
|
161
161
|
};
|
|
162
162
|
|
|
163
163
|
const [result] = await M.match<
|
|
164
|
-
Refund
|
|
164
|
+
Refund,
|
|
165
165
|
| RefundedAlready
|
|
166
166
|
| HTTPValidationError
|
|
167
167
|
| PolarError
|
|
@@ -173,8 +173,7 @@ async function $do(
|
|
|
173
173
|
| UnexpectedClientError
|
|
174
174
|
| SDKValidationError
|
|
175
175
|
>(
|
|
176
|
-
M.json(
|
|
177
|
-
M.nil(201, z.optional(Refund$inboundSchema)),
|
|
176
|
+
M.json(201, Refund$inboundSchema),
|
|
178
177
|
M.jsonErr(403, RefundedAlready$inboundSchema),
|
|
179
178
|
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
180
179
|
M.fail("4XX"),
|
|
@@ -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.44.0",
|
|
68
|
+
genVersion: "2.836.5",
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 0.44.0 2.836.5 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(
|
|
@@ -23,6 +23,7 @@ export type BalanceDisputeMetadata = {
|
|
|
23
23
|
taxState?: string | null | undefined;
|
|
24
24
|
taxCountry?: string | null | undefined;
|
|
25
25
|
fee: number;
|
|
26
|
+
exchangeRate?: number | undefined;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
/** @internal */
|
|
@@ -45,6 +46,7 @@ export const BalanceDisputeMetadata$inboundSchema: z.ZodMiniType<
|
|
|
45
46
|
tax_state: z.optional(z.nullable(z.string())),
|
|
46
47
|
tax_country: z.optional(z.nullable(z.string())),
|
|
47
48
|
fee: z.int(),
|
|
49
|
+
exchange_rate: z.optional(z.number()),
|
|
48
50
|
}),
|
|
49
51
|
z.transform((v) => {
|
|
50
52
|
return remap$(v, {
|
|
@@ -59,6 +61,7 @@ export const BalanceDisputeMetadata$inboundSchema: z.ZodMiniType<
|
|
|
59
61
|
"tax_amount": "taxAmount",
|
|
60
62
|
"tax_state": "taxState",
|
|
61
63
|
"tax_country": "taxCountry",
|
|
64
|
+
"exchange_rate": "exchangeRate",
|
|
62
65
|
});
|
|
63
66
|
}),
|
|
64
67
|
);
|
|
@@ -22,6 +22,7 @@ export type BalanceOrderMetadata = {
|
|
|
22
22
|
taxState?: string | null | undefined;
|
|
23
23
|
taxCountry?: string | null | undefined;
|
|
24
24
|
fee: number;
|
|
25
|
+
exchangeRate?: number | undefined;
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
/** @internal */
|
|
@@ -43,6 +44,7 @@ export const BalanceOrderMetadata$inboundSchema: z.ZodMiniType<
|
|
|
43
44
|
tax_state: z.optional(z.nullable(z.string())),
|
|
44
45
|
tax_country: z.optional(z.nullable(z.string())),
|
|
45
46
|
fee: z.int(),
|
|
47
|
+
exchange_rate: z.optional(z.number()),
|
|
46
48
|
}),
|
|
47
49
|
z.transform((v) => {
|
|
48
50
|
return remap$(v, {
|
|
@@ -56,6 +58,7 @@ export const BalanceOrderMetadata$inboundSchema: z.ZodMiniType<
|
|
|
56
58
|
"tax_amount": "taxAmount",
|
|
57
59
|
"tax_state": "taxState",
|
|
58
60
|
"tax_country": "taxCountry",
|
|
61
|
+
"exchange_rate": "exchangeRate",
|
|
59
62
|
});
|
|
60
63
|
}),
|
|
61
64
|
);
|
|
@@ -24,6 +24,7 @@ export type BalanceRefundMetadata = {
|
|
|
24
24
|
taxState?: string | null | undefined;
|
|
25
25
|
taxCountry?: string | null | undefined;
|
|
26
26
|
fee: number;
|
|
27
|
+
exchangeRate?: number | undefined;
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
/** @internal */
|
|
@@ -47,6 +48,7 @@ export const BalanceRefundMetadata$inboundSchema: z.ZodMiniType<
|
|
|
47
48
|
tax_state: z.optional(z.nullable(z.string())),
|
|
48
49
|
tax_country: z.optional(z.nullable(z.string())),
|
|
49
50
|
fee: z.int(),
|
|
51
|
+
exchange_rate: z.optional(z.number()),
|
|
50
52
|
}),
|
|
51
53
|
z.transform((v) => {
|
|
52
54
|
return remap$(v, {
|
|
@@ -62,6 +64,7 @@ export const BalanceRefundMetadata$inboundSchema: z.ZodMiniType<
|
|
|
62
64
|
"tax_amount": "taxAmount",
|
|
63
65
|
"tax_state": "taxState",
|
|
64
66
|
"tax_country": "taxCountry",
|
|
67
|
+
"exchange_rate": "exchangeRate",
|
|
65
68
|
});
|
|
66
69
|
}),
|
|
67
70
|
);
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
export type Benefit =
|
|
47
47
|
| BenefitCustom
|
|
48
48
|
| BenefitDiscord
|
|
49
|
-
| BenefitGitHubRepository
|
|
50
49
|
| BenefitDownloadables
|
|
50
|
+
| BenefitGitHubRepository
|
|
51
51
|
| BenefitLicenseKeys
|
|
52
52
|
| BenefitMeterCredit;
|
|
53
53
|
|
|
@@ -55,8 +55,8 @@ export type Benefit =
|
|
|
55
55
|
export const Benefit$inboundSchema: z.ZodMiniType<Benefit, unknown> = z.union([
|
|
56
56
|
BenefitCustom$inboundSchema,
|
|
57
57
|
BenefitDiscord$inboundSchema,
|
|
58
|
-
BenefitGitHubRepository$inboundSchema,
|
|
59
58
|
BenefitDownloadables$inboundSchema,
|
|
59
|
+
BenefitGitHubRepository$inboundSchema,
|
|
60
60
|
BenefitLicenseKeys$inboundSchema,
|
|
61
61
|
BenefitMeterCredit$inboundSchema,
|
|
62
62
|
]);
|
|
@@ -64,8 +64,8 @@ export const Benefit$inboundSchema: z.ZodMiniType<Benefit, unknown> = z.union([
|
|
|
64
64
|
export type Benefit$Outbound =
|
|
65
65
|
| BenefitCustom$Outbound
|
|
66
66
|
| BenefitDiscord$Outbound
|
|
67
|
-
| BenefitGitHubRepository$Outbound
|
|
68
67
|
| BenefitDownloadables$Outbound
|
|
68
|
+
| BenefitGitHubRepository$Outbound
|
|
69
69
|
| BenefitLicenseKeys$Outbound
|
|
70
70
|
| BenefitMeterCredit$Outbound;
|
|
71
71
|
|
|
@@ -74,8 +74,8 @@ export const Benefit$outboundSchema: z.ZodMiniType<Benefit$Outbound, Benefit> =
|
|
|
74
74
|
z.union([
|
|
75
75
|
BenefitCustom$outboundSchema,
|
|
76
76
|
BenefitDiscord$outboundSchema,
|
|
77
|
-
BenefitGitHubRepository$outboundSchema,
|
|
78
77
|
BenefitDownloadables$outboundSchema,
|
|
78
|
+
BenefitGitHubRepository$outboundSchema,
|
|
79
79
|
BenefitLicenseKeys$outboundSchema,
|
|
80
80
|
BenefitMeterCredit$outboundSchema,
|
|
81
81
|
]);
|
|
@@ -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);
|
|
@@ -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
|
);
|
|
@@ -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);
|