@polar-sh/sdk 0.43.1 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts +6 -2
- package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalMembersListMembers.js +65 -10
- package/dist/commonjs/funcs/customerPortalMembersListMembers.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
- package/dist/commonjs/funcs/customersExport.d.ts +8 -2
- package/dist/commonjs/funcs/customersExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersExport.js +9 -2
- package/dist/commonjs/funcs/customersExport.js.map +1 -1
- package/dist/commonjs/funcs/ordersExport.d.ts +9 -3
- package/dist/commonjs/funcs/ordersExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersExport.js +10 -3
- package/dist/commonjs/funcs/ordersExport.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.d.ts +8 -2
- package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.js +11 -2
- package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/address.d.ts +4 -4
- package/dist/commonjs/models/components/address.d.ts.map +1 -1
- package/dist/commonjs/models/components/address.js +3 -2
- package/dist/commonjs/models/components/address.js.map +1 -1
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js +3 -3
- package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
- package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js +3 -2
- package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefittype.d.ts +4 -4
- package/dist/commonjs/models/components/benefittype.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefittype.js +3 -4
- package/dist/commonjs/models/components/benefittype.js.map +1 -1
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts +4 -4
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts.map +1 -1
- package/dist/commonjs/models/components/billingaddressfieldmode.js +3 -3
- package/dist/commonjs/models/components/billingaddressfieldmode.js.map +1 -1
- package/dist/commonjs/models/components/checkout.d.ts +0 -28
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +1 -37
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.js +0 -2
- package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.d.ts +4 -0
- package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.js +2 -0
- package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -0
- package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +0 -16
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +1 -17
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +0 -16
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +1 -17
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/checkoutstatus.d.ts +4 -4
- package/dist/commonjs/models/components/checkoutstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutstatus.js +3 -3
- package/dist/commonjs/models/components/checkoutstatus.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.js +0 -2
- package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +0 -7
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.js +0 -2
- package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/commonjs/models/components/customercancellationreason.d.ts +4 -4
- package/dist/commonjs/models/components/customercancellationreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/customercancellationreason.js +3 -3
- package/dist/commonjs/models/components/customercancellationreason.js.map +1 -1
- package/dist/commonjs/models/components/customerorder.d.ts +0 -4
- package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorder.js +0 -2
- package/dist/commonjs/models/components/customerorder.js.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.d.ts +4 -4
- package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.js +5 -2
- package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
- package/dist/commonjs/models/components/customertype.d.ts +4 -4
- package/dist/commonjs/models/components/customertype.d.ts.map +1 -1
- package/dist/commonjs/models/components/customertype.js +3 -4
- package/dist/commonjs/models/components/customertype.js.map +1 -1
- package/dist/commonjs/models/components/discountduration.d.ts +4 -4
- package/dist/commonjs/models/components/discountduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountduration.js +3 -3
- package/dist/commonjs/models/components/discountduration.js.map +1 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js +2 -1
- package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js +2 -1
- package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
- package/dist/commonjs/models/components/discounttype.d.ts +4 -4
- package/dist/commonjs/models/components/discounttype.d.ts.map +1 -1
- package/dist/commonjs/models/components/discounttype.js +3 -4
- package/dist/commonjs/models/components/discounttype.js.map +1 -1
- package/dist/commonjs/models/components/discountupdate.d.ts +2 -1
- package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountupdate.js +2 -1
- package/dist/commonjs/models/components/discountupdate.js.map +1 -1
- package/dist/commonjs/models/components/disputestatus.d.ts +4 -4
- package/dist/commonjs/models/components/disputestatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/disputestatus.js +3 -3
- package/dist/commonjs/models/components/disputestatus.js.map +1 -1
- package/dist/commonjs/models/components/eventsource.d.ts +4 -4
- package/dist/commonjs/models/components/eventsource.d.ts.map +1 -1
- package/dist/commonjs/models/components/eventsource.js +3 -4
- package/dist/commonjs/models/components/eventsource.js.map +1 -1
- package/dist/commonjs/models/components/fileservicetypes.d.ts +3 -3
- package/dist/commonjs/models/components/fileservicetypes.d.ts.map +1 -1
- package/dist/commonjs/models/components/fileservicetypes.js +2 -2
- package/dist/commonjs/models/components/fileservicetypes.js.map +1 -1
- package/dist/commonjs/models/components/filterconjunction.d.ts +4 -4
- package/dist/commonjs/models/components/filterconjunction.d.ts.map +1 -1
- package/dist/commonjs/models/components/filterconjunction.js +3 -3
- package/dist/commonjs/models/components/filterconjunction.js.map +1 -1
- package/dist/commonjs/models/components/filteroperator.d.ts +4 -4
- package/dist/commonjs/models/components/filteroperator.d.ts.map +1 -1
- package/dist/commonjs/models/components/filteroperator.js +3 -3
- package/dist/commonjs/models/components/filteroperator.js.map +1 -1
- package/dist/commonjs/models/components/introspecttokenresponse.d.ts +3 -3
- package/dist/commonjs/models/components/introspecttokenresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/introspecttokenresponse.js +2 -1
- package/dist/commonjs/models/components/introspecttokenresponse.js.map +1 -1
- package/dist/commonjs/models/components/licensekeystatus.d.ts +4 -4
- package/dist/commonjs/models/components/licensekeystatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/licensekeystatus.js +3 -3
- package/dist/commonjs/models/components/licensekeystatus.js.map +1 -1
- package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts +13 -0
- package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricetype.js → listresourcecustomerportalmember.js} +13 -9
- package/dist/commonjs/models/components/listresourcecustomerportalmember.js.map +1 -0
- package/dist/commonjs/models/components/memberrole.d.ts +4 -4
- package/dist/commonjs/models/components/memberrole.d.ts.map +1 -1
- package/dist/commonjs/models/components/memberrole.js +3 -4
- package/dist/commonjs/models/components/memberrole.js.map +1 -1
- package/dist/commonjs/models/components/metrictype.d.ts +3 -3
- package/dist/commonjs/models/components/metrictype.d.ts.map +1 -1
- package/dist/commonjs/models/components/metrictype.js +2 -3
- package/dist/commonjs/models/components/metrictype.js.map +1 -1
- package/dist/commonjs/models/components/order.d.ts +0 -5
- package/dist/commonjs/models/components/order.d.ts.map +1 -1
- package/dist/commonjs/models/components/order.js +0 -4
- package/dist/commonjs/models/components/order.js.map +1 -1
- package/dist/commonjs/models/components/orderbillingreason.d.ts +4 -4
- package/dist/commonjs/models/components/orderbillingreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderbillingreason.js +3 -3
- package/dist/commonjs/models/components/orderbillingreason.js.map +1 -1
- package/dist/commonjs/models/components/orderstatus.d.ts +5 -4
- package/dist/commonjs/models/components/orderstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderstatus.js +4 -4
- package/dist/commonjs/models/components/orderstatus.js.map +1 -1
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts +2 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js +4 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js.map +1 -1
- package/dist/commonjs/models/components/organizationsocialplatforms.d.ts +4 -4
- package/dist/commonjs/models/components/organizationsocialplatforms.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationsocialplatforms.js +3 -3
- package/dist/commonjs/models/components/organizationsocialplatforms.js.map +1 -1
- package/dist/commonjs/models/components/organizationstatus.d.ts +4 -4
- package/dist/commonjs/models/components/organizationstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationstatus.js +3 -3
- package/dist/commonjs/models/components/organizationstatus.js.map +1 -1
- package/dist/commonjs/models/components/paymentstatus.d.ts +4 -4
- package/dist/commonjs/models/components/paymentstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/paymentstatus.js +3 -3
- package/dist/commonjs/models/components/paymentstatus.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts +0 -9
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.js +0 -8
- package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.d.ts +0 -9
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.js +0 -8
- package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/productpricefree.d.ts +0 -9
- package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefree.js +0 -8
- package/dist/commonjs/models/components/productpricefree.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts +0 -9
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js +0 -8
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts +0 -9
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.js +0 -8
- package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
- package/dist/commonjs/models/components/productpricesource.d.ts +4 -4
- package/dist/commonjs/models/components/productpricesource.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricesource.js +3 -3
- package/dist/commonjs/models/components/productpricesource.js.map +1 -1
- package/dist/commonjs/models/components/productvisibility.d.ts +4 -4
- package/dist/commonjs/models/components/productvisibility.d.ts.map +1 -1
- package/dist/commonjs/models/components/productvisibility.js +3 -3
- package/dist/commonjs/models/components/productvisibility.js.map +1 -1
- package/dist/commonjs/models/components/propertyaggregation.d.ts +4 -4
- package/dist/commonjs/models/components/propertyaggregation.d.ts.map +1 -1
- package/dist/commonjs/models/components/propertyaggregation.js +5 -2
- package/dist/commonjs/models/components/propertyaggregation.js.map +1 -1
- package/dist/commonjs/models/components/refundreason.d.ts +4 -4
- package/dist/commonjs/models/components/refundreason.d.ts.map +1 -1
- package/dist/commonjs/models/components/refundreason.js +3 -4
- package/dist/commonjs/models/components/refundreason.js.map +1 -1
- package/dist/commonjs/models/components/refundstatus.d.ts +4 -4
- package/dist/commonjs/models/components/refundstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/refundstatus.js +3 -4
- package/dist/commonjs/models/components/refundstatus.js.map +1 -1
- package/dist/commonjs/models/components/scope.d.ts +3 -3
- package/dist/commonjs/models/components/scope.d.ts.map +1 -1
- package/dist/commonjs/models/components/scope.js +3 -2
- package/dist/commonjs/models/components/scope.js.map +1 -1
- package/dist/commonjs/models/components/seatstatus.d.ts +4 -4
- package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/seatstatus.js +3 -4
- package/dist/commonjs/models/components/seatstatus.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionprorationbehavior.js +3 -3
- package/dist/commonjs/models/components/subscriptionprorationbehavior.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionrecurringinterval.js +3 -3
- package/dist/commonjs/models/components/subscriptionrecurringinterval.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionstatus.d.ts +4 -4
- package/dist/commonjs/models/components/subscriptionstatus.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionstatus.js +3 -3
- package/dist/commonjs/models/components/subscriptionstatus.js.map +1 -1
- package/dist/commonjs/models/components/subtype.d.ts +4 -4
- package/dist/commonjs/models/components/subtype.d.ts.map +1 -1
- package/dist/commonjs/models/components/subtype.js +5 -3
- package/dist/commonjs/models/components/subtype.js.map +1 -1
- package/dist/commonjs/models/components/taxidformat.d.ts +4 -4
- package/dist/commonjs/models/components/taxidformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/taxidformat.js +3 -4
- package/dist/commonjs/models/components/taxidformat.js.map +1 -1
- package/dist/commonjs/models/components/trialinterval.d.ts +4 -4
- package/dist/commonjs/models/components/trialinterval.d.ts.map +1 -1
- package/dist/commonjs/models/components/trialinterval.js +3 -3
- package/dist/commonjs/models/components/trialinterval.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpointcreate.d.ts +0 -5
- package/dist/commonjs/models/components/webhookendpointcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpointcreate.js +0 -1
- package/dist/commonjs/models/components/webhookendpointcreate.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts +0 -5
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.js +0 -1
- package/dist/commonjs/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/commonjs/models/components/webhookeventtype.d.ts +4 -4
- package/dist/commonjs/models/components/webhookeventtype.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookeventtype.js +3 -3
- package/dist/commonjs/models/components/webhookeventtype.js.map +1 -1
- package/dist/commonjs/models/components/webhookformat.d.ts +4 -4
- package/dist/commonjs/models/components/webhookformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookformat.js +3 -3
- package/dist/commonjs/models/components/webhookformat.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts +29 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.js +65 -0
- package/dist/commonjs/models/operations/customerportalmemberslistmembers.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +24 -1
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/customersexport.d.ts +6 -0
- package/dist/commonjs/models/operations/customersexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customersexport.js +8 -1
- package/dist/commonjs/models/operations/customersexport.js.map +1 -1
- package/dist/commonjs/models/operations/ordersexport.d.ts +6 -0
- package/dist/commonjs/models/operations/ordersexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/ordersexport.js +8 -1
- package/dist/commonjs/models/operations/ordersexport.js.map +1 -1
- package/dist/commonjs/models/operations/subscriptionsexport.d.ts +6 -0
- package/dist/commonjs/models/operations/subscriptionsexport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/subscriptionsexport.js +8 -1
- package/dist/commonjs/models/operations/subscriptionsexport.js.map +1 -1
- package/dist/commonjs/sdk/customers.d.ts +6 -2
- package/dist/commonjs/sdk/customers.d.ts.map +1 -1
- package/dist/commonjs/sdk/customers.js +3 -1
- package/dist/commonjs/sdk/customers.js.map +1 -1
- package/dist/commonjs/sdk/orders.d.ts +7 -3
- package/dist/commonjs/sdk/orders.d.ts.map +1 -1
- package/dist/commonjs/sdk/orders.js +4 -2
- package/dist/commonjs/sdk/orders.js.map +1 -1
- package/dist/commonjs/sdk/polarmembers.d.ts +5 -1
- package/dist/commonjs/sdk/polarmembers.d.ts.map +1 -1
- package/dist/commonjs/sdk/polarmembers.js +3 -2
- package/dist/commonjs/sdk/polarmembers.js.map +1 -1
- package/dist/commonjs/sdk/seats.d.ts +5 -3
- package/dist/commonjs/sdk/seats.d.ts.map +1 -1
- package/dist/commonjs/sdk/seats.js +3 -2
- package/dist/commonjs/sdk/seats.js.map +1 -1
- package/dist/commonjs/sdk/subscriptions.d.ts +6 -2
- package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
- package/dist/commonjs/sdk/subscriptions.js +3 -1
- package/dist/commonjs/sdk/subscriptions.js.map +1 -1
- package/dist/esm/funcs/customerPortalMembersListMembers.d.ts +6 -2
- package/dist/esm/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalMembersListMembers.js +65 -10
- package/dist/esm/funcs/customerPortalMembersListMembers.js.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
- package/dist/esm/funcs/customersExport.d.ts +8 -2
- package/dist/esm/funcs/customersExport.d.ts.map +1 -1
- package/dist/esm/funcs/customersExport.js +9 -3
- package/dist/esm/funcs/customersExport.js.map +1 -1
- package/dist/esm/funcs/ordersExport.d.ts +9 -3
- package/dist/esm/funcs/ordersExport.d.ts.map +1 -1
- package/dist/esm/funcs/ordersExport.js +10 -4
- package/dist/esm/funcs/ordersExport.js.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.d.ts +8 -2
- package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.js +11 -3
- package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/address.d.ts +4 -4
- package/dist/esm/models/components/address.d.ts.map +1 -1
- package/dist/esm/models/components/address.js +3 -2
- package/dist/esm/models/components/address.js.map +1 -1
- package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitgithubrepositoryproperties.js +3 -3
- package/dist/esm/models/components/benefitgithubrepositoryproperties.js.map +1 -1
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
- package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js +3 -2
- package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
- package/dist/esm/models/components/benefittype.d.ts +4 -4
- package/dist/esm/models/components/benefittype.d.ts.map +1 -1
- package/dist/esm/models/components/benefittype.js +3 -4
- package/dist/esm/models/components/benefittype.js.map +1 -1
- package/dist/esm/models/components/billingaddressfieldmode.d.ts +4 -4
- package/dist/esm/models/components/billingaddressfieldmode.d.ts.map +1 -1
- package/dist/esm/models/components/billingaddressfieldmode.js +3 -3
- package/dist/esm/models/components/billingaddressfieldmode.js.map +1 -1
- package/dist/esm/models/components/checkout.d.ts +0 -28
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +0 -34
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts +0 -7
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.js +0 -2
- package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/esm/models/components/checkoutlink.d.ts +4 -0
- package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlink.js +2 -0
- package/dist/esm/models/components/checkoutlink.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproduct.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproducts.js +2 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -0
- package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.js +2 -0
- package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +0 -16
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +0 -15
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +0 -16
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +0 -15
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/checkoutstatus.d.ts +4 -4
- package/dist/esm/models/components/checkoutstatus.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutstatus.js +3 -3
- package/dist/esm/models/components/checkoutstatus.js.map +1 -1
- package/dist/esm/models/components/checkoutupdate.d.ts +0 -7
- package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdate.js +0 -2
- package/dist/esm/models/components/checkoutupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.d.ts +0 -7
- package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.js +0 -2
- package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/esm/models/components/customercancellationreason.d.ts +4 -4
- package/dist/esm/models/components/customercancellationreason.d.ts.map +1 -1
- package/dist/esm/models/components/customercancellationreason.js +3 -3
- package/dist/esm/models/components/customercancellationreason.js.map +1 -1
- package/dist/esm/models/components/customerorder.d.ts +0 -4
- package/dist/esm/models/components/customerorder.d.ts.map +1 -1
- package/dist/esm/models/components/customerorder.js +0 -2
- package/dist/esm/models/components/customerorder.js.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.d.ts +4 -4
- package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.js +5 -2
- package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
- package/dist/esm/models/components/customertype.d.ts +4 -4
- package/dist/esm/models/components/customertype.d.ts.map +1 -1
- package/dist/esm/models/components/customertype.js +3 -4
- package/dist/esm/models/components/customertype.js.map +1 -1
- package/dist/esm/models/components/discountduration.d.ts +4 -4
- package/dist/esm/models/components/discountduration.d.ts.map +1 -1
- package/dist/esm/models/components/discountduration.js +3 -3
- package/dist/esm/models/components/discountduration.js.map +1 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js +2 -1
- package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.js +2 -1
- package/dist/esm/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
- package/dist/esm/models/components/discounttype.d.ts +4 -4
- package/dist/esm/models/components/discounttype.d.ts.map +1 -1
- package/dist/esm/models/components/discounttype.js +3 -4
- package/dist/esm/models/components/discounttype.js.map +1 -1
- package/dist/esm/models/components/discountupdate.d.ts +2 -1
- package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
- package/dist/esm/models/components/discountupdate.js +2 -1
- package/dist/esm/models/components/discountupdate.js.map +1 -1
- package/dist/esm/models/components/disputestatus.d.ts +4 -4
- package/dist/esm/models/components/disputestatus.d.ts.map +1 -1
- package/dist/esm/models/components/disputestatus.js +3 -3
- package/dist/esm/models/components/disputestatus.js.map +1 -1
- package/dist/esm/models/components/eventsource.d.ts +4 -4
- package/dist/esm/models/components/eventsource.d.ts.map +1 -1
- package/dist/esm/models/components/eventsource.js +3 -4
- package/dist/esm/models/components/eventsource.js.map +1 -1
- package/dist/esm/models/components/fileservicetypes.d.ts +3 -3
- package/dist/esm/models/components/fileservicetypes.d.ts.map +1 -1
- package/dist/esm/models/components/fileservicetypes.js +2 -2
- package/dist/esm/models/components/fileservicetypes.js.map +1 -1
- package/dist/esm/models/components/filterconjunction.d.ts +4 -4
- package/dist/esm/models/components/filterconjunction.d.ts.map +1 -1
- package/dist/esm/models/components/filterconjunction.js +3 -3
- package/dist/esm/models/components/filterconjunction.js.map +1 -1
- package/dist/esm/models/components/filteroperator.d.ts +4 -4
- package/dist/esm/models/components/filteroperator.d.ts.map +1 -1
- package/dist/esm/models/components/filteroperator.js +3 -3
- package/dist/esm/models/components/filteroperator.js.map +1 -1
- package/dist/esm/models/components/introspecttokenresponse.d.ts +3 -3
- package/dist/esm/models/components/introspecttokenresponse.d.ts.map +1 -1
- package/dist/esm/models/components/introspecttokenresponse.js +2 -1
- package/dist/esm/models/components/introspecttokenresponse.js.map +1 -1
- package/dist/esm/models/components/licensekeystatus.d.ts +4 -4
- package/dist/esm/models/components/licensekeystatus.d.ts.map +1 -1
- package/dist/esm/models/components/licensekeystatus.js +3 -3
- package/dist/esm/models/components/licensekeystatus.js.map +1 -1
- package/dist/esm/models/components/listresourcecustomerportalmember.d.ts +13 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.js +16 -0
- package/dist/esm/models/components/listresourcecustomerportalmember.js.map +1 -0
- package/dist/esm/models/components/memberrole.d.ts +4 -4
- package/dist/esm/models/components/memberrole.d.ts.map +1 -1
- package/dist/esm/models/components/memberrole.js +3 -4
- package/dist/esm/models/components/memberrole.js.map +1 -1
- package/dist/esm/models/components/metrictype.d.ts +3 -3
- package/dist/esm/models/components/metrictype.d.ts.map +1 -1
- package/dist/esm/models/components/metrictype.js +2 -3
- package/dist/esm/models/components/metrictype.js.map +1 -1
- package/dist/esm/models/components/order.d.ts +0 -5
- package/dist/esm/models/components/order.d.ts.map +1 -1
- package/dist/esm/models/components/order.js +0 -4
- package/dist/esm/models/components/order.js.map +1 -1
- package/dist/esm/models/components/orderbillingreason.d.ts +4 -4
- package/dist/esm/models/components/orderbillingreason.d.ts.map +1 -1
- package/dist/esm/models/components/orderbillingreason.js +3 -3
- package/dist/esm/models/components/orderbillingreason.js.map +1 -1
- package/dist/esm/models/components/orderstatus.d.ts +5 -4
- package/dist/esm/models/components/orderstatus.d.ts.map +1 -1
- package/dist/esm/models/components/orderstatus.js +4 -4
- package/dist/esm/models/components/orderstatus.js.map +1 -1
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts +2 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationcustomeremailsettings.js +4 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.js.map +1 -1
- package/dist/esm/models/components/organizationsocialplatforms.d.ts +4 -4
- package/dist/esm/models/components/organizationsocialplatforms.d.ts.map +1 -1
- package/dist/esm/models/components/organizationsocialplatforms.js +3 -3
- package/dist/esm/models/components/organizationsocialplatforms.js.map +1 -1
- package/dist/esm/models/components/organizationstatus.d.ts +4 -4
- package/dist/esm/models/components/organizationstatus.d.ts.map +1 -1
- package/dist/esm/models/components/organizationstatus.js +3 -3
- package/dist/esm/models/components/organizationstatus.js.map +1 -1
- package/dist/esm/models/components/paymentstatus.d.ts +4 -4
- package/dist/esm/models/components/paymentstatus.d.ts.map +1 -1
- package/dist/esm/models/components/paymentstatus.js +3 -3
- package/dist/esm/models/components/paymentstatus.js.map +1 -1
- package/dist/esm/models/components/productpricecustom.d.ts +0 -9
- package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/productpricecustom.js +0 -8
- package/dist/esm/models/components/productpricecustom.js.map +1 -1
- package/dist/esm/models/components/productpricefixed.d.ts +0 -9
- package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefixed.js +0 -8
- package/dist/esm/models/components/productpricefixed.js.map +1 -1
- package/dist/esm/models/components/productpricefree.d.ts +0 -9
- package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefree.js +0 -8
- package/dist/esm/models/components/productpricefree.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts +0 -9
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.js +0 -8
- package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts +0 -9
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.js +0 -8
- package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
- package/dist/esm/models/components/productpricesource.d.ts +4 -4
- package/dist/esm/models/components/productpricesource.d.ts.map +1 -1
- package/dist/esm/models/components/productpricesource.js +3 -3
- package/dist/esm/models/components/productpricesource.js.map +1 -1
- package/dist/esm/models/components/productvisibility.d.ts +4 -4
- package/dist/esm/models/components/productvisibility.d.ts.map +1 -1
- package/dist/esm/models/components/productvisibility.js +3 -3
- package/dist/esm/models/components/productvisibility.js.map +1 -1
- package/dist/esm/models/components/propertyaggregation.d.ts +4 -4
- package/dist/esm/models/components/propertyaggregation.d.ts.map +1 -1
- package/dist/esm/models/components/propertyaggregation.js +5 -2
- package/dist/esm/models/components/propertyaggregation.js.map +1 -1
- package/dist/esm/models/components/refundreason.d.ts +4 -4
- package/dist/esm/models/components/refundreason.d.ts.map +1 -1
- package/dist/esm/models/components/refundreason.js +3 -4
- package/dist/esm/models/components/refundreason.js.map +1 -1
- package/dist/esm/models/components/refundstatus.d.ts +4 -4
- package/dist/esm/models/components/refundstatus.d.ts.map +1 -1
- package/dist/esm/models/components/refundstatus.js +3 -4
- package/dist/esm/models/components/refundstatus.js.map +1 -1
- package/dist/esm/models/components/scope.d.ts +3 -3
- package/dist/esm/models/components/scope.d.ts.map +1 -1
- package/dist/esm/models/components/scope.js +3 -2
- package/dist/esm/models/components/scope.js.map +1 -1
- package/dist/esm/models/components/seatstatus.d.ts +4 -4
- package/dist/esm/models/components/seatstatus.d.ts.map +1 -1
- package/dist/esm/models/components/seatstatus.js +3 -4
- package/dist/esm/models/components/seatstatus.js.map +1 -1
- package/dist/esm/models/components/subscriptionprorationbehavior.d.ts +4 -4
- package/dist/esm/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionprorationbehavior.js +3 -3
- package/dist/esm/models/components/subscriptionprorationbehavior.js.map +1 -1
- package/dist/esm/models/components/subscriptionrecurringinterval.d.ts +4 -4
- package/dist/esm/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionrecurringinterval.js +3 -3
- package/dist/esm/models/components/subscriptionrecurringinterval.js.map +1 -1
- package/dist/esm/models/components/subscriptionstatus.d.ts +4 -4
- package/dist/esm/models/components/subscriptionstatus.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionstatus.js +3 -3
- package/dist/esm/models/components/subscriptionstatus.js.map +1 -1
- package/dist/esm/models/components/subtype.d.ts +4 -4
- package/dist/esm/models/components/subtype.d.ts.map +1 -1
- package/dist/esm/models/components/subtype.js +5 -3
- package/dist/esm/models/components/subtype.js.map +1 -1
- package/dist/esm/models/components/taxidformat.d.ts +4 -4
- package/dist/esm/models/components/taxidformat.d.ts.map +1 -1
- package/dist/esm/models/components/taxidformat.js +3 -4
- package/dist/esm/models/components/taxidformat.js.map +1 -1
- package/dist/esm/models/components/trialinterval.d.ts +4 -4
- package/dist/esm/models/components/trialinterval.d.ts.map +1 -1
- package/dist/esm/models/components/trialinterval.js +3 -3
- package/dist/esm/models/components/trialinterval.js.map +1 -1
- package/dist/esm/models/components/webhookendpointcreate.d.ts +0 -5
- package/dist/esm/models/components/webhookendpointcreate.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpointcreate.js +0 -1
- package/dist/esm/models/components/webhookendpointcreate.js.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.d.ts +0 -5
- package/dist/esm/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.js +0 -1
- package/dist/esm/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/esm/models/components/webhookeventtype.d.ts +4 -4
- package/dist/esm/models/components/webhookeventtype.d.ts.map +1 -1
- package/dist/esm/models/components/webhookeventtype.js +3 -3
- package/dist/esm/models/components/webhookeventtype.js.map +1 -1
- package/dist/esm/models/components/webhookformat.d.ts +4 -4
- package/dist/esm/models/components/webhookformat.d.ts.map +1 -1
- package/dist/esm/models/components/webhookformat.js +3 -3
- package/dist/esm/models/components/webhookformat.js.map +1 -1
- package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts +29 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.js +27 -0
- package/dist/esm/models/operations/customerportalmemberslistmembers.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +21 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/customersexport.d.ts +6 -0
- package/dist/esm/models/operations/customersexport.d.ts.map +1 -1
- package/dist/esm/models/operations/customersexport.js +6 -0
- package/dist/esm/models/operations/customersexport.js.map +1 -1
- package/dist/esm/models/operations/ordersexport.d.ts +6 -0
- package/dist/esm/models/operations/ordersexport.d.ts.map +1 -1
- package/dist/esm/models/operations/ordersexport.js +6 -0
- package/dist/esm/models/operations/ordersexport.js.map +1 -1
- package/dist/esm/models/operations/subscriptionsexport.d.ts +6 -0
- package/dist/esm/models/operations/subscriptionsexport.d.ts.map +1 -1
- package/dist/esm/models/operations/subscriptionsexport.js +6 -0
- package/dist/esm/models/operations/subscriptionsexport.js.map +1 -1
- package/dist/esm/sdk/customers.d.ts +6 -2
- package/dist/esm/sdk/customers.d.ts.map +1 -1
- package/dist/esm/sdk/customers.js +1 -0
- package/dist/esm/sdk/customers.js.map +1 -1
- package/dist/esm/sdk/orders.d.ts +7 -3
- package/dist/esm/sdk/orders.d.ts.map +1 -1
- package/dist/esm/sdk/orders.js +2 -1
- package/dist/esm/sdk/orders.js.map +1 -1
- package/dist/esm/sdk/polarmembers.d.ts +5 -1
- package/dist/esm/sdk/polarmembers.d.ts.map +1 -1
- package/dist/esm/sdk/polarmembers.js +3 -2
- package/dist/esm/sdk/polarmembers.js.map +1 -1
- package/dist/esm/sdk/seats.d.ts +5 -3
- package/dist/esm/sdk/seats.d.ts.map +1 -1
- package/dist/esm/sdk/seats.js +3 -2
- package/dist/esm/sdk/seats.js.map +1 -1
- package/dist/esm/sdk/subscriptions.d.ts +6 -2
- package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
- package/dist/esm/sdk/subscriptions.js +2 -1
- package/dist/esm/sdk/subscriptions.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/customerPortalMembersListMembers.ts +146 -33
- package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +153 -34
- package/src/funcs/customersExport.ts +16 -7
- package/src/funcs/ordersExport.ts +17 -8
- package/src/funcs/subscriptionsExport.ts +18 -7
- package/src/lib/config.ts +3 -3
- package/src/models/components/address.ts +11 -6
- package/src/models/components/benefitgithubrepositoryproperties.ts +7 -6
- package/src/models/components/benefitgrantgithubrepositoryproperties.ts +7 -6
- package/src/models/components/benefitlicensekeyexpirationproperties.ts +7 -7
- package/src/models/components/benefittype.ts +7 -6
- package/src/models/components/billingaddressfieldmode.ts +11 -10
- package/src/models/components/checkout.ts +0 -85
- package/src/models/components/checkoutconfirmstripe.ts +0 -9
- package/src/models/components/checkoutlink.ts +6 -0
- package/src/models/components/checkoutlinkcreateproduct.ts +7 -0
- package/src/models/components/checkoutlinkcreateproductprice.ts +7 -0
- package/src/models/components/checkoutlinkcreateproducts.ts +7 -0
- package/src/models/components/checkoutlinkupdate.ts +7 -0
- package/src/models/components/checkoutpublic.ts +0 -44
- package/src/models/components/checkoutpublicconfirmed.ts +0 -45
- package/src/models/components/checkoutstatus.ts +11 -8
- package/src/models/components/checkoutupdate.ts +0 -9
- package/src/models/components/checkoutupdatepublic.ts +0 -9
- package/src/models/components/customercancellationreason.ts +11 -8
- package/src/models/components/customerorder.ts +0 -6
- package/src/models/components/customerstatesubscription.ts +7 -7
- package/src/models/components/customertype.ts +7 -6
- package/src/models/components/discountduration.ts +11 -8
- package/src/models/components/discountfixedonceforeverdurationcreate.ts +7 -6
- package/src/models/components/discountfixedrepeatdurationcreate.ts +7 -6
- package/src/models/components/discounttype.ts +7 -6
- package/src/models/components/discountupdate.ts +6 -2
- package/src/models/components/disputestatus.ts +11 -6
- package/src/models/components/eventsource.ts +7 -6
- package/src/models/components/fileservicetypes.ts +7 -5
- package/src/models/components/filterconjunction.ts +11 -8
- package/src/models/components/filteroperator.ts +11 -8
- package/src/models/components/introspecttokenresponse.ts +5 -5
- package/src/models/components/licensekeystatus.ts +11 -8
- package/src/models/components/listresourcecustomerportalmember.ts +37 -0
- package/src/models/components/memberrole.ts +7 -6
- package/src/models/components/metrictype.ts +5 -4
- package/src/models/components/order.ts +0 -9
- package/src/models/components/orderbillingreason.ts +11 -8
- package/src/models/components/orderstatus.ts +8 -6
- package/src/models/components/organizationcustomeremailsettings.ts +6 -0
- package/src/models/components/organizationsocialplatforms.ts +11 -8
- package/src/models/components/organizationstatus.ts +11 -8
- package/src/models/components/paymentstatus.ts +11 -6
- package/src/models/components/productpricecustom.ts +0 -23
- package/src/models/components/productpricefixed.ts +0 -23
- package/src/models/components/productpricefree.ts +0 -23
- package/src/models/components/productpricemeteredunit.ts +0 -23
- package/src/models/components/productpriceseatbased.ts +0 -23
- package/src/models/components/productpricesource.ts +11 -8
- package/src/models/components/productvisibility.ts +11 -8
- package/src/models/components/propertyaggregation.ts +7 -5
- package/src/models/components/refundreason.ts +7 -6
- package/src/models/components/refundstatus.ts +7 -6
- package/src/models/components/scope.ts +5 -3
- package/src/models/components/seatstatus.ts +7 -6
- package/src/models/components/subscriptionprorationbehavior.ts +11 -8
- package/src/models/components/subscriptionrecurringinterval.ts +11 -8
- package/src/models/components/subscriptionstatus.ts +11 -8
- package/src/models/components/subtype.ts +7 -7
- package/src/models/components/taxidformat.ts +7 -6
- package/src/models/components/trialinterval.ts +11 -6
- package/src/models/components/webhookendpointcreate.ts +0 -6
- package/src/models/components/webhookendpointupdate.ts +0 -6
- package/src/models/components/webhookeventtype.ts +11 -8
- package/src/models/components/webhookformat.ts +11 -6
- package/src/models/operations/customerportalmemberslistmembers.ts +84 -0
- package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +79 -0
- package/src/models/operations/customersexport.ts +21 -0
- package/src/models/operations/ordersexport.ts +21 -0
- package/src/models/operations/subscriptionsexport.ts +21 -0
- package/src/sdk/customers.ts +9 -4
- package/src/sdk/orders.ts +10 -5
- package/src/sdk/polarmembers.ts +11 -2
- package/src/sdk/seats.ts +15 -4
- package/src/sdk/subscriptions.ts +12 -4
- package/.devcontainer/devcontainer.json +0 -45
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/dist/commonjs/models/components/productpricetype.d.ts +0 -12
- package/dist/commonjs/models/components/productpricetype.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricetype.js.map +0 -1
- package/dist/esm/models/components/productpricetype.d.ts +0 -12
- package/dist/esm/models/components/productpricetype.d.ts.map +0 -1
- package/dist/esm/models/components/productpricetype.js +0 -13
- package/dist/esm/models/components/productpricetype.js.map +0 -1
- package/examples/package-lock.json +0 -616
- package/examples/package.json +0 -18
- package/src/models/components/productpricetype.ts +0 -21
- package/tsconfig.json +0 -40
package/dist/esm/sdk/seats.js
CHANGED
|
@@ -8,6 +8,7 @@ import { customerPortalSeatsResendInvitation } from "../funcs/customerPortalSeat
|
|
|
8
8
|
import { customerPortalSeatsRevokeSeat } from "../funcs/customerPortalSeatsRevokeSeat.js";
|
|
9
9
|
import { ClientSDK } from "../lib/sdks.js";
|
|
10
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
11
|
+
import { unwrapResultIterator } from "../types/operations.js";
|
|
11
12
|
export class Seats extends ClientSDK {
|
|
12
13
|
/**
|
|
13
14
|
* List Seats
|
|
@@ -44,8 +45,8 @@ export class Seats extends ClientSDK {
|
|
|
44
45
|
*
|
|
45
46
|
* **Scopes**: `customer_portal:read` `customer_portal:write`
|
|
46
47
|
*/
|
|
47
|
-
async listClaimedSubscriptions(security, options) {
|
|
48
|
-
return
|
|
48
|
+
async listClaimedSubscriptions(security, request, options) {
|
|
49
|
+
return unwrapResultIterator(customerPortalSeatsListClaimedSubscriptions(this, security, request, options));
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
//# sourceMappingURL=seats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seats.js","sourceRoot":"","sources":["../../../src/sdk/seats.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"seats.js","sourceRoot":"","sources":["../../../src/sdk/seats.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAsB3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,QAA8C,EAC9C,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CACd,QAA+C,EAC/C,OAAmB,EACnB,OAAwB;QAExB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CACd,QAA+C,EAC/C,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CACpB,QAAqD,EACrD,OAAmD,EACnD,OAAwB;QAExB,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,wBAAwB,CAC5B,QAA6D,EAC7D,OAA2D,EAC3D,OAAwB;QAOxB,OAAO,oBAAoB,CAAC,2CAA2C,CACrE,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { ExportAcceptEnum } from "../funcs/subscriptionsExport.js";
|
|
1
2
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
3
|
import { Subscription } from "../models/components/subscription.js";
|
|
3
4
|
import { SubscriptionsCreateSubscriptionCreate } from "../models/operations/subscriptionscreate.js";
|
|
4
|
-
import { SubscriptionsExportRequest } from "../models/operations/subscriptionsexport.js";
|
|
5
|
+
import { SubscriptionsExportRequest, SubscriptionsExportResponse } from "../models/operations/subscriptionsexport.js";
|
|
5
6
|
import { SubscriptionsGetRequest } from "../models/operations/subscriptionsget.js";
|
|
6
7
|
import { SubscriptionsListRequest, SubscriptionsListResponse } from "../models/operations/subscriptionslist.js";
|
|
7
8
|
import { SubscriptionsRevokeRequest } from "../models/operations/subscriptionsrevoke.js";
|
|
8
9
|
import { SubscriptionsUpdateRequest } from "../models/operations/subscriptionsupdate.js";
|
|
9
10
|
import { PageIterator } from "../types/operations.js";
|
|
11
|
+
export { ExportAcceptEnum } from "../funcs/subscriptionsExport.js";
|
|
10
12
|
export declare class Subscriptions extends ClientSDK {
|
|
11
13
|
/**
|
|
12
14
|
* List Subscriptions
|
|
@@ -41,7 +43,9 @@ export declare class Subscriptions extends ClientSDK {
|
|
|
41
43
|
*
|
|
42
44
|
* **Scopes**: `subscriptions:read` `subscriptions:write`
|
|
43
45
|
*/
|
|
44
|
-
export(request: SubscriptionsExportRequest, options?: RequestOptions
|
|
46
|
+
export(request: SubscriptionsExportRequest, options?: RequestOptions & {
|
|
47
|
+
acceptHeaderOverride?: ExportAcceptEnum;
|
|
48
|
+
}): Promise<SubscriptionsExportResponse>;
|
|
45
49
|
/**
|
|
46
50
|
* Get Subscription
|
|
47
51
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/sdk/subscriptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/sdk/subscriptions.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,gBAAgB,EAEjB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;;;;;;OAOG;IACG,IAAI,CACR,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC,yBAAyB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAQrE;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,qCAAqC,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;IAQxB;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,cAAc,GAAG;QAAE,oBAAoB,CAAC,EAAE,gBAAgB,CAAA;KAAE,GACrE,OAAO,CAAC,2BAA2B,CAAC;IAQvC;;;;;;;OAOG;IACG,GAAG,CACP,OAAO,EAAE,uBAAuB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;IAQxB;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;IAQxB;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;CAOzB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { subscriptionsCreate } from "../funcs/subscriptionsCreate.js";
|
|
5
|
-
import { subscriptionsExport } from "../funcs/subscriptionsExport.js";
|
|
5
|
+
import { subscriptionsExport, } from "../funcs/subscriptionsExport.js";
|
|
6
6
|
import { subscriptionsGet } from "../funcs/subscriptionsGet.js";
|
|
7
7
|
import { subscriptionsList } from "../funcs/subscriptionsList.js";
|
|
8
8
|
import { subscriptionsRevoke } from "../funcs/subscriptionsRevoke.js";
|
|
@@ -10,6 +10,7 @@ import { subscriptionsUpdate } from "../funcs/subscriptionsUpdate.js";
|
|
|
10
10
|
import { ClientSDK } from "../lib/sdks.js";
|
|
11
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
12
|
import { unwrapResultIterator } from "../types/operations.js";
|
|
13
|
+
export { ExportAcceptEnum } from "../funcs/subscriptionsExport.js";
|
|
13
14
|
export class Subscriptions extends ClientSDK {
|
|
14
15
|
/**
|
|
15
16
|
* List Subscriptions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../src/sdk/subscriptions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../src/sdk/subscriptions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAEL,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAc3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CACR,OAAiC,EACjC,OAAwB;QAExB,OAAO,oBAAoB,CAAC,iBAAiB,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAA8C,EAC9C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAmC,EACnC,OAAsE;QAEtE,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,GAAG,CACP,OAAgC,EAChC,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAmC,EACnC,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAmC,EACnC,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -4,15 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { PolarCore } from "../core.js";
|
|
7
|
+
import { dlv } from "../lib/dlv.js";
|
|
8
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
9
|
import * as M from "../lib/matchers.js";
|
|
8
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
13
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
14
|
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import {
|
|
13
|
-
CustomerPortalMember,
|
|
14
|
-
CustomerPortalMember$inboundSchema,
|
|
15
|
-
} from "../models/components/customerportalmember.js";
|
|
16
15
|
import {
|
|
17
16
|
ConnectionError,
|
|
18
17
|
InvalidRequestError,
|
|
@@ -20,11 +19,27 @@ import {
|
|
|
20
19
|
RequestTimeoutError,
|
|
21
20
|
UnexpectedClientError,
|
|
22
21
|
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import {
|
|
23
|
+
HTTPValidationError,
|
|
24
|
+
HTTPValidationError$inboundSchema,
|
|
25
|
+
} from "../models/errors/httpvalidationerror.js";
|
|
23
26
|
import { PolarError } from "../models/errors/polarerror.js";
|
|
24
27
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
28
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
29
|
+
import {
|
|
30
|
+
CustomerPortalMembersListMembersRequest,
|
|
31
|
+
CustomerPortalMembersListMembersRequest$outboundSchema,
|
|
32
|
+
CustomerPortalMembersListMembersResponse,
|
|
33
|
+
CustomerPortalMembersListMembersResponse$inboundSchema,
|
|
34
|
+
} from "../models/operations/customerportalmemberslistmembers.js";
|
|
26
35
|
import { APICall, APIPromise } from "../types/async.js";
|
|
27
36
|
import { Result } from "../types/fp.js";
|
|
37
|
+
import {
|
|
38
|
+
createPageIterator,
|
|
39
|
+
haltIterator,
|
|
40
|
+
PageIterator,
|
|
41
|
+
Paginator,
|
|
42
|
+
} from "../types/operations.js";
|
|
28
43
|
|
|
29
44
|
/**
|
|
30
45
|
* List Members
|
|
@@ -36,47 +51,75 @@ import { Result } from "../types/fp.js";
|
|
|
36
51
|
*/
|
|
37
52
|
export function customerPortalMembersListMembers(
|
|
38
53
|
client: PolarCore,
|
|
54
|
+
request: CustomerPortalMembersListMembersRequest,
|
|
39
55
|
options?: RequestOptions,
|
|
40
56
|
): APIPromise<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
PageIterator<
|
|
58
|
+
Result<
|
|
59
|
+
CustomerPortalMembersListMembersResponse,
|
|
60
|
+
| HTTPValidationError
|
|
61
|
+
| PolarError
|
|
62
|
+
| ResponseValidationError
|
|
63
|
+
| ConnectionError
|
|
64
|
+
| RequestAbortedError
|
|
65
|
+
| RequestTimeoutError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| UnexpectedClientError
|
|
68
|
+
| SDKValidationError
|
|
69
|
+
>,
|
|
70
|
+
{ page: number }
|
|
51
71
|
>
|
|
52
72
|
> {
|
|
53
73
|
return new APIPromise($do(
|
|
54
74
|
client,
|
|
75
|
+
request,
|
|
55
76
|
options,
|
|
56
77
|
));
|
|
57
78
|
}
|
|
58
79
|
|
|
59
80
|
async function $do(
|
|
60
81
|
client: PolarCore,
|
|
82
|
+
request: CustomerPortalMembersListMembersRequest,
|
|
61
83
|
options?: RequestOptions,
|
|
62
84
|
): Promise<
|
|
63
85
|
[
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
86
|
+
PageIterator<
|
|
87
|
+
Result<
|
|
88
|
+
CustomerPortalMembersListMembersResponse,
|
|
89
|
+
| HTTPValidationError
|
|
90
|
+
| PolarError
|
|
91
|
+
| ResponseValidationError
|
|
92
|
+
| ConnectionError
|
|
93
|
+
| RequestAbortedError
|
|
94
|
+
| RequestTimeoutError
|
|
95
|
+
| InvalidRequestError
|
|
96
|
+
| UnexpectedClientError
|
|
97
|
+
| SDKValidationError
|
|
98
|
+
>,
|
|
99
|
+
{ page: number }
|
|
74
100
|
>,
|
|
75
101
|
APICall,
|
|
76
102
|
]
|
|
77
103
|
> {
|
|
104
|
+
const parsed = safeParse(
|
|
105
|
+
request,
|
|
106
|
+
(value) =>
|
|
107
|
+
z.parse(CustomerPortalMembersListMembersRequest$outboundSchema, value),
|
|
108
|
+
"Input validation failed",
|
|
109
|
+
);
|
|
110
|
+
if (!parsed.ok) {
|
|
111
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
112
|
+
}
|
|
113
|
+
const payload = parsed.value;
|
|
114
|
+
const body = null;
|
|
115
|
+
|
|
78
116
|
const path = pathToFunc("/v1/customer-portal/members")();
|
|
79
117
|
|
|
118
|
+
const query = encodeFormQuery({
|
|
119
|
+
"limit": payload.limit,
|
|
120
|
+
"page": payload.page,
|
|
121
|
+
});
|
|
122
|
+
|
|
80
123
|
const headers = new Headers(compactMap({
|
|
81
124
|
Accept: "application/json",
|
|
82
125
|
}));
|
|
@@ -106,27 +149,34 @@ async function $do(
|
|
|
106
149
|
baseURL: options?.serverURL,
|
|
107
150
|
path: path,
|
|
108
151
|
headers: headers,
|
|
152
|
+
query: query,
|
|
153
|
+
body: body,
|
|
109
154
|
userAgent: client._options.userAgent,
|
|
110
155
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
111
156
|
}, options);
|
|
112
157
|
if (!requestRes.ok) {
|
|
113
|
-
return [requestRes, { status: "invalid" }];
|
|
158
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
114
159
|
}
|
|
115
160
|
const req = requestRes.value;
|
|
116
161
|
|
|
117
162
|
const doResult = await client._do(req, {
|
|
118
163
|
context,
|
|
119
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
164
|
+
errorCodes: ["401", "403", "422", "4XX", "5XX"],
|
|
120
165
|
retryConfig: context.retryConfig,
|
|
121
166
|
retryCodes: context.retryCodes,
|
|
122
167
|
});
|
|
123
168
|
if (!doResult.ok) {
|
|
124
|
-
return [doResult, { status: "request-error", request: req }];
|
|
169
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
125
170
|
}
|
|
126
171
|
const response = doResult.value;
|
|
127
172
|
|
|
128
|
-
const
|
|
129
|
-
|
|
173
|
+
const responseFields = {
|
|
174
|
+
HttpMeta: { Response: response, Request: req },
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
const [result, raw] = await M.match<
|
|
178
|
+
CustomerPortalMembersListMembersResponse,
|
|
179
|
+
| HTTPValidationError
|
|
130
180
|
| PolarError
|
|
131
181
|
| ResponseValidationError
|
|
132
182
|
| ConnectionError
|
|
@@ -136,13 +186,76 @@ async function $do(
|
|
|
136
186
|
| UnexpectedClientError
|
|
137
187
|
| SDKValidationError
|
|
138
188
|
>(
|
|
139
|
-
M.json(200,
|
|
189
|
+
M.json(200, CustomerPortalMembersListMembersResponse$inboundSchema, {
|
|
190
|
+
key: "Result",
|
|
191
|
+
}),
|
|
192
|
+
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
140
193
|
M.fail([401, 403, "4XX"]),
|
|
141
194
|
M.fail("5XX"),
|
|
142
|
-
)(response, req);
|
|
195
|
+
)(response, req, { extraFields: responseFields });
|
|
143
196
|
if (!result.ok) {
|
|
144
|
-
return [result, {
|
|
197
|
+
return [haltIterator(result), {
|
|
198
|
+
status: "complete",
|
|
199
|
+
request: req,
|
|
200
|
+
response,
|
|
201
|
+
}];
|
|
145
202
|
}
|
|
146
203
|
|
|
147
|
-
|
|
204
|
+
const nextFunc = (
|
|
205
|
+
responseData: unknown,
|
|
206
|
+
): {
|
|
207
|
+
next: Paginator<
|
|
208
|
+
Result<
|
|
209
|
+
CustomerPortalMembersListMembersResponse,
|
|
210
|
+
| HTTPValidationError
|
|
211
|
+
| PolarError
|
|
212
|
+
| ResponseValidationError
|
|
213
|
+
| ConnectionError
|
|
214
|
+
| RequestAbortedError
|
|
215
|
+
| RequestTimeoutError
|
|
216
|
+
| InvalidRequestError
|
|
217
|
+
| UnexpectedClientError
|
|
218
|
+
| SDKValidationError
|
|
219
|
+
>
|
|
220
|
+
>;
|
|
221
|
+
"~next"?: { page: number };
|
|
222
|
+
} => {
|
|
223
|
+
const page = request?.page ?? 1;
|
|
224
|
+
const nextPage = page + 1;
|
|
225
|
+
const numPages = dlv(responseData, "pagination.max_page");
|
|
226
|
+
if (typeof numPages !== "number" || numPages <= page) {
|
|
227
|
+
return { next: () => null };
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (!responseData) {
|
|
231
|
+
return { next: () => null };
|
|
232
|
+
}
|
|
233
|
+
const results = dlv(responseData, "items");
|
|
234
|
+
if (!Array.isArray(results) || !results.length) {
|
|
235
|
+
return { next: () => null };
|
|
236
|
+
}
|
|
237
|
+
const limit = request?.limit ?? 10;
|
|
238
|
+
if (results.length < limit) {
|
|
239
|
+
return { next: () => null };
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const nextVal = () =>
|
|
243
|
+
customerPortalMembersListMembers(
|
|
244
|
+
client,
|
|
245
|
+
{
|
|
246
|
+
...request,
|
|
247
|
+
page: nextPage,
|
|
248
|
+
},
|
|
249
|
+
options,
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
256
|
+
return [{ ...page, ...createPageIterator(page, (v) => !v.ok) }, {
|
|
257
|
+
status: "complete",
|
|
258
|
+
request: req,
|
|
259
|
+
response,
|
|
260
|
+
}];
|
|
148
261
|
}
|
|
@@ -4,15 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { PolarCore } from "../core.js";
|
|
7
|
+
import { dlv } from "../lib/dlv.js";
|
|
8
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
9
|
import * as M from "../lib/matchers.js";
|
|
8
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
13
|
import { resolveSecurity } from "../lib/security.js";
|
|
11
14
|
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import {
|
|
13
|
-
CustomerSubscription,
|
|
14
|
-
CustomerSubscription$inboundSchema,
|
|
15
|
-
} from "../models/components/customersubscription.js";
|
|
16
15
|
import {
|
|
17
16
|
ConnectionError,
|
|
18
17
|
InvalidRequestError,
|
|
@@ -20,12 +19,28 @@ import {
|
|
|
20
19
|
RequestTimeoutError,
|
|
21
20
|
UnexpectedClientError,
|
|
22
21
|
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import {
|
|
23
|
+
HTTPValidationError,
|
|
24
|
+
HTTPValidationError$inboundSchema,
|
|
25
|
+
} from "../models/errors/httpvalidationerror.js";
|
|
23
26
|
import { PolarError } from "../models/errors/polarerror.js";
|
|
24
27
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
28
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
-
import {
|
|
29
|
+
import {
|
|
30
|
+
CustomerPortalSeatsListClaimedSubscriptionsRequest,
|
|
31
|
+
CustomerPortalSeatsListClaimedSubscriptionsRequest$outboundSchema,
|
|
32
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse,
|
|
33
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse$inboundSchema,
|
|
34
|
+
CustomerPortalSeatsListClaimedSubscriptionsSecurity,
|
|
35
|
+
} from "../models/operations/customerportalseatslistclaimedsubscriptions.js";
|
|
27
36
|
import { APICall, APIPromise } from "../types/async.js";
|
|
28
37
|
import { Result } from "../types/fp.js";
|
|
38
|
+
import {
|
|
39
|
+
createPageIterator,
|
|
40
|
+
haltIterator,
|
|
41
|
+
PageIterator,
|
|
42
|
+
Paginator,
|
|
43
|
+
} from "../types/operations.js";
|
|
29
44
|
|
|
30
45
|
/**
|
|
31
46
|
* List Claimed Subscriptions
|
|
@@ -38,23 +53,29 @@ import { Result } from "../types/fp.js";
|
|
|
38
53
|
export function customerPortalSeatsListClaimedSubscriptions(
|
|
39
54
|
client: PolarCore,
|
|
40
55
|
security: CustomerPortalSeatsListClaimedSubscriptionsSecurity,
|
|
56
|
+
request: CustomerPortalSeatsListClaimedSubscriptionsRequest,
|
|
41
57
|
options?: RequestOptions,
|
|
42
58
|
): APIPromise<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
59
|
+
PageIterator<
|
|
60
|
+
Result<
|
|
61
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse,
|
|
62
|
+
| HTTPValidationError
|
|
63
|
+
| PolarError
|
|
64
|
+
| ResponseValidationError
|
|
65
|
+
| ConnectionError
|
|
66
|
+
| RequestAbortedError
|
|
67
|
+
| RequestTimeoutError
|
|
68
|
+
| InvalidRequestError
|
|
69
|
+
| UnexpectedClientError
|
|
70
|
+
| SDKValidationError
|
|
71
|
+
>,
|
|
72
|
+
{ page: number }
|
|
53
73
|
>
|
|
54
74
|
> {
|
|
55
75
|
return new APIPromise($do(
|
|
56
76
|
client,
|
|
57
77
|
security,
|
|
78
|
+
request,
|
|
58
79
|
options,
|
|
59
80
|
));
|
|
60
81
|
}
|
|
@@ -62,25 +83,50 @@ export function customerPortalSeatsListClaimedSubscriptions(
|
|
|
62
83
|
async function $do(
|
|
63
84
|
client: PolarCore,
|
|
64
85
|
security: CustomerPortalSeatsListClaimedSubscriptionsSecurity,
|
|
86
|
+
request: CustomerPortalSeatsListClaimedSubscriptionsRequest,
|
|
65
87
|
options?: RequestOptions,
|
|
66
88
|
): Promise<
|
|
67
89
|
[
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
90
|
+
PageIterator<
|
|
91
|
+
Result<
|
|
92
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse,
|
|
93
|
+
| HTTPValidationError
|
|
94
|
+
| PolarError
|
|
95
|
+
| ResponseValidationError
|
|
96
|
+
| ConnectionError
|
|
97
|
+
| RequestAbortedError
|
|
98
|
+
| RequestTimeoutError
|
|
99
|
+
| InvalidRequestError
|
|
100
|
+
| UnexpectedClientError
|
|
101
|
+
| SDKValidationError
|
|
102
|
+
>,
|
|
103
|
+
{ page: number }
|
|
78
104
|
>,
|
|
79
105
|
APICall,
|
|
80
106
|
]
|
|
81
107
|
> {
|
|
108
|
+
const parsed = safeParse(
|
|
109
|
+
request,
|
|
110
|
+
(value) =>
|
|
111
|
+
z.parse(
|
|
112
|
+
CustomerPortalSeatsListClaimedSubscriptionsRequest$outboundSchema,
|
|
113
|
+
value,
|
|
114
|
+
),
|
|
115
|
+
"Input validation failed",
|
|
116
|
+
);
|
|
117
|
+
if (!parsed.ok) {
|
|
118
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
119
|
+
}
|
|
120
|
+
const payload = parsed.value;
|
|
121
|
+
const body = null;
|
|
122
|
+
|
|
82
123
|
const path = pathToFunc("/v1/customer-portal/seats/subscriptions")();
|
|
83
124
|
|
|
125
|
+
const query = encodeFormQuery({
|
|
126
|
+
"limit": payload.limit,
|
|
127
|
+
"page": payload.page,
|
|
128
|
+
});
|
|
129
|
+
|
|
84
130
|
const headers = new Headers(compactMap({
|
|
85
131
|
Accept: "application/json",
|
|
86
132
|
}));
|
|
@@ -123,27 +169,34 @@ async function $do(
|
|
|
123
169
|
baseURL: options?.serverURL,
|
|
124
170
|
path: path,
|
|
125
171
|
headers: headers,
|
|
172
|
+
query: query,
|
|
173
|
+
body: body,
|
|
126
174
|
userAgent: client._options.userAgent,
|
|
127
175
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
176
|
}, options);
|
|
129
177
|
if (!requestRes.ok) {
|
|
130
|
-
return [requestRes, { status: "invalid" }];
|
|
178
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
131
179
|
}
|
|
132
180
|
const req = requestRes.value;
|
|
133
181
|
|
|
134
182
|
const doResult = await client._do(req, {
|
|
135
183
|
context,
|
|
136
|
-
errorCodes: ["401", "4XX", "5XX"],
|
|
184
|
+
errorCodes: ["401", "422", "4XX", "5XX"],
|
|
137
185
|
retryConfig: context.retryConfig,
|
|
138
186
|
retryCodes: context.retryCodes,
|
|
139
187
|
});
|
|
140
188
|
if (!doResult.ok) {
|
|
141
|
-
return [doResult, { status: "request-error", request: req }];
|
|
189
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
142
190
|
}
|
|
143
191
|
const response = doResult.value;
|
|
144
192
|
|
|
145
|
-
const
|
|
146
|
-
|
|
193
|
+
const responseFields = {
|
|
194
|
+
HttpMeta: { Response: response, Request: req },
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
const [result, raw] = await M.match<
|
|
198
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse,
|
|
199
|
+
| HTTPValidationError
|
|
147
200
|
| PolarError
|
|
148
201
|
| ResponseValidationError
|
|
149
202
|
| ConnectionError
|
|
@@ -153,13 +206,79 @@ async function $do(
|
|
|
153
206
|
| UnexpectedClientError
|
|
154
207
|
| SDKValidationError
|
|
155
208
|
>(
|
|
156
|
-
M.json(
|
|
209
|
+
M.json(
|
|
210
|
+
200,
|
|
211
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse$inboundSchema,
|
|
212
|
+
{ key: "Result" },
|
|
213
|
+
),
|
|
214
|
+
M.jsonErr(422, HTTPValidationError$inboundSchema),
|
|
157
215
|
M.fail([401, "4XX"]),
|
|
158
216
|
M.fail("5XX"),
|
|
159
|
-
)(response, req);
|
|
217
|
+
)(response, req, { extraFields: responseFields });
|
|
160
218
|
if (!result.ok) {
|
|
161
|
-
return [result, {
|
|
219
|
+
return [haltIterator(result), {
|
|
220
|
+
status: "complete",
|
|
221
|
+
request: req,
|
|
222
|
+
response,
|
|
223
|
+
}];
|
|
162
224
|
}
|
|
163
225
|
|
|
164
|
-
|
|
226
|
+
const nextFunc = (
|
|
227
|
+
responseData: unknown,
|
|
228
|
+
): {
|
|
229
|
+
next: Paginator<
|
|
230
|
+
Result<
|
|
231
|
+
CustomerPortalSeatsListClaimedSubscriptionsResponse,
|
|
232
|
+
| HTTPValidationError
|
|
233
|
+
| PolarError
|
|
234
|
+
| ResponseValidationError
|
|
235
|
+
| ConnectionError
|
|
236
|
+
| RequestAbortedError
|
|
237
|
+
| RequestTimeoutError
|
|
238
|
+
| InvalidRequestError
|
|
239
|
+
| UnexpectedClientError
|
|
240
|
+
| SDKValidationError
|
|
241
|
+
>
|
|
242
|
+
>;
|
|
243
|
+
"~next"?: { page: number };
|
|
244
|
+
} => {
|
|
245
|
+
const page = request?.page ?? 1;
|
|
246
|
+
const nextPage = page + 1;
|
|
247
|
+
const numPages = dlv(responseData, "pagination.max_page");
|
|
248
|
+
if (typeof numPages !== "number" || numPages <= page) {
|
|
249
|
+
return { next: () => null };
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (!responseData) {
|
|
253
|
+
return { next: () => null };
|
|
254
|
+
}
|
|
255
|
+
const results = dlv(responseData, "items");
|
|
256
|
+
if (!Array.isArray(results) || !results.length) {
|
|
257
|
+
return { next: () => null };
|
|
258
|
+
}
|
|
259
|
+
const limit = request?.limit ?? 10;
|
|
260
|
+
if (results.length < limit) {
|
|
261
|
+
return { next: () => null };
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
const nextVal = () =>
|
|
265
|
+
customerPortalSeatsListClaimedSubscriptions(
|
|
266
|
+
client,
|
|
267
|
+
security,
|
|
268
|
+
{
|
|
269
|
+
...request,
|
|
270
|
+
page: nextPage,
|
|
271
|
+
},
|
|
272
|
+
options,
|
|
273
|
+
);
|
|
274
|
+
|
|
275
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
279
|
+
return [{ ...page, ...createPageIterator(page, (v) => !v.ok) }, {
|
|
280
|
+
status: "complete",
|
|
281
|
+
request: req,
|
|
282
|
+
response,
|
|
283
|
+
}];
|
|
165
284
|
}
|