@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
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const CustomerCancellationReason = {
|
|
9
10
|
CustomerService: "customer_service",
|
|
@@ -15,15 +16,17 @@ export const CustomerCancellationReason = {
|
|
|
15
16
|
Unused: "unused",
|
|
16
17
|
Other: "other",
|
|
17
18
|
} as const;
|
|
18
|
-
export type CustomerCancellationReason =
|
|
19
|
+
export type CustomerCancellationReason = OpenEnum<
|
|
19
20
|
typeof CustomerCancellationReason
|
|
20
21
|
>;
|
|
21
22
|
|
|
22
23
|
/** @internal */
|
|
23
|
-
export const CustomerCancellationReason$inboundSchema: z.
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
export const CustomerCancellationReason$inboundSchema: z.ZodMiniType<
|
|
25
|
+
CustomerCancellationReason,
|
|
26
|
+
unknown
|
|
27
|
+
> = openEnums.inboundSchema(CustomerCancellationReason);
|
|
26
28
|
/** @internal */
|
|
27
|
-
export const CustomerCancellationReason$outboundSchema: z.
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
export const CustomerCancellationReason$outboundSchema: z.ZodMiniType<
|
|
30
|
+
string,
|
|
31
|
+
CustomerCancellationReason
|
|
32
|
+
> = openEnums.outboundSchema(CustomerCancellationReason);
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
11
|
import { smartUnion } from "../../types/smartUnion.js";
|
|
11
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -37,7 +38,7 @@ export const Status = {
|
|
|
37
38
|
Active: "active",
|
|
38
39
|
Trialing: "trialing",
|
|
39
40
|
} as const;
|
|
40
|
-
export type Status =
|
|
41
|
+
export type Status = OpenEnum<typeof Status>;
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
44
|
* An active customer subscription.
|
|
@@ -174,12 +175,11 @@ export function customerStateSubscriptionCustomFieldDataFromJSON(
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
/** @internal */
|
|
177
|
-
export const Status$inboundSchema: z.
|
|
178
|
-
Status
|
|
179
|
-
);
|
|
178
|
+
export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = openEnums
|
|
179
|
+
.inboundSchema(Status);
|
|
180
180
|
/** @internal */
|
|
181
|
-
export const Status$outboundSchema: z.
|
|
182
|
-
Status
|
|
181
|
+
export const Status$outboundSchema: z.ZodMiniType<string, Status> = openEnums
|
|
182
|
+
.outboundSchema(Status);
|
|
183
183
|
|
|
184
184
|
/** @internal */
|
|
185
185
|
export const CustomerStateSubscription$inboundSchema: z.ZodMiniType<
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const CustomerType = {
|
|
9
10
|
Individual: "individual",
|
|
10
11
|
Team: "team",
|
|
11
12
|
} as const;
|
|
12
|
-
export type CustomerType =
|
|
13
|
+
export type CustomerType = OpenEnum<typeof CustomerType>;
|
|
13
14
|
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const CustomerType$inboundSchema: z.
|
|
16
|
-
.
|
|
16
|
+
export const CustomerType$inboundSchema: z.ZodMiniType<CustomerType, unknown> =
|
|
17
|
+
openEnums.inboundSchema(CustomerType);
|
|
17
18
|
/** @internal */
|
|
18
|
-
export const CustomerType$outboundSchema: z.
|
|
19
|
-
CustomerType
|
|
19
|
+
export const CustomerType$outboundSchema: z.ZodMiniType<string, CustomerType> =
|
|
20
|
+
openEnums.outboundSchema(CustomerType);
|
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const DiscountDuration = {
|
|
9
10
|
Once: "once",
|
|
10
11
|
Forever: "forever",
|
|
11
12
|
Repeating: "repeating",
|
|
12
13
|
} as const;
|
|
13
|
-
export type DiscountDuration =
|
|
14
|
+
export type DiscountDuration = OpenEnum<typeof DiscountDuration>;
|
|
14
15
|
|
|
15
16
|
/** @internal */
|
|
16
|
-
export const DiscountDuration$inboundSchema: z.
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
export const DiscountDuration$inboundSchema: z.ZodMiniType<
|
|
18
|
+
DiscountDuration,
|
|
19
|
+
unknown
|
|
20
|
+
> = openEnums.inboundSchema(DiscountDuration);
|
|
19
21
|
/** @internal */
|
|
20
|
-
export const DiscountDuration$outboundSchema: z.
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
export const DiscountDuration$outboundSchema: z.ZodMiniType<
|
|
23
|
+
string,
|
|
24
|
+
DiscountDuration
|
|
25
|
+
> = openEnums.outboundSchema(DiscountDuration);
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
DiscountDuration$outboundSchema,
|
|
11
11
|
} from "./discountduration.js";
|
|
12
12
|
import { DiscountType, DiscountType$outboundSchema } from "./discounttype.js";
|
|
13
|
+
import {
|
|
14
|
+
PresentmentCurrency,
|
|
15
|
+
PresentmentCurrency$outboundSchema,
|
|
16
|
+
} from "./presentmentcurrency.js";
|
|
13
17
|
|
|
14
18
|
export type DiscountFixedOnceForeverDurationCreateMetadata =
|
|
15
19
|
| string
|
|
@@ -27,10 +31,7 @@ export type DiscountFixedOnceForeverDurationCreate = {
|
|
|
27
31
|
* Fixed amount to discount from the invoice total.
|
|
28
32
|
*/
|
|
29
33
|
amount: number;
|
|
30
|
-
|
|
31
|
-
* The currency. Currently, only `usd` is supported.
|
|
32
|
-
*/
|
|
33
|
-
currency?: string | undefined;
|
|
34
|
+
currency?: PresentmentCurrency | undefined;
|
|
34
35
|
/**
|
|
35
36
|
* Key-value object allowing you to store additional information.
|
|
36
37
|
*
|
|
@@ -104,7 +105,7 @@ export type DiscountFixedOnceForeverDurationCreate$Outbound = {
|
|
|
104
105
|
duration: string;
|
|
105
106
|
type: string;
|
|
106
107
|
amount: number;
|
|
107
|
-
currency
|
|
108
|
+
currency?: string | undefined;
|
|
108
109
|
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
109
110
|
name: string;
|
|
110
111
|
code?: string | null | undefined;
|
|
@@ -125,7 +126,7 @@ export const DiscountFixedOnceForeverDurationCreate$outboundSchema:
|
|
|
125
126
|
duration: DiscountDuration$outboundSchema,
|
|
126
127
|
type: DiscountType$outboundSchema,
|
|
127
128
|
amount: z.int(),
|
|
128
|
-
currency: z.
|
|
129
|
+
currency: z.optional(PresentmentCurrency$outboundSchema),
|
|
129
130
|
metadata: z.optional(
|
|
130
131
|
z.record(
|
|
131
132
|
z.string(),
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
DiscountDuration$outboundSchema,
|
|
11
11
|
} from "./discountduration.js";
|
|
12
12
|
import { DiscountType, DiscountType$outboundSchema } from "./discounttype.js";
|
|
13
|
+
import {
|
|
14
|
+
PresentmentCurrency,
|
|
15
|
+
PresentmentCurrency$outboundSchema,
|
|
16
|
+
} from "./presentmentcurrency.js";
|
|
13
17
|
|
|
14
18
|
export type DiscountFixedRepeatDurationCreateMetadata =
|
|
15
19
|
| string
|
|
@@ -39,10 +43,7 @@ export type DiscountFixedRepeatDurationCreate = {
|
|
|
39
43
|
* Fixed amount to discount from the invoice total.
|
|
40
44
|
*/
|
|
41
45
|
amount: number;
|
|
42
|
-
|
|
43
|
-
* The currency. Currently, only `usd` is supported.
|
|
44
|
-
*/
|
|
45
|
-
currency?: string | undefined;
|
|
46
|
+
currency?: PresentmentCurrency | undefined;
|
|
46
47
|
/**
|
|
47
48
|
* Key-value object allowing you to store additional information.
|
|
48
49
|
*
|
|
@@ -117,7 +118,7 @@ export type DiscountFixedRepeatDurationCreate$Outbound = {
|
|
|
117
118
|
duration_in_months: number;
|
|
118
119
|
type: string;
|
|
119
120
|
amount: number;
|
|
120
|
-
currency
|
|
121
|
+
currency?: string | undefined;
|
|
121
122
|
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
122
123
|
name: string;
|
|
123
124
|
code?: string | null | undefined;
|
|
@@ -138,7 +139,7 @@ export const DiscountFixedRepeatDurationCreate$outboundSchema: z.ZodMiniType<
|
|
|
138
139
|
durationInMonths: z.int(),
|
|
139
140
|
type: DiscountType$outboundSchema,
|
|
140
141
|
amount: z.int(),
|
|
141
|
-
currency: z.
|
|
142
|
+
currency: z.optional(PresentmentCurrency$outboundSchema),
|
|
142
143
|
metadata: z.optional(
|
|
143
144
|
z.record(
|
|
144
145
|
z.string(),
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const DiscountType = {
|
|
9
10
|
Fixed: "fixed",
|
|
10
11
|
Percentage: "percentage",
|
|
11
12
|
} as const;
|
|
12
|
-
export type DiscountType =
|
|
13
|
+
export type DiscountType = OpenEnum<typeof DiscountType>;
|
|
13
14
|
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const DiscountType$inboundSchema: z.
|
|
16
|
-
.
|
|
16
|
+
export const DiscountType$inboundSchema: z.ZodMiniType<DiscountType, unknown> =
|
|
17
|
+
openEnums.inboundSchema(DiscountType);
|
|
17
18
|
/** @internal */
|
|
18
|
-
export const DiscountType$outboundSchema: z.
|
|
19
|
-
DiscountType
|
|
19
|
+
export const DiscountType$outboundSchema: z.ZodMiniType<string, DiscountType> =
|
|
20
|
+
openEnums.outboundSchema(DiscountType);
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
DiscountDuration$outboundSchema,
|
|
11
11
|
} from "./discountduration.js";
|
|
12
12
|
import { DiscountType, DiscountType$outboundSchema } from "./discounttype.js";
|
|
13
|
+
import {
|
|
14
|
+
PresentmentCurrency,
|
|
15
|
+
PresentmentCurrency$outboundSchema,
|
|
16
|
+
} from "./presentmentcurrency.js";
|
|
13
17
|
|
|
14
18
|
export type DiscountUpdateMetadata = string | number | number | boolean;
|
|
15
19
|
|
|
@@ -54,7 +58,7 @@ export type DiscountUpdate = {
|
|
|
54
58
|
durationInMonths?: number | null | undefined;
|
|
55
59
|
type?: DiscountType | null | undefined;
|
|
56
60
|
amount?: number | null | undefined;
|
|
57
|
-
currency?:
|
|
61
|
+
currency?: PresentmentCurrency | null | undefined;
|
|
58
62
|
basisPoints?: number | null | undefined;
|
|
59
63
|
products?: Array<string> | null | undefined;
|
|
60
64
|
};
|
|
@@ -122,7 +126,7 @@ export const DiscountUpdate$outboundSchema: z.ZodMiniType<
|
|
|
122
126
|
durationInMonths: z.optional(z.nullable(z.int())),
|
|
123
127
|
type: z.optional(z.nullable(DiscountType$outboundSchema)),
|
|
124
128
|
amount: z.optional(z.nullable(z.int())),
|
|
125
|
-
currency: z.optional(z.nullable(
|
|
129
|
+
currency: z.optional(z.nullable(PresentmentCurrency$outboundSchema)),
|
|
126
130
|
basisPoints: z.optional(z.nullable(z.int())),
|
|
127
131
|
products: z.optional(z.nullable(z.array(z.string()))),
|
|
128
132
|
}),
|
|
@@ -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 DisputeStatus = {
|
|
9
10
|
Prevented: "prevented",
|
|
@@ -13,11 +14,15 @@ export const DisputeStatus = {
|
|
|
13
14
|
Lost: "lost",
|
|
14
15
|
Won: "won",
|
|
15
16
|
} as const;
|
|
16
|
-
export type DisputeStatus =
|
|
17
|
+
export type DisputeStatus = OpenEnum<typeof DisputeStatus>;
|
|
17
18
|
|
|
18
19
|
/** @internal */
|
|
19
|
-
export const DisputeStatus$inboundSchema: z.
|
|
20
|
-
|
|
20
|
+
export const DisputeStatus$inboundSchema: z.ZodMiniType<
|
|
21
|
+
DisputeStatus,
|
|
22
|
+
unknown
|
|
23
|
+
> = openEnums.inboundSchema(DisputeStatus);
|
|
21
24
|
/** @internal */
|
|
22
|
-
export const DisputeStatus$outboundSchema: z.
|
|
23
|
-
|
|
25
|
+
export const DisputeStatus$outboundSchema: z.ZodMiniType<
|
|
26
|
+
string,
|
|
27
|
+
DisputeStatus
|
|
28
|
+
> = openEnums.outboundSchema(DisputeStatus);
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const EventSource = {
|
|
9
10
|
System: "system",
|
|
10
11
|
User: "user",
|
|
11
12
|
} as const;
|
|
12
|
-
export type EventSource =
|
|
13
|
+
export type EventSource = OpenEnum<typeof EventSource>;
|
|
13
14
|
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const EventSource$inboundSchema: z.
|
|
16
|
-
.
|
|
16
|
+
export const EventSource$inboundSchema: z.ZodMiniType<EventSource, unknown> =
|
|
17
|
+
openEnums.inboundSchema(EventSource);
|
|
17
18
|
/** @internal */
|
|
18
|
-
export const EventSource$outboundSchema: z.
|
|
19
|
-
EventSource
|
|
19
|
+
export const EventSource$outboundSchema: z.ZodMiniType<string, EventSource> =
|
|
20
|
+
openEnums.outboundSchema(EventSource);
|
|
@@ -3,16 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const FileServiceTypes = {
|
|
9
10
|
Downloadable: "downloadable",
|
|
10
11
|
ProductMedia: "product_media",
|
|
11
12
|
OrganizationAvatar: "organization_avatar",
|
|
12
13
|
} as const;
|
|
13
|
-
export type FileServiceTypes =
|
|
14
|
+
export type FileServiceTypes = OpenEnum<typeof FileServiceTypes>;
|
|
14
15
|
|
|
15
16
|
/** @internal */
|
|
16
|
-
export const FileServiceTypes$inboundSchema: z.
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
export const FileServiceTypes$inboundSchema: z.ZodMiniType<
|
|
18
|
+
FileServiceTypes,
|
|
19
|
+
unknown
|
|
20
|
+
> = openEnums.inboundSchema(FileServiceTypes);
|
|
@@ -3,19 +3,22 @@
|
|
|
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 FilterConjunction = {
|
|
9
10
|
And: "and",
|
|
10
11
|
Or: "or",
|
|
11
12
|
} as const;
|
|
12
|
-
export type FilterConjunction =
|
|
13
|
+
export type FilterConjunction = OpenEnum<typeof FilterConjunction>;
|
|
13
14
|
|
|
14
15
|
/** @internal */
|
|
15
|
-
export const FilterConjunction$inboundSchema: z.
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export const FilterConjunction$inboundSchema: z.ZodMiniType<
|
|
17
|
+
FilterConjunction,
|
|
18
|
+
unknown
|
|
19
|
+
> = openEnums.inboundSchema(FilterConjunction);
|
|
18
20
|
/** @internal */
|
|
19
|
-
export const FilterConjunction$outboundSchema: z.
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
export const FilterConjunction$outboundSchema: z.ZodMiniType<
|
|
22
|
+
string,
|
|
23
|
+
FilterConjunction
|
|
24
|
+
> = openEnums.outboundSchema(FilterConjunction);
|
|
@@ -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 FilterOperator = {
|
|
9
10
|
Eq: "eq",
|
|
@@ -15,13 +16,15 @@ export const FilterOperator = {
|
|
|
15
16
|
Like: "like",
|
|
16
17
|
NotLike: "not_like",
|
|
17
18
|
} as const;
|
|
18
|
-
export type FilterOperator =
|
|
19
|
+
export type FilterOperator = OpenEnum<typeof FilterOperator>;
|
|
19
20
|
|
|
20
21
|
/** @internal */
|
|
21
|
-
export const FilterOperator$inboundSchema: z.
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
export const FilterOperator$inboundSchema: z.ZodMiniType<
|
|
23
|
+
FilterOperator,
|
|
24
|
+
unknown
|
|
25
|
+
> = openEnums.inboundSchema(FilterOperator);
|
|
24
26
|
/** @internal */
|
|
25
|
-
export const FilterOperator$outboundSchema: z.
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
export const FilterOperator$outboundSchema: z.ZodMiniType<
|
|
28
|
+
string,
|
|
29
|
+
FilterOperator
|
|
30
|
+
> = openEnums.outboundSchema(FilterOperator);
|
|
@@ -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
|
import { SubType, SubType$inboundSchema } from "./subtype.js";
|
|
@@ -14,7 +15,7 @@ export const TokenType = {
|
|
|
14
15
|
AccessToken: "access_token",
|
|
15
16
|
RefreshToken: "refresh_token",
|
|
16
17
|
} as const;
|
|
17
|
-
export type TokenType =
|
|
18
|
+
export type TokenType = OpenEnum<typeof TokenType>;
|
|
18
19
|
|
|
19
20
|
export type IntrospectTokenResponse = {
|
|
20
21
|
active: boolean;
|
|
@@ -30,9 +31,8 @@ export type IntrospectTokenResponse = {
|
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
/** @internal */
|
|
33
|
-
export const TokenType$inboundSchema: z.
|
|
34
|
-
TokenType
|
|
35
|
-
);
|
|
34
|
+
export const TokenType$inboundSchema: z.ZodMiniType<TokenType, unknown> =
|
|
35
|
+
openEnums.inboundSchema(TokenType);
|
|
36
36
|
|
|
37
37
|
/** @internal */
|
|
38
38
|
export const IntrospectTokenResponse$inboundSchema: z.ZodMiniType<
|
|
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
PresentmentCurrency,
|
|
12
|
-
PresentmentCurrency$inboundSchema,
|
|
13
|
-
PresentmentCurrency$outboundSchema,
|
|
14
|
-
} from "./presentmentcurrency.js";
|
|
15
10
|
import {
|
|
16
11
|
ProductPriceSource,
|
|
17
12
|
ProductPriceSource$inboundSchema,
|
|
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceCustom = {
|
|
|
45
40
|
id: string;
|
|
46
41
|
source: ProductPriceSource;
|
|
47
42
|
amountType: "custom";
|
|
48
|
-
|
|
43
|
+
/**
|
|
44
|
+
* The currency in which the customer will be charged.
|
|
45
|
+
*/
|
|
46
|
+
priceCurrency: string;
|
|
49
47
|
/**
|
|
50
48
|
* Whether the price is archived and no longer available.
|
|
51
49
|
*/
|
|
@@ -90,7 +88,7 @@ export const LegacyRecurringProductPriceCustom$inboundSchema: z.ZodMiniType<
|
|
|
90
88
|
id: z.string(),
|
|
91
89
|
source: ProductPriceSource$inboundSchema,
|
|
92
90
|
amount_type: z.literal("custom"),
|
|
93
|
-
price_currency:
|
|
91
|
+
price_currency: z.string(),
|
|
94
92
|
is_archived: z.boolean(),
|
|
95
93
|
product_id: z.string(),
|
|
96
94
|
type: z.literal("recurring"),
|
|
@@ -144,7 +142,7 @@ export const LegacyRecurringProductPriceCustom$outboundSchema: z.ZodMiniType<
|
|
|
144
142
|
id: z.string(),
|
|
145
143
|
source: ProductPriceSource$outboundSchema,
|
|
146
144
|
amountType: z.literal("custom"),
|
|
147
|
-
priceCurrency:
|
|
145
|
+
priceCurrency: z.string(),
|
|
148
146
|
isArchived: z.boolean(),
|
|
149
147
|
productId: z.string(),
|
|
150
148
|
type: z.literal("recurring"),
|
|
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
PresentmentCurrency,
|
|
12
|
-
PresentmentCurrency$inboundSchema,
|
|
13
|
-
PresentmentCurrency$outboundSchema,
|
|
14
|
-
} from "./presentmentcurrency.js";
|
|
15
10
|
import {
|
|
16
11
|
ProductPriceSource,
|
|
17
12
|
ProductPriceSource$inboundSchema,
|
|
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceFixed = {
|
|
|
45
40
|
id: string;
|
|
46
41
|
source: ProductPriceSource;
|
|
47
42
|
amountType: "fixed";
|
|
48
|
-
|
|
43
|
+
/**
|
|
44
|
+
* The currency in which the customer will be charged.
|
|
45
|
+
*/
|
|
46
|
+
priceCurrency: string;
|
|
49
47
|
/**
|
|
50
48
|
* Whether the price is archived and no longer available.
|
|
51
49
|
*/
|
|
@@ -82,7 +80,7 @@ export const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodMiniType<
|
|
|
82
80
|
id: z.string(),
|
|
83
81
|
source: ProductPriceSource$inboundSchema,
|
|
84
82
|
amount_type: z.literal("fixed"),
|
|
85
|
-
price_currency:
|
|
83
|
+
price_currency: z.string(),
|
|
86
84
|
is_archived: z.boolean(),
|
|
87
85
|
product_id: z.string(),
|
|
88
86
|
type: z.literal("recurring"),
|
|
@@ -130,7 +128,7 @@ export const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodMiniType<
|
|
|
130
128
|
id: z.string(),
|
|
131
129
|
source: ProductPriceSource$outboundSchema,
|
|
132
130
|
amountType: z.literal("fixed"),
|
|
133
|
-
priceCurrency:
|
|
131
|
+
priceCurrency: z.string(),
|
|
134
132
|
isArchived: z.boolean(),
|
|
135
133
|
productId: z.string(),
|
|
136
134
|
type: z.literal("recurring"),
|
|
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
PresentmentCurrency,
|
|
12
|
-
PresentmentCurrency$inboundSchema,
|
|
13
|
-
PresentmentCurrency$outboundSchema,
|
|
14
|
-
} from "./presentmentcurrency.js";
|
|
15
10
|
import {
|
|
16
11
|
ProductPriceSource,
|
|
17
12
|
ProductPriceSource$inboundSchema,
|
|
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceFree = {
|
|
|
45
40
|
id: string;
|
|
46
41
|
source: ProductPriceSource;
|
|
47
42
|
amountType: "free";
|
|
48
|
-
|
|
43
|
+
/**
|
|
44
|
+
* The currency in which the customer will be charged.
|
|
45
|
+
*/
|
|
46
|
+
priceCurrency: string;
|
|
49
47
|
/**
|
|
50
48
|
* Whether the price is archived and no longer available.
|
|
51
49
|
*/
|
|
@@ -78,7 +76,7 @@ export const LegacyRecurringProductPriceFree$inboundSchema: z.ZodMiniType<
|
|
|
78
76
|
id: z.string(),
|
|
79
77
|
source: ProductPriceSource$inboundSchema,
|
|
80
78
|
amount_type: z.literal("free"),
|
|
81
|
-
price_currency:
|
|
79
|
+
price_currency: z.string(),
|
|
82
80
|
is_archived: z.boolean(),
|
|
83
81
|
product_id: z.string(),
|
|
84
82
|
type: z.literal("recurring"),
|
|
@@ -123,7 +121,7 @@ export const LegacyRecurringProductPriceFree$outboundSchema: z.ZodMiniType<
|
|
|
123
121
|
id: z.string(),
|
|
124
122
|
source: ProductPriceSource$outboundSchema,
|
|
125
123
|
amountType: z.literal("free"),
|
|
126
|
-
priceCurrency:
|
|
124
|
+
priceCurrency: z.string(),
|
|
127
125
|
isArchived: z.boolean(),
|
|
128
126
|
productId: z.string(),
|
|
129
127
|
type: z.literal("recurring"),
|
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
-
import
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
8
|
|
|
8
9
|
export const LicenseKeyStatus = {
|
|
9
10
|
Granted: "granted",
|
|
10
11
|
Revoked: "revoked",
|
|
11
12
|
Disabled: "disabled",
|
|
12
13
|
} as const;
|
|
13
|
-
export type LicenseKeyStatus =
|
|
14
|
+
export type LicenseKeyStatus = OpenEnum<typeof LicenseKeyStatus>;
|
|
14
15
|
|
|
15
16
|
/** @internal */
|
|
16
|
-
export const LicenseKeyStatus$inboundSchema: z.
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
export const LicenseKeyStatus$inboundSchema: z.ZodMiniType<
|
|
18
|
+
LicenseKeyStatus,
|
|
19
|
+
unknown
|
|
20
|
+
> = openEnums.inboundSchema(LicenseKeyStatus);
|
|
19
21
|
/** @internal */
|
|
20
|
-
export const LicenseKeyStatus$outboundSchema: z.
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
export const LicenseKeyStatus$outboundSchema: z.ZodMiniType<
|
|
23
|
+
string,
|
|
24
|
+
LicenseKeyStatus
|
|
25
|
+
> = openEnums.outboundSchema(LicenseKeyStatus);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
CustomerPortalMember,
|
|
11
|
+
CustomerPortalMember$inboundSchema,
|
|
12
|
+
} from "./customerportalmember.js";
|
|
13
|
+
import { Pagination, Pagination$inboundSchema } from "./pagination.js";
|
|
14
|
+
|
|
15
|
+
export type ListResourceCustomerPortalMember = {
|
|
16
|
+
items: Array<CustomerPortalMember>;
|
|
17
|
+
pagination: Pagination;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ListResourceCustomerPortalMember$inboundSchema: z.ZodMiniType<
|
|
22
|
+
ListResourceCustomerPortalMember,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
items: z.array(CustomerPortalMember$inboundSchema),
|
|
26
|
+
pagination: Pagination$inboundSchema,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function listResourceCustomerPortalMemberFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<ListResourceCustomerPortalMember, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => ListResourceCustomerPortalMember$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'ListResourceCustomerPortalMember' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|