From b152ed9155e120f30b2432a0d299a9a823bc8a74 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 7 Dec 2025 00:19:52 +0000 Subject: [PATCH 1/2] ## Python SDK Changes Detected: * `polar.checkouts.client_get()`: `response` **Changed** **Breaking** :warning: * `polar.events.get()`: `response` **Changed** **Breaking** :warning: * `polar.events.list()`: * `request.depth` **Added** * `response.items.[]` **Changed** **Breaking** :warning: * `polar.customer_portal.subscriptions.update()`: `response.product` **Changed** **Breaking** :warning: * `polar.customer_portal.subscriptions.cancel()`: `response.product` **Changed** **Breaking** :warning: * `polar.customer_portal.subscriptions.get()`: `response.product` **Changed** **Breaking** :warning: * `polar.customer_portal.subscriptions.list()`: `response.items.[].product` **Changed** **Breaking** :warning: * `polar._endpointcheckout_created_post()`: * `request.data` **Changed** **Breaking** :warning: * `polar._endpointcheckout_updated_post()`: * `request.data` **Changed** **Breaking** :warning: * `polar._endpointorder_created_post()`: * `request.data.platform_fee_currency` **Added** **Breaking** :warning: * `polar._endpointorder_updated_post()`: * `request.data.platform_fee_currency` **Added** **Breaking** :warning: * `polar._endpointorder_paid_post()`: * `request.data.platform_fee_currency` **Added** **Breaking** :warning: * `polar._endpointorder_refunded_post()`: * `request.data.platform_fee_currency` **Added** **Breaking** :warning: * `polar._endpointsubscription_created_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_updated_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_active_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_canceled_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_uncanceled_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_revoked_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointproduct_created_post()`: * `request.data.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointproduct_updated_post()`: * `request.data.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointorganization_updated_post()`: * `request.data` **Changed** **Breaking** :warning: * `polar.customer_portal.organizations.get()`: `response` **Changed** **Breaking** :warning: * `polar.organizations.create()`: * `request` **Changed** **Breaking** :warning: * `response` **Changed** * `polar.customer_portal.orders.update()`: `response.product` **Changed** **Breaking** :warning: * `polar.organizations.update()`: * `request.organization_update` **Changed** **Breaking** :warning: * `response` **Changed** * `polar.customer_portal.orders.get()`: `response.product` **Changed** **Breaking** :warning: * `polar.customer_portal.orders.list()`: `response.items.[].product` **Changed** **Breaking** :warning: * `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.[].product` **Changed** **Breaking** :warning: * `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_license_keys].benefit.organization` **Changed** **Breaking** :warning: * `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_git_hub_repository].benefit.organization` **Changed** **Breaking** :warning: * `polar.customer_portal.benefit-grants.list()`: * `request.sorting` **Changed** * `response.items.[].[customer_benefit_grant_discord].benefit.organization` **Changed** **Breaking** :warning: * `polar.customers.create()`: * `request` **Changed** **Breaking** :warning: * `response.members` **Added** * `polar.metrics.get()`: * `request.metrics` **Added** * `response` **Changed** **Breaking** :warning: * `polar.checkouts.client_confirm()`: * `request.checkout_confirm_stripe.allow_trial` **Added** * `response` **Changed** **Breaking** :warning: * `error.[trial_already_redeemed]` **Added** * `polar.checkouts.client_update()`: * `request.checkout_update_public.allow_trial` **Added** * `response` **Changed** **Breaking** :warning: * `error.[trial_already_redeemed]` **Added** * `polar.products.update_benefits()`: `response.prices.[]` **Changed** * `polar.customers.get()`: * `request.include_members` **Added** * `response.members` **Added** * `polar.orders.get()`: `response.platform_fee_currency` **Added** * `polar.orders.update()`: `response.platform_fee_currency` **Added** * `polar.checkouts.list()`: `response.items.[]` **Changed** * `polar.checkouts.create()`: * `request` **Changed** * `response` **Changed** * `polar.checkouts.get()`: `response` **Changed** * `polar.checkouts.update()`: * `request.checkout_update.allow_trial` **Added** * `response` **Changed** * `error.[trial_already_redeemed]` **Added** * `polar.members.list_members()`: **Added** * `polar.products.update()`: `response.prices.[]` **Changed** * `polar.products.get()`: `response.prices.[]` **Changed** * `polar.products.create()`: `response.prices.[]` **Changed** * `polar.metrics.limits()`: `response.intervals.hour.min_days` **Added** * `polar.checkout-links.list()`: `response.items.[].products.[].prices.[]` **Changed** * `polar.checkout-links.create()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.get()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.update()`: `response.products.[].prices.[]` **Changed** * `polar.customers.list()`: * `request.include_members` **Added** * `response.items.[].members` **Added** * `polar.products.list()`: `response.items.[].prices.[]` **Changed** * `polar.orders.list()`: `response.items.[].platform_fee_currency` **Added** * `polar.customers.update()`: * `request.include_members` **Added** * `response.members` **Added** * `polar.customers.get_external()`: * `request.include_members` **Added** * `response.members` **Added** * `polar.customers.update_external()`: * `request.include_members` **Added** * `response.members` **Added** * `polar.webhooks.list_webhook_deliveries()`: `response.items.[].webhook_event.skipped` **Added** * `polar.subscriptions.update()`: * `request.subscription_update.[subscription_update_billing_period]` **Added** * `response.product.prices.[]` **Changed** * `polar.subscriptions.revoke()`: `response.product.prices.[]` **Changed** * `polar.subscriptions.get()`: `response.product.prices.[]` **Changed** * `polar.subscriptions.create()`: `response.product.prices.[]` **Changed** * `polar.subscriptions.list()`: * `request.cancel_at_period_end` **Added** * `response.items.[].product.prices.[]` **Changed** * `polar.organizations.get()`: `response` **Changed** * `polar.organizations.list()`: `response.items.[]` **Changed** * `polar.wallets.top_up()`: **Deleted** **Breaking** :warning: * `polar.wallets.get()`: **Deleted** **Breaking** :warning: * `polar.wallets.list()`: **Deleted** **Breaking** :warning: * `polar.customers.get_balance()`: **Deleted** **Breaking** :warning: * `polar.event-types.update()`: **Added** * `polar.event-types.list()`: **Added** --- .speakeasy/gen.lock | 7559 ++++++++++++++++- .speakeasy/gen.yaml | 6 +- .speakeasy/workflow.lock | 12 +- README.md | 63 +- RELEASES.md | 12 +- codeSamples.yaml | 86 +- docs/models/benefitcustomsubscriber.md | 2 +- docs/models/benefitcycledevent.md | 2 + docs/models/benefitdiscordsubscriber.md | 2 +- docs/models/benefitdownloadablessubscriber.md | 2 +- .../benefitgithubrepositorysubscriber.md | 2 +- docs/models/benefitgrantedevent.md | 2 + docs/models/benefitlicensekeyssubscriber.md | 2 +- docs/models/benefitmetercreditsubscriber.md | 2 +- docs/models/benefitrevokedevent.md | 2 + docs/models/benefitsubscriberorganization.md | 15 + docs/models/benefitupdatedevent.md | 2 + docs/models/checkout.md | 6 +- docs/models/checkoutconfirmstripe.md | 1 + docs/models/checkoutcreate.md | 4 +- docs/models/checkoutcreateprices.md | 35 + docs/models/checkoutforbiddenerror.md | 6 + docs/models/checkoutorganization.md | 15 + docs/models/checkoutprices.md | 17 + docs/models/checkoutpublic.md | 8 +- docs/models/checkoutpublicconfirmed.md | 8 +- docs/models/checkoutpublicconfirmedprices.md | 17 + docs/models/checkoutpublicprices.md | 17 + docs/models/checkoutupdate.md | 1 + docs/models/checkoutupdatepublic.md | 3 +- docs/models/churnedsubscriptions.md | 17 + docs/models/customerbalance.md | 11 - .../customerbenefitgrantsortproperty.md | 18 +- docs/models/customercreate.md | 3 +- docs/models/customercreatedevent.md | 2 + docs/models/customerdeletedevent.md | 2 + docs/models/customerorderproduct.md | 2 +- docs/models/customerorganization.md | 16 +- docs/models/customerorganizationdata.md | 11 + docs/models/customerscreaterequest.md | 9 + docs/models/customersgetbalancerequest.md | 8 - docs/models/customersgetexternalrequest.md | 7 +- docs/models/customersgetrequest.md | 7 +- docs/models/customerslistrequest.md | 1 + docs/models/customerslistresponse.md | 6 +- docs/models/customersubscriptionproduct.md | 2 +- docs/models/customersupdateexternalrequest.md | 1 + docs/models/customersupdaterequest.md | 9 +- docs/models/customerupdatedevent.md | 2 + docs/models/customerwithmembers.md | 23 + docs/models/customerwithmembersmetadata.md | 29 + docs/models/customerwithmemberstaxid.md | 17 + docs/models/eventslistrequest.md | 3 +- docs/models/{wallet.md => eventtype.md} | 23 +- ...enttypeslistqueryparamcustomeridfilter.md} | 2 +- ...slistqueryparamexternalcustomeridfilter.md | 19 + ...ypeslistqueryparamorganizationidfilter.md} | 2 +- docs/models/eventtypeslistrequest.md | 17 + docs/models/eventtypeslistresponse.md | 8 + docs/models/eventtypessortproperty.md | 17 + docs/models/eventtypesupdaterequest.md | 9 + docs/models/eventtypeupdate.md | 9 + docs/models/eventtypewithstats.md | 18 + .../legacyrecurringproductpricecustom.md | 1 + .../legacyrecurringproductpricefixed.md | 1 + .../models/legacyrecurringproductpricefree.md | 1 + docs/models/listresourcecustomer.md | 9 - .../models/listresourcecustomerwithmembers.md | 9 + docs/models/listresourceeventtypewithstats.md | 9 + ...esourcewallet.md => listresourcemember.md} | 4 +- docs/models/ltv.md | 17 + docs/models/member.md | 17 + docs/models/memberrole.md | 10 + ...equest.md => memberslistmembersrequest.md} | 7 +- ...ponse.md => memberslistmembersresponse.md} | 4 +- docs/models/membersortproperty.md | 9 + docs/models/metercreditevent.md | 2 + docs/models/meterresetevent.md | 2 + docs/models/metricperiod.md | 88 +- docs/models/metrics.md | 86 +- docs/models/metricsgetrequest.md | 21 +- docs/models/metricsintervallimit.md | 1 + docs/models/metricstotals.md | 86 +- .../metricstotalschurnedsubscriptions.md | 17 + docs/models/metricstotalsltv.md | 17 + docs/models/missingpaymentmethoderror.md | 9 - docs/models/order.md | 1 + docs/models/orderpaidevent.md | 2 + docs/models/orderrefundedevent.md | 2 + docs/models/organization.md | 36 +- docs/models/organizationfeaturesettings.md | 3 +- docs/models/organizationstatus.md | 3 +- .../organizationsubscriptionsettings.md | 3 +- docs/models/ownercreate.md | 12 + docs/models/paymentintentfailederror.md | 9 - docs/models/productpricecustom.md | 1 + docs/models/productpricefixed.md | 1 + docs/models/productpricefree.md | 1 + docs/models/productpricemeteredunit.md | 1 + docs/models/productpriceseatbased.md | 1 + docs/models/productpricesource.md | 9 + docs/models/refundreason.md | 1 + docs/models/scope.md | 3 + docs/models/subscriptioncycledevent.md | 2 + .../models/subscriptionproductupdatedevent.md | 2 + docs/models/subscriptionrevokedevent.md | 2 + docs/models/subscriptionseatsupdatedevent.md | 21 + .../subscriptionseatsupdatedmetadata.md | 11 + docs/models/subscriptionslistrequest.md | 1 + docs/models/subscriptionupdate.md | 6 + .../models/subscriptionupdatebillingperiod.md | 8 + docs/models/systemevent.md | 6 + docs/models/trialalreadyredeemed.md | 9 + docs/models/userevent.md | 2 + docs/models/walletsgetrequest.md | 8 - docs/models/walletsortproperty.md | 11 - docs/models/walletstopuprequest.md | 9 - docs/models/wallettopupcreate.md | 11 - docs/models/webhookevent.md | 1 + docs/models/webhookordercreatedpayload.md | 3 +- docs/sdks/checkouts/README.md | 5 + docs/sdks/customers/README.md | 81 +- docs/sdks/events/README.md | 3 +- docs/sdks/eventtypes/README.md | 105 + docs/sdks/{polarwallets => members}/README.md | 75 +- docs/sdks/metricssdk/README.md | 23 +- docs/sdks/polarorganizations/README.md | 2 +- docs/sdks/subscriptions/README.md | 1 + docs/sdks/wallets/README.md | 106 +- poetry.lock | 2 +- pyproject.toml | 2 +- src/polar_sdk/_version.py | 4 +- src/polar_sdk/customer_portal.py | 6 +- src/polar_sdk/customers.py | 306 +- .../{polar_wallets.py => event_types.py} | 256 +- src/polar_sdk/events.py | 12 +- src/polar_sdk/members.py | 265 + src/polar_sdk/metrics_sdk.py | 8 +- src/polar_sdk/models/__init__.py | 332 +- .../models/benefitcustomsubscriber.py | 9 +- src/polar_sdk/models/benefitcycledevent.py | 21 +- .../models/benefitdiscordsubscriber.py | 9 +- .../models/benefitdownloadablessubscriber.py | 9 +- .../benefitgithubrepositorysubscriber.py | 9 +- src/polar_sdk/models/benefitgrantedevent.py | 21 +- .../models/benefitlicensekeyssubscriber.py | 9 +- .../models/benefitmetercreditsubscriber.py | 9 +- src/polar_sdk/models/benefitrevokedevent.py | 21 +- .../models/benefitsubscriberorganization.py | 81 + src/polar_sdk/models/benefitupdatedevent.py | 21 +- src/polar_sdk/models/checkout.py | 37 +- src/polar_sdk/models/checkoutconfirmstripe.py | 16 +- src/polar_sdk/models/checkoutcreate.py | 62 +- .../models/checkoutforbiddenerror.py | 8 +- src/polar_sdk/models/checkoutorganization.py | 81 + src/polar_sdk/models/checkoutpublic.py | 46 +- .../models/checkoutpublicconfirmed.py | 43 +- src/polar_sdk/models/checkoutupdate.py | 7 + src/polar_sdk/models/checkoutupdatepublic.py | 16 +- src/polar_sdk/models/customerbalance.py | 24 - .../customerbenefitgrantsortproperty.py | 2 + src/polar_sdk/models/customercreate.py | 8 + src/polar_sdk/models/customercreatedevent.py | 21 +- src/polar_sdk/models/customerdeletedevent.py | 21 +- src/polar_sdk/models/customerorderproduct.py | 6 +- src/polar_sdk/models/customerorganization.py | 80 +- .../models/customerorganizationdata.py | 23 + src/polar_sdk/models/customers_createop.py | 27 + .../models/customers_get_balanceop.py | 18 - .../models/customers_get_externalop.py | 13 +- src/polar_sdk/models/customers_getop.py | 13 +- .../models/customers_update_externalop.py | 18 +- src/polar_sdk/models/customers_updateop.py | 18 +- .../models/customersubscriptionproduct.py | 6 +- src/polar_sdk/models/customerupdatedevent.py | 21 +- src/polar_sdk/models/customerwithmembers.py | 139 + src/polar_sdk/models/event_types_listop.py | 200 + ...ts_top_upop.py => event_types_updateop.py} | 16 +- src/polar_sdk/models/eventtype.py | 77 + .../models/eventtypessortproperty.py | 17 + src/polar_sdk/models/eventtypeupdate.py | 51 + src/polar_sdk/models/eventtypewithstats.py | 96 + .../legacyrecurringproductpricecustom.py | 4 + .../legacyrecurringproductpricefixed.py | 4 + .../models/legacyrecurringproductpricefree.py | 4 + .../listresource_customerwithmembers_.py | 19 + ...py => listresource_eventtypewithstats_.py} | 10 +- ...rce_wallet_.py => listresource_member_.py} | 10 +- src/polar_sdk/models/{wallet.py => member.py} | 49 +- src/polar_sdk/models/memberrole.py | 10 + ...ts_listop.py => members_list_membersop.py} | 68 +- ...tsortproperty.py => membersortproperty.py} | 4 +- src/polar_sdk/models/metercreditevent.py | 21 +- src/polar_sdk/models/meterresetevent.py | 21 +- src/polar_sdk/models/metricperiod.py | 365 +- src/polar_sdk/models/metrics.py | 369 +- src/polar_sdk/models/metrics_getop.py | 10 + src/polar_sdk/models/metricsintervallimit.py | 5 + src/polar_sdk/models/metricstotals.py | 407 +- .../models/missingpaymentmethoderror.py | 39 - .../models/oauth2clientconfiguration.py | 2 +- .../models/oauth2clientconfigurationupdate.py | 2 +- src/polar_sdk/models/order.py | 6 + src/polar_sdk/models/orderpaidevent.py | 21 +- src/polar_sdk/models/orderrefundedevent.py | 21 +- src/polar_sdk/models/organization.py | 13 +- .../models/organizationfeaturesettings.py | 5 + src/polar_sdk/models/organizationstatus.py | 3 +- .../organizationsubscriptionsettings.py | 3 + src/polar_sdk/models/ownercreate.py | 58 + src/polar_sdk/models/productpricecustom.py | 4 + src/polar_sdk/models/productpricefixed.py | 4 + src/polar_sdk/models/productpricefree.py | 4 + .../models/productpricemeteredunit.py | 4 + src/polar_sdk/models/productpriceseatbased.py | 4 + src/polar_sdk/models/productpricesource.py | 9 + src/polar_sdk/models/refundreason.py | 1 + src/polar_sdk/models/scope.py | 3 + .../models/subscriptioncycledevent.py | 21 +- .../models/subscriptionproductupdatedevent.py | 21 +- .../models/subscriptionrevokedevent.py | 21 +- src/polar_sdk/models/subscriptions_listop.py | 42 +- .../models/subscriptionseatsupdatedevent.py | 127 + .../subscriptionseatsupdatedmetadata.py | 22 + src/polar_sdk/models/subscriptionupdate.py | 6 + .../models/subscriptionupdatebillingperiod.py | 22 + src/polar_sdk/models/systemevent.py | 6 + ...failederror.py => trialalreadyredeemed.py} | 14 +- src/polar_sdk/models/userevent.py | 21 +- src/polar_sdk/models/wallets_getop.py | 18 - src/polar_sdk/models/wallettopupcreate.py | 24 - src/polar_sdk/models/webhookevent.py | 5 + .../models/webhookordercreatedpayload.py | 6 +- src/polar_sdk/polar_organizations.py | 8 +- src/polar_sdk/sdk.py | 9 +- src/polar_sdk/subscriptions.py | 8 + src/polar_sdk/wallets.py | 398 +- 237 files changed, 12139 insertions(+), 2160 deletions(-) create mode 100644 docs/models/benefitsubscriberorganization.md create mode 100644 docs/models/checkoutcreateprices.md create mode 100644 docs/models/checkoutorganization.md create mode 100644 docs/models/checkoutprices.md create mode 100644 docs/models/checkoutpublicconfirmedprices.md create mode 100644 docs/models/checkoutpublicprices.md create mode 100644 docs/models/churnedsubscriptions.md delete mode 100644 docs/models/customerbalance.md create mode 100644 docs/models/customerorganizationdata.md create mode 100644 docs/models/customerscreaterequest.md delete mode 100644 docs/models/customersgetbalancerequest.md create mode 100644 docs/models/customerwithmembers.md create mode 100644 docs/models/customerwithmembersmetadata.md create mode 100644 docs/models/customerwithmemberstaxid.md rename docs/models/{wallet.md => eventtype.md} (53%) rename docs/models/{walletslistqueryparamcustomeridfilter.md => eventtypeslistqueryparamcustomeridfilter.md} (80%) create mode 100644 docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md rename docs/models/{walletslistqueryparamorganizationidfilter.md => eventtypeslistqueryparamorganizationidfilter.md} (78%) create mode 100644 docs/models/eventtypeslistrequest.md create mode 100644 docs/models/eventtypeslistresponse.md create mode 100644 docs/models/eventtypessortproperty.md create mode 100644 docs/models/eventtypesupdaterequest.md create mode 100644 docs/models/eventtypeupdate.md create mode 100644 docs/models/eventtypewithstats.md delete mode 100644 docs/models/listresourcecustomer.md create mode 100644 docs/models/listresourcecustomerwithmembers.md create mode 100644 docs/models/listresourceeventtypewithstats.md rename docs/models/{listresourcewallet.md => listresourcemember.md} (81%) create mode 100644 docs/models/ltv.md create mode 100644 docs/models/member.md create mode 100644 docs/models/memberrole.md rename docs/models/{walletslistrequest.md => memberslistmembersrequest.md} (80%) rename docs/models/{walletslistresponse.md => memberslistmembersresponse.md} (88%) create mode 100644 docs/models/membersortproperty.md create mode 100644 docs/models/metricstotalschurnedsubscriptions.md create mode 100644 docs/models/metricstotalsltv.md delete mode 100644 docs/models/missingpaymentmethoderror.md create mode 100644 docs/models/ownercreate.md delete mode 100644 docs/models/paymentintentfailederror.md create mode 100644 docs/models/productpricesource.md create mode 100644 docs/models/subscriptionseatsupdatedevent.md create mode 100644 docs/models/subscriptionseatsupdatedmetadata.md create mode 100644 docs/models/subscriptionupdatebillingperiod.md create mode 100644 docs/models/trialalreadyredeemed.md delete mode 100644 docs/models/walletsgetrequest.md delete mode 100644 docs/models/walletsortproperty.md delete mode 100644 docs/models/walletstopuprequest.md delete mode 100644 docs/models/wallettopupcreate.md create mode 100644 docs/sdks/eventtypes/README.md rename docs/sdks/{polarwallets => members}/README.md (53%) rename src/polar_sdk/{polar_wallets.py => event_types.py} (66%) create mode 100644 src/polar_sdk/members.py create mode 100644 src/polar_sdk/models/benefitsubscriberorganization.py create mode 100644 src/polar_sdk/models/checkoutorganization.py delete mode 100644 src/polar_sdk/models/customerbalance.py create mode 100644 src/polar_sdk/models/customerorganizationdata.py create mode 100644 src/polar_sdk/models/customers_createop.py delete mode 100644 src/polar_sdk/models/customers_get_balanceop.py create mode 100644 src/polar_sdk/models/customerwithmembers.py create mode 100644 src/polar_sdk/models/event_types_listop.py rename src/polar_sdk/models/{wallets_top_upop.py => event_types_updateop.py} (59%) create mode 100644 src/polar_sdk/models/eventtype.py create mode 100644 src/polar_sdk/models/eventtypessortproperty.py create mode 100644 src/polar_sdk/models/eventtypeupdate.py create mode 100644 src/polar_sdk/models/eventtypewithstats.py create mode 100644 src/polar_sdk/models/listresource_customerwithmembers_.py rename src/polar_sdk/models/{listresource_customer_.py => listresource_eventtypewithstats_.py} (55%) rename src/polar_sdk/models/{listresource_wallet_.py => listresource_member_.py} (64%) rename src/polar_sdk/models/{wallet.py => member.py} (62%) create mode 100644 src/polar_sdk/models/memberrole.py rename src/polar_sdk/models/{wallets_listop.py => members_list_membersop.py} (53%) rename src/polar_sdk/models/{walletsortproperty.py => membersortproperty.py} (68%) delete mode 100644 src/polar_sdk/models/missingpaymentmethoderror.py create mode 100644 src/polar_sdk/models/ownercreate.py create mode 100644 src/polar_sdk/models/productpricesource.py create mode 100644 src/polar_sdk/models/subscriptionseatsupdatedevent.py create mode 100644 src/polar_sdk/models/subscriptionseatsupdatedmetadata.py create mode 100644 src/polar_sdk/models/subscriptionupdatebillingperiod.py rename src/polar_sdk/models/{paymentintentfailederror.py => trialalreadyredeemed.py} (70%) delete mode 100644 src/polar_sdk/models/wallets_getop.py delete mode 100644 src/polar_sdk/models/wallettopupcreate.py diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ecd0b6cb..5aa7e55e 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: e7042734-e669-4c36-85da-bbb4a7500ac8 management: - docChecksum: a3c468eacbc6976c8c89190c4028782c + docChecksum: 5c7a97ee902584db93a18029c71d0419 docVersion: 0.1.0 speakeasyVersion: 1.648.0 generationVersion: 2.737.0 - releaseVersion: 0.28.0 - configChecksum: 9ac83425030700a95a3b5ca4c28ee626 + releaseVersion: 0.29.1 + configChecksum: ae4b034948a309e0e431a4943d9c2519 repoURL: https://github.com/polarsource/polar-python.git installationURL: https://github.com/polarsource/polar-python.git published: true @@ -173,6 +173,7 @@ generatedFiles: - docs/models/benefitslistrequest.md - docs/models/benefitslistresponse.md - docs/models/benefitsortproperty.md + - docs/models/benefitsubscriberorganization.md - docs/models/benefitsupdatebenefitupdate.md - docs/models/benefitsupdaterequest.md - docs/models/benefittype.md @@ -199,6 +200,7 @@ generatedFiles: - docs/models/checkoutcreatecustomermetadata.md - docs/models/checkoutcreatecustomfielddata.md - docs/models/checkoutcreatemetadata.md + - docs/models/checkoutcreateprices.md - docs/models/checkoutcustomfielddata.md - docs/models/checkoutdiscount.md - docs/models/checkoutdiscountfixedonceforeverduration.md @@ -231,6 +233,8 @@ generatedFiles: - docs/models/checkoutlinkupdate.md - docs/models/checkoutlinkupdatemetadata.md - docs/models/checkoutmetadata.md + - docs/models/checkoutorganization.md + - docs/models/checkoutprices.md - docs/models/checkoutproduct.md - docs/models/checkoutproductprice.md - docs/models/checkoutproductprices.md @@ -238,9 +242,11 @@ generatedFiles: - docs/models/checkoutpublicconfirmed.md - docs/models/checkoutpublicconfirmedcustomfielddata.md - docs/models/checkoutpublicconfirmeddiscount.md + - docs/models/checkoutpublicconfirmedprices.md - docs/models/checkoutpublicconfirmedproductprice.md - docs/models/checkoutpubliccustomfielddata.md - docs/models/checkoutpublicdiscount.md + - docs/models/checkoutpublicprices.md - docs/models/checkoutpublicproductprice.md - docs/models/checkoutsclientconfirmrequest.md - docs/models/checkoutsclientgetrequest.md @@ -262,6 +268,7 @@ generatedFiles: - docs/models/checkoutupdatemetadata.md - docs/models/checkoutupdatepublic.md - docs/models/checkoutupdatepubliccustomfielddata.md + - docs/models/churnedsubscriptions.md - docs/models/churnrate.md - docs/models/clauses.md - docs/models/committedmonthlyrecurringrevenue.md @@ -276,7 +283,6 @@ generatedFiles: - docs/models/cumulativecosts.md - docs/models/cumulativerevenue.md - docs/models/customer.md - - docs/models/customerbalance.md - docs/models/customerbenefitgrant.md - docs/models/customerbenefitgrantcustom.md - docs/models/customerbenefitgrantcustomupdate.md @@ -330,6 +336,7 @@ generatedFiles: - docs/models/customerordersubscription.md - docs/models/customerorderupdate.md - docs/models/customerorganization.md + - docs/models/customerorganizationdata.md - docs/models/customerpaymentmethod.md - docs/models/customerpaymentmethodconfirm.md - docs/models/customerpaymentmethodcreate.md @@ -417,6 +424,7 @@ generatedFiles: - docs/models/customerportalwalletslistsecurity.md - docs/models/customerproduct.md - docs/models/customerproductprices.md + - docs/models/customerscreaterequest.md - docs/models/customersdeleteexternalrequest.md - docs/models/customersdeleterequest.md - docs/models/customerseat.md @@ -431,7 +439,6 @@ generatedFiles: - docs/models/customersessionscreatecustomersessioncreate.md - docs/models/customersexportqueryparamorganizationid.md - docs/models/customersexportrequest.md - - docs/models/customersgetbalancerequest.md - docs/models/customersgetexternalrequest.md - docs/models/customersgetrequest.md - docs/models/customersgetstateexternalrequest.md @@ -476,6 +483,9 @@ generatedFiles: - docs/models/customerupdatetaxid.md - docs/models/customerwallet.md - docs/models/customerwalletsortproperty.md + - docs/models/customerwithmembers.md + - docs/models/customerwithmembersmetadata.md + - docs/models/customerwithmemberstaxid.md - docs/models/customfield.md - docs/models/customfieldcheckbox.md - docs/models/customfieldcheckboxmetadata.md @@ -591,6 +601,16 @@ generatedFiles: - docs/models/eventsmodel.md - docs/models/eventsortproperty.md - docs/models/eventsource.md + - docs/models/eventtype.md + - docs/models/eventtypeslistqueryparamcustomeridfilter.md + - docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md + - docs/models/eventtypeslistqueryparamorganizationidfilter.md + - docs/models/eventtypeslistrequest.md + - docs/models/eventtypeslistresponse.md + - docs/models/eventtypessortproperty.md + - docs/models/eventtypesupdaterequest.md + - docs/models/eventtypeupdate.md + - docs/models/eventtypewithstats.md - docs/models/existingproductprice.md - docs/models/expiredcheckouterror.md - docs/models/externalcustomeridfilter.md @@ -653,7 +673,6 @@ generatedFiles: - docs/models/listresourcebenefitgrant.md - docs/models/listresourcecheckout.md - docs/models/listresourcecheckoutlink.md - - docs/models/listresourcecustomer.md - docs/models/listresourcecustomerbenefitgrant.md - docs/models/listresourcecustomercustomermeter.md - docs/models/listresourcecustomermeter.md @@ -661,24 +680,32 @@ generatedFiles: - docs/models/listresourcecustomerpaymentmethod.md - docs/models/listresourcecustomersubscription.md - docs/models/listresourcecustomerwallet.md + - docs/models/listresourcecustomerwithmembers.md - docs/models/listresourcecustomfield.md - docs/models/listresourcediscount.md - docs/models/listresourcedownloadableread.md - docs/models/listresourceevent.md - docs/models/listresourceeventname.md + - docs/models/listresourceeventtypewithstats.md - docs/models/listresourcefileread.md - docs/models/listresourcelicensekeyread.md + - docs/models/listresourcemember.md - docs/models/listresourcemeter.md - docs/models/listresourceorder.md - docs/models/listresourceorganization.md - docs/models/listresourceproduct.md - docs/models/listresourcerefund.md - docs/models/listresourcesubscription.md - - docs/models/listresourcewallet.md - docs/models/listresourcewebhookdelivery.md - docs/models/listresourcewebhookendpoint.md - docs/models/llmmetadata.md - docs/models/loc.md + - docs/models/ltv.md + - docs/models/member.md + - docs/models/memberrole.md + - docs/models/memberslistmembersrequest.md + - docs/models/memberslistmembersresponse.md + - docs/models/membersortproperty.md - docs/models/meta.md - docs/models/metadata.md - docs/models/metadataquery.md @@ -735,6 +762,7 @@ generatedFiles: - docs/models/metricstotalscashflow.md - docs/models/metricstotalscheckouts.md - docs/models/metricstotalscheckoutsconversion.md + - docs/models/metricstotalschurnedsubscriptions.md - docs/models/metricstotalschurnrate.md - docs/models/metricstotalscommittedmonthlyrecurringrevenue.md - docs/models/metricstotalscostperuser.md @@ -743,6 +771,7 @@ generatedFiles: - docs/models/metricstotalscumulativerevenue.md - docs/models/metricstotalsgrossmargin.md - docs/models/metricstotalsgrossmarginpercentage.md + - docs/models/metricstotalsltv.md - docs/models/metricstotalsmonthlyrecurringrevenue.md - docs/models/metricstotalsnetaverageordervalue.md - docs/models/metricstotalsnetcumulativerevenue.md @@ -761,7 +790,6 @@ generatedFiles: - docs/models/metricstotalssucceededcheckouts.md - docs/models/metrictype.md - docs/models/missinginvoicebillingdetails.md - - docs/models/missingpaymentmethoderror.md - docs/models/monthlyrecurringrevenue.md - docs/models/namefilter.md - docs/models/netaverageordervalue.md @@ -844,11 +872,11 @@ generatedFiles: - docs/models/organizationsubscriptionsettings.md - docs/models/organizationsupdaterequest.md - docs/models/organizationupdate.md + - docs/models/ownercreate.md - docs/models/pagination.md - docs/models/payment.md - docs/models/paymentalreadyinprogress.md - docs/models/paymenterror.md - - docs/models/paymentintentfailederror.md - docs/models/paymentmethodcard.md - docs/models/paymentmethodcardmetadata.md - docs/models/paymentmethodgeneric.md @@ -894,6 +922,7 @@ generatedFiles: - docs/models/productpriceseatbasedcreate.md - docs/models/productpriceseattier.md - docs/models/productpriceseattiers.md + - docs/models/productpricesource.md - docs/models/productpricetype.md - docs/models/productsgetrequest.md - docs/models/productslistqueryparamorganizationidfilter.md @@ -983,6 +1012,8 @@ generatedFiles: - docs/models/subscriptionrevokedevent.md - docs/models/subscriptionrevokedmetadata.md - docs/models/subscriptionscreatesubscriptioncreate.md + - docs/models/subscriptionseatsupdatedevent.md + - docs/models/subscriptionseatsupdatedmetadata.md - docs/models/subscriptionsexportrequest.md - docs/models/subscriptionsgetrequest.md - docs/models/subscriptionslistrequest.md @@ -992,6 +1023,7 @@ generatedFiles: - docs/models/subscriptionstatus.md - docs/models/subscriptionsupdaterequest.md - docs/models/subscriptionupdate.md + - docs/models/subscriptionupdatebillingperiod.md - docs/models/subscriptionupdatediscount.md - docs/models/subscriptionupdateproduct.md - docs/models/subscriptionupdateseats.md @@ -1008,6 +1040,7 @@ generatedFiles: - docs/models/tokenresponse.md - docs/models/tokentype.md - docs/models/tokentypehint.md + - docs/models/trialalreadyredeemed.md - docs/models/trialinterval.md - docs/models/two.md - docs/models/unauthorized.md @@ -1020,15 +1053,6 @@ generatedFiles: - docs/models/validatedlicensekey.md - docs/models/validationerror.md - docs/models/value.md - - docs/models/wallet.md - - docs/models/walletsgetrequest.md - - docs/models/walletslistqueryparamcustomeridfilter.md - - docs/models/walletslistqueryparamorganizationidfilter.md - - docs/models/walletslistrequest.md - - docs/models/walletslistresponse.md - - docs/models/walletsortproperty.md - - docs/models/walletstopuprequest.md - - docs/models/wallettopupcreate.md - docs/models/webhookbenefitcreatedpayload.md - docs/models/webhookbenefitgrantcreatedpayload.md - docs/models/webhookbenefitgrantcycledpayload.md @@ -1091,8 +1115,10 @@ generatedFiles: - docs/sdks/discounts/README.md - docs/sdks/downloadables/README.md - docs/sdks/events/README.md + - docs/sdks/eventtypes/README.md - docs/sdks/files/README.md - docs/sdks/licensekeys/README.md + - docs/sdks/members/README.md - docs/sdks/meters/README.md - docs/sdks/metricssdk/README.md - docs/sdks/oauth2/README.md @@ -1106,7 +1132,6 @@ generatedFiles: - docs/sdks/polarorders/README.md - docs/sdks/polarorganizations/README.md - docs/sdks/polarsubscriptions/README.md - - docs/sdks/polarwallets/README.md - docs/sdks/products/README.md - docs/sdks/refunds/README.md - docs/sdks/seats/README.md @@ -1139,10 +1164,12 @@ generatedFiles: - src/polar_sdk/customers.py - src/polar_sdk/discounts.py - src/polar_sdk/downloadables.py + - src/polar_sdk/event_types.py - src/polar_sdk/events.py - src/polar_sdk/files.py - src/polar_sdk/httpclient.py - src/polar_sdk/license_keys.py + - src/polar_sdk/members.py - src/polar_sdk/meters.py - src/polar_sdk/metrics_sdk.py - src/polar_sdk/models/__init__.py @@ -1233,6 +1260,7 @@ generatedFiles: - src/polar_sdk/models/benefits_grantsop.py - src/polar_sdk/models/benefits_updateop.py - src/polar_sdk/models/benefitsortproperty.py + - src/polar_sdk/models/benefitsubscriberorganization.py - src/polar_sdk/models/benefittype.py - src/polar_sdk/models/benefitupdatedevent.py - src/polar_sdk/models/billingaddressfieldmode.py @@ -1259,6 +1287,7 @@ generatedFiles: - src/polar_sdk/models/checkoutlinkproduct.py - src/polar_sdk/models/checkoutlinksortproperty.py - src/polar_sdk/models/checkoutlinkupdate.py + - src/polar_sdk/models/checkoutorganization.py - src/polar_sdk/models/checkoutproduct.py - src/polar_sdk/models/checkoutpublic.py - src/polar_sdk/models/checkoutpublicconfirmed.py @@ -1321,7 +1350,6 @@ generatedFiles: - src/polar_sdk/models/customer_seats_resend_invitationop.py - src/polar_sdk/models/customer_seats_revoke_seatop.py - src/polar_sdk/models/customer_sessions_createop.py - - src/polar_sdk/models/customerbalance.py - src/polar_sdk/models/customerbenefitgrant.py - src/polar_sdk/models/customerbenefitgrantcustom.py - src/polar_sdk/models/customerbenefitgrantcustomupdate.py @@ -1362,6 +1390,7 @@ generatedFiles: - src/polar_sdk/models/customerordersubscription.py - src/polar_sdk/models/customerorderupdate.py - src/polar_sdk/models/customerorganization.py + - src/polar_sdk/models/customerorganizationdata.py - src/polar_sdk/models/customerpaymentmethod.py - src/polar_sdk/models/customerpaymentmethodconfirm.py - src/polar_sdk/models/customerpaymentmethodcreate.py @@ -1372,10 +1401,10 @@ generatedFiles: - src/polar_sdk/models/customerportalcustomerupdate.py - src/polar_sdk/models/customerportaloauthaccount.py - src/polar_sdk/models/customerproduct.py + - src/polar_sdk/models/customers_createop.py - src/polar_sdk/models/customers_delete_externalop.py - src/polar_sdk/models/customers_deleteop.py - src/polar_sdk/models/customers_exportop.py - - src/polar_sdk/models/customers_get_balanceop.py - src/polar_sdk/models/customers_get_externalop.py - src/polar_sdk/models/customers_get_state_externalop.py - src/polar_sdk/models/customers_get_stateop.py @@ -1409,6 +1438,7 @@ generatedFiles: - src/polar_sdk/models/customerupdateexternalid.py - src/polar_sdk/models/customerwallet.py - src/polar_sdk/models/customerwalletsortproperty.py + - src/polar_sdk/models/customerwithmembers.py - src/polar_sdk/models/customfield.py - src/polar_sdk/models/customfieldcheckbox.py - src/polar_sdk/models/customfieldcheckboxproperties.py @@ -1462,6 +1492,8 @@ generatedFiles: - src/polar_sdk/models/downloadablefileread.py - src/polar_sdk/models/downloadableread.py - src/polar_sdk/models/event.py + - src/polar_sdk/models/event_types_listop.py + - src/polar_sdk/models/event_types_updateop.py - src/polar_sdk/models/eventcreatecustomer.py - src/polar_sdk/models/eventcreateexternalcustomer.py - src/polar_sdk/models/eventmetadatainput.py @@ -1474,6 +1506,10 @@ generatedFiles: - src/polar_sdk/models/eventsingestresponse.py - src/polar_sdk/models/eventsortproperty.py - src/polar_sdk/models/eventsource.py + - src/polar_sdk/models/eventtype.py + - src/polar_sdk/models/eventtypessortproperty.py + - src/polar_sdk/models/eventtypeupdate.py + - src/polar_sdk/models/eventtypewithstats.py - src/polar_sdk/models/existingproductprice.py - src/polar_sdk/models/expiredcheckouterror.py - src/polar_sdk/models/filecreate.py @@ -1517,7 +1553,6 @@ generatedFiles: - src/polar_sdk/models/listresource_benefitgrant_.py - src/polar_sdk/models/listresource_checkout_.py - src/polar_sdk/models/listresource_checkoutlink_.py - - src/polar_sdk/models/listresource_customer_.py - src/polar_sdk/models/listresource_customerbenefitgrant_.py - src/polar_sdk/models/listresource_customercustomermeter_.py - src/polar_sdk/models/listresource_customermeter_.py @@ -1525,23 +1560,29 @@ generatedFiles: - src/polar_sdk/models/listresource_customerpaymentmethod_.py - src/polar_sdk/models/listresource_customersubscription_.py - src/polar_sdk/models/listresource_customerwallet_.py + - src/polar_sdk/models/listresource_customerwithmembers_.py - src/polar_sdk/models/listresource_customfield_.py - src/polar_sdk/models/listresource_discount_.py - src/polar_sdk/models/listresource_downloadableread_.py - src/polar_sdk/models/listresource_event_.py - src/polar_sdk/models/listresource_eventname_.py + - src/polar_sdk/models/listresource_eventtypewithstats_.py - src/polar_sdk/models/listresource_fileread_.py - src/polar_sdk/models/listresource_licensekeyread_.py + - src/polar_sdk/models/listresource_member_.py - src/polar_sdk/models/listresource_meter_.py - src/polar_sdk/models/listresource_order_.py - src/polar_sdk/models/listresource_organization_.py - src/polar_sdk/models/listresource_product_.py - src/polar_sdk/models/listresource_refund_.py - src/polar_sdk/models/listresource_subscription_.py - - src/polar_sdk/models/listresource_wallet_.py - src/polar_sdk/models/listresource_webhookdelivery_.py - src/polar_sdk/models/listresource_webhookendpoint_.py - src/polar_sdk/models/llmmetadata.py + - src/polar_sdk/models/member.py + - src/polar_sdk/models/memberrole.py + - src/polar_sdk/models/members_list_membersop.py + - src/polar_sdk/models/membersortproperty.py - src/polar_sdk/models/meter.py - src/polar_sdk/models/metercreate.py - src/polar_sdk/models/metercreditedmetadata.py @@ -1565,7 +1606,6 @@ generatedFiles: - src/polar_sdk/models/metricstotals.py - src/polar_sdk/models/metrictype.py - src/polar_sdk/models/missinginvoicebillingdetails.py - - src/polar_sdk/models/missingpaymentmethoderror.py - src/polar_sdk/models/no_response_error.py - src/polar_sdk/models/notopencheckout.py - src/polar_sdk/models/notpaidorder.py @@ -1616,11 +1656,11 @@ generatedFiles: - src/polar_sdk/models/organizationstatus.py - src/polar_sdk/models/organizationsubscriptionsettings.py - src/polar_sdk/models/organizationupdate.py + - src/polar_sdk/models/ownercreate.py - src/polar_sdk/models/pagination.py - src/polar_sdk/models/payment.py - src/polar_sdk/models/paymentalreadyinprogress.py - src/polar_sdk/models/paymenterror.py - - src/polar_sdk/models/paymentintentfailederror.py - src/polar_sdk/models/paymentmethodcard.py - src/polar_sdk/models/paymentmethodcardmetadata.py - src/polar_sdk/models/paymentmethodgeneric.py @@ -1654,6 +1694,7 @@ generatedFiles: - src/polar_sdk/models/productpriceseatbasedcreate.py - src/polar_sdk/models/productpriceseattier.py - src/polar_sdk/models/productpriceseattiers.py + - src/polar_sdk/models/productpricesource.py - src/polar_sdk/models/productpricetype.py - src/polar_sdk/models/products_getop.py - src/polar_sdk/models/products_update_benefitsop.py @@ -1710,9 +1751,12 @@ generatedFiles: - src/polar_sdk/models/subscriptions_listop.py - src/polar_sdk/models/subscriptions_revokeop.py - src/polar_sdk/models/subscriptions_updateop.py + - src/polar_sdk/models/subscriptionseatsupdatedevent.py + - src/polar_sdk/models/subscriptionseatsupdatedmetadata.py - src/polar_sdk/models/subscriptionsortproperty.py - src/polar_sdk/models/subscriptionstatus.py - src/polar_sdk/models/subscriptionupdate.py + - src/polar_sdk/models/subscriptionupdatebillingperiod.py - src/polar_sdk/models/subscriptionupdatediscount.py - src/polar_sdk/models/subscriptionupdateproduct.py - src/polar_sdk/models/subscriptionupdateseats.py @@ -1722,6 +1766,7 @@ generatedFiles: - src/polar_sdk/models/taxidformat.py - src/polar_sdk/models/timeinterval.py - src/polar_sdk/models/tokenresponse.py + - src/polar_sdk/models/trialalreadyredeemed.py - src/polar_sdk/models/trialinterval.py - src/polar_sdk/models/unauthorized.py - src/polar_sdk/models/uniqueaggregation.py @@ -1730,12 +1775,6 @@ generatedFiles: - src/polar_sdk/models/userinfouser.py - src/polar_sdk/models/validatedlicensekey.py - src/polar_sdk/models/validationerror.py - - src/polar_sdk/models/wallet.py - - src/polar_sdk/models/wallets_getop.py - - src/polar_sdk/models/wallets_listop.py - - src/polar_sdk/models/wallets_top_upop.py - - src/polar_sdk/models/walletsortproperty.py - - src/polar_sdk/models/wallettopupcreate.py - src/polar_sdk/models/webhookbenefitcreatedpayload.py - src/polar_sdk/models/webhookbenefitgrantcreatedpayload.py - src/polar_sdk/models/webhookbenefitgrantcycledpayload.py @@ -1792,7 +1831,6 @@ generatedFiles: - src/polar_sdk/polar_orders.py - src/polar_sdk/polar_organizations.py - src/polar_sdk/polar_subscriptions.py - - src/polar_sdk/polar_wallets.py - src/polar_sdk/products.py - src/polar_sdk/py.typed - src/polar_sdk/refunds.py @@ -1825,7 +1863,7 @@ examples: _endpointcheckout_created_post: speakeasy-default-endpointcheckout-created-post: requestBody: - application/json: {"type": "checkout.created", "timestamp": "2023-02-15T15:44:21.478Z", "data": {"id": "", "created_at": "2023-02-15T15:44:21.478Z", "modified_at": "2023-09-13T08:36:46.434Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://whole-aftermath.net/", "expires_at": "2023-12-28T10:30:56.042Z", "success_url": "https://moral-premier.name/", "return_url": null, "embed_origin": "", "amount": 929514, "discount_amount": 323773, "net_amount": 115799, "tax_amount": 97012, "total_amount": 859980, "currency": "Fiji Dollar", "active_trial_interval": null, "active_trial_interval_count": 232991, "trial_end": "2023-10-05T12:55:46.428Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": null, "customer_ip_address": null, "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "day", "trial_interval_count": 329779, "metadata": {"key": false, "key1": false}, "external_customer_id": null, "customer_external_id": "", "products": [{"id": "", "created_at": "2025-07-23T17:21:51.405Z", "modified_at": "2024-01-17T03:32:08.030Z", "trial_interval": "month", "trial_interval_count": 631188, "name": "", "description": "funny abscond fairly except slight", "recurring_interval": null, "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-09-13T08:36:46.434Z", "modified_at": "2023-10-05T12:55:46.428Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}]}], "product": {"id": "", "created_at": "2023-03-01T03:35:30.257Z", "modified_at": "2024-12-19T15:40:11.887Z", "trial_interval": "year", "trial_interval_count": 115799, "name": "", "description": "until joyful how", "recurring_interval": "month", "recurring_interval_count": 232991, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-05-02T18:25:33.974Z", "modified_at": "2025-02-06T12:55:07.640Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 115799, "legacy": true}, {"created_at": "2025-07-31T12:54:47.590Z", "modified_at": "2023-01-11T22:31:47.320Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 203013, "maximum_amount": null, "preset_amount": 119260, "legacy": true}, {"created_at": "2024-04-06T18:48:21.449Z", "modified_at": null, "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-08-14T23:26:30.929Z", "modified_at": "2025-01-15T11:59:21.523Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 499786, "legacy": true}, "discount": {"duration": "repeating", "duration_in_months": 470604, "type": "fixed", "basis_points": 567071, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}], "customer_metadata": {}}} + application/json: {"type": "checkout.created", "timestamp": "2023-02-15T15:44:21.478Z", "data": {"id": "", "created_at": "2023-02-15T15:44:21.478Z", "modified_at": "2023-09-13T08:36:46.434Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://whole-aftermath.net/", "expires_at": "2023-12-28T10:30:56.042Z", "success_url": "https://moral-premier.name/", "return_url": null, "embed_origin": "", "amount": 929514, "discount_amount": 323773, "net_amount": 115799, "tax_amount": 97012, "total_amount": 859980, "currency": "Fiji Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 232991, "trial_end": "2023-10-05T12:55:46.428Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": null, "customer_ip_address": null, "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "day", "trial_interval_count": 329779, "metadata": {"key": false, "key1": false}, "external_customer_id": null, "customer_external_id": "", "products": [{"id": "", "created_at": "2025-07-23T17:21:51.405Z", "modified_at": "2024-01-17T03:32:08.030Z", "trial_interval": "month", "trial_interval_count": 631188, "name": "", "description": "funny abscond fairly except slight", "recurring_interval": null, "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-09-13T08:36:46.434Z", "modified_at": "2023-10-05T12:55:46.428Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}]}], "product": {"id": "", "created_at": "2023-03-01T03:35:30.257Z", "modified_at": "2024-12-19T15:40:11.887Z", "trial_interval": "year", "trial_interval_count": 115799, "name": "", "description": "until joyful how", "recurring_interval": "month", "recurring_interval_count": 232991, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-05-02T18:25:33.974Z", "modified_at": "2025-02-06T12:55:07.640Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 115799, "legacy": true}, {"created_at": "2025-07-31T12:54:47.590Z", "modified_at": "2023-01-11T22:31:47.320Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 203013, "maximum_amount": null, "preset_amount": 119260, "legacy": true}, {"created_at": "2024-04-06T18:48:21.449Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-08-14T23:26:30.929Z", "modified_at": "2025-01-15T11:59:21.523Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 499786, "legacy": true}, "prices": null, "discount": {"duration": "repeating", "duration_in_months": 470604, "type": "fixed", "basis_points": 567071, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}], "customer_metadata": {}}} responses: "200": application/json: "" @@ -1834,7 +1872,7 @@ examples: _endpointcheckout_updated_post: speakeasy-default-endpointcheckout-updated-post: requestBody: - application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "total_amount": 754328, "currency": "New Taiwan Dollar", "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "customer_external_id": "", "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 720125, "legacy": true}, {"created_at": "2025-09-27T00:00:25.178Z", "modified_at": "2024-09-03T16:16:06.332Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2024-04-12T18:30:19.906Z", "modified_at": null, "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": 333080, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-04-08T09:51:58.249Z", "modified_at": "2025-07-16T15:01:26.410Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "recurring_interval": "month", "recurring_interval_count": 496454, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 72487, "legacy": true}, {"created_at": "2024-06-14T15:19:42.985Z", "modified_at": "2025-08-21T13:42:50.786Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2025-11-24T07:57:40.732Z", "modified_at": "2025-12-23T16:30:04.627Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} + application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "total_amount": 754328, "currency": "New Taiwan Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "customer_external_id": "", "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 720125, "legacy": true}, {"created_at": "2025-09-27T00:00:25.178Z", "modified_at": "2024-09-03T16:16:06.332Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2024-04-12T18:30:19.906Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "recurring_interval": "month", "recurring_interval_count": 333080, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-04-08T09:51:58.249Z", "modified_at": "2025-07-16T15:01:26.410Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "recurring_interval": "month", "recurring_interval_count": 496454, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 72487, "legacy": true}, {"created_at": "2024-06-14T15:19:42.985Z", "modified_at": "2025-08-21T13:42:50.786Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2025-11-24T07:57:40.732Z", "modified_at": "2025-12-23T16:30:04.627Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "prices": {"key": [], "key1": []}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} responses: "200": application/json: "" @@ -1879,7 +1917,7 @@ examples: _endpointorder_created_post: speakeasy-default-endpointorder-created-post: requestBody: - application/json: {"type": "order.created", "timestamp": "2024-08-21T06:55:49.348Z", "data": {"id": "", "created_at": "2024-08-21T06:55:49.348Z", "modified_at": null, "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": true, "key1": 2184.01, "key2": ""}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-11-07T09:52:21.455Z", "modified_at": "2025-06-03T19:46:15.179Z", "metadata": {"key": 526331}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-10-25T07:11:48.501Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2025-02-09T20:19:15.400Z", "modified_at": "2023-03-30T07:05:37.419Z", "trial_interval": "day", "trial_interval_count": 952546, "name": "", "description": "against outbid to petty yeast off meanwhile colonialism", "recurring_interval": "month", "recurring_interval_count": 1806, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "repeating", "duration_in_months": 425196, "type": "fixed", "amount": 778891, "currency": "Armenian Dram", "created_at": "2023-03-20T16:46:25.677Z", "modified_at": "2023-03-06T18:58:41.541Z", "id": "", "metadata": {"key": 298954}, "name": "", "code": "", "starts_at": "2023-04-08T15:39:19.572Z", "ends_at": "2024-01-04T15:31:18.185Z", "max_redemptions": 313467, "redemptions_count": 237254, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": null, "items": [{"created_at": "2023-10-09T05:35:46.860Z", "modified_at": "2025-11-19T12:55:15.055Z", "id": "", "label": "", "amount": 921740, "tax_amount": 964357, "proration": true, "product_price_id": ""}, {"created_at": "2023-10-09T05:35:46.860Z", "modified_at": "2025-11-19T12:55:15.055Z", "id": "", "label": "", "amount": 921740, "tax_amount": 964357, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}} + application/json: {"type": "order.created", "timestamp": "2024-08-21T06:55:49.348Z", "data": {"id": "", "created_at": "2024-08-21T06:55:49.348Z", "modified_at": null, "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": true, "key1": 2184.01, "key2": ""}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-11-07T09:52:21.455Z", "modified_at": "2025-06-03T19:46:15.179Z", "metadata": {"key": 526331}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-10-25T07:11:48.501Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2025-02-09T20:19:15.400Z", "modified_at": "2023-03-30T07:05:37.419Z", "trial_interval": "day", "trial_interval_count": 952546, "name": "", "description": "against outbid to petty yeast off meanwhile colonialism", "recurring_interval": "month", "recurring_interval_count": 1806, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "repeating", "duration_in_months": 425196, "type": "fixed", "amount": 778891, "currency": "Armenian Dram", "created_at": "2023-03-20T16:46:25.677Z", "modified_at": "2023-03-06T18:58:41.541Z", "id": "", "metadata": {"key": 298954}, "name": "", "code": "", "starts_at": "2023-04-08T15:39:19.572Z", "ends_at": "2024-01-04T15:31:18.185Z", "max_redemptions": 313467, "redemptions_count": 237254, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": null, "items": [{"created_at": "2023-10-09T05:35:46.860Z", "modified_at": "2025-11-19T12:55:15.055Z", "id": "", "label": "", "amount": 921740, "tax_amount": 964357, "proration": true, "product_price_id": ""}, {"created_at": "2023-10-09T05:35:46.860Z", "modified_at": "2025-11-19T12:55:15.055Z", "id": "", "label": "", "amount": 921740, "tax_amount": 964357, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}} responses: "200": application/json: "" @@ -1888,7 +1926,7 @@ examples: _endpointorder_updated_post: speakeasy-default-endpointorder-updated-post: requestBody: - application/json: {"type": "order.updated", "timestamp": "2023-10-25T00:08:50.290Z", "data": {"id": "", "created_at": "2023-10-25T00:08:50.290Z", "modified_at": "2024-01-08T20:00:47.692Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": false, "key1": 187509}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-03T05:16:11.415Z", "modified_at": "2023-03-11T05:58:05.184Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-06-26T15:51:37.068Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2024-07-10T12:45:44.731Z", "modified_at": "2024-09-19T13:13:25.785Z", "trial_interval": "week", "trial_interval_count": 804823, "name": "", "description": "bossy direct reservation quaintly atop interestingly", "recurring_interval": "month", "recurring_interval_count": 443415, "is_recurring": true, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "duration_in_months": 227959, "type": "fixed", "amount": 785594, "currency": "Barbados Dollar", "created_at": "2025-08-02T14:17:04.679Z", "modified_at": "2023-04-10T21:27:35.876Z", "id": "", "metadata": {"key": "", "key1": 330083}, "name": "", "code": "", "starts_at": "2023-09-01T14:56:03.459Z", "ends_at": "2024-10-01T02:03:16.161Z", "max_redemptions": 723901, "redemptions_count": 125128, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2024-10-31T22:22:01.280Z", "modified_at": "2025-05-03T18:27:32.620Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 340177, "status": "unpaid", "current_period_start": "2023-08-26T12:56:24.423Z", "current_period_end": "2024-02-06T09:06:51.703Z", "trial_start": "2024-01-06T18:11:55.943Z", "trial_end": "2025-06-26T08:06:49.783Z", "cancel_at_period_end": true, "canceled_at": "2024-03-28T15:10:13.508Z", "started_at": "2023-11-03T05:13:30.202Z", "ends_at": "2024-03-03T03:52:46.888Z", "ended_at": "2025-07-30T00:35:38.035Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": null, "customer_cancellation_reason": "switched_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}, {"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}, {"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}} + application/json: {"type": "order.updated", "timestamp": "2023-10-25T00:08:50.290Z", "data": {"id": "", "created_at": "2023-10-25T00:08:50.290Z", "modified_at": "2024-01-08T20:00:47.692Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": false, "key1": 187509}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-03T05:16:11.415Z", "modified_at": "2023-03-11T05:58:05.184Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-06-26T15:51:37.068Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2024-07-10T12:45:44.731Z", "modified_at": "2024-09-19T13:13:25.785Z", "trial_interval": "week", "trial_interval_count": 804823, "name": "", "description": "bossy direct reservation quaintly atop interestingly", "recurring_interval": "month", "recurring_interval_count": 443415, "is_recurring": true, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "duration_in_months": 227959, "type": "fixed", "amount": 785594, "currency": "Barbados Dollar", "created_at": "2025-08-02T14:17:04.679Z", "modified_at": "2023-04-10T21:27:35.876Z", "id": "", "metadata": {"key": "", "key1": 330083}, "name": "", "code": "", "starts_at": "2023-09-01T14:56:03.459Z", "ends_at": "2024-10-01T02:03:16.161Z", "max_redemptions": 723901, "redemptions_count": 125128, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2024-10-31T22:22:01.280Z", "modified_at": "2025-05-03T18:27:32.620Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 340177, "status": "unpaid", "current_period_start": "2023-08-26T12:56:24.423Z", "current_period_end": "2024-02-06T09:06:51.703Z", "trial_start": "2024-01-06T18:11:55.943Z", "trial_end": "2025-06-26T08:06:49.783Z", "cancel_at_period_end": true, "canceled_at": "2024-03-28T15:10:13.508Z", "started_at": "2023-11-03T05:13:30.202Z", "ends_at": "2024-03-03T03:52:46.888Z", "ended_at": "2025-07-30T00:35:38.035Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": null, "customer_cancellation_reason": "switched_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}, {"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}, {"created_at": "2025-01-03T16:01:28.999Z", "modified_at": null, "id": "", "label": "", "amount": 516134, "tax_amount": 41202, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}} responses: "200": application/json: "" @@ -1897,7 +1935,7 @@ examples: _endpointorder_paid_post: speakeasy-default-endpointorder-paid-post: requestBody: - application/json: {"type": "order.paid", "timestamp": "2025-12-05T07:44:21.172Z", "data": {"id": "", "created_at": "2025-12-05T07:44:21.172Z", "modified_at": "2024-12-11T22:14:44.762Z", "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-30T09:47:22.437Z", "modified_at": "2025-04-20T14:41:24.727Z", "metadata": {"key": 154136, "key1": false, "key2": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-06-08T00:11:47.056Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": "", "key1": false, "key2": 1122.47}, "id": "", "created_at": "2024-03-19T01:07:15.346Z", "modified_at": "2025-03-22T13:41:39.854Z", "trial_interval": "year", "trial_interval_count": 650431, "name": "", "description": "instead unnaturally curly scared but definite knowledgeably", "recurring_interval": "year", "recurring_interval_count": 856211, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "forever", "duration_in_months": 458129, "type": "fixed", "basis_points": 400985, "created_at": "2025-12-02T15:10:04.656Z", "modified_at": "2024-10-30T18:07:50.242Z", "id": "", "metadata": {"key": 4652.15}, "name": "", "code": "", "starts_at": "2023-11-24T17:59:56.836Z", "ends_at": "2025-08-12T18:11:29.547Z", "max_redemptions": 727805, "redemptions_count": 584469, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2025-07-17T03:39:23.964Z", "modified_at": "2025-10-30T20:20:46.051Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 648656, "status": "canceled", "current_period_start": "2023-02-24T15:15:22.018Z", "current_period_end": "2023-12-07T15:09:08.144Z", "trial_start": "2025-12-21T22:38:27.436Z", "trial_end": "2024-01-10T03:46:58.354Z", "cancel_at_period_end": false, "canceled_at": "2023-07-01T03:36:16.430Z", "started_at": "2024-09-21T14:56:16.106Z", "ends_at": "2023-01-21T03:35:38.158Z", "ended_at": "2023-12-02T06:46:04.196Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": ""}, "items": [], "description": "Pro Plan"}} + application/json: {"type": "order.paid", "timestamp": "2025-12-05T07:44:21.172Z", "data": {"id": "", "created_at": "2025-12-05T07:44:21.172Z", "modified_at": "2024-12-11T22:14:44.762Z", "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-30T09:47:22.437Z", "modified_at": "2025-04-20T14:41:24.727Z", "metadata": {"key": 154136, "key1": false, "key2": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-06-08T00:11:47.056Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": "", "key1": false, "key2": 1122.47}, "id": "", "created_at": "2024-03-19T01:07:15.346Z", "modified_at": "2025-03-22T13:41:39.854Z", "trial_interval": "year", "trial_interval_count": 650431, "name": "", "description": "instead unnaturally curly scared but definite knowledgeably", "recurring_interval": "year", "recurring_interval_count": 856211, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "forever", "duration_in_months": 458129, "type": "fixed", "basis_points": 400985, "created_at": "2025-12-02T15:10:04.656Z", "modified_at": "2024-10-30T18:07:50.242Z", "id": "", "metadata": {"key": 4652.15}, "name": "", "code": "", "starts_at": "2023-11-24T17:59:56.836Z", "ends_at": "2025-08-12T18:11:29.547Z", "max_redemptions": 727805, "redemptions_count": 584469, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2025-07-17T03:39:23.964Z", "modified_at": "2025-10-30T20:20:46.051Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 648656, "status": "canceled", "current_period_start": "2023-02-24T15:15:22.018Z", "current_period_end": "2023-12-07T15:09:08.144Z", "trial_start": "2025-12-21T22:38:27.436Z", "trial_end": "2024-01-10T03:46:58.354Z", "cancel_at_period_end": false, "canceled_at": "2023-07-01T03:36:16.430Z", "started_at": "2024-09-21T14:56:16.106Z", "ends_at": "2023-01-21T03:35:38.158Z", "ended_at": "2023-12-02T06:46:04.196Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": ""}, "items": [], "description": "Pro Plan"}} responses: "200": application/json: "" @@ -1906,7 +1944,7 @@ examples: _endpointorder_refunded_post: speakeasy-default-endpointorder-refunded-post: requestBody: - application/json: {"type": "order.refunded", "timestamp": "2024-07-23T18:00:11.615Z", "data": {"id": "", "created_at": "2024-07-23T18:00:11.615Z", "modified_at": "2024-08-23T03:13:11.383Z", "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": 4542.91}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-11T17:50:11.031Z", "modified_at": "2023-02-24T05:25:29.794Z", "metadata": {"key": 97027, "key1": 958634}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-01-16T07:26:04.196Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 4016.73, "key1": 9058.31, "key2": true}, "id": "", "created_at": "2024-10-26T18:25:25.517Z", "modified_at": "2023-07-26T10:28:20.791Z", "trial_interval": "month", "trial_interval_count": 638840, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 737679, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "forever", "duration_in_months": 333301, "type": "percentage", "amount": 985928, "currency": "Tunisian Dinar", "created_at": "2025-03-31T17:18:12.309Z", "modified_at": "2025-04-04T07:20:27.321Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": null, "ends_at": "2025-11-07T12:21:07.975Z", "max_redemptions": 986922, "redemptions_count": 691292, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2023-03-16T14:38:58.849Z", "modified_at": "2024-08-12T02:18:50.288Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 547568, "status": "past_due", "current_period_start": "2025-08-22T13:19:25.286Z", "current_period_end": "2025-05-03T08:49:50.424Z", "trial_start": "2023-11-19T10:04:04.704Z", "trial_end": "2025-09-27T15:34:09.130Z", "cancel_at_period_end": true, "canceled_at": "2023-11-21T12:57:47.903Z", "started_at": "2023-09-21T04:07:05.991Z", "ends_at": "2023-10-30T23:29:28.584Z", "ended_at": "2025-05-20T18:28:46.249Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-01-22T05:05:29.797Z", "modified_at": "2025-11-07T21:20:59.535Z", "id": "", "label": "", "amount": 287841, "tax_amount": 922801, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}} + application/json: {"type": "order.refunded", "timestamp": "2024-07-23T18:00:11.615Z", "data": {"id": "", "created_at": "2024-07-23T18:00:11.615Z", "modified_at": "2024-08-23T03:13:11.383Z", "status": "refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_create", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": 4542.91}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-11T17:50:11.031Z", "modified_at": "2023-02-24T05:25:29.794Z", "metadata": {"key": 97027, "key1": 958634}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-01-16T07:26:04.196Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 4016.73, "key1": 9058.31, "key2": true}, "id": "", "created_at": "2024-10-26T18:25:25.517Z", "modified_at": "2023-07-26T10:28:20.791Z", "trial_interval": "month", "trial_interval_count": 638840, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 737679, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "forever", "duration_in_months": 333301, "type": "percentage", "amount": 985928, "currency": "Tunisian Dinar", "created_at": "2025-03-31T17:18:12.309Z", "modified_at": "2025-04-04T07:20:27.321Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": null, "ends_at": "2025-11-07T12:21:07.975Z", "max_redemptions": 986922, "redemptions_count": 691292, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {}, "created_at": "2023-03-16T14:38:58.849Z", "modified_at": "2024-08-12T02:18:50.288Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 547568, "status": "past_due", "current_period_start": "2025-08-22T13:19:25.286Z", "current_period_end": "2025-05-03T08:49:50.424Z", "trial_start": "2023-11-19T10:04:04.704Z", "trial_end": "2025-09-27T15:34:09.130Z", "cancel_at_period_end": true, "canceled_at": "2023-11-21T12:57:47.903Z", "started_at": "2023-09-21T04:07:05.991Z", "ends_at": "2023-10-30T23:29:28.584Z", "ended_at": "2025-05-20T18:28:46.249Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-01-22T05:05:29.797Z", "modified_at": "2025-11-07T21:20:59.535Z", "id": "", "label": "", "amount": 287841, "tax_amount": 922801, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}} responses: "200": application/json: "" @@ -1915,7 +1953,7 @@ examples: _endpointsubscription_created_post: speakeasy-default-endpointsubscription-created-post: requestBody: - application/json: {"type": "subscription.created", "timestamp": "2024-05-03T11:46:21.459Z", "data": {"created_at": "2024-05-03T11:46:21.459Z", "modified_at": "2025-01-12T06:30:14.360Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 445703, "status": "incomplete", "current_period_start": "2024-01-07T06:33:36.381Z", "current_period_end": "2024-07-30T16:54:44.427Z", "trial_start": "2023-12-03T10:52:23.880Z", "trial_end": "2024-05-29T05:21:44.072Z", "cancel_at_period_end": true, "canceled_at": "2023-09-10T18:39:16.136Z", "started_at": "2025-08-30T21:29:16.432Z", "ends_at": "2024-06-27T22:01:23.333Z", "ended_at": "2024-07-24T19:43:04.879Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-18T22:55:50.482Z", "modified_at": "2024-08-04T23:52:10.438Z", "metadata": {"key": false, "key1": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-15T22:05:41.858Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-05-25T09:51:02.679Z", "modified_at": "2025-12-23T23:39:23.705Z", "trial_interval": "year", "trial_interval_count": 338753, "name": "", "description": "slink needily cemetery hydrocarbon a fledgling knit shirk appertain rural", "recurring_interval": "month", "recurring_interval_count": 677255, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-01-12T06:30:14.360Z", "modified_at": "2023-05-11T16:29:33.481Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 363951, "maximum_amount": 267138, "preset_amount": 230636, "legacy": true}, {"created_at": "2024-09-02T19:02:23.015Z", "modified_at": "2023-08-19T21:45:43.735Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-16T04:04:01.242Z", "modified_at": "2023-08-30T05:19:40.088Z", "type": "meter_credit", "description": "courageously quick-witted out equally toward though quietly", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 3195.27}, "properties": {"units": 371901, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 745503, "created_at": "2024-04-19T20:53:32.186Z", "modified_at": "2024-11-15T00:04:04.545Z", "id": "", "metadata": {"key": 3699.53}, "name": "", "code": "", "starts_at": "2024-10-15T21:24:43.202Z", "ends_at": "2025-09-26T06:55:01.272Z", "max_redemptions": 104800, "redemptions_count": 570322, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-26T09:15:00.973Z", "modified_at": "2024-01-19T16:01:53.249Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 125871, "legacy": true}], "meters": [{"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}]}} + application/json: {"type": "subscription.created", "timestamp": "2024-05-03T11:46:21.459Z", "data": {"created_at": "2024-05-03T11:46:21.459Z", "modified_at": "2025-01-12T06:30:14.360Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 445703, "status": "incomplete", "current_period_start": "2024-01-07T06:33:36.381Z", "current_period_end": "2024-07-30T16:54:44.427Z", "trial_start": "2023-12-03T10:52:23.880Z", "trial_end": "2024-05-29T05:21:44.072Z", "cancel_at_period_end": true, "canceled_at": "2023-09-10T18:39:16.136Z", "started_at": "2025-08-30T21:29:16.432Z", "ends_at": "2024-06-27T22:01:23.333Z", "ended_at": "2024-07-24T19:43:04.879Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-18T22:55:50.482Z", "modified_at": "2024-08-04T23:52:10.438Z", "metadata": {"key": false, "key1": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-15T22:05:41.858Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-05-25T09:51:02.679Z", "modified_at": "2025-12-23T23:39:23.705Z", "trial_interval": "year", "trial_interval_count": 338753, "name": "", "description": "slink needily cemetery hydrocarbon a fledgling knit shirk appertain rural", "recurring_interval": "month", "recurring_interval_count": 677255, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-01-12T06:30:14.360Z", "modified_at": "2023-05-11T16:29:33.481Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 363951, "maximum_amount": 267138, "preset_amount": 230636, "legacy": true}, {"created_at": "2024-09-02T19:02:23.015Z", "modified_at": "2023-08-19T21:45:43.735Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-16T04:04:01.242Z", "modified_at": "2023-08-30T05:19:40.088Z", "type": "meter_credit", "description": "courageously quick-witted out equally toward though quietly", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 3195.27}, "properties": {"units": 371901, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 745503, "created_at": "2024-04-19T20:53:32.186Z", "modified_at": "2024-11-15T00:04:04.545Z", "id": "", "metadata": {"key": 3699.53}, "name": "", "code": "", "starts_at": "2024-10-15T21:24:43.202Z", "ends_at": "2025-09-26T06:55:01.272Z", "max_redemptions": 104800, "redemptions_count": 570322, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-26T09:15:00.973Z", "modified_at": "2024-01-19T16:01:53.249Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 125871, "legacy": true}], "meters": [{"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}]}} responses: "200": application/json: "" @@ -1924,7 +1962,7 @@ examples: _endpointsubscription_updated_post: speakeasy-default-endpointsubscription-updated-post: requestBody: - application/json: {"type": "subscription.updated", "timestamp": "2023-06-24T13:26:25.969Z", "data": {"created_at": "2023-06-24T13:26:25.969Z", "modified_at": "2024-10-16T16:24:20.274Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 159270, "status": "canceled", "current_period_start": "2024-06-19T12:29:28.503Z", "current_period_end": "2023-08-24T22:14:10.131Z", "trial_start": "2024-05-25T12:11:24.717Z", "trial_end": "2024-07-08T02:17:23.799Z", "cancel_at_period_end": false, "canceled_at": "2025-08-31T06:08:08.476Z", "started_at": "2023-06-01T08:01:27.951Z", "ends_at": "2025-01-23T22:07:32.693Z", "ended_at": "2025-05-14T13:55:44.367Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": 477870, "key1": true, "key2": 485359}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-01-10T06:45:35.933Z", "modified_at": "2024-01-24T02:08:13.039Z", "metadata": {"key": 117983, "key1": 8500.16}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-08-09T14:29:57.545Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-12-02T17:09:45.787Z", "modified_at": "2025-03-11T00:51:56.943Z", "trial_interval": "week", "trial_interval_count": 488614, "name": "", "description": "obnoxiously save following clinch striking juicy", "recurring_interval": "year", "recurring_interval_count": 597339, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": false, "key1": 884041, "key2": 4257.66}, "prices": [{"created_at": "2024-10-16T16:24:20.274Z", "modified_at": "2024-01-05T22:20:15.867Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 488614, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 29348, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2023-10-03T10:28:13.472Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-07T09:47:56.854Z", "size_readable": "", "public_url": "https://flowery-promise.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 29348, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2023-10-03T10:28:13.472Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-07T09:47:56.854Z", "size_readable": "", "public_url": "https://flowery-promise.org/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-10T20:33:55.554Z", "modified_at": "2023-03-14T14:16:19.041Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 766194, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 892166, "type": "fixed", "amount": 996997, "currency": "Canadian Dollar", "created_at": "2023-06-09T06:11:59.062Z", "modified_at": "2024-09-28T05:16:48.757Z", "id": "", "metadata": {"key": 962223, "key1": 587522}, "name": "", "code": "", "starts_at": "2023-04-12T20:54:06.410Z", "ends_at": "2025-03-19T14:28:57.223Z", "max_redemptions": 852845, "redemptions_count": 658199, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [], "meters": [{"created_at": "2025-06-07T13:44:19.881Z", "modified_at": "2023-12-06T20:26:36.699Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 6882, "key1": 556425, "key2": 117069}, "created_at": "2023-05-21T02:26:27.963Z", "modified_at": "2025-06-09T17:54:52.162Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": [{"conjunction": "or", "clauses": []}, {"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-06-07T13:44:19.881Z", "modified_at": "2023-12-06T20:26:36.699Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 6882, "key1": 556425, "key2": 117069}, "created_at": "2023-05-21T02:26:27.963Z", "modified_at": "2025-06-09T17:54:52.162Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": [{"conjunction": "or", "clauses": []}, {"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]}} + application/json: {"type": "subscription.updated", "timestamp": "2023-06-24T13:26:25.969Z", "data": {"created_at": "2023-06-24T13:26:25.969Z", "modified_at": "2024-10-16T16:24:20.274Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 159270, "status": "canceled", "current_period_start": "2024-06-19T12:29:28.503Z", "current_period_end": "2023-08-24T22:14:10.131Z", "trial_start": "2024-05-25T12:11:24.717Z", "trial_end": "2024-07-08T02:17:23.799Z", "cancel_at_period_end": false, "canceled_at": "2025-08-31T06:08:08.476Z", "started_at": "2023-06-01T08:01:27.951Z", "ends_at": "2025-01-23T22:07:32.693Z", "ended_at": "2025-05-14T13:55:44.367Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": 477870, "key1": true, "key2": 485359}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-01-10T06:45:35.933Z", "modified_at": "2024-01-24T02:08:13.039Z", "metadata": {"key": 117983, "key1": 8500.16}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-08-09T14:29:57.545Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-12-02T17:09:45.787Z", "modified_at": "2025-03-11T00:51:56.943Z", "trial_interval": "week", "trial_interval_count": 488614, "name": "", "description": "obnoxiously save following clinch striking juicy", "recurring_interval": "year", "recurring_interval_count": 597339, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": false, "key1": 884041, "key2": 4257.66}, "prices": [{"created_at": "2024-10-16T16:24:20.274Z", "modified_at": "2024-01-05T22:20:15.867Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 488614, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 29348, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2023-10-03T10:28:13.472Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-07T09:47:56.854Z", "size_readable": "", "public_url": "https://flowery-promise.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 29348, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2023-10-03T10:28:13.472Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-07T09:47:56.854Z", "size_readable": "", "public_url": "https://flowery-promise.org/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-10T20:33:55.554Z", "modified_at": "2023-03-14T14:16:19.041Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 766194, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 892166, "type": "fixed", "amount": 996997, "currency": "Canadian Dollar", "created_at": "2023-06-09T06:11:59.062Z", "modified_at": "2024-09-28T05:16:48.757Z", "id": "", "metadata": {"key": 962223, "key1": 587522}, "name": "", "code": "", "starts_at": "2023-04-12T20:54:06.410Z", "ends_at": "2025-03-19T14:28:57.223Z", "max_redemptions": 852845, "redemptions_count": 658199, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [], "meters": [{"created_at": "2025-06-07T13:44:19.881Z", "modified_at": "2023-12-06T20:26:36.699Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 6882, "key1": 556425, "key2": 117069}, "created_at": "2023-05-21T02:26:27.963Z", "modified_at": "2025-06-09T17:54:52.162Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": [{"conjunction": "or", "clauses": []}, {"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-06-07T13:44:19.881Z", "modified_at": "2023-12-06T20:26:36.699Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 6882, "key1": 556425, "key2": 117069}, "created_at": "2023-05-21T02:26:27.963Z", "modified_at": "2025-06-09T17:54:52.162Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": [{"conjunction": "or", "clauses": []}, {"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]}} responses: "200": application/json: "" @@ -1933,7 +1971,7 @@ examples: _endpointsubscription_active_post: speakeasy-default-endpointsubscription-active-post: requestBody: - application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": null, "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "recurring_interval": "month", "recurring_interval_count": 493639, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "organization_id": "", "metadata": {}, "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "duration_in_months": 482318, "type": "percentage", "amount": 489921, "currency": "Chilean Peso", "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-02-14T12:59:50.680Z", "modified_at": "2025-03-11T11:17:02.540Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": []}} + application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": null, "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "recurring_interval": "month", "recurring_interval_count": 493639, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "organization_id": "", "metadata": {}, "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "duration_in_months": 482318, "type": "percentage", "amount": 489921, "currency": "Chilean Peso", "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-02-14T12:59:50.680Z", "modified_at": "2025-03-11T11:17:02.540Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": []}} responses: "200": application/json: "" @@ -1942,7 +1980,7 @@ examples: _endpointsubscription_canceled_post: speakeasy-default-endpointsubscription-canceled-post: requestBody: - application/json: {"type": "subscription.canceled", "timestamp": "2025-02-09T04:39:02.332Z", "data": {"created_at": "2025-02-09T04:39:02.332Z", "modified_at": "2023-04-18T10:38:03.481Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 702732, "status": "active", "current_period_start": "2023-06-17T04:15:56.819Z", "current_period_end": "2023-06-02T15:48:16.857Z", "trial_start": "2025-04-09T17:46:08.645Z", "trial_end": null, "cancel_at_period_end": false, "canceled_at": "2024-01-07T18:54:45.602Z", "started_at": "2025-02-23T12:23:49.579Z", "ends_at": "2023-11-16T08:24:59.166Z", "ended_at": "2023-07-21T16:25:14.433Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": null, "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-10-25T05:52:42.846Z", "modified_at": "2023-09-20T10:20:50.540Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-07-13T08:26:56.650Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-06-11T17:21:10.206Z", "modified_at": "2025-03-18T13:26:34.470Z", "trial_interval": "year", "trial_interval_count": 538272, "name": "", "description": "unimpressively stiffen promptly", "recurring_interval": "year", "recurring_interval_count": 98032, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": true}, "prices": [{"created_at": "2023-04-18T10:38:03.481Z", "modified_at": "2025-08-08T10:15:56.533Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": 739654, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2025-04-18T11:08:34.147Z", "modified_at": "2023-05-05T03:28:24.281Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 25751, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-21T18:00:22.332Z", "modified_at": "2023-05-12T19:14:12.206Z", "type": "downloadables", "description": "ostrich smog zowie loyally naturally noisily castanet pace deliberately", "selectable": false, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"archived": {"key": true, "key1": true}, "files": []}}, {"id": "", "created_at": "2025-12-18T22:12:17.302Z", "modified_at": "2024-10-10T09:48:09.804Z", "type": "custom", "description": "knavishly goat programme intrigue elegantly fooey decisive", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": false, "key1": 922.01, "key2": 5307.16}, "properties": {"note": ""}}, {"id": "", "created_at": "2024-06-11T13:23:03.299Z", "modified_at": "2024-10-18T20:00:03.185Z", "type": "meter_credit", "description": "at like through stale yum corny", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": false}, "properties": {"units": 743161, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}, {"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 942713, "created_at": "2025-05-02T10:03:23.149Z", "modified_at": "2024-03-07T17:30:21.663Z", "id": "", "metadata": {"key": "", "key1": false, "key2": ""}, "name": "", "code": "", "starts_at": "2025-11-05T08:42:03.906Z", "ends_at": null, "max_redemptions": 510938, "redemptions_count": 760335, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-08-10T09:00:25.178Z", "modified_at": "2023-05-20T04:28:47.140Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": []}} + application/json: {"type": "subscription.canceled", "timestamp": "2025-02-09T04:39:02.332Z", "data": {"created_at": "2025-02-09T04:39:02.332Z", "modified_at": "2023-04-18T10:38:03.481Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 702732, "status": "active", "current_period_start": "2023-06-17T04:15:56.819Z", "current_period_end": "2023-06-02T15:48:16.857Z", "trial_start": "2025-04-09T17:46:08.645Z", "trial_end": null, "cancel_at_period_end": false, "canceled_at": "2024-01-07T18:54:45.602Z", "started_at": "2025-02-23T12:23:49.579Z", "ends_at": "2023-11-16T08:24:59.166Z", "ended_at": "2023-07-21T16:25:14.433Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": null, "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-10-25T05:52:42.846Z", "modified_at": "2023-09-20T10:20:50.540Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-07-13T08:26:56.650Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-06-11T17:21:10.206Z", "modified_at": "2025-03-18T13:26:34.470Z", "trial_interval": "year", "trial_interval_count": 538272, "name": "", "description": "unimpressively stiffen promptly", "recurring_interval": "year", "recurring_interval_count": 98032, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": true}, "prices": [{"created_at": "2023-04-18T10:38:03.481Z", "modified_at": "2025-08-08T10:15:56.533Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": 739654, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2025-04-18T11:08:34.147Z", "modified_at": "2023-05-05T03:28:24.281Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 25751, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-21T18:00:22.332Z", "modified_at": "2023-05-12T19:14:12.206Z", "type": "downloadables", "description": "ostrich smog zowie loyally naturally noisily castanet pace deliberately", "selectable": false, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"archived": {"key": true, "key1": true}, "files": []}}, {"id": "", "created_at": "2025-12-18T22:12:17.302Z", "modified_at": "2024-10-10T09:48:09.804Z", "type": "custom", "description": "knavishly goat programme intrigue elegantly fooey decisive", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": false, "key1": 922.01, "key2": 5307.16}, "properties": {"note": ""}}, {"id": "", "created_at": "2024-06-11T13:23:03.299Z", "modified_at": "2024-10-18T20:00:03.185Z", "type": "meter_credit", "description": "at like through stale yum corny", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": false}, "properties": {"units": 743161, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}, {"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 942713, "created_at": "2025-05-02T10:03:23.149Z", "modified_at": "2024-03-07T17:30:21.663Z", "id": "", "metadata": {"key": "", "key1": false, "key2": ""}, "name": "", "code": "", "starts_at": "2025-11-05T08:42:03.906Z", "ends_at": null, "max_redemptions": 510938, "redemptions_count": 760335, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-08-10T09:00:25.178Z", "modified_at": "2023-05-20T04:28:47.140Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": []}} responses: "200": application/json: "" @@ -1951,7 +1989,7 @@ examples: _endpointsubscription_uncanceled_post: speakeasy-default-endpointsubscription-uncanceled-post: requestBody: - application/json: {"type": "subscription.uncanceled", "timestamp": "2023-02-06T17:25:10.106Z", "data": {"created_at": "2023-02-06T17:25:10.106Z", "modified_at": "2023-01-25T07:20:02.381Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 33508, "status": "canceled", "current_period_start": "2024-04-11T19:08:16.655Z", "current_period_end": "2023-08-23T01:03:59.107Z", "trial_start": null, "trial_end": "2023-01-25T07:20:02.381Z", "cancel_at_period_end": true, "canceled_at": "2024-11-16T02:01:16.824Z", "started_at": null, "ends_at": "2023-12-23T04:50:00.016Z", "ended_at": "2024-10-18T16:25:47.209Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": null, "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-10-01T20:42:25.530Z", "modified_at": "2024-07-04T17:30:56.477Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-12-20T09:31:52.259Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-03-26T06:19:23.237Z", "modified_at": "2024-05-11T18:08:21.251Z", "trial_interval": "week", "trial_interval_count": 809387, "name": "", "description": "questioningly proliferate yet vanish mooch yowza hopeful", "recurring_interval": "month", "recurring_interval_count": 22176, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2023-01-25T07:20:02.381Z", "modified_at": "2024-03-21T16:37:42.322Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 107066, "maximum_amount": 251812, "preset_amount": 625077, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-07-09T11:35:46.121Z", "modified_at": "2024-07-14T11:45:04.348Z", "type": "downloadables", "description": "esteemed aha arcade", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 549444}, "properties": {"archived": {"key": false, "key1": false, "key2": true}, "files": [""]}}, {"id": "", "created_at": "2023-07-17T10:10:30.145Z", "modified_at": "2024-02-22T01:39:19.437Z", "type": "github_repository", "description": "hmph frantically for into unfurl rapidly when", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "admin"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/namedb", "mime_type": "", "size": 865781, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2024-09-05T02:35:48.322Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-06T10:04:39.843Z", "size_readable": "", "public_url": "https://normal-giant.org/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}]}, "discount": {"duration": "once", "type": "fixed", "basis_points": 408479, "created_at": "2023-03-14T02:37:49.424Z", "modified_at": "2025-12-23T02:41:08.695Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-07-07T16:21:42.534Z", "ends_at": "2023-05-08T21:16:10.476Z", "max_redemptions": 431440, "redemptions_count": 127195, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-12-23T04:50:00.016Z", "modified_at": "2024-10-18T16:25:47.209Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 138645, "maximum_amount": 95755, "preset_amount": 417130, "legacy": true}], "meters": [{"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]}} + application/json: {"type": "subscription.uncanceled", "timestamp": "2023-02-06T17:25:10.106Z", "data": {"created_at": "2023-02-06T17:25:10.106Z", "modified_at": "2023-01-25T07:20:02.381Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 33508, "status": "canceled", "current_period_start": "2024-04-11T19:08:16.655Z", "current_period_end": "2023-08-23T01:03:59.107Z", "trial_start": null, "trial_end": "2023-01-25T07:20:02.381Z", "cancel_at_period_end": true, "canceled_at": "2024-11-16T02:01:16.824Z", "started_at": null, "ends_at": "2023-12-23T04:50:00.016Z", "ended_at": "2024-10-18T16:25:47.209Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": null, "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-10-01T20:42:25.530Z", "modified_at": "2024-07-04T17:30:56.477Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-12-20T09:31:52.259Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-03-26T06:19:23.237Z", "modified_at": "2024-05-11T18:08:21.251Z", "trial_interval": "week", "trial_interval_count": 809387, "name": "", "description": "questioningly proliferate yet vanish mooch yowza hopeful", "recurring_interval": "month", "recurring_interval_count": 22176, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2023-01-25T07:20:02.381Z", "modified_at": "2024-03-21T16:37:42.322Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 107066, "maximum_amount": 251812, "preset_amount": 625077, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-07-09T11:35:46.121Z", "modified_at": "2024-07-14T11:45:04.348Z", "type": "downloadables", "description": "esteemed aha arcade", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 549444}, "properties": {"archived": {"key": false, "key1": false, "key2": true}, "files": [""]}}, {"id": "", "created_at": "2023-07-17T10:10:30.145Z", "modified_at": "2024-02-22T01:39:19.437Z", "type": "github_repository", "description": "hmph frantically for into unfurl rapidly when", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "admin"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/namedb", "mime_type": "", "size": 865781, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2024-09-05T02:35:48.322Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-06T10:04:39.843Z", "size_readable": "", "public_url": "https://normal-giant.org/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2025-05-08T20:53:14.936Z", "modified_at": "2025-08-01T19:32:49.347Z", "id": "", "metadata": {"key": 791230}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 887720, "required": false}]}, "discount": {"duration": "once", "type": "fixed", "basis_points": 408479, "created_at": "2023-03-14T02:37:49.424Z", "modified_at": "2025-12-23T02:41:08.695Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-07-07T16:21:42.534Z", "ends_at": "2023-05-08T21:16:10.476Z", "max_redemptions": 431440, "redemptions_count": 127195, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-12-23T04:50:00.016Z", "modified_at": "2024-10-18T16:25:47.209Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 138645, "maximum_amount": 95755, "preset_amount": 417130, "legacy": true}], "meters": [{"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-11-08T06:13:24.540Z", "modified_at": "2023-05-26T16:36:35.734Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 479423, "key1": 327992}, "created_at": "2025-01-03T20:59:19.837Z", "modified_at": "2024-09-23T23:32:35.223Z", "id": "", "name": "", "filter": {"conjunction": "and", "clauses": []}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]}} responses: "200": application/json: "" @@ -1987,7 +2025,7 @@ examples: _endpointproduct_created_post: speakeasy-default-endpointproduct-created-post: requestBody: - application/json: {"type": "product.created", "timestamp": "2023-10-13T02:47:55.082Z", "data": {"id": "", "created_at": "2023-10-13T02:47:55.082Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 168322, "name": "", "description": "till that ew put", "recurring_interval": "month", "recurring_interval_count": 12897, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 785881, "key1": false, "key2": false}, "prices": [{"created_at": "2024-07-28T01:37:16.074Z", "modified_at": "2024-06-21T04:06:38.404Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 351958, "maximum_amount": 675813, "preset_amount": 835712, "legacy": true}, {"created_at": "2024-01-23T05:50:45.318Z", "modified_at": "2024-12-09T02:07:21.938Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-09-12T18:18:34.397Z", "modified_at": null, "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 575460, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-01-15T03:15:59.062Z", "modified_at": "2023-07-04T11:33:29.001Z", "type": "discord", "description": "soybean till mortise brr yet sympathetically", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 247381}, "properties": {"guild_id": "", "role_id": "", "kick_member": true, "guild_token": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 616062, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-10-29T10:58:55.115Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-02-03T23:25:29.448Z", "size_readable": "", "public_url": "https://livid-stool.biz/"}], "attached_custom_fields": []}} + application/json: {"type": "product.created", "timestamp": "2023-10-13T02:47:55.082Z", "data": {"id": "", "created_at": "2023-10-13T02:47:55.082Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 168322, "name": "", "description": "till that ew put", "recurring_interval": "month", "recurring_interval_count": 12897, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 785881, "key1": false, "key2": false}, "prices": [{"created_at": "2024-07-28T01:37:16.074Z", "modified_at": "2024-06-21T04:06:38.404Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 351958, "maximum_amount": 675813, "preset_amount": 835712, "legacy": true}, {"created_at": "2024-01-23T05:50:45.318Z", "modified_at": "2024-12-09T02:07:21.938Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-09-12T18:18:34.397Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 575460, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-01-15T03:15:59.062Z", "modified_at": "2023-07-04T11:33:29.001Z", "type": "discord", "description": "soybean till mortise brr yet sympathetically", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 247381}, "properties": {"guild_id": "", "role_id": "", "kick_member": true, "guild_token": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 616062, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-10-29T10:58:55.115Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-02-03T23:25:29.448Z", "size_readable": "", "public_url": "https://livid-stool.biz/"}], "attached_custom_fields": []}} responses: "200": application/json: "" @@ -1996,7 +2034,7 @@ examples: _endpointproduct_updated_post: speakeasy-default-endpointproduct-updated-post: requestBody: - application/json: {"type": "product.updated", "timestamp": "2024-08-25T02:00:54.049Z", "data": {"id": "", "created_at": "2024-08-25T02:00:54.049Z", "modified_at": "2023-07-21T03:22:42.071Z", "trial_interval": "month", "trial_interval_count": 860221, "name": "", "description": "fooey optimistic beyond dress helpfully whispered structure heartfelt consequently", "recurring_interval": "year", "recurring_interval_count": 705076, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {"key": 495401, "key1": true}, "prices": [{"created_at": "2023-07-21T03:22:42.071Z", "modified_at": "2025-05-10T05:05:05.968Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-08-10T13:22:51.241Z", "modified_at": "2024-10-05T01:46:47.680Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 753291, "maximum_amount": 103642, "preset_amount": 38424, "legacy": true}, {"created_at": "2024-11-15T20:13:31.076Z", "modified_at": "2025-08-03T01:42:10.311Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 586326, "maximum_amount": 272075, "preset_amount": 946258, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-26T20:43:42.655Z", "modified_at": "2023-11-13T02:29:49.304Z", "type": "downloadables", "description": "towards avaricious oof after nutritious", "selectable": true, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"archived": {"key": false}, "files": ["", "", ""]}}, {"id": "", "created_at": "2023-09-18T01:08:29.935Z", "modified_at": "2025-06-15T04:30:20.706Z", "type": "meter_credit", "description": "where patroller after aw arid", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": ""}, "properties": {"units": 292879, "rollover": true, "meter_id": ""}}, {"id": "", "created_at": "2023-08-06T07:32:57.958Z", "modified_at": "2023-04-29T20:41:41.892Z", "type": "github_repository", "description": "once however abnormally pace wretched presell", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": false}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 435627, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-04-14T07:39:07.142Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-04-21T20:24:54.389Z", "size_readable": "", "public_url": "https://uneven-juggernaut.net"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}]}} + application/json: {"type": "product.updated", "timestamp": "2024-08-25T02:00:54.049Z", "data": {"id": "", "created_at": "2024-08-25T02:00:54.049Z", "modified_at": "2023-07-21T03:22:42.071Z", "trial_interval": "month", "trial_interval_count": 860221, "name": "", "description": "fooey optimistic beyond dress helpfully whispered structure heartfelt consequently", "recurring_interval": "year", "recurring_interval_count": 705076, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {"key": 495401, "key1": true}, "prices": [{"created_at": "2023-07-21T03:22:42.071Z", "modified_at": "2025-05-10T05:05:05.968Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-08-10T13:22:51.241Z", "modified_at": "2024-10-05T01:46:47.680Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 753291, "maximum_amount": 103642, "preset_amount": 38424, "legacy": true}, {"created_at": "2024-11-15T20:13:31.076Z", "modified_at": "2025-08-03T01:42:10.311Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 586326, "maximum_amount": 272075, "preset_amount": 946258, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-26T20:43:42.655Z", "modified_at": "2023-11-13T02:29:49.304Z", "type": "downloadables", "description": "towards avaricious oof after nutritious", "selectable": true, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"archived": {"key": false}, "files": ["", "", ""]}}, {"id": "", "created_at": "2023-09-18T01:08:29.935Z", "modified_at": "2025-06-15T04:30:20.706Z", "type": "meter_credit", "description": "where patroller after aw arid", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": ""}, "properties": {"units": 292879, "rollover": true, "meter_id": ""}}, {"id": "", "created_at": "2023-08-06T07:32:57.958Z", "modified_at": "2023-04-29T20:41:41.892Z", "type": "github_repository", "description": "once however abnormally pace wretched presell", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": false}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 435627, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-04-14T07:39:07.142Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-04-21T20:24:54.389Z", "size_readable": "", "public_url": "https://uneven-juggernaut.net"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}]}} responses: "200": application/json: "" @@ -2005,7 +2043,7 @@ examples: _endpointorganization_updated_post: speakeasy-default-endpointorganization-updated-post: requestBody: - application/json: {"type": "organization.updated", "timestamp": "2025-08-19T15:02:44.139Z", "data": {"created_at": "2025-08-19T15:02:44.139Z", "modified_at": "2025-08-23T00:45:50.780Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "email": "Lemuel44@gmail.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://grizzled-patroller.info/"}, {"platform": "tiktok", "url": "https://grizzled-patroller.info/"}], "status": "active", "details_submitted_at": null, "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 877397}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}} + application/json: {"type": "organization.updated", "timestamp": "2025-08-19T15:02:44.139Z", "data": {"created_at": "2025-08-19T15:02:44.139Z", "modified_at": "2025-08-23T00:45:50.780Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Lemuel44@gmail.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://grizzled-patroller.info/"}, {"platform": "tiktok", "url": "https://grizzled-patroller.info/"}], "status": "active", "details_submitted_at": null, "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false, "member_model_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 877397, "prevent_trial_abuse": false}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}} responses: "200": application/json: "" @@ -2082,7 +2120,7 @@ examples: application/json: {"name": "", "slug": ""} responses: "201": - application/json: {"created_at": "2024-12-19T02:20:41.368Z", "modified_at": "2024-07-08T16:38:56.712Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://menacing-draft.net", "email": "Ursula99@yahoo.com", "website": "", "socials": [{"platform": "facebook", "url": "https://likable-commodity.biz/"}], "status": "denied", "details_submitted_at": "2024-04-04T18:10:47.254Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 655199}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": true, "subscription_updated": false}} + application/json: {"created_at": "2024-12-19T02:20:41.368Z", "modified_at": "2024-07-08T16:38:56.712Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://menacing-draft.net", "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Ursula99@yahoo.com", "website": "", "socials": [{"platform": "facebook", "url": "https://likable-commodity.biz/"}], "status": "denied", "details_submitted_at": "2024-04-04T18:10:47.254Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false, "member_model_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 655199, "prevent_trial_abuse": false}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": true, "subscription_updated": false}} "422": application/json: {} organizations:get: @@ -2092,7 +2130,7 @@ examples: id: "1dbfc517-0bbf-4301-9ba8-555ca42b9737" responses: "200": - application/json: {"created_at": "2024-06-18T23:12:24.609Z", "modified_at": "2023-11-22T07:49:02.109Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://far-off-resource.com", "email": "Dejon.Jakubowski-Bashirian6@gmail.com", "website": null, "socials": [{"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}], "status": "under_review", "details_submitted_at": "2023-07-16T01:59:28.607Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 488109}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}} + application/json: {"created_at": "2024-06-18T23:12:24.609Z", "modified_at": "2023-11-22T07:49:02.109Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://far-off-resource.com", "proration_behavior": "invoice", "allow_customer_updates": true, "email": "Dejon.Jakubowski-Bashirian6@gmail.com", "website": null, "socials": [{"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}], "status": "onboarding_started", "details_submitted_at": "2023-07-16T01:59:28.607Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false, "member_model_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 488109, "prevent_trial_abuse": false}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2106,7 +2144,7 @@ examples: application/json: {} responses: "200": - application/json: {"created_at": "2024-01-10T12:09:47.665Z", "modified_at": "2025-07-12T14:18:16.022Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://juvenile-deed.name/", "email": "Stanford.Streich62@gmail.com", "website": "", "socials": [{"platform": "github", "url": "https://violent-ownership.org/"}], "status": "onboarding_started", "details_submitted_at": "2024-05-08T13:53:13.516Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 341703}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": true, "subscription_updated": false}} + application/json: {"created_at": "2024-01-10T12:09:47.665Z", "modified_at": "2025-07-12T14:18:16.022Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://juvenile-deed.name/", "proration_behavior": "invoice", "allow_customer_updates": false, "email": "Stanford.Streich62@gmail.com", "website": "", "socials": [{"platform": "github", "url": "https://violent-ownership.org/"}], "status": "onboarding_started", "details_submitted_at": "2024-05-08T13:53:13.516Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false, "member_model_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 341703, "prevent_trial_abuse": false}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": true, "subscription_updated": false}} "403": application/json: {"error": "NotPermitted", "detail": ""} "404": @@ -2122,7 +2160,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 742797, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2024-10-01T10:10:26.018Z", "trial_end": "2023-12-05T04:37:49.573Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "week", "trial_interval_count": 960252, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "recurring_interval": "year", "recurring_interval_count": 616371, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"note": ""}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 68276, "type": "fixed", "amount": 818870, "currency": "Cordoba Oro", "created_at": "2023-04-13T03:33:43.010Z", "modified_at": "2024-12-28T23:48:21.678Z", "id": "", "metadata": {"key": 195279}, "name": "", "code": "", "starts_at": "2024-03-07T23:03:47.221Z", "ends_at": "2024-04-06T03:10:47.055Z", "max_redemptions": 472357, "redemptions_count": 101530, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-09-22T22:50:40.236Z", "modified_at": "2025-05-03T04:33:34.190Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 834580, "legacy": true}], "meters": []}, {"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 308570, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2025-09-23T15:13:06.761Z", "trial_end": "2023-09-22T22:50:40.236Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "year", "trial_interval_count": 265915, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "recurring_interval": "year", "recurring_interval_count": 492124, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"note": ""}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 68276, "type": "fixed", "amount": 818870, "currency": "Cordoba Oro", "created_at": "2023-04-13T03:33:43.010Z", "modified_at": "2024-12-28T23:48:21.678Z", "id": "", "metadata": {"key": 195279}, "name": "", "code": "", "starts_at": "2024-03-07T23:03:47.221Z", "ends_at": "2024-04-06T03:10:47.055Z", "max_redemptions": 472357, "redemptions_count": 101530, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-04-30T02:52:35.936Z", "modified_at": "2023-10-29T13:21:35.872Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 262272, "legacy": true}, {"created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 827165, "maximum_amount": 310545, "preset_amount": 154160, "legacy": true}], "meters": []}], "pagination": {"total_count": 947589, "max_page": 388476}} + application/json: {"items": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 742797, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2024-10-01T10:10:26.018Z", "trial_end": "2023-12-05T04:37:49.573Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "week", "trial_interval_count": 960252, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "recurring_interval": "year", "recurring_interval_count": 616371, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"note": ""}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 68276, "type": "fixed", "amount": 818870, "currency": "Cordoba Oro", "created_at": "2023-04-13T03:33:43.010Z", "modified_at": "2024-12-28T23:48:21.678Z", "id": "", "metadata": {"key": 195279}, "name": "", "code": "", "starts_at": "2024-03-07T23:03:47.221Z", "ends_at": "2024-04-06T03:10:47.055Z", "max_redemptions": 472357, "redemptions_count": 101530, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-09-22T22:50:40.236Z", "modified_at": "2025-05-03T04:33:34.190Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 834580, "legacy": true}], "meters": []}, {"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 308570, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2025-09-23T15:13:06.761Z", "trial_end": "2023-09-22T22:50:40.236Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "year", "trial_interval_count": 265915, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "recurring_interval": "year", "recurring_interval_count": 492124, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": ""}, "properties": {"note": ""}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "once", "duration_in_months": 68276, "type": "fixed", "amount": 818870, "currency": "Cordoba Oro", "created_at": "2023-04-13T03:33:43.010Z", "modified_at": "2024-12-28T23:48:21.678Z", "id": "", "metadata": {"key": 195279}, "name": "", "code": "", "starts_at": "2024-03-07T23:03:47.221Z", "ends_at": "2024-04-06T03:10:47.055Z", "max_redemptions": 472357, "redemptions_count": 101530, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-04-30T02:52:35.936Z", "modified_at": "2023-10-29T13:21:35.872Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 262272, "legacy": true}, {"created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 827165, "maximum_amount": 310545, "preset_amount": 154160, "legacy": true}], "meters": []}], "pagination": {"total_count": 947589, "max_page": 388476}} "422": application/json: {} subscriptions:export: @@ -2142,7 +2180,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-10-24T15:26:40.431Z", "modified_at": "2023-07-28T23:00:02.724Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 270660, "status": "active", "current_period_start": "2025-04-05T21:01:12.454Z", "current_period_end": null, "trial_start": "2024-06-09T21:26:52.968Z", "trial_end": "2025-09-03T08:50:28.234Z", "cancel_at_period_end": true, "canceled_at": "2025-05-09T12:42:07.453Z", "started_at": "2025-12-16T12:13:32.171Z", "ends_at": "2025-07-23T18:45:11.258Z", "ended_at": null, "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-06-01T00:25:19.556Z", "modified_at": null, "metadata": {"key": 8941.51, "key1": 393.1}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-03-15T13:55:38.252Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-04-22T11:34:07.174Z", "modified_at": "2024-01-28T05:15:18.595Z", "trial_interval": "year", "trial_interval_count": 753537, "name": "", "description": "solder crossly except yet", "recurring_interval": null, "recurring_interval_count": 190655, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2023-07-28T23:00:02.724Z", "modified_at": "2025-03-22T08:23:39.797Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 753537, "legacy": true}, {"created_at": "2023-10-17T03:10:19.145Z", "modified_at": "2024-12-02T16:50:43.309Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 852903, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/mail", "mime_type": "", "size": 768823, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-22T03:27:39.662Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-06-30T04:51:26.931Z", "size_readable": "", "public_url": "https://gigantic-spring.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/mail", "mime_type": "", "size": 768823, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-22T03:27:39.662Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-06-30T04:51:26.931Z", "size_readable": "", "public_url": "https://gigantic-spring.name/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-20T15:07:05.822Z", "modified_at": "2025-07-11T03:45:02.430Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 61252, "required": true}]}, "discount": {"duration": "once", "duration_in_months": 342177, "type": "fixed", "amount": 861306, "currency": "CFA Franc BCEAO", "created_at": "2023-04-20T11:08:19.373Z", "modified_at": "2023-06-26T04:56:35.602Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-05-19T07:23:10.203Z", "ends_at": null, "max_redemptions": 381050, "redemptions_count": 60295, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [], "meters": []} + application/json: {"created_at": "2023-10-24T15:26:40.431Z", "modified_at": "2023-07-28T23:00:02.724Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 270660, "status": "active", "current_period_start": "2025-04-05T21:01:12.454Z", "current_period_end": null, "trial_start": "2024-06-09T21:26:52.968Z", "trial_end": "2025-09-03T08:50:28.234Z", "cancel_at_period_end": true, "canceled_at": "2025-05-09T12:42:07.453Z", "started_at": "2025-12-16T12:13:32.171Z", "ends_at": "2025-07-23T18:45:11.258Z", "ended_at": null, "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-06-01T00:25:19.556Z", "modified_at": null, "metadata": {"key": 8941.51, "key1": 393.1}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-03-15T13:55:38.252Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-04-22T11:34:07.174Z", "modified_at": "2024-01-28T05:15:18.595Z", "trial_interval": "year", "trial_interval_count": 753537, "name": "", "description": "solder crossly except yet", "recurring_interval": null, "recurring_interval_count": 190655, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2023-07-28T23:00:02.724Z", "modified_at": "2025-03-22T08:23:39.797Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 753537, "legacy": true}, {"created_at": "2023-10-17T03:10:19.145Z", "modified_at": "2024-12-02T16:50:43.309Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 852903, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/mail", "mime_type": "", "size": 768823, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-22T03:27:39.662Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-06-30T04:51:26.931Z", "size_readable": "", "public_url": "https://gigantic-spring.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/mail", "mime_type": "", "size": 768823, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-22T03:27:39.662Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-06-30T04:51:26.931Z", "size_readable": "", "public_url": "https://gigantic-spring.name/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-20T15:07:05.822Z", "modified_at": "2025-07-11T03:45:02.430Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 61252, "required": true}]}, "discount": {"duration": "once", "duration_in_months": 342177, "type": "fixed", "amount": 861306, "currency": "CFA Franc BCEAO", "created_at": "2023-04-20T11:08:19.373Z", "modified_at": "2023-06-26T04:56:35.602Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-05-19T07:23:10.203Z", "ends_at": null, "max_redemptions": 381050, "redemptions_count": 60295, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [], "meters": []} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2156,7 +2194,7 @@ examples: application/json: {"product_id": ""} responses: "200": - application/json: {"created_at": "2023-12-04T14:44:14.136Z", "modified_at": "2023-05-01T08:54:32.351Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 297120, "status": "canceled", "current_period_start": "2024-10-27T19:14:25.505Z", "current_period_end": "2025-11-08T09:51:13.337Z", "trial_start": "2023-12-04T14:44:14.136Z", "trial_end": "2023-05-01T08:54:32.351Z", "cancel_at_period_end": false, "canceled_at": "2023-05-16T23:35:19.423Z", "started_at": "2023-11-02T08:09:24.083Z", "ends_at": "2025-04-12T21:04:51.008Z", "ended_at": "2023-12-10T00:14:34.013Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": null, "metadata": {"key": 7847.22, "key1": true}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-28T05:26:01.320Z", "modified_at": "2023-07-10T03:03:20.499Z", "metadata": {"key": 6844.97}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-09T13:23:35.812Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-08-15T15:06:53.828Z", "modified_at": "2025-03-30T01:15:57.619Z", "trial_interval": "year", "trial_interval_count": 827417, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 891943, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": "", "key1": 6842.69}, "prices": [{"created_at": "2025-09-04T13:39:15.428Z", "modified_at": "2023-06-09T23:09:57.743Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 607483, "maximum_amount": 951105, "preset_amount": 838393, "legacy": true}], "benefits": [], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}]}, "discount": {"duration": "forever", "duration_in_months": 913858, "type": "percentage", "amount": 925698, "currency": "Pound Sterling", "created_at": "2025-01-31T19:57:33.256Z", "modified_at": "2024-11-08T18:43:15.968Z", "id": "", "metadata": {"key": 2646.89}, "name": "", "code": "", "starts_at": "2025-02-01T12:19:14.944Z", "ends_at": "2023-04-23T06:57:38.844Z", "max_redemptions": 467745, "redemptions_count": 167766, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-02T08:09:24.083Z", "modified_at": "2025-04-12T21:04:51.008Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 203413, "legacy": true}, {"created_at": "2024-02-05T08:01:02.549Z", "modified_at": null, "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-12-26T01:37:45.354Z", "modified_at": "2023-11-30T02:22:41.602Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 563833, "legacy": true}], "meters": [{"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]} + application/json: {"created_at": "2023-12-04T14:44:14.136Z", "modified_at": "2023-05-01T08:54:32.351Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 297120, "status": "canceled", "current_period_start": "2024-10-27T19:14:25.505Z", "current_period_end": "2025-11-08T09:51:13.337Z", "trial_start": "2023-12-04T14:44:14.136Z", "trial_end": "2023-05-01T08:54:32.351Z", "cancel_at_period_end": false, "canceled_at": "2023-05-16T23:35:19.423Z", "started_at": "2023-11-02T08:09:24.083Z", "ends_at": "2025-04-12T21:04:51.008Z", "ended_at": "2023-12-10T00:14:34.013Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": null, "metadata": {"key": 7847.22, "key1": true}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-28T05:26:01.320Z", "modified_at": "2023-07-10T03:03:20.499Z", "metadata": {"key": 6844.97}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-09T13:23:35.812Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-08-15T15:06:53.828Z", "modified_at": "2025-03-30T01:15:57.619Z", "trial_interval": "year", "trial_interval_count": 827417, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 891943, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": "", "key1": 6842.69}, "prices": [{"created_at": "2025-09-04T13:39:15.428Z", "modified_at": "2023-06-09T23:09:57.743Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 607483, "maximum_amount": 951105, "preset_amount": 838393, "legacy": true}], "benefits": [], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}]}, "discount": {"duration": "forever", "duration_in_months": 913858, "type": "percentage", "amount": 925698, "currency": "Pound Sterling", "created_at": "2025-01-31T19:57:33.256Z", "modified_at": "2024-11-08T18:43:15.968Z", "id": "", "metadata": {"key": 2646.89}, "name": "", "code": "", "starts_at": "2025-02-01T12:19:14.944Z", "ends_at": "2023-04-23T06:57:38.844Z", "max_redemptions": 467745, "redemptions_count": 167766, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-02T08:09:24.083Z", "modified_at": "2025-04-12T21:04:51.008Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 203413, "legacy": true}, {"created_at": "2024-02-05T08:01:02.549Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-12-26T01:37:45.354Z", "modified_at": "2023-11-30T02:22:41.602Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 563833, "legacy": true}], "meters": [{"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}]} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -2172,7 +2210,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-04-13T16:53:14.377Z", "modified_at": "2023-10-09T16:03:24.107Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 93707, "status": "past_due", "current_period_start": "2024-09-21T11:35:55.569Z", "current_period_end": "2025-03-29T10:01:06.463Z", "trial_start": null, "trial_end": "2023-10-09T16:03:24.107Z", "cancel_at_period_end": true, "canceled_at": "2025-09-12T16:35:27.128Z", "started_at": "2025-07-19T10:57:44.516Z", "ends_at": "2023-01-14T16:02:07.001Z", "ended_at": "2024-04-09T01:58:52.778Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "metadata": {"key": "", "key1": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-02-06T08:24:11.064Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-08-01T19:22:16.612Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "trial_interval": "week", "trial_interval_count": 618257, "name": "", "description": "yowza meh ethyl where once exotic", "recurring_interval": "month", "recurring_interval_count": 256997, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 3063.89, "key1": true}, "prices": [{"created_at": "2023-10-09T16:03:24.107Z", "modified_at": "2023-10-18T20:01:51.483Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 574346, "legacy": true}, {"created_at": "2023-03-31T11:27:51.165Z", "modified_at": "2025-09-12T16:35:27.128Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-09-25T04:14:25.732Z", "modified_at": "2025-11-14T15:31:42.442Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 606069, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "properties": {"units": 921282, "rollover": false, "meter_id": ""}}, {"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "properties": {"units": 921282, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-04-12T03:15:38.858Z", "modified_at": "2025-07-13T21:55:11.751Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 712744, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 153470, "type": "fixed", "basis_points": 284416, "created_at": "2024-03-23T02:00:57.683Z", "modified_at": "2025-01-27T19:18:40.809Z", "id": "", "metadata": {"key": 4126.15, "key1": 3937.48}, "name": "", "code": null, "starts_at": "2025-06-08T16:09:35.643Z", "ends_at": "2024-02-05T12:40:28.600Z", "max_redemptions": 819891, "redemptions_count": 779464, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-05-21T20:43:29.354Z", "modified_at": "2023-04-05T19:10:22.088Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": null, "maximum_amount": 75257, "preset_amount": 135909, "legacy": true}, {"created_at": "2025-09-15T17:22:16.784Z", "modified_at": "2024-11-04T09:40:35.837Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 803091, "meter_id": "", "meter": {"id": "", "name": ""}}], "meters": [{"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}]} + application/json: {"created_at": "2023-04-13T16:53:14.377Z", "modified_at": "2023-10-09T16:03:24.107Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 93707, "status": "past_due", "current_period_start": "2024-09-21T11:35:55.569Z", "current_period_end": "2025-03-29T10:01:06.463Z", "trial_start": null, "trial_end": "2023-10-09T16:03:24.107Z", "cancel_at_period_end": true, "canceled_at": "2025-09-12T16:35:27.128Z", "started_at": "2025-07-19T10:57:44.516Z", "ends_at": "2023-01-14T16:02:07.001Z", "ended_at": "2024-04-09T01:58:52.778Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "metadata": {"key": "", "key1": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-02-06T08:24:11.064Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-08-01T19:22:16.612Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "trial_interval": "week", "trial_interval_count": 618257, "name": "", "description": "yowza meh ethyl where once exotic", "recurring_interval": "month", "recurring_interval_count": 256997, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 3063.89, "key1": true}, "prices": [{"created_at": "2023-10-09T16:03:24.107Z", "modified_at": "2023-10-18T20:01:51.483Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 574346, "legacy": true}, {"created_at": "2023-03-31T11:27:51.165Z", "modified_at": "2025-09-12T16:35:27.128Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-09-25T04:14:25.732Z", "modified_at": "2025-11-14T15:31:42.442Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 606069, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "properties": {"units": 921282, "rollover": false, "meter_id": ""}}, {"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "properties": {"units": 921282, "rollover": false, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-04-12T03:15:38.858Z", "modified_at": "2025-07-13T21:55:11.751Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 712744, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 153470, "type": "fixed", "basis_points": 284416, "created_at": "2024-03-23T02:00:57.683Z", "modified_at": "2025-01-27T19:18:40.809Z", "id": "", "metadata": {"key": 4126.15, "key1": 3937.48}, "name": "", "code": null, "starts_at": "2025-06-08T16:09:35.643Z", "ends_at": "2024-02-05T12:40:28.600Z", "max_redemptions": 819891, "redemptions_count": 779464, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-05-21T20:43:29.354Z", "modified_at": "2023-04-05T19:10:22.088Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": null, "maximum_amount": 75257, "preset_amount": 135909, "legacy": true}, {"created_at": "2025-09-15T17:22:16.784Z", "modified_at": "2024-11-04T09:40:35.837Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 803091, "meter_id": "", "meter": {"id": "", "name": ""}}], "meters": [{"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}]} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -2226,7 +2264,7 @@ examples: oauth2:clients:oauth2:create_client: speakeasy-default-oauth2-:clients:oauth2-:create-client: requestBody: - application/json: {"redirect_uris": ["https://impolite-hippodrome.com/", "https://acidic-tomography.net/"], "token_endpoint_auth_method": "client_secret_post", "scope": "openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write", "client_name": ""} + application/json: {"redirect_uris": ["https://impolite-hippodrome.com/", "https://acidic-tomography.net/"], "token_endpoint_auth_method": "client_secret_post", "scope": "openid profile email user:read user:write organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write members:read members:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write", "client_name": ""} responses: "200": application/json: "" @@ -2248,7 +2286,7 @@ examples: path: client_id: "" requestBody: - application/json: {"redirect_uris": ["https://classic-cantaloupe.org", "https://corrupt-status.biz/"], "token_endpoint_auth_method": "client_secret_post", "scope": "openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write", "client_name": "", "client_id": ""} + application/json: {"redirect_uris": ["https://classic-cantaloupe.org", "https://corrupt-status.biz/"], "token_endpoint_auth_method": "client_secret_post", "scope": "openid profile email user:read user:write organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write members:read members:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write", "client_name": "", "client_id": ""} responses: "200": application/json: "" @@ -2356,7 +2394,7 @@ examples: application/json: {"name": "", "prices": [], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "recurring_interval": "year"} responses: "201": - application/json: {"id": "", "created_at": "2025-01-12T01:51:18.973Z", "modified_at": "2025-11-10T04:18:09.355Z", "trial_interval": "month", "trial_interval_count": null, "name": "", "description": "well-worn against cash unless offensively chromakey exempt dense cruelly peony", "recurring_interval": "year", "recurring_interval_count": 746612, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": ""}, "prices": [{"created_at": "2023-04-20T14:04:54.240Z", "modified_at": "2024-11-07T17:01:01.790Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-03-29T16:30:59.890Z", "modified_at": "2025-08-23T16:40:00.782Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-12T20:54:36.929Z", "modified_at": null, "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 845799, "maximum_amount": 402294, "preset_amount": 275452, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-12T11:07:33.436Z", "modified_at": "2024-10-25T01:29:33.276Z", "id": "", "metadata": {}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 29798, "required": false}]} + application/json: {"id": "", "created_at": "2025-01-12T01:51:18.973Z", "modified_at": "2025-11-10T04:18:09.355Z", "trial_interval": "month", "trial_interval_count": null, "name": "", "description": "well-worn against cash unless offensively chromakey exempt dense cruelly peony", "recurring_interval": "year", "recurring_interval_count": 746612, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": ""}, "prices": [{"created_at": "2023-04-20T14:04:54.240Z", "modified_at": "2024-11-07T17:01:01.790Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-03-29T16:30:59.890Z", "modified_at": "2025-08-23T16:40:00.782Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-12T20:54:36.929Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 845799, "maximum_amount": 402294, "preset_amount": 275452, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-12T11:07:33.436Z", "modified_at": "2024-10-25T01:29:33.276Z", "id": "", "metadata": {}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 29798, "required": false}]} "422": application/json: {} products:get: @@ -2366,7 +2404,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2024-02-13T06:53:33.624Z", "modified_at": "2023-05-12T13:18:24.858Z", "trial_interval": "month", "trial_interval_count": 612534, "name": "", "description": "unless spirit brr", "recurring_interval": "year", "recurring_interval_count": 624323, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": 6163.88, "key1": 9317.36}, "prices": [{"created_at": "2023-05-12T13:18:24.858Z", "modified_at": "2023-05-14T01:41:35.647Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 730788, "legacy": true}, {"created_at": "2023-11-27T09:27:19.424Z", "modified_at": "2025-05-27T01:17:58.930Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 949423, "legacy": true}, {"created_at": "2025-07-22T04:15:31.279Z", "modified_at": "2023-09-19T09:44:34.428Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-02-09T15:41:59.550Z", "modified_at": "2024-04-11T03:19:35.244Z", "type": "downloadables", "description": "simplistic loudly phony pomelo fiercely fellow hearten like politely geez", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 916.31, "key1": true, "key2": 42514}, "properties": {"archived": {"key": false, "key1": true}, "files": ["", ""]}}, {"id": "", "created_at": "2024-06-16T18:41:03.517Z", "modified_at": "2024-09-07T07:56:09.259Z", "type": "meter_credit", "description": "mmm neatly after", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 9567.58}, "properties": {"units": 361243, "rollover": false, "meter_id": ""}}], "medias": [], "attached_custom_fields": []} + application/json: {"id": "", "created_at": "2024-02-13T06:53:33.624Z", "modified_at": "2023-05-12T13:18:24.858Z", "trial_interval": "month", "trial_interval_count": 612534, "name": "", "description": "unless spirit brr", "recurring_interval": "year", "recurring_interval_count": 624323, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": 6163.88, "key1": 9317.36}, "prices": [{"created_at": "2023-05-12T13:18:24.858Z", "modified_at": "2023-05-14T01:41:35.647Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 730788, "legacy": true}, {"created_at": "2023-11-27T09:27:19.424Z", "modified_at": "2025-05-27T01:17:58.930Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 949423, "legacy": true}, {"created_at": "2025-07-22T04:15:31.279Z", "modified_at": "2023-09-19T09:44:34.428Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-02-09T15:41:59.550Z", "modified_at": "2024-04-11T03:19:35.244Z", "type": "downloadables", "description": "simplistic loudly phony pomelo fiercely fellow hearten like politely geez", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 916.31, "key1": true, "key2": 42514}, "properties": {"archived": {"key": false, "key1": true}, "files": ["", ""]}}, {"id": "", "created_at": "2024-06-16T18:41:03.517Z", "modified_at": "2024-09-07T07:56:09.259Z", "type": "meter_credit", "description": "mmm neatly after", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": 9567.58}, "properties": {"units": 361243, "rollover": false, "meter_id": ""}}], "medias": [], "attached_custom_fields": []} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2380,7 +2418,7 @@ examples: application/json: {} responses: "200": - application/json: {"id": "", "created_at": "2025-08-13T18:42:45.673Z", "modified_at": "2025-03-29T03:16:47.365Z", "trial_interval": "year", "trial_interval_count": 568567, "name": "", "description": "as hunger ouch since mash where yet", "recurring_interval": "year", "recurring_interval_count": 915832, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-03-29T03:16:47.365Z", "modified_at": "2024-11-10T13:10:18.334Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 810331, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2025-06-01T13:19:08.557Z", "modified_at": "2024-11-29T15:53:01.542Z", "type": "github_repository", "description": "rectangular extremely which proliferate offensively honestly", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "triage"}}, {"id": "", "created_at": "2025-08-28T21:34:45.570Z", "modified_at": "2025-07-10T04:28:46.581Z", "type": "downloadables", "description": "drat amongst consequently provision anenst sate while playfully catalyze moment", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 721783, "key1": 467378, "key2": true}, "properties": {"archived": {"key": false, "key1": true}, "files": []}}, {"id": "", "created_at": "2025-02-12T00:29:21.086Z", "modified_at": "2024-07-18T11:21:31.713Z", "type": "meter_credit", "description": "between meager for piglet etch yieldingly since fooey", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": "", "key1": 100073}, "properties": {"units": 93199, "rollover": true, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 272557, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-09-15T04:26:05.951Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-06-09T10:26:56.093Z", "size_readable": "", "public_url": "https://fake-finer.com/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-05-13T00:15:16.449Z", "modified_at": "2025-03-31T10:58:20.904Z", "id": "", "metadata": {"key": 214606, "key1": 570924}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 395589, "required": true}]} + application/json: {"id": "", "created_at": "2025-08-13T18:42:45.673Z", "modified_at": "2025-03-29T03:16:47.365Z", "trial_interval": "year", "trial_interval_count": 568567, "name": "", "description": "as hunger ouch since mash where yet", "recurring_interval": "year", "recurring_interval_count": 915832, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-03-29T03:16:47.365Z", "modified_at": "2024-11-10T13:10:18.334Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 810331, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2025-06-01T13:19:08.557Z", "modified_at": "2024-11-29T15:53:01.542Z", "type": "github_repository", "description": "rectangular extremely which proliferate offensively honestly", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "triage"}}, {"id": "", "created_at": "2025-08-28T21:34:45.570Z", "modified_at": "2025-07-10T04:28:46.581Z", "type": "downloadables", "description": "drat amongst consequently provision anenst sate while playfully catalyze moment", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": 721783, "key1": 467378, "key2": true}, "properties": {"archived": {"key": false, "key1": true}, "files": []}}, {"id": "", "created_at": "2025-02-12T00:29:21.086Z", "modified_at": "2024-07-18T11:21:31.713Z", "type": "meter_credit", "description": "between meager for piglet etch yieldingly since fooey", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": "", "key1": 100073}, "properties": {"units": 93199, "rollover": true, "meter_id": ""}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 272557, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-09-15T04:26:05.951Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-06-09T10:26:56.093Z", "size_readable": "", "public_url": "https://fake-finer.com/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-05-13T00:15:16.449Z", "modified_at": "2025-03-31T10:58:20.904Z", "id": "", "metadata": {"key": 214606, "key1": 570924}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 395589, "required": true}]} "403": application/json: {"error": "NotPermitted", "detail": ""} "404": @@ -2396,7 +2434,7 @@ examples: application/json: {"benefits": ["", "", ""]} responses: "200": - application/json: {"id": "", "created_at": "2023-09-28T22:38:03.685Z", "modified_at": "2024-01-11T22:10:13.497Z", "trial_interval": "day", "trial_interval_count": 342996, "name": "", "description": "blah bouncy until below spear dash border", "recurring_interval": "month", "recurring_interval_count": 247211, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": "", "key1": 244043}, "prices": [{"created_at": "2025-09-11T11:40:02.608Z", "modified_at": "2024-11-03T09:56:56.385Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 223202, "maximum_amount": 66059, "preset_amount": 500347, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-18T09:49:18.801Z", "modified_at": "2023-06-23T04:47:46.915Z", "type": "github_repository", "description": "vastly meanwhile stage tennis coop", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}}, {"id": "", "created_at": "2025-10-26T03:43:57.806Z", "modified_at": "2024-04-17T17:44:58.962Z", "type": "meter_credit", "description": "daughter nor below ack till clone like against", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": true}, "properties": {"units": 113791, "rollover": true, "meter_id": ""}}, {"id": "", "created_at": "2023-06-30T04:50:32.342Z", "modified_at": "2023-01-27T19:24:13.189Z", "type": "license_keys", "description": "redraw whoa palate worldly hm impact lest dependable", "selectable": false, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"prefix": "", "expires": {"ttl": 989033, "timeframe": "year"}, "activations": null, "limit_usage": 839068}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-17T06:02:23.238Z", "modified_at": "2025-03-20T20:03:53.850Z", "id": "", "metadata": {"key": 8435.67, "key1": 1752.52, "key2": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 516294, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-17T06:02:23.238Z", "modified_at": "2025-03-20T20:03:53.850Z", "id": "", "metadata": {"key": 8435.67, "key1": 1752.52, "key2": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 516294, "required": false}]} + application/json: {"id": "", "created_at": "2023-09-28T22:38:03.685Z", "modified_at": "2024-01-11T22:10:13.497Z", "trial_interval": "day", "trial_interval_count": 342996, "name": "", "description": "blah bouncy until below spear dash border", "recurring_interval": "month", "recurring_interval_count": 247211, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": "", "key1": 244043}, "prices": [{"created_at": "2025-09-11T11:40:02.608Z", "modified_at": "2024-11-03T09:56:56.385Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 223202, "maximum_amount": 66059, "preset_amount": 500347, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-18T09:49:18.801Z", "modified_at": "2023-06-23T04:47:46.915Z", "type": "github_repository", "description": "vastly meanwhile stage tennis coop", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": ""}, "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}}, {"id": "", "created_at": "2025-10-26T03:43:57.806Z", "modified_at": "2024-04-17T17:44:58.962Z", "type": "meter_credit", "description": "daughter nor below ack till clone like against", "selectable": true, "deletable": false, "organization_id": "", "metadata": {"key": true}, "properties": {"units": 113791, "rollover": true, "meter_id": ""}}, {"id": "", "created_at": "2023-06-30T04:50:32.342Z", "modified_at": "2023-01-27T19:24:13.189Z", "type": "license_keys", "description": "redraw whoa palate worldly hm impact lest dependable", "selectable": false, "deletable": true, "organization_id": "", "metadata": {}, "properties": {"prefix": "", "expires": {"ttl": 989033, "timeframe": "year"}, "activations": null, "limit_usage": 839068}}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 770976, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T01:46:26.319Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2025-09-22T06:25:51.641Z", "size_readable": "", "public_url": "https://well-groomed-creature.biz"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-17T06:02:23.238Z", "modified_at": "2025-03-20T20:03:53.850Z", "id": "", "metadata": {"key": 8435.67, "key1": 1752.52, "key2": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 516294, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-17T06:02:23.238Z", "modified_at": "2025-03-20T20:03:53.850Z", "id": "", "metadata": {"key": 8435.67, "key1": 1752.52, "key2": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 516294, "required": false}]} "403": application/json: {"error": "NotPermitted", "detail": ""} "404": @@ -2412,7 +2450,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2023-03-26T01:22:53.189Z", "modified_at": "2024-02-10T15:29:33.963Z", "status": "refunded", "paid": true, "subtotal_amount": 15468, "discount_amount": 962179, "net_amount": 308936, "tax_amount": 449820, "total_amount": 375942, "applied_balance_amount": 901379, "due_amount": 465509, "refunded_amount": 70124, "refunded_tax_amount": 297395, "currency": "Balboa", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-03-16T14:29:40.056Z", "modified_at": "2024-12-01T04:46:22.222Z", "metadata": {"key": 7966.23}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-01T05:52:58.262Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2025-02-24T18:51:29.694Z", "modified_at": "2025-04-13T23:14:41.573Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "expense pip blue furthermore gnash frail yet ugly", "recurring_interval": "year", "recurring_interval_count": 465509, "is_recurring": true, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "duration_in_months": 782667, "type": "percentage", "basis_points": 224838, "created_at": "2024-11-05T22:56:54.203Z", "modified_at": "2024-08-14T13:19:22.767Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-03-15T19:46:41.506Z", "ends_at": "2025-06-29T08:50:29.569Z", "max_redemptions": 759343, "redemptions_count": 214063, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {"key": false, "key1": 6606.6}, "created_at": "2024-07-13T07:19:52.472Z", "modified_at": "2023-05-30T18:04:05.234Z", "id": "", "amount": 941727, "currency": "CFA Franc BCEAO", "recurring_interval": "month", "recurring_interval_count": 76694, "status": "past_due", "current_period_start": "2023-08-06T07:04:45.093Z", "current_period_end": "2024-09-25T19:02:24.370Z", "trial_start": "2024-02-10T15:29:33.963Z", "trial_end": "2023-01-17T22:53:29.526Z", "cancel_at_period_end": true, "canceled_at": "2023-09-12T07:04:22.765Z", "started_at": "2023-01-18T06:49:58.589Z", "ends_at": "2023-10-25T10:02:37.340Z", "ended_at": "2023-07-26T14:27:14.451Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "unused", "customer_cancellation_comment": ""}, "items": [{"created_at": "2024-02-19T18:25:16.033Z", "modified_at": "2025-09-17T15:07:41.764Z", "id": "", "label": "", "amount": 92904, "tax_amount": 275681, "proration": false, "product_price_id": ""}, {"created_at": "2024-02-19T18:25:16.033Z", "modified_at": "2025-09-17T15:07:41.764Z", "id": "", "label": "", "amount": 92904, "tax_amount": 275681, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}], "pagination": {"total_count": 754496, "max_page": 599128}} + application/json: {"items": [{"id": "", "created_at": "2023-03-26T01:22:53.189Z", "modified_at": "2024-02-10T15:29:33.963Z", "status": "refunded", "paid": true, "subtotal_amount": 15468, "discount_amount": 962179, "net_amount": 308936, "tax_amount": 449820, "total_amount": 375942, "applied_balance_amount": 901379, "due_amount": 465509, "refunded_amount": 70124, "refunded_tax_amount": 297395, "currency": "Balboa", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-03-16T14:29:40.056Z", "modified_at": "2024-12-01T04:46:22.222Z", "metadata": {"key": 7966.23}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-01T05:52:58.262Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "user_id": "", "product": {"metadata": {}, "id": "", "created_at": "2025-02-24T18:51:29.694Z", "modified_at": "2025-04-13T23:14:41.573Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "expense pip blue furthermore gnash frail yet ugly", "recurring_interval": "year", "recurring_interval_count": 465509, "is_recurring": true, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "duration_in_months": 782667, "type": "percentage", "basis_points": 224838, "created_at": "2024-11-05T22:56:54.203Z", "modified_at": "2024-08-14T13:19:22.767Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-03-15T19:46:41.506Z", "ends_at": "2025-06-29T08:50:29.569Z", "max_redemptions": 759343, "redemptions_count": 214063, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {"key": false, "key1": 6606.6}, "created_at": "2024-07-13T07:19:52.472Z", "modified_at": "2023-05-30T18:04:05.234Z", "id": "", "amount": 941727, "currency": "CFA Franc BCEAO", "recurring_interval": "month", "recurring_interval_count": 76694, "status": "past_due", "current_period_start": "2023-08-06T07:04:45.093Z", "current_period_end": "2024-09-25T19:02:24.370Z", "trial_start": "2024-02-10T15:29:33.963Z", "trial_end": "2023-01-17T22:53:29.526Z", "cancel_at_period_end": true, "canceled_at": "2023-09-12T07:04:22.765Z", "started_at": "2023-01-18T06:49:58.589Z", "ends_at": "2023-10-25T10:02:37.340Z", "ended_at": "2023-07-26T14:27:14.451Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "unused", "customer_cancellation_comment": ""}, "items": [{"created_at": "2024-02-19T18:25:16.033Z", "modified_at": "2025-09-17T15:07:41.764Z", "id": "", "label": "", "amount": 92904, "tax_amount": 275681, "proration": false, "product_price_id": ""}, {"created_at": "2024-02-19T18:25:16.033Z", "modified_at": "2025-09-17T15:07:41.764Z", "id": "", "label": "", "amount": 92904, "tax_amount": 275681, "proration": false, "product_price_id": ""}], "description": "Pro Plan"}], "pagination": {"total_count": 754496, "max_page": 599128}} "422": application/json: {} orders:get: @@ -2422,7 +2460,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2023-12-28T18:05:05.494Z", "modified_at": "2025-08-19T01:46:15.037Z", "status": "paid", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_update", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": ""}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-07-30T11:43:08.034Z", "modified_at": "2025-11-17T01:23:41.514Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-03-07T16:00:18.030Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 709557, "key1": true, "key2": 1589.86}, "id": "", "created_at": "2024-06-13T05:22:39.981Z", "modified_at": "2025-08-06T17:05:37.045Z", "trial_interval": "month", "trial_interval_count": 421146, "name": "", "description": "tarry subexpression brr huzzah officially", "recurring_interval": "year", "recurring_interval_count": 566234, "is_recurring": false, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "type": "percentage", "basis_points": 815092, "created_at": "2025-09-19T21:21:56.106Z", "modified_at": "2024-05-14T12:13:50.338Z", "id": "", "metadata": {"key": false}, "name": "", "code": null, "starts_at": "2025-01-27T04:15:28.556Z", "ends_at": "2023-02-03T06:50:58.764Z", "max_redemptions": 31256, "redemptions_count": 737846, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": null, "items": [], "description": "Pro Plan"} + application/json: {"id": "", "created_at": "2023-12-28T18:05:05.494Z", "modified_at": "2025-08-19T01:46:15.037Z", "status": "paid", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_update", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {"key": ""}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-07-30T11:43:08.034Z", "modified_at": "2025-11-17T01:23:41.514Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-03-07T16:00:18.030Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 709557, "key1": true, "key2": 1589.86}, "id": "", "created_at": "2024-06-13T05:22:39.981Z", "modified_at": "2025-08-06T17:05:37.045Z", "trial_interval": "month", "trial_interval_count": 421146, "name": "", "description": "tarry subexpression brr huzzah officially", "recurring_interval": "year", "recurring_interval_count": 566234, "is_recurring": false, "is_archived": false, "organization_id": ""}, "discount": {"duration": "once", "type": "percentage", "basis_points": 815092, "created_at": "2025-09-19T21:21:56.106Z", "modified_at": "2024-05-14T12:13:50.338Z", "id": "", "metadata": {"key": false}, "name": "", "code": null, "starts_at": "2025-01-27T04:15:28.556Z", "ends_at": "2023-02-03T06:50:58.764Z", "max_redemptions": 31256, "redemptions_count": 737846, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": null, "items": [], "description": "Pro Plan"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2473,16 +2511,16 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://punctual-guacamole.org", "expires_at": "2023-08-19T15:22:33.462Z", "success_url": "https://biodegradable-coal.com", "return_url": "https://definite-finer.org/", "embed_origin": "", "amount": 780504, "discount_amount": 766358, "net_amount": 630886, "tax_amount": 936353, "total_amount": 994328, "currency": "Algerian Dinar", "active_trial_interval": "week", "active_trial_interval_count": 332812, "trial_end": "2024-12-26T22:49:45.749Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": false, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "disabled", "line2": "optional"}, "trial_interval": "month", "trial_interval_count": 902613, "metadata": {"key": 507672, "key1": 563944}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "dally bungalow congregate howl", "recurring_interval": "month", "recurring_interval_count": 345801, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, {"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 780504, "name": "", "description": "dally bungalow congregate howl", "recurring_interval": "month", "recurring_interval_count": 332812, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}], "product": {"id": "", "created_at": "2025-10-08T08:06:47.691Z", "modified_at": "2023-01-13T21:51:28.028Z", "trial_interval": "month", "trial_interval_count": 936353, "name": "", "description": "wildly edge except so calculus square", "recurring_interval": "year", "recurring_interval_count": 662364, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 645390, "legacy": true}, {"created_at": "2023-08-19T15:22:33.462Z", "modified_at": "2023-03-15T09:19:49.081Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-04-19T22:15:44.328Z", "modified_at": "2024-07-26T10:32:13.861Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": 762494, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, "product_price": {"created_at": "2023-04-08T17:49:25.686Z", "modified_at": "2023-10-28T07:54:05.646Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "discount": null, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": 163571, "key1": 954376}}], "pagination": {"total_count": 608889, "max_page": 572838}} + application/json: {"items": [{"id": "", "created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://punctual-guacamole.org", "expires_at": "2023-08-19T15:22:33.462Z", "success_url": "https://biodegradable-coal.com", "return_url": "https://definite-finer.org/", "embed_origin": "", "amount": 780504, "discount_amount": 766358, "net_amount": 630886, "tax_amount": 936353, "total_amount": 994328, "currency": "Algerian Dinar", "allow_trial": true, "active_trial_interval": "week", "active_trial_interval_count": 332812, "trial_end": "2024-12-26T22:49:45.749Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": false, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "disabled", "line2": "optional"}, "trial_interval": "month", "trial_interval_count": 902613, "metadata": {"key": 507672, "key1": 563944}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "dally bungalow congregate howl", "recurring_interval": "month", "recurring_interval_count": 345801, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, {"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 780504, "name": "", "description": "dally bungalow congregate howl", "recurring_interval": "month", "recurring_interval_count": 332812, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}], "product": {"id": "", "created_at": "2025-10-08T08:06:47.691Z", "modified_at": "2023-01-13T21:51:28.028Z", "trial_interval": "month", "trial_interval_count": 936353, "name": "", "description": "wildly edge except so calculus square", "recurring_interval": "year", "recurring_interval_count": 662364, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 645390, "legacy": true}, {"created_at": "2023-08-19T15:22:33.462Z", "modified_at": "2023-03-15T09:19:49.081Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-04-19T22:15:44.328Z", "modified_at": "2024-07-26T10:32:13.861Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "unit_amount": "", "cap_amount": 762494, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, "product_price": {"created_at": "2023-04-08T17:49:25.686Z", "modified_at": "2023-10-28T07:54:05.646Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "prices": {"key": [], "key1": [{"created_at": "2023-03-15T09:19:49.081Z", "modified_at": "2023-05-30T22:42:00.703Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}]}, "discount": null, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": 163571, "key1": 954376}}], "pagination": {"total_count": 608889, "max_page": 572838}} "422": application/json: {} checkouts:create: speakeasy-default-checkouts:create: requestBody: - application/json: {"allow_discount_codes": true, "require_billing_address": false, "is_business_customer": false, "customer_name": "John Doe", "customer_billing_address": {"country": "US"}, "products": ["", "", ""]} + application/json: {"allow_discount_codes": true, "require_billing_address": false, "allow_trial": true, "is_business_customer": false, "customer_name": "John Doe", "customer_billing_address": {"country": "US"}, "products": ["", "", ""]} responses: "201": - application/json: {"id": "", "created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "payment_processor": "stripe", "status": "failed", "client_secret": "", "url": "https://willing-outset.info/", "expires_at": "2025-05-04T00:57:38.223Z", "success_url": "https://wonderful-adrenalin.info", "return_url": "https://great-fen.com", "embed_origin": "", "amount": 267381, "discount_amount": 51493, "net_amount": 549002, "tax_amount": 457933, "total_amount": 901758, "currency": "Singapore Dollar", "active_trial_interval": "year", "active_trial_interval_count": 324391, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "optional", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 632047, "metadata": {"key": true, "key1": 633599}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2024-02-11T14:47:29.817Z", "modified_at": "2023-12-03T20:20:32.728Z", "trial_interval": "year", "trial_interval_count": 978623, "name": "", "description": "mousse psst pulp because connect deer coordination drum behind yieldingly", "recurring_interval": "month", "recurring_interval_count": 974785, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 779234, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/tmp", "mime_type": "", "size": 957931, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-05-06T15:29:56.878Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2024-04-02T19:44:45.852Z", "size_readable": "", "public_url": "https://nervous-jet.com/"}]}], "product": {"id": "", "created_at": "2025-06-14T10:40:20.746Z", "modified_at": "2025-01-27T16:41:51.128Z", "trial_interval": null, "trial_interval_count": 452269, "name": "", "description": "over competent powerfully", "recurring_interval": "year", "recurring_interval_count": 324391, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-01-14T08:53:43.010Z", "modified_at": "2024-05-10T16:28:30.439Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 901758, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": []}, "product_price": {"created_at": "2025-09-22T20:28:56.011Z", "modified_at": "2024-03-21T04:09:10.889Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 821398, "legacy": true}, "discount": {"duration": "forever", "duration_in_months": 602692, "type": "percentage", "amount": 989340, "currency": "Norwegian Krone", "id": "", "name": "", "code": null}, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": true, "key1": 753950, "key2": ""}} + application/json: {"id": "", "created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "payment_processor": "stripe", "status": "failed", "client_secret": "", "url": "https://willing-outset.info/", "expires_at": "2025-05-04T00:57:38.223Z", "success_url": "https://wonderful-adrenalin.info", "return_url": "https://great-fen.com", "embed_origin": "", "amount": 267381, "discount_amount": 51493, "net_amount": 549002, "tax_amount": 457933, "total_amount": 901758, "currency": "Singapore Dollar", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 324391, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "optional", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 632047, "metadata": {"key": true, "key1": 633599}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2024-02-11T14:47:29.817Z", "modified_at": "2023-12-03T20:20:32.728Z", "trial_interval": "year", "trial_interval_count": 978623, "name": "", "description": "mousse psst pulp because connect deer coordination drum behind yieldingly", "recurring_interval": "month", "recurring_interval_count": 974785, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 779234, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/tmp", "mime_type": "", "size": 957931, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-05-06T15:29:56.878Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2024-04-02T19:44:45.852Z", "size_readable": "", "public_url": "https://nervous-jet.com/"}]}], "product": {"id": "", "created_at": "2025-06-14T10:40:20.746Z", "modified_at": "2025-01-27T16:41:51.128Z", "trial_interval": null, "trial_interval_count": 452269, "name": "", "description": "over competent powerfully", "recurring_interval": "year", "recurring_interval_count": 324391, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-01-14T08:53:43.010Z", "modified_at": "2024-05-10T16:28:30.439Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 901758, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": []}, "product_price": {"created_at": "2025-09-22T20:28:56.011Z", "modified_at": "2024-03-21T04:09:10.889Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 821398, "legacy": true}, "prices": {"key": [{"created_at": "2025-05-04T00:57:38.223Z", "modified_at": "2025-12-08T13:41:13.215Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "legacy": true}]}, "discount": {"duration": "forever", "duration_in_months": 602692, "type": "percentage", "amount": 989340, "currency": "Norwegian Krone", "id": "", "name": "", "code": null}, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": true, "key1": 753950, "key2": ""}} "422": application/json: {} checkouts:get: @@ -2492,7 +2530,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2024-08-11T03:11:01.239Z", "modified_at": "2025-11-29T01:58:06.554Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://dirty-maestro.info", "expires_at": "2023-10-11T06:44:37.699Z", "success_url": "https://low-hope.name", "return_url": "https://willing-ribbon.net/", "embed_origin": "", "amount": 604568, "discount_amount": 435126, "net_amount": 202456, "tax_amount": 729244, "total_amount": 885841, "currency": "Tugrik", "active_trial_interval": "day", "active_trial_interval_count": 759954, "trial_end": "2023-08-04T19:41:02.160Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "optional", "state": "required", "city": "disabled", "postal_code": "disabled", "line1": "disabled", "line2": "required"}, "trial_interval": "week", "trial_interval_count": 626845, "metadata": {"key": "", "key1": 1174.35}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "week", "trial_interval_count": 565134, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 172766, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, {"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "week", "trial_interval_count": 178822, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 759954, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, {"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "year", "trial_interval_count": 221002, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 196916, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}], "product": {"id": "", "created_at": "2024-04-29T21:31:34.931Z", "modified_at": null, "trial_interval": "week", "trial_interval_count": 16708, "name": "", "description": "silk plus an cavernous vamoose", "recurring_interval": "month", "recurring_interval_count": 387522, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-29T01:58:06.554Z", "modified_at": "2025-02-24T18:28:07.898Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 486695, "maximum_amount": 601699, "preset_amount": 604568, "legacy": true}, {"created_at": "2023-07-15T23:44:52.247Z", "modified_at": "2025-08-28T21:08:23.306Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 472045, "maximum_amount": 16708, "preset_amount": 342156, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, "product_price": {"created_at": "2024-10-12T23:10:10.275Z", "modified_at": "2023-10-18T15:18:04.262Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, "discount": {"duration": "repeating", "duration_in_months": 245057, "type": "percentage", "amount": 879202, "currency": "Sudanese Pound", "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-07T23:03:34.581Z", "modified_at": "2025-12-24T16:06:04.760Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 200397, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-07T23:03:34.581Z", "modified_at": "2025-12-24T16:06:04.760Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 200397, "required": true}], "customer_metadata": {"key": 154385}} + application/json: {"id": "", "created_at": "2024-08-11T03:11:01.239Z", "modified_at": "2025-11-29T01:58:06.554Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://dirty-maestro.info", "expires_at": "2023-10-11T06:44:37.699Z", "success_url": "https://low-hope.name", "return_url": "https://willing-ribbon.net/", "embed_origin": "", "amount": 604568, "discount_amount": 435126, "net_amount": 202456, "tax_amount": 729244, "total_amount": 885841, "currency": "Tugrik", "allow_trial": true, "active_trial_interval": "day", "active_trial_interval_count": 759954, "trial_end": "2023-08-04T19:41:02.160Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "optional", "state": "required", "city": "disabled", "postal_code": "disabled", "line1": "disabled", "line2": "required"}, "trial_interval": "week", "trial_interval_count": 626845, "metadata": {"key": "", "key1": 1174.35}, "external_customer_id": "", "customer_external_id": "", "products": [{"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "week", "trial_interval_count": 565134, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 172766, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, {"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "week", "trial_interval_count": 178822, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 759954, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, {"id": "", "created_at": "2023-08-31T20:57:39.863Z", "modified_at": "2023-04-27T14:53:08.193Z", "trial_interval": "year", "trial_interval_count": 221002, "name": "", "description": "inveigle fooey frankly", "recurring_interval": "year", "recurring_interval_count": 196916, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}], "product": {"id": "", "created_at": "2024-04-29T21:31:34.931Z", "modified_at": null, "trial_interval": "week", "trial_interval_count": 16708, "name": "", "description": "silk plus an cavernous vamoose", "recurring_interval": "month", "recurring_interval_count": 387522, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-29T01:58:06.554Z", "modified_at": "2025-02-24T18:28:07.898Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 486695, "maximum_amount": 601699, "preset_amount": 604568, "legacy": true}, {"created_at": "2023-07-15T23:44:52.247Z", "modified_at": "2025-08-28T21:08:23.306Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 472045, "maximum_amount": 16708, "preset_amount": 342156, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-11-01T21:53:06.694Z", "modified_at": "2023-01-04T18:26:29.729Z", "type": "meter_credit", "description": "gosh ashamed viciously swat", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 8837, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-11-12T05:04:28.264Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-01-31T09:04:35.400Z", "size_readable": "", "public_url": "https://woeful-alb.com"}]}, "product_price": {"created_at": "2024-10-12T23:10:10.275Z", "modified_at": "2023-10-18T15:18:04.262Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, "prices": {"key": [], "key1": []}, "discount": {"duration": "repeating", "duration_in_months": 245057, "type": "percentage", "amount": 879202, "currency": "Sudanese Pound", "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-07T23:03:34.581Z", "modified_at": "2025-12-24T16:06:04.760Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 200397, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-07T23:03:34.581Z", "modified_at": "2025-12-24T16:06:04.760Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 200397, "required": true}], "customer_metadata": {"key": 154385}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2506,7 +2544,7 @@ examples: application/json: {"customer_name": "John Doe", "customer_billing_address": {"country": "US"}} responses: "200": - application/json: {"id": "", "created_at": "2025-08-11T13:37:19.351Z", "modified_at": "2025-01-17T16:36:47.350Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://quiet-longboat.name/", "expires_at": "2024-06-26T17:48:32.882Z", "success_url": "https://flawless-conversation.com/", "return_url": "https://winding-pliers.biz", "embed_origin": "", "amount": 854455, "discount_amount": 294901, "net_amount": 889166, "tax_amount": 922052, "total_amount": 719988, "currency": "Rufiyaa", "active_trial_interval": "year", "active_trial_interval_count": 682201, "trial_end": "2023-04-12T18:01:42.534Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": null, "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "disabled", "postal_code": "disabled", "line1": "required", "line2": "required"}, "trial_interval": "month", "trial_interval_count": 495203, "metadata": {"key": 175107, "key1": "", "key2": 598875}, "external_customer_id": "", "customer_external_id": null, "products": [{"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": null, "trial_interval_count": 186577, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "recurring_interval": null, "recurring_interval_count": 870044, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-30T19:59:27.996Z", "modified_at": "2023-09-30T23:37:22.091Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-06-26T17:48:32.882Z", "modified_at": null, "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, {"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": "day", "trial_interval_count": 294901, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "recurring_interval": null, "recurring_interval_count": 682201, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-09-01T12:37:02.777Z", "modified_at": "2025-10-07T13:38:06.522Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 615287, "legacy": true}, {"created_at": "2024-02-21T06:51:40.935Z", "modified_at": null, "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 391538, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}], "product": {"id": "", "created_at": "2023-09-02T08:09:15.374Z", "modified_at": "2023-01-08T13:18:17.680Z", "trial_interval": "year", "trial_interval_count": 719988, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 92838, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, "product_price": {"created_at": "2023-01-14T05:49:25.708Z", "modified_at": "2025-02-16T09:13:19.316Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": null, "maximum_amount": 161721, "preset_amount": 796115, "legacy": true}, "discount": null, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}], "customer_metadata": {}} + application/json: {"id": "", "created_at": "2025-08-11T13:37:19.351Z", "modified_at": "2025-01-17T16:36:47.350Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://quiet-longboat.name/", "expires_at": "2024-06-26T17:48:32.882Z", "success_url": "https://flawless-conversation.com/", "return_url": "https://winding-pliers.biz", "embed_origin": "", "amount": 854455, "discount_amount": 294901, "net_amount": 889166, "tax_amount": 922052, "total_amount": 719988, "currency": "Rufiyaa", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 682201, "trial_end": "2023-04-12T18:01:42.534Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": null, "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "disabled", "postal_code": "disabled", "line1": "required", "line2": "required"}, "trial_interval": "month", "trial_interval_count": 495203, "metadata": {"key": 175107, "key1": "", "key2": 598875}, "external_customer_id": "", "customer_external_id": null, "products": [{"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": null, "trial_interval_count": 186577, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "recurring_interval": null, "recurring_interval_count": 870044, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-30T19:59:27.996Z", "modified_at": "2023-09-30T23:37:22.091Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-06-26T17:48:32.882Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, {"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": "day", "trial_interval_count": 294901, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "recurring_interval": null, "recurring_interval_count": 682201, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-09-01T12:37:02.777Z", "modified_at": "2025-10-07T13:38:06.522Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 615287, "legacy": true}, {"created_at": "2024-02-21T06:51:40.935Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 391538, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}], "product": {"id": "", "created_at": "2023-09-02T08:09:15.374Z", "modified_at": "2023-01-08T13:18:17.680Z", "trial_interval": "year", "trial_interval_count": 719988, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 92838, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, "product_price": {"created_at": "2023-01-14T05:49:25.708Z", "modified_at": "2025-02-16T09:13:19.316Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": null, "maximum_amount": 161721, "preset_amount": 796115, "legacy": true}, "prices": {"key": [], "key1": []}, "discount": null, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}], "customer_metadata": {}} "403": application/json: {"error": "AlreadyActiveSubscriptionError", "detail": ""} "404": @@ -2520,7 +2558,7 @@ examples: client_secret: "" responses: "200": - application/json: {"id": "", "created_at": "2025-06-24T05:51:11.116Z", "modified_at": "2025-07-21T02:35:25.261Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://simplistic-nudge.net", "expires_at": "2024-08-27T15:59:15.813Z", "success_url": "https://damp-ostrich.net", "return_url": "https://thorny-mathematics.net", "embed_origin": "", "amount": 129651, "discount_amount": 979690, "net_amount": 68566, "tax_amount": 755934, "total_amount": 778145, "currency": "CFA Franc BCEAO", "active_trial_interval": "year", "active_trial_interval_count": 558443, "trial_end": "2025-03-31T17:00:49.512Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "disabled", "postal_code": "optional", "line1": "disabled", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 867631, "name": "", "description": "gut yahoo mechanic advancement pace", "recurring_interval": "month", "recurring_interval_count": 844979, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, {"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 173963, "name": "", "description": "gut yahoo mechanic advancement pace", "recurring_interval": "month", "recurring_interval_count": 558443, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}], "product": {"id": "", "created_at": "2025-06-13T01:03:58.697Z", "modified_at": "2023-05-03T05:36:23.041Z", "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "blah toward against unhappy hot however", "recurring_interval": "year", "recurring_interval_count": 748822, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-21T02:35:25.261Z", "modified_at": "2025-05-19T02:18:24.778Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 162606, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2023-07-10T15:56:39.492Z", "modified_at": "2025-12-09T17:45:18.853Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-03-12T04:59:11.184Z", "modified_at": "2025-06-11T08:05:03.606Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 433632, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, "product_price": {"created_at": "2025-07-18T07:26:11.815Z", "modified_at": "2025-01-30T09:33:04.611Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 248263, "maximum_amount": null, "preset_amount": 56307, "legacy": true}, "discount": {"duration": "once", "type": "percentage", "basis_points": 207850, "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-11-25T05:44:46.275Z", "modified_at": "2023-04-04T00:17:57.339Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://colorful-packaging.biz", "email": null, "website": "", "socials": [{"platform": "linkedin", "url": "https://enchanted-tomatillo.name"}, {"platform": "linkedin", "url": "https://enchanted-tomatillo.name"}, {"platform": "linkedin", "url": "https://enchanted-tomatillo.name"}], "status": "active", "details_submitted_at": "2025-06-30T05:17:18.282Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 825953}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": false, "subscription_updated": false}}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}]} + application/json: {"id": "", "created_at": "2025-06-24T05:51:11.116Z", "modified_at": "2025-07-21T02:35:25.261Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://simplistic-nudge.net", "expires_at": "2024-08-27T15:59:15.813Z", "success_url": "https://damp-ostrich.net", "return_url": "https://thorny-mathematics.net", "embed_origin": "", "amount": 129651, "discount_amount": 979690, "net_amount": 68566, "tax_amount": 755934, "total_amount": 778145, "currency": "CFA Franc BCEAO", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 558443, "trial_end": "2025-03-31T17:00:49.512Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "disabled", "postal_code": "optional", "line1": "disabled", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 867631, "name": "", "description": "gut yahoo mechanic advancement pace", "recurring_interval": "month", "recurring_interval_count": 844979, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, {"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 173963, "name": "", "description": "gut yahoo mechanic advancement pace", "recurring_interval": "month", "recurring_interval_count": 558443, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}], "product": {"id": "", "created_at": "2025-06-13T01:03:58.697Z", "modified_at": "2023-05-03T05:36:23.041Z", "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "blah toward against unhappy hot however", "recurring_interval": "year", "recurring_interval_count": 748822, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-21T02:35:25.261Z", "modified_at": "2025-05-19T02:18:24.778Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 162606, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2023-07-10T15:56:39.492Z", "modified_at": "2025-12-09T17:45:18.853Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-03-12T04:59:11.184Z", "modified_at": "2025-06-11T08:05:03.606Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 433632, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, "product_price": {"created_at": "2025-07-18T07:26:11.815Z", "modified_at": "2025-01-30T09:33:04.611Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 248263, "maximum_amount": null, "preset_amount": 56307, "legacy": true}, "prices": {"key": [{"created_at": "2024-11-20T03:28:45.411Z", "modified_at": "2023-07-10T15:56:39.492Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 950981, "maximum_amount": 731029, "preset_amount": 814176, "legacy": true}], "key1": []}, "discount": {"duration": "once", "type": "percentage", "basis_points": 207850, "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-11-25T05:44:46.275Z", "modified_at": "2023-04-04T00:17:57.339Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://colorful-packaging.biz", "proration_behavior": "prorate", "allow_customer_updates": false}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}]} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "410": @@ -2533,10 +2571,10 @@ examples: path: client_secret: "" requestBody: - application/json: {"customer_name": "John Doe", "customer_billing_address": null} + application/json: {"customer_name": "John Doe", "customer_billing_address": null, "allow_trial": false} responses: "200": - application/json: {"id": "", "created_at": "2024-07-23T03:29:25.334Z", "modified_at": "2023-09-18T08:32:05.837Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://oddball-final.com", "expires_at": "2024-03-02T01:02:20.912Z", "success_url": "https://illiterate-ownership.com/", "return_url": null, "embed_origin": "", "amount": 566134, "discount_amount": 108102, "net_amount": 304494, "tax_amount": 824826, "total_amount": 528924, "currency": "Comoro Franc", "active_trial_interval": null, "active_trial_interval_count": 192380, "trial_end": "2023-10-31T15:08:35.342Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-08-18T21:55:12.162Z", "modified_at": "2024-12-17T22:23:13.690Z", "trial_interval": "month", "trial_interval_count": 138062, "name": "", "description": "instead divert indeed oh phrase fisherman bowling but upon airmail", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-07-30T20:21:38.608Z", "modified_at": "2023-10-31T15:08:35.342Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 330194, "legacy": true}, {"created_at": "2023-08-03T11:06:01.091Z", "modified_at": "2024-11-28T20:27:45.245Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 566134, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 291762, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-23T19:57:40.076Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-20T03:17:22.448Z", "size_readable": "", "public_url": "https://valuable-declaration.info"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 291762, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-23T19:57:40.076Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-20T03:17:22.448Z", "size_readable": "", "public_url": "https://valuable-declaration.info"}]}], "product": {"id": "", "created_at": "2024-01-05T10:50:28.777Z", "modified_at": "2024-04-21T11:49:06.390Z", "trial_interval": "day", "trial_interval_count": 636727, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 192380, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-16T12:17:31.920Z", "modified_at": "2024-08-02T16:48:24.620Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 67913, "maximum_amount": 437805, "preset_amount": 546487, "legacy": true}, {"created_at": "2024-02-08T00:22:42.494Z", "modified_at": "2025-10-13T00:42:35.938Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 317412, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2025-09-16T02:10:33.833Z", "modified_at": "2024-11-12T15:58:56.119Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 400701, "legacy": true}, "discount": {"duration": "repeating", "type": "percentage", "basis_points": 639439, "id": "", "name": "", "code": null}, "organization": {"created_at": "2023-09-07T11:25:07.070Z", "modified_at": "2023-05-12T10:01:16.059Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://mixed-netsuke.com/", "email": "Noble29@gmail.com", "website": "", "socials": [{"platform": "github", "url": "https://blue-baritone.biz/"}], "status": "created", "details_submitted_at": null, "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 13010}, "notification_settings": {"new_order": false, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": true, "subscription_cycled": true, "subscription_past_due": true, "subscription_revoked": false, "subscription_uncanceled": false, "subscription_updated": true}}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}]} + application/json: {"id": "", "created_at": "2024-07-23T03:29:25.334Z", "modified_at": "2023-09-18T08:32:05.837Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://oddball-final.com", "expires_at": "2024-03-02T01:02:20.912Z", "success_url": "https://illiterate-ownership.com/", "return_url": null, "embed_origin": "", "amount": 566134, "discount_amount": 108102, "net_amount": 304494, "tax_amount": 824826, "total_amount": 528924, "currency": "Comoro Franc", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 192380, "trial_end": "2023-10-31T15:08:35.342Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-08-18T21:55:12.162Z", "modified_at": "2024-12-17T22:23:13.690Z", "trial_interval": "month", "trial_interval_count": 138062, "name": "", "description": "instead divert indeed oh phrase fisherman bowling but upon airmail", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-07-30T20:21:38.608Z", "modified_at": "2023-10-31T15:08:35.342Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 330194, "legacy": true}, {"created_at": "2023-08-03T11:06:01.091Z", "modified_at": "2024-11-28T20:27:45.245Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 566134, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 291762, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-23T19:57:40.076Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-20T03:17:22.448Z", "size_readable": "", "public_url": "https://valuable-declaration.info"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 291762, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-23T19:57:40.076Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-20T03:17:22.448Z", "size_readable": "", "public_url": "https://valuable-declaration.info"}]}], "product": {"id": "", "created_at": "2024-01-05T10:50:28.777Z", "modified_at": "2024-04-21T11:49:06.390Z", "trial_interval": "day", "trial_interval_count": 636727, "name": "", "description": null, "recurring_interval": "year", "recurring_interval_count": 192380, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-16T12:17:31.920Z", "modified_at": "2024-08-02T16:48:24.620Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 67913, "maximum_amount": 437805, "preset_amount": 546487, "legacy": true}, {"created_at": "2024-02-08T00:22:42.494Z", "modified_at": "2025-10-13T00:42:35.938Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 317412, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-04-25T20:23:37.760Z", "modified_at": "2023-11-02T06:39:34.543Z", "type": "custom", "description": "rebuke sun intensely", "selectable": false, "deletable": false, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2025-09-16T02:10:33.833Z", "modified_at": "2024-11-12T15:58:56.119Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 400701, "legacy": true}, "prices": {"key": []}, "discount": {"duration": "repeating", "type": "percentage", "basis_points": 639439, "id": "", "name": "", "code": null}, "organization": {"created_at": "2023-09-07T11:25:07.070Z", "modified_at": "2023-05-12T10:01:16.059Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://mixed-netsuke.com/", "proration_behavior": "invoice", "allow_customer_updates": true}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2023-03-31T08:25:33.432Z", "modified_at": "2025-12-17T08:24:12.865Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 439492, "required": false}]} "403": application/json: {"error": "AlreadyActiveSubscriptionError", "detail": ""} "404": @@ -2551,10 +2589,10 @@ examples: path: client_secret: "" requestBody: - application/json: {"customer_name": "John Doe", "customer_billing_address": {"country": "US"}} + application/json: {"customer_name": "John Doe", "customer_billing_address": {"country": "US"}, "allow_trial": false} responses: "200": - application/json: {"id": "", "created_at": "2023-03-02T01:35:00.551Z", "modified_at": "2024-02-06T20:08:33.394Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://earnest-mountain.biz/", "expires_at": "2023-05-03T06:41:51.564Z", "success_url": "https://amazing-airmail.biz", "return_url": "https://tinted-fun.com/", "embed_origin": "", "amount": 340812, "discount_amount": 983591, "net_amount": 119432, "tax_amount": 315526, "total_amount": 280139, "currency": "Lek", "active_trial_interval": "day", "active_trial_interval_count": 366642, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "required", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "required"}, "products": [], "product": {"id": "", "created_at": "2023-12-22T07:23:53.362Z", "modified_at": null, "trial_interval": "month", "trial_interval_count": 111568, "name": "", "description": null, "recurring_interval": "month", "recurring_interval_count": 54804, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-07-29T04:50:02.330Z", "modified_at": "2023-01-09T13:54:39.340Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 111568, "maximum_amount": 27642, "preset_amount": null, "legacy": true}, {"created_at": "2024-01-09T12:43:40.308Z", "modified_at": "2023-05-11T21:32:37.055Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 280139, "legacy": true}, {"created_at": "2024-03-30T19:58:01.924Z", "modified_at": "2023-04-26T10:07:32.939Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 304892, "maximum_amount": 308257, "preset_amount": 774216, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-02-20T06:26:56.148Z", "modified_at": "2024-03-08T22:44:58.041Z", "type": "downloadables", "description": "jovially condense sleepy as porter interior forage which", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}]}, "product_price": {"created_at": "2023-12-07T12:50:51.025Z", "modified_at": "2025-06-09T19:20:24.149Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "discount": {"duration": "repeating", "type": "fixed", "amount": 794922, "currency": "Lilangeni", "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-03-10T13:26:15.309Z", "modified_at": "2025-01-22T15:08:25.650Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "email": "Jimmie_Bayer@yahoo.com", "website": null, "socials": [{"platform": "linkedin", "url": "https://slight-amnesty.name"}], "status": "onboarding_started", "details_submitted_at": "2024-07-09T06:52:44.672Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 300490}, "notification_settings": {"new_order": false, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}], "customer_session_token": ""} + application/json: {"id": "", "created_at": "2023-03-02T01:35:00.551Z", "modified_at": "2024-02-06T20:08:33.394Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://earnest-mountain.biz/", "expires_at": "2023-05-03T06:41:51.564Z", "success_url": "https://amazing-airmail.biz", "return_url": "https://tinted-fun.com/", "embed_origin": "", "amount": 340812, "discount_amount": 983591, "net_amount": 119432, "tax_amount": 315526, "total_amount": 280139, "currency": "Lek", "allow_trial": true, "active_trial_interval": "day", "active_trial_interval_count": 366642, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "required", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "required"}, "products": [], "product": {"id": "", "created_at": "2023-12-22T07:23:53.362Z", "modified_at": null, "trial_interval": "month", "trial_interval_count": 111568, "name": "", "description": null, "recurring_interval": "month", "recurring_interval_count": 54804, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-07-29T04:50:02.330Z", "modified_at": "2023-01-09T13:54:39.340Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 111568, "maximum_amount": 27642, "preset_amount": null, "legacy": true}, {"created_at": "2024-01-09T12:43:40.308Z", "modified_at": "2023-05-11T21:32:37.055Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 280139, "legacy": true}, {"created_at": "2024-03-30T19:58:01.924Z", "modified_at": "2023-04-26T10:07:32.939Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 304892, "maximum_amount": 308257, "preset_amount": 774216, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-02-20T06:26:56.148Z", "modified_at": "2024-03-08T22:44:58.041Z", "type": "downloadables", "description": "jovially condense sleepy as porter interior forage which", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}, {"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 923962, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-15T18:38:57.765Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-04-15T23:25:20.301Z", "size_readable": "", "public_url": "https://measly-transparency.biz"}]}, "product_price": {"created_at": "2023-12-07T12:50:51.025Z", "modified_at": "2025-06-09T19:20:24.149Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, "prices": {"key": []}, "discount": {"duration": "repeating", "type": "fixed", "amount": 794922, "currency": "Lilangeni", "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-03-10T13:26:15.309Z", "modified_at": "2025-01-22T15:08:25.650Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "proration_behavior": "prorate", "allow_customer_updates": true}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-06-01T04:51:14.846Z", "modified_at": "2023-04-07T11:22:11.779Z", "id": "", "metadata": {"key": ""}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 256145, "required": false}], "customer_session_token": ""} "400": application/json: {"error": "PaymentError", "detail": ""} "403": @@ -2641,14 +2679,14 @@ examples: timezone: "UTC" responses: "200": - application/json: {"periods": [{"timestamp": "2024-11-05T16:37:46.152Z", "orders": 2313.41, "revenue": 3697.18, "net_revenue": 7366.16, "cumulative_revenue": 160547, "net_cumulative_revenue": 620.86, "costs": 7366.16, "cumulative_costs": 620.86, "average_order_value": 8348.91, "net_average_order_value": 615596, "average_revenue_per_user": 7366.16, "cost_per_user": 620.86, "active_user_by_event": 615596, "one_time_products": 6315.62, "one_time_products_revenue": 271957, "one_time_products_net_revenue": 2313.41, "new_subscriptions": 225346, "new_subscriptions_revenue": 5903.37, "new_subscriptions_net_revenue": 3697.18, "renewed_subscriptions": 146.2, "renewed_subscriptions_revenue": 3772.41, "renewed_subscriptions_net_revenue": 160547, "active_subscriptions": 1692.89, "monthly_recurring_revenue": 5809.97, "committed_monthly_recurring_revenue": 7366.16, "checkouts": 6229.46, "succeeded_checkouts": 464.75, "checkouts_conversion": 536209, "canceled_subscriptions": 7366.16, "canceled_subscriptions_customer_service": 620.86, "canceled_subscriptions_low_quality": 615596, "canceled_subscriptions_missing_features": 2313.41, "canceled_subscriptions_switched_service": 3697.18, "canceled_subscriptions_too_complex": 160547, "canceled_subscriptions_too_expensive": 8348.91, "canceled_subscriptions_unused": 6315.62, "canceled_subscriptions_other": 271957, "churn_rate": 2313.41, "gross_margin": 3697.18, "gross_margin_percentage": 160547, "cashflow": 8348.91}], "totals": {"orders": 300394, "revenue": 980988, "net_revenue": 8348.91, "cumulative_revenue": 5367.66, "net_cumulative_revenue": 6315.62, "costs": 615596, "cumulative_costs": 2313.41, "average_order_value": 7320.73, "net_average_order_value": 271957, "average_revenue_per_user": 6315.62, "cost_per_user": 271957, "active_user_by_event": 225346, "one_time_products": 772559, "one_time_products_revenue": 875093, "one_time_products_net_revenue": 225346, "new_subscriptions": 903196, "new_subscriptions_revenue": 18.97, "new_subscriptions_net_revenue": 5903.37, "renewed_subscriptions": 723.93, "renewed_subscriptions_revenue": 846052, "renewed_subscriptions_net_revenue": 146.2, "active_subscriptions": 5698.58, "monthly_recurring_revenue": 180851, "committed_monthly_recurring_revenue": 620.86, "checkouts": 5307.17, "succeeded_checkouts": 9995.79, "checkouts_conversion": 5883.46, "canceled_subscriptions": 225346, "canceled_subscriptions_customer_service": 5903.37, "canceled_subscriptions_low_quality": 146.2, "canceled_subscriptions_missing_features": 3772.41, "canceled_subscriptions_switched_service": 1692.89, "canceled_subscriptions_too_complex": 5809.97, "canceled_subscriptions_too_expensive": 6229.46, "canceled_subscriptions_unused": 464.75, "canceled_subscriptions_other": 536209, "churn_rate": 5903.37, "gross_margin": 146.2, "gross_margin_percentage": 3772.41, "cashflow": 1692.89}, "metrics": {"orders": {"slug": "", "display_name": "Mortimer35", "type": "percentage"}, "revenue": {"slug": "", "display_name": "Cruz.Yundt29", "type": "scalar"}, "net_revenue": {"slug": "", "display_name": "Noemie.Pagac", "type": "currency"}, "cumulative_revenue": {"slug": "", "display_name": "Keshaun_Mraz87", "type": "scalar"}, "net_cumulative_revenue": {"slug": "", "display_name": "Lina.Bayer53", "type": "scalar"}, "costs": {"slug": "", "display_name": "Piper65", "type": "currency"}, "cumulative_costs": {"slug": "", "display_name": "Lonnie22", "type": "currency"}, "average_order_value": {"slug": "", "display_name": "Therese_Marks93", "type": "percentage"}, "net_average_order_value": {"slug": "", "display_name": "Christine_Mertz-Leuschke73", "type": "percentage"}, "average_revenue_per_user": {"slug": "", "display_name": "Wilton_Langosh92", "type": "scalar"}, "cost_per_user": {"slug": "", "display_name": "Kailyn.Gutkowski", "type": "currency_sub_cent"}, "active_user_by_event": {"slug": "", "display_name": "Richmond22", "type": "currency"}, "one_time_products": {"slug": "", "display_name": "Roslyn.White86", "type": "scalar"}, "one_time_products_revenue": {"slug": "", "display_name": "Henderson.Herman17", "type": "percentage"}, "one_time_products_net_revenue": {"slug": "", "display_name": "Daniella_Herzog72", "type": "percentage"}, "new_subscriptions": {"slug": "", "display_name": "Jamaal_Mueller91", "type": "percentage"}, "new_subscriptions_revenue": {"slug": "", "display_name": "Kaylee25", "type": "currency"}, "new_subscriptions_net_revenue": {"slug": "", "display_name": "Antonina_Stamm", "type": "scalar"}, "renewed_subscriptions": {"slug": "", "display_name": "Leland_Yundt", "type": "scalar"}, "renewed_subscriptions_revenue": {"slug": "", "display_name": "Dalton_Waters92", "type": "scalar"}, "renewed_subscriptions_net_revenue": {"slug": "", "display_name": "Vincenza_Yundt", "type": "percentage"}, "active_subscriptions": {"slug": "", "display_name": "Alfonzo_Daugherty", "type": "percentage"}, "monthly_recurring_revenue": {"slug": "", "display_name": "Diana97", "type": "currency"}, "committed_monthly_recurring_revenue": {"slug": "", "display_name": "Garrett.Stokes", "type": "scalar"}, "checkouts": {"slug": "", "display_name": "Magdalen_Goodwin-Schoen", "type": "scalar"}, "succeeded_checkouts": {"slug": "", "display_name": "Ida37", "type": "scalar"}, "checkouts_conversion": {"slug": "", "display_name": "Savion.Gerlach", "type": "percentage"}, "canceled_subscriptions": {"slug": "", "display_name": "Corine_Denesik", "type": "percentage"}, "canceled_subscriptions_customer_service": {"slug": "", "display_name": "Moses.Rutherford", "type": "percentage"}, "canceled_subscriptions_low_quality": {"slug": "", "display_name": "Modesta6", "type": "percentage"}, "canceled_subscriptions_missing_features": {"slug": "", "display_name": "Kevon53", "type": "percentage"}, "canceled_subscriptions_switched_service": {"slug": "", "display_name": "Wilmer_Renner55", "type": "currency"}, "canceled_subscriptions_too_complex": {"slug": "", "display_name": "Maximo.Emard98", "type": "scalar"}, "canceled_subscriptions_too_expensive": {"slug": "", "display_name": "Eleazar_Mante", "type": "percentage"}, "canceled_subscriptions_unused": {"slug": "", "display_name": "Alford.Walker", "type": "percentage"}, "canceled_subscriptions_other": {"slug": "", "display_name": "Arnold.Stanton94", "type": "percentage"}, "churn_rate": {"slug": "", "display_name": "Stewart_Abbott7", "type": "percentage"}, "gross_margin": {"slug": "", "display_name": "Rosalia.Hilll", "type": "percentage"}, "gross_margin_percentage": {"slug": "", "display_name": "Zora_McKenzie-Renner55", "type": "currency"}, "cashflow": {"slug": "", "display_name": "Maximo.Emard98", "type": "currency"}}} + application/json: {"periods": [{"timestamp": "2024-11-05T16:37:46.152Z", "orders": 2313.41, "revenue": 3697.18, "net_revenue": 7366.16, "cumulative_revenue": 160547, "net_cumulative_revenue": 620.86, "costs": 7366.16, "cumulative_costs": 620.86, "average_order_value": 8348.91, "net_average_order_value": 615596, "average_revenue_per_user": 7366.16, "cost_per_user": 620.86, "active_user_by_event": 615596, "one_time_products": 6315.62, "one_time_products_revenue": 271957, "one_time_products_net_revenue": 2313.41, "new_subscriptions": 225346, "new_subscriptions_revenue": 5903.37, "new_subscriptions_net_revenue": 3697.18, "renewed_subscriptions": 146.2, "renewed_subscriptions_revenue": 3772.41, "renewed_subscriptions_net_revenue": 160547, "active_subscriptions": 1692.89, "monthly_recurring_revenue": 5809.97, "committed_monthly_recurring_revenue": 7366.16, "checkouts": 6229.46, "succeeded_checkouts": 464.75, "checkouts_conversion": 536209, "canceled_subscriptions": 7366.16, "canceled_subscriptions_customer_service": 620.86, "canceled_subscriptions_low_quality": 615596, "canceled_subscriptions_missing_features": 2313.41, "canceled_subscriptions_switched_service": 3697.18, "canceled_subscriptions_too_complex": 160547, "canceled_subscriptions_too_expensive": 8348.91, "canceled_subscriptions_unused": 6315.62, "canceled_subscriptions_other": 271957, "churn_rate": 2313.41, "gross_margin": 3697.18, "gross_margin_percentage": 160547, "cashflow": 8348.91}], "totals": {}, "metrics": {}} "422": application/json: {} metrics:limits: speakeasy-default-metrics:limits: responses: "200": - application/json: {"min_date": "2025-01-01", "intervals": {"hour": {"max_days": 760658}, "day": {"max_days": 144714}, "week": {"max_days": 73495}, "month": {"max_days": 917281}, "year": {"max_days": 923290}}} + application/json: {"min_date": "2025-01-01", "intervals": {"hour": {"min_days": 667816, "max_days": 760658}, "day": {"min_days": 760658, "max_days": 144714}, "week": {"min_days": 144714, "max_days": 73495}, "month": {"min_days": 73495, "max_days": 917281}, "year": {"min_days": 917281, "max_days": 923290}}} license_keys:list: speakeasy-default-license-keys:list: parameters: @@ -2719,7 +2757,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "year", "trial_interval_count": 379186, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "week", "trial_interval_count": 269522, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 962255, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 987277, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2025-02-11T18:32:20.472Z", "modified_at": "2025-03-25T11:30:39.715Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 825064, "maximum_amount": 470214, "preset_amount": 586539, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 656194, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "month", "trial_interval_count": 743139, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 379186, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-05-11T01:12:44.937Z", "modified_at": "2025-06-06T13:16:03.281Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-01-30T11:54:59.602Z", "modified_at": "2025-12-23T14:11:20.089Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 267903, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 958373, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "year", "trial_interval_count": 470214, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 438333, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-07T18:45:01.201Z", "modified_at": "2023-05-16T12:45:34.730Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-04-05T16:33:44.616Z", "modified_at": "2023-12-19T09:15:06.533Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 363007, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}], "pagination": {"total_count": 226341, "max_page": 804607}} + application/json: {"items": [{"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "year", "trial_interval_count": 379186, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "week", "trial_interval_count": 269522, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 962255, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "one_time", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 987277, "meter_id": "", "meter": {"id": "", "name": ""}}, {"created_at": "2025-02-11T18:32:20.472Z", "modified_at": "2025-03-25T11:30:39.715Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 825064, "maximum_amount": 470214, "preset_amount": 586539, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 656194, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "month", "trial_interval_count": 743139, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 379186, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-05-11T01:12:44.937Z", "modified_at": "2025-06-06T13:16:03.281Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-01-30T11:54:59.602Z", "modified_at": "2025-12-23T14:11:20.089Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 267903, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 958373, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "year", "trial_interval_count": 470214, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "recurring_interval": "year", "recurring_interval_count": 438333, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-07T18:45:01.201Z", "modified_at": "2023-05-16T12:45:34.730Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-04-05T16:33:44.616Z", "modified_at": "2023-12-19T09:15:06.533Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 363007, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}], "pagination": {"total_count": 226341, "max_page": 804607}} "422": application/json: {} checkout-links:create: @@ -2752,7 +2790,7 @@ examples: application/json: {} responses: "200": - application/json: {"id": "", "created_at": "2024-02-14T03:05:16.462Z", "modified_at": "2023-10-02T17:43:12.732Z", "trial_interval": "year", "trial_interval_count": 763251, "metadata": {"key": 634930, "key1": 386368, "key2": 65111}, "payment_processor": "stripe", "client_secret": "", "success_url": null, "label": "", "allow_discount_codes": false, "require_billing_address": true, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": true}, "id": "", "created_at": "2025-10-17T09:34:18.549Z", "modified_at": "2023-05-08T01:48:20.829Z", "trial_interval": "month", "trial_interval_count": 386368, "name": "", "description": "gloat quadruple baggy wealthy definitive gummy", "recurring_interval": "year", "recurring_interval_count": 758989, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-10-02T17:43:12.732Z", "modified_at": "2024-03-22T06:34:43.285Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-03-13T08:40:55.883Z", "modified_at": null, "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 250061, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 93657, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-03-07T04:45:04.362Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-05-27T13:57:42.899Z", "size_readable": "", "public_url": "https://thorny-underneath.net/"}]}], "discount": {"duration": "once", "duration_in_months": 714829, "type": "fixed", "basis_points": 328433, "created_at": "2024-10-09T01:37:50.990Z", "modified_at": "2024-09-18T07:54:19.084Z", "id": "", "metadata": {"key": true, "key1": 836096}, "name": "", "code": "", "starts_at": "2023-07-16T07:36:44.270Z", "ends_at": "2024-02-21T08:23:11.430Z", "max_redemptions": 998703, "redemptions_count": 730226, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://empty-importance.org"} + application/json: {"id": "", "created_at": "2024-02-14T03:05:16.462Z", "modified_at": "2023-10-02T17:43:12.732Z", "trial_interval": "year", "trial_interval_count": 763251, "metadata": {"key": 634930, "key1": 386368, "key2": 65111}, "payment_processor": "stripe", "client_secret": "", "success_url": null, "label": "", "allow_discount_codes": false, "require_billing_address": true, "discount_id": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": true}, "id": "", "created_at": "2025-10-17T09:34:18.549Z", "modified_at": "2023-05-08T01:48:20.829Z", "trial_interval": "month", "trial_interval_count": 386368, "name": "", "description": "gloat quadruple baggy wealthy definitive gummy", "recurring_interval": "year", "recurring_interval_count": 758989, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-10-02T17:43:12.732Z", "modified_at": "2024-03-22T06:34:43.285Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-03-13T08:40:55.883Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 250061, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 93657, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-03-07T04:45:04.362Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-05-27T13:57:42.899Z", "size_readable": "", "public_url": "https://thorny-underneath.net/"}]}], "discount": {"duration": "once", "duration_in_months": 714829, "type": "fixed", "basis_points": 328433, "created_at": "2024-10-09T01:37:50.990Z", "modified_at": "2024-09-18T07:54:19.084Z", "id": "", "metadata": {"key": true, "key1": 836096}, "name": "", "code": "", "starts_at": "2023-07-16T07:36:44.270Z", "ends_at": "2024-02-21T08:23:11.430Z", "max_redemptions": 998703, "redemptions_count": 730226, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://empty-importance.org"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2888,6 +2926,7 @@ examples: organization_id: "1dbfc517-0bbf-4301-9ba8-555ca42b9737" page: 1 limit: 10 + include_members: false responses: "200": application/json: {"items": [{"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-01-24T11:10:48.726Z", "modified_at": null, "metadata": {"key": 712185, "key1": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-09-16T01:33:30.089Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-01-24T11:10:48.726Z", "modified_at": null, "metadata": {"key": 712185, "key1": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-09-16T01:33:30.089Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-01-24T11:10:48.726Z", "modified_at": null, "metadata": {"key": 712185, "key1": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-09-16T01:33:30.089Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}], "pagination": {"total_count": 72225, "max_page": 542988}} @@ -2895,11 +2934,14 @@ examples: application/json: {} customers:create: speakeasy-default-customers:create: + parameters: + query: + include_members: false requestBody: - application/json: {"external_id": "usr_1337", "email": "customer@example.com", "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"} + application/json: {"external_id": "usr_1337", "email": "customer@example.com", "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "owner": {"email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337"}} responses: "201": - application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-12-18T06:01:42.001Z", "modified_at": null, "metadata": {"key": 404263}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-12-23T07:32:24.258Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} + application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-12-18T06:01:42.001Z", "modified_at": null, "metadata": {"key": 404263}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-12-23T07:32:24.258Z", "members": [{"id": "", "created_at": "2025-12-18T06:01:42.001Z", "modified_at": null, "customer_id": "", "email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337", "role": "billing_manager"}], "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} "422": application/json: {} customers:get: @@ -2907,9 +2949,11 @@ examples: parameters: path: id: "" + query: + include_members: false responses: "200": - application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-02-07T11:56:28.687Z", "modified_at": "2024-03-20T09:58:07.343Z", "metadata": {"key": "", "key1": 645013}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-01-26T06:04:35.456Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} + application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-02-07T11:56:28.687Z", "modified_at": "2024-03-20T09:58:07.343Z", "metadata": {"key": "", "key1": 645013}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-01-26T06:04:35.456Z", "members": [{"id": "", "created_at": "2023-02-07T11:56:28.687Z", "modified_at": "2024-03-20T09:58:07.343Z", "customer_id": "", "email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337", "role": "billing_manager"}], "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2919,11 +2963,13 @@ examples: parameters: path: id: "" + query: + include_members: false requestBody: application/json: {"email": "customer@example.com", "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "external_id": "usr_1337"} responses: "200": - application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-03-16T17:26:39.570Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-04-14T07:55:04.911Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} + application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-03-16T17:26:39.570Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-04-14T07:55:04.911Z", "members": [{"id": "", "created_at": "2025-06-11T23:12:33.726Z", "modified_at": "2023-01-16T19:45:46.501Z", "customer_id": "", "email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337", "role": "owner"}], "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2943,9 +2989,11 @@ examples: parameters: path: external_id: "" + query: + include_members: false responses: "200": - application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-16T18:20:25.397Z", "modified_at": "2024-10-25T08:30:34.593Z", "metadata": {"key": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} + application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-16T18:20:25.397Z", "modified_at": "2024-10-25T08:30:34.593Z", "metadata": {"key": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "members": [{"id": "", "created_at": "2023-08-16T18:20:25.397Z", "modified_at": "2024-10-25T08:30:34.593Z", "customer_id": "", "email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337", "role": "owner"}], "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2955,11 +3003,13 @@ examples: parameters: path: external_id: "" + query: + include_members: false requestBody: application/json: {"email": "customer@example.com", "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"]} responses: "200": - application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-07-14T15:50:49.511Z", "modified_at": "2024-12-21T02:28:59.698Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-03-03T18:02:55.477Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} + application/json: {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-07-14T15:50:49.511Z", "modified_at": "2024-12-21T02:28:59.698Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-03-03T18:02:55.477Z", "members": [{"id": "", "created_at": "2023-04-19T12:10:23.341Z", "modified_at": "2024-11-10T15:58:41.008Z", "customer_id": "", "email": "member@example.com", "name": "Jane Doe", "external_id": "usr_1337", "role": "billing_manager"}], "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3007,7 +3057,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"created_at": "2023-10-06T18:19:15.209Z", "modified_at": "2023-01-16T21:16:44.906Z", "id": "", "granted_at": "2025-09-12T06:08:19.548Z", "revoked_at": "2024-07-27T16:14:40.792Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": false, "customer": {"created_at": "2024-01-30T06:11:54.152Z", "modified_at": "2024-10-14T21:25:11.296Z", "id": "", "email": "Vicente.Kirlin@hotmail.com", "email_verified": true, "name": "", "billing_name": "", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {"key": {"account_id": "", "account_username": ""}}}, "benefit": {"id": "", "created_at": "2025-10-21T22:16:50.607Z", "modified_at": "2023-01-05T08:53:06.816Z", "type": "discord", "description": "blindly forage boo consequently apostrophize because gee like", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": 25686}, "organization": {"created_at": "2023-07-24T13:25:35.655Z", "modified_at": "2024-11-21T03:40:07.983Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://zealous-privilege.name", "email": "Aida.Legros3@yahoo.com", "website": "", "socials": [], "status": "active", "details_submitted_at": "2024-11-28T06:50:24.190Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 686363}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": false, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}, "properties": {"guild_id": ""}}, "properties": {}}], "pagination": {"total_count": 256243, "max_page": 771110}} + application/json: {"items": [{"created_at": "2023-10-06T18:19:15.209Z", "modified_at": "2023-01-16T21:16:44.906Z", "id": "", "granted_at": "2025-09-12T06:08:19.548Z", "revoked_at": "2024-07-27T16:14:40.792Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": false, "customer": {"created_at": "2024-01-30T06:11:54.152Z", "modified_at": "2024-10-14T21:25:11.296Z", "id": "", "email": "Vicente.Kirlin@hotmail.com", "email_verified": true, "name": "", "billing_name": "", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {"key": {"account_id": "", "account_username": ""}}}, "benefit": {"id": "", "created_at": "2025-10-21T22:16:50.607Z", "modified_at": "2023-01-05T08:53:06.816Z", "type": "discord", "description": "blindly forage boo consequently apostrophize because gee like", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": 25686}, "organization": {"created_at": "2023-07-24T13:25:35.655Z", "modified_at": "2024-11-21T03:40:07.983Z", "id": "", "name": "", "slug": "", "avatar_url": "https://zealous-privilege.name", "proration_behavior": "invoice", "allow_customer_updates": true}, "properties": {"guild_id": ""}}, "properties": {}}], "pagination": {"total_count": 256243, "max_page": 771110}} "422": application/json: {} customer_portal:benefit-grants:get: @@ -3017,7 +3067,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-03-15T12:31:38.233Z", "modified_at": "2024-01-09T12:49:39.354Z", "id": "", "granted_at": "2024-02-26T03:57:11.754Z", "revoked_at": "2025-03-28T16:05:13.207Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": true, "customer": {"created_at": "2024-06-22T16:37:44.271Z", "modified_at": "2023-12-13T16:16:10.075Z", "id": "", "email": "Morris19@yahoo.com", "email_verified": true, "name": null, "billing_name": null, "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {}}, "benefit": {"id": "", "created_at": "2024-09-16T01:46:20.580Z", "modified_at": "2024-09-12T15:38:38.180Z", "type": "downloadables", "description": "coaxingly likewise comestible crumble whoa yuck gah lavish hexagon", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": 727273, "key2": true}, "organization": {"created_at": "2024-09-18T06:24:04.094Z", "modified_at": "2024-07-11T04:38:42.436Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://rich-freckle.net", "email": "Adelbert5@hotmail.com", "website": "", "socials": [{"platform": "linkedin", "url": "https://impartial-ravioli.net/"}, {"platform": "linkedin", "url": "https://impartial-ravioli.net/"}], "status": "onboarding_started", "details_submitted_at": "2023-03-25T07:22:51.142Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 67082}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": true, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}, "properties": {"active_files": ["", "", ""]}}, "properties": {}} + application/json: {"created_at": "2023-03-15T12:31:38.233Z", "modified_at": "2024-01-09T12:49:39.354Z", "id": "", "granted_at": "2024-02-26T03:57:11.754Z", "revoked_at": "2025-03-28T16:05:13.207Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": true, "customer": {"created_at": "2024-06-22T16:37:44.271Z", "modified_at": "2023-12-13T16:16:10.075Z", "id": "", "email": "Morris19@yahoo.com", "email_verified": true, "name": null, "billing_name": null, "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {}}, "benefit": {"id": "", "created_at": "2024-09-16T01:46:20.580Z", "modified_at": "2024-09-12T15:38:38.180Z", "type": "downloadables", "description": "coaxingly likewise comestible crumble whoa yuck gah lavish hexagon", "selectable": true, "deletable": true, "organization_id": "", "metadata": {"key": true, "key1": 727273, "key2": true}, "organization": {"created_at": "2024-09-18T06:24:04.094Z", "modified_at": "2024-07-11T04:38:42.436Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://rich-freckle.net", "proration_behavior": "invoice", "allow_customer_updates": true}, "properties": {"active_files": ["", "", ""]}}, "properties": {}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3031,7 +3081,7 @@ examples: application/json: {"benefit_type": "license_keys"} responses: "200": - application/json: {"created_at": "2025-07-10T10:56:59.187Z", "modified_at": "2024-11-21T02:12:57.379Z", "id": "", "granted_at": "2023-06-28T14:53:41.005Z", "revoked_at": "2025-06-22T09:01:10.015Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": true, "customer": {"created_at": "2025-04-08T03:47:04.594Z", "modified_at": "2023-08-23T10:39:08.850Z", "id": "", "email": "Paige_Hessel30@yahoo.com", "email_verified": true, "name": "", "billing_name": "", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {"key": {"account_id": "", "account_username": ""}}}, "benefit": {"id": "", "created_at": "2024-11-26T13:15:38.559Z", "modified_at": "2024-05-18T06:07:57.166Z", "type": "custom", "description": "hm despite ferociously evenly hypothesize frenetically finally with concerning", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": 631028, "key1": ""}, "organization": {"created_at": "2024-12-09T23:44:32.710Z", "modified_at": "2025-05-27T23:23:51.447Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://actual-accountability.net/", "email": "Alexane.Koch42@gmail.com", "website": "", "socials": [{"platform": "instagram", "url": "https://amazing-joy.name/"}], "status": "active", "details_submitted_at": "2025-01-08T05:57:31.407Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 286557}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": true, "subscription_updated": false}}, "properties": {"note": ""}}, "properties": {}} + application/json: {"created_at": "2025-07-10T10:56:59.187Z", "modified_at": "2024-11-21T02:12:57.379Z", "id": "", "granted_at": "2023-06-28T14:53:41.005Z", "revoked_at": "2025-06-22T09:01:10.015Z", "customer_id": "", "benefit_id": "", "subscription_id": "", "order_id": "", "is_granted": false, "is_revoked": true, "customer": {"created_at": "2025-04-08T03:47:04.594Z", "modified_at": "2023-08-23T10:39:08.850Z", "id": "", "email": "Paige_Hessel30@yahoo.com", "email_verified": true, "name": "", "billing_name": "", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "oauth_accounts": {"key": {"account_id": "", "account_username": ""}}}, "benefit": {"id": "", "created_at": "2024-11-26T13:15:38.559Z", "modified_at": "2024-05-18T06:07:57.166Z", "type": "custom", "description": "hm despite ferociously evenly hypothesize frenetically finally with concerning", "selectable": false, "deletable": true, "organization_id": "", "metadata": {"key": 631028, "key1": ""}, "organization": {"created_at": "2024-12-09T23:44:32.710Z", "modified_at": "2025-05-27T23:23:51.447Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://actual-accountability.net/", "proration_behavior": "invoice", "allow_customer_updates": false}, "properties": {"note": ""}}, "properties": {}} "403": application/json: {"error": "NotPermitted", "detail": ""} "404": @@ -3199,7 +3249,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2025-11-20T11:42:23.721Z", "modified_at": "2025-01-24T20:31:05.561Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 845676, "discount_amount": 924720, "net_amount": 71681, "tax_amount": 598982, "total_amount": 539673, "applied_balance_amount": 281470, "due_amount": 702832, "refunded_amount": 14405, "refunded_tax_amount": 988959, "currency": "Malagasy Ariary", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2025-05-15T00:41:31.862Z", "modified_at": "2023-04-25T06:37:58.723Z", "trial_interval": "month", "trial_interval_count": 459585, "name": "", "description": "planula breakable gee stranger", "recurring_interval": null, "recurring_interval_count": 702832, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}], "organization": {"created_at": "2023-11-27T01:22:01.788Z", "modified_at": "2023-09-26T20:05:53.182Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://gaseous-quinoa.net/", "email": "Julia7@yahoo.com", "website": null, "socials": [{"platform": "youtube", "url": "https://classic-completion.org/"}], "status": "onboarding_started", "details_submitted_at": "2025-06-17T11:44:40.024Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 281470}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": false, "subscription_updated": false}}}, "subscription": {"created_at": "2025-09-29T10:04:34.395Z", "modified_at": "2024-01-20T16:39:03.992Z", "id": "", "amount": 988367, "currency": "Norwegian Krone", "recurring_interval": "month", "recurring_interval_count": 962124, "status": "incomplete", "current_period_start": "2025-07-15T00:27:45.241Z", "current_period_end": "2025-04-09T12:43:21.768Z", "trial_start": "2025-06-16T19:11:41.518Z", "trial_end": "2025-10-10T11:49:01.641Z", "cancel_at_period_end": true, "canceled_at": "2025-05-30T20:27:13.803Z", "started_at": "2025-12-27T13:19:34.629Z", "ends_at": "2023-04-24T07:47:19.900Z", "ended_at": "2025-12-29T09:10:52.742Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}, {"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}, {"id": "", "created_at": "2025-11-20T11:42:23.721Z", "modified_at": "2025-01-24T20:31:05.561Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 845676, "discount_amount": 924720, "net_amount": 71681, "tax_amount": 598982, "total_amount": 539673, "applied_balance_amount": 962124, "due_amount": 459585, "refunded_amount": 14405, "refunded_tax_amount": 988959, "currency": "Malagasy Ariary", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2025-05-15T00:41:31.862Z", "modified_at": "2023-04-25T06:37:58.723Z", "trial_interval": null, "trial_interval_count": null, "name": "", "description": "planula breakable gee stranger", "recurring_interval": null, "recurring_interval_count": 688736, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}], "organization": {"created_at": "2023-11-27T01:22:01.788Z", "modified_at": "2023-09-26T20:05:53.182Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://gaseous-quinoa.net/", "email": "Julia7@yahoo.com", "website": null, "socials": [{"platform": "youtube", "url": "https://classic-completion.org/"}], "status": "denied", "details_submitted_at": "2025-06-17T11:44:40.024Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 702832}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": false, "subscription_updated": false}}}, "subscription": {"created_at": "2025-09-29T10:04:34.395Z", "modified_at": "2024-01-20T16:39:03.992Z", "id": "", "amount": 988367, "currency": "Norwegian Krone", "recurring_interval": "month", "recurring_interval_count": 819161, "status": "incomplete", "current_period_start": "2025-07-15T00:27:45.241Z", "current_period_end": "2025-04-09T12:43:21.768Z", "trial_start": "2024-08-14T11:34:08.193Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-05-30T20:27:13.803Z", "started_at": "2025-12-27T13:19:34.629Z", "ends_at": "2023-04-24T07:47:19.900Z", "ended_at": "2025-12-29T09:10:52.742Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}, {"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}], "pagination": {"total_count": 449940, "max_page": 933681}} + application/json: {"items": [{"id": "", "created_at": "2025-11-20T11:42:23.721Z", "modified_at": "2025-01-24T20:31:05.561Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 845676, "discount_amount": 924720, "net_amount": 71681, "tax_amount": 598982, "total_amount": 539673, "applied_balance_amount": 281470, "due_amount": 702832, "refunded_amount": 14405, "refunded_tax_amount": 988959, "currency": "Malagasy Ariary", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": false, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2025-05-15T00:41:31.862Z", "modified_at": "2023-04-25T06:37:58.723Z", "trial_interval": "month", "trial_interval_count": 459585, "name": "", "description": "planula breakable gee stranger", "recurring_interval": null, "recurring_interval_count": 702832, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}], "organization": {"created_at": "2023-11-27T01:22:01.788Z", "modified_at": "2023-09-26T20:05:53.182Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://gaseous-quinoa.net/", "proration_behavior": "invoice", "allow_customer_updates": false}}, "subscription": {"created_at": "2025-09-29T10:04:34.395Z", "modified_at": "2024-01-20T16:39:03.992Z", "id": "", "amount": 988367, "currency": "Norwegian Krone", "recurring_interval": "month", "recurring_interval_count": 962124, "status": "incomplete", "current_period_start": "2025-07-15T00:27:45.241Z", "current_period_end": "2025-04-09T12:43:21.768Z", "trial_start": "2025-06-16T19:11:41.518Z", "trial_end": "2025-10-10T11:49:01.641Z", "cancel_at_period_end": true, "canceled_at": "2025-05-30T20:27:13.803Z", "started_at": "2025-12-27T13:19:34.629Z", "ends_at": "2023-04-24T07:47:19.900Z", "ended_at": "2025-12-29T09:10:52.742Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}, {"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}, {"id": "", "created_at": "2025-11-20T11:42:23.721Z", "modified_at": "2025-01-24T20:31:05.561Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 845676, "discount_amount": 924720, "net_amount": 71681, "tax_amount": 598982, "total_amount": 539673, "applied_balance_amount": 962124, "due_amount": 459585, "refunded_amount": 14405, "refunded_tax_amount": 988959, "currency": "Malagasy Ariary", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2025-05-15T00:41:31.862Z", "modified_at": "2023-04-25T06:37:58.723Z", "trial_interval": null, "trial_interval_count": null, "name": "", "description": "planula breakable gee stranger", "recurring_interval": null, "recurring_interval_count": 688736, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}, {"id": "", "created_at": "2023-07-13T14:06:15.505Z", "modified_at": "2023-04-04T23:25:06.964Z", "type": "meter_credit", "description": "preside because since alongside", "selectable": true, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 438908, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-08-19T15:18:48.324Z", "size_readable": "", "public_url": "https://perfumed-permafrost.info/"}], "organization": {"created_at": "2023-11-27T01:22:01.788Z", "modified_at": "2023-09-26T20:05:53.182Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://gaseous-quinoa.net/", "proration_behavior": "prorate", "allow_customer_updates": true}}, "subscription": {"created_at": "2025-09-29T10:04:34.395Z", "modified_at": "2024-01-20T16:39:03.992Z", "id": "", "amount": 988367, "currency": "Norwegian Krone", "recurring_interval": "month", "recurring_interval_count": 819161, "status": "incomplete", "current_period_start": "2025-07-15T00:27:45.241Z", "current_period_end": "2025-04-09T12:43:21.768Z", "trial_start": "2024-08-14T11:34:08.193Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-05-30T20:27:13.803Z", "started_at": "2025-12-27T13:19:34.629Z", "ends_at": "2023-04-24T07:47:19.900Z", "ended_at": "2025-12-29T09:10:52.742Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}, {"created_at": "2025-09-04T16:52:16.935Z", "modified_at": "2025-01-30T05:26:00.826Z", "id": "", "label": "", "amount": 807701, "tax_amount": 697997, "proration": true, "product_price_id": ""}], "description": "Pro Plan"}], "pagination": {"total_count": 449940, "max_page": 933681}} "422": application/json: {} customer_portal:orders:get: @@ -3209,7 +3259,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2025-11-07T01:29:33.239Z", "modified_at": "2025-10-01T14:10:31.444Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2023-11-19T04:53:34.522Z", "modified_at": "2025-11-25T20:27:43.607Z", "trial_interval": "week", "trial_interval_count": 836532, "name": "", "description": "too jubilantly empty meh", "recurring_interval": "month", "recurring_interval_count": 460383, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-10-01T14:10:31.444Z", "modified_at": "2025-11-12T18:03:36.492Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 953506, "legacy": true}, {"created_at": "2025-11-13T23:04:52.208Z", "modified_at": "2023-07-18T15:45:42.662Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-07-27T19:30:57.624Z", "modified_at": "2025-02-13T12:23:44.948Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://hot-amendment.biz/", "email": "Damaris4@hotmail.com", "website": "", "socials": [{"platform": "youtube", "url": "https://stupendous-advancement.name"}], "status": "active", "details_submitted_at": "2024-10-04T10:38:48.094Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 949875}, "notification_settings": {"new_order": false, "new_subscription": true}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": true, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": false, "subscription_uncanceled": true, "subscription_updated": false}}}, "subscription": {"created_at": "2025-03-12T22:14:21.224Z", "modified_at": "2024-03-29T21:03:44.806Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 916598, "status": "canceled", "current_period_start": "2023-10-08T20:14:11.453Z", "current_period_end": "2023-01-11T05:31:47.928Z", "trial_start": "2025-01-24T05:08:03.541Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2024-11-02T16:16:11.516Z", "started_at": "2024-04-10T15:06:14.767Z", "ends_at": "2023-08-09T06:47:34.634Z", "ended_at": "2023-05-14T07:05:36.107Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_expensive", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}, {"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}], "description": "Pro Plan"} + application/json: {"id": "", "created_at": "2025-11-07T01:29:33.239Z", "modified_at": "2025-10-01T14:10:31.444Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2023-11-19T04:53:34.522Z", "modified_at": "2025-11-25T20:27:43.607Z", "trial_interval": "week", "trial_interval_count": 836532, "name": "", "description": "too jubilantly empty meh", "recurring_interval": "month", "recurring_interval_count": 460383, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-10-01T14:10:31.444Z", "modified_at": "2025-11-12T18:03:36.492Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 953506, "legacy": true}, {"created_at": "2025-11-13T23:04:52.208Z", "modified_at": "2023-07-18T15:45:42.662Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-07-27T19:30:57.624Z", "modified_at": "2025-02-13T12:23:44.948Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://hot-amendment.biz/", "proration_behavior": "prorate", "allow_customer_updates": false}}, "subscription": {"created_at": "2025-03-12T22:14:21.224Z", "modified_at": "2024-03-29T21:03:44.806Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 916598, "status": "canceled", "current_period_start": "2023-10-08T20:14:11.453Z", "current_period_end": "2023-01-11T05:31:47.928Z", "trial_start": "2025-01-24T05:08:03.541Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2024-11-02T16:16:11.516Z", "started_at": "2024-04-10T15:06:14.767Z", "ends_at": "2023-08-09T06:47:34.634Z", "ended_at": "2023-05-14T07:05:36.107Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_expensive", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}, {"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}], "description": "Pro Plan"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3233,7 +3283,7 @@ examples: slug: "" responses: "200": - application/json: {"organization": {"created_at": "2025-06-05T07:04:36.562Z", "modified_at": "2024-07-19T19:10:17.295Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://doting-lifestyle.name/", "email": "Darion96@gmail.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://negligible-poetry.biz"}, {"platform": "tiktok", "url": "https://negligible-poetry.biz"}], "status": "active", "details_submitted_at": "2024-07-30T22:43:06.764Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 808664}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": false}}, "products": [{"id": "", "created_at": "2025-01-07T03:20:40.621Z", "modified_at": "2024-05-04T02:49:36.301Z", "trial_interval": "month", "trial_interval_count": 846548, "name": "", "description": "behold whereas once gleefully", "recurring_interval": null, "recurring_interval_count": 614752, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-07-19T19:10:17.295Z", "modified_at": "2023-10-04T14:51:08.320Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-05-14T06:28:28.766Z", "modified_at": "2024-09-04T10:55:17.085Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 668979, "maximum_amount": 629088, "preset_amount": 687565, "legacy": true}, {"created_at": "2024-07-30T22:43:06.764Z", "modified_at": "2024-06-03T04:21:14.567Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 672573, "maximum_amount": 446275, "preset_amount": 235699, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-06-10T21:02:03.324Z", "modified_at": "2023-10-23T22:10:37.289Z", "type": "meter_credit", "description": "oh dirty dirty ribbon rear yippee", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}]}]} + application/json: {"organization": {"created_at": "2025-06-05T07:04:36.562Z", "modified_at": "2024-07-19T19:10:17.295Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://doting-lifestyle.name/", "proration_behavior": "prorate", "allow_customer_updates": false}, "products": [{"id": "", "created_at": "2025-01-07T03:20:40.621Z", "modified_at": "2024-05-04T02:49:36.301Z", "trial_interval": "month", "trial_interval_count": 846548, "name": "", "description": "behold whereas once gleefully", "recurring_interval": null, "recurring_interval_count": 614752, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-07-19T19:10:17.295Z", "modified_at": "2023-10-04T14:51:08.320Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-05-14T06:28:28.766Z", "modified_at": "2024-09-04T10:55:17.085Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 668979, "maximum_amount": 629088, "preset_amount": 687565, "legacy": true}, {"created_at": "2024-07-30T22:43:06.764Z", "modified_at": "2024-06-03T04:21:14.567Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 672573, "maximum_amount": 446275, "preset_amount": 235699, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-06-10T21:02:03.324Z", "modified_at": "2023-10-23T22:10:37.289Z", "type": "meter_credit", "description": "oh dirty dirty ribbon rear yippee", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}]}]} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3247,7 +3297,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 180288, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2024-07-18T17:21:46.759Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 96114, "name": "", "description": "an when upwardly", "recurring_interval": "year", "recurring_interval_count": 1847, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 944637, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "email": "Guido30@yahoo.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://clueless-midwife.net/"}, {"platform": "tiktok", "url": "https://clueless-midwife.net/"}], "status": "created", "details_submitted_at": "2025-12-03T13:10:55.375Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 180288}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": false, "subscription_uncanceled": true, "subscription_updated": false}}}, "prices": [{"created_at": "2024-04-28T23:59:29.324Z", "modified_at": "2023-08-04T11:59:00.224Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-05-06T00:46:00.044Z", "modified_at": "2023-10-31T12:02:35.613Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 746007, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "is_polar_managed": true}, {"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 580419, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2023-11-09T06:12:04.123Z", "trial_end": "2024-04-28T23:59:29.324Z", "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 941013, "name": "", "description": "an when upwardly", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-12T09:39:36.733Z", "modified_at": "2023-09-02T17:20:24.135Z", "id": "", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": null, "price_currency": "", "unit_amount": "", "cap_amount": 655254, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "email": "Guido30@yahoo.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://clueless-midwife.net/"}, {"platform": "tiktok", "url": "https://clueless-midwife.net/"}], "status": "under_review", "details_submitted_at": "2025-12-03T13:10:55.375Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 515259}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": false, "subscription_uncanceled": true, "subscription_updated": false}}}, "prices": [{"created_at": "2023-08-23T16:58:58.285Z", "modified_at": "2023-06-20T17:27:13.322Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 850254, "legacy": true}, {"created_at": "2024-10-04T17:29:24.326Z", "modified_at": "2024-12-24T08:26:33.925Z", "id": "", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 886852, "maximum_amount": 660944, "preset_amount": null, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "is_polar_managed": false}], "pagination": {"total_count": 843077, "max_page": 721699}} + application/json: {"items": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 180288, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2024-07-18T17:21:46.759Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 96114, "name": "", "description": "an when upwardly", "recurring_interval": "year", "recurring_interval_count": 1847, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 944637, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "prorate", "allow_customer_updates": true}}, "prices": [{"created_at": "2024-04-28T23:59:29.324Z", "modified_at": "2023-08-04T11:59:00.224Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-05-06T00:46:00.044Z", "modified_at": "2023-10-31T12:02:35.613Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 746007, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "is_polar_managed": true}, {"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 580419, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2023-11-09T06:12:04.123Z", "trial_end": "2024-04-28T23:59:29.324Z", "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 941013, "name": "", "description": "an when upwardly", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-12T09:39:36.733Z", "modified_at": "2023-09-02T17:20:24.135Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": null, "price_currency": "", "unit_amount": "", "cap_amount": 655254, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "invoice", "allow_customer_updates": false}}, "prices": [{"created_at": "2023-08-23T16:58:58.285Z", "modified_at": "2023-06-20T17:27:13.322Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "price_amount": 850254, "legacy": true}, {"created_at": "2024-10-04T17:29:24.326Z", "modified_at": "2024-12-24T08:26:33.925Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 886852, "maximum_amount": 660944, "preset_amount": null, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "is_polar_managed": false}], "pagination": {"total_count": 843077, "max_page": 721699}} "422": application/json: {} customer_portal:subscriptions:get: @@ -3257,7 +3307,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-07-12T17:28:38.797Z", "modified_at": "2023-06-27T14:55:14.822Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 175847, "status": "past_due", "current_period_start": "2024-12-11T03:15:34.736Z", "current_period_end": "2025-04-27T11:18:42.852Z", "trial_start": "2025-06-29T15:49:22.120Z", "trial_end": "2024-11-13T19:04:25.284Z", "cancel_at_period_end": true, "canceled_at": "2024-01-29T06:39:34.276Z", "started_at": "2024-12-08T10:29:34.380Z", "ends_at": null, "ended_at": "2025-05-26T12:14:55.999Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-01-14T05:59:18.343Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 647934, "name": "", "description": "ew far-off whoever minus perfectly scared sunbathe uh-huh", "recurring_interval": "year", "recurring_interval_count": 162063, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-01-09T04:27:19.997Z", "modified_at": "2025-06-19T15:44:52.777Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://alienated-ribbon.org", "email": null, "website": "", "socials": [], "status": "created", "details_submitted_at": "2024-07-08T20:03:06.421Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 175847}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": false}}}, "prices": [{"created_at": "2023-06-27T14:55:14.822Z", "modified_at": "2024-06-06T10:00:39.244Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-04-27T11:18:42.852Z", "modified_at": "2025-08-05T11:04:05.877Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 125071, "legacy": true}, {"created_at": "2024-08-10T11:08:56.200Z", "modified_at": "2023-09-21T23:53:38.929Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 684767, "maximum_amount": 130976, "preset_amount": null, "legacy": true}], "meters": [], "is_polar_managed": true} + application/json: {"created_at": "2023-07-12T17:28:38.797Z", "modified_at": "2023-06-27T14:55:14.822Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 175847, "status": "past_due", "current_period_start": "2024-12-11T03:15:34.736Z", "current_period_end": "2025-04-27T11:18:42.852Z", "trial_start": "2025-06-29T15:49:22.120Z", "trial_end": "2024-11-13T19:04:25.284Z", "cancel_at_period_end": true, "canceled_at": "2024-01-29T06:39:34.276Z", "started_at": "2024-12-08T10:29:34.380Z", "ends_at": null, "ended_at": "2025-05-26T12:14:55.999Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-01-14T05:59:18.343Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 647934, "name": "", "description": "ew far-off whoever minus perfectly scared sunbathe uh-huh", "recurring_interval": "year", "recurring_interval_count": 162063, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-01-09T04:27:19.997Z", "modified_at": "2025-06-19T15:44:52.777Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://alienated-ribbon.org", "proration_behavior": "invoice", "allow_customer_updates": false}}, "prices": [{"created_at": "2023-06-27T14:55:14.822Z", "modified_at": "2024-06-06T10:00:39.244Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-04-27T11:18:42.852Z", "modified_at": "2025-08-05T11:04:05.877Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "price_amount": 125071, "legacy": true}, {"created_at": "2024-08-10T11:08:56.200Z", "modified_at": "2023-09-21T23:53:38.929Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 684767, "maximum_amount": 130976, "preset_amount": null, "legacy": true}], "meters": [], "is_polar_managed": true} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3271,7 +3321,7 @@ examples: application/json: {} responses: "200": - application/json: {"created_at": "2025-02-02T12:28:03.145Z", "modified_at": "2025-08-15T14:46:08.118Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 762480, "status": "active", "current_period_start": "2025-04-10T15:02:11.907Z", "current_period_end": null, "trial_start": "2025-02-02T12:28:03.145Z", "trial_end": "2025-08-15T14:46:08.118Z", "cancel_at_period_end": false, "canceled_at": "2024-03-16T11:27:11.204Z", "started_at": "2025-10-09T15:39:35.938Z", "ends_at": "2023-05-18T04:03:20.458Z", "ended_at": "2023-06-12T13:50:06.969Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2023-01-10T05:56:40.811Z", "modified_at": "2023-11-19T12:28:15.778Z", "trial_interval": "day", "trial_interval_count": 444374, "name": "", "description": "lest after until mantua colon dual tremendously well fairly", "recurring_interval": "month", "recurring_interval_count": 447532, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home", "mime_type": "", "size": 323960, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-01-15T07:43:32.319Z", "size_readable": "", "public_url": "https://pitiful-cauliflower.com"}], "organization": {"created_at": "2024-01-05T08:15:54.903Z", "modified_at": "2023-05-06T23:49:18.498Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://taut-necklace.net/", "email": "Harry36@gmail.com", "website": "", "socials": [{"platform": "x", "url": "https://juicy-battle.name"}, {"platform": "x", "url": "https://juicy-battle.name"}], "status": "denied", "details_submitted_at": "2025-04-03T22:03:23.380Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 762480}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": true, "subscription_updated": true}}}, "prices": [{"created_at": "2024-05-05T11:52:58.589Z", "modified_at": "2023-07-27T15:38:08.165Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-02-06T13:35:55.076Z", "modified_at": "2025-11-12T16:20:13.096Z", "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": [], "is_polar_managed": false} + application/json: {"created_at": "2025-02-02T12:28:03.145Z", "modified_at": "2025-08-15T14:46:08.118Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 762480, "status": "active", "current_period_start": "2025-04-10T15:02:11.907Z", "current_period_end": null, "trial_start": "2025-02-02T12:28:03.145Z", "trial_end": "2025-08-15T14:46:08.118Z", "cancel_at_period_end": false, "canceled_at": "2024-03-16T11:27:11.204Z", "started_at": "2025-10-09T15:39:35.938Z", "ends_at": "2023-05-18T04:03:20.458Z", "ended_at": "2023-06-12T13:50:06.969Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2023-01-10T05:56:40.811Z", "modified_at": "2023-11-19T12:28:15.778Z", "trial_interval": "day", "trial_interval_count": 444374, "name": "", "description": "lest after until mantua colon dual tremendously well fairly", "recurring_interval": "month", "recurring_interval_count": 447532, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home", "mime_type": "", "size": 323960, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-01-15T07:43:32.319Z", "size_readable": "", "public_url": "https://pitiful-cauliflower.com"}], "organization": {"created_at": "2024-01-05T08:15:54.903Z", "modified_at": "2023-05-06T23:49:18.498Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://taut-necklace.net/", "proration_behavior": "prorate", "allow_customer_updates": false}}, "prices": [{"created_at": "2024-05-05T11:52:58.589Z", "modified_at": "2023-07-27T15:38:08.165Z", "id": "", "source": "catalog", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-02-06T13:35:55.076Z", "modified_at": "2025-11-12T16:20:13.096Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": [], "is_polar_managed": false} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -3285,7 +3335,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-03-14T00:34:28.136Z", "modified_at": "2025-03-22T12:28:05.757Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 65715, "status": "canceled", "current_period_start": "2024-04-07T12:57:17.210Z", "current_period_end": "2025-10-10T15:35:40.020Z", "trial_start": null, "trial_end": "2025-03-22T12:28:05.757Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-04-12T10:07:43.423Z", "ends_at": "2025-04-12T20:30:15.370Z", "ended_at": "2023-12-08T22:19:01.857Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-10-08T08:23:23.829Z", "modified_at": "2025-05-19T19:23:05.590Z", "trial_interval": "year", "trial_interval_count": 766852, "name": "", "description": "once yuck how inasmuch pish but more webbed", "recurring_interval": "month", "recurring_interval_count": 740438, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-03-22T12:28:05.757Z", "modified_at": "2025-04-16T15:43:34.874Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 948870, "maximum_amount": 383437, "preset_amount": null, "legacy": true}, {"created_at": "2025-09-28T07:43:04.431Z", "modified_at": "2023-06-14T21:44:38.981Z", "id": "", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 920948, "maximum_amount": 928517, "preset_amount": 351570, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-07T10:08:15.900Z", "modified_at": "2024-08-29T05:11:58.842Z", "type": "license_keys", "description": "when regarding woot mockingly um greatly sturdy incidentally accept save", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}], "organization": {"created_at": "2023-03-23T07:37:57.258Z", "modified_at": "2024-09-08T02:10:05.056Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://urban-account.info/", "email": "Christian48@yahoo.com", "website": null, "socials": [{"platform": "youtube", "url": "https://educated-newsprint.org"}], "status": "created", "details_submitted_at": "2025-02-20T06:16:29.529Z", "feature_settings": null, "subscription_settings": {"allow_multiple_subscriptions": false, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 65715}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}}, "prices": [{"created_at": "2025-11-16T11:22:00.864Z", "modified_at": "2025-05-23T05:24:01.371Z", "id": "", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-08-30T20:56:44.463Z", "modified_at": null, "id": "", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": [{"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}, {"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}], "is_polar_managed": true} + application/json: {"created_at": "2023-03-14T00:34:28.136Z", "modified_at": "2025-03-22T12:28:05.757Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 65715, "status": "canceled", "current_period_start": "2024-04-07T12:57:17.210Z", "current_period_end": "2025-10-10T15:35:40.020Z", "trial_start": null, "trial_end": "2025-03-22T12:28:05.757Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-04-12T10:07:43.423Z", "ends_at": "2025-04-12T20:30:15.370Z", "ended_at": "2023-12-08T22:19:01.857Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-10-08T08:23:23.829Z", "modified_at": "2025-05-19T19:23:05.590Z", "trial_interval": "year", "trial_interval_count": 766852, "name": "", "description": "once yuck how inasmuch pish but more webbed", "recurring_interval": "month", "recurring_interval_count": 740438, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-03-22T12:28:05.757Z", "modified_at": "2025-04-16T15:43:34.874Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "minimum_amount": 948870, "maximum_amount": 383437, "preset_amount": null, "legacy": true}, {"created_at": "2025-09-28T07:43:04.431Z", "modified_at": "2023-06-14T21:44:38.981Z", "id": "", "source": "catalog", "amount_type": "custom", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_currency": "", "minimum_amount": 920948, "maximum_amount": 928517, "preset_amount": 351570, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-07T10:08:15.900Z", "modified_at": "2024-08-29T05:11:58.842Z", "type": "license_keys", "description": "when regarding woot mockingly um greatly sturdy incidentally accept save", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}], "organization": {"created_at": "2023-03-23T07:37:57.258Z", "modified_at": "2024-09-08T02:10:05.056Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://urban-account.info/", "proration_behavior": "prorate", "allow_customer_updates": false}}, "prices": [{"created_at": "2025-11-16T11:22:00.864Z", "modified_at": "2025-05-23T05:24:01.371Z", "id": "", "source": "ad_hoc", "amount_type": "free", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-08-30T20:56:44.463Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "free", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": [{"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}, {"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}], "is_polar_managed": true} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -3310,7 +3360,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "timestamp": "2024-10-18T16:53:49.550Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-06-07T22:31:55.492Z", "modified_at": null, "metadata": {"key": "", "key1": 666.41}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-03-19T20:25:54.269Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "external_customer_id": "", "child_count": 0, "name": "", "source": "user", "metadata": {"key": 544693, "key1": ""}}, {"id": "", "timestamp": "2024-10-18T16:53:49.550Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-06-07T22:31:55.492Z", "modified_at": null, "metadata": {"key": "", "key1": 666.41}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2024-03-19T20:25:54.269Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "external_customer_id": "", "child_count": 0, "name": "", "source": "user", "metadata": {"key": 544693, "key1": ""}}], "pagination": {"total_count": 353517, "max_page": 285281}} + application/json: {"items": [{"id": "", "timestamp": "2024-07-30T15:11:47.563Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-23T00:25:25.220Z", "modified_at": "2025-11-05T19:10:02.206Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "external_customer_id": "", "child_count": 0, "label": "", "name": "", "source": "user", "metadata": {}}, {"id": "", "timestamp": "2024-07-30T15:11:47.563Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-23T00:25:25.220Z", "modified_at": "2025-11-05T19:10:02.206Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "external_customer_id": "", "child_count": 0, "label": "", "name": "", "source": "user", "metadata": {}}], "pagination": {"total_count": 353517, "max_page": 285281}} "422": application/json: {} events:list_names: @@ -3332,7 +3382,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "timestamp": "2025-07-15T01:45:09.588Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-09-23T01:46:04.113Z", "modified_at": "2024-10-13T09:06:05.186Z", "metadata": {"key": "", "key1": "", "key2": 4128.23}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-06-16T14:05:11.716Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "external_customer_id": "", "child_count": 0, "name": "", "source": "user", "metadata": {}} + application/json: {"id": "", "timestamp": "2025-07-15T01:45:09.588Z", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "customer_id": "", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-09-23T01:46:04.113Z", "modified_at": "2024-10-13T09:06:05.186Z", "metadata": {"key": "", "key1": "", "key2": 4128.23}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-06-16T14:05:11.716Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "external_customer_id": "", "child_count": 0, "label": "", "name": "", "source": "user", "metadata": {}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3466,7 +3516,7 @@ examples: application/json: {"billing_name": "", "billing_address": {"country": "US"}} responses: "200": - application/json: {"id": "", "created_at": "2023-07-07T02:27:33.933Z", "modified_at": "2025-12-06T08:14:38.290Z", "status": "pending", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_update", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-05-10T23:50:32.891Z", "modified_at": "2023-02-18T10:28:10.963Z", "metadata": {"key": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-09-27T12:39:54.419Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 364993, "key1": true, "key2": true}, "id": "", "created_at": "2023-04-12T21:30:23.720Z", "modified_at": "2025-07-30T06:39:42.272Z", "trial_interval": "day", "trial_interval_count": 687169, "name": "", "description": "yippee amid wire knowingly an er reproachfully mechanically who gym", "recurring_interval": "month", "recurring_interval_count": 241006, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "repeating", "duration_in_months": 919384, "type": "fixed", "basis_points": 485397, "created_at": "2023-04-20T01:15:36.927Z", "modified_at": "2025-08-12T14:50:46.554Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-06-20T13:39:02.935Z", "ends_at": "2024-06-17T01:44:44.306Z", "max_redemptions": 991144, "redemptions_count": 882356, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {"key": true, "key1": false}, "created_at": "2025-05-14T12:37:49.790Z", "modified_at": "2023-07-19T20:08:36.520Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 170714, "status": "incomplete", "current_period_start": "2025-06-29T04:23:47.957Z", "current_period_end": "2024-06-02T02:08:37.593Z", "trial_start": "2023-01-29T06:32:22.248Z", "trial_end": "2025-01-26T07:02:53.111Z", "cancel_at_period_end": true, "canceled_at": "2024-06-26T07:14:15.241Z", "started_at": "2025-06-03T07:15:00.193Z", "ends_at": "2023-09-17T15:31:40.614Z", "ended_at": "2024-06-15T15:33:26.067Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "unused", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}, {"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}, {"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}], "description": "Pro Plan"} + application/json: {"id": "", "created_at": "2023-07-07T02:27:33.933Z", "modified_at": "2025-12-06T08:14:38.290Z", "status": "pending", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_update", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "metadata": {}, "platform_fee_amount": 500, "platform_fee_currency": "usd", "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-05-10T23:50:32.891Z", "modified_at": "2023-02-18T10:28:10.963Z", "metadata": {"key": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-09-27T12:39:54.419Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "user_id": "", "product": {"metadata": {"key": 364993, "key1": true, "key2": true}, "id": "", "created_at": "2023-04-12T21:30:23.720Z", "modified_at": "2025-07-30T06:39:42.272Z", "trial_interval": "day", "trial_interval_count": 687169, "name": "", "description": "yippee amid wire knowingly an er reproachfully mechanically who gym", "recurring_interval": "month", "recurring_interval_count": 241006, "is_recurring": true, "is_archived": true, "organization_id": ""}, "discount": {"duration": "repeating", "duration_in_months": 919384, "type": "fixed", "basis_points": 485397, "created_at": "2023-04-20T01:15:36.927Z", "modified_at": "2025-08-12T14:50:46.554Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-06-20T13:39:02.935Z", "ends_at": "2024-06-17T01:44:44.306Z", "max_redemptions": 991144, "redemptions_count": 882356, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "subscription": {"metadata": {"key": true, "key1": false}, "created_at": "2025-05-14T12:37:49.790Z", "modified_at": "2023-07-19T20:08:36.520Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 170714, "status": "incomplete", "current_period_start": "2025-06-29T04:23:47.957Z", "current_period_end": "2024-06-02T02:08:37.593Z", "trial_start": "2023-01-29T06:32:22.248Z", "trial_end": "2025-01-26T07:02:53.111Z", "cancel_at_period_end": true, "canceled_at": "2024-06-26T07:14:15.241Z", "started_at": "2025-06-03T07:15:00.193Z", "ends_at": "2023-09-17T15:31:40.614Z", "ended_at": "2024-06-15T15:33:26.067Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "unused", "customer_cancellation_comment": ""}, "items": [{"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}, {"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}, {"created_at": "2025-11-07T03:04:15.446Z", "modified_at": "2024-02-25T04:48:42.731Z", "id": "", "label": "", "amount": 527788, "tax_amount": 941221, "proration": true, "product_price_id": ""}], "description": "Pro Plan"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3492,7 +3542,7 @@ examples: application/json: {"billing_name": "", "billing_address": {"country": "US"}} responses: "200": - application/json: {"id": "", "created_at": "2025-06-18T23:40:50.214Z", "modified_at": "2023-01-14T22:55:27.186Z", "status": "paid", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "purchase", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2024-02-03T21:16:03.609Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": 947072, "name": "", "description": "gee present next brief till or", "recurring_interval": "year", "recurring_interval_count": 817410, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-06-18T23:40:50.214Z", "modified_at": "2023-01-14T22:55:27.186Z", "id": "", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 459195, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 245978, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-02T01:31:39.639Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2024-04-27T06:51:48.796Z", "size_readable": "", "public_url": "https://monthly-concentration.com"}], "organization": {"created_at": "2024-05-09T04:05:31.223Z", "modified_at": "2025-07-23T21:23:51.247Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://finished-language.org/", "email": "Junior80@hotmail.com", "website": "", "socials": [], "status": "denied", "details_submitted_at": "2023-09-01T22:21:18.571Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 774330}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_past_due": true, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}}, "subscription": {"created_at": "2025-08-10T03:04:21.532Z", "modified_at": "2024-08-23T05:41:16.519Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 821156, "status": "incomplete_expired", "current_period_start": "2024-07-27T23:16:23.597Z", "current_period_end": "2025-01-04T16:08:44.590Z", "trial_start": null, "trial_end": "2025-05-04T04:31:46.399Z", "cancel_at_period_end": true, "canceled_at": "2025-03-10T21:35:49.211Z", "started_at": "2023-10-24T00:47:38.683Z", "ends_at": "2024-08-10T21:46:10.059Z", "ended_at": "2023-10-02T07:02:51.789Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": ""}, "items": [{"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}, {"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}, {"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}], "description": "Pro Plan"} + application/json: {"id": "", "created_at": "2025-06-18T23:40:50.214Z", "modified_at": "2023-01-14T22:55:27.186Z", "status": "paid", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "purchase", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user_id": "", "product": {"id": "", "created_at": "2024-02-03T21:16:03.609Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": 947072, "name": "", "description": "gee present next brief till or", "recurring_interval": "year", "recurring_interval_count": 817410, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-06-18T23:40:50.214Z", "modified_at": "2023-01-14T22:55:27.186Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "unit_amount": "", "cap_amount": 459195, "meter_id": "", "meter": {"id": "", "name": ""}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 245978, "storage_version": "", "checksum_etag": null, "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-02T01:31:39.639Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2024-04-27T06:51:48.796Z", "size_readable": "", "public_url": "https://monthly-concentration.com"}], "organization": {"created_at": "2024-05-09T04:05:31.223Z", "modified_at": "2025-07-23T21:23:51.247Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://finished-language.org/", "proration_behavior": "prorate", "allow_customer_updates": false}}, "subscription": {"created_at": "2025-08-10T03:04:21.532Z", "modified_at": "2024-08-23T05:41:16.519Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 821156, "status": "incomplete_expired", "current_period_start": "2024-07-27T23:16:23.597Z", "current_period_end": "2025-01-04T16:08:44.590Z", "trial_start": null, "trial_end": "2025-05-04T04:31:46.399Z", "cancel_at_period_end": true, "canceled_at": "2025-03-10T21:35:49.211Z", "started_at": "2023-10-24T00:47:38.683Z", "ends_at": "2024-08-10T21:46:10.059Z", "ended_at": "2023-10-02T07:02:51.789Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": ""}, "items": [{"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}, {"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}, {"created_at": "2024-10-06T01:05:33.969Z", "modified_at": "2024-09-29T23:53:44.892Z", "id": "", "label": "", "amount": 924277, "tax_amount": 651911, "proration": false, "product_price_id": ""}], "description": "Pro Plan"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3775,7 +3825,7 @@ examples: speakeasy-default-customer-portal:seats:list-claimed-subscriptions: responses: "200": - application/json: [{"created_at": "2023-07-05T03:11:10.458Z", "modified_at": null, "id": "", "amount": 188802, "currency": "East Caribbean Dollar", "recurring_interval": "month", "recurring_interval_count": 168916, "status": "trialing", "current_period_start": "2025-09-23T18:01:38.664Z", "current_period_end": null, "trial_start": "2024-11-15T19:25:07.298Z", "trial_end": "2024-11-21T16:14:26.632Z", "cancel_at_period_end": true, "canceled_at": "2025-09-04T07:50:50.427Z", "started_at": "2025-04-06T15:41:59.631Z", "ends_at": "2024-01-11T20:31:07.862Z", "ended_at": "2025-07-13T17:45:41.928Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-07-01T03:12:52.869Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": 622272, "name": "", "description": "airbus irritably loudly jive drain deployment happily badly oh", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-02-04T14:35:33.491Z", "modified_at": "2024-07-09T12:47:49.884Z", "id": "", "amount_type": "seat_based", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "seat_tiers": {"tiers": []}}], "benefits": [{"id": "", "created_at": "2024-01-28T05:47:37.378Z", "modified_at": "2024-03-11T13:18:09.440Z", "type": "discord", "description": "worth circular however congregate", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/spool", "mime_type": "", "size": 652913, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2025-01-29T20:54:15.453Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2024-11-20T13:19:02.015Z", "size_readable": "", "public_url": "https://trusty-ceramics.info/"}], "organization": {"created_at": "2024-11-01T13:25:57.001Z", "modified_at": "2024-08-12T19:24:27.962Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://frightened-designation.name/", "email": null, "website": "", "socials": [], "status": "onboarding_started", "details_submitted_at": "2024-04-15T00:33:04.792Z", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "revops_enabled": false, "wallets_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "allow_customer_updates": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 168916}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": false, "subscription_past_due": false, "subscription_revoked": true, "subscription_uncanceled": false, "subscription_updated": true}}}, "prices": [], "meters": [], "is_polar_managed": false}] + application/json: [{"created_at": "2023-07-05T03:11:10.458Z", "modified_at": null, "id": "", "amount": 188802, "currency": "East Caribbean Dollar", "recurring_interval": "month", "recurring_interval_count": 168916, "status": "trialing", "current_period_start": "2025-09-23T18:01:38.664Z", "current_period_end": null, "trial_start": "2024-11-15T19:25:07.298Z", "trial_end": "2024-11-21T16:14:26.632Z", "cancel_at_period_end": true, "canceled_at": "2025-09-04T07:50:50.427Z", "started_at": "2025-04-06T15:41:59.631Z", "ends_at": "2024-01-11T20:31:07.862Z", "ended_at": "2025-07-13T17:45:41.928Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-07-01T03:12:52.869Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": 622272, "name": "", "description": "airbus irritably loudly jive drain deployment happily badly oh", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-02-04T14:35:33.491Z", "modified_at": "2024-07-09T12:47:49.884Z", "id": "", "source": "catalog", "amount_type": "seat_based", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_currency": "", "seat_tiers": {"tiers": []}}], "benefits": [{"id": "", "created_at": "2024-01-28T05:47:37.378Z", "modified_at": "2024-03-11T13:18:09.440Z", "type": "discord", "description": "worth circular however congregate", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/spool", "mime_type": "", "size": 652913, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": null, "last_modified_at": "2025-01-29T20:54:15.453Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2024-11-20T13:19:02.015Z", "size_readable": "", "public_url": "https://trusty-ceramics.info/"}], "organization": {"created_at": "2024-11-01T13:25:57.001Z", "modified_at": "2024-08-12T19:24:27.962Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://frightened-designation.name/", "proration_behavior": "invoice", "allow_customer_updates": true}}, "prices": [], "meters": [], "is_polar_managed": false}] customer_portal:customer-session:introspect: speakeasy-default-customer-portal:customer-session:introspect: responses: @@ -3879,7 +3929,7 @@ examples: application/json: {"product_id": "d8dd2de1-21b7-4a41-8bc3-ce909c0cfe23", "customer_id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b"} responses: "201": - application/json: {"created_at": "2024-05-07T09:41:55.474Z", "modified_at": "2024-07-21T03:47:24.582Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 261853, "status": "incomplete", "current_period_start": "2025-05-30T22:14:44.546Z", "current_period_end": "2024-03-11T09:56:01.675Z", "trial_start": null, "trial_end": "2024-06-17T00:10:04.156Z", "cancel_at_period_end": true, "canceled_at": "2024-10-16T05:43:54.436Z", "started_at": "2023-08-13T14:15:39.992Z", "ends_at": "2023-02-26T21:36:33.823Z", "ended_at": null, "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-05-11T11:37:46.426Z", "modified_at": "2023-08-28T20:40:19.067Z", "metadata": {"key": ""}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-09T04:32:44.403Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-03-12T12:11:55.173Z", "modified_at": "2025-12-06T22:23:14.254Z", "trial_interval": "week", "trial_interval_count": 71746, "name": "", "description": "uneven lest shocked alongside", "recurring_interval": null, "recurring_interval_count": 106391, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [], "benefits": [{"id": "", "created_at": "2025-08-08T23:08:58.031Z", "modified_at": "2023-08-16T21:10:10.979Z", "type": "downloadables", "description": "consign ick circle", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": ""}, "properties": {"archived": {"key": false, "key1": true, "key2": false}, "files": ["", "", ""]}}], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-12-25T03:27:59.537Z", "modified_at": "2025-03-22T12:04:54.293Z", "id": "", "metadata": {}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 335043, "required": true}]}, "discount": {"duration": "repeating", "duration_in_months": 470978, "type": "percentage", "basis_points": 1000, "created_at": "2023-01-02T12:02:59.434Z", "modified_at": "2024-12-18T23:17:27.575Z", "id": "", "metadata": {"key": 583422}, "name": "", "code": "", "starts_at": "2024-06-09T18:09:09.489Z", "ends_at": "2025-04-22T20:10:26.485Z", "max_redemptions": 345910, "redemptions_count": 235299, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-08-05T18:43:39.547Z", "modified_at": "2023-03-08T07:36:56.095Z", "id": "", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_currency": "", "price_amount": 984500, "legacy": true}], "meters": []} + application/json: {"created_at": "2024-05-07T09:41:55.474Z", "modified_at": "2024-07-21T03:47:24.582Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 261853, "status": "incomplete", "current_period_start": "2025-05-30T22:14:44.546Z", "current_period_end": "2024-03-11T09:56:01.675Z", "trial_start": null, "trial_end": "2024-06-17T00:10:04.156Z", "cancel_at_period_end": true, "canceled_at": "2024-10-16T05:43:54.436Z", "started_at": "2023-08-13T14:15:39.992Z", "ends_at": "2023-02-26T21:36:33.823Z", "ended_at": null, "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-05-11T11:37:46.426Z", "modified_at": "2023-08-28T20:40:19.067Z", "metadata": {"key": ""}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-09T04:32:44.403Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-03-12T12:11:55.173Z", "modified_at": "2025-12-06T22:23:14.254Z", "trial_interval": "week", "trial_interval_count": 71746, "name": "", "description": "uneven lest shocked alongside", "recurring_interval": null, "recurring_interval_count": 106391, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [], "benefits": [{"id": "", "created_at": "2025-08-08T23:08:58.031Z", "modified_at": "2023-08-16T21:10:10.979Z", "type": "downloadables", "description": "consign ick circle", "selectable": false, "deletable": false, "organization_id": "", "metadata": {"key": ""}, "properties": {"archived": {"key": false, "key1": true, "key2": false}, "files": ["", "", ""]}}], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-12-25T03:27:59.537Z", "modified_at": "2025-03-22T12:04:54.293Z", "id": "", "metadata": {}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 335043, "required": true}]}, "discount": {"duration": "repeating", "duration_in_months": 470978, "type": "percentage", "basis_points": 1000, "created_at": "2023-01-02T12:02:59.434Z", "modified_at": "2024-12-18T23:17:27.575Z", "id": "", "metadata": {"key": 583422}, "name": "", "code": "", "starts_at": "2024-06-09T18:09:09.489Z", "ends_at": "2025-04-22T20:10:26.485Z", "max_redemptions": 345910, "redemptions_count": 235299, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-08-05T18:43:39.547Z", "modified_at": "2023-03-08T07:36:56.095Z", "id": "", "source": "catalog", "amount_type": "fixed", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_currency": "", "price_amount": 984500, "legacy": true}], "meters": []} "422": application/json: {} customer_portal:wallets:list: @@ -3947,6 +3997,7319 @@ examples: application/json: {"error": "ResourceNotFound", "detail": ""} "422": application/json: {} + members:list_members: + speakeasy-default-members:list-members: + parameters: + query: + page: 1 + limit: 10 + responses: + "200": + application/json: {"items": [], "pagination": {"total_count": 479953, "max_page": 585469}} + "422": + application/json: {} + event-types:list: + speakeasy-default-event-types:list: + parameters: + query: + organization_id: "1dbfc517-0bbf-4301-9ba8-555ca42b9737" + root_events: false + page: 1 + limit: 10 + responses: + "200": + application/json: {"items": [], "pagination": {"total_count": 670158, "max_page": 438774}} + "422": + application/json: {} + event-types:update: + speakeasy-default-event-types:update: + parameters: + path: + id: "" + requestBody: + application/json: {"label": ""} + responses: + "200": + application/json: {"created_at": "2024-10-23T01:57:20.651Z", "modified_at": "2025-09-23T16:57:59.051Z", "id": "", "name": "", "label": "", "organization_id": ""} + "422": + application/json: {} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Python SDK Changes Detected:\n* `polar.customer_portal.license_keys.list()`: `request.organization_id` **Removed** **Breaking** :warning:\n* `polar.customer_portal.orders.list()`: \n * `request.organization_id` **Removed** **Breaking** :warning:\n * `response.items.[].product.organization` **Changed**\n* `polar.events.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.events.list()`: \n * `request.parent_id` **Added**\n * `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.checkouts.client_update()`: `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.update()`: `response` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorganization_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar.customer_portal.downloadables.list()`: `request.organization_id` **Removed** **Breaking** :warning:\n* `polar.organizations.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.customer_portal.benefit-grants.list()`: \n * `request.organization_id` **Removed** **Breaking** :warning:\n * `response.items.[].[customer_benefit_grant_discord].benefit.organization` **Changed**\n* `polar.organizations.update()`: \n * `request.organization_update` **Changed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.checkouts.client_confirm()`: `response` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.list()`: \n * `request.organization_id` **Removed** **Breaking** :warning:\n * `response.items.[].product.organization` **Changed**\n* `polar.checkouts.client_get()`: `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.create()`: `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.list()`: `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.update()`: \n * `request.customer_subscription_update.[customer_subscription_update_seats]` **Added**\n * `response.product.organization` **Changed**\n* `polar.wallets.list()`: **Added**\n* `polar.webhooks.get_webhook_endpoint()`: `response.enabled` **Added**\n* `polar.organizations.list()`: `response.items.[]` **Changed**\n* `polar.webhooks.create_webhook_endpoint()`: `response.enabled` **Added**\n* `polar.webhooks.list_webhook_endpoints()`: `response.items.[].enabled` **Added**\n* `polar.subscriptions.update()`: \n * `request.subscription_update.[subscription_update_seats]` **Added**\n* `polar.metrics.get()`: `response` **Changed**\n* `polar.organizations.get()`: `response` **Changed**\n* `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_meter_credit].benefit.organization` **Changed**\n* `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_discord].benefit.organization` **Changed**\n* `polar.subscriptions.create()`: **Added**\n* `polar.webhooks.update_webhook_endpoint()`: \n * `request.webhook_endpoint_update.enabled` **Added**\n * `response.enabled` **Added**\n* `polar.customer_portal.seats.assign_seat()`: \n * `request.immediate_claim` **Added**\n* `polar.webhooks.reset_webhook_endpoint_secret()`: `response.enabled` **Added**\n* `polar.wallets.top_up()`: **Added**\n* `polar.customer_portal.orders.get()`: `response.product.organization` **Changed**\n* `polar.customer_portal.orders.update()`: `response.product.organization` **Changed**\n* `polar.customer_portal.organizations.get()`: `response.organization` **Changed**\n* `polar.wallets.get()`: **Added**\n* `polar.customer_portal.subscriptions.get()`: `response.product.organization` **Changed**\n* `polar.customer_portal.subscriptions.cancel()`: `response.product.organization` **Changed**\n* `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.[].product.organization` **Changed**\n* `polar.customer-seats.assign_seat()`: \n * `request.immediate_claim` **Added**\n* `polar.customer_portal.wallets.list()`: **Added**\n* `polar.customer_portal.wallets.get()`: **Added**\n* `polar.events.ingest()`: \n * `request.events.[]` **Changed**\n * `response.duplicates` **Added**\n" +releaseNotes: "## Python SDK Changes Detected:\n* `polar.checkouts.client_get()`: `response` **Changed** **Breaking** :warning:\n* `polar.events.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.events.list()`: \n * `request.depth` **Added**\n * `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.update()`: `response.product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.cancel()`: `response.product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.get()`: `response.product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.list()`: `response.items.[].product` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_created_post()`: \n * `request.data.platform_fee_currency` **Added** **Breaking** :warning:\n* `polar._endpointorder_updated_post()`: \n * `request.data.platform_fee_currency` **Added** **Breaking** :warning:\n* `polar._endpointorder_paid_post()`: \n * `request.data.platform_fee_currency` **Added** **Breaking** :warning:\n* `polar._endpointorder_refunded_post()`: \n * `request.data.platform_fee_currency` **Added** **Breaking** :warning:\n* `polar._endpointsubscription_created_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_updated_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_active_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_canceled_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_uncanceled_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_revoked_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_created_post()`: \n * `request.data.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_updated_post()`: \n * `request.data.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointorganization_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar.customer_portal.organizations.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.organizations.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.customer_portal.orders.update()`: `response.product` **Changed** **Breaking** :warning:\n* `polar.organizations.update()`: \n * `request.organization_update` **Changed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.customer_portal.orders.get()`: `response.product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.orders.list()`: `response.items.[].product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.[].product` **Changed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.update()`: `response.[customer_benefit_grant_license_keys].benefit.organization` **Changed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.get()`: `response.[customer_benefit_grant_git_hub_repository].benefit.organization` **Changed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.list()`: \n * `request.sorting` **Changed**\n * `response.items.[].[customer_benefit_grant_discord].benefit.organization` **Changed** **Breaking** :warning:\n* `polar.customers.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.members` **Added**\n* `polar.metrics.get()`: \n * `request.metrics` **Added**\n * `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.client_confirm()`: \n * `request.checkout_confirm_stripe.allow_trial` **Added**\n * `response` **Changed** **Breaking** :warning:\n * `error.[trial_already_redeemed]` **Added**\n* `polar.checkouts.client_update()`: \n * `request.checkout_update_public.allow_trial` **Added**\n * `response` **Changed** **Breaking** :warning:\n * `error.[trial_already_redeemed]` **Added**\n* `polar.products.update_benefits()`: `response.prices.[]` **Changed**\n* `polar.customers.get()`: \n * `request.include_members` **Added**\n * `response.members` **Added**\n* `polar.orders.get()`: `response.platform_fee_currency` **Added**\n* `polar.orders.update()`: `response.platform_fee_currency` **Added**\n* `polar.checkouts.list()`: `response.items.[]` **Changed**\n* `polar.checkouts.create()`: \n * `request` **Changed**\n * `response` **Changed**\n* `polar.checkouts.get()`: `response` **Changed**\n* `polar.checkouts.update()`: \n * `request.checkout_update.allow_trial` **Added**\n * `response` **Changed**\n * `error.[trial_already_redeemed]` **Added**\n* `polar.members.list_members()`: **Added**\n* `polar.products.update()`: `response.prices.[]` **Changed**\n* `polar.products.get()`: `response.prices.[]` **Changed**\n* `polar.products.create()`: `response.prices.[]` **Changed**\n* `polar.metrics.limits()`: `response.intervals.hour.min_days` **Added**\n* `polar.checkout-links.list()`: `response.items.[].products.[].prices.[]` **Changed**\n* `polar.checkout-links.create()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkout-links.get()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkout-links.update()`: `response.products.[].prices.[]` **Changed**\n* `polar.customers.list()`: \n * `request.include_members` **Added**\n * `response.items.[].members` **Added**\n* `polar.products.list()`: `response.items.[].prices.[]` **Changed**\n* `polar.orders.list()`: `response.items.[].platform_fee_currency` **Added**\n* `polar.customers.update()`: \n * `request.include_members` **Added**\n * `response.members` **Added**\n* `polar.customers.get_external()`: \n * `request.include_members` **Added**\n * `response.members` **Added**\n* `polar.customers.update_external()`: \n * `request.include_members` **Added**\n * `response.members` **Added**\n* `polar.webhooks.list_webhook_deliveries()`: `response.items.[].webhook_event.skipped` **Added**\n* `polar.subscriptions.update()`: \n * `request.subscription_update.[subscription_update_billing_period]` **Added**\n * `response.product.prices.[]` **Changed**\n* `polar.subscriptions.revoke()`: `response.product.prices.[]` **Changed**\n* `polar.subscriptions.get()`: `response.product.prices.[]` **Changed**\n* `polar.subscriptions.create()`: `response.product.prices.[]` **Changed**\n* `polar.subscriptions.list()`: \n * `request.cancel_at_period_end` **Added**\n * `response.items.[].product.prices.[]` **Changed**\n* `polar.organizations.get()`: `response` **Changed**\n* `polar.organizations.list()`: `response.items.[]` **Changed**\n* `polar.wallets.top_up()`: **Deleted** **Breaking** :warning:\n* `polar.wallets.get()`: **Deleted** **Breaking** :warning:\n* `polar.wallets.list()`: **Deleted** **Breaking** :warning:\n* `polar.customers.get_balance()`: **Deleted** **Breaking** :warning:\n* `polar.event-types.update()`: **Added**\n* `polar.event-types.list()`: **Added**\n" +persistentEdits: + generation_id: 6121ff57-fca4-42a0-b385-1cc1e4c8e19d + pristine_commit_hash: 1e0420cb6631848dfd5e9ac000e223306b7d3844 + pristine_tree_hash: e6043b007843e21fd3cfa09aec79516c1e3fff24 +trackedFiles: + .devcontainer/README.md: + id: b170c0f184ac + last_write_checksum: sha1:e2a191a1fa8ceb27387eb32eabf36f7ad16a532c + pristine_git_object: 7991336bbcbd6f4953eabe719b8dd5eae154e9c0 + .devcontainer/devcontainer.json: + id: b34062a34eb1 + last_write_checksum: sha1:fbbce5654b8990b172a9ffe841d7635cd51c495b + pristine_git_object: 7e67af9f5b5aeed56bab8dd84f75d3729df3ada1 + .devcontainer/setup.sh: + id: 5f1dfbfeb8eb + last_write_checksum: sha1:4dadfe2153dcef17277f1edc0bea02265b211303 + pristine_git_object: d0ba5dd28f334d6474f497975d8a203d3af58ab2 + .gitattributes: + id: 24139dae6567 + last_write_checksum: sha1:53134de3ada576f37c22276901e1b5b6d85cd2da + pristine_git_object: 4d75d59008e4d8609876d263419a9dc56c8d6f3a + .vscode/settings.json: + id: 89aa447020cd + last_write_checksum: sha1:f84632c81029fcdda8c3b0c768d02b836fc80526 + pristine_git_object: 8d79f0abb72526f1fb34a4c03e5bba612c6ba2ae + USAGE.md: + id: 3aed33ce6e6f + last_write_checksum: sha1:f0b26c208168f2dff9aa26cdbaf5c1a3a8fbff98 + pristine_git_object: edd08b93bd2cf4fc84123c69a4466ca2104d0600 + docs/models/activesubscriptions.md: + id: e2041fea6ed2 + last_write_checksum: sha1:b3eaf87dcdf62890d684cfc6ec8ddb2f574475c9 + pristine_git_object: 09e003cdc9c89d0d9286538ed9d451d2757ff757 + docs/models/activeuserbyevent.md: + id: 1199f791192f + last_write_checksum: sha1:fc288fb93c2a8c2223d988eacdf88dd2e93ed415 + pristine_git_object: 00806280b1e5c53264ef8988ade9080825909973 + docs/models/address.md: + id: 308e7ce51a5c + last_write_checksum: sha1:c82f0bccce930e7dfb7696de7a8b0b5a154e641f + pristine_git_object: 4024d518bb8263ccc3d1d05b85f9cfce562ee0e5 + docs/models/addressdict.md: + id: 4cbe6d156dbf + last_write_checksum: sha1:498140cad526305fc068a313d7a195b3b077e222 + pristine_git_object: e23fd6cbcf08495cf7b0056925fc281518272be5 + docs/models/addressinput.md: + id: 78a0b08a1c9a + last_write_checksum: sha1:2f580a590bd72b67f6be39fefda54c25e7981b84 + pristine_git_object: efeb0382682ab3c4ce28abae474bf2c958b9feab + docs/models/aggregation.md: + id: 8eec6ac0a876 + last_write_checksum: sha1:2028ae03f5f49692de5c72ba3af5f626ba221653 + pristine_git_object: bf7e3b7f80f1d000709f7f1eb6ea1cdd4e79e413 + docs/models/aggregationfunction.md: + id: 707a6a0201d9 + last_write_checksum: sha1:3a60433a71f479483ef48be2243884b8d1639e8a + pristine_git_object: 2ad525c1561327c12864c4b802c8896381b01662 + docs/models/alreadyactivesubscriptionerror.md: + id: b9d7316cef5b + last_write_checksum: sha1:b76d7012875cdc1ff789471be72915509afc30ba + pristine_git_object: 0c604dd543b7879cb9166419215bfefa137bdea9 + docs/models/alreadycanceledsubscription.md: + id: f81f2c8117ed + last_write_checksum: sha1:7a87dfcdf4bc25a65121c05bba8beb5fd63534b3 + pristine_git_object: 56285d0c599654e53eb5662753379aeade8217a6 + docs/models/amount.md: + id: 437bf42a480e + last_write_checksum: sha1:34113749a666f2a37e5f64024dc2b0c2ee7f43c6 + pristine_git_object: f2ac052a5b3e21e81a01edb54f3329f7b11a4a4f + docs/models/attachedcustomfield.md: + id: f8a6823a6321 + last_write_checksum: sha1:0bc26d5dd77ab3d8851ee6e7e759bcaa92d3edab + pristine_git_object: ad01da30267a1a898e7821d0ef126bf8551a4d75 + docs/models/attachedcustomfieldcreate.md: + id: 7ffc25104edf + last_write_checksum: sha1:d0b8e06629ab5ebff1715a6434d13aebe140dca7 + pristine_git_object: c5ef60e636c601ea56fc2abe32f62bb162fb8c14 + docs/models/authorizationcodetokenrequest.md: + id: 0da216903846 + last_write_checksum: sha1:76284b3c1f32da03c762ae8bf50ca7adf9c6047f + pristine_git_object: c5bd63c042dfdcab5fbb9a34e94eef2b15719e1e + docs/models/authorizeorganization.md: + id: 030f74f78955 + last_write_checksum: sha1:79e37d6875e1cb3410dcb28f9d673ef34a6a51f4 + pristine_git_object: 82377ca5581eefed35bc869f891df1f3140cbfd2 + docs/models/authorizeresponseorganization.md: + id: f372b96bb003 + last_write_checksum: sha1:376aa016c0465e46beb06473065ed630574e2497 + pristine_git_object: 4ef1c4086cce87db75911e35d0b0de9b4e241528 + docs/models/authorizeresponseuser.md: + id: c815062e780e + last_write_checksum: sha1:f9d5a07316b91e90ac6c8377da6b1d179ed0a7cf + pristine_git_object: 65539df05132ab319e245390051e83025e8c9e7d + docs/models/authorizeuser.md: + id: cb04aa6a25be + last_write_checksum: sha1:e44eafd43e6b2f3c07aca75b5643f609f822bedf + pristine_git_object: 435025dd87c518b93d985a89fdf00c86439f03cb + docs/models/averageordervalue.md: + id: 5611d4ef369f + last_write_checksum: sha1:cdb0b5525cc2a84fa569f0f1fe9fcfae7fde7fae + pristine_git_object: e81330e9ca4beefec8ee30af68505deea9c89b58 + docs/models/averagerevenueperuser.md: + id: ebd99537ae20 + last_write_checksum: sha1:830ef8e35339f3a98d6f506e4636b6d99ffff821 + pristine_git_object: 540f714c3fef2dec1442004e2edd7cd64b6c8706 + docs/models/benefit.md: + id: 54c39820870d + last_write_checksum: sha1:238607ced01aeb17fe69b91f04ee98cf32eac883 + pristine_git_object: c80c3fd3dfc6a325a5d3e7bbc975650875c27651 + docs/models/benefitcreate.md: + id: 8eb005693306 + last_write_checksum: sha1:96917c2c3ccd03346e944db279d0b83561fa7ebb + pristine_git_object: 11ca0375eb5addc6283c434b0f46829070de4111 + docs/models/benefitcustom.md: + id: 2101cd9d082f + last_write_checksum: sha1:f11de8eb63cef172a1a03d6ec7b3ccc5fec6f96e + pristine_git_object: 95713000f46742f33d8ceb5d5971797fdea88a81 + docs/models/benefitcustomcreate.md: + id: f87ff2abb039 + last_write_checksum: sha1:c3570c74835a1ad7238f5f93c06fa33ac07549ed + pristine_git_object: bd8fbd3550b13e3329fd1e868b107b6081b85a80 + docs/models/benefitcustomcreatemetadata.md: + id: 7e91f3ed7855 + last_write_checksum: sha1:d8464b8965c4ecc15385fb48823475db320a4b0b + pristine_git_object: 238a0c297cd93428e82ddaa51f8b0ead89c9b4c0 + docs/models/benefitcustomcreateproperties.md: + id: c797716de2e2 + last_write_checksum: sha1:a284a2be6a347d3b3abb1e953be614e365127e30 + pristine_git_object: a00799bd583be4b05fd46e1df28c8fd71ffbcdb5 + docs/models/benefitcustommetadata.md: + id: 888ac4546295 + last_write_checksum: sha1:0683aeed3bd4e3ea2f62e4b46c6ea3a95a43ae47 + pristine_git_object: c3aeec7541551453b149e3eca62fa772c6d9db0c + docs/models/benefitcustomproperties.md: + id: 06a2f81db150 + last_write_checksum: sha1:a1a6c2abdba6754fe174fc209ce1eb710f590eae + pristine_git_object: 12dd6a42042f9f9a78ed8652ec084b16a2d88ba6 + docs/models/benefitcustomsubscriber.md: + id: 5aaaeecb892a + last_write_checksum: sha1:ee518f1b2d1cbf9e3f0135fe20d495ce6a3d055e + pristine_git_object: 5e14b3b937de0fdb9e395b252b2aa982a4392045 + docs/models/benefitcustomsubscribermetadata.md: + id: af89f859f02b + last_write_checksum: sha1:75370de1824b7bc895b03f330a0a5a91f230f428 + pristine_git_object: 4c833e0abcdfb028c191dc3b004660f5c9b16354 + docs/models/benefitcustomsubscriberproperties.md: + id: 543db756d750 + last_write_checksum: sha1:ea04921fcae1a905e266f2ad5ecea6ae627f0130 + pristine_git_object: 9fc58673b9ed1630cc68e527bc8d56e2dcea7411 + docs/models/benefitcustomupdate.md: + id: 5392572412ca + last_write_checksum: sha1:380ee949ea460bda55c19719087a3e7b37662a6f + pristine_git_object: 1427135a5ebaef4000d066357b2ab07b8ba2f993 + docs/models/benefitcustomupdatemetadata.md: + id: 38df7ac9597d + last_write_checksum: sha1:622f1204951c6f41de20bb25d66291d21719c087 + pristine_git_object: b11a2a15f6c1f805b6c660433e1fd0ab2b857329 + docs/models/benefitcycledevent.md: + id: acf2f2b3b6c7 + last_write_checksum: sha1:5b3fe5c02c0508bdcbd7dd6e7af22a068df6f7cf + pristine_git_object: 5c6f1db63415e7b88cc84b0744d7d02a63f058b3 + docs/models/benefitdiscord.md: + id: e0a5f244af59 + last_write_checksum: sha1:d47bc192a04877705b6bf3ebed42cd1690ddf087 + pristine_git_object: 7fa38d9206eb06ecd16e62783d34664c38ad1b87 + docs/models/benefitdiscordcreate.md: + id: 863fd8ed9c95 + last_write_checksum: sha1:1d615ba86ed7a14c572371b3e58cea7e07680ac8 + pristine_git_object: 9a6389dfa3674909d68b022c1f3d75de6b35a6dd + docs/models/benefitdiscordcreatemetadata.md: + id: d41687403210 + last_write_checksum: sha1:1361650fcd34ef998a664592f70aee084e2ac3e6 + pristine_git_object: 2e676d800e6856e2ddea5b9020c91247164c57a8 + docs/models/benefitdiscordcreateproperties.md: + id: 23474088cd6c + last_write_checksum: sha1:0391b90e27e2f28e5e0292fea95a6f91f8c2a091 + pristine_git_object: 8b08c42e8525ff372e856fe6130e89b51a9102d0 + docs/models/benefitdiscordmetadata.md: + id: 2ced033037fb + last_write_checksum: sha1:564982e7affaf7259dff33fb2e77ac64059e1d9c + pristine_git_object: 088ccf011b57c60120c739d49abee6f8d8b77b01 + docs/models/benefitdiscordproperties.md: + id: 468d40c37edd + last_write_checksum: sha1:eda089a8d1c22946d05563802246db5545e92a79 + pristine_git_object: 9a60b0c8964a97d00b748bc97aa4d2e950f8ea6b + docs/models/benefitdiscordsubscriber.md: + id: fe363b2b9a6e + last_write_checksum: sha1:680ecb0cbea0e7033230264d42571bffa3043470 + pristine_git_object: 7661cfaf0caf8ae111a2e6a1657df5460bd8b695 + docs/models/benefitdiscordsubscribermetadata.md: + id: 18fae832dee2 + last_write_checksum: sha1:171b0a78ee7356c9f65f8df8be1bd771c7b9fd56 + pristine_git_object: 5d397a66028073294134b52c689d51b3d756eb88 + docs/models/benefitdiscordsubscriberproperties.md: + id: 77c3274fce55 + last_write_checksum: sha1:779747f7bdb171b7abae83f6df8704bbcad3e6c1 + pristine_git_object: d4af786f52e8ed73357664e2b8ed35d8f5a5b96d + docs/models/benefitdiscordupdate.md: + id: 7b45bd9cd4fb + last_write_checksum: sha1:c9691208611e0131fd2c9b263ee1b114ee09fe0a + pristine_git_object: cd1c363672883aefc724b75c7bb267b98872176e + docs/models/benefitdiscordupdatemetadata.md: + id: 09016c016d77 + last_write_checksum: sha1:00f020082569456352ad9138a0018d18d718b0a6 + pristine_git_object: 089a11ed5531820b268080aa0c16d6823080afa1 + docs/models/benefitdownloadables.md: + id: 539f9f614270 + last_write_checksum: sha1:530901dc185965af1822bd71ce8123671a914192 + pristine_git_object: 2acbe48fc464063582cf5110ba26d0ad5fdd5682 + docs/models/benefitdownloadablescreate.md: + id: d49afbff6948 + last_write_checksum: sha1:eaa33b98f4c56d302afe2328666effcb7f66029a + pristine_git_object: 96251efe46999c78c04309a51025d5cacdcd6688 + docs/models/benefitdownloadablescreatemetadata.md: + id: 7c3b393eced4 + last_write_checksum: sha1:e74b513cd746806ab556bdcc8db3a8d508ffa2a6 + pristine_git_object: 508c84c300b058d7d9a3a873ea831cc67598b7b0 + docs/models/benefitdownloadablescreateproperties.md: + id: 289b2425888b + last_write_checksum: sha1:7c46adfd3a5ffd90ef69509d2fa73b65050e3828 + pristine_git_object: e4e51bd1fe20325f9a648535736f3eb6718a8f18 + docs/models/benefitdownloadablesmetadata.md: + id: 2298c4d0b096 + last_write_checksum: sha1:76e391c4b5bc0b3c22ccf2529dcf6c9efe7ca22f + pristine_git_object: 693887e2311bead7496f9d6b042bd91071c66ec7 + docs/models/benefitdownloadablesproperties.md: + id: 45b3fc5d870d + last_write_checksum: sha1:907d499c8bd27583fb1ebba927dec03d7846e5a7 + pristine_git_object: 5584f8496fc6beaaea18085a07f4b2fcefd55df1 + docs/models/benefitdownloadablessubscriber.md: + id: 3e4cfbf2126a + last_write_checksum: sha1:8debb960f096ccd818fc9845d459f3d02ead865b + pristine_git_object: 8fb7f7f324e598c23120ea21344b2e306a036c8d + docs/models/benefitdownloadablessubscribermetadata.md: + id: 9535437bb8cf + last_write_checksum: sha1:b9a40d65b835781ad9399973361964d4dfb64eed + pristine_git_object: 3749ee207ec903aff64a05d06ee8ac79cf12280e + docs/models/benefitdownloadablessubscriberproperties.md: + id: 0e2d5c9c70cc + last_write_checksum: sha1:c64b45999cc8697d45205eba713c316921c8e81a + pristine_git_object: 00a248cb3ce3925d1da74459a64a379a6251cf18 + docs/models/benefitdownloadablesupdate.md: + id: 91f26b33716a + last_write_checksum: sha1:d5c4ad52f4856e18c88fbb08112f9715367a0548 + pristine_git_object: bcf2dbf2adb065d7b8f9e2a72197b99119583c4d + docs/models/benefitdownloadablesupdatemetadata.md: + id: 168bccb1d986 + last_write_checksum: sha1:299e7c53534a66e0760f80684dec0f7c4636f517 + pristine_git_object: 70ec2db67130fc25ea3208926a38980408dfe0cd + docs/models/benefitgithubrepository.md: + id: ff8b1862d0e1 + last_write_checksum: sha1:8f1cbc4335f2697389c8cceea878bbdf02495156 + pristine_git_object: e90f3c1b0916058e3e9dd6dedc59e8d31c1ac0e5 + docs/models/benefitgithubrepositorycreate.md: + id: 165757d4d586 + last_write_checksum: sha1:1ca85b135243a648b15de65a31b6fdfcaa253989 + pristine_git_object: b154a82aacc743274cace42ad7e2eea43dd100a6 + docs/models/benefitgithubrepositorycreatemetadata.md: + id: b12ed817bd8d + last_write_checksum: sha1:1db19e81faeb0b1bec8afede549951c9c1ad5f0e + pristine_git_object: 88cdfd90c68bae8c5f1abd7757850bc5db1dcfee + docs/models/benefitgithubrepositorycreateproperties.md: + id: 0d2b13342021 + last_write_checksum: sha1:5a570bf35107fd6147e919a93bf249a955444006 + pristine_git_object: 8ad605a0bd1e6e1dd17c010796775ca145149526 + docs/models/benefitgithubrepositorycreatepropertiespermission.md: + id: 4f21d52a45dc + last_write_checksum: sha1:294729a4f1008ecc7e8df1ac2a7c21ae39deb444 + pristine_git_object: 8756c02ec3e9a6c488d289bbbebb74ac9cc3d211 + docs/models/benefitgithubrepositorymetadata.md: + id: 5f6417f27933 + last_write_checksum: sha1:550e954087ff2af48f9eebf5ff670c4d405af02d + pristine_git_object: b79422343c45b226caf5d8f2cabee3e19caf5b24 + docs/models/benefitgithubrepositoryproperties.md: + id: 7dc5064f2556 + last_write_checksum: sha1:67bf4d0990bb0c3980c7ae5ca1b9f033b03e79c6 + pristine_git_object: 49640445ddf91c6d97744c36240c83656585865e + docs/models/benefitgithubrepositorysubscriber.md: + id: 022cebb13837 + last_write_checksum: sha1:3d2db4c8bbd997c1ecaa9262e2118067c5bcd0a3 + pristine_git_object: 88d873a39aaceec9cd1af325451a1012ba0b4f7c + docs/models/benefitgithubrepositorysubscribermetadata.md: + id: 5a5bc1613a41 + last_write_checksum: sha1:c63cabc0d9bafc5e7f13d6bdf1acf39cd598789f + pristine_git_object: 769e33b158621fbf06d67773dd9ccee743ab8160 + docs/models/benefitgithubrepositorysubscriberproperties.md: + id: 107fe7688f7c + last_write_checksum: sha1:cd9d3594fac0d8a755207c59a6f3c88fac0f0abb + pristine_git_object: 2c9a739c09cea19de62039faefd69323adaf022f + docs/models/benefitgithubrepositoryupdate.md: + id: a4430f213007 + last_write_checksum: sha1:4ec2db68faaacda875676b954539e124d09c5088 + pristine_git_object: 6f8e48e89d864f62c10dd9c4a0fd86983c9f762b + docs/models/benefitgithubrepositoryupdatemetadata.md: + id: 4512c88e951b + last_write_checksum: sha1:98e37f59f1c52381260fe98a38043280fbcf2396 + pristine_git_object: 7d7ca9574b61267d9c3e22e13b257e98688fae0d + docs/models/benefitgrant.md: + id: 9df62bb15330 + last_write_checksum: sha1:e9cc6daec49fecb5cbde7c38078b0d40355e17e1 + pristine_git_object: 1f94aaa27a89d1b1aa8aadd3efb0d13f78be4444 + docs/models/benefitgrantcustomproperties.md: + id: 2c08080ebb95 + last_write_checksum: sha1:cf876e9f736a3dae7b6c0348e6a13f6714673134 + pristine_git_object: a008685d61ade7a2cfba3ec92d978cc2a7a2657c + docs/models/benefitgrantcustomwebhook.md: + id: 7e5bb01b940a + last_write_checksum: sha1:67d4e00c4b4e5f8222949e2bfea502c3821987e2 + pristine_git_object: fcd7c58bde1a59b3631f63d6a3a0a98aebac2deb + docs/models/benefitgrantdiscordproperties.md: + id: 6a71bd44bc35 + last_write_checksum: sha1:00513f7b891a6339223b7541c863699ba9c92521 + pristine_git_object: 05fe1be8c8518b5a104b76482db26d764200c853 + docs/models/benefitgrantdiscordwebhook.md: + id: 27c946c2e923 + last_write_checksum: sha1:6747b98db172c2910ee35d92436d9d55d8bdb4c9 + pristine_git_object: 7c2dedf47d1d314f2020af5a518a9e177833228c + docs/models/benefitgrantdownloadablesproperties.md: + id: ed9bf6c396ff + last_write_checksum: sha1:f3b71e648e917e81df93761da3da4b043a93bf8a + pristine_git_object: 3550a51426c5febf7d72cb50ae359519569ad934 + docs/models/benefitgrantdownloadableswebhook.md: + id: 4a84798bd925 + last_write_checksum: sha1:7272aa225faec65b624b87dd26cf7b4a3dc9bca3 + pristine_git_object: b3e2838d691fd2a1baa5c9414aecdb5f7ee0bd9d + docs/models/benefitgrantedevent.md: + id: d412bd6d5d1d + last_write_checksum: sha1:e87aa2b0bf235e41da7a0c4c6026d75b9cb6ad6c + pristine_git_object: 21ba50711880ea8456ae323d7f11569e8a1aa404 + docs/models/benefitgranterror.md: + id: acf4c877f6ea + last_write_checksum: sha1:311e29c4069c85a703d4835c06ab2699c38b7e23 + pristine_git_object: 229b22257c51f7febecd5f591e1d78b705936250 + docs/models/benefitgrantgithubrepositoryproperties.md: + id: f121c2cb1cf9 + last_write_checksum: sha1:efee0b2d81679c2d462543572d86e7a0aa553d22 + pristine_git_object: a2bf54b8c89bd3cd789324b09ecc7cd91abcfcc1 + docs/models/benefitgrantgithubrepositorypropertiespermission.md: + id: 374abca798f7 + last_write_checksum: sha1:062cfa3678a0ee2b5d0470c5f10ad01fa956a309 + pristine_git_object: 641131d6a5d50eee54f4b53c14d3588c1a77bc4b + docs/models/benefitgrantgithubrepositorywebhook.md: + id: e94e6438347d + last_write_checksum: sha1:fe523031aca232f23f6de2d733528591d0b8c01e + pristine_git_object: 4534336cea37224b201e7d7c0d58da88871cb52d + docs/models/benefitgrantlicensekeysproperties.md: + id: eae614284441 + last_write_checksum: sha1:3afb94fa2f3cb9bab57e93fd297185985bc0f8c9 + pristine_git_object: 4dc079bc6ab52c9be6aa3f2e3cb542160cbe224a + docs/models/benefitgrantlicensekeyswebhook.md: + id: e4d4a98dc74f + last_write_checksum: sha1:3a86ea744e9173cebef2aeb7a88d5d6615de3954 + pristine_git_object: 5aee6b973c4ae6633fbd4dbdc4a3da509c1464fa + docs/models/benefitgrantmetadata.md: + id: 9b60195299d3 + last_write_checksum: sha1:04669d3da8347c83ffc1d653ad878a435754cb86 + pristine_git_object: 7b622443c3c4f19b64cd18623f32e644e20422b5 + docs/models/benefitgrantmetercreditproperties.md: + id: bc1bb2945262 + last_write_checksum: sha1:2427903a94495e7c5fac3f611ce630e1639e4cb9 + pristine_git_object: 9b219f7d205a843cf0070dbfeaf1a99a6a837238 + docs/models/benefitgrantmetercreditwebhook.md: + id: 6b1dea8852e6 + last_write_checksum: sha1:2c3fe784887f3a28d90c3b6cbcd644324471e08a + pristine_git_object: 667dbb9e3234264901964a5c1e824340e01e0daa + docs/models/benefitgrantslistqueryparamcustomeridfilter.md: + id: 6af7d827214a + last_write_checksum: sha1:7e4e1e5a37de6c0cd8395a1e88a4bb0230ffcf5f + pristine_git_object: 1508fef18ef434de4a0946dc4e3bf2f3ed39b865 + docs/models/benefitgrantslistqueryparamorganizationidfilter.md: + id: ea68d7fdeea2 + last_write_checksum: sha1:2d0572b7443e73877bc67b51073f035a50dac5ae + pristine_git_object: 081df438d5642ffceb56429c102e9eec9c393e85 + docs/models/benefitgrantslistrequest.md: + id: 289f99f6de8e + last_write_checksum: sha1:3f933e5414bd933df4ca6c69c87bb67b1373f58d + pristine_git_object: a4e855c5f532d802ba5b04762b497e8455488f35 + docs/models/benefitgrantslistresponse.md: + id: "832392350932" + last_write_checksum: sha1:85e2f2d72670ab1aab523b4ae09fb429bbc0a766 + pristine_git_object: 44fa213e3fee6e91cb208e729d26d0cedfa5e620 + docs/models/benefitgrantsortproperty.md: + id: 16d899b7d62a + last_write_checksum: sha1:a3560b36fe423b2436d7e7afb8ea645a43a4431e + pristine_git_object: c1c0ac1f5a301248b784758aa94c6c95c9bb042c + docs/models/benefitgrantwebhook.md: + id: f3dba807f220 + last_write_checksum: sha1:65b5469a773d0872efc3401ebf5ff23df3cd7a32 + pristine_git_object: a5f84df149064190eb9a7ccec0ace1f5458d76f7 + docs/models/benefitidfilter.md: + id: 68e7b89c991c + last_write_checksum: sha1:b2fa0d4347f3bf6d942e95414c4806995bfb7039 + pristine_git_object: 5e4cb530ed9981e1a5a15ab6e9a377cbe92c2dcb + docs/models/benefitlicensekeyactivationcreateproperties.md: + id: e7c5b1d9a7e9 + last_write_checksum: sha1:c207aadf8431d3d184abf630642e2cd1e7519518 + pristine_git_object: de0c7144e56999e5c606cafec63bb86837ad6869 + docs/models/benefitlicensekeyactivationproperties.md: + id: ca4aedbb0338 + last_write_checksum: sha1:26fc1934a4a6d6a100bcbfedef930a5a56524887 + pristine_git_object: 2a87f6849abc5536ea658a7076a16eebdd94b636 + docs/models/benefitlicensekeyexpirationproperties.md: + id: fc8083895802 + last_write_checksum: sha1:c51bb1485d4dada565059b4312523d312244b433 + pristine_git_object: 7f811913e0d868451f5cf18e39c05e1aba386e98 + docs/models/benefitlicensekeys.md: + id: c5507d8ae0f4 + last_write_checksum: sha1:d983377060a52b2bfd4f5adfa54dfafb2ddd5ad0 + pristine_git_object: 9b152cbc301e8e10428f12f7a0bddaffc08392f7 + docs/models/benefitlicensekeyscreate.md: + id: d39e1f74d711 + last_write_checksum: sha1:cb663d551f693730918afce39a59e34bf881ea26 + pristine_git_object: 535ce1c51610f3f9f3710941f920388d6092d1ec + docs/models/benefitlicensekeyscreatemetadata.md: + id: 5177ae19236d + last_write_checksum: sha1:587612b184d029180260d99810c52e6db6738c9d + pristine_git_object: efd0f5395524a795e7f7017e8d0294bcdaff4a39 + docs/models/benefitlicensekeyscreateproperties.md: + id: 89a44a4840f3 + last_write_checksum: sha1:1d6de1832d986334fa2bda8d814ab6e0c427206c + pristine_git_object: c5a031417c95da3fea610481a351c63ca8335b45 + docs/models/benefitlicensekeysmetadata.md: + id: 9e4fe8fb56e4 + last_write_checksum: sha1:ecc350c28f5efea35de97869d19d3fc74ace2bf2 + pristine_git_object: 5479b3a6935756f3216de39ed64e987fe0dc113a + docs/models/benefitlicensekeysproperties.md: + id: f8f79e2c8b3d + last_write_checksum: sha1:a70e3deb585cbbcc3669c81e8e18342d467a1f4a + pristine_git_object: ea60382d1a28ca63aea124d427e0ad016ffdd7ae + docs/models/benefitlicensekeyssubscriber.md: + id: 3abfbb157aa5 + last_write_checksum: sha1:5a74e27b93151c0f5249453d6a31bdba52c827c0 + pristine_git_object: a0686a93597a0ac7e34b1b7fa5c65b605aab06ca + docs/models/benefitlicensekeyssubscribermetadata.md: + id: a06609589fd5 + last_write_checksum: sha1:46d17fd7d424c81ec447a4533fdc727ddf3f7283 + pristine_git_object: fb6ac23230bd794078df84de551f7e1a0d737443 + docs/models/benefitlicensekeyssubscriberproperties.md: + id: a962072a5467 + last_write_checksum: sha1:f3e3e67311822323f2fc8c2131eb42f3331271fb + pristine_git_object: ad2fbe511d38491ea53126159617b3938e5496c0 + docs/models/benefitlicensekeysupdate.md: + id: dbd20f1690b7 + last_write_checksum: sha1:0d58ae383d287efdc27712de1d065168eb2dbc21 + pristine_git_object: 35aea563748774716edc75a4e3e3175a1cc674a6 + docs/models/benefitlicensekeysupdatemetadata.md: + id: 793ece099400 + last_write_checksum: sha1:43fcd3dc709e37ccd499eda13f9841c7c04d13c6 + pristine_git_object: 224cea32ed8babbe53a37b7d908f130ce13986f9 + docs/models/benefitmetadata.md: + id: 8be398226283 + last_write_checksum: sha1:155641fb0b8f9a75dcafd69da9b1b8434ef2fe5c + pristine_git_object: 39c91d7e9a66b69a9e40537801eb4920af1224d5 + docs/models/benefitmetercredit.md: + id: 84a2918d5c88 + last_write_checksum: sha1:eff7d720bd14622afa6700bc3cb34a05800dba4b + pristine_git_object: c372dbeb053d4523e043948661887ee7bb9fe616 + docs/models/benefitmetercreditcreate.md: + id: d55fde2e116b + last_write_checksum: sha1:2de3be5be9b72de9b09b5962b8581010a45bba70 + pristine_git_object: 024b7541f0412f34120e9f4829637c4ce822326a + docs/models/benefitmetercreditcreatemetadata.md: + id: c5b8ce1d9110 + last_write_checksum: sha1:0f42c59ad0e2c373b1d03aabed4701c349d9f948 + pristine_git_object: 2785d87fcca3d059a51be5fcb4a56eab1cd0d375 + docs/models/benefitmetercreditcreateproperties.md: + id: 88554b217e81 + last_write_checksum: sha1:f6eb4fcfc27466f4e517e36940c0a144ac9acbdf + pristine_git_object: 3da81adc970f9dffa0da23f0c6762d049d599bda + docs/models/benefitmetercreditmetadata.md: + id: 9db9f56ca9ec + last_write_checksum: sha1:88709d3c9fdfec73ce7168fb5386281eecc27840 + pristine_git_object: 831970b2a9bb342acbb9493ca143ecad7f553436 + docs/models/benefitmetercreditproperties.md: + id: 898a30d63499 + last_write_checksum: sha1:4bc7c997add77b41ae2ce729c108b0de16e14c55 + pristine_git_object: d0dab5688ef40f1b3b799c30ac18207152c5fa62 + docs/models/benefitmetercreditsubscriber.md: + id: 5922d027372c + last_write_checksum: sha1:96048fbf649b1f0d71c39c5ff3054ee26eaa5409 + pristine_git_object: 972a38b3a2c897aa8d780a5fede86664b7012276 + docs/models/benefitmetercreditsubscribermetadata.md: + id: bf1c538dcaad + last_write_checksum: sha1:e5a6877b3e15324a2ba9e29298bc02bac53dd48b + pristine_git_object: c3db3825092da2c0003ea06ddfcf793590963803 + docs/models/benefitmetercreditsubscriberproperties.md: + id: 625c3ff000ad + last_write_checksum: sha1:2a22c301eb7cd742e97e989006697429b50089f2 + pristine_git_object: c818a1742a7f4ff58a47b5afd7b941e25c6ffeee + docs/models/benefitmetercreditupdate.md: + id: 2771dc95652f + last_write_checksum: sha1:001bb73a7eb90635cbca7b3866a702117917300c + pristine_git_object: 2703ddeb9c60203c966d3bcc5a9f845f119d6840 + docs/models/benefitmetercreditupdatemetadata.md: + id: 066a4a49cfbe + last_write_checksum: sha1:a2e4c96ee540e5d06230a64c74fb0d8fdb9f442f + pristine_git_object: c35cde93ce580f837a0d2400d5c2f65894648a4f + docs/models/benefitpublic.md: + id: 6629c8569a1b + last_write_checksum: sha1:a4ab73f4a85e7116e0a147c128e5e96d20e85421 + pristine_git_object: b3b0f5da39fd707bc78d1f89da802f3dec08ca59 + docs/models/benefitrevokedevent.md: + id: 71bfbe41488c + last_write_checksum: sha1:cde3673a3e9adea926487200cdc9d04528d8735f + pristine_git_object: 554df4263afb9ccf9e25b133a008487bb533ab11 + docs/models/benefitsdeleterequest.md: + id: 7015264d645a + last_write_checksum: sha1:390b91d5bd2d49ed7c956d697dffd865839d5e6e + pristine_git_object: 40497fe196277061c1b2a1189de8ed1112819da2 + docs/models/benefitsgetrequest.md: + id: "705330466213" + last_write_checksum: sha1:e1c06bf8188361b9aef8cce3d56790b6d893afa1 + pristine_git_object: 1632e01382d5fb42e2c69904c9bee8618db8bf66 + docs/models/benefitsgrantsrequest.md: + id: b1a3d81bb138 + last_write_checksum: sha1:a5188e381bcaa9a83ccf49f06f761d23c6b267ac + pristine_git_object: 6100f2ba38d0ffd1cdfbaa1be892123df19747e9 + docs/models/benefitsgrantsresponse.md: + id: e8627dc62df8 + last_write_checksum: sha1:d9ed696d6ee2529e78513ebc829415be4f5a243d + pristine_git_object: 44a1c3977e10e8a9ba21e6a1b59a834769ccbe11 + docs/models/benefitslistrequest.md: + id: 483ed7b4578a + last_write_checksum: sha1:2d9ac3eca3b9e480fa122721615513718bc2edde + pristine_git_object: 148c260ecd97bac136ef9d86ab7c21bf9ddde31d + docs/models/benefitslistresponse.md: + id: 0dd80424a23b + last_write_checksum: sha1:205aacf21e115be0937b1edcbb28ab1ccc61f78c + pristine_git_object: b167fe8fe3699cb1fe29c05aed6e6f8a8724bcfb + docs/models/benefitsortproperty.md: + id: 4cbfeb73ec3c + last_write_checksum: sha1:b7ad77ab117db9835bfb10cb6b584e1e8f678e3f + pristine_git_object: 7e38d8179668af2b640c3db1fb87740ead2f09b8 + docs/models/benefitsubscriberorganization.md: + id: cd5df587d321 + last_write_checksum: sha1:2746ca75992333aeb1c4a4b58ec3c39f08bb8549 + pristine_git_object: cc0b284d09f929ac1d79bd026a68ac51a63a3d37 + docs/models/benefitsupdatebenefitupdate.md: + id: b615811d5668 + last_write_checksum: sha1:e51bdd2d2d85d458927f6f061ccdc4a3b860ba1d + pristine_git_object: d20a0bdb59d90baa5607fb7f591f4551bb1c8578 + docs/models/benefitsupdaterequest.md: + id: e31331de64fa + last_write_checksum: sha1:b65770a91de3647200dc57ba6ab51e95d2dad09c + pristine_git_object: 3a2c20b2eaa13492ab62c7df03301f8a2c17e5d1 + docs/models/benefittype.md: + id: 4f287ab48d17 + last_write_checksum: sha1:f754111e73f4ea62d088479e7250889cfd8796cc + pristine_git_object: 34a8b727e456694bd23c29a35f8467169616e828 + docs/models/benefittypefilter.md: + id: 87d0636c1033 + last_write_checksum: sha1:ab2770b61c2d09b9111d2ec5bbd1f910cd91ab26 + pristine_git_object: 25a0cbd45714a15f6216bcc479d3932915376e46 + docs/models/benefitupdatedevent.md: + id: fc78c4d02390 + last_write_checksum: sha1:b5be143b7681412bcebb41cabff0a4dcc26a1f15 + pristine_git_object: 67de29e39a6d0d423a31700136b1f873ed16c775 + docs/models/billingaddressfieldmode.md: + id: 2f27c2178966 + last_write_checksum: sha1:0e8d0fcff317a974350640f1622e897c97e48bec + pristine_git_object: 034f664efc255cc5eb668f44efdd624872ad6851 + docs/models/canceledsubscriptions.md: + id: 5f4be7726f24 + last_write_checksum: sha1:76820ee1859333433227f22c8c94f60c49982333 + pristine_git_object: 73d2cd4e82db4d7e258e0c795cf8adc604ec092c + docs/models/canceledsubscriptionscustomerservice.md: + id: daa9a35b8358 + last_write_checksum: sha1:98b9290ec7273594fdf932d1e69671aa06dd8a1d + pristine_git_object: 6b69b109da185d1f26b91b5afa7d35861b05343f + docs/models/canceledsubscriptionslowquality.md: + id: 3628346f5a34 + last_write_checksum: sha1:b79b18f56d4c7a3480cda81f8de0cf10ad0fb698 + pristine_git_object: c7381337b92102341a423bb736dec25308284785 + docs/models/canceledsubscriptionsmissingfeatures.md: + id: ba9f17e68e63 + last_write_checksum: sha1:62ba0bfe533bf33144c696d1239502ef386ae8c2 + pristine_git_object: 10d8d9d4c15c15e813e3c728ae241356bada5f4b + docs/models/canceledsubscriptionsother.md: + id: f36c821b55aa + last_write_checksum: sha1:09515091028392f36bf8920dd910010d66beff56 + pristine_git_object: e9813e103299aac955c994412eb2dd4fcdf86892 + docs/models/canceledsubscriptionsswitchedservice.md: + id: ee2a563dff18 + last_write_checksum: sha1:249a9a80d88465ae43038d9de78340580c86c32f + pristine_git_object: 259b27f250f1eee5e9b3faa1576ee844dae20084 + docs/models/canceledsubscriptionstoocomplex.md: + id: 0b60e7bfcc2c + last_write_checksum: sha1:fd541b885433911f16a21bb6e90683816a80ad9d + pristine_git_object: 0ed235bcc4ca8c52095f992e1a9762ea49a4a30f + docs/models/canceledsubscriptionstooexpensive.md: + id: d0aecd5fb9c0 + last_write_checksum: sha1:bef2839cb7ec8d7c6ed31edb27df40a6cfabe8a5 + pristine_git_object: 91385f101a623502c7f68a392a968b5e1da3e7f8 + docs/models/canceledsubscriptionsunused.md: + id: a4d16b920b9c + last_write_checksum: sha1:84ab1011043dfc65ffc9ddf9776c76c86aa0b69a + pristine_git_object: 9825c7bf45513fe43eb03d76c4df71fd7b2e9b3e + docs/models/cardpayment.md: + id: e1865156980f + last_write_checksum: sha1:2fe9208598d80ff668080ba460eca5dffa0f7919 + pristine_git_object: 1311f0e97ea563888f781581f69fa79c7f72c5d3 + docs/models/cardpaymentmetadata.md: + id: f913ac41ad6b + last_write_checksum: sha1:ccd6962ce5bb8ac5d622e65fd5e6280b09e7f3a6 + pristine_git_object: f42515308689c8b9bab07cff44c743d811d20d67 + docs/models/cashflow.md: + id: 6bc4c46ba3b8 + last_write_checksum: sha1:1e9738516a979aa16a1dc2121b99d72055fc9abc + pristine_git_object: 3c836d8df2675ce5a2e20803441594ee9447e794 + docs/models/checkout.md: + id: a0f4e03f31d3 + last_write_checksum: sha1:689dbbd56d7421e80b01feed6ae5041c1a99ece2 + pristine_git_object: c52bb3dc11257aa4b686ed7f4e22fce2a8ad37d0 + docs/models/checkoutbillingaddressfields.md: + id: afd09b04fbac + last_write_checksum: sha1:4f9b44268a23c42b8af95d971f7642138d4542b1 + pristine_git_object: ddeb5c7ad4a7ae78e499c3693931a906ece632d9 + docs/models/checkoutconfirmstripe.md: + id: 858ec55ae628 + last_write_checksum: sha1:56644f9e10a15c511af664080115c7ba25c4818d + pristine_git_object: 06abaa578f2719ed0340dd5b851633de3d53d486 + docs/models/checkoutconfirmstripecustomfielddata.md: + id: e397843e93d3 + last_write_checksum: sha1:8e5feb192029fd53eabd49eab94326d92b5b03f0 + pristine_git_object: 9e5a581729794501dfb24b1b4abcaeba8e26e3e3 + docs/models/checkoutcreate.md: + id: c498f8c51c4f + last_write_checksum: sha1:3b5a1359a4b04825c1035d71b0bbe224e806670f + pristine_git_object: 6676516e57254e0a6a7f85650895e10ba3fe1f7d + docs/models/checkoutcreatecustomermetadata.md: + id: 04b9a4e5dcf5 + last_write_checksum: sha1:39510973eb3370dcf053e8f4b3e75d880ce8dd7e + pristine_git_object: f538532d59d51b8559eccced0d2e7dc5ba2c6141 + docs/models/checkoutcreatecustomfielddata.md: + id: 7c32bc2f90b9 + last_write_checksum: sha1:7f8c60bf790b340b76d68f8b52b7b58e8dbbdb9d + pristine_git_object: 9e7c1f96f6edd1d76bed05e848dddcc992f55d0e + docs/models/checkoutcreatemetadata.md: + id: 5596e98939ba + last_write_checksum: sha1:f76f88443f2a3025b5b16cde086837884e6a05b5 + pristine_git_object: e2d7169e3d6c0658a53e976f260d4f88c2482378 + docs/models/checkoutcreateprices.md: + id: 52991b8a7888 + last_write_checksum: sha1:69bac6932800e9c0382a2f24e330031d176bdc73 + pristine_git_object: d5cc6c4110c61095c0a032b8aedd9a6d539a02de + docs/models/checkoutcustomfielddata.md: + id: 02fc77f02e1c + last_write_checksum: sha1:ee292c78881aac65ec8df895b86aace4098db9b4 + pristine_git_object: 2ac45bee271e78a7e3eb9dad9e18af37bf6c8670 + docs/models/checkoutdiscount.md: + id: 29de4f6b4643 + last_write_checksum: sha1:b6a951cf9ffcfab1602be9ec4bab2dc67b1e5d65 + pristine_git_object: d9b4ed2ff4b17bce82f2821913266b9a460cfdc1 + docs/models/checkoutdiscountfixedonceforeverduration.md: + id: a87fdd3377fd + last_write_checksum: sha1:a993d5ae70ed36330c263d460a56e706ced7512b + pristine_git_object: 02b18faed2997c5cd6cd9491ce4ec06d4c94d778 + docs/models/checkoutdiscountfixedrepeatduration.md: + id: 1b0408c08c0a + last_write_checksum: sha1:b39300ab0234b36fa6903c5fa312fbb9b537faba + pristine_git_object: 7ce9a72e897179973a5691f40f65fc93b384fdc6 + docs/models/checkoutdiscountpercentageonceforeverduration.md: + id: 826e3d0d9bb2 + last_write_checksum: sha1:a86d40fe05b554952631fa5f0990d5d0679eeb56 + pristine_git_object: 3e03e49f69974d7aa19e960c2d0649dc10d6cceb + docs/models/checkoutdiscountpercentagerepeatduration.md: + id: 37cedb8f4175 + last_write_checksum: sha1:cc93853b116e39f08ca83c67d3ceca3208219b88 + pristine_git_object: a0aa057b755f36e265b3db110854cc69a90b8062 + docs/models/checkoutforbiddenerror.md: + id: 570a33f3e952 + last_write_checksum: sha1:efc7e9c89ca4015ad6dc236ce1aa74ccd210035c + pristine_git_object: 981e72ef340dbd1a9e6bc8df5f5731be02b8e9e2 + docs/models/checkoutidfilter.md: + id: fd9d5110cf30 + last_write_checksum: sha1:89e4e5f36a0183a4bca8cb9633067ae9eaed0b78 + pristine_git_object: deef66992362ed8ba3893ac5bb53a818f85c3f7e + docs/models/checkoutlink.md: + id: eb78d2441df6 + last_write_checksum: sha1:4128b50df9f36e805327b42e029a5b4336500a2e + pristine_git_object: f14f76b12cd38f0da0a87ba9248636454b02b7ad + docs/models/checkoutlinkcreate.md: + id: a404b15c66d9 + last_write_checksum: sha1:4971aa59c8af88f56f54cfa55f1a4a9d2ae2a0d8 + pristine_git_object: 76d3d2d0be1d89d43a40c0c9bfb1a88c343f68fa + docs/models/checkoutlinkcreateproduct.md: + id: 73070f2b1061 + last_write_checksum: sha1:99c3422d62b2c904c0048aae2d04e3fc2bd6c46f + pristine_git_object: dbf98e5c4f8a977df443757e99ea4bb1252a1974 + docs/models/checkoutlinkcreateproductmetadata.md: + id: 9b9129bb8823 + last_write_checksum: sha1:717760f819361613fa6986f890e44b4a6c7d7fce + pristine_git_object: a5e2d51f2d864f0c8c027b55f89f99ca6cf29156 + docs/models/checkoutlinkcreateproductprice.md: + id: 601d244f2c81 + last_write_checksum: sha1:c6e5b53dadfce74f11e657026cc5d380cf1730e3 + pristine_git_object: 5bc0baa37ad13151c795a13f26c6e119a85caa2e + docs/models/checkoutlinkcreateproductpricemetadata.md: + id: 682c8140cb8c + last_write_checksum: sha1:a7bed1bda868dfa3dfacb639453d67971ec2ef13 + pristine_git_object: 34cdd92565b188630d15e57253c5f7d35ab41c66 + docs/models/checkoutlinkcreateproducts.md: + id: 7dc630925605 + last_write_checksum: sha1:147a94e7da0a4d28a6816acb9fb1a6bb49c98cac + pristine_git_object: 32fd1a3cf3c6d8b4b1ee65ba57573bd4043b809d + docs/models/checkoutlinkcreateproductsmetadata.md: + id: 102b3f02af4b + last_write_checksum: sha1:9c6ab753798e5d59e7ad537bac0bb8a25cca5206 + pristine_git_object: 78de8f2390aa7c211074246ee57cc84d98282632 + docs/models/checkoutlinkdiscount.md: + id: e8fa207f43bf + last_write_checksum: sha1:2064a2807b31a1775300c5e607c152d345c0dd22 + pristine_git_object: 0e355496d727157a5543e67a21680f934fd39760 + docs/models/checkoutlinkmetadata.md: + id: 797fd2aa6ebd + last_write_checksum: sha1:e2e02c7bb27e26c7ae9d31eb7857e8e2e81dcbd1 + pristine_git_object: 27058cde81431089fa99bf2c5d96ad7dff15657b + docs/models/checkoutlinkproduct.md: + id: 01d6a2bbe1ad + last_write_checksum: sha1:0f82d309baa280bbe013a3256e5f41bc8da33674 + pristine_git_object: 9ebbf80187bd524eec4c309ae794336d7376c468 + docs/models/checkoutlinkproductmetadata.md: + id: 1a7f09f2fa26 + last_write_checksum: sha1:14208f750c5951b2f39813847d178779e62832cd + pristine_git_object: 2f571a51022ccdc0c5ff09da96cb6b87fbd42655 + docs/models/checkoutlinkproductprices.md: + id: a81dc7e09716 + last_write_checksum: sha1:8fa30e194ef1393ff28fb6919b732c372d8f2d8e + pristine_git_object: b5d33146509be7818180db627102a6f3644c1cf1 + docs/models/checkoutlinksdeleterequest.md: + id: ffa9a04483ed + last_write_checksum: sha1:17ac186a401bf03f3ab27fd6db0075871e095675 + pristine_git_object: 3b2875a059727a7676500f462a915408cae0befc + docs/models/checkoutlinksgetrequest.md: + id: 526646f3f7f2 + last_write_checksum: sha1:ab9cda0271aacafeebb7990fb32f37134198f438 + pristine_git_object: 4824375fc0ce0381364fcc234e0855ae47718dc9 + docs/models/checkoutlinkslistqueryparamorganizationidfilter.md: + id: fbdbfd76446a + last_write_checksum: sha1:2a401dc72f1e3d53127965ed129289c3b2fabf71 + pristine_git_object: 224dcda72b08f99960be6bfb65215002f0ee7945 + docs/models/checkoutlinkslistqueryparamproductidfilter.md: + id: 9a17fd6f77fe + last_write_checksum: sha1:54bbd6e2606cc5d95052b0fa89352958d146b34c + pristine_git_object: 7687602be4234ce6e5935a5d320f3ab1552e6521 + docs/models/checkoutlinkslistrequest.md: + id: b2e35b2e6e6e + last_write_checksum: sha1:beeb97c8880e27a1ed929750d86878c4ae5efab6 + pristine_git_object: 66448d5e3ee9c2288ef1764a27b49bdd0a9017cb + docs/models/checkoutlinkslistresponse.md: + id: ef94142c48af + last_write_checksum: sha1:9087f1bc37bd9401919308016ea05ac9cd7e6dd7 + pristine_git_object: 38e56fa388076e9e3e1fc8e097dc6506b97dae8f + docs/models/checkoutlinksortproperty.md: + id: ffdf05dfb4ee + last_write_checksum: sha1:6ba51035b18d5a4f46c473e91ef69ac5f2854b3e + pristine_git_object: 1c02aa8a80bc9a74e11f0cc09fb4abf6e9f5661a + docs/models/checkoutlinksupdaterequest.md: + id: 50326cfd93e2 + last_write_checksum: sha1:769154d55decf8dcb4649f9b9f5aa68bb3407ba2 + pristine_git_object: 7f5778063a1aefac65a52d588b397ac475061b2a + docs/models/checkoutlinkupdate.md: + id: deda0820034e + last_write_checksum: sha1:62d8539aca14ac76e6ed26465ed2146c3a6e43de + pristine_git_object: 1bb9c4a4dd87437a24480238804f2e3529c87eeb + docs/models/checkoutlinkupdatemetadata.md: + id: 5649be715976 + last_write_checksum: sha1:8c7726803cce162acbc8a478646e9cbdebe16184 + pristine_git_object: 5626d21a9041f18c2117c1c9ee7ffbb25318d4c3 + docs/models/checkoutmetadata.md: + id: b03ddc1a5a17 + last_write_checksum: sha1:62549e295ee91f6d5ffc7c0b8c3035044bf6bdc5 + pristine_git_object: 859e37e2bfb2dcee3ad2ce182a6fb5a0d298d0c8 + docs/models/checkoutorganization.md: + id: bdc99d4ccc03 + last_write_checksum: sha1:4d0389ef98198a0ed32926c215795418bda5bdd8 + pristine_git_object: 0bd7da764176ba0980e1d3326c72235d4d850a73 + docs/models/checkoutprices.md: + id: a0405c432c2e + last_write_checksum: sha1:ee52e462d7d8e4a7ebc00498ce0953c81cbfb854 + pristine_git_object: 8dbd0c4777cfdd2f7cbd0314496e893cf04f3198 + docs/models/checkoutproduct.md: + id: fd521795fd70 + last_write_checksum: sha1:4a7d3a856dee537e7f604d18550f4e601d3dd23e + pristine_git_object: 4881ce10b55dc2ea149e15ae75bbef5a46e31094 + docs/models/checkoutproductprice.md: + id: e0a4db1953d5 + last_write_checksum: sha1:4cef65822fa8be291684d9cd175de6e54dbf91e7 + pristine_git_object: db0ee0d110c3f22aa5b9d3923ba3c9805e68eb12 + docs/models/checkoutproductprices.md: + id: 976c7cfb0da6 + last_write_checksum: sha1:3c5bf42bed9d76bd3f78cc17816e4ecd92de3f7d + pristine_git_object: eb248885938f03234ecb3e16c2788f6a5120ddc0 + docs/models/checkoutpublic.md: + id: 19ffd6d4945c + last_write_checksum: sha1:b4aa2cfa93dd98469a25cc547d6e11eb6be0536a + pristine_git_object: a61c949fa149637235e43995897a8f37f1cb2422 + docs/models/checkoutpublicconfirmed.md: + id: 4881ff9ae4dd + last_write_checksum: sha1:1c1df6e1d72826a8fa32d5dbee5e2b6a2fcad232 + pristine_git_object: 75f9c438d1bc7fbf3f781970f0190dfdd6506c00 + docs/models/checkoutpublicconfirmedcustomfielddata.md: + id: "755530449535" + last_write_checksum: sha1:b4a02ce44bdfe3eb45e9c99b0f1561e41028cdf2 + pristine_git_object: a243549feefa6f02624254d81a28843de8f9085e + docs/models/checkoutpublicconfirmeddiscount.md: + id: a9837bbdf42f + last_write_checksum: sha1:9d52b061a0f9ffb32e284902ce4e06197bb3e9f8 + pristine_git_object: 75eb0452e7f63f6e10435e3977e6488072512455 + docs/models/checkoutpublicconfirmedprices.md: + id: 2c9bca800be6 + last_write_checksum: sha1:4dc903aa119652da59bfaa645d3dd814ce52c757 + pristine_git_object: a514c86a9081c09712d6d3c7742b4d1ad420560b + docs/models/checkoutpublicconfirmedproductprice.md: + id: 45a4349c0627 + last_write_checksum: sha1:8e6adf2c1f9b31bb7fbc257f363f5a5a5d52a9d9 + pristine_git_object: 3fb9984cccb49d57d56cfabf0ac86d09a0b029fb + docs/models/checkoutpubliccustomfielddata.md: + id: bfac0afb780a + last_write_checksum: sha1:0b8399cb875d03aa1d066e500fd99f1cdcbdc468 + pristine_git_object: aad656538435f295df33ae0cbcb720d6094fabd3 + docs/models/checkoutpublicdiscount.md: + id: 0ed5acb42298 + last_write_checksum: sha1:a663236da93e4cb25a5b3900435e2662a2ac4b9f + pristine_git_object: 54c9a8deee6cf2869269f76b7f38916e965e274c + docs/models/checkoutpublicprices.md: + id: d2fa5f50c3a7 + last_write_checksum: sha1:f84701b3f5b813145b10fe45222cb4e7732609c6 + pristine_git_object: 7e48a9acd8217c89593de64cecbc15ffe22af3ae + docs/models/checkoutpublicproductprice.md: + id: 5eb8becb62af + last_write_checksum: sha1:9be0e76b3ab328acd0360b961e81b575704051b8 + pristine_git_object: 9839960146dd81c52b4adb3589d4b4205fe84de9 + docs/models/checkoutsclientconfirmrequest.md: + id: 9c02233cb92b + last_write_checksum: sha1:702addae8417417457ff11930721cefb58135023 + pristine_git_object: 80ad7d19ce805db323dd1bfa56e2b73bb4855de3 + docs/models/checkoutsclientgetrequest.md: + id: 8da42ff615b6 + last_write_checksum: sha1:7cda3501ba127aa4844d07f9e38cd33189e1b454 + pristine_git_object: 96f8bb7114c6cda9166e43ddb40c9601d2f66262 + docs/models/checkoutsclientupdaterequest.md: + id: 34b26cc7f0a3 + last_write_checksum: sha1:1e188bbd9ed866da53b85b212e7e3c6526de5fa9 + pristine_git_object: 1aa8159d2e7e87252904749ab55a8f3f62b7a251 + docs/models/checkoutsconversion.md: + id: db52625fd4e1 + last_write_checksum: sha1:c209255d30ecd05f1c0a6f869fa7d45bd5c3e98d + pristine_git_object: c237df0fbdc27f216b8e89dcff77e287b41cd6aa + docs/models/checkoutsgetrequest.md: + id: 3380a2d12d94 + last_write_checksum: sha1:06b1a7e8aadcd50815c55ab07ff355e56aae4a21 + pristine_git_object: 5f87e4594fe471e81d5082736b533e7a72754ec5 + docs/models/checkoutslistqueryparamcustomeridfilter.md: + id: 8158e465066a + last_write_checksum: sha1:ae23168f936855269295b2f8840e2f97ac2c37e4 + pristine_git_object: b66528d8bf6f767ef61fbdd49a3c02f33cd3886e + docs/models/checkoutslistqueryparamorganizationidfilter.md: + id: 26fbf8b01c29 + last_write_checksum: sha1:52f127a925967b5d1e85159c7af6329f46fa4659 + pristine_git_object: 19fb3ee449931f0c785ad188b46460b0f503427c + docs/models/checkoutslistqueryparamproductidfilter.md: + id: 8cfc2315cb4a + last_write_checksum: sha1:753938c9f2a551f48e89df1143ac5c3a5772358e + pristine_git_object: 48edde11263233c0941a3d3104f60331bbba3268 + docs/models/checkoutslistrequest.md: + id: e2209b45523a + last_write_checksum: sha1:d0e7b10bedd12f9619a732e8ab3c6162936942aa + pristine_git_object: bb78dc95ce3769388a7567df68d5bb66c0d76cc7 + docs/models/checkoutslistresponse.md: + id: cfdcf5c908e4 + last_write_checksum: sha1:ac7f7f3dd7171f5286b5a27f8f7b5a739b0aa918 + pristine_git_object: 0e5c35394546987a2e1a517292b3113cab0404f8 + docs/models/checkoutsmodel.md: + id: 43a4a3942222 + last_write_checksum: sha1:98e09e3fbd1d934e90af78803550759b5da7335b + pristine_git_object: 801f06329fd41d93fd0f5305a5d89b88f08b3233 + docs/models/checkoutsortproperty.md: + id: 3c59efc3a4e9 + last_write_checksum: sha1:46fe1f818e8ea300c4668c5f1a6ae260076141fe + pristine_git_object: e4fa4654bffa734edb764f13dcb1cac3477acb00 + docs/models/checkoutstatus.md: + id: b2a4a5c5b80b + last_write_checksum: sha1:4dee877755653046df7468aa83e9646bfae4aae8 + pristine_git_object: f85033b0ac087d8013860c78bb643023b4fa8273 + docs/models/checkoutsupdaterequest.md: + id: d5ecb5ae9989 + last_write_checksum: sha1:c52939bc917e5d1a7982f0aba0ea530f5442db72 + pristine_git_object: 0201513fd8477789d367c182eabf5d14a84f80cf + docs/models/checkoutupdate.md: + id: 9f502b82ec48 + last_write_checksum: sha1:a35029074c6790c597636eef8387c60505215192 + pristine_git_object: 7da242411c184c824ed0ff0209dbb4eecd78290b + docs/models/checkoutupdatecustomermetadata.md: + id: 71991f0beb04 + last_write_checksum: sha1:f58bf24188339194c01f670f440fcbbf1ee2bcfa + pristine_git_object: e279db33e62a95d91b75da039e3ff90270d58f1c + docs/models/checkoutupdatecustomfielddata.md: + id: bb1fb19c4668 + last_write_checksum: sha1:e469db9e77132b539bec3dda1c451196af300dd4 + pristine_git_object: 699b257e3dbe7bb9adbfac7027e74d3bb3df205d + docs/models/checkoutupdatemetadata.md: + id: e2d17ce5293f + last_write_checksum: sha1:9d408b25657a511a3e13f9e5e76b893a7c4a5e03 + pristine_git_object: 9715ef189233e5172f633a12b28c2ea53217e2aa + docs/models/checkoutupdatepublic.md: + id: 2112347e0870 + last_write_checksum: sha1:f3cdc88a285d6ba0b0e99f9f9fb29fbdbed2dfe8 + pristine_git_object: b3aaa791cedda3765b71be70a4cb6c18673895ef + docs/models/checkoutupdatepubliccustomfielddata.md: + id: 660f11c0c010 + last_write_checksum: sha1:8a9915c8ac470d38abaad331803b7568d491854c + pristine_git_object: c7ea544793904adbb6c5340e7093054c3822c012 + docs/models/churnedsubscriptions.md: + id: 7c572adef60e + last_write_checksum: sha1:b5375f58e690f0727e7bf5d398ca3ba0946a476d + pristine_git_object: 772499eb94b8c11500d12dc3a160784c5c08464f + docs/models/churnrate.md: + id: 1594d6e00e5b + last_write_checksum: sha1:92e8b23908dc5ca8cf6102dc66e2547b570cf90b + pristine_git_object: d89eef006c3a4367df0897bd371d5c01cb26f0b4 + docs/models/clauses.md: + id: 8ab73eff0db5 + last_write_checksum: sha1:30a6a2cf191f89e6f2cbdb3188c4a98177eea1d9 + pristine_git_object: 53ec1b293e4741a32b15e6c8ff91d9328b394a10 + docs/models/committedmonthlyrecurringrevenue.md: + id: cca449728734 + last_write_checksum: sha1:d09080350709dfd141d61f9a0c35c16962ee6ce5 + pristine_git_object: 81f474b75c2b0f00723919fa03ca39d838214365 + docs/models/conditions.md: + id: de9107e3b1e9 + last_write_checksum: sha1:5b55ad5f4658c4d0ef12340c59073f6e26cd99cb + pristine_git_object: 5524d0a829d941282807c375c85ac9cf3b762f4c + docs/models/costmetadatainput.md: + id: 80a3a7e81723 + last_write_checksum: sha1:204d2d0c3c8b3b7c352663837742f71fd040fd58 + pristine_git_object: ded7c8631730c5d13f6951a882c89e0f2e454f5a + docs/models/costmetadataoutput.md: + id: 549a804d3bbe + last_write_checksum: sha1:580fa42aa6dbb1faae48c4eba5596165cdd16135 + pristine_git_object: 225d1ebcdc474260cbf0d2c2cdb8968e39557718 + docs/models/costperuser.md: + id: fc5777d77c94 + last_write_checksum: sha1:0f617b93594ef173251ca950b7ab48434b51d61f + pristine_git_object: b95da7ea4996ef6ebe4b2f622da484ae2932ae08 + docs/models/costs.md: + id: 0b4331eab2f4 + last_write_checksum: sha1:1f877b00d57815095c32c11cc638f7bcc0f2689b + pristine_git_object: 0da6c53ce1582cce935c080d453e48198d09d556 + docs/models/countaggregation.md: + id: d16a1bab359a + last_write_checksum: sha1:ea399ca66493da9a19481de26b2ddf5a0d697fd0 + pristine_git_object: 94d1bb6726fa0eca211f9f86c2b030c9a1fc199a + docs/models/countryalpha2input.md: + id: "876956847939" + last_write_checksum: sha1:0ecd69ee8981fcb5969be9b1e9c35f05bab061e3 + pristine_git_object: 51ac18235af5da5605ac58adeba550c525d3b1bf + docs/models/countryalpha2.md: + id: 204569ab5b19 + last_write_checksum: sha1:002d9a7dbc0315eff84a834a383e9f344ab82d7a + pristine_git_object: 6d84e62fe67d2800aee24dc3fe7479a38ebf16be + docs/models/cumulativecosts.md: + id: 52cbc68c3f5c + last_write_checksum: sha1:e65f615229227a8bbec5121d2cb6888a59c7c580 + pristine_git_object: e510f63f3179928cbb3cec625096eb46c5cce032 + docs/models/cumulativerevenue.md: + id: c035b757c557 + last_write_checksum: sha1:021491621bb3300dd9d7117132a2e40387bdf9a8 + pristine_git_object: 9f159211c7a1300b479839f9f6b835066794ea06 + docs/models/customer.md: + id: 42ac97d31359 + last_write_checksum: sha1:81a0c62a60783913628563b19f94ab1b43ba4029 + pristine_git_object: e413e7596bce59953611ce78bd87d9d60dd99c1e + docs/models/customerbenefitgrant.md: + id: 17d172a2f6c6 + last_write_checksum: sha1:6ec5aa2deec3b9c733be33224142d408413c4e4b + pristine_git_object: 68d259e2fb140d6545bf7e996c8cf338531e6074 + docs/models/customerbenefitgrantcustom.md: + id: 857a64a4d4c8 + last_write_checksum: sha1:bf6a14a398542483a082de8883609a187b303cc0 + pristine_git_object: 2ce4d504ef4512e90fa5a0b98bd523d7b57a3ce9 + docs/models/customerbenefitgrantcustomupdate.md: + id: e30cec64f6af + last_write_checksum: sha1:024a28fef33d7254290776b94080a05e3f71a1d3 + pristine_git_object: 38b0d5613b5c8879f02a01f79bfc1f126f134f20 + docs/models/customerbenefitgrantdiscord.md: + id: f00447209283 + last_write_checksum: sha1:7e7b03200bff06da876c7927769e786687b5ba4e + pristine_git_object: 9fb24f974cb33e8aaa96d3c59bb71df08d7837f9 + docs/models/customerbenefitgrantdiscordpropertiesupdate.md: + id: ae3448b6e33d + last_write_checksum: sha1:421ff0935028e1121881775af02a908d03e70eaf + pristine_git_object: 29238d1daaf18e9a753be613793790cf927fee34 + docs/models/customerbenefitgrantdiscordupdate.md: + id: 451c19fa5694 + last_write_checksum: sha1:5fc89d3511dee0e32d342bf2aff2e97c16c8478c + pristine_git_object: ad298be1ebd9856c6dec8499484c8c7ca0b6c11f + docs/models/customerbenefitgrantdownloadables.md: + id: be33f456e264 + last_write_checksum: sha1:a0666c93e10a9dcd31e4624898b5c9a68670bc16 + pristine_git_object: 65b7d04a6a3591200f6ae1a51840f087e1c56a3b + docs/models/customerbenefitgrantdownloadablesupdate.md: + id: 88b871a50c81 + last_write_checksum: sha1:3544a24205a67cfe90c5bab72007eb2b536f94e4 + pristine_git_object: ea667bb89ee50bc8899ccdd6109ef6e2d62e064e + docs/models/customerbenefitgrantgithubrepository.md: + id: 738c1f020622 + last_write_checksum: sha1:b29a8d245b7d3fe120797e6726ba0c6df13f64f1 + pristine_git_object: c00866dc2ce88d01f079ff6ca50273a1f5b1c582 + docs/models/customerbenefitgrantgithubrepositorypropertiesupdate.md: + id: ba88e557b4f6 + last_write_checksum: sha1:7281f68ede537faffa069a65f9aacae5863067d1 + pristine_git_object: df9e02b1fc8510f0aa5b2ecbad27adc6b2ee95fe + docs/models/customerbenefitgrantgithubrepositoryupdate.md: + id: 3bd97b9eb85c + last_write_checksum: sha1:0e4cf90b6d7b67db6940a77eb8a26c4588d0530b + pristine_git_object: 97ec9ac746e790b1c5b6a900a07abe153521ac66 + docs/models/customerbenefitgrantlicensekeys.md: + id: 65ddedf03cb0 + last_write_checksum: sha1:dd5361df5c48087d5cac1d2d411dc6ed21abd97e + pristine_git_object: d05c47d5759a07366beb1dcf3c94c1c75cf9ed73 + docs/models/customerbenefitgrantlicensekeysupdate.md: + id: 801be53164f7 + last_write_checksum: sha1:11afab7bcc59a2864f94146e93c8db1c023ffebf + pristine_git_object: fedd62feaf41aab8fb6aaf0cb02919503c8743e9 + docs/models/customerbenefitgrantmetercredit.md: + id: 8b979beff397 + last_write_checksum: sha1:c55347ea2840888c77b4155b2ff3fbc4d083642b + pristine_git_object: 3d533db40e4250cc457bb26054fb0c520e1a7c16 + docs/models/customerbenefitgrantmetercreditupdate.md: + id: 81b162d130fb + last_write_checksum: sha1:483135e88fd67c2bb5da926951bb61a5cd1e5dfd + pristine_git_object: a7d7e9cd818eb8f6306e40864d2aa5229cb0545a + docs/models/customerbenefitgrantsortproperty.md: + id: 850457ae0139 + last_write_checksum: sha1:3daf692621d0b7cb841f873c59ed0345ee53a18b + pristine_git_object: f1f8ba92e9e01928cfcaf9fbc8b6c69982f025bc + docs/models/customerbenefitgrantupdate.md: + id: 4c407ca5dd75 + last_write_checksum: sha1:47e88283c3d702201ad4a57b8f71700d616641ae + pristine_git_object: 106c4ab7adb4179d2c3c8af61c0c4d10d9ccf6ec + docs/models/customercancellationreason.md: + id: 79ff238c81a7 + last_write_checksum: sha1:dce3caa4e9c3ba6f34cec860553f6b43153a23a0 + pristine_git_object: d7172d310c20b773fe90f24411218d5929bb6644 + docs/models/customercreate.md: + id: f6dc9c84b26d + last_write_checksum: sha1:7ad8ce46b9309f98b35c07b5846948aff88c3f9c + pristine_git_object: 8dff881bd56c559776760d83ec23099205abd06e + docs/models/customercreatedevent.md: + id: 437a7070f5c8 + last_write_checksum: sha1:4228a7ddaf40db6ad8fc935056e2f96d93bbb7ba + pristine_git_object: 9cdd5e05dca88a4c7cb1b79d7f5a3ea52bd4f381 + docs/models/customercreatedmetadata.md: + id: 618e5fb4ebc2 + last_write_checksum: sha1:ba5e7747fb7d02f26e9994bbc7f2bddfe7353bf7 + pristine_git_object: db616cba5354de7f97a3213788c07060a429b037 + docs/models/customercreatemetadata.md: + id: 44664ab85314 + last_write_checksum: sha1:ce6f0affad13bec14a6420471eefa97ca2905439 + pristine_git_object: 01f6c5876bcbb4471e0057bccd102543fc643106 + docs/models/customercreatetaxid.md: + id: eae96b73dda7 + last_write_checksum: sha1:30c43e6cdb1524cb6de393f39920ab712798fcc4 + pristine_git_object: 5be73600d07211c7489fd88022199a53ebf573d9 + docs/models/customercustomermeter.md: + id: 6cefd0d1bae7 + last_write_checksum: sha1:0d9870dddada224eb77115169c3a906f81ccc2b6 + pristine_git_object: 7f434b5453ef0fec2164cd5a4e029307cbdcd9e0 + docs/models/customercustomermetermeter.md: + id: dd5378c3b48d + last_write_checksum: sha1:fa694453b77307a6282996ed0608b78cc20d866a + pristine_git_object: 35d1a736119b6963d104a75b708dcf6e7b1f223b + docs/models/customercustomermetersortproperty.md: + id: 8f915b998785 + last_write_checksum: sha1:d8be31cf6e6cf74bc657eb85596abe3af767832b + pristine_git_object: 4b21e177ec0d9f9308b818212a4156a3aa461451 + docs/models/customercustomersession.md: + id: 10b23a08c0e4 + last_write_checksum: sha1:41d57bdb0852e9c443d3ae56af56b984a245c16c + pristine_git_object: 49e3db3aaf2caa89bdd2a603a34d81642f2cf13c + docs/models/customerdeletedevent.md: + id: 498f8e454db0 + last_write_checksum: sha1:08e88d9397cd60b9fced6616ae5d1da753c91d92 + pristine_git_object: 88144932c387546e81c71ea3adc563862027c4f5 + docs/models/customerdeletedmetadata.md: + id: 3aa429deb8e1 + last_write_checksum: sha1:30bacf89954b115ecd74e332c1e9ce1e05bb98dc + pristine_git_object: d0c19ae739d036a7f1f53cf2fbb9e5abf3510f2d + docs/models/customeremailfilter.md: + id: 414589bb95fe + last_write_checksum: sha1:fde0f2840678a9f141cce80b969fed5047cd1f92 + pristine_git_object: 54d9d2a0596b656bbbe9bbc96f21672018008de7 + docs/models/customeridfilter.md: + id: 5231062788cd + last_write_checksum: sha1:9e9ff05b6e673fadfd6d483a95b64c9d43878d42 + pristine_git_object: 0b5b1629722e3d301dc57fa548d0d9eaf1ceabeb + docs/models/customermetadata.md: + id: 779d2943e4c4 + last_write_checksum: sha1:8daa157500af38e886c32774f88d4c7d31ebdeaf + pristine_git_object: 16980047f8ff22c13bb2c59bea92d040882a7105 + docs/models/customermetadata1.md: + id: fd9a1db2cb89 + last_write_checksum: sha1:d62b26c7d4e7289ce41be949c264c8c56cf1b056 + pristine_git_object: 2bd143ca5a7a6e891575bcd0beb8dcc36ac5b9a8 + docs/models/customermeter.md: + id: 5d4baa6ac6ca + last_write_checksum: sha1:44132d7cfbd9ad9300153bc96076838e34823be6 + pristine_git_object: 8a751e53f88c6f478946c2ea50bdbf6a7b817895 + docs/models/customermetersgetrequest.md: + id: af68e616789d + last_write_checksum: sha1:91359cbd09c6971cdc6ca339e5cce4ad18021482 + pristine_git_object: c4114b00435790bee71118e3f0c31ae12c0d800d + docs/models/customermeterslistqueryparamcustomeridfilter.md: + id: 3129a145189e + last_write_checksum: sha1:f317c7f30cc76e7c007191a54b9e3f19803884a2 + pristine_git_object: 1e05f52df3f61f03e68a3e3a5530badce9f9693a + docs/models/customermeterslistqueryparamexternalcustomeridfilter.md: + id: abb58a30cdd2 + last_write_checksum: sha1:861f01c3fe799e19b683cf1dce57d17cc6955d9f + pristine_git_object: 7b65b2f9fc020bf3ade7bd5ad12299f0f043f75f + docs/models/customermeterslistqueryparamorganizationidfilter.md: + id: a27cbe59b4a6 + last_write_checksum: sha1:690b16a812a3882b237e5b1338876fd6c4545dc8 + pristine_git_object: e11d17d7e3043c5fec2202ee1a933eeab6966bc8 + docs/models/customermeterslistrequest.md: + id: 94c7bb07c7df + last_write_checksum: sha1:2561ede04ec9fc24b90ed6dae96b1b9d0df2ab97 + pristine_git_object: e804d3d558ea9a9c5cab1e7afa9c315cc3da71da + docs/models/customermeterslistresponse.md: + id: 89bc46a992bb + last_write_checksum: sha1:149dca7022d0aedf0fb50316cd8eb27736b3f5b3 + pristine_git_object: f630008ec50c5dc7efdb4f5003146f79f2933504 + docs/models/customermetersortproperty.md: + id: ac21895374f4 + last_write_checksum: sha1:01ab592c6c89975bf60573d25a1507920b754e97 + pristine_git_object: 845c1ee2c75230f0372fd30a7c98079406eb634c + docs/models/customernotready.md: + id: 711ba20d4a16 + last_write_checksum: sha1:2faa3980f943abc75095106230343a3e8b67e67a + pristine_git_object: 0a6f5e26f37fdbb69b6dd27ad144e6f6b9bcb393 + docs/models/customerorder.md: + id: 4504cb524b30 + last_write_checksum: sha1:c7da6cf8b104615fe4223d4c1e7ff363e88ba410 + pristine_git_object: cf41c9bb56af33401e46181cc8798d08d78a2704 + docs/models/customerorderconfirmpayment.md: + id: cea1841ea44c + last_write_checksum: sha1:d1082e2ca6e98078093253308617e3f1e9039acc + pristine_git_object: 60798f839e03b2edf9486efda862ad732f753d04 + docs/models/customerorderinvoice.md: + id: 161bff44a647 + last_write_checksum: sha1:1806c573ea48d8414b6d99742c0aa8ba19fd2b46 + pristine_git_object: 8a142d57b451f8729b72db7bd2f5b90ad85c3df4 + docs/models/customerorderpaymentconfirmation.md: + id: be4493b04a43 + last_write_checksum: sha1:aa7374df8f5a930127471756e96e22c1756b5435 + pristine_git_object: 84127aedec1dc3172f9f50c42752eee8f41f4d91 + docs/models/customerorderpaymentstatus.md: + id: 0ff324fdf013 + last_write_checksum: sha1:7a465d0593b98926a46ecb18efbbbd3c79a9c3f9 + pristine_git_object: c8f3fd6346270dc31db76fc9ae475ee0699c640e + docs/models/customerorderproduct.md: + id: 824c1a88807c + last_write_checksum: sha1:f85686545321e90b5d00612df4fda93da1cdbd66 + pristine_git_object: 8d99f4134a3c76672d193ca8a1d067079d64bc7b + docs/models/customerorderproductprices.md: + id: d26c2901fef5 + last_write_checksum: sha1:7b4f72ad6e0771acfae65a99e496380017be3672 + pristine_git_object: c111c02ec9940f394236e0930daed5601871ab59 + docs/models/customerordersortproperty.md: + id: 875ea5b073a7 + last_write_checksum: sha1:c8e09b448e13c6082dbb8a22673d067a91116de6 + pristine_git_object: 710a023124f13bedf2fe774ce51e5691edd20454 + docs/models/customerordersubscription.md: + id: 620a467e0109 + last_write_checksum: sha1:4d8c098e56a618c8e273e6596189b1ad24a144b6 + pristine_git_object: f0c33158c909646d8889faf7422b3ab5f5e2bac7 + docs/models/customerorderupdate.md: + id: 8e8e6e082501 + last_write_checksum: sha1:d04528e3b387c3c4945ba876f03468970702995c + pristine_git_object: c295d6cb1a33c824279e9df64ae40e0637bc7d5d + docs/models/customerorganization.md: + id: e77c4b4e73d0 + last_write_checksum: sha1:042f0ddb86d9bc5de3fff25eea7120eef29477ee + pristine_git_object: f2b66c240cfcdfcf2c2049855adc8aaa292adf90 + docs/models/customerorganizationdata.md: + id: 70cefbf8334c + last_write_checksum: sha1:ee8c082b6902739b34174049e9b420d0e5f588bf + pristine_git_object: 48bd052a5660683f5890f93154b3d8f9643a0ecc + docs/models/customerpaymentmethod.md: + id: 7c78cb3da93d + last_write_checksum: sha1:39096a4c9a89a666c3f7354696d400aa1d9d0183 + pristine_git_object: 871502956eedc81139dc7bbae086b08cb0303f8e + docs/models/customerpaymentmethodconfirm.md: + id: a7fcc13416ac + last_write_checksum: sha1:6ba7a1a89cf509c9a5538a3a997cbb0c8e720422 + pristine_git_object: f870a1de48b4dd610653d169ddc064f4c533cecb + docs/models/customerpaymentmethodcreate.md: + id: 02820772b15e + last_write_checksum: sha1:9c99eaec49578eff76e3ea629df5aa1368822b95 + pristine_git_object: 2a2f704c61023f3f0b409dfb3fd3d09d00d7f111 + docs/models/customerpaymentmethodcreaterequiresactionresponse.md: + id: 6285d6442959 + last_write_checksum: sha1:4e89bebb525e3def031198b6dab7a497ccbe9817 + pristine_git_object: cb5abcd996b38458330e47a1cecfd1a9a98fa0b7 + docs/models/customerpaymentmethodcreateresponse.md: + id: 5cd55d1b99f8 + last_write_checksum: sha1:f8976208358fe274921c627dae61f754f2c88fd4 + pristine_git_object: f7db03afd60745cf6f1da6281bdcd86be76b23d1 + docs/models/customerpaymentmethodcreatesucceededresponse.md: + id: 3fa8235684cd + last_write_checksum: sha1:706ed2d24e57cca6fc75198d99c334afd23466bb + pristine_git_object: f1acca3f04964b6b8b92e606f9c4ba8d831f65a0 + docs/models/customerportalbenefitgrantsgetrequest.md: + id: 05688a2deb42 + last_write_checksum: sha1:fde620cbd57cf38f0579d9aa5e9103636e625d78 + pristine_git_object: 381152518c0f18e48327e71584d6e007d18896ec + docs/models/customerportalbenefitgrantsgetsecurity.md: + id: ce4d950ebe27 + last_write_checksum: sha1:bceaa4faf1fbad861084cdf50d97fcd1f764e6c6 + pristine_git_object: 4b3f23a7df2dcca8772f9dd9603ff93223cca2cb + docs/models/customerportalbenefitgrantslistqueryparambenefitidfilter.md: + id: 82a6c5c3d830 + last_write_checksum: sha1:e65728c203753f36275ea4a9e1ed427ca80c3ef8 + pristine_git_object: 8b656a8ec64c24e509b4e354c18ee76ce8ae0456 + docs/models/customerportalbenefitgrantslistrequest.md: + id: f627192e5cce + last_write_checksum: sha1:587ba75991fd67d2b7578113c1cc41475a51c0a6 + pristine_git_object: 58e3d30e89969badd9f67fa156d7f0393c9688a9 + docs/models/customerportalbenefitgrantslistresponse.md: + id: e7c5d1c84935 + last_write_checksum: sha1:f23a43086f6f0a3d1bffffc2d1bf79e530fb5036 + pristine_git_object: 7a9bee965da8bb06d4074bcd7186bda9419faf30 + docs/models/customerportalbenefitgrantslistsecurity.md: + id: b1637096fc48 + last_write_checksum: sha1:7e1bc331e8635c9029ae1bcb2d26775dcf634b05 + pristine_git_object: f9c312ba9ee684b3d213dcc28ee3c52d880afa12 + docs/models/customerportalbenefitgrantsupdaterequest.md: + id: ce2a652d2411 + last_write_checksum: sha1:91c1bbcce94460ba672ac71fe39cc2f724522df7 + pristine_git_object: 15bd1d7f966d61d9030b6ffd4b4a1ec6ee0b9f04 + docs/models/customerportalbenefitgrantsupdatesecurity.md: + id: 37d46b2df9ed + last_write_checksum: sha1:eb4e1a86fba46bad0317e7293705356b69382d83 + pristine_git_object: 82860fec9b0dcc7772ed6df3ad3c3e4a2ea8b7d2 + docs/models/customerportalcustomer.md: + id: e22800c29aa8 + last_write_checksum: sha1:70fcba00d5c62a052991fdbcdb591c120e67feee + pristine_git_object: fab6420f9264846fbdd71bd74409a6f23be9f0d9 + docs/models/customerportalcustomermetersgetrequest.md: + id: 5f2761f69dcd + last_write_checksum: sha1:a33b9ff9b4adf9434feb24c1f645db7651d40893 + pristine_git_object: d5fb5ee40b197c027b39f518de510f879374ad62 + docs/models/customerportalcustomermetersgetsecurity.md: + id: b1084afc610f + last_write_checksum: sha1:23ac3f136edfd19a0d93fcdcee5839259d0da89c + pristine_git_object: ed3c031fe3aec0ae03366d0b469083815c110b2e + docs/models/customerportalcustomermeterslistrequest.md: + id: dd957a4b95f2 + last_write_checksum: sha1:c2185a7266f7d31e8569c1c540f0045c455c6abd + pristine_git_object: 358a1eb7e248b9c8b2297e266abc297e7d1c83df + docs/models/customerportalcustomermeterslistresponse.md: + id: 468468177ec3 + last_write_checksum: sha1:5dac971a972603889740487dbe6bf800bd298349 + pristine_git_object: 102c12a66550836cd12e9364dd6d7ccce1ec34b7 + docs/models/customerportalcustomermeterslistsecurity.md: + id: 11a6523f3a2c + last_write_checksum: sha1:7602d1c0bf773fbc5c3e0e688656aa3de76b3460 + pristine_git_object: 956d5569a0ce86cf44a75e45ce0fd027f198fdc5 + docs/models/customerportalcustomersaddpaymentmethodsecurity.md: + id: 480a2eda8682 + last_write_checksum: sha1:992d5daf1a9d5da33d77548c88db00f1f13ec693 + pristine_git_object: 0240c4a32b5ddf1a752ffe68ca416267bc0c31ad + docs/models/customerportalcustomersconfirmpaymentmethodsecurity.md: + id: 2e61c4c32a3f + last_write_checksum: sha1:6799674363aae6bc7317c92dbaf63003d1742c51 + pristine_git_object: 782e10a7e7cd55332e440d9050073fa5a6d943be + docs/models/customerportalcustomersdeletepaymentmethodrequest.md: + id: 22d4461d0f97 + last_write_checksum: sha1:5a9cb6c0954ffb4e8c6ef4a88e0521c506ab74c3 + pristine_git_object: 1cfbb49f76dc37b87f3a720565dd1150c9888357 + docs/models/customerportalcustomersdeletepaymentmethodsecurity.md: + id: 54980e4cf885 + last_write_checksum: sha1:0e519eb78a954fa617887f0a78839c21ac75c975 + pristine_git_object: 8689d8ee3e5b0f5bc1bcd49c6366f4ddf2e550ff + docs/models/customerportalcustomersessionintrospectsecurity.md: + id: 9dd5e923a4e4 + last_write_checksum: sha1:5a510dd421eaecc1f87c8e002cd349293bd6b1ae + pristine_git_object: eb5160a1f7b75508eff52c9eccae01e4442de128 + docs/models/customerportalcustomersgetsecurity.md: + id: 2721c21a0e58 + last_write_checksum: sha1:ef72bce934e35661fcfea2678f2e9f67c8e974ff + pristine_git_object: 0672b28f73f1f563967bd0c1cc9ca34ccf4dec03 + docs/models/customerportalcustomerslistpaymentmethodsrequest.md: + id: 40617d8b3f76 + last_write_checksum: sha1:3f5a5f91c8f5378d898b542573cfa579bb6382df + pristine_git_object: 91b90b3799984affd41a948eef844a9d2a82744f + docs/models/customerportalcustomerslistpaymentmethodsresponse.md: + id: 65d6b2064e30 + last_write_checksum: sha1:bc3308360a4b235c4fb76eb43d7001e7c182156a + pristine_git_object: aa4877a51c27d69829400cec290164d86d06d718 + docs/models/customerportalcustomerslistpaymentmethodssecurity.md: + id: 93f723fe6d6d + last_write_checksum: sha1:859b25b282d7b9b8db33c248e41bae3978fc2a01 + pristine_git_object: 24d6a7b50461e2f715b445c964920e2757b72d0c + docs/models/customerportalcustomersupdatesecurity.md: + id: bba8ee4c7a3c + last_write_checksum: sha1:adf322613e1437e483e72c5ad8308b4a7b397bba + pristine_git_object: 04d0d1af623dc4ee629fd70eb06a20c01628b30c + docs/models/customerportalcustomertaxid.md: + id: 142500fc77a9 + last_write_checksum: sha1:6b4af23042059b53f9d0dedad4d96940e50d3c21 + pristine_git_object: a4e758f45052e8bae0ac952d979a37328514f681 + docs/models/customerportalcustomerupdate.md: + id: cf2ced85de0f + last_write_checksum: sha1:cc21373b0f3f9048fa7b72b30d7f4751a6f8ec98 + pristine_git_object: c4b3b8f8e0df05791b88bc7173d91f585b16b009 + docs/models/customerportaldownloadableslistqueryparambenefitidfilter.md: + id: ceb83cd72141 + last_write_checksum: sha1:bf1d27f64f1a44e590c74895ce43547cdd8b6713 + pristine_git_object: bf3a124f2cafbe92ad0aec3a3c1fc197851ae4a9 + docs/models/customerportaldownloadableslistrequest.md: + id: e2991f80044f + last_write_checksum: sha1:760536f7ccd4ec818dee0ca8a0289acdab21c8db + pristine_git_object: 91e8ab3ae36db710252476a8717eddc4666ab9dc + docs/models/customerportaldownloadableslistresponse.md: + id: 28926e62d065 + last_write_checksum: sha1:90d5b806a140e4b56f5f280a1c21cf26f1a14d1f + pristine_git_object: 29198cb5b5e8243826ebe00c3b8290e0a913c7a1 + docs/models/customerportaldownloadableslistsecurity.md: + id: 790b2c9d6218 + last_write_checksum: sha1:a0a76a6fdd131788303902e2e770a8360c657812 + pristine_git_object: 87df94d7095276077a458b24680fbd56855be2df + docs/models/customerportallicensekeysgetrequest.md: + id: 211175f9d120 + last_write_checksum: sha1:ecc0f4c494e797c69371536b3fa14633633734f2 + pristine_git_object: 6b4b10ce6857fc264f5a9cddf07d65a94de40315 + docs/models/customerportallicensekeysgetsecurity.md: + id: 75fbf770264d + last_write_checksum: sha1:274236083b0a63ec23a836d6a69b9e5d8f581d41 + pristine_git_object: b6457f90b94eaf76aeadae1c09f938eb3da0c84d + docs/models/customerportallicensekeyslistrequest.md: + id: 3ff3dece03fb + last_write_checksum: sha1:8436931aa942e8c36a6235665d3993b5d46e3232 + pristine_git_object: 4b20c82c627d9a7e66cb0524d0c52162180b5801 + docs/models/customerportallicensekeyslistresponse.md: + id: 90c4a8e6fe6f + last_write_checksum: sha1:9764a64b9ff4af0e8c34da3d458e6e6275f66dbb + pristine_git_object: ad12fe98663672260aba51031951ee195a84f5e9 + docs/models/customerportallicensekeyslistsecurity.md: + id: 205d75276070 + last_write_checksum: sha1:e59e18bd1601100c094d11a7f3bfb0b27bcd0ab3 + pristine_git_object: 4676af541c93f76fa7fffa9d2a7d5cde49c9eddb + docs/models/customerportaloauthaccount.md: + id: 88ca6801b619 + last_write_checksum: sha1:a7ada537a6650cba160636757306cbc04523df8b + pristine_git_object: ee4da0ace9605493fbb25436e3aa169aa5a524b9 + docs/models/customerportalordersconfirmretrypaymentrequest.md: + id: 7ac036d9c2c1 + last_write_checksum: sha1:526d475425bbcf405cf8f35d0a906040d0dd76b9 + pristine_git_object: e526d3fb33edcb93b707c0d8d4882af115de1868 + docs/models/customerportalordersconfirmretrypaymentsecurity.md: + id: 12e12e52ac01 + last_write_checksum: sha1:d7234ecb5065f552b20175525ca0968b5b9d56e5 + pristine_git_object: a52f9fbe653b5f52cf1ad1ebdb1f0bd537d85b73 + docs/models/customerportalordersgenerateinvoicerequest.md: + id: 718eb8098bee + last_write_checksum: sha1:787e28f3d3dbff34866deeb9e5ea56d0af9ec373 + pristine_git_object: 00765ec3b6af13cb34358e0e6338fb543b53f716 + docs/models/customerportalordersgenerateinvoiceresponse422customerportalordersgenerateinvoice.md: + id: de18a4762524 + last_write_checksum: sha1:43ddb765a2010b2cb9344a326c0489533b43a672 + pristine_git_object: 895d3e4458b6bf01ed943bc9a5f7ad8d6853a8ec + docs/models/customerportalordersgenerateinvoicesecurity.md: + id: 3b59944e046b + last_write_checksum: sha1:fff0b54172f2ca06d9d1f646d3eed1c5b9565879 + pristine_git_object: 02de49c649707231b30386dfa89d68561ac286f1 + docs/models/customerportalordersgetpaymentstatusrequest.md: + id: 0d81e2e338d3 + last_write_checksum: sha1:35a3f0c32d1ba6d3af10106b6cea4b684610f14e + pristine_git_object: 48d25c4a4e7186158520ca47502f4a4edce0a58c + docs/models/customerportalordersgetpaymentstatussecurity.md: + id: 23630bab50d4 + last_write_checksum: sha1:f1ee84441b55541510060ec24bfdea8e4f96cd28 + pristine_git_object: daa247e094e630b095df6ba8e972c1065e454fe1 + docs/models/customerportalordersgetrequest.md: + id: d7745a02924a + last_write_checksum: sha1:f0fc62c2843799a3cd85e068f428fcbfdfca0ffb + pristine_git_object: 386178a5a2544358d3253f07a6ce3f180d16eebb + docs/models/customerportalordersgetsecurity.md: + id: 9a389254821f + last_write_checksum: sha1:1e5084ad9389062bf4de96251746de0bdbd40f71 + pristine_git_object: 8faa8701da2c85f41dbea0984fae2edeb8be67c7 + docs/models/customerportalordersinvoicerequest.md: + id: 5f1e99752b5b + last_write_checksum: sha1:898e2f75c516fd1cc46e77fddf2449608028a924 + pristine_git_object: 068c28a8f35d70b891d52deb12398842487a104b + docs/models/customerportalordersinvoicesecurity.md: + id: 95b89a973280 + last_write_checksum: sha1:93969ec8a2e92892986408c96448d6808ccd672f + pristine_git_object: faef3635f242ceb0952f7652c6972ae01262d2f7 + docs/models/customerportalorderslistqueryparamproductbillingtypefilter.md: + id: 50508540719b + last_write_checksum: sha1:9866308ac89e27e861e55beedd96e4d10af35d04 + pristine_git_object: 60233c3255b1ead4a366928a06d177c3fb671ec2 + docs/models/customerportalorderslistqueryparamproductidfilter.md: + id: 62dac17b6d76 + last_write_checksum: sha1:eddbb1212cea9d25fa5dc52df28dc967cd27aa45 + pristine_git_object: e9ed6ce033ef6eb7b68b46d3ab0877e4b6b6b260 + docs/models/customerportalorderslistqueryparamsubscriptionidfilter.md: + id: e81644b5ee00 + last_write_checksum: sha1:b614e0ea12fa31609610d2d9731e8d0c2592c3fa + pristine_git_object: c098e44541b1912fffc49699df05b3fcf664222c + docs/models/customerportalorderslistrequest.md: + id: bd9d56b85e40 + last_write_checksum: sha1:1a43ff62fed6b8d5ac0a31c8f22c4c68c567748b + pristine_git_object: e9ecd9126ea1485d28673f51f1d286a98c1655f9 + docs/models/customerportalorderslistresponse.md: + id: fe03da037ff6 + last_write_checksum: sha1:177ad034a02e0c4215776ccbe4e16a1bc0119037 + pristine_git_object: 33a2dc6fcd7bd3da3361da63817b283521c66278 + docs/models/customerportalorderslistsecurity.md: + id: f5b8e75ca8f6 + last_write_checksum: sha1:2661454d5d3a3db93252b77402b7043fa1f11551 + pristine_git_object: c467d307415d57b0d69523bb9fc417483ea585a0 + docs/models/customerportalordersupdaterequest.md: + id: 8aac4fe22a26 + last_write_checksum: sha1:7a58b38eb2d91b22f2dee43ca4e534f2943c3023 + pristine_git_object: 6e22939e6e07ba644d3e2da876141639f321f270 + docs/models/customerportalordersupdatesecurity.md: + id: b015635b459d + last_write_checksum: sha1:ced2b428c328631856cf068e887bb1827725d4cd + pristine_git_object: 123d489147ad805da7fe13d4ea912446165e3ee7 + docs/models/customerportalorganizationsgetrequest.md: + id: 974a1fe192dc + last_write_checksum: sha1:0e4e3cd71019cda1418d8e2be935cded5d1f722e + pristine_git_object: dc0a49502d213c5763edfc8a68e909ad495433dd + docs/models/customerportalseatsassignseatsecurity.md: + id: 5232ec4848e7 + last_write_checksum: sha1:eedac2a8dcad0355d66c0955f70a4e97e09ced32 + pristine_git_object: ba2b3298d587157b0bc1f98efea9e5c59e24c82a + docs/models/customerportalseatslistclaimedsubscriptionssecurity.md: + id: 949c9c7e9887 + last_write_checksum: sha1:f4487ab9c67c529e5db0d70b802c02d6b62ba59a + pristine_git_object: 1042b85550c87505be6f87301b3e139dfbb687f3 + docs/models/customerportalseatslistseatsrequest.md: + id: 86ff3efdfa30 + last_write_checksum: sha1:3b931bf0f2bb019818ddd5db9b69ed0eae86cc15 + pristine_git_object: c3ebafb476a07b76dc10a669625e8e69edc99f77 + docs/models/customerportalseatslistseatssecurity.md: + id: ab80fdf143ea + last_write_checksum: sha1:759ee6960d1df60405c728047bb7cf41613ddc5d + pristine_git_object: 1d8ae7cb0a3d9c36bedd4f91044181c310f66bf6 + docs/models/customerportalseatsresendinvitationrequest.md: + id: 4f7b43668682 + last_write_checksum: sha1:962d470e352a81b2d3d65c34cca6d187957ad624 + pristine_git_object: f959c964ca4e0dfc49b06c4eacf1bf1e287868f1 + docs/models/customerportalseatsresendinvitationsecurity.md: + id: 8ff9c34fb17f + last_write_checksum: sha1:a09c4924cf21988d57756596b46a6cb3efded4d9 + pristine_git_object: 0ef1b479188292bca4c7844599da02d657e8866d + docs/models/customerportalseatsrevokeseatrequest.md: + id: 8a05a7a744eb + last_write_checksum: sha1:27dd1c677aa25e719ab76c41c1dc9d6aa09ca0b9 + pristine_git_object: 5207d4a4759cc25ac4674ca4d7bdfe2bbdb1ba25 + docs/models/customerportalseatsrevokeseatsecurity.md: + id: 52af2f0c6f70 + last_write_checksum: sha1:0f58eeead71ffe190413f16726dac599d8a3d4ff + pristine_git_object: 9470a67a8c1f518fd6f09d267a24e725d0ea2188 + docs/models/customerportalsubscriptionscancelrequest.md: + id: 69e6989e8745 + last_write_checksum: sha1:300f3e6e3c0ba20431b7b441452b44134745cf31 + pristine_git_object: cb7cc7ca7d29fb05a60aecce59b99ed2f344b7b8 + docs/models/customerportalsubscriptionscancelsecurity.md: + id: d5e18111c622 + last_write_checksum: sha1:7a9ceb5f00713d6dd3699ede6ced3dfe80fe3e62 + pristine_git_object: 0f055d091b19b5334e6dd0d822ce7e8d18731838 + docs/models/customerportalsubscriptionsgetrequest.md: + id: 1d64edd17a84 + last_write_checksum: sha1:97d8287e7634c61d5a97bad16340a65e6ec31983 + pristine_git_object: 800ce29b71590776ca745c480bc162bae8886bb2 + docs/models/customerportalsubscriptionsgetsecurity.md: + id: 81181bc010b6 + last_write_checksum: sha1:9e16424f8e47b79c3022493a191b0e86f1e85125 + pristine_git_object: 480d50d084c7ff22f24835ff5d1aa22d4a0ec3be + docs/models/customerportalsubscriptionslistqueryparamproductidfilter.md: + id: e79e19975fc2 + last_write_checksum: sha1:326f4374f59fdd293a6f801caf58ccb68d7d7556 + pristine_git_object: f45919ebea75ee427705a977c32f9089f84f4cc5 + docs/models/customerportalsubscriptionslistrequest.md: + id: a497f222ac39 + last_write_checksum: sha1:4dda3ab0a8964390cf0ccc5d8fee869b7bbe69ae + pristine_git_object: 54a3ece5cb27fd1e12fb52074fb3ce908e42e8e2 + docs/models/customerportalsubscriptionslistresponse.md: + id: 35508d4f640c + last_write_checksum: sha1:1dca930aa09ced4d2afc43ab9ff71afea2dea3d5 + pristine_git_object: a746b26d6d64edbfed472c259fe2668774339470 + docs/models/customerportalsubscriptionslistsecurity.md: + id: 5caa9a61e792 + last_write_checksum: sha1:123d1f71d51fd3d26f045d6a896efb371da4ce60 + pristine_git_object: fb39f11d2bc3c0aaef1caddb60f3e3b1383ace57 + docs/models/customerportalsubscriptionsupdaterequest.md: + id: b39a1a47bd21 + last_write_checksum: sha1:f03cf6bc26031fa2a72369a55ccce51a0cabbf32 + pristine_git_object: f91048e59bfad2227c573940eadfe5f4eb9b977e + docs/models/customerportalsubscriptionsupdatesecurity.md: + id: 7c8451ed1ebb + last_write_checksum: sha1:23fe498941240beb23148f61068d6fe379801113 + pristine_git_object: 78de8ec7a6fbea7b372501c1a05efc664da0ffcf + docs/models/customerportalwalletsgetrequest.md: + id: ddd65eb5d343 + last_write_checksum: sha1:03d796139401bd3bf1c9bf2d22221910534a5db1 + pristine_git_object: 293133f0393fb72baa3f5da8804d66a835fb2c3d + docs/models/customerportalwalletsgetsecurity.md: + id: 35af4bfbbdec + last_write_checksum: sha1:d9ef16b93c3b9c3c04ac04f711e1ef01b964147b + pristine_git_object: 0c2deca7b6426d977455d4eca684c8f56fdab897 + docs/models/customerportalwalletslistrequest.md: + id: 390ed9fc2cb3 + last_write_checksum: sha1:50899861fde49b6f2a717483778483d995730d03 + pristine_git_object: 85f36d1a74b38cdf5c12bfc50d4c58b5f1935103 + docs/models/customerportalwalletslistresponse.md: + id: 1f54f2d85646 + last_write_checksum: sha1:1e08e7ee849f5898d319e2991da08e856be42d93 + pristine_git_object: 3dff71679f78e0d79e6ec348e07ce7f1f07e6385 + docs/models/customerportalwalletslistsecurity.md: + id: 495e74c9a6a9 + last_write_checksum: sha1:252c070c75498a766e81484ffd47efd4f271f859 + pristine_git_object: c2221932ca9317bd2aaab3c1efc63b2c6b07ee06 + docs/models/customerproduct.md: + id: b50d62eb99b4 + last_write_checksum: sha1:df0fc2783f26719d0a9aaac552f546c2ddecc9a2 + pristine_git_object: 30198fb061d2efe7e9e52bbfbc77c324b634c502 + docs/models/customerproductprices.md: + id: c075dde850a6 + last_write_checksum: sha1:a6c8e9f2e2cad0d954e92f791d67bf0722e811c9 + pristine_git_object: 7df7a7135f62c45c3bac76788cbd78e546effecc + docs/models/customerscreaterequest.md: + id: 2616599237f3 + last_write_checksum: sha1:33dd07f824f4d99f283db86e95a01294f615fe60 + pristine_git_object: bbcd71841529dcae3cdcab8c27c9a56b04200e98 + docs/models/customersdeleteexternalrequest.md: + id: 2fd5b1ab14b7 + last_write_checksum: sha1:2adbb835e220bd7363a847a45c8e20dbd2192163 + pristine_git_object: d4791ef9a68dddfd576bbce1dff02277fa0b3538 + docs/models/customersdeleterequest.md: + id: d293de39764c + last_write_checksum: sha1:b76538c9790c78f39561de1ec4d9121f9071bc24 + pristine_git_object: 3f1dc162b7d16a1338169b93653bf6f263c96957 + docs/models/customerseat.md: + id: cef7a438aa26 + last_write_checksum: sha1:0ebf2d07cfe5fbb4c9bd6a1b464646a60b10f22a + pristine_git_object: 03d2f066d00278d7327590c8c15e3ca45d572daa + docs/models/customerseatclaimresponse.md: + id: c546161b4608 + last_write_checksum: sha1:85cf8364a1c80f980d3211f4201a0a5669623e1a + pristine_git_object: ef99a7960df59f232420730f20ba559ebaa2b905 + docs/models/customerseatsgetclaiminforequest.md: + id: 75c4e3fc7ce6 + last_write_checksum: sha1:7fa963819cc1e89598d243feafb15e7f7df9353b + pristine_git_object: 81eb4fc66853966ac7c317badc4d8f7a082ddaca + docs/models/customerseatslistseatsrequest.md: + id: 31844868b549 + last_write_checksum: sha1:fe9a5002df052afdbea0238a8cbdea76b5ab8580 + pristine_git_object: 6e974204085062e327983bea18e8c3b3f58d15f9 + docs/models/customerseatsresendinvitationrequest.md: + id: 4060f45887e7 + last_write_checksum: sha1:85204679afb4f2f199f96bdb35baf8542f2b1dbc + pristine_git_object: 9549c86512ee430df7603822332d37b9b7efde23 + docs/models/customerseatsrevokeseatrequest.md: + id: 71e552453b69 + last_write_checksum: sha1:50236d07becae1f08f04c3a4e60713dd1a18863d + pristine_git_object: 22c7513b8f0b31e498adcece3ab4198b92fb347c + docs/models/customersession.md: + id: ab8a37d4ad69 + last_write_checksum: sha1:1e712abee3e6471d18b3b33c42fb473bbd9365dc + pristine_git_object: aacac043971e41fedd016a8015475ef278d57db1 + docs/models/customersessioncustomerexternalidcreate.md: + id: 1eb09bc1310b + last_write_checksum: sha1:b6b8be0379d04f04b80fab37e3cdf66f45dd6682 + pristine_git_object: bae16cfc9e00fa4e72ef76ca30050d15ac180799 + docs/models/customersessioncustomeridcreate.md: + id: "575463768952" + last_write_checksum: sha1:de0d846693f6a07f0b7e708843532826381de71f + pristine_git_object: 76b583d7d6174836fea768f8665dbf8fa9ec5c8f + docs/models/customersessionscreatecustomersessioncreate.md: + id: 7079e35e6b14 + last_write_checksum: sha1:05ede599bb0723f0407189015f2b435ad774e2d2 + pristine_git_object: 91564b991af9ea7006d793530f46a032fa37a042 + docs/models/customersexportqueryparamorganizationid.md: + id: baf694f6441e + last_write_checksum: sha1:710c5364e36ddf1af7149ebe218fccea4f45ff80 + pristine_git_object: c9a135c083ca116cd56941bd4eb52d8e4ca54455 + docs/models/customersexportrequest.md: + id: 8db7768f7c64 + last_write_checksum: sha1:90162c8bb41cad7f971cf918e9ac44b93bfa39a0 + pristine_git_object: 86d46db75feb02e143e3a05f5182da5cbc198908 + docs/models/customersgetexternalrequest.md: + id: c866e205a3fa + last_write_checksum: sha1:1649c705a96922aee3ce971986ddcd8a2657169d + pristine_git_object: f1293772eeafa25b273cae81c2e0032bd9df4b5e + docs/models/customersgetrequest.md: + id: 46cbdba3ead9 + last_write_checksum: sha1:9b07763f3ca58aa29432078fdf421410855b4185 + pristine_git_object: 66926d35c051d50019f9af8badd0eecd30b95414 + docs/models/customersgetstateexternalrequest.md: + id: 3910e7b267a0 + last_write_checksum: sha1:e46765ae6b6140cf2b14195a334dcc6c03aada4e + pristine_git_object: f09ec9f4e312602320f8034564a862f3724ae006 + docs/models/customersgetstaterequest.md: + id: f14a9bfe6e34 + last_write_checksum: sha1:f8e2c76c536718bf6b343d49f3871dab7002e485 + pristine_git_object: c9143a9064b5fc842f7a3d2d7ccee45cb1ff9613 + docs/models/customerslistqueryparamorganizationidfilter.md: + id: c8dae63169ad + last_write_checksum: sha1:943b8d02cc1e5ae96b73fc1cdb8f7987e2689603 + pristine_git_object: 593ceb2b23eac19b9d40fa92e7310e6966900bd8 + docs/models/customerslistrequest.md: + id: d458bc40a16a + last_write_checksum: sha1:d0d6973dcf09952e364f70159188a207e20fb93d + pristine_git_object: 11495b2153801a1bf94b68053cfe262fc68f9892 + docs/models/customerslistresponse.md: + id: 18c9f7a9630f + last_write_checksum: sha1:1bd4a389881dabd686b57523ff05032e8f0e8dc6 + pristine_git_object: 5cba5ba24f444e4e387d0394e58fed73f02a69d6 + docs/models/customersortproperty.md: + id: 69c50edd62e4 + last_write_checksum: sha1:2672b02c99477c6fc00f52ae9fa4065eb74e03df + pristine_git_object: 6e6fa41d4bd30c2f273154805a1a7bc47a239aca + docs/models/customerstate.md: + id: b63861ec1bbc + last_write_checksum: sha1:68bff0d39f509e7511f44459f868e2cec6abe10e + pristine_git_object: 0c8a8d21f1b38c35954fa0638fd8eb8f2b767985 + docs/models/customerstatebenefitgrant.md: + id: 9c3575b47ec4 + last_write_checksum: sha1:e3a9e8c1808c1af6ecf5beadc3c89e5df12b2300 + pristine_git_object: 8fcc79c92f81393015a903da7e6b6cebf54e7ef0 + docs/models/customerstatebenefitgrantproperties.md: + id: 2bc77d9fa9e3 + last_write_checksum: sha1:ba480f083046ac03636483a0714063dfb6773bbe + pristine_git_object: 073155ebd4dee4846ccee5abfbca12cb87cd7792 + docs/models/customerstatemetadata.md: + id: 5692cdab6cec + last_write_checksum: sha1:3c46102e330c7271f2839837af033b24f69a5526 + pristine_git_object: 9aee1586b285849e0cdab1fa75a2f5e5bb082efb + docs/models/customerstatemeter.md: + id: 2551f2936fdb + last_write_checksum: sha1:1ba8ac262f0636091a3ce06800e51c29ceedd0d7 + pristine_git_object: 313f1e0ac0b83850defe118fd0ce58c9c25da43e + docs/models/customerstatesubscription.md: + id: 40adde03de39 + last_write_checksum: sha1:78730216e254717096466b484edea8cf9edcf4cb + pristine_git_object: 564a75b515200f7c0b6be7c5e8b2d40aa09f72dd + docs/models/customerstatesubscriptioncustomfielddata.md: + id: d8c583314f5e + last_write_checksum: sha1:c04fbeb00da810348c90975c31fc0616ac6c1def + pristine_git_object: 1d76da489b58df8b0ba3ddef14292b325bd16723 + docs/models/customerstatesubscriptionmetadata.md: + id: e31e40d2b3f9 + last_write_checksum: sha1:112cc777f6adb93e14f3305d3c12fd0e386cd5ff + pristine_git_object: 0b634a8f03da249fe8c1fd8503d6e4792617c11e + docs/models/customerstatesubscriptionmeter.md: + id: e2169dae75c0 + last_write_checksum: sha1:3af44933abda2103b86c7e035b60bf89359d6257 + pristine_git_object: 3eacd3c32c68395ea84a000bcb75deb5c322b5ed + docs/models/customerstatetaxid.md: + id: fb5fb6c30815 + last_write_checksum: sha1:e0c84fc7dfb7b4185064a04c99c8e93126c5844d + pristine_git_object: 0feb92418383926874408fafcaad6ccdc11d30ee + docs/models/customersubscription.md: + id: 811d41378615 + last_write_checksum: sha1:2e273f54aa9cdf83afc61d290c6256aa8d50804d + pristine_git_object: 5829279ae6da7598b0d50c7d80e68a3fb02ae87a + docs/models/customersubscriptioncancel.md: + id: 3af54ac79987 + last_write_checksum: sha1:e77bd64f95923c220036361a527001b621869501 + pristine_git_object: 89da859ae44150ccfb65ffa5f4cf361ef42e56a4 + docs/models/customersubscriptionmeter.md: + id: 501c308f6070 + last_write_checksum: sha1:2cb2ed5e3b9d7035ecb61efa7262f1d9dc0e3d0d + pristine_git_object: 71483a09caabab8c42a6120ec58349c18f1b3481 + docs/models/customersubscriptionmetermeter.md: + id: af8b5907ecd2 + last_write_checksum: sha1:91dc98ca252777b6eadef9c96db1a3c9605d9fea + pristine_git_object: 147607db3c6b96a24e97394eb86cc1d597e23281 + docs/models/customersubscriptionprices.md: + id: 305cf97b3a53 + last_write_checksum: sha1:9782be7c1c5fd3be399292d9c6fac4657a11c6aa + pristine_git_object: 152e986c2e3710185518856c0e789d5d42a84246 + docs/models/customersubscriptionproduct.md: + id: a41c6b66c1d5 + last_write_checksum: sha1:be92eaa9dbb4d1fa0bd6b442a80e78eac93eef55 + pristine_git_object: 2fe72991ed9f3e1d900fa2e7f624d08c32538b09 + docs/models/customersubscriptionproductprices.md: + id: b5e41fef4336 + last_write_checksum: sha1:c06f0a0d26903f5844d773c935868fa60065c8c0 + pristine_git_object: 4cc78999e88afd898e9ddc3d5f10d9c2f09509fb + docs/models/customersubscriptionsortproperty.md: + id: a28807056656 + last_write_checksum: sha1:cf2bcad8c5313c5eda8d6db54e8007c7271bebe4 + pristine_git_object: 5053538e9d83d0dcd05fa12079236cfc1438e185 + docs/models/customersubscriptionupdate.md: + id: f4911ee702a5 + last_write_checksum: sha1:0957ef5cda80ec1e7dde805d281b617eed0afb19 + pristine_git_object: 0761867d34ffcb3a01d9b292b53d1650d53bde02 + docs/models/customersubscriptionupdateproduct.md: + id: e0394fa64b49 + last_write_checksum: sha1:4a77eaa9c9382d5adbbeb82aee2d84acbb4b506e + pristine_git_object: 9843078cfeb15b220e04d17a4dd6cae929418b0b + docs/models/customersubscriptionupdateseats.md: + id: 77ac3b39320c + last_write_checksum: sha1:0de805d2e88a1f6ea76ced4d263a768fbdf22b60 + pristine_git_object: 13f0f5cecb3badbc7641a0fb1b252ec7501e444a + docs/models/customersupdateexternalrequest.md: + id: 9c264e64928e + last_write_checksum: sha1:e2534ae28007211e241ca5392668156a99afe266 + pristine_git_object: b5539759abded748e741621da7e1babb7fed9b20 + docs/models/customersupdaterequest.md: + id: c80d72355d3f + last_write_checksum: sha1:e731cd8a0b264fefb522a9a3d723a7acb509e665 + pristine_git_object: 9c3abefe00d18da19976160deff42d375f68c8b7 + docs/models/customertaxid.md: + id: bd9655e507c2 + last_write_checksum: sha1:cb7c9a256fb019375aabd65ec44a15b7dd239a70 + pristine_git_object: f1b8db326887ce4828bf9e53e432dfea1253ce64 + docs/models/customerupdate.md: + id: d1cbbf9625f3 + last_write_checksum: sha1:ea716b9adcfca69d1e02b2083d5c16db36338894 + pristine_git_object: 7174112caa44b70e623e281372f45cf94d67d0d8 + docs/models/customerupdatedevent.md: + id: a8973f03152d + last_write_checksum: sha1:ab3b2aca8f4ffc7d4cc213a489755c9518edb754 + pristine_git_object: 20b37faace07f534d6dbeca92b24ea5907ef7c0b + docs/models/customerupdatedfields.md: + id: 37d764c2977f + last_write_checksum: sha1:a85967ada66764c2c1c6a5a1f38049824e5354c0 + pristine_git_object: ffaae019a55cfd21b251cd56dd91307c448b4153 + docs/models/customerupdatedfieldsmetadata.md: + id: 19a882ea641e + last_write_checksum: sha1:67e571ba0f7abe6f0d2252e5b1ec5acc88767cb5 + pristine_git_object: eb28ff3eb3197ef5be228ec84e4858af3149f3b3 + docs/models/customerupdatedmetadata.md: + id: 584e0ca4550b + last_write_checksum: sha1:83744c6a651b2fcc9b794f2772b988789d2ef5df + pristine_git_object: 4aaca92442b5388386626882f18b7c74519b36e7 + docs/models/customerupdateexternalid.md: + id: 88f3d2eeb44b + last_write_checksum: sha1:7125e1fc964711884009cf5d73f853cafa81b7d6 + pristine_git_object: 298a60f358eebfb29262ceac6258a289623dfb16 + docs/models/customerupdateexternalidmetadata.md: + id: f4d92b72d2c8 + last_write_checksum: sha1:225fc57279cb71b029f06bdb4a5cbe928810612a + pristine_git_object: 048e438f1bba7d1817b8124c7dd5271810720eba + docs/models/customerupdateexternalidtaxid.md: + id: 613f6310841e + last_write_checksum: sha1:491b8e58e8996e9859b8aacb9cf76e75dfe17053 + pristine_git_object: 9d52e30dfdb3d5ddbaaac30097cc99c9db34d497 + docs/models/customerupdatemetadata.md: + id: 6312e7a2d6a4 + last_write_checksum: sha1:32e75ef2ff8c390f2c4ce7c2d5b7c63434a0a123 + pristine_git_object: 3d1596ba34bbe42095d8a557cc5d2d6adb0e8882 + docs/models/customerupdatetaxid.md: + id: dff86ca5289d + last_write_checksum: sha1:4a809f6ecefedabf7028c658bf343a2b53365d49 + pristine_git_object: 16ac13753cca4a2d6058fd518d2596c4b423f7d7 + docs/models/customerwallet.md: + id: e26497065ffe + last_write_checksum: sha1:07da8ef2ea7d574b5e5afed297f9340340d82fac + pristine_git_object: 9ca5cab089fa8f4f66e25e42c6f5bf7018e2e46f + docs/models/customerwalletsortproperty.md: + id: abfeae23eeb5 + last_write_checksum: sha1:2bffc9516e29a1c719e0ad7c9cc0b98cb7a2ef98 + pristine_git_object: 31ec8f4ea529eba6f40872de2c93f87b32cb91d6 + docs/models/customerwithmembers.md: + id: a9c839c513b6 + last_write_checksum: sha1:1052758688339edc7fb529e26f06c2ad9f3952cf + pristine_git_object: d761456ce5925472377ca140d5d35522497673a7 + docs/models/customerwithmembersmetadata.md: + id: b3d583457193 + last_write_checksum: sha1:a14a280c80f96187000d48029469cf3320a02236 + pristine_git_object: 829953157d90457a234feb08b6bd637c22d6f2bc + docs/models/customerwithmemberstaxid.md: + id: d353069473c5 + last_write_checksum: sha1:84ca2f92d4ffe8ea194be5e82f6b2f876899ba23 + pristine_git_object: 27b667f3ff7e01219e7fcf85c34967f3a8b8aca1 + docs/models/customfield.md: + id: 8586853d53d3 + last_write_checksum: sha1:3616c07edade1c5412e4583010cd1c5dc81cb70a + pristine_git_object: 28842682959f5c180b4bb83f4c3a84f19d704740 + docs/models/customfieldcheckbox.md: + id: 102a2e7831fb + last_write_checksum: sha1:e26c386711424979edf915ad462fa201585aa088 + pristine_git_object: 3e21d4856408bcfc88d5cafefa8a24ac0e918712 + docs/models/customfieldcheckboxmetadata.md: + id: 29af9916d0ad + last_write_checksum: sha1:3c7bcdb41d52bb29603e3c8afc709a4c2dd201f4 + pristine_git_object: 8c284da3065285e3f7e773ed3ca3e3c268781f96 + docs/models/customfieldcheckboxproperties.md: + id: 3e69350b7de9 + last_write_checksum: sha1:eb7a2877324b4e9f6e6f3f5154554f949dd0e8da + pristine_git_object: 2b66cc1134a34e46151374a726305c1698717953 + docs/models/customfieldcreate.md: + id: 50e2bc736134 + last_write_checksum: sha1:afe3449a62a58ee62a6fe6cafa783073439d2042 + pristine_git_object: e92d1f58f1c77ef489ae1356fbca33f81e2c6d85 + docs/models/customfieldcreatecheckbox.md: + id: 8d8f4698e21d + last_write_checksum: sha1:f9a52a8aa2ffaff193c5cf6b8252942cbad12ca5 + pristine_git_object: 84e6266796e63ec772d5a8ebd46a699f522d3bbb + docs/models/customfieldcreatecheckboxmetadata.md: + id: 38f89344be73 + last_write_checksum: sha1:8f719ba9596d73a1a5f7b8296cd0272ae56bdd10 + pristine_git_object: f4c6d8a630d1ae48d85ac03a76d3d0d032b9922d + docs/models/customfieldcreatedate.md: + id: d3d489bd87dd + last_write_checksum: sha1:de9692e482a8c4966041a3e692dee3f87a6be075 + pristine_git_object: 1a089d37a9a1dad11660bb079223528817646115 + docs/models/customfieldcreatedatemetadata.md: + id: e9034fee09ed + last_write_checksum: sha1:07a113c029a26c7d78eda7e85ca98b486ceffa1c + pristine_git_object: f4e98801e11091138ce13812ceec5428e43ca694 + docs/models/customfieldcreatenumber.md: + id: 2d09ef841441 + last_write_checksum: sha1:7cf4c0416f33d63a0d1300a01c8ce6350bae94e7 + pristine_git_object: ca70a453077d808e6beab8583c3b0e7873a16338 + docs/models/customfieldcreatenumbermetadata.md: + id: 5736b6c8b92e + last_write_checksum: sha1:863638f0bee78b29b3fbb7bf9b540032241df470 + pristine_git_object: cdc01199ec56e29ac2abd4a728b92e605e10786a + docs/models/customfieldcreateselect.md: + id: fbd00b95d43c + last_write_checksum: sha1:c294446745c075a3b1e84577285663f2779ba565 + pristine_git_object: 9843da80740a590ffe0d0a38a4dd5f7e478b551a + docs/models/customfieldcreateselectmetadata.md: + id: c04df4737a00 + last_write_checksum: sha1:b69417b849b01ad8bed20a6f50eb507ed13f82a8 + pristine_git_object: c29017b976d36a898496f0ecfc71b7abbccb85fe + docs/models/customfieldcreatetext.md: + id: 7496bc854981 + last_write_checksum: sha1:87dfb7810fac749f237faeb2e78340bdc371248d + pristine_git_object: 36d0d4f992f5296669a47e9d0909dd7f2a2c5472 + docs/models/customfieldcreatetextmetadata.md: + id: ed75af8e1891 + last_write_checksum: sha1:5314271be740d0261de39d4ef965102832e7c69b + pristine_git_object: 8e03634413600bb5015978b98525613baed3a019 + docs/models/customfielddata.md: + id: ed3fc14221b4 + last_write_checksum: sha1:d9093f9e1ff5c41d71b1f15b1d5b1c3fefb64267 + pristine_git_object: c1ae771b9d19fa4f2eeb20d9d0e2c13cce1a03fd + docs/models/customfielddate.md: + id: 762524932dac + last_write_checksum: sha1:3da1e0f56e28061b81c5b9ae1a8aadab20a1d2e2 + pristine_git_object: 3ac47f1ff03f92a3a436523753e08013987be6e2 + docs/models/customfielddatemetadata.md: + id: 21cb8d8ee2e4 + last_write_checksum: sha1:98ed7b875294084567e5155d2989a97b0c979d15 + pristine_git_object: f9ff3c7b2d6c97b08660a09731e64a398589f721 + docs/models/customfielddateproperties.md: + id: 15e519d0edce + last_write_checksum: sha1:2d862d848aa55bac6a035ce7ef26fa7e113bc80b + pristine_git_object: 3baeb4814b8cac8b843a8494f2e8d4379471f116 + docs/models/customfieldnumber.md: + id: 8c768919d3b5 + last_write_checksum: sha1:2ceddbe749a234a1ca86d7cb251427de422185d9 + pristine_git_object: d3a2fb6d77b4d55737811698c46d2e6e72989a41 + docs/models/customfieldnumbermetadata.md: + id: f25bfd29544c + last_write_checksum: sha1:d9f66f42ba2291d7a4dddbfa0c46d656214ef8a0 + pristine_git_object: 619e2a0f9f3cbc87f7d1a5dfa55ce38f6c815cf0 + docs/models/customfieldnumberproperties.md: + id: 5bfb95fec2ba + last_write_checksum: sha1:2d0931d5eda8f0a7c550cee07730698e4fac6beb + pristine_git_object: 41670f9e4df176b7ab13b287efb2be616b72957e + docs/models/customfieldsdeleterequest.md: + id: 641950b4a484 + last_write_checksum: sha1:fb68a16566d9bdec9af4f49ef4b380ab9b392702 + pristine_git_object: 53763355c5b83b4555210dea2ce9806ff2dbf9ac + docs/models/customfieldselect.md: + id: b8d4451dc690 + last_write_checksum: sha1:6054051ca5b98206b9f8ca85f5f9ea63034463ab + pristine_git_object: 8a5f0e94dc83de4885d5808a7ceae32a62ba4fc9 + docs/models/customfieldselectmetadata.md: + id: e83f6837ecde + last_write_checksum: sha1:5fbbde44acbb94be3ad208ce464c76a08b0d9ca9 + pristine_git_object: 28e5a64fc6db119564ef131142766a0018889d5a + docs/models/customfieldselectoption.md: + id: 60242545af6d + last_write_checksum: sha1:f4bd46f9b54a9b405b75e0af0139305981b6dfaa + pristine_git_object: 49f9cfbb33389790a0719409a7bd92423359fbd7 + docs/models/customfieldselectproperties.md: + id: d88dcf5eb1df + last_write_checksum: sha1:2c4a130107038cacb2f9ed38ae6980bbea358934 + pristine_git_object: 9dde92e101b98933efb0950e8bf755b0932b4b84 + docs/models/customfieldsgetrequest.md: + id: 273063d10a67 + last_write_checksum: sha1:34fb08686ae0422a1e59288aace5d46788add096 + pristine_git_object: a458e078ba0f11be4cc102bc3a2aeafc20505cdb + docs/models/customfieldslistqueryparamorganizationidfilter.md: + id: afab59182eca + last_write_checksum: sha1:c45c0faa36f7040fb94cb33045a44f6d2e32bc26 + pristine_git_object: 53e84e5be1eb1a6fc6e9c37f60d9e78c6decec9f + docs/models/customfieldslistrequest.md: + id: 6db4dc34f356 + last_write_checksum: sha1:5621c46a39bd106179ceb7538e3f6dac7b3a6c09 + pristine_git_object: 2e72b536d7e2e522d8c3ae431984719f60b8d642 + docs/models/customfieldslistresponse.md: + id: b64fdebdd9c4 + last_write_checksum: sha1:5f94297c252d869d8c5c1f923b42673646053892 + pristine_git_object: fac058713e3d07afbe459be348e832fc5d2e3da4 + docs/models/customfieldsortproperty.md: + id: 91f61962f10b + last_write_checksum: sha1:832cd22e898e6ba9759518e017c608793081798f + pristine_git_object: a9597c6e749c4507774eef2d589a47edd6660884 + docs/models/customfieldsupdaterequest.md: + id: 782d5e875fec + last_write_checksum: sha1:866e59b44f18fbd7c985cffe1ec208930c0ece72 + pristine_git_object: b64567104e352a56a4a785163966acc8fd52b9eb + docs/models/customfieldtext.md: + id: 8b0658784e6d + last_write_checksum: sha1:f9d7778c3d215efc0c6d44ead874e723d52950e5 + pristine_git_object: 08ecf09c4b3025963b3869c825207415b9e224f4 + docs/models/customfieldtextmetadata.md: + id: ed49bc3956eb + last_write_checksum: sha1:986f08b5203db18e451d9897fa18aba6296ab67f + pristine_git_object: ae8d64afecc2e18683419be4c67faabaf7a494f8 + docs/models/customfieldtextproperties.md: + id: ad99e980834b + last_write_checksum: sha1:b086685a205779a70951949f85a8a64980f1b574 + pristine_git_object: 7cedb4f485aaec35248bd59dfa5020e2582e0582 + docs/models/customfieldtype.md: + id: d9fe2b433f65 + last_write_checksum: sha1:0a304f52f510ca372b34cb0c1f17be80c111e202 + pristine_git_object: 20cf91e825ccc3082ffb103c36e84b4a49816de6 + docs/models/customfieldtypefilter.md: + id: 772b761c46ed + last_write_checksum: sha1:e52952107b13376aa1403a1eaa8defbc91c4546d + pristine_git_object: f0ac355af7f01ea5902f7ebe696b290fe3f5845e + docs/models/customfieldupdate.md: + id: bf725a1f99e9 + last_write_checksum: sha1:08057f03e484445cf2593b40355607c3495e60cc + pristine_git_object: 660bf41c1bb490cdf59e0625d7f1f9f868718156 + docs/models/customfieldupdatecheckbox.md: + id: 0d3230ed0b68 + last_write_checksum: sha1:9080cb68035623325274b8e237bad834bd6ebb39 + pristine_git_object: f7e2c83aed86f24bdf502fc620d832f523c75542 + docs/models/customfieldupdatecheckboxmetadata.md: + id: c87c3b03f2d2 + last_write_checksum: sha1:b7d8e8838c8408fd6982f8a5b9da928e04cf3b41 + pristine_git_object: 8e8919d256542b80b00b39599bb67e9c5a65d751 + docs/models/customfieldupdatedate.md: + id: 05ef04adc48f + last_write_checksum: sha1:67f7016885d95049d5e5053d7464724f476a47a1 + pristine_git_object: 8eb6bcc73573feb52bc4b3df5ed1599f8760f9a3 + docs/models/customfieldupdatedatemetadata.md: + id: f2831e1d4c6f + last_write_checksum: sha1:bc77cfd453e8baac833711f4f3fcb271c9b9df5e + pristine_git_object: 92046215899c5833c0495097d3f1ab3d6e3c795b + docs/models/customfieldupdatenumber.md: + id: 82334174ce3e + last_write_checksum: sha1:f26d5ce793aaaf906efb8bdfb6c4d94e10cc6eab + pristine_git_object: 46c0f336c1ba91cee8650a5e95dbb61291e72568 + docs/models/customfieldupdatenumbermetadata.md: + id: 29ebf4a7f23d + last_write_checksum: sha1:9c87c188d57e47868c50114b993aa8d1e428a36d + pristine_git_object: 42acc4fddcf94fcb948a23771b813cd2bd6fa13a + docs/models/customfieldupdateselect.md: + id: 1e0edca6eaee + last_write_checksum: sha1:0cc13af807e7e36852516a602174783b1e60556c + pristine_git_object: 819a3082c4cb2430fb14b078739a9e056100666e + docs/models/customfieldupdateselectmetadata.md: + id: e692bcecc696 + last_write_checksum: sha1:129d489a786d8f945c86f837e697759a60475633 + pristine_git_object: b1468507ed6ef7c563d3686a0f800b6dc9e3e0f2 + docs/models/customfieldupdatetext.md: + id: 382d9109dc5f + last_write_checksum: sha1:5223639a706a4c7ae7afa3f4c171af2f30603e51 + pristine_git_object: 4bca095643959ad414d1921505f5a9a819f084a8 + docs/models/customfieldupdatetextmetadata.md: + id: 9e7fc5207983 + last_write_checksum: sha1:3aa35f8bae4d5b15e6f4314f09a886204c3f8bf8 + pristine_git_object: f6c071f29b495f434add879a8fe30133b5ad9ea7 + docs/models/discount.md: + id: 003b28f6c8a6 + last_write_checksum: sha1:b42a6cb1d8320501c7fd4c824685284b27341e1b + pristine_git_object: 311cd806bd4ee78f79b932eff675d442ee83e959 + docs/models/discountcreate.md: + id: fc504d0dcaf1 + last_write_checksum: sha1:07831ca12f3ae890453ce3db9cd51cdd0cd2b1a4 + pristine_git_object: 5b36398b9d2cd650fefc42c2621611b89a943458 + docs/models/discountduration.md: + id: 9e5a07e91ba0 + last_write_checksum: sha1:01dd4bf198ea559dffe95cf6b785fe52565ad574 + pristine_git_object: 9f93ea1d400efcb79619ce1ad519b3f780221435 + docs/models/discountfixedonceforeverduration.md: + id: a1df0cde2ea2 + last_write_checksum: sha1:b64fd31c5b0d3b31ed9ac92c1d7d259e6fa94db1 + pristine_git_object: 680e7215243c004f7ede20d69e67d0b5e9fecd8f + docs/models/discountfixedonceforeverdurationbase.md: + id: 4f854cd4b552 + last_write_checksum: sha1:cc76abb155223ec1439301e43194cddd94d5b886 + pristine_git_object: e5c08ae8122949bc8261efd5c49918230fe4fa64 + docs/models/discountfixedonceforeverdurationbasemetadata.md: + id: 2e584f2e7c34 + last_write_checksum: sha1:1d80ae5a5d61a36b4d4ea79a11ad3836458d94b1 + pristine_git_object: 7979fde79fcae7870bc7cfe4958449e46f30a2a0 + docs/models/discountfixedonceforeverdurationcreate.md: + id: 6e578dded86b + last_write_checksum: sha1:114fee9248ba41c3a59cdc4b299f2c4490ddc2ba + pristine_git_object: 83b8e7d05696ea5815a028f37cc92f4f9e53efca + docs/models/discountfixedonceforeverdurationcreatemetadata.md: + id: e58bbce57470 + last_write_checksum: sha1:3b74b2cf43c9fc7f5040f87dd853048b878b60e9 + pristine_git_object: 51595c78d1d09eab54902b400e072d14b8e9db42 + docs/models/discountfixedonceforeverdurationmetadata.md: + id: b1c893848b8c + last_write_checksum: sha1:c1dcc0b0ae5dd86ac434eee798d44ecbab642b55 + pristine_git_object: fd0baf664e1b047d0f3939bc0d7ee4fd1bba44ee + docs/models/discountfixedrepeatduration.md: + id: 7b6fedaa302f + last_write_checksum: sha1:1c0a5d48a3b10d3674f0d40d29ff5dd8c8e42d9a + pristine_git_object: bc475ed21089160e76605c98b592747927e1cf14 + docs/models/discountfixedrepeatdurationbase.md: + id: 24ea45605c5b + last_write_checksum: sha1:67004c8efac2e355c1ad4672b2077dd4e80b7441 + pristine_git_object: 368e9d778e79f4940d515e4546db81a48ac5052f + docs/models/discountfixedrepeatdurationbasemetadata.md: + id: 9282505ca086 + last_write_checksum: sha1:4538b164c2be5a8d01e738d4d66590b2c39c8c2d + pristine_git_object: c564538735d1df77695280bf1a931600bb5fbbf9 + docs/models/discountfixedrepeatdurationcreate.md: + id: f931eecd60e0 + last_write_checksum: sha1:2eb921760d20c4d5a1a5821d17530d7353acce54 + pristine_git_object: e314af9e78e3abdc3172a9186c252daeb9c72547 + docs/models/discountfixedrepeatdurationcreatemetadata.md: + id: b623fe2aec29 + last_write_checksum: sha1:20001c81aa0c625adf43bcdb87aa85867a8291c1 + pristine_git_object: 30c733e3321e51be8a941d059e87147ecff898ea + docs/models/discountfixedrepeatdurationmetadata.md: + id: f330c5943f14 + last_write_checksum: sha1:e59877da34835c5e9f302c15745084cbb79850d8 + pristine_git_object: b0fd3f3ada06d44f76e80e4f1a2403e41e76f787 + docs/models/discountidfilter.md: + id: 486df41bc16a + last_write_checksum: sha1:e1b17ec0ff4bc7263f3462ad611d9527bf033740 + pristine_git_object: a7c4112505c9646d19251c25af4159bcca1a805b + docs/models/discountpercentageonceforeverduration.md: + id: ff612944f059 + last_write_checksum: sha1:07f65ec420f62a080b5027d6d865b7da597a2088 + pristine_git_object: 228aa3c10d544bb7b7808e257ae1209d5d24a39f + docs/models/discountpercentageonceforeverdurationbase.md: + id: c823b5ebe608 + last_write_checksum: sha1:8c14d483e94e5e395935ec59d4a8e5fd39bffd5c + pristine_git_object: 57a8d580206687a4ffeb4249e4a468557a5b30cf + docs/models/discountpercentageonceforeverdurationbasemetadata.md: + id: c8f5642b553c + last_write_checksum: sha1:fe7ac071b48082f44ba9b34721f11e2a1c2bfa57 + pristine_git_object: 71a1612c2eacda34e4043e0ffa7cb9f4c7ef66dc + docs/models/discountpercentageonceforeverdurationcreate.md: + id: 0e1955d05f4b + last_write_checksum: sha1:be40349a5a4f44a237208113745de87d9a823c97 + pristine_git_object: 00368f149b8f8d9e4c6644aa6dc909c7f63df327 + docs/models/discountpercentageonceforeverdurationcreatemetadata.md: + id: 0ac9a0d8c129 + last_write_checksum: sha1:b1240832c16bc6f4d6c9c275443e154a04b5182c + pristine_git_object: e9a42534033675ecc85e80cb83c94924a43e7ced + docs/models/discountpercentageonceforeverdurationmetadata.md: + id: 35a8946d2b0d + last_write_checksum: sha1:2e146de7004241bd043b9bcbe4bc02c29ddbdb53 + pristine_git_object: ac13c014cc4dc8c7dbd72d559a2b761d8fdff0ae + docs/models/discountpercentagerepeatduration.md: + id: a99e24dbba95 + last_write_checksum: sha1:4d38f4674f6c1da6f12cfd053ad38f200189436e + pristine_git_object: 63d0e29d89c3c5b9ec9ca7c86ebfb000154f0db1 + docs/models/discountpercentagerepeatdurationbase.md: + id: 3858a12343f2 + last_write_checksum: sha1:9d458d72a64ec9fc2233540b38836f6cdf26020a + pristine_git_object: 6909a159e7515e82c55d7141274a0c6b7faa3432 + docs/models/discountpercentagerepeatdurationbasemetadata.md: + id: f7e08c4dbf0f + last_write_checksum: sha1:965ac3984602d55e8e0d9f9f9f8aa9b3dd1fbafe + pristine_git_object: c45bc13f5beda739e70bdcc41fb6ba95174c11fd + docs/models/discountpercentagerepeatdurationcreate.md: + id: 57166fcd7f79 + last_write_checksum: sha1:faa6524014e56074d6a399052c0473ecfcb36843 + pristine_git_object: be5db5e13428d7970edddd7b6fe6f3df086cd177 + docs/models/discountpercentagerepeatdurationcreatemetadata.md: + id: f0e812edac88 + last_write_checksum: sha1:7cdc767861e20bf3092d853110dbb849f96e9294 + pristine_git_object: 724b2fa9181a498f2035f64446fa623043cf73a0 + docs/models/discountpercentagerepeatdurationmetadata.md: + id: e7fe2e0b39a5 + last_write_checksum: sha1:c1836e0c826659f09779bdd922ed387265c6a065 + pristine_git_object: 27e7e553a2a0e0683dee908d1762c09d2abf55b9 + docs/models/discountproduct.md: + id: defd5478bd3d + last_write_checksum: sha1:d0e21878649bca9256ed66694d1dbbe4700b634d + pristine_git_object: 17590cff6e381d08a9c53d1ac76689f1cff26344 + docs/models/discountproductmetadata.md: + id: c1ba98473d93 + last_write_checksum: sha1:800aa639b01959047cd93e235823236d7687dcc1 + pristine_git_object: 08e537846498e5cb1fecbff0bee7291915a2d82b + docs/models/discountsdeleterequest.md: + id: 4ecff8c49a05 + last_write_checksum: sha1:3ef7357772d63be24d9f449d1c04f9184562d959 + pristine_git_object: 8e7fd7386134d80a8ec89df4aa8b44263c9d3bdc + docs/models/discountsgetrequest.md: + id: 9a6979b80199 + last_write_checksum: sha1:0f29bfd04537fe3def0e97af7eaeb0b23d95ebb9 + pristine_git_object: 98d6cf41b9550571881f6dae372852b19f1a26f6 + docs/models/discountslistqueryparamorganizationidfilter.md: + id: d1f70137169d + last_write_checksum: sha1:ee2b3c24d39f38b6a309247f701d57158a17305f + pristine_git_object: feae27f512d1244327f9be5f80a7e3c92d0d39a8 + docs/models/discountslistrequest.md: + id: 1bf3269ab01e + last_write_checksum: sha1:aed61271ffb392cfbe4f0271ae034e7e925c071f + pristine_git_object: 99e63532703b0acdefaaa2e958ec82f921674fb8 + docs/models/discountslistresponse.md: + id: 348592d88c72 + last_write_checksum: sha1:6c7bfef59c26cde3f56706c93d5a50ef61785751 + pristine_git_object: 4fd5c3d5942b3166be4e18da6fc021613fe43f20 + docs/models/discountsortproperty.md: + id: cefcc25b5d52 + last_write_checksum: sha1:59e7e9b0387525f3f3e87243c0b256420a3f7efc + pristine_git_object: d94a7c5a91f8738563a5a56becb906577edf6a32 + docs/models/discountsupdaterequest.md: + id: 8fb00963a778 + last_write_checksum: sha1:54ca99882ba33900206b7051ed05cd67c7df45dc + pristine_git_object: b0ca36b038fafb7ef57ab3796f1fa08ef14fb0aa + docs/models/discounttype.md: + id: 195acd9b7107 + last_write_checksum: sha1:f8ac854bc40b0ab6e6eb6dbbeff86222238d3582 + pristine_git_object: fcc875a00120480146cc42b1dd22976f3ff569cf + docs/models/discountupdate.md: + id: 8542507631bd + last_write_checksum: sha1:ee160ba9cc02918a2f36de59f18102f2c446eed4 + pristine_git_object: 9168b9fbfa2a3d96fda32daf63552a445ba1e502 + docs/models/discountupdatemetadata.md: + id: 58d90e945d09 + last_write_checksum: sha1:e2a05aac2467d19b74e68e4c44929bd3368cf4cd + pristine_git_object: 7213b94a4695b8fda6284e5239650f539c6604a2 + docs/models/downloadablefilecreate.md: + id: c39adedeedff + last_write_checksum: sha1:192b2379d7e557d56495b757390677fe59f7ff8c + pristine_git_object: e68eb1ed1060eac7e2eaae72206070c19ba90514 + docs/models/downloadablefileread.md: + id: 222fca46b747 + last_write_checksum: sha1:112350d78a9017f541d648284238919082b0cee7 + pristine_git_object: b17246ae2da00a2cccb65532caa583ce1ad0c225 + docs/models/downloadableread.md: + id: 92c4a7fe0294 + last_write_checksum: sha1:7f727c1b86124a840231fe927af411e1bcbb3077 + pristine_git_object: 89de926819125b44daa56088ae434ebce774dc04 + docs/models/endpointid.md: + id: 58946c74e765 + last_write_checksum: sha1:4297fd0249cda63584a9caac0339671748f3d7a4 + pristine_git_object: ea035d1f50e63d2389e20ebb20f4fc1c46930893 + docs/models/event.md: + id: 311c22a8574a + last_write_checksum: sha1:bad41a783e9e5889c2a375ee1e73a9043249f073 + pristine_git_object: d27315a5d1f80f6785ef648c8abbc911266c1f3b + docs/models/eventcreatecustomer.md: + id: 70975b4ed41d + last_write_checksum: sha1:399752af24b8954a69e61cb1fada0eb5943b7d32 + pristine_git_object: aaa5b2fc9f08abea287dca859d8f4e197b5e8448 + docs/models/eventcreateexternalcustomer.md: + id: d0f726f89361 + last_write_checksum: sha1:ab611c9f3c2741c592682ebc502768cb92430ca9 + pristine_git_object: dca068a223c1ca26e311b1f2e320fe45cf4d3ccd + docs/models/eventmetadatainput.md: + id: 3872fdcf7d25 + last_write_checksum: sha1:55376d3f4b6d4aa188b164ebd1855cd9ba938e51 + pristine_git_object: 05e1a94cb0b6812c702db091e1a5037d76bba81e + docs/models/eventmetadataoutput.md: + id: 0150f57a66ea + last_write_checksum: sha1:e2de8a30504705eabbc683230a2e18f494b97794 + pristine_git_object: 44018d9b989f9f8356554d50f4972d4ab1b02f1a + docs/models/eventname.md: + id: de4067780a14 + last_write_checksum: sha1:db5d8752ce5c320865e814fc80c57207f76ef772 + pristine_git_object: 7654d9561543f27316e97fa5077588a14c5cf881 + docs/models/eventnamessortproperty.md: + id: dd13c66dafba + last_write_checksum: sha1:888fd6ee98528031438b2bb155125c543b395339 + pristine_git_object: 9f2400bfa0005c228870daeb01c43011e2b03f54 + docs/models/eventsgetrequest.md: + id: f8e71dbcec81 + last_write_checksum: sha1:8920c7f44b6457ed2a897d38d76e16a148ce7f21 + pristine_git_object: b05ce0c6fb6a456c366200575ccdd90d82663ea9 + docs/models/eventsingest.md: + id: a2375c36a9dd + last_write_checksum: sha1:d63c2889fa4ca58efa3791d33e42106f6058ac81 + pristine_git_object: b707cb9d2c7f85b5e55cfe5358ce7a261a829fad + docs/models/eventsingestresponse.md: + id: 9d0822600e20 + last_write_checksum: sha1:b636b66b53692f367884765c107a45215724cede + pristine_git_object: 7da661cee3e9b5607ed3fefe9152dd4d3ac77639 + docs/models/eventslistnamesqueryparamcustomeridfilter.md: + id: 30f8fc0962c6 + last_write_checksum: sha1:183061be13271b487962fa134d93cb66f44cace1 + pristine_git_object: ddbfac75da5418c2aaa42828820058243d5509a6 + docs/models/eventslistnamesqueryparamexternalcustomeridfilter.md: + id: 4f8abbfb439b + last_write_checksum: sha1:6708734a5d274a59d97dfc89d4626b378357560b + pristine_git_object: 940645c2fa1f8d7e76dd595b6ae302796d62d989 + docs/models/eventslistnamesqueryparamorganizationidfilter.md: + id: 557b675a47b2 + last_write_checksum: sha1:10ccd9c5e79fe543a0513d39ed462637298175e3 + pristine_git_object: f53ca760ff5d867911a9e90f45be7c3f346ffe5e + docs/models/eventslistnamesrequest.md: + id: a4fc6f744ca2 + last_write_checksum: sha1:c9ad01b73336ecf6f81890fa3a8086e80f2bb0e4 + pristine_git_object: d55e71d283530ae734f600146326a13da7692dbf + docs/models/eventslistnamesresponse.md: + id: 3f1ba49fa519 + last_write_checksum: sha1:3a8f37f1c437a8aebfc74fd8ba260ed550e4b370 + pristine_git_object: 973eb0272ef157c500a4337d1c3b022ee07ce882 + docs/models/eventslistqueryparamcustomeridfilter.md: + id: 64cffda2244b + last_write_checksum: sha1:14d7d36becc3aff7d649b3bb2588f682d89582ac + pristine_git_object: 7f4b7b3c4df57baae421584b004aa72508f605eb + docs/models/eventslistqueryparamorganizationidfilter.md: + id: b5d419093ed7 + last_write_checksum: sha1:6f47715a88f9dc351209dbe285b4465d06bdbaf0 + pristine_git_object: 6193e2a3c27ea1036e2b0e018f8fe31dce365215 + docs/models/eventslistrequest.md: + id: 000c8824eb8d + last_write_checksum: sha1:ae68cc54708a618d8b7891bc1e048a0f140a47a5 + pristine_git_object: 4b89c8ed9bf82e55022e5042baa75dd6c8f818c2 + docs/models/eventslistresponse.md: + id: a25fc463574c + last_write_checksum: sha1:2c1f62d7dc5dfd8bbbb8e0c38613e769ca35ec06 + pristine_git_object: 0fdc8c652cc2436446652f73644d1c5aece55a0d + docs/models/eventsmodel.md: + id: 8ba3e19eee78 + last_write_checksum: sha1:3d3a105b00b8ea242395e859152723d53754cd67 + pristine_git_object: 29f82fdd038484bd933b5a429f8ce9274ed22770 + docs/models/eventsortproperty.md: + id: 96c85420b62c + last_write_checksum: sha1:6259bf5fdcd60b51b1a3e23c96aa73ce780f0c3f + pristine_git_object: 472d1c4f9cc8fddc3bd50281818de188635b3efb + docs/models/eventsource.md: + id: 0a07100b20e9 + last_write_checksum: sha1:89c30a4d869281a9815695aa2b8110e72298b596 + pristine_git_object: c2897bfb3561c9a672a7203a0d9ae99c7eb7328d + docs/models/eventtype.md: + id: bfe6f1477d8b + last_write_checksum: sha1:48b0ce011d259fbf88dc017c3a5e1f2c5cab4318 + pristine_git_object: 6c6c2622a832706ce1b8e5be4f07f2664ed38abc + docs/models/eventtypeslistqueryparamcustomeridfilter.md: + id: d3e822610df0 + last_write_checksum: sha1:756cf6f341301d465e876e9c5dde7c496125fb98 + pristine_git_object: 5f8e31ecddcd6962b32e5ace953f44806d7a3998 + docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md: + id: e84e33871535 + last_write_checksum: sha1:c9af91a2a426373e5c87087da0980c932dd8c2aa + pristine_git_object: 663dc456c34d0adbd4d72d496df0b0ad31ab13a8 + docs/models/eventtypeslistqueryparamorganizationidfilter.md: + id: c9b94564fb77 + last_write_checksum: sha1:e948ce773d901e8f9bb6a6ca205f89af6ec96904 + pristine_git_object: e72ada205745a3bfacb8a81f55da5fee1a1858d4 + docs/models/eventtypeslistrequest.md: + id: 655d8f40d2c0 + last_write_checksum: sha1:0c3a266b1e42f591b536b0f72653b5224d80e953 + pristine_git_object: 135e0860bf4db658c15ac593aace9b09fddc8b5d + docs/models/eventtypeslistresponse.md: + id: fa85eb91eedb + last_write_checksum: sha1:4a430845b040b2e242653692cbd50d091f4d2819 + pristine_git_object: d61ef30670388ad6920ce6db984d3619f1984ec3 + docs/models/eventtypessortproperty.md: + id: cdf64198d52d + last_write_checksum: sha1:1993b0b41eae3aa133db252f5db609162d9a5a7e + pristine_git_object: f2d85ccf50dca89a482035aa3975118f4da47680 + docs/models/eventtypesupdaterequest.md: + id: 21426087c15a + last_write_checksum: sha1:c453095b6fe28594cc6f015a1f676e2862f7a49e + pristine_git_object: e9d1b47dad770b56c9bc2a1410572e3e295634d0 + docs/models/eventtypeupdate.md: + id: 447a1020775c + last_write_checksum: sha1:49c668160160630d6d0055f650df772c118f2d46 + pristine_git_object: 4fdb030fbe619dd00473641dc529b0c65cb82f8c + docs/models/eventtypewithstats.md: + id: 043ebe538fcd + last_write_checksum: sha1:289cba6e9ec569af18dc94c74bda2d3c58b1dd94 + pristine_git_object: 32b56b7333baa751456b1f92ac2ebe6f921ebbc7 + docs/models/existingproductprice.md: + id: 89af5fa07adf + last_write_checksum: sha1:31a3c9dd252108e4794fcc517274c5faadd073cf + pristine_git_object: 0220eec6ead4e2346f8ccb85f49624434fa18036 + docs/models/expiredcheckouterror.md: + id: 3750d7aa0fcb + last_write_checksum: sha1:09459bad1ee9b71af5f423413456732dd6c88be5 + pristine_git_object: c28d870c1c5291642c816096396ce5bc7dcde5ab + docs/models/externalcustomeridfilter.md: + id: d7c7f2881ffe + last_write_checksum: sha1:bc8eb1b1eb121de28f582e755df1ddd67a66c827 + pristine_git_object: a3248980b7c6cb79ad3f324564d788b4e9d22e56 + docs/models/filecreate.md: + id: 5277d0803546 + last_write_checksum: sha1:93ce5d4e0fd698dfab22cde302d7e8e52cf75e4a + pristine_git_object: 8c6f2acd12ef792a0da10658749d1a9cba79e407 + docs/models/filedownload.md: + id: 5d5cdd83da05 + last_write_checksum: sha1:002adebc41dc9b6fdc802b75df0882b11bcb94df + pristine_git_object: a4ae3209e4aa1c9b4218a321bcf584911cf38e4a + docs/models/fileidfilter.md: + id: fa80770b8337 + last_write_checksum: sha1:437b12aad664504d9a74858ca0451ee06cbcbd2a + pristine_git_object: 0aa096213fcbb42063f02166fc474baaf0d720eb + docs/models/filepatch.md: + id: f6ddffc15fcc + last_write_checksum: sha1:4c440f280165ffd459c9c9b16dfdc88ee6d5997a + pristine_git_object: 30d532636f09cf5726eeef8cc064a8a8979d449d + docs/models/fileread.md: + id: d3a2a2b263ba + last_write_checksum: sha1:bb04936036059700e170c4936c9a716592635096 + pristine_git_object: 2ff490c74e49520b69d5cd81c45a0959aaeec4a8 + docs/models/filesdeleterequest.md: + id: 5f889c5456ae + last_write_checksum: sha1:41ea8effdd7ad4d5e3569128578665cdc346c5de + pristine_git_object: e7f16ebe01ca2e3c27f0f8f99ae61bd7f681f1df + docs/models/fileservicetypes.md: + id: 58fb001b6fbb + last_write_checksum: sha1:fbbfed432c673c3dee6412c89acff9c6846421ec + pristine_git_object: d2e77e6b733e2c9ce6696ee3cd52fde60de3baa6 + docs/models/fileslistqueryparamorganizationidfilter.md: + id: f1dc59430388 + last_write_checksum: sha1:e2e75e45ac9bb84348d5d6c4749b46c046acc8da + pristine_git_object: 7fa355b10ffd55422a54890b125f56cfb91c142b + docs/models/fileslistrequest.md: + id: ad55c0d05c47 + last_write_checksum: sha1:1cf0c27b0e09f8c659dfefb046603ca268615bb9 + pristine_git_object: 1b18d5d4db0033ed2a18b3d7bb424a7d7c6ad1be + docs/models/fileslistresponse.md: + id: 643295de9ccb + last_write_checksum: sha1:3e6737ea9b3976c0ce171240cc5f04fc1c3b1d32 + pristine_git_object: 3dd5b2074f279c0e400e1b93f91b85120d04e42e + docs/models/filesupdaterequest.md: + id: 9ed3ea3e8711 + last_write_checksum: sha1:1d683d8cd34341f6fc629c006c6692dc3c6de513 + pristine_git_object: 7c858e193c34a16ac06d2c5139f437ff9ec6e3fd + docs/models/filesupdateresponsefilesupdate.md: + id: 160ffbc98546 + last_write_checksum: sha1:59a8131ff4a05dce66fdd244e28c0d927d1d2ff4 + pristine_git_object: bbb45674c6b5cd1eef3fcc7b077ff34e8c7bd25a + docs/models/filesuploadedrequest.md: + id: 3969a877861d + last_write_checksum: sha1:35924bed06f46dfec7eb9aa6783fbf60c5958652 + pristine_git_object: cd765b4c408ade9624ebb08c3b66ea43d04c6c03 + docs/models/filesuploadedresponsefilesuploaded.md: + id: 2954e597a07b + last_write_checksum: sha1:cc1ff68968b60643f762aa4476ea8ecf7b75e682 + pristine_git_object: d12a0efe4c2cb27b292c4b350f94e893b4e50f35 + docs/models/fileupload.md: + id: 6ffa49cc1230 + last_write_checksum: sha1:d81e8d110a414a1d7ca0846eb8a75739dba527f6 + pristine_git_object: a1e2cf8ca9174363df753db58771185ca923cda8 + docs/models/fileuploadcompleted.md: + id: 2029ba3ffcb8 + last_write_checksum: sha1:74a569e501440b04d70202eff58ea535b086be5d + pristine_git_object: b7b2abe0fc86991e65bd5ebb3a65af821c544277 + docs/models/filter_.md: + id: 5c3da70f78a7 + last_write_checksum: sha1:a289b94aacd64f77f031b3dd98ea5510840e176a + pristine_git_object: ee4e07336a0ce063e65d07c31408005bb4feead8 + docs/models/filterclause.md: + id: 1990ffd2bae5 + last_write_checksum: sha1:70961970eba06500118816041a1a87a8a7247c31 + pristine_git_object: b97f53278737f9364a8c8991e94a1a4c3a21b90b + docs/models/filterconjunction.md: + id: b09a8481fc8e + last_write_checksum: sha1:0949ad0c03293eb6a26bcb720f029d06e60d60d8 + pristine_git_object: 6e5706d2038e42fe5b575f759209c30248e11961 + docs/models/filteroperator.md: + id: d4ec6160b120 + last_write_checksum: sha1:1747bee71a1589bc29a1c7dcf7a318babfc1fc85 + pristine_git_object: 078c632ae391fac02b5309a434ec4684774a7870 + docs/models/func.md: + id: f3b159cff337 + last_write_checksum: sha1:94824a8d386f72b22afdb279b5bb887975054b54 + pristine_git_object: 00055e111c3f5cac42f064eb872d9c16ba823e70 + docs/models/genericpayment.md: + id: a78da5cd18b5 + last_write_checksum: sha1:bdf7c30da661cc522fb3c633b5d0845c82b50c49 + pristine_git_object: 7ade22775f77cdba6b1f2fe729da9b7d35f333c9 + docs/models/granttypes.md: + id: 9520eb6df302 + last_write_checksum: sha1:6ec6969f5a40b4a1ab90883b174d2afeee0d1f06 + pristine_git_object: 3e217d3b019f2ce020fe0433dcb048e1636a9431 + docs/models/grossmargin.md: + id: a518ea104897 + last_write_checksum: sha1:3cd31c1180d448e6d2e5cc41b0f3655487880459 + pristine_git_object: 9281df37b8664db350cdb57244818a60beb8a2b7 + docs/models/grossmarginpercentage.md: + id: d4dc9cb795e6 + last_write_checksum: sha1:2f3bc95b3d85517be6d1681951a10aff5cc19115 + pristine_git_object: 6f867c4b3fb1ff2a47c0f495fab93381e66fe619 + docs/models/httpvalidationerror.md: + id: a211c095f2ac + last_write_checksum: sha1:277a46811144643262651853dc6176d21b33573e + pristine_git_object: 712a148c3e2305dca4c702851865f9f8c8e674cc + docs/models/introspecttokenrequest.md: + id: 43e014be555b + last_write_checksum: sha1:c0b702e83074f02b166a8377793fc75ac95b1880 + pristine_git_object: 9182b2ad670eb8b2f3f1348cb83f1b0b485a58eb + docs/models/introspecttokenrequesttokentypehint.md: + id: b67c7370d718 + last_write_checksum: sha1:b9baf7fe3cee1e01741f067a3a87aa58c5181270 + pristine_git_object: 110a70aa38491106e9ff86622a30ae9df6810793 + docs/models/introspecttokenresponse.md: + id: a4bc541c6fc5 + last_write_checksum: sha1:be620489347a2dbe1d4dd2eea27e74b7bf1d0abc + pristine_git_object: 1c46b965232066f1431c8b10d134e329f5fac36b + docs/models/legacyrecurringproductprice.md: + id: 6a6e3691625d + last_write_checksum: sha1:9d82f03d36e6bfbc8d648c7f92cadd6204230bc5 + pristine_git_object: ebb476502a3d55fd5f9ccb010ca438f20f4718fc + docs/models/legacyrecurringproductpricecustom.md: + id: fddc628dbc96 + last_write_checksum: sha1:25f513863740060de14dacab2efed3c4808043ce + pristine_git_object: 5f8ac3252208fea937a6cae621927e28517e5a49 + docs/models/legacyrecurringproductpricefixed.md: + id: dc598ecd7416 + last_write_checksum: sha1:8beac730d244e1318275c2eed403ff5bde4b7ac5 + pristine_git_object: 6165f716e0f13fcb9e6c7487eb754b3e0ab69d61 + docs/models/legacyrecurringproductpricefree.md: + id: 17000637debc + last_write_checksum: sha1:04c514c578fe237a204d6f64892107404f80bf5c + pristine_git_object: 3e790e918cb426ed879dbbff1dbd30948df6aad4 + docs/models/licensekeyactivate.md: + id: 95b7aaa43813 + last_write_checksum: sha1:3e8a8683daaaf9323b5907ae0c4596d806643f62 + pristine_git_object: dd3ab94e8c6176ada799901b54d35412917b0aba + docs/models/licensekeyactivateconditions.md: + id: 4c100f789d78 + last_write_checksum: sha1:18636c7d716979610f0930f54209948485c362e5 + pristine_git_object: fa72574def3850431442d485443d7fe4f084311a + docs/models/licensekeyactivatemeta.md: + id: 776cef4de7f5 + last_write_checksum: sha1:b69fc5c4189a0831596904c3c574ddf5a9b470cf + pristine_git_object: 2b2d35dea21ae7c270aa487c640506c96f0f9282 + docs/models/licensekeyactivationbase.md: + id: d174a57faef0 + last_write_checksum: sha1:bfc180b3af0109e2063419acea1710ba8b43f142 + pristine_git_object: f9c27558bb7ce89f7c67f1800aa9064bef916a98 + docs/models/licensekeyactivationread.md: + id: c8c6f8d77527 + last_write_checksum: sha1:8167c5f33e4f4e29bf90f0c78e8a47be1e674db1 + pristine_git_object: 186fc8899fb6a8306767de9c698342ee3fc9a7c6 + docs/models/licensekeyactivationreadmeta.md: + id: c1e298e97c67 + last_write_checksum: sha1:04c6c266c45dba0b3d18e64b4a7202fbbfc5533e + pristine_git_object: 4811e705e90dc913ce5255cf05d898de8d1f6f14 + docs/models/licensekeycustomer.md: + id: a94a599b22e9 + last_write_checksum: sha1:7e4b9e225385e99b4d7ce7ac6c24b047e40645f6 + pristine_git_object: 2df21bb65d436bcb8d359c2880fb3f0608694486 + docs/models/licensekeycustomermetadata.md: + id: aaf8e66dd45c + last_write_checksum: sha1:94927f5b2b86a8c7dadf86edc009a632a5aa0194 + pristine_git_object: ce297ce5761ecce13d5166b61f4a074c87a0e031 + docs/models/licensekeycustomertaxid.md: + id: 49d4b4487532 + last_write_checksum: sha1:17f958a0d1a86b1370561ba966159f1fb2dc2f77 + pristine_git_object: 6086678953a2350a6dd9746c51654f11069f9edd + docs/models/licensekeydeactivate.md: + id: 60cd6f727a51 + last_write_checksum: sha1:8e7b382f94d73e981e5a1783ed01fb8ff7ef528c + pristine_git_object: 9f46e6c4d3f1a39b07bee49ea03e0728008ef562 + docs/models/licensekeyread.md: + id: f33fe8f2d0e5 + last_write_checksum: sha1:1ef1b23f8bcaa2cca117926cec09e53e9a1821e2 + pristine_git_object: e9c67861dc50d87ca9e5ff055a89cf53164cc08a + docs/models/licensekeysgetactivationrequest.md: + id: 35c48a45877f + last_write_checksum: sha1:6cbc6cc8ab96108e52574d9549be56aad7aa8a9b + pristine_git_object: 6da9762e6b804c3245e7fcbb412fc6303385b21d + docs/models/licensekeysgetrequest.md: + id: 9630f00e1465 + last_write_checksum: sha1:d50e6a6778266ac686d2544189826284d3bc8a9f + pristine_git_object: 4a34b998cbae6e39f2e57156f86da2f9c8ab0cb8 + docs/models/licensekeyslistqueryparamorganizationidfilter.md: + id: 2f9db8e02c26 + last_write_checksum: sha1:9527ad3b75747f68fde2fcb660a79a5d9872f5fe + pristine_git_object: 88ef6d8333caddfb89ced3529ebc7abb5c7a9faf + docs/models/licensekeyslistrequest.md: + id: 4c5813b9458b + last_write_checksum: sha1:253d993ef43055de1919bf27e517d5acf3194228 + pristine_git_object: 66898c2d2e622d3088803c9ee791486e2ad0d078 + docs/models/licensekeyslistresponse.md: + id: 15fff52917b4 + last_write_checksum: sha1:b91ece11a46b559c3299927859daff0dc688d534 + pristine_git_object: 1dedf8256d52c5446c9746a042168059bd9d697a + docs/models/licensekeystatus.md: + id: 4929fd000a6e + last_write_checksum: sha1:359b256fbf40392af3a2ff1a4a4713c3bd215efc + pristine_git_object: 31df87b33792b0be2007d8f3e9aaacdb95bba1b2 + docs/models/licensekeysupdaterequest.md: + id: 45a03806ace1 + last_write_checksum: sha1:0bbf2901618ee3480eff350993e95e7c511f8cb4 + pristine_git_object: 97179d125eeef58184bd34ac8a36eb2af7051798 + docs/models/licensekeyupdate.md: + id: 77f16d74fcd4 + last_write_checksum: sha1:876ecd4272af9b4458277aebe8d1a7a1c6a699e6 + pristine_git_object: bacb39c55ec3b9c9eb806ae34c5c920b024467a2 + docs/models/licensekeyvalidate.md: + id: 00d6e857d093 + last_write_checksum: sha1:fd9c7fb0f31a65e3ff6ead95a8067d98ead1fe15 + pristine_git_object: de4caeff15ad9c347ca0c4234e5855e6762fae93 + docs/models/licensekeywithactivations.md: + id: 6481df5e56bf + last_write_checksum: sha1:cb89559e84076a9efa7305928acd429c2524ac32 + pristine_git_object: e59865e86a4160a41729b67dbd63798c4560bfc9 + docs/models/listresource.md: + id: f8b07ac5fe0c + last_write_checksum: sha1:35394b92805ecbc8db0efa0092c1e26166874708 + pristine_git_object: 47440024a3295e56d764ae244da6b0208ef5fafa + docs/models/listresourcebenefit.md: + id: e7cdc5d799d4 + last_write_checksum: sha1:ffa3eb7752415dc152fd9172bbdb698f00c723fc + pristine_git_object: 1444c164b47db58e634acb67c940ed2770623a78 + docs/models/listresourcebenefitgrant.md: + id: 7dd232200a3b + last_write_checksum: sha1:348a4470e98a34ea77ddf786bfb8454099a27ae9 + pristine_git_object: b0d62c1c2435fde2aaccaaa5738acc0635c3828b + docs/models/listresourcecheckout.md: + id: bc9812700006 + last_write_checksum: sha1:9ab9bee989b2291eddd35284f18b6c7c29653c11 + pristine_git_object: 10a79857944e6c794618ac572bafb970dcb8027f + docs/models/listresourcecheckoutlink.md: + id: 140e16da834f + last_write_checksum: sha1:14cf897d29a1db0eb91298a2394e2014c0fe2f16 + pristine_git_object: d782eef3ee8ec1a27d3115c0d2d24fa6cf23dd0b + docs/models/listresourcecustomerbenefitgrant.md: + id: 838d9a808787 + last_write_checksum: sha1:17b7fe25b87df30b9605292ada0027463d6dc32d + pristine_git_object: 79a928d2bb385eea8df146ef2b0b291be1c4072f + docs/models/listresourcecustomercustomermeter.md: + id: 231b4280fb17 + last_write_checksum: sha1:2c1ac457c63d79df89211d5cb8c70d840b4faa5a + pristine_git_object: efb4a020ec3ff92b8dd8c5cc2f24ad799585e766 + docs/models/listresourcecustomermeter.md: + id: 354a4f83def9 + last_write_checksum: sha1:9ce651f23181438b62042af5055c99e0da6c43bc + pristine_git_object: 1b004823cc2dae4dcb9ef2bf40e3f6e50d723367 + docs/models/listresourcecustomerorder.md: + id: e7155694ba22 + last_write_checksum: sha1:3835524dd488e47478a47fa9a383b190309b3927 + pristine_git_object: 4c1fb007ef31d53ceadb6badeb535d659eeeccf0 + docs/models/listresourcecustomerpaymentmethod.md: + id: 90c3c4e98a57 + last_write_checksum: sha1:9544687261ba5ccb82f5cd3011237d32b5fdbb46 + pristine_git_object: 18a3314e8277e1c00cc79ae0792ad61324ff6140 + docs/models/listresourcecustomersubscription.md: + id: ff3e5e41f20f + last_write_checksum: sha1:082f04220949fc08b37f93066e9addf71bf1c65b + pristine_git_object: 02bc59f5c8c39400f4ba9de1865f87eea9ade5e4 + docs/models/listresourcecustomerwallet.md: + id: 75114845d87c + last_write_checksum: sha1:d5079cce4cc8099ebb1c6676c325bc5b19224efb + pristine_git_object: d8267b5b3309154d3924646f84dfafe81d12d208 + docs/models/listresourcecustomerwithmembers.md: + id: 1e20a74229a4 + last_write_checksum: sha1:ef08e8d3d3442cbb3451a09d2635160fb07dbac2 + pristine_git_object: dcb979664fd434b8a5c7f78b1f32e7832ee4257a + docs/models/listresourcecustomfield.md: + id: eba427caac9f + last_write_checksum: sha1:eaa08e2402a21384c2c2092d88ce26887269876d + pristine_git_object: cffb71d15122fa9d3aa1b087db8e9ae4f20fb5a7 + docs/models/listresourcediscount.md: + id: 764fb403e256 + last_write_checksum: sha1:cfddb21aa223f68ab10119a356de36d385116d26 + pristine_git_object: 7f866bd386f1e01451dbb357a6f875244a41d90e + docs/models/listresourcedownloadableread.md: + id: e92cc4320681 + last_write_checksum: sha1:d5073030423cb4982f7e71392dd5003deec5374b + pristine_git_object: afaf6f6ee9cf7cff94db119456955ba816f00ce8 + docs/models/listresourceevent.md: + id: a567519c0bd6 + last_write_checksum: sha1:210d87e024829d9d9b8c7e2841aa4a0c354ac46b + pristine_git_object: 2bb663772d4e35cca73c40673340b927b4c66da5 + docs/models/listresourceeventname.md: + id: a13afd96a70d + last_write_checksum: sha1:a7f6942521219adcae06e7cd7feb803ba587456d + pristine_git_object: fb01ca77031f4b7bc3031e3aaa76777f3e972778 + docs/models/listresourceeventtypewithstats.md: + id: eef077c9eb11 + last_write_checksum: sha1:51e10ea68c960915212606681ce3d9e01126760a + pristine_git_object: d6059a4d8519d5077490388f8d11b36991429a85 + docs/models/listresourcefileread.md: + id: 9ff2352f7020 + last_write_checksum: sha1:91b04a883d9bce7f1ccd68fa653b8f5840eb65db + pristine_git_object: 1f3e8c82ae425b0daaba41446313ecc25d2eb836 + docs/models/listresourcelicensekeyread.md: + id: da9b00967ff6 + last_write_checksum: sha1:690f23ff882b59194046d4968d1d434d6d931551 + pristine_git_object: 622b2a057858c4c15146253286b8b1f2bb22dd68 + docs/models/listresourcemember.md: + id: 36090d691df7 + last_write_checksum: sha1:da75406b2a48fb7901186ccd28a0a2c5a260e84b + pristine_git_object: 2eba88f537db0d1a25db1c80674c45af18d0eaf9 + docs/models/listresourcemeter.md: + id: 9801cb4404b1 + last_write_checksum: sha1:0fcd86b29f97da395d7f67b70d79d9a3c45c84fc + pristine_git_object: 9bacbe529dea4bfdf0a4862da0dad8d8a6540fc3 + docs/models/listresourceorder.md: + id: a7ea5c957e1d + last_write_checksum: sha1:44cfcfb2f15d390f163cab1a61cf9d001cbff6fd + pristine_git_object: 55eeb798fbce687faa1239d9c7f0c2e37d65d8d8 + docs/models/listresourceorganization.md: + id: efec6f2a8443 + last_write_checksum: sha1:e649bc60aaecd9a3ab0024407df3a408ded1bd13 + pristine_git_object: 21b734963d79c9376fd3f8d6927703bf672739a5 + docs/models/listresourceproduct.md: + id: b22e98d37262 + last_write_checksum: sha1:413e736237d501c59149372dac6ec9a77c68fe78 + pristine_git_object: bd5b206df94370f0718e2d7d011dc7abd41e6ced + docs/models/listresourcerefund.md: + id: ea7a8a9d96b7 + last_write_checksum: sha1:b5b3e4d230815d6fa2c813dc8816839db27b3056 + pristine_git_object: 8b9d7823f322a2f7115b4593c6aa3fcfa7cd7376 + docs/models/listresourcesubscription.md: + id: d23207cdd929 + last_write_checksum: sha1:428ca7b589906d46bb79babffdf49f9974944b36 + pristine_git_object: 520beddff600ff98799c8b6db1259325c4ce3ed0 + docs/models/listresourcewebhookdelivery.md: + id: a2abde93f1cc + last_write_checksum: sha1:e0655c6efc9846d635ae65043fb3dd852512ad2c + pristine_git_object: 2909d8676f248773e53483426e8276d9dae392d2 + docs/models/listresourcewebhookendpoint.md: + id: 2628f1a57db4 + last_write_checksum: sha1:0ef30338d6ae86956ce84ea66b45a6b723f3cd63 + pristine_git_object: ad8912a90aad4db30d5a7878b81d23bb4dd23b16 + docs/models/llmmetadata.md: + id: df712c06d72d + last_write_checksum: sha1:9c48a6c1006da7789d4862abe18a9f22a8c2b7ed + pristine_git_object: a20bd0da824f12c6cbc6b825cf36e8134b76e1de + docs/models/loc.md: + id: b071d5a509cc + last_write_checksum: sha1:09a04749333ab50ae806c3ac6adcaa90d54df0f1 + pristine_git_object: d6094ac2c6e0326c039dad2f6b89158694ef6aa7 + docs/models/ltv.md: + id: 39af42348de8 + last_write_checksum: sha1:046eb8504a937d79bfcf30228ac12987cb2fee56 + pristine_git_object: a2c82f4cac9e0455a5de970f00fbe998ae9973db + docs/models/member.md: + id: cfd87f58d779 + last_write_checksum: sha1:afffb5750925ad734d3954da560db65fefed4253 + pristine_git_object: 1eeeb5a8adeed25b6074f4f5cb076214f73140e6 + docs/models/memberrole.md: + id: 6d518674528a + last_write_checksum: sha1:080c07c1f77b9180c761f8b878fd496baa491e30 + pristine_git_object: 2c8d9131aa843700ee4dbca83a71382e207290b5 + docs/models/memberslistmembersrequest.md: + id: 934c71348555 + last_write_checksum: sha1:968420053ce77b1e60d7bc7d9d39c4bb081cd014 + pristine_git_object: ed3ae2cb7cab858ef521749492d1c6025a4d814a + docs/models/memberslistmembersresponse.md: + id: 7428d7d0531e + last_write_checksum: sha1:41cffcad3ffa7900c31e7373d6a7ed0650ed844c + pristine_git_object: 467461ba3e16ca22c239cf774fd1865ca048995b + docs/models/membersortproperty.md: + id: c07507271b2e + last_write_checksum: sha1:fa008a6c5b844f8ee8f3f62d90bfdcd26988c92c + pristine_git_object: 9681e4195647c402faad40bbfb9a71d12cfd8170 + docs/models/meta.md: + id: b5731935642a + last_write_checksum: sha1:dbf98d946a473db5020afb56db51669718d6ca26 + pristine_git_object: d198f928d87de6a6fb95e5626033d0a4903ca7ea + docs/models/metadata.md: + id: ad63dba5a4f8 + last_write_checksum: sha1:ff2c890fd9527ba5ecae6fc1f28609eac06c44d9 + pristine_git_object: 62a4f6d634cc17d1b9261c565fb8019b3ca86268 + docs/models/metadataquery.md: + id: 1d3f93ba9382 + last_write_checksum: sha1:1e7db56ff3ca423dee52609580b3d7a0429ea3b8 + pristine_git_object: 0c248f9b2dd1f88386cebeae28cd2468e2c72bc5 + docs/models/meter.md: + id: 21d1e299d060 + last_write_checksum: sha1:cba9d199bd1bd16ee9fd1f00ce36d1c68ea71f52 + pristine_git_object: 7af751cf474fc8bfe68aba1aa195991cf386741b + docs/models/meteraggregation.md: + id: 74b2bc1fe985 + last_write_checksum: sha1:424a02abef52acdd551eb1dc3ad1b4c81df98e21 + pristine_git_object: 420a2b7721b643795043000350c9ff2f5049cc9d + docs/models/metercreate.md: + id: cab5295eba85 + last_write_checksum: sha1:85341703d4519cd71e8110ab274413336988de81 + pristine_git_object: 25ad7750ea00ba9eec284a583e5d966ab926b314 + docs/models/metercreateaggregation.md: + id: b5b006b9b1ad + last_write_checksum: sha1:af2229e5c9f09a20a2f06ca4d4265f588a294b03 + pristine_git_object: 8ff7b1ef8370c36bde99efd19ce06a0102591070 + docs/models/metercreatemetadata.md: + id: 534c28a53642 + last_write_checksum: sha1:e6ae8da0247d4dcacd1eb90d2edfc6654a3ce66f + pristine_git_object: ed62c9bb09b7f9af0f46605cd94d0bce1fb146b9 + docs/models/metercreditedmetadata.md: + id: 6e386c41b9ff + last_write_checksum: sha1:cf01885e4463bdf93b0eaf2efd1623026ff16240 + pristine_git_object: a977245143a7bd048345823f4b48aa4392c6f9f1 + docs/models/metercreditevent.md: + id: 58fc9d490258 + last_write_checksum: sha1:baf0a2b98a6b3c433294eae0ce06b24073d52907 + pristine_git_object: 73d874a07fb4524dd423bffe1636266aa5af6a18 + docs/models/meteridfilter.md: + id: 2c3d0d76fb1c + last_write_checksum: sha1:6be87d8bc5812982415ae12bc53cbef09162ea38 + pristine_git_object: 10f3daa2ec6bd6ca8b384dbfd1478be2d829075b + docs/models/metermetadata.md: + id: 9935d54aca6c + last_write_checksum: sha1:8d6d3888b8bd0c63b397837e330f5ef72650fbf3 + pristine_git_object: 8249b9aa8a75ec6386e59279b72f1a47cf1838b0 + docs/models/meterquantities.md: + id: 4de2c76a9b22 + last_write_checksum: sha1:36092d2eb466bfd3ed6c969bc436d6bc00068515 + pristine_git_object: ec5c1c88657bfe08fe2fbcfa2933c45f7ac23aab + docs/models/meterquantity.md: + id: 8dd9c2335a59 + last_write_checksum: sha1:dc7a7ad557163af13508a5d6fdec3b8265cebe93 + pristine_git_object: 089b96b3be09ffbcaa8c74e2ab71d40d9c2a0dec + docs/models/meterresetevent.md: + id: 121f87b4e0b7 + last_write_checksum: sha1:4af4f232b2b74908f8f31f6ff0cb0c8aa86f3db0 + pristine_git_object: 3f62ef4a2404f79d6060ac2d0ea3fea5035c1698 + docs/models/meterresetmetadata.md: + id: f9e4d00fc4d3 + last_write_checksum: sha1:645e2c7962b36cd348d1efed1d7e49c65e4c9756 + pristine_git_object: 5dd2f648996d6667ac53149990424f293f507b7d + docs/models/metersgetrequest.md: + id: 4dae2436b59c + last_write_checksum: sha1:f92641e2eec28473649da077d6e9c4bea9c8bb3b + pristine_git_object: 8d2a072333d2649410aca37b09ec9099e77cf3eb + docs/models/meterslistqueryparamorganizationidfilter.md: + id: 5322bc2a7702 + last_write_checksum: sha1:5200d31e641b5eb1ee4b419e3739dc488d3d809f + pristine_git_object: 37c722bfb617db6139616c89cc38c521f424e8c6 + docs/models/meterslistrequest.md: + id: cfb283bae684 + last_write_checksum: sha1:f434404871fc17f3199f71ba0fdf64d445861c72 + pristine_git_object: 0431baaedf5654fe8e214a8e3b298ff293ccbf81 + docs/models/meterslistresponse.md: + id: 985e59c91ebd + last_write_checksum: sha1:f3ccec02c0b23d0ae5bc6d6302fe0881eeb4fa04 + pristine_git_object: 07929a9f924b14307a1cf306784eae992b4889bd + docs/models/metersortproperty.md: + id: 947aa747beed + last_write_checksum: sha1:4e50af08961d0da38f6acfe12dea8f3e2fa0f0ad + pristine_git_object: e80bfa802805a82f80a3f7990545b2589bf0b26c + docs/models/metersquantitiesqueryparamcustomeridfilter.md: + id: ae1c1323bd1e + last_write_checksum: sha1:220d5da78f2f76a28870918d2d6e18a2ebb62684 + pristine_git_object: 62bfc4a18cc076856efb44b13d9160cbb04d0eaf + docs/models/metersquantitiesqueryparamexternalcustomeridfilter.md: + id: eb8ce8b60523 + last_write_checksum: sha1:9879ecf086277adc3bd305341ccea8a0f8b3be20 + pristine_git_object: 086496dbf08047d980c9fc627bc550a7c0b5c64e + docs/models/metersquantitiesrequest.md: + id: 51e5a9a089bf + last_write_checksum: sha1:e52ebeb66cfc4385e077e2d15690354e7819c3bb + pristine_git_object: 83c113ee69324deeb763d8422b9032f4e8290520 + docs/models/metersupdaterequest.md: + id: 9ece87377e14 + last_write_checksum: sha1:7745650263879a592d5ce69ce540f15e4f78c859 + pristine_git_object: 7b9aec3e86a832d1224a9dba4e25bf5069f4b38a + docs/models/meterupdate.md: + id: 4843f341880d + last_write_checksum: sha1:04215c23d69fdcea96d4214d6f0bd6aee9d166b6 + pristine_git_object: 70ac7ff57bd058b22202a307c773fb30f1cc1e53 + docs/models/meterupdatemetadata.md: + id: 984903624df5 + last_write_checksum: sha1:4cf989db0e7b45eda0bc38b235254f2d66d94817 + pristine_git_object: 0c998110f40084bade3bd57da8d4999cb4f59375 + docs/models/methodfilter.md: + id: e7cb4947ccd1 + last_write_checksum: sha1:dd621ee2b0c044910aa287090f4e144224ce8d45 + pristine_git_object: 4a27bc68d726dca6bb9f7619ee13e1644d45bd0c + docs/models/metric.md: + id: a812a3e37338 + last_write_checksum: sha1:411b0713cbe399ca1e910583c851ecfc7de56e5d + pristine_git_object: 8e2e631ea89c2b0d2dd822b36e48836914496461 + docs/models/metricperiod.md: + id: 64e2f2f4926a + last_write_checksum: sha1:ef052381aebe4b8c79b8745df7fe2af342f5320e + pristine_git_object: 26b6991d4dab5ddf2a149fbf8396ea248df15ba6 + docs/models/metrics.md: + id: 248a854ea5e9 + last_write_checksum: sha1:d524ac37098b17348efa04919f1ad526a71364f6 + pristine_git_object: c9c5d771f64334a2247c12a10761ec7f250bd71a + docs/models/metricsgetqueryparamcustomeridfilter.md: + id: d36b3cd7f7c6 + last_write_checksum: sha1:924adec655b715d269f3fdea5d5ce7ffca563385 + pristine_git_object: 587f9069c4c86202c565320ff56f2e87b94351af + docs/models/metricsgetqueryparamorganizationidfilter.md: + id: f09ea5405a20 + last_write_checksum: sha1:176bf000227d5c1d5c33810de70cc4da4cc9b770 + pristine_git_object: 57699b97e3610b7f2ef47c96b06f8288548b3456 + docs/models/metricsgetqueryparamproductidfilter.md: + id: ecaa0b2c14d3 + last_write_checksum: sha1:6e75b2f67d698eb22fd16a1e5f4e0dcb6b5b9cef + pristine_git_object: e0a9ff0c4ebcf4b9827eae548c84ced7002a9978 + docs/models/metricsgetrequest.md: + id: 4176549903a5 + last_write_checksum: sha1:a7d4c8b8d1dc5e64daa5ca6ff760a281dfa4d056 + pristine_git_object: 48172737325cf001bc4b417d3098033ac3004689 + docs/models/metricsintervallimit.md: + id: c42eb33a3da1 + last_write_checksum: sha1:8e3b3372ddccef3168297eab5a40e3bf63003474 + pristine_git_object: a5097d9ad773fc5f01593abd0f7ab4ff01deba6f + docs/models/metricsintervalslimits.md: + id: b280c881bd6b + last_write_checksum: sha1:1b94b82fc925d7459e6e36d214871cb39d337408 + pristine_git_object: b9795c7d8e771d8a43c1ec00f4ba2bb82dcb5ec0 + docs/models/metricslimits.md: + id: 4faf04a0e36a + last_write_checksum: sha1:00e6f9e575cdf715313cb5028899ca047918862f + pristine_git_object: b8df0b1008dab0d38afbaf956ff16af9498297ad + docs/models/metricsresponse.md: + id: da5c44e3eee0 + last_write_checksum: sha1:dfc86b2be35ea07eff8e0bd21b59806f76ab49e6 + pristine_git_object: ed19f4580f6679621cbebd26aa448bd2d787f9ef + docs/models/metricstotals.md: + id: f46a92ec7529 + last_write_checksum: sha1:4c3794e3325647fd6cb04f309584fea6853d64c8 + pristine_git_object: 3733a862ccf5fb237902513e243acea4bffae853 + docs/models/metricstotalsactivesubscriptions.md: + id: c7066280edab + last_write_checksum: sha1:68eefc89f185cf9880c2d367931a7209848316bd + pristine_git_object: ab9a97434fd9eab0fdd74993013cf4479093853a + docs/models/metricstotalsactiveuserbyevent.md: + id: a22b93f6abd7 + last_write_checksum: sha1:f7a26a9e00700bb6d0e426e87e285babede989b0 + pristine_git_object: 535d16e65816b1f6eb4735a38fc40664a4b173ed + docs/models/metricstotalsaverageordervalue.md: + id: 61b511217c8b + last_write_checksum: sha1:a3c026f2d93deebe47869583db09cfc4a664f80c + pristine_git_object: a58bc30735ded5b90d5106d7534b93c93d7c720b + docs/models/metricstotalsaveragerevenueperuser.md: + id: 2aa84ab4494a + last_write_checksum: sha1:85169ab497b94a4c1daf122dff7078b2b8c77309 + pristine_git_object: 5754a8c6711361fc1e5b0495ce6a0ebe3b66060a + docs/models/metricstotalscanceledsubscriptions.md: + id: adc490137a6c + last_write_checksum: sha1:71300329fabb11531334b951ed45d3c75f6affb7 + pristine_git_object: 8ccdfbaf99c959196dd8e720c162aba1aad12a2a + docs/models/metricstotalscanceledsubscriptionscustomerservice.md: + id: 8e16b63c5c38 + last_write_checksum: sha1:303f2172ae7e4dcdf4ea8e671c58a0106a637dce + pristine_git_object: e004a7c88ee1dbc521cd46669966b6d5adf095de + docs/models/metricstotalscanceledsubscriptionslowquality.md: + id: 1f62f4a69d7b + last_write_checksum: sha1:770b6879bd31f1d86e58b98142db05db7e6cd119 + pristine_git_object: 2ffd640a558fa807e540ead8f60c1ee4460925a5 + docs/models/metricstotalscanceledsubscriptionsmissingfeatures.md: + id: 60ba31dcb2ab + last_write_checksum: sha1:923328d5f8558595cf4078ca2e6dc67ac2f9c3ae + pristine_git_object: 41902bebb105a80c5bfe4bde6226c8a49566f890 + docs/models/metricstotalscanceledsubscriptionsother.md: + id: 998c135bd61a + last_write_checksum: sha1:00c12496db48c30590947c0013b0761bb04ccd0e + pristine_git_object: de38ba9d811c75b1f9cf1aaedfe4da8d2b1ca377 + docs/models/metricstotalscanceledsubscriptionsswitchedservice.md: + id: 2435c72c5526 + last_write_checksum: sha1:87f201cc2052fcb1dd794b87ff53cf261008f641 + pristine_git_object: 161c6884b351a80661c6b8caf0506618c72d4b2d + docs/models/metricstotalscanceledsubscriptionstoocomplex.md: + id: 43089a4255b4 + last_write_checksum: sha1:6607241c8b66c76c30f3d3456d36cd38e19d00b6 + pristine_git_object: 86e7f6eb01e099ca97b16d732f0cce9eaa9e811a + docs/models/metricstotalscanceledsubscriptionstooexpensive.md: + id: 96becff1cf9a + last_write_checksum: sha1:ccc6cc26ba853dcd680fbdc5268a430d41c09039 + pristine_git_object: e11aea2bf9bad11d5bb78e645dafe4a4868aef7c + docs/models/metricstotalscanceledsubscriptionsunused.md: + id: eb0f1126aa8c + last_write_checksum: sha1:5128e9af2f580fd8aadaa9ad1c142effbbe53ef3 + pristine_git_object: a67c65ef6cff56856f37b22ff6d252618a6cc200 + docs/models/metricstotalscashflow.md: + id: 4aacea4981f3 + last_write_checksum: sha1:71b46fe91dba63dbce008f830e0e8c5d9e7f055f + pristine_git_object: 3677df4f2b9b190f06c459c3a59223849d92210a + docs/models/metricstotalscheckouts.md: + id: "669932815347" + last_write_checksum: sha1:b6d6f1994982db95a4c3fd4da1b0414298dbc5bd + pristine_git_object: 4a6ba18c1141123d6a8b68450065dcb711a8d9c3 + docs/models/metricstotalscheckoutsconversion.md: + id: 1bcd9cb4348f + last_write_checksum: sha1:2fc48a693c98abad24a446a1525dd2a301661b93 + pristine_git_object: 91602f5a518480e9310f590b5aad24d6baa6606a + docs/models/metricstotalschurnedsubscriptions.md: + id: edb36538d8a1 + last_write_checksum: sha1:68c166225103ed7a3467124ad55b6abad68b9074 + pristine_git_object: 218d5397a5a5cb1f6645b8d4e8dc4b74cbddf160 + docs/models/metricstotalschurnrate.md: + id: 9120fa887102 + last_write_checksum: sha1:eb065ed09afae1058cb64757e557b2b83645be0f + pristine_git_object: 243a70dfbc3e755022c804ad62ffe2860353d584 + docs/models/metricstotalscommittedmonthlyrecurringrevenue.md: + id: 8e26135812ea + last_write_checksum: sha1:2e15331abbdf7c0227e92b0a89650d9def870c65 + pristine_git_object: 30ae39f75e0e56ed909b25789dc1ed0817926686 + docs/models/metricstotalscostperuser.md: + id: 246e60c5c6bb + last_write_checksum: sha1:00572b289f81cb959b71e89ba75b942ed80fc410 + pristine_git_object: edda4df1a8a6cb2082ac99a9c0fa102c01dfe119 + docs/models/metricstotalscosts.md: + id: 07cb928703d5 + last_write_checksum: sha1:5a5207537feb2837049c824dd017f8c7f81dede1 + pristine_git_object: c312ca5f631d609eb9ca1e991000f0d43e6bd19c + docs/models/metricstotalscumulativecosts.md: + id: b8cbc6acbc9a + last_write_checksum: sha1:ffbdda5d2f63de6a8683c777ff452318aefcb6fc + pristine_git_object: 09a48441d7bf00661bb53bdad690d934ece165bf + docs/models/metricstotalscumulativerevenue.md: + id: e08821b5ba3c + last_write_checksum: sha1:d6741d194e26ffaeb3d23e86128573d94de1ffc8 + pristine_git_object: e83796bd256a16ab35a7438445fa554c6d6ae9ac + docs/models/metricstotalsgrossmargin.md: + id: 1f6ea8acc55e + last_write_checksum: sha1:d9d2a33303e49b36b9e2b78c4f2d60ba0a991a6a + pristine_git_object: e86d44a35c4a2e1d8493829cc3cbc154188c0f5c + docs/models/metricstotalsgrossmarginpercentage.md: + id: 980fb4b28ab9 + last_write_checksum: sha1:55eaf11eb0db6ca1e8f3856b2d1a7239925af8ae + pristine_git_object: 611abb4c390f96d1d8428f465274798c36d06eac + docs/models/metricstotalsltv.md: + id: 2e6f8a2964fa + last_write_checksum: sha1:a798621264e040b538250733b360d71eb2cbaa4b + pristine_git_object: 8d54d6cb8d4ed92a5e1a67fce74a9bfb36656464 + docs/models/metricstotalsmonthlyrecurringrevenue.md: + id: a45f18e1739e + last_write_checksum: sha1:e039f0eae9ec41fafa803e6157119b9d83ac26ce + pristine_git_object: fa19313ee96ee391bdc728971fe576d49df4dff7 + docs/models/metricstotalsnetaverageordervalue.md: + id: 1f2f99d446d7 + last_write_checksum: sha1:642c48242f867ec321894c7c3366b0e7d4975330 + pristine_git_object: f1a2d03fdcc15456fa58b4f598dc6f950e45c46c + docs/models/metricstotalsnetcumulativerevenue.md: + id: 4e7a3088dc6e + last_write_checksum: sha1:ad923307cc9db683e7c43fab757d7ac3fc848df9 + pristine_git_object: 03a2eadde55908b155539632fc1601b9496b41e7 + docs/models/metricstotalsnetrevenue.md: + id: c19dbc320171 + last_write_checksum: sha1:356a2e74608cd0abee4136e00de114df69380891 + pristine_git_object: 85ed1d4ec6c32f97cfe257048ad50de8199a60c0 + docs/models/metricstotalsnewsubscriptions.md: + id: bd86ca455d81 + last_write_checksum: sha1:33cc3d9d7a2845d7f644bb19e273630444c1df6d + pristine_git_object: 8a94bd0fc9208d06a033ae8eead334871038e14c + docs/models/metricstotalsnewsubscriptionsnetrevenue.md: + id: 525e5ef60174 + last_write_checksum: sha1:4f1059ce9818ce5eb7736929596b6a994bf17083 + pristine_git_object: 94fa92059c212903524aaf66cab5f9b9f664884e + docs/models/metricstotalsnewsubscriptionsrevenue.md: + id: b84349b7f2e6 + last_write_checksum: sha1:08277d97985046521cf5ae3b6cabdaba05411ebc + pristine_git_object: 6a54226ae335083ddf860064ee740ec3140ed50f + docs/models/metricstotalsonetimeproducts.md: + id: 6259a4f55fa1 + last_write_checksum: sha1:62917e3fb427e0955c8e3f28426b120dbb3c6216 + pristine_git_object: 0824be1e6ff9e9f62b15e0530d5a74be826d35c0 + docs/models/metricstotalsonetimeproductsnetrevenue.md: + id: 3cc99ed127fc + last_write_checksum: sha1:4fab861638715fd04f018664456b85e2113c0a08 + pristine_git_object: 989687dfcda56fd91b30a9aac043e30276c569a7 + docs/models/metricstotalsonetimeproductsrevenue.md: + id: b4667724a2e2 + last_write_checksum: sha1:b219431b34ba85d815a7ac506723e5708e1d68e8 + pristine_git_object: e79e1c2f2980b8d1d9d138e86a35d3be31c8c0c4 + docs/models/metricstotalsorders.md: + id: 088adb55793e + last_write_checksum: sha1:8d5d2f7e3685ab26d05831146d1e61576f84933b + pristine_git_object: 6dc6e5baf93333fef59840b27e4e70d891a98051 + docs/models/metricstotalsrenewedsubscriptions.md: + id: f486e5e71aef + last_write_checksum: sha1:eb391a2bfc5b099f0815e4219a7e84f6a9bd5632 + pristine_git_object: 48dc2ecc5bb68cfc8af429ce82aae22c721b461e + docs/models/metricstotalsrenewedsubscriptionsnetrevenue.md: + id: 08512deea1a5 + last_write_checksum: sha1:a8cb074b4204503dd6f7ba1f6a48c8b60a7240c6 + pristine_git_object: 27e7db05f87571fcce12560f0ddf2b487417a254 + docs/models/metricstotalsrenewedsubscriptionsrevenue.md: + id: e02075f1a921 + last_write_checksum: sha1:6b71fe7b7e1f8aec22742a8abe59b9d71a08dd67 + pristine_git_object: bcf7803a734b1cefe32e4e885b70c27d82acd0b5 + docs/models/metricstotalsrevenue.md: + id: 0103c7e6ccee + last_write_checksum: sha1:9849c6a1a1a8e41323e7147772482b0acff53a16 + pristine_git_object: 7e5d2c2d27ab302f18c15357582d6bc76eb9a37e + docs/models/metricstotalssucceededcheckouts.md: + id: 7bfccc07804f + last_write_checksum: sha1:16509995a370e95f807d8451ff943ce7cac2a22a + pristine_git_object: 2a8d505997772541a7c8d2e8ea31b67ccca9a22b + docs/models/metrictype.md: + id: afd9508afe72 + last_write_checksum: sha1:58d0a13aefa5bd122b05df99ea6917b0b9e1b55b + pristine_git_object: 244b2922364e632eed798a2323e12aa8e5f3b349 + docs/models/missinginvoicebillingdetails.md: + id: 51e3e243308b + last_write_checksum: sha1:bed268b5cfa8aef4c0b3ed49982a0574b437cde0 + pristine_git_object: 7c6c9494d34a2d1f5de948db9b61b15bcfb0ad81 + docs/models/monthlyrecurringrevenue.md: + id: 0122f6623d66 + last_write_checksum: sha1:7bb7fd3ae381dd83f8ffd9f2894958deaf1d7e4d + pristine_git_object: 5dee160b7dbe4dd41200171cfb43b10736d82521 + docs/models/namefilter.md: + id: 2d6836e61a1b + last_write_checksum: sha1:32590459b2b854f6c48c0dc1702d4fa0bc8d3623 + pristine_git_object: fdb57c19bbd494ca120ecb823d86b8930ccd6914 + docs/models/netaverageordervalue.md: + id: 02e53eff1f42 + last_write_checksum: sha1:aee01f852680741168a74d623b911c61ed8d2798 + pristine_git_object: b11c73f24c8235c02a7b7bbf7e762a2fb67b8ff8 + docs/models/netcumulativerevenue.md: + id: fc7399080f10 + last_write_checksum: sha1:610c6cf3b870036a865a72e6b68d0e6c9e5a9a95 + pristine_git_object: 9dba0283a9f299d413e427cdd346a7231ebb41f3 + docs/models/netrevenue.md: + id: 69cbd2851e03 + last_write_checksum: sha1:4cb9ba76c29f5b735fabc8734de8d441bcff2f57 + pristine_git_object: b2744d924873c86191b429a84581c4939bc9b8fd + docs/models/newsubscriptions.md: + id: ff4adca293e9 + last_write_checksum: sha1:56d7e6f23155dd757730720572d3936d9d8327ef + pristine_git_object: 25beeb738ff13dfdb654e04462b4bd9bbd5599af + docs/models/newsubscriptionsnetrevenue.md: + id: b3880c88823a + last_write_checksum: sha1:95164bf31e9ef47a7845337608ccaeffad6dcd67 + pristine_git_object: e48cc6a59e3511496e5b3399b059e812bdc19301 + docs/models/newsubscriptionsrevenue.md: + id: b50fe176b2f3 + last_write_checksum: sha1:cbe116ed28d321bf9da681f14cd1561d3dbb6697 + pristine_git_object: 23adb6da803ce2f9b8945276275daa1be3d92b21 + docs/models/notopencheckout.md: + id: 29556a40b239 + last_write_checksum: sha1:00dec7c3c31a9164b2055c4b5e2bf52c9434b935 + pristine_git_object: f5f10a6e4c2dd77a9c8435ead3043a16c6854740 + docs/models/notpaidorder.md: + id: 9f8aa4b77c87 + last_write_checksum: sha1:0a50a64c51968b64ed1bc183f852f6e23a6b3205 + pristine_git_object: 7694bd03abd455e4f23a4294ff2cf910306dcf3a + docs/models/notpermitted.md: + id: 31d837791802 + last_write_checksum: sha1:d063570ae2b40abb10d9bd98da67a5a9993d06a6 + pristine_git_object: 164641a9f3a599653fb58722d83c322159196dec + docs/models/oauth2authorizeresponseoauth2authorize.md: + id: 4a732c432827 + last_write_checksum: sha1:93274fd8c81ae4e5754d17b304b6bbd06e6fa86b + pristine_git_object: 0f74a04577c87c61c8177b407b08abab1b69456c + docs/models/oauth2clientconfiguration.md: + id: 7e503d5d4478 + last_write_checksum: sha1:2b4b108c949e6d7c962ed92db0f94d9f39016b38 + pristine_git_object: a1a9422651183637246f1db3d81e722795114245 + docs/models/oauth2clientconfigurationupdate.md: + id: 5ff7a43262a9 + last_write_checksum: sha1:f9035e8aeeec0f01b27d8475b231d3681e9fd884 + pristine_git_object: fb13f39378a9ab99aa4e7025de0eba911b33efc1 + docs/models/oauth2clientconfigurationupdategranttypes.md: + id: 1f612ffb05c3 + last_write_checksum: sha1:be810c3b7a7b72d0b90f4f4387f46d3aa9426a41 + pristine_git_object: 8c8ba6d0a97684ba8e0b3934205e749d2170e972 + docs/models/oauth2clientconfigurationupdatetokenendpointauthmethod.md: + id: bc55aa07e5be + last_write_checksum: sha1:a0dcd8397d7e5730719b448e088bca2a97498d50 + pristine_git_object: ea26ad1626adeda9a9afe58b49c5a1d06e62690d + docs/models/oauth2clientpublic.md: + id: 59b5d5820c74 + last_write_checksum: sha1:3aeeb4df8fcb60204f2d17944722169f52991dbe + pristine_git_object: 3626859a9734fe2daaf3e3d7236b5c553ede7ad5 + docs/models/oauth2clientsoauth2deleteclientrequest.md: + id: 20de9a86dfcc + last_write_checksum: sha1:550e1c822e2988f53cd2d2003d5d185dad484723 + pristine_git_object: 5a55cca55427119f419c4a3912d9ff883ac07036 + docs/models/oauth2clientsoauth2getclientrequest.md: + id: 4f49023f5e92 + last_write_checksum: sha1:880cf7a43b3a6bd7638f9eedcad800915798d413 + pristine_git_object: e63d7d5de455323e4dfd318c3c2d4806df5ecc5c + docs/models/oauth2clientsoauth2updateclientrequest.md: + id: d878314f36fe + last_write_checksum: sha1:17fdcd6a7eac008dd045c891bf13c52509077923 + pristine_git_object: dd7543fcca061dd4050223ab8b9fda5f20248595 + docs/models/oauth2requesttokenrequestbody.md: + id: f631e28d47d5 + last_write_checksum: sha1:8fd2b3a37fccafd17bb20225f16a2b9925786987 + pristine_git_object: c12df83ac44d869f59160dc9f3a31513f0a8c398 + docs/models/oauth2userinforesponseoauth2userinfo.md: + id: 55a1eaebb780 + last_write_checksum: sha1:a1d5a8429b64c2d212282767a80301e8f8628d77 + pristine_git_object: 12bec72110bee14330677de4f87ff1bfad5b4364 + docs/models/onetimeproducts.md: + id: 5779d9e0cbdb + last_write_checksum: sha1:c9a9888a9ea33c52463aba7ab6368ac1e307add2 + pristine_git_object: e1bbc7f61eaf63dd4e71f8f821540ed6f796a56e + docs/models/onetimeproductsnetrevenue.md: + id: 1a3ce01f5e18 + last_write_checksum: sha1:a0cbc14a2f581cdc9915957bdd006c5010a8d2a4 + pristine_git_object: 1ba6d94f894f78242f984035c0c59c70f3a24f23 + docs/models/onetimeproductsrevenue.md: + id: c2e6658e8c82 + last_write_checksum: sha1:8e7c90912be37abe552adac8531990fe41efb803 + pristine_git_object: 65c3f45a67407461c25e2eef68db58cc1b95ef3c + docs/models/order.md: + id: 5d2682daf79b + last_write_checksum: sha1:f7d861d1214969bb8378a4ab748788f6bfb90719 + pristine_git_object: 63bf5c5c93702811a8a9ecc5cea77b8576d505f2 + docs/models/orderbillingreason.md: + id: f642f9cd908f + last_write_checksum: sha1:b75aab93cd92ad6ac1b7b59f4775bc01dbac93ca + pristine_git_object: c499076b3edb172ce9d93d4c76753e94de2866f8 + docs/models/ordercustomer.md: + id: 621e34055ad5 + last_write_checksum: sha1:db0d523a5b624f71d09cb022fa294c0a64451f89 + pristine_git_object: 24bca36691b103f7219725fc49c47afae1958071 + docs/models/ordercustomermetadata.md: + id: 57d8a7710040 + last_write_checksum: sha1:3465b2aa2f73ed6ca8dcc5c4c23fd7c8b34e36c0 + pristine_git_object: 27ae1c06d910d7255247e672a56c3183511464b4 + docs/models/ordercustomertaxid.md: + id: 6be6d72c03db + last_write_checksum: sha1:2b00fc78c61f7408167a1d75173b7882d6adad2e + pristine_git_object: f489b372b578e34479a62c18c484684082ef1386 + docs/models/ordercustomfielddata.md: + id: acbd3b4599b2 + last_write_checksum: sha1:9b93074a6835a90acd2f999a7ffdf48759b823ae + pristine_git_object: f8fceb876e3e5b0bcd7cc7c99018307d7541b327 + docs/models/orderdiscount.md: + id: 734679d25ca0 + last_write_checksum: sha1:7e135509a9fa50b5713202345da3b00a6344d614 + pristine_git_object: 101105821f21fbd2d64c9ad00c8a399c06cab757 + docs/models/orderidfilter.md: + id: 6bac40dbe998 + last_write_checksum: sha1:80cb3d23aae3aea9a3f03abe3d491a7ffbc6a5f8 + pristine_git_object: 95b227dc8d149dd665824d6a1ba92baf4cc7797a + docs/models/orderinvoice.md: + id: c1bc71ba2fec + last_write_checksum: sha1:9d4c485faebb8415766ba66cdc3f26432899ac8b + pristine_git_object: ddff9900c4c1cf34fb47ff994501766d79916889 + docs/models/orderitemschema.md: + id: 1d9604e432f2 + last_write_checksum: sha1:bbdfd2b9367625374157de0b54fad32724b16a1f + pristine_git_object: 23e66ad8a37a3cac36db02b98afc43ae5963d165 + docs/models/ordermetadata.md: + id: 786580cb02eb + last_write_checksum: sha1:b3e901c235384db134e53efae070a9817972cfc6 + pristine_git_object: d629c8072adb39bb8d759d806dbe05256cea5449 + docs/models/ordernoteligibleforretry.md: + id: c2dceaf30a07 + last_write_checksum: sha1:e2ce6d678b0b5c60623b3b0278d868965a96a9fd + pristine_git_object: e4d1b303987749f96d8a4252ccee5444206d453a + docs/models/orderpaidevent.md: + id: 5a928b8a8400 + last_write_checksum: sha1:1b4c5c83eb18f9e8043a7c17a312a0d2c8b96c0b + pristine_git_object: 88b89c28b315d8acd336bd3649197b10ffd7a8e1 + docs/models/orderpaidmetadata.md: + id: cc7f4cedd810 + last_write_checksum: sha1:e24dcf39d9e9f4278cf358212012d9aa45810369 + pristine_git_object: 51f36227843babcdfaac43673af6792ad1619ac9 + docs/models/orderproduct.md: + id: b47b76ee6b03 + last_write_checksum: sha1:a80eac54d465320bfdf6ac479ff23ed238a8d4cf + pristine_git_object: 407985e4d1a344ae54f48ae5e11a3b56427f69d9 + docs/models/orderproductmetadata.md: + id: 14ebbd194b4b + last_write_checksum: sha1:99f4928626553cbe7331b94e5c31882bfb833567 + pristine_git_object: b1785a767dc5dab1dc575de6d97f1d82e71a1cfb + docs/models/orderrefundedevent.md: + id: 8c058c7e5932 + last_write_checksum: sha1:a603b4fce79e4a983a67882f783e07be00e02fa5 + pristine_git_object: 96ba904848e78f5e8b512a95eb3476a8f0d8ef58 + docs/models/orderrefundedmetadata.md: + id: 4c626470db0b + last_write_checksum: sha1:e39396eede723b28b3b5cb288a65fb1b2a4ed386 + pristine_git_object: 22bc672a3d4d5cb6df007e4fb7b4723e155ed55c + docs/models/ordersexportqueryparamorganizationidfilter.md: + id: 2cb1b5ab5c49 + last_write_checksum: sha1:42684e5ddfd31e9d669d3e26dcafbf0ec999b779 + pristine_git_object: 2cfad27f87f7be0817691b6ad302bacd03d1c701 + docs/models/ordersexportqueryparamproductidfilter.md: + id: ebe7865bade9 + last_write_checksum: sha1:d1a9ca6d9d032275d534515c7b92066aa4cf64b0 + pristine_git_object: 93a775f5d9d5deac419318fb2fb654518851ebb6 + docs/models/ordersexportrequest.md: + id: f1c6dc279394 + last_write_checksum: sha1:eccdd1e558f250211cde2d8844ba288820548558 + pristine_git_object: a55f4877cb7e47ea7a0d8feb5b76cc51294e8bc9 + docs/models/ordersgenerateinvoicerequest.md: + id: 4738e054f9fc + last_write_checksum: sha1:e1bd44ba32fdca15b5526ac870ed157b7e5ff7b1 + pristine_git_object: f9da872454389c0d568c9c864d46c785c4e7bafa + docs/models/ordersgenerateinvoiceresponse422ordersgenerateinvoice.md: + id: c4b1e39ddee3 + last_write_checksum: sha1:f79ae43047ee576b99009f4e84973cddd7e2cbaa + pristine_git_object: f4dde0c588bf37feb653c7fdbc820c2dc4e84735 + docs/models/ordersgetrequest.md: + id: 41dafcda549f + last_write_checksum: sha1:a0940db933577393c9922f33b9aaa497f6eb5f1c + pristine_git_object: afe2b69ae3e4e2b1924eb01938614bb9500d4df5 + docs/models/ordersinvoicerequest.md: + id: c43873fb98fd + last_write_checksum: sha1:5f6fa7898b2ddb42de4b791a2cfcd0efd7997258 + pristine_git_object: 2d27520911e97d0f1fc790656f1bb3674b9ce0aa + docs/models/orderslistqueryparamcustomeridfilter.md: + id: e5b3714be360 + last_write_checksum: sha1:a2bea6580d33769579e68b0a6e6f4a0f804fa8b5 + pristine_git_object: 27be6b3a349099a6115bf52c4430adcc0364f2de + docs/models/orderslistqueryparamorganizationidfilter.md: + id: 28a1707d763f + last_write_checksum: sha1:1ad8c41fbfebefb9cf3a2277f86f3be98078b481 + pristine_git_object: ca3c24b915dbf75239c0d567e2164dfe55fe0600 + docs/models/orderslistqueryparamproductidfilter.md: + id: 56a6007c9d15 + last_write_checksum: sha1:cc5552bca2f91af5573368ba40b95e1bd4216b2f + pristine_git_object: 4d51f03c34fd13cf63f7c594e7a5afcdf2e852fa + docs/models/orderslistrequest.md: + id: 856abbf7e4eb + last_write_checksum: sha1:6f8075660483155ddeb1c9256e2cbe154ddec874 + pristine_git_object: a0fdec9a68917a6f327da6e1b72be3392c5e2747 + docs/models/orderslistresponse.md: + id: e58f108ddbad + last_write_checksum: sha1:a49a1bded94095f8dfe0df415eda97e8b8f1c404 + pristine_git_object: e93baf7c5d3b50a65ee4ee08833971aeb627595d + docs/models/ordersmodel.md: + id: 9cedad3834d0 + last_write_checksum: sha1:cbf97ed92669d483a9d8d18937732c45f565052f + pristine_git_object: ba6dae9446649c680c966b87f8b3758b2c5c269a + docs/models/ordersortproperty.md: + id: af092f0fc633 + last_write_checksum: sha1:e7569548a5d51424828a6ea1d15fc80407054202 + pristine_git_object: c57e791c94ea49ec91d090ff8146f62ca0380ef1 + docs/models/orderstatus.md: + id: 713fa0fe3280 + last_write_checksum: sha1:08ae29f19a804a03096f72a28126f26a0447e7c5 + pristine_git_object: 3992d4b29c6c6656472e83bed0180b3ab90d492b + docs/models/ordersubscription.md: + id: 02c66c21bcf2 + last_write_checksum: sha1:51d69734cb87d84d6c62bf4e8df8c7395a828a32 + pristine_git_object: 6c3286165b672a38551f9d89992d86bd976c471b + docs/models/ordersubscriptionmetadata.md: + id: a81e2544270c + last_write_checksum: sha1:4b479ec08f8ac6fd3178dd02bc4b3b20aca74bd0 + pristine_git_object: 9936b7b376e43dffe85763d1dc748602c5262365 + docs/models/ordersupdaterequest.md: + id: a2709dd0bf95 + last_write_checksum: sha1:378b0a113c24421c253510a4533c7e20d4c4fee2 + pristine_git_object: d05b2ee5755d2992a46fee8f20b900c7d00ce0e0 + docs/models/orderupdate.md: + id: 4814e9e5d8ed + last_write_checksum: sha1:251ea41a7a6da34d9a19c0c2dd16f5aee6e46049 + pristine_git_object: 4551a37c10ab1c96c8a22bb99a5d9582fea9d2a2 + docs/models/organization.md: + id: ea9c215ca2eb + last_write_checksum: sha1:bcfcad474cd24d7b4768be16c5eca6d34bea71cc + pristine_git_object: bcc21c353c0f126b2a929f097aa2c60735744dbd + docs/models/organizationavatarfilecreate.md: + id: e4a6ce592bb1 + last_write_checksum: sha1:0a60b83dae5456f7ac858805abcb97d2b93c428d + pristine_git_object: fe21fc344566143f2af8967e806f8310433a3dce + docs/models/organizationavatarfileread.md: + id: 48bc05b93252 + last_write_checksum: sha1:542f57e33bff9a1350b01740081ed8156324e6bc + pristine_git_object: 7e906fecdfd15b7a9b7ba1c62939cfc504bbc56f + docs/models/organizationcreate.md: + id: 0f90459823f9 + last_write_checksum: sha1:d6171fdae3e2c207c06647dd5c54dfd00170fa66 + pristine_git_object: eb78d1490bf5c44b5d709fadefa5d749e3eb0ddb + docs/models/organizationcustomeremailsettings.md: + id: 6c1faae95a6b + last_write_checksum: sha1:f05db5fe9be9a1e2c1a46beeb252ee5ce3626418 + pristine_git_object: 8c7874d09b586beb91e190121c3c5d8a58b7eb3b + docs/models/organizationdetails.md: + id: 2ceb3a78c745 + last_write_checksum: sha1:4035786e9b89cd7ebdd8fa44feec92c38005738d + pristine_git_object: 959b39537ee12199018e8981c365414a9ae5fcac + docs/models/organizationfeaturesettings.md: + id: 077c105f377a + last_write_checksum: sha1:782bb43405ddc45c47c58978b22a89e02ee7121d + pristine_git_object: 6993f0536394e533d8568334a1bdb13495f1f513 + docs/models/organizationid.md: + id: ed5bae8de43c + last_write_checksum: sha1:5adf4fb1a723f361ac66da12542fedbe34fd9e5d + pristine_git_object: 4c8f41b37001632f44ffd375c16d0c1a972f170f + docs/models/organizationidfilter.md: + id: e7b9362303ae + last_write_checksum: sha1:563cdbd6d0676af755e6049d3067242e0f816e53 + pristine_git_object: ef3b48f82e60a4fb20247b19c0a187e6fa9c1a6d + docs/models/organizationnotificationsettings.md: + id: 1495cb9ea076 + last_write_checksum: sha1:9dfa31a45e5c019bee16f7633b023be3524d8f42 + pristine_git_object: 35a6f9adc3450cedcee42d4e201e3fb3fb3574d4 + docs/models/organizationsgetrequest.md: + id: 6cfaa24f3511 + last_write_checksum: sha1:ef9861c86cd9be7f5cc85495e19e574da41c24d5 + pristine_git_object: c1857cc3cf9e420b1690b44871d9a8f3a431d308 + docs/models/organizationslistrequest.md: + id: 18757ab2e14b + last_write_checksum: sha1:1e62e394ebb09ce3f4d7846e900c77613440cc27 + pristine_git_object: 6b142f23104d86dd7e29cf6785c405aab0618a1e + docs/models/organizationslistresponse.md: + id: 50488cb10fb5 + last_write_checksum: sha1:185f1eac44a342290ab35cd8a6f3ab0c313d89f7 + pristine_git_object: 8235d76b390a19eafccf6a9056a6dbf216fe4d37 + docs/models/organizationsociallink.md: + id: 449406c50ea0 + last_write_checksum: sha1:805973d5d2ef661306598fb00530fe8da8c7601f + pristine_git_object: 6de7d8e1945b81c4ddb39b94f5d2204e0794b55d + docs/models/organizationsocialplatforms.md: + id: 50d8ebf9d6ec + last_write_checksum: sha1:d87a3d33bdc841ee86ba59369b302236c1f9a833 + pristine_git_object: 3156a2184f6dc5cc4757157a4636ec97f65b83ae + docs/models/organizationsortproperty.md: + id: 690248b570a1 + last_write_checksum: sha1:aada02a924bedeb16eaaf1c3959a1d276b55bee4 + pristine_git_object: 78503e447c96378d50659866c80c6f0004d88683 + docs/models/organizationstatus.md: + id: ba702c0986c1 + last_write_checksum: sha1:e6f07537f13b4e3d28177e5755400072cf99b93e + pristine_git_object: b7f43149a429bbb11f2c09449b1ed498de23a4b0 + docs/models/organizationsubscriptionsettings.md: + id: 98cc541eb124 + last_write_checksum: sha1:0566d50afe9af997d79509c108093f65f487c1a3 + pristine_git_object: 3fbda2165d8d0a1c8c70ea360e6f8e16093238fa + docs/models/organizationsupdaterequest.md: + id: 489269b9c459 + last_write_checksum: sha1:82706bcd42b79c644b18f80c221a18df21a3ea9d + pristine_git_object: 0f4ea84e76c8f45ec4bd94710f76694a9b7bbfbc + docs/models/organizationupdate.md: + id: 26eb0204a1c1 + last_write_checksum: sha1:23fa42492ee7fc433427edeeed2d3dbc08836812 + pristine_git_object: 9b4a954ba740f197257780547772fc0bec664c5f + docs/models/ownercreate.md: + id: 98f123d9f2ae + last_write_checksum: sha1:7cea3d4fa7ea00655a762c29cdaf13db9a55af12 + pristine_git_object: bfd103b225c8ce3c7f6c8d21a14bb27da9574bfa + docs/models/pagination.md: + id: a9ff902f6a16 + last_write_checksum: sha1:1aedcef9b4f0bc5ab25ef1e9542e22d82088682a + pristine_git_object: b33c02f017d91ace97e6fb4d82c2d0b4d006ed88 + docs/models/payment.md: + id: "148626901595" + last_write_checksum: sha1:be4a62b4543395995c4bd76dfca288bc95b8b0b6 + pristine_git_object: b42163d485dbf1317566a2b83b0c4627f560df3f + docs/models/paymentalreadyinprogress.md: + id: da760659113d + last_write_checksum: sha1:7a77e5b6ecbe00b15806f0b1c60f0a59b84ac7d2 + pristine_git_object: 27231b4d9c030876f6f61e85428663ad1f2fab04 + docs/models/paymenterror.md: + id: 77e80657f3dd + last_write_checksum: sha1:63c7b81cc60e4716b0fb96b07a0adb70acdf9611 + pristine_git_object: 4a7c3495b9d6dcb254f5dd26874f1c3824065369 + docs/models/paymentmethodcard.md: + id: 19b74eed5f13 + last_write_checksum: sha1:7b4db281156c56d62f5f40412d8e9b6007b27ac8 + pristine_git_object: ce4427c405adfce879624deca069bcd8017ffc23 + docs/models/paymentmethodcardmetadata.md: + id: 75fc498c4c09 + last_write_checksum: sha1:e6e1fa6152727a58321e8a5e97e127a7e8168fa6 + pristine_git_object: 6ecb2304d3331c89e141ad19ba17d8d6d60b2879 + docs/models/paymentmethodgeneric.md: + id: 5d5c5c5b33a4 + last_write_checksum: sha1:88efec40525c06ec229d0416d7f3b94692208d0f + pristine_git_object: 4084118a23ffa4c4e2744d2d8996f1be9956a943 + docs/models/paymentmethodinusebyactivesubscription.md: + id: a67d127a3d9e + last_write_checksum: sha1:40d4ab667210c5d634601aa941be855d539b2160 + pristine_git_object: c43cbf2e4bf8f2b6a1200f61047a6d8258d8d927 + docs/models/paymentnotready.md: + id: 880eaf9907a4 + last_write_checksum: sha1:432398707451baaf2d86099de54b03ee760df963 + pristine_git_object: 7bb57b0c2437d4801c966b491a14a8e2060c490e + docs/models/paymentprocessor.md: + id: 6b4019af9869 + last_write_checksum: sha1:51c5657e48dbc4b9163bdc78d8fe3c8bf2ff19cc + pristine_git_object: 99f9d60aa59e4bf172e37bea5e7782de446dfc1b + docs/models/paymentsgetrequest.md: + id: b2df48223fe1 + last_write_checksum: sha1:877dd09682a4bf6eae15f2a5753b1ffe7eaedb73 + pristine_git_object: 0c2ad51f7ebd79a71902581ecd3252aad693f03e + docs/models/paymentslistqueryparamcheckoutidfilter.md: + id: 5ea346fbac85 + last_write_checksum: sha1:5df7333528b3d442344366dff4c919ab05ce3daa + pristine_git_object: f3c32c3d2dcde9ce74d62848665e639322a9ab3d + docs/models/paymentslistqueryparamorderidfilter.md: + id: 8fc226d61a37 + last_write_checksum: sha1:07a7b964210406c8aa44e28e8b5dcbd6078d1d31 + pristine_git_object: d3eb247aebf44470dd07e9cd34487b92b30d3523 + docs/models/paymentslistqueryparamorganizationidfilter.md: + id: f17d6d1255c8 + last_write_checksum: sha1:636adff91120b96b93dc25eead6f58134731c49d + pristine_git_object: 781b80848a1b78119ab13ca83525ed8673665fac + docs/models/paymentslistrequest.md: + id: d0aa12a7de01 + last_write_checksum: sha1:8fdaa392e2a02ef304c22529f0728ada1e338a35 + pristine_git_object: 2ae3b68805bfc5f36c0b60cabed390dfaae745d1 + docs/models/paymentslistresponse.md: + id: 3cde9a9a6525 + last_write_checksum: sha1:c38d13b43aa8bb9e44f1da9e16778e8998468be8 + pristine_git_object: 8e5698226a70f7e41274fd5cc1a9ed236c134164 + docs/models/paymentsortproperty.md: + id: 900b48778862 + last_write_checksum: sha1:aa6f09470c456a8301b3d88961bbdcf2a757cd42 + pristine_git_object: 297079d1c3e14c5222da105604206d3d9d893261 + docs/models/paymentstatus.md: + id: 20cce1755429 + last_write_checksum: sha1:9019e47d880cb00a5a5e33369cfc02c3a46a10fb + pristine_git_object: 33726b3fe84c7c11a154fd53d098fa861b7d8b02 + docs/models/permission.md: + id: 2e72d664ef50 + last_write_checksum: sha1:e1e7122dc6f95239365def34f7c27f1f8de33f20 + pristine_git_object: 120c51a7a7216bebb80162b0413dc3e710fcfce5 + docs/models/prices.md: + id: 39cbf33240f3 + last_write_checksum: sha1:81e08224e6fab8c1342367d2f4fc4006a4cd0d49 + pristine_git_object: 98e3fa5d8c6da29b02f6ec14184c6a75233a4f1a + docs/models/product.md: + id: c91436bbe13a + last_write_checksum: sha1:64331d6a02ad73060c4b6dda13f81eace1b397ea + pristine_git_object: 3543d20bbb45256c6278de20d816bc87ea68be7c + docs/models/productbenefitsupdate.md: + id: 92366377636d + last_write_checksum: sha1:add31ccf622639c241a7b3672191587086c2fc41 + pristine_git_object: 7fe6ea806af878757f34706a3fbe63ed3f229388 + docs/models/productbillingtype.md: + id: 2d29ef9987ac + last_write_checksum: sha1:b9a87516e314b6bb30a52c05c736ca3672b21ccf + pristine_git_object: a5eba216cd3a19076fcc248c0bb5926ba454acbe + docs/models/productbillingtypefilter.md: + id: a526023d5c2b + last_write_checksum: sha1:d060983700ee268f909d979c2afec3878bb64828 + pristine_git_object: 96320d25c94acfcb796969a3bc37081e141541ce + docs/models/productcreate.md: + id: a3fa1648d3fc + last_write_checksum: sha1:11e9f8a9116d7baa22a26f58331231abee4fb972 + pristine_git_object: 924d5f5e51a8c374c4f0ddecb612d7645d017a8b + docs/models/productcreateonetime.md: + id: a9ff59e5f290 + last_write_checksum: sha1:a7dcd5bb6eab17f1cea8f39b3f3454e35f915dc5 + pristine_git_object: ae65639a7a9baa9dbee096f1c198cda4d1793468 + docs/models/productcreateonetimemetadata.md: + id: 1518926f3742 + last_write_checksum: sha1:1838ddbb6a1a91e74e5e8cac5e53564adb0a669f + pristine_git_object: bd86345aaa00d9b5e3cf7d5d84367117b89e1be7 + docs/models/productcreateonetimeprices.md: + id: b4e068ef73d8 + last_write_checksum: sha1:eb1d1caa97e3b2ce1a58cb4976559d0fb977a71d + pristine_git_object: 3368b97f6aeb2cdc542f43c0c99f3455bd9cd11f + docs/models/productcreaterecurring.md: + id: 8ce4bef10115 + last_write_checksum: sha1:1fecc7b96f593e62f3658ba3954453718c6d1572 + pristine_git_object: 56d82d0a11bb33b2d5849e5ecb3392a367693991 + docs/models/productcreaterecurringmetadata.md: + id: afcf85a499f7 + last_write_checksum: sha1:fb8e7aa229b33299336dd873627eeaeda16de634 + pristine_git_object: bc4d22cd51a8756dab54b258f8cf48c43025532a + docs/models/productcreaterecurringprices.md: + id: 932dfc6efe71 + last_write_checksum: sha1:fd1314613106354882d107975e8b5f6cf63e4671 + pristine_git_object: a9dc54829244bb72e333fcb547c52e367ad10d30 + docs/models/productidfilter.md: + id: fcff94ff2e48 + last_write_checksum: sha1:635235777683481a542a079f0f9313357900d4ed + pristine_git_object: 22dbfcbff63734810f33928237de4d812a65d7ee + docs/models/productmediafilecreate.md: + id: f56da5487946 + last_write_checksum: sha1:a39fa8aaa334f27451a1778ef69aafac74123125 + pristine_git_object: 9e8358eeb0ab51f3c40a5fb98d7b81b55e05ac5e + docs/models/productmediafileread.md: + id: 802967beadc7 + last_write_checksum: sha1:fa0b32c4b5490b44719602f25306e99537a528e6 + pristine_git_object: ac48cdd47f9018ae040f724617056b6cd91e457e + docs/models/productmetadata.md: + id: 94500573c3e2 + last_write_checksum: sha1:b688de9c1534c2c06b9a00aed2d94c8cf5237b4f + pristine_git_object: c360fbca067a755d3cb7b63838102db2766ab924 + docs/models/productprice.md: + id: b9dd03307500 + last_write_checksum: sha1:54252dc04b8dce358f89a2a3bf8ec394d4d5499d + pristine_git_object: e696e370477b97dceb82fb363aeabcdc6df68508 + docs/models/productpricecustom.md: + id: df00b719cd38 + last_write_checksum: sha1:8aca270994c76c0349b9dd74256fad0a7dad2e66 + pristine_git_object: 907e8787ce2402922c74089c72f2e130b11b6b29 + docs/models/productpricecustomcreate.md: + id: 50dd80206004 + last_write_checksum: sha1:42e97c2304cec26560df6d171c0dd97703855fa2 + pristine_git_object: a2fcc8ef6e4f97cbc713a9b93b7a2c430b003592 + docs/models/productpricefixed.md: + id: e35cd7e34e46 + last_write_checksum: sha1:05bfd83f3da527e81315260d7e34b794291aea6e + pristine_git_object: b627d7c94eaeec325dd0dadd5cfb7660a88e2080 + docs/models/productpricefixedcreate.md: + id: 4a4df811d0c4 + last_write_checksum: sha1:fe2584dcfbd1ffce1fae329a74dc6e590e09300f + pristine_git_object: 169a4ba3007335f6de1069c96fd2a486012d8b7c + docs/models/productpricefree.md: + id: ca328c512e2f + last_write_checksum: sha1:b5729cb70506a18556cf1b12076077928c769f9c + pristine_git_object: 27394e8734d84cf9e4fb8f36b09e3e1acac2df71 + docs/models/productpricefreecreate.md: + id: 624d6adddc51 + last_write_checksum: sha1:72771b9145932e73119f9261194352a170a3da5b + pristine_git_object: 71f358984bdab453103ba90624a638f323c8716a + docs/models/productpricemeter.md: + id: 7568b40864c2 + last_write_checksum: sha1:8f867e1d13bb83a6874be70853102b61a993973b + pristine_git_object: 9837fc968570c19a1a26895f5e711f906cc0aed1 + docs/models/productpricemeteredunit.md: + id: 1b27a263ef18 + last_write_checksum: sha1:804e71f6f248cb139e211ec6b6185a351cf52677 + pristine_git_object: f1a3e33f15e0f6a0d4e53069e8192b28bd972b34 + docs/models/productpricemeteredunitcreate.md: + id: 91c67793c012 + last_write_checksum: sha1:2fefde05724c7957e1bad652476c875f03ac9a7f + pristine_git_object: fca82ca80cea726b576631b341aedc6a5f604209 + docs/models/productpriceseatbased.md: + id: 042d941b878e + last_write_checksum: sha1:791cc88fce1a4c37dad8d9427330a40e4f70ca3a + pristine_git_object: c048ed14d6e66ea72c2d4d5806bac2306512aa35 + docs/models/productpriceseatbasedcreate.md: + id: a20c493af242 + last_write_checksum: sha1:0be26489cabba444b1c7a56f4e99fc94235446ff + pristine_git_object: 4fd497ccfdb60fabcc55c56a4a36df3d747a9cad + docs/models/productpriceseattier.md: + id: 730c9bd117f4 + last_write_checksum: sha1:03e0d4339c3283177211e8247132c1e95024cffb + pristine_git_object: 6180e9498b42eaaf564b912f0ad1ef39c74167f2 + docs/models/productpriceseattiers.md: + id: 23acb71da00b + last_write_checksum: sha1:9cbda2bd688762c2a084ae2af1114bd8c15b9092 + pristine_git_object: 5b7a8d3b5582a2a779a338f058fc520c4e1a3ce0 + docs/models/productpricesource.md: + id: dafdd0a991de + last_write_checksum: sha1:e557d41e4fd67d5ff0525d78db4fd76f08d4861e + pristine_git_object: 06439e9f30131c6fd5e8778bb87b09fc4936bf66 + docs/models/productpricetype.md: + id: 6d9308f7abd2 + last_write_checksum: sha1:3abebf2b269f706e26e7ff42f37b6b340c2333df + pristine_git_object: 9217d629c5efb743c58bd78136a565e9c8137f48 + docs/models/productsgetrequest.md: + id: 0b884746200f + last_write_checksum: sha1:dff3dbd7d3c2bc15bdd4da050705c25f0eecb427 + pristine_git_object: 38889ac27b927dda0ba48310f3c555a6265c6cb6 + docs/models/productslistqueryparamorganizationidfilter.md: + id: eb16f7a105f4 + last_write_checksum: sha1:ce1c640f57a20376bf7250403d2739d4273d72f9 + pristine_git_object: 28183e2aa1d0bba150238b8e54565ee716edfe7a + docs/models/productslistrequest.md: + id: ae644692e36c + last_write_checksum: sha1:8da610a4b8b658a7b59c8050be7b13512e103b58 + pristine_git_object: cc68f1232d77c2a12045ce636a100d1836df9d5c + docs/models/productslistresponse.md: + id: c3e8958240d1 + last_write_checksum: sha1:c0e3e6e6c614c94f78f5cf18e927885f12f819b0 + pristine_git_object: 8afc67ce84b60671484f0969843c6b9ff05462ad + docs/models/productsortproperty.md: + id: c404cb209458 + last_write_checksum: sha1:3f9be70aeb434f697203c0936dac7e6446144998 + pristine_git_object: eb1dc10810c27dd1f57daa4af7edc48cd32ceb50 + docs/models/productsupdatebenefitsrequest.md: + id: a9f709368644 + last_write_checksum: sha1:7f313d666d68f3575f5ad1d91b6e8c016b43a63a + pristine_git_object: 9a53b40e6c94d0a2ab32857377dcba5e8d182722 + docs/models/productsupdaterequest.md: + id: 10d20cc4e6b1 + last_write_checksum: sha1:87c5d9a2249aa770446eb5114c6b07622bc84ba7 + pristine_git_object: 20b5bdd6ceaa39815dccaabbfbe2b75ac0b1ece1 + docs/models/productupdate.md: + id: 5896af08864c + last_write_checksum: sha1:f91d98895347123a8c791a402ba6e71b599e9fc7 + pristine_git_object: 736aaa854fe483c7a68bc89c67ac3a8469e97f5c + docs/models/productupdatemetadata.md: + id: 8999da1d6b66 + last_write_checksum: sha1:a942e8e48537f9c605091039d28adc1b9441f4f6 + pristine_git_object: da325db44bf3337ee1e5aca18841f6d4fba6c2b2 + docs/models/productupdateprices.md: + id: 898d772ea532 + last_write_checksum: sha1:6659d28c4bde2a398ff1c7060f562e623830c241 + pristine_git_object: 3f62dec53c2ea67a1faff5de142a2561197b678a + docs/models/properties.md: + id: 78b1b1d1b631 + last_write_checksum: sha1:0fc6cafd89018690bb0aaca3fb0d551704d6dfbd + pristine_git_object: f4908a41f0df6c7376265b4a73dfb43d0ecbc056 + docs/models/propertyaggregation.md: + id: bdc28b5a84ce + last_write_checksum: sha1:321820e7221f812441f8833a73dccc897128215f + pristine_git_object: 0213bcafc80ab4b52c000c02434e90c871af083b + docs/models/queryparambenefitidfilter.md: + id: d6440423ddfc + last_write_checksum: sha1:75c0bcfb1b6da7cc53cdadebe99144ef263229ff + pristine_git_object: 51a281cfa5cdda2b9ee58ff5429e38500174fbee + docs/models/queryparambenefittypefilter.md: + id: 2d3de933048e + last_write_checksum: sha1:ce4dc426b7ac1a09553e5255f159e038388f50d0 + pristine_git_object: 4ec786f47569827b89d7657d1d0896085b7a5c46 + docs/models/queryparamcheckoutidfilter.md: + id: 8093eb69cf81 + last_write_checksum: sha1:46d43a5da486f7ed5dddc20261fd7f796b801170 + pristine_git_object: 4b0b9ea67854a3afe97ada2ede296ca80cddaf4b + docs/models/queryparamcustomeridfilter.md: + id: 9ee2ff085f83 + last_write_checksum: sha1:14e4c722b19c4cf5707ee20b2e2d7d8fe4dc231d + pristine_git_object: 2d8a3c04250eda10e0381971589932a4866391a7 + docs/models/queryparamdiscountidfilter.md: + id: 4f7ac215112a + last_write_checksum: sha1:5800fc4142d03833a7809f075881d2ace5b4983a + pristine_git_object: 0508147ae6a632ce482718588001daa2015a1c4f + docs/models/queryparamexternalcustomeridfilter.md: + id: 133ceeec415c + last_write_checksum: sha1:31dfcedc57a775c4d2ec53660252341a764bc415 + pristine_git_object: 49a8adf956d5d635a440e0bb7468e81995723a20 + docs/models/queryparammeteridfilter.md: + id: 37e511f160cf + last_write_checksum: sha1:faeceacc7592448312d67213bc78de3f0de8b866 + pristine_git_object: af5f602178bbaab1d0f260f9d358a640ba82271e + docs/models/queryparamorderidfilter.md: + id: 31c4238a3e35 + last_write_checksum: sha1:82d2e144e01c17adb6bbceeab4d29863d1874579 + pristine_git_object: 1f7e58d161e751b261c069f830a740e712b7330f + docs/models/queryparamorganizationid.md: + id: 0bd62fdca607 + last_write_checksum: sha1:6876d8115662309709e49c5d6c3638799fa12b8b + pristine_git_object: 049e9a1189ceced652d75d75d1443696f7bdfa2a + docs/models/queryparamorganizationidfilter.md: + id: ded3a9c31cb8 + last_write_checksum: sha1:fa2b79b032c283b029908a320621805663132466 + pristine_git_object: 598429e6c8192b407abef1c4e5cf7178cfb56e24 + docs/models/queryparamproductbillingtypefilter.md: + id: 9b376a5dfddc + last_write_checksum: sha1:3cb6bd225a48bd307ed38fdf9f0a285588f3775a + pristine_git_object: 19dbca9a74ac6c67dc8eb286b664981f9255b3be + docs/models/queryparamproductidfilter.md: + id: bc431374773e + last_write_checksum: sha1:d9838f3787baf4d24dacc9f660cf27f62992abc4 + pristine_git_object: caacab33e33251d58afcbc0a3265f37a9c41475b + docs/models/queryparamsourcefilter.md: + id: 9ea1aea4a395 + last_write_checksum: sha1:eb2c2bf4d21f79baa2fcd6fc70c4d7f7d1d45a16 + pristine_git_object: b1ae773b5d330c574b53c8bd779b9320b3217e44 + docs/models/queryparamstatusfilter.md: + id: 8591581a849e + last_write_checksum: sha1:f3322073a79614a24d5a6daebe8106453936a474 + pristine_git_object: ab57d8df47e32f4b86133eb94b246ab327e768a0 + docs/models/queryparamsubscriptionidfilter.md: + id: 36de57b272c2 + last_write_checksum: sha1:6549f7db4a0832e4bcd52f020b183820a63a7377 + pristine_git_object: 77f7f4aa815fd8029cdd171a45ff9cf6d93f1948 + docs/models/refreshtokenrequest.md: + id: "060940564699" + last_write_checksum: sha1:502656afb35a5e95d90418cafa6479d56ba34714 + pristine_git_object: cef6d3c19d3a45b768b1870c94eef42f5150d3b7 + docs/models/refund.md: + id: 3be36b1a2825 + last_write_checksum: sha1:a8c7100ebdfadd3237e6bab48be784ceadffd2ce + pristine_git_object: 88d928f9a12b9dbb34554ed23329b13bed8e9ceb + docs/models/refundamounttoohigh.md: + id: fa7731e0e1ec + last_write_checksum: sha1:1c1af70def3b8ab0e2f7a3ad98d281836fff2c26 + pristine_git_object: 3933bcf861ec930124bf777c81fc4513fa6bbf92 + docs/models/refundcreate.md: + id: 88513562bc8a + last_write_checksum: sha1:e81f6619b6029da712d7bc9d2b143ba244e8e9ba + pristine_git_object: 7d1182192c7402907f5d78629a77b9d4671cfc9b + docs/models/refundcreatemetadata.md: + id: 5d4888cfea7d + last_write_checksum: sha1:eb98b20e9f803f47985045f0979ab6bb51971e2d + pristine_git_object: d03aadb75e634e5368aabf221285a26695c0b1d9 + docs/models/refundedalready.md: + id: 65569d1ae6cc + last_write_checksum: sha1:995cce70ba7411166683e8c8c2fc422426d486b6 + pristine_git_object: eb426a72a806522b279f1ff16b722472fff9f5d1 + docs/models/refundidfilter.md: + id: b32fe94a80b8 + last_write_checksum: sha1:e4c21f9225c2a9aa6e1073b3da55e7a4a2438cb8 + pristine_git_object: bf9b412301d0538f2c6e25300d4afafbfdf90b73 + docs/models/refundmetadata.md: + id: ca2c302ae498 + last_write_checksum: sha1:b2e2a5d1ee5e8f92f0cbe6dac0c3778073e9fa4c + pristine_git_object: 29aefbbf0d1906d53e3f5d0b3ebc2a36f058dd05 + docs/models/refundreason.md: + id: 107b26e48133 + last_write_checksum: sha1:cfafa0fddb26fd68217c0ec7f019702b96782be3 + pristine_git_object: 617bb102eb003d636e9589ed6de3a056a22a67ae + docs/models/refundslistqueryparamcustomeridfilter.md: + id: 4e8f1c698cb2 + last_write_checksum: sha1:b2daa42cd823a619a56fdf8992e1791d4dbd9607 + pristine_git_object: 975e9b3f698c07f68133d9992bccdeb999ff1edc + docs/models/refundslistqueryparamorganizationidfilter.md: + id: 1af7d1b7c03a + last_write_checksum: sha1:a7048f690d07dd0f7e56ce844d58f4c92b462b7a + pristine_git_object: c130685186f2207aaf4c84aa419303b09a13c415 + docs/models/refundslistrequest.md: + id: a3fb40a32306 + last_write_checksum: sha1:d063ee2c1b40cea3bc3c31d2c3c9d2c2c868a440 + pristine_git_object: 9e290b21d07f9670a377017909517c840ff52610 + docs/models/refundslistresponse.md: + id: 5fcc43fd3d10 + last_write_checksum: sha1:a3dbf96cae81caa8bf0918506bc97a4fe134dd5e + pristine_git_object: cfdc077586a318fae6308ecd2644e52383460b70 + docs/models/refundsortproperty.md: + id: 621a2b061a21 + last_write_checksum: sha1:30256eb22c01ec64d4d3a113ba0ffe50dccdceb0 + pristine_git_object: 739bd05e6fbf96eb535d33617b30f45b740ed13f + docs/models/refundstatus.md: + id: 80e238d0a585 + last_write_checksum: sha1:fb64983fd24782be4c660cb058ff84937b341604 + pristine_git_object: 60af3f4cc78308a144c3d6463fb0240baf558c2e + docs/models/renewedsubscriptions.md: + id: 3228b4115b68 + last_write_checksum: sha1:37c82c5bd8ec3287c354b298a3fc2b4a2693c964 + pristine_git_object: 5b372b1bbfcdd9286d1b74b14cf5428c6f4e4b32 + docs/models/renewedsubscriptionsnetrevenue.md: + id: d135b6d4b6a7 + last_write_checksum: sha1:b4db0cc854582a40ddeb534b38795f694d3a9c3a + pristine_git_object: 49fd058a16a9837bbd12d4feea8378d87f34ca0c + docs/models/renewedsubscriptionsrevenue.md: + id: 59fb1132afce + last_write_checksum: sha1:2c5b3b383b24166246cf71d5562cf70106cf6933 + pristine_git_object: 3d02891b93d05ee09ca9510c3ccb8a36129198a1 + docs/models/resourcenotfound.md: + id: 50544c812d3f + last_write_checksum: sha1:88aa07e59c4be1b894d6be334b135edf4e6389a6 + pristine_git_object: 7b21b163f69581c7d8221bcc044f794cf3ddca40 + docs/models/revenue.md: + id: b2d12eafd3a0 + last_write_checksum: sha1:dc14665be66b72e64a36ec8e51c59008e695b1d9 + pristine_git_object: 2fc9c52b0b55b9bc3972fe6bbbf810510a1e757d + docs/models/revoketokenrequest.md: + id: 229161d7a55d + last_write_checksum: sha1:4ebf5e638287bdb9f918bfe19c1ecb459df8ea7c + pristine_git_object: 69a9842662717471444ba5f58b77cbdb7469873d + docs/models/revoketokenresponse.md: + id: 04d8a75c66f3 + last_write_checksum: sha1:bda34ee9091039e3fb750fdad8a8324f9c35f701 + pristine_git_object: e36e3ad6e2b1bf7f4db1826e994eb7dd3a30019d + docs/models/s3downloadurl.md: + id: 8d0566c15e00 + last_write_checksum: sha1:f9778a1c244f065ef598e9121026100b703b813a + pristine_git_object: 949b495e949d01ab47bc4dfd698e5c0c952d14f4 + docs/models/s3filecreatemultipart.md: + id: 3883f07a5901 + last_write_checksum: sha1:f004e81e09d3ac50b1622df7aba900b660c4cbe2 + pristine_git_object: 14b755a070aec81742792d72fa87471b57890145 + docs/models/s3filecreatepart.md: + id: 5c199af5d78c + last_write_checksum: sha1:577b1e3c625335067e63b28ae5a820dd00c42585 + pristine_git_object: c183c1a80707dac7f82b254af0520f0251b7fd43 + docs/models/s3fileuploadcompletedpart.md: + id: e75fe562c6b1 + last_write_checksum: sha1:195effff0026d8102db2946154ee14cc075b2ab2 + pristine_git_object: a6fd92798677d3ee68b10f671c72e5141ab98cc3 + docs/models/s3fileuploadmultipart.md: + id: 58c625d50dc3 + last_write_checksum: sha1:6a597c2060030258d11640efdb518bd099401971 + pristine_git_object: cca3b9669681f6bf85548381e67a5dbc313d3844 + docs/models/s3fileuploadpart.md: + id: b5a037d88038 + last_write_checksum: sha1:59c41738e82863712fb78083d1650dc76f060d33 + pristine_git_object: a88246d2d9fd7bc28360c3ad82266b65599e423d + docs/models/scope.md: + id: c7d8338540ba + last_write_checksum: sha1:58deab8483fd8b82595d77690e21efd956ec426f + pristine_git_object: 80fe0f62d31d323d15b1fd83290c9a5ca0ef0888 + docs/models/seatassign.md: + id: 7a45ef4f9cfc + last_write_checksum: sha1:ec641e0a1428b547f50ef9d24735b84048607790 + pristine_git_object: 336df6ccdcb49c3b33b27ad34c93aee0cd7d0428 + docs/models/seatclaim.md: + id: 61d04f04de53 + last_write_checksum: sha1:5c0a6609867a86d6609ea984602d896be529b60f + pristine_git_object: 5b638207e1e6bd22a0f704c3f338420349d168cd + docs/models/seatclaiminfo.md: + id: 9c2af100a1b8 + last_write_checksum: sha1:95319fa166866102dae4f18e87d8ef8bad06401f + pristine_git_object: faf7e41a353665ac0f998872bc742341fdfe90dc + docs/models/seatslist.md: + id: 79f0efd7dc82 + last_write_checksum: sha1:f161766588d088c151fe9f76dc769423e0d6b7f2 + pristine_git_object: 18f9548798455e0ddae19134e4b31bac9f86f943 + docs/models/seatstatus.md: + id: 3bf451dbed7e + last_write_checksum: sha1:0bf88730a4875d36cbd2fd64e42a01f4bfae3818 + pristine_git_object: c5f101fb9f4c2745b4c3513d6db25d875c1996d0 + docs/models/security.md: + id: 452e4d4eb67a + last_write_checksum: sha1:f753dcacecd7ca563278a0049c19df233fc795a7 + pristine_git_object: 0bac8c3da9e68a2134ee3f0b124b08c79468956f + docs/models/sourcefilter.md: + id: 008b70c898eb + last_write_checksum: sha1:cba1b6afa7696de7a17f9bbf86d071ed8face37b + pristine_git_object: b53c70ab56ff2526f694a0d4df9b69d15956bf9d + docs/models/status.md: + id: 959cd204aadf + last_write_checksum: sha1:016aade966f862f4c9ea5360557534fc2953c276 + pristine_git_object: 009fabfb33c6fe5952ea0858b2f60abab49b3881 + docs/models/statusfilter.md: + id: 1da978cfc497 + last_write_checksum: sha1:d8a305de0de7d320b2e3ac6340e4de256022bb23 + pristine_git_object: 742eee40a48708c58791a9821580627a7d9d8973 + docs/models/subscription.md: + id: 4a200793e0f4 + last_write_checksum: sha1:2f00ead2bcb73bc8bd45769ddd54508aabee3d93 + pristine_git_object: 45b55b62fe5968575f81d6565436dfced82a9b6b + docs/models/subscriptioncancel.md: + id: b2e5303aea83 + last_write_checksum: sha1:657cb7b5f70b5dc697a525ecd6ba6720a556741f + pristine_git_object: 86906bbebe207a61022c218566349ddfcc9fcaea + docs/models/subscriptioncreatecustomer.md: + id: 49d6b9c7f8e4 + last_write_checksum: sha1:ec244de2ba01ae42fa67f3241c8efae43d5d21c2 + pristine_git_object: a498f805fd362d5b4eaeddc669ed20c73abf1549 + docs/models/subscriptioncreatecustomermetadata.md: + id: ed3279c4f4a5 + last_write_checksum: sha1:2170d9ad00cc8ce476a0c29154162be771160409 + pristine_git_object: 6e8b0c00779ee640cdec5ea56bdfdd7004ea5c23 + docs/models/subscriptioncreateexternalcustomer.md: + id: 25b27bda09e4 + last_write_checksum: sha1:b917e1658a459ca363422dd405f9c7c0224e499e + pristine_git_object: ecc476a2a6aa796380788a7c97e2c4b9a83f47ee + docs/models/subscriptioncreateexternalcustomermetadata.md: + id: 7ff736c9e14b + last_write_checksum: sha1:85e1b41fa20c903f06f408a26e86b33224ddf631 + pristine_git_object: ac2ac912314e76b1c1d807a9dd061fe8f4722d1b + docs/models/subscriptioncustomer.md: + id: e0c4418c47d7 + last_write_checksum: sha1:972d15f19659b073a4d545d400743092a2a87e3d + pristine_git_object: 525ffba76deb40e35f4891c3750e2fff2b4e24c2 + docs/models/subscriptioncustomermetadata.md: + id: 313fca5fd76e + last_write_checksum: sha1:7cedb42d06f8cb1d82cfc1455c9f8e4389e3abfb + pristine_git_object: 2342600704e43ab8f682e4ef72c1c70c11008b90 + docs/models/subscriptioncycledevent.md: + id: 50e6571f0378 + last_write_checksum: sha1:4836f618fd2cf9430cebd3f23bd81b29451f471f + pristine_git_object: c8dee09075e16d426eb387fcf75d43db0c146f70 + docs/models/subscriptioncycledmetadata.md: + id: d3f593005c83 + last_write_checksum: sha1:8ee74c4b1b4905a4b2e095831baea5598ca3633d + pristine_git_object: ec82ba24031704f9a0c3ada3d8b0ab9265be0912 + docs/models/subscriptiondiscount.md: + id: 47e3b1717228 + last_write_checksum: sha1:2a88008ca20f758083529d02d1641f6ddf391cdb + pristine_git_object: 315886a51e9d7acf698ed2a9d1eb81d335b76ba2 + docs/models/subscriptionidfilter.md: + id: 227c5ac16029 + last_write_checksum: sha1:877589f139bb0d78cc5623001bd49e24c5205d89 + pristine_git_object: 61e3402e923f9c55d6267f7be50ae6a4591d872f + docs/models/subscriptionlocked.md: + id: f4e29cbfc459 + last_write_checksum: sha1:9c08169afe1e15fe0ce5ede6e2a2e6d22cd99e9f + pristine_git_object: 9cd5535c3860033a4bbe47ebdc3489d713c6efb4 + docs/models/subscriptionmeter.md: + id: f301e058790e + last_write_checksum: sha1:f26a5372185a54f92cb2fdccd194d86dbd174962 + pristine_git_object: c8e7fe9cf40f0e79ac75aac91cf00fdd87e37180 + docs/models/subscriptionprices.md: + id: b686a3961a07 + last_write_checksum: sha1:0236eacf6250b4aaa24f65b126ab59291e9dca58 + pristine_git_object: bba5ac072b6b687cbec4b63163a9e3e85a768a34 + docs/models/subscriptionproductupdatedevent.md: + id: 778026c860bb + last_write_checksum: sha1:b579884ece657e02a67d59268b98a7f88917a887 + pristine_git_object: b962069313d5d4f8ad3f08bcc3f177fafb7f3c85 + docs/models/subscriptionproductupdatedmetadata.md: + id: d46e537f8097 + last_write_checksum: sha1:8b4f3f7bdec02e3d65dd0e29813812c030929a20 + pristine_git_object: ea06c9cc7536eed50d719803319989001f101281 + docs/models/subscriptionprorationbehavior.md: + id: 2b8f7e6aaabb + last_write_checksum: sha1:2e5644feb1316ca20dc5f5c24e5fcc42b1745046 + pristine_git_object: ed16bb929728aa0d1c565df97fef9d1f19d45581 + docs/models/subscriptionrecurringinterval.md: + id: d3c433f7dfba + last_write_checksum: sha1:a46758bc9e04037165dad368cfa48616886e94c7 + pristine_git_object: 46b8c27025b04af15a2e4666dde0a5cdadf02715 + docs/models/subscriptionrevoke.md: + id: 5144a7e4f0da + last_write_checksum: sha1:745530b69842ee7f24f1d85a9a77e4fcacb08f4d + pristine_git_object: 28a536333ec1bd35147fa54ec79d6d485ab0c0fe + docs/models/subscriptionrevokedevent.md: + id: a38eac18921e + last_write_checksum: sha1:ce6868a903bd012dc2c60b9f88097c32235370af + pristine_git_object: 96bb0f105f8bbd69d2190c2fbdd42906d010c5db + docs/models/subscriptionrevokedmetadata.md: + id: d45de78273ed + last_write_checksum: sha1:5361425781674040f596f6d18510103efec4816a + pristine_git_object: b13df7bf366c1e24f7c568095c8d594198361f43 + docs/models/subscriptionscreatesubscriptioncreate.md: + id: cef247e27b09 + last_write_checksum: sha1:89640fb02f5859539794029cffbbccc72d29f9fb + pristine_git_object: ae7e9c44faed9b880de02d3b1f883332e4b8c605 + docs/models/subscriptionseatsupdatedevent.md: + id: b7fc5a07ee63 + last_write_checksum: sha1:4de8b7606a13f3fe3911f5e4cb5ccd5bac1cc77c + pristine_git_object: b66d9f2e9c9b13f2d94917cd88d9a0d9e18cd27b + docs/models/subscriptionseatsupdatedmetadata.md: + id: 47e687e08611 + last_write_checksum: sha1:f2a7748052e66803159e00e9860c824ea47e41b1 + pristine_git_object: 34913496ae54802ccd946920167f00469cfb2d59 + docs/models/subscriptionsexportrequest.md: + id: 4e631d28c668 + last_write_checksum: sha1:296faf22e3f77764603f42d55324010517e21a64 + pristine_git_object: f0a2a6ef7d1683fd4c66a03cbfe585576f15e4f2 + docs/models/subscriptionsgetrequest.md: + id: 75ce9f506937 + last_write_checksum: sha1:954b9a8e0a36e302350a1aaba6bf4b7f96d3a19f + pristine_git_object: 930d9aa64ebeb8447ee52187ce4286f15d3a2552 + docs/models/subscriptionslistrequest.md: + id: 0b90e2984f45 + last_write_checksum: sha1:21bb9ad61f56615bcaa16a61c058d108cc7d38f4 + pristine_git_object: 104c1b9953db662fd9e3700969ccf33da97748ce + docs/models/subscriptionslistresponse.md: + id: bea77c4ed92d + last_write_checksum: sha1:2413970956317d71808bdeff11198ac794a9b7cc + pristine_git_object: 64cba894210e58f94ecfa8442ee572cc9b46a610 + docs/models/subscriptionsortproperty.md: + id: af3b448a2552 + last_write_checksum: sha1:9b5796f842cd1eff6571f19dc36d011748fe9301 + pristine_git_object: 94cec9b04eb2dc60a0481a2993b022b1a08451be + docs/models/subscriptionsrevokerequest.md: + id: eaa7594af2fe + last_write_checksum: sha1:e3e333a3c9eb5af396428177160aa98accb3bbf8 + pristine_git_object: c48647853673321a7c88ec4c5785ce773c5e4554 + docs/models/subscriptionstatus.md: + id: 5f08d32c769a + last_write_checksum: sha1:9de3c8c61b49aab6924aa9634484d828b6b9e2e5 + pristine_git_object: 1665a3a02350dce2f20cfbb1f9f15b6916e19cb9 + docs/models/subscriptionsupdaterequest.md: + id: d4d34bb07c35 + last_write_checksum: sha1:67fec398efb517569c58306c4d24fa0615ef86cd + pristine_git_object: 5e743d8b5e464e9688afe38a1faeeebfbd655bcf + docs/models/subscriptionupdate.md: + id: 2968b4e73c92 + last_write_checksum: sha1:f3e1740d68f69052f636c9236522303e33bbfe76 + pristine_git_object: aab9557a7ce52dc38bef016d5a6c89ac044d0ad4 + docs/models/subscriptionupdatebillingperiod.md: + id: 765c0af7e6d9 + last_write_checksum: sha1:0e8f2eefe10b90430d99f229b737ff53462a87c3 + pristine_git_object: 78a637e3f8f6aec2cc0503fcc4f9b97595a1bc94 + docs/models/subscriptionupdatediscount.md: + id: 8d8fd755fbeb + last_write_checksum: sha1:6d8648bf593851a0f2b897c446073ef511479d1e + pristine_git_object: 5b3d871ce552e9b2d33a73690eb6498c1c0e1d42 + docs/models/subscriptionupdateproduct.md: + id: cc141d2a60a9 + last_write_checksum: sha1:14416c9f045147b70346ca41e3983a94402a0932 + pristine_git_object: f650e94dcb6eeb170f289b89fb6f74a37544a8e6 + docs/models/subscriptionupdateseats.md: + id: a2484ead0415 + last_write_checksum: sha1:80c4d8a46908227623bcc3c9618c9c06f7cde5c6 + pristine_git_object: 24052673ffcd180186b64c1a93f529befdd10931 + docs/models/subscriptionupdatetrial.md: + id: 26e4a7dee176 + last_write_checksum: sha1:e99c2904295717ae698deb42e113559dbb47e7b8 + pristine_git_object: e7c32830375fc172b10b3e45b3f1639c5025d874 + docs/models/subtype.md: + id: 2cebf12f2634 + last_write_checksum: sha1:955d145c327798af2c9d3422653bef941332eb70 + pristine_git_object: 96c94c6c739206ff088aacb153dbc8fb665210de + docs/models/succeededcheckouts.md: + id: a87a936dd50a + last_write_checksum: sha1:fcefd2cc388ea0e4c60515a6bb668859b68c05d9 + pristine_git_object: 70bb2212502b5c9661f3e4ecfcdc79e34d68d182 + docs/models/switchingfrom.md: + id: 1b97c78c270a + last_write_checksum: sha1:0ebdd2710bc07ae428fca9310d5ab91cea666d07 + pristine_git_object: ecc441ccced3ad840322ce96b32a61d5f7c59a54 + docs/models/systemevent.md: + id: d10bf8e47e35 + last_write_checksum: sha1:aedff413491521338b6858d82bcabfe80127f1fd + pristine_git_object: ba73aea065a94971c0e32c34e8945247854fe542 + docs/models/taxid.md: + id: 74bf691857ec + last_write_checksum: sha1:64208aafb3624e2eaf1d29edd54f62caf9bc2951 + pristine_git_object: 5ef9a8dc78eccab419e3628e6290d943eb953765 + docs/models/taxidformat.md: + id: 3bb36139abec + last_write_checksum: sha1:aaf369d520688b02a9b807f006782245f79f266f + pristine_git_object: 9c891794a9ae211a4c497dcf0d708638fe3c6ce2 + docs/models/timeframe.md: + id: 7ac50379f3cc + last_write_checksum: sha1:bbb47ccf6eaa999ee2b1ebe53b795ca5004ebfe7 + pristine_git_object: 5d05b156f8147d9fad461204d5a3625860da5652 + docs/models/timeinterval.md: + id: 1569199eac69 + last_write_checksum: sha1:f1d77bed55f0eecb0706aaca08137f2e45799157 + pristine_git_object: 7c6609230050565573c7b2781cadfca4443d5688 + docs/models/tokenendpointauthmethod.md: + id: ecc9be73734a + last_write_checksum: sha1:0810a6705e346c6e1a586107bc0ba8ef6d8ac5de + pristine_git_object: 34a8034c9ead648df9c701f74d6a92cfd67655ec + docs/models/tokenresponse.md: + id: e7059d0b17e1 + last_write_checksum: sha1:9e2afe0dd9eb12876996236118e9f760cb1ab749 + pristine_git_object: dd462e56a8379bf1c73e1b8d16b5b25f0864028b + docs/models/tokentype.md: + id: bea1d46b0212 + last_write_checksum: sha1:a0d895b1990e238c741d0f056b72c76fc7c9f984 + pristine_git_object: 77e16de2bae93ab83e8604e00c02109100e61e5d + docs/models/tokentypehint.md: + id: 4e1869b79b38 + last_write_checksum: sha1:e52207cf3cf4b81090b5779e8611d46af8506286 + pristine_git_object: f1bf9c5ca5990c350f1ae2fc1afbf709dd028c55 + docs/models/trialalreadyredeemed.md: + id: 65a300dc4321 + last_write_checksum: sha1:2e523077876b3b1bffb5570b5c8cbdcefa659765 + pristine_git_object: d5438bd1a2098646a4d4052d37c9f2d82ea438c0 + docs/models/trialinterval.md: + id: ebe3a499ec0d + last_write_checksum: sha1:5475cc78f4ff25c5d6b9cfbe9cb3a79dcb97fac7 + pristine_git_object: 0a4cc742b9069730189c226a3ce02fc2db6c4a3a + docs/models/two.md: + id: 3720b8efc931 + last_write_checksum: sha1:5dc701d452525b63f1f75b7cfbb9a13f5adae705 + pristine_git_object: 9b2de0556cfc3958b706c745d1ab8f5df579a4eb + docs/models/unauthorized.md: + id: 403fd03657b4 + last_write_checksum: sha1:4868a4ce31b20cdb7fcaeec7be69cdb6f83a6ffe + pristine_git_object: 58813bfcd1ffdd1c6bd29d98266bb9c7e3f73a91 + docs/models/uniqueaggregation.md: + id: 11828f579531 + last_write_checksum: sha1:18f5782cbcfa22f88415941cdade6c7f92c2e39a + pristine_git_object: 77334b822c10abd873d8e4b2a19ed169c1fc20eb + docs/models/unitamount.md: + id: f0855416afd8 + last_write_checksum: sha1:e146baadef2ed4d2ad0b4c1f42d05d20d4370cd3 + pristine_git_object: 97da7d4f6aeba61891804465168eff8f1e961589 + docs/models/userevent.md: + id: 99ca15d489bb + last_write_checksum: sha1:af955ff52a511aaca5c01acc524534d74378eea5 + pristine_git_object: f20b1e0a3aae997c74a7cee238bf6eb41e41b9f1 + docs/models/userinfoorganization.md: + id: e2aee8d99a63 + last_write_checksum: sha1:232d41efa85e7ed32f66632452de07eae8473e07 + pristine_git_object: 3dec23433f979f968d8f41a588c664c3c1931e15 + docs/models/userinfouser.md: + id: 5dd6a02da580 + last_write_checksum: sha1:701125bdb7336b92de328680bce5009b18b97e49 + pristine_git_object: 9dd5b872f43fc3665a49975f145ce8b672caa879 + docs/models/utils/retryconfig.md: + id: 4343ac43161c + last_write_checksum: sha1:562c0f21e308ad10c27f85f75704c15592c6929d + pristine_git_object: 69dd549ec7f5f885101d08dd502e25748183aebf + docs/models/validatedlicensekey.md: + id: 380cffaf9e8a + last_write_checksum: sha1:ee32d040007b9914e4311fd291a35a9cad1c5430 + pristine_git_object: 94cc1c97a3952754b196ca71a79645063cb1684e + docs/models/validationerror.md: + id: 304bdf06ef8b + last_write_checksum: sha1:1889f608099577e6a116c14b211a6811d6b22786 + pristine_git_object: 7a1654a1a5cfb3ab92360b361e8e962bf2db4582 + docs/models/value.md: + id: 1d69c8103b96 + last_write_checksum: sha1:36103a77b64b826f669c0412f86066f7b9cb1615 + pristine_git_object: 7a372a1c10e31d748829774f39f6dd25f9d9fc76 + docs/models/webhookbenefitcreatedpayload.md: + id: 7bae504e51c7 + last_write_checksum: sha1:5660b6543a401363c012e45f3499936d968a4046 + pristine_git_object: 5fb819123ad7778befd1376d5a7bfed5751fab74 + docs/models/webhookbenefitgrantcreatedpayload.md: + id: 5fdbcbd6c03d + last_write_checksum: sha1:4678b8e2558c2d72e85d38f6eb8ad49fb902e9ce + pristine_git_object: 3ae157ac295d1f04ceac137b724b24f245327158 + docs/models/webhookbenefitgrantcycledpayload.md: + id: 4ca1600feced + last_write_checksum: sha1:a037f47d0061297254407a668da96767e9630e19 + pristine_git_object: 8fa914dc50ac1f6782e117a3e7abfeb201f21f09 + docs/models/webhookbenefitgrantrevokedpayload.md: + id: 67026108a3ca + last_write_checksum: sha1:314991c65757d340a141eee1097cb145852a1e17 + pristine_git_object: 84f32fe1625a887b02ef75601a4c63fa70aeef4c + docs/models/webhookbenefitgrantupdatedpayload.md: + id: a7e0ebaf88b9 + last_write_checksum: sha1:df8a3dfed0e01c5d6276486938f110da2728a332 + pristine_git_object: 898db7ee2bacc6bed97223870fbe5f09e4c8ec9e + docs/models/webhookbenefitupdatedpayload.md: + id: c4de10cd9147 + last_write_checksum: sha1:064c1781991109b9df8111154e6cd23d780d7271 + pristine_git_object: ff4856c577f9870751757b5e3f062299f48f5f04 + docs/models/webhookcheckoutcreatedpayload.md: + id: 1927efcc89da + last_write_checksum: sha1:da1216746def8ec09e62a4b1511aed9ac17242ec + pristine_git_object: 66eba375c85eb768e27fd5e0c9e9ce8bdd67a9ef + docs/models/webhookcheckoutupdatedpayload.md: + id: b58e3c0f606c + last_write_checksum: sha1:4ffd64e1a23d4a8521595c35d0a0ab9872698587 + pristine_git_object: 681213e8b54c0db8a1cd2ea816c5550e9ffad5f3 + docs/models/webhookcustomercreatedpayload.md: + id: d345118ed6b2 + last_write_checksum: sha1:63f03a211625127caa0a4971425ddf40d6862c44 + pristine_git_object: ce3d766b875f1d22d9aa2562d311d93b44ac773a + docs/models/webhookcustomerdeletedpayload.md: + id: 4e412711d020 + last_write_checksum: sha1:97b456c6b2c51c1b6ea6e512325c2bb69859ed06 + pristine_git_object: 19663fe42585405f8722955c0ead44ff687e3c83 + docs/models/webhookcustomerseatassignedpayload.md: + id: 0109e3d26595 + last_write_checksum: sha1:bcf16fab7d97946aba3b5d493bbdf6b5623e9273 + pristine_git_object: f8854881f41ac346eb1378323a31720a0f22b72b + docs/models/webhookcustomerseatclaimedpayload.md: + id: edfd822ccab4 + last_write_checksum: sha1:59fd8fbc8e0cc21c2cfbcfe5e7289d4cd1e199e6 + pristine_git_object: 96f46e5c863d2f5b012da9743453752b6de66413 + docs/models/webhookcustomerseatrevokedpayload.md: + id: 05228bee3c3b + last_write_checksum: sha1:cd26c67451bd313f2217a7c837d1261b3a103ad2 + pristine_git_object: f63bc84b0ff8645c89e028dfb5066cd7a3458d5c + docs/models/webhookcustomerstatechangedpayload.md: + id: 8eeff545454c + last_write_checksum: sha1:d48562a48824622b058793cfb0b49dddb9455589 + pristine_git_object: d884493ef3410c4adff78f7c24b122b4962802c9 + docs/models/webhookcustomerupdatedpayload.md: + id: 4a76bd508d40 + last_write_checksum: sha1:62f6a3f6e9f9a318b1749973a83c706559094c52 + pristine_git_object: b148b95d6d56c7df224f26c312ee7a872a32295a + docs/models/webhookdelivery.md: + id: d4054bb919af + last_write_checksum: sha1:ad3347208c254800e88f97b02fdc1aa35ea56fc6 + pristine_git_object: f7e33f6116d1fd4859bdcc398fc3dc43f1c962ac + docs/models/webhookendpoint.md: + id: 48fbdb362b7e + last_write_checksum: sha1:e64e1b590ddb915e7d43f5d49c797850fefa3acc + pristine_git_object: 76d63c9bb9b6f2892dc1196e14dbb37ad0f70247 + docs/models/webhookendpointcreate.md: + id: 9e550caae1df + last_write_checksum: sha1:69099927f12eaedb4c6cafff1f97c0e39dcb3d00 + pristine_git_object: 652a665afb905bb5e205b232d9e5407e953bef17 + docs/models/webhookendpointupdate.md: + id: bfc31eda1889 + last_write_checksum: sha1:84b71ba4fe4d9127b0eabadbee809288a15c9a72 + pristine_git_object: 13391bd78e948f9f21cf6e3096b05b7f80808679 + docs/models/webhookevent.md: + id: 3b8e03332c4f + last_write_checksum: sha1:78db9970ae5ed501bea9d03d58ebfff6c9394233 + pristine_git_object: 537875ef6fe3b6edcdd8a32dae8a388539a2d066 + docs/models/webhookeventtype.md: + id: 85fb8a6c5216 + last_write_checksum: sha1:82a9389939daf663f8303cecb81771e256b93216 + pristine_git_object: 9501aebea7291a1418c33d3d51d4e6fbe0623096 + docs/models/webhookformat.md: + id: a8d42de6af75 + last_write_checksum: sha1:f4e8f3d1aadcd5652b52348ef21a0c656bcf4c3e + pristine_git_object: fba6fc35afba1040fc397bbed51392e179c04054 + docs/models/webhookordercreatedpayload.md: + id: 89252eab81c6 + last_write_checksum: sha1:df346aee6a2ca3913bd3c9a82753f062c6346964 + pristine_git_object: 40a4a01e0f0201d823ff667e3a79bb6f78cfff52 + docs/models/webhookorderpaidpayload.md: + id: e862fe256a22 + last_write_checksum: sha1:40cc29c70f9da24f90af041496c5c798ea9aa66f + pristine_git_object: cef6d84c9153c97ab2049805afa95c5de72ff10c + docs/models/webhookorderrefundedpayload.md: + id: d3edf0ce91e9 + last_write_checksum: sha1:0595dc7f4a56603e85bbba39be1924005e57dff0 + pristine_git_object: 8da90e01b39d86b629995011e894055016742e8b + docs/models/webhookorderupdatedpayload.md: + id: 60f2f10726eb + last_write_checksum: sha1:382e1faa63616c87686a0b0fd96902216cf0ac00 + pristine_git_object: 8487718f2ffacc29b323437a9e9555dfff3ae27f + docs/models/webhookorganizationupdatedpayload.md: + id: 9d1ce130a51a + last_write_checksum: sha1:81fc944e9b4e445271524ba1f45510a4e031a594 + pristine_git_object: 403b259748e4203ad7a91f54670893e97ff8f3ee + docs/models/webhookproductcreatedpayload.md: + id: da48e85f2dc8 + last_write_checksum: sha1:8ded044c0431d16a7221a4b883e6c80339fb80ca + pristine_git_object: 22ad797ca148a6d9e9d1d2d06363f107fa54eeb7 + docs/models/webhookproductupdatedpayload.md: + id: 6182e1dcbf3b + last_write_checksum: sha1:fe340fc2689b5e28cac6de3adea1a628aa343516 + pristine_git_object: ebf7a9a69fe3466bcb4d542cae3a5a96b33fc72a + docs/models/webhookrefundcreatedpayload.md: + id: 5a7e996f35be + last_write_checksum: sha1:b389eb9edc6063aff340a6fed1b4449457fc7972 + pristine_git_object: 80cb91905332784089789745e4551d7cec27bd75 + docs/models/webhookrefundupdatedpayload.md: + id: d7b4eaaa11af + last_write_checksum: sha1:cb033befc5d224f2833d44bce77945279684ace1 + pristine_git_object: 909b2aa567c488f26a22a6d738d96176cdb94694 + docs/models/webhooksdeletewebhookendpointrequest.md: + id: fc275cc1e08a + last_write_checksum: sha1:3f63b34000323fda2d7d3759089683de9b345e84 + pristine_git_object: 6957707e52ee727cfa6e89a93ccbb9331221fc1e + docs/models/webhooksgetwebhookendpointrequest.md: + id: b246402eb905 + last_write_checksum: sha1:b53985e54f1aba246f82ed549c60e91bf3d03c3d + pristine_git_object: 2af71d7910a1fab1927a6eb5bec1c6fc9e3ecb3c + docs/models/webhookslistwebhookdeliveriesrequest.md: + id: 600332baa5d3 + last_write_checksum: sha1:b9d1cd07e5f098760e7528c4bafa40c38488cc15 + pristine_git_object: 7043ad3018464902cd3ca08bbcc394bdcc2e9058 + docs/models/webhookslistwebhookdeliveriesresponse.md: + id: f40fb72c7124 + last_write_checksum: sha1:192da1c789c7108e8f330dbd33a57354d259b85d + pristine_git_object: 52cb7b78bdd4e355beb7b463c670c14e9de0349c + docs/models/webhookslistwebhookendpointsrequest.md: + id: ae30e9a0b4dc + last_write_checksum: sha1:f93c7fc7aee6dbef5fa6b38615acae971618a9d1 + pristine_git_object: 2b3423090c6ed1cce025191cc7e0e52b59574e4e + docs/models/webhookslistwebhookendpointsresponse.md: + id: 57b3cb89030d + last_write_checksum: sha1:48767172af3d3ee6d5baa89b7b9c5ef364eb7fd7 + pristine_git_object: ae8cdcbb65cf634605fe28886470a329ecdd8d77 + docs/models/webhooksredeliverwebhookeventrequest.md: + id: 2799ac54751e + last_write_checksum: sha1:3129eef58ac44c379b00cc413cb57b220de4ece7 + pristine_git_object: ee6ce9faeed1a6d5f082bded210795d7c1517a19 + docs/models/webhooksresetwebhookendpointsecretrequest.md: + id: 4fb96436f7e1 + last_write_checksum: sha1:be0342b0c53d225f5490dd350f89fc0a8b88abb5 + pristine_git_object: 02a32adb3b1de3ac7da8b5621d567176ec072297 + docs/models/webhooksubscriptionactivepayload.md: + id: 2974ea9b8ceb + last_write_checksum: sha1:1c1a59048a30549e2c1b3c97b63c91be30087ae1 + pristine_git_object: ca35f6837d8bd2384a020d8f19b3fed671e5743a + docs/models/webhooksubscriptioncanceledpayload.md: + id: 5bde71a9285c + last_write_checksum: sha1:36e15320946db6e209b54bd36a654c9afae9266c + pristine_git_object: b53b33a3390ed78af06762c7d5bad7429da75624 + docs/models/webhooksubscriptioncreatedpayload.md: + id: 03a35ff0478d + last_write_checksum: sha1:8ddd79d1d015dd31bf9df22f6d999d229d520ef2 + pristine_git_object: c56bcce21a8b8a0529965e73c429a77112a1846c + docs/models/webhooksubscriptionrevokedpayload.md: + id: 0cf1c797ef44 + last_write_checksum: sha1:bb9a8b7e13531237c04979741c7b1c3e5d6b5034 + pristine_git_object: 675d19512f56a8655955a29855371a5b4bd78f85 + docs/models/webhooksubscriptionuncanceledpayload.md: + id: 53e19bb0849e + last_write_checksum: sha1:4c162299feb7ef21a886c16d075dffaf1351a598 + pristine_git_object: f8b864448fa56a600294f5e23ea2f066cdbfb84a + docs/models/webhooksubscriptionupdatedpayload.md: + id: 6a98911ccfdb + last_write_checksum: sha1:d0015eff638827f42a5cf2140a770c193e870c70 + pristine_git_object: 770de0594d329f211729dbbb63705fdb125f21bf + docs/models/webhooksupdatewebhookendpointrequest.md: + id: a9732d6adf05 + last_write_checksum: sha1:b5745fe9f78550f920a802254eeee439bd2fd360 + pristine_git_object: 533eef9b010f89645315f9d30601e86e41f9ac02 + docs/models/webtokenrequest.md: + id: 66b31d7110da + last_write_checksum: sha1:ac06d40090983820372a74d4e2ac3d817abf426a + pristine_git_object: 9c3962e70202bf7cabb40016c1064ae545dd98f2 + docs/models/webtokenrequestsubtype.md: + id: d7e86d91fcfa + last_write_checksum: sha1:7cc40741e58379aae8512c0fc1761d057b1b8ca4 + pristine_git_object: d82cfb42488697f35cdd8ab3e53203f88a7ada99 + docs/sdks/benefitgrants/README.md: + id: 2c33ee9f89c4 + last_write_checksum: sha1:263de272af62eb85c68d3cbbdd42dde329b8df8c + pristine_git_object: 42610b3a6e5d92666efecf0600db4396b22065a2 + docs/sdks/benefits/README.md: + id: 0cec85e08d49 + last_write_checksum: sha1:508accc61e724f8c98a6bf2eda208bbcb8d3b384 + pristine_git_object: ca4e2ed61e38af5f00827e654184299d083d4732 + docs/sdks/checkoutlinks/README.md: + id: 728253d63ddd + last_write_checksum: sha1:3dc04aabf59102cf1b26def0a9be7d9d4bdd1f11 + pristine_git_object: 36f617329f0b632141d5fc82b66822b6b53544ab + docs/sdks/checkouts/README.md: + id: 4fb6631c9f7a + last_write_checksum: sha1:d394928f45a8582bb9dd14e0dfdce07bc1e2a8d5 + pristine_git_object: 859953e802505db05cdcdb2c10139e6375f95bfb + docs/sdks/clients/README.md: + id: ba883fd0c1cf + last_write_checksum: sha1:6858b1e77eede8fe5d5dfe368a90ca228d2d3add + pristine_git_object: b088f6afe5663f5ad33cfde51809334d017b3dbb + docs/sdks/customermeters/README.md: + id: 0096a6ddc6e7 + last_write_checksum: sha1:b90c86939a9133539681534059241026b501c783 + pristine_git_object: a3b69257e0172613747e6a41b615be21b02f167a + docs/sdks/customers/README.md: + id: 9332759cffc2 + last_write_checksum: sha1:a96e5221d4b9821a3c642d07cd069000335a5905 + pristine_git_object: cf472cf1cff2659aaaa5cb6379f4610328eac60e + docs/sdks/customerseats/README.md: + id: fbb862af52f5 + last_write_checksum: sha1:9511d6a050ff7b4b46b039240ad997ed8b290d5f + pristine_git_object: b87c34558d6995fa352a4e3f90ca403d4c4dc355 + docs/sdks/customersessions/README.md: + id: ea6d8fa4f27a + last_write_checksum: sha1:95777b7e90b1b0d9829587015416924e63a9adf2 + pristine_git_object: a4659a090608c802a69655b28280a805b2d47a3f + docs/sdks/customersessionsdk/README.md: + id: 68382b169da2 + last_write_checksum: sha1:47a3d490ce4047c6fcfd38fffc3cce2297f7a0b9 + pristine_git_object: 3c92fe4b5a6d23e13954bc312df36e1f8d219ebd + docs/sdks/customfields/README.md: + id: a205cef73249 + last_write_checksum: sha1:1d2a1bad778c4013ab03bc23e6f71c4a2f7a0724 + pristine_git_object: 57ede67d9187e011d639f640fc1fe58ab4edcac8 + docs/sdks/discounts/README.md: + id: "000723261694" + last_write_checksum: sha1:a07f00025e3a5e562a193e87d617e4f2ebd5a895 + pristine_git_object: a1c28f01c27cc042b1bbefd7099130302b2e084a + docs/sdks/downloadables/README.md: + id: 72073854b1ac + last_write_checksum: sha1:3424eac8fac76a6201535956f6513c89455a5ce9 + pristine_git_object: 30c574f2def3e6c1ca6483d2576749b980dfdf6e + docs/sdks/events/README.md: + id: cf45a4390b9b + last_write_checksum: sha1:4189e8d0e56b93f98c3d0a8fa9bad4c76042bd6a + pristine_git_object: 792104a945e6ba657b0ccd70e3feabce0298de27 + docs/sdks/eventtypes/README.md: + id: e3c4448534b1 + last_write_checksum: sha1:e77ac34034b2a7225611293123c224ea65aebfbd + pristine_git_object: a7f50968fc959f69ad8f0532af2827cc6f02d65d + docs/sdks/files/README.md: + id: e576d7a117f0 + last_write_checksum: sha1:aef929815d4cf36f090d3d94127b89edb3e77787 + pristine_git_object: b2f45848bb8c5e0a05f8d5adcef4c94c6fcdee34 + docs/sdks/licensekeys/README.md: + id: 119117936b1b + last_write_checksum: sha1:df9ec3e5784b8655379d3f0cceb52ea60dd72243 + pristine_git_object: b0288ef12d8fcdfc68629ab05d6cd5fbbb2ed4d0 + docs/sdks/members/README.md: + id: efb92d440525 + last_write_checksum: sha1:7c3b80b81eabb01a8ac187149b5ab2040ba3317f + pristine_git_object: e1a9f8e7dfd5ba87194f5d1a76a53fcc4da9d987 + docs/sdks/meters/README.md: + id: 2d725619329c + last_write_checksum: sha1:382b466b965475640fde86e19fea9b98ce017a42 + pristine_git_object: ffeb80080c04d8e525439172915359c907422e77 + docs/sdks/metricssdk/README.md: + id: e694025e267d + last_write_checksum: sha1:a8bce7b57a4c6f94509c5929b4931cef21be253e + pristine_git_object: f39a2f9ff663a0ea8c48745b65ac70828bc29f2b + docs/sdks/oauth2/README.md: + id: 0d3d581bbf0f + last_write_checksum: sha1:41ab71747a1ea845eb6e342b3a827d347b0209d9 + pristine_git_object: d0983a384642e13c2d08a0ee03f4e3ae924b9572 + docs/sdks/orders/README.md: + id: fc5b2caf3cb2 + last_write_checksum: sha1:9b8c23504955d8d53776868a1c70cac27a25f919 + pristine_git_object: 0457a5ff3ddd6bf53989263ddd53ef999d244778 + docs/sdks/organizations/README.md: + id: 3425667a2db5 + last_write_checksum: sha1:539a9bb438f60e85284e0630399d566cdb139b2c + pristine_git_object: cd91b30e6d5065a62b51a5e3b1f00b58626a798f + docs/sdks/payments/README.md: + id: 0ddb15ec8c20 + last_write_checksum: sha1:63d4cc5c8ab07168bf28a59f651d408667404129 + pristine_git_object: b301a76a1d62f1dbe4388867c563de6dcc5f7998 + docs/sdks/polarbenefitgrants/README.md: + id: 895344203d7d + last_write_checksum: sha1:4e3bd3f0fd1eb9e32bc1ec7d3a47d26e94f29ffb + pristine_git_object: 01af6cde0e9fd96bc093e24d8d2b469f3e34931c + docs/sdks/polarcustomermeters/README.md: + id: 5218e3eccdc2 + last_write_checksum: sha1:3afd1422131745f9eeaf55cb8a28e386d3684d83 + pristine_git_object: f95c9d54691c13ec2200b74d6a71d255fbbeb1c7 + docs/sdks/polarcustomers/README.md: + id: 0bcbb3daaedd + last_write_checksum: sha1:536b9106080c35f2eef55c205b278e5eae9be2b1 + pristine_git_object: f6dd257177ad716fbb834355bb45c8e7d72c9488 + docs/sdks/polarlicensekeys/README.md: + id: 7f322ca756f0 + last_write_checksum: sha1:01f6ad4f58453a9ef561beee742f8aebf20f42d8 + pristine_git_object: b574df1e25a158d2496ec46ed3f0aeb0a8e9b23b + docs/sdks/polarorders/README.md: + id: aa45777cefd6 + last_write_checksum: sha1:4c713b67a45693483ce0308248a23acbf3652639 + pristine_git_object: 3acd20142a10ceabc268877fdc8b0d1e87162118 + docs/sdks/polarorganizations/README.md: + id: 6e664ebeb7a9 + last_write_checksum: sha1:a66f3e70e90bcafd1d61bed65d5dd4e98750fc3d + pristine_git_object: 85f6e4648ad61b162920eeb1670d90a83d2e2cea + docs/sdks/polarsubscriptions/README.md: + id: 3baeb6932bf4 + last_write_checksum: sha1:fc28dd3376a8bcf7c3bf65aa18c5a985e7fd01a7 + pristine_git_object: 0a5ca6e3ada54f5c1834482e0ab7fb8c115c01d6 + docs/sdks/products/README.md: + id: af06255e12ab + last_write_checksum: sha1:5b84ac3cf9316f403eb8b3f1990f270022ceece7 + pristine_git_object: b3fb0768ed7753bc88963ac2c0d34a63be16a346 + docs/sdks/refunds/README.md: + id: 451a9838a921 + last_write_checksum: sha1:99b2dce5d04fb9b4b0e341d7e8a0b88cf19a9694 + pristine_git_object: 10bc1a02593469409e5becede17a924cc781ce71 + docs/sdks/seats/README.md: + id: 5dd624f51870 + last_write_checksum: sha1:3e7846cda3938338616d6bae5111179b86860435 + pristine_git_object: be37d711fa947c486b3fdff3c36ee840cf3cf2eb + docs/sdks/subscriptions/README.md: + id: 298b9ab3c3e0 + last_write_checksum: sha1:6020237d94b783877e7d4310c9efd2bd997dfb32 + pristine_git_object: a5eaaec5dc92ebee07882e33fdd2bbe96d603517 + docs/sdks/wallets/README.md: + id: d9388c541e1a + last_write_checksum: sha1:6279203b93c36fbe4fc8427362a5db4b376fbdbb + pristine_git_object: d36b257f35d439cbdccbe678962783016c64c4d0 + docs/sdks/webhooks/README.md: + id: e21b32d786a4 + last_write_checksum: sha1:5ff1ea42a0fd32ea2e8623f1de6b6e4a8474ea5c + pristine_git_object: 85696834641f363425443c7e9f6c0959cf53461c + poetry.toml: + id: a81ade82122a + last_write_checksum: sha1:2242305e29dc6921bdf5b200aea5d4bf67830230 + pristine_git_object: cd3492ac9dc870fdcf23dbd94fd1d40cc753cc8e + py.typed: + id: 258c3ed47ae4 + last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 + pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 + pylintrc: + id: 7ce8b9f946e6 + last_write_checksum: sha1:28cf93bbde7a00563a04b6b9c6269457e145e6dd + pristine_git_object: 9e40a4af8112c4a7ed0c564890c9fdda0a2fd7a3 + pyproject.toml: + id: 5d07e7d72637 + last_write_checksum: sha1:f17d2c177c502917a8ed77853c1a832a5f8ff207 + pristine_git_object: 51be699cefd27b33b87d1b977b041c438455b89d + scripts/prepare_readme.py: + id: e0c5957a6035 + last_write_checksum: sha1:2311639185b318e498a99518d92fa5c847b5c70a + pristine_git_object: c7cfb53d88f84d1d4ecdf61fe32afd541a6520bb + scripts/publish.sh: + id: fe273b08f514 + last_write_checksum: sha1:b31bafc19c15ab5ea925fdf8d5d4adce2b115a63 + pristine_git_object: 2a3ead70ccc6228cbae1c5c8a319b1399f3804ea + src/polar_sdk/__init__.py: + id: 85fb4bd6eab8 + last_write_checksum: sha1:36306d1d404b6aeb912d27f1d9c52f098ff7bf9b + pristine_git_object: dd02e42e4cc509dc90e6ae70493054021faa5f9c + src/polar_sdk/_hooks/__init__.py: + id: de0abced4b95 + last_write_checksum: sha1:e3111289afd28ad557c21d9e2f918caabfb7037d + pristine_git_object: 2ee66cdd592fe41731c24ddd407c8ca31c50aec1 + src/polar_sdk/_hooks/sdkhooks.py: + id: 1e5a5c401a1d + last_write_checksum: sha1:c1371bbccabcfe2617406eb9c2ce205f142ffed3 + pristine_git_object: acbeaaf5edec62a8cc442139fb580421297967b8 + src/polar_sdk/_hooks/types.py: + id: 61de702051aa + last_write_checksum: sha1:a218c66f3e2d1f1b9af54f270472b970b0cc1913 + pristine_git_object: bf89919af8f51df9f9e6413c38719a54061ae8e1 + src/polar_sdk/_version.py: + id: 063f1df172e3 + last_write_checksum: sha1:0caefae53a7a1ae59090bb6f808dc40628933cc5 + pristine_git_object: 7e33afddf6bacf8abb7673e28acb8ce5f7e97d6f + src/polar_sdk/basesdk.py: + id: 1dd98cf76290 + last_write_checksum: sha1:b7c864467a5d9cc82d32d648705c6badb19a7706 + pristine_git_object: 6a4f7d13e29e85b0392b7d53d47f7ce411f00d6d + src/polar_sdk/benefit_grants.py: + id: b3a8ebe3a6e1 + last_write_checksum: sha1:f998e0df632ad98685e30d4751dac4d26b210f51 + pristine_git_object: 2fe18ac5a5812ac8841c2131178d727ab6aa93d4 + src/polar_sdk/benefits.py: + id: 9869cd02ecb8 + last_write_checksum: sha1:57a5b9c6e07afb683f0e24ec54dc8f897c75649d + pristine_git_object: 4657c8df078dbf02f89d99c09c20fda179f40d5a + src/polar_sdk/checkout_links.py: + id: eeb5c16a3242 + last_write_checksum: sha1:86a2de4ee115a986b48b49fcc1d990589e6923bd + pristine_git_object: 950b4c8bebfc106e0ddb355e3e60b3bbd7be8fc2 + src/polar_sdk/checkouts.py: + id: 9f232c605fba + last_write_checksum: sha1:e8158c0330310d23365fe07ebfc31e555306d655 + pristine_git_object: 7685a6ad97d97a8eb6c9edca81ffd99aa81e3477 + src/polar_sdk/clients.py: + id: 83a2d215ac9e + last_write_checksum: sha1:0fcd13f6b2b1857b3f7fad45b7d2837cc4fc5b89 + pristine_git_object: cbfd0a440ec20026ed7b285572bf633f93537fd8 + src/polar_sdk/custom_fields.py: + id: 5ca6351a9a8b + last_write_checksum: sha1:b3f49fcbc4ae68d546d0f0074d47bd28a9cb934a + pristine_git_object: 8577d9bd6980f815e9f40c665abff6f42f3cf8b7 + src/polar_sdk/customer_meters.py: + id: d0381f2b5ea2 + last_write_checksum: sha1:6037fed331b193502d17b0b0749af873b77485e3 + pristine_git_object: 47a54b992987db022afff4386872faa9a1e00a4d + src/polar_sdk/customer_portal.py: + id: 72dee380b166 + last_write_checksum: sha1:15126b47dbfd57e4f8b99a4ed990a60aee13ab6f + pristine_git_object: 6ad4215c2db0f8cdd8a66d861f283daba8424e6f + src/polar_sdk/customer_seats.py: + id: dc57b81b64ef + last_write_checksum: sha1:3b71e7d0b064d3998a16107eec907d4df1f075e6 + pristine_git_object: 9b9f2e27e9aa2c88ba2e18d9ac9f7b649eaa8941 + src/polar_sdk/customer_session_sdk.py: + id: 82c4b61b6ed5 + last_write_checksum: sha1:59468a8644f6cd269363884381e09cbd9a634a8e + pristine_git_object: 918f3f6fea74bd0c7d0334a6971fd8c00a7893a9 + src/polar_sdk/customer_sessions.py: + id: bc02d40bdcba + last_write_checksum: sha1:407a79bf8b9c09f7a8038cce8c1537b121f9dcb4 + pristine_git_object: 79eaa252bf36705f9f8e57376bb3af04fd3eb7e2 + src/polar_sdk/customers.py: + id: 13c35605546c + last_write_checksum: sha1:5791b874ea05f5285209d208c59d6ebd8cbca0d1 + pristine_git_object: b9d925f1daedda2ba71eb60895e24a45c636a31e + src/polar_sdk/discounts.py: + id: 0dfbf40022bb + last_write_checksum: sha1:df3696d6b393495ac58e9fb7c7eb3145b2666dca + pristine_git_object: 14ce4d7d3f703e3fc053b0b408a851c15d2880a4 + src/polar_sdk/downloadables.py: + id: ea9c26f6cbf6 + last_write_checksum: sha1:6fc6cfd93ae3683c60b8dfe9b61073ff9f73b8bd + pristine_git_object: ee7aa891bb051f39ec2ecb278e0bbf0e80427062 + src/polar_sdk/event_types.py: + id: 4162f0143a69 + last_write_checksum: sha1:9112a9588e6d7723f6e9c331109f657e0d323527 + pristine_git_object: de8a781a51048207aa5952cab1035780fcc474f8 + src/polar_sdk/events.py: + id: 9a48a882a94a + last_write_checksum: sha1:8de4c513999f03d8c485b681f8c125a64da67b0b + pristine_git_object: 64f5223032a18c081a663d11e97a0b3eb0370211 + src/polar_sdk/files.py: + id: b75916e70dfc + last_write_checksum: sha1:d29ee52d784a9ac78380ff9cda0e94d5dd9651ec + pristine_git_object: 565be8eba250d843a57b86f856a272e2ed018427 + src/polar_sdk/httpclient.py: + id: b9429e1edaac + last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7 + pristine_git_object: 89560b566073785535643e694c112bedbd3db13d + src/polar_sdk/license_keys.py: + id: dc70798b203e + last_write_checksum: sha1:2146d2e8c447a1167b1adeaead0be9b4173919a8 + pristine_git_object: 734ea2958c7d5572f23c18ed3cdb306044784d37 + src/polar_sdk/members.py: + id: fa88107ce2b2 + last_write_checksum: sha1:15c84fee89e863d704d4f93234e7c737740b5b10 + pristine_git_object: 3f6b05d18185a2471e0781fdbeec52172fed5327 + src/polar_sdk/meters.py: + id: e08d99cf6668 + last_write_checksum: sha1:ee2ea64eeae6271c7f610b9738afd673be708d57 + pristine_git_object: 9e8237f0e11fda99683c15fe5c4588a868dad1a0 + src/polar_sdk/metrics_sdk.py: + id: 764f94472b86 + last_write_checksum: sha1:d35cb2e65dcc84d88d36a8f68ccf5a46868aff0f + pristine_git_object: f03773d8fa17353353657e2fb048095ef87720f2 + src/polar_sdk/models/__init__.py: + id: a6cc4e79dacf + last_write_checksum: sha1:9b1417657a9517b409b206252db74e8addc114a2 + pristine_git_object: 2586b21993bf90e27364b6e6bc6645004c7b523c + src/polar_sdk/models/address.py: + id: c67f2cbbb295 + last_write_checksum: sha1:d0db9f9f7077e8cca27895bdd29e7627fb4c4b53 + pristine_git_object: 0d49058cd413a0df3e7e106f96ca07952faaf31d + src/polar_sdk/models/addressdict.py: + id: c5a1a614ffc6 + last_write_checksum: sha1:873b2aa53ab73582d63845de00bb2a8c46efbc8c + pristine_git_object: 2f367bc6765b7ba99d03bb89b4d25ad08f3dea3b + src/polar_sdk/models/addressinput.py: + id: b5b4b98cf5b3 + last_write_checksum: sha1:a789cd0b8a81031335f488d38a2fb6531a486cb8 + pristine_git_object: 12dfff7069e09b58301fd99e02dedb9fc88fa65f + src/polar_sdk/models/aggregationfunction.py: + id: 707c55f50bda + last_write_checksum: sha1:05923aee83110ef0a56e1cb2dc065c3614a9f369 + pristine_git_object: 233dfd1e6f496f6722c6e872f957ff36dcda6985 + src/polar_sdk/models/alreadyactivesubscriptionerror.py: + id: f5bfeed8e769 + last_write_checksum: sha1:26615b2edcac341e895ed852f67204b07381c18f + pristine_git_object: 1df3dd718b0ba46b558506525ac2f8d02275fd0c + src/polar_sdk/models/alreadycanceledsubscription.py: + id: e57aec81addd + last_write_checksum: sha1:d66903a9cb35fa48f6391b4923a4343152e7e2ae + pristine_git_object: 3254ccb845dbdf850e34b5cc55b722ad7720e17f + src/polar_sdk/models/attachedcustomfield.py: + id: fce2bf30f440 + last_write_checksum: sha1:a24b6b8047eb0fb4d17c58bbb2462a9cff2ee5ea + pristine_git_object: 6239365bcdbf1708cfd646f9d61f7ef700d14da6 + src/polar_sdk/models/attachedcustomfieldcreate.py: + id: 25297145df0e + last_write_checksum: sha1:b6445c597a18d0b95b5464d096c0cea3e1e4f0ae + pristine_git_object: bf6036bb8868bec1bbf488f444957fd7e1d30f62 + src/polar_sdk/models/authorizationcodetokenrequest.py: + id: 1531e46eeace + last_write_checksum: sha1:32f454c067d5c6768db8336b74c4a60412860db2 + pristine_git_object: 75569b702b84dc85b4292fbc5cc375f89cc4ae8d + src/polar_sdk/models/authorizeorganization.py: + id: 81e96742126c + last_write_checksum: sha1:68ae4bbffb168321ecf121bd07b83965660204b4 + pristine_git_object: 5ceefabd7351ef84dfcd9f303cef97f58f969a8d + src/polar_sdk/models/authorizeresponseorganization.py: + id: 7c06cc0a3123 + last_write_checksum: sha1:d7626ae63de40fa0300fa44329085520827c1219 + pristine_git_object: 69735f54eeb2deec50d148ce4416058a3d2a8f7e + src/polar_sdk/models/authorizeresponseuser.py: + id: 1a97d630c6d7 + last_write_checksum: sha1:e9064d02207a91151e5ca92bb652031a08f95227 + pristine_git_object: 0e1d1b5982034c6a7233e02c5333e7719a05bd3b + src/polar_sdk/models/authorizeuser.py: + id: f3893d0e9c73 + last_write_checksum: sha1:af05557ed5733db29179b9925a16dd07246435fa + pristine_git_object: e9584a0b4ebda8fbe2d9b9e3186c1e3fd7118fed + src/polar_sdk/models/benefit.py: + id: 2ae98413091e + last_write_checksum: sha1:d8ab2fded8922dc5873c94e30e7df3cd2006d238 + pristine_git_object: bf6d9771939f6d4aeb33392efce6a6ea0c26476a + src/polar_sdk/models/benefit_grants_listop.py: + id: 0530e089f061 + last_write_checksum: sha1:1166bbda98aa755079361ebe4e928c3828c583eb + pristine_git_object: 9ecd33e291410931ffccaca0481240c658078634 + src/polar_sdk/models/benefitcreate.py: + id: 94c3ea22d8ba + last_write_checksum: sha1:3bec50f54f434e93c158ee3c01bbfff303a17ba2 + pristine_git_object: 4bea68af3062a6ade015a7d1689654d6b96cc42c + src/polar_sdk/models/benefitcustom.py: + id: 1da1b0f71bd1 + last_write_checksum: sha1:1fecf0478b7b2c8be31b221d474b6fc5af064e8d + pristine_git_object: 3fc1cdf2680e19b612f5ccf67ab6dcf20bd56c54 + src/polar_sdk/models/benefitcustomcreate.py: + id: d45851ec5ec4 + last_write_checksum: sha1:8998538117cdf8c2cb9de21a03d8617d8ec14d51 + pristine_git_object: 4514c65beaed233a36d72c5855f3e37263544470 + src/polar_sdk/models/benefitcustomcreateproperties.py: + id: 26e267d13c01 + last_write_checksum: sha1:bb6fbca4df9456bd6e8dd9926492c2cab471fa7b + pristine_git_object: bc6beccd9c15c14a4b260a8178dc0ef619e87ccd + src/polar_sdk/models/benefitcustomproperties.py: + id: ef1f457ca16c + last_write_checksum: sha1:e88aa2f7ea367c7d372dc0f27045d65e8c4a3495 + pristine_git_object: a3d194d077434f5024e8fe2edef1897abcb51c06 + src/polar_sdk/models/benefitcustomsubscriber.py: + id: 4b1495fb73a9 + last_write_checksum: sha1:d9aa9896ea9fac66839b1af2f317dcfee58b9d22 + pristine_git_object: aec24c0615bd7b479025067acaff0f015776d109 + src/polar_sdk/models/benefitcustomsubscriberproperties.py: + id: ca3b32456cc5 + last_write_checksum: sha1:cb99e47785a3721994421f6b198e5f6ad29e31c6 + pristine_git_object: 1beba7ce915910b3e5584f56acfba6c314a41ddd + src/polar_sdk/models/benefitcustomupdate.py: + id: 20a4d666f8b5 + last_write_checksum: sha1:90579ab2e37efda0c989d91b17625019b4624c82 + pristine_git_object: 6d0c90e0fc9213dfec2a005563c65ea7c440f709 + src/polar_sdk/models/benefitcycledevent.py: + id: 60f26e87175c + last_write_checksum: sha1:2ae595948bb5f346ca068756b21e74f6bee3f885 + pristine_git_object: 85917c12bd77123ff1aa5e70d8a317c079992508 + src/polar_sdk/models/benefitdiscord.py: + id: 2b3ea857a255 + last_write_checksum: sha1:8aa44d6ed932edcd778ea125d8fa495d5de2b675 + pristine_git_object: e97ff8680ebe1545d114f2d1017529107b02519f + src/polar_sdk/models/benefitdiscordcreate.py: + id: 6d8dd19e9094 + last_write_checksum: sha1:65283d09c6d1e288ca8a0ae09a8f9d69a86382c0 + pristine_git_object: 13c4529d57e917d7624a83b56a41ba3d63e3d764 + src/polar_sdk/models/benefitdiscordcreateproperties.py: + id: 6ad1e8ac2dba + last_write_checksum: sha1:ce9d8fe351992a0307972684821945ef6de33bd8 + pristine_git_object: 0075f743c7104b007bcf4e3249e3cdbf0c20ca85 + src/polar_sdk/models/benefitdiscordproperties.py: + id: 7492957b3101 + last_write_checksum: sha1:e5eb887ec2facb3c4498b6a735266fdc4fc78fe3 + pristine_git_object: c4ed96a52c1e10d58095049f01d4207a2e5a173d + src/polar_sdk/models/benefitdiscordsubscriber.py: + id: 023a425828e1 + last_write_checksum: sha1:ec0fa5ade7bad203f857cb81a6b74bbd86d7eff8 + pristine_git_object: 3fde1043247b2f63f050f54341f31eed8f2849be + src/polar_sdk/models/benefitdiscordsubscriberproperties.py: + id: 2f8a10e9d393 + last_write_checksum: sha1:5553ecb6757a2a7e675b970ae0ccfcafd88e8635 + pristine_git_object: edfff208b679aec63ca7318f32200b7ab993768d + src/polar_sdk/models/benefitdiscordupdate.py: + id: 1c84822c99c9 + last_write_checksum: sha1:84b05a29584ced50e45ddac7f4b10e2f79c0d048 + pristine_git_object: 00a97bc6cacbffde7839904f33ecc02721f832ac + src/polar_sdk/models/benefitdownloadables.py: + id: 8e6e86f91f27 + last_write_checksum: sha1:d1cb3417ca91db21e90d6bb6fa324eb81d11eb77 + pristine_git_object: da6d012924bfa4bce33d8fbbe8242879ca47f990 + src/polar_sdk/models/benefitdownloadablescreate.py: + id: 85e03fad1d74 + last_write_checksum: sha1:a6b93307772847ea44014699ddb14d355acb6139 + pristine_git_object: 532d6480cef323ad08a188c34e9d9834b0799298 + src/polar_sdk/models/benefitdownloadablescreateproperties.py: + id: 5cba94e0712f + last_write_checksum: sha1:934b186feed7c172c8fa3b1536ac4a4c3d63ea2b + pristine_git_object: 6bc6d5cd031194241c2634734620b8e2451512e8 + src/polar_sdk/models/benefitdownloadablesproperties.py: + id: 903efa3fe4cf + last_write_checksum: sha1:6b5e011a44552dd08c33a37ecdb0977c1de16994 + pristine_git_object: eb7f276bf28fcc81902756fc38f17b4fd1077138 + src/polar_sdk/models/benefitdownloadablessubscriber.py: + id: 34834df9d18e + last_write_checksum: sha1:0edfcdb056b162baf3387320b07f7aeb1aa3bf4f + pristine_git_object: 31d66a597aebf603bc00671ffb9fccf68670d055 + src/polar_sdk/models/benefitdownloadablessubscriberproperties.py: + id: 28b9345ae1b6 + last_write_checksum: sha1:a6b5334b254773e57ff782573bc3171863c0d502 + pristine_git_object: fdb181e10a1f66aec569abe07e99b6ca150f304f + src/polar_sdk/models/benefitdownloadablesupdate.py: + id: c85edc655106 + last_write_checksum: sha1:8512b6822d0604ad7c767f754175e6842ba0eb0b + pristine_git_object: d269f9cdff78f1e2d57c9d7fd017dde2507d2bce + src/polar_sdk/models/benefitgithubrepository.py: + id: f4e3a3edc6e9 + last_write_checksum: sha1:3a5e5f93f8bc62bfb39687918b517e167f3ab063 + pristine_git_object: 5b139ff203320fb18e93b5859b4e2622f19fb92a + src/polar_sdk/models/benefitgithubrepositorycreate.py: + id: 4c13703fedc5 + last_write_checksum: sha1:01afef444d27a8c073aba6b7dd2d08f578ba6586 + pristine_git_object: bd3711034a7c6c62fe1b1bd0f76e437103aa58b7 + src/polar_sdk/models/benefitgithubrepositorycreateproperties.py: + id: 431525a2b21b + last_write_checksum: sha1:5fbfd35eaaab5a3f788cc571602cb52f36c1fd3e + pristine_git_object: b4ef7b8484e6e9c164505aa76912868a52a9c208 + src/polar_sdk/models/benefitgithubrepositoryproperties.py: + id: 8d7f0de48e56 + last_write_checksum: sha1:e05c2811e87035cc20b37b1a40b96ab142dc19bd + pristine_git_object: 8faaa75c3e87018612f64fb92992157399c643d4 + src/polar_sdk/models/benefitgithubrepositorysubscriber.py: + id: 1b16f5fea525 + last_write_checksum: sha1:654304cc6cbd6db82a0ad14b537535bd040aa26a + pristine_git_object: 6f2e2ba34959d89c8cd129aa38a75a38a6f3cbe8 + src/polar_sdk/models/benefitgithubrepositorysubscriberproperties.py: + id: 71d969f0b0f8 + last_write_checksum: sha1:2dad7be0986169f2fff35bc0b0a6e638f80aa0d7 + pristine_git_object: c97afc1ba4e23cfb09f2622a16d1675bc843e8f1 + src/polar_sdk/models/benefitgithubrepositoryupdate.py: + id: 95e6515f8488 + last_write_checksum: sha1:5a0376b9c073a9202c056a3e2fd2a5c91b7a0a66 + pristine_git_object: 0811493a68f813eb9a0533c4d88b871ae5717aa8 + src/polar_sdk/models/benefitgrant.py: + id: 4f4db35b004e + last_write_checksum: sha1:213399c851ee540fd03f2d728dfe97e9ea5438ec + pristine_git_object: b7d2c5c6d12c64c28a21234903deebd0114ebe89 + src/polar_sdk/models/benefitgrantcustomproperties.py: + id: 2ca52f644c01 + last_write_checksum: sha1:c7a00e22c356cae26b0ea82aca051234c266d708 + pristine_git_object: 40e73b2904e189bba80019f9adaac4dfc1587f6d + src/polar_sdk/models/benefitgrantcustomwebhook.py: + id: 27506c8525fc + last_write_checksum: sha1:796d94f609fd1e000fdb46bbccf99a583bb65b59 + pristine_git_object: 5e933b1a0c5b0d3d0960e8a52427526476115291 + src/polar_sdk/models/benefitgrantdiscordproperties.py: + id: e1787fd02434 + last_write_checksum: sha1:6505ae1a2b3fd9af9b9a37b352cbff4f6545ee66 + pristine_git_object: ae16832c4e46f1a35aca43620ec7f0a679ee7b8b + src/polar_sdk/models/benefitgrantdiscordwebhook.py: + id: 3d8efe24290b + last_write_checksum: sha1:67a637fb6986209a97dd08607d9eb60406efe78f + pristine_git_object: 616dccebb190738bc7a01cacedcc912fff81da34 + src/polar_sdk/models/benefitgrantdownloadablesproperties.py: + id: 328fcd9c15d1 + last_write_checksum: sha1:6ea27ac360b75d9de7f74c152cb40c1784d45e87 + pristine_git_object: c203878e43aa8075d5d0700ae1ac1a4fc6d60d8a + src/polar_sdk/models/benefitgrantdownloadableswebhook.py: + id: 86ffa7f02c43 + last_write_checksum: sha1:8f1c91c3359559b80ab71a9687b51daa087cf881 + pristine_git_object: 4c109486616193fe147bcbd442645d6ceaab9f78 + src/polar_sdk/models/benefitgrantedevent.py: + id: c51b8418e703 + last_write_checksum: sha1:401c951fb8d8c89faa7d8ea64d975cc5035d0b39 + pristine_git_object: c6db8c067fab0dceb100b952bba1147c77766b80 + src/polar_sdk/models/benefitgranterror.py: + id: bdec75e24aa5 + last_write_checksum: sha1:2e34733f98d3fd4ac076bd4ae95caf9172adcd5a + pristine_git_object: 00680e933889d247a32055362a01eac456a57982 + src/polar_sdk/models/benefitgrantgithubrepositoryproperties.py: + id: 46dee1b7a100 + last_write_checksum: sha1:199c246a3337edab16697d3b9b1a458df5899e1e + pristine_git_object: 110a9c9202a5e3e4ce1a4d7692f0b749de22ed7c + src/polar_sdk/models/benefitgrantgithubrepositorywebhook.py: + id: 4b07757390fb + last_write_checksum: sha1:43043ffc8d34888dd1483a2bd0f0d5d4565bc143 + pristine_git_object: 6cee72cbf60c288abb7a4a62d86bb580f115a3a9 + src/polar_sdk/models/benefitgrantlicensekeysproperties.py: + id: 79d12a0917ad + last_write_checksum: sha1:0ef2e19cd957b06cff139f00d015553cacb2d099 + pristine_git_object: e95e11c21da4212c808158463e2b21be607e930b + src/polar_sdk/models/benefitgrantlicensekeyswebhook.py: + id: 6ebc09fa32b0 + last_write_checksum: sha1:bbd53a08d605e2bb16cf915563be485bf3db6155 + pristine_git_object: 2e5ade54757684df4bc9bfcd9a72673594a85da8 + src/polar_sdk/models/benefitgrantmetadata.py: + id: 63d40418a521 + last_write_checksum: sha1:f4d68481d4cf27b9c66c68cd5f661b23be397e58 + pristine_git_object: ad3c66c4027314b88e2256baa9e05c8a41b0493d + src/polar_sdk/models/benefitgrantmetercreditproperties.py: + id: f79613dc935b + last_write_checksum: sha1:1d3f7dc6d223fb991a63033eca01a989325f9f60 + pristine_git_object: d631200c8bc6f8ad6e48ac720239b3415b5a3fda + src/polar_sdk/models/benefitgrantmetercreditwebhook.py: + id: 4ce81725b4fc + last_write_checksum: sha1:ffb05e58329178021e48d5e33a400554dc92e166 + pristine_git_object: 545eebd1afb24edb12952dc19c93f05f3df13ef5 + src/polar_sdk/models/benefitgrantsortproperty.py: + id: 1bf1e854f8d5 + last_write_checksum: sha1:de11bf40a2ff133087533ce8b1f10565eddbe408 + pristine_git_object: 9a51ca948a534b944c3544a1f3ff5e9d7812486c + src/polar_sdk/models/benefitgrantwebhook.py: + id: cca8001a29b8 + last_write_checksum: sha1:976365a3408946dce3344b7617ed0cc4637b5cae + pristine_git_object: f54c66253fa2d607793ea906a7322229d16e5f48 + src/polar_sdk/models/benefitlicensekeyactivationcreateproperties.py: + id: 32e49e0a4294 + last_write_checksum: sha1:77528b7ba1d4daeae7973205d96106d466b94ab7 + pristine_git_object: 510084c4cdddad9bb2c6ce88dac40758d3b2255c + src/polar_sdk/models/benefitlicensekeyactivationproperties.py: + id: f463e740e3b6 + last_write_checksum: sha1:2c061929e97a68ebf4b4344e04637ea8ad6aa721 + pristine_git_object: 31e986b72cb6579a83089634ee63f62a0e1d4982 + src/polar_sdk/models/benefitlicensekeyexpirationproperties.py: + id: 1eae18856f2e + last_write_checksum: sha1:f2cb463b6f2f77dc07e9afeea285b3577e938ffc + pristine_git_object: e90c1d51fb5020ae02d6ba57247c424e1596379b + src/polar_sdk/models/benefitlicensekeys.py: + id: 3563378d15aa + last_write_checksum: sha1:ef52f03a09027c6409030fa6008315cb63363bda + pristine_git_object: 19bb7d0ecd02c85b376b3d2de84ebc6e9662b5b1 + src/polar_sdk/models/benefitlicensekeyscreate.py: + id: e2c71ccbdd55 + last_write_checksum: sha1:b05c54fd8c9f89cd292cf0014e60ecf897e4e6b2 + pristine_git_object: 9e89935a884cdad1716122c747d663f37008f0af + src/polar_sdk/models/benefitlicensekeyscreateproperties.py: + id: cfa426113032 + last_write_checksum: sha1:00ee554c36e8fee0264326de00a73a0905258f27 + pristine_git_object: b886ab56764fb06f679e3eef8bd33db12599c622 + src/polar_sdk/models/benefitlicensekeysproperties.py: + id: c77b6e5c0fee + last_write_checksum: sha1:c16bc3763ac8ed9969308276503221848e03caa7 + pristine_git_object: 335a245cd2e24f97f2764caca009cde2c72028ed + src/polar_sdk/models/benefitlicensekeyssubscriber.py: + id: 0204738af665 + last_write_checksum: sha1:d32d25fa952bc6a36422dd3c44b87d7bde4b464a + pristine_git_object: 57264624a4151c1674be7053679cda35fc199f30 + src/polar_sdk/models/benefitlicensekeyssubscriberproperties.py: + id: 37ba2bcdc02b + last_write_checksum: sha1:0f9648583a9dd32f959fb62406fb1ed24d7b777c + pristine_git_object: 0f8cb6d24868f0a9987d93c3ad30de36507fb927 + src/polar_sdk/models/benefitlicensekeysupdate.py: + id: 4059ddd97cf2 + last_write_checksum: sha1:4da0019b3ba815aab45cb30c66f36d82aa7d2a1d + pristine_git_object: fc9e7f43b556d0bd88795d9e0225603f81dc5157 + src/polar_sdk/models/benefitmetercredit.py: + id: 29fd78185957 + last_write_checksum: sha1:66afae470624716a97be5b3cfd4c1b23afae26d4 + pristine_git_object: abf2b065c466109c376d6b9b82e727dbf7ddcec5 + src/polar_sdk/models/benefitmetercreditcreate.py: + id: e08d55c140d0 + last_write_checksum: sha1:15de7ad23ef7a4d46eb08add86c840be9ad7baa1 + pristine_git_object: 0af2db186fd49061fdcc12eca9ac67e079bf658f + src/polar_sdk/models/benefitmetercreditcreateproperties.py: + id: 3f9286460b4e + last_write_checksum: sha1:278c819c8134b6f8c20069afb7214e5d002b1e86 + pristine_git_object: 61e0ca422bff06a654a302aeca0987ebe879dfc5 + src/polar_sdk/models/benefitmetercreditproperties.py: + id: cad106fb28ac + last_write_checksum: sha1:eed8d3e63f0b0a5fa6182599e3de54f1290f20b9 + pristine_git_object: 59a50e6a8dd24d9c4eecbb94c6004fb8928d8580 + src/polar_sdk/models/benefitmetercreditsubscriber.py: + id: 76de3b017dec + last_write_checksum: sha1:ef6ac5f18af8ad62e093bc01eda1dd97ae751b96 + pristine_git_object: d53a73991151dd542234713df9c8266f48fcdfc8 + src/polar_sdk/models/benefitmetercreditsubscriberproperties.py: + id: 1d812387e891 + last_write_checksum: sha1:8addf1bf3455c23b1e178b605ff79fb2774f5ca3 + pristine_git_object: ccd836d24c234a4a1e5b38220fc8868159e19e25 + src/polar_sdk/models/benefitmetercreditupdate.py: + id: 011abc4cad04 + last_write_checksum: sha1:b4e0533d99a06e29b6ff8a9907f30bcf065b00e6 + pristine_git_object: 53e139e49cab8266829565b9d5122f510c7eb82c + src/polar_sdk/models/benefitpublic.py: + id: 2efb2e5ff56f + last_write_checksum: sha1:b31b8265f42511003d3331019a1da6fbd0f282e2 + pristine_git_object: 53843ee7fb9594c3969e9e8c0e8eaf330cf96fcb + src/polar_sdk/models/benefitrevokedevent.py: + id: 6a45552748a1 + last_write_checksum: sha1:e42326126fe2861f01e3f296003d434084fa2c49 + pristine_git_object: cdf91e22006e4dffca3f1fa66ee064629b35c37c + src/polar_sdk/models/benefits_deleteop.py: + id: e4ba68417ae9 + last_write_checksum: sha1:534af1aec48c7c344b132a1d0c1de6b08438e7db + pristine_git_object: 8742a7950983fa04fe8d999149c64dab802fd620 + src/polar_sdk/models/benefits_getop.py: + id: ee0a9a2c8d24 + last_write_checksum: sha1:7ee78afe17b3c54bae259f7598ed80f0e695b3be + pristine_git_object: aae6217da2b0f703d299407e1176429f5e046148 + src/polar_sdk/models/benefits_grantsop.py: + id: 7255ac4b9c13 + last_write_checksum: sha1:e49747f51d9fc54bc8814216c3fc751ae46f911b + pristine_git_object: 55a28b3996b66ef33165e70c98f3f35fd5ce3550 + src/polar_sdk/models/benefits_updateop.py: + id: 3ac15d0228d4 + last_write_checksum: sha1:d193ddd004349829e3bbb14c395fad1aed37ae77 + pristine_git_object: 059c6df99e657c3e262152f993f9153ec88a7ea1 + src/polar_sdk/models/benefitsortproperty.py: + id: f2a6495e283c + last_write_checksum: sha1:2c4cf2e880bd54782886da90ba0b63477f779cad + pristine_git_object: 32c4e3679cdbe5947802a718a99f9c5744216989 + src/polar_sdk/models/benefitsubscriberorganization.py: + id: b629b7cdfe7b + last_write_checksum: sha1:c737d6aac7659f326ddc714b014927460a30f053 + pristine_git_object: 4a37faf6713370b401daeefa708b17312f36afdb + src/polar_sdk/models/benefittype.py: + id: fb7f15bf5e3e + last_write_checksum: sha1:83b6f2769eaa9ab478fd9bb96dbfa77f8d8a91b1 + pristine_git_object: 2c536cc39a2e1023c52cff08ecce07c6f20c7a7f + src/polar_sdk/models/benefitupdatedevent.py: + id: 038e3aa25fc1 + last_write_checksum: sha1:f8798dc66bfa29a07ff498d0bf5fcb2343e2f75d + pristine_git_object: 4e3eb9010ca7bb5e50732964f030255c71fa3a09 + src/polar_sdk/models/billingaddressfieldmode.py: + id: 41f651c0547f + last_write_checksum: sha1:9cf3221bdf95c98300c69a39ab39393a69447613 + pristine_git_object: 4c5a5fc2542418b60d1b6b945c3b265aa1e6c040 + src/polar_sdk/models/cardpayment.py: + id: f7602befef92 + last_write_checksum: sha1:16dbbfa31b57afd6cd2d9a6b0994463e2464c3d8 + pristine_git_object: b828016868ff33dc08429be9105b8753741a517a + src/polar_sdk/models/cardpaymentmetadata.py: + id: b1af45a6ddc5 + last_write_checksum: sha1:2fe22cf53af2f2fe9b5d9dbd4097c00838cf90d7 + pristine_git_object: 500cc93179fb125ba1322b95ad4ccf0af7cd5b13 + src/polar_sdk/models/checkout.py: + id: 959b4ef82359 + last_write_checksum: sha1:226f2289208db6a7156334c080d45c93b21829b6 + pristine_git_object: a5feabebcd5dad423b8c148372073c95c317d910 + src/polar_sdk/models/checkout_links_deleteop.py: + id: a97fd06629a0 + last_write_checksum: sha1:0b6cad5372c170fb1431f4b1a2ed193dba02e9dc + pristine_git_object: e78298a6b5fd40ad5caf035da4c0d8edc69a1f84 + src/polar_sdk/models/checkout_links_getop.py: + id: 1296bff02b98 + last_write_checksum: sha1:acd26cfa11642014c3b97a79e50a141920b0ad91 + pristine_git_object: 66cefb2870ed15412259202e61c7a36694a54512 + src/polar_sdk/models/checkout_links_listop.py: + id: a3744b802fcd + last_write_checksum: sha1:c301e27ca5c0ad51803f4ac04758b8664842dfb6 + pristine_git_object: 4a098dfc467a052f97c997a4f031d5f759e8fa45 + src/polar_sdk/models/checkout_links_updateop.py: + id: fc5164e9777e + last_write_checksum: sha1:d07cb14714f35c00462f63898051fca513c32edf + pristine_git_object: bf41528419f7c63f0c5b289908868a1c9550d79b + src/polar_sdk/models/checkoutbillingaddressfields.py: + id: 1d240a0917f2 + last_write_checksum: sha1:0665454839da8b6c80600bfc3b8bc82782ddc40b + pristine_git_object: 23007ab81299415e6c3af92bd09408adb7497f03 + src/polar_sdk/models/checkoutconfirmstripe.py: + id: 37cc232d34c2 + last_write_checksum: sha1:b35de86a06f5de5831ca806a68703952259a50d0 + pristine_git_object: 4bd874a98b0b661951bf1a6aa3489485547f07fd + src/polar_sdk/models/checkoutcreate.py: + id: 490e458da54b + last_write_checksum: sha1:f0f406a05ec6c8f861957d4a39c2473951d49a51 + pristine_git_object: 8e1fccd99cf89947dbe0d1902c5d8ea1d6fc2cf5 + src/polar_sdk/models/checkoutdiscountfixedonceforeverduration.py: + id: a265279b6687 + last_write_checksum: sha1:c0e0b3972482696ba36978525b6178de56185ff0 + pristine_git_object: 9c49ff02b88d9d368da5b2923f19ea34e0b11fe1 + src/polar_sdk/models/checkoutdiscountfixedrepeatduration.py: + id: 94fea009c1ab + last_write_checksum: sha1:ccc9593e467d06fa29e9fb1a6b4148e915015fd0 + pristine_git_object: c93c1df9016d4aca5c386b02821954bd10608871 + src/polar_sdk/models/checkoutdiscountpercentageonceforeverduration.py: + id: 429698dc2248 + last_write_checksum: sha1:c3b7cd48ca866c3ac2f2240a78ae196d8642dced + pristine_git_object: c59e970b917e6470271903583d7654ed8abd174f + src/polar_sdk/models/checkoutdiscountpercentagerepeatduration.py: + id: 7c579e45cb10 + last_write_checksum: sha1:f65286fbcaf3d8596bf8b00fc3048b876a84b7d5 + pristine_git_object: 2b403f0c00866afcb357a562d816b287da439d79 + src/polar_sdk/models/checkoutforbiddenerror.py: + id: e8978239eacf + last_write_checksum: sha1:9d61d6bf02197347284ab0636552913b8d4e6e0e + pristine_git_object: 8c2ffc1abe2ff4b4a50cb8cc87f982b0518a15de + src/polar_sdk/models/checkoutlink.py: + id: 3a8442ee79a8 + last_write_checksum: sha1:0897ea33c0faf2f542c0df5d9be1e27d4091558d + pristine_git_object: 78723ae32350862ac9972c73b7a04c8fbf79dc35 + src/polar_sdk/models/checkoutlinkcreate.py: + id: 55152edc40a3 + last_write_checksum: sha1:36274c3f8a5bff7b481f62ea54616e88e5277043 + pristine_git_object: 46ae252febeda493735b3f3ff4245b0c1afb95df + src/polar_sdk/models/checkoutlinkcreateproduct.py: + id: f997e9588a01 + last_write_checksum: sha1:5e2085394451f0991d3a5527713794be19f5323d + pristine_git_object: ec897224ee890c0d2eb652a3287b3c8c2c1be343 + src/polar_sdk/models/checkoutlinkcreateproductprice.py: + id: 4e4c9d5d26c5 + last_write_checksum: sha1:e5d145bd60bd14462d85756e44f813ead7f4b38e + pristine_git_object: 05318e1ced7674ea2aaf85ad0b89c90edc801169 + src/polar_sdk/models/checkoutlinkcreateproducts.py: + id: c0d8ec9e75db + last_write_checksum: sha1:39f7f14fdc5b9a5c7e12302a1520586551df7dcc + pristine_git_object: 9e6320a4a27881f8d5baacffd666e91e319f6140 + src/polar_sdk/models/checkoutlinkproduct.py: + id: 1655eddedac0 + last_write_checksum: sha1:29b3758e05de96f7a173a6982ca2b628695c2cac + pristine_git_object: d770d88d74e6443ff2687f72ad4184f71a2f7c4f + src/polar_sdk/models/checkoutlinksortproperty.py: + id: ecb004d94bee + last_write_checksum: sha1:03a44cbe66933bcbe64d8f6c3435c30a50e2a428 + pristine_git_object: 15ece7f41602a7b2189db066535f05f8b5598971 + src/polar_sdk/models/checkoutlinkupdate.py: + id: f40a83397dfa + last_write_checksum: sha1:b1fba74f548dbeb5d17b038dd7f7d80537312eb2 + pristine_git_object: 35851b72af2cb9932b04fe442f66e6053d9467e1 + src/polar_sdk/models/checkoutorganization.py: + id: 91eea20db1cc + last_write_checksum: sha1:13f76bb41d4f81b7c8e724f7b7992edb44000c26 + pristine_git_object: 74820e7a3bbc14782b2c222bd715a2bcae581c61 + src/polar_sdk/models/checkoutproduct.py: + id: 45c57208816f + last_write_checksum: sha1:bc0d1df5a29b258619c3a81292c1e1b73155e9e3 + pristine_git_object: c61ec462e72bf93ebfd6916dbb5ec67b847cf5af + src/polar_sdk/models/checkoutpublic.py: + id: c330472b1324 + last_write_checksum: sha1:ad5501dc15c527d5587b72058b28d5580a1532da + pristine_git_object: 76a70f40e7518553d091b1f0d26c1c236172e143 + src/polar_sdk/models/checkoutpublicconfirmed.py: + id: 1ff29e8ecc4b + last_write_checksum: sha1:c3f9a15e91f36ff6d68ee4885ec347a60ffdaded + pristine_git_object: 7282381ac55873a83b980773859353830db41e55 + src/polar_sdk/models/checkouts_client_confirmop.py: + id: 7987eee1bfc7 + last_write_checksum: sha1:43b8f70ae5ac54bbbfa26694c917b8b0359cefe5 + pristine_git_object: 47b161bc945b8719b5ba2715a1f6175f83b8ac15 + src/polar_sdk/models/checkouts_client_getop.py: + id: aec82f44dd2d + last_write_checksum: sha1:71d90c6e5b309ef61cac14945824a59f74e54821 + pristine_git_object: c4931160fe9d6aeb412c7616c6b10972aeb359b6 + src/polar_sdk/models/checkouts_client_updateop.py: + id: ff36647459f3 + last_write_checksum: sha1:23a7bcfe50703b4acade6d09aa61393a6726737c + pristine_git_object: 5d6576f4a4df54e5f3156e49dc705dda89542ccb + src/polar_sdk/models/checkouts_getop.py: + id: 945f21caea64 + last_write_checksum: sha1:46f875db65620fbb71a384a36c7d7e0f2ecb7161 + pristine_git_object: 547642fea28924662fce7dc99a9139f7e384d2e2 + src/polar_sdk/models/checkouts_listop.py: + id: 0926035291a4 + last_write_checksum: sha1:6d3e97cf05b545191768e2795e9099884afa4a5e + pristine_git_object: 6259e10d25c0486721e1eff4764bf54bb8e23ad9 + src/polar_sdk/models/checkouts_updateop.py: + id: 458edcd0880c + last_write_checksum: sha1:263f5deba03ff3ec8b8fb59ca3540f8c005753ae + pristine_git_object: a5ea622ace2ec155417856fedc235c5081921cf7 + src/polar_sdk/models/checkoutsortproperty.py: + id: 975803ce376f + last_write_checksum: sha1:47ea5de22594a1bb76a3c83b966e02e261e14510 + pristine_git_object: ac5220adb6b0b4eec375b258adccc081d4a5c399 + src/polar_sdk/models/checkoutstatus.py: + id: 3033d9676329 + last_write_checksum: sha1:0119a771c45046a0898c06dc311cd6deadb88555 + pristine_git_object: aa2b3a8bbc8942a544d9185a1ad9f23a663b165d + src/polar_sdk/models/checkoutupdate.py: + id: ae097a644ec7 + last_write_checksum: sha1:d86d04b28a2c8f591e9b9662935ce25269cf4ab0 + pristine_git_object: fe24491def2387fd02a0ad03deb0021121f15a11 + src/polar_sdk/models/checkoutupdatepublic.py: + id: bede005a5a45 + last_write_checksum: sha1:aa912002a97b4945650be1a76f05033e4bf11538 + pristine_git_object: d41d005cfddfb184f77fa247624c24ca186c6aea + src/polar_sdk/models/costmetadata_input.py: + id: 05f450cfbc9a + last_write_checksum: sha1:2ff17a766f114cbb04977f132e58d340dc302d66 + pristine_git_object: 629512adbb44aca60f5cd818026a8a6e53e6d151 + src/polar_sdk/models/costmetadata_output.py: + id: 28da57d1585f + last_write_checksum: sha1:086e506a038c9438acce7a3f8466638cc7b3b076 + pristine_git_object: 8a934f3a09be2c7a219b61358f27948c3f53f0a8 + src/polar_sdk/models/countaggregation.py: + id: de720312a619 + last_write_checksum: sha1:4f04e4f919288ee43b8ec683c81e3ee7b60323eb + pristine_git_object: b7e7b78304be982ff10117df4aa8cfbf329bf90b + src/polar_sdk/models/custom_fields_deleteop.py: + id: a80f05ed7b45 + last_write_checksum: sha1:011fa999effa84eb2f777bda22b2ecd005973510 + pristine_git_object: 3619b324e9e9caa588cbd3a396e2d5520b9ef180 + src/polar_sdk/models/custom_fields_getop.py: + id: d05829474d76 + last_write_checksum: sha1:ffdc86c4b9307b470b8299b63b4fb595806783ec + pristine_git_object: bce02f1bff7951dbc37e307e55360795145c7bc5 + src/polar_sdk/models/custom_fields_listop.py: + id: a66bba2345ef + last_write_checksum: sha1:cdf210dcf3fc4d385ed075d3ea971e17d92c1b3f + pristine_git_object: 0e00c007c3f4985c79fa07b8e069969727cc3409 + src/polar_sdk/models/custom_fields_updateop.py: + id: d4630e8222fd + last_write_checksum: sha1:08d7f34bec7994241c6635ae5b865809085a8f1d + pristine_git_object: 13cae68a06504f2348ad623ff9516230695063ac + src/polar_sdk/models/customer.py: + id: ff5a8a371921 + last_write_checksum: sha1:4d4ff25c7f8c505030cd1c01d7509d908c3ffa3c + pristine_git_object: 3ab1e1c31bbec825edbfa8b1c2db94c86fe781ef + src/polar_sdk/models/customer_meters_getop.py: + id: af05f6e09c1d + last_write_checksum: sha1:cf9ea34cba6706991da057ed07cfd3298616e06b + pristine_git_object: 28a9014975987661944034259077d09dd53027aa + src/polar_sdk/models/customer_meters_listop.py: + id: 5d6a1b56c085 + last_write_checksum: sha1:e32b5a81ae66a6cabbb81a0a140bedfeb0ccab75 + pristine_git_object: 3b297b984d09b48efbe8c89cbd726fd47a2c4e11 + src/polar_sdk/models/customer_portal_benefit_grants_getop.py: + id: 7122f7d70d8e + last_write_checksum: sha1:4462fdedfe1cf627cabb85f0a6813d46b69cd3e8 + pristine_git_object: 24142ae01de7afb521668d99eca19c8fce294539 + src/polar_sdk/models/customer_portal_benefit_grants_listop.py: + id: ceedf998e7fc + last_write_checksum: sha1:44b75d4361a329499a64fe316edddf9be752f80b + pristine_git_object: 87dcca60b93be4b7ba23534bec7254d3e9b214b8 + src/polar_sdk/models/customer_portal_benefit_grants_updateop.py: + id: ec99f8d4aa9c + last_write_checksum: sha1:b01a1be3cfef2c990fb9e1369a3e8ef66a285090 + pristine_git_object: b705d765c627bc3df1803b65cadc3902ac2ed2c6 + src/polar_sdk/models/customer_portal_customer_meters_getop.py: + id: 88178bea3ff9 + last_write_checksum: sha1:ef64759ee673ff1c5d559a241585bece7c5b2c72 + pristine_git_object: 0effb58ca7fb360d378e2780a89308c8f8e2ea4b + src/polar_sdk/models/customer_portal_customer_meters_listop.py: + id: 45c53b078d17 + last_write_checksum: sha1:e7024fb86356f6085cb1158ba4984637fc6add9a + pristine_git_object: 40eb99db359d49ea661af791851a0e457f4d5546 + src/polar_sdk/models/customer_portal_customer_session_introspectop.py: + id: 103dbcee14c1 + last_write_checksum: sha1:e30703beb9931a121c2d10d3e3d646ac7de5e7b9 + pristine_git_object: 7a0eafef1479616bc2a335342a3ce3da451c9285 + src/polar_sdk/models/customer_portal_customers_add_payment_methodop.py: + id: 0f5105d8eaed + last_write_checksum: sha1:8f2ce5cb57612b0a8384e26fd06c299aa3c8b6c3 + pristine_git_object: 89ff81db71e2a02a4698b8004d79edc5035c018d + src/polar_sdk/models/customer_portal_customers_confirm_payment_methodop.py: + id: ba89d6615786 + last_write_checksum: sha1:bca49afcf35a7e88d7d7658e85e3807126502694 + pristine_git_object: e31e989d5b1a675d2128c03a059a10da48c9e172 + src/polar_sdk/models/customer_portal_customers_delete_payment_methodop.py: + id: 81bdb5dc5981 + last_write_checksum: sha1:5f781d3fdfbc68f5b763200fc5d4b87abb123e26 + pristine_git_object: 78628850c0be75e0fc4476af584b9d4e5c505bd5 + src/polar_sdk/models/customer_portal_customers_getop.py: + id: 776dfecb3678 + last_write_checksum: sha1:9cca8fb128f7e5372a5a54dfdf928945ae835aa6 + pristine_git_object: 530e457791bf1fe5fbbc5706c063eaaab4fd4f65 + src/polar_sdk/models/customer_portal_customers_list_payment_methodsop.py: + id: 50de54ce9342 + last_write_checksum: sha1:0e437393b6c2575808c25139d30c89ca445ee7d0 + pristine_git_object: 7b37bcf6f548e19b22e1cfc2b76f660807d90ff4 + src/polar_sdk/models/customer_portal_customers_updateop.py: + id: 5eb2ac6070e0 + last_write_checksum: sha1:b6417ce8fb15e5212059f09b557396aacfa89914 + pristine_git_object: e5e4f367559cb2471b2c9ffef413ef92a71bfcf9 + src/polar_sdk/models/customer_portal_downloadables_listop.py: + id: 6d3e974421ce + last_write_checksum: sha1:2529a80c11b6068e7263305ee25e2c228c10b046 + pristine_git_object: d0dec9d2eb6ec637d458bd3fac894a472325eda8 + src/polar_sdk/models/customer_portal_license_keys_getop.py: + id: 7274b7f270ef + last_write_checksum: sha1:2160d9465da5f701bb40f46ea33e42ae141ab4a9 + pristine_git_object: 666f3bc05b3a3c2dcce9d499dad30f6cfdf09a40 + src/polar_sdk/models/customer_portal_license_keys_listop.py: + id: 9372ce0b602c + last_write_checksum: sha1:c069fab1e061e015a37e5a71ce9aef5c5b7ecf74 + pristine_git_object: 2331820e976f6347724fb503cd104c73b3d8e6ad + src/polar_sdk/models/customer_portal_orders_confirm_retry_paymentop.py: + id: a39384b77c80 + last_write_checksum: sha1:d964fa180be5ba217de5be4be8aca0c39a9bc837 + pristine_git_object: 88ae9d6bf06514708cee45f6416a4997f867992b + src/polar_sdk/models/customer_portal_orders_generate_invoiceop.py: + id: 6ed648eafc3a + last_write_checksum: sha1:9107f16a886bf015ef7c12b8ab39feac7cd20b35 + pristine_git_object: 1d240643cb38d48d186561a69f3f8f63b7caec79 + src/polar_sdk/models/customer_portal_orders_get_payment_statusop.py: + id: eaac2b8e46ec + last_write_checksum: sha1:095f3d2fd32afe357436dfd524ab22979f2850fa + pristine_git_object: ed959cdcb3d1d89f2013281b8e93c082c97ffbc3 + src/polar_sdk/models/customer_portal_orders_getop.py: + id: e6d061c17410 + last_write_checksum: sha1:71d2f06fbacfa04b7f3b07f30706e304bd859d3a + pristine_git_object: d1512d06351784ea246e98385cf74bbb85a9e04c + src/polar_sdk/models/customer_portal_orders_invoiceop.py: + id: 31395a73df44 + last_write_checksum: sha1:9df699cc03429409d909f0f0fc2206b0a9b461a9 + pristine_git_object: ca35c78d8eb10637f4624c4c1aaecbb4d6b75231 + src/polar_sdk/models/customer_portal_orders_listop.py: + id: 2e5963c0d94c + last_write_checksum: sha1:c1c9f591832859ec1541b8e401217ccba73b6c08 + pristine_git_object: 902cfe979b96dc0f6dfaf73132321b00fe8fc7a9 + src/polar_sdk/models/customer_portal_orders_updateop.py: + id: bfdc0f775817 + last_write_checksum: sha1:5a993dac4361bc6a672fc17838d60cd82bdc1332 + pristine_git_object: e18d93ec5374bb30bf76e58e76845991af5c414e + src/polar_sdk/models/customer_portal_organizations_getop.py: + id: 9b15a4e79a40 + last_write_checksum: sha1:70e501f10f318ddda14b26823c167888fd52742c + pristine_git_object: 7e73f7f907fa5c5ee5ed50a96718408d89bf713e + src/polar_sdk/models/customer_portal_seats_assign_seatop.py: + id: ceb0cd5a77d8 + last_write_checksum: sha1:d66d8e5be0d3b9f09c084d454b6fb24676483306 + pristine_git_object: c18a7072ca2edd8f682df1a57450f2f973cc4067 + src/polar_sdk/models/customer_portal_seats_list_claimed_subscriptionsop.py: + id: bb6f972c2e02 + last_write_checksum: sha1:8b1c625a4c8336d204675005dbbdc83bff1aefcf + pristine_git_object: 81a34c1c693cbc69967bde51076e32165a203db5 + src/polar_sdk/models/customer_portal_seats_list_seatsop.py: + id: 60ec42e0efd9 + last_write_checksum: sha1:c57d2a816f42bfc7d1e5a3c902d5bc83dc05da1c + pristine_git_object: f8e3198a6ad9195143c590a0f5326b7c39d5eceb + src/polar_sdk/models/customer_portal_seats_resend_invitationop.py: + id: 55f6adfca8e3 + last_write_checksum: sha1:f780ff61aae83b7c8fbe0897e2e004bf7ddf3957 + pristine_git_object: 13d6697f02b3ba9532ba52d3785b92c381c051c0 + src/polar_sdk/models/customer_portal_seats_revoke_seatop.py: + id: c9237bae672c + last_write_checksum: sha1:c1efb790579dcfc1e920b698a7eec88066fc4764 + pristine_git_object: 862697da3534e02e9be7e57e6f147b00353e5564 + src/polar_sdk/models/customer_portal_subscriptions_cancelop.py: + id: b462bdca04c3 + last_write_checksum: sha1:8c6b0692d7267b03844b6f0d382d9091abdfd7cb + pristine_git_object: c653becd1894c46d642f673033c6b454360bc92e + src/polar_sdk/models/customer_portal_subscriptions_getop.py: + id: 53e67f3fabe0 + last_write_checksum: sha1:f0bc345bcc6d80ef793495a715cc82f74b9fe5c8 + pristine_git_object: c441812e6c12fadd8301e562fa0c06c527ac367b + src/polar_sdk/models/customer_portal_subscriptions_listop.py: + id: 7bc35f617bf2 + last_write_checksum: sha1:dcbaf5df94d5ebb1848ec30065a3c98beb0b631a + pristine_git_object: 9905461f3cc8cc0c12dd71d74fabab0b5bc8ed3f + src/polar_sdk/models/customer_portal_subscriptions_updateop.py: + id: e68d3aa666a5 + last_write_checksum: sha1:a5f9ec78df12570b7cc2dcf9b54e0c6f54e80263 + pristine_git_object: 941750711b8b188c73ecf86b607ddbc3b82b6329 + src/polar_sdk/models/customer_portal_wallets_getop.py: + id: 37925c41e611 + last_write_checksum: sha1:39262cdbd7c1e32bf06bb782907bb028bf5469f4 + pristine_git_object: 039c130d6f8903de146f63d4cc5f589226f3b720 + src/polar_sdk/models/customer_portal_wallets_listop.py: + id: bc9360fe0b72 + last_write_checksum: sha1:614dda7b133ded172491a5d8ed92b1c8bf97b757 + pristine_git_object: 32fb13d16c975f2ce206f98db4072c3e55004317 + src/polar_sdk/models/customer_seats_get_claim_infoop.py: + id: 0e0c4f80ed99 + last_write_checksum: sha1:b438504d7cb05295a3ae5eeeb90b4e336c967a26 + pristine_git_object: ec896fc94b1609a5b8a912fec30de3a0811de692 + src/polar_sdk/models/customer_seats_list_seatsop.py: + id: 03c59c295985 + last_write_checksum: sha1:f7de26cd0cde368d30e51d701980179d22a4fa63 + pristine_git_object: 8cb15735682b75f7abe3f69c1996ae6f47339274 + src/polar_sdk/models/customer_seats_resend_invitationop.py: + id: d1dc03b0b78a + last_write_checksum: sha1:f97f54102345cb771bcc3b3ae78d19539012a607 + pristine_git_object: 269ea474171c97ab5d7855fea99d359b70954d9b + src/polar_sdk/models/customer_seats_revoke_seatop.py: + id: ad5a1e2544d5 + last_write_checksum: sha1:e78194e5476d1e2cc5eb3ccd8d2db79ccb4a7f31 + pristine_git_object: f308194d7da8f93466b70452a152183075a4f8cd + src/polar_sdk/models/customer_sessions_createop.py: + id: c558db61995c + last_write_checksum: sha1:cf4aad7e19663d307cf2255fb49e694cf75fe39a + pristine_git_object: 5f76b311d657281b30985f6715dbeef1a43f8558 + src/polar_sdk/models/customerbenefitgrant.py: + id: 23c378689569 + last_write_checksum: sha1:5deb0468120ed8fccc29a2a597062956e51dcc95 + pristine_git_object: 1be0c1832137db3aa79d147922a8b21a48e42e07 + src/polar_sdk/models/customerbenefitgrantcustom.py: + id: 5341cd2efa89 + last_write_checksum: sha1:77c692c51c9436c2bf773c82360447894e141ce5 + pristine_git_object: b3b2773ec99be0adee9d0e66eaf328331d8bc86a + src/polar_sdk/models/customerbenefitgrantcustomupdate.py: + id: 8f1927969244 + last_write_checksum: sha1:3c747cc9f98b5088e84474c61cd9fe8990540ad0 + pristine_git_object: 6e19f1b21acbdb74e04358e8e6d80f20df3f6187 + src/polar_sdk/models/customerbenefitgrantdiscord.py: + id: 223ff512e7ca + last_write_checksum: sha1:a204bfcac0559ce2067f5e9abfc7b4bd1a0a7477 + pristine_git_object: a8cdeca5d30cb5361680aa0d83212109dc56634c + src/polar_sdk/models/customerbenefitgrantdiscordpropertiesupdate.py: + id: 5783bbdbfdc0 + last_write_checksum: sha1:5ca6b0e3f6ad053270ef9f30eec740259bcbb4ab + pristine_git_object: 66f977435bb282b029c363b898c68ea0ef165a65 + src/polar_sdk/models/customerbenefitgrantdiscordupdate.py: + id: 66af0c1b9760 + last_write_checksum: sha1:7eea10d81bd0f6a7afc3b6a996650a0e61fc8dfc + pristine_git_object: 96faf4f8268299f435f560e3295721c418bc9c76 + src/polar_sdk/models/customerbenefitgrantdownloadables.py: + id: 434ee199fba7 + last_write_checksum: sha1:92680a9a8ea59d115bf344e7c6adea2e99c79395 + pristine_git_object: af3a3624c58aaf7efe93286a6c929e3b395e7f45 + src/polar_sdk/models/customerbenefitgrantdownloadablesupdate.py: + id: d51832974c0b + last_write_checksum: sha1:1098f755d9a46de1964b41b5e99713fa3507cada + pristine_git_object: 8a8b49afeabb3c93a29858866d4d9141e3b0c9c2 + src/polar_sdk/models/customerbenefitgrantgithubrepository.py: + id: 943d907a00de + last_write_checksum: sha1:e8e7a2be4fbb170d4e2f3f04a427767b7d6fde06 + pristine_git_object: 67e03ff2a1582cf69edc8db72925194bc7824b5d + src/polar_sdk/models/customerbenefitgrantgithubrepositorypropertiesupdate.py: + id: 092c7c638555 + last_write_checksum: sha1:f670755c388770cddfaf190f95c26158b85b3edd + pristine_git_object: f710168da8e9be63ca224361c247754576f59133 + src/polar_sdk/models/customerbenefitgrantgithubrepositoryupdate.py: + id: 8d5622ad74ee + last_write_checksum: sha1:41de893d640284ccf7ced58bb0d9d10eacb04e11 + pristine_git_object: 702c98473bc3682c401f4734d9e5633cb47017eb + src/polar_sdk/models/customerbenefitgrantlicensekeys.py: + id: c312c58596d8 + last_write_checksum: sha1:153af46cbb7fb66694810c56af9bc750c173c635 + pristine_git_object: cd6f11663ce3205f4a939a98c1ca0ae78246ed5a + src/polar_sdk/models/customerbenefitgrantlicensekeysupdate.py: + id: cab4951286d8 + last_write_checksum: sha1:40ad13151f170ee13644704c7f34876997a89af4 + pristine_git_object: 80be214394cbe5f7986afe9d2d62b6463830f3ea + src/polar_sdk/models/customerbenefitgrantmetercredit.py: + id: 946a476a0720 + last_write_checksum: sha1:55d72357c3cae4c73f6034782b2c324da178d1e7 + pristine_git_object: 9bfd28460b8475d809213e58b9e258b6d3247611 + src/polar_sdk/models/customerbenefitgrantmetercreditupdate.py: + id: c403225ee4e9 + last_write_checksum: sha1:a0fd2427598f661344ff6ac470b80d8360b51542 + pristine_git_object: ca022077b0b9c71d0732845eeb160f6094609398 + src/polar_sdk/models/customerbenefitgrantsortproperty.py: + id: 696ee3087927 + last_write_checksum: sha1:75daa1306a18e9e008b01b8c783d18c4cb8fc74b + pristine_git_object: 43354a13b1c895d05df194bd7bf24039b618b1ee + src/polar_sdk/models/customerbenefitgrantupdate.py: + id: 6cbf6394181b + last_write_checksum: sha1:e0035014bc39f205c66a7a6368e35a38aeb93a51 + pristine_git_object: c7c3144e119abd079d392a2b164f29fb6aee32dd + src/polar_sdk/models/customercancellationreason.py: + id: 73f54443b8d9 + last_write_checksum: sha1:78228d1bffecbbdc5f3be42766ef805d6091743f + pristine_git_object: 55361d108ebc14c36cfe4a4eeae023b432f5f334 + src/polar_sdk/models/customercreate.py: + id: d688a8ebe2fe + last_write_checksum: sha1:e24835773169cd51968f54e712cda87c0ad80640 + pristine_git_object: 039a1cc2bf06309581dcc42f893d2aa808ac0531 + src/polar_sdk/models/customercreatedevent.py: + id: 10de131d518c + last_write_checksum: sha1:573826cb53c178f50fbf0d355e48cf474c27313a + pristine_git_object: 64b9b77b9edc5e50a20958fb08020f56763fbe46 + src/polar_sdk/models/customercreatedmetadata.py: + id: 65be00f59354 + last_write_checksum: sha1:08f1231b3bfe7b24ea36900664628f5909ba4f97 + pristine_git_object: 8ba9b43258289fdb1abf758dce4ed7d3654ee7da + src/polar_sdk/models/customercustomermeter.py: + id: 32b1e7ba7e53 + last_write_checksum: sha1:0a58e6a0d751950abc9cf621b0b8f3581e47c441 + pristine_git_object: 0c0ecce396eac48102a8da3aecd570f2970f1b6d + src/polar_sdk/models/customercustomermetermeter.py: + id: a7a7038bf267 + last_write_checksum: sha1:638e56fd408c6c90f1e85d3e85740f7766008aca + pristine_git_object: cfeaa1ad538a5c95e34f68d82c111db6bb61bf84 + src/polar_sdk/models/customercustomermetersortproperty.py: + id: 13fda8a61468 + last_write_checksum: sha1:a7c6301dd6bd88e1041decade36973f6402cd4cd + pristine_git_object: 0ef553b9398bb9010fab5d3a29b49ffafc51e8be + src/polar_sdk/models/customercustomersession.py: + id: 3055d59d6890 + last_write_checksum: sha1:6ec9ed43ca9791d6c47c020bfab4b337f5b46cf5 + pristine_git_object: 367e0c7e308644316551ce376ad1f8653ea08405 + src/polar_sdk/models/customerdeletedevent.py: + id: 6329e746483b + last_write_checksum: sha1:67956f192a009d1e873d419df8db9fd3162673a7 + pristine_git_object: 716427bbd4d043b5af94e7ef389ece9d283a313d + src/polar_sdk/models/customerdeletedmetadata.py: + id: 3c54d102e017 + last_write_checksum: sha1:7d4dd6b20ec81bc6dc87e0160d2acffe280f2b75 + pristine_git_object: f3cd7dd46bf75d02d45a94812e34fc96276a430b + src/polar_sdk/models/customermeter.py: + id: ee8c3a5b6fa2 + last_write_checksum: sha1:5423eece5012011b90b27027ffeb3370ef5dead8 + pristine_git_object: 6ce0fc74ab268dfaa5b598783f2c9b7e48fabf71 + src/polar_sdk/models/customermetersortproperty.py: + id: 57a129d252dd + last_write_checksum: sha1:e3a380e12ed8a9f3e2aeffb4dde17f0bec5dfdaf + pristine_git_object: ad59e368c965122f881d5f15ddd7d87db263ef16 + src/polar_sdk/models/customernotready.py: + id: 2485e5ab3a9a + last_write_checksum: sha1:2b3630005831363e8ee316ef9d165adfe50c67fb + pristine_git_object: 2da9613079ea25a20b8d7bdf6de5cbc6e6539fcf + src/polar_sdk/models/customerorder.py: + id: 0bb750fca59f + last_write_checksum: sha1:6f75146a33132a20f6eaa1946af8847b69931481 + pristine_git_object: a1691a0b5e15803217ecf224bbb0494b508f1a2f + src/polar_sdk/models/customerorderconfirmpayment.py: + id: b7599cdea4c2 + last_write_checksum: sha1:b7083d247603502102836834a9d6e7cc769924f0 + pristine_git_object: b7858eba7831471fd6c7b0261eae42095fc991db + src/polar_sdk/models/customerorderinvoice.py: + id: 286af78405db + last_write_checksum: sha1:3ba46fd798c3cad69f90fa3158461b72650bd411 + pristine_git_object: ad33cb97d32776aadad8dea56d8b54eb8d23be00 + src/polar_sdk/models/customerorderpaymentconfirmation.py: + id: 1f53ede0eadf + last_write_checksum: sha1:d5248e28b73a1deffba89ba66cc4bce03c92a70f + pristine_git_object: 1777d436310f2fecbf4ea7380651ee18580c53f3 + src/polar_sdk/models/customerorderpaymentstatus.py: + id: db302619f02c + last_write_checksum: sha1:6655cfd1a21a39c99516c6a2768f94b2c1a602a6 + pristine_git_object: 44eb453ba8a0fc462bd2eb6886a9052e687972be + src/polar_sdk/models/customerorderproduct.py: + id: ba94f6b02aa1 + last_write_checksum: sha1:ebc5bc9c0857bb1f34079be59577d82738979ae9 + pristine_git_object: c58ff045c0ea351b3099d2d921859de738494f83 + src/polar_sdk/models/customerordersortproperty.py: + id: 8ac4c4e9d318 + last_write_checksum: sha1:729c15710575f450523ec6cca5f57d3d7044c527 + pristine_git_object: 8122a29f45f70b18060347938cc392382ef63613 + src/polar_sdk/models/customerordersubscription.py: + id: 6124a07f57dc + last_write_checksum: sha1:c1138dbb410ea1fba925365b0c14ff21583bb4c5 + pristine_git_object: 339fb7103f362bca01a66bcc652e1a02307be92f + src/polar_sdk/models/customerorderupdate.py: + id: d23b93e5cfb8 + last_write_checksum: sha1:1c993dbe51039c29c06b3c1efc49db3f015ee40b + pristine_git_object: 74bcde76fd43ddd851bdc93747d034061da1167c + src/polar_sdk/models/customerorganization.py: + id: 22a2b9cbd7dc + last_write_checksum: sha1:a39f53141dc4692891a2d710a8ab2c5e9c9095df + pristine_git_object: e0ae9a059608d8ee01f261466739ec433f9a9cc7 + src/polar_sdk/models/customerorganizationdata.py: + id: 10f58063815b + last_write_checksum: sha1:d619c94676f349354bf96ced7d9a48f40d8ef937 + pristine_git_object: e03b4ac89259fe58de20643684c8528a54125a89 + src/polar_sdk/models/customerpaymentmethod.py: + id: 0510e48e1858 + last_write_checksum: sha1:42325a8c394d54fd6e789da4a9046b60c0a619d5 + pristine_git_object: 959f02d1e571b22646e4ad6d4244090e2badc804 + src/polar_sdk/models/customerpaymentmethodconfirm.py: + id: 2449d82441e5 + last_write_checksum: sha1:cf9d6a932d26d05680e1f527887235528e4ec80a + pristine_git_object: 0821ad23119976be1de788dd5ae562a4a738d08e + src/polar_sdk/models/customerpaymentmethodcreate.py: + id: 88baa0919f8c + last_write_checksum: sha1:2ea6ceb2e5ec97151ade0410e6684f26c397eb83 + pristine_git_object: 68f6db6a051ca8f12444b393e7159132039336cf + src/polar_sdk/models/customerpaymentmethodcreaterequiresactionresponse.py: + id: 2849789a73fb + last_write_checksum: sha1:4e9128f8dc151a0d667da9580bd279f61224e06f + pristine_git_object: 1011ec06835b6a3746edf90690a73c59a678c832 + src/polar_sdk/models/customerpaymentmethodcreateresponse.py: + id: f34978f088f5 + last_write_checksum: sha1:16b1ad1e1fc6086a7d79debb7769d5708dc2201f + pristine_git_object: 12447ee3321c8f9a3f204ce819c08092c88ec6c2 + src/polar_sdk/models/customerpaymentmethodcreatesucceededresponse.py: + id: a3f892dfa90b + last_write_checksum: sha1:2c4594c37a60c54ebee98ea2a8926c60d338534f + pristine_git_object: 7f90aa183bb852fd08b44900b326875efc569bcb + src/polar_sdk/models/customerportalcustomer.py: + id: 4d5d31672cd8 + last_write_checksum: sha1:e2f226fbe5a3259eebf2ba4bc7bb1a97cde4c10d + pristine_git_object: 79e05a606161da2046c2f9d6e21aa0c8d76b6a6a + src/polar_sdk/models/customerportalcustomerupdate.py: + id: 0cb5e595779f + last_write_checksum: sha1:7fd807c60a44531a9b4bc8584e32af577ad7ee24 + pristine_git_object: 7c72fdbb25118cbd3fa4fe2efa313d36725d178a + src/polar_sdk/models/customerportaloauthaccount.py: + id: a744d8d9c889 + last_write_checksum: sha1:329a800d1c27c0b623fa2c6f7afcda2b1638dd2c + pristine_git_object: a8dda76cbe6841edb34efe0228b6a61d80894c07 + src/polar_sdk/models/customerproduct.py: + id: 902971f1b042 + last_write_checksum: sha1:782552ecfcca7bff806ca44106c5cd07310cc6ca + pristine_git_object: 8902168bc39c3e2aa48386ed4e8eda3b0efbe965 + src/polar_sdk/models/customers_createop.py: + id: e4d2412c0076 + last_write_checksum: sha1:27f11dc18c0cb270bc2cdadbc79aa54c4dad0768 + pristine_git_object: dbb833e6c39876c28f3508f601e73b5e45c41705 + src/polar_sdk/models/customers_delete_externalop.py: + id: f06cd7194f07 + last_write_checksum: sha1:04f739fbf945e2ec3798e39ca83614debea55a17 + pristine_git_object: 8e67febcf760eb95d1a703afdd68600188361102 + src/polar_sdk/models/customers_deleteop.py: + id: ced79e8f9df8 + last_write_checksum: sha1:cd5c0d153083ff7978c18ad6d3e4a86e1000db4e + pristine_git_object: 1280067b4fb596f4583a58d5da651d1dcd6c91b1 + src/polar_sdk/models/customers_exportop.py: + id: 210394e540e6 + last_write_checksum: sha1:e670ae3146bdc5739f8f9d6f7e642e384d02d21f + pristine_git_object: 44f894b3d6273bd83e48ec69f1949b5e3909fc7d + src/polar_sdk/models/customers_get_externalop.py: + id: cdbbda9c5da8 + last_write_checksum: sha1:00ef2cfb4116ce7ac6e97cba5588598a4370154d + pristine_git_object: 0385281f0056c438f1a85545ec6e8bc065c8f25a + src/polar_sdk/models/customers_get_state_externalop.py: + id: 35111c596587 + last_write_checksum: sha1:473a7bf236441048d5585917c562eaa1e9cea516 + pristine_git_object: d7610237a0c692903bdbbc36c344850b7507558b + src/polar_sdk/models/customers_get_stateop.py: + id: 8997a90bad46 + last_write_checksum: sha1:7a23d4e641a69d7986f75436633b733d696df829 + pristine_git_object: 11c6ccf570a68031179174857c6b98b5309cd98a + src/polar_sdk/models/customers_getop.py: + id: dd8655c1307a + last_write_checksum: sha1:396b96dfda9a242aded6ec90fa35eb2b364bb435 + pristine_git_object: 1c5173efed511df20db5ddee0bc68bc4a3159f87 + src/polar_sdk/models/customers_update_externalop.py: + id: e59471e7a37d + last_write_checksum: sha1:2eaed32ffc742079a59a627e8facfca303d04a98 + pristine_git_object: b80db210444a32495ae11837343ba4306e5b9a00 + src/polar_sdk/models/customers_updateop.py: + id: 33b8e81946bb + last_write_checksum: sha1:44b24bf05c58e2d5aea80237bb03eaa367ee17ad + pristine_git_object: 6632a3feccbef4988d335851b90a31e0a0174f25 + src/polar_sdk/models/customerseat.py: + id: 474961383c43 + last_write_checksum: sha1:8d4b1c42642883c319866f680589790c0f142119 + pristine_git_object: fd4561355480a60f05b0efb92ae047d2df3e3c62 + src/polar_sdk/models/customerseatclaimresponse.py: + id: 3d86e0dee812 + last_write_checksum: sha1:a13f57e778b286d50e5deda5031b62dcfe70ed28 + pristine_git_object: d4e8919392bcb62b4cfab4beb06633d6499e507c + src/polar_sdk/models/customersession.py: + id: bfb551d4dde2 + last_write_checksum: sha1:b8598aa4b028355722b9e17acaaff3bac53a7c36 + pristine_git_object: 8c4b653d4ff387cf4a05067b7806f920d0032160 + src/polar_sdk/models/customersessioncustomerexternalidcreate.py: + id: 71164849ed08 + last_write_checksum: sha1:d2143df7fad2cc695b3e01486c2f3aa7881ad2a1 + pristine_git_object: 06872faa0213dc4135ffe540125f9f5a7749e655 + src/polar_sdk/models/customersessioncustomeridcreate.py: + id: 1fe083947ef8 + last_write_checksum: sha1:e37b66029f3a5e838d0659b40df74039bfc6480d + pristine_git_object: d9c22197583839cbf2def7ff9391a0a3bd93c5df + src/polar_sdk/models/customersortproperty.py: + id: c6494a1da2b6 + last_write_checksum: sha1:91b2ba75dad715b2b559c19888967183cba8c2ae + pristine_git_object: c11b73b9b8baebb506d54d45ba19b02ae9c9ad3a + src/polar_sdk/models/customerstate.py: + id: 2f315d82b76a + last_write_checksum: sha1:78ab056c5903658ab4a3df1f84cfe11eb19ae4cd + pristine_git_object: 483e9a698d51abe451671e56944e4189d4ab28ba + src/polar_sdk/models/customerstatebenefitgrant.py: + id: 7e77444c196a + last_write_checksum: sha1:a43ab0463273108adde5b7f3fa0e75ccf181d45a + pristine_git_object: 66a5f7cfdce55ee01ee4b8ab638edc9f4cd1a80c + src/polar_sdk/models/customerstatemeter.py: + id: afb7d175fc67 + last_write_checksum: sha1:48615c2a51731c11e63388c442405b948b40b675 + pristine_git_object: b4fc4a824cf5773158b5dea499d24a9f8b01a906 + src/polar_sdk/models/customerstatesubscription.py: + id: 2f8d857b4e10 + last_write_checksum: sha1:6e94b59676582c2feb680e83adc0ae82b82181b0 + pristine_git_object: 26fc14cd8722b518135c6c309c5423848d3d6e86 + src/polar_sdk/models/customerstatesubscriptionmeter.py: + id: 3624de7e506f + last_write_checksum: sha1:a74ab6cbd3f22da8a12b97b2059cb20fb526ca5d + pristine_git_object: 27663b40e47089ff2519cda8eeebde1149f03d1e + src/polar_sdk/models/customersubscription.py: + id: fe6d8e17451f + last_write_checksum: sha1:4c3fd3fedc5b5a11a07358b3cf073aef805b95ea + pristine_git_object: 320a951d0cbd03866c47847e9e8fd9f17c1385b9 + src/polar_sdk/models/customersubscriptioncancel.py: + id: 6c3f6b013289 + last_write_checksum: sha1:4a28bb59139b60567b891c048a444a8f636042bf + pristine_git_object: fed6c55ec3f50fd933ec3c4a9e62540662059acb + src/polar_sdk/models/customersubscriptionmeter.py: + id: ff3d92b624d1 + last_write_checksum: sha1:7aff35afca9d8b36e40f570752f855b895bde7d6 + pristine_git_object: 3978ac8b79ab1a26e9a53af7e0a91010bfdcf74a + src/polar_sdk/models/customersubscriptionmetermeter.py: + id: 7b033c10449f + last_write_checksum: sha1:1cbf71e6182f15e6bfe822b47a4d0dc001fa3dfc + pristine_git_object: 182a1a5ece71aadc06f414554ba3931639bbf0d4 + src/polar_sdk/models/customersubscriptionproduct.py: + id: b7a443f0937d + last_write_checksum: sha1:6eb61ddbff37536f6de38c6c15797af51ae44207 + pristine_git_object: 9422577856ca6e73879fbeb5c30d10ed0025a225 + src/polar_sdk/models/customersubscriptionsortproperty.py: + id: 1b770c3baec6 + last_write_checksum: sha1:a4ea6e34c23d78cfd19b17124e21682a9e665a7b + pristine_git_object: acaf8f5033264d561afc6c52775822db1282c9c9 + src/polar_sdk/models/customersubscriptionupdate.py: + id: 120d70e20340 + last_write_checksum: sha1:2241a0334b990c2257dbdeeee1fdaf6a4196494f + pristine_git_object: 5ea08bcfdaa9eb1842d32a00daee687286212884 + src/polar_sdk/models/customersubscriptionupdateproduct.py: + id: 2fea267712da + last_write_checksum: sha1:b711f93042bee59ea1c95e07f36fc426928417de + pristine_git_object: 83265f9b0d5fc3aaf1f8c687b7b7e9bcc6548032 + src/polar_sdk/models/customersubscriptionupdateseats.py: + id: 8fa731fda2ba + last_write_checksum: sha1:c542e14c17bb47d2e4fabc7cf9312094f18c1128 + pristine_git_object: 23a6f4b069b28d1c907b4f5a1216b4cd803df202 + src/polar_sdk/models/customerupdate.py: + id: 30a40cec0c67 + last_write_checksum: sha1:05693407e288b90109e44a20fbc12bdfbd8f4e24 + pristine_git_object: 1dd88a4e604f3f8240f183a43d36387639caaaf3 + src/polar_sdk/models/customerupdatedevent.py: + id: 51bc6ceff670 + last_write_checksum: sha1:85ac9004534ed61055f31d0ff0e4eec99f9cf8d5 + pristine_git_object: cc6e45734fb26d3c2d5d632e8d5236bc147c5bc9 + src/polar_sdk/models/customerupdatedfields.py: + id: 47ea5a4b4d14 + last_write_checksum: sha1:6e708ab3a42f6babf12c3c23a2cef4d946d7f3c0 + pristine_git_object: 7189f618790db2080f8e991cca5b2d712dc2fa29 + src/polar_sdk/models/customerupdatedmetadata.py: + id: 8d61138788fc + last_write_checksum: sha1:ab88432be521275c200fee6540f59755f7471475 + pristine_git_object: feb9c80479e2220432d390e5610323e6a8bf29a5 + src/polar_sdk/models/customerupdateexternalid.py: + id: dfb4512f9390 + last_write_checksum: sha1:b958c2e50d71e6f35837983a830e3f8708f6aead + pristine_git_object: 83387f7c51b1eafdda0311087bd3372f29e83de9 + src/polar_sdk/models/customerwallet.py: + id: 3b8312fc9458 + last_write_checksum: sha1:89f24eafeb845c29a91084ba7e0a30ba7fb59575 + pristine_git_object: 06f2874fc58d729b765011946c378fc6a556f180 + src/polar_sdk/models/customerwalletsortproperty.py: + id: 47ef28822e9a + last_write_checksum: sha1:a6a6baead98c169ad6db897799a7be326aaf5062 + pristine_git_object: a2d7fc6a7b68abe0d1547b78c9ab8ab61ff37716 + src/polar_sdk/models/customerwithmembers.py: + id: 6cab07761709 + last_write_checksum: sha1:3bc47cc5b049c0fc1f43de375a7549060fcc68d7 + pristine_git_object: 3e9535c17ca7dfbe24d0263cdb701c348807314e + src/polar_sdk/models/customfield.py: + id: f030675bdc2a + last_write_checksum: sha1:d3c3d89488b7cd7c31ff7f9fad04689e157cf925 + pristine_git_object: ca2dd56b71b7605c85296887fa087ab39afc5354 + src/polar_sdk/models/customfieldcheckbox.py: + id: d77a07211e2b + last_write_checksum: sha1:441e5e51dda3b07e95b5d5c540efb7dc86a1bdde + pristine_git_object: aa840e7191005570782f6eef89cb0d20dd6de3c9 + src/polar_sdk/models/customfieldcheckboxproperties.py: + id: 8d3ffc2b43d9 + last_write_checksum: sha1:f36d2d017dd023761becd8700b01ce7ac54a2a39 + pristine_git_object: 819e69a3470743fa38234b0f675dc3a48b4c8cf1 + src/polar_sdk/models/customfieldcreate.py: + id: c64ed2355e64 + last_write_checksum: sha1:4947955567520260b2a70d4e45c3274c9734b9e5 + pristine_git_object: e6496d004b357d6c6b1e472fbf8fc265a0db48bb + src/polar_sdk/models/customfieldcreatecheckbox.py: + id: 5fb30f0c3b88 + last_write_checksum: sha1:f2d0e94b0131ba9a641c67bc055f973f4d14c166 + pristine_git_object: adec1124cec06014c51bdd4c8da9a3927e747e91 + src/polar_sdk/models/customfieldcreatedate.py: + id: 59797eb1ba98 + last_write_checksum: sha1:b2aa8645d2ba81ab52c62bdfe4b6939277f75089 + pristine_git_object: c04158ad29a879f455203c2d9c81b9cd39aa0a46 + src/polar_sdk/models/customfieldcreatenumber.py: + id: 4c84f25086be + last_write_checksum: sha1:0013a1da8ecd2708060b8d6f595f52322eb2f9ed + pristine_git_object: 8c5cf523ebc4c61368b5b99bca43e62f55ced2f9 + src/polar_sdk/models/customfieldcreateselect.py: + id: 7dbadf44ca1c + last_write_checksum: sha1:663709a413479572ba2e921c7e77b727d89dbb4a + pristine_git_object: 9626887f453dd87daa3c99613f8355b65ada1452 + src/polar_sdk/models/customfieldcreatetext.py: + id: 4821566e80b7 + last_write_checksum: sha1:707b15b5d31d41f8cb1a52492efc83d87fc89ddd + pristine_git_object: f5f69f20338eaac7bbefbcade9775dac0de141b3 + src/polar_sdk/models/customfielddate.py: + id: 107e040e502f + last_write_checksum: sha1:4e3ad7906f1827c36fa5ee4dae38170f129882aa + pristine_git_object: 5f59be08953ffe1588923c316c0cde1dc7d63513 + src/polar_sdk/models/customfielddateproperties.py: + id: 80cf84139892 + last_write_checksum: sha1:5fa0e5b1ba583f5a050a60c7c4a962e8e9d6a689 + pristine_git_object: 7f630d25d76431621b572dcfa173e523ee935654 + src/polar_sdk/models/customfieldnumber.py: + id: 6bd8bfbe4356 + last_write_checksum: sha1:33beab9e25d7fe8e74699591e6faed92dc2e4225 + pristine_git_object: a5b425c4f9e4dc6b1ce137719ab0aa9260cff861 + src/polar_sdk/models/customfieldnumberproperties.py: + id: fbd7516178c9 + last_write_checksum: sha1:9511ca972cc67c31be4b859a040bbb028165b778 + pristine_git_object: 41f37a237d77c67133beef3baa6ca1588725a521 + src/polar_sdk/models/customfieldselect.py: + id: 7e348d038d83 + last_write_checksum: sha1:4e2419115faaf2c8746425af4d73016c5234af49 + pristine_git_object: ff7a86929b2f298d89946b3ad1ffb8a3d55bf30b + src/polar_sdk/models/customfieldselectoption.py: + id: 4174bc365c3b + last_write_checksum: sha1:c1febfc41cb58c3ab166b38d31212a2dd3028a24 + pristine_git_object: 4ebfc88dfe700055b91701d55abf7e16e444616c + src/polar_sdk/models/customfieldselectproperties.py: + id: 44caa0f90ea6 + last_write_checksum: sha1:f1cf311f01260766cf12a20d7783d756e449dbf1 + pristine_git_object: 2db0404a85501613d3932f9cf898d6a169b35745 + src/polar_sdk/models/customfieldsortproperty.py: + id: cc38d2be7510 + last_write_checksum: sha1:b9b77fc9623fc7bed0d888fcb3221e62e71c3eb5 + pristine_git_object: 34ea14dc961020143eb13a8a4ef7e6eed14fc931 + src/polar_sdk/models/customfieldtext.py: + id: 8c4cab1eb35b + last_write_checksum: sha1:946b0e550c6fd347866e35a5ac1fbd78401be197 + pristine_git_object: c4ffdcd738c2a1b09eec4d3e7aeb31c1291fe5d7 + src/polar_sdk/models/customfieldtextproperties.py: + id: 2bc9c24fcd9e + last_write_checksum: sha1:ec5c3dd76d31bd3c381d8ffcbada9cff3faf20d4 + pristine_git_object: 19955a28a2c4421ac00056bae188c4eaf3286180 + src/polar_sdk/models/customfieldtype.py: + id: 9eaa971bc250 + last_write_checksum: sha1:7a2fda0f6490bba200f758846b6e00680ff2beea + pristine_git_object: 5c5c769cd42251ac6b927122fc3994ecbace0fc4 + src/polar_sdk/models/customfieldupdate.py: + id: c693f59aac3a + last_write_checksum: sha1:7230e48691de3bf40ac4fb36ac302b315355c2f1 + pristine_git_object: 6010c0c7f001a9da6125d90a5ddf5e36ba30758a + src/polar_sdk/models/customfieldupdatecheckbox.py: + id: 67abeb451457 + last_write_checksum: sha1:4309eb25eaad3f9acb06aa7f9ff3e7c4f419f9e0 + pristine_git_object: 6092d935a29919c619a3a4652e79159680aa1ac5 + src/polar_sdk/models/customfieldupdatedate.py: + id: c0d961be6571 + last_write_checksum: sha1:7c789c6722944123983ab4d14019534f4319b72a + pristine_git_object: afb90b22876ff1273e79a343ed91b89c13b4656a + src/polar_sdk/models/customfieldupdatenumber.py: + id: f27375a53cf2 + last_write_checksum: sha1:e77748a789e26e4d01e0f2f9920aadbd9a7931b1 + pristine_git_object: 9d7ea8f4af65425f36b359171ede2e1bd94741a0 + src/polar_sdk/models/customfieldupdateselect.py: + id: a9e4f4d6f1b1 + last_write_checksum: sha1:745ad15e7c835e0f801f9e4f65311f2c02e7315c + pristine_git_object: 3bc1d3ecbcc9e9bce1e68657b8b06fdc7b67a377 + src/polar_sdk/models/customfieldupdatetext.py: + id: cb0309db1899 + last_write_checksum: sha1:83c908fb514b7296bc097149d8cebc3a5d10df59 + pristine_git_object: 9f206251454ff2f76d7d7db48fc509adaabcd0c8 + src/polar_sdk/models/discount.py: + id: 3e71ef2c815b + last_write_checksum: sha1:6a85c3497f6a5ed44d11dc994900f0ec080d1914 + pristine_git_object: 606208555a96f4f834ca0372631668fd109dfebc + src/polar_sdk/models/discountcreate.py: + id: 91e7c2bf4a4f + last_write_checksum: sha1:d167d3482eaf2c8609be1fd99307d1a616500a8f + pristine_git_object: f1ecd82778feeb474393de96db8f7aedb2051760 + src/polar_sdk/models/discountduration.py: + id: 296333e106af + last_write_checksum: sha1:18772d206aaedfaa7017d5a60b8a356f3525c1b5 + pristine_git_object: a89cfaa74a3b05347d008a9e2d802c7288815be9 + src/polar_sdk/models/discountfixedonceforeverduration.py: + id: c8b3100a3aa9 + last_write_checksum: sha1:548124199f76813158668270c73d1ce47796c39f + pristine_git_object: ae2e6e7e8455eedfd8487a9f01dfa6669afe094d + src/polar_sdk/models/discountfixedonceforeverdurationbase.py: + id: 11386d435e51 + last_write_checksum: sha1:8dabe30c9328532867b7a70ffb9366811b5b8484 + pristine_git_object: be725c4c585c074daaa80dba2fe85b2d4a0ffad6 + src/polar_sdk/models/discountfixedonceforeverdurationcreate.py: + id: 1a558cd6c979 + last_write_checksum: sha1:b76be1927bd83015de15b1a67b28013c3b1f78e0 + pristine_git_object: 4e55661063d2e5e33685343e0be94ce75f64c548 + src/polar_sdk/models/discountfixedrepeatduration.py: + id: 58caea2c9987 + last_write_checksum: sha1:f2acdb9d9aa532913792af8e94e7987db2f12410 + pristine_git_object: 20b3541bdfa62acdf22a362fbe58b41fdf01d416 + src/polar_sdk/models/discountfixedrepeatdurationbase.py: + id: e9c985f890b7 + last_write_checksum: sha1:9f4f17ae81092c051782548baa960bb90d8b1512 + pristine_git_object: 1d41a24c27251146ae434d38d4a79c6ee081bddc + src/polar_sdk/models/discountfixedrepeatdurationcreate.py: + id: 6529f31ec7fa + last_write_checksum: sha1:4a4bbe4d32d19c37deb4489a3dc6671b773940b3 + pristine_git_object: 1491308e13cba7ec1ecbc888a6522ba10c706e8d + src/polar_sdk/models/discountpercentageonceforeverduration.py: + id: d39d5b38013e + last_write_checksum: sha1:c2bb1409c4c9a00fca7b17bdba8bfa0aca1f8f54 + pristine_git_object: db7c13cb56ef2562af121fb6f4e5098fc3cac224 + src/polar_sdk/models/discountpercentageonceforeverdurationbase.py: + id: e4cf247067ea + last_write_checksum: sha1:e03508e9256681f132f837850268ad8cd020d51c + pristine_git_object: 6759e6ecb66e8c0f951a09dcffa92420c0a1236b + src/polar_sdk/models/discountpercentageonceforeverdurationcreate.py: + id: a33cdc0a0aa1 + last_write_checksum: sha1:740f0fec59cf7de912edeae20352c9bbb841bb6d + pristine_git_object: 871a1508992811cf59b11f18cad3f0e05d95b324 + src/polar_sdk/models/discountpercentagerepeatduration.py: + id: 8a65d93317c7 + last_write_checksum: sha1:0010702dba0f37c3ca13e80cd5a0647d389e58e0 + pristine_git_object: 8b802e1c1fa0c62b4d932cc9c3de1af2c38158b4 + src/polar_sdk/models/discountpercentagerepeatdurationbase.py: + id: ca0d1d5be674 + last_write_checksum: sha1:28241c3eceaecd09867abadf8e1f48bab6ab0da4 + pristine_git_object: bf617708947a6b3f4b1b749a0a46c07452a100e6 + src/polar_sdk/models/discountpercentagerepeatdurationcreate.py: + id: 15bcd8f1814c + last_write_checksum: sha1:1ca9522baf2a1a6517455c1ae88ee1ca0b94294a + pristine_git_object: ceca6a8dc83a071492c8e3a5705a91aa29d680bd + src/polar_sdk/models/discountproduct.py: + id: bb6300471d2b + last_write_checksum: sha1:d2592d61a5ee1c1beaf959714c7084afa1f83c76 + pristine_git_object: fbd6b275b733cfc7c8921d61ced785c7f3700c13 + src/polar_sdk/models/discounts_deleteop.py: + id: ca956aca0857 + last_write_checksum: sha1:6e1203ee74ed8a606404ba443efa7526039f845f + pristine_git_object: 838f81c84b8649597de7d09ee63d7c7ebab184b5 + src/polar_sdk/models/discounts_getop.py: + id: bb5a71fc9724 + last_write_checksum: sha1:93535d2366b8da94fddb03e816da9a8d41fb4972 + pristine_git_object: 2c93996a36c6739c95b3ce8c8ab4918c9eb6e244 + src/polar_sdk/models/discounts_listop.py: + id: f3688326a312 + last_write_checksum: sha1:3e676eb4b32aa31c8ad5920f9d6d42d8635ff028 + pristine_git_object: f626e16e659f786ab55c8fb9ac5e269fb044d77a + src/polar_sdk/models/discounts_updateop.py: + id: c6decdec00b5 + last_write_checksum: sha1:578207cd43731e36d538304b1206ac57b9839386 + pristine_git_object: cff4c3739056d37559547abfe207884378d0d086 + src/polar_sdk/models/discountsortproperty.py: + id: 7d7970f833de + last_write_checksum: sha1:c9f5f9f6ca05630856e0c97c206366282f7b0a28 + pristine_git_object: c1c361ccee7124a157b05a69d4701e8c5f3dfaef + src/polar_sdk/models/discounttype.py: + id: 10fb209398a4 + last_write_checksum: sha1:f330b674b58d3e5f59c14f40ad19716dcb85448e + pristine_git_object: 3c49754d56b03ebe9e6004d222bb8163662f1b34 + src/polar_sdk/models/discountupdate.py: + id: b3c3543c899d + last_write_checksum: sha1:8b259565ca9885b1ac4d6cc73beb349d8bf54f23 + pristine_git_object: e87dbd19248fd7bba6d4d5ee8d995244728f1d0f + src/polar_sdk/models/downloadablefilecreate.py: + id: 7a374c6c814e + last_write_checksum: sha1:c717f6cd440dfb197724fcc4ccdd68ffc106b67a + pristine_git_object: d679a26d1ae6c33a901d9de567f4ae4b467eaf8a + src/polar_sdk/models/downloadablefileread.py: + id: c1f6713a7c95 + last_write_checksum: sha1:6b05c9382569557feff7b1b5f3f364299f8969d4 + pristine_git_object: 4e0ce2ad98e6677713168ef368fb74ba0c315285 + src/polar_sdk/models/downloadableread.py: + id: 74655e210294 + last_write_checksum: sha1:d027849077505fa069b672b8d1f55582b0bae83b + pristine_git_object: dab96528677a111e47df216c38ad72e42aca4dce + src/polar_sdk/models/event.py: + id: b3ed73bc5553 + last_write_checksum: sha1:3980b6cf383e7df20715ac48eaa4e6d62abfb95a + pristine_git_object: 8067af66b162e38b935e7e0d3bb71d755bf49111 + src/polar_sdk/models/event_types_listop.py: + id: 8640f7278781 + last_write_checksum: sha1:39c9ffa510eec21a47e5c8c3137a04ba3ac19e73 + pristine_git_object: 51b8fc388e8f1da734b61234e24abd10b98af762 + src/polar_sdk/models/event_types_updateop.py: + id: 6c717c6aa7e2 + last_write_checksum: sha1:9da313c226c30b57454b8c8e3deab0141ef3a38b + pristine_git_object: 47a285d62115f7299e042ac67a822b0970881b4a + src/polar_sdk/models/eventcreatecustomer.py: + id: 79c6509f78cc + last_write_checksum: sha1:b218593cb4da5b3e7d8b86d9391a17a61a95492d + pristine_git_object: de373a4269084a1c417ba7ab1d3ef59bf895ed47 + src/polar_sdk/models/eventcreateexternalcustomer.py: + id: 0ff31fa93dad + last_write_checksum: sha1:292cb522adb088b0a1061f8523a89c36028f4f60 + pristine_git_object: ea0ee18bdfaab3640d629e40384861501b934e9d + src/polar_sdk/models/eventmetadatainput.py: + id: 62de730d0f6a + last_write_checksum: sha1:fbce340079f1c9408b7eca12d6298ba391ae7f2a + pristine_git_object: 0e6862bd05a0b0e2b15f5811974832ff48eb1186 + src/polar_sdk/models/eventmetadataoutput.py: + id: d40168b6503c + last_write_checksum: sha1:3904c097a44d8f1f34822cf868d44e44294c8dd9 + pristine_git_object: f5c79b7d38902c944c4e4dc9825b0eed7a217f8e + src/polar_sdk/models/eventname.py: + id: e2a502e78312 + last_write_checksum: sha1:24f370292e83bb136ebab88dd71af92c67d0a966 + pristine_git_object: 9105696a8afc324c957127d7362afcd29e895fe0 + src/polar_sdk/models/eventnamessortproperty.py: + id: 59b2b0420e89 + last_write_checksum: sha1:22c3a4d18cda8fbc08740bf58aef7465a5f64849 + pristine_git_object: a13bf78a0e11c8dcc41b132613e891d389620a9e + src/polar_sdk/models/events_getop.py: + id: df00ce29ffdb + last_write_checksum: sha1:b431ebfe868563920582bf7bc9e93a7f03543d7a + pristine_git_object: c231a3af57de4df85973752c8abfb7403e453e9f + src/polar_sdk/models/events_list_namesop.py: + id: 3a86825b63cc + last_write_checksum: sha1:70a155f79014daa56cc5c782b098c2c0b4a8d44e + pristine_git_object: 8d8799c06c9926a7b93a91c1cda14404253d5a80 + src/polar_sdk/models/eventsingest.py: + id: 90e195859da1 + last_write_checksum: sha1:d2b93cb232defbe29c715fcdb18cf1406315ce2d + pristine_git_object: 130d636a5377a6735207e191772bd34894c4d4d5 + src/polar_sdk/models/eventsingestresponse.py: + id: 4ceaad81292a + last_write_checksum: sha1:7efe4ebe452d66e7579db712d746c4fdc6ba4b8e + pristine_git_object: 9658d2d06dec8f85619c937d39667540039605ac + src/polar_sdk/models/eventsortproperty.py: + id: 35cab1dee50a + last_write_checksum: sha1:f78f4d858a7a90bab9f12f19ef7af8decabdb8b6 + pristine_git_object: b5c2841d9859a8ed5622c60b85267d4d3dd15642 + src/polar_sdk/models/eventsource.py: + id: ca098c82a48f + last_write_checksum: sha1:d185b3b4e889a3e6d3f13c5f68c29b3da9c6643b + pristine_git_object: 151f429859b073eb024621030b2c32ece5bb9df2 + src/polar_sdk/models/eventtype.py: + id: 51c3a291a8b1 + last_write_checksum: sha1:f626cd2261f22f95693a0f886a7550d2f56d12b2 + pristine_git_object: 196e91d1781b82e38cf5d7832a3180e3877b8f3e + src/polar_sdk/models/eventtypessortproperty.py: + id: 820dadf67b38 + last_write_checksum: sha1:c2e287f175e8e67290fe6d5ef17ac8a494569fdc + pristine_git_object: 5a837880483ef7bce11e978780d9564f326e01c4 + src/polar_sdk/models/eventtypeupdate.py: + id: aafd1f1e0296 + last_write_checksum: sha1:80e62b2333eb53cbb5035266f8833687c4883dda + pristine_git_object: 9e397043143fa492c38e7096fa8eefece1a16f31 + src/polar_sdk/models/eventtypewithstats.py: + id: 68c616e3bc4e + last_write_checksum: sha1:c5b5d4e30539ad2f0be871662c71ac444fed56dd + pristine_git_object: 309994feaeb39a9ba95ec97cdbe2e23e3ce71ba9 + src/polar_sdk/models/existingproductprice.py: + id: 8e020047caa9 + last_write_checksum: sha1:c86b3584d703690296cc4acee02a68f13ce126dc + pristine_git_object: b649ecd4d0cab71a2873fd904881b4efee664057 + src/polar_sdk/models/expiredcheckouterror.py: + id: 3664c55b1286 + last_write_checksum: sha1:ce4a01861312797d539b78b12011f5ca29e5147e + pristine_git_object: 307d92c3c06446f8d80a67aabc3187fbf2397e86 + src/polar_sdk/models/filecreate.py: + id: 1296dfed6614 + last_write_checksum: sha1:e4ad448590f58d139a636b7684ad2c244123c46e + pristine_git_object: 123ec8f8f34570493655cce36011f710e1e65ded + src/polar_sdk/models/filedownload.py: + id: 415c0c9d0ae1 + last_write_checksum: sha1:a24c98800c2806ac59760df4f20b4a21ef92ba3e + pristine_git_object: 04d1c97860b8d6888533cabb862423ec0250aed2 + src/polar_sdk/models/filepatch.py: + id: d99ebb1c8088 + last_write_checksum: sha1:422eb9399be1d28fcae45f9af6a05f5a703a4049 + pristine_git_object: 84c24522fd053bf0b82e81cb1acaa60f22f9d17b + src/polar_sdk/models/files_deleteop.py: + id: dc4d06b2a21f + last_write_checksum: sha1:b757c1e2b9e3feab7c4c8d2cd55c15936f7fda3c + pristine_git_object: 790346249327e651eb09e0c04bd5a022dd8ee220 + src/polar_sdk/models/files_listop.py: + id: 63374b87efd2 + last_write_checksum: sha1:3d7d73b2e282e44b23a204b1dc953143504f1ce3 + pristine_git_object: 77ac66064037b5d273c1add7dd1d321b1d0dd32c + src/polar_sdk/models/files_updateop.py: + id: d4c0cc95963f + last_write_checksum: sha1:261d64c93e69da0706a664b2efb55b0697bd047a + pristine_git_object: 89218744854895c6a3f16315a1c7eecc68b272e8 + src/polar_sdk/models/files_uploadedop.py: + id: 6523a5d28e6b + last_write_checksum: sha1:2fe09193e734ce5a98d06fea3b3f03bd4676a4af + pristine_git_object: c1041a17acb79d10a96213db5c53979342b09a3e + src/polar_sdk/models/fileservicetypes.py: + id: 4755054ffcc8 + last_write_checksum: sha1:0cb36e6fbbe95e01473109e2fa508653a545bf32 + pristine_git_object: edc374ba94b49a6a052da957964e65ea805ff026 + src/polar_sdk/models/fileupload.py: + id: d7e19c83c2a2 + last_write_checksum: sha1:3fb6de5f98c01b82683181212292cfc7286e3731 + pristine_git_object: 4bc32bd444f7c76e9e8624a4667cf2b78765283a + src/polar_sdk/models/fileuploadcompleted.py: + id: 8ae725538be8 + last_write_checksum: sha1:38d1c243164cdd84f47dac879014e6c89eaed471 + pristine_git_object: 4d96b2b3ad15d328c4ca5f42c4f01167418a8e27 + src/polar_sdk/models/filter_.py: + id: 7e9cf217dc6d + last_write_checksum: sha1:307d620bfc33130b68fdf4dc03c274b87ad61dbc + pristine_git_object: 774d7751d3b761f6fd87b4b8a9c56edd07fbfab1 + src/polar_sdk/models/filterclause.py: + id: 9e396cc12611 + last_write_checksum: sha1:bb6c96082553275755ca4ca81787ec0d5827e0bd + pristine_git_object: d8addb948212f1796397f3fdf10dbbb736697b20 + src/polar_sdk/models/filterconjunction.py: + id: 4f14c76967cd + last_write_checksum: sha1:a452c6961271a7333c860b850595e56824cb90ca + pristine_git_object: 00a6ce9daa6e7dd2f32001829f91143baaf26e0a + src/polar_sdk/models/filteroperator.py: + id: 25af18462ab4 + last_write_checksum: sha1:0271648f54e52e3c88ad9b77fb11091ebffdea70 + pristine_git_object: 0dc66a74e29c4daa58c60ca7d9dbc9da808bd78b + src/polar_sdk/models/genericpayment.py: + id: 053bd7bfdfcd + last_write_checksum: sha1:1fcabf6d7121c4af04c922c0768f1d6dd4813b1d + pristine_git_object: 1d6c945e4c9f8e72cd98ec801542cafcdb84f3e4 + src/polar_sdk/models/httpvalidationerror.py: + id: 66980b66ba00 + last_write_checksum: sha1:2d17eaa14a59323d61e64b3dc2af89b1bb80ecc3 + pristine_git_object: bedd83c8b98c8758bdf192c2d966afa62b428505 + src/polar_sdk/models/introspecttokenrequest.py: + id: 573e367d2b79 + last_write_checksum: sha1:f7865be027faafa7613322e84a0a1708cd280747 + pristine_git_object: 783b6b641a5ae17f243a085ffb97d8cb4e6b4c54 + src/polar_sdk/models/introspecttokenresponse.py: + id: 99ccb414ef14 + last_write_checksum: sha1:db17332be1f7a93a4f91b3089e902fa2c1a6f2a1 + pristine_git_object: 7d2f167efc8eeabe484427e84c54d81b48e4381e + src/polar_sdk/models/legacyrecurringproductprice.py: + id: 92b4716b17ab + last_write_checksum: sha1:09096c7f4dc19063dbb81b693c5ecee548b588d9 + pristine_git_object: b36505f002b9d907b20ac7650e4a9359b9987b8a + src/polar_sdk/models/legacyrecurringproductpricecustom.py: + id: 2a825fc97e0c + last_write_checksum: sha1:5fde86e5fc79ecc53448e9d29d5dc3962513b539 + pristine_git_object: 1c3c1ed98d6408d552a080ca1e9917e0191f09f8 + src/polar_sdk/models/legacyrecurringproductpricefixed.py: + id: d905ea73081e + last_write_checksum: sha1:dc115ff0f83688384f4d827a9cce0291a6c66d68 + pristine_git_object: f855f0d9fb7ea557a780b46237b3e621491403c7 + src/polar_sdk/models/legacyrecurringproductpricefree.py: + id: e2ebf5fbe83c + last_write_checksum: sha1:f40833fc86ff8557d776bda1685dcbb9a58579cd + pristine_git_object: a440412567285fb0638478a450ef445887829a7b + src/polar_sdk/models/license_keys_get_activationop.py: + id: 1ee5aad5d284 + last_write_checksum: sha1:4421b41d10d32d4a1cdafc69e2aa11c2c068b03d + pristine_git_object: 2e327b020f3a69a1c50fa0cc6e0fbbed25fa5cff + src/polar_sdk/models/license_keys_getop.py: + id: 5e2857224443 + last_write_checksum: sha1:d6abe3aca7b1b2271efd3bb158dbdc1bb4709679 + pristine_git_object: 8024be112bd4c3a7462d7060e25b35d817119164 + src/polar_sdk/models/license_keys_listop.py: + id: 943d8735aea1 + last_write_checksum: sha1:bc88df86e7d1785718baa5dd5bbcbc5b56324e91 + pristine_git_object: 4fdbe77485296b123ed78bd497fa06636c63b371 + src/polar_sdk/models/license_keys_updateop.py: + id: 663c9a76a1b2 + last_write_checksum: sha1:071869027061a9699f012f29a6f342547eb6eee6 + pristine_git_object: 6706a4fc13848e71224b04f064720de9b5f0475b + src/polar_sdk/models/licensekeyactivate.py: + id: da34e43804fa + last_write_checksum: sha1:1b1bbb769886f333e95e347bb2372ee5d99ddaef + pristine_git_object: 4575eb540b929d9b194f653f195c97293d7e19c1 + src/polar_sdk/models/licensekeyactivationbase.py: + id: 2bd2044df7cf + last_write_checksum: sha1:a1543991051f598cbb124cc9ba032ab53c51bbeb + pristine_git_object: 5197a18a9bbae6c216c5e2152140399a590af62f + src/polar_sdk/models/licensekeyactivationread.py: + id: a643cd5581c0 + last_write_checksum: sha1:47ac96cc41b6147e5f33f9271d5f6e62b1a283c6 + pristine_git_object: 66f99b748cb277eefbee5027b096bab1e019a05d + src/polar_sdk/models/licensekeycustomer.py: + id: a84d40628adb + last_write_checksum: sha1:293a37c552ce9391d07a20de63f10f67cf4105d3 + pristine_git_object: 2c665bbf288ef624954c660ab03952237c0b7e96 + src/polar_sdk/models/licensekeydeactivate.py: + id: d1800032777f + last_write_checksum: sha1:11c04cc65dbaeff84247ac2c3eeae27ec69a200d + pristine_git_object: ecb7930134a633c2e70e1d4200fb4055bd675588 + src/polar_sdk/models/licensekeyread.py: + id: b917023040fe + last_write_checksum: sha1:69d31f2ef9820cc67cc3816bc90d03c5480cb455 + pristine_git_object: 5c77f6df5136c0ea2b0541a177f04ed6e5bf7eec + src/polar_sdk/models/licensekeystatus.py: + id: a33102e0c025 + last_write_checksum: sha1:45c6293d748a0f7b35688f82c531375925be6d91 + pristine_git_object: 16435a6e67ca50c010317ec7a2be0fb236f921ce + src/polar_sdk/models/licensekeyupdate.py: + id: 16300bd126cd + last_write_checksum: sha1:d434dfb83fca5ca09aca6fa0ea36628adcff00a9 + pristine_git_object: a5158c5902ef31573fcce77df466b7b59b452c0c + src/polar_sdk/models/licensekeyvalidate.py: + id: 92b43da783b6 + last_write_checksum: sha1:5a955faa40a2cd1f41583e010ab30acdf0360eeb + pristine_git_object: 303bea954c7da917c5eedee1dbdeadda4b9ff27a + src/polar_sdk/models/licensekeywithactivations.py: + id: f82a30ecb79d + last_write_checksum: sha1:ebbb665192a26e83dcc2342d4522dc65955c222f + pristine_git_object: 4f5fddc8d2674eb2181b26382f50d51b879b82cc + src/polar_sdk/models/listresource_.py: + id: a8cd56654d6d + last_write_checksum: sha1:cb7afaefd3d2c52045d5d5829a8d2263e3d6f16a + pristine_git_object: 8d6b1cd85b1a034a97cc3672ff92379d353311c0 + src/polar_sdk/models/listresource_benefit_.py: + id: c6adad7a5f8c + last_write_checksum: sha1:6e8a46e0c79dd45a732056fcda5fdee013c57b00 + pristine_git_object: 579eb552ffea79617f369efe534edf5b63b57690 + src/polar_sdk/models/listresource_benefitgrant_.py: + id: 18ea52d1b360 + last_write_checksum: sha1:6b2762d9082ab33016ef0ee5ea238c873116893d + pristine_git_object: a2e709a6c84ae2458d477226e1d813ee468ed378 + src/polar_sdk/models/listresource_checkout_.py: + id: c03fdcd49c36 + last_write_checksum: sha1:c9422c13b606d0a7cff8390091004f842e3aeae0 + pristine_git_object: 9476d84becc99cfe0a7df8e73db41e29ca0d4115 + src/polar_sdk/models/listresource_checkoutlink_.py: + id: 3ff466a4e188 + last_write_checksum: sha1:a91afebd5326eb503d5a8a56f4d5b6411aae8160 + pristine_git_object: dca478aebd7480d67b271aa8d3c955dd3f906a6a + src/polar_sdk/models/listresource_customerbenefitgrant_.py: + id: f1465d3fd079 + last_write_checksum: sha1:a8a82861bc24c859b702b5e30a564179685d6482 + pristine_git_object: a01cd43509513b6da68ea6e662b420f51bd4c9b2 + src/polar_sdk/models/listresource_customercustomermeter_.py: + id: 315cef5d0bb8 + last_write_checksum: sha1:5f24877c6fc6b0a20164949c903a6a64bfa245fa + pristine_git_object: 973573f3c82d803fa447992c3d77c1dffdbfa214 + src/polar_sdk/models/listresource_customermeter_.py: + id: 021fb8d8ff23 + last_write_checksum: sha1:8ab67ade3b9247e87bda1d2ceb6400796e32364a + pristine_git_object: 38c674810a19035fab2f45a10cc78399e71cf835 + src/polar_sdk/models/listresource_customerorder_.py: + id: ab913215c188 + last_write_checksum: sha1:d51a45952c158fcfcc63884b95f4ee7a0de25b63 + pristine_git_object: bbd78009b49bdecafb0026e5617fd778d84cfb6a + src/polar_sdk/models/listresource_customerpaymentmethod_.py: + id: f9dad159dc87 + last_write_checksum: sha1:9aac13dd0954a14d92a797d988ed9f9725f4b27c + pristine_git_object: 711b6082f4f03534c217c190364a89bcd62dc3de + src/polar_sdk/models/listresource_customersubscription_.py: + id: 8935de8d0a32 + last_write_checksum: sha1:757668f1f997fd6bae7be9032bf3ac73a1234eee + pristine_git_object: 821704dd1d6318dc2aea41e92855a02b813302a2 + src/polar_sdk/models/listresource_customerwallet_.py: + id: af925a9c16ed + last_write_checksum: sha1:a929a7cf0bd6edd585e6897722d75c5eef879465 + pristine_git_object: 981d387e1f8167d5a9c5a54bbf145fc937e968e3 + src/polar_sdk/models/listresource_customerwithmembers_.py: + id: db54cacf999c + last_write_checksum: sha1:38089b2e127dbb13da527ae692e0b9b38ec07f44 + pristine_git_object: d16972732b7a64472093f9c788fb76a44687a9de + src/polar_sdk/models/listresource_customfield_.py: + id: 8be091ed8a05 + last_write_checksum: sha1:85a858ab21ba7b9fd2f6b2c6ddfb6521bda4265d + pristine_git_object: 4ca56dd850ec00065ec244caaccc869933240841 + src/polar_sdk/models/listresource_discount_.py: + id: 5c8c6443d8c8 + last_write_checksum: sha1:cf1f8aec805761f81682f43db32692129126d38c + pristine_git_object: 44d73d211529fc161ce5a5c72c907c16fd89a2a4 + src/polar_sdk/models/listresource_downloadableread_.py: + id: 2ca80c72b435 + last_write_checksum: sha1:3a53e705ac591c9a0889085e639bf5fed5674af1 + pristine_git_object: 9465b1027e2634cc9508caa1c85fa72817581031 + src/polar_sdk/models/listresource_event_.py: + id: 0ff9d2b9bd71 + last_write_checksum: sha1:3c66206f5321819d4015dddc749bd9d14c1dd73d + pristine_git_object: 144eebcdb4f19c89a56233119cfc9e77019c169f + src/polar_sdk/models/listresource_eventname_.py: + id: 8e53f4ec5ba4 + last_write_checksum: sha1:80e68df6a534335d243dc43d52280115484681de + pristine_git_object: e09955e3668926ec07b6cb55a605a6df37cc57d8 + src/polar_sdk/models/listresource_eventtypewithstats_.py: + id: dafa0ab1547a + last_write_checksum: sha1:afa772bde25fb6a9292aa63f1a6c86191b47e361 + pristine_git_object: 5c7b9a25f82436805fdf21c1b1fd8b1b11ab741c + src/polar_sdk/models/listresource_fileread_.py: + id: b787cf7153fe + last_write_checksum: sha1:9fa8e757f1c1d74db6f23c611b2bf42c5c139d91 + pristine_git_object: 7eb2aa4cee5796dbfa2892d83eb4a402b92e8ef8 + src/polar_sdk/models/listresource_licensekeyread_.py: + id: 755ded680e79 + last_write_checksum: sha1:ca5c854e3f225d3aa04749374fb4bebcb9a70423 + pristine_git_object: 09e6556413ef7486cd3f3bf80431fc5a25632d20 + src/polar_sdk/models/listresource_member_.py: + id: e118d8667aea + last_write_checksum: sha1:de4f80613938be29a78306a1a9526c7aec2690a8 + pristine_git_object: 86755b6be59ab709e28d246b11f7b98c7ca78581 + src/polar_sdk/models/listresource_meter_.py: + id: a66a3208ce2c + last_write_checksum: sha1:17af7747cb4979db12b6a1050e1bfdeab6c8f022 + pristine_git_object: bd932aef3d327fec95a70df34480d728a342f301 + src/polar_sdk/models/listresource_order_.py: + id: 2d74b1eac468 + last_write_checksum: sha1:c0384b85d318bf841ab969ca02a09b3547352ab4 + pristine_git_object: 59c22895a69f22cbc3f988ca11822e3ae1b9f4ec + src/polar_sdk/models/listresource_organization_.py: + id: 945ebc3e747c + last_write_checksum: sha1:517796b83d04df45823ed9355600ceaca97a3e24 + pristine_git_object: b662a30bc776f2d0dd4e79eea2f5d3175cd9b503 + src/polar_sdk/models/listresource_product_.py: + id: 183912ee9cfc + last_write_checksum: sha1:089d96211ff1218a342adab4830a73c3e73b2ad2 + pristine_git_object: 4a51f82c13aa3fb6305bd7f0af9f622f090f3588 + src/polar_sdk/models/listresource_refund_.py: + id: 9f8a27079126 + last_write_checksum: sha1:5b1ed248458679a87d76d5ca2a88a812ae53ecdd + pristine_git_object: d124d208f6ecef24896c98697be1caff022f19de + src/polar_sdk/models/listresource_subscription_.py: + id: b0bb95835bb9 + last_write_checksum: sha1:fe8dc597ba4d7b7f230a43e477a9c97f2b28d5be + pristine_git_object: 012017a939f85e47b38b402868df5aec8921b837 + src/polar_sdk/models/listresource_webhookdelivery_.py: + id: a572fdad8d02 + last_write_checksum: sha1:3ba3d3c9e95c77c55d5b6f846853343eeca5b20a + pristine_git_object: 2e0a1dab616aef71b6ac3855d50a4bb9cceb9d76 + src/polar_sdk/models/listresource_webhookendpoint_.py: + id: f94d2a133363 + last_write_checksum: sha1:79685d04aaf0de5c25e680afc9a02db0a31fe3cd + pristine_git_object: 2fba55f6d9bcac9ca6ec0ce1046e5d5418ff7612 + src/polar_sdk/models/llmmetadata.py: + id: fa9b63dc5d40 + last_write_checksum: sha1:d90b9baae55716f2389d3ab8f8e754bf5ba898cc + pristine_git_object: 021595c930371e55b30f8771012c6f76e9b5302f + src/polar_sdk/models/member.py: + id: e32eb1a89662 + last_write_checksum: sha1:bef689f41eba825d03026799102f0e6cc9eb66ab + pristine_git_object: bb3cee0680df4878baa34e7ef84fe54d638df050 + src/polar_sdk/models/memberrole.py: + id: 1e41f8f3f1a9 + last_write_checksum: sha1:065f7730427b55768fd76b2f12dba48129a6b4d2 + pristine_git_object: b68e189ce71ea04fbd72bce0a145bba883149efe + src/polar_sdk/models/members_list_membersop.py: + id: "852691426768" + last_write_checksum: sha1:19c125c002decec63c79b1229fc8eff6fe5d9b79 + pristine_git_object: dedd902047fc0883b13c1302b8e6ea3b18f5a5de + src/polar_sdk/models/membersortproperty.py: + id: 3728cdaa8e0a + last_write_checksum: sha1:568b6a8d21268718d6803e13422eb59f9c4d54d1 + pristine_git_object: 0fc9b5c92612f6a5523e8562ad3a7673d3e0173c + src/polar_sdk/models/meter.py: + id: 7f0c05c7db8b + last_write_checksum: sha1:42e9da8e4edf6073a77ad4e55934f259e327ba98 + pristine_git_object: 5d12f6d4612e3c675a815abc03b284fcd0e49c40 + src/polar_sdk/models/metercreate.py: + id: 3367029b196a + last_write_checksum: sha1:aee76671acba9d62143536e4a4317763c75b2ceb + pristine_git_object: d6dbc76e40399bc687abb0883ed83c4d226c218e + src/polar_sdk/models/metercreditedmetadata.py: + id: 26d4f617fbc2 + last_write_checksum: sha1:2b66e36b542c1a8e8e004ba63d66808fd1946ead + pristine_git_object: 4d62398b7e18d61249085849a61c3773305967de + src/polar_sdk/models/metercreditevent.py: + id: da468e0434db + last_write_checksum: sha1:56ca3c21af8d1b8990a4d319f569c15b2bf2a50b + pristine_git_object: a8021d571c0553af6fcfbdc19cb5e90cf3e46394 + src/polar_sdk/models/meterquantities.py: + id: 38d6409b4842 + last_write_checksum: sha1:147c0b05acf139c2514b581b89efb50fc76ab29d + pristine_git_object: e615a10855f3fa2cb1f9f4ad9faa303413abd57d + src/polar_sdk/models/meterquantity.py: + id: d44fa5eb56ed + last_write_checksum: sha1:e122477c7a037e31e1dd969d4fcdeca86b723547 + pristine_git_object: 7ecccb0b8084501f0f70d42f1914c710b840a61a + src/polar_sdk/models/meterresetevent.py: + id: 04fac268121b + last_write_checksum: sha1:cacda0ae0afb3a2e91559c228c90b9ef618a8e6c + pristine_git_object: c4205a8cc5e68d15face74dbb2b6db1b2acb58d6 + src/polar_sdk/models/meterresetmetadata.py: + id: fe0f7eb1c58e + last_write_checksum: sha1:0085862af19874c71ea05f61842cc98822781d0f + pristine_git_object: 4b0253e2e24fdf3d5878c8bf41fcdfad40bbb991 + src/polar_sdk/models/meters_getop.py: + id: 2507760801c8 + last_write_checksum: sha1:c556e800abf1c6a41daf8607e25e8e9cba0389c8 + pristine_git_object: 21c5c9ebe7e538a7a530228d0b057653a614754a + src/polar_sdk/models/meters_updateop.py: + id: 4ec46ed11bea + last_write_checksum: sha1:df20df46a78011cc7e037396b8cd0c146b9fd1b0 + pristine_git_object: e7803d047021fcc6d1c03c1077a250142d104d48 + src/polar_sdk/models/metersortproperty.py: + id: 4efb2f179488 + last_write_checksum: sha1:fbe49d9d45d15118377e107d496442175c5abf47 + pristine_git_object: e037d6c4739650000b4c41e1b243b7eea477ed69 + src/polar_sdk/models/meterupdate.py: + id: d27e02ad5c1f + last_write_checksum: sha1:c61eeeb6596e84e568b182437ceee88416b82127 + pristine_git_object: 4d343a030d602e38945f97b3595bf1d544ef47e7 + src/polar_sdk/models/metric.py: + id: ea278c5aecb1 + last_write_checksum: sha1:e3bff6cc55dc2c23b6119060ef82450a8f869b06 + pristine_git_object: 03c53ae04946484e8c28b91fa449437cd1408707 + src/polar_sdk/models/metricperiod.py: + id: ce51905274f6 + last_write_checksum: sha1:f74eb5833d5fc5b665412927556eaaa76426c807 + pristine_git_object: 7bd158c36d2d6531732d2cc1c2b3983feaa41f25 + src/polar_sdk/models/metrics.py: + id: d6ae941f17ef + last_write_checksum: sha1:b75c00fa0387ab603b4cfdd54caa5aa2dd2369b0 + pristine_git_object: 3fafe20bba9c20d5679b449de57deaa0a6a7e966 + src/polar_sdk/models/metrics_getop.py: + id: 59e9694781fb + last_write_checksum: sha1:8245d1b224375e6dbb2bfb1eedf9f84d21a7ee69 + pristine_git_object: c4fb484c7e517605451d404ea9d3af99dafa950f + src/polar_sdk/models/metricsintervallimit.py: + id: 7d0277445bb5 + last_write_checksum: sha1:1db3cbdb293e3ceadec385d1c56f1dd880d8ebee + pristine_git_object: e9e80f8937fda43b1a0398bf2be69e377bbcd43c + src/polar_sdk/models/metricsintervalslimits.py: + id: 8dcf89eff21d + last_write_checksum: sha1:557d605225e50b46fc8fcd17eee55715abd8d4cc + pristine_git_object: def26753bd9e0d7543f9bad49339a8dbb69bde74 + src/polar_sdk/models/metricslimits.py: + id: af7789bed534 + last_write_checksum: sha1:fe6949e4b6c7431a47d5fd5aa1b699dce3b44e25 + pristine_git_object: cdc32fa86d17693b9a10fb2cec8323ee5644e713 + src/polar_sdk/models/metricsresponse.py: + id: 5efd4f012758 + last_write_checksum: sha1:e4ce63adb5ddc154bd65356519302e13ff4a2625 + pristine_git_object: 11699332aff0268d0ea5e661c3e33f46b5c7b19a + src/polar_sdk/models/metricstotals.py: + id: f053aca3ec10 + last_write_checksum: sha1:dc1f7f1b6c2d6f79166465ddab05fad2d14f4f9e + pristine_git_object: 5cb0eb68444fe84d2d8514dfeba8ecd5f74554cc + src/polar_sdk/models/metrictype.py: + id: b01dd7fe7dcc + last_write_checksum: sha1:e741bf8b552aafd5b3cc9b3bbcb2d22c96f9503f + pristine_git_object: 7d1efde1987f60011053f113a87bf37a3e5e9e89 + src/polar_sdk/models/missinginvoicebillingdetails.py: + id: b10a8e419e5b + last_write_checksum: sha1:5a979b8071152073807b600b2363efe9371072b4 + pristine_git_object: 934fd99c2e0d5874c1f720e745ff2f92159fef7b + src/polar_sdk/models/no_response_error.py: + id: 8d1e4e239a72 + last_write_checksum: sha1:7f326424a7d5ae1bcd5c89a0d6b3dbda9138942f + pristine_git_object: 1deab64bc43e1e65bf3c412d326a4032ce342366 + src/polar_sdk/models/notopencheckout.py: + id: a20934561b06 + last_write_checksum: sha1:8fbc4f37689844144d6cf08b6201367afcf350dd + pristine_git_object: 79f5cb82592e08b820ea1afe3223504bd129f40a + src/polar_sdk/models/notpaidorder.py: + id: 76f7cad22451 + last_write_checksum: sha1:405b281c311a4afc8c9732efa2f48d8466efec6e + pristine_git_object: 0c6b7f9304013e83f031bd0646a652b441d1c0c6 + src/polar_sdk/models/notpermitted.py: + id: c1179e78382e + last_write_checksum: sha1:6164e2a596175d10f9a08c9f924f6258e8a86bfa + pristine_git_object: 52baa39f9f57dbfc8e95954c3f9285737d01eb2a + src/polar_sdk/models/oauth2clientconfiguration.py: + id: 0dcd17c9833a + last_write_checksum: sha1:57b8404129c6ec811319ff29c6c355c83fdb24f8 + pristine_git_object: e3cb0a10d1dbb114d5362073a9db98c8ea97b967 + src/polar_sdk/models/oauth2clientconfigurationupdate.py: + id: b81093f593f1 + last_write_checksum: sha1:f25be0546b160b8da52d5bf17cc39c5ff75d304f + pristine_git_object: ce5511a9ceecdcd83456ec65a6429950324a5f5c + src/polar_sdk/models/oauth2clientpublic.py: + id: 8b56a7cb51cd + last_write_checksum: sha1:f54a615ae16384d47872c9567c82390c17aab87b + pristine_git_object: e3c43092373f94879dd3df301b04d93e7029163f + src/polar_sdk/models/oauth2_authorizeop.py: + id: 65628ab03082 + last_write_checksum: sha1:8bd67023443afe61febe5f8e49547b20465dd248 + pristine_git_object: 664e12e0642c4e2e4c24a753e8e234b58d774495 + src/polar_sdk/models/oauth2_clients_oauth2_delete_clientop.py: + id: 771955cb9e85 + last_write_checksum: sha1:ec7ebb7665fff59731cfc53f72ae0a8e7c78f0d1 + pristine_git_object: 6238d634577d30ea30f3a6bb3a84b69acfba13ba + src/polar_sdk/models/oauth2_clients_oauth2_get_clientop.py: + id: a131a7ff0713 + last_write_checksum: sha1:62300f87f96976d0ff5957aded8c1492547de4b0 + pristine_git_object: 8b153330ab57c432f661483f6083cbd8f5b5fa9e + src/polar_sdk/models/oauth2_clients_oauth2_update_clientop.py: + id: a68e7001f8a5 + last_write_checksum: sha1:8bd618fc825e7aa4dd17053a6c5963a097ac471b + pristine_git_object: 5acdb027c226aac6b64c2b92385ca1bff4514198 + src/polar_sdk/models/oauth2_request_tokenop.py: + id: 8fa062030db7 + last_write_checksum: sha1:734f295fb8fa7df84d1dd86a0e1c6e26dbb92a30 + pristine_git_object: f9a140a9d9ce789f46fd1b813a97973db8da17b6 + src/polar_sdk/models/oauth2_userinfoop.py: + id: a12d632a1ac9 + last_write_checksum: sha1:b6b3f96a4dbd2ffe9216d781a6dd997eef4496b8 + pristine_git_object: b21598d370376b998048d66a16d07efe4624619d + src/polar_sdk/models/order.py: + id: a6930332b5e3 + last_write_checksum: sha1:ccb7f4a4f8c327620919a55ecbf828972ae7523f + pristine_git_object: 82ea8cb57bf5095dbc3ebd13eff3362de271e210 + src/polar_sdk/models/orderbillingreason.py: + id: 1462edd42708 + last_write_checksum: sha1:3b294070e89e6d9f91bdd42c34207bc44769b5b1 + pristine_git_object: 121d68415f2d931f5c0ef40759d525efa8df09a1 + src/polar_sdk/models/ordercustomer.py: + id: 1b2c5339b85e + last_write_checksum: sha1:09a05846938d0d180803fb11f020bf7324f0927e + pristine_git_object: b478b6de9c4eacf059bbc60bcd3a085fdea64784 + src/polar_sdk/models/orderinvoice.py: + id: 5d8860c03c48 + last_write_checksum: sha1:21020a291e1d6153cf8efa40bdff3f50f7def599 + pristine_git_object: 29c058074138f9e539ba40f64a201288233eccc0 + src/polar_sdk/models/orderitemschema.py: + id: 717ad884197c + last_write_checksum: sha1:10d1aacca276c3743bd8d6629f8e36b5c3afbc6d + pristine_git_object: 7df7ca36f2fde7ea2d75f14e3df74e6d83e170cd + src/polar_sdk/models/ordernoteligibleforretry.py: + id: 48f9fbcaf1af + last_write_checksum: sha1:17b1726714a0b55802abacb97c70c3557e049052 + pristine_git_object: a171dca3731f26c26ffd2a4f0f835028fd2417b4 + src/polar_sdk/models/orderpaidevent.py: + id: 1fc21a647b4a + last_write_checksum: sha1:ea9597b81eb8591bb86b6b20a393d805d22e746e + pristine_git_object: 21770f069827ae104537b5ef5d1d68aa8ecd711f + src/polar_sdk/models/orderpaidmetadata.py: + id: 2e1c988662f4 + last_write_checksum: sha1:730cdf216e0a06f2c4782eaa3d2d5e62e1903089 + pristine_git_object: 06dee92a9fa261b18f5b479d53713361c17c8817 + src/polar_sdk/models/orderproduct.py: + id: 864ce61cf521 + last_write_checksum: sha1:1d7b5455842310ce4f9f095f039b6a68e5b51416 + pristine_git_object: f6925513ddf7ec2700f42f56911fe9faef358ac9 + src/polar_sdk/models/orderrefundedevent.py: + id: 6c654a62a837 + last_write_checksum: sha1:b783fe9e63f3e89f56a2532668b47cc0845da103 + pristine_git_object: e2bc258c194cfea1320a7590a84941eb79a06ded + src/polar_sdk/models/orderrefundedmetadata.py: + id: 5faf3f576a67 + last_write_checksum: sha1:9148f3018033742cb66e7b1b8cb42b9cde0866c8 + pristine_git_object: ccb8f0a47ada9408ccf9095f1140227c3eb77844 + src/polar_sdk/models/orders_exportop.py: + id: 3d71bd06cbd7 + last_write_checksum: sha1:05a3ea3d206f346e6ce0ee030d7cbb02eb56b2c5 + pristine_git_object: 3c8fd1bd87802a12d1029514b6e5281a9e19590e + src/polar_sdk/models/orders_generate_invoiceop.py: + id: fa33ca9ac907 + last_write_checksum: sha1:31ff970684d61b074ae07c387a98e81bcd62dbc9 + pristine_git_object: 9c338ede2f19f71f41ad2a884741814536a6a147 + src/polar_sdk/models/orders_getop.py: + id: e510cdc6bd16 + last_write_checksum: sha1:23e161223672c30de58d0f01f82e42f48b339bad + pristine_git_object: cfd61135a22187ec132d2842d6ccf41fe2d3c39a + src/polar_sdk/models/orders_invoiceop.py: + id: 83c646d3826a + last_write_checksum: sha1:b238c7926f3e877f213580c2b55b2bf06984bcd0 + pristine_git_object: 2c9c5c85c8f1df40ea4e195e38e2435fe4129862 + src/polar_sdk/models/orders_updateop.py: + id: 593cdc7950f8 + last_write_checksum: sha1:0a132c027034084cadb6b9300d7443f0d0e29cad + pristine_git_object: 0c5dc1d0c8038b224f326650b8de093995417a06 + src/polar_sdk/models/ordersortproperty.py: + id: 50354feedefa + last_write_checksum: sha1:6e6f93d4431b2d28b672669a649cae54786b8f6c + pristine_git_object: c948d98c076045ff30f08d4d58cf30149ab7d2a7 + src/polar_sdk/models/orderstatus.py: + id: 013ba216e47a + last_write_checksum: sha1:488b165bbf5a86594f7ebd9230bd1c11d81278a8 + pristine_git_object: 18f41709a19599afe6fea1ca801f377759c74cb0 + src/polar_sdk/models/ordersubscription.py: + id: 94e85ed8947d + last_write_checksum: sha1:dd8cb230195651e25d4200479a25e7caa100a32c + pristine_git_object: 8fb6ee27fe73829dc2cc3359d24882aaa2ebbcdc + src/polar_sdk/models/orderupdate.py: + id: 39629194ce68 + last_write_checksum: sha1:7ea88c0f49a168764c0a9517376783dbec7dc063 + pristine_git_object: eaa79bda603b1ce56895e2b4a459c5178f0806b1 + src/polar_sdk/models/organization.py: + id: 67350fee25a9 + last_write_checksum: sha1:fba3cfce5931cc95951879f73924fb411dccc59b + pristine_git_object: 8d321a982bd332c73d6359c93583a9d3f0c5f313 + src/polar_sdk/models/organizationavatarfilecreate.py: + id: b55720bc5f3f + last_write_checksum: sha1:00e362e645cd496f758fb8807741c0308a525fdb + pristine_git_object: a57ac4b7cc8b957969c98fbb40b67096e9c305ea + src/polar_sdk/models/organizationavatarfileread.py: + id: 3c6ddd2915df + last_write_checksum: sha1:327ff41c9d02715cd7ddcc3bf386e64f9ac58b54 + pristine_git_object: a2254aa32a46e7729f3b473a27e5dbaa803af3c1 + src/polar_sdk/models/organizationcreate.py: + id: 72a2c433c126 + last_write_checksum: sha1:d79407a02fdde1cd009b1d99fada6e0dd498c51d + pristine_git_object: 20abcfff1262c847dd6f33185f5c459fb0fa1774 + src/polar_sdk/models/organizationcustomeremailsettings.py: + id: 43859771b5f9 + last_write_checksum: sha1:b0be4c655d64f2a84c24c4f21cc63972e90ab40b + pristine_git_object: 78005ed41ed6cc40cebe7a986c861aa65903062d + src/polar_sdk/models/organizationdetails.py: + id: 32e51c615d32 + last_write_checksum: sha1:77e5ac699f51d76de0f5be6435666fb53c30fe17 + pristine_git_object: 28cf5487107b0d77ebc541ac26aebe834c90cbf2 + src/polar_sdk/models/organizationfeaturesettings.py: + id: 99123c0340fc + last_write_checksum: sha1:b57693ecefb9deed0c8e2b3393ff57f7dcaba967 + pristine_git_object: c4e2aca16e2a818ecca37f786f9f2b5f1a4e97ea + src/polar_sdk/models/organizationnotificationsettings.py: + id: aabdffec2a98 + last_write_checksum: sha1:d56d2a800ac2800e155ca918ff4e6765797ee3ed + pristine_git_object: a347944f6f083d78340736da735080af3930052a + src/polar_sdk/models/organizations_getop.py: + id: 8c861ff06ae9 + last_write_checksum: sha1:022214ce77271823d20259056dcd5b7c735784b3 + pristine_git_object: 4904519dba98d699491a2342a3ee62653699217d + src/polar_sdk/models/organizations_listop.py: + id: d1f42542d426 + last_write_checksum: sha1:6cf72f47f616d5e3b78bb275777f193be1d434c6 + pristine_git_object: 79c04111acf5c625682de91b3f2c9ed613943f1c + src/polar_sdk/models/organizations_updateop.py: + id: b6886ae6179f + last_write_checksum: sha1:72c55e5db5118c070007c07b21224d75668c2f0c + pristine_git_object: 9be150b4d398d3db599602e8870af53e53b18823 + src/polar_sdk/models/organizationsociallink.py: + id: bf78185a2930 + last_write_checksum: sha1:97a6ede8a4f9f263548b4c2e6999c19550044c7c + pristine_git_object: 5b6a045e982b7cf8558948d7602e3e4bbc4b550a + src/polar_sdk/models/organizationsocialplatforms.py: + id: eb22be26d1f8 + last_write_checksum: sha1:4837853339086914867f97f321250614ca55ab55 + pristine_git_object: 0aba5a21a9ac689ba259896fb1baf7de07cc0bf7 + src/polar_sdk/models/organizationsortproperty.py: + id: 10b08ecb675e + last_write_checksum: sha1:66e31e5bb02cf397e53af46fee2505eb38f5bd95 + pristine_git_object: 69020ffdcb365b9c91085df5f728ce52aa3f8310 + src/polar_sdk/models/organizationstatus.py: + id: da6dd7057d12 + last_write_checksum: sha1:21e4cab51469d737b152a0e319808f787c03a93e + pristine_git_object: 74a3cc7bbdb4999ee44411ad10ac284128b70627 + src/polar_sdk/models/organizationsubscriptionsettings.py: + id: a3e4efdb36da + last_write_checksum: sha1:73a282ee26583928dae0e91c03a6e9941be37a75 + pristine_git_object: 32949981ec166044964bc00a4fed9e5693ef1200 + src/polar_sdk/models/organizationupdate.py: + id: 6d4f6a61febd + last_write_checksum: sha1:f59613d57d6d8366468794fc154de63cf68682e1 + pristine_git_object: c881cd053b2a8ebb228f5d80294f5560c6dbc27f + src/polar_sdk/models/ownercreate.py: + id: 033c779e61aa + last_write_checksum: sha1:53722c6f7f15c9514fb79d020dfd73d997652354 + pristine_git_object: 58f315b32b7bdc48b8cdf2ac35306bb8efa8eda8 + src/polar_sdk/models/pagination.py: + id: 21fb4ff7c0dd + last_write_checksum: sha1:88b8cafcf8bbbb722ffc53957982fecae18d95bf + pristine_git_object: 731c397a074c1f807506f49268ce31bbf9380662 + src/polar_sdk/models/payment.py: + id: 709c3a8ab3b2 + last_write_checksum: sha1:95ba3eb59845c7d7f9a805c08f11775c2598e0bd + pristine_git_object: aa30665184272cf2689e54810d5f059284d2b926 + src/polar_sdk/models/paymentalreadyinprogress.py: + id: d978b6050681 + last_write_checksum: sha1:6d4d27f747bfaeaf88abe126e7171ee2bce8bc7f + pristine_git_object: aa438b6defadb1beb2e2faf56e3e97e55717ba26 + src/polar_sdk/models/paymenterror.py: + id: a8020bdc23b2 + last_write_checksum: sha1:c042c55d474e9605c737b63cff993903d1667378 + pristine_git_object: 76a74cf2c32e8d74fdd932d061f03d747177b495 + src/polar_sdk/models/paymentmethodcard.py: + id: 9f394ed49943 + last_write_checksum: sha1:cb8767338ddfcee877b2407ba38cb653b4005d64 + pristine_git_object: a38ab2a3ae6554d95a0db398bbef12d788b12046 + src/polar_sdk/models/paymentmethodcardmetadata.py: + id: fdee4c01aa87 + last_write_checksum: sha1:5c608caad96206574d35fe84de96da97792ae3d1 + pristine_git_object: f3d2bbf4fe9733c07c29a40c40565b74645256eb + src/polar_sdk/models/paymentmethodgeneric.py: + id: d41650f355ca + last_write_checksum: sha1:c67ec0420907792a8a7ee9471c998d83675ebd1b + pristine_git_object: ab3bbf9175fb747efb08f9d23226cd7ded0b9aa2 + src/polar_sdk/models/paymentmethodinusebyactivesubscription.py: + id: ccdcdfef5eb1 + last_write_checksum: sha1:7502b5ff6e5fbf62a30477fbd7c3506049933b03 + pristine_git_object: 2dd4974bf2d9cf13aadad5047fae6af0ebc09bab + src/polar_sdk/models/paymentnotready.py: + id: b817f9085570 + last_write_checksum: sha1:d209cbf84f5605a5c90bb3b15962ed04284743d2 + pristine_git_object: 4aa943edf8c8c7b9d9518ab616c5802e79cdb301 + src/polar_sdk/models/paymentprocessor.py: + id: af50624a3392 + last_write_checksum: sha1:0d13cb93ddc41e61f1ead8116b283ce0cce78070 + pristine_git_object: 108f008a4677099bda28cb6e7bb5a511d0b2a8c0 + src/polar_sdk/models/payments_getop.py: + id: bdac7ea81f76 + last_write_checksum: sha1:8fe3be2c7cef991aa96ffe23a6c21a6baf18c1dc + pristine_git_object: 7ac14b2fc9c6ce6419658daf9a6aa43cbb4bf55f + src/polar_sdk/models/payments_listop.py: + id: 88d1ae39538a + last_write_checksum: sha1:f4eea73f762629d8b1e0455321429f8b9dbe7c9c + pristine_git_object: f3c48320c8448c7b80735f7d75cbe4fde7a1e1e5 + src/polar_sdk/models/paymentsortproperty.py: + id: 70d57120d095 + last_write_checksum: sha1:2803a0c85f1046a5e19a3f7f136d789e5b0ca439 + pristine_git_object: 1fdfa40e84dc23863a5d5d0a6fe1bbfdf7fd10ea + src/polar_sdk/models/paymentstatus.py: + id: 93283859cffb + last_write_checksum: sha1:244c8b0d56fc98007d9b0a8d2a58b43367a2ad38 + pristine_git_object: f068a5b0aac532a3356c6490bef6148b697dbdd0 + src/polar_sdk/models/polarerror.py: + id: d21045662c22 + last_write_checksum: sha1:d09a746165d04c355e8bad3d060c49766ca58b32 + pristine_git_object: b9170a05634d780e76418e720dbd4eaa0ba830b6 + src/polar_sdk/models/product.py: + id: 21a545a3b4ba + last_write_checksum: sha1:8cd405c75423a7b36bcc049d8489713e982252e7 + pristine_git_object: c7c59068e0c5c0fc70d522e458e807eae3614e70 + src/polar_sdk/models/productbenefitsupdate.py: + id: f4bdd38146bb + last_write_checksum: sha1:14900af3b1200e10fb292f5ab862d69ec1714ae9 + pristine_git_object: 39b33ea8000fba63288892cc63fecf8204953329 + src/polar_sdk/models/productbillingtype.py: + id: 3c254c0161db + last_write_checksum: sha1:e0a1b5b2e76bb1160f21d7764f0a8747f9974b06 + pristine_git_object: 61d83d07d8d7886540143c54733635cda7b7bb91 + src/polar_sdk/models/productcreate.py: + id: 3aa243d2b697 + last_write_checksum: sha1:b4b0e18f2d9e0a3087f41f0f3d0c2367e4a3b066 + pristine_git_object: 064ea7ebd4377489c07266ee33b20d69527efde3 + src/polar_sdk/models/productcreateonetime.py: + id: 9b1559783ed1 + last_write_checksum: sha1:3b698071d89d68b0bdf890a0d096025dbcf3d791 + pristine_git_object: a3bc3d5831e25b2cbba4fbfb3c6b9f2d3a221087 + src/polar_sdk/models/productcreaterecurring.py: + id: 5f1b24979a74 + last_write_checksum: sha1:d268b92eec05fcae58e5f867a9b33ea6c5e6dacf + pristine_git_object: 2c129f53f7ebb16d6cb228c475b44cf2a639eaed + src/polar_sdk/models/productmediafilecreate.py: + id: bdce557999cc + last_write_checksum: sha1:c8b8b081038b56643b534e71ae092d0761bb3851 + pristine_git_object: 893006a99580d7e58247f80e837f779fdabef273 + src/polar_sdk/models/productmediafileread.py: + id: 13c3708bf309 + last_write_checksum: sha1:9ff73c18c1da4a9e4654f075c42f813e4571aeb3 + pristine_git_object: 3e57a3da86302544ee837c274f23b81d008d599b + src/polar_sdk/models/productprice.py: + id: 7597850c3d61 + last_write_checksum: sha1:deba88672818ace880c0fb36eb7fb3ed155915b6 + pristine_git_object: a95e3503f41101eca14d0e70ca78900f7f72a219 + src/polar_sdk/models/productpricecustom.py: + id: e59b991141b5 + last_write_checksum: sha1:7e633de713c3e7c5909aca8c3f0887de7e61a63b + pristine_git_object: 5a0c02bb8e7692970f64898159aaefcaefb7cc5b + src/polar_sdk/models/productpricecustomcreate.py: + id: c15ac1a8b46c + last_write_checksum: sha1:ec937cffff95fd7ffdbb3865da366a8236fcbfd1 + pristine_git_object: c68d4fe6188e80c8499d44a3f491e7944c93730b + src/polar_sdk/models/productpricefixed.py: + id: 49f41ece6195 + last_write_checksum: sha1:b2edb2b17d2314d9e74afd3cf7158228ea80dc19 + pristine_git_object: 5c100c21d15119fafb378c058195e66e636f3972 + src/polar_sdk/models/productpricefixedcreate.py: + id: c64435565cee + last_write_checksum: sha1:13df02026c469c5cd3937a05e99bb1c352ee4f21 + pristine_git_object: 5c63d90b2adf22dd54cd56adafedfabc3687f49f + src/polar_sdk/models/productpricefree.py: + id: e40de19cf453 + last_write_checksum: sha1:1df37f7edf74cd456445d4c2f7d474c8da3078de + pristine_git_object: b91200ddac2da9fd44475ed1b662817c1ec609ab + src/polar_sdk/models/productpricefreecreate.py: + id: 9d4387672315 + last_write_checksum: sha1:8a3660cfcb1f12408246fa74bf37cdb2b994e054 + pristine_git_object: f6d6aa6b5794d2fc7549bb09a134182a337a013e + src/polar_sdk/models/productpricemeter.py: + id: 8a2387c9fdc8 + last_write_checksum: sha1:5fbb6ea55768826cc63e705a5689f430e284d580 + pristine_git_object: 7d00ad67b5cdf9a4ba286132033e1328bc9422ac + src/polar_sdk/models/productpricemeteredunit.py: + id: cd4ef5b38d1f + last_write_checksum: sha1:73d670e8ec1ff6dea6869a7fa9d820b7c25823af + pristine_git_object: d5943d9f612feb5c4648e588e530013c812d1d7a + src/polar_sdk/models/productpricemeteredunitcreate.py: + id: 4b30a9cdd4a8 + last_write_checksum: sha1:0533b4e805deae576428506f526d89537fde003d + pristine_git_object: 2e938541fca63d23f794bf7a3226d8112feaf8b6 + src/polar_sdk/models/productpriceseatbased.py: + id: f9fff6330d27 + last_write_checksum: sha1:622fbf0de97e39d7f5d59a7d7e0baeaddb94fa8d + pristine_git_object: e37e2ee3371a8a73ebd1f92ce60f9eaaee578de9 + src/polar_sdk/models/productpriceseatbasedcreate.py: + id: e668f707cd34 + last_write_checksum: sha1:5297a76586726ace5ac18c2d89dc102a9fdfa9ac + pristine_git_object: 28c3b399d89d648436121c3fa6e0d82b231bfa9c + src/polar_sdk/models/productpriceseattier.py: + id: 90891b8064dc + last_write_checksum: sha1:d199502771cfc0b386c21a668d24231a9103e3a9 + pristine_git_object: 9672f88a2b9c3d2bfbd19a0bc4a74101516ce861 + src/polar_sdk/models/productpriceseattiers.py: + id: ff1a96e0ac57 + last_write_checksum: sha1:8b2f6d74c51e86f674bc3a8c864337c8f7d028bd + pristine_git_object: 8bc031cc7f207c1297bc0674d6d516389999bf1d + src/polar_sdk/models/productpricesource.py: + id: 3b7979949e60 + last_write_checksum: sha1:65c3c145c1e3f13ba690357a5df9fb5b7065843b + pristine_git_object: c8840008d72571589da4f469f521685ef871c935 + src/polar_sdk/models/productpricetype.py: + id: e2c5f8bb927c + last_write_checksum: sha1:5552378017aa1b6c829fb8c437823fe22ffbe508 + pristine_git_object: 6a63fe25599659ce5d4bdceddc6320f176e3428c + src/polar_sdk/models/products_getop.py: + id: 2b4e4b890f23 + last_write_checksum: sha1:6068190a7f9fbd45ecb858eb7643e77aad140404 + pristine_git_object: 6a225d309d8bf353fd1213877566b7aa65173930 + src/polar_sdk/models/products_update_benefitsop.py: + id: d06c7198371d + last_write_checksum: sha1:5a5a2dcc8b782c8b701dcef799b1ea904a07aa5f + pristine_git_object: 33c4c4e30369050f1f9df7ac35a52d894e209148 + src/polar_sdk/models/products_updateop.py: + id: "078255437051" + last_write_checksum: sha1:799943a36d3f0d3dea51f090a04e982500c1d827 + pristine_git_object: b028b00020359ef9fc7ca7a7d838091861a3a6e7 + src/polar_sdk/models/productsortproperty.py: + id: 755bb30474e4 + last_write_checksum: sha1:e2721f46be9707be06b4842fccc6e38e3d98f890 + pristine_git_object: 45d0114f38fc5822f6587bfee20ea645b6cdc6cd + src/polar_sdk/models/productupdate.py: + id: 9e70fc519350 + last_write_checksum: sha1:8a91ef5512437d2060c45dddf80390c1e1ed38df + pristine_git_object: 1e6b0a851f524f5de769cc62d0cef1d4b48141be + src/polar_sdk/models/propertyaggregation.py: + id: ff84214ac95c + last_write_checksum: sha1:b33f6537fcaefbca69f345a2a1645322d6c9e139 + pristine_git_object: f66f5935f1bdf01e0943739673c7d3eeb78c73aa + src/polar_sdk/models/refreshtokenrequest.py: + id: 07f0aa9b3df3 + last_write_checksum: sha1:187828f238ba0bed9db0879a40eb57be1661d502 + pristine_git_object: 22afb0bc3d1c7bfb132b0a74e8d1dd8469b0ae29 + src/polar_sdk/models/refund.py: + id: 2cb42022772e + last_write_checksum: sha1:7f10d1565cccd3636d50c33a52c72c496fe19cad + pristine_git_object: b369e604d2c9fa2ca35a53288561ce4bf477f44d + src/polar_sdk/models/refundamounttoohigh.py: + id: 0b0f2986ce38 + last_write_checksum: sha1:b583535f4dbf022a99228056d917a706d07d310d + pristine_git_object: 3db8efd2fb6de40c35cf5e45a4b398c6d69b5627 + src/polar_sdk/models/refundcreate.py: + id: d67ddad3fa7d + last_write_checksum: sha1:19575448012721dda035f0600424882a912cee98 + pristine_git_object: 00da3ccb92111e0b4182ac154d95c1875a8e6a97 + src/polar_sdk/models/refundedalready.py: + id: 585b76ac4027 + last_write_checksum: sha1:772c62f77850ea641b70c2609e5d3749293f5a53 + pristine_git_object: 0860c0ec3dec91115bb1a4037d1d37741c0be1ac + src/polar_sdk/models/refundreason.py: + id: 467aab27da65 + last_write_checksum: sha1:8d6f8e648c4e594d0842d92ac77a8ce32cc78732 + pristine_git_object: 7d8b5779ed6ddd913dc5efd37ab83d90b2ecfd9b + src/polar_sdk/models/refunds_listop.py: + id: 320892b837d1 + last_write_checksum: sha1:25d13f96f80127b5b78547777a396e4d2a2a1b1d + pristine_git_object: 390cf8413c33e96687fc4512116f6125bbf43596 + src/polar_sdk/models/refundsortproperty.py: + id: 9958930ff23a + last_write_checksum: sha1:ccf3ae04b4bebdfa2b9d2f02460212da8411bcf5 + pristine_git_object: d9859e7edb152ff7c0505655f976aa3c9749815f + src/polar_sdk/models/refundstatus.py: + id: 52a79f42915f + last_write_checksum: sha1:ab0c630f6b6415680b3223d0d818ec4998550aeb + pristine_git_object: aeac7f7afba8c3d281a51dbad31d4427077238e1 + src/polar_sdk/models/resourcenotfound.py: + id: fab81dc937e5 + last_write_checksum: sha1:20af1fda64e41ae10fee87395993a3f875736c4c + pristine_git_object: e980c45361e11facce28a2f69b1da967f43e10b8 + src/polar_sdk/models/responsevalidationerror.py: + id: e59daae2def9 + last_write_checksum: sha1:3a3412bb88b2c242eaa7ce256d2a4f354f1d6086 + pristine_git_object: 8509919d3ff60cd4dda050dd7dd67680dcd044b2 + src/polar_sdk/models/revoketokenrequest.py: + id: d8af01fa4d22 + last_write_checksum: sha1:bd8705c7eb9b260de9bf84db13e2c10e38a8a1c8 + pristine_git_object: 91a1d1ca0b78648547505325f564be4bce2d177c + src/polar_sdk/models/revoketokenresponse.py: + id: 588283e577c7 + last_write_checksum: sha1:fa928c0ba07919b153110b5c6e94352152fd8a74 + pristine_git_object: 0d56bf746aae7405680932c6d669e65314eb11a2 + src/polar_sdk/models/s3downloadurl.py: + id: 482b0034beaa + last_write_checksum: sha1:f2b0a4875f75558bb055094929a5c4ffe1242c7e + pristine_git_object: d7c649ef5784f9f2799e9c34be9e3b6aa9f8d6cd + src/polar_sdk/models/s3filecreatemultipart.py: + id: b4323406d42d + last_write_checksum: sha1:a57be517cb18dc7f8b12af30ba13af2fcc871b51 + pristine_git_object: 9bc74da03811da0c50bce66d22083389be1bb223 + src/polar_sdk/models/s3filecreatepart.py: + id: 1cd916ef2e26 + last_write_checksum: sha1:e4f9c1da42eee23db7a4a022f9bad46ac89bad6f + pristine_git_object: a4ff248076dd5c431ed3aa16fbe51044a717154b + src/polar_sdk/models/s3fileuploadcompletedpart.py: + id: bb3891e48156 + last_write_checksum: sha1:78e7476c55682cbee380d2e6828eb67e08542dcf + pristine_git_object: 836a2eee1760cc525809c907c6244b25f4c34aa5 + src/polar_sdk/models/s3fileuploadmultipart.py: + id: bed367e1350a + last_write_checksum: sha1:fa95362408ffdb7ab87661a0e172e498e14fcc68 + pristine_git_object: ecc391da820e0020b415951606a1ec521ebd6bd8 + src/polar_sdk/models/s3fileuploadpart.py: + id: bee8b55d4fe4 + last_write_checksum: sha1:3ab0543e86567d119abb3748992f1652f7bffff9 + pristine_git_object: d1f2a624230e3d9df9ee7241e4e04f0c8bd3abda + src/polar_sdk/models/scope.py: + id: 1b46319c8679 + last_write_checksum: sha1:035e04fa88dd8308b90526b937644b5372e7c1a7 + pristine_git_object: 1d33327bc0d5071ddec2376cc41643d1b0c8438c + src/polar_sdk/models/sdkerror.py: + id: c9b3855bde1b + last_write_checksum: sha1:409dc5170c233e828971025155f631c8e49dcf70 + pristine_git_object: 38d52cf007ca3b11868997d537a5c98a7928a7ba + src/polar_sdk/models/seatassign.py: + id: 8bc05838d882 + last_write_checksum: sha1:07086dff07244752ae10a8b45bb07d11accca537 + pristine_git_object: 402158bdb69e071c911b89401c720f28b019d3ef + src/polar_sdk/models/seatclaim.py: + id: 6b1b69add5d6 + last_write_checksum: sha1:8a01e747e2fd9f23c37f0f3a92048b2cea4de4a9 + pristine_git_object: 940a2eef12177f06062cd3bee5f3a8dccf43d779 + src/polar_sdk/models/seatclaiminfo.py: + id: 40055f63e760 + last_write_checksum: sha1:e57ee1e3e5b31bdbd92155d4a97095b57664ce9c + pristine_git_object: ebf7a3d27dbdb32285ea3793ad8cd3e8c99ebacc + src/polar_sdk/models/seatslist.py: + id: 829a890e0e60 + last_write_checksum: sha1:f4c3cfec43bf46c0b7fbbb7eb2c875275daa6b4b + pristine_git_object: bcd90ec627937cb847ac9422304501a979f4fa2b + src/polar_sdk/models/seatstatus.py: + id: e357f7b33246 + last_write_checksum: sha1:a91c6d12346d716a73864352225cd5e8de5c89bb + pristine_git_object: b9f6d322070ff91b326a8fb2d61b552162a5df21 + src/polar_sdk/models/security.py: + id: bf94381e1b1d + last_write_checksum: sha1:c2457f810682b08fc6f533c31154c7b86a48dcc7 + pristine_git_object: af30905641298fcbbc2bb38d5317f7bf591eee2e + src/polar_sdk/models/subscription.py: + id: 23757f442eb6 + last_write_checksum: sha1:b2ce82f63f68b9a71650af12f36ddcd3dcc1d102 + pristine_git_object: 21ffca1314b9b53cab0f66dba32e1c5a84bdc9bd + src/polar_sdk/models/subscriptioncancel.py: + id: 96cdb1e926c8 + last_write_checksum: sha1:3c82cbfdfc22fd208ab9441fb690f9b24f1a7568 + pristine_git_object: 70929c112b0df6ee189c4379d15dd6fd1b341574 + src/polar_sdk/models/subscriptioncreatecustomer.py: + id: 28c8dd039f47 + last_write_checksum: sha1:1a3c05e7bede3dc3124e2646d1af932257b6cc61 + pristine_git_object: c59a1e4b0c1e352d577b6952ac185815c917998d + src/polar_sdk/models/subscriptioncreateexternalcustomer.py: + id: e4586ea4b481 + last_write_checksum: sha1:ab8aad53692fb0ee005c96ca071f14b8b86c09c6 + pristine_git_object: 47652dae80a1b5b7a39d5bc5e7ff73028170f5a5 + src/polar_sdk/models/subscriptioncustomer.py: + id: 797adfc94058 + last_write_checksum: sha1:a0b5d039cd980d2098f3604df82b5866cb443aab + pristine_git_object: be52329c299cc83bdd26f982eeba8841b41663af + src/polar_sdk/models/subscriptioncycledevent.py: + id: 7cc18651fb5b + last_write_checksum: sha1:140990166d9c91f86cc61d419d278da80422f66e + pristine_git_object: b098ed78aa4214a180f22c4b950b46c3af4e3355 + src/polar_sdk/models/subscriptioncycledmetadata.py: + id: f4a47c83c5a4 + last_write_checksum: sha1:6108bd104761db6bcda0a7345476bcf4c7f86c86 + pristine_git_object: 92710025a91821af9526e36a4d18fcb8ade420ab + src/polar_sdk/models/subscriptionlocked.py: + id: c63af685677d + last_write_checksum: sha1:6e854a83bd0309086d6cbcab5498b0d12ed10ddc + pristine_git_object: f96b002819d62d50bcda0dff22db1f2834662e8f + src/polar_sdk/models/subscriptionmeter.py: + id: 1c9d82863dc3 + last_write_checksum: sha1:55f816b606191391a7c76762b7c96ea48b53ba5f + pristine_git_object: 8cbb97c8a9fed11b12dffc70990421cfa5eee3a3 + src/polar_sdk/models/subscriptionproductupdatedevent.py: + id: cee5e8d39a54 + last_write_checksum: sha1:f6d43440e580f8a70b9933bbba6391376125c044 + pristine_git_object: 5759b04778d92dd49ebaaf6f13e2304055571abd + src/polar_sdk/models/subscriptionproductupdatedmetadata.py: + id: 3b906b516c1d + last_write_checksum: sha1:30d2e991818d04c91325383c3389481f400fe4fc + pristine_git_object: b0ca21dd838658871c924a61ca271f16d6e8265c + src/polar_sdk/models/subscriptionprorationbehavior.py: + id: 3cce725ada19 + last_write_checksum: sha1:45f75b863800998be9b5bb1ee19fabfd1b2063f7 + pristine_git_object: 12679ec90ccfd5af8e141008f23dcab0ba82c7fa + src/polar_sdk/models/subscriptionrecurringinterval.py: + id: 36e80f4938f6 + last_write_checksum: sha1:50e3c8d161461516c61f3e5ff97fe69ce52648fd + pristine_git_object: 39886b16cca74dde3bc5931b802f82b96f210107 + src/polar_sdk/models/subscriptionrevoke.py: + id: aca05482afcc + last_write_checksum: sha1:8821c20863f10ff418fa42194b951e4366d3ba3a + pristine_git_object: 33f083a5a809fb2edcc723744f64235e4d65138a + src/polar_sdk/models/subscriptionrevokedevent.py: + id: 6c92dc2548bb + last_write_checksum: sha1:5fdaab4723ed1c47ab785598cdb2a4a0690b04ed + pristine_git_object: d8aca20deafcd54c13a8e38cca7f9761939d24eb + src/polar_sdk/models/subscriptionrevokedmetadata.py: + id: 00443d64332e + last_write_checksum: sha1:c7245198390e13c77fe926efee4fc3eb7369d036 + pristine_git_object: b528701234aa2929bdffcae1f6a36a6cea63d7be + src/polar_sdk/models/subscriptions_createop.py: + id: 054c53958181 + last_write_checksum: sha1:0349d35d1705760189f0e0d394fecb8dc85a0ca9 + pristine_git_object: 4c8bd3b19acd2d16b8af9d076256e73a40c05f85 + src/polar_sdk/models/subscriptions_exportop.py: + id: 5597e2c9250b + last_write_checksum: sha1:25a1430f4e53cabe0f38aff2d5d572e6f8a9cf46 + pristine_git_object: 0912c430f919d46ad338d59f2384180b13fe6c52 + src/polar_sdk/models/subscriptions_getop.py: + id: 8ec5d01ab5ac + last_write_checksum: sha1:74872cc7de547940f4189bbabea5d8d4803837e1 + pristine_git_object: 53573e55d7bf56effb35fc18aa50455642b19340 + src/polar_sdk/models/subscriptions_listop.py: + id: 9f21ac529669 + last_write_checksum: sha1:583e7247b2d30654839475063bcfd14e4997d33f + pristine_git_object: a59f75d44b3493a7021a0d76bc32bea12f64690d + src/polar_sdk/models/subscriptions_revokeop.py: + id: 2b1b889fbd2c + last_write_checksum: sha1:e1ca41a0bf57c37d748d641ca62cea7b71509537 + pristine_git_object: 4533ba3404fbcdcc4ac9286fde517c2bfad6a497 + src/polar_sdk/models/subscriptions_updateop.py: + id: 802ce1ee75a4 + last_write_checksum: sha1:ff18a56bf7c112d2e83ccd47faded468b6a9f909 + pristine_git_object: 93a43d29c239582ef049591a44bf8cfe3b46d312 + src/polar_sdk/models/subscriptionseatsupdatedevent.py: + id: 91639013b968 + last_write_checksum: sha1:0dafbfafd46d0672eedab6f2672c793bad68f3d1 + pristine_git_object: c0172baba28bf6ae62e375c466af1eefc22d4b99 + src/polar_sdk/models/subscriptionseatsupdatedmetadata.py: + id: 168a6df69f4f + last_write_checksum: sha1:7c8fc6e1f8e184e4d6da398479992ef12c7ca389 + pristine_git_object: 983bce85d752afcd029ede979ac34b734f94f5a4 + src/polar_sdk/models/subscriptionsortproperty.py: + id: 47293cfdf318 + last_write_checksum: sha1:125bc89a329c66f5467851cc617e0b791f903a8e + pristine_git_object: 6716520e4846e338be5737f67206babb97facdfb + src/polar_sdk/models/subscriptionstatus.py: + id: acde88d0bc1d + last_write_checksum: sha1:12826115098b849f2c68b0157cc50fbbe4182d9f + pristine_git_object: 6849868b4f496cbb4714fb050eff132d711ee267 + src/polar_sdk/models/subscriptionupdate.py: + id: e0a897860af1 + last_write_checksum: sha1:c5faebbb62c14dc30183f335c15c905548b29761 + pristine_git_object: 9cbed2bf59a3d926eab493ff775cfbaba3d363e0 + src/polar_sdk/models/subscriptionupdatebillingperiod.py: + id: 8a130ca7bc7d + last_write_checksum: sha1:14e13164b3368347436e821d11f046954a9b107e + pristine_git_object: 629143712d09a26fdca8b10e7f8897cae56aa983 + src/polar_sdk/models/subscriptionupdatediscount.py: + id: 918b916ef38f + last_write_checksum: sha1:9e080005deaa9ed7aca7523467043b592ed86815 + pristine_git_object: abf7aa2a90d92062204414bbbda94e296e601aee + src/polar_sdk/models/subscriptionupdateproduct.py: + id: a7e1783926e3 + last_write_checksum: sha1:8484e741fd27b23c176306c2e40ccf1d737cc22e + pristine_git_object: 83411457ca9f85febc1c51b160fb7bf584d01ddd + src/polar_sdk/models/subscriptionupdateseats.py: + id: 24f0515b3a57 + last_write_checksum: sha1:0f3be09b68d1bf0667355ea73397c5d86b7a79e9 + pristine_git_object: c01226137126b324f5fcddbcd6893062e49eed91 + src/polar_sdk/models/subscriptionupdatetrial.py: + id: 1b37150c12dd + last_write_checksum: sha1:9ba0b16200398ea5875e33ae777ff3295259dfee + pristine_git_object: 4dc1624674faa07dd667ad6eb22e6f65f0ed7dab + src/polar_sdk/models/subtype.py: + id: b6d96b967a16 + last_write_checksum: sha1:af98f25883c063ee99b2a99ec3e7fb8c5af32957 + pristine_git_object: 554ce21c0a689b36b32c2036ef0e02a6dd7efe5e + src/polar_sdk/models/systemevent.py: + id: 30795b6ed361 + last_write_checksum: sha1:82838d49d48794f338432bc4861140ee1f2e889b + pristine_git_object: 696c1c099c0719516a2a594b7552b5818030cd2a + src/polar_sdk/models/taxidformat.py: + id: cee141451e59 + last_write_checksum: sha1:4685423a4e360639e0e01b75e1d34dbdb800ae5b + pristine_git_object: 1865793e9b877d488d7ad428b259c9aa62c822ff + src/polar_sdk/models/timeinterval.py: + id: a4c8565786ba + last_write_checksum: sha1:81b94d52df8f0e87d6fc770144d3d381fd9dee9b + pristine_git_object: fdd28a63c5fb45c940f0695f1f8bad36e107c68a + src/polar_sdk/models/tokenresponse.py: + id: 2f7455fbb4af + last_write_checksum: sha1:b0b7d69f18cb5af3c1921262a633573fd02899d5 + pristine_git_object: 78b9d72e88efb72cce94911270b581c7f6e1a70c + src/polar_sdk/models/trialalreadyredeemed.py: + id: 4a4e75f59b73 + last_write_checksum: sha1:4dbed3dc61c08b75e01dc1fa5dfc94a3e66a3d85 + pristine_git_object: f8d2708d9b9c2f551cf621b35429c4c795db5b93 + src/polar_sdk/models/trialinterval.py: + id: 248e473ef655 + last_write_checksum: sha1:28a8c1938e5f1bfd49365be314ece2c727ab7ac8 + pristine_git_object: 839196bd7df2a467ccd1756e8c8133556464624a + src/polar_sdk/models/unauthorized.py: + id: c0c259c1354e + last_write_checksum: sha1:5595e131c2d29bc9b21f4ce06c5738a0a9edbb91 + pristine_git_object: 981e36253b60ffdea68918ff84ec7d91719114ad + src/polar_sdk/models/uniqueaggregation.py: + id: 5cd3e96a74b3 + last_write_checksum: sha1:3f696c077640d12fcf600e7e0d982117d4cf888f + pristine_git_object: f60bb6bf376a614e535a4d2ce4ea289bf107a3ef + src/polar_sdk/models/userevent.py: + id: 92caf8c52fc9 + last_write_checksum: sha1:0e7e0cce8cc565afcfb41820635cffdf63d7af7d + pristine_git_object: a262f694f5c764dc4d7f43918927f539bd6ada2a + src/polar_sdk/models/userinfoorganization.py: + id: 04683c6ad763 + last_write_checksum: sha1:16547f3ccd95a214299653765593df050602ce05 + pristine_git_object: de27ac9579cfe7f1662f4a40bb3ba940efd4ab17 + src/polar_sdk/models/userinfouser.py: + id: 359b2b7b26e5 + last_write_checksum: sha1:eb49917bdf41a7b9856e2acb1862ad1be5130e71 + pristine_git_object: 453877fb242b3d81a113bfc4f40a6d34c08b3e60 + src/polar_sdk/models/validatedlicensekey.py: + id: 88ad9870d7e2 + last_write_checksum: sha1:5c883f3fe6949c8eda93b3303e28c80394b24e2c + pristine_git_object: 582504421ec222dedb124e283d0741c1e86d1d48 + src/polar_sdk/models/validationerror.py: + id: e12babc6f9f5 + last_write_checksum: sha1:fba5ea5d678f61f883deb4989be782ecae42fd02 + pristine_git_object: d9760ccad95b5cda0898a14c2417d4683baed07d + src/polar_sdk/models/webhookbenefitcreatedpayload.py: + id: bf771f15fe4b + last_write_checksum: sha1:ea6d30387d38b003172bc45e7a7638a18425ea80 + pristine_git_object: e89213da480169eee03ccfa9f3034c722b2b4ff2 + src/polar_sdk/models/webhookbenefitgrantcreatedpayload.py: + id: afa4a14a5ba1 + last_write_checksum: sha1:b1743f26d32e9da72b2e471c25d812f1fcf5f3a9 + pristine_git_object: f94b24cc3a170b7c8718c22bf77c79c3560be4d4 + src/polar_sdk/models/webhookbenefitgrantcycledpayload.py: + id: 67630e9d9621 + last_write_checksum: sha1:fe13984541b966a8478d44b8dfd6b48707dbccb4 + pristine_git_object: 19a655a70c92e9934bc5296c35dca15aec7ba45c + src/polar_sdk/models/webhookbenefitgrantrevokedpayload.py: + id: a91597ddba6f + last_write_checksum: sha1:48956a70d3d9d1ac22dce3e2874a1159715cf751 + pristine_git_object: f3f3903b02bd77c29dc9cd5b8ef7fe143d633b27 + src/polar_sdk/models/webhookbenefitgrantupdatedpayload.py: + id: a60fd65dae38 + last_write_checksum: sha1:3ede05f3efbc51fd482608f3f4c8832b00b58f37 + pristine_git_object: 06412c6c55b4ab3e76dbd6a3300f2367afa7561b + src/polar_sdk/models/webhookbenefitupdatedpayload.py: + id: bdce5879351f + last_write_checksum: sha1:7dd75ba490172c64108dc17d4326e2641aafddbc + pristine_git_object: be8ba535aef5174c9efae942051674d455934361 + src/polar_sdk/models/webhookcheckoutcreatedpayload.py: + id: 5743a79e9493 + last_write_checksum: sha1:1850481e0e72ba036adf9b1bd902e38b35ce4a6e + pristine_git_object: ae5ffe4f80defa1d46d29e1bd9aba1c548273c18 + src/polar_sdk/models/webhookcheckoutupdatedpayload.py: + id: 1eb325eeac4e + last_write_checksum: sha1:52904650a72a482dbaefcbff33d798a6888c1ee4 + pristine_git_object: cdf80ff20b4398c5fb158dc25475b5f06558cfb8 + src/polar_sdk/models/webhookcustomercreatedpayload.py: + id: 0bf107a9bfff + last_write_checksum: sha1:1c67995ec49a8aab1919732689b5295bdcbe4cb3 + pristine_git_object: 077486b7a9b3aea4dd91250714d021a906508c30 + src/polar_sdk/models/webhookcustomerdeletedpayload.py: + id: 7e47af3a0d6c + last_write_checksum: sha1:e94b21f1bb481b8d5e9d65468bd81e4e24aa99c7 + pristine_git_object: 49fe772cbce69866abf7a27428e36a55001b50cc + src/polar_sdk/models/webhookcustomerseatassignedpayload.py: + id: e478e8bf60e5 + last_write_checksum: sha1:23d5f2b2eb5567cb9558b02fd57585f322385569 + pristine_git_object: fb0507a4092075f99e1431757c3708dd96540d97 + src/polar_sdk/models/webhookcustomerseatclaimedpayload.py: + id: f44b298c1bd0 + last_write_checksum: sha1:4c6c219a22ba20c54bdf30088e44fe667d542efb + pristine_git_object: e2ae16b15c2863cb5d8bb9e90160e2d736314498 + src/polar_sdk/models/webhookcustomerseatrevokedpayload.py: + id: 15cf5ec03676 + last_write_checksum: sha1:2192cbfe38553ace7a04bc7493ebe9e36e21e891 + pristine_git_object: d9ea587837ecf0ad3faf33102acda38eb02950a1 + src/polar_sdk/models/webhookcustomerstatechangedpayload.py: + id: 98a1bb113deb + last_write_checksum: sha1:4156286c7dd64fa3f41f0964ed3fe3e4e7e7db79 + pristine_git_object: 4800c629fb25854190494f4e4cfcaed10158abd3 + src/polar_sdk/models/webhookcustomerupdatedpayload.py: + id: bc086415e068 + last_write_checksum: sha1:8a73367a52909c6480dca099336d7848d4263c8c + pristine_git_object: c82ac93a0599d00d49b0054f5330c24db548c38d + src/polar_sdk/models/webhookdelivery.py: + id: a070fc1c1c73 + last_write_checksum: sha1:111fd71c136d61cd034599a16a863033c4b4f21f + pristine_git_object: 039d4fa1e5af663bf160fc7dee71340a12df2870 + src/polar_sdk/models/webhookendpoint.py: + id: 71dbb53b71f1 + last_write_checksum: sha1:478ced266fe8907390e6584fc1e86dbbe8716125 + pristine_git_object: 83aa9a30c5b224ee4502569579a35f92a53b0d10 + src/polar_sdk/models/webhookendpointcreate.py: + id: 3c08fa4569bd + last_write_checksum: sha1:b0398108821264d28240b6c64ed9616b17aa7ca5 + pristine_git_object: 12f026b91c909d0bfa8d9cf725aeb0cd05809afc + src/polar_sdk/models/webhookendpointupdate.py: + id: b5b57c7e56dc + last_write_checksum: sha1:f990556f58c0451c7c9c12a9dbf8c8d4bd5c3751 + pristine_git_object: 1f0d1bd23e12f0bfb7d9d63939aaa1ec7a3832cc + src/polar_sdk/models/webhookevent.py: + id: ead6ccf5ce3b + last_write_checksum: sha1:dfdf1c44f5aceb8a2aff6f336cf4ee70b139b726 + pristine_git_object: 64ae3ce8a36ceec16c8037415d868f5429809029 + src/polar_sdk/models/webhookeventtype.py: + id: 0be27c815e15 + last_write_checksum: sha1:e1aa892df3eb3e72abea28c9b3044162f1bf274f + pristine_git_object: 5105c5e35c40351619fb78197b9610f37e288ddd + src/polar_sdk/models/webhookformat.py: + id: e53105571cde + last_write_checksum: sha1:927942f68de60bc6773f031e2f7852216b0e517c + pristine_git_object: 6c02459c0a8559d39a692c10d594fec3ae9bfae5 + src/polar_sdk/models/webhookordercreatedpayload.py: + id: 9e1fe8eb9abf + last_write_checksum: sha1:b1e1700e7d1a889e1d414792c5133bc991574cad + pristine_git_object: 8b9ad65c6194fd5596698cc79c5911c6b278b3f7 + src/polar_sdk/models/webhookorderpaidpayload.py: + id: f7236a2dfbbf + last_write_checksum: sha1:b6b6b88c46779296ad68fc146ab1eebb308c0906 + pristine_git_object: 48a87dad6db915dee16ec8017ddb3cbef77abea4 + src/polar_sdk/models/webhookorderrefundedpayload.py: + id: c677247ce583 + last_write_checksum: sha1:32f4953a2f68b42eb6013fea8fb435d77c411607 + pristine_git_object: 48d225ac678fb576fbe1b9e2e9c09b93ada76a4c + src/polar_sdk/models/webhookorderupdatedpayload.py: + id: ab88b2bf04ba + last_write_checksum: sha1:6f4fe6c0aa14dc2dcb55fc150df3eadc4a49b6fa + pristine_git_object: abf764b893b94727ae3b7c08ff7ef3cb41de060c + src/polar_sdk/models/webhookorganizationupdatedpayload.py: + id: 155179022b51 + last_write_checksum: sha1:a5af5e58b27d8f88d912a1ea66c852f85b841c17 + pristine_git_object: 8120fb6ba4487dd1da131ba405fc8378e60e3d5d + src/polar_sdk/models/webhookproductcreatedpayload.py: + id: f48af385d32f + last_write_checksum: sha1:840f16e043941a256e8a2c5a08c0d616757127e1 + pristine_git_object: 3c178e6994a5593e6842e66e8678b996eff2d959 + src/polar_sdk/models/webhookproductupdatedpayload.py: + id: 131c8ce55102 + last_write_checksum: sha1:274b5c2bcda7ef45a7f81360a4198115322aa6d9 + pristine_git_object: 8642039fa2346201e41eef51f5f7e1036ff7f363 + src/polar_sdk/models/webhookrefundcreatedpayload.py: + id: e1819c51f1c2 + last_write_checksum: sha1:094a3c39514437a4bce03c2c1a73832ab31f0e4c + pristine_git_object: bca223874b589d4069cfaaef03b89e130d9dbcea + src/polar_sdk/models/webhookrefundupdatedpayload.py: + id: 78af008bb825 + last_write_checksum: sha1:301fe6a294a730208b3ecc75f2bb006d0bd948a8 + pristine_git_object: 012fda766af377d6384b96914588d5a31d7a5f2b + src/polar_sdk/models/webhooks_delete_webhook_endpointop.py: + id: 55203e230844 + last_write_checksum: sha1:8d54305e9a3fadc141c4a86c6d38c2ee45a0d345 + pristine_git_object: 9bbe06c783b122119009a0a8525077ac6b583663 + src/polar_sdk/models/webhooks_get_webhook_endpointop.py: + id: 0142ddc4fb75 + last_write_checksum: sha1:136b022727928bc455892c2edbee686bebad7f14 + pristine_git_object: d0fa62f6f026720961438e7aaa224c0b9e37f9e6 + src/polar_sdk/models/webhooks_list_webhook_deliveriesop.py: + id: 555b95291228 + last_write_checksum: sha1:b46facc557e1e13764ad9634e1ae5e77d088afbb + pristine_git_object: 7c8fad924fbdc35c4f3630ba686b75940d99972a + src/polar_sdk/models/webhooks_list_webhook_endpointsop.py: + id: be90fb7b21b0 + last_write_checksum: sha1:cfe253bb11f6832ca5565ea29ddbf7992623a802 + pristine_git_object: 2c06f03e5235cd0f3ae18d3f7b5d89b11361046c + src/polar_sdk/models/webhooks_redeliver_webhook_eventop.py: + id: 3252532f9341 + last_write_checksum: sha1:30f415a8f22ebbf090dc6475af51353f406d562d + pristine_git_object: 36cbbfd6f597fff62f2260dbbfe1af326a2fc7c2 + src/polar_sdk/models/webhooks_reset_webhook_endpoint_secretop.py: + id: 0c04e7546034 + last_write_checksum: sha1:43cdb64676ea1f4f7400b84c7d7949a922756290 + pristine_git_object: 7503a6a609e4a35a41a4758b84b5805309ca897c + src/polar_sdk/models/webhooks_update_webhook_endpointop.py: + id: fc6acb1d83c2 + last_write_checksum: sha1:e1ebeac212a7dd9606095876c223f843b75f64c2 + pristine_git_object: 0fe3dddef8c1752f161304dba5640b008c05b749 + src/polar_sdk/models/webhooksubscriptionactivepayload.py: + id: 36ac2ba765ff + last_write_checksum: sha1:f2ef80c2fba4a245fd820c45d057fcd44eba43de + pristine_git_object: 5e0ce368c767ea6d79672c7306f921bf6c1ffa0b + src/polar_sdk/models/webhooksubscriptioncanceledpayload.py: + id: 8b48c36827da + last_write_checksum: sha1:e2e77f6e7c41ccdb963b8d92e03529e9b3106984 + pristine_git_object: bfc6827bca2e27df8985b4ba885f609fecfe177e + src/polar_sdk/models/webhooksubscriptioncreatedpayload.py: + id: bd9ef323c00a + last_write_checksum: sha1:d616d90cf23391ea11cb12399068369797e694db + pristine_git_object: c26f9f307592a5ce8138672823c422a189dadecc + src/polar_sdk/models/webhooksubscriptionrevokedpayload.py: + id: 3b7ceff188b8 + last_write_checksum: sha1:0c0af78f599203c08cd82cb70170e79fce2ebb0a + pristine_git_object: fe1fd3f192e84318c26be56d336d496d86da402f + src/polar_sdk/models/webhooksubscriptionuncanceledpayload.py: + id: 03bb07937eb6 + last_write_checksum: sha1:1358a06c9f2b2d25ebab9ec5c107574215ee20f8 + pristine_git_object: 5cd763d54e693c5310d7d60b606687658e189971 + src/polar_sdk/models/webhooksubscriptionupdatedpayload.py: + id: d38991ddfeb9 + last_write_checksum: sha1:4d092e90b6603000ee83b01288367a1b81af1fd3 + pristine_git_object: a3a0046142245399f98af5de6e85e9c8a9a947c8 + src/polar_sdk/models/webtokenrequest.py: + id: 0800c781ad00 + last_write_checksum: sha1:54c6b5a2a3f604ae664c9227f8abc8ca10db6a41 + pristine_git_object: 54e931e9af4efd8cc53993b8ba85f63b5936c0f3 + src/polar_sdk/oauth2.py: + id: d43132dbd0bc + last_write_checksum: sha1:1b91d39369048f3144e8eeb4030a2f6d925ae110 + pristine_git_object: a3bdc1b2a1f153bf823e0bd293f3082ce4026f28 + src/polar_sdk/orders.py: + id: 784fc684f1a4 + last_write_checksum: sha1:30b8d0666374dc83f73fbe9a331bec2873cc9503 + pristine_git_object: 60ed1286e574232671af5e0f4eea17704a70dc51 + src/polar_sdk/organizations.py: + id: 5dc14423217b + last_write_checksum: sha1:2696f69c385c2542bf095770d3f9cf6cfcd26b90 + pristine_git_object: fa9209873cd4060c4b1a773e1495e1588b191284 + src/polar_sdk/payments.py: + id: 3e05d0ac12d0 + last_write_checksum: sha1:7c6b334df20bf5a73d3c90b8513394716ee0b3d1 + pristine_git_object: daf3e3dfe5cd214100c100a1bff94856205f86f0 + src/polar_sdk/polar_benefit_grants.py: + id: 9a4660248f4b + last_write_checksum: sha1:cab24875910ade8585f872adef8f8f841bb88831 + pristine_git_object: 9811e45c0b4f7fbced0fead5e90135b0e05dc8b9 + src/polar_sdk/polar_customer_meters.py: + id: e2ff9b148ebb + last_write_checksum: sha1:dad609163023492ad9c8c708a5ac99b0bf0ea3ce + pristine_git_object: 7ff291b1a34504675beefab7bceaa850fa939ebc + src/polar_sdk/polar_customers.py: + id: e47860ce3720 + last_write_checksum: sha1:002564e42150399bd433e5f141963d44608a7bb4 + pristine_git_object: 657d734f237168b9197837cab30712319e000ed0 + src/polar_sdk/polar_license_keys.py: + id: 48ab3fcdc4ee + last_write_checksum: sha1:75997994283cccc16779f102e1a3a07fca6159e7 + pristine_git_object: 5d71209b06a71dbf82edb3a11f8db8ed3372c191 + src/polar_sdk/polar_orders.py: + id: 50ba3c8dd7eb + last_write_checksum: sha1:4e719c846011ec76d46c980453269ec0237b8b54 + pristine_git_object: ec0f39ff31bf22eaa6c36c40e52ee53b626b64c2 + src/polar_sdk/polar_organizations.py: + id: a38dc7c2169c + last_write_checksum: sha1:c3fdbec28b4b0c971dbc09c92937d879e791c155 + pristine_git_object: f67f3572ef5a57d2cf6a600ae349451294ec3e1c + src/polar_sdk/polar_subscriptions.py: + id: d0e89c03bf5f + last_write_checksum: sha1:23e801cfc2f5b64ab554f41473b49895bce10bd1 + pristine_git_object: 7c58b0b62f82d8ac4e28b934ac61684a519130a2 + src/polar_sdk/products.py: + id: b770ba06f29b + last_write_checksum: sha1:cf923f6cbe00d32aca86254b167a195f9861d2ff + pristine_git_object: cf8e4433d10651f47ae5dcd0cf831c27238d6afb + src/polar_sdk/py.typed: + id: 2bd6bc21abc9 + last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 + pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 + src/polar_sdk/refunds.py: + id: eacadae34f30 + last_write_checksum: sha1:e84d23d9b84066bdd8a819a34a2b27be6c4e8bbb + pristine_git_object: 3248916fc5fd0d2121b8c679758c4806681ac88c + src/polar_sdk/sdk.py: + id: 113a36a213c3 + last_write_checksum: sha1:acb58e9ef0857fb56c6bf8377b62e9f9a77f414a + pristine_git_object: 3f781fa26efead31bfca4aedd58a7155ee58328e + src/polar_sdk/sdkconfiguration.py: + id: 936d07a65270 + last_write_checksum: sha1:b9b14902f71407dd21a4b209f2e342c54a0a86a7 + pristine_git_object: d7dc87ebf2e7878d54de2a15543a2e6c93732411 + src/polar_sdk/seats.py: + id: 021efaef1f01 + last_write_checksum: sha1:f8e7b2288b67b9339e9e86ab717645aad9fd31ae + pristine_git_object: 334bf6fe79b057111ccafba40662803497ccd95f + src/polar_sdk/subscriptions.py: + id: 01c288ae0946 + last_write_checksum: sha1:d3fe2d7d3380213da05cca90c37305a1b1ff3f96 + pristine_git_object: 00635cca0bb1dea3a5d53af77c666fa294d23f61 + src/polar_sdk/types/__init__.py: + id: af388c3c2d54 + last_write_checksum: sha1:140ebdd01a46f92ffc710c52c958c4eba3cf68ed + pristine_git_object: fc76fe0c5505e29859b5d2bb707d48fd27661b8c + src/polar_sdk/types/basemodel.py: + id: fdb2ffc7d7be + last_write_checksum: sha1:615d0b364fa924b0fef719958df34596cc7c1ae2 + pristine_git_object: 231c2e37283a76082f1a064c7aae47f8ee4ee694 + src/polar_sdk/utils/__init__.py: + id: 3b31935a339b + last_write_checksum: sha1:81e0385b93362e0f3f6911b65bd4cc601ebc11e1 + pristine_git_object: 56164cf3a86399ee7a8e1a68d19fb494689d77c3 + src/polar_sdk/utils/annotations.py: + id: 87642e5e326d + last_write_checksum: sha1:a4824ad65f730303e4e1e3ec1febf87b4eb46dbc + pristine_git_object: 12e0aa4f1151bb52474cc02e88397329b90703f6 + src/polar_sdk/utils/datetimes.py: + id: 52e2e7025c25 + last_write_checksum: sha1:c721e4123000e7dc61ec52b28a739439d9e17341 + pristine_git_object: a6c52cd61bbe2d459046c940ce5e8c469f2f0664 + src/polar_sdk/utils/enums.py: + id: b0ba5ae3bd45 + last_write_checksum: sha1:786ba597f79dca6fbc0d87c591752bb8d775ecb7 + pristine_git_object: c3bc13cfc48794c143a64667f02e7949a8ce3fcc + src/polar_sdk/utils/eventstreaming.py: + id: a2bdb8fbd453 + last_write_checksum: sha1:bababae5d54b7efc360db701daa49e18a92c2f3b + pristine_git_object: 0969899bfc491e5e408d05643525f347ea95e4fc + src/polar_sdk/utils/forms.py: + id: beb27e401d3d + last_write_checksum: sha1:15fa7e9ab1611e062a9984cf06cb20969713d295 + pristine_git_object: f961e76beaf0a8b1fe0dda44754a74eebd3608e7 + src/polar_sdk/utils/headers.py: + id: 6ece47092b53 + last_write_checksum: sha1:7c6df233ee006332b566a8afa9ce9a245941d935 + pristine_git_object: 37864cbbbc40d1a47112bbfdd3ba79568fc8818a + src/polar_sdk/utils/logger.py: + id: fd8b10787c46 + last_write_checksum: sha1:f3fdb154a3f09b8cc43d74c7e9c02f899f8086e4 + pristine_git_object: b661aff65d38b77d035149699aea09b2785d2fc6 + src/polar_sdk/utils/metadata.py: + id: 937cc2b4a2a7 + last_write_checksum: sha1:c6a560bd0c63ab158582f34dadb69433ea73b3d4 + pristine_git_object: 173b3e5ce658675c2f504222a56b3daaaa68107d + src/polar_sdk/utils/queryparams.py: + id: a62fbcbf584f + last_write_checksum: sha1:b94c3f314fd3da0d1d215afc2731f48748e2aa59 + pristine_git_object: c04e0db82b68eca041f2cb2614d748fbac80fd41 + src/polar_sdk/utils/requestbodies.py: + id: ad9d9cf07a20 + last_write_checksum: sha1:e0a3a78158eba39880475d62d61be906625676b8 + pristine_git_object: d5240dd5f5efffabbd9aefa2f4a349511a9c75b4 + src/polar_sdk/utils/retries.py: + id: 1867be7afdf1 + last_write_checksum: sha1:5b97ac4f59357d70c2529975d50364c88bcad607 + pristine_git_object: 88a91b10cd2076b4a2c6cff2ac6bfaa5e3c5ad13 + src/polar_sdk/utils/security.py: + id: 51fe1d84fed4 + last_write_checksum: sha1:a17130ace2c0db6394f38dd941ad2b700cc755c8 + pristine_git_object: 295a3f40031dbb40073ad227fd4a355660f97ab2 + src/polar_sdk/utils/serializers.py: + id: 1baf96ba2806 + last_write_checksum: sha1:a0d184ace7371a14a7d005cca7f358a03e3d4b07 + pristine_git_object: 378a14c0f86a867ca7b0eb7e620da82234c0ccc4 + src/polar_sdk/utils/unmarshal_json_response.py: + id: "134495725e11" + last_write_checksum: sha1:76e6cf0cea653777132863db171c5a53d187db78 + pristine_git_object: 49aff9fb44902088e65fbe2ab964fd77820c5f9c + src/polar_sdk/utils/url.py: + id: 6523a5f3ccfc + last_write_checksum: sha1:6479961baa90432ca25626f8e40a7bbc32e73b41 + pristine_git_object: c78ccbae426ce6d385709d97ce0b1c2813ea2418 + src/polar_sdk/utils/values.py: + id: 2908a6fe8966 + last_write_checksum: sha1:acaa178a7c41ddd000f58cc691e4632d925b2553 + pristine_git_object: dae01a44384ac3bc13ae07453a053bf6c898ebe3 + src/polar_sdk/wallets.py: + id: 6a06b14eb7e0 + last_write_checksum: sha1:a102bddb17916f90ba3fcf6ed5379ec7760eec43 + pristine_git_object: 28a8e29f1df908ebad498ee2a79ab4184dc7608c + src/polar_sdk/webhooks.py: + id: e6b5ca138d9b + last_write_checksum: sha1:ecf18386d5a0b495e0b5cda72cb1e9f71ad1a8f6 + pristine_git_object: f754261639e40e4b6b32c89970174afc40e05206 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 28dd2484..7be91203 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -26,8 +26,9 @@ generation: generateTests: true generateNewTests: false skipResponseBodyAssertions: false + persistentEdits: {} python: - version: 0.28.0 + version: 0.29.1 additionalDependencies: dev: pydantic-ai-slim: ^0.1.0 @@ -60,11 +61,14 @@ python: operations: "" shared: "" webhooks: "" + inferUnionDiscriminators: true inputModelSuffix: input legacyPyright: true + license: "" maxMethodParams: 100 methodArguments: infer-optional-args moduleName: "" + multipartArrayFormat: legacy outputModelSuffix: output packageManager: poetry packageName: polar-sdk diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index eb5ffd8a..d800ccff 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0 sources: Polar-OAS: sourceNamespace: polar-oas - sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063 - sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275 + sourceRevisionDigest: sha256:cbe69dc7f3b821e3ccf767df57df69ee5e75561407d2545cee6429e60dd9a744 + sourceBlobDigest: sha256:27e378e1fc0ee0e60e9b259b2309058fc27ddb8f480e70307b0045a930fa7a9c tags: - latest - - speakeasy-sdk-regen-1761956132 + - speakeasy-sdk-regen-1762301662 - 0.1.0 targets: polar: source: Polar-OAS sourceNamespace: polar-oas - sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063 - sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275 + sourceRevisionDigest: sha256:cbe69dc7f3b821e3ccf767df57df69ee5e75561407d2545cee6429e60dd9a744 + sourceBlobDigest: sha256:27e378e1fc0ee0e60e9b259b2309058fc27ddb8f480e70307b0045a930fa7a9c codeSamplesNamespace: polar-oas-py-code-samples - codeSamplesRevisionDigest: sha256:b5f5b4797959ba0b423abb100d9e63089ed790c5741f080bb93f10d561b59823 + codeSamplesRevisionDigest: sha256:7b2fb1d6737fbc5adf97c4fa88030258ad50f29a94aeab55e75e340a939acce2 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 992f8fd9..64bb50e8 100644 --- a/README.md +++ b/README.md @@ -295,10 +295,10 @@ def webhook(): * [update](docs/sdks/polarsubscriptions/README.md#update) - Update Subscription * [cancel](docs/sdks/polarsubscriptions/README.md#cancel) - Cancel Subscription -#### [customer_portal.wallets](docs/sdks/polarwallets/README.md) +#### [customer_portal.wallets](docs/sdks/wallets/README.md) -* [list](docs/sdks/polarwallets/README.md#list) - List Wallets -* [get](docs/sdks/polarwallets/README.md#get) - Get Wallet +* [list](docs/sdks/wallets/README.md#list) - List Wallets +* [get](docs/sdks/wallets/README.md#get) - Get Wallet ### [customer_seats](docs/sdks/customerseats/README.md) @@ -326,7 +326,6 @@ def webhook(): * [delete_external](docs/sdks/customers/README.md#delete_external) - Delete Customer by External ID * [get_state](docs/sdks/customers/README.md#get_state) - Get Customer State * [get_state_external](docs/sdks/customers/README.md#get_state_external) - Get Customer State by External ID -* [get_balance](docs/sdks/customers/README.md#get_balance) - Get Customer Balance ### [discounts](docs/sdks/discounts/README.md) @@ -336,6 +335,11 @@ def webhook(): * [update](docs/sdks/discounts/README.md#update) - Update Discount * [delete](docs/sdks/discounts/README.md#delete) - Delete Discount +### [event_types](docs/sdks/eventtypes/README.md) + +* [list](docs/sdks/eventtypes/README.md#list) - List Event Types +* [update](docs/sdks/eventtypes/README.md#update) - Update Event Type + ### [events](docs/sdks/events/README.md) * [list](docs/sdks/events/README.md#list) - List Events @@ -361,6 +365,10 @@ def webhook(): * [activate](docs/sdks/licensekeys/README.md#activate) - Activate License Key * [deactivate](docs/sdks/licensekeys/README.md#deactivate) - Deactivate License Key +### [members](docs/sdks/members/README.md) + +* [list_members](docs/sdks/members/README.md#list_members) - List Members + ### [meters](docs/sdks/meters/README.md) * [list](docs/sdks/meters/README.md#list) - List Meters @@ -432,12 +440,6 @@ def webhook(): * [update](docs/sdks/subscriptions/README.md#update) - Update Subscription * [revoke](docs/sdks/subscriptions/README.md#revoke) - Revoke Subscription -### [wallets](docs/sdks/wallets/README.md) - -* [list](docs/sdks/wallets/README.md#list) - List Wallets -* [get](docs/sdks/wallets/README.md#get) - Get Wallet -* [top_up](docs/sdks/wallets/README.md#top_up) - Top-Up Wallet - ### [webhooks](docs/sdks/webhooks/README.md) * [list_webhook_endpoints](docs/sdks/webhooks/README.md#list_webhook_endpoints) - List Webhook Endpoints @@ -550,7 +552,7 @@ with Polar( * [`PolarError`](./src/polar_sdk/models/polarerror.py): The base class for HTTP error responses. * [`HTTPValidationError`](./src/polar_sdk/models/httpvalidationerror.py): Validation Error. Status code `422`. * -
Less common errors (25) +
Less common errors (24)
@@ -561,26 +563,25 @@ with Polar( **Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**: -* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 80 of 155 methods.* -* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 155 methods.* -* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 155 methods.* -* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 155 methods.* -* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.* -* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.* -* [`PaymentNotReady`](./src/polar_sdk/models/paymentnotready.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 155 methods.* -* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 155 methods.* -* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 155 methods.* -* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 155 methods.* -* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 155 methods.* -* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 155 methods.* -* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 155 methods.* -* [`PaymentIntentFailedError`](./src/polar_sdk/models/paymentintentfailederror.py): The payment request failed. Status code `400`. Applicable to 1 of 155 methods.* -* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 155 methods.* -* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 155 methods.* -* [`MissingPaymentMethodError`](./src/polar_sdk/models/missingpaymentmethoderror.py): No payment method available. Status code `402`. Applicable to 1 of 155 methods.* -* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 155 methods.* -* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 155 methods.* -* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 155 methods.* +* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 77 of 154 methods.* +* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 10 of 154 methods.* +* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 154 methods.* +* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 154 methods.* +* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 154 methods.* +* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 154 methods.* +* [`PaymentNotReady`](./src/polar_sdk/models/paymentnotready.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 154 methods.* +* [`TrialAlreadyRedeemed`](./src/polar_sdk/models/trialalreadyredeemed.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 154 methods.* +* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 154 methods.* +* [`SubscriptionLocked`](./src/polar_sdk/models/subscriptionlocked.py): Subscription is pending an update. Status code `409`. Applicable to 2 of 154 methods.* +* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 154 methods.* +* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 154 methods.* +* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 154 methods.* +* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 154 methods.* +* [`CustomerNotReady`](./src/polar_sdk/models/customernotready.py): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 154 methods.* +* [`PaymentMethodInUseByActiveSubscription`](./src/polar_sdk/models/paymentmethodinusebyactivesubscription.py): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 154 methods.* +* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 154 methods.* +* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 154 methods.* +* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 154 methods.* * [`ResponseValidationError`](./src/polar_sdk/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
diff --git a/RELEASES.md b/RELEASES.md index 55b4a179..0d8678af 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -983,4 +983,14 @@ Based on: ### Generated - [python v0.28.0] . ### Releases -- [PyPI v0.28.0] https://pypi.org/project/polar-sdk/0.28.0 - . \ No newline at end of file +- [PyPI v0.28.0] https://pypi.org/project/polar-sdk/0.28.0 - . + +## 2025-12-07 00:16:12 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.29.1] . +### Releases +- [PyPI v0.29.1] https://pypi.org/project/polar-sdk/0.29.1 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 76d440b0..604f8249 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -98,13 +98,13 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar() as polar:\n\n res = polar.checkouts.client_update(client_secret=\"\", checkout_update_public={\n \"customer_name\": \"John Doe\",\n \"customer_billing_address\": None,\n })\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\n\n\nwith Polar() as polar:\n\n res = polar.checkouts.client_update(client_secret=\"\", checkout_update_public={\n \"customer_name\": \"John Doe\",\n \"customer_billing_address\": None,\n \"allow_trial\": False,\n })\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/checkouts/client/{client_secret}/confirm"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.checkouts.client_confirm(client_secret=\"\", checkout_confirm_stripe={\n \"customer_name\": \"John Doe\",\n \"customer_billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n })\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.checkouts.client_confirm(client_secret=\"\", checkout_confirm_stripe={\n \"customer_name\": \"John Doe\",\n \"customer_billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n \"allow_trial\": False,\n })\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/checkouts/{id}"]["get"] update: "x-codeSamples": @@ -428,13 +428,13 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.list(organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\", page=1, limit=10)\n\n while res is not None:\n # Handle items\n\n res = res.next()" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.list(organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\", include_members=False, page=1, limit=10)\n\n while res is not None:\n # Handle items\n\n res = res.next()" - target: $["paths"]["/v1/customers/"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.create(request={\n \"external_id\": \"usr_1337\",\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n })\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.create(customer_create={\n \"external_id\": \"usr_1337\",\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"owner\": {\n \"email\": \"member@example.com\",\n \"name\": \"Jane Doe\",\n \"external_id\": \"usr_1337\",\n },\n }, include_members=False)\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/customers/export"]["get"] update: "x-codeSamples": @@ -452,13 +452,13 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.get_external(external_id=\"\")\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.get_external(external_id=\"\", include_members=False)\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/customers/external/{external_id}"]["patch"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.update_external(external_id=\"\", customer_update_external_id={\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": None,\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n })\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.update_external(external_id=\"\", customer_update_external_id={\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": None,\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n }, include_members=False)\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/customers/external/{external_id}/state"]["get"] update: "x-codeSamples": @@ -476,19 +476,13 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.get(id=\"\")\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.get(id=\"\", include_members=False)\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/customers/{id}"]["patch"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.update(id=\"\", customer_update={\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n \"external_id\": \"usr_1337\",\n })\n\n # Handle response\n print(res)" - - target: $["paths"]["/v1/customers/{id}/balance"]["get"] - update: - "x-codeSamples": - - "lang": "python" - "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.get_balance(id=\"\")\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.customers.update(id=\"\", customer_update={\n \"email\": \"customer@example.com\",\n \"name\": \"John Doe\",\n \"billing_address\": {\n \"country\": polar_sdk.CountryAlpha2Input.US,\n },\n \"tax_id\": [\n \"911144442\",\n \"us_ein\",\n ],\n \"external_id\": \"usr_1337\",\n }, include_members=False)\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/customers/{id}/state"]["get"] update: "x-codeSamples": @@ -525,6 +519,18 @@ actions: - "lang": "python" "label": "Python (SDK)" "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.discounts.update(id=\"\", discount_update={})\n\n # Handle response\n print(res)" + - target: $["paths"]["/v1/event-types/"]["get"] + update: + "x-codeSamples": + - "lang": "python" + "label": "Python (SDK)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.event_types.list(organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\", root_events=False, page=1, limit=10)\n\n while res is not None:\n # Handle items\n\n res = res.next()" + - target: $["paths"]["/v1/event-types/{id}"]["patch"] + update: + "x-codeSamples": + - "lang": "python" + "label": "Python (SDK)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.event_types.update(id=\"\", event_type_update={\n \"label\": \"\",\n })\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/events/"]["get"] update: "x-codeSamples": @@ -621,6 +627,12 @@ actions: - "lang": "python" "label": "Python (SDK)" "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.license_keys.get_activation(id=\"\", activation_id=\"\")\n\n # Handle response\n print(res)" + - target: $["paths"]["/v1/members/"]["get"] + update: + "x-codeSamples": + - "lang": "python" + "label": "Python (SDK)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.members.list_members(page=1, limit=10)\n\n while res is not None:\n # Handle items\n\n res = res.next()" - target: $["paths"]["/v1/meters/"]["get"] update: "x-codeSamples": @@ -830,7 +842,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.refunds.create(request={\n \"order_id\": \"\",\n \"reason\": polar_sdk.RefundReason.CUSTOMER_REQUEST,\n \"amount\": 90,\n })\n\n assert res is not None\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.refunds.create(request={\n \"order_id\": \"\",\n \"reason\": polar_sdk.RefundReason.SERVICE_DISRUPTION,\n \"amount\": 90,\n })\n\n assert res is not None\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/subscriptions/"]["get"] update: "x-codeSamples": @@ -866,25 +878,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.subscriptions.update(id=\"\", subscription_update={\n \"discount_id\": \"\",\n })\n\n # Handle response\n print(res)" - - target: $["paths"]["/v1/wallets/"]["get"] - update: - "x-codeSamples": - - "lang": "python" - "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.wallets.list(organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\", page=1, limit=10)\n\n while res is not None:\n # Handle items\n\n res = res.next()" - - target: $["paths"]["/v1/wallets/{id}"]["get"] - update: - "x-codeSamples": - - "lang": "python" - "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.wallets.get(id=\"\")\n\n # Handle response\n print(res)" - - target: $["paths"]["/v1/wallets/{id}/top-up"]["post"] - update: - "x-codeSamples": - - "lang": "python" - "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.wallets.top_up(id=\"\", wallet_top_up_create={\n \"amount\": 2000,\n \"currency\": \"Venezuelan bolívar\",\n })\n\n assert res is not None\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.subscriptions.update(id=\"\", subscription_update={\n \"trial_end\": parse_datetime(\"2023-12-04T14:44:14.136Z\"),\n })\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/webhooks/deliveries"]["get"] update: "x-codeSamples": @@ -974,13 +968,13 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_created_post(request=polar_sdk.WebhookCheckoutCreatedPayload(\n timestamp=parse_datetime(\"2023-02-15T15:44:21.478Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2025-09-12T19:48:15.814Z\"),\n modified_at=parse_datetime(\"2023-09-14T02:01:27.394Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://agreeable-reboot.biz\",\n expires_at=parse_datetime(\"2024-05-02T18:25:33.974Z\"),\n success_url=\"https://rural-outrun.org\",\n return_url=\"https://clean-humidity.com/\",\n embed_origin=\"\",\n amount=275553,\n discount_amount=9980,\n net_amount=266632,\n tax_amount=348968,\n total_amount=203013,\n currency=\"Australian Dollar\",\n active_trial_interval=polar_sdk.TrialInterval.DAY,\n active_trial_interval_count=746373,\n trial_end=parse_datetime(\"2023-02-22T08:13:16.795Z\"),\n organization_id=\"\",\n product_id=None,\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=False,\n is_free_product_price=False,\n is_payment_required=False,\n is_payment_setup_required=False,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=True,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n \"key2\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.REQUIRED,\n state=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n city=polar_sdk.BillingAddressFieldMode.DISABLED,\n postal_code=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line1=polar_sdk.BillingAddressFieldMode.REQUIRED,\n line2=polar_sdk.BillingAddressFieldMode.DISABLED,\n ),\n trial_interval=None,\n trial_interval_count=675830,\n metadata={\n \"key\": True,\n },\n external_customer_id=\"\",\n customer_external_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2023-01-06T18:09:03.676Z\"),\n modified_at=parse_datetime(\"2024-05-28T21:42:41.690Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=590205,\n name=\"\",\n description=\"structure tenderly dirty colon though\",\n recurring_interval=None,\n recurring_interval_count=996088,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/var/yp\",\n mime_type=\"\",\n size=1211,\n storage_version=\"\",\n checksum_etag=None,\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2023-08-11T21:05:07.943Z\"),\n version=\"\",\n is_uploaded=False,\n created_at=parse_datetime(\"2024-09-05T01:36:20.132Z\"),\n size_readable=\"\",\n public_url=\"https://next-peninsula.net\",\n ),\n ],\n ),\n ],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2025-07-24T22:06:51.276Z\"),\n modified_at=parse_datetime(\"2025-04-12T19:47:40.853Z\"),\n trial_interval=None,\n trial_interval_count=None,\n name=\"\",\n description=\"below presell cleave silky marimba\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=174683,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-09-14T04:08:29.152Z\"),\n modified_at=parse_datetime(\"2025-10-07T17:41:46.324Z\"),\n id=\"\",\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n price_amount=538327,\n ),\n discount=polar_sdk.CheckoutDiscountPercentageRepeatDuration(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=509971,\n type=polar_sdk.DiscountType.PERCENTAGE,\n basis_points=1000,\n id=\"\",\n name=\"\",\n code=None,\n ),\n subscription_id=\"\",\n attached_custom_fields=[],\n customer_metadata={\n\n },\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_created_post(request=polar_sdk.WebhookCheckoutCreatedPayload(\n timestamp=parse_datetime(\"2023-02-15T15:44:21.478Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2025-09-12T19:48:15.814Z\"),\n modified_at=parse_datetime(\"2023-09-14T02:01:27.394Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://agreeable-reboot.biz\",\n expires_at=parse_datetime(\"2024-05-02T18:25:33.974Z\"),\n success_url=\"https://rural-outrun.org\",\n return_url=\"https://clean-humidity.com/\",\n embed_origin=\"\",\n amount=275553,\n discount_amount=9980,\n net_amount=266632,\n tax_amount=348968,\n total_amount=203013,\n currency=\"Australian Dollar\",\n allow_trial=True,\n active_trial_interval=polar_sdk.TrialInterval.MONTH,\n active_trial_interval_count=47757,\n trial_end=None,\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=False,\n is_free_product_price=False,\n is_payment_required=False,\n is_payment_setup_required=False,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=False,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n state=polar_sdk.BillingAddressFieldMode.DISABLED,\n city=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n postal_code=polar_sdk.BillingAddressFieldMode.REQUIRED,\n line1=polar_sdk.BillingAddressFieldMode.DISABLED,\n line2=polar_sdk.BillingAddressFieldMode.REQUIRED,\n ),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=945017,\n metadata={\n\n },\n external_customer_id=\"\",\n customer_external_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2023-01-06T18:09:03.676Z\"),\n modified_at=parse_datetime(\"2024-05-28T21:42:41.690Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=590205,\n name=\"\",\n description=\"structure tenderly dirty colon though\",\n recurring_interval=None,\n recurring_interval_count=996088,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/var/yp\",\n mime_type=\"\",\n size=1211,\n storage_version=\"\",\n checksum_etag=None,\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2023-08-11T21:05:07.943Z\"),\n version=\"\",\n is_uploaded=False,\n created_at=parse_datetime(\"2024-09-05T01:36:20.132Z\"),\n size_readable=\"\",\n public_url=\"https://next-peninsula.net\",\n ),\n ],\n ),\n ],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2025-07-24T22:06:51.276Z\"),\n modified_at=parse_datetime(\"2025-04-12T19:47:40.853Z\"),\n trial_interval=None,\n trial_interval_count=None,\n name=\"\",\n description=\"below presell cleave silky marimba\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=174683,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-09-14T04:08:29.152Z\"),\n modified_at=parse_datetime(\"2025-10-07T17:41:46.324Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n price_amount=489298,\n ),\n prices={\n \"key\": [\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2024-10-07T04:25:23.887Z\"),\n modified_at=parse_datetime(\"2023-09-27T23:58:12.698Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n minimum_amount=680201,\n maximum_amount=872809,\n preset_amount=973180,\n ),\n ],\n \"key1\": [\n polar_sdk.LegacyRecurringProductPriceFree(\n created_at=parse_datetime(\"2023-06-29T11:47:03.272Z\"),\n modified_at=parse_datetime(\"2024-03-23T13:16:28.157Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n ),\n ],\n \"key2\": [],\n },\n discount=polar_sdk.CheckoutDiscountFixedRepeatDuration(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=821665,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[],\n customer_metadata={\n \"key\": True,\n },\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["checkout.updated"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_updated_post(request=polar_sdk.WebhookCheckoutUpdatedPayload(\n timestamp=parse_datetime(\"2023-03-19T05:40:46.816Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2024-09-17T13:52:37.257Z\"),\n modified_at=parse_datetime(\"2024-11-07T08:23:01.152Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://male-punctuation.name\",\n expires_at=parse_datetime(\"2025-03-26T06:13:51.386Z\"),\n success_url=\"https://monumental-mathematics.info\",\n return_url=\"https://scary-valley.com/\",\n embed_origin=\"\",\n amount=867510,\n discount_amount=469340,\n net_amount=139232,\n tax_amount=373760,\n total_amount=41301,\n currency=\"Azerbaijanian Manat\",\n active_trial_interval=polar_sdk.TrialInterval.WEEK,\n active_trial_interval_count=None,\n trial_end=parse_datetime(\"2025-01-03T13:19:57.814Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=True,\n require_billing_address=False,\n is_discount_applicable=True,\n is_free_product_price=False,\n is_payment_required=False,\n is_payment_setup_required=False,\n is_payment_form_required=True,\n customer_id=\"\",\n is_business_customer=True,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.DISABLED,\n state=polar_sdk.BillingAddressFieldMode.DISABLED,\n city=polar_sdk.BillingAddressFieldMode.DISABLED,\n postal_code=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.REQUIRED,\n ),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=971558,\n metadata={\n \"key\": 4652.47,\n },\n external_customer_id=\"\",\n customer_external_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2023-06-21T05:48:31.398Z\"),\n modified_at=parse_datetime(\"2024-09-06T09:34:57.464Z\"),\n trial_interval=polar_sdk.TrialInterval.DAY,\n trial_interval_count=868555,\n name=\"\",\n description=\"tempting by or hippodrome mountain strict militate soupy partially simple\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=787637,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[\n polar_sdk.BenefitPublic(\n id=\"\",\n created_at=parse_datetime(\"2024-03-20T21:54:02.026Z\"),\n modified_at=parse_datetime(\"2025-11-22T22:06:43.546Z\"),\n type=polar_sdk.BenefitType.GITHUB_REPOSITORY,\n description=\"boring mysterious psst though lest\",\n selectable=False,\n deletable=False,\n organization_id=\"\",\n ),\n ],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/var/yp\",\n mime_type=\"\",\n size=742109,\n storage_version=\"\",\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2024-01-05T08:21:09.966Z\"),\n version=None,\n is_uploaded=False,\n created_at=parse_datetime(\"2024-07-12T04:50:26.552Z\"),\n size_readable=\"\",\n public_url=\"https://common-makeover.biz/\",\n ),\n ],\n ),\n ],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2024-06-19T06:14:05.114Z\"),\n modified_at=parse_datetime(\"2023-03-11T18:17:16.587Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=392090,\n name=\"\",\n description=\"whereas steeple brr regularly make huzzah cheerfully ignite sense\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=439686,\n is_recurring=False,\n is_archived=False,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-06-19T15:55:16.121Z\"),\n modified_at=parse_datetime(\"2025-11-24T07:57:40.732Z\"),\n id=\"\",\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n price_currency=\"\",\n price_amount=41520,\n ),\n ],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.ProductPriceSeatBased(\n created_at=parse_datetime(\"2023-10-22T04:58:53.063Z\"),\n modified_at=parse_datetime(\"2024-01-03T01:38:04.965Z\"),\n id=\"\",\n is_archived=True,\n product_id=\"\",\n type=polar_sdk.ProductPriceType.RECURRING,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n seat_tiers=polar_sdk.ProductPriceSeatTiers(\n tiers=[],\n ),\n ),\n discount=polar_sdk.CheckoutDiscountFixedRepeatDuration(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=327405,\n type=polar_sdk.DiscountType.FIXED,\n amount=1000,\n currency=\"usd\",\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldDate(\n created_at=parse_datetime(\"2024-05-09T18:59:08.115Z\"),\n modified_at=parse_datetime(\"2024-09-29T03:43:11.374Z\"),\n id=\"\",\n metadata={\n \"key\": 916655,\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldDateProperties(),\n ),\n order=596151,\n required=False,\n ),\n ],\n customer_metadata={\n \"key\": False,\n },\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_updated_post(request=polar_sdk.WebhookCheckoutUpdatedPayload(\n timestamp=parse_datetime(\"2023-03-19T05:40:46.816Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2024-09-17T13:52:37.257Z\"),\n modified_at=parse_datetime(\"2024-11-07T08:23:01.152Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://male-punctuation.name\",\n expires_at=parse_datetime(\"2025-03-26T06:13:51.386Z\"),\n success_url=\"https://monumental-mathematics.info\",\n return_url=\"https://scary-valley.com/\",\n embed_origin=\"\",\n amount=867510,\n discount_amount=469340,\n net_amount=139232,\n tax_amount=373760,\n total_amount=41301,\n currency=\"Azerbaijanian Manat\",\n allow_trial=True,\n active_trial_interval=None,\n active_trial_interval_count=669303,\n trial_end=parse_datetime(\"2025-01-10T10:00:41.343Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=True,\n require_billing_address=False,\n is_discount_applicable=False,\n is_free_product_price=False,\n is_payment_required=True,\n is_payment_setup_required=True,\n is_payment_form_required=True,\n customer_id=\"\",\n is_business_customer=False,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n \"key2\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.DISABLED,\n state=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n city=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n postal_code=polar_sdk.BillingAddressFieldMode.REQUIRED,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n ),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=591735,\n metadata={\n\n },\n external_customer_id=\"\",\n customer_external_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2023-06-21T05:48:31.398Z\"),\n modified_at=parse_datetime(\"2024-09-06T09:34:57.464Z\"),\n trial_interval=polar_sdk.TrialInterval.DAY,\n trial_interval_count=868555,\n name=\"\",\n description=\"tempting by or hippodrome mountain strict militate soupy partially simple\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=787637,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[],\n benefits=[\n polar_sdk.BenefitPublic(\n id=\"\",\n created_at=parse_datetime(\"2024-03-20T21:54:02.026Z\"),\n modified_at=parse_datetime(\"2025-11-22T22:06:43.546Z\"),\n type=polar_sdk.BenefitType.GITHUB_REPOSITORY,\n description=\"boring mysterious psst though lest\",\n selectable=False,\n deletable=False,\n organization_id=\"\",\n ),\n ],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/var/yp\",\n mime_type=\"\",\n size=742109,\n storage_version=\"\",\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2024-01-05T08:21:09.966Z\"),\n version=None,\n is_uploaded=False,\n created_at=parse_datetime(\"2024-07-12T04:50:26.552Z\"),\n size_readable=\"\",\n public_url=\"https://common-makeover.biz/\",\n ),\n ],\n ),\n ],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2024-06-19T06:14:05.114Z\"),\n modified_at=parse_datetime(\"2023-03-11T18:17:16.587Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=392090,\n name=\"\",\n description=\"whereas steeple brr regularly make huzzah cheerfully ignite sense\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=439686,\n is_recurring=False,\n is_archived=False,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-06-19T15:55:16.121Z\"),\n modified_at=parse_datetime(\"2025-11-24T07:57:40.732Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n price_currency=\"\",\n price_amount=357928,\n ),\n ],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2023-07-25T08:49:00.941Z\"),\n modified_at=parse_datetime(\"2024-02-14T11:02:18.649Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n price_amount=347948,\n ),\n prices={\n \"key\": [],\n },\n discount=polar_sdk.CheckoutDiscountFixedOnceForeverDuration(\n duration=polar_sdk.DiscountDuration.REPEATING,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldNumber(\n created_at=parse_datetime(\"2023-11-25T09:30:53.131Z\"),\n modified_at=parse_datetime(\"2024-10-15T09:09:32.242Z\"),\n id=\"\",\n metadata={\n \"key\": 9467.85,\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldNumberProperties(),\n ),\n order=591165,\n required=False,\n ),\n ],\n customer_metadata={\n\n },\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["customer.created"]["post"] update: "x-codeSamples": @@ -1028,31 +1022,31 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_created_post(request=polar_sdk.WebhookOrderCreatedPayload(\n timestamp=parse_datetime(\"2024-08-21T06:55:49.348Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2023-01-02T23:31:01.991Z\"),\n modified_at=parse_datetime(\"2025-11-09T23:45:36.352Z\"),\n status=polar_sdk.OrderStatus.PENDING,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.PURCHASE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=False,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n \"key\": \"\",\n },\n platform_fee_amount=500,\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-08-09T17:02:40.706Z\"),\n modified_at=parse_datetime(\"2025-10-06T19:34:47.732Z\"),\n metadata={\n \"key\": 701529,\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=None,\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2025-06-03T19:46:15.179Z\"),\n modified_at=parse_datetime(\"2023-10-21T21:28:56.316Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=271259,\n name=\"\",\n description=\"gadzooks trek amid misspend ravioli supposing bare pfft\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=168138,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=260667,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-04-11T00:21:08.353Z\"),\n modified_at=parse_datetime(\"2025-05-03T15:56:59.028Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=None,\n starts_at=parse_datetime(\"2023-03-06T18:58:41.541Z\"),\n ends_at=parse_datetime(\"2024-02-07T05:20:48.151Z\"),\n max_redemptions=200286,\n redemptions_count=148325,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-01-04T15:31:18.185Z\"),\n modified_at=parse_datetime(\"2023-12-10T13:26:22.287Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_created_post(request=polar_sdk.WebhookOrderCreatedPayload(\n timestamp=parse_datetime(\"2024-08-21T06:55:49.348Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2023-01-02T23:31:01.991Z\"),\n modified_at=parse_datetime(\"2025-11-09T23:45:36.352Z\"),\n status=polar_sdk.OrderStatus.PENDING,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.PURCHASE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=False,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n \"key\": \"\",\n },\n platform_fee_amount=500,\n platform_fee_currency=\"usd\",\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-08-09T17:02:40.706Z\"),\n modified_at=parse_datetime(\"2025-10-06T19:34:47.732Z\"),\n metadata={\n \"key\": 701529,\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=None,\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2025-06-03T19:46:15.179Z\"),\n modified_at=parse_datetime(\"2023-10-21T21:28:56.316Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=271259,\n name=\"\",\n description=\"gadzooks trek amid misspend ravioli supposing bare pfft\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=168138,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=260667,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-04-11T00:21:08.353Z\"),\n modified_at=parse_datetime(\"2025-05-03T15:56:59.028Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=None,\n starts_at=parse_datetime(\"2023-03-06T18:58:41.541Z\"),\n ends_at=parse_datetime(\"2024-02-07T05:20:48.151Z\"),\n max_redemptions=200286,\n redemptions_count=148325,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-01-04T15:31:18.185Z\"),\n modified_at=parse_datetime(\"2023-12-10T13:26:22.287Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["order.paid"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_paid_post(request=polar_sdk.WebhookOrderPaidPayload(\n timestamp=parse_datetime(\"2025-12-05T07:44:21.172Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2025-07-27T09:45:49.517Z\"),\n modified_at=parse_datetime(\"2024-12-13T20:55:19.644Z\"),\n status=polar_sdk.OrderStatus.PARTIALLY_REFUNDED,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_UPDATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=True,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-08-31T00:54:53.749Z\"),\n modified_at=parse_datetime(\"2025-07-24T12:09:26.716Z\"),\n metadata={\n \"key\": \"\",\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-04-20T14:41:24.727Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2023-06-18T22:24:34.935Z\"),\n modified_at=parse_datetime(\"2025-08-01T03:33:20.782Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=125374,\n name=\"\",\n description=\"easily carouse plus quietly reservation bright injunction plastic gah\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=458129,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.FOREVER,\n duration_in_months=375708,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-05-24T21:01:40.292Z\"),\n modified_at=parse_datetime(\"2024-05-25T21:22:06.978Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-09-14T19:23:38.365Z\"),\n ends_at=parse_datetime(\"2024-10-02T13:51:42.523Z\"),\n max_redemptions=231748,\n redemptions_count=846855,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=polar_sdk.OrderSubscription(\n metadata={\n \"key\": 5251.57,\n },\n created_at=parse_datetime(\"2025-02-12T23:41:13.290Z\"),\n modified_at=parse_datetime(\"2023-02-24T15:15:22.018Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=310795,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2023-11-20T10:20:23.628Z\"),\n current_period_end=parse_datetime(\"2025-08-05T06:11:40.745Z\"),\n trial_start=parse_datetime(\"2023-12-05T06:32:48.307Z\"),\n trial_end=None,\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2023-08-08T23:25:37.197Z\"),\n started_at=parse_datetime(\"2024-10-04T00:59:57.339Z\"),\n ends_at=parse_datetime(\"2025-02-01T22:39:43.609Z\"),\n ended_at=parse_datetime(\"2023-08-04T10:17:52.706Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=None,\n customer_cancellation_comment=\"\",\n ),\n items=[],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_paid_post(request=polar_sdk.WebhookOrderPaidPayload(\n timestamp=parse_datetime(\"2025-12-05T07:44:21.172Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2025-07-27T09:45:49.517Z\"),\n modified_at=parse_datetime(\"2024-12-13T20:55:19.644Z\"),\n status=polar_sdk.OrderStatus.PARTIALLY_REFUNDED,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_UPDATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=True,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n platform_fee_currency=\"usd\",\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-08-31T00:54:53.749Z\"),\n modified_at=parse_datetime(\"2025-07-24T12:09:26.716Z\"),\n metadata={\n \"key\": \"\",\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-04-20T14:41:24.727Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2023-06-18T22:24:34.935Z\"),\n modified_at=parse_datetime(\"2025-08-01T03:33:20.782Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=125374,\n name=\"\",\n description=\"easily carouse plus quietly reservation bright injunction plastic gah\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=458129,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.FOREVER,\n duration_in_months=375708,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-05-24T21:01:40.292Z\"),\n modified_at=parse_datetime(\"2024-05-25T21:22:06.978Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-09-14T19:23:38.365Z\"),\n ends_at=parse_datetime(\"2024-10-02T13:51:42.523Z\"),\n max_redemptions=231748,\n redemptions_count=846855,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=polar_sdk.OrderSubscription(\n metadata={\n \"key\": 5251.57,\n },\n created_at=parse_datetime(\"2025-02-12T23:41:13.290Z\"),\n modified_at=parse_datetime(\"2023-02-24T15:15:22.018Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=310795,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2023-11-20T10:20:23.628Z\"),\n current_period_end=parse_datetime(\"2025-08-05T06:11:40.745Z\"),\n trial_start=parse_datetime(\"2023-12-05T06:32:48.307Z\"),\n trial_end=None,\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2023-08-08T23:25:37.197Z\"),\n started_at=parse_datetime(\"2024-10-04T00:59:57.339Z\"),\n ends_at=parse_datetime(\"2025-02-01T22:39:43.609Z\"),\n ended_at=parse_datetime(\"2023-08-04T10:17:52.706Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=None,\n customer_cancellation_comment=\"\",\n ),\n items=[],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["order.refunded"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_refunded_post(request=polar_sdk.WebhookOrderRefundedPayload(\n timestamp=parse_datetime(\"2024-07-23T18:00:11.615Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2025-03-19T11:53:59.744Z\"),\n modified_at=parse_datetime(\"2024-12-01T04:03:14.906Z\"),\n status=polar_sdk.OrderStatus.REFUNDED,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_CREATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=False,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-05-21T22:00:59.902Z\"),\n modified_at=parse_datetime(\"2024-08-24T07:48:58.778Z\"),\n metadata={\n \"key\": 647689,\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-08-19T02:54:30.835Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=None,\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=310259,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2023-01-26T21:26:48.872Z\"),\n modified_at=parse_datetime(\"2023-01-16T07:26:04.196Z\"),\n id=\"\",\n metadata={\n \"key\": 4016.73,\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2025-09-14T03:05:33.012Z\"),\n ends_at=None,\n max_redemptions=211875,\n redemptions_count=188354,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-12-08T10:40:25.472Z\"),\n modified_at=parse_datetime(\"2023-12-20T17:19:16.701Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_refunded_post(request=polar_sdk.WebhookOrderRefundedPayload(\n timestamp=parse_datetime(\"2024-07-23T18:00:11.615Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2025-03-19T11:53:59.744Z\"),\n modified_at=parse_datetime(\"2024-12-01T04:03:14.906Z\"),\n status=polar_sdk.OrderStatus.REFUNDED,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_CREATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=False,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n platform_fee_currency=\"usd\",\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-05-21T22:00:59.902Z\"),\n modified_at=parse_datetime(\"2024-08-24T07:48:58.778Z\"),\n metadata={\n \"key\": 647689,\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-08-19T02:54:30.835Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=None,\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=310259,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2023-01-26T21:26:48.872Z\"),\n modified_at=parse_datetime(\"2023-01-16T07:26:04.196Z\"),\n id=\"\",\n metadata={\n \"key\": 4016.73,\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2025-09-14T03:05:33.012Z\"),\n ends_at=None,\n max_redemptions=211875,\n redemptions_count=188354,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-12-08T10:40:25.472Z\"),\n modified_at=parse_datetime(\"2023-12-20T17:19:16.701Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["order.updated"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_updated_post(request=polar_sdk.WebhookOrderUpdatedPayload(\n timestamp=parse_datetime(\"2023-10-25T00:08:50.290Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2024-04-30T23:35:35.375Z\"),\n modified_at=parse_datetime(\"2025-06-01T02:02:46.580Z\"),\n status=polar_sdk.OrderStatus.PENDING,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_CREATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=True,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2023-12-14T17:38:07.808Z\"),\n modified_at=parse_datetime(\"2024-04-07T10:18:18.539Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-10-23T02:39:12.424Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2024-12-03T05:16:11.415Z\"),\n modified_at=parse_datetime(\"2023-03-11T05:58:05.184Z\"),\n trial_interval=None,\n trial_interval_count=None,\n name=\"\",\n description=\"simple eventually briskly considering\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=None,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountPercentageRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.FOREVER,\n duration_in_months=976971,\n type=polar_sdk.DiscountType.FIXED,\n basis_points=1000,\n created_at=parse_datetime(\"2024-02-28T06:12:39.096Z\"),\n modified_at=parse_datetime(\"2023-10-01T05:16:42.046Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-08-28T07:16:56.183Z\"),\n ends_at=parse_datetime(\"2023-02-25T14:55:58.248Z\"),\n max_redemptions=970746,\n redemptions_count=314425,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-10-24T22:29:24.352Z\"),\n modified_at=parse_datetime(\"2023-05-02T19:12:30.014Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorder_updated_post(request=polar_sdk.WebhookOrderUpdatedPayload(\n timestamp=parse_datetime(\"2023-10-25T00:08:50.290Z\"),\n data=polar_sdk.Order(\n id=\"\",\n created_at=parse_datetime(\"2024-04-30T23:35:35.375Z\"),\n modified_at=parse_datetime(\"2025-06-01T02:02:46.580Z\"),\n status=polar_sdk.OrderStatus.PENDING,\n paid=True,\n subtotal_amount=10000,\n discount_amount=1000,\n net_amount=9000,\n tax_amount=720,\n total_amount=9720,\n applied_balance_amount=0,\n due_amount=0,\n refunded_amount=0,\n refunded_tax_amount=0,\n currency=\"usd\",\n billing_reason=polar_sdk.OrderBillingReason.SUBSCRIPTION_CREATE,\n billing_name=\"\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n invoice_number=\"\",\n is_invoice_generated=True,\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n subscription_id=\"\",\n checkout_id=\"\",\n metadata={\n\n },\n platform_fee_amount=500,\n platform_fee_currency=\"usd\",\n customer=polar_sdk.OrderCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2023-12-14T17:38:07.808Z\"),\n modified_at=parse_datetime(\"2024-04-07T10:18:18.539Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-10-23T02:39:12.424Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n user_id=\"\",\n product=polar_sdk.OrderProduct(\n metadata={\n\n },\n id=\"\",\n created_at=parse_datetime(\"2024-12-03T05:16:11.415Z\"),\n modified_at=parse_datetime(\"2023-03-11T05:58:05.184Z\"),\n trial_interval=None,\n trial_interval_count=None,\n name=\"\",\n description=\"simple eventually briskly considering\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=None,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n ),\n discount=polar_sdk.DiscountPercentageRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.FOREVER,\n duration_in_months=976971,\n type=polar_sdk.DiscountType.FIXED,\n basis_points=1000,\n created_at=parse_datetime(\"2024-02-28T06:12:39.096Z\"),\n modified_at=parse_datetime(\"2023-10-01T05:16:42.046Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-08-28T07:16:56.183Z\"),\n ends_at=parse_datetime(\"2023-02-25T14:55:58.248Z\"),\n max_redemptions=970746,\n redemptions_count=314425,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n subscription=None,\n items=[\n polar_sdk.OrderItemSchema(\n created_at=parse_datetime(\"2024-10-24T22:29:24.352Z\"),\n modified_at=parse_datetime(\"2023-05-02T19:12:30.014Z\"),\n id=\"\",\n label=\"Pro Plan\",\n amount=10000,\n tax_amount=720,\n proration=False,\n product_price_id=\"\",\n ),\n ],\n description=\"Pro Plan\",\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["organization.updated"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorganization_updated_post(request={\n \"type\": \"organization.updated\",\n \"timestamp\": parse_datetime(\"2025-08-19T15:02:44.139Z\"),\n \"data\": {\n \"created_at\": parse_datetime(\"2025-05-07T21:24:48.059Z\"),\n \"modified_at\": parse_datetime(\"2023-04-16T23:18:12.986Z\"),\n \"id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"name\": \"\",\n \"slug\": \"\",\n \"avatar_url\": \"https://pessimistic-going.name/\",\n \"email\": \"Stefan_Pagac@yahoo.com\",\n \"website\": \"\",\n \"socials\": [],\n \"status\": polar_sdk.OrganizationStatus.CREATED,\n \"details_submitted_at\": parse_datetime(\"2024-05-05T12:48:25.627Z\"),\n \"feature_settings\": {},\n \"subscription_settings\": {\n \"allow_multiple_subscriptions\": True,\n \"allow_customer_updates\": False,\n \"proration_behavior\": polar_sdk.SubscriptionProrationBehavior.PRORATE,\n \"benefit_revocation_grace_period\": 219094,\n },\n \"notification_settings\": {\n \"new_order\": True,\n \"new_subscription\": False,\n },\n \"customer_email_settings\": {\n \"order_confirmation\": False,\n \"subscription_cancellation\": True,\n \"subscription_confirmation\": False,\n \"subscription_cycled\": True,\n \"subscription_past_due\": True,\n \"subscription_revoked\": True,\n \"subscription_uncanceled\": False,\n \"subscription_updated\": True,\n },\n },\n })\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointorganization_updated_post(request=polar_sdk.WebhookOrganizationUpdatedPayload(\n timestamp=parse_datetime(\"2025-08-19T15:02:44.139Z\"),\n data=polar_sdk.Organization(\n created_at=parse_datetime(\"2025-05-07T21:24:48.059Z\"),\n modified_at=parse_datetime(\"2023-04-16T23:18:12.986Z\"),\n id=\"\",\n name=\"\",\n slug=\"\",\n avatar_url=\"https://pessimistic-going.name/\",\n proration_behavior=polar_sdk.SubscriptionProrationBehavior.PRORATE,\n allow_customer_updates=True,\n email=\"Marianne.Haag@yahoo.com\",\n website=None,\n socials=[],\n status=polar_sdk.OrganizationStatus.INITIAL_REVIEW,\n details_submitted_at=parse_datetime(\"2024-06-29T16:05:16.127Z\"),\n feature_settings=polar_sdk.OrganizationFeatureSettings(),\n subscription_settings=polar_sdk.OrganizationSubscriptionSettings(\n allow_multiple_subscriptions=False,\n allow_customer_updates=True,\n proration_behavior=polar_sdk.SubscriptionProrationBehavior.INVOICE,\n benefit_revocation_grace_period=778168,\n prevent_trial_abuse=False,\n ),\n notification_settings=polar_sdk.OrganizationNotificationSettings(\n new_order=True,\n new_subscription=False,\n ),\n customer_email_settings=polar_sdk.OrganizationCustomerEmailSettings(\n order_confirmation=True,\n subscription_cancellation=True,\n subscription_confirmation=True,\n subscription_cycled=False,\n subscription_past_due=True,\n subscription_revoked=False,\n subscription_uncanceled=False,\n subscription_updated=True,\n ),\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["product.created"]["post"] update: "x-codeSamples": @@ -1064,7 +1058,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointproduct_updated_post(request={\n \"type\": \"product.updated\",\n \"timestamp\": parse_datetime(\"2024-08-25T02:00:54.049Z\"),\n \"data\": {\n \"id\": \"\",\n \"created_at\": parse_datetime(\"2025-02-11T18:19:05.372Z\"),\n \"modified_at\": parse_datetime(\"2025-07-31T19:14:23.351Z\"),\n \"trial_interval\": polar_sdk.TrialInterval.YEAR,\n \"trial_interval_count\": 907633,\n \"name\": \"\",\n \"description\": \"square extract modulo bossy outlandish pecan\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.YEAR,\n \"recurring_interval_count\": 731544,\n \"is_recurring\": False,\n \"is_archived\": True,\n \"organization_id\": \"\",\n \"metadata\": {\n\n },\n \"prices\": [\n {\n \"created_at\": parse_datetime(\"2025-06-01T04:39:05.245Z\"),\n \"modified_at\": parse_datetime(\"2024-05-10T10:53:55.427Z\"),\n \"id\": \"\",\n \"amount_type\": \"free\",\n \"is_archived\": True,\n \"product_id\": \"\",\n \"type\": \"recurring\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.MONTH,\n \"legacy\": True,\n },\n ],\n \"benefits\": [],\n \"medias\": [],\n \"attached_custom_fields\": [\n {\n \"custom_field_id\": \"\",\n \"custom_field\": {\n \"created_at\": parse_datetime(\"2025-06-23T20:05:36.217Z\"),\n \"modified_at\": parse_datetime(\"2023-10-18T15:30:25.986Z\"),\n \"id\": \"\",\n \"metadata\": {\n\n },\n \"type\": \"text\",\n \"slug\": \"\",\n \"name\": \"\",\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"properties\": {},\n },\n \"order\": 752010,\n \"required\": True,\n },\n ],\n },\n })\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointproduct_updated_post(request={\n \"type\": \"product.updated\",\n \"timestamp\": parse_datetime(\"2024-08-25T02:00:54.049Z\"),\n \"data\": {\n \"id\": \"\",\n \"created_at\": parse_datetime(\"2025-02-11T18:19:05.372Z\"),\n \"modified_at\": parse_datetime(\"2025-07-31T19:14:23.351Z\"),\n \"trial_interval\": polar_sdk.TrialInterval.YEAR,\n \"trial_interval_count\": 907633,\n \"name\": \"\",\n \"description\": \"square extract modulo bossy outlandish pecan\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.YEAR,\n \"recurring_interval_count\": 731544,\n \"is_recurring\": False,\n \"is_archived\": True,\n \"organization_id\": \"\",\n \"metadata\": {\n\n },\n \"prices\": [\n {\n \"created_at\": parse_datetime(\"2025-06-01T04:39:05.245Z\"),\n \"modified_at\": parse_datetime(\"2024-05-10T10:53:55.427Z\"),\n \"id\": \"\",\n \"source\": polar_sdk.ProductPriceSource.CATALOG,\n \"amount_type\": \"free\",\n \"is_archived\": False,\n \"product_id\": \"\",\n \"type\": \"recurring\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.DAY,\n \"legacy\": True,\n },\n ],\n \"benefits\": [],\n \"medias\": [\n {\n \"id\": \"\",\n \"organization_id\": \"\",\n \"name\": \"\",\n \"path\": \"/usr/src\",\n \"mime_type\": \"\",\n \"size\": 825582,\n \"storage_version\": \"\",\n \"checksum_etag\": \"\",\n \"checksum_sha256_base64\": \"\",\n \"checksum_sha256_hex\": \"\",\n \"last_modified_at\": parse_datetime(\"2025-10-10T23:54:17.582Z\"),\n \"version\": \"\",\n \"service\": \"product_media\",\n \"is_uploaded\": True,\n \"created_at\": parse_datetime(\"2023-08-27T11:33:39.456Z\"),\n \"size_readable\": \"\",\n \"public_url\": \"https://equatorial-gerbil.net/\",\n },\n ],\n \"attached_custom_fields\": [],\n },\n })\n\n # Handle response\n print(res)" - target: $["paths"]["refund.created"]["post"] update: "x-codeSamples": @@ -1082,7 +1076,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_active_post(request=polar_sdk.WebhookSubscriptionActivePayload(\n timestamp=parse_datetime(\"2023-08-13T01:28:21.362Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-10-12T10:17:29.274Z\"),\n modified_at=parse_datetime(\"2023-12-18T04:45:55.702Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=291908,\n status=polar_sdk.SubscriptionStatus.PAST_DUE,\n current_period_start=parse_datetime(\"2023-06-09T14:14:48.363Z\"),\n current_period_end=None,\n trial_start=None,\n trial_end=None,\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2024-09-14T15:19:58.463Z\"),\n started_at=parse_datetime(\"2024-07-30T05:01:30.550Z\"),\n ends_at=parse_datetime(\"2024-02-02T06:13:13.441Z\"),\n ended_at=parse_datetime(\"2023-10-10T03:15:20.759Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.UNUSED,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 667866,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-02-14T12:59:50.680Z\"),\n modified_at=parse_datetime(\"2025-03-11T11:17:02.540Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2023-04-08T22:28:00.101Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2025-11-05T10:18:40.300Z\"),\n modified_at=parse_datetime(\"2024-04-23T18:24:43.408Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=714669,\n name=\"\",\n description=\"amongst incidentally irritably cauliflower antique\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=48572,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": False,\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2025-03-24T10:57:36.466Z\"),\n modified_at=parse_datetime(\"2024-10-17T11:42:46.643Z\"),\n id=\"\",\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n price_currency=\"\",\n minimum_amount=154892,\n maximum_amount=778615,\n preset_amount=829362,\n ),\n ],\n benefits=[\n polar_sdk.BenefitGitHubRepository(\n id=\"\",\n created_at=parse_datetime(\"2024-04-05T11:10:16.533Z\"),\n modified_at=parse_datetime(\"2023-02-12T06:44:11.052Z\"),\n description=\"against effector as upbeat yuck\",\n selectable=True,\n deletable=False,\n organization_id=\"\",\n metadata={\n \"key\": \"\",\n },\n properties=polar_sdk.BenefitGitHubRepositoryProperties(\n repository_owner=\"polarsource\",\n repository_name=\"private_repo\",\n permission=polar_sdk.Permission.MAINTAIN,\n ),\n ),\n ],\n medias=[],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountPercentageRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=629236,\n type=polar_sdk.DiscountType.PERCENTAGE,\n basis_points=1000,\n created_at=parse_datetime(\"2023-04-09T15:13:09.162Z\"),\n modified_at=parse_datetime(\"2023-02-11T00:08:34.711Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-07-16T10:58:24.296Z\"),\n ends_at=None,\n max_redemptions=929853,\n redemptions_count=426681,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2023-06-23T00:23:01.418Z\"),\n modified_at=parse_datetime(\"2023-08-22T07:22:13.326Z\"),\n id=\"\",\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n minimum_amount=168659,\n maximum_amount=84871,\n preset_amount=549701,\n ),\n ],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2024-10-27T03:26:40.201Z\"),\n modified_at=None,\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n \"key\": 99831,\n },\n created_at=parse_datetime(\"2024-03-30T14:50:52.711Z\"),\n modified_at=parse_datetime(\"2024-06-25T05:59:30.258Z\"),\n id=\"\",\n name=\"\",\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[\n polar_sdk.FilterClause(\n property=\"\",\n operator=polar_sdk.FilterOperator.EQ,\n value=\"\",\n ),\n ],\n ),\n aggregation=polar_sdk.CountAggregation(),\n organization_id=\"\",\n ),\n ),\n ],\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_active_post(request=polar_sdk.WebhookSubscriptionActivePayload(\n timestamp=parse_datetime(\"2023-08-13T01:28:21.362Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-10-12T10:17:29.274Z\"),\n modified_at=parse_datetime(\"2023-12-18T04:45:55.702Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=291908,\n status=polar_sdk.SubscriptionStatus.PAST_DUE,\n current_period_start=parse_datetime(\"2023-06-09T14:14:48.363Z\"),\n current_period_end=None,\n trial_start=None,\n trial_end=None,\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2024-09-14T15:19:58.463Z\"),\n started_at=parse_datetime(\"2024-07-30T05:01:30.550Z\"),\n ends_at=parse_datetime(\"2024-02-02T06:13:13.441Z\"),\n ended_at=parse_datetime(\"2023-10-10T03:15:20.759Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.UNUSED,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 667866,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-02-14T12:59:50.680Z\"),\n modified_at=parse_datetime(\"2025-03-11T11:17:02.540Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2023-04-08T22:28:00.101Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2025-11-05T10:18:40.300Z\"),\n modified_at=parse_datetime(\"2024-04-23T18:24:43.408Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=714669,\n name=\"\",\n description=\"amongst incidentally irritably cauliflower antique\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n recurring_interval_count=48572,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": False,\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2025-03-24T10:57:36.466Z\"),\n modified_at=parse_datetime(\"2024-10-17T11:42:46.643Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n minimum_amount=389288,\n maximum_amount=177303,\n preset_amount=561657,\n ),\n ],\n benefits=[],\n medias=[],\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldCheckbox(\n created_at=parse_datetime(\"2024-01-12T08:39:00.463Z\"),\n modified_at=parse_datetime(\"2025-03-02T23:03:24.214Z\"),\n id=\"\",\n metadata={\n\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldCheckboxProperties(),\n ),\n order=977457,\n required=False,\n ),\n ],\n ),\n discount=polar_sdk.DiscountFixedOnceForeverDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.FIXED,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2023-01-15T17:33:02.691Z\"),\n modified_at=parse_datetime(\"2024-04-26T17:17:19.419Z\"),\n id=\"\",\n metadata={\n \"key\": 123196,\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2023-04-09T13:01:30.211Z\"),\n ends_at=parse_datetime(\"2025-04-05T20:05:32.381Z\"),\n max_redemptions=751909,\n redemptions_count=518919,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2024-02-21T06:23:41.365Z\"),\n modified_at=parse_datetime(\"2025-09-30T12:23:41.262Z\"),\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n \"key\": True,\n },\n created_at=parse_datetime(\"2023-11-13T01:54:07.938Z\"),\n modified_at=parse_datetime(\"2023-12-18T08:10:47.455Z\"),\n id=\"\",\n name=\"\",\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[],\n ),\n aggregation=polar_sdk.PropertyAggregation(\n func=polar_sdk.Func.SUM,\n property=\"\",\n ),\n organization_id=\"\",\n ),\n ),\n ],\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["subscription.canceled"]["post"] update: "x-codeSamples": @@ -1100,16 +1094,16 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_revoked_post(request=polar_sdk.WebhookSubscriptionRevokedPayload(\n timestamp=parse_datetime(\"2024-01-02T06:40:50.860Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-03-16T08:42:29.566Z\"),\n modified_at=parse_datetime(\"2023-10-28T01:20:21.930Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=811590,\n status=polar_sdk.SubscriptionStatus.ACTIVE,\n current_period_start=parse_datetime(\"2023-05-30T02:07:20.021Z\"),\n current_period_end=parse_datetime(\"2023-06-01T18:10:42.435Z\"),\n trial_start=parse_datetime(\"2023-02-17T04:59:11.584Z\"),\n trial_end=parse_datetime(\"2024-02-14T23:20:57.498Z\"),\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2023-11-13T16:37:04.348Z\"),\n started_at=parse_datetime(\"2023-12-28T07:35:48.028Z\"),\n ends_at=parse_datetime(\"2024-01-26T10:24:50.250Z\"),\n ended_at=parse_datetime(\"2024-06-20T16:37:33.284Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.TOO_EXPENSIVE,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 8717.41,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-05-28T06:09:58.228Z\"),\n modified_at=parse_datetime(\"2025-01-19T04:39:36.127Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-05-31T05:10:14.997Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2025-06-26T05:35:27.950Z\"),\n modified_at=parse_datetime(\"2024-06-01T00:18:42.763Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=455030,\n name=\"\",\n description=\"overburden quarrelsome outrun phew whose merrily language\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=518934,\n is_recurring=True,\n is_archived=False,\n organization_id=\"\",\n metadata={\n\n },\n prices=[],\n benefits=[\n polar_sdk.BenefitDiscord(\n id=\"\",\n created_at=parse_datetime(\"2023-12-16T06:31:21.339Z\"),\n modified_at=parse_datetime(\"2024-06-28T04:33:55.419Z\"),\n description=\"yuck after plus meh enrich that\",\n selectable=False,\n deletable=False,\n organization_id=\"\",\n metadata={\n \"key\": 484393,\n },\n properties=polar_sdk.BenefitDiscordProperties(\n guild_id=\"\",\n role_id=\"\",\n kick_member=False,\n guild_token=\"\",\n ),\n ),\n ],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/usr/bin\",\n mime_type=\"\",\n size=968821,\n storage_version=None,\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2023-08-08T17:21:00.549Z\"),\n version=\"\",\n is_uploaded=True,\n created_at=parse_datetime(\"2023-09-16T06:24:58.018Z\"),\n size_readable=\"\",\n public_url=\"https://utter-requirement.name\",\n ),\n ],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=999351,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-07-01T13:17:29.420Z\"),\n modified_at=parse_datetime(\"2025-02-23T14:37:34.479Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-12-31T12:49:59.518Z\"),\n ends_at=parse_datetime(\"2024-06-27T11:23:29.412Z\"),\n max_redemptions=437648,\n redemptions_count=444423,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-10-03T04:33:30.421Z\"),\n modified_at=parse_datetime(\"2023-02-24T01:04:52.565Z\"),\n id=\"\",\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_currency=\"\",\n price_amount=213583,\n ),\n ],\n meters=[],\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_revoked_post(request=polar_sdk.WebhookSubscriptionRevokedPayload(\n timestamp=parse_datetime(\"2024-01-02T06:40:50.860Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-03-16T08:42:29.566Z\"),\n modified_at=parse_datetime(\"2023-10-28T01:20:21.930Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=811590,\n status=polar_sdk.SubscriptionStatus.ACTIVE,\n current_period_start=parse_datetime(\"2023-05-30T02:07:20.021Z\"),\n current_period_end=parse_datetime(\"2023-06-01T18:10:42.435Z\"),\n trial_start=parse_datetime(\"2023-02-17T04:59:11.584Z\"),\n trial_end=parse_datetime(\"2024-02-14T23:20:57.498Z\"),\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2023-11-13T16:37:04.348Z\"),\n started_at=parse_datetime(\"2023-12-28T07:35:48.028Z\"),\n ends_at=parse_datetime(\"2024-01-26T10:24:50.250Z\"),\n ended_at=parse_datetime(\"2024-06-20T16:37:33.284Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.TOO_EXPENSIVE,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 8717.41,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-05-28T06:09:58.228Z\"),\n modified_at=parse_datetime(\"2025-01-19T04:39:36.127Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-05-31T05:10:14.997Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2025-06-26T05:35:27.950Z\"),\n modified_at=parse_datetime(\"2024-06-01T00:18:42.763Z\"),\n trial_interval=polar_sdk.TrialInterval.WEEK,\n trial_interval_count=455030,\n name=\"\",\n description=\"overburden quarrelsome outrun phew whose merrily language\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=518934,\n is_recurring=True,\n is_archived=False,\n organization_id=\"\",\n metadata={\n\n },\n prices=[],\n benefits=[\n polar_sdk.BenefitDiscord(\n id=\"\",\n created_at=parse_datetime(\"2023-12-16T06:31:21.339Z\"),\n modified_at=parse_datetime(\"2024-06-28T04:33:55.419Z\"),\n description=\"yuck after plus meh enrich that\",\n selectable=False,\n deletable=False,\n organization_id=\"\",\n metadata={\n \"key\": 484393,\n },\n properties=polar_sdk.BenefitDiscordProperties(\n guild_id=\"\",\n role_id=\"\",\n kick_member=False,\n guild_token=\"\",\n ),\n ),\n ],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/usr/bin\",\n mime_type=\"\",\n size=968821,\n storage_version=None,\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2023-08-08T17:21:00.549Z\"),\n version=\"\",\n is_uploaded=True,\n created_at=parse_datetime(\"2023-09-16T06:24:58.018Z\"),\n size_readable=\"\",\n public_url=\"https://utter-requirement.name\",\n ),\n ],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=999351,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2024-07-01T13:17:29.420Z\"),\n modified_at=parse_datetime(\"2025-02-23T14:37:34.479Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-12-31T12:49:59.518Z\"),\n ends_at=parse_datetime(\"2024-06-27T11:23:29.412Z\"),\n max_redemptions=437648,\n redemptions_count=444423,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-10-03T04:33:30.421Z\"),\n modified_at=parse_datetime(\"2023-02-24T01:04:52.565Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n price_currency=\"\",\n price_amount=366002,\n ),\n ],\n meters=[],\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["subscription.uncanceled"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_uncanceled_post(request=polar_sdk.WebhookSubscriptionUncanceledPayload(\n timestamp=parse_datetime(\"2023-02-06T17:25:10.106Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-05-13T11:53:26.507Z\"),\n modified_at=None,\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=406654,\n status=polar_sdk.SubscriptionStatus.INCOMPLETE_EXPIRED,\n current_period_start=parse_datetime(\"2025-06-06T02:06:49.326Z\"),\n current_period_end=parse_datetime(\"2023-04-28T08:16:42.068Z\"),\n trial_start=parse_datetime(\"2023-10-03T23:40:30.923Z\"),\n trial_end=parse_datetime(\"2024-11-16T02:01:16.824Z\"),\n cancel_at_period_end=True,\n canceled_at=parse_datetime(\"2023-12-23T04:50:00.016Z\"),\n started_at=parse_datetime(\"2024-10-18T16:25:47.209Z\"),\n ends_at=parse_datetime(\"2023-01-21T06:39:24.599Z\"),\n ended_at=parse_datetime(\"2023-06-01T22:55:56.558Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=None,\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.SWITCHED_SERVICE,\n customer_cancellation_comment=\"\",\n metadata={\n\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-12-23T09:30:11.195Z\"),\n modified_at=parse_datetime(\"2024-12-20T09:31:52.259Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2023-09-22T11:20:51.361Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2024-10-15T19:47:04.648Z\"),\n modified_at=parse_datetime(\"2024-08-04T07:14:33.597Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=449040,\n name=\"\",\n description=\"geez proper whenever exaggerate\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=130752,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": 4421.44,\n },\n prices=[\n polar_sdk.ProductPriceSeatBased(\n created_at=parse_datetime(\"2024-02-14T17:42:30.228Z\"),\n modified_at=parse_datetime(\"2023-11-01T03:56:36.911Z\"),\n id=\"\",\n is_archived=True,\n product_id=\"\",\n type=polar_sdk.ProductPriceType.ONE_TIME,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n seat_tiers=polar_sdk.ProductPriceSeatTiers(\n tiers=[],\n ),\n ),\n ],\n benefits=[\n polar_sdk.BenefitLicenseKeys(\n id=\"\",\n created_at=parse_datetime(\"2025-10-16T22:21:29.269Z\"),\n modified_at=parse_datetime(\"2024-12-25T00:51:16.069Z\"),\n description=\"confound consequently fairly around winged lounge hmph\",\n selectable=True,\n deletable=False,\n organization_id=\"\",\n metadata={\n\n },\n properties=polar_sdk.BenefitLicenseKeysProperties(\n prefix=None,\n expires=polar_sdk.BenefitLicenseKeyExpirationProperties(\n ttl=137943,\n timeframe=polar_sdk.Timeframe.YEAR,\n ),\n activations=polar_sdk.BenefitLicenseKeyActivationProperties(\n limit=601895,\n enable_customer_admin=False,\n ),\n limit_usage=7151,\n ),\n ),\n ],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/home/user\",\n mime_type=\"\",\n size=973918,\n storage_version=None,\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=parse_datetime(\"2024-08-03T23:06:56.842Z\"),\n version=\"\",\n is_uploaded=False,\n created_at=parse_datetime(\"2024-07-11T07:06:51.985Z\"),\n size_readable=\"\",\n public_url=\"https://brave-apparatus.org\",\n ),\n ],\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldNumber(\n created_at=parse_datetime(\"2024-11-24T20:44:07.855Z\"),\n modified_at=parse_datetime(\"2023-01-08T04:12:28.982Z\"),\n id=\"\",\n metadata={\n\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldNumberProperties(),\n ),\n order=641015,\n required=True,\n ),\n ],\n ),\n discount=polar_sdk.DiscountPercentageOnceForeverDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.FIXED,\n basis_points=1000,\n created_at=parse_datetime(\"2023-02-07T10:32:39.606Z\"),\n modified_at=parse_datetime(\"2025-11-03T02:51:34.636Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=None,\n ends_at=parse_datetime(\"2024-04-21T02:08:16.256Z\"),\n max_redemptions=865781,\n redemptions_count=827760,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[],\n meters=[],\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_uncanceled_post(request=polar_sdk.WebhookSubscriptionUncanceledPayload(\n timestamp=parse_datetime(\"2023-02-06T17:25:10.106Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2023-05-13T11:53:26.507Z\"),\n modified_at=None,\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=406654,\n status=polar_sdk.SubscriptionStatus.INCOMPLETE_EXPIRED,\n current_period_start=parse_datetime(\"2025-06-06T02:06:49.326Z\"),\n current_period_end=parse_datetime(\"2023-04-28T08:16:42.068Z\"),\n trial_start=parse_datetime(\"2023-10-03T23:40:30.923Z\"),\n trial_end=parse_datetime(\"2024-11-16T02:01:16.824Z\"),\n cancel_at_period_end=True,\n canceled_at=parse_datetime(\"2023-12-23T04:50:00.016Z\"),\n started_at=parse_datetime(\"2024-10-18T16:25:47.209Z\"),\n ends_at=parse_datetime(\"2023-01-21T06:39:24.599Z\"),\n ended_at=parse_datetime(\"2023-06-01T22:55:56.558Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=None,\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.SWITCHED_SERVICE,\n customer_cancellation_comment=\"\",\n metadata={\n\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-12-23T09:30:11.195Z\"),\n modified_at=parse_datetime(\"2024-12-20T09:31:52.259Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2023-09-22T11:20:51.361Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2024-10-15T19:47:04.648Z\"),\n modified_at=parse_datetime(\"2024-08-04T07:14:33.597Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=449040,\n name=\"\",\n description=\"geez proper whenever exaggerate\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=130752,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": 4421.44,\n },\n prices=[\n polar_sdk.ProductPriceSeatBased(\n created_at=parse_datetime(\"2024-02-14T17:42:30.228Z\"),\n modified_at=parse_datetime(\"2023-11-01T03:56:36.911Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n is_archived=True,\n product_id=\"\",\n type=polar_sdk.ProductPriceType.ONE_TIME,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n seat_tiers=polar_sdk.ProductPriceSeatTiers(\n tiers=[\n polar_sdk.ProductPriceSeatTier(\n min_seats=810993,\n price_per_seat=930595,\n ),\n ],\n ),\n ),\n ],\n benefits=[],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/rescue\",\n mime_type=\"\",\n size=664297,\n storage_version=\"\",\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=\"\",\n last_modified_at=None,\n version=\"\",\n is_uploaded=True,\n created_at=parse_datetime(\"2023-12-22T07:23:34.509Z\"),\n size_readable=\"\",\n public_url=\"https://jam-packed-lamp.biz\",\n ),\n ],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountFixedOnceForeverDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2025-11-02T19:56:53.453Z\"),\n modified_at=parse_datetime(\"2023-09-06T02:01:21.667Z\"),\n id=\"\",\n metadata={\n \"key\": \"\",\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2023-11-21T17:11:26.125Z\"),\n ends_at=None,\n max_redemptions=533397,\n redemptions_count=291288,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2025-11-23T09:56:50.130Z\"),\n modified_at=parse_datetime(\"2025-12-02T22:46:25.569Z\"),\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n\n },\n created_at=parse_datetime(\"2024-05-15T11:20:03.256Z\"),\n modified_at=parse_datetime(\"2023-07-17T10:10:30.145Z\"),\n id=\"\",\n name=\"\",\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[],\n ),\n aggregation=polar_sdk.PropertyAggregation(\n func=polar_sdk.Func.MIN,\n property=\"\",\n ),\n organization_id=\"\",\n ),\n ),\n ],\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["subscription.updated"]["post"] update: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_updated_post(request=polar_sdk.WebhookSubscriptionUpdatedPayload(\n timestamp=parse_datetime(\"2023-06-24T13:26:25.969Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2024-05-25T12:11:24.717Z\"),\n modified_at=parse_datetime(\"2024-07-08T02:17:23.799Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=489836,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2024-06-19T12:29:28.503Z\"),\n current_period_end=parse_datetime(\"2023-08-24T22:14:10.131Z\"),\n trial_start=parse_datetime(\"2025-12-11T02:41:54.261Z\"),\n trial_end=parse_datetime(\"2025-12-29T02:13:52.269Z\"),\n cancel_at_period_end=True,\n canceled_at=parse_datetime(\"2025-01-23T22:07:32.693Z\"),\n started_at=parse_datetime(\"2025-05-14T13:55:44.367Z\"),\n ends_at=parse_datetime(\"2024-10-25T00:53:02.943Z\"),\n ended_at=parse_datetime(\"2023-09-29T06:12:50.252Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.SWITCHED_SERVICE,\n customer_cancellation_comment=\"\",\n metadata={\n\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-02-26T04:35:08.698Z\"),\n modified_at=parse_datetime(\"2024-01-10T06:45:35.933Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-04-21T20:23:52.355Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2023-05-10T07:26:17.258Z\"),\n modified_at=parse_datetime(\"2025-07-20T14:48:07.590Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=640251,\n name=\"\",\n description=\"swelter when besides utter phew knottily utilization now\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=None,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": 2229.58,\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2024-10-24T03:47:20.035Z\"),\n modified_at=parse_datetime(\"2023-07-28T10:52:24.280Z\"),\n id=\"\",\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n minimum_amount=588876,\n maximum_amount=280866,\n preset_amount=942797,\n ),\n ],\n benefits=[],\n medias=[],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountFixedOnceForeverDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n created_at=parse_datetime(\"2025-11-18T23:26:50.006Z\"),\n modified_at=parse_datetime(\"2024-05-31T09:53:13.946Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2025-12-28T16:59:30.195Z\"),\n ends_at=parse_datetime(\"2023-06-09T06:11:59.062Z\"),\n max_redemptions=580493,\n redemptions_count=595442,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2024-05-25T04:21:31.587Z\"),\n modified_at=parse_datetime(\"2024-02-19T12:40:10.475Z\"),\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n\n },\n created_at=parse_datetime(\"2023-04-12T20:54:06.410Z\"),\n modified_at=parse_datetime(\"2025-03-19T14:28:57.223Z\"),\n id=\"\",\n name=\"\",\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[\n polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[],\n ),\n ],\n ),\n aggregation=polar_sdk.PropertyAggregation(\n func=polar_sdk.Func.MIN,\n property=\"\",\n ),\n organization_id=\"\",\n ),\n ),\n ],\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_updated_post(request=polar_sdk.WebhookSubscriptionUpdatedPayload(\n timestamp=parse_datetime(\"2023-06-24T13:26:25.969Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2024-05-25T12:11:24.717Z\"),\n modified_at=parse_datetime(\"2024-07-08T02:17:23.799Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=489836,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2024-06-19T12:29:28.503Z\"),\n current_period_end=parse_datetime(\"2023-08-24T22:14:10.131Z\"),\n trial_start=parse_datetime(\"2025-12-11T02:41:54.261Z\"),\n trial_end=parse_datetime(\"2025-12-29T02:13:52.269Z\"),\n cancel_at_period_end=True,\n canceled_at=parse_datetime(\"2025-01-23T22:07:32.693Z\"),\n started_at=parse_datetime(\"2025-05-14T13:55:44.367Z\"),\n ends_at=parse_datetime(\"2024-10-25T00:53:02.943Z\"),\n ended_at=parse_datetime(\"2023-09-29T06:12:50.252Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.SWITCHED_SERVICE,\n customer_cancellation_comment=\"\",\n metadata={\n\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2024-02-26T04:35:08.698Z\"),\n modified_at=parse_datetime(\"2024-01-10T06:45:35.933Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.CountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2024-04-21T20:23:52.355Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2023-05-10T07:26:17.258Z\"),\n modified_at=parse_datetime(\"2025-07-20T14:48:07.590Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=640251,\n name=\"\",\n description=\"swelter when besides utter phew knottily utilization now\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=None,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n metadata={\n \"key\": 2229.58,\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2024-10-24T03:47:20.035Z\"),\n modified_at=parse_datetime(\"2023-07-28T10:52:24.280Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n price_currency=\"\",\n minimum_amount=472782,\n maximum_amount=712963,\n preset_amount=361483,\n ),\n ],\n benefits=[],\n medias=[],\n attached_custom_fields=[],\n ),\n discount=None,\n prices=[],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2025-11-18T23:26:50.006Z\"),\n modified_at=parse_datetime(\"2024-05-31T09:53:13.946Z\"),\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n\n },\n created_at=parse_datetime(\"2025-09-04T19:30:54.013Z\"),\n modified_at=parse_datetime(\"2025-12-28T16:59:30.195Z\"),\n id=\"\",\n name=\"\",\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[],\n ),\n aggregation=polar_sdk.PropertyAggregation(\n func=polar_sdk.Func.SUM,\n property=\"\",\n ),\n organization_id=\"\",\n ),\n ),\n ],\n ),\n ))\n\n # Handle response\n print(res)" diff --git a/docs/models/benefitcustomsubscriber.md b/docs/models/benefitcustomsubscriber.md index c9001f84..5e14b3b9 100644 --- a/docs/models/benefitcustomsubscriber.md +++ b/docs/models/benefitcustomsubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitCustomSubscriberMetadata](../models/benefitcustomsubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitCustomSubscriberProperties](../models/benefitcustomsubscriberproperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `custom`. | \ No newline at end of file diff --git a/docs/models/benefitcycledevent.md b/docs/models/benefitcycledevent.md index 9f378ee5..5c6f1db6 100644 --- a/docs/models/benefitcycledevent.md +++ b/docs/models/benefitcycledevent.md @@ -14,6 +14,8 @@ An event created by Polar when a benefit is cycled. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["benefit.cycled"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.BenefitGrantMetadata](../models/benefitgrantmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/benefitdiscordsubscriber.md b/docs/models/benefitdiscordsubscriber.md index 3658bd58..7661cfaf 100644 --- a/docs/models/benefitdiscordsubscriber.md +++ b/docs/models/benefitdiscordsubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitDiscordSubscriberMetadata](../models/benefitdiscordsubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitDiscordSubscriberProperties](../models/benefitdiscordsubscriberproperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `discord`. | \ No newline at end of file diff --git a/docs/models/benefitdownloadablessubscriber.md b/docs/models/benefitdownloadablessubscriber.md index 6fa6f828..8fb7f7f3 100644 --- a/docs/models/benefitdownloadablessubscriber.md +++ b/docs/models/benefitdownloadablessubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitDownloadablesSubscriberMetadata](../models/benefitdownloadablessubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitDownloadablesSubscriberProperties](../models/benefitdownloadablessubscriberproperties.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/benefitgithubrepositorysubscriber.md b/docs/models/benefitgithubrepositorysubscriber.md index e73fba47..88d873a3 100644 --- a/docs/models/benefitgithubrepositorysubscriber.md +++ b/docs/models/benefitgithubrepositorysubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitGitHubRepositorySubscriberMetadata](../models/benefitgithubrepositorysubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitGitHubRepositorySubscriberProperties](../models/benefitgithubrepositorysubscriberproperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `github_repository`. | \ No newline at end of file diff --git a/docs/models/benefitgrantedevent.md b/docs/models/benefitgrantedevent.md index 6078d14c..21ba5071 100644 --- a/docs/models/benefitgrantedevent.md +++ b/docs/models/benefitgrantedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a benefit is granted to a customer. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["benefit.granted"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.BenefitGrantMetadata](../models/benefitgrantmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/benefitlicensekeyssubscriber.md b/docs/models/benefitlicensekeyssubscriber.md index 6c76b84a..a0686a93 100644 --- a/docs/models/benefitlicensekeyssubscriber.md +++ b/docs/models/benefitlicensekeyssubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitLicenseKeysSubscriberMetadata](../models/benefitlicensekeyssubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitLicenseKeysSubscriberProperties](../models/benefitlicensekeyssubscriberproperties.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/benefitmetercreditsubscriber.md b/docs/models/benefitmetercreditsubscriber.md index 86b98a95..972a38b3 100644 --- a/docs/models/benefitmetercreditsubscriber.md +++ b/docs/models/benefitmetercreditsubscriber.md @@ -14,5 +14,5 @@ | `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the benefit. | | `metadata` | Dict[str, [models.BenefitMeterCreditSubscriberMetadata](../models/benefitmetercreditsubscribermetadata.md)] | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.BenefitSubscriberOrganization](../models/benefitsubscriberorganization.md) | :heavy_check_mark: | N/A | | `properties` | [models.BenefitMeterCreditSubscriberProperties](../models/benefitmetercreditsubscriberproperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `meter_unit`. | \ No newline at end of file diff --git a/docs/models/benefitrevokedevent.md b/docs/models/benefitrevokedevent.md index 1f38abae..554df426 100644 --- a/docs/models/benefitrevokedevent.md +++ b/docs/models/benefitrevokedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a benefit is revoked from a customer. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["benefit.revoked"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.BenefitGrantMetadata](../models/benefitgrantmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/benefitsubscriberorganization.md b/docs/models/benefitsubscriberorganization.md new file mode 100644 index 00000000..cc0b284d --- /dev/null +++ b/docs/models/benefitsubscriberorganization.md @@ -0,0 +1,15 @@ +# BenefitSubscriberOrganization + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | Organization name shown in checkout, customer portal, emails etc. | +| `slug` | *str* | :heavy_check_mark: | Unique organization slug in checkout, customer portal and credit card statements. | +| `avatar_url` | *Nullable[str]* | :heavy_check_mark: | Avatar URL shown in checkout, customer portal, emails etc. | +| `proration_behavior` | [models.SubscriptionProrationBehavior](../models/subscriptionprorationbehavior.md) | :heavy_check_mark: | N/A | +| `allow_customer_updates` | *bool* | :heavy_check_mark: | Whether customers can update their subscriptions from the customer portal. | \ No newline at end of file diff --git a/docs/models/benefitupdatedevent.md b/docs/models/benefitupdatedevent.md index 2a3a8908..67de29e3 100644 --- a/docs/models/benefitupdatedevent.md +++ b/docs/models/benefitupdatedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a benefit is updated. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["benefit.updated"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.BenefitGrantMetadata](../models/benefitgrantmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/checkout.md b/docs/models/checkout.md index 5c004fb0..c52bb3dc 100644 --- a/docs/models/checkout.md +++ b/docs/models/checkout.md @@ -27,12 +27,13 @@ Checkout session data retrieved using an access token. | `tax_amount` | *Nullable[int]* | :heavy_check_mark: | Sales tax amount in cents. If `null`, it means there is no enough information yet to calculate it. | | `total_amount` | *int* | :heavy_check_mark: | Amount in cents, after discounts and taxes. | | `currency` | *str* | :heavy_check_mark: | Currency code of the checkout session. | +| `allow_trial` | *Nullable[bool]* | :heavy_check_mark: | Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured. | | `active_trial_interval` | [Nullable[models.TrialInterval]](../models/trialinterval.md) | :heavy_check_mark: | Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product. | | `active_trial_interval_count` | *Nullable[int]* | :heavy_check_mark: | Number of interval units of the trial period, if any. This value is either set from the checkout, if `trial_interval_count` is set, or from the selected product. | | `trial_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | End date and time of the trial period, if any. | | `organization_id` | *str* | :heavy_check_mark: | ID of the organization owning the checkout session. | | `product_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product to checkout. | -| `product_price_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product price to checkout. | +| ~~`product_price_id`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the product price to checkout. | | `discount_id` | *Nullable[str]* | :heavy_check_mark: | ID of the discount applied to the checkout. | | `allow_discount_codes` | *bool* | :heavy_check_mark: | Whether to allow the customer to apply discount codes. If you apply a discount through `discount_id`, it'll still be applied, but the customer won't be able to change it. | | `require_billing_address` | *bool* | :heavy_check_mark: | Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`. | @@ -58,7 +59,8 @@ Checkout session data retrieved using an access token. | ~~`customer_external_id`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | `products` | List[[models.CheckoutProduct](../models/checkoutproduct.md)] | :heavy_check_mark: | List of products available to select. | | `product` | [Nullable[models.CheckoutProduct]](../models/checkoutproduct.md) | :heavy_check_mark: | Product selected to checkout. | -| `product_price` | [Nullable[models.CheckoutProductPrice]](../models/checkoutproductprice.md) | :heavy_check_mark: | Price of the selected product. | +| ~~`product_price`~~ | [Nullable[models.CheckoutProductPrice]](../models/checkoutproductprice.md) | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Price of the selected product. | +| `prices` | Dict[str, List[[models.CheckoutPrices](../models/checkoutprices.md)]] | :heavy_check_mark: | Mapping of product IDs to their list of prices. | | `discount` | [Nullable[models.CheckoutDiscount]](../models/checkoutdiscount.md) | :heavy_check_mark: | N/A | | `subscription_id` | *Nullable[str]* | :heavy_check_mark: | N/A | | `attached_custom_fields` | List[[models.AttachedCustomField](../models/attachedcustomfield.md)] | :heavy_check_mark: | N/A | diff --git a/docs/models/checkoutconfirmstripe.md b/docs/models/checkoutconfirmstripe.md index cc355192..06abaa57 100644 --- a/docs/models/checkoutconfirmstripe.md +++ b/docs/models/checkoutconfirmstripe.md @@ -19,4 +19,5 @@ Confirm a checkout session using a Stripe confirmation token. | `customer_billing_address` | [OptionalNullable[models.AddressInput]](../models/addressinput.md) | :heavy_minus_sign: | N/A | | | `customer_tax_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `discount_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Discount code to apply to the checkout. | | +| `allow_trial` | *OptionalNullable[Literal[False]]* | :heavy_minus_sign: | Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one. | | | `confirmation_token_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the Stripe confirmation token. Required for fixed prices and custom prices. | | \ No newline at end of file diff --git a/docs/models/checkoutcreate.md b/docs/models/checkoutcreate.md index 4d9399aa..6676516e 100644 --- a/docs/models/checkoutcreate.md +++ b/docs/models/checkoutcreate.md @@ -20,6 +20,7 @@ to the resulting order and/or subscription. | `require_billing_address` | *Optional[bool]* | :heavy_minus_sign: | Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`. | | | `amount` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | | `seats` | *OptionalNullable[int]* | :heavy_minus_sign: | Number of seats for seat-based pricing. Required for seat-based products. | | +| `allow_trial` | *Optional[bool]* | :heavy_minus_sign: | Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured. | | | `customer_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of an existing customer in the organization. The customer data will be pre-filled in the checkout form. The resulting order will be linked to this customer. | | | `is_business_customer` | *Optional[bool]* | :heavy_minus_sign: | Whether the customer is a business or an individual. If `true`, the customer will be required to fill their full billing address and billing name. | | | `external_customer_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the customer in your system. If a matching customer exists on Polar, the resulting order will be linked to this customer. Otherwise, a new customer will be created with this external ID set. | | @@ -34,4 +35,5 @@ to the resulting order and/or subscription. | `success_url` | *OptionalNullable[str]* | :heavy_minus_sign: | URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id. | | | `return_url` | *OptionalNullable[str]* | :heavy_minus_sign: | When set, a back button will be shown in the checkout to return to this URL. | | | `embed_origin` | *OptionalNullable[str]* | :heavy_minus_sign: | If you plan to embed the checkout session, set this to the Origin of the embedding page. It'll allow the Polar iframe to communicate with the parent page. | | -| `products` | List[*str*] | :heavy_check_mark: | List of product IDs available to select at that checkout. The first one will be selected by default. | | \ No newline at end of file +| `products` | List[*str*] | :heavy_check_mark: | List of product IDs available to select at that checkout. The first one will be selected by default. | | +| `prices` | Dict[str, List[[models.CheckoutCreatePrices](../models/checkoutcreateprices.md)]] | :heavy_minus_sign: | Optional mapping of product IDs to a list of ad-hoc prices to create for that product. If not set, catalog prices of the product will be used. | | \ No newline at end of file diff --git a/docs/models/checkoutcreateprices.md b/docs/models/checkoutcreateprices.md new file mode 100644 index 00000000..d5cc6c41 --- /dev/null +++ b/docs/models/checkoutcreateprices.md @@ -0,0 +1,35 @@ +# CheckoutCreatePrices + + +## Supported Types + +### `models.ProductPriceCustomCreate` + +```python +value: models.ProductPriceCustomCreate = /* values here */ +``` + +### `models.ProductPriceFixedCreate` + +```python +value: models.ProductPriceFixedCreate = /* values here */ +``` + +### `models.ProductPriceFreeCreate` + +```python +value: models.ProductPriceFreeCreate = /* values here */ +``` + +### `models.ProductPriceMeteredUnitCreate` + +```python +value: models.ProductPriceMeteredUnitCreate = /* values here */ +``` + +### `models.ProductPriceSeatBasedCreate` + +```python +value: models.ProductPriceSeatBasedCreate = /* values here */ +``` + diff --git a/docs/models/checkoutforbiddenerror.md b/docs/models/checkoutforbiddenerror.md index 07770f66..981e72ef 100644 --- a/docs/models/checkoutforbiddenerror.md +++ b/docs/models/checkoutforbiddenerror.md @@ -21,3 +21,9 @@ value: models.NotOpenCheckout = /* values here */ value: models.PaymentNotReady = /* values here */ ``` +### `models.TrialAlreadyRedeemed` + +```python +value: models.TrialAlreadyRedeemed = /* values here */ +``` + diff --git a/docs/models/checkoutorganization.md b/docs/models/checkoutorganization.md new file mode 100644 index 00000000..0bd7da76 --- /dev/null +++ b/docs/models/checkoutorganization.md @@ -0,0 +1,15 @@ +# CheckoutOrganization + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | Organization name shown in checkout, customer portal, emails etc. | +| `slug` | *str* | :heavy_check_mark: | Unique organization slug in checkout, customer portal and credit card statements. | +| `avatar_url` | *Nullable[str]* | :heavy_check_mark: | Avatar URL shown in checkout, customer portal, emails etc. | +| `proration_behavior` | [models.SubscriptionProrationBehavior](../models/subscriptionprorationbehavior.md) | :heavy_check_mark: | N/A | +| `allow_customer_updates` | *bool* | :heavy_check_mark: | Whether customers can update their subscriptions from the customer portal. | \ No newline at end of file diff --git a/docs/models/checkoutprices.md b/docs/models/checkoutprices.md new file mode 100644 index 00000000..8dbd0c47 --- /dev/null +++ b/docs/models/checkoutprices.md @@ -0,0 +1,17 @@ +# CheckoutPrices + + +## Supported Types + +### `models.LegacyRecurringProductPrice` + +```python +value: models.LegacyRecurringProductPrice = /* values here */ +``` + +### `models.ProductPrice` + +```python +value: models.ProductPrice = /* values here */ +``` + diff --git a/docs/models/checkoutpublic.md b/docs/models/checkoutpublic.md index 2c6d76c9..a61c949f 100644 --- a/docs/models/checkoutpublic.md +++ b/docs/models/checkoutpublic.md @@ -27,12 +27,13 @@ Checkout session data retrieved using the client secret. | `tax_amount` | *Nullable[int]* | :heavy_check_mark: | Sales tax amount in cents. If `null`, it means there is no enough information yet to calculate it. | | `total_amount` | *int* | :heavy_check_mark: | Amount in cents, after discounts and taxes. | | `currency` | *str* | :heavy_check_mark: | Currency code of the checkout session. | +| `allow_trial` | *Nullable[bool]* | :heavy_check_mark: | Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured. | | `active_trial_interval` | [Nullable[models.TrialInterval]](../models/trialinterval.md) | :heavy_check_mark: | Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product. | | `active_trial_interval_count` | *Nullable[int]* | :heavy_check_mark: | Number of interval units of the trial period, if any. This value is either set from the checkout, if `trial_interval_count` is set, or from the selected product. | | `trial_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | End date and time of the trial period, if any. | | `organization_id` | *str* | :heavy_check_mark: | ID of the organization owning the checkout session. | | `product_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product to checkout. | -| `product_price_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product price to checkout. | +| ~~`product_price_id`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the product price to checkout. | | `discount_id` | *Nullable[str]* | :heavy_check_mark: | ID of the discount applied to the checkout. | | `allow_discount_codes` | *bool* | :heavy_check_mark: | Whether to allow the customer to apply discount codes. If you apply a discount through `discount_id`, it'll still be applied, but the customer won't be able to change it. | | `require_billing_address` | *bool* | :heavy_check_mark: | Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`. | @@ -53,7 +54,8 @@ Checkout session data retrieved using the client secret. | `billing_address_fields` | [models.CheckoutBillingAddressFields](../models/checkoutbillingaddressfields.md) | :heavy_check_mark: | N/A | | `products` | List[[models.CheckoutProduct](../models/checkoutproduct.md)] | :heavy_check_mark: | List of products available to select. | | `product` | [Nullable[models.CheckoutProduct]](../models/checkoutproduct.md) | :heavy_check_mark: | Product selected to checkout. | -| `product_price` | [Nullable[models.CheckoutPublicProductPrice]](../models/checkoutpublicproductprice.md) | :heavy_check_mark: | Price of the selected product. | +| ~~`product_price`~~ | [Nullable[models.CheckoutPublicProductPrice]](../models/checkoutpublicproductprice.md) | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Price of the selected product. | +| `prices` | Dict[str, List[[models.CheckoutPublicPrices](../models/checkoutpublicprices.md)]] | :heavy_check_mark: | Mapping of product IDs to their list of prices. | | `discount` | [Nullable[models.CheckoutPublicDiscount]](../models/checkoutpublicdiscount.md) | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.CheckoutOrganization](../models/checkoutorganization.md) | :heavy_check_mark: | N/A | | `attached_custom_fields` | List[[models.AttachedCustomField](../models/attachedcustomfield.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/checkoutpublicconfirmed.md b/docs/models/checkoutpublicconfirmed.md index 336c1a91..75f9c438 100644 --- a/docs/models/checkoutpublicconfirmed.md +++ b/docs/models/checkoutpublicconfirmed.md @@ -30,12 +30,13 @@ right after the checkout. | `tax_amount` | *Nullable[int]* | :heavy_check_mark: | Sales tax amount in cents. If `null`, it means there is no enough information yet to calculate it. | | `total_amount` | *int* | :heavy_check_mark: | Amount in cents, after discounts and taxes. | | `currency` | *str* | :heavy_check_mark: | Currency code of the checkout session. | +| `allow_trial` | *Nullable[bool]* | :heavy_check_mark: | Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured. | | `active_trial_interval` | [Nullable[models.TrialInterval]](../models/trialinterval.md) | :heavy_check_mark: | Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product. | | `active_trial_interval_count` | *Nullable[int]* | :heavy_check_mark: | Number of interval units of the trial period, if any. This value is either set from the checkout, if `trial_interval_count` is set, or from the selected product. | | `trial_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | End date and time of the trial period, if any. | | `organization_id` | *str* | :heavy_check_mark: | ID of the organization owning the checkout session. | | `product_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product to checkout. | -| `product_price_id` | *Nullable[str]* | :heavy_check_mark: | ID of the product price to checkout. | +| ~~`product_price_id`~~ | *Nullable[str]* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the product price to checkout. | | `discount_id` | *Nullable[str]* | :heavy_check_mark: | ID of the discount applied to the checkout. | | `allow_discount_codes` | *bool* | :heavy_check_mark: | Whether to allow the customer to apply discount codes. If you apply a discount through `discount_id`, it'll still be applied, but the customer won't be able to change it. | | `require_billing_address` | *bool* | :heavy_check_mark: | Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`. | @@ -56,8 +57,9 @@ right after the checkout. | `billing_address_fields` | [models.CheckoutBillingAddressFields](../models/checkoutbillingaddressfields.md) | :heavy_check_mark: | N/A | | `products` | List[[models.CheckoutProduct](../models/checkoutproduct.md)] | :heavy_check_mark: | List of products available to select. | | `product` | [Nullable[models.CheckoutProduct]](../models/checkoutproduct.md) | :heavy_check_mark: | Product selected to checkout. | -| `product_price` | [Nullable[models.CheckoutPublicConfirmedProductPrice]](../models/checkoutpublicconfirmedproductprice.md) | :heavy_check_mark: | Price of the selected product. | +| ~~`product_price`~~ | [Nullable[models.CheckoutPublicConfirmedProductPrice]](../models/checkoutpublicconfirmedproductprice.md) | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Price of the selected product. | +| `prices` | Dict[str, List[[models.CheckoutPublicConfirmedPrices](../models/checkoutpublicconfirmedprices.md)]] | :heavy_check_mark: | Mapping of product IDs to their list of prices. | | `discount` | [Nullable[models.CheckoutPublicConfirmedDiscount]](../models/checkoutpublicconfirmeddiscount.md) | :heavy_check_mark: | N/A | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | +| `organization` | [models.CheckoutOrganization](../models/checkoutorganization.md) | :heavy_check_mark: | N/A | | `attached_custom_fields` | List[[models.AttachedCustomField](../models/attachedcustomfield.md)] | :heavy_check_mark: | N/A | | `customer_session_token` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/checkoutpublicconfirmedprices.md b/docs/models/checkoutpublicconfirmedprices.md new file mode 100644 index 00000000..a514c86a --- /dev/null +++ b/docs/models/checkoutpublicconfirmedprices.md @@ -0,0 +1,17 @@ +# CheckoutPublicConfirmedPrices + + +## Supported Types + +### `models.LegacyRecurringProductPrice` + +```python +value: models.LegacyRecurringProductPrice = /* values here */ +``` + +### `models.ProductPrice` + +```python +value: models.ProductPrice = /* values here */ +``` + diff --git a/docs/models/checkoutpublicprices.md b/docs/models/checkoutpublicprices.md new file mode 100644 index 00000000..7e48a9ac --- /dev/null +++ b/docs/models/checkoutpublicprices.md @@ -0,0 +1,17 @@ +# CheckoutPublicPrices + + +## Supported Types + +### `models.LegacyRecurringProductPrice` + +```python +value: models.LegacyRecurringProductPrice = /* values here */ +``` + +### `models.ProductPrice` + +```python +value: models.ProductPrice = /* values here */ +``` + diff --git a/docs/models/checkoutupdate.md b/docs/models/checkoutupdate.md index 0ca18078..7da24241 100644 --- a/docs/models/checkoutupdate.md +++ b/docs/models/checkoutupdate.md @@ -24,6 +24,7 @@ Update an existing checkout session using an access token. | `discount_id` | *OptionalNullable[str]* | :heavy_minus_sign: | ID of the discount to apply to the checkout. | | | `allow_discount_codes` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to allow the customer to apply discount codes. If you apply a discount through `discount_id`, it'll still be applied, but the customer won't be able to change it. | | | `require_billing_address` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`. | | +| `allow_trial` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured. | | | `customer_ip_address` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `customer_metadata` | Dict[str, [models.CheckoutUpdateCustomerMetadata](../models/checkoutupdatecustomermetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information that'll be copied to the created customer.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**. | | | `success_url` | *OptionalNullable[str]* | :heavy_minus_sign: | URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id. | | diff --git a/docs/models/checkoutupdatepublic.md b/docs/models/checkoutupdatepublic.md index ebd7d67d..b3aaa791 100644 --- a/docs/models/checkoutupdatepublic.md +++ b/docs/models/checkoutupdatepublic.md @@ -18,4 +18,5 @@ Update an existing checkout session using the client secret. | `customer_billing_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `customer_billing_address` | [OptionalNullable[models.AddressInput]](../models/addressinput.md) | :heavy_minus_sign: | N/A | | | `customer_tax_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `discount_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Discount code to apply to the checkout. | | \ No newline at end of file +| `discount_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Discount code to apply to the checkout. | | +| `allow_trial` | *OptionalNullable[Literal[False]]* | :heavy_minus_sign: | Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one. | | \ No newline at end of file diff --git a/docs/models/churnedsubscriptions.md b/docs/models/churnedsubscriptions.md new file mode 100644 index 00000000..772499eb --- /dev/null +++ b/docs/models/churnedsubscriptions.md @@ -0,0 +1,17 @@ +# ChurnedSubscriptions + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `float` + +```python +value: float = /* values here */ +``` + diff --git a/docs/models/customerbalance.md b/docs/models/customerbalance.md deleted file mode 100644 index 55282767..00000000 --- a/docs/models/customerbalance.md +++ /dev/null @@ -1,11 +0,0 @@ -# CustomerBalance - -Customer balance information. - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `balance` | *int* | :heavy_check_mark: | Customer balance in cents. Positive values represent credit (customer is owed money), negative values represent debit (customer owes money). | | -| `currency` | *str* | :heavy_check_mark: | The currency code (ISO 4217) for the balance amount. | usd | \ No newline at end of file diff --git a/docs/models/customerbenefitgrantsortproperty.md b/docs/models/customerbenefitgrantsortproperty.md index caa0b458..f1f8ba92 100644 --- a/docs/models/customerbenefitgrantsortproperty.md +++ b/docs/models/customerbenefitgrantsortproperty.md @@ -3,11 +3,13 @@ ## Values -| Name | Value | -| -------------------- | -------------------- | -| `GRANTED_AT` | granted_at | -| `MINUS_GRANTED_AT` | -granted_at | -| `TYPE` | type | -| `MINUS_TYPE` | -type | -| `ORGANIZATION` | organization | -| `MINUS_ORGANIZATION` | -organization | \ No newline at end of file +| Name | Value | +| ----------------------- | ----------------------- | +| `GRANTED_AT` | granted_at | +| `MINUS_GRANTED_AT` | -granted_at | +| `TYPE` | type | +| `MINUS_TYPE` | -type | +| `ORGANIZATION` | organization | +| `MINUS_ORGANIZATION` | -organization | +| `PRODUCT_BENEFIT` | product_benefit | +| `MINUS_PRODUCT_BENEFIT` | -product_benefit | \ No newline at end of file diff --git a/docs/models/customercreate.md b/docs/models/customercreate.md index cb1232f6..8dff881b 100644 --- a/docs/models/customercreate.md +++ b/docs/models/customercreate.md @@ -11,4 +11,5 @@ | `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | John Doe | | `billing_address` | [OptionalNullable[models.AddressInput]](../models/addressinput.md) | :heavy_minus_sign: | N/A | | | `tax_id` | List[[Nullable[models.CustomerCreateTaxID]](../models/customercreatetaxid.md)] | :heavy_minus_sign: | N/A | [
"911144442",
"us_ein"
] | -| `organization_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the organization owning the customer. **Required unless you use an organization token.** | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | \ No newline at end of file +| `organization_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the organization owning the customer. **Required unless you use an organization token.** | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | +| `owner` | [OptionalNullable[models.OwnerCreate]](../models/ownercreate.md) | :heavy_minus_sign: | Optional owner member to create with the customer. If not provided, an owner member will be automatically created using the customer's email and name. | | \ No newline at end of file diff --git a/docs/models/customercreatedevent.md b/docs/models/customercreatedevent.md index ada3bd25..9cdd5e05 100644 --- a/docs/models/customercreatedevent.md +++ b/docs/models/customercreatedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a customer is created. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["customer.created"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.CustomerCreatedMetadata](../models/customercreatedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/customerdeletedevent.md b/docs/models/customerdeletedevent.md index 416afa1d..88144932 100644 --- a/docs/models/customerdeletedevent.md +++ b/docs/models/customerdeletedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a customer is deleted. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["customer.deleted"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.CustomerDeletedMetadata](../models/customerdeletedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/customerorderproduct.md b/docs/models/customerorderproduct.md index 90086b99..8d99f413 100644 --- a/docs/models/customerorderproduct.md +++ b/docs/models/customerorderproduct.md @@ -20,4 +20,4 @@ | `prices` | List[[models.CustomerOrderProductPrices](../models/customerorderproductprices.md)] | :heavy_check_mark: | List of prices for this product. | | `benefits` | List[[models.BenefitPublic](../models/benefitpublic.md)] | :heavy_check_mark: | List of benefits granted by the product. | | `medias` | List[[models.ProductMediaFileRead](../models/productmediafileread.md)] | :heavy_check_mark: | List of medias associated to the product. | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `organization` | [models.CustomerOrganization](../models/customerorganization.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customerorganization.md b/docs/models/customerorganization.md index 7be852de..f2b66c24 100644 --- a/docs/models/customerorganization.md +++ b/docs/models/customerorganization.md @@ -1,11 +1,15 @@ # CustomerOrganization -Schema of an organization and related data for customer portal. - ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | -| `products` | List[[models.CustomerProduct](../models/customerproduct.md)] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | Organization name shown in checkout, customer portal, emails etc. | +| `slug` | *str* | :heavy_check_mark: | Unique organization slug in checkout, customer portal and credit card statements. | +| `avatar_url` | *Nullable[str]* | :heavy_check_mark: | Avatar URL shown in checkout, customer portal, emails etc. | +| `proration_behavior` | [models.SubscriptionProrationBehavior](../models/subscriptionprorationbehavior.md) | :heavy_check_mark: | N/A | +| `allow_customer_updates` | *bool* | :heavy_check_mark: | Whether customers can update their subscriptions from the customer portal. | \ No newline at end of file diff --git a/docs/models/customerorganizationdata.md b/docs/models/customerorganizationdata.md new file mode 100644 index 00000000..48bd052a --- /dev/null +++ b/docs/models/customerorganizationdata.md @@ -0,0 +1,11 @@ +# CustomerOrganizationData + +Schema of an organization and related data for customer portal. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `organization` | [models.CustomerOrganization](../models/customerorganization.md) | :heavy_check_mark: | N/A | +| `products` | List[[models.CustomerProduct](../models/customerproduct.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customerscreaterequest.md b/docs/models/customerscreaterequest.md new file mode 100644 index 00000000..bbcd7184 --- /dev/null +++ b/docs/models/customerscreaterequest.md @@ -0,0 +1,9 @@ +# CustomersCreateRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | +| `customer_create` | [models.CustomerCreate](../models/customercreate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customersgetbalancerequest.md b/docs/models/customersgetbalancerequest.md deleted file mode 100644 index 96b38499..00000000 --- a/docs/models/customersgetbalancerequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# CustomersGetBalanceRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | The customer ID. | \ No newline at end of file diff --git a/docs/models/customersgetexternalrequest.md b/docs/models/customersgetexternalrequest.md index 74d69ba5..f1293772 100644 --- a/docs/models/customersgetexternalrequest.md +++ b/docs/models/customersgetexternalrequest.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `external_id` | *str* | :heavy_check_mark: | The customer external ID. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `external_id` | *str* | :heavy_check_mark: | The customer external ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | \ No newline at end of file diff --git a/docs/models/customersgetrequest.md b/docs/models/customersgetrequest.md index 86b26b4f..66926d35 100644 --- a/docs/models/customersgetrequest.md +++ b/docs/models/customersgetrequest.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | The customer ID. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The customer ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | \ No newline at end of file diff --git a/docs/models/customerslistrequest.md b/docs/models/customerslistrequest.md index 56d986a7..11495b21 100644 --- a/docs/models/customerslistrequest.md +++ b/docs/models/customerslistrequest.md @@ -8,6 +8,7 @@ | `organization_id` | [OptionalNullable[models.CustomersListQueryParamOrganizationIDFilter]](../models/customerslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | | `email` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by exact email. | | `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by name, email, or external ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.CustomerSortProperty](../models/customersortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | diff --git a/docs/models/customerslistresponse.md b/docs/models/customerslistresponse.md index d6eadb29..5cba5ba2 100644 --- a/docs/models/customerslistresponse.md +++ b/docs/models/customerslistresponse.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `result` | [models.ListResourceCustomer](../models/listresourcecustomer.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `result` | [models.ListResourceCustomerWithMembers](../models/listresourcecustomerwithmembers.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customersubscriptionproduct.md b/docs/models/customersubscriptionproduct.md index c1a8b250..2fe72991 100644 --- a/docs/models/customersubscriptionproduct.md +++ b/docs/models/customersubscriptionproduct.md @@ -20,4 +20,4 @@ | `prices` | List[[models.CustomerSubscriptionProductPrices](../models/customersubscriptionproductprices.md)] | :heavy_check_mark: | List of prices for this product. | | `benefits` | List[[models.BenefitPublic](../models/benefitpublic.md)] | :heavy_check_mark: | List of benefits granted by the product. | | `medias` | List[[models.ProductMediaFileRead](../models/productmediafileread.md)] | :heavy_check_mark: | List of medias associated to the product. | -| `organization` | [models.Organization](../models/organization.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `organization` | [models.CustomerOrganization](../models/customerorganization.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customersupdateexternalrequest.md b/docs/models/customersupdateexternalrequest.md index 3b75e1e8..b5539759 100644 --- a/docs/models/customersupdateexternalrequest.md +++ b/docs/models/customersupdateexternalrequest.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `external_id` | *str* | :heavy_check_mark: | The customer external ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `customer_update_external_id` | [models.CustomerUpdateExternalID](../models/customerupdateexternalid.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customersupdaterequest.md b/docs/models/customersupdaterequest.md index ae0e98db..9c3abefe 100644 --- a/docs/models/customersupdaterequest.md +++ b/docs/models/customersupdaterequest.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The customer ID. | -| `customer_update` | [models.CustomerUpdate](../models/customerupdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The customer ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | +| `customer_update` | [models.CustomerUpdate](../models/customerupdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/customerupdatedevent.md b/docs/models/customerupdatedevent.md index 66bf7dfd..20b37faa 100644 --- a/docs/models/customerupdatedevent.md +++ b/docs/models/customerupdatedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a customer is updated. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["customer.updated"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.CustomerUpdatedMetadata](../models/customerupdatedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/customerwithmembers.md b/docs/models/customerwithmembers.md new file mode 100644 index 00000000..d761456c --- /dev/null +++ b/docs/models/customerwithmembers.md @@ -0,0 +1,23 @@ +# CustomerWithMembers + +A customer in an organization with their members loaded. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The ID of the customer. | 992fae2a-2a17-4b7a-8d9e-e287cf90131b | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | +| `metadata` | Dict[str, [models.CustomerWithMembersMetadata](../models/customerwithmembersmetadata.md)] | :heavy_check_mark: | N/A | | +| `external_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated. | usr_1337 | +| `email` | *str* | :heavy_check_mark: | The email address of the customer. This must be unique within the organization. | customer@example.com | +| `email_verified` | *bool* | :heavy_check_mark: | Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address. | true | +| `name` | *Nullable[str]* | :heavy_check_mark: | The name of the customer. | John Doe | +| `billing_address` | [Nullable[models.Address]](../models/address.md) | :heavy_check_mark: | N/A | | +| `tax_id` | List[[Nullable[models.CustomerWithMembersTaxID]](../models/customerwithmemberstaxid.md)] | :heavy_check_mark: | N/A | [
"911144442",
"us_ein"
] | +| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the customer. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | +| `deleted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp for when the customer was soft deleted. | | +| `members` | List[[models.Member](../models/member.md)] | :heavy_minus_sign: | List of members belonging to this customer. | | +| `avatar_url` | *str* | :heavy_check_mark: | N/A | https://www.gravatar.com/avatar/xxx?d=404 | \ No newline at end of file diff --git a/docs/models/customerwithmembersmetadata.md b/docs/models/customerwithmembersmetadata.md new file mode 100644 index 00000000..82995315 --- /dev/null +++ b/docs/models/customerwithmembersmetadata.md @@ -0,0 +1,29 @@ +# CustomerWithMembersMetadata + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `int` + +```python +value: int = /* values here */ +``` + +### `float` + +```python +value: float = /* values here */ +``` + +### `bool` + +```python +value: bool = /* values here */ +``` + diff --git a/docs/models/customerwithmemberstaxid.md b/docs/models/customerwithmemberstaxid.md new file mode 100644 index 00000000..27b667f3 --- /dev/null +++ b/docs/models/customerwithmemberstaxid.md @@ -0,0 +1,17 @@ +# CustomerWithMembersTaxID + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `models.TaxIDFormat` + +```python +value: models.TaxIDFormat = /* values here */ +``` + diff --git a/docs/models/eventslistrequest.md b/docs/models/eventslistrequest.md index 6f33fc14..4b89c8ed 100644 --- a/docs/models/eventslistrequest.md +++ b/docs/models/eventslistrequest.md @@ -15,7 +15,8 @@ | `name` | [OptionalNullable[models.NameFilter]](../models/namefilter.md) | :heavy_minus_sign: | Filter by event name. | | `source` | [OptionalNullable[models.SourceFilter]](../models/sourcefilter.md) | :heavy_minus_sign: | Filter by event source. | | `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Query to filter events. | -| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter events by parent event ID. When not specified, returns root events only. | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | When combined with depth, use this event as the anchor instead of root events. | +| `depth` | *OptionalNullable[int]* | :heavy_minus_sign: | Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.EventSortProperty](../models/eventsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | diff --git a/docs/models/wallet.md b/docs/models/eventtype.md similarity index 53% rename from docs/models/wallet.md rename to docs/models/eventtype.md index 59d60f9b..6c6c2622 100644 --- a/docs/models/wallet.md +++ b/docs/models/eventtype.md @@ -1,17 +1,14 @@ -# Wallet - -A wallet represents a customer's balance in your organization. - -They can top-up their wallet, and use the balance to pay for usage. +# EventType ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The ID of the object. | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | -| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | -| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer that owns the wallet. | 992fae2a-2a17-4b7a-8d9e-e287cf90131b | -| `balance` | *int* | :heavy_check_mark: | The current balance of the wallet, in cents. | 5000 | -| `currency` | *str* | :heavy_check_mark: | The currency of the wallet. | usd | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | The name of the event type. | +| `label` | *str* | :heavy_check_mark: | The label for the event type. | +| `label_property_selector` | *OptionalNullable[str]* | :heavy_minus_sign: | Property path to extract dynamic label from event metadata. | +| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the event type. | \ No newline at end of file diff --git a/docs/models/walletslistqueryparamcustomeridfilter.md b/docs/models/eventtypeslistqueryparamcustomeridfilter.md similarity index 80% rename from docs/models/walletslistqueryparamcustomeridfilter.md rename to docs/models/eventtypeslistqueryparamcustomeridfilter.md index 865d65a5..5f8e31ec 100644 --- a/docs/models/walletslistqueryparamcustomeridfilter.md +++ b/docs/models/eventtypeslistqueryparamcustomeridfilter.md @@ -1,4 +1,4 @@ -# WalletsListQueryParamCustomerIDFilter +# EventTypesListQueryParamCustomerIDFilter Filter by customer ID. diff --git a/docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md b/docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md new file mode 100644 index 00000000..663dc456 --- /dev/null +++ b/docs/models/eventtypeslistqueryparamexternalcustomeridfilter.md @@ -0,0 +1,19 @@ +# EventTypesListQueryParamExternalCustomerIDFilter + +Filter by external customer ID. + + +## Supported Types + +### `str` + +```python +value: str = /* values here */ +``` + +### `List[str]` + +```python +value: List[str] = /* values here */ +``` + diff --git a/docs/models/walletslistqueryparamorganizationidfilter.md b/docs/models/eventtypeslistqueryparamorganizationidfilter.md similarity index 78% rename from docs/models/walletslistqueryparamorganizationidfilter.md rename to docs/models/eventtypeslistqueryparamorganizationidfilter.md index 96adbb2e..e72ada20 100644 --- a/docs/models/walletslistqueryparamorganizationidfilter.md +++ b/docs/models/eventtypeslistqueryparamorganizationidfilter.md @@ -1,4 +1,4 @@ -# WalletsListQueryParamOrganizationIDFilter +# EventTypesListQueryParamOrganizationIDFilter Filter by organization ID. diff --git a/docs/models/eventtypeslistrequest.md b/docs/models/eventtypeslistrequest.md new file mode 100644 index 00000000..135e0860 --- /dev/null +++ b/docs/models/eventtypeslistrequest.md @@ -0,0 +1,17 @@ +# EventTypesListRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `organization_id` | [OptionalNullable[models.EventTypesListQueryParamOrganizationIDFilter]](../models/eventtypeslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | +| `customer_id` | [OptionalNullable[models.EventTypesListQueryParamCustomerIDFilter]](../models/eventtypeslistqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `external_customer_id` | [OptionalNullable[models.EventTypesListQueryParamExternalCustomerIDFilter]](../models/eventtypeslistqueryparamexternalcustomeridfilter.md) | :heavy_minus_sign: | Filter by external customer ID. | +| `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Query to filter event types by name or label. | +| `root_events` | *Optional[bool]* | :heavy_minus_sign: | When true, only return event types with root events (parent_id IS NULL). | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by specific parent event ID. | +| `source` | [OptionalNullable[models.EventSource]](../models/eventsource.md) | :heavy_minus_sign: | Filter by event source (system or user). | +| `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | +| `sorting` | List[[models.EventTypesSortProperty](../models/eventtypessortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | \ No newline at end of file diff --git a/docs/models/eventtypeslistresponse.md b/docs/models/eventtypeslistresponse.md new file mode 100644 index 00000000..d61ef306 --- /dev/null +++ b/docs/models/eventtypeslistresponse.md @@ -0,0 +1,8 @@ +# EventTypesListResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `result` | [models.ListResourceEventTypeWithStats](../models/listresourceeventtypewithstats.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eventtypessortproperty.md b/docs/models/eventtypessortproperty.md new file mode 100644 index 00000000..f2d85ccf --- /dev/null +++ b/docs/models/eventtypessortproperty.md @@ -0,0 +1,17 @@ +# EventTypesSortProperty + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `NAME` | name | +| `MINUS_NAME` | -name | +| `LABEL` | label | +| `MINUS_LABEL` | -label | +| `OCCURRENCES` | occurrences | +| `MINUS_OCCURRENCES` | -occurrences | +| `FIRST_SEEN` | first_seen | +| `MINUS_FIRST_SEEN` | -first_seen | +| `LAST_SEEN` | last_seen | +| `MINUS_LAST_SEEN` | -last_seen | \ No newline at end of file diff --git a/docs/models/eventtypesupdaterequest.md b/docs/models/eventtypesupdaterequest.md new file mode 100644 index 00000000..e9d1b47d --- /dev/null +++ b/docs/models/eventtypesupdaterequest.md @@ -0,0 +1,9 @@ +# EventTypesUpdateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The event type ID. | +| `event_type_update` | [models.EventTypeUpdate](../models/eventtypeupdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eventtypeupdate.md b/docs/models/eventtypeupdate.md new file mode 100644 index 00000000..4fdb030f --- /dev/null +++ b/docs/models/eventtypeupdate.md @@ -0,0 +1,9 @@ +# EventTypeUpdate + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `label` | *str* | :heavy_check_mark: | The label for the event type. | +| `label_property_selector` | *OptionalNullable[str]* | :heavy_minus_sign: | Property path to extract dynamic label from event metadata (e.g., 'subject' or 'metadata.subject'). | \ No newline at end of file diff --git a/docs/models/eventtypewithstats.md b/docs/models/eventtypewithstats.md new file mode 100644 index 00000000..32b56b73 --- /dev/null +++ b/docs/models/eventtypewithstats.md @@ -0,0 +1,18 @@ +# EventTypeWithStats + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | The name of the event type. | +| `label` | *str* | :heavy_check_mark: | The label for the event type. | +| `label_property_selector` | *OptionalNullable[str]* | :heavy_minus_sign: | Property path to extract dynamic label from event metadata. | +| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the event type. | +| `source` | [models.EventSource](../models/eventsource.md) | :heavy_check_mark: | N/A | +| `occurrences` | *int* | :heavy_check_mark: | Number of times the event has occurred. | +| `first_seen` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The first time the event occurred. | +| `last_seen` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The last time the event occurred. | \ No newline at end of file diff --git a/docs/models/legacyrecurringproductpricecustom.md b/docs/models/legacyrecurringproductpricecustom.md index b5a53cbe..5f8ac325 100644 --- a/docs/models/legacyrecurringproductpricecustom.md +++ b/docs/models/legacyrecurringproductpricecustom.md @@ -12,6 +12,7 @@ A pay-what-you-want recurring price for a product, i.e. a subscription. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["custom"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/legacyrecurringproductpricefixed.md b/docs/models/legacyrecurringproductpricefixed.md index c06359ae..6165f716 100644 --- a/docs/models/legacyrecurringproductpricefixed.md +++ b/docs/models/legacyrecurringproductpricefixed.md @@ -12,6 +12,7 @@ A recurring price for a product, i.e. a subscription. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["fixed"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/legacyrecurringproductpricefree.md b/docs/models/legacyrecurringproductpricefree.md index 38bbbc6f..3e790e91 100644 --- a/docs/models/legacyrecurringproductpricefree.md +++ b/docs/models/legacyrecurringproductpricefree.md @@ -12,6 +12,7 @@ A free recurring price for a product, i.e. a subscription. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["free"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/listresourcecustomer.md b/docs/models/listresourcecustomer.md deleted file mode 100644 index 63758332..00000000 --- a/docs/models/listresourcecustomer.md +++ /dev/null @@ -1,9 +0,0 @@ -# ListResourceCustomer - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `items` | List[[models.Customer](../models/customer.md)] | :heavy_check_mark: | N/A | -| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listresourcecustomerwithmembers.md b/docs/models/listresourcecustomerwithmembers.md new file mode 100644 index 00000000..dcb97966 --- /dev/null +++ b/docs/models/listresourcecustomerwithmembers.md @@ -0,0 +1,9 @@ +# ListResourceCustomerWithMembers + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `items` | List[[models.CustomerWithMembers](../models/customerwithmembers.md)] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listresourceeventtypewithstats.md b/docs/models/listresourceeventtypewithstats.md new file mode 100644 index 00000000..d6059a4d --- /dev/null +++ b/docs/models/listresourceeventtypewithstats.md @@ -0,0 +1,9 @@ +# ListResourceEventTypeWithStats + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `items` | List[[models.EventTypeWithStats](../models/eventtypewithstats.md)] | :heavy_check_mark: | N/A | +| `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listresourcewallet.md b/docs/models/listresourcemember.md similarity index 81% rename from docs/models/listresourcewallet.md rename to docs/models/listresourcemember.md index bcdceef0..2eba88f5 100644 --- a/docs/models/listresourcewallet.md +++ b/docs/models/listresourcemember.md @@ -1,9 +1,9 @@ -# ListResourceWallet +# ListResourceMember ## Fields | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `items` | List[[models.Wallet](../models/wallet.md)] | :heavy_check_mark: | N/A | +| `items` | List[[models.Member](../models/member.md)] | :heavy_check_mark: | N/A | | `pagination` | [models.Pagination](../models/pagination.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ltv.md b/docs/models/ltv.md new file mode 100644 index 00000000..a2c82f4c --- /dev/null +++ b/docs/models/ltv.md @@ -0,0 +1,17 @@ +# Ltv + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `float` + +```python +value: float = /* values here */ +``` + diff --git a/docs/models/member.md b/docs/models/member.md new file mode 100644 index 00000000..1eeeb5a8 --- /dev/null +++ b/docs/models/member.md @@ -0,0 +1,17 @@ +# Member + +A member of a customer. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of the member. | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | +| `customer_id` | *str* | :heavy_check_mark: | The ID of the customer this member belongs to. | | +| `email` | *str* | :heavy_check_mark: | The email address of the member. | member@example.com | +| `name` | *Nullable[str]* | :heavy_check_mark: | The name of the member. | Jane Doe | +| `external_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the member in your system. This must be unique within the customer. | usr_1337 | +| `role` | [models.MemberRole](../models/memberrole.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/memberrole.md b/docs/models/memberrole.md new file mode 100644 index 00000000..2c8d9131 --- /dev/null +++ b/docs/models/memberrole.md @@ -0,0 +1,10 @@ +# MemberRole + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `OWNER` | owner | +| `BILLING_MANAGER` | billing_manager | +| `MEMBER` | member | \ No newline at end of file diff --git a/docs/models/walletslistrequest.md b/docs/models/memberslistmembersrequest.md similarity index 80% rename from docs/models/walletslistrequest.md rename to docs/models/memberslistmembersrequest.md index 508e73fe..ed3ae2cb 100644 --- a/docs/models/walletslistrequest.md +++ b/docs/models/memberslistmembersrequest.md @@ -1,12 +1,11 @@ -# WalletsListRequest +# MembersListMembersRequest ## Fields | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `organization_id` | [OptionalNullable[models.WalletsListQueryParamOrganizationIDFilter]](../models/walletslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | -| `customer_id` | [OptionalNullable[models.WalletsListQueryParamCustomerIDFilter]](../models/walletslistqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `customer_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by customer ID. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | -| `sorting` | List[[models.WalletSortProperty](../models/walletsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | \ No newline at end of file +| `sorting` | List[[models.MemberSortProperty](../models/membersortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | \ No newline at end of file diff --git a/docs/models/walletslistresponse.md b/docs/models/memberslistmembersresponse.md similarity index 88% rename from docs/models/walletslistresponse.md rename to docs/models/memberslistmembersresponse.md index cddd50cd..467461ba 100644 --- a/docs/models/walletslistresponse.md +++ b/docs/models/memberslistmembersresponse.md @@ -1,8 +1,8 @@ -# WalletsListResponse +# MembersListMembersResponse ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `result` | [models.ListResourceWallet](../models/listresourcewallet.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `result` | [models.ListResourceMember](../models/listresourcemember.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/membersortproperty.md b/docs/models/membersortproperty.md new file mode 100644 index 00000000..9681e419 --- /dev/null +++ b/docs/models/membersortproperty.md @@ -0,0 +1,9 @@ +# MemberSortProperty + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `CREATED_AT` | created_at | +| `MINUS_CREATED_AT` | -created_at | \ No newline at end of file diff --git a/docs/models/metercreditevent.md b/docs/models/metercreditevent.md index 65d92cd7..73d874a0 100644 --- a/docs/models/metercreditevent.md +++ b/docs/models/metercreditevent.md @@ -14,6 +14,8 @@ An event created by Polar when credits are added to a customer meter. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["meter.credited"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.MeterCreditedMetadata](../models/metercreditedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/meterresetevent.md b/docs/models/meterresetevent.md index 3d0c5be4..3f62ef4a 100644 --- a/docs/models/meterresetevent.md +++ b/docs/models/meterresetevent.md @@ -14,6 +14,8 @@ An event created by Polar when a customer meter is reset. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["meter.reset"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.MeterResetMetadata](../models/meterresetmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/metricperiod.md b/docs/models/metricperiod.md index d2455a9a..26b6991d 100644 --- a/docs/models/metricperiod.md +++ b/docs/models/metricperiod.md @@ -3,46 +3,48 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp of this period data. | -| `orders` | [models.OrdersModel](../models/ordersmodel.md) | :heavy_check_mark: | N/A | -| `revenue` | [models.Revenue](../models/revenue.md) | :heavy_check_mark: | N/A | -| `net_revenue` | [models.NetRevenue](../models/netrevenue.md) | :heavy_check_mark: | N/A | -| `cumulative_revenue` | [models.CumulativeRevenue](../models/cumulativerevenue.md) | :heavy_check_mark: | N/A | -| `net_cumulative_revenue` | [models.NetCumulativeRevenue](../models/netcumulativerevenue.md) | :heavy_check_mark: | N/A | -| `costs` | [models.Costs](../models/costs.md) | :heavy_check_mark: | N/A | -| `cumulative_costs` | [models.CumulativeCosts](../models/cumulativecosts.md) | :heavy_check_mark: | N/A | -| `average_order_value` | [models.AverageOrderValue](../models/averageordervalue.md) | :heavy_check_mark: | N/A | -| `net_average_order_value` | [models.NetAverageOrderValue](../models/netaverageordervalue.md) | :heavy_check_mark: | N/A | -| `average_revenue_per_user` | [models.AverageRevenuePerUser](../models/averagerevenueperuser.md) | :heavy_check_mark: | N/A | -| `cost_per_user` | [models.CostPerUser](../models/costperuser.md) | :heavy_check_mark: | N/A | -| `active_user_by_event` | [models.ActiveUserByEvent](../models/activeuserbyevent.md) | :heavy_check_mark: | N/A | -| `one_time_products` | [models.OneTimeProducts](../models/onetimeproducts.md) | :heavy_check_mark: | N/A | -| `one_time_products_revenue` | [models.OneTimeProductsRevenue](../models/onetimeproductsrevenue.md) | :heavy_check_mark: | N/A | -| `one_time_products_net_revenue` | [models.OneTimeProductsNetRevenue](../models/onetimeproductsnetrevenue.md) | :heavy_check_mark: | N/A | -| `new_subscriptions` | [models.NewSubscriptions](../models/newsubscriptions.md) | :heavy_check_mark: | N/A | -| `new_subscriptions_revenue` | [models.NewSubscriptionsRevenue](../models/newsubscriptionsrevenue.md) | :heavy_check_mark: | N/A | -| `new_subscriptions_net_revenue` | [models.NewSubscriptionsNetRevenue](../models/newsubscriptionsnetrevenue.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions` | [models.RenewedSubscriptions](../models/renewedsubscriptions.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions_revenue` | [models.RenewedSubscriptionsRevenue](../models/renewedsubscriptionsrevenue.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions_net_revenue` | [models.RenewedSubscriptionsNetRevenue](../models/renewedsubscriptionsnetrevenue.md) | :heavy_check_mark: | N/A | -| `active_subscriptions` | [models.ActiveSubscriptions](../models/activesubscriptions.md) | :heavy_check_mark: | N/A | -| `monthly_recurring_revenue` | [models.MonthlyRecurringRevenue](../models/monthlyrecurringrevenue.md) | :heavy_check_mark: | N/A | -| `committed_monthly_recurring_revenue` | [models.CommittedMonthlyRecurringRevenue](../models/committedmonthlyrecurringrevenue.md) | :heavy_check_mark: | N/A | -| `checkouts` | [models.CheckoutsModel](../models/checkoutsmodel.md) | :heavy_check_mark: | N/A | -| `succeeded_checkouts` | [models.SucceededCheckouts](../models/succeededcheckouts.md) | :heavy_check_mark: | N/A | -| `checkouts_conversion` | [models.CheckoutsConversion](../models/checkoutsconversion.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions` | [models.CanceledSubscriptions](../models/canceledsubscriptions.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_customer_service` | [models.CanceledSubscriptionsCustomerService](../models/canceledsubscriptionscustomerservice.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_low_quality` | [models.CanceledSubscriptionsLowQuality](../models/canceledsubscriptionslowquality.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_missing_features` | [models.CanceledSubscriptionsMissingFeatures](../models/canceledsubscriptionsmissingfeatures.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_switched_service` | [models.CanceledSubscriptionsSwitchedService](../models/canceledsubscriptionsswitchedservice.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_too_complex` | [models.CanceledSubscriptionsTooComplex](../models/canceledsubscriptionstoocomplex.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_too_expensive` | [models.CanceledSubscriptionsTooExpensive](../models/canceledsubscriptionstooexpensive.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_unused` | [models.CanceledSubscriptionsUnused](../models/canceledsubscriptionsunused.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_other` | [models.CanceledSubscriptionsOther](../models/canceledsubscriptionsother.md) | :heavy_check_mark: | N/A | -| `churn_rate` | [models.ChurnRate](../models/churnrate.md) | :heavy_check_mark: | N/A | -| `gross_margin` | [models.GrossMargin](../models/grossmargin.md) | :heavy_check_mark: | N/A | -| `gross_margin_percentage` | [models.GrossMarginPercentage](../models/grossmarginpercentage.md) | :heavy_check_mark: | N/A | -| `cashflow` | [models.Cashflow](../models/cashflow.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp of this period data. | +| `orders` | [OptionalNullable[models.OrdersModel]](../models/ordersmodel.md) | :heavy_minus_sign: | N/A | +| `revenue` | [OptionalNullable[models.Revenue]](../models/revenue.md) | :heavy_minus_sign: | N/A | +| `net_revenue` | [OptionalNullable[models.NetRevenue]](../models/netrevenue.md) | :heavy_minus_sign: | N/A | +| `cumulative_revenue` | [OptionalNullable[models.CumulativeRevenue]](../models/cumulativerevenue.md) | :heavy_minus_sign: | N/A | +| `net_cumulative_revenue` | [OptionalNullable[models.NetCumulativeRevenue]](../models/netcumulativerevenue.md) | :heavy_minus_sign: | N/A | +| `costs` | [OptionalNullable[models.Costs]](../models/costs.md) | :heavy_minus_sign: | N/A | +| `cumulative_costs` | [OptionalNullable[models.CumulativeCosts]](../models/cumulativecosts.md) | :heavy_minus_sign: | N/A | +| `average_order_value` | [OptionalNullable[models.AverageOrderValue]](../models/averageordervalue.md) | :heavy_minus_sign: | N/A | +| `net_average_order_value` | [OptionalNullable[models.NetAverageOrderValue]](../models/netaverageordervalue.md) | :heavy_minus_sign: | N/A | +| `average_revenue_per_user` | [OptionalNullable[models.AverageRevenuePerUser]](../models/averagerevenueperuser.md) | :heavy_minus_sign: | N/A | +| `cost_per_user` | [OptionalNullable[models.CostPerUser]](../models/costperuser.md) | :heavy_minus_sign: | N/A | +| `active_user_by_event` | [OptionalNullable[models.ActiveUserByEvent]](../models/activeuserbyevent.md) | :heavy_minus_sign: | N/A | +| `one_time_products` | [OptionalNullable[models.OneTimeProducts]](../models/onetimeproducts.md) | :heavy_minus_sign: | N/A | +| `one_time_products_revenue` | [OptionalNullable[models.OneTimeProductsRevenue]](../models/onetimeproductsrevenue.md) | :heavy_minus_sign: | N/A | +| `one_time_products_net_revenue` | [OptionalNullable[models.OneTimeProductsNetRevenue]](../models/onetimeproductsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions` | [OptionalNullable[models.NewSubscriptions]](../models/newsubscriptions.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_revenue` | [OptionalNullable[models.NewSubscriptionsRevenue]](../models/newsubscriptionsrevenue.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_net_revenue` | [OptionalNullable[models.NewSubscriptionsNetRevenue]](../models/newsubscriptionsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions` | [OptionalNullable[models.RenewedSubscriptions]](../models/renewedsubscriptions.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_revenue` | [OptionalNullable[models.RenewedSubscriptionsRevenue]](../models/renewedsubscriptionsrevenue.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_net_revenue` | [OptionalNullable[models.RenewedSubscriptionsNetRevenue]](../models/renewedsubscriptionsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `active_subscriptions` | [OptionalNullable[models.ActiveSubscriptions]](../models/activesubscriptions.md) | :heavy_minus_sign: | N/A | +| `monthly_recurring_revenue` | [OptionalNullable[models.MonthlyRecurringRevenue]](../models/monthlyrecurringrevenue.md) | :heavy_minus_sign: | N/A | +| `committed_monthly_recurring_revenue` | [OptionalNullable[models.CommittedMonthlyRecurringRevenue]](../models/committedmonthlyrecurringrevenue.md) | :heavy_minus_sign: | N/A | +| `checkouts` | [OptionalNullable[models.CheckoutsModel]](../models/checkoutsmodel.md) | :heavy_minus_sign: | N/A | +| `succeeded_checkouts` | [OptionalNullable[models.SucceededCheckouts]](../models/succeededcheckouts.md) | :heavy_minus_sign: | N/A | +| `checkouts_conversion` | [OptionalNullable[models.CheckoutsConversion]](../models/checkoutsconversion.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions` | [OptionalNullable[models.CanceledSubscriptions]](../models/canceledsubscriptions.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_customer_service` | [OptionalNullable[models.CanceledSubscriptionsCustomerService]](../models/canceledsubscriptionscustomerservice.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_low_quality` | [OptionalNullable[models.CanceledSubscriptionsLowQuality]](../models/canceledsubscriptionslowquality.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_missing_features` | [OptionalNullable[models.CanceledSubscriptionsMissingFeatures]](../models/canceledsubscriptionsmissingfeatures.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_switched_service` | [OptionalNullable[models.CanceledSubscriptionsSwitchedService]](../models/canceledsubscriptionsswitchedservice.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_complex` | [OptionalNullable[models.CanceledSubscriptionsTooComplex]](../models/canceledsubscriptionstoocomplex.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_expensive` | [OptionalNullable[models.CanceledSubscriptionsTooExpensive]](../models/canceledsubscriptionstooexpensive.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_unused` | [OptionalNullable[models.CanceledSubscriptionsUnused]](../models/canceledsubscriptionsunused.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_other` | [OptionalNullable[models.CanceledSubscriptionsOther]](../models/canceledsubscriptionsother.md) | :heavy_minus_sign: | N/A | +| `churned_subscriptions` | [OptionalNullable[models.ChurnedSubscriptions]](../models/churnedsubscriptions.md) | :heavy_minus_sign: | N/A | +| `churn_rate` | [OptionalNullable[models.ChurnRate]](../models/churnrate.md) | :heavy_minus_sign: | N/A | +| `ltv` | [OptionalNullable[models.Ltv]](../models/ltv.md) | :heavy_minus_sign: | N/A | +| `gross_margin` | [OptionalNullable[models.GrossMargin]](../models/grossmargin.md) | :heavy_minus_sign: | N/A | +| `gross_margin_percentage` | [OptionalNullable[models.GrossMarginPercentage]](../models/grossmarginpercentage.md) | :heavy_minus_sign: | N/A | +| `cashflow` | [OptionalNullable[models.Cashflow]](../models/cashflow.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/metrics.md b/docs/models/metrics.md index 4f372b2e..c9c5d771 100644 --- a/docs/models/metrics.md +++ b/docs/models/metrics.md @@ -3,45 +3,47 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `orders` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `net_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `cumulative_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `net_cumulative_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `costs` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `cumulative_costs` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `average_order_value` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `net_average_order_value` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `average_revenue_per_user` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `cost_per_user` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `active_user_by_event` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `one_time_products` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `one_time_products_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `one_time_products_net_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `new_subscriptions` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `new_subscriptions_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `new_subscriptions_net_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `renewed_subscriptions` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `renewed_subscriptions_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `renewed_subscriptions_net_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `active_subscriptions` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `monthly_recurring_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `committed_monthly_recurring_revenue` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `checkouts` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `succeeded_checkouts` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `checkouts_conversion` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_customer_service` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_low_quality` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_missing_features` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_switched_service` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_too_complex` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_too_expensive` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_unused` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `canceled_subscriptions_other` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `churn_rate` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `gross_margin` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `gross_margin_percentage` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | -| `cashflow` | [models.Metric](../models/metric.md) | :heavy_check_mark: | Information about a metric. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `orders` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `net_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `cumulative_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `net_cumulative_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `costs` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `cumulative_costs` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `average_order_value` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `net_average_order_value` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `average_revenue_per_user` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `cost_per_user` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `active_user_by_event` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `one_time_products` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `one_time_products_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `one_time_products_net_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_net_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_net_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `active_subscriptions` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `monthly_recurring_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `committed_monthly_recurring_revenue` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `checkouts` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `succeeded_checkouts` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `checkouts_conversion` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_customer_service` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_low_quality` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_missing_features` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_switched_service` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_complex` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_expensive` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_unused` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_other` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `churned_subscriptions` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `churn_rate` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `ltv` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `gross_margin` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `gross_margin_percentage` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | +| `cashflow` | [OptionalNullable[models.Metric]](../models/metric.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/metricsgetrequest.md b/docs/models/metricsgetrequest.md index 9ce34a1d..48172737 100644 --- a/docs/models/metricsgetrequest.md +++ b/docs/models/metricsgetrequest.md @@ -3,13 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | Start date. | -| `end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | End date. | -| `timezone` | *Optional[str]* | :heavy_minus_sign: | Timezone to use for the timestamps. Default is UTC. | -| `interval` | [models.TimeInterval](../models/timeinterval.md) | :heavy_check_mark: | Interval between two timestamps. | -| `organization_id` | [OptionalNullable[models.MetricsGetQueryParamOrganizationIDFilter]](../models/metricsgetqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | -| `product_id` | [OptionalNullable[models.MetricsGetQueryParamProductIDFilter]](../models/metricsgetqueryparamproductidfilter.md) | :heavy_minus_sign: | Filter by product ID. | -| `billing_type` | [OptionalNullable[models.QueryParamProductBillingTypeFilter]](../models/queryparamproductbillingtypefilter.md) | :heavy_minus_sign: | Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. | -| `customer_id` | [OptionalNullable[models.MetricsGetQueryParamCustomerIDFilter]](../models/metricsgetqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | Start date. | +| `end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | End date. | +| `timezone` | *Optional[str]* | :heavy_minus_sign: | Timezone to use for the timestamps. Default is UTC. | +| `interval` | [models.TimeInterval](../models/timeinterval.md) | :heavy_check_mark: | Interval between two timestamps. | +| `organization_id` | [OptionalNullable[models.MetricsGetQueryParamOrganizationIDFilter]](../models/metricsgetqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | +| `product_id` | [OptionalNullable[models.MetricsGetQueryParamProductIDFilter]](../models/metricsgetqueryparamproductidfilter.md) | :heavy_minus_sign: | Filter by product ID. | +| `billing_type` | [OptionalNullable[models.QueryParamProductBillingTypeFilter]](../models/queryparamproductbillingtypefilter.md) | :heavy_minus_sign: | Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. | +| `customer_id` | [OptionalNullable[models.MetricsGetQueryParamCustomerIDFilter]](../models/metricsgetqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `metrics` | List[*str*] | :heavy_minus_sign: | List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned. | \ No newline at end of file diff --git a/docs/models/metricsintervallimit.md b/docs/models/metricsintervallimit.md index ef06ec5f..a5097d9a 100644 --- a/docs/models/metricsintervallimit.md +++ b/docs/models/metricsintervallimit.md @@ -7,4 +7,5 @@ Date interval limit to get metrics for a given interval. | Field | Type | Required | Description | | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `min_days` | *int* | :heavy_check_mark: | Minimum number of days for this interval. | | `max_days` | *int* | :heavy_check_mark: | Maximum number of days for this interval. | \ No newline at end of file diff --git a/docs/models/metricstotals.md b/docs/models/metricstotals.md index 6c80443f..3733a862 100644 --- a/docs/models/metricstotals.md +++ b/docs/models/metricstotals.md @@ -3,45 +3,47 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `orders` | [models.MetricsTotalsOrders](../models/metricstotalsorders.md) | :heavy_check_mark: | N/A | -| `revenue` | [models.MetricsTotalsRevenue](../models/metricstotalsrevenue.md) | :heavy_check_mark: | N/A | -| `net_revenue` | [models.MetricsTotalsNetRevenue](../models/metricstotalsnetrevenue.md) | :heavy_check_mark: | N/A | -| `cumulative_revenue` | [models.MetricsTotalsCumulativeRevenue](../models/metricstotalscumulativerevenue.md) | :heavy_check_mark: | N/A | -| `net_cumulative_revenue` | [models.MetricsTotalsNetCumulativeRevenue](../models/metricstotalsnetcumulativerevenue.md) | :heavy_check_mark: | N/A | -| `costs` | [models.MetricsTotalsCosts](../models/metricstotalscosts.md) | :heavy_check_mark: | N/A | -| `cumulative_costs` | [models.MetricsTotalsCumulativeCosts](../models/metricstotalscumulativecosts.md) | :heavy_check_mark: | N/A | -| `average_order_value` | [models.MetricsTotalsAverageOrderValue](../models/metricstotalsaverageordervalue.md) | :heavy_check_mark: | N/A | -| `net_average_order_value` | [models.MetricsTotalsNetAverageOrderValue](../models/metricstotalsnetaverageordervalue.md) | :heavy_check_mark: | N/A | -| `average_revenue_per_user` | [models.MetricsTotalsAverageRevenuePerUser](../models/metricstotalsaveragerevenueperuser.md) | :heavy_check_mark: | N/A | -| `cost_per_user` | [models.MetricsTotalsCostPerUser](../models/metricstotalscostperuser.md) | :heavy_check_mark: | N/A | -| `active_user_by_event` | [models.MetricsTotalsActiveUserByEvent](../models/metricstotalsactiveuserbyevent.md) | :heavy_check_mark: | N/A | -| `one_time_products` | [models.MetricsTotalsOneTimeProducts](../models/metricstotalsonetimeproducts.md) | :heavy_check_mark: | N/A | -| `one_time_products_revenue` | [models.MetricsTotalsOneTimeProductsRevenue](../models/metricstotalsonetimeproductsrevenue.md) | :heavy_check_mark: | N/A | -| `one_time_products_net_revenue` | [models.MetricsTotalsOneTimeProductsNetRevenue](../models/metricstotalsonetimeproductsnetrevenue.md) | :heavy_check_mark: | N/A | -| `new_subscriptions` | [models.MetricsTotalsNewSubscriptions](../models/metricstotalsnewsubscriptions.md) | :heavy_check_mark: | N/A | -| `new_subscriptions_revenue` | [models.MetricsTotalsNewSubscriptionsRevenue](../models/metricstotalsnewsubscriptionsrevenue.md) | :heavy_check_mark: | N/A | -| `new_subscriptions_net_revenue` | [models.MetricsTotalsNewSubscriptionsNetRevenue](../models/metricstotalsnewsubscriptionsnetrevenue.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions` | [models.MetricsTotalsRenewedSubscriptions](../models/metricstotalsrenewedsubscriptions.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions_revenue` | [models.MetricsTotalsRenewedSubscriptionsRevenue](../models/metricstotalsrenewedsubscriptionsrevenue.md) | :heavy_check_mark: | N/A | -| `renewed_subscriptions_net_revenue` | [models.MetricsTotalsRenewedSubscriptionsNetRevenue](../models/metricstotalsrenewedsubscriptionsnetrevenue.md) | :heavy_check_mark: | N/A | -| `active_subscriptions` | [models.MetricsTotalsActiveSubscriptions](../models/metricstotalsactivesubscriptions.md) | :heavy_check_mark: | N/A | -| `monthly_recurring_revenue` | [models.MetricsTotalsMonthlyRecurringRevenue](../models/metricstotalsmonthlyrecurringrevenue.md) | :heavy_check_mark: | N/A | -| `committed_monthly_recurring_revenue` | [models.MetricsTotalsCommittedMonthlyRecurringRevenue](../models/metricstotalscommittedmonthlyrecurringrevenue.md) | :heavy_check_mark: | N/A | -| `checkouts` | [models.MetricsTotalsCheckouts](../models/metricstotalscheckouts.md) | :heavy_check_mark: | N/A | -| `succeeded_checkouts` | [models.MetricsTotalsSucceededCheckouts](../models/metricstotalssucceededcheckouts.md) | :heavy_check_mark: | N/A | -| `checkouts_conversion` | [models.MetricsTotalsCheckoutsConversion](../models/metricstotalscheckoutsconversion.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions` | [models.MetricsTotalsCanceledSubscriptions](../models/metricstotalscanceledsubscriptions.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_customer_service` | [models.MetricsTotalsCanceledSubscriptionsCustomerService](../models/metricstotalscanceledsubscriptionscustomerservice.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_low_quality` | [models.MetricsTotalsCanceledSubscriptionsLowQuality](../models/metricstotalscanceledsubscriptionslowquality.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_missing_features` | [models.MetricsTotalsCanceledSubscriptionsMissingFeatures](../models/metricstotalscanceledsubscriptionsmissingfeatures.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_switched_service` | [models.MetricsTotalsCanceledSubscriptionsSwitchedService](../models/metricstotalscanceledsubscriptionsswitchedservice.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_too_complex` | [models.MetricsTotalsCanceledSubscriptionsTooComplex](../models/metricstotalscanceledsubscriptionstoocomplex.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_too_expensive` | [models.MetricsTotalsCanceledSubscriptionsTooExpensive](../models/metricstotalscanceledsubscriptionstooexpensive.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_unused` | [models.MetricsTotalsCanceledSubscriptionsUnused](../models/metricstotalscanceledsubscriptionsunused.md) | :heavy_check_mark: | N/A | -| `canceled_subscriptions_other` | [models.MetricsTotalsCanceledSubscriptionsOther](../models/metricstotalscanceledsubscriptionsother.md) | :heavy_check_mark: | N/A | -| `churn_rate` | [models.MetricsTotalsChurnRate](../models/metricstotalschurnrate.md) | :heavy_check_mark: | N/A | -| `gross_margin` | [models.MetricsTotalsGrossMargin](../models/metricstotalsgrossmargin.md) | :heavy_check_mark: | N/A | -| `gross_margin_percentage` | [models.MetricsTotalsGrossMarginPercentage](../models/metricstotalsgrossmarginpercentage.md) | :heavy_check_mark: | N/A | -| `cashflow` | [models.MetricsTotalsCashflow](../models/metricstotalscashflow.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `orders` | [OptionalNullable[models.MetricsTotalsOrders]](../models/metricstotalsorders.md) | :heavy_minus_sign: | N/A | +| `revenue` | [OptionalNullable[models.MetricsTotalsRevenue]](../models/metricstotalsrevenue.md) | :heavy_minus_sign: | N/A | +| `net_revenue` | [OptionalNullable[models.MetricsTotalsNetRevenue]](../models/metricstotalsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `cumulative_revenue` | [OptionalNullable[models.MetricsTotalsCumulativeRevenue]](../models/metricstotalscumulativerevenue.md) | :heavy_minus_sign: | N/A | +| `net_cumulative_revenue` | [OptionalNullable[models.MetricsTotalsNetCumulativeRevenue]](../models/metricstotalsnetcumulativerevenue.md) | :heavy_minus_sign: | N/A | +| `costs` | [OptionalNullable[models.MetricsTotalsCosts]](../models/metricstotalscosts.md) | :heavy_minus_sign: | N/A | +| `cumulative_costs` | [OptionalNullable[models.MetricsTotalsCumulativeCosts]](../models/metricstotalscumulativecosts.md) | :heavy_minus_sign: | N/A | +| `average_order_value` | [OptionalNullable[models.MetricsTotalsAverageOrderValue]](../models/metricstotalsaverageordervalue.md) | :heavy_minus_sign: | N/A | +| `net_average_order_value` | [OptionalNullable[models.MetricsTotalsNetAverageOrderValue]](../models/metricstotalsnetaverageordervalue.md) | :heavy_minus_sign: | N/A | +| `average_revenue_per_user` | [OptionalNullable[models.MetricsTotalsAverageRevenuePerUser]](../models/metricstotalsaveragerevenueperuser.md) | :heavy_minus_sign: | N/A | +| `cost_per_user` | [OptionalNullable[models.MetricsTotalsCostPerUser]](../models/metricstotalscostperuser.md) | :heavy_minus_sign: | N/A | +| `active_user_by_event` | [OptionalNullable[models.MetricsTotalsActiveUserByEvent]](../models/metricstotalsactiveuserbyevent.md) | :heavy_minus_sign: | N/A | +| `one_time_products` | [OptionalNullable[models.MetricsTotalsOneTimeProducts]](../models/metricstotalsonetimeproducts.md) | :heavy_minus_sign: | N/A | +| `one_time_products_revenue` | [OptionalNullable[models.MetricsTotalsOneTimeProductsRevenue]](../models/metricstotalsonetimeproductsrevenue.md) | :heavy_minus_sign: | N/A | +| `one_time_products_net_revenue` | [OptionalNullable[models.MetricsTotalsOneTimeProductsNetRevenue]](../models/metricstotalsonetimeproductsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions` | [OptionalNullable[models.MetricsTotalsNewSubscriptions]](../models/metricstotalsnewsubscriptions.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_revenue` | [OptionalNullable[models.MetricsTotalsNewSubscriptionsRevenue]](../models/metricstotalsnewsubscriptionsrevenue.md) | :heavy_minus_sign: | N/A | +| `new_subscriptions_net_revenue` | [OptionalNullable[models.MetricsTotalsNewSubscriptionsNetRevenue]](../models/metricstotalsnewsubscriptionsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions` | [OptionalNullable[models.MetricsTotalsRenewedSubscriptions]](../models/metricstotalsrenewedsubscriptions.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_revenue` | [OptionalNullable[models.MetricsTotalsRenewedSubscriptionsRevenue]](../models/metricstotalsrenewedsubscriptionsrevenue.md) | :heavy_minus_sign: | N/A | +| `renewed_subscriptions_net_revenue` | [OptionalNullable[models.MetricsTotalsRenewedSubscriptionsNetRevenue]](../models/metricstotalsrenewedsubscriptionsnetrevenue.md) | :heavy_minus_sign: | N/A | +| `active_subscriptions` | [OptionalNullable[models.MetricsTotalsActiveSubscriptions]](../models/metricstotalsactivesubscriptions.md) | :heavy_minus_sign: | N/A | +| `monthly_recurring_revenue` | [OptionalNullable[models.MetricsTotalsMonthlyRecurringRevenue]](../models/metricstotalsmonthlyrecurringrevenue.md) | :heavy_minus_sign: | N/A | +| `committed_monthly_recurring_revenue` | [OptionalNullable[models.MetricsTotalsCommittedMonthlyRecurringRevenue]](../models/metricstotalscommittedmonthlyrecurringrevenue.md) | :heavy_minus_sign: | N/A | +| `checkouts` | [OptionalNullable[models.MetricsTotalsCheckouts]](../models/metricstotalscheckouts.md) | :heavy_minus_sign: | N/A | +| `succeeded_checkouts` | [OptionalNullable[models.MetricsTotalsSucceededCheckouts]](../models/metricstotalssucceededcheckouts.md) | :heavy_minus_sign: | N/A | +| `checkouts_conversion` | [OptionalNullable[models.MetricsTotalsCheckoutsConversion]](../models/metricstotalscheckoutsconversion.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptions]](../models/metricstotalscanceledsubscriptions.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_customer_service` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsCustomerService]](../models/metricstotalscanceledsubscriptionscustomerservice.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_low_quality` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsLowQuality]](../models/metricstotalscanceledsubscriptionslowquality.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_missing_features` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsMissingFeatures]](../models/metricstotalscanceledsubscriptionsmissingfeatures.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_switched_service` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsSwitchedService]](../models/metricstotalscanceledsubscriptionsswitchedservice.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_complex` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsTooComplex]](../models/metricstotalscanceledsubscriptionstoocomplex.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_too_expensive` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsTooExpensive]](../models/metricstotalscanceledsubscriptionstooexpensive.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_unused` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsUnused]](../models/metricstotalscanceledsubscriptionsunused.md) | :heavy_minus_sign: | N/A | +| `canceled_subscriptions_other` | [OptionalNullable[models.MetricsTotalsCanceledSubscriptionsOther]](../models/metricstotalscanceledsubscriptionsother.md) | :heavy_minus_sign: | N/A | +| `churned_subscriptions` | [OptionalNullable[models.MetricsTotalsChurnedSubscriptions]](../models/metricstotalschurnedsubscriptions.md) | :heavy_minus_sign: | N/A | +| `churn_rate` | [OptionalNullable[models.MetricsTotalsChurnRate]](../models/metricstotalschurnrate.md) | :heavy_minus_sign: | N/A | +| `ltv` | [OptionalNullable[models.MetricsTotalsLtv]](../models/metricstotalsltv.md) | :heavy_minus_sign: | N/A | +| `gross_margin` | [OptionalNullable[models.MetricsTotalsGrossMargin]](../models/metricstotalsgrossmargin.md) | :heavy_minus_sign: | N/A | +| `gross_margin_percentage` | [OptionalNullable[models.MetricsTotalsGrossMarginPercentage]](../models/metricstotalsgrossmarginpercentage.md) | :heavy_minus_sign: | N/A | +| `cashflow` | [OptionalNullable[models.MetricsTotalsCashflow]](../models/metricstotalscashflow.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/metricstotalschurnedsubscriptions.md b/docs/models/metricstotalschurnedsubscriptions.md new file mode 100644 index 00000000..218d5397 --- /dev/null +++ b/docs/models/metricstotalschurnedsubscriptions.md @@ -0,0 +1,17 @@ +# MetricsTotalsChurnedSubscriptions + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `float` + +```python +value: float = /* values here */ +``` + diff --git a/docs/models/metricstotalsltv.md b/docs/models/metricstotalsltv.md new file mode 100644 index 00000000..8d54d6cb --- /dev/null +++ b/docs/models/metricstotalsltv.md @@ -0,0 +1,17 @@ +# MetricsTotalsLtv + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `float` + +```python +value: float = /* values here */ +``` + diff --git a/docs/models/missingpaymentmethoderror.md b/docs/models/missingpaymentmethoderror.md deleted file mode 100644 index 5b0c79c3..00000000 --- a/docs/models/missingpaymentmethoderror.md +++ /dev/null @@ -1,9 +0,0 @@ -# MissingPaymentMethodError - - -## Fields - -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `error` | *Literal["MissingPaymentMethodError"]* | :heavy_check_mark: | N/A | MissingPaymentMethodError | -| `detail` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/order.md b/docs/models/order.md index c5651ecf..63bf5c5c 100644 --- a/docs/models/order.md +++ b/docs/models/order.md @@ -34,6 +34,7 @@ | `metadata` | Dict[str, [models.OrderMetadata](../models/ordermetadata.md)] | :heavy_check_mark: | N/A | | | `custom_field_data` | Dict[str, [Nullable[models.OrderCustomFieldData]](../models/ordercustomfielddata.md)] | :heavy_minus_sign: | Key-value object storing custom field values. | | | `platform_fee_amount` | *int* | :heavy_check_mark: | Platform fee amount in cents. | 500 | +| `platform_fee_currency` | *Nullable[str]* | :heavy_check_mark: | Currency of the platform fee. | usd | | `customer` | [models.OrderCustomer](../models/ordercustomer.md) | :heavy_check_mark: | N/A | | | ~~`user_id`~~ | *str* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | `product` | [Nullable[models.OrderProduct]](../models/orderproduct.md) | :heavy_check_mark: | N/A | | diff --git a/docs/models/orderpaidevent.md b/docs/models/orderpaidevent.md index 3ee5dc6b..88b89c28 100644 --- a/docs/models/orderpaidevent.md +++ b/docs/models/orderpaidevent.md @@ -14,6 +14,8 @@ An event created by Polar when an order is paid. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["order.paid"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.OrderPaidMetadata](../models/orderpaidmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/orderrefundedevent.md b/docs/models/orderrefundedevent.md index fd1161db..96ba9048 100644 --- a/docs/models/orderrefundedevent.md +++ b/docs/models/orderrefundedevent.md @@ -14,6 +14,8 @@ An event created by Polar when an order is refunded. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["order.refunded"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.OrderRefundedMetadata](../models/orderrefundedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/organization.md b/docs/models/organization.md index 65ff40ca..bcc21c35 100644 --- a/docs/models/organization.md +++ b/docs/models/organization.md @@ -3,20 +3,22 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | -| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | -| `id` | *str* | :heavy_check_mark: | The organization ID. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | -| `name` | *str* | :heavy_check_mark: | Organization name shown in checkout, customer portal, emails etc. | | -| `slug` | *str* | :heavy_check_mark: | Unique organization slug in checkout, customer portal and credit card statements. | | -| `avatar_url` | *Nullable[str]* | :heavy_check_mark: | Avatar URL shown in checkout, customer portal, emails etc. | | -| `email` | *Nullable[str]* | :heavy_check_mark: | Public support email. | | -| `website` | *Nullable[str]* | :heavy_check_mark: | Official website of the organization. | | -| `socials` | List[[models.OrganizationSocialLink](../models/organizationsociallink.md)] | :heavy_check_mark: | Links to social profiles. | | -| `status` | [models.OrganizationStatus](../models/organizationstatus.md) | :heavy_check_mark: | N/A | | -| `details_submitted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | When the business details were submitted. | | -| `feature_settings` | [Nullable[models.OrganizationFeatureSettings]](../models/organizationfeaturesettings.md) | :heavy_check_mark: | Organization feature settings | | -| `subscription_settings` | [models.OrganizationSubscriptionSettings](../models/organizationsubscriptionsettings.md) | :heavy_check_mark: | N/A | | -| `notification_settings` | [models.OrganizationNotificationSettings](../models/organizationnotificationsettings.md) | :heavy_check_mark: | N/A | | -| `customer_email_settings` | [models.OrganizationCustomerEmailSettings](../models/organizationcustomeremailsettings.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | +| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `name` | *str* | :heavy_check_mark: | Organization name shown in checkout, customer portal, emails etc. | +| `slug` | *str* | :heavy_check_mark: | Unique organization slug in checkout, customer portal and credit card statements. | +| `avatar_url` | *Nullable[str]* | :heavy_check_mark: | Avatar URL shown in checkout, customer portal, emails etc. | +| `proration_behavior` | [models.SubscriptionProrationBehavior](../models/subscriptionprorationbehavior.md) | :heavy_check_mark: | N/A | +| `allow_customer_updates` | *bool* | :heavy_check_mark: | Whether customers can update their subscriptions from the customer portal. | +| `email` | *Nullable[str]* | :heavy_check_mark: | Public support email. | +| `website` | *Nullable[str]* | :heavy_check_mark: | Official website of the organization. | +| `socials` | List[[models.OrganizationSocialLink](../models/organizationsociallink.md)] | :heavy_check_mark: | Links to social profiles. | +| `status` | [models.OrganizationStatus](../models/organizationstatus.md) | :heavy_check_mark: | N/A | +| `details_submitted_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | When the business details were submitted. | +| `feature_settings` | [Nullable[models.OrganizationFeatureSettings]](../models/organizationfeaturesettings.md) | :heavy_check_mark: | Organization feature settings | +| `subscription_settings` | [models.OrganizationSubscriptionSettings](../models/organizationsubscriptionsettings.md) | :heavy_check_mark: | N/A | +| `notification_settings` | [models.OrganizationNotificationSettings](../models/organizationnotificationsettings.md) | :heavy_check_mark: | N/A | +| `customer_email_settings` | [models.OrganizationCustomerEmailSettings](../models/organizationcustomeremailsettings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/organizationfeaturesettings.md b/docs/models/organizationfeaturesettings.md index 55b3d7ac..6993f053 100644 --- a/docs/models/organizationfeaturesettings.md +++ b/docs/models/organizationfeaturesettings.md @@ -8,4 +8,5 @@ | `issue_funding_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has issue funding enabled | | `seat_based_pricing_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has seat-based pricing enabled | | `revops_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has RevOps enabled | -| `wallets_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has Wallets enabled | \ No newline at end of file +| `wallets_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has Wallets enabled | +| `member_model_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has the Member model enabled | \ No newline at end of file diff --git a/docs/models/organizationstatus.md b/docs/models/organizationstatus.md index 2d0ba6d2..b7f43149 100644 --- a/docs/models/organizationstatus.md +++ b/docs/models/organizationstatus.md @@ -7,6 +7,7 @@ | -------------------- | -------------------- | | `CREATED` | created | | `ONBOARDING_STARTED` | onboarding_started | -| `UNDER_REVIEW` | under_review | +| `INITIAL_REVIEW` | initial_review | +| `ONGOING_REVIEW` | ongoing_review | | `DENIED` | denied | | `ACTIVE` | active | \ No newline at end of file diff --git a/docs/models/organizationsubscriptionsettings.md b/docs/models/organizationsubscriptionsettings.md index ec299be9..3fbda216 100644 --- a/docs/models/organizationsubscriptionsettings.md +++ b/docs/models/organizationsubscriptionsettings.md @@ -8,4 +8,5 @@ | `allow_multiple_subscriptions` | *bool* | :heavy_check_mark: | N/A | | `allow_customer_updates` | *bool* | :heavy_check_mark: | N/A | | `proration_behavior` | [models.SubscriptionProrationBehavior](../models/subscriptionprorationbehavior.md) | :heavy_check_mark: | N/A | -| `benefit_revocation_grace_period` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file +| `benefit_revocation_grace_period` | *int* | :heavy_check_mark: | N/A | +| `prevent_trial_abuse` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ownercreate.md b/docs/models/ownercreate.md new file mode 100644 index 00000000..bfd103b2 --- /dev/null +++ b/docs/models/ownercreate.md @@ -0,0 +1,12 @@ +# OwnerCreate + +Schema for creating an owner member during customer creation. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `email` | *OptionalNullable[str]* | :heavy_minus_sign: | The email address of the member. | member@example.com | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | Jane Doe | +| `external_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the member in your system. This must be unique within the customer. | usr_1337 | \ No newline at end of file diff --git a/docs/models/paymentintentfailederror.md b/docs/models/paymentintentfailederror.md deleted file mode 100644 index ab3b08eb..00000000 --- a/docs/models/paymentintentfailederror.md +++ /dev/null @@ -1,9 +0,0 @@ -# PaymentIntentFailedError - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `error` | *Literal["PaymentIntentFailedError"]* | :heavy_check_mark: | N/A | PaymentIntentFailedError | -| `detail` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/productpricecustom.md b/docs/models/productpricecustom.md index 9128b18f..907e8787 100644 --- a/docs/models/productpricecustom.md +++ b/docs/models/productpricecustom.md @@ -10,6 +10,7 @@ A pay-what-you-want price for a product. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["custom"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/productpricefixed.md b/docs/models/productpricefixed.md index a83a88a1..b627d7c9 100644 --- a/docs/models/productpricefixed.md +++ b/docs/models/productpricefixed.md @@ -10,6 +10,7 @@ A fixed price for a product. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["fixed"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/productpricefree.md b/docs/models/productpricefree.md index 3b74232f..27394e87 100644 --- a/docs/models/productpricefree.md +++ b/docs/models/productpricefree.md @@ -10,6 +10,7 @@ A free price for a product. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["free"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/productpricemeteredunit.md b/docs/models/productpricemeteredunit.md index 70f73702..f1a3e33f 100644 --- a/docs/models/productpricemeteredunit.md +++ b/docs/models/productpricemeteredunit.md @@ -10,6 +10,7 @@ A metered, usage-based, price for a product, with a fixed unit price. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["metered_unit"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/productpriceseatbased.md b/docs/models/productpriceseatbased.md index f1e75664..c048ed14 100644 --- a/docs/models/productpriceseatbased.md +++ b/docs/models/productpriceseatbased.md @@ -10,6 +10,7 @@ A seat-based price for a product. | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | | `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | | `id` | *str* | :heavy_check_mark: | The ID of the price. | +| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | | `amount_type` | *Literal["seat_based"]* | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | | `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | diff --git a/docs/models/productpricesource.md b/docs/models/productpricesource.md new file mode 100644 index 00000000..06439e9f --- /dev/null +++ b/docs/models/productpricesource.md @@ -0,0 +1,9 @@ +# ProductPriceSource + + +## Values + +| Name | Value | +| --------- | --------- | +| `CATALOG` | catalog | +| `AD_HOC` | ad_hoc | \ No newline at end of file diff --git a/docs/models/refundreason.md b/docs/models/refundreason.md index fb1cb66d..617bb102 100644 --- a/docs/models/refundreason.md +++ b/docs/models/refundreason.md @@ -10,4 +10,5 @@ | `CUSTOMER_REQUEST` | customer_request | | `SERVICE_DISRUPTION` | service_disruption | | `SATISFACTION_GUARANTEE` | satisfaction_guarantee | +| `DISPUTE_PREVENTION` | dispute_prevention | | `OTHER` | other | \ No newline at end of file diff --git a/docs/models/scope.md b/docs/models/scope.md index 16ff65d1..80fe0f62 100644 --- a/docs/models/scope.md +++ b/docs/models/scope.md @@ -9,6 +9,7 @@ | `PROFILE` | profile | | `EMAIL` | email | | `USER_READ` | user:read | +| `USER_WRITE` | user:write | | `WEB_READ` | web:read | | `WEB_WRITE` | web:write | | `ORGANIZATIONS_READ` | organizations:read | @@ -39,6 +40,8 @@ | `SUBSCRIPTIONS_WRITE` | subscriptions:write | | `CUSTOMERS_READ` | customers:read | | `CUSTOMERS_WRITE` | customers:write | +| `MEMBERS_READ` | members:read | +| `MEMBERS_WRITE` | members:write | | `WALLETS_READ` | wallets:read | | `WALLETS_WRITE` | wallets:write | | `CUSTOMER_METERS_READ` | customer_meters:read | diff --git a/docs/models/subscriptioncycledevent.md b/docs/models/subscriptioncycledevent.md index 1461deb7..c8dee090 100644 --- a/docs/models/subscriptioncycledevent.md +++ b/docs/models/subscriptioncycledevent.md @@ -14,6 +14,8 @@ An event created by Polar when a subscription is cycled. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["subscription.cycled"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.SubscriptionCycledMetadata](../models/subscriptioncycledmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/subscriptionproductupdatedevent.md b/docs/models/subscriptionproductupdatedevent.md index e9a32e00..b9620693 100644 --- a/docs/models/subscriptionproductupdatedevent.md +++ b/docs/models/subscriptionproductupdatedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a subscription changes the product. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["subscription.product_updated"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.SubscriptionProductUpdatedMetadata](../models/subscriptionproductupdatedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/subscriptionrevokedevent.md b/docs/models/subscriptionrevokedevent.md index f84b43f3..96bb0f10 100644 --- a/docs/models/subscriptionrevokedevent.md +++ b/docs/models/subscriptionrevokedevent.md @@ -14,6 +14,8 @@ An event created by Polar when a subscription is revoked from a customer. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `name` | *Literal["subscription.revoked"]* | :heavy_check_mark: | The name of the event. | | | `metadata` | [models.SubscriptionRevokedMetadata](../models/subscriptionrevokedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/subscriptionseatsupdatedevent.md b/docs/models/subscriptionseatsupdatedevent.md new file mode 100644 index 00000000..b66d9f2e --- /dev/null +++ b/docs/models/subscriptionseatsupdatedevent.md @@ -0,0 +1,21 @@ +# SubscriptionSeatsUpdatedEvent + +An event created by Polar when a the seats on a subscription is changed. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The timestamp of the event. | | +| `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the event. | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | +| `customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your Polar organization associated with the event. | | +| `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | +| `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | +| `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | +| `source` | *Literal["system"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | +| `name` | *Literal["subscription.seats_updated"]* | :heavy_check_mark: | The name of the event. | | +| `metadata` | [models.SubscriptionSeatsUpdatedMetadata](../models/subscriptionseatsupdatedmetadata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/subscriptionseatsupdatedmetadata.md b/docs/models/subscriptionseatsupdatedmetadata.md new file mode 100644 index 00000000..34913496 --- /dev/null +++ b/docs/models/subscriptionseatsupdatedmetadata.md @@ -0,0 +1,11 @@ +# SubscriptionSeatsUpdatedMetadata + + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `subscription_id` | *str* | :heavy_check_mark: | N/A | +| `old_seats` | *int* | :heavy_check_mark: | N/A | +| `new_seats` | *int* | :heavy_check_mark: | N/A | +| `proration_behavior` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/subscriptionslistrequest.md b/docs/models/subscriptionslistrequest.md index 155ab5a1..104c1b99 100644 --- a/docs/models/subscriptionslistrequest.md +++ b/docs/models/subscriptionslistrequest.md @@ -11,6 +11,7 @@ | `external_customer_id` | [OptionalNullable[models.ExternalCustomerIDFilter]](../models/externalcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer external ID. | | `discount_id` | [OptionalNullable[models.DiscountIDFilter]](../models/discountidfilter.md) | :heavy_minus_sign: | Filter by discount ID. | | `active` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter by active or inactive subscription. | +| `cancel_at_period_end` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter by subscriptions that are set to cancel at period end. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.SubscriptionSortProperty](../models/subscriptionsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | diff --git a/docs/models/subscriptionupdate.md b/docs/models/subscriptionupdate.md index 88d87336..aab9557a 100644 --- a/docs/models/subscriptionupdate.md +++ b/docs/models/subscriptionupdate.md @@ -27,6 +27,12 @@ value: models.SubscriptionUpdateTrial = /* values here */ value: models.SubscriptionUpdateSeats = /* values here */ ``` +### `models.SubscriptionUpdateBillingPeriod` + +```python +value: models.SubscriptionUpdateBillingPeriod = /* values here */ +``` + ### `models.SubscriptionCancel` ```python diff --git a/docs/models/subscriptionupdatebillingperiod.md b/docs/models/subscriptionupdatebillingperiod.md new file mode 100644 index 00000000..78a637e3 --- /dev/null +++ b/docs/models/subscriptionupdatebillingperiod.md @@ -0,0 +1,8 @@ +# SubscriptionUpdateBillingPeriod + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `current_billing_period_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Set a new date for the end of the current billing period. The subscription will renew on this date. Needs to be later than the current value.

It is not possible to update the current billing period on a canceled subscription. | \ No newline at end of file diff --git a/docs/models/systemevent.md b/docs/models/systemevent.md index af1f0c12..ba73aea0 100644 --- a/docs/models/systemevent.md +++ b/docs/models/systemevent.md @@ -87,3 +87,9 @@ value: models.SubscriptionProductUpdatedEvent = /* values here */ value: models.SubscriptionRevokedEvent = /* values here */ ``` +### `models.SubscriptionSeatsUpdatedEvent` + +```python +value: models.SubscriptionSeatsUpdatedEvent = /* values here */ +``` + diff --git a/docs/models/trialalreadyredeemed.md b/docs/models/trialalreadyredeemed.md new file mode 100644 index 00000000..d5438bd1 --- /dev/null +++ b/docs/models/trialalreadyredeemed.md @@ -0,0 +1,9 @@ +# TrialAlreadyRedeemed + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `error` | *Literal["TrialAlreadyRedeemed"]* | :heavy_check_mark: | N/A | TrialAlreadyRedeemed | +| `detail` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/userevent.md b/docs/models/userevent.md index f1654db1..f20b1e0a 100644 --- a/docs/models/userevent.md +++ b/docs/models/userevent.md @@ -14,6 +14,8 @@ An event you created through the ingestion API. | `customer` | [Nullable[models.Customer]](../models/customer.md) | :heavy_check_mark: | The customer associated with the event. | | | `external_customer_id` | *Nullable[str]* | :heavy_check_mark: | ID of the customer in your system associated with the event. | | | `child_count` | *Optional[int]* | :heavy_minus_sign: | Number of direct child events linked to this event. | | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the parent event. | | +| `label` | *str* | :heavy_check_mark: | Human readable label of the event type. | | | `name` | *str* | :heavy_check_mark: | The name of the event. | | | `source` | *Literal["user"]* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | | | `metadata` | Dict[str, [models.EventMetadataOutput](../models/eventmetadataoutput.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/walletsgetrequest.md b/docs/models/walletsgetrequest.md deleted file mode 100644 index 9818d969..00000000 --- a/docs/models/walletsgetrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# WalletsGetRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | The wallet ID. | \ No newline at end of file diff --git a/docs/models/walletsortproperty.md b/docs/models/walletsortproperty.md deleted file mode 100644 index f8fe729c..00000000 --- a/docs/models/walletsortproperty.md +++ /dev/null @@ -1,11 +0,0 @@ -# WalletSortProperty - - -## Values - -| Name | Value | -| ------------------ | ------------------ | -| `CREATED_AT` | created_at | -| `MINUS_CREATED_AT` | -created_at | -| `BALANCE` | balance | -| `MINUS_BALANCE` | -balance | \ No newline at end of file diff --git a/docs/models/walletstopuprequest.md b/docs/models/walletstopuprequest.md deleted file mode 100644 index 752ca14d..00000000 --- a/docs/models/walletstopuprequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# WalletsTopUpRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The wallet ID. | -| `wallet_top_up_create` | [models.WalletTopUpCreate](../models/wallettopupcreate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/wallettopupcreate.md b/docs/models/wallettopupcreate.md deleted file mode 100644 index 688bbb1f..00000000 --- a/docs/models/wallettopupcreate.md +++ /dev/null @@ -1,11 +0,0 @@ -# WalletTopUpCreate - -Request schema to top-up a wallet. - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `amount` | *int* | :heavy_check_mark: | The amount to top-up the wallet by, in cents. | 2000 | -| `currency` | *str* | :heavy_check_mark: | The currency. Currently, only `usd` is supported. It should match the wallet's currency. | | \ No newline at end of file diff --git a/docs/models/webhookevent.md b/docs/models/webhookevent.md index 520f5451..537875ef 100644 --- a/docs/models/webhookevent.md +++ b/docs/models/webhookevent.md @@ -18,6 +18,7 @@ each one creating a new delivery. | `id` | *str* | :heavy_check_mark: | The ID of the object. | | `last_http_code` | *OptionalNullable[int]* | :heavy_minus_sign: | Last HTTP code returned by the URL. `null` if no delviery has been attempted or if the endpoint was unreachable. | | `succeeded` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether this event was successfully delivered. `null` if no delivery has been attempted. | +| `skipped` | *bool* | :heavy_check_mark: | Whether this event was skipped because the webhook endpoint was disabled. | | `payload` | *Nullable[str]* | :heavy_check_mark: | The payload of the webhook event. | | `type` | [models.WebhookEventType](../models/webhookeventtype.md) | :heavy_check_mark: | N/A | | `is_archived` | *bool* | :heavy_check_mark: | Whether this event is archived. Archived events can't be redelivered, and the payload is not accessible anymore. | \ No newline at end of file diff --git a/docs/models/webhookordercreatedpayload.md b/docs/models/webhookordercreatedpayload.md index 86eee8b6..40a4a01e 100644 --- a/docs/models/webhookordercreatedpayload.md +++ b/docs/models/webhookordercreatedpayload.md @@ -9,7 +9,8 @@ A new order is created when: * A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`. * A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`. -The order might not be paid yet, so the `status` field might be `pending`. +> [!WARNING] +> The order might not be paid yet, so the `status` field might be `pending`. **Discord & Slack support:** Full diff --git a/docs/sdks/checkouts/README.md b/docs/sdks/checkouts/README.md index 03543a82..631bee23 100644 --- a/docs/sdks/checkouts/README.md +++ b/docs/sdks/checkouts/README.md @@ -209,6 +209,7 @@ with Polar( | models.AlreadyActiveSubscriptionError | 403 | application/json | | models.NotOpenCheckout | 403 | application/json | | models.PaymentNotReady | 403 | application/json | +| models.TrialAlreadyRedeemed | 403 | application/json | | models.ResourceNotFound | 404 | application/json | | models.HTTPValidationError | 422 | application/json | | models.SDKError | 4XX, 5XX | \*/\* | @@ -269,6 +270,7 @@ with Polar() as polar: res = polar.checkouts.client_update(client_secret="", checkout_update_public={ "customer_name": "John Doe", "customer_billing_address": None, + "allow_trial": False, }) # Handle response @@ -295,6 +297,7 @@ with Polar() as polar: | models.AlreadyActiveSubscriptionError | 403 | application/json | | models.NotOpenCheckout | 403 | application/json | | models.PaymentNotReady | 403 | application/json | +| models.TrialAlreadyRedeemed | 403 | application/json | | models.ResourceNotFound | 404 | application/json | | models.ExpiredCheckoutError | 410 | application/json | | models.HTTPValidationError | 422 | application/json | @@ -323,6 +326,7 @@ with Polar( "customer_billing_address": { "country": polar_sdk.CountryAlpha2Input.US, }, + "allow_trial": False, }) # Handle response @@ -350,6 +354,7 @@ with Polar( | models.AlreadyActiveSubscriptionError | 403 | application/json | | models.NotOpenCheckout | 403 | application/json | | models.PaymentNotReady | 403 | application/json | +| models.TrialAlreadyRedeemed | 403 | application/json | | models.ResourceNotFound | 404 | application/json | | models.ExpiredCheckoutError | 410 | application/json | | models.HTTPValidationError | 422 | application/json | diff --git a/docs/sdks/customers/README.md b/docs/sdks/customers/README.md index e0c2329c..31aa4d1a 100644 --- a/docs/sdks/customers/README.md +++ b/docs/sdks/customers/README.md @@ -16,7 +16,6 @@ * [delete_external](#delete_external) - Delete Customer by External ID * [get_state](#get_state) - Get Customer State * [get_state_external](#get_state_external) - Get Customer State by External ID -* [get_balance](#get_balance) - Get Customer Balance ## list @@ -35,7 +34,7 @@ with Polar( access_token="", ) as polar: - res = polar.customers.list(organization_id="1dbfc517-0bbf-4301-9ba8-555ca42b9737", page=1, limit=10) + res = polar.customers.list(organization_id="1dbfc517-0bbf-4301-9ba8-555ca42b9737", include_members=False, page=1, limit=10) while res is not None: # Handle items @@ -51,6 +50,7 @@ with Polar( | `organization_id` | [OptionalNullable[models.CustomersListQueryParamOrganizationIDFilter]](../../models/customerslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | | `email` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by exact email. | | `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by name, email, or external ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.CustomerSortProperty](../../models/customersortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | @@ -86,7 +86,7 @@ with Polar( access_token="", ) as polar: - res = polar.customers.create(request={ + res = polar.customers.create(customer_create={ "external_id": "usr_1337", "email": "customer@example.com", "name": "John Doe", @@ -98,7 +98,12 @@ with Polar( "us_ein", ], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", - }) + "owner": { + "email": "member@example.com", + "name": "Jane Doe", + "external_id": "usr_1337", + }, + }, include_members=False) # Handle response print(res) @@ -109,12 +114,13 @@ with Polar( | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `request` | [models.CustomerCreate](../../models/customercreate.md) | :heavy_check_mark: | The request object to use for the request. | +| `customer_create` | [models.CustomerCreate](../../models/customercreate.md) | :heavy_check_mark: | N/A | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Customer](../../models/customer.md)** +**[models.CustomerWithMembers](../../models/customerwithmembers.md)** ### Errors @@ -182,7 +188,7 @@ with Polar( access_token="", ) as polar: - res = polar.customers.get(id="") + res = polar.customers.get(id="", include_members=False) # Handle response print(res) @@ -194,11 +200,12 @@ with Polar( | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `id` | *str* | :heavy_check_mark: | The customer ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Customer](../../models/customer.md)** +**[models.CustomerWithMembers](../../models/customerwithmembers.md)** ### Errors @@ -237,7 +244,7 @@ with Polar( "us_ein", ], "external_id": "usr_1337", - }) + }, include_members=False) # Handle response print(res) @@ -250,11 +257,12 @@ with Polar( | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `id` | *str* | :heavy_check_mark: | The customer ID. | | `customer_update` | [models.CustomerUpdate](../../models/customerupdate.md) | :heavy_check_mark: | N/A | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Customer](../../models/customer.md)** +**[models.CustomerWithMembers](../../models/customerwithmembers.md)** ### Errors @@ -331,7 +339,7 @@ with Polar( access_token="", ) as polar: - res = polar.customers.get_external(external_id="") + res = polar.customers.get_external(external_id="", include_members=False) # Handle response print(res) @@ -343,11 +351,12 @@ with Polar( | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `external_id` | *str* | :heavy_check_mark: | The customer external ID. | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Customer](../../models/customer.md)** +**[models.CustomerWithMembers](../../models/customerwithmembers.md)** ### Errors @@ -382,7 +391,7 @@ with Polar( "911144442", "us_ein", ], - }) + }, include_members=False) # Handle response print(res) @@ -395,11 +404,12 @@ with Polar( | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | | `external_id` | *str* | :heavy_check_mark: | The customer external ID. | | `customer_update_external_id` | [models.CustomerUpdateExternalID](../../models/customerupdateexternalid.md) | :heavy_check_mark: | N/A | +| `include_members` | *Optional[bool]* | :heavy_minus_sign: | Include members in the response. Only populated when set to true. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Customer](../../models/customer.md)** +**[models.CustomerWithMembers](../../models/customerwithmembers.md)** ### Errors @@ -541,49 +551,6 @@ with Polar( ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models.ResourceNotFound | 404 | application/json | -| models.HTTPValidationError | 422 | application/json | -| models.SDKError | 4XX, 5XX | \*/\* | - -## get_balance - -Get customer balance information. - -**Scopes**: `customers:read` `customers:write` - -### Example Usage - - -```python -from polar_sdk import Polar - - -with Polar( - access_token="", -) as polar: - - res = polar.customers.get_balance(id="") - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The customer ID. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.CustomerBalance](../../models/customerbalance.md)** - -### Errors - | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | models.ResourceNotFound | 404 | application/json | diff --git a/docs/sdks/events/README.md b/docs/sdks/events/README.md index e6296c66..c18d7fe7 100644 --- a/docs/sdks/events/README.md +++ b/docs/sdks/events/README.md @@ -50,7 +50,8 @@ with Polar( | `name` | [OptionalNullable[models.NameFilter]](../../models/namefilter.md) | :heavy_minus_sign: | Filter by event name. | | `source` | [OptionalNullable[models.SourceFilter]](../../models/sourcefilter.md) | :heavy_minus_sign: | Filter by event source. | | `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Query to filter events. | -| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter events by parent event ID. When not specified, returns root events only. | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | When combined with depth, use this event as the anchor instead of root events. | +| `depth` | *OptionalNullable[int]* | :heavy_minus_sign: | Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.EventSortProperty](../../models/eventsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | diff --git a/docs/sdks/eventtypes/README.md b/docs/sdks/eventtypes/README.md new file mode 100644 index 00000000..37040fc3 --- /dev/null +++ b/docs/sdks/eventtypes/README.md @@ -0,0 +1,105 @@ +# EventTypes +(*event_types*) + +## Overview + +### Available Operations + +* [list](#list) - List Event Types +* [update](#update) - Update Event Type + +## list + +List event types with aggregated statistics. + +**Scopes**: `events:read` `events:write` + +### Example Usage + + +```python +from polar_sdk import Polar + + +with Polar( + access_token="", +) as polar: + + res = polar.event_types.list(organization_id="1dbfc517-0bbf-4301-9ba8-555ca42b9737", root_events=False, page=1, limit=10) + + while res is not None: + # Handle items + + res = res.next() + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `organization_id` | [OptionalNullable[models.EventTypesListQueryParamOrganizationIDFilter]](../../models/eventtypeslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | +| `customer_id` | [OptionalNullable[models.EventTypesListQueryParamCustomerIDFilter]](../../models/eventtypeslistqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `external_customer_id` | [OptionalNullable[models.EventTypesListQueryParamExternalCustomerIDFilter]](../../models/eventtypeslistqueryparamexternalcustomeridfilter.md) | :heavy_minus_sign: | Filter by external customer ID. | +| `query` | *OptionalNullable[str]* | :heavy_minus_sign: | Query to filter event types by name or label. | +| `root_events` | *Optional[bool]* | :heavy_minus_sign: | When true, only return event types with root events (parent_id IS NULL). | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by specific parent event ID. | +| `source` | [OptionalNullable[models.EventSource]](../../models/eventsource.md) | :heavy_minus_sign: | Filter by event source (system or user). | +| `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | +| `sorting` | List[[models.EventTypesSortProperty](../../models/eventtypessortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.EventTypesListResponse](../../models/eventtypeslistresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| models.HTTPValidationError | 422 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## update + +Update an event type's label. + +### Example Usage + + +```python +from polar_sdk import Polar + + +with Polar( + access_token="", +) as polar: + + res = polar.event_types.update(id="", event_type_update={ + "label": "", + }) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The event type ID. | +| `event_type_update` | [models.EventTypeUpdate](../../models/eventtypeupdate.md) | :heavy_check_mark: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.EventType](../../models/eventtype.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| models.HTTPValidationError | 422 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/polarwallets/README.md b/docs/sdks/members/README.md similarity index 53% rename from docs/sdks/polarwallets/README.md rename to docs/sdks/members/README.md index 8ceb2ef5..b966de9c 100644 --- a/docs/sdks/polarwallets/README.md +++ b/docs/sdks/members/README.md @@ -1,32 +1,30 @@ -# PolarWallets -(*customer_portal.wallets*) +# Members +(*members*) ## Overview ### Available Operations -* [list](#list) - List Wallets -* [get](#get) - Get Wallet +* [list_members](#list_members) - List Members -## list +## list_members -List wallets of the authenticated customer. +List members with optional customer ID filter. -**Scopes**: `customer_portal:read` `customer_portal:write` +**Scopes**: `members:read` `members:write` ### Example Usage - + ```python -import polar_sdk from polar_sdk import Polar -with Polar() as polar: +with Polar( + access_token="", +) as polar: - res = polar.customer_portal.wallets.list(security=polar_sdk.CustomerPortalWalletsListSecurity( - customer_session="", - ), page=1, limit=10) + res = polar.members.list_members(page=1, limit=10) while res is not None: # Handle items @@ -39,64 +37,19 @@ with Polar() as polar: | Parameter | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `security` | [models.CustomerPortalWalletsListSecurity](../../models/customerportalwalletslistsecurity.md) | :heavy_check_mark: | N/A | +| `customer_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter by customer ID. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | -| `sorting` | List[[models.CustomerWalletSortProperty](../../models/customerwalletsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | +| `sorting` | List[[models.MemberSortProperty](../../models/membersortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.CustomerPortalWalletsListResponse](../../models/customerportalwalletslistresponse.md)** +**[models.MembersListMembersResponse](../../models/memberslistmembersresponse.md)** ### Errors | Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | models.HTTPValidationError | 422 | application/json | -| models.SDKError | 4XX, 5XX | \*/\* | - -## get - -Get a wallet by ID for the authenticated customer. - -**Scopes**: `customer_portal:read` `customer_portal:write` - -### Example Usage - - -```python -import polar_sdk -from polar_sdk import Polar - - -with Polar() as polar: - - res = polar.customer_portal.wallets.get(security=polar_sdk.CustomerPortalWalletsGetSecurity( - customer_session="", - ), id="") - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `security` | [models.CustomerPortalWalletsGetSecurity](../../models/customerportalwalletsgetsecurity.md) | :heavy_check_mark: | N/A | -| `id` | *str* | :heavy_check_mark: | The wallet ID. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.CustomerWallet](../../models/customerwallet.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models.ResourceNotFound | 404 | application/json | -| models.HTTPValidationError | 422 | application/json | | models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/metricssdk/README.md b/docs/sdks/metricssdk/README.md index cbec364b..4a491b00 100644 --- a/docs/sdks/metricssdk/README.md +++ b/docs/sdks/metricssdk/README.md @@ -38,17 +38,18 @@ with Polar( ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | Start date. | -| `end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | End date. | -| `interval` | [models.TimeInterval](../../models/timeinterval.md) | :heavy_check_mark: | Interval between two timestamps. | -| `timezone` | *Optional[str]* | :heavy_minus_sign: | Timezone to use for the timestamps. Default is UTC. | -| `organization_id` | [OptionalNullable[models.MetricsGetQueryParamOrganizationIDFilter]](../../models/metricsgetqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | -| `product_id` | [OptionalNullable[models.MetricsGetQueryParamProductIDFilter]](../../models/metricsgetqueryparamproductidfilter.md) | :heavy_minus_sign: | Filter by product ID. | -| `billing_type` | [OptionalNullable[models.QueryParamProductBillingTypeFilter]](../../models/queryparamproductbillingtypefilter.md) | :heavy_minus_sign: | Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. | -| `customer_id` | [OptionalNullable[models.MetricsGetQueryParamCustomerIDFilter]](../../models/metricsgetqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | Start date. | +| `end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | End date. | +| `interval` | [models.TimeInterval](../../models/timeinterval.md) | :heavy_check_mark: | Interval between two timestamps. | +| `timezone` | *Optional[str]* | :heavy_minus_sign: | Timezone to use for the timestamps. Default is UTC. | +| `organization_id` | [OptionalNullable[models.MetricsGetQueryParamOrganizationIDFilter]](../../models/metricsgetqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | +| `product_id` | [OptionalNullable[models.MetricsGetQueryParamProductIDFilter]](../../models/metricsgetqueryparamproductidfilter.md) | :heavy_minus_sign: | Filter by product ID. | +| `billing_type` | [OptionalNullable[models.QueryParamProductBillingTypeFilter]](../../models/queryparamproductbillingtypefilter.md) | :heavy_minus_sign: | Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. | +| `customer_id` | [OptionalNullable[models.MetricsGetQueryParamCustomerIDFilter]](../../models/metricsgetqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `metrics` | List[*str*] | :heavy_minus_sign: | List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/polarorganizations/README.md b/docs/sdks/polarorganizations/README.md index 18a1c15b..4f0b644c 100644 --- a/docs/sdks/polarorganizations/README.md +++ b/docs/sdks/polarorganizations/README.md @@ -36,7 +36,7 @@ with Polar() as polar: ### Response -**[models.CustomerOrganization](../../models/customerorganization.md)** +**[models.CustomerOrganizationData](../../models/customerorganizationdata.md)** ### Errors diff --git a/docs/sdks/subscriptions/README.md b/docs/sdks/subscriptions/README.md index 60925021..1dfacd42 100644 --- a/docs/sdks/subscriptions/README.md +++ b/docs/sdks/subscriptions/README.md @@ -48,6 +48,7 @@ with Polar( | `external_customer_id` | [OptionalNullable[models.ExternalCustomerIDFilter]](../../models/externalcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer external ID. | | `discount_id` | [OptionalNullable[models.DiscountIDFilter]](../../models/discountidfilter.md) | :heavy_minus_sign: | Filter by discount ID. | | `active` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter by active or inactive subscription. | +| `cancel_at_period_end` | *OptionalNullable[bool]* | :heavy_minus_sign: | Filter by subscriptions that are set to cancel at period end. | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | | `sorting` | List[[models.SubscriptionSortProperty](../../models/subscriptionsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | diff --git a/docs/sdks/wallets/README.md b/docs/sdks/wallets/README.md index df68042e..7c0f57aa 100644 --- a/docs/sdks/wallets/README.md +++ b/docs/sdks/wallets/README.md @@ -1,5 +1,5 @@ # Wallets -(*wallets*) +(*customer_portal.wallets*) ## Overview @@ -7,26 +7,26 @@ * [list](#list) - List Wallets * [get](#get) - Get Wallet -* [top_up](#top_up) - Top-Up Wallet ## list -List wallets. +List wallets of the authenticated customer. -**Scopes**: `wallets:read` +**Scopes**: `customer_portal:read` `customer_portal:write` ### Example Usage - + ```python +import polar_sdk from polar_sdk import Polar -with Polar( - access_token="", -) as polar: +with Polar() as polar: - res = polar.wallets.list(organization_id="1dbfc517-0bbf-4301-9ba8-555ca42b9737", page=1, limit=10) + res = polar.customer_portal.wallets.list(security=polar_sdk.CustomerPortalWalletsListSecurity( + customer_session="", + ), page=1, limit=10) while res is not None: # Handle items @@ -39,16 +39,15 @@ with Polar( | Parameter | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `organization_id` | [OptionalNullable[models.WalletsListQueryParamOrganizationIDFilter]](../../models/walletslistqueryparamorganizationidfilter.md) | :heavy_minus_sign: | Filter by organization ID. | -| `customer_id` | [OptionalNullable[models.WalletsListQueryParamCustomerIDFilter]](../../models/walletslistqueryparamcustomeridfilter.md) | :heavy_minus_sign: | Filter by customer ID. | +| `security` | [models.CustomerPortalWalletsListSecurity](../../models/customerportalwalletslistsecurity.md) | :heavy_check_mark: | N/A | | `page` | *Optional[int]* | :heavy_minus_sign: | Page number, defaults to 1. | | `limit` | *Optional[int]* | :heavy_minus_sign: | Size of a page, defaults to 10. Maximum is 100. | -| `sorting` | List[[models.WalletSortProperty](../../models/walletsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | +| `sorting` | List[[models.CustomerWalletSortProperty](../../models/customerwalletsortproperty.md)] | :heavy_minus_sign: | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.WalletsListResponse](../../models/walletslistresponse.md)** +**[models.CustomerPortalWalletsListResponse](../../models/customerportalwalletslistresponse.md)** ### Errors @@ -59,22 +58,23 @@ with Polar( ## get -Get a wallet by ID. +Get a wallet by ID for the authenticated customer. -**Scopes**: `wallets:read` +**Scopes**: `customer_portal:read` `customer_portal:write` ### Example Usage - + ```python +import polar_sdk from polar_sdk import Polar -with Polar( - access_token="", -) as polar: +with Polar() as polar: - res = polar.wallets.get(id="") + res = polar.customer_portal.wallets.get(security=polar_sdk.CustomerPortalWalletsGetSecurity( + customer_session="", + ), id="") # Handle response print(res) @@ -83,14 +83,15 @@ with Polar( ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The wallet ID. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `security` | [models.CustomerPortalWalletsGetSecurity](../../models/customerportalwalletsgetsecurity.md) | :heavy_check_mark: | N/A | +| `id` | *str* | :heavy_check_mark: | The wallet ID. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response -**[models.Wallet](../../models/wallet.md)** +**[models.CustomerWallet](../../models/customerwallet.md)** ### Errors @@ -98,57 +99,4 @@ with Polar( | -------------------------- | -------------------------- | -------------------------- | | models.ResourceNotFound | 404 | application/json | | models.HTTPValidationError | 422 | application/json | -| models.SDKError | 4XX, 5XX | \*/\* | - -## top_up - -Top-up a wallet by adding funds to its balance. - -The customer should have a valid payment method on file. - -**Scopes**: `wallets:write` - -### Example Usage - - -```python -from polar_sdk import Polar - - -with Polar( - access_token="", -) as polar: - - res = polar.wallets.top_up(id="", wallet_top_up_create={ - "amount": 2000, - "currency": "Venezuelan bolívar", - }) - - assert res is not None - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | The wallet ID. | -| `wallet_top_up_create` | [models.WalletTopUpCreate](../../models/wallettopupcreate.md) | :heavy_check_mark: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.Wallet](../../models/wallet.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------------------- | -------------------------------- | -------------------------------- | -| models.PaymentIntentFailedError | 400 | application/json | -| models.MissingPaymentMethodError | 402 | application/json | -| models.ResourceNotFound | 404 | application/json | -| models.HTTPValidationError | 422 | application/json | -| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index e8267c4d..37dd9da4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "annotated-types" diff --git a/pyproject.toml b/pyproject.toml index 0ec5c6dd..7564d5bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "polar-sdk" -version = "0.28.0" +version = "0.29.1" description = "Polar SDK for Python" authors = [{ name = "Polar" },] readme = "README-PYPI.md" diff --git a/src/polar_sdk/_version.py b/src/polar_sdk/_version.py index 848829e4..cd0a0594 100644 --- a/src/polar_sdk/_version.py +++ b/src/polar_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "polar-sdk" -__version__: str = "0.28.0" +__version__: str = "0.29.1" __openapi_doc_version__: str = "0.1.0" __gen_version__: str = "2.737.0" -__user_agent__: str = "speakeasy-sdk/python 0.28.0 2.737.0 0.1.0 polar-sdk" +__user_agent__: str = "speakeasy-sdk/python 0.29.1 2.737.0 0.1.0 polar-sdk" try: if __package__ is not None: diff --git a/src/polar_sdk/customer_portal.py b/src/polar_sdk/customer_portal.py index a09326b1..6ad4215c 100644 --- a/src/polar_sdk/customer_portal.py +++ b/src/polar_sdk/customer_portal.py @@ -11,8 +11,8 @@ from polar_sdk.polar_orders import PolarOrders from polar_sdk.polar_organizations import PolarOrganizations from polar_sdk.polar_subscriptions import PolarSubscriptions -from polar_sdk.polar_wallets import PolarWallets from polar_sdk.seats import Seats +from polar_sdk.wallets import Wallets from typing import Optional @@ -27,7 +27,7 @@ class CustomerPortal(BaseSDK): orders: PolarOrders organizations: PolarOrganizations subscriptions: PolarSubscriptions - wallets: PolarWallets + wallets: Wallets def __init__( self, sdk_config: SDKConfiguration, parent_ref: Optional[object] = None @@ -63,4 +63,4 @@ def _init_sdks(self): self.subscriptions = PolarSubscriptions( self.sdk_configuration, parent_ref=self.parent_ref ) - self.wallets = PolarWallets(self.sdk_configuration, parent_ref=self.parent_ref) + self.wallets = Wallets(self.sdk_configuration, parent_ref=self.parent_ref) diff --git a/src/polar_sdk/customers.py b/src/polar_sdk/customers.py index 45b73c25..48a92185 100644 --- a/src/polar_sdk/customers.py +++ b/src/polar_sdk/customers.py @@ -4,9 +4,9 @@ from jsonpath import JSONPath from polar_sdk import models, utils from polar_sdk._hooks import HookContext -from polar_sdk.types import BaseModel, OptionalNullable, UNSET +from polar_sdk.types import OptionalNullable, UNSET from polar_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Dict, List, Mapping, Optional, Union, cast +from typing import Any, Dict, List, Mapping, Optional, Union class Customers(BaseSDK): @@ -21,6 +21,7 @@ def list( ] = UNSET, email: OptionalNullable[str] = UNSET, query: OptionalNullable[str] = UNSET, + include_members: Optional[bool] = False, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.CustomerSortProperty]] = UNSET, @@ -44,6 +45,7 @@ def list( :param organization_id: Filter by organization ID. :param email: Filter by exact email. :param query: Filter by name, email, or external ID. + :param include_members: Include members in the response. Only populated when set to true. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -67,6 +69,7 @@ def list( organization_id=organization_id, email=email, query=query, + include_members=include_members, page=page, limit=limit, sorting=sorting, @@ -132,6 +135,7 @@ def next_func() -> Optional[models.CustomersListResponse]: organization_id=organization_id, email=email, query=query, + include_members=include_members, page=next_page, limit=limit, sorting=sorting, @@ -142,7 +146,9 @@ def next_func() -> Optional[models.CustomersListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return models.CustomersListResponse( - result=unmarshal_json_response(models.ListResourceCustomer, http_res), + result=unmarshal_json_response( + models.ListResourceCustomerWithMembers, http_res + ), next=next_func, ) if utils.match_response(http_res, "422", "application/json"): @@ -170,6 +176,7 @@ async def list_async( ] = UNSET, email: OptionalNullable[str] = UNSET, query: OptionalNullable[str] = UNSET, + include_members: Optional[bool] = False, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.CustomerSortProperty]] = UNSET, @@ -193,6 +200,7 @@ async def list_async( :param organization_id: Filter by organization ID. :param email: Filter by exact email. :param query: Filter by name, email, or external ID. + :param include_members: Include members in the response. Only populated when set to true. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -216,6 +224,7 @@ async def list_async( organization_id=organization_id, email=email, query=query, + include_members=include_members, page=page, limit=limit, sorting=sorting, @@ -281,6 +290,7 @@ def next_func() -> Optional[models.CustomersListResponse]: organization_id=organization_id, email=email, query=query, + include_members=include_members, page=next_page, limit=limit, sorting=sorting, @@ -291,7 +301,9 @@ def next_func() -> Optional[models.CustomersListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): return models.CustomersListResponse( - result=unmarshal_json_response(models.ListResourceCustomer, http_res), + result=unmarshal_json_response( + models.ListResourceCustomerWithMembers, http_res + ), next=next_func, ) if utils.match_response(http_res, "422", "application/json"): @@ -311,19 +323,21 @@ def next_func() -> Optional[models.CustomersListResponse]: def create( self, *, - request: Union[models.CustomerCreate, models.CustomerCreateTypedDict], + customer_create: Union[models.CustomerCreate, models.CustomerCreateTypedDict], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Create Customer Create a customer. **Scopes**: `customers:write` - :param request: The request object to send. + :param customer_create: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -339,9 +353,12 @@ def create( else: base_url = self._get_url(base_url, url_variables) - if not isinstance(request, BaseModel): - request = utils.unmarshal(request, models.CustomerCreate) - request = cast(models.CustomerCreate, request) + request = models.CustomersCreateRequest( + include_members=include_members, + customer_create=utils.get_pydantic_model( + customer_create, models.CustomerCreate + ), + ) req = self._build_request( method="POST", @@ -357,7 +374,7 @@ def create( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CustomerCreate + request.customer_create, False, False, "json", models.CustomerCreate ), timeout_ms=timeout_ms, ) @@ -385,7 +402,7 @@ def create( response_data: Any = None if utils.match_response(http_res, "201", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "422", "application/json"): response_data = unmarshal_json_response( models.HTTPValidationErrorData, http_res @@ -403,19 +420,21 @@ def create( async def create_async( self, *, - request: Union[models.CustomerCreate, models.CustomerCreateTypedDict], + customer_create: Union[models.CustomerCreate, models.CustomerCreateTypedDict], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Create Customer Create a customer. **Scopes**: `customers:write` - :param request: The request object to send. + :param customer_create: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -431,9 +450,12 @@ async def create_async( else: base_url = self._get_url(base_url, url_variables) - if not isinstance(request, BaseModel): - request = utils.unmarshal(request, models.CustomerCreate) - request = cast(models.CustomerCreate, request) + request = models.CustomersCreateRequest( + include_members=include_members, + customer_create=utils.get_pydantic_model( + customer_create, models.CustomerCreate + ), + ) req = self._build_request_async( method="POST", @@ -449,7 +471,7 @@ async def create_async( http_headers=http_headers, security=self.sdk_configuration.security, get_serialized_body=lambda: utils.serialize_request_body( - request, False, False, "json", models.CustomerCreate + request.customer_create, False, False, "json", models.CustomerCreate ), timeout_ms=timeout_ms, ) @@ -477,7 +499,7 @@ async def create_async( response_data: Any = None if utils.match_response(http_res, "201", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "422", "application/json"): response_data = unmarshal_json_response( models.HTTPValidationErrorData, http_res @@ -684,11 +706,12 @@ def get( self, *, id: str, + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Get Customer Get a customer by ID. @@ -696,6 +719,7 @@ def get( **Scopes**: `customers:read` `customers:write` :param id: The customer ID. + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -713,6 +737,7 @@ def get( request = models.CustomersGetRequest( id=id, + include_members=include_members, ) req = self._build_request( @@ -754,7 +779,7 @@ def get( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -778,11 +803,12 @@ async def get_async( self, *, id: str, + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Get Customer Get a customer by ID. @@ -790,6 +816,7 @@ async def get_async( **Scopes**: `customers:read` `customers:write` :param id: The customer ID. + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -807,6 +834,7 @@ async def get_async( request = models.CustomersGetRequest( id=id, + include_members=include_members, ) req = self._build_request_async( @@ -848,7 +876,7 @@ async def get_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -873,11 +901,12 @@ def update( *, id: str, customer_update: Union[models.CustomerUpdate, models.CustomerUpdateTypedDict], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Update Customer Update a customer. @@ -886,6 +915,7 @@ def update( :param id: The customer ID. :param customer_update: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -903,6 +933,7 @@ def update( request = models.CustomersUpdateRequest( id=id, + include_members=include_members, customer_update=utils.get_pydantic_model( customer_update, models.CustomerUpdate ), @@ -950,7 +981,7 @@ def update( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -975,11 +1006,12 @@ async def update_async( *, id: str, customer_update: Union[models.CustomerUpdate, models.CustomerUpdateTypedDict], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Update Customer Update a customer. @@ -988,6 +1020,7 @@ async def update_async( :param id: The customer ID. :param customer_update: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1005,6 +1038,7 @@ async def update_async( request = models.CustomersUpdateRequest( id=id, + include_members=include_members, customer_update=utils.get_pydantic_model( customer_update, models.CustomerUpdate ), @@ -1052,7 +1086,7 @@ async def update_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -1288,11 +1322,12 @@ def get_external( self, *, external_id: str, + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Get Customer by External ID Get a customer by external ID. @@ -1300,6 +1335,7 @@ def get_external( **Scopes**: `customers:read` `customers:write` :param external_id: The customer external ID. + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1317,6 +1353,7 @@ def get_external( request = models.CustomersGetExternalRequest( external_id=external_id, + include_members=include_members, ) req = self._build_request( @@ -1358,7 +1395,7 @@ def get_external( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -1382,11 +1419,12 @@ async def get_external_async( self, *, external_id: str, + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Get Customer by External ID Get a customer by external ID. @@ -1394,6 +1432,7 @@ async def get_external_async( **Scopes**: `customers:read` `customers:write` :param external_id: The customer external ID. + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1411,6 +1450,7 @@ async def get_external_async( request = models.CustomersGetExternalRequest( external_id=external_id, + include_members=include_members, ) req = self._build_request_async( @@ -1452,7 +1492,7 @@ async def get_external_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -1479,11 +1519,12 @@ def update_external( customer_update_external_id: Union[ models.CustomerUpdateExternalID, models.CustomerUpdateExternalIDTypedDict ], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Update Customer by External ID Update a customer by external ID. @@ -1492,6 +1533,7 @@ def update_external( :param external_id: The customer external ID. :param customer_update_external_id: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1509,6 +1551,7 @@ def update_external( request = models.CustomersUpdateExternalRequest( external_id=external_id, + include_members=include_members, customer_update_external_id=utils.get_pydantic_model( customer_update_external_id, models.CustomerUpdateExternalID ), @@ -1560,7 +1603,7 @@ def update_external( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -1587,11 +1630,12 @@ async def update_external_async( customer_update_external_id: Union[ models.CustomerUpdateExternalID, models.CustomerUpdateExternalIDTypedDict ], + include_members: Optional[bool] = False, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Customer: + ) -> models.CustomerWithMembers: r"""Update Customer by External ID Update a customer by external ID. @@ -1600,6 +1644,7 @@ async def update_external_async( :param external_id: The customer external ID. :param customer_update_external_id: + :param include_members: Include members in the response. Only populated when set to true. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1617,6 +1662,7 @@ async def update_external_async( request = models.CustomersUpdateExternalRequest( external_id=external_id, + include_members=include_members, customer_update_external_id=utils.get_pydantic_model( customer_update_external_id, models.CustomerUpdateExternalID ), @@ -1668,7 +1714,7 @@ async def update_external_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Customer, http_res) + return unmarshal_json_response(models.CustomerWithMembers, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -2279,191 +2325,3 @@ async def get_state_external_async( raise models.SDKError("API error occurred", http_res, http_res_text) raise models.SDKError("Unexpected response received", http_res) - - def get_balance( - self, - *, - id: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerBalance: - r"""Get Customer Balance - - Get customer balance information. - - **Scopes**: `customers:read` `customers:write` - - :param id: The customer ID. - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.CustomersGetBalanceRequest( - id=id, - ) - - req = self._build_request( - method="GET", - path="/v1/customers/{id}/balance", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="customers:get_balance", - oauth2_scopes=None, - security_source=self.sdk_configuration.security, - ), - request=req, - error_status_codes=["404", "422", "4XX", "5XX"], - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerBalance, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - models.HTTPValidationErrorData, http_res - ) - raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - - raise models.SDKError("Unexpected response received", http_res) - - async def get_balance_async( - self, - *, - id: str, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerBalance: - r"""Get Customer Balance - - Get customer balance information. - - **Scopes**: `customers:read` `customers:write` - - :param id: The customer ID. - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.CustomersGetBalanceRequest( - id=id, - ) - - req = self._build_request_async( - method="GET", - path="/v1/customers/{id}/balance", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=False, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="customers:get_balance", - oauth2_scopes=None, - security_source=self.sdk_configuration.security, - ), - request=req, - error_status_codes=["404", "422", "4XX", "5XX"], - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerBalance, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - models.HTTPValidationErrorData, http_res - ) - raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - - raise models.SDKError("Unexpected response received", http_res) diff --git a/src/polar_sdk/polar_wallets.py b/src/polar_sdk/event_types.py similarity index 66% rename from src/polar_sdk/polar_wallets.py rename to src/polar_sdk/event_types.py index d64512c6..0f22e4a1 100644 --- a/src/polar_sdk/polar_wallets.py +++ b/src/polar_sdk/event_types.py @@ -9,29 +9,53 @@ from typing import Any, Dict, List, Mapping, Optional, Union -class PolarWallets(BaseSDK): +class EventTypes(BaseSDK): def list( self, *, - security: Union[ - models.CustomerPortalWalletsListSecurity, - models.CustomerPortalWalletsListSecurityTypedDict, - ], + organization_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamOrganizationIDFilter, + models.EventTypesListQueryParamOrganizationIDFilterTypedDict, + ] + ] = UNSET, + customer_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamCustomerIDFilter, + models.EventTypesListQueryParamCustomerIDFilterTypedDict, + ] + ] = UNSET, + external_customer_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamExternalCustomerIDFilter, + models.EventTypesListQueryParamExternalCustomerIDFilterTypedDict, + ] + ] = UNSET, + query: OptionalNullable[str] = UNSET, + root_events: Optional[bool] = False, + parent_id: OptionalNullable[str] = UNSET, + source: OptionalNullable[models.EventSource] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, - sorting: OptionalNullable[List[models.CustomerWalletSortProperty]] = UNSET, + sorting: OptionalNullable[List[models.EventTypesSortProperty]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.CustomerPortalWalletsListResponse]: - r"""List Wallets + ) -> Optional[models.EventTypesListResponse]: + r"""List Event Types - List wallets of the authenticated customer. + List event types with aggregated statistics. - **Scopes**: `customer_portal:read` `customer_portal:write` + **Scopes**: `events:read` `events:write` - :param security: + :param organization_id: Filter by organization ID. + :param customer_id: Filter by customer ID. + :param external_customer_id: Filter by external customer ID. + :param query: Query to filter event types by name or label. + :param root_events: When true, only return event types with root events (parent_id IS NULL). + :param parent_id: Filter by specific parent event ID. + :param source: Filter by event source (system or user). :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -50,7 +74,14 @@ def list( else: base_url = self._get_url(base_url, url_variables) - request = models.CustomerPortalWalletsListRequest( + request = models.EventTypesListRequest( + organization_id=organization_id, + customer_id=customer_id, + external_customer_id=external_customer_id, + query=query, + root_events=root_events, + parent_id=parent_id, + source=source, page=page, limit=limit, sorting=sorting, @@ -58,7 +89,7 @@ def list( req = self._build_request( method="GET", - path="/v1/customer-portal/wallets/", + path="/v1/event-types/", base_url=base_url, url_variables=url_variables, request=request, @@ -68,9 +99,7 @@ def list( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model( - security, models.CustomerPortalWalletsListSecurity - ), + security=self.sdk_configuration.security, timeout_ms=timeout_ms, ) @@ -86,16 +115,16 @@ def list( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="customer_portal:wallets:list", + operation_id="event-types:list", oauth2_scopes=None, - security_source=security, + security_source=self.sdk_configuration.security, ), request=req, error_status_codes=["422", "4XX", "5XX"], retry_config=retry_config, ) - def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: + def next_func() -> Optional[models.EventTypesListResponse]: body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) page = request.page if not request.page is None else 1 next_page = page + 1 @@ -114,7 +143,13 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: return None return self.list( - security=security, + organization_id=organization_id, + customer_id=customer_id, + external_customer_id=external_customer_id, + query=query, + root_events=root_events, + parent_id=parent_id, + source=source, page=next_page, limit=limit, sorting=sorting, @@ -123,9 +158,9 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.CustomerPortalWalletsListResponse( + return models.EventTypesListResponse( result=unmarshal_json_response( - models.ListResourceCustomerWallet, http_res + models.ListResourceEventTypeWithStats, http_res ), next=next_func, ) @@ -146,25 +181,49 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: async def list_async( self, *, - security: Union[ - models.CustomerPortalWalletsListSecurity, - models.CustomerPortalWalletsListSecurityTypedDict, - ], + organization_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamOrganizationIDFilter, + models.EventTypesListQueryParamOrganizationIDFilterTypedDict, + ] + ] = UNSET, + customer_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamCustomerIDFilter, + models.EventTypesListQueryParamCustomerIDFilterTypedDict, + ] + ] = UNSET, + external_customer_id: OptionalNullable[ + Union[ + models.EventTypesListQueryParamExternalCustomerIDFilter, + models.EventTypesListQueryParamExternalCustomerIDFilterTypedDict, + ] + ] = UNSET, + query: OptionalNullable[str] = UNSET, + root_events: Optional[bool] = False, + parent_id: OptionalNullable[str] = UNSET, + source: OptionalNullable[models.EventSource] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, - sorting: OptionalNullable[List[models.CustomerWalletSortProperty]] = UNSET, + sorting: OptionalNullable[List[models.EventTypesSortProperty]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.CustomerPortalWalletsListResponse]: - r"""List Wallets + ) -> Optional[models.EventTypesListResponse]: + r"""List Event Types - List wallets of the authenticated customer. + List event types with aggregated statistics. - **Scopes**: `customer_portal:read` `customer_portal:write` + **Scopes**: `events:read` `events:write` - :param security: + :param organization_id: Filter by organization ID. + :param customer_id: Filter by customer ID. + :param external_customer_id: Filter by external customer ID. + :param query: Query to filter event types by name or label. + :param root_events: When true, only return event types with root events (parent_id IS NULL). + :param parent_id: Filter by specific parent event ID. + :param source: Filter by event source (system or user). :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -183,7 +242,14 @@ async def list_async( else: base_url = self._get_url(base_url, url_variables) - request = models.CustomerPortalWalletsListRequest( + request = models.EventTypesListRequest( + organization_id=organization_id, + customer_id=customer_id, + external_customer_id=external_customer_id, + query=query, + root_events=root_events, + parent_id=parent_id, + source=source, page=page, limit=limit, sorting=sorting, @@ -191,7 +257,7 @@ async def list_async( req = self._build_request_async( method="GET", - path="/v1/customer-portal/wallets/", + path="/v1/event-types/", base_url=base_url, url_variables=url_variables, request=request, @@ -201,9 +267,7 @@ async def list_async( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model( - security, models.CustomerPortalWalletsListSecurity - ), + security=self.sdk_configuration.security, timeout_ms=timeout_ms, ) @@ -219,16 +283,16 @@ async def list_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="customer_portal:wallets:list", + operation_id="event-types:list", oauth2_scopes=None, - security_source=security, + security_source=self.sdk_configuration.security, ), request=req, error_status_codes=["422", "4XX", "5XX"], retry_config=retry_config, ) - def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: + def next_func() -> Optional[models.EventTypesListResponse]: body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) page = request.page if not request.page is None else 1 next_page = page + 1 @@ -247,7 +311,13 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: return None return self.list( - security=security, + organization_id=organization_id, + customer_id=customer_id, + external_customer_id=external_customer_id, + query=query, + root_events=root_events, + parent_id=parent_id, + source=source, page=next_page, limit=limit, sorting=sorting, @@ -256,9 +326,9 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.CustomerPortalWalletsListResponse( + return models.EventTypesListResponse( result=unmarshal_json_response( - models.ListResourceCustomerWallet, http_res + models.ListResourceEventTypeWithStats, http_res ), next=next_func, ) @@ -276,27 +346,24 @@ def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: raise models.SDKError("Unexpected response received", http_res) - def get( + def update( self, *, - security: Union[ - models.CustomerPortalWalletsGetSecurity, - models.CustomerPortalWalletsGetSecurityTypedDict, - ], id: str, + event_type_update: Union[ + models.EventTypeUpdate, models.EventTypeUpdateTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerWallet: - r"""Get Wallet + ) -> models.EventType: + r"""Update Event Type - Get a wallet by ID for the authenticated customer. + Update an event type's label. - **Scopes**: `customer_portal:read` `customer_portal:write` - - :param security: - :param id: The wallet ID. + :param id: The event type ID. + :param event_type_update: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -312,24 +379,28 @@ def get( else: base_url = self._get_url(base_url, url_variables) - request = models.CustomerPortalWalletsGetRequest( + request = models.EventTypesUpdateRequest( id=id, + event_type_update=utils.get_pydantic_model( + event_type_update, models.EventTypeUpdate + ), ) req = self._build_request( - method="GET", - path="/v1/customer-portal/wallets/{id}", + method="PATCH", + path="/v1/event-types/{id}", base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model( - security, models.CustomerPortalWalletsGetSecurity + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.event_type_update, False, False, "json", models.EventTypeUpdate ), timeout_ms=timeout_ms, ) @@ -346,9 +417,9 @@ def get( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="customer_portal:wallets:get", + operation_id="event-types:update", oauth2_scopes=None, - security_source=security, + security_source=self.sdk_configuration.security, ), request=req, error_status_codes=["404", "422", "4XX", "5XX"], @@ -357,18 +428,13 @@ def get( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerWallet, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) + return unmarshal_json_response(models.EventType, http_res) if utils.match_response(http_res, "422", "application/json"): response_data = unmarshal_json_response( models.HTTPValidationErrorData, http_res ) raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): + if utils.match_response(http_res, ["404", "4XX"], "*"): http_res_text = utils.stream_to_text(http_res) raise models.SDKError("API error occurred", http_res, http_res_text) if utils.match_response(http_res, "5XX", "*"): @@ -377,27 +443,24 @@ def get( raise models.SDKError("Unexpected response received", http_res) - async def get_async( + async def update_async( self, *, - security: Union[ - models.CustomerPortalWalletsGetSecurity, - models.CustomerPortalWalletsGetSecurityTypedDict, - ], id: str, + event_type_update: Union[ + models.EventTypeUpdate, models.EventTypeUpdateTypedDict + ], retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerWallet: - r"""Get Wallet - - Get a wallet by ID for the authenticated customer. + ) -> models.EventType: + r"""Update Event Type - **Scopes**: `customer_portal:read` `customer_portal:write` + Update an event type's label. - :param security: - :param id: The wallet ID. + :param id: The event type ID. + :param event_type_update: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -413,24 +476,28 @@ async def get_async( else: base_url = self._get_url(base_url, url_variables) - request = models.CustomerPortalWalletsGetRequest( + request = models.EventTypesUpdateRequest( id=id, + event_type_update=utils.get_pydantic_model( + event_type_update, models.EventTypeUpdate + ), ) req = self._build_request_async( - method="GET", - path="/v1/customer-portal/wallets/{id}", + method="PATCH", + path="/v1/event-types/{id}", base_url=base_url, url_variables=url_variables, request=request, - request_body_required=False, + request_body_required=True, request_has_path_params=True, request_has_query_params=True, user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=utils.get_pydantic_model( - security, models.CustomerPortalWalletsGetSecurity + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.event_type_update, False, False, "json", models.EventTypeUpdate ), timeout_ms=timeout_ms, ) @@ -447,9 +514,9 @@ async def get_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="customer_portal:wallets:get", + operation_id="event-types:update", oauth2_scopes=None, - security_source=security, + security_source=self.sdk_configuration.security, ), request=req, error_status_codes=["404", "422", "4XX", "5XX"], @@ -458,18 +525,13 @@ async def get_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerWallet, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) + return unmarshal_json_response(models.EventType, http_res) if utils.match_response(http_res, "422", "application/json"): response_data = unmarshal_json_response( models.HTTPValidationErrorData, http_res ) raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): + if utils.match_response(http_res, ["404", "4XX"], "*"): http_res_text = await utils.stream_to_text_async(http_res) raise models.SDKError("API error occurred", http_res, http_res_text) if utils.match_response(http_res, "5XX", "*"): diff --git a/src/polar_sdk/events.py b/src/polar_sdk/events.py index 6a53c6ea..8dc670ae 100644 --- a/src/polar_sdk/events.py +++ b/src/polar_sdk/events.py @@ -44,6 +44,7 @@ def list( ] = UNSET, query: OptionalNullable[str] = UNSET, parent_id: OptionalNullable[str] = UNSET, + depth: OptionalNullable[int] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.EventSortProperty]] = UNSET, @@ -74,7 +75,8 @@ def list( :param name: Filter by event name. :param source: Filter by event source. :param query: Query to filter events. - :param parent_id: Filter events by parent event ID. When not specified, returns root events only. + :param parent_id: When combined with depth, use this event as the anchor instead of root events. + :param depth: Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -106,6 +108,7 @@ def list( source=source, query=query, parent_id=parent_id, + depth=depth, page=page, limit=limit, sorting=sorting, @@ -179,6 +182,7 @@ def next_func() -> Optional[models.EventsListResponse]: source=source, query=query, parent_id=parent_id, + depth=depth, page=next_page, limit=limit, sorting=sorting, @@ -239,6 +243,7 @@ async def list_async( ] = UNSET, query: OptionalNullable[str] = UNSET, parent_id: OptionalNullable[str] = UNSET, + depth: OptionalNullable[int] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.EventSortProperty]] = UNSET, @@ -269,7 +274,8 @@ async def list_async( :param name: Filter by event name. :param source: Filter by event source. :param query: Query to filter events. - :param parent_id: Filter events by parent event ID. When not specified, returns root events only. + :param parent_id: When combined with depth, use this event as the anchor instead of root events. + :param depth: Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -301,6 +307,7 @@ async def list_async( source=source, query=query, parent_id=parent_id, + depth=depth, page=page, limit=limit, sorting=sorting, @@ -374,6 +381,7 @@ def next_func() -> Optional[models.EventsListResponse]: source=source, query=query, parent_id=parent_id, + depth=depth, page=next_page, limit=limit, sorting=sorting, diff --git a/src/polar_sdk/members.py b/src/polar_sdk/members.py new file mode 100644 index 00000000..088b879c --- /dev/null +++ b/src/polar_sdk/members.py @@ -0,0 +1,265 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .basesdk import BaseSDK +from jsonpath import JSONPath +from polar_sdk import models, utils +from polar_sdk._hooks import HookContext +from polar_sdk.types import OptionalNullable, UNSET +from polar_sdk.utils.unmarshal_json_response import unmarshal_json_response +from typing import Any, Dict, List, Mapping, Optional, Union + + +class Members(BaseSDK): + def list_members( + self, + *, + customer_id: OptionalNullable[str] = UNSET, + page: Optional[int] = 1, + limit: Optional[int] = 10, + sorting: OptionalNullable[List[models.MemberSortProperty]] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> Optional[models.MembersListMembersResponse]: + r"""List Members + + List members with optional customer ID filter. + + **Scopes**: `members:read` `members:write` + + :param customer_id: Filter by customer ID. + :param page: Page number, defaults to 1. + :param limit: Size of a page, defaults to 10. Maximum is 100. + :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.MembersListMembersRequest( + customer_id=customer_id, + page=page, + limit=limit, + sorting=sorting, + ) + + req = self._build_request( + method="GET", + path="/v1/members/", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="members:list_members", + oauth2_scopes=None, + security_source=self.sdk_configuration.security, + ), + request=req, + error_status_codes=["422", "4XX", "5XX"], + retry_config=retry_config, + ) + + def next_func() -> Optional[models.MembersListMembersResponse]: + body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) + page = request.page if not request.page is None else 1 + next_page = page + 1 + + num_pages = JSONPath("$.pagination.max_page").parse(body) + if len(num_pages) == 0 or num_pages[0] <= page: + return None + + if not http_res.text: + return None + results = JSONPath("$.items").parse(body) + if len(results) == 0 or len(results[0]) == 0: + return None + limit = request.limit if not request.limit is None else 10 + if len(results[0]) < limit: + return None + + return self.list_members( + customer_id=customer_id, + page=next_page, + limit=limit, + sorting=sorting, + retries=retries, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return models.MembersListMembersResponse( + result=unmarshal_json_response(models.ListResourceMember, http_res), + next=next_func, + ) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + models.HTTPValidationErrorData, http_res + ) + raise models.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise models.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise models.SDKError("API error occurred", http_res, http_res_text) + + raise models.SDKError("Unexpected response received", http_res) + + async def list_members_async( + self, + *, + customer_id: OptionalNullable[str] = UNSET, + page: Optional[int] = 1, + limit: Optional[int] = 10, + sorting: OptionalNullable[List[models.MemberSortProperty]] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> Optional[models.MembersListMembersResponse]: + r"""List Members + + List members with optional customer ID filter. + + **Scopes**: `members:read` `members:write` + + :param customer_id: Filter by customer ID. + :param page: Page number, defaults to 1. + :param limit: Size of a page, defaults to 10. Maximum is 100. + :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.MembersListMembersRequest( + customer_id=customer_id, + page=page, + limit=limit, + sorting=sorting, + ) + + req = self._build_request_async( + method="GET", + path="/v1/members/", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=False, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="members:list_members", + oauth2_scopes=None, + security_source=self.sdk_configuration.security, + ), + request=req, + error_status_codes=["422", "4XX", "5XX"], + retry_config=retry_config, + ) + + def next_func() -> Optional[models.MembersListMembersResponse]: + body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) + page = request.page if not request.page is None else 1 + next_page = page + 1 + + num_pages = JSONPath("$.pagination.max_page").parse(body) + if len(num_pages) == 0 or num_pages[0] <= page: + return None + + if not http_res.text: + return None + results = JSONPath("$.items").parse(body) + if len(results) == 0 or len(results[0]) == 0: + return None + limit = request.limit if not request.limit is None else 10 + if len(results[0]) < limit: + return None + + return self.list_members( + customer_id=customer_id, + page=next_page, + limit=limit, + sorting=sorting, + retries=retries, + ) + + response_data: Any = None + if utils.match_response(http_res, "200", "application/json"): + return models.MembersListMembersResponse( + result=unmarshal_json_response(models.ListResourceMember, http_res), + next=next_func, + ) + if utils.match_response(http_res, "422", "application/json"): + response_data = unmarshal_json_response( + models.HTTPValidationErrorData, http_res + ) + raise models.HTTPValidationError(response_data, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise models.SDKError("API error occurred", http_res, http_res_text) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise models.SDKError("API error occurred", http_res, http_res_text) + + raise models.SDKError("Unexpected response received", http_res) diff --git a/src/polar_sdk/metrics_sdk.py b/src/polar_sdk/metrics_sdk.py index 851ae3f9..553def48 100644 --- a/src/polar_sdk/metrics_sdk.py +++ b/src/polar_sdk/metrics_sdk.py @@ -6,7 +6,7 @@ from polar_sdk._hooks import HookContext from polar_sdk.types import OptionalNullable, UNSET from polar_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Any, Mapping, Optional, Union +from typing import Any, List, Mapping, Optional, Union class MetricsSDK(BaseSDK): @@ -41,6 +41,7 @@ def get( models.MetricsGetQueryParamCustomerIDFilterTypedDict, ] ] = UNSET, + metrics: OptionalNullable[List[str]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -62,6 +63,7 @@ def get( :param product_id: Filter by product ID. :param billing_type: Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. :param customer_id: Filter by customer ID. + :param metrics: List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -86,6 +88,7 @@ def get( product_id=product_id, billing_type=billing_type, customer_id=customer_id, + metrics=metrics, ) req = self._build_request( @@ -173,6 +176,7 @@ async def get_async( models.MetricsGetQueryParamCustomerIDFilterTypedDict, ] ] = UNSET, + metrics: OptionalNullable[List[str]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -194,6 +198,7 @@ async def get_async( :param product_id: Filter by product ID. :param billing_type: Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases. :param customer_id: Filter by customer ID. + :param metrics: List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -218,6 +223,7 @@ async def get_async( product_id=product_id, billing_type=billing_type, customer_id=customer_id, + metrics=metrics, ) req = self._build_request_async( diff --git a/src/polar_sdk/models/__init__.py b/src/polar_sdk/models/__init__.py index 6e11bda5..2586b219 100644 --- a/src/polar_sdk/models/__init__.py +++ b/src/polar_sdk/models/__init__.py @@ -368,6 +368,10 @@ BenefitsUpdateRequestTypedDict, ) from .benefitsortproperty import BenefitSortProperty + from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, + ) from .benefittype import BenefitType from .benefitupdatedevent import BenefitUpdatedEvent, BenefitUpdatedEventTypedDict from .billingaddressfieldmode import BillingAddressFieldMode @@ -381,6 +385,8 @@ CheckoutDiscountTypedDict, CheckoutMetadata, CheckoutMetadataTypedDict, + CheckoutPrices, + CheckoutPricesTypedDict, CheckoutProductPrice, CheckoutProductPriceTypedDict, CheckoutTypedDict, @@ -427,6 +433,8 @@ CheckoutCreateCustomerMetadataTypedDict, CheckoutCreateMetadata, CheckoutCreateMetadataTypedDict, + CheckoutCreatePrices, + CheckoutCreatePricesTypedDict, CheckoutCreateTypedDict, ) from .checkoutdiscountfixedonceforeverduration import ( @@ -491,6 +499,10 @@ CheckoutLinkUpdateMetadataTypedDict, CheckoutLinkUpdateTypedDict, ) + from .checkoutorganization import ( + CheckoutOrganization, + CheckoutOrganizationTypedDict, + ) from .checkoutproduct import ( CheckoutProduct, CheckoutProductPrices, @@ -503,6 +515,8 @@ CheckoutPublicCustomFieldDataTypedDict, CheckoutPublicDiscount, CheckoutPublicDiscountTypedDict, + CheckoutPublicPrices, + CheckoutPublicPricesTypedDict, CheckoutPublicProductPrice, CheckoutPublicProductPriceTypedDict, CheckoutPublicTypedDict, @@ -513,6 +527,8 @@ CheckoutPublicConfirmedCustomFieldDataTypedDict, CheckoutPublicConfirmedDiscount, CheckoutPublicConfirmedDiscountTypedDict, + CheckoutPublicConfirmedPrices, + CheckoutPublicConfirmedPricesTypedDict, CheckoutPublicConfirmedProductPrice, CheckoutPublicConfirmedProductPriceTypedDict, CheckoutPublicConfirmedTypedDict, @@ -870,7 +886,6 @@ CustomerSessionsCreateCustomerSessionCreate, CustomerSessionsCreateCustomerSessionCreateTypedDict, ) - from .customerbalance import CustomerBalance, CustomerBalanceTypedDict from .customerbenefitgrant import ( CustomerBenefitGrant, CustomerBenefitGrantTypedDict, @@ -1010,6 +1025,10 @@ CustomerOrganization, CustomerOrganizationTypedDict, ) + from .customerorganizationdata import ( + CustomerOrganizationData, + CustomerOrganizationDataTypedDict, + ) from .customerpaymentmethod import ( CustomerPaymentMethod, CustomerPaymentMethodTypedDict, @@ -1054,6 +1073,10 @@ CustomerProductPricesTypedDict, CustomerProductTypedDict, ) + from .customers_createop import ( + CustomersCreateRequest, + CustomersCreateRequestTypedDict, + ) from .customers_delete_externalop import ( CustomersDeleteExternalRequest, CustomersDeleteExternalRequestTypedDict, @@ -1068,10 +1091,6 @@ CustomersExportRequest, CustomersExportRequestTypedDict, ) - from .customers_get_balanceop import ( - CustomersGetBalanceRequest, - CustomersGetBalanceRequestTypedDict, - ) from .customers_get_externalop import ( CustomersGetExternalRequest, CustomersGetExternalRequestTypedDict, @@ -1207,6 +1226,14 @@ ) from .customerwallet import CustomerWallet, CustomerWalletTypedDict from .customerwalletsortproperty import CustomerWalletSortProperty + from .customerwithmembers import ( + CustomerWithMembers, + CustomerWithMembersMetadata, + CustomerWithMembersMetadataTypedDict, + CustomerWithMembersTaxID, + CustomerWithMembersTaxIDTypedDict, + CustomerWithMembersTypedDict, + ) from .customfield import CustomField, CustomFieldTypedDict from .customfieldcheckbox import ( CustomFieldCheckbox, @@ -1442,6 +1469,22 @@ ) from .downloadableread import DownloadableRead, DownloadableReadTypedDict from .event import Event, EventTypedDict + from .event_types_listop import ( + EventTypesListQueryParamCustomerIDFilter, + EventTypesListQueryParamCustomerIDFilterTypedDict, + EventTypesListQueryParamExternalCustomerIDFilter, + EventTypesListQueryParamExternalCustomerIDFilterTypedDict, + EventTypesListQueryParamOrganizationIDFilter, + EventTypesListQueryParamOrganizationIDFilterTypedDict, + EventTypesListRequest, + EventTypesListRequestTypedDict, + EventTypesListResponse, + EventTypesListResponseTypedDict, + ) + from .event_types_updateop import ( + EventTypesUpdateRequest, + EventTypesUpdateRequestTypedDict, + ) from .eventcreatecustomer import EventCreateCustomer, EventCreateCustomerTypedDict from .eventcreateexternalcustomer import ( EventCreateExternalCustomer, @@ -1478,6 +1521,10 @@ ) from .eventsortproperty import EventSortProperty from .eventsource import EventSource + from .eventtype import EventType, EventTypeTypedDict + from .eventtypessortproperty import EventTypesSortProperty + from .eventtypeupdate import EventTypeUpdate, EventTypeUpdateTypedDict + from .eventtypewithstats import EventTypeWithStats, EventTypeWithStatsTypedDict from .existingproductprice import ( ExistingProductPrice, ExistingProductPriceTypedDict, @@ -1624,10 +1671,6 @@ ListResourceCheckoutLink, ListResourceCheckoutLinkTypedDict, ) - from .listresource_customer_ import ( - ListResourceCustomer, - ListResourceCustomerTypedDict, - ) from .listresource_customerbenefitgrant_ import ( ListResourceCustomerBenefitGrant, ListResourceCustomerBenefitGrantTypedDict, @@ -1656,6 +1699,10 @@ ListResourceCustomerWallet, ListResourceCustomerWalletTypedDict, ) + from .listresource_customerwithmembers_ import ( + ListResourceCustomerWithMembers, + ListResourceCustomerWithMembersTypedDict, + ) from .listresource_customfield_ import ( ListResourceCustomField, ListResourceCustomFieldTypedDict, @@ -1673,6 +1720,10 @@ ListResourceEventName, ListResourceEventNameTypedDict, ) + from .listresource_eventtypewithstats_ import ( + ListResourceEventTypeWithStats, + ListResourceEventTypeWithStatsTypedDict, + ) from .listresource_fileread_ import ( FileRead, FileReadTypedDict, @@ -1683,6 +1734,7 @@ ListResourceLicenseKeyRead, ListResourceLicenseKeyReadTypedDict, ) + from .listresource_member_ import ListResourceMember, ListResourceMemberTypedDict from .listresource_meter_ import ListResourceMeter, ListResourceMeterTypedDict from .listresource_order_ import ListResourceOrder, ListResourceOrderTypedDict from .listresource_organization_ import ( @@ -1695,7 +1747,6 @@ ListResourceSubscription, ListResourceSubscriptionTypedDict, ) - from .listresource_wallet_ import ListResourceWallet, ListResourceWalletTypedDict from .listresource_webhookdelivery_ import ( ListResourceWebhookDelivery, ListResourceWebhookDeliveryTypedDict, @@ -1705,6 +1756,15 @@ ListResourceWebhookEndpointTypedDict, ) from .llmmetadata import LLMMetadata, LLMMetadataTypedDict + from .member import Member, MemberTypedDict + from .memberrole import MemberRole + from .members_list_membersop import ( + MembersListMembersRequest, + MembersListMembersRequestTypedDict, + MembersListMembersResponse, + MembersListMembersResponseTypedDict, + ) + from .membersortproperty import MemberSortProperty from .meter import ( Meter, MeterAggregation, @@ -1777,6 +1837,8 @@ CheckoutsModelTypedDict, ChurnRate, ChurnRateTypedDict, + ChurnedSubscriptions, + ChurnedSubscriptionsTypedDict, CommittedMonthlyRecurringRevenue, CommittedMonthlyRecurringRevenueTypedDict, CostPerUser, @@ -1791,6 +1853,8 @@ GrossMarginPercentage, GrossMarginPercentageTypedDict, GrossMarginTypedDict, + Ltv, + LtvTypedDict, MetricPeriod, MetricPeriodTypedDict, MonthlyRecurringRevenue, @@ -1885,6 +1949,8 @@ MetricsTotalsCheckoutsTypedDict, MetricsTotalsChurnRate, MetricsTotalsChurnRateTypedDict, + MetricsTotalsChurnedSubscriptions, + MetricsTotalsChurnedSubscriptionsTypedDict, MetricsTotalsCommittedMonthlyRecurringRevenue, MetricsTotalsCommittedMonthlyRecurringRevenueTypedDict, MetricsTotalsCostPerUser, @@ -1899,6 +1965,8 @@ MetricsTotalsGrossMarginPercentage, MetricsTotalsGrossMarginPercentageTypedDict, MetricsTotalsGrossMarginTypedDict, + MetricsTotalsLtv, + MetricsTotalsLtvTypedDict, MetricsTotalsMonthlyRecurringRevenue, MetricsTotalsMonthlyRecurringRevenueTypedDict, MetricsTotalsNetAverageOrderValue, @@ -1938,10 +2006,6 @@ MissingInvoiceBillingDetails, MissingInvoiceBillingDetailsData, ) - from .missingpaymentmethoderror import ( - MissingPaymentMethodError, - MissingPaymentMethodErrorData, - ) from .no_response_error import NoResponseError from .notopencheckout import NotOpenCheckout, NotOpenCheckoutData from .notpaidorder import NotPaidOrder, NotPaidOrderData @@ -2100,6 +2164,7 @@ OrganizationSubscriptionSettingsTypedDict, ) from .organizationupdate import OrganizationUpdate, OrganizationUpdateTypedDict + from .ownercreate import OwnerCreate, OwnerCreateTypedDict from .pagination import Pagination, PaginationTypedDict from .payment import Payment, PaymentTypedDict from .paymentalreadyinprogress import ( @@ -2107,10 +2172,6 @@ PaymentAlreadyInProgressData, ) from .paymenterror import PaymentError, PaymentErrorData - from .paymentintentfailederror import ( - PaymentIntentFailedError, - PaymentIntentFailedErrorData, - ) from .paymentmethodcard import PaymentMethodCard, PaymentMethodCardTypedDict from .paymentmethodcardmetadata import ( PaymentMethodCardMetadata, @@ -2228,6 +2289,7 @@ ProductPriceSeatTiers, ProductPriceSeatTiersTypedDict, ) + from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .products_getop import ProductsGetRequest, ProductsGetRequestTypedDict from .products_update_benefitsop import ( @@ -2479,9 +2541,21 @@ SubscriptionsUpdateRequest, SubscriptionsUpdateRequestTypedDict, ) + from .subscriptionseatsupdatedevent import ( + SubscriptionSeatsUpdatedEvent, + SubscriptionSeatsUpdatedEventTypedDict, + ) + from .subscriptionseatsupdatedmetadata import ( + SubscriptionSeatsUpdatedMetadata, + SubscriptionSeatsUpdatedMetadataTypedDict, + ) from .subscriptionsortproperty import SubscriptionSortProperty from .subscriptionstatus import SubscriptionStatus from .subscriptionupdate import SubscriptionUpdate, SubscriptionUpdateTypedDict + from .subscriptionupdatebillingperiod import ( + SubscriptionUpdateBillingPeriod, + SubscriptionUpdateBillingPeriodTypedDict, + ) from .subscriptionupdatediscount import ( SubscriptionUpdateDiscount, SubscriptionUpdateDiscountTypedDict, @@ -2503,6 +2577,7 @@ from .taxidformat import TaxIDFormat from .timeinterval import TimeInterval from .tokenresponse import TokenResponse, TokenResponseTypedDict + from .trialalreadyredeemed import TrialAlreadyRedeemed, TrialAlreadyRedeemedData from .trialinterval import TrialInterval from .unauthorized import Unauthorized, UnauthorizedData from .uniqueaggregation import UniqueAggregation, UniqueAggregationTypedDict @@ -2519,21 +2594,6 @@ ValidationError, ValidationErrorTypedDict, ) - from .wallet import Wallet, WalletTypedDict - from .wallets_getop import WalletsGetRequest, WalletsGetRequestTypedDict - from .wallets_listop import ( - WalletsListQueryParamCustomerIDFilter, - WalletsListQueryParamCustomerIDFilterTypedDict, - WalletsListQueryParamOrganizationIDFilter, - WalletsListQueryParamOrganizationIDFilterTypedDict, - WalletsListRequest, - WalletsListRequestTypedDict, - WalletsListResponse, - WalletsListResponseTypedDict, - ) - from .wallets_top_upop import WalletsTopUpRequest, WalletsTopUpRequestTypedDict - from .walletsortproperty import WalletSortProperty - from .wallettopupcreate import WalletTopUpCreate, WalletTopUpCreateTypedDict from .webhookbenefitcreatedpayload import ( WebhookBenefitCreatedPayload, WebhookBenefitCreatedPayloadTypedDict, @@ -2946,6 +3006,8 @@ "BenefitRevokedEvent", "BenefitRevokedEventTypedDict", "BenefitSortProperty", + "BenefitSubscriberOrganization", + "BenefitSubscriberOrganizationTypedDict", "BenefitType", "BenefitTypeFilter", "BenefitTypeFilterTypedDict", @@ -3007,6 +3069,8 @@ "CheckoutCreateCustomerMetadataTypedDict", "CheckoutCreateMetadata", "CheckoutCreateMetadataTypedDict", + "CheckoutCreatePrices", + "CheckoutCreatePricesTypedDict", "CheckoutCreateTypedDict", "CheckoutCustomFieldData", "CheckoutCustomFieldDataTypedDict", @@ -3071,6 +3135,10 @@ "CheckoutLinksUpdateRequestTypedDict", "CheckoutMetadata", "CheckoutMetadataTypedDict", + "CheckoutOrganization", + "CheckoutOrganizationTypedDict", + "CheckoutPrices", + "CheckoutPricesTypedDict", "CheckoutProduct", "CheckoutProductPrice", "CheckoutProductPriceTypedDict", @@ -3083,6 +3151,8 @@ "CheckoutPublicConfirmedCustomFieldDataTypedDict", "CheckoutPublicConfirmedDiscount", "CheckoutPublicConfirmedDiscountTypedDict", + "CheckoutPublicConfirmedPrices", + "CheckoutPublicConfirmedPricesTypedDict", "CheckoutPublicConfirmedProductPrice", "CheckoutPublicConfirmedProductPriceTypedDict", "CheckoutPublicConfirmedTypedDict", @@ -3090,6 +3160,8 @@ "CheckoutPublicCustomFieldDataTypedDict", "CheckoutPublicDiscount", "CheckoutPublicDiscountTypedDict", + "CheckoutPublicPrices", + "CheckoutPublicPricesTypedDict", "CheckoutPublicProductPrice", "CheckoutPublicProductPriceTypedDict", "CheckoutPublicTypedDict", @@ -3134,6 +3206,8 @@ "CheckoutsUpdateRequestTypedDict", "ChurnRate", "ChurnRateTypedDict", + "ChurnedSubscriptions", + "ChurnedSubscriptionsTypedDict", "Clauses", "ClausesTypedDict", "CommittedMonthlyRecurringRevenue", @@ -3253,8 +3327,6 @@ "CustomFieldsUpdateRequest", "CustomFieldsUpdateRequestTypedDict", "Customer", - "CustomerBalance", - "CustomerBalanceTypedDict", "CustomerBenefitGrant", "CustomerBenefitGrantCustom", "CustomerBenefitGrantCustomTypedDict", @@ -3355,6 +3427,8 @@ "CustomerOrderUpdate", "CustomerOrderUpdateTypedDict", "CustomerOrganization", + "CustomerOrganizationData", + "CustomerOrganizationDataTypedDict", "CustomerOrganizationTypedDict", "CustomerPaymentMethod", "CustomerPaymentMethodConfirm", @@ -3618,6 +3692,14 @@ "CustomerWallet", "CustomerWalletSortProperty", "CustomerWalletTypedDict", + "CustomerWithMembers", + "CustomerWithMembersMetadata", + "CustomerWithMembersMetadataTypedDict", + "CustomerWithMembersTaxID", + "CustomerWithMembersTaxIDTypedDict", + "CustomerWithMembersTypedDict", + "CustomersCreateRequest", + "CustomersCreateRequestTypedDict", "CustomersDeleteExternalRequest", "CustomersDeleteExternalRequestTypedDict", "CustomersDeleteRequest", @@ -3626,8 +3708,6 @@ "CustomersExportQueryParamOrganizationIDTypedDict", "CustomersExportRequest", "CustomersExportRequestTypedDict", - "CustomersGetBalanceRequest", - "CustomersGetBalanceRequestTypedDict", "CustomersGetExternalRequest", "CustomersGetExternalRequestTypedDict", "CustomersGetRequest", @@ -3745,7 +3825,26 @@ "EventNamesSortProperty", "EventSortProperty", "EventSource", + "EventType", + "EventTypeTypedDict", + "EventTypeUpdate", + "EventTypeUpdateTypedDict", + "EventTypeWithStats", + "EventTypeWithStatsTypedDict", "EventTypedDict", + "EventTypesListQueryParamCustomerIDFilter", + "EventTypesListQueryParamCustomerIDFilterTypedDict", + "EventTypesListQueryParamExternalCustomerIDFilter", + "EventTypesListQueryParamExternalCustomerIDFilterTypedDict", + "EventTypesListQueryParamOrganizationIDFilter", + "EventTypesListQueryParamOrganizationIDFilterTypedDict", + "EventTypesListRequest", + "EventTypesListRequestTypedDict", + "EventTypesListResponse", + "EventTypesListResponseTypedDict", + "EventTypesSortProperty", + "EventTypesUpdateRequest", + "EventTypesUpdateRequestTypedDict", "EventsGetRequest", "EventsGetRequestTypedDict", "EventsIngest", @@ -3892,7 +3991,6 @@ "ListResourceCheckoutTypedDict", "ListResourceCustomField", "ListResourceCustomFieldTypedDict", - "ListResourceCustomer", "ListResourceCustomerBenefitGrant", "ListResourceCustomerBenefitGrantTypedDict", "ListResourceCustomerCustomerMeter", @@ -3905,9 +4003,10 @@ "ListResourceCustomerPaymentMethodTypedDict", "ListResourceCustomerSubscription", "ListResourceCustomerSubscriptionTypedDict", - "ListResourceCustomerTypedDict", "ListResourceCustomerWallet", "ListResourceCustomerWalletTypedDict", + "ListResourceCustomerWithMembers", + "ListResourceCustomerWithMembersTypedDict", "ListResourceDiscount", "ListResourceDiscountTypedDict", "ListResourceDownloadableRead", @@ -3915,11 +4014,15 @@ "ListResourceEvent", "ListResourceEventName", "ListResourceEventNameTypedDict", + "ListResourceEventTypeWithStats", + "ListResourceEventTypeWithStatsTypedDict", "ListResourceEventTypedDict", "ListResourceFileRead", "ListResourceFileReadTypedDict", "ListResourceLicenseKeyRead", "ListResourceLicenseKeyReadTypedDict", + "ListResourceMember", + "ListResourceMemberTypedDict", "ListResourceMeter", "ListResourceMeterTypedDict", "ListResourceOrder", @@ -3933,14 +4036,22 @@ "ListResourceSubscription", "ListResourceSubscriptionTypedDict", "ListResourceTypedDict", - "ListResourceWallet", - "ListResourceWalletTypedDict", "ListResourceWebhookDelivery", "ListResourceWebhookDeliveryTypedDict", "ListResourceWebhookEndpoint", "ListResourceWebhookEndpointTypedDict", "Loc", "LocTypedDict", + "Ltv", + "LtvTypedDict", + "Member", + "MemberRole", + "MemberSortProperty", + "MemberTypedDict", + "MembersListMembersRequest", + "MembersListMembersRequestTypedDict", + "MembersListMembersResponse", + "MembersListMembersResponseTypedDict", "Meta", "MetaTypedDict", "Metadata", @@ -4053,6 +4164,8 @@ "MetricsTotalsCheckoutsTypedDict", "MetricsTotalsChurnRate", "MetricsTotalsChurnRateTypedDict", + "MetricsTotalsChurnedSubscriptions", + "MetricsTotalsChurnedSubscriptionsTypedDict", "MetricsTotalsCommittedMonthlyRecurringRevenue", "MetricsTotalsCommittedMonthlyRecurringRevenueTypedDict", "MetricsTotalsCostPerUser", @@ -4067,6 +4180,8 @@ "MetricsTotalsGrossMarginPercentage", "MetricsTotalsGrossMarginPercentageTypedDict", "MetricsTotalsGrossMarginTypedDict", + "MetricsTotalsLtv", + "MetricsTotalsLtvTypedDict", "MetricsTotalsMonthlyRecurringRevenue", "MetricsTotalsMonthlyRecurringRevenueTypedDict", "MetricsTotalsNetAverageOrderValue", @@ -4103,8 +4218,6 @@ "MetricsTypedDict", "MissingInvoiceBillingDetails", "MissingInvoiceBillingDetailsData", - "MissingPaymentMethodError", - "MissingPaymentMethodErrorData", "MonthlyRecurringRevenue", "MonthlyRecurringRevenueTypedDict", "NameFilter", @@ -4262,6 +4375,8 @@ "OrganizationsListResponseTypedDict", "OrganizationsUpdateRequest", "OrganizationsUpdateRequestTypedDict", + "OwnerCreate", + "OwnerCreateTypedDict", "Pagination", "PaginationTypedDict", "Payment", @@ -4269,8 +4384,6 @@ "PaymentAlreadyInProgressData", "PaymentError", "PaymentErrorData", - "PaymentIntentFailedError", - "PaymentIntentFailedErrorData", "PaymentMethodCard", "PaymentMethodCardMetadata", "PaymentMethodCardMetadataTypedDict", @@ -4356,6 +4469,7 @@ "ProductPriceSeatTierTypedDict", "ProductPriceSeatTiers", "ProductPriceSeatTiersTypedDict", + "ProductPriceSource", "ProductPriceType", "ProductPriceTypedDict", "ProductSortProperty", @@ -4526,10 +4640,16 @@ "SubscriptionRevokedEventTypedDict", "SubscriptionRevokedMetadata", "SubscriptionRevokedMetadataTypedDict", + "SubscriptionSeatsUpdatedEvent", + "SubscriptionSeatsUpdatedEventTypedDict", + "SubscriptionSeatsUpdatedMetadata", + "SubscriptionSeatsUpdatedMetadataTypedDict", "SubscriptionSortProperty", "SubscriptionStatus", "SubscriptionTypedDict", "SubscriptionUpdate", + "SubscriptionUpdateBillingPeriod", + "SubscriptionUpdateBillingPeriodTypedDict", "SubscriptionUpdateDiscount", "SubscriptionUpdateDiscountTypedDict", "SubscriptionUpdateProduct", @@ -4568,6 +4688,8 @@ "TokenResponseTypedDict", "TokenType", "TokenTypeHint", + "TrialAlreadyRedeemed", + "TrialAlreadyRedeemedData", "TrialInterval", "Two", "TwoTypedDict", @@ -4589,23 +4711,6 @@ "ValidationErrorTypedDict", "Value", "ValueTypedDict", - "Wallet", - "WalletSortProperty", - "WalletTopUpCreate", - "WalletTopUpCreateTypedDict", - "WalletTypedDict", - "WalletsGetRequest", - "WalletsGetRequestTypedDict", - "WalletsListQueryParamCustomerIDFilter", - "WalletsListQueryParamCustomerIDFilterTypedDict", - "WalletsListQueryParamOrganizationIDFilter", - "WalletsListQueryParamOrganizationIDFilterTypedDict", - "WalletsListRequest", - "WalletsListRequestTypedDict", - "WalletsListResponse", - "WalletsListResponseTypedDict", - "WalletsTopUpRequest", - "WalletsTopUpRequestTypedDict", "WebTokenRequest", "WebTokenRequestSubType", "WebTokenRequestTypedDict", @@ -4941,6 +5046,8 @@ "BenefitsUpdateRequest": ".benefits_updateop", "BenefitsUpdateRequestTypedDict": ".benefits_updateop", "BenefitSortProperty": ".benefitsortproperty", + "BenefitSubscriberOrganization": ".benefitsubscriberorganization", + "BenefitSubscriberOrganizationTypedDict": ".benefitsubscriberorganization", "BenefitType": ".benefittype", "BenefitUpdatedEvent": ".benefitupdatedevent", "BenefitUpdatedEventTypedDict": ".benefitupdatedevent", @@ -4956,6 +5063,8 @@ "CheckoutDiscountTypedDict": ".checkout", "CheckoutMetadata": ".checkout", "CheckoutMetadataTypedDict": ".checkout", + "CheckoutPrices": ".checkout", + "CheckoutPricesTypedDict": ".checkout", "CheckoutProductPrice": ".checkout", "CheckoutProductPriceTypedDict": ".checkout", "CheckoutTypedDict": ".checkout", @@ -4988,6 +5097,8 @@ "CheckoutCreateCustomerMetadataTypedDict": ".checkoutcreate", "CheckoutCreateMetadata": ".checkoutcreate", "CheckoutCreateMetadataTypedDict": ".checkoutcreate", + "CheckoutCreatePrices": ".checkoutcreate", + "CheckoutCreatePricesTypedDict": ".checkoutcreate", "CheckoutCreateTypedDict": ".checkoutcreate", "CheckoutDiscountFixedOnceForeverDuration": ".checkoutdiscountfixedonceforeverduration", "CheckoutDiscountFixedOnceForeverDurationTypedDict": ".checkoutdiscountfixedonceforeverduration", @@ -5030,6 +5141,8 @@ "CheckoutLinkUpdateMetadata": ".checkoutlinkupdate", "CheckoutLinkUpdateMetadataTypedDict": ".checkoutlinkupdate", "CheckoutLinkUpdateTypedDict": ".checkoutlinkupdate", + "CheckoutOrganization": ".checkoutorganization", + "CheckoutOrganizationTypedDict": ".checkoutorganization", "CheckoutProduct": ".checkoutproduct", "CheckoutProductPrices": ".checkoutproduct", "CheckoutProductPricesTypedDict": ".checkoutproduct", @@ -5039,6 +5152,8 @@ "CheckoutPublicCustomFieldDataTypedDict": ".checkoutpublic", "CheckoutPublicDiscount": ".checkoutpublic", "CheckoutPublicDiscountTypedDict": ".checkoutpublic", + "CheckoutPublicPrices": ".checkoutpublic", + "CheckoutPublicPricesTypedDict": ".checkoutpublic", "CheckoutPublicProductPrice": ".checkoutpublic", "CheckoutPublicProductPriceTypedDict": ".checkoutpublic", "CheckoutPublicTypedDict": ".checkoutpublic", @@ -5047,6 +5162,8 @@ "CheckoutPublicConfirmedCustomFieldDataTypedDict": ".checkoutpublicconfirmed", "CheckoutPublicConfirmedDiscount": ".checkoutpublicconfirmed", "CheckoutPublicConfirmedDiscountTypedDict": ".checkoutpublicconfirmed", + "CheckoutPublicConfirmedPrices": ".checkoutpublicconfirmed", + "CheckoutPublicConfirmedPricesTypedDict": ".checkoutpublicconfirmed", "CheckoutPublicConfirmedProductPrice": ".checkoutpublicconfirmed", "CheckoutPublicConfirmedProductPriceTypedDict": ".checkoutpublicconfirmed", "CheckoutPublicConfirmedTypedDict": ".checkoutpublicconfirmed", @@ -5298,8 +5415,6 @@ "CustomerSeatsRevokeSeatRequestTypedDict": ".customer_seats_revoke_seatop", "CustomerSessionsCreateCustomerSessionCreate": ".customer_sessions_createop", "CustomerSessionsCreateCustomerSessionCreateTypedDict": ".customer_sessions_createop", - "CustomerBalance": ".customerbalance", - "CustomerBalanceTypedDict": ".customerbalance", "CustomerBenefitGrant": ".customerbenefitgrant", "CustomerBenefitGrantTypedDict": ".customerbenefitgrant", "CustomerBenefitGrantCustom": ".customerbenefitgrantcustom", @@ -5381,6 +5496,8 @@ "CustomerOrderUpdateTypedDict": ".customerorderupdate", "CustomerOrganization": ".customerorganization", "CustomerOrganizationTypedDict": ".customerorganization", + "CustomerOrganizationData": ".customerorganizationdata", + "CustomerOrganizationDataTypedDict": ".customerorganizationdata", "CustomerPaymentMethod": ".customerpaymentmethod", "CustomerPaymentMethodTypedDict": ".customerpaymentmethod", "CustomerPaymentMethodConfirm": ".customerpaymentmethodconfirm", @@ -5405,6 +5522,8 @@ "CustomerProductPrices": ".customerproduct", "CustomerProductPricesTypedDict": ".customerproduct", "CustomerProductTypedDict": ".customerproduct", + "CustomersCreateRequest": ".customers_createop", + "CustomersCreateRequestTypedDict": ".customers_createop", "CustomersDeleteExternalRequest": ".customers_delete_externalop", "CustomersDeleteExternalRequestTypedDict": ".customers_delete_externalop", "CustomersDeleteRequest": ".customers_deleteop", @@ -5413,8 +5532,6 @@ "CustomersExportQueryParamOrganizationIDTypedDict": ".customers_exportop", "CustomersExportRequest": ".customers_exportop", "CustomersExportRequestTypedDict": ".customers_exportop", - "CustomersGetBalanceRequest": ".customers_get_balanceop", - "CustomersGetBalanceRequestTypedDict": ".customers_get_balanceop", "CustomersGetExternalRequest": ".customers_get_externalop", "CustomersGetExternalRequestTypedDict": ".customers_get_externalop", "CustomersGetStateExternalRequest": ".customers_get_state_externalop", @@ -5505,6 +5622,12 @@ "CustomerWallet": ".customerwallet", "CustomerWalletTypedDict": ".customerwallet", "CustomerWalletSortProperty": ".customerwalletsortproperty", + "CustomerWithMembers": ".customerwithmembers", + "CustomerWithMembersMetadata": ".customerwithmembers", + "CustomerWithMembersMetadataTypedDict": ".customerwithmembers", + "CustomerWithMembersTaxID": ".customerwithmembers", + "CustomerWithMembersTaxIDTypedDict": ".customerwithmembers", + "CustomerWithMembersTypedDict": ".customerwithmembers", "CustomField": ".customfield", "CustomFieldTypedDict": ".customfield", "CustomFieldCheckbox": ".customfieldcheckbox", @@ -5668,6 +5791,18 @@ "DownloadableReadTypedDict": ".downloadableread", "Event": ".event", "EventTypedDict": ".event", + "EventTypesListQueryParamCustomerIDFilter": ".event_types_listop", + "EventTypesListQueryParamCustomerIDFilterTypedDict": ".event_types_listop", + "EventTypesListQueryParamExternalCustomerIDFilter": ".event_types_listop", + "EventTypesListQueryParamExternalCustomerIDFilterTypedDict": ".event_types_listop", + "EventTypesListQueryParamOrganizationIDFilter": ".event_types_listop", + "EventTypesListQueryParamOrganizationIDFilterTypedDict": ".event_types_listop", + "EventTypesListRequest": ".event_types_listop", + "EventTypesListRequestTypedDict": ".event_types_listop", + "EventTypesListResponse": ".event_types_listop", + "EventTypesListResponseTypedDict": ".event_types_listop", + "EventTypesUpdateRequest": ".event_types_updateop", + "EventTypesUpdateRequestTypedDict": ".event_types_updateop", "EventCreateCustomer": ".eventcreatecustomer", "EventCreateCustomerTypedDict": ".eventcreatecustomer", "EventCreateExternalCustomer": ".eventcreateexternalcustomer", @@ -5701,6 +5836,13 @@ "EventsIngestResponseTypedDict": ".eventsingestresponse", "EventSortProperty": ".eventsortproperty", "EventSource": ".eventsource", + "EventType": ".eventtype", + "EventTypeTypedDict": ".eventtype", + "EventTypesSortProperty": ".eventtypessortproperty", + "EventTypeUpdate": ".eventtypeupdate", + "EventTypeUpdateTypedDict": ".eventtypeupdate", + "EventTypeWithStats": ".eventtypewithstats", + "EventTypeWithStatsTypedDict": ".eventtypewithstats", "ExistingProductPrice": ".existingproductprice", "ExistingProductPriceTypedDict": ".existingproductprice", "ExpiredCheckoutError": ".expiredcheckouterror", @@ -5815,8 +5957,6 @@ "ListResourceCheckoutTypedDict": ".listresource_checkout_", "ListResourceCheckoutLink": ".listresource_checkoutlink_", "ListResourceCheckoutLinkTypedDict": ".listresource_checkoutlink_", - "ListResourceCustomer": ".listresource_customer_", - "ListResourceCustomerTypedDict": ".listresource_customer_", "ListResourceCustomerBenefitGrant": ".listresource_customerbenefitgrant_", "ListResourceCustomerBenefitGrantTypedDict": ".listresource_customerbenefitgrant_", "ListResourceCustomerCustomerMeter": ".listresource_customercustomermeter_", @@ -5831,6 +5971,8 @@ "ListResourceCustomerSubscriptionTypedDict": ".listresource_customersubscription_", "ListResourceCustomerWallet": ".listresource_customerwallet_", "ListResourceCustomerWalletTypedDict": ".listresource_customerwallet_", + "ListResourceCustomerWithMembers": ".listresource_customerwithmembers_", + "ListResourceCustomerWithMembersTypedDict": ".listresource_customerwithmembers_", "ListResourceCustomField": ".listresource_customfield_", "ListResourceCustomFieldTypedDict": ".listresource_customfield_", "ListResourceDiscount": ".listresource_discount_", @@ -5841,12 +5983,16 @@ "ListResourceEventTypedDict": ".listresource_event_", "ListResourceEventName": ".listresource_eventname_", "ListResourceEventNameTypedDict": ".listresource_eventname_", + "ListResourceEventTypeWithStats": ".listresource_eventtypewithstats_", + "ListResourceEventTypeWithStatsTypedDict": ".listresource_eventtypewithstats_", "FileRead": ".listresource_fileread_", "FileReadTypedDict": ".listresource_fileread_", "ListResourceFileRead": ".listresource_fileread_", "ListResourceFileReadTypedDict": ".listresource_fileread_", "ListResourceLicenseKeyRead": ".listresource_licensekeyread_", "ListResourceLicenseKeyReadTypedDict": ".listresource_licensekeyread_", + "ListResourceMember": ".listresource_member_", + "ListResourceMemberTypedDict": ".listresource_member_", "ListResourceMeter": ".listresource_meter_", "ListResourceMeterTypedDict": ".listresource_meter_", "ListResourceOrder": ".listresource_order_", @@ -5859,14 +6005,20 @@ "ListResourceRefundTypedDict": ".listresource_refund_", "ListResourceSubscription": ".listresource_subscription_", "ListResourceSubscriptionTypedDict": ".listresource_subscription_", - "ListResourceWallet": ".listresource_wallet_", - "ListResourceWalletTypedDict": ".listresource_wallet_", "ListResourceWebhookDelivery": ".listresource_webhookdelivery_", "ListResourceWebhookDeliveryTypedDict": ".listresource_webhookdelivery_", "ListResourceWebhookEndpoint": ".listresource_webhookendpoint_", "ListResourceWebhookEndpointTypedDict": ".listresource_webhookendpoint_", "LLMMetadata": ".llmmetadata", "LLMMetadataTypedDict": ".llmmetadata", + "Member": ".member", + "MemberTypedDict": ".member", + "MemberRole": ".memberrole", + "MembersListMembersRequest": ".members_list_membersop", + "MembersListMembersRequestTypedDict": ".members_list_membersop", + "MembersListMembersResponse": ".members_list_membersop", + "MembersListMembersResponseTypedDict": ".members_list_membersop", + "MemberSortProperty": ".membersortproperty", "Meter": ".meter", "MeterAggregation": ".meter", "MeterAggregationTypedDict": ".meter", @@ -5938,6 +6090,8 @@ "CheckoutsModelTypedDict": ".metricperiod", "ChurnRate": ".metricperiod", "ChurnRateTypedDict": ".metricperiod", + "ChurnedSubscriptions": ".metricperiod", + "ChurnedSubscriptionsTypedDict": ".metricperiod", "CommittedMonthlyRecurringRevenue": ".metricperiod", "CommittedMonthlyRecurringRevenueTypedDict": ".metricperiod", "CostPerUser": ".metricperiod", @@ -5952,6 +6106,8 @@ "GrossMarginPercentage": ".metricperiod", "GrossMarginPercentageTypedDict": ".metricperiod", "GrossMarginTypedDict": ".metricperiod", + "Ltv": ".metricperiod", + "LtvTypedDict": ".metricperiod", "MetricPeriod": ".metricperiod", "MetricPeriodTypedDict": ".metricperiod", "MonthlyRecurringRevenue": ".metricperiod", @@ -6041,6 +6197,8 @@ "MetricsTotalsCheckoutsTypedDict": ".metricstotals", "MetricsTotalsChurnRate": ".metricstotals", "MetricsTotalsChurnRateTypedDict": ".metricstotals", + "MetricsTotalsChurnedSubscriptions": ".metricstotals", + "MetricsTotalsChurnedSubscriptionsTypedDict": ".metricstotals", "MetricsTotalsCommittedMonthlyRecurringRevenue": ".metricstotals", "MetricsTotalsCommittedMonthlyRecurringRevenueTypedDict": ".metricstotals", "MetricsTotalsCostPerUser": ".metricstotals", @@ -6055,6 +6213,8 @@ "MetricsTotalsGrossMarginPercentage": ".metricstotals", "MetricsTotalsGrossMarginPercentageTypedDict": ".metricstotals", "MetricsTotalsGrossMarginTypedDict": ".metricstotals", + "MetricsTotalsLtv": ".metricstotals", + "MetricsTotalsLtvTypedDict": ".metricstotals", "MetricsTotalsMonthlyRecurringRevenue": ".metricstotals", "MetricsTotalsMonthlyRecurringRevenueTypedDict": ".metricstotals", "MetricsTotalsNetAverageOrderValue": ".metricstotals", @@ -6091,8 +6251,6 @@ "MetricType": ".metrictype", "MissingInvoiceBillingDetails": ".missinginvoicebillingdetails", "MissingInvoiceBillingDetailsData": ".missinginvoicebillingdetails", - "MissingPaymentMethodError": ".missingpaymentmethoderror", - "MissingPaymentMethodErrorData": ".missingpaymentmethoderror", "NoResponseError": ".no_response_error", "NotOpenCheckout": ".notopencheckout", "NotOpenCheckoutData": ".notopencheckout", @@ -6213,6 +6371,8 @@ "OrganizationSubscriptionSettingsTypedDict": ".organizationsubscriptionsettings", "OrganizationUpdate": ".organizationupdate", "OrganizationUpdateTypedDict": ".organizationupdate", + "OwnerCreate": ".ownercreate", + "OwnerCreateTypedDict": ".ownercreate", "Pagination": ".pagination", "PaginationTypedDict": ".pagination", "Payment": ".payment", @@ -6221,8 +6381,6 @@ "PaymentAlreadyInProgressData": ".paymentalreadyinprogress", "PaymentError": ".paymenterror", "PaymentErrorData": ".paymenterror", - "PaymentIntentFailedError": ".paymentintentfailederror", - "PaymentIntentFailedErrorData": ".paymentintentfailederror", "PaymentMethodCard": ".paymentmethodcard", "PaymentMethodCardTypedDict": ".paymentmethodcard", "PaymentMethodCardMetadata": ".paymentmethodcardmetadata", @@ -6311,6 +6469,7 @@ "ProductPriceSeatTierTypedDict": ".productpriceseattier", "ProductPriceSeatTiers": ".productpriceseattiers", "ProductPriceSeatTiersTypedDict": ".productpriceseattiers", + "ProductPriceSource": ".productpricesource", "ProductPriceType": ".productpricetype", "ProductsGetRequest": ".products_getop", "ProductsGetRequestTypedDict": ".products_getop", @@ -6534,10 +6693,16 @@ "SubscriptionsRevokeRequestTypedDict": ".subscriptions_revokeop", "SubscriptionsUpdateRequest": ".subscriptions_updateop", "SubscriptionsUpdateRequestTypedDict": ".subscriptions_updateop", + "SubscriptionSeatsUpdatedEvent": ".subscriptionseatsupdatedevent", + "SubscriptionSeatsUpdatedEventTypedDict": ".subscriptionseatsupdatedevent", + "SubscriptionSeatsUpdatedMetadata": ".subscriptionseatsupdatedmetadata", + "SubscriptionSeatsUpdatedMetadataTypedDict": ".subscriptionseatsupdatedmetadata", "SubscriptionSortProperty": ".subscriptionsortproperty", "SubscriptionStatus": ".subscriptionstatus", "SubscriptionUpdate": ".subscriptionupdate", "SubscriptionUpdateTypedDict": ".subscriptionupdate", + "SubscriptionUpdateBillingPeriod": ".subscriptionupdatebillingperiod", + "SubscriptionUpdateBillingPeriodTypedDict": ".subscriptionupdatebillingperiod", "SubscriptionUpdateDiscount": ".subscriptionupdatediscount", "SubscriptionUpdateDiscountTypedDict": ".subscriptionupdatediscount", "SubscriptionUpdateProduct": ".subscriptionupdateproduct", @@ -6553,6 +6718,8 @@ "TimeInterval": ".timeinterval", "TokenResponse": ".tokenresponse", "TokenResponseTypedDict": ".tokenresponse", + "TrialAlreadyRedeemed": ".trialalreadyredeemed", + "TrialAlreadyRedeemedData": ".trialalreadyredeemed", "TrialInterval": ".trialinterval", "Unauthorized": ".unauthorized", "UnauthorizedData": ".unauthorized", @@ -6570,23 +6737,6 @@ "LocTypedDict": ".validationerror", "ValidationError": ".validationerror", "ValidationErrorTypedDict": ".validationerror", - "Wallet": ".wallet", - "WalletTypedDict": ".wallet", - "WalletsGetRequest": ".wallets_getop", - "WalletsGetRequestTypedDict": ".wallets_getop", - "WalletsListQueryParamCustomerIDFilter": ".wallets_listop", - "WalletsListQueryParamCustomerIDFilterTypedDict": ".wallets_listop", - "WalletsListQueryParamOrganizationIDFilter": ".wallets_listop", - "WalletsListQueryParamOrganizationIDFilterTypedDict": ".wallets_listop", - "WalletsListRequest": ".wallets_listop", - "WalletsListRequestTypedDict": ".wallets_listop", - "WalletsListResponse": ".wallets_listop", - "WalletsListResponseTypedDict": ".wallets_listop", - "WalletsTopUpRequest": ".wallets_top_upop", - "WalletsTopUpRequestTypedDict": ".wallets_top_upop", - "WalletSortProperty": ".walletsortproperty", - "WalletTopUpCreate": ".wallettopupcreate", - "WalletTopUpCreateTypedDict": ".wallettopupcreate", "WebhookBenefitCreatedPayload": ".webhookbenefitcreatedpayload", "WebhookBenefitCreatedPayloadTypedDict": ".webhookbenefitcreatedpayload", "WebhookBenefitGrantCreatedPayload": ".webhookbenefitgrantcreatedpayload", diff --git a/src/polar_sdk/models/benefitcustomsubscriber.py b/src/polar_sdk/models/benefitcustomsubscriber.py index 94e2c7db..aec24c06 100644 --- a/src/polar_sdk/models/benefitcustomsubscriber.py +++ b/src/polar_sdk/models/benefitcustomsubscriber.py @@ -5,7 +5,10 @@ BenefitCustomSubscriberProperties, BenefitCustomSubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitCustomSubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitCustomSubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitCustomSubscriberPropertiesTypedDict r"""Properties available to subscribers for a benefit of type `custom`.""" type: Literal["custom"] @@ -72,7 +75,7 @@ class BenefitCustomSubscriber(BaseModel): metadata: Dict[str, BenefitCustomSubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitCustomSubscriberProperties r"""Properties available to subscribers for a benefit of type `custom`.""" diff --git a/src/polar_sdk/models/benefitcycledevent.py b/src/polar_sdk/models/benefitcycledevent.py index 333d72ef..85917c12 100644 --- a/src/polar_sdk/models/benefitcycledevent.py +++ b/src/polar_sdk/models/benefitcycledevent.py @@ -4,7 +4,7 @@ from .benefitgrantmetadata import BenefitGrantMetadata, BenefitGrantMetadataTypedDict from .customer import Customer, CustomerTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class BenefitCycledEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: BenefitGrantMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["benefit.cycled"] @@ -58,11 +62,17 @@ class BenefitCycledEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: BenefitGrantMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -79,8 +89,13 @@ class BenefitCycledEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefitdiscordsubscriber.py b/src/polar_sdk/models/benefitdiscordsubscriber.py index 6b63b7f9..3fde1043 100644 --- a/src/polar_sdk/models/benefitdiscordsubscriber.py +++ b/src/polar_sdk/models/benefitdiscordsubscriber.py @@ -5,7 +5,10 @@ BenefitDiscordSubscriberProperties, BenefitDiscordSubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitDiscordSubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitDiscordSubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitDiscordSubscriberPropertiesTypedDict r"""Properties available to subscribers for a benefit of type `discord`.""" type: Literal["discord"] @@ -72,7 +75,7 @@ class BenefitDiscordSubscriber(BaseModel): metadata: Dict[str, BenefitDiscordSubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitDiscordSubscriberProperties r"""Properties available to subscribers for a benefit of type `discord`.""" diff --git a/src/polar_sdk/models/benefitdownloadablessubscriber.py b/src/polar_sdk/models/benefitdownloadablessubscriber.py index e3efce30..31d66a59 100644 --- a/src/polar_sdk/models/benefitdownloadablessubscriber.py +++ b/src/polar_sdk/models/benefitdownloadablessubscriber.py @@ -5,7 +5,10 @@ BenefitDownloadablesSubscriberProperties, BenefitDownloadablesSubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitDownloadablesSubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitDownloadablesSubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitDownloadablesSubscriberPropertiesTypedDict type: Literal["downloadables"] @@ -71,7 +74,7 @@ class BenefitDownloadablesSubscriber(BaseModel): metadata: Dict[str, BenefitDownloadablesSubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitDownloadablesSubscriberProperties diff --git a/src/polar_sdk/models/benefitgithubrepositorysubscriber.py b/src/polar_sdk/models/benefitgithubrepositorysubscriber.py index c475ee33..6f2e2ba3 100644 --- a/src/polar_sdk/models/benefitgithubrepositorysubscriber.py +++ b/src/polar_sdk/models/benefitgithubrepositorysubscriber.py @@ -5,7 +5,10 @@ BenefitGitHubRepositorySubscriberProperties, BenefitGitHubRepositorySubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitGitHubRepositorySubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitGitHubRepositorySubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitGitHubRepositorySubscriberPropertiesTypedDict r"""Properties available to subscribers for a benefit of type `github_repository`.""" type: Literal["github_repository"] @@ -72,7 +75,7 @@ class BenefitGitHubRepositorySubscriber(BaseModel): metadata: Dict[str, BenefitGitHubRepositorySubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitGitHubRepositorySubscriberProperties r"""Properties available to subscribers for a benefit of type `github_repository`.""" diff --git a/src/polar_sdk/models/benefitgrantedevent.py b/src/polar_sdk/models/benefitgrantedevent.py index a9c1f5d7..c6db8c06 100644 --- a/src/polar_sdk/models/benefitgrantedevent.py +++ b/src/polar_sdk/models/benefitgrantedevent.py @@ -4,7 +4,7 @@ from .benefitgrantmetadata import BenefitGrantMetadata, BenefitGrantMetadataTypedDict from .customer import Customer, CustomerTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class BenefitGrantedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: BenefitGrantMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["benefit.granted"] @@ -58,11 +62,17 @@ class BenefitGrantedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: BenefitGrantMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -80,8 +90,13 @@ class BenefitGrantedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefitlicensekeyssubscriber.py b/src/polar_sdk/models/benefitlicensekeyssubscriber.py index 24d9fc19..57264624 100644 --- a/src/polar_sdk/models/benefitlicensekeyssubscriber.py +++ b/src/polar_sdk/models/benefitlicensekeyssubscriber.py @@ -5,7 +5,10 @@ BenefitLicenseKeysSubscriberProperties, BenefitLicenseKeysSubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitLicenseKeysSubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitLicenseKeysSubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitLicenseKeysSubscriberPropertiesTypedDict type: Literal["license_keys"] @@ -71,7 +74,7 @@ class BenefitLicenseKeysSubscriber(BaseModel): metadata: Dict[str, BenefitLicenseKeysSubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitLicenseKeysSubscriberProperties diff --git a/src/polar_sdk/models/benefitmetercreditsubscriber.py b/src/polar_sdk/models/benefitmetercreditsubscriber.py index e68ee7d9..d53a7399 100644 --- a/src/polar_sdk/models/benefitmetercreditsubscriber.py +++ b/src/polar_sdk/models/benefitmetercreditsubscriber.py @@ -5,7 +5,10 @@ BenefitMeterCreditSubscriberProperties, BenefitMeterCreditSubscriberPropertiesTypedDict, ) -from .organization import Organization, OrganizationTypedDict +from .benefitsubscriberorganization import ( + BenefitSubscriberOrganization, + BenefitSubscriberOrganizationTypedDict, +) from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from polar_sdk.utils import validate_const @@ -42,7 +45,7 @@ class BenefitMeterCreditSubscriberTypedDict(TypedDict): organization_id: str r"""The ID of the organization owning the benefit.""" metadata: Dict[str, BenefitMeterCreditSubscriberMetadataTypedDict] - organization: OrganizationTypedDict + organization: BenefitSubscriberOrganizationTypedDict properties: BenefitMeterCreditSubscriberPropertiesTypedDict r"""Properties available to subscribers for a benefit of type `meter_unit`.""" type: Literal["meter_credit"] @@ -72,7 +75,7 @@ class BenefitMeterCreditSubscriber(BaseModel): metadata: Dict[str, BenefitMeterCreditSubscriberMetadata] - organization: Organization + organization: BenefitSubscriberOrganization properties: BenefitMeterCreditSubscriberProperties r"""Properties available to subscribers for a benefit of type `meter_unit`.""" diff --git a/src/polar_sdk/models/benefitrevokedevent.py b/src/polar_sdk/models/benefitrevokedevent.py index afa24c3a..cdf91e22 100644 --- a/src/polar_sdk/models/benefitrevokedevent.py +++ b/src/polar_sdk/models/benefitrevokedevent.py @@ -4,7 +4,7 @@ from .benefitgrantmetadata import BenefitGrantMetadata, BenefitGrantMetadataTypedDict from .customer import Customer, CustomerTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class BenefitRevokedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: BenefitGrantMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["benefit.revoked"] @@ -58,11 +62,17 @@ class BenefitRevokedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: BenefitGrantMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -80,8 +90,13 @@ class BenefitRevokedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefitsubscriberorganization.py b/src/polar_sdk/models/benefitsubscriberorganization.py new file mode 100644 index 00000000..4a37faf6 --- /dev/null +++ b/src/polar_sdk/models/benefitsubscriberorganization.py @@ -0,0 +1,81 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .subscriptionprorationbehavior import SubscriptionProrationBehavior +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import TypedDict + + +class BenefitSubscriberOrganizationTypedDict(TypedDict): + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + id: str + r"""The ID of the object.""" + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + proration_behavior: SubscriptionProrationBehavior + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + + +class BenefitSubscriberOrganization(BaseModel): + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + id: str + r"""The ID of the object.""" + + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + + proration_behavior: SubscriptionProrationBehavior + + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [] + nullable_fields = ["modified_at", "avatar_url"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/benefitupdatedevent.py b/src/polar_sdk/models/benefitupdatedevent.py index c891926a..4e3eb901 100644 --- a/src/polar_sdk/models/benefitupdatedevent.py +++ b/src/polar_sdk/models/benefitupdatedevent.py @@ -4,7 +4,7 @@ from .benefitgrantmetadata import BenefitGrantMetadata, BenefitGrantMetadataTypedDict from .customer import Customer, CustomerTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class BenefitUpdatedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: BenefitGrantMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["benefit.updated"] @@ -58,11 +62,17 @@ class BenefitUpdatedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: BenefitGrantMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -80,8 +90,13 @@ class BenefitUpdatedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/checkout.py b/src/polar_sdk/models/checkout.py index d49cd044..a5feabeb 100644 --- a/src/polar_sdk/models/checkout.py +++ b/src/polar_sdk/models/checkout.py @@ -69,6 +69,17 @@ ) +CheckoutPricesTypedDict = TypeAliasType( + "CheckoutPricesTypedDict", + Union[LegacyRecurringProductPriceTypedDict, ProductPriceTypedDict], +) + + +CheckoutPrices = TypeAliasType( + "CheckoutPrices", Union[LegacyRecurringProductPrice, ProductPrice] +) + + CheckoutDiscountTypedDict = TypeAliasType( "CheckoutDiscountTypedDict", Union[ @@ -134,6 +145,8 @@ class CheckoutTypedDict(TypedDict): r"""Amount in cents, after discounts and taxes.""" currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" active_trial_interval_count: Nullable[int] @@ -189,6 +202,8 @@ class CheckoutTypedDict(TypedDict): r"""Product selected to checkout.""" product_price: Nullable[CheckoutProductPriceTypedDict] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPricesTypedDict]]] + r"""Mapping of product IDs to their list of prices.""" discount: Nullable[CheckoutDiscountTypedDict] subscription_id: Nullable[str] attached_custom_fields: Nullable[List[AttachedCustomFieldTypedDict]] @@ -255,6 +270,9 @@ class Checkout(BaseModel): currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" + active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" @@ -270,7 +288,12 @@ class Checkout(BaseModel): product_id: Nullable[str] r"""ID of the product to checkout.""" - product_price_id: Nullable[str] + product_price_id: Annotated[ + Nullable[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""ID of the product price to checkout.""" discount_id: Nullable[str] @@ -344,9 +367,17 @@ class Checkout(BaseModel): product: Nullable[CheckoutProduct] r"""Product selected to checkout.""" - product_price: Nullable[CheckoutProductPrice] + product_price: Annotated[ + Nullable[CheckoutProductPrice], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPrices]]] + r"""Mapping of product IDs to their list of prices.""" + discount: Nullable[CheckoutDiscount] subscription_id: Nullable[str] @@ -374,6 +405,7 @@ def serialize_model(self, handler): "seats", "price_per_seat", "tax_amount", + "allow_trial", "active_trial_interval", "active_trial_interval_count", "trial_end", @@ -393,6 +425,7 @@ def serialize_model(self, handler): "customer_external_id", "product", "product_price", + "prices", "discount", "subscription_id", "attached_custom_fields", diff --git a/src/polar_sdk/models/checkoutconfirmstripe.py b/src/polar_sdk/models/checkoutconfirmstripe.py index 636451bf..4bd874a9 100644 --- a/src/polar_sdk/models/checkoutconfirmstripe.py +++ b/src/polar_sdk/models/checkoutconfirmstripe.py @@ -4,9 +4,11 @@ from .addressinput import AddressInput, AddressInputTypedDict from datetime import datetime from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer -from typing import Dict, Optional, Union +from pydantic.functional_validators import AfterValidator +from typing import Dict, Literal, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -42,6 +44,8 @@ class CheckoutConfirmStripeTypedDict(TypedDict): customer_tax_id: NotRequired[Nullable[str]] discount_code: NotRequired[Nullable[str]] r"""Discount code to apply to the checkout.""" + allow_trial: Nullable[Literal[False]] + r"""Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one.""" confirmation_token_id: NotRequired[Nullable[str]] r"""ID of the Stripe confirmation token. Required for fixed prices and custom prices.""" @@ -85,6 +89,14 @@ class CheckoutConfirmStripe(BaseModel): discount_code: OptionalNullable[str] = UNSET r"""Discount code to apply to the checkout.""" + ALLOW_TRIAL: Annotated[ + Annotated[ + OptionalNullable[Literal[False]], AfterValidator(validate_const(False)) + ], + pydantic.Field(alias="allow_trial"), + ] = False + r"""Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one.""" + confirmation_token_id: OptionalNullable[str] = UNSET r"""ID of the Stripe confirmation token. Required for fixed prices and custom prices.""" @@ -103,6 +115,7 @@ def serialize_model(self, handler): "customer_billing_address", "customer_tax_id", "discount_code", + "allow_trial", "confirmation_token_id", ] nullable_fields = [ @@ -117,6 +130,7 @@ def serialize_model(self, handler): "customer_billing_address", "customer_tax_id", "discount_code", + "allow_trial", "confirmation_token_id", ] null_default_fields = [] diff --git a/src/polar_sdk/models/checkoutcreate.py b/src/polar_sdk/models/checkoutcreate.py index a33dbefe..8e1fccd9 100644 --- a/src/polar_sdk/models/checkoutcreate.py +++ b/src/polar_sdk/models/checkoutcreate.py @@ -2,12 +2,33 @@ from __future__ import annotations from .addressinput import AddressInput, AddressInputTypedDict +from .productpricecustomcreate import ( + ProductPriceCustomCreate, + ProductPriceCustomCreateTypedDict, +) +from .productpricefixedcreate import ( + ProductPriceFixedCreate, + ProductPriceFixedCreateTypedDict, +) +from .productpricefreecreate import ( + ProductPriceFreeCreate, + ProductPriceFreeCreateTypedDict, +) +from .productpricemeteredunitcreate import ( + ProductPriceMeteredUnitCreate, + ProductPriceMeteredUnitCreateTypedDict, +) +from .productpriceseatbasedcreate import ( + ProductPriceSeatBasedCreate, + ProductPriceSeatBasedCreateTypedDict, +) from .trialinterval import TrialInterval from datetime import datetime from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL -from pydantic import model_serializer +from polar_sdk.utils import get_discriminator +from pydantic import Discriminator, Tag, model_serializer from typing import Dict, List, Optional, Union -from typing_extensions import NotRequired, TypeAliasType, TypedDict +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict CheckoutCreateMetadataTypedDict = TypeAliasType( @@ -40,6 +61,30 @@ ) +CheckoutCreatePricesTypedDict = TypeAliasType( + "CheckoutCreatePricesTypedDict", + Union[ + ProductPriceFreeCreateTypedDict, + ProductPriceFixedCreateTypedDict, + ProductPriceSeatBasedCreateTypedDict, + ProductPriceCustomCreateTypedDict, + ProductPriceMeteredUnitCreateTypedDict, + ], +) + + +CheckoutCreatePrices = Annotated[ + Union[ + Annotated[ProductPriceCustomCreate, Tag("custom")], + Annotated[ProductPriceFixedCreate, Tag("fixed")], + Annotated[ProductPriceFreeCreate, Tag("free")], + Annotated[ProductPriceMeteredUnitCreate, Tag("metered_unit")], + Annotated[ProductPriceSeatBasedCreate, Tag("seat_based")], + ], + Discriminator(lambda m: get_discriminator(m, "amount_type", "amount_type")), +] + + class CheckoutCreateTypedDict(TypedDict): r"""Create a new checkout session from a list of products. Customers will be able to switch between those products. @@ -80,6 +125,8 @@ class CheckoutCreateTypedDict(TypedDict): amount: NotRequired[Nullable[int]] seats: NotRequired[Nullable[int]] r"""Number of seats for seat-based pricing. Required for seat-based products.""" + allow_trial: NotRequired[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" customer_id: NotRequired[Nullable[str]] r"""ID of an existing customer in the organization. The customer data will be pre-filled in the checkout form. The resulting order will be linked to this customer.""" is_business_customer: NotRequired[bool] @@ -113,6 +160,8 @@ class CheckoutCreateTypedDict(TypedDict): r"""When set, a back button will be shown in the checkout to return to this URL.""" embed_origin: NotRequired[Nullable[str]] r"""If you plan to embed the checkout session, set this to the Origin of the embedding page. It'll allow the Polar iframe to communicate with the parent page.""" + prices: NotRequired[Nullable[Dict[str, List[CheckoutCreatePricesTypedDict]]]] + r"""Optional mapping of product IDs to a list of ad-hoc prices to create for that product. If not set, catalog prices of the product will be used.""" class CheckoutCreate(BaseModel): @@ -165,6 +214,9 @@ class CheckoutCreate(BaseModel): seats: OptionalNullable[int] = UNSET r"""Number of seats for seat-based pricing. Required for seat-based products.""" + allow_trial: Optional[bool] = True + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" + customer_id: OptionalNullable[str] = UNSET r"""ID of an existing customer in the organization. The customer data will be pre-filled in the checkout form. The resulting order will be linked to this customer.""" @@ -212,6 +264,9 @@ class CheckoutCreate(BaseModel): embed_origin: OptionalNullable[str] = UNSET r"""If you plan to embed the checkout session, set this to the Origin of the embedding page. It'll allow the Polar iframe to communicate with the parent page.""" + prices: OptionalNullable[Dict[str, List[CheckoutCreatePrices]]] = UNSET + r"""Optional mapping of product IDs to a list of ad-hoc prices to create for that product. If not set, catalog prices of the product will be used.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -224,6 +279,7 @@ def serialize_model(self, handler): "require_billing_address", "amount", "seats", + "allow_trial", "customer_id", "is_business_customer", "external_customer_id", @@ -238,6 +294,7 @@ def serialize_model(self, handler): "success_url", "return_url", "embed_origin", + "prices", ] nullable_fields = [ "trial_interval", @@ -257,6 +314,7 @@ def serialize_model(self, handler): "success_url", "return_url", "embed_origin", + "prices", ] null_default_fields = [] diff --git a/src/polar_sdk/models/checkoutforbiddenerror.py b/src/polar_sdk/models/checkoutforbiddenerror.py index d1093a70..dfd4264c 100644 --- a/src/polar_sdk/models/checkoutforbiddenerror.py +++ b/src/polar_sdk/models/checkoutforbiddenerror.py @@ -4,6 +4,7 @@ from .alreadyactivesubscriptionerror import AlreadyActiveSubscriptionErrorData from .notopencheckout import NotOpenCheckoutData from .paymentnotready import PaymentNotReadyData +from .trialalreadyredeemed import TrialAlreadyRedeemedData from dataclasses import dataclass, field import httpx from polar_sdk.models import PolarError @@ -13,7 +14,12 @@ CheckoutForbiddenErrorUnion = TypeAliasType( "CheckoutForbiddenErrorUnion", - Union[AlreadyActiveSubscriptionErrorData, NotOpenCheckoutData, PaymentNotReadyData], + Union[ + AlreadyActiveSubscriptionErrorData, + NotOpenCheckoutData, + PaymentNotReadyData, + TrialAlreadyRedeemedData, + ], ) diff --git a/src/polar_sdk/models/checkoutorganization.py b/src/polar_sdk/models/checkoutorganization.py new file mode 100644 index 00000000..74820e7a --- /dev/null +++ b/src/polar_sdk/models/checkoutorganization.py @@ -0,0 +1,81 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .subscriptionprorationbehavior import SubscriptionProrationBehavior +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import TypedDict + + +class CheckoutOrganizationTypedDict(TypedDict): + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + id: str + r"""The ID of the object.""" + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + proration_behavior: SubscriptionProrationBehavior + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + + +class CheckoutOrganization(BaseModel): + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + id: str + r"""The ID of the object.""" + + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + + proration_behavior: SubscriptionProrationBehavior + + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [] + nullable_fields = ["modified_at", "avatar_url"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/checkoutpublic.py b/src/polar_sdk/models/checkoutpublic.py index dd183423..76a70f40 100644 --- a/src/polar_sdk/models/checkoutpublic.py +++ b/src/polar_sdk/models/checkoutpublic.py @@ -23,21 +23,22 @@ CheckoutDiscountPercentageRepeatDuration, CheckoutDiscountPercentageRepeatDurationTypedDict, ) +from .checkoutorganization import CheckoutOrganization, CheckoutOrganizationTypedDict from .checkoutproduct import CheckoutProduct, CheckoutProductTypedDict from .checkoutstatus import CheckoutStatus from .legacyrecurringproductprice import ( LegacyRecurringProductPrice, LegacyRecurringProductPriceTypedDict, ) -from .organization import Organization, OrganizationTypedDict from .paymentprocessor import PaymentProcessor from .productprice import ProductPrice, ProductPriceTypedDict from .trialinterval import TrialInterval from datetime import datetime from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +import pydantic from pydantic import model_serializer from typing import Dict, List, Optional, Union -from typing_extensions import NotRequired, TypeAliasType, TypedDict +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict CheckoutPublicCustomFieldDataTypedDict = TypeAliasType( @@ -61,6 +62,17 @@ ) +CheckoutPublicPricesTypedDict = TypeAliasType( + "CheckoutPublicPricesTypedDict", + Union[LegacyRecurringProductPriceTypedDict, ProductPriceTypedDict], +) + + +CheckoutPublicPrices = TypeAliasType( + "CheckoutPublicPrices", Union[LegacyRecurringProductPrice, ProductPrice] +) + + CheckoutPublicDiscountTypedDict = TypeAliasType( "CheckoutPublicDiscountTypedDict", Union[ @@ -118,6 +130,8 @@ class CheckoutPublicTypedDict(TypedDict): r"""Amount in cents, after discounts and taxes.""" currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" active_trial_interval_count: Nullable[int] @@ -165,8 +179,10 @@ class CheckoutPublicTypedDict(TypedDict): r"""Product selected to checkout.""" product_price: Nullable[CheckoutPublicProductPriceTypedDict] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPublicPricesTypedDict]]] + r"""Mapping of product IDs to their list of prices.""" discount: Nullable[CheckoutPublicDiscountTypedDict] - organization: OrganizationTypedDict + organization: CheckoutOrganizationTypedDict attached_custom_fields: Nullable[List[AttachedCustomFieldTypedDict]] custom_field_data: NotRequired[ Dict[str, Nullable[CheckoutPublicCustomFieldDataTypedDict]] @@ -230,6 +246,9 @@ class CheckoutPublic(BaseModel): currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" + active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" @@ -245,7 +264,12 @@ class CheckoutPublic(BaseModel): product_id: Nullable[str] r"""ID of the product to checkout.""" - product_price_id: Nullable[str] + product_price_id: Annotated[ + Nullable[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""ID of the product price to checkout.""" discount_id: Nullable[str] @@ -301,12 +325,20 @@ class CheckoutPublic(BaseModel): product: Nullable[CheckoutProduct] r"""Product selected to checkout.""" - product_price: Nullable[CheckoutPublicProductPrice] + product_price: Annotated[ + Nullable[CheckoutPublicProductPrice], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPublicPrices]]] + r"""Mapping of product IDs to their list of prices.""" + discount: Nullable[CheckoutPublicDiscount] - organization: Organization + organization: CheckoutOrganization attached_custom_fields: Nullable[List[AttachedCustomField]] @@ -331,6 +363,7 @@ def serialize_model(self, handler): "seats", "price_per_seat", "tax_amount", + "allow_trial", "active_trial_interval", "active_trial_interval_count", "trial_end", @@ -346,6 +379,7 @@ def serialize_model(self, handler): "customer_tax_id", "product", "product_price", + "prices", "discount", "attached_custom_fields", ] diff --git a/src/polar_sdk/models/checkoutpublicconfirmed.py b/src/polar_sdk/models/checkoutpublicconfirmed.py index 9ad892fe..7282381a 100644 --- a/src/polar_sdk/models/checkoutpublicconfirmed.py +++ b/src/polar_sdk/models/checkoutpublicconfirmed.py @@ -23,12 +23,12 @@ CheckoutDiscountPercentageRepeatDuration, CheckoutDiscountPercentageRepeatDurationTypedDict, ) +from .checkoutorganization import CheckoutOrganization, CheckoutOrganizationTypedDict from .checkoutproduct import CheckoutProduct, CheckoutProductTypedDict from .legacyrecurringproductprice import ( LegacyRecurringProductPrice, LegacyRecurringProductPriceTypedDict, ) -from .organization import Organization, OrganizationTypedDict from .paymentprocessor import PaymentProcessor from .productprice import ProductPrice, ProductPriceTypedDict from .trialinterval import TrialInterval @@ -64,6 +64,17 @@ ) +CheckoutPublicConfirmedPricesTypedDict = TypeAliasType( + "CheckoutPublicConfirmedPricesTypedDict", + Union[LegacyRecurringProductPriceTypedDict, ProductPriceTypedDict], +) + + +CheckoutPublicConfirmedPrices = TypeAliasType( + "CheckoutPublicConfirmedPrices", Union[LegacyRecurringProductPrice, ProductPrice] +) + + CheckoutPublicConfirmedDiscountTypedDict = TypeAliasType( "CheckoutPublicConfirmedDiscountTypedDict", Union[ @@ -124,6 +135,8 @@ class CheckoutPublicConfirmedTypedDict(TypedDict): r"""Amount in cents, after discounts and taxes.""" currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" active_trial_interval_count: Nullable[int] @@ -171,8 +184,10 @@ class CheckoutPublicConfirmedTypedDict(TypedDict): r"""Product selected to checkout.""" product_price: Nullable[CheckoutPublicConfirmedProductPriceTypedDict] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPublicConfirmedPricesTypedDict]]] + r"""Mapping of product IDs to their list of prices.""" discount: Nullable[CheckoutPublicConfirmedDiscountTypedDict] - organization: OrganizationTypedDict + organization: CheckoutOrganizationTypedDict attached_custom_fields: Nullable[List[AttachedCustomFieldTypedDict]] customer_session_token: str custom_field_data: NotRequired[ @@ -240,6 +255,9 @@ class CheckoutPublicConfirmed(BaseModel): currency: str r"""Currency code of the checkout session.""" + allow_trial: Nullable[bool] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" + active_trial_interval: Nullable[TrialInterval] r"""Interval unit of the trial period, if any. This value is either set from the checkout, if `trial_interval` is set, or from the selected product.""" @@ -255,7 +273,12 @@ class CheckoutPublicConfirmed(BaseModel): product_id: Nullable[str] r"""ID of the product to checkout.""" - product_price_id: Nullable[str] + product_price_id: Annotated[ + Nullable[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""ID of the product price to checkout.""" discount_id: Nullable[str] @@ -311,12 +334,20 @@ class CheckoutPublicConfirmed(BaseModel): product: Nullable[CheckoutProduct] r"""Product selected to checkout.""" - product_price: Nullable[CheckoutPublicConfirmedProductPrice] + product_price: Annotated[ + Nullable[CheckoutPublicConfirmedProductPrice], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] r"""Price of the selected product.""" + prices: Nullable[Dict[str, List[CheckoutPublicConfirmedPrices]]] + r"""Mapping of product IDs to their list of prices.""" + discount: Nullable[CheckoutPublicConfirmedDiscount] - organization: Organization + organization: CheckoutOrganization attached_custom_fields: Nullable[List[AttachedCustomField]] @@ -348,6 +379,7 @@ def serialize_model(self, handler): "seats", "price_per_seat", "tax_amount", + "allow_trial", "active_trial_interval", "active_trial_interval_count", "trial_end", @@ -363,6 +395,7 @@ def serialize_model(self, handler): "customer_tax_id", "product", "product_price", + "prices", "discount", "attached_custom_fields", ] diff --git a/src/polar_sdk/models/checkoutupdate.py b/src/polar_sdk/models/checkoutupdate.py index 8835f502..fe24491d 100644 --- a/src/polar_sdk/models/checkoutupdate.py +++ b/src/polar_sdk/models/checkoutupdate.py @@ -84,6 +84,8 @@ class CheckoutUpdateTypedDict(TypedDict): r"""Whether to allow the customer to apply discount codes. If you apply a discount through `discount_id`, it'll still be applied, but the customer won't be able to change it.""" require_billing_address: NotRequired[Nullable[bool]] r"""Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`.""" + allow_trial: NotRequired[Nullable[bool]] + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" customer_ip_address: NotRequired[Nullable[str]] customer_metadata: NotRequired[ Nullable[Dict[str, CheckoutUpdateCustomerMetadataTypedDict]] @@ -173,6 +175,9 @@ class CheckoutUpdate(BaseModel): require_billing_address: OptionalNullable[bool] = UNSET r"""Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting. If you preset the billing address, this setting will be automatically set to `true`.""" + allow_trial: OptionalNullable[bool] = UNSET + r"""Whether to enable the trial period for the checkout session. If `false`, the trial period will be disabled, even if the selected product has a trial configured.""" + customer_ip_address: OptionalNullable[str] = UNSET customer_metadata: OptionalNullable[Dict[str, CheckoutUpdateCustomerMetadata]] = ( @@ -220,6 +225,7 @@ def serialize_model(self, handler): "discount_id", "allow_discount_codes", "require_billing_address", + "allow_trial", "customer_ip_address", "customer_metadata", "success_url", @@ -242,6 +248,7 @@ def serialize_model(self, handler): "discount_id", "allow_discount_codes", "require_billing_address", + "allow_trial", "customer_ip_address", "customer_metadata", "success_url", diff --git a/src/polar_sdk/models/checkoutupdatepublic.py b/src/polar_sdk/models/checkoutupdatepublic.py index be28d226..d41d005c 100644 --- a/src/polar_sdk/models/checkoutupdatepublic.py +++ b/src/polar_sdk/models/checkoutupdatepublic.py @@ -4,9 +4,11 @@ from .addressinput import AddressInput, AddressInputTypedDict from datetime import datetime from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer -from typing import Dict, Optional, Union +from pydantic.functional_validators import AfterValidator +from typing import Dict, Literal, Optional, Union from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict @@ -42,6 +44,8 @@ class CheckoutUpdatePublicTypedDict(TypedDict): customer_tax_id: NotRequired[Nullable[str]] discount_code: NotRequired[Nullable[str]] r"""Discount code to apply to the checkout.""" + allow_trial: Nullable[Literal[False]] + r"""Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one.""" class CheckoutUpdatePublic(BaseModel): @@ -83,6 +87,14 @@ class CheckoutUpdatePublic(BaseModel): discount_code: OptionalNullable[str] = UNSET r"""Discount code to apply to the checkout.""" + ALLOW_TRIAL: Annotated[ + Annotated[ + OptionalNullable[Literal[False]], AfterValidator(validate_const(False)) + ], + pydantic.Field(alias="allow_trial"), + ] = False + r"""Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -98,6 +110,7 @@ def serialize_model(self, handler): "customer_billing_address", "customer_tax_id", "discount_code", + "allow_trial", ] nullable_fields = [ "product_id", @@ -111,6 +124,7 @@ def serialize_model(self, handler): "customer_billing_address", "customer_tax_id", "discount_code", + "allow_trial", ] null_default_fields = [] diff --git a/src/polar_sdk/models/customerbalance.py b/src/polar_sdk/models/customerbalance.py deleted file mode 100644 index 22060553..00000000 --- a/src/polar_sdk/models/customerbalance.py +++ /dev/null @@ -1,24 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from polar_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class CustomerBalanceTypedDict(TypedDict): - r"""Customer balance information.""" - - balance: int - r"""Customer balance in cents. Positive values represent credit (customer is owed money), negative values represent debit (customer owes money).""" - currency: str - r"""The currency code (ISO 4217) for the balance amount.""" - - -class CustomerBalance(BaseModel): - r"""Customer balance information.""" - - balance: int - r"""Customer balance in cents. Positive values represent credit (customer is owed money), negative values represent debit (customer owes money).""" - - currency: str - r"""The currency code (ISO 4217) for the balance amount.""" diff --git a/src/polar_sdk/models/customerbenefitgrantsortproperty.py b/src/polar_sdk/models/customerbenefitgrantsortproperty.py index abdef2c4..43354a13 100644 --- a/src/polar_sdk/models/customerbenefitgrantsortproperty.py +++ b/src/polar_sdk/models/customerbenefitgrantsortproperty.py @@ -11,3 +11,5 @@ class CustomerBenefitGrantSortProperty(str, Enum): MINUS_TYPE = "-type" ORGANIZATION = "organization" MINUS_ORGANIZATION = "-organization" + PRODUCT_BENEFIT = "product_benefit" + MINUS_PRODUCT_BENEFIT = "-product_benefit" diff --git a/src/polar_sdk/models/customercreate.py b/src/polar_sdk/models/customercreate.py index dc1b689e..039a1cc2 100644 --- a/src/polar_sdk/models/customercreate.py +++ b/src/polar_sdk/models/customercreate.py @@ -2,6 +2,7 @@ from __future__ import annotations from .addressinput import AddressInput, AddressInputTypedDict +from .ownercreate import OwnerCreate, OwnerCreateTypedDict from .taxidformat import TaxIDFormat from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from pydantic import model_serializer @@ -50,6 +51,8 @@ class CustomerCreateTypedDict(TypedDict): tax_id: NotRequired[Nullable[List[Nullable[CustomerCreateTaxIDTypedDict]]]] organization_id: NotRequired[Nullable[str]] r"""The ID of the organization owning the customer. **Required unless you use an organization token.**""" + owner: NotRequired[Nullable[OwnerCreateTypedDict]] + r"""Optional owner member to create with the customer. If not provided, an owner member will be automatically created using the customer's email and name.""" class CustomerCreate(BaseModel): @@ -82,6 +85,9 @@ class CustomerCreate(BaseModel): organization_id: OptionalNullable[str] = UNSET r"""The ID of the organization owning the customer. **Required unless you use an organization token.**""" + owner: OptionalNullable[OwnerCreate] = UNSET + r"""Optional owner member to create with the customer. If not provided, an owner member will be automatically created using the customer's email and name.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -91,6 +97,7 @@ def serialize_model(self, handler): "billing_address", "tax_id", "organization_id", + "owner", ] nullable_fields = [ "external_id", @@ -98,6 +105,7 @@ def serialize_model(self, handler): "billing_address", "tax_id", "organization_id", + "owner", ] null_default_fields = [] diff --git a/src/polar_sdk/models/customercreatedevent.py b/src/polar_sdk/models/customercreatedevent.py index c3135a10..64b9b77b 100644 --- a/src/polar_sdk/models/customercreatedevent.py +++ b/src/polar_sdk/models/customercreatedevent.py @@ -7,7 +7,7 @@ CustomerCreatedMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class CustomerCreatedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: CustomerCreatedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["customer.created"] @@ -61,11 +65,17 @@ class CustomerCreatedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: CustomerCreatedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class CustomerCreatedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/customerdeletedevent.py b/src/polar_sdk/models/customerdeletedevent.py index 657bfdaf..716427bb 100644 --- a/src/polar_sdk/models/customerdeletedevent.py +++ b/src/polar_sdk/models/customerdeletedevent.py @@ -7,7 +7,7 @@ CustomerDeletedMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class CustomerDeletedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: CustomerDeletedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["customer.deleted"] @@ -61,11 +65,17 @@ class CustomerDeletedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: CustomerDeletedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class CustomerDeletedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/customerorderproduct.py b/src/polar_sdk/models/customerorderproduct.py index 2c976d47..c58ff045 100644 --- a/src/polar_sdk/models/customerorderproduct.py +++ b/src/polar_sdk/models/customerorderproduct.py @@ -2,11 +2,11 @@ from __future__ import annotations from .benefitpublic import BenefitPublic, BenefitPublicTypedDict +from .customerorganization import CustomerOrganization, CustomerOrganizationTypedDict from .legacyrecurringproductprice import ( LegacyRecurringProductPrice, LegacyRecurringProductPriceTypedDict, ) -from .organization import Organization, OrganizationTypedDict from .productmediafileread import ProductMediaFileRead, ProductMediaFileReadTypedDict from .productprice import ProductPrice, ProductPriceTypedDict from .subscriptionrecurringinterval import SubscriptionRecurringInterval @@ -60,7 +60,7 @@ class CustomerOrderProductTypedDict(TypedDict): r"""List of benefits granted by the product.""" medias: List[ProductMediaFileReadTypedDict] r"""List of medias associated to the product.""" - organization: OrganizationTypedDict + organization: CustomerOrganizationTypedDict class CustomerOrderProduct(BaseModel): @@ -109,7 +109,7 @@ class CustomerOrderProduct(BaseModel): medias: List[ProductMediaFileRead] r"""List of medias associated to the product.""" - organization: Organization + organization: CustomerOrganization @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/polar_sdk/models/customerorganization.py b/src/polar_sdk/models/customerorganization.py index e98001a0..e0ae9a05 100644 --- a/src/polar_sdk/models/customerorganization.py +++ b/src/polar_sdk/models/customerorganization.py @@ -1,23 +1,81 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .customerproduct import CustomerProduct, CustomerProductTypedDict -from .organization import Organization, OrganizationTypedDict -from polar_sdk.types import BaseModel -from typing import List +from .subscriptionprorationbehavior import SubscriptionProrationBehavior +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from pydantic import model_serializer from typing_extensions import TypedDict class CustomerOrganizationTypedDict(TypedDict): - r"""Schema of an organization and related data for customer portal.""" - - organization: OrganizationTypedDict - products: List[CustomerProductTypedDict] + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + id: str + r"""The ID of the object.""" + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + proration_behavior: SubscriptionProrationBehavior + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" class CustomerOrganization(BaseModel): - r"""Schema of an organization and related data for customer portal.""" + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + id: str + r"""The ID of the object.""" + + name: str + r"""Organization name shown in checkout, customer portal, emails etc.""" + + slug: str + r"""Unique organization slug in checkout, customer portal and credit card statements.""" + + avatar_url: Nullable[str] + r"""Avatar URL shown in checkout, customer portal, emails etc.""" + + proration_behavior: SubscriptionProrationBehavior + + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [] + nullable_fields = ["modified_at", "avatar_url"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member - organization: Organization + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val - products: List[CustomerProduct] + return m diff --git a/src/polar_sdk/models/customerorganizationdata.py b/src/polar_sdk/models/customerorganizationdata.py new file mode 100644 index 00000000..e03b4ac8 --- /dev/null +++ b/src/polar_sdk/models/customerorganizationdata.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .customerorganization import CustomerOrganization, CustomerOrganizationTypedDict +from .customerproduct import CustomerProduct, CustomerProductTypedDict +from polar_sdk.types import BaseModel +from typing import List +from typing_extensions import TypedDict + + +class CustomerOrganizationDataTypedDict(TypedDict): + r"""Schema of an organization and related data for customer portal.""" + + organization: CustomerOrganizationTypedDict + products: List[CustomerProductTypedDict] + + +class CustomerOrganizationData(BaseModel): + r"""Schema of an organization and related data for customer portal.""" + + organization: CustomerOrganization + + products: List[CustomerProduct] diff --git a/src/polar_sdk/models/customers_createop.py b/src/polar_sdk/models/customers_createop.py new file mode 100644 index 00000000..dbb833e6 --- /dev/null +++ b/src/polar_sdk/models/customers_createop.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .customercreate import CustomerCreate, CustomerCreateTypedDict +from polar_sdk.types import BaseModel +from polar_sdk.utils import FieldMetadata, QueryParamMetadata, RequestMetadata +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class CustomersCreateRequestTypedDict(TypedDict): + customer_create: CustomerCreateTypedDict + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" + + +class CustomersCreateRequest(BaseModel): + customer_create: Annotated[ + CustomerCreate, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" diff --git a/src/polar_sdk/models/customers_get_balanceop.py b/src/polar_sdk/models/customers_get_balanceop.py deleted file mode 100644 index 25a8125c..00000000 --- a/src/polar_sdk/models/customers_get_balanceop.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata -from typing_extensions import Annotated, TypedDict - - -class CustomersGetBalanceRequestTypedDict(TypedDict): - id: str - r"""The customer ID.""" - - -class CustomersGetBalanceRequest(BaseModel): - id: Annotated[ - str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) - ] - r"""The customer ID.""" diff --git a/src/polar_sdk/models/customers_get_externalop.py b/src/polar_sdk/models/customers_get_externalop.py index 4581808f..0385281f 100644 --- a/src/polar_sdk/models/customers_get_externalop.py +++ b/src/polar_sdk/models/customers_get_externalop.py @@ -2,13 +2,16 @@ from __future__ import annotations from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata -from typing_extensions import Annotated, TypedDict +from polar_sdk.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CustomersGetExternalRequestTypedDict(TypedDict): external_id: str r"""The customer external ID.""" + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" class CustomersGetExternalRequest(BaseModel): @@ -16,3 +19,9 @@ class CustomersGetExternalRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] r"""The customer external ID.""" + + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" diff --git a/src/polar_sdk/models/customers_getop.py b/src/polar_sdk/models/customers_getop.py index 85cc68d2..1c5173ef 100644 --- a/src/polar_sdk/models/customers_getop.py +++ b/src/polar_sdk/models/customers_getop.py @@ -2,13 +2,16 @@ from __future__ import annotations from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata -from typing_extensions import Annotated, TypedDict +from polar_sdk.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CustomersGetRequestTypedDict(TypedDict): id: str r"""The customer ID.""" + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" class CustomersGetRequest(BaseModel): @@ -16,3 +19,9 @@ class CustomersGetRequest(BaseModel): str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] r"""The customer ID.""" + + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" diff --git a/src/polar_sdk/models/customers_update_externalop.py b/src/polar_sdk/models/customers_update_externalop.py index 4ad51505..b80db210 100644 --- a/src/polar_sdk/models/customers_update_externalop.py +++ b/src/polar_sdk/models/customers_update_externalop.py @@ -6,14 +6,22 @@ CustomerUpdateExternalIDTypedDict, ) from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata -from typing_extensions import Annotated, TypedDict +from polar_sdk.utils import ( + FieldMetadata, + PathParamMetadata, + QueryParamMetadata, + RequestMetadata, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CustomersUpdateExternalRequestTypedDict(TypedDict): external_id: str r"""The customer external ID.""" customer_update_external_id: CustomerUpdateExternalIDTypedDict + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" class CustomersUpdateExternalRequest(BaseModel): @@ -26,3 +34,9 @@ class CustomersUpdateExternalRequest(BaseModel): CustomerUpdateExternalID, FieldMetadata(request=RequestMetadata(media_type="application/json")), ] + + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" diff --git a/src/polar_sdk/models/customers_updateop.py b/src/polar_sdk/models/customers_updateop.py index 4e572d22..6632a3fe 100644 --- a/src/polar_sdk/models/customers_updateop.py +++ b/src/polar_sdk/models/customers_updateop.py @@ -3,14 +3,22 @@ from __future__ import annotations from .customerupdate import CustomerUpdate, CustomerUpdateTypedDict from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata -from typing_extensions import Annotated, TypedDict +from polar_sdk.utils import ( + FieldMetadata, + PathParamMetadata, + QueryParamMetadata, + RequestMetadata, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CustomersUpdateRequestTypedDict(TypedDict): id: str r"""The customer ID.""" customer_update: CustomerUpdateTypedDict + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" class CustomersUpdateRequest(BaseModel): @@ -23,3 +31,9 @@ class CustomersUpdateRequest(BaseModel): CustomerUpdate, FieldMetadata(request=RequestMetadata(media_type="application/json")), ] + + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" diff --git a/src/polar_sdk/models/customersubscriptionproduct.py b/src/polar_sdk/models/customersubscriptionproduct.py index bc994051..94225778 100644 --- a/src/polar_sdk/models/customersubscriptionproduct.py +++ b/src/polar_sdk/models/customersubscriptionproduct.py @@ -2,11 +2,11 @@ from __future__ import annotations from .benefitpublic import BenefitPublic, BenefitPublicTypedDict +from .customerorganization import CustomerOrganization, CustomerOrganizationTypedDict from .legacyrecurringproductprice import ( LegacyRecurringProductPrice, LegacyRecurringProductPriceTypedDict, ) -from .organization import Organization, OrganizationTypedDict from .productmediafileread import ProductMediaFileRead, ProductMediaFileReadTypedDict from .productprice import ProductPrice, ProductPriceTypedDict from .subscriptionrecurringinterval import SubscriptionRecurringInterval @@ -61,7 +61,7 @@ class CustomerSubscriptionProductTypedDict(TypedDict): r"""List of benefits granted by the product.""" medias: List[ProductMediaFileReadTypedDict] r"""List of medias associated to the product.""" - organization: OrganizationTypedDict + organization: CustomerOrganizationTypedDict class CustomerSubscriptionProduct(BaseModel): @@ -110,7 +110,7 @@ class CustomerSubscriptionProduct(BaseModel): medias: List[ProductMediaFileRead] r"""List of medias associated to the product.""" - organization: Organization + organization: CustomerOrganization @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/polar_sdk/models/customerupdatedevent.py b/src/polar_sdk/models/customerupdatedevent.py index fd91ac99..cc6e4573 100644 --- a/src/polar_sdk/models/customerupdatedevent.py +++ b/src/polar_sdk/models/customerupdatedevent.py @@ -7,7 +7,7 @@ CustomerUpdatedMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class CustomerUpdatedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: CustomerUpdatedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["customer.updated"] @@ -61,11 +65,17 @@ class CustomerUpdatedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: CustomerUpdatedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class CustomerUpdatedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/customerwithmembers.py b/src/polar_sdk/models/customerwithmembers.py new file mode 100644 index 00000000..3e9535c1 --- /dev/null +++ b/src/polar_sdk/models/customerwithmembers.py @@ -0,0 +1,139 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .address import Address, AddressTypedDict +from .member import Member, MemberTypedDict +from .taxidformat import TaxIDFormat +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Dict, List, Optional, Union +from typing_extensions import NotRequired, TypeAliasType, TypedDict + + +CustomerWithMembersMetadataTypedDict = TypeAliasType( + "CustomerWithMembersMetadataTypedDict", Union[str, int, float, bool] +) + + +CustomerWithMembersMetadata = TypeAliasType( + "CustomerWithMembersMetadata", Union[str, int, float, bool] +) + + +CustomerWithMembersTaxIDTypedDict = TypeAliasType( + "CustomerWithMembersTaxIDTypedDict", Union[str, TaxIDFormat] +) + + +CustomerWithMembersTaxID = TypeAliasType( + "CustomerWithMembersTaxID", Union[str, TaxIDFormat] +) + + +class CustomerWithMembersTypedDict(TypedDict): + r"""A customer in an organization with their members loaded.""" + + id: str + r"""The ID of the customer.""" + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + metadata: Dict[str, CustomerWithMembersMetadataTypedDict] + external_id: Nullable[str] + r"""The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.""" + email: str + r"""The email address of the customer. This must be unique within the organization.""" + email_verified: bool + r"""Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.""" + name: Nullable[str] + r"""The name of the customer.""" + billing_address: Nullable[AddressTypedDict] + tax_id: Nullable[List[Nullable[CustomerWithMembersTaxIDTypedDict]]] + organization_id: str + r"""The ID of the organization owning the customer.""" + deleted_at: Nullable[datetime] + r"""Timestamp for when the customer was soft deleted.""" + avatar_url: str + members: NotRequired[List[MemberTypedDict]] + r"""List of members belonging to this customer.""" + + +class CustomerWithMembers(BaseModel): + r"""A customer in an organization with their members loaded.""" + + id: str + r"""The ID of the customer.""" + + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + metadata: Dict[str, CustomerWithMembersMetadata] + + external_id: Nullable[str] + r"""The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.""" + + email: str + r"""The email address of the customer. This must be unique within the organization.""" + + email_verified: bool + r"""Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.""" + + name: Nullable[str] + r"""The name of the customer.""" + + billing_address: Nullable[Address] + + tax_id: Nullable[List[Nullable[CustomerWithMembersTaxID]]] + + organization_id: str + r"""The ID of the organization owning the customer.""" + + deleted_at: Nullable[datetime] + r"""Timestamp for when the customer was soft deleted.""" + + avatar_url: str + + members: Optional[List[Member]] = None + r"""List of members belonging to this customer.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["members"] + nullable_fields = [ + "modified_at", + "external_id", + "name", + "billing_address", + "tax_id", + "deleted_at", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/event_types_listop.py b/src/polar_sdk/models/event_types_listop.py new file mode 100644 index 00000000..51b8fc38 --- /dev/null +++ b/src/polar_sdk/models/event_types_listop.py @@ -0,0 +1,200 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .eventsource import EventSource +from .eventtypessortproperty import EventTypesSortProperty +from .listresource_eventtypewithstats_ import ( + ListResourceEventTypeWithStats, + ListResourceEventTypeWithStatsTypedDict, +) +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from polar_sdk.utils import FieldMetadata, QueryParamMetadata +from pydantic import model_serializer +from typing import Callable, List, Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +EventTypesListQueryParamOrganizationIDFilterTypedDict = TypeAliasType( + "EventTypesListQueryParamOrganizationIDFilterTypedDict", Union[str, List[str]] +) +r"""Filter by organization ID.""" + + +EventTypesListQueryParamOrganizationIDFilter = TypeAliasType( + "EventTypesListQueryParamOrganizationIDFilter", Union[str, List[str]] +) +r"""Filter by organization ID.""" + + +EventTypesListQueryParamCustomerIDFilterTypedDict = TypeAliasType( + "EventTypesListQueryParamCustomerIDFilterTypedDict", Union[str, List[str]] +) +r"""Filter by customer ID.""" + + +EventTypesListQueryParamCustomerIDFilter = TypeAliasType( + "EventTypesListQueryParamCustomerIDFilter", Union[str, List[str]] +) +r"""Filter by customer ID.""" + + +EventTypesListQueryParamExternalCustomerIDFilterTypedDict = TypeAliasType( + "EventTypesListQueryParamExternalCustomerIDFilterTypedDict", Union[str, List[str]] +) +r"""Filter by external customer ID.""" + + +EventTypesListQueryParamExternalCustomerIDFilter = TypeAliasType( + "EventTypesListQueryParamExternalCustomerIDFilter", Union[str, List[str]] +) +r"""Filter by external customer ID.""" + + +class EventTypesListRequestTypedDict(TypedDict): + organization_id: NotRequired[ + Nullable[EventTypesListQueryParamOrganizationIDFilterTypedDict] + ] + r"""Filter by organization ID.""" + customer_id: NotRequired[ + Nullable[EventTypesListQueryParamCustomerIDFilterTypedDict] + ] + r"""Filter by customer ID.""" + external_customer_id: NotRequired[ + Nullable[EventTypesListQueryParamExternalCustomerIDFilterTypedDict] + ] + r"""Filter by external customer ID.""" + query: NotRequired[Nullable[str]] + r"""Query to filter event types by name or label.""" + root_events: NotRequired[bool] + r"""When true, only return event types with root events (parent_id IS NULL).""" + parent_id: NotRequired[Nullable[str]] + r"""Filter by specific parent event ID.""" + source: NotRequired[Nullable[EventSource]] + r"""Filter by event source (system or user).""" + page: NotRequired[int] + r"""Page number, defaults to 1.""" + limit: NotRequired[int] + r"""Size of a page, defaults to 10. Maximum is 100.""" + sorting: NotRequired[Nullable[List[EventTypesSortProperty]]] + r"""Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.""" + + +class EventTypesListRequest(BaseModel): + organization_id: Annotated[ + OptionalNullable[EventTypesListQueryParamOrganizationIDFilter], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by organization ID.""" + + customer_id: Annotated[ + OptionalNullable[EventTypesListQueryParamCustomerIDFilter], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by customer ID.""" + + external_customer_id: Annotated[ + OptionalNullable[EventTypesListQueryParamExternalCustomerIDFilter], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by external customer ID.""" + + query: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Query to filter event types by name or label.""" + + root_events: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""When true, only return event types with root events (parent_id IS NULL).""" + + parent_id: Annotated[ + OptionalNullable[str], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by specific parent event ID.""" + + source: Annotated[ + OptionalNullable[EventSource], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by event source (system or user).""" + + page: Annotated[ + Optional[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 1 + r"""Page number, defaults to 1.""" + + limit: Annotated[ + Optional[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 10 + r"""Size of a page, defaults to 10. Maximum is 100.""" + + sorting: Annotated[ + OptionalNullable[List[EventTypesSortProperty]], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "organization_id", + "customer_id", + "external_customer_id", + "query", + "root_events", + "parent_id", + "source", + "page", + "limit", + "sorting", + ] + nullable_fields = [ + "organization_id", + "customer_id", + "external_customer_id", + "query", + "parent_id", + "source", + "sorting", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m + + +class EventTypesListResponseTypedDict(TypedDict): + result: ListResourceEventTypeWithStatsTypedDict + + +class EventTypesListResponse(BaseModel): + next: Callable[[], Optional[EventTypesListResponse]] + + result: ListResourceEventTypeWithStats diff --git a/src/polar_sdk/models/wallets_top_upop.py b/src/polar_sdk/models/event_types_updateop.py similarity index 59% rename from src/polar_sdk/models/wallets_top_upop.py rename to src/polar_sdk/models/event_types_updateop.py index 9e51bac2..47a285d6 100644 --- a/src/polar_sdk/models/wallets_top_upop.py +++ b/src/polar_sdk/models/event_types_updateop.py @@ -1,25 +1,25 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .wallettopupcreate import WalletTopUpCreate, WalletTopUpCreateTypedDict +from .eventtypeupdate import EventTypeUpdate, EventTypeUpdateTypedDict from polar_sdk.types import BaseModel from polar_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata from typing_extensions import Annotated, TypedDict -class WalletsTopUpRequestTypedDict(TypedDict): +class EventTypesUpdateRequestTypedDict(TypedDict): id: str - r"""The wallet ID.""" - wallet_top_up_create: WalletTopUpCreateTypedDict + r"""The event type ID.""" + event_type_update: EventTypeUpdateTypedDict -class WalletsTopUpRequest(BaseModel): +class EventTypesUpdateRequest(BaseModel): id: Annotated[ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) ] - r"""The wallet ID.""" + r"""The event type ID.""" - wallet_top_up_create: Annotated[ - WalletTopUpCreate, + event_type_update: Annotated[ + EventTypeUpdate, FieldMetadata(request=RequestMetadata(media_type="application/json")), ] diff --git a/src/polar_sdk/models/eventtype.py b/src/polar_sdk/models/eventtype.py new file mode 100644 index 00000000..196e91d1 --- /dev/null +++ b/src/polar_sdk/models/eventtype.py @@ -0,0 +1,77 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class EventTypeTypedDict(TypedDict): + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + id: str + r"""The ID of the object.""" + name: str + r"""The name of the event type.""" + label: str + r"""The label for the event type.""" + organization_id: str + r"""The ID of the organization owning the event type.""" + label_property_selector: NotRequired[Nullable[str]] + r"""Property path to extract dynamic label from event metadata.""" + + +class EventType(BaseModel): + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + id: str + r"""The ID of the object.""" + + name: str + r"""The name of the event type.""" + + label: str + r"""The label for the event type.""" + + organization_id: str + r"""The ID of the organization owning the event type.""" + + label_property_selector: OptionalNullable[str] = UNSET + r"""Property path to extract dynamic label from event metadata.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["label_property_selector"] + nullable_fields = ["modified_at", "label_property_selector"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/eventtypessortproperty.py b/src/polar_sdk/models/eventtypessortproperty.py new file mode 100644 index 00000000..5a837880 --- /dev/null +++ b/src/polar_sdk/models/eventtypessortproperty.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + + +class EventTypesSortProperty(str, Enum): + NAME = "name" + MINUS_NAME = "-name" + LABEL = "label" + MINUS_LABEL = "-label" + OCCURRENCES = "occurrences" + MINUS_OCCURRENCES = "-occurrences" + FIRST_SEEN = "first_seen" + MINUS_FIRST_SEEN = "-first_seen" + LAST_SEEN = "last_seen" + MINUS_LAST_SEEN = "-last_seen" diff --git a/src/polar_sdk/models/eventtypeupdate.py b/src/polar_sdk/models/eventtypeupdate.py new file mode 100644 index 00000000..9e397043 --- /dev/null +++ b/src/polar_sdk/models/eventtypeupdate.py @@ -0,0 +1,51 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class EventTypeUpdateTypedDict(TypedDict): + label: str + r"""The label for the event type.""" + label_property_selector: NotRequired[Nullable[str]] + r"""Property path to extract dynamic label from event metadata (e.g., 'subject' or 'metadata.subject').""" + + +class EventTypeUpdate(BaseModel): + label: str + r"""The label for the event type.""" + + label_property_selector: OptionalNullable[str] = UNSET + r"""Property path to extract dynamic label from event metadata (e.g., 'subject' or 'metadata.subject').""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["label_property_selector"] + nullable_fields = ["label_property_selector"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/eventtypewithstats.py b/src/polar_sdk/models/eventtypewithstats.py new file mode 100644 index 00000000..309994fe --- /dev/null +++ b/src/polar_sdk/models/eventtypewithstats.py @@ -0,0 +1,96 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .eventsource import EventSource +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class EventTypeWithStatsTypedDict(TypedDict): + created_at: datetime + r"""Creation timestamp of the object.""" + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + id: str + r"""The ID of the object.""" + name: str + r"""The name of the event type.""" + label: str + r"""The label for the event type.""" + organization_id: str + r"""The ID of the organization owning the event type.""" + source: EventSource + occurrences: int + r"""Number of times the event has occurred.""" + first_seen: datetime + r"""The first time the event occurred.""" + last_seen: datetime + r"""The last time the event occurred.""" + label_property_selector: NotRequired[Nullable[str]] + r"""Property path to extract dynamic label from event metadata.""" + + +class EventTypeWithStats(BaseModel): + created_at: datetime + r"""Creation timestamp of the object.""" + + modified_at: Nullable[datetime] + r"""Last modification timestamp of the object.""" + + id: str + r"""The ID of the object.""" + + name: str + r"""The name of the event type.""" + + label: str + r"""The label for the event type.""" + + organization_id: str + r"""The ID of the organization owning the event type.""" + + source: EventSource + + occurrences: int + r"""Number of times the event has occurred.""" + + first_seen: datetime + r"""The first time the event occurred.""" + + last_seen: datetime + r"""The last time the event occurred.""" + + label_property_selector: OptionalNullable[str] = UNSET + r"""Property path to extract dynamic label from event metadata.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["label_property_selector"] + nullable_fields = ["modified_at", "label_property_selector"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/legacyrecurringproductpricecustom.py b/src/polar_sdk/models/legacyrecurringproductpricecustom.py index aa374bbf..1c3c1ed9 100644 --- a/src/polar_sdk/models/legacyrecurringproductpricecustom.py +++ b/src/polar_sdk/models/legacyrecurringproductpricecustom.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL @@ -24,6 +25,7 @@ class LegacyRecurringProductPriceCustomTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -58,6 +60,8 @@ class LegacyRecurringProductPriceCustom(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/legacyrecurringproductpricefixed.py b/src/polar_sdk/models/legacyrecurringproductpricefixed.py index 52cfd7ef..f855f0d9 100644 --- a/src/polar_sdk/models/legacyrecurringproductpricefixed.py +++ b/src/polar_sdk/models/legacyrecurringproductpricefixed.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL @@ -24,6 +25,7 @@ class LegacyRecurringProductPriceFixedTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -54,6 +56,8 @@ class LegacyRecurringProductPriceFixed(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/legacyrecurringproductpricefree.py b/src/polar_sdk/models/legacyrecurringproductpricefree.py index 7f8a4072..a4404125 100644 --- a/src/polar_sdk/models/legacyrecurringproductpricefree.py +++ b/src/polar_sdk/models/legacyrecurringproductpricefree.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL @@ -24,6 +25,7 @@ class LegacyRecurringProductPriceFreeTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -50,6 +52,8 @@ class LegacyRecurringProductPriceFree(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/listresource_customerwithmembers_.py b/src/polar_sdk/models/listresource_customerwithmembers_.py new file mode 100644 index 00000000..d1697273 --- /dev/null +++ b/src/polar_sdk/models/listresource_customerwithmembers_.py @@ -0,0 +1,19 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .customerwithmembers import CustomerWithMembers, CustomerWithMembersTypedDict +from .pagination import Pagination, PaginationTypedDict +from polar_sdk.types import BaseModel +from typing import List +from typing_extensions import TypedDict + + +class ListResourceCustomerWithMembersTypedDict(TypedDict): + items: List[CustomerWithMembersTypedDict] + pagination: PaginationTypedDict + + +class ListResourceCustomerWithMembers(BaseModel): + items: List[CustomerWithMembers] + + pagination: Pagination diff --git a/src/polar_sdk/models/listresource_customer_.py b/src/polar_sdk/models/listresource_eventtypewithstats_.py similarity index 55% rename from src/polar_sdk/models/listresource_customer_.py rename to src/polar_sdk/models/listresource_eventtypewithstats_.py index 9c9f4638..5c7b9a25 100644 --- a/src/polar_sdk/models/listresource_customer_.py +++ b/src/polar_sdk/models/listresource_eventtypewithstats_.py @@ -1,19 +1,19 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .customer import Customer, CustomerTypedDict +from .eventtypewithstats import EventTypeWithStats, EventTypeWithStatsTypedDict from .pagination import Pagination, PaginationTypedDict from polar_sdk.types import BaseModel from typing import List from typing_extensions import TypedDict -class ListResourceCustomerTypedDict(TypedDict): - items: List[CustomerTypedDict] +class ListResourceEventTypeWithStatsTypedDict(TypedDict): + items: List[EventTypeWithStatsTypedDict] pagination: PaginationTypedDict -class ListResourceCustomer(BaseModel): - items: List[Customer] +class ListResourceEventTypeWithStats(BaseModel): + items: List[EventTypeWithStats] pagination: Pagination diff --git a/src/polar_sdk/models/listresource_wallet_.py b/src/polar_sdk/models/listresource_member_.py similarity index 64% rename from src/polar_sdk/models/listresource_wallet_.py rename to src/polar_sdk/models/listresource_member_.py index 9540392f..86755b6b 100644 --- a/src/polar_sdk/models/listresource_wallet_.py +++ b/src/polar_sdk/models/listresource_member_.py @@ -1,19 +1,19 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .member import Member, MemberTypedDict from .pagination import Pagination, PaginationTypedDict -from .wallet import Wallet, WalletTypedDict from polar_sdk.types import BaseModel from typing import List from typing_extensions import TypedDict -class ListResourceWalletTypedDict(TypedDict): - items: List[WalletTypedDict] +class ListResourceMemberTypedDict(TypedDict): + items: List[MemberTypedDict] pagination: PaginationTypedDict -class ListResourceWallet(BaseModel): - items: List[Wallet] +class ListResourceMember(BaseModel): + items: List[Member] pagination: Pagination diff --git a/src/polar_sdk/models/wallet.py b/src/polar_sdk/models/member.py similarity index 62% rename from src/polar_sdk/models/wallet.py rename to src/polar_sdk/models/member.py index 91baf772..bb3cee06 100644 --- a/src/polar_sdk/models/wallet.py +++ b/src/polar_sdk/models/member.py @@ -1,40 +1,38 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .memberrole import MemberRole from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from pydantic import model_serializer from typing_extensions import TypedDict -class WalletTypedDict(TypedDict): - r"""A wallet represents a customer's balance in your organization. - - They can top-up their wallet, and use the balance to pay for usage. - """ +class MemberTypedDict(TypedDict): + r"""A member of a customer.""" id: str - r"""The ID of the object.""" + r"""The ID of the member.""" created_at: datetime r"""Creation timestamp of the object.""" modified_at: Nullable[datetime] r"""Last modification timestamp of the object.""" customer_id: str - r"""The ID of the customer that owns the wallet.""" - balance: int - r"""The current balance of the wallet, in cents.""" - currency: str - r"""The currency of the wallet.""" - + r"""The ID of the customer this member belongs to.""" + email: str + r"""The email address of the member.""" + name: Nullable[str] + r"""The name of the member.""" + external_id: Nullable[str] + r"""The ID of the member in your system. This must be unique within the customer.""" + role: MemberRole -class Wallet(BaseModel): - r"""A wallet represents a customer's balance in your organization. - They can top-up their wallet, and use the balance to pay for usage. - """ +class Member(BaseModel): + r"""A member of a customer.""" id: str - r"""The ID of the object.""" + r"""The ID of the member.""" created_at: datetime r"""Creation timestamp of the object.""" @@ -43,18 +41,23 @@ class Wallet(BaseModel): r"""Last modification timestamp of the object.""" customer_id: str - r"""The ID of the customer that owns the wallet.""" + r"""The ID of the customer this member belongs to.""" + + email: str + r"""The email address of the member.""" + + name: Nullable[str] + r"""The name of the member.""" - balance: int - r"""The current balance of the wallet, in cents.""" + external_id: Nullable[str] + r"""The ID of the member in your system. This must be unique within the customer.""" - currency: str - r"""The currency of the wallet.""" + role: MemberRole @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [] - nullable_fields = ["modified_at"] + nullable_fields = ["modified_at", "name", "external_id"] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/memberrole.py b/src/polar_sdk/models/memberrole.py new file mode 100644 index 00000000..b68e189c --- /dev/null +++ b/src/polar_sdk/models/memberrole.py @@ -0,0 +1,10 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + + +class MemberRole(str, Enum): + OWNER = "owner" + BILLING_MANAGER = "billing_manager" + MEMBER = "member" diff --git a/src/polar_sdk/models/wallets_listop.py b/src/polar_sdk/models/members_list_membersop.py similarity index 53% rename from src/polar_sdk/models/wallets_listop.py rename to src/polar_sdk/models/members_list_membersop.py index 2ec59eb1..dedd9020 100644 --- a/src/polar_sdk/models/wallets_listop.py +++ b/src/polar_sdk/models/members_list_membersop.py @@ -1,63 +1,29 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .listresource_wallet_ import ListResourceWallet, ListResourceWalletTypedDict -from .walletsortproperty import WalletSortProperty +from .listresource_member_ import ListResourceMember, ListResourceMemberTypedDict +from .membersortproperty import MemberSortProperty from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import FieldMetadata, QueryParamMetadata from pydantic import model_serializer -from typing import Callable, List, Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict +from typing import Callable, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict -WalletsListQueryParamOrganizationIDFilterTypedDict = TypeAliasType( - "WalletsListQueryParamOrganizationIDFilterTypedDict", Union[str, List[str]] -) -r"""Filter by organization ID.""" - - -WalletsListQueryParamOrganizationIDFilter = TypeAliasType( - "WalletsListQueryParamOrganizationIDFilter", Union[str, List[str]] -) -r"""Filter by organization ID.""" - - -WalletsListQueryParamCustomerIDFilterTypedDict = TypeAliasType( - "WalletsListQueryParamCustomerIDFilterTypedDict", Union[str, List[str]] -) -r"""Filter by customer ID.""" - - -WalletsListQueryParamCustomerIDFilter = TypeAliasType( - "WalletsListQueryParamCustomerIDFilter", Union[str, List[str]] -) -r"""Filter by customer ID.""" - - -class WalletsListRequestTypedDict(TypedDict): - organization_id: NotRequired[ - Nullable[WalletsListQueryParamOrganizationIDFilterTypedDict] - ] - r"""Filter by organization ID.""" - customer_id: NotRequired[Nullable[WalletsListQueryParamCustomerIDFilterTypedDict]] +class MembersListMembersRequestTypedDict(TypedDict): + customer_id: NotRequired[Nullable[str]] r"""Filter by customer ID.""" page: NotRequired[int] r"""Page number, defaults to 1.""" limit: NotRequired[int] r"""Size of a page, defaults to 10. Maximum is 100.""" - sorting: NotRequired[Nullable[List[WalletSortProperty]]] + sorting: NotRequired[Nullable[List[MemberSortProperty]]] r"""Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.""" -class WalletsListRequest(BaseModel): - organization_id: Annotated[ - OptionalNullable[WalletsListQueryParamOrganizationIDFilter], - FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), - ] = UNSET - r"""Filter by organization ID.""" - +class MembersListMembersRequest(BaseModel): customer_id: Annotated[ - OptionalNullable[WalletsListQueryParamCustomerIDFilter], + OptionalNullable[str], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = UNSET r"""Filter by customer ID.""" @@ -75,15 +41,15 @@ class WalletsListRequest(BaseModel): r"""Size of a page, defaults to 10. Maximum is 100.""" sorting: Annotated[ - OptionalNullable[List[WalletSortProperty]], + OptionalNullable[List[MemberSortProperty]], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = UNSET r"""Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["organization_id", "customer_id", "page", "limit", "sorting"] - nullable_fields = ["organization_id", "customer_id", "sorting"] + optional_fields = ["customer_id", "page", "limit", "sorting"] + nullable_fields = ["customer_id", "sorting"] null_default_fields = [] serialized = handler(self) @@ -111,11 +77,11 @@ def serialize_model(self, handler): return m -class WalletsListResponseTypedDict(TypedDict): - result: ListResourceWalletTypedDict +class MembersListMembersResponseTypedDict(TypedDict): + result: ListResourceMemberTypedDict -class WalletsListResponse(BaseModel): - next: Callable[[], Optional[WalletsListResponse]] +class MembersListMembersResponse(BaseModel): + next: Callable[[], Optional[MembersListMembersResponse]] - result: ListResourceWallet + result: ListResourceMember diff --git a/src/polar_sdk/models/walletsortproperty.py b/src/polar_sdk/models/membersortproperty.py similarity index 68% rename from src/polar_sdk/models/walletsortproperty.py rename to src/polar_sdk/models/membersortproperty.py index bc7929f4..0fc9b5c9 100644 --- a/src/polar_sdk/models/walletsortproperty.py +++ b/src/polar_sdk/models/membersortproperty.py @@ -4,8 +4,6 @@ from enum import Enum -class WalletSortProperty(str, Enum): +class MemberSortProperty(str, Enum): CREATED_AT = "created_at" MINUS_CREATED_AT = "-created_at" - BALANCE = "balance" - MINUS_BALANCE = "-balance" diff --git a/src/polar_sdk/models/metercreditevent.py b/src/polar_sdk/models/metercreditevent.py index 32dd546d..a8021d57 100644 --- a/src/polar_sdk/models/metercreditevent.py +++ b/src/polar_sdk/models/metercreditevent.py @@ -4,7 +4,7 @@ from .customer import Customer, CustomerTypedDict from .metercreditedmetadata import MeterCreditedMetadata, MeterCreditedMetadataTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class MeterCreditEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: MeterCreditedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["meter.credited"] @@ -58,11 +62,17 @@ class MeterCreditEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: MeterCreditedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -79,8 +89,13 @@ class MeterCreditEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/meterresetevent.py b/src/polar_sdk/models/meterresetevent.py index 17deccfa..c4205a8c 100644 --- a/src/polar_sdk/models/meterresetevent.py +++ b/src/polar_sdk/models/meterresetevent.py @@ -4,7 +4,7 @@ from .customer import Customer, CustomerTypedDict from .meterresetmetadata import MeterResetMetadata, MeterResetMetadataTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class MeterResetEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: MeterResetMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["meter.reset"] @@ -58,11 +62,17 @@ class MeterResetEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: MeterResetMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -79,8 +89,13 @@ class MeterResetEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/metricperiod.py b/src/polar_sdk/models/metricperiod.py index 1d99b98a..7bd158c3 100644 --- a/src/polar_sdk/models/metricperiod.py +++ b/src/polar_sdk/models/metricperiod.py @@ -2,9 +2,10 @@ from __future__ import annotations from datetime import datetime -from polar_sdk.types import BaseModel +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer from typing import Union -from typing_extensions import TypeAliasType, TypedDict +from typing_extensions import NotRequired, TypeAliasType, TypedDict OrdersModelTypedDict = TypeAliasType("OrdersModelTypedDict", Union[int, float]) @@ -305,12 +306,26 @@ ) +ChurnedSubscriptionsTypedDict = TypeAliasType( + "ChurnedSubscriptionsTypedDict", Union[int, float] +) + + +ChurnedSubscriptions = TypeAliasType("ChurnedSubscriptions", Union[int, float]) + + ChurnRateTypedDict = TypeAliasType("ChurnRateTypedDict", Union[int, float]) ChurnRate = TypeAliasType("ChurnRate", Union[int, float]) +LtvTypedDict = TypeAliasType("LtvTypedDict", Union[int, float]) + + +Ltv = TypeAliasType("Ltv", Union[int, float]) + + GrossMarginTypedDict = TypeAliasType("GrossMarginTypedDict", Union[int, float]) @@ -334,134 +349,292 @@ class MetricPeriodTypedDict(TypedDict): timestamp: datetime r"""Timestamp of this period data.""" - orders: OrdersModelTypedDict - revenue: RevenueTypedDict - net_revenue: NetRevenueTypedDict - cumulative_revenue: CumulativeRevenueTypedDict - net_cumulative_revenue: NetCumulativeRevenueTypedDict - costs: CostsTypedDict - cumulative_costs: CumulativeCostsTypedDict - average_order_value: AverageOrderValueTypedDict - net_average_order_value: NetAverageOrderValueTypedDict - average_revenue_per_user: AverageRevenuePerUserTypedDict - cost_per_user: CostPerUserTypedDict - active_user_by_event: ActiveUserByEventTypedDict - one_time_products: OneTimeProductsTypedDict - one_time_products_revenue: OneTimeProductsRevenueTypedDict - one_time_products_net_revenue: OneTimeProductsNetRevenueTypedDict - new_subscriptions: NewSubscriptionsTypedDict - new_subscriptions_revenue: NewSubscriptionsRevenueTypedDict - new_subscriptions_net_revenue: NewSubscriptionsNetRevenueTypedDict - renewed_subscriptions: RenewedSubscriptionsTypedDict - renewed_subscriptions_revenue: RenewedSubscriptionsRevenueTypedDict - renewed_subscriptions_net_revenue: RenewedSubscriptionsNetRevenueTypedDict - active_subscriptions: ActiveSubscriptionsTypedDict - monthly_recurring_revenue: MonthlyRecurringRevenueTypedDict - committed_monthly_recurring_revenue: CommittedMonthlyRecurringRevenueTypedDict - checkouts: CheckoutsModelTypedDict - succeeded_checkouts: SucceededCheckoutsTypedDict - checkouts_conversion: CheckoutsConversionTypedDict - canceled_subscriptions: CanceledSubscriptionsTypedDict - canceled_subscriptions_customer_service: ( - CanceledSubscriptionsCustomerServiceTypedDict - ) - canceled_subscriptions_low_quality: CanceledSubscriptionsLowQualityTypedDict - canceled_subscriptions_missing_features: ( - CanceledSubscriptionsMissingFeaturesTypedDict - ) - canceled_subscriptions_switched_service: ( - CanceledSubscriptionsSwitchedServiceTypedDict - ) - canceled_subscriptions_too_complex: CanceledSubscriptionsTooComplexTypedDict - canceled_subscriptions_too_expensive: CanceledSubscriptionsTooExpensiveTypedDict - canceled_subscriptions_unused: CanceledSubscriptionsUnusedTypedDict - canceled_subscriptions_other: CanceledSubscriptionsOtherTypedDict - churn_rate: ChurnRateTypedDict - gross_margin: GrossMarginTypedDict - gross_margin_percentage: GrossMarginPercentageTypedDict - cashflow: CashflowTypedDict + orders: NotRequired[Nullable[OrdersModelTypedDict]] + revenue: NotRequired[Nullable[RevenueTypedDict]] + net_revenue: NotRequired[Nullable[NetRevenueTypedDict]] + cumulative_revenue: NotRequired[Nullable[CumulativeRevenueTypedDict]] + net_cumulative_revenue: NotRequired[Nullable[NetCumulativeRevenueTypedDict]] + costs: NotRequired[Nullable[CostsTypedDict]] + cumulative_costs: NotRequired[Nullable[CumulativeCostsTypedDict]] + average_order_value: NotRequired[Nullable[AverageOrderValueTypedDict]] + net_average_order_value: NotRequired[Nullable[NetAverageOrderValueTypedDict]] + average_revenue_per_user: NotRequired[Nullable[AverageRevenuePerUserTypedDict]] + cost_per_user: NotRequired[Nullable[CostPerUserTypedDict]] + active_user_by_event: NotRequired[Nullable[ActiveUserByEventTypedDict]] + one_time_products: NotRequired[Nullable[OneTimeProductsTypedDict]] + one_time_products_revenue: NotRequired[Nullable[OneTimeProductsRevenueTypedDict]] + one_time_products_net_revenue: NotRequired[ + Nullable[OneTimeProductsNetRevenueTypedDict] + ] + new_subscriptions: NotRequired[Nullable[NewSubscriptionsTypedDict]] + new_subscriptions_revenue: NotRequired[Nullable[NewSubscriptionsRevenueTypedDict]] + new_subscriptions_net_revenue: NotRequired[ + Nullable[NewSubscriptionsNetRevenueTypedDict] + ] + renewed_subscriptions: NotRequired[Nullable[RenewedSubscriptionsTypedDict]] + renewed_subscriptions_revenue: NotRequired[ + Nullable[RenewedSubscriptionsRevenueTypedDict] + ] + renewed_subscriptions_net_revenue: NotRequired[ + Nullable[RenewedSubscriptionsNetRevenueTypedDict] + ] + active_subscriptions: NotRequired[Nullable[ActiveSubscriptionsTypedDict]] + monthly_recurring_revenue: NotRequired[Nullable[MonthlyRecurringRevenueTypedDict]] + committed_monthly_recurring_revenue: NotRequired[ + Nullable[CommittedMonthlyRecurringRevenueTypedDict] + ] + checkouts: NotRequired[Nullable[CheckoutsModelTypedDict]] + succeeded_checkouts: NotRequired[Nullable[SucceededCheckoutsTypedDict]] + checkouts_conversion: NotRequired[Nullable[CheckoutsConversionTypedDict]] + canceled_subscriptions: NotRequired[Nullable[CanceledSubscriptionsTypedDict]] + canceled_subscriptions_customer_service: NotRequired[ + Nullable[CanceledSubscriptionsCustomerServiceTypedDict] + ] + canceled_subscriptions_low_quality: NotRequired[ + Nullable[CanceledSubscriptionsLowQualityTypedDict] + ] + canceled_subscriptions_missing_features: NotRequired[ + Nullable[CanceledSubscriptionsMissingFeaturesTypedDict] + ] + canceled_subscriptions_switched_service: NotRequired[ + Nullable[CanceledSubscriptionsSwitchedServiceTypedDict] + ] + canceled_subscriptions_too_complex: NotRequired[ + Nullable[CanceledSubscriptionsTooComplexTypedDict] + ] + canceled_subscriptions_too_expensive: NotRequired[ + Nullable[CanceledSubscriptionsTooExpensiveTypedDict] + ] + canceled_subscriptions_unused: NotRequired[ + Nullable[CanceledSubscriptionsUnusedTypedDict] + ] + canceled_subscriptions_other: NotRequired[ + Nullable[CanceledSubscriptionsOtherTypedDict] + ] + churned_subscriptions: NotRequired[Nullable[ChurnedSubscriptionsTypedDict]] + churn_rate: NotRequired[Nullable[ChurnRateTypedDict]] + ltv: NotRequired[Nullable[LtvTypedDict]] + gross_margin: NotRequired[Nullable[GrossMarginTypedDict]] + gross_margin_percentage: NotRequired[Nullable[GrossMarginPercentageTypedDict]] + cashflow: NotRequired[Nullable[CashflowTypedDict]] class MetricPeriod(BaseModel): timestamp: datetime r"""Timestamp of this period data.""" - orders: OrdersModel - - revenue: Revenue - - net_revenue: NetRevenue - - cumulative_revenue: CumulativeRevenue - - net_cumulative_revenue: NetCumulativeRevenue - - costs: Costs - - cumulative_costs: CumulativeCosts - - average_order_value: AverageOrderValue - - net_average_order_value: NetAverageOrderValue + orders: OptionalNullable[OrdersModel] = UNSET - average_revenue_per_user: AverageRevenuePerUser + revenue: OptionalNullable[Revenue] = UNSET - cost_per_user: CostPerUser + net_revenue: OptionalNullable[NetRevenue] = UNSET - active_user_by_event: ActiveUserByEvent + cumulative_revenue: OptionalNullable[CumulativeRevenue] = UNSET - one_time_products: OneTimeProducts + net_cumulative_revenue: OptionalNullable[NetCumulativeRevenue] = UNSET - one_time_products_revenue: OneTimeProductsRevenue + costs: OptionalNullable[Costs] = UNSET - one_time_products_net_revenue: OneTimeProductsNetRevenue + cumulative_costs: OptionalNullable[CumulativeCosts] = UNSET - new_subscriptions: NewSubscriptions + average_order_value: OptionalNullable[AverageOrderValue] = UNSET - new_subscriptions_revenue: NewSubscriptionsRevenue + net_average_order_value: OptionalNullable[NetAverageOrderValue] = UNSET - new_subscriptions_net_revenue: NewSubscriptionsNetRevenue + average_revenue_per_user: OptionalNullable[AverageRevenuePerUser] = UNSET - renewed_subscriptions: RenewedSubscriptions + cost_per_user: OptionalNullable[CostPerUser] = UNSET - renewed_subscriptions_revenue: RenewedSubscriptionsRevenue + active_user_by_event: OptionalNullable[ActiveUserByEvent] = UNSET - renewed_subscriptions_net_revenue: RenewedSubscriptionsNetRevenue + one_time_products: OptionalNullable[OneTimeProducts] = UNSET - active_subscriptions: ActiveSubscriptions + one_time_products_revenue: OptionalNullable[OneTimeProductsRevenue] = UNSET - monthly_recurring_revenue: MonthlyRecurringRevenue + one_time_products_net_revenue: OptionalNullable[OneTimeProductsNetRevenue] = UNSET - committed_monthly_recurring_revenue: CommittedMonthlyRecurringRevenue + new_subscriptions: OptionalNullable[NewSubscriptions] = UNSET - checkouts: CheckoutsModel + new_subscriptions_revenue: OptionalNullable[NewSubscriptionsRevenue] = UNSET - succeeded_checkouts: SucceededCheckouts + new_subscriptions_net_revenue: OptionalNullable[NewSubscriptionsNetRevenue] = UNSET - checkouts_conversion: CheckoutsConversion + renewed_subscriptions: OptionalNullable[RenewedSubscriptions] = UNSET - canceled_subscriptions: CanceledSubscriptions + renewed_subscriptions_revenue: OptionalNullable[RenewedSubscriptionsRevenue] = UNSET - canceled_subscriptions_customer_service: CanceledSubscriptionsCustomerService + renewed_subscriptions_net_revenue: OptionalNullable[ + RenewedSubscriptionsNetRevenue + ] = UNSET - canceled_subscriptions_low_quality: CanceledSubscriptionsLowQuality + active_subscriptions: OptionalNullable[ActiveSubscriptions] = UNSET - canceled_subscriptions_missing_features: CanceledSubscriptionsMissingFeatures + monthly_recurring_revenue: OptionalNullable[MonthlyRecurringRevenue] = UNSET - canceled_subscriptions_switched_service: CanceledSubscriptionsSwitchedService + committed_monthly_recurring_revenue: OptionalNullable[ + CommittedMonthlyRecurringRevenue + ] = UNSET - canceled_subscriptions_too_complex: CanceledSubscriptionsTooComplex + checkouts: OptionalNullable[CheckoutsModel] = UNSET - canceled_subscriptions_too_expensive: CanceledSubscriptionsTooExpensive + succeeded_checkouts: OptionalNullable[SucceededCheckouts] = UNSET - canceled_subscriptions_unused: CanceledSubscriptionsUnused + checkouts_conversion: OptionalNullable[CheckoutsConversion] = UNSET - canceled_subscriptions_other: CanceledSubscriptionsOther + canceled_subscriptions: OptionalNullable[CanceledSubscriptions] = UNSET - churn_rate: ChurnRate + canceled_subscriptions_customer_service: OptionalNullable[ + CanceledSubscriptionsCustomerService + ] = UNSET - gross_margin: GrossMargin + canceled_subscriptions_low_quality: OptionalNullable[ + CanceledSubscriptionsLowQuality + ] = UNSET - gross_margin_percentage: GrossMarginPercentage + canceled_subscriptions_missing_features: OptionalNullable[ + CanceledSubscriptionsMissingFeatures + ] = UNSET - cashflow: Cashflow + canceled_subscriptions_switched_service: OptionalNullable[ + CanceledSubscriptionsSwitchedService + ] = UNSET + + canceled_subscriptions_too_complex: OptionalNullable[ + CanceledSubscriptionsTooComplex + ] = UNSET + + canceled_subscriptions_too_expensive: OptionalNullable[ + CanceledSubscriptionsTooExpensive + ] = UNSET + + canceled_subscriptions_unused: OptionalNullable[CanceledSubscriptionsUnused] = UNSET + + canceled_subscriptions_other: OptionalNullable[CanceledSubscriptionsOther] = UNSET + + churned_subscriptions: OptionalNullable[ChurnedSubscriptions] = UNSET + + churn_rate: OptionalNullable[ChurnRate] = UNSET + + ltv: OptionalNullable[Ltv] = UNSET + + gross_margin: OptionalNullable[GrossMargin] = UNSET + + gross_margin_percentage: OptionalNullable[GrossMarginPercentage] = UNSET + + cashflow: OptionalNullable[Cashflow] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + nullable_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/metrics.py b/src/polar_sdk/models/metrics.py index 7ed88d60..3fafe20b 100644 --- a/src/polar_sdk/models/metrics.py +++ b/src/polar_sdk/models/metrics.py @@ -2,210 +2,253 @@ from __future__ import annotations from .metric import Metric, MetricTypedDict -from polar_sdk.types import BaseModel -from typing_extensions import TypedDict +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict class MetricsTypedDict(TypedDict): - orders: MetricTypedDict - r"""Information about a metric.""" - revenue: MetricTypedDict - r"""Information about a metric.""" - net_revenue: MetricTypedDict - r"""Information about a metric.""" - cumulative_revenue: MetricTypedDict - r"""Information about a metric.""" - net_cumulative_revenue: MetricTypedDict - r"""Information about a metric.""" - costs: MetricTypedDict - r"""Information about a metric.""" - cumulative_costs: MetricTypedDict - r"""Information about a metric.""" - average_order_value: MetricTypedDict - r"""Information about a metric.""" - net_average_order_value: MetricTypedDict - r"""Information about a metric.""" - average_revenue_per_user: MetricTypedDict - r"""Information about a metric.""" - cost_per_user: MetricTypedDict - r"""Information about a metric.""" - active_user_by_event: MetricTypedDict - r"""Information about a metric.""" - one_time_products: MetricTypedDict - r"""Information about a metric.""" - one_time_products_revenue: MetricTypedDict - r"""Information about a metric.""" - one_time_products_net_revenue: MetricTypedDict - r"""Information about a metric.""" - new_subscriptions: MetricTypedDict - r"""Information about a metric.""" - new_subscriptions_revenue: MetricTypedDict - r"""Information about a metric.""" - new_subscriptions_net_revenue: MetricTypedDict - r"""Information about a metric.""" - renewed_subscriptions: MetricTypedDict - r"""Information about a metric.""" - renewed_subscriptions_revenue: MetricTypedDict - r"""Information about a metric.""" - renewed_subscriptions_net_revenue: MetricTypedDict - r"""Information about a metric.""" - active_subscriptions: MetricTypedDict - r"""Information about a metric.""" - monthly_recurring_revenue: MetricTypedDict - r"""Information about a metric.""" - committed_monthly_recurring_revenue: MetricTypedDict - r"""Information about a metric.""" - checkouts: MetricTypedDict - r"""Information about a metric.""" - succeeded_checkouts: MetricTypedDict - r"""Information about a metric.""" - checkouts_conversion: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_customer_service: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_low_quality: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_missing_features: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_switched_service: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_too_complex: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_too_expensive: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_unused: MetricTypedDict - r"""Information about a metric.""" - canceled_subscriptions_other: MetricTypedDict - r"""Information about a metric.""" - churn_rate: MetricTypedDict - r"""Information about a metric.""" - gross_margin: MetricTypedDict - r"""Information about a metric.""" - gross_margin_percentage: MetricTypedDict - r"""Information about a metric.""" - cashflow: MetricTypedDict - r"""Information about a metric.""" + orders: NotRequired[Nullable[MetricTypedDict]] + revenue: NotRequired[Nullable[MetricTypedDict]] + net_revenue: NotRequired[Nullable[MetricTypedDict]] + cumulative_revenue: NotRequired[Nullable[MetricTypedDict]] + net_cumulative_revenue: NotRequired[Nullable[MetricTypedDict]] + costs: NotRequired[Nullable[MetricTypedDict]] + cumulative_costs: NotRequired[Nullable[MetricTypedDict]] + average_order_value: NotRequired[Nullable[MetricTypedDict]] + net_average_order_value: NotRequired[Nullable[MetricTypedDict]] + average_revenue_per_user: NotRequired[Nullable[MetricTypedDict]] + cost_per_user: NotRequired[Nullable[MetricTypedDict]] + active_user_by_event: NotRequired[Nullable[MetricTypedDict]] + one_time_products: NotRequired[Nullable[MetricTypedDict]] + one_time_products_revenue: NotRequired[Nullable[MetricTypedDict]] + one_time_products_net_revenue: NotRequired[Nullable[MetricTypedDict]] + new_subscriptions: NotRequired[Nullable[MetricTypedDict]] + new_subscriptions_revenue: NotRequired[Nullable[MetricTypedDict]] + new_subscriptions_net_revenue: NotRequired[Nullable[MetricTypedDict]] + renewed_subscriptions: NotRequired[Nullable[MetricTypedDict]] + renewed_subscriptions_revenue: NotRequired[Nullable[MetricTypedDict]] + renewed_subscriptions_net_revenue: NotRequired[Nullable[MetricTypedDict]] + active_subscriptions: NotRequired[Nullable[MetricTypedDict]] + monthly_recurring_revenue: NotRequired[Nullable[MetricTypedDict]] + committed_monthly_recurring_revenue: NotRequired[Nullable[MetricTypedDict]] + checkouts: NotRequired[Nullable[MetricTypedDict]] + succeeded_checkouts: NotRequired[Nullable[MetricTypedDict]] + checkouts_conversion: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_customer_service: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_low_quality: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_missing_features: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_switched_service: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_too_complex: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_too_expensive: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_unused: NotRequired[Nullable[MetricTypedDict]] + canceled_subscriptions_other: NotRequired[Nullable[MetricTypedDict]] + churned_subscriptions: NotRequired[Nullable[MetricTypedDict]] + churn_rate: NotRequired[Nullable[MetricTypedDict]] + ltv: NotRequired[Nullable[MetricTypedDict]] + gross_margin: NotRequired[Nullable[MetricTypedDict]] + gross_margin_percentage: NotRequired[Nullable[MetricTypedDict]] + cashflow: NotRequired[Nullable[MetricTypedDict]] class Metrics(BaseModel): - orders: Metric - r"""Information about a metric.""" + orders: OptionalNullable[Metric] = UNSET - revenue: Metric - r"""Information about a metric.""" + revenue: OptionalNullable[Metric] = UNSET - net_revenue: Metric - r"""Information about a metric.""" + net_revenue: OptionalNullable[Metric] = UNSET - cumulative_revenue: Metric - r"""Information about a metric.""" + cumulative_revenue: OptionalNullable[Metric] = UNSET - net_cumulative_revenue: Metric - r"""Information about a metric.""" + net_cumulative_revenue: OptionalNullable[Metric] = UNSET - costs: Metric - r"""Information about a metric.""" + costs: OptionalNullable[Metric] = UNSET - cumulative_costs: Metric - r"""Information about a metric.""" + cumulative_costs: OptionalNullable[Metric] = UNSET - average_order_value: Metric - r"""Information about a metric.""" + average_order_value: OptionalNullable[Metric] = UNSET - net_average_order_value: Metric - r"""Information about a metric.""" + net_average_order_value: OptionalNullable[Metric] = UNSET - average_revenue_per_user: Metric - r"""Information about a metric.""" + average_revenue_per_user: OptionalNullable[Metric] = UNSET - cost_per_user: Metric - r"""Information about a metric.""" + cost_per_user: OptionalNullable[Metric] = UNSET - active_user_by_event: Metric - r"""Information about a metric.""" + active_user_by_event: OptionalNullable[Metric] = UNSET - one_time_products: Metric - r"""Information about a metric.""" + one_time_products: OptionalNullable[Metric] = UNSET - one_time_products_revenue: Metric - r"""Information about a metric.""" + one_time_products_revenue: OptionalNullable[Metric] = UNSET - one_time_products_net_revenue: Metric - r"""Information about a metric.""" + one_time_products_net_revenue: OptionalNullable[Metric] = UNSET - new_subscriptions: Metric - r"""Information about a metric.""" + new_subscriptions: OptionalNullable[Metric] = UNSET - new_subscriptions_revenue: Metric - r"""Information about a metric.""" + new_subscriptions_revenue: OptionalNullable[Metric] = UNSET - new_subscriptions_net_revenue: Metric - r"""Information about a metric.""" + new_subscriptions_net_revenue: OptionalNullable[Metric] = UNSET - renewed_subscriptions: Metric - r"""Information about a metric.""" + renewed_subscriptions: OptionalNullable[Metric] = UNSET - renewed_subscriptions_revenue: Metric - r"""Information about a metric.""" + renewed_subscriptions_revenue: OptionalNullable[Metric] = UNSET - renewed_subscriptions_net_revenue: Metric - r"""Information about a metric.""" + renewed_subscriptions_net_revenue: OptionalNullable[Metric] = UNSET - active_subscriptions: Metric - r"""Information about a metric.""" + active_subscriptions: OptionalNullable[Metric] = UNSET - monthly_recurring_revenue: Metric - r"""Information about a metric.""" + monthly_recurring_revenue: OptionalNullable[Metric] = UNSET - committed_monthly_recurring_revenue: Metric - r"""Information about a metric.""" + committed_monthly_recurring_revenue: OptionalNullable[Metric] = UNSET - checkouts: Metric - r"""Information about a metric.""" + checkouts: OptionalNullable[Metric] = UNSET - succeeded_checkouts: Metric - r"""Information about a metric.""" + succeeded_checkouts: OptionalNullable[Metric] = UNSET - checkouts_conversion: Metric - r"""Information about a metric.""" + checkouts_conversion: OptionalNullable[Metric] = UNSET - canceled_subscriptions: Metric - r"""Information about a metric.""" + canceled_subscriptions: OptionalNullable[Metric] = UNSET - canceled_subscriptions_customer_service: Metric - r"""Information about a metric.""" + canceled_subscriptions_customer_service: OptionalNullable[Metric] = UNSET - canceled_subscriptions_low_quality: Metric - r"""Information about a metric.""" + canceled_subscriptions_low_quality: OptionalNullable[Metric] = UNSET - canceled_subscriptions_missing_features: Metric - r"""Information about a metric.""" + canceled_subscriptions_missing_features: OptionalNullable[Metric] = UNSET - canceled_subscriptions_switched_service: Metric - r"""Information about a metric.""" + canceled_subscriptions_switched_service: OptionalNullable[Metric] = UNSET - canceled_subscriptions_too_complex: Metric - r"""Information about a metric.""" + canceled_subscriptions_too_complex: OptionalNullable[Metric] = UNSET - canceled_subscriptions_too_expensive: Metric - r"""Information about a metric.""" + canceled_subscriptions_too_expensive: OptionalNullable[Metric] = UNSET - canceled_subscriptions_unused: Metric - r"""Information about a metric.""" + canceled_subscriptions_unused: OptionalNullable[Metric] = UNSET - canceled_subscriptions_other: Metric - r"""Information about a metric.""" + canceled_subscriptions_other: OptionalNullable[Metric] = UNSET + + churned_subscriptions: OptionalNullable[Metric] = UNSET + + churn_rate: OptionalNullable[Metric] = UNSET + + ltv: OptionalNullable[Metric] = UNSET - churn_rate: Metric - r"""Information about a metric.""" + gross_margin: OptionalNullable[Metric] = UNSET - gross_margin: Metric - r"""Information about a metric.""" + gross_margin_percentage: OptionalNullable[Metric] = UNSET - gross_margin_percentage: Metric - r"""Information about a metric.""" - - cashflow: Metric - r"""Information about a metric.""" + cashflow: OptionalNullable[Metric] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + nullable_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/metrics_getop.py b/src/polar_sdk/models/metrics_getop.py index 0306726c..c4fb484c 100644 --- a/src/polar_sdk/models/metrics_getop.py +++ b/src/polar_sdk/models/metrics_getop.py @@ -80,6 +80,8 @@ class MetricsGetRequestTypedDict(TypedDict): r"""Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.""" customer_id: NotRequired[Nullable[MetricsGetQueryParamCustomerIDFilterTypedDict]] r"""Filter by customer ID.""" + metrics: NotRequired[Nullable[List[str]]] + r"""List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned.""" class MetricsGetRequest(BaseModel): @@ -129,6 +131,12 @@ class MetricsGetRequest(BaseModel): ] = UNSET r"""Filter by customer ID.""" + metrics: Annotated[ + OptionalNullable[List[str]], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""List of metric slugs to focus on. When provided, only the queries needed for these metrics will be executed, improving performance. If not provided, all metrics are returned.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -137,12 +145,14 @@ def serialize_model(self, handler): "product_id", "billing_type", "customer_id", + "metrics", ] nullable_fields = [ "organization_id", "product_id", "billing_type", "customer_id", + "metrics", ] null_default_fields = [] diff --git a/src/polar_sdk/models/metricsintervallimit.py b/src/polar_sdk/models/metricsintervallimit.py index bbd6f585..e9e80f89 100644 --- a/src/polar_sdk/models/metricsintervallimit.py +++ b/src/polar_sdk/models/metricsintervallimit.py @@ -8,6 +8,8 @@ class MetricsIntervalLimitTypedDict(TypedDict): r"""Date interval limit to get metrics for a given interval.""" + min_days: int + r"""Minimum number of days for this interval.""" max_days: int r"""Maximum number of days for this interval.""" @@ -15,5 +17,8 @@ class MetricsIntervalLimitTypedDict(TypedDict): class MetricsIntervalLimit(BaseModel): r"""Date interval limit to get metrics for a given interval.""" + min_days: int + r"""Minimum number of days for this interval.""" + max_days: int r"""Maximum number of days for this interval.""" diff --git a/src/polar_sdk/models/metricstotals.py b/src/polar_sdk/models/metricstotals.py index 9584f313..5cb0eb68 100644 --- a/src/polar_sdk/models/metricstotals.py +++ b/src/polar_sdk/models/metricstotals.py @@ -1,9 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from polar_sdk.types import BaseModel +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer from typing import Union -from typing_extensions import TypeAliasType, TypedDict +from typing_extensions import NotRequired, TypeAliasType, TypedDict MetricsTotalsOrdersTypedDict = TypeAliasType( @@ -354,6 +355,16 @@ ) +MetricsTotalsChurnedSubscriptionsTypedDict = TypeAliasType( + "MetricsTotalsChurnedSubscriptionsTypedDict", Union[int, float] +) + + +MetricsTotalsChurnedSubscriptions = TypeAliasType( + "MetricsTotalsChurnedSubscriptions", Union[int, float] +) + + MetricsTotalsChurnRateTypedDict = TypeAliasType( "MetricsTotalsChurnRateTypedDict", Union[int, float] ) @@ -362,6 +373,14 @@ MetricsTotalsChurnRate = TypeAliasType("MetricsTotalsChurnRate", Union[int, float]) +MetricsTotalsLtvTypedDict = TypeAliasType( + "MetricsTotalsLtvTypedDict", Union[int, float] +) + + +MetricsTotalsLtv = TypeAliasType("MetricsTotalsLtv", Union[int, float]) + + MetricsTotalsGrossMarginTypedDict = TypeAliasType( "MetricsTotalsGrossMarginTypedDict", Union[int, float] ) @@ -389,147 +408,333 @@ class MetricsTotalsTypedDict(TypedDict): - orders: MetricsTotalsOrdersTypedDict - revenue: MetricsTotalsRevenueTypedDict - net_revenue: MetricsTotalsNetRevenueTypedDict - cumulative_revenue: MetricsTotalsCumulativeRevenueTypedDict - net_cumulative_revenue: MetricsTotalsNetCumulativeRevenueTypedDict - costs: MetricsTotalsCostsTypedDict - cumulative_costs: MetricsTotalsCumulativeCostsTypedDict - average_order_value: MetricsTotalsAverageOrderValueTypedDict - net_average_order_value: MetricsTotalsNetAverageOrderValueTypedDict - average_revenue_per_user: MetricsTotalsAverageRevenuePerUserTypedDict - cost_per_user: MetricsTotalsCostPerUserTypedDict - active_user_by_event: MetricsTotalsActiveUserByEventTypedDict - one_time_products: MetricsTotalsOneTimeProductsTypedDict - one_time_products_revenue: MetricsTotalsOneTimeProductsRevenueTypedDict - one_time_products_net_revenue: MetricsTotalsOneTimeProductsNetRevenueTypedDict - new_subscriptions: MetricsTotalsNewSubscriptionsTypedDict - new_subscriptions_revenue: MetricsTotalsNewSubscriptionsRevenueTypedDict - new_subscriptions_net_revenue: MetricsTotalsNewSubscriptionsNetRevenueTypedDict - renewed_subscriptions: MetricsTotalsRenewedSubscriptionsTypedDict - renewed_subscriptions_revenue: MetricsTotalsRenewedSubscriptionsRevenueTypedDict - renewed_subscriptions_net_revenue: ( - MetricsTotalsRenewedSubscriptionsNetRevenueTypedDict - ) - active_subscriptions: MetricsTotalsActiveSubscriptionsTypedDict - monthly_recurring_revenue: MetricsTotalsMonthlyRecurringRevenueTypedDict - committed_monthly_recurring_revenue: ( - MetricsTotalsCommittedMonthlyRecurringRevenueTypedDict - ) - checkouts: MetricsTotalsCheckoutsTypedDict - succeeded_checkouts: MetricsTotalsSucceededCheckoutsTypedDict - checkouts_conversion: MetricsTotalsCheckoutsConversionTypedDict - canceled_subscriptions: MetricsTotalsCanceledSubscriptionsTypedDict - canceled_subscriptions_customer_service: ( - MetricsTotalsCanceledSubscriptionsCustomerServiceTypedDict - ) - canceled_subscriptions_low_quality: ( - MetricsTotalsCanceledSubscriptionsLowQualityTypedDict - ) - canceled_subscriptions_missing_features: ( - MetricsTotalsCanceledSubscriptionsMissingFeaturesTypedDict - ) - canceled_subscriptions_switched_service: ( - MetricsTotalsCanceledSubscriptionsSwitchedServiceTypedDict - ) - canceled_subscriptions_too_complex: ( - MetricsTotalsCanceledSubscriptionsTooComplexTypedDict - ) - canceled_subscriptions_too_expensive: ( - MetricsTotalsCanceledSubscriptionsTooExpensiveTypedDict - ) - canceled_subscriptions_unused: MetricsTotalsCanceledSubscriptionsUnusedTypedDict - canceled_subscriptions_other: MetricsTotalsCanceledSubscriptionsOtherTypedDict - churn_rate: MetricsTotalsChurnRateTypedDict - gross_margin: MetricsTotalsGrossMarginTypedDict - gross_margin_percentage: MetricsTotalsGrossMarginPercentageTypedDict - cashflow: MetricsTotalsCashflowTypedDict + orders: NotRequired[Nullable[MetricsTotalsOrdersTypedDict]] + revenue: NotRequired[Nullable[MetricsTotalsRevenueTypedDict]] + net_revenue: NotRequired[Nullable[MetricsTotalsNetRevenueTypedDict]] + cumulative_revenue: NotRequired[Nullable[MetricsTotalsCumulativeRevenueTypedDict]] + net_cumulative_revenue: NotRequired[ + Nullable[MetricsTotalsNetCumulativeRevenueTypedDict] + ] + costs: NotRequired[Nullable[MetricsTotalsCostsTypedDict]] + cumulative_costs: NotRequired[Nullable[MetricsTotalsCumulativeCostsTypedDict]] + average_order_value: NotRequired[Nullable[MetricsTotalsAverageOrderValueTypedDict]] + net_average_order_value: NotRequired[ + Nullable[MetricsTotalsNetAverageOrderValueTypedDict] + ] + average_revenue_per_user: NotRequired[ + Nullable[MetricsTotalsAverageRevenuePerUserTypedDict] + ] + cost_per_user: NotRequired[Nullable[MetricsTotalsCostPerUserTypedDict]] + active_user_by_event: NotRequired[Nullable[MetricsTotalsActiveUserByEventTypedDict]] + one_time_products: NotRequired[Nullable[MetricsTotalsOneTimeProductsTypedDict]] + one_time_products_revenue: NotRequired[ + Nullable[MetricsTotalsOneTimeProductsRevenueTypedDict] + ] + one_time_products_net_revenue: NotRequired[ + Nullable[MetricsTotalsOneTimeProductsNetRevenueTypedDict] + ] + new_subscriptions: NotRequired[Nullable[MetricsTotalsNewSubscriptionsTypedDict]] + new_subscriptions_revenue: NotRequired[ + Nullable[MetricsTotalsNewSubscriptionsRevenueTypedDict] + ] + new_subscriptions_net_revenue: NotRequired[ + Nullable[MetricsTotalsNewSubscriptionsNetRevenueTypedDict] + ] + renewed_subscriptions: NotRequired[ + Nullable[MetricsTotalsRenewedSubscriptionsTypedDict] + ] + renewed_subscriptions_revenue: NotRequired[ + Nullable[MetricsTotalsRenewedSubscriptionsRevenueTypedDict] + ] + renewed_subscriptions_net_revenue: NotRequired[ + Nullable[MetricsTotalsRenewedSubscriptionsNetRevenueTypedDict] + ] + active_subscriptions: NotRequired[ + Nullable[MetricsTotalsActiveSubscriptionsTypedDict] + ] + monthly_recurring_revenue: NotRequired[ + Nullable[MetricsTotalsMonthlyRecurringRevenueTypedDict] + ] + committed_monthly_recurring_revenue: NotRequired[ + Nullable[MetricsTotalsCommittedMonthlyRecurringRevenueTypedDict] + ] + checkouts: NotRequired[Nullable[MetricsTotalsCheckoutsTypedDict]] + succeeded_checkouts: NotRequired[Nullable[MetricsTotalsSucceededCheckoutsTypedDict]] + checkouts_conversion: NotRequired[ + Nullable[MetricsTotalsCheckoutsConversionTypedDict] + ] + canceled_subscriptions: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsTypedDict] + ] + canceled_subscriptions_customer_service: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsCustomerServiceTypedDict] + ] + canceled_subscriptions_low_quality: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsLowQualityTypedDict] + ] + canceled_subscriptions_missing_features: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsMissingFeaturesTypedDict] + ] + canceled_subscriptions_switched_service: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsSwitchedServiceTypedDict] + ] + canceled_subscriptions_too_complex: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsTooComplexTypedDict] + ] + canceled_subscriptions_too_expensive: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsTooExpensiveTypedDict] + ] + canceled_subscriptions_unused: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsUnusedTypedDict] + ] + canceled_subscriptions_other: NotRequired[ + Nullable[MetricsTotalsCanceledSubscriptionsOtherTypedDict] + ] + churned_subscriptions: NotRequired[ + Nullable[MetricsTotalsChurnedSubscriptionsTypedDict] + ] + churn_rate: NotRequired[Nullable[MetricsTotalsChurnRateTypedDict]] + ltv: NotRequired[Nullable[MetricsTotalsLtvTypedDict]] + gross_margin: NotRequired[Nullable[MetricsTotalsGrossMarginTypedDict]] + gross_margin_percentage: NotRequired[ + Nullable[MetricsTotalsGrossMarginPercentageTypedDict] + ] + cashflow: NotRequired[Nullable[MetricsTotalsCashflowTypedDict]] class MetricsTotals(BaseModel): - orders: MetricsTotalsOrders + orders: OptionalNullable[MetricsTotalsOrders] = UNSET - revenue: MetricsTotalsRevenue + revenue: OptionalNullable[MetricsTotalsRevenue] = UNSET - net_revenue: MetricsTotalsNetRevenue + net_revenue: OptionalNullable[MetricsTotalsNetRevenue] = UNSET - cumulative_revenue: MetricsTotalsCumulativeRevenue + cumulative_revenue: OptionalNullable[MetricsTotalsCumulativeRevenue] = UNSET - net_cumulative_revenue: MetricsTotalsNetCumulativeRevenue + net_cumulative_revenue: OptionalNullable[MetricsTotalsNetCumulativeRevenue] = UNSET - costs: MetricsTotalsCosts + costs: OptionalNullable[MetricsTotalsCosts] = UNSET - cumulative_costs: MetricsTotalsCumulativeCosts + cumulative_costs: OptionalNullable[MetricsTotalsCumulativeCosts] = UNSET - average_order_value: MetricsTotalsAverageOrderValue + average_order_value: OptionalNullable[MetricsTotalsAverageOrderValue] = UNSET - net_average_order_value: MetricsTotalsNetAverageOrderValue + net_average_order_value: OptionalNullable[MetricsTotalsNetAverageOrderValue] = UNSET - average_revenue_per_user: MetricsTotalsAverageRevenuePerUser + average_revenue_per_user: OptionalNullable[MetricsTotalsAverageRevenuePerUser] = ( + UNSET + ) - cost_per_user: MetricsTotalsCostPerUser + cost_per_user: OptionalNullable[MetricsTotalsCostPerUser] = UNSET - active_user_by_event: MetricsTotalsActiveUserByEvent + active_user_by_event: OptionalNullable[MetricsTotalsActiveUserByEvent] = UNSET - one_time_products: MetricsTotalsOneTimeProducts + one_time_products: OptionalNullable[MetricsTotalsOneTimeProducts] = UNSET - one_time_products_revenue: MetricsTotalsOneTimeProductsRevenue + one_time_products_revenue: OptionalNullable[MetricsTotalsOneTimeProductsRevenue] = ( + UNSET + ) - one_time_products_net_revenue: MetricsTotalsOneTimeProductsNetRevenue + one_time_products_net_revenue: OptionalNullable[ + MetricsTotalsOneTimeProductsNetRevenue + ] = UNSET - new_subscriptions: MetricsTotalsNewSubscriptions + new_subscriptions: OptionalNullable[MetricsTotalsNewSubscriptions] = UNSET - new_subscriptions_revenue: MetricsTotalsNewSubscriptionsRevenue + new_subscriptions_revenue: OptionalNullable[ + MetricsTotalsNewSubscriptionsRevenue + ] = UNSET - new_subscriptions_net_revenue: MetricsTotalsNewSubscriptionsNetRevenue + new_subscriptions_net_revenue: OptionalNullable[ + MetricsTotalsNewSubscriptionsNetRevenue + ] = UNSET - renewed_subscriptions: MetricsTotalsRenewedSubscriptions + renewed_subscriptions: OptionalNullable[MetricsTotalsRenewedSubscriptions] = UNSET - renewed_subscriptions_revenue: MetricsTotalsRenewedSubscriptionsRevenue + renewed_subscriptions_revenue: OptionalNullable[ + MetricsTotalsRenewedSubscriptionsRevenue + ] = UNSET - renewed_subscriptions_net_revenue: MetricsTotalsRenewedSubscriptionsNetRevenue + renewed_subscriptions_net_revenue: OptionalNullable[ + MetricsTotalsRenewedSubscriptionsNetRevenue + ] = UNSET - active_subscriptions: MetricsTotalsActiveSubscriptions + active_subscriptions: OptionalNullable[MetricsTotalsActiveSubscriptions] = UNSET - monthly_recurring_revenue: MetricsTotalsMonthlyRecurringRevenue + monthly_recurring_revenue: OptionalNullable[ + MetricsTotalsMonthlyRecurringRevenue + ] = UNSET - committed_monthly_recurring_revenue: MetricsTotalsCommittedMonthlyRecurringRevenue + committed_monthly_recurring_revenue: OptionalNullable[ + MetricsTotalsCommittedMonthlyRecurringRevenue + ] = UNSET - checkouts: MetricsTotalsCheckouts + checkouts: OptionalNullable[MetricsTotalsCheckouts] = UNSET - succeeded_checkouts: MetricsTotalsSucceededCheckouts + succeeded_checkouts: OptionalNullable[MetricsTotalsSucceededCheckouts] = UNSET - checkouts_conversion: MetricsTotalsCheckoutsConversion + checkouts_conversion: OptionalNullable[MetricsTotalsCheckoutsConversion] = UNSET - canceled_subscriptions: MetricsTotalsCanceledSubscriptions + canceled_subscriptions: OptionalNullable[MetricsTotalsCanceledSubscriptions] = UNSET - canceled_subscriptions_customer_service: ( + canceled_subscriptions_customer_service: OptionalNullable[ MetricsTotalsCanceledSubscriptionsCustomerService - ) + ] = UNSET - canceled_subscriptions_low_quality: MetricsTotalsCanceledSubscriptionsLowQuality + canceled_subscriptions_low_quality: OptionalNullable[ + MetricsTotalsCanceledSubscriptionsLowQuality + ] = UNSET - canceled_subscriptions_missing_features: ( + canceled_subscriptions_missing_features: OptionalNullable[ MetricsTotalsCanceledSubscriptionsMissingFeatures - ) + ] = UNSET - canceled_subscriptions_switched_service: ( + canceled_subscriptions_switched_service: OptionalNullable[ MetricsTotalsCanceledSubscriptionsSwitchedService - ) + ] = UNSET - canceled_subscriptions_too_complex: MetricsTotalsCanceledSubscriptionsTooComplex + canceled_subscriptions_too_complex: OptionalNullable[ + MetricsTotalsCanceledSubscriptionsTooComplex + ] = UNSET - canceled_subscriptions_too_expensive: MetricsTotalsCanceledSubscriptionsTooExpensive + canceled_subscriptions_too_expensive: OptionalNullable[ + MetricsTotalsCanceledSubscriptionsTooExpensive + ] = UNSET - canceled_subscriptions_unused: MetricsTotalsCanceledSubscriptionsUnused + canceled_subscriptions_unused: OptionalNullable[ + MetricsTotalsCanceledSubscriptionsUnused + ] = UNSET - canceled_subscriptions_other: MetricsTotalsCanceledSubscriptionsOther + canceled_subscriptions_other: OptionalNullable[ + MetricsTotalsCanceledSubscriptionsOther + ] = UNSET - churn_rate: MetricsTotalsChurnRate + churned_subscriptions: OptionalNullable[MetricsTotalsChurnedSubscriptions] = UNSET - gross_margin: MetricsTotalsGrossMargin + churn_rate: OptionalNullable[MetricsTotalsChurnRate] = UNSET - gross_margin_percentage: MetricsTotalsGrossMarginPercentage + ltv: OptionalNullable[MetricsTotalsLtv] = UNSET + + gross_margin: OptionalNullable[MetricsTotalsGrossMargin] = UNSET + + gross_margin_percentage: OptionalNullable[MetricsTotalsGrossMarginPercentage] = ( + UNSET + ) - cashflow: MetricsTotalsCashflow + cashflow: OptionalNullable[MetricsTotalsCashflow] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + nullable_fields = [ + "orders", + "revenue", + "net_revenue", + "cumulative_revenue", + "net_cumulative_revenue", + "costs", + "cumulative_costs", + "average_order_value", + "net_average_order_value", + "average_revenue_per_user", + "cost_per_user", + "active_user_by_event", + "one_time_products", + "one_time_products_revenue", + "one_time_products_net_revenue", + "new_subscriptions", + "new_subscriptions_revenue", + "new_subscriptions_net_revenue", + "renewed_subscriptions", + "renewed_subscriptions_revenue", + "renewed_subscriptions_net_revenue", + "active_subscriptions", + "monthly_recurring_revenue", + "committed_monthly_recurring_revenue", + "checkouts", + "succeeded_checkouts", + "checkouts_conversion", + "canceled_subscriptions", + "canceled_subscriptions_customer_service", + "canceled_subscriptions_low_quality", + "canceled_subscriptions_missing_features", + "canceled_subscriptions_switched_service", + "canceled_subscriptions_too_complex", + "canceled_subscriptions_too_expensive", + "canceled_subscriptions_unused", + "canceled_subscriptions_other", + "churned_subscriptions", + "churn_rate", + "ltv", + "gross_margin", + "gross_margin_percentage", + "cashflow", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/missingpaymentmethoderror.py b/src/polar_sdk/models/missingpaymentmethoderror.py deleted file mode 100644 index e7b0d12a..00000000 --- a/src/polar_sdk/models/missingpaymentmethoderror.py +++ /dev/null @@ -1,39 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from dataclasses import dataclass, field -import httpx -from polar_sdk.models import PolarError -from polar_sdk.types import BaseModel -from polar_sdk.utils import validate_const -import pydantic -from pydantic.functional_validators import AfterValidator -from typing import Literal, Optional -from typing_extensions import Annotated - - -class MissingPaymentMethodErrorData(BaseModel): - detail: str - - ERROR: Annotated[ - Annotated[ - Literal["MissingPaymentMethodError"], - AfterValidator(validate_const("MissingPaymentMethodError")), - ], - pydantic.Field(alias="error"), - ] = "MissingPaymentMethodError" - - -@dataclass(unsafe_hash=True) -class MissingPaymentMethodError(PolarError): - data: MissingPaymentMethodErrorData = field(hash=False) - - def __init__( - self, - data: MissingPaymentMethodErrorData, - raw_response: httpx.Response, - body: Optional[str] = None, - ): - message = body or raw_response.text - super().__init__(message, raw_response, body) - object.__setattr__(self, "data", data) diff --git a/src/polar_sdk/models/oauth2clientconfiguration.py b/src/polar_sdk/models/oauth2clientconfiguration.py index 9d1eb6bb..e3cb0a10 100644 --- a/src/polar_sdk/models/oauth2clientconfiguration.py +++ b/src/polar_sdk/models/oauth2clientconfiguration.py @@ -48,7 +48,7 @@ class OAuth2ClientConfiguration(BaseModel): response_types: Optional[List[str]] = None scope: Optional[str] = ( - "openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write" + "openid profile email user:read user:write organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write members:read members:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write" ) client_uri: OptionalNullable[str] = UNSET diff --git a/src/polar_sdk/models/oauth2clientconfigurationupdate.py b/src/polar_sdk/models/oauth2clientconfigurationupdate.py index 45d119fd..ce5511a9 100644 --- a/src/polar_sdk/models/oauth2clientconfigurationupdate.py +++ b/src/polar_sdk/models/oauth2clientconfigurationupdate.py @@ -53,7 +53,7 @@ class OAuth2ClientConfigurationUpdate(BaseModel): response_types: Optional[List[str]] = None scope: Optional[str] = ( - "openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write" + "openid profile email user:read user:write organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write members:read members:write wallets:read wallets:write customer_meters:read customer_sessions:write customer_seats:read customer_seats:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write" ) client_uri: OptionalNullable[str] = UNSET diff --git a/src/polar_sdk/models/order.py b/src/polar_sdk/models/order.py index 112f035f..82ea8cb5 100644 --- a/src/polar_sdk/models/order.py +++ b/src/polar_sdk/models/order.py @@ -117,6 +117,8 @@ class OrderTypedDict(TypedDict): metadata: Dict[str, OrderMetadataTypedDict] platform_fee_amount: int r"""Platform fee amount in cents.""" + platform_fee_currency: Nullable[str] + r"""Currency of the platform fee.""" customer: OrderCustomerTypedDict user_id: str product: Nullable[OrderProductTypedDict] @@ -204,6 +206,9 @@ class Order(BaseModel): platform_fee_amount: int r"""Platform fee amount in cents.""" + platform_fee_currency: Nullable[str] + r"""Currency of the platform fee.""" + customer: OrderCustomer user_id: Annotated[ @@ -243,6 +248,7 @@ def serialize_model(self, handler): "discount_id", "subscription_id", "checkout_id", + "platform_fee_currency", "product", "discount", "subscription", diff --git a/src/polar_sdk/models/orderpaidevent.py b/src/polar_sdk/models/orderpaidevent.py index a95c7ece..21770f06 100644 --- a/src/polar_sdk/models/orderpaidevent.py +++ b/src/polar_sdk/models/orderpaidevent.py @@ -4,7 +4,7 @@ from .customer import Customer, CustomerTypedDict from .orderpaidmetadata import OrderPaidMetadata, OrderPaidMetadataTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class OrderPaidEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: OrderPaidMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["order.paid"] @@ -58,11 +62,17 @@ class OrderPaidEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: OrderPaidMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -77,8 +87,13 @@ class OrderPaidEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/orderrefundedevent.py b/src/polar_sdk/models/orderrefundedevent.py index 83423ce9..e2bc258c 100644 --- a/src/polar_sdk/models/orderrefundedevent.py +++ b/src/polar_sdk/models/orderrefundedevent.py @@ -4,7 +4,7 @@ from .customer import Customer, CustomerTypedDict from .orderrefundedmetadata import OrderRefundedMetadata, OrderRefundedMetadataTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,9 +28,13 @@ class OrderRefundedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: OrderRefundedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["order.refunded"] @@ -58,11 +62,17 @@ class OrderRefundedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: OrderRefundedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -79,8 +89,13 @@ class OrderRefundedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/organization.py b/src/polar_sdk/models/organization.py index 27a65201..8d321a98 100644 --- a/src/polar_sdk/models/organization.py +++ b/src/polar_sdk/models/organization.py @@ -22,6 +22,7 @@ OrganizationSubscriptionSettings, OrganizationSubscriptionSettingsTypedDict, ) +from .subscriptionprorationbehavior import SubscriptionProrationBehavior from datetime import datetime from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL from pydantic import model_serializer @@ -35,13 +36,16 @@ class OrganizationTypedDict(TypedDict): modified_at: Nullable[datetime] r"""Last modification timestamp of the object.""" id: str - r"""The organization ID.""" + r"""The ID of the object.""" name: str r"""Organization name shown in checkout, customer portal, emails etc.""" slug: str r"""Unique organization slug in checkout, customer portal and credit card statements.""" avatar_url: Nullable[str] r"""Avatar URL shown in checkout, customer portal, emails etc.""" + proration_behavior: SubscriptionProrationBehavior + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" email: Nullable[str] r"""Public support email.""" website: Nullable[str] @@ -66,7 +70,7 @@ class Organization(BaseModel): r"""Last modification timestamp of the object.""" id: str - r"""The organization ID.""" + r"""The ID of the object.""" name: str r"""Organization name shown in checkout, customer portal, emails etc.""" @@ -77,6 +81,11 @@ class Organization(BaseModel): avatar_url: Nullable[str] r"""Avatar URL shown in checkout, customer portal, emails etc.""" + proration_behavior: SubscriptionProrationBehavior + + allow_customer_updates: bool + r"""Whether customers can update their subscriptions from the customer portal.""" + email: Nullable[str] r"""Public support email.""" diff --git a/src/polar_sdk/models/organizationfeaturesettings.py b/src/polar_sdk/models/organizationfeaturesettings.py index 50e16e29..c4e2aca1 100644 --- a/src/polar_sdk/models/organizationfeaturesettings.py +++ b/src/polar_sdk/models/organizationfeaturesettings.py @@ -15,6 +15,8 @@ class OrganizationFeatureSettingsTypedDict(TypedDict): r"""If this organization has RevOps enabled""" wallets_enabled: NotRequired[bool] r"""If this organization has Wallets enabled""" + member_model_enabled: NotRequired[bool] + r"""If this organization has the Member model enabled""" class OrganizationFeatureSettings(BaseModel): @@ -29,3 +31,6 @@ class OrganizationFeatureSettings(BaseModel): wallets_enabled: Optional[bool] = False r"""If this organization has Wallets enabled""" + + member_model_enabled: Optional[bool] = False + r"""If this organization has the Member model enabled""" diff --git a/src/polar_sdk/models/organizationstatus.py b/src/polar_sdk/models/organizationstatus.py index aecd10aa..74a3cc7b 100644 --- a/src/polar_sdk/models/organizationstatus.py +++ b/src/polar_sdk/models/organizationstatus.py @@ -7,6 +7,7 @@ class OrganizationStatus(str, Enum): CREATED = "created" ONBOARDING_STARTED = "onboarding_started" - UNDER_REVIEW = "under_review" + INITIAL_REVIEW = "initial_review" + ONGOING_REVIEW = "ongoing_review" DENIED = "denied" ACTIVE = "active" diff --git a/src/polar_sdk/models/organizationsubscriptionsettings.py b/src/polar_sdk/models/organizationsubscriptionsettings.py index 15db315b..32949981 100644 --- a/src/polar_sdk/models/organizationsubscriptionsettings.py +++ b/src/polar_sdk/models/organizationsubscriptionsettings.py @@ -11,6 +11,7 @@ class OrganizationSubscriptionSettingsTypedDict(TypedDict): allow_customer_updates: bool proration_behavior: SubscriptionProrationBehavior benefit_revocation_grace_period: int + prevent_trial_abuse: bool class OrganizationSubscriptionSettings(BaseModel): @@ -21,3 +22,5 @@ class OrganizationSubscriptionSettings(BaseModel): proration_behavior: SubscriptionProrationBehavior benefit_revocation_grace_period: int + + prevent_trial_abuse: bool diff --git a/src/polar_sdk/models/ownercreate.py b/src/polar_sdk/models/ownercreate.py new file mode 100644 index 00000000..58f315b3 --- /dev/null +++ b/src/polar_sdk/models/ownercreate.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class OwnerCreateTypedDict(TypedDict): + r"""Schema for creating an owner member during customer creation.""" + + email: NotRequired[Nullable[str]] + r"""The email address of the member.""" + name: NotRequired[Nullable[str]] + external_id: NotRequired[Nullable[str]] + r"""The ID of the member in your system. This must be unique within the customer.""" + + +class OwnerCreate(BaseModel): + r"""Schema for creating an owner member during customer creation.""" + + email: OptionalNullable[str] = UNSET + r"""The email address of the member.""" + + name: OptionalNullable[str] = UNSET + + external_id: OptionalNullable[str] = UNSET + r"""The ID of the member in your system. This must be unique within the customer.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["email", "name", "external_id"] + nullable_fields = ["email", "name", "external_id"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/productpricecustom.py b/src/polar_sdk/models/productpricecustom.py index 8a7a78a8..5a0c02bb 100644 --- a/src/polar_sdk/models/productpricecustom.py +++ b/src/polar_sdk/models/productpricecustom.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime @@ -22,6 +23,7 @@ class ProductPriceCustomTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -51,6 +53,8 @@ class ProductPriceCustom(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/productpricefixed.py b/src/polar_sdk/models/productpricefixed.py index 3607e341..5c100c21 100644 --- a/src/polar_sdk/models/productpricefixed.py +++ b/src/polar_sdk/models/productpricefixed.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime @@ -22,6 +23,7 @@ class ProductPriceFixedTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -47,6 +49,8 @@ class ProductPriceFixed(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/productpricefree.py b/src/polar_sdk/models/productpricefree.py index 3397ba16..b91200dd 100644 --- a/src/polar_sdk/models/productpricefree.py +++ b/src/polar_sdk/models/productpricefree.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime @@ -22,6 +23,7 @@ class ProductPriceFreeTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -43,6 +45,8 @@ class ProductPriceFree(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/productpricemeteredunit.py b/src/polar_sdk/models/productpricemeteredunit.py index 9285f30c..d5943d9f 100644 --- a/src/polar_sdk/models/productpricemeteredunit.py +++ b/src/polar_sdk/models/productpricemeteredunit.py @@ -2,6 +2,7 @@ from __future__ import annotations from .productpricemeter import ProductPriceMeter, ProductPriceMeterTypedDict +from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime @@ -23,6 +24,7 @@ class ProductPriceMeteredUnitTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -54,6 +56,8 @@ class ProductPriceMeteredUnit(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/productpriceseatbased.py b/src/polar_sdk/models/productpriceseatbased.py index 12415dfa..e37e2ee3 100644 --- a/src/polar_sdk/models/productpriceseatbased.py +++ b/src/polar_sdk/models/productpriceseatbased.py @@ -2,6 +2,7 @@ from __future__ import annotations from .productpriceseattiers import ProductPriceSeatTiers, ProductPriceSeatTiersTypedDict +from .productpricesource import ProductPriceSource from .productpricetype import ProductPriceType from .subscriptionrecurringinterval import SubscriptionRecurringInterval from datetime import datetime @@ -23,6 +24,7 @@ class ProductPriceSeatBasedTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the price.""" + source: ProductPriceSource is_archived: bool r"""Whether the price is archived and no longer available.""" product_id: str @@ -48,6 +50,8 @@ class ProductPriceSeatBased(BaseModel): id: str r"""The ID of the price.""" + source: ProductPriceSource + is_archived: bool r"""Whether the price is archived and no longer available.""" diff --git a/src/polar_sdk/models/productpricesource.py b/src/polar_sdk/models/productpricesource.py new file mode 100644 index 00000000..c8840008 --- /dev/null +++ b/src/polar_sdk/models/productpricesource.py @@ -0,0 +1,9 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + + +class ProductPriceSource(str, Enum): + CATALOG = "catalog" + AD_HOC = "ad_hoc" diff --git a/src/polar_sdk/models/refundreason.py b/src/polar_sdk/models/refundreason.py index c9d06cbc..7d8b5779 100644 --- a/src/polar_sdk/models/refundreason.py +++ b/src/polar_sdk/models/refundreason.py @@ -10,4 +10,5 @@ class RefundReason(str, Enum): CUSTOMER_REQUEST = "customer_request" SERVICE_DISRUPTION = "service_disruption" SATISFACTION_GUARANTEE = "satisfaction_guarantee" + DISPUTE_PREVENTION = "dispute_prevention" OTHER = "other" diff --git a/src/polar_sdk/models/scope.py b/src/polar_sdk/models/scope.py index 9a488d63..1d33327b 100644 --- a/src/polar_sdk/models/scope.py +++ b/src/polar_sdk/models/scope.py @@ -9,6 +9,7 @@ class Scope(str, Enum): PROFILE = "profile" EMAIL = "email" USER_READ = "user:read" + USER_WRITE = "user:write" WEB_READ = "web:read" WEB_WRITE = "web:write" ORGANIZATIONS_READ = "organizations:read" @@ -39,6 +40,8 @@ class Scope(str, Enum): SUBSCRIPTIONS_WRITE = "subscriptions:write" CUSTOMERS_READ = "customers:read" CUSTOMERS_WRITE = "customers:write" + MEMBERS_READ = "members:read" + MEMBERS_WRITE = "members:write" WALLETS_READ = "wallets:read" WALLETS_WRITE = "wallets:write" CUSTOMER_METERS_READ = "customer_meters:read" diff --git a/src/polar_sdk/models/subscriptioncycledevent.py b/src/polar_sdk/models/subscriptioncycledevent.py index e3228beb..b098ed78 100644 --- a/src/polar_sdk/models/subscriptioncycledevent.py +++ b/src/polar_sdk/models/subscriptioncycledevent.py @@ -7,7 +7,7 @@ SubscriptionCycledMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class SubscriptionCycledEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: SubscriptionCycledMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["subscription.cycled"] @@ -61,11 +65,17 @@ class SubscriptionCycledEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: SubscriptionCycledMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class SubscriptionCycledEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/subscriptionproductupdatedevent.py b/src/polar_sdk/models/subscriptionproductupdatedevent.py index 2244e737..5759b047 100644 --- a/src/polar_sdk/models/subscriptionproductupdatedevent.py +++ b/src/polar_sdk/models/subscriptionproductupdatedevent.py @@ -7,7 +7,7 @@ SubscriptionProductUpdatedMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class SubscriptionProductUpdatedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: SubscriptionProductUpdatedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["subscription.product_updated"] @@ -61,11 +65,17 @@ class SubscriptionProductUpdatedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: SubscriptionProductUpdatedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class SubscriptionProductUpdatedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/subscriptionrevokedevent.py b/src/polar_sdk/models/subscriptionrevokedevent.py index 6d51cdf6..d8aca20d 100644 --- a/src/polar_sdk/models/subscriptionrevokedevent.py +++ b/src/polar_sdk/models/subscriptionrevokedevent.py @@ -7,7 +7,7 @@ SubscriptionRevokedMetadataTypedDict, ) from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -31,9 +31,13 @@ class SubscriptionRevokedEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" metadata: SubscriptionRevokedMetadataTypedDict child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["system"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" name: Literal["subscription.revoked"] @@ -61,11 +65,17 @@ class SubscriptionRevokedEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: SubscriptionRevokedMetadata child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["system"], AfterValidator(validate_const("system"))], pydantic.Field(alias="source"), @@ -83,8 +93,13 @@ class SubscriptionRevokedEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/subscriptions_listop.py b/src/polar_sdk/models/subscriptions_listop.py index 60f5c1da..a59f75d4 100644 --- a/src/polar_sdk/models/subscriptions_listop.py +++ b/src/polar_sdk/models/subscriptions_listop.py @@ -8,7 +8,10 @@ from .eventsortproperty import EventSortProperty from .eventsource import EventSource from .listresource_benefit_ import ListResourceBenefit, ListResourceBenefitTypedDict -from .listresource_customer_ import ListResourceCustomer, ListResourceCustomerTypedDict +from .listresource_customerwithmembers_ import ( + ListResourceCustomerWithMembers, + ListResourceCustomerWithMembersTypedDict, +) from .listresource_event_ import ListResourceEvent, ListResourceEventTypedDict from .listresource_meter_ import ListResourceMeter, ListResourceMeterTypedDict from .listresource_order_ import ListResourceOrder, ListResourceOrderTypedDict @@ -107,6 +110,8 @@ class SubscriptionsListRequestTypedDict(TypedDict): r"""Filter by discount ID.""" active: NotRequired[Nullable[bool]] r"""Filter by active or inactive subscription.""" + cancel_at_period_end: NotRequired[Nullable[bool]] + r"""Filter by subscriptions that are set to cancel at period end.""" page: NotRequired[int] r"""Page number, defaults to 1.""" limit: NotRequired[int] @@ -154,6 +159,12 @@ class SubscriptionsListRequest(BaseModel): ] = UNSET r"""Filter by active or inactive subscription.""" + cancel_at_period_end: Annotated[ + OptionalNullable[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Filter by subscriptions that are set to cancel at period end.""" + page: Annotated[ Optional[int], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -187,6 +198,7 @@ def serialize_model(self, handler): "external_customer_id", "discount_id", "active", + "cancel_at_period_end", "page", "limit", "sorting", @@ -199,6 +211,7 @@ def serialize_model(self, handler): "external_customer_id", "discount_id", "active", + "cancel_at_period_end", "sorting", "metadata", ] @@ -799,6 +812,8 @@ class CustomersListRequestTypedDict(TypedDict): r"""Filter by exact email.""" query: NotRequired[Nullable[str]] r"""Filter by name, email, or external ID.""" + include_members: NotRequired[bool] + r"""Include members in the response. Only populated when set to true.""" page: NotRequired[int] r"""Page number, defaults to 1.""" limit: NotRequired[int] @@ -828,6 +843,12 @@ class CustomersListRequest(BaseModel): ] = UNSET r"""Filter by name, email, or external ID.""" + include_members: Annotated[ + Optional[bool], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = False + r"""Include members in the response. Only populated when set to true.""" + page: Annotated[ Optional[int], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), @@ -858,6 +879,7 @@ def serialize_model(self, handler): "organization_id", "email", "query", + "include_members", "page", "limit", "sorting", @@ -892,13 +914,13 @@ def serialize_model(self, handler): class CustomersListResponseTypedDict(TypedDict): - result: ListResourceCustomerTypedDict + result: ListResourceCustomerWithMembersTypedDict class CustomersListResponse(BaseModel): next: Callable[[], Optional[CustomersListResponse]] - result: ListResourceCustomer + result: ListResourceCustomerWithMembers EventsListQueryParamOrganizationIDFilterTypedDict = TypeAliasType( @@ -981,7 +1003,9 @@ class EventsListRequestTypedDict(TypedDict): query: NotRequired[Nullable[str]] r"""Query to filter events.""" parent_id: NotRequired[Nullable[str]] - r"""Filter events by parent event ID. When not specified, returns root events only.""" + r"""When combined with depth, use this event as the anchor instead of root events.""" + depth: NotRequired[Nullable[int]] + r"""Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events.""" page: NotRequired[int] r"""Page number, defaults to 1.""" limit: NotRequired[int] @@ -1058,7 +1082,13 @@ class EventsListRequest(BaseModel): OptionalNullable[str], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = UNSET - r"""Filter events by parent event ID. When not specified, returns root events only.""" + r"""When combined with depth, use this event as the anchor instead of root events.""" + + depth: Annotated[ + OptionalNullable[int], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = UNSET + r"""Fetch descendants up to this depth. When set: 0=root events only, 1=roots+children, etc. Max 5. When not set, returns all events.""" page: Annotated[ Optional[int], @@ -1098,6 +1128,7 @@ def serialize_model(self, handler): "source", "query", "parent_id", + "depth", "page", "limit", "sorting", @@ -1115,6 +1146,7 @@ def serialize_model(self, handler): "source", "query", "parent_id", + "depth", "sorting", "metadata", ] diff --git a/src/polar_sdk/models/subscriptionseatsupdatedevent.py b/src/polar_sdk/models/subscriptionseatsupdatedevent.py new file mode 100644 index 00000000..c0172bab --- /dev/null +++ b/src/polar_sdk/models/subscriptionseatsupdatedevent.py @@ -0,0 +1,127 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .customer import Customer, CustomerTypedDict +from .subscriptionseatsupdatedmetadata import ( + SubscriptionSeatsUpdatedMetadata, + SubscriptionSeatsUpdatedMetadataTypedDict, +) +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from polar_sdk.utils import validate_const +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from typing import Literal, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class SubscriptionSeatsUpdatedEventTypedDict(TypedDict): + r"""An event created by Polar when a the seats on a subscription is changed.""" + + id: str + r"""The ID of the object.""" + timestamp: datetime + r"""The timestamp of the event.""" + organization_id: str + r"""The ID of the organization owning the event.""" + customer_id: Nullable[str] + r"""ID of the customer in your Polar organization associated with the event.""" + customer: Nullable[CustomerTypedDict] + r"""The customer associated with the event.""" + external_customer_id: Nullable[str] + r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + metadata: SubscriptionSeatsUpdatedMetadataTypedDict + child_count: NotRequired[int] + r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" + source: Literal["system"] + r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" + name: Literal["subscription.seats_updated"] + r"""The name of the event.""" + + +class SubscriptionSeatsUpdatedEvent(BaseModel): + r"""An event created by Polar when a the seats on a subscription is changed.""" + + id: str + r"""The ID of the object.""" + + timestamp: datetime + r"""The timestamp of the event.""" + + organization_id: str + r"""The ID of the organization owning the event.""" + + customer_id: Nullable[str] + r"""ID of the customer in your Polar organization associated with the event.""" + + customer: Nullable[Customer] + r"""The customer associated with the event.""" + + external_customer_id: Nullable[str] + r"""ID of the customer in your system associated with the event.""" + + label: str + r"""Human readable label of the event type.""" + + metadata: SubscriptionSeatsUpdatedMetadata + + child_count: Optional[int] = 0 + r"""Number of direct child events linked to this event.""" + + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + + SOURCE: Annotated[ + Annotated[Literal["system"], AfterValidator(validate_const("system"))], + pydantic.Field(alias="source"), + ] = "system" + r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" + + NAME: Annotated[ + Annotated[ + Literal["subscription.seats_updated"], + AfterValidator(validate_const("subscription.seats_updated")), + ], + pydantic.Field(alias="name"), + ] = "subscription.seats_updated" + r"""The name of the event.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/subscriptionseatsupdatedmetadata.py b/src/polar_sdk/models/subscriptionseatsupdatedmetadata.py new file mode 100644 index 00000000..983bce85 --- /dev/null +++ b/src/polar_sdk/models/subscriptionseatsupdatedmetadata.py @@ -0,0 +1,22 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from polar_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class SubscriptionSeatsUpdatedMetadataTypedDict(TypedDict): + subscription_id: str + old_seats: int + new_seats: int + proration_behavior: str + + +class SubscriptionSeatsUpdatedMetadata(BaseModel): + subscription_id: str + + old_seats: int + + new_seats: int + + proration_behavior: str diff --git a/src/polar_sdk/models/subscriptionupdate.py b/src/polar_sdk/models/subscriptionupdate.py index a6eec90c..9cbed2bf 100644 --- a/src/polar_sdk/models/subscriptionupdate.py +++ b/src/polar_sdk/models/subscriptionupdate.py @@ -3,6 +3,10 @@ from __future__ import annotations from .subscriptioncancel import SubscriptionCancel, SubscriptionCancelTypedDict from .subscriptionrevoke import SubscriptionRevoke, SubscriptionRevokeTypedDict +from .subscriptionupdatebillingperiod import ( + SubscriptionUpdateBillingPeriod, + SubscriptionUpdateBillingPeriodTypedDict, +) from .subscriptionupdatediscount import ( SubscriptionUpdateDiscount, SubscriptionUpdateDiscountTypedDict, @@ -28,6 +32,7 @@ Union[ SubscriptionUpdateDiscountTypedDict, SubscriptionUpdateTrialTypedDict, + SubscriptionUpdateBillingPeriodTypedDict, SubscriptionUpdateProductTypedDict, SubscriptionUpdateSeatsTypedDict, SubscriptionCancelTypedDict, @@ -41,6 +46,7 @@ Union[ SubscriptionUpdateDiscount, SubscriptionUpdateTrial, + SubscriptionUpdateBillingPeriod, SubscriptionUpdateProduct, SubscriptionUpdateSeats, SubscriptionCancel, diff --git a/src/polar_sdk/models/subscriptionupdatebillingperiod.py b/src/polar_sdk/models/subscriptionupdatebillingperiod.py new file mode 100644 index 00000000..62914371 --- /dev/null +++ b/src/polar_sdk/models/subscriptionupdatebillingperiod.py @@ -0,0 +1,22 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +from polar_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class SubscriptionUpdateBillingPeriodTypedDict(TypedDict): + current_billing_period_end: datetime + r"""Set a new date for the end of the current billing period. The subscription will renew on this date. Needs to be later than the current value. + + It is not possible to update the current billing period on a canceled subscription. + """ + + +class SubscriptionUpdateBillingPeriod(BaseModel): + current_billing_period_end: datetime + r"""Set a new date for the end of the current billing period. The subscription will renew on this date. Needs to be later than the current value. + + It is not possible to update the current billing period on a canceled subscription. + """ diff --git a/src/polar_sdk/models/systemevent.py b/src/polar_sdk/models/systemevent.py index b2afef06..696c1c09 100644 --- a/src/polar_sdk/models/systemevent.py +++ b/src/polar_sdk/models/systemevent.py @@ -24,6 +24,10 @@ SubscriptionRevokedEvent, SubscriptionRevokedEventTypedDict, ) +from .subscriptionseatsupdatedevent import ( + SubscriptionSeatsUpdatedEvent, + SubscriptionSeatsUpdatedEventTypedDict, +) from polar_sdk.utils import get_discriminator from pydantic import Discriminator, Tag from typing import Union @@ -42,6 +46,7 @@ SubscriptionCycledEventTypedDict, SubscriptionRevokedEventTypedDict, SubscriptionProductUpdatedEventTypedDict, + SubscriptionSeatsUpdatedEventTypedDict, OrderPaidEventTypedDict, OrderRefundedEventTypedDict, CustomerCreatedEventTypedDict, @@ -67,6 +72,7 @@ Annotated[SubscriptionCycledEvent, Tag("subscription.cycled")], Annotated[SubscriptionProductUpdatedEvent, Tag("subscription.product_updated")], Annotated[SubscriptionRevokedEvent, Tag("subscription.revoked")], + Annotated[SubscriptionSeatsUpdatedEvent, Tag("subscription.seats_updated")], ], Discriminator(lambda m: get_discriminator(m, "name", "name")), ] diff --git a/src/polar_sdk/models/paymentintentfailederror.py b/src/polar_sdk/models/trialalreadyredeemed.py similarity index 70% rename from src/polar_sdk/models/paymentintentfailederror.py rename to src/polar_sdk/models/trialalreadyredeemed.py index 710675e3..f8d2708d 100644 --- a/src/polar_sdk/models/paymentintentfailederror.py +++ b/src/polar_sdk/models/trialalreadyredeemed.py @@ -12,25 +12,25 @@ from typing_extensions import Annotated -class PaymentIntentFailedErrorData(BaseModel): +class TrialAlreadyRedeemedData(BaseModel): detail: str ERROR: Annotated[ Annotated[ - Literal["PaymentIntentFailedError"], - AfterValidator(validate_const("PaymentIntentFailedError")), + Literal["TrialAlreadyRedeemed"], + AfterValidator(validate_const("TrialAlreadyRedeemed")), ], pydantic.Field(alias="error"), - ] = "PaymentIntentFailedError" + ] = "TrialAlreadyRedeemed" @dataclass(unsafe_hash=True) -class PaymentIntentFailedError(PolarError): - data: PaymentIntentFailedErrorData = field(hash=False) +class TrialAlreadyRedeemed(PolarError): + data: TrialAlreadyRedeemedData = field(hash=False) def __init__( self, - data: PaymentIntentFailedErrorData, + data: TrialAlreadyRedeemedData, raw_response: httpx.Response, body: Optional[str] = None, ): diff --git a/src/polar_sdk/models/userevent.py b/src/polar_sdk/models/userevent.py index 428a135c..a262f694 100644 --- a/src/polar_sdk/models/userevent.py +++ b/src/polar_sdk/models/userevent.py @@ -4,7 +4,7 @@ from .customer import Customer, CustomerTypedDict from .eventmetadataoutput import EventMetadataOutput, EventMetadataOutputTypedDict from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic from pydantic import model_serializer @@ -28,11 +28,15 @@ class UserEventTypedDict(TypedDict): r"""The customer associated with the event.""" external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" name: str r"""The name of the event.""" metadata: Dict[str, EventMetadataOutputTypedDict] child_count: NotRequired[int] r"""Number of direct child events linked to this event.""" + parent_id: NotRequired[Nullable[str]] + r"""The ID of the parent event.""" source: Literal["user"] r"""The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.""" @@ -58,6 +62,9 @@ class UserEvent(BaseModel): external_customer_id: Nullable[str] r"""ID of the customer in your system associated with the event.""" + label: str + r"""Human readable label of the event type.""" + name: str r"""The name of the event.""" @@ -66,6 +73,9 @@ class UserEvent(BaseModel): child_count: Optional[int] = 0 r"""Number of direct child events linked to this event.""" + parent_id: OptionalNullable[str] = UNSET + r"""The ID of the parent event.""" + SOURCE: Annotated[ Annotated[Literal["user"], AfterValidator(validate_const("user"))], pydantic.Field(alias="source"), @@ -74,8 +84,13 @@ class UserEvent(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["child_count"] - nullable_fields = ["customer_id", "customer", "external_customer_id"] + optional_fields = ["child_count", "parent_id"] + nullable_fields = [ + "customer_id", + "customer", + "external_customer_id", + "parent_id", + ] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/wallets_getop.py b/src/polar_sdk/models/wallets_getop.py deleted file mode 100644 index 829241dd..00000000 --- a/src/polar_sdk/models/wallets_getop.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from polar_sdk.types import BaseModel -from polar_sdk.utils import FieldMetadata, PathParamMetadata -from typing_extensions import Annotated, TypedDict - - -class WalletsGetRequestTypedDict(TypedDict): - id: str - r"""The wallet ID.""" - - -class WalletsGetRequest(BaseModel): - id: Annotated[ - str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False)) - ] - r"""The wallet ID.""" diff --git a/src/polar_sdk/models/wallettopupcreate.py b/src/polar_sdk/models/wallettopupcreate.py deleted file mode 100644 index 3a14386d..00000000 --- a/src/polar_sdk/models/wallettopupcreate.py +++ /dev/null @@ -1,24 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from polar_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class WalletTopUpCreateTypedDict(TypedDict): - r"""Request schema to top-up a wallet.""" - - amount: int - r"""The amount to top-up the wallet by, in cents.""" - currency: str - r"""The currency. Currently, only `usd` is supported. It should match the wallet's currency.""" - - -class WalletTopUpCreate(BaseModel): - r"""Request schema to top-up a wallet.""" - - amount: int - r"""The amount to top-up the wallet by, in cents.""" - - currency: str - r"""The currency. Currently, only `usd` is supported. It should match the wallet's currency.""" diff --git a/src/polar_sdk/models/webhookevent.py b/src/polar_sdk/models/webhookevent.py index 8cb94f34..64ae3ce8 100644 --- a/src/polar_sdk/models/webhookevent.py +++ b/src/polar_sdk/models/webhookevent.py @@ -24,6 +24,8 @@ class WebhookEventTypedDict(TypedDict): r"""Last modification timestamp of the object.""" id: str r"""The ID of the object.""" + skipped: bool + r"""Whether this event was skipped because the webhook endpoint was disabled.""" payload: Nullable[str] r"""The payload of the webhook event.""" type: WebhookEventType @@ -54,6 +56,9 @@ class WebhookEvent(BaseModel): id: str r"""The ID of the object.""" + skipped: bool + r"""Whether this event was skipped because the webhook endpoint was disabled.""" + payload: Nullable[str] r"""The payload of the webhook event.""" diff --git a/src/polar_sdk/models/webhookordercreatedpayload.py b/src/polar_sdk/models/webhookordercreatedpayload.py index 8070c054..8b9ad65c 100644 --- a/src/polar_sdk/models/webhookordercreatedpayload.py +++ b/src/polar_sdk/models/webhookordercreatedpayload.py @@ -21,7 +21,8 @@ class WebhookOrderCreatedPayloadTypedDict(TypedDict): * A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`. * A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`. - The order might not be paid yet, so the `status` field might be `pending`. + > [!WARNING] + > The order might not be paid yet, so the `status` field might be `pending`. **Discord & Slack support:** Full """ @@ -41,7 +42,8 @@ class WebhookOrderCreatedPayload(BaseModel): * A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`. * A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`. - The order might not be paid yet, so the `status` field might be `pending`. + > [!WARNING] + > The order might not be paid yet, so the `status` field might be `pending`. **Discord & Slack support:** Full """ diff --git a/src/polar_sdk/polar_organizations.py b/src/polar_sdk/polar_organizations.py index 09c27b2b..ad219724 100644 --- a/src/polar_sdk/polar_organizations.py +++ b/src/polar_sdk/polar_organizations.py @@ -17,7 +17,7 @@ def get( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerOrganization: + ) -> models.CustomerOrganizationData: r"""Get Organization Get a customer portal's organization by slug. @@ -80,7 +80,7 @@ def get( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerOrganization, http_res) + return unmarshal_json_response(models.CustomerOrganizationData, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -108,7 +108,7 @@ async def get_async( server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.CustomerOrganization: + ) -> models.CustomerOrganizationData: r"""Get Organization Get a customer portal's organization by slug. @@ -171,7 +171,7 @@ async def get_async( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.CustomerOrganization, http_res) + return unmarshal_json_response(models.CustomerOrganizationData, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res diff --git a/src/polar_sdk/sdk.py b/src/polar_sdk/sdk.py index f895df1e..3f781fa2 100644 --- a/src/polar_sdk/sdk.py +++ b/src/polar_sdk/sdk.py @@ -26,9 +26,11 @@ from polar_sdk.customer_sessions import CustomerSessions from polar_sdk.customers import Customers from polar_sdk.discounts import Discounts + from polar_sdk.event_types import EventTypes from polar_sdk.events import Events from polar_sdk.files import Files from polar_sdk.license_keys import LicenseKeys + from polar_sdk.members import Members from polar_sdk.meters import Meters from polar_sdk.metrics_sdk import MetricsSDK from polar_sdk.oauth2 import Oauth2 @@ -38,7 +40,6 @@ from polar_sdk.products import Products from polar_sdk.refunds import Refunds from polar_sdk.subscriptions import Subscriptions - from polar_sdk.wallets import Wallets from polar_sdk.webhooks import Webhooks @@ -65,14 +66,15 @@ class Polar(BaseSDK): custom_fields: "CustomFields" discounts: "Discounts" customers: "Customers" + members: "Members" customer_portal: "CustomerPortal" customer_seats: "CustomerSeats" customer_sessions: "CustomerSessions" events: "Events" + event_types: "EventTypes" meters: "Meters" customer_meters: "CustomerMeters" payments: "Payments" - wallets: "Wallets" _sub_sdk_map = { "organizations": ("polar_sdk.organizations", "Organizations"), "subscriptions": ("polar_sdk.subscriptions", "Subscriptions"), @@ -91,14 +93,15 @@ class Polar(BaseSDK): "custom_fields": ("polar_sdk.custom_fields", "CustomFields"), "discounts": ("polar_sdk.discounts", "Discounts"), "customers": ("polar_sdk.customers", "Customers"), + "members": ("polar_sdk.members", "Members"), "customer_portal": ("polar_sdk.customer_portal", "CustomerPortal"), "customer_seats": ("polar_sdk.customer_seats", "CustomerSeats"), "customer_sessions": ("polar_sdk.customer_sessions", "CustomerSessions"), "events": ("polar_sdk.events", "Events"), + "event_types": ("polar_sdk.event_types", "EventTypes"), "meters": ("polar_sdk.meters", "Meters"), "customer_meters": ("polar_sdk.customer_meters", "CustomerMeters"), "payments": ("polar_sdk.payments", "Payments"), - "wallets": ("polar_sdk.wallets", "Wallets"), } def __init__( diff --git a/src/polar_sdk/subscriptions.py b/src/polar_sdk/subscriptions.py index 649c25fd..60a2462d 100644 --- a/src/polar_sdk/subscriptions.py +++ b/src/polar_sdk/subscriptions.py @@ -32,6 +32,7 @@ def list( Union[models.DiscountIDFilter, models.DiscountIDFilterTypedDict] ] = UNSET, active: OptionalNullable[bool] = UNSET, + cancel_at_period_end: OptionalNullable[bool] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.SubscriptionSortProperty]] = UNSET, @@ -58,6 +59,7 @@ def list( :param external_customer_id: Filter by customer external ID. :param discount_id: Filter by discount ID. :param active: Filter by active or inactive subscription. + :param cancel_at_period_end: Filter by subscriptions that are set to cancel at period end. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -84,6 +86,7 @@ def list( external_customer_id=external_customer_id, discount_id=discount_id, active=active, + cancel_at_period_end=cancel_at_period_end, page=page, limit=limit, sorting=sorting, @@ -152,6 +155,7 @@ def next_func() -> Optional[models.SubscriptionsListResponse]: external_customer_id=external_customer_id, discount_id=discount_id, active=active, + cancel_at_period_end=cancel_at_period_end, page=next_page, limit=limit, sorting=sorting, @@ -203,6 +207,7 @@ async def list_async( Union[models.DiscountIDFilter, models.DiscountIDFilterTypedDict] ] = UNSET, active: OptionalNullable[bool] = UNSET, + cancel_at_period_end: OptionalNullable[bool] = UNSET, page: Optional[int] = 1, limit: Optional[int] = 10, sorting: OptionalNullable[List[models.SubscriptionSortProperty]] = UNSET, @@ -229,6 +234,7 @@ async def list_async( :param external_customer_id: Filter by customer external ID. :param discount_id: Filter by discount ID. :param active: Filter by active or inactive subscription. + :param cancel_at_period_end: Filter by subscriptions that are set to cancel at period end. :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -255,6 +261,7 @@ async def list_async( external_customer_id=external_customer_id, discount_id=discount_id, active=active, + cancel_at_period_end=cancel_at_period_end, page=page, limit=limit, sorting=sorting, @@ -323,6 +330,7 @@ def next_func() -> Optional[models.SubscriptionsListResponse]: external_customer_id=external_customer_id, discount_id=discount_id, active=active, + cancel_at_period_end=cancel_at_period_end, page=next_page, limit=limit, sorting=sorting, diff --git a/src/polar_sdk/wallets.py b/src/polar_sdk/wallets.py index 1d2a7fd2..f0a0ef5a 100644 --- a/src/polar_sdk/wallets.py +++ b/src/polar_sdk/wallets.py @@ -13,34 +13,25 @@ class Wallets(BaseSDK): def list( self, *, - organization_id: OptionalNullable[ - Union[ - models.WalletsListQueryParamOrganizationIDFilter, - models.WalletsListQueryParamOrganizationIDFilterTypedDict, - ] - ] = UNSET, - customer_id: OptionalNullable[ - Union[ - models.WalletsListQueryParamCustomerIDFilter, - models.WalletsListQueryParamCustomerIDFilterTypedDict, - ] - ] = UNSET, + security: Union[ + models.CustomerPortalWalletsListSecurity, + models.CustomerPortalWalletsListSecurityTypedDict, + ], page: Optional[int] = 1, limit: Optional[int] = 10, - sorting: OptionalNullable[List[models.WalletSortProperty]] = UNSET, + sorting: OptionalNullable[List[models.CustomerWalletSortProperty]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.WalletsListResponse]: + ) -> Optional[models.CustomerPortalWalletsListResponse]: r"""List Wallets - List wallets. + List wallets of the authenticated customer. - **Scopes**: `wallets:read` + **Scopes**: `customer_portal:read` `customer_portal:write` - :param organization_id: Filter by organization ID. - :param customer_id: Filter by customer ID. + :param security: :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -59,9 +50,7 @@ def list( else: base_url = self._get_url(base_url, url_variables) - request = models.WalletsListRequest( - organization_id=organization_id, - customer_id=customer_id, + request = models.CustomerPortalWalletsListRequest( page=page, limit=limit, sorting=sorting, @@ -69,7 +58,7 @@ def list( req = self._build_request( method="GET", - path="/v1/wallets/", + path="/v1/customer-portal/wallets/", base_url=base_url, url_variables=url_variables, request=request, @@ -79,7 +68,9 @@ def list( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=self.sdk_configuration.security, + security=utils.get_pydantic_model( + security, models.CustomerPortalWalletsListSecurity + ), timeout_ms=timeout_ms, ) @@ -95,16 +86,16 @@ def list( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="wallets:list", + operation_id="customer_portal:wallets:list", oauth2_scopes=None, - security_source=self.sdk_configuration.security, + security_source=security, ), request=req, error_status_codes=["422", "4XX", "5XX"], retry_config=retry_config, ) - def next_func() -> Optional[models.WalletsListResponse]: + def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) page = request.page if not request.page is None else 1 next_page = page + 1 @@ -123,8 +114,7 @@ def next_func() -> Optional[models.WalletsListResponse]: return None return self.list( - organization_id=organization_id, - customer_id=customer_id, + security=security, page=next_page, limit=limit, sorting=sorting, @@ -133,8 +123,10 @@ def next_func() -> Optional[models.WalletsListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.WalletsListResponse( - result=unmarshal_json_response(models.ListResourceWallet, http_res), + return models.CustomerPortalWalletsListResponse( + result=unmarshal_json_response( + models.ListResourceCustomerWallet, http_res + ), next=next_func, ) if utils.match_response(http_res, "422", "application/json"): @@ -154,34 +146,25 @@ def next_func() -> Optional[models.WalletsListResponse]: async def list_async( self, *, - organization_id: OptionalNullable[ - Union[ - models.WalletsListQueryParamOrganizationIDFilter, - models.WalletsListQueryParamOrganizationIDFilterTypedDict, - ] - ] = UNSET, - customer_id: OptionalNullable[ - Union[ - models.WalletsListQueryParamCustomerIDFilter, - models.WalletsListQueryParamCustomerIDFilterTypedDict, - ] - ] = UNSET, + security: Union[ + models.CustomerPortalWalletsListSecurity, + models.CustomerPortalWalletsListSecurityTypedDict, + ], page: Optional[int] = 1, limit: Optional[int] = 10, - sorting: OptionalNullable[List[models.WalletSortProperty]] = UNSET, + sorting: OptionalNullable[List[models.CustomerWalletSortProperty]] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.WalletsListResponse]: + ) -> Optional[models.CustomerPortalWalletsListResponse]: r"""List Wallets - List wallets. + List wallets of the authenticated customer. - **Scopes**: `wallets:read` + **Scopes**: `customer_portal:read` `customer_portal:write` - :param organization_id: Filter by organization ID. - :param customer_id: Filter by customer ID. + :param security: :param page: Page number, defaults to 1. :param limit: Size of a page, defaults to 10. Maximum is 100. :param sorting: Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. @@ -200,9 +183,7 @@ async def list_async( else: base_url = self._get_url(base_url, url_variables) - request = models.WalletsListRequest( - organization_id=organization_id, - customer_id=customer_id, + request = models.CustomerPortalWalletsListRequest( page=page, limit=limit, sorting=sorting, @@ -210,7 +191,7 @@ async def list_async( req = self._build_request_async( method="GET", - path="/v1/wallets/", + path="/v1/customer-portal/wallets/", base_url=base_url, url_variables=url_variables, request=request, @@ -220,7 +201,9 @@ async def list_async( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=self.sdk_configuration.security, + security=utils.get_pydantic_model( + security, models.CustomerPortalWalletsListSecurity + ), timeout_ms=timeout_ms, ) @@ -236,16 +219,16 @@ async def list_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="wallets:list", + operation_id="customer_portal:wallets:list", oauth2_scopes=None, - security_source=self.sdk_configuration.security, + security_source=security, ), request=req, error_status_codes=["422", "4XX", "5XX"], retry_config=retry_config, ) - def next_func() -> Optional[models.WalletsListResponse]: + def next_func() -> Optional[models.CustomerPortalWalletsListResponse]: body = utils.unmarshal_json(http_res.text, Union[Dict[Any, Any], List[Any]]) page = request.page if not request.page is None else 1 next_page = page + 1 @@ -264,8 +247,7 @@ def next_func() -> Optional[models.WalletsListResponse]: return None return self.list( - organization_id=organization_id, - customer_id=customer_id, + security=security, page=next_page, limit=limit, sorting=sorting, @@ -274,8 +256,10 @@ def next_func() -> Optional[models.WalletsListResponse]: response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return models.WalletsListResponse( - result=unmarshal_json_response(models.ListResourceWallet, http_res), + return models.CustomerPortalWalletsListResponse( + result=unmarshal_json_response( + models.ListResourceCustomerWallet, http_res + ), next=next_func, ) if utils.match_response(http_res, "422", "application/json"): @@ -295,18 +279,23 @@ def next_func() -> Optional[models.WalletsListResponse]: def get( self, *, + security: Union[ + models.CustomerPortalWalletsGetSecurity, + models.CustomerPortalWalletsGetSecurityTypedDict, + ], id: str, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Wallet: + ) -> models.CustomerWallet: r"""Get Wallet - Get a wallet by ID. + Get a wallet by ID for the authenticated customer. - **Scopes**: `wallets:read` + **Scopes**: `customer_portal:read` `customer_portal:write` + :param security: :param id: The wallet ID. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -323,13 +312,13 @@ def get( else: base_url = self._get_url(base_url, url_variables) - request = models.WalletsGetRequest( + request = models.CustomerPortalWalletsGetRequest( id=id, ) req = self._build_request( method="GET", - path="/v1/wallets/{id}", + path="/v1/customer-portal/wallets/{id}", base_url=base_url, url_variables=url_variables, request=request, @@ -339,7 +328,9 @@ def get( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=self.sdk_configuration.security, + security=utils.get_pydantic_model( + security, models.CustomerPortalWalletsGetSecurity + ), timeout_ms=timeout_ms, ) @@ -355,9 +346,9 @@ def get( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="wallets:get", + operation_id="customer_portal:wallets:get", oauth2_scopes=None, - security_source=self.sdk_configuration.security, + security_source=security, ), request=req, error_status_codes=["404", "422", "4XX", "5XX"], @@ -366,7 +357,7 @@ def get( response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Wallet, http_res) + return unmarshal_json_response(models.CustomerWallet, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res @@ -389,18 +380,23 @@ def get( async def get_async( self, *, + security: Union[ + models.CustomerPortalWalletsGetSecurity, + models.CustomerPortalWalletsGetSecurityTypedDict, + ], id: str, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.Wallet: + ) -> models.CustomerWallet: r"""Get Wallet - Get a wallet by ID. + Get a wallet by ID for the authenticated customer. - **Scopes**: `wallets:read` + **Scopes**: `customer_portal:read` `customer_portal:write` + :param security: :param id: The wallet ID. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -417,13 +413,13 @@ async def get_async( else: base_url = self._get_url(base_url, url_variables) - request = models.WalletsGetRequest( + request = models.CustomerPortalWalletsGetRequest( id=id, ) req = self._build_request_async( method="GET", - path="/v1/wallets/{id}", + path="/v1/customer-portal/wallets/{id}", base_url=base_url, url_variables=url_variables, request=request, @@ -433,238 +429,8 @@ async def get_async( user_agent_header="user-agent", accept_header_value="application/json", http_headers=http_headers, - security=self.sdk_configuration.security, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="wallets:get", - oauth2_scopes=None, - security_source=self.sdk_configuration.security, - ), - request=req, - error_status_codes=["404", "422", "4XX", "5XX"], - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Wallet, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - models.HTTPValidationErrorData, http_res - ) - raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - - raise models.SDKError("Unexpected response received", http_res) - - def top_up( - self, - *, - id: str, - wallet_top_up_create: Union[ - models.WalletTopUpCreate, models.WalletTopUpCreateTypedDict - ], - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.Wallet]: - r"""Top-Up Wallet - - Top-up a wallet by adding funds to its balance. - - The customer should have a valid payment method on file. - - **Scopes**: `wallets:write` - - :param id: The wallet ID. - :param wallet_top_up_create: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.WalletsTopUpRequest( - id=id, - wallet_top_up_create=utils.get_pydantic_model( - wallet_top_up_create, models.WalletTopUpCreate - ), - ) - - req = self._build_request( - method="POST", - path="/v1/wallets/{id}/top-up", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.wallet_top_up_create, - False, - False, - "json", - models.WalletTopUpCreate, - ), - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="wallets:top_up", - oauth2_scopes=None, - security_source=self.sdk_configuration.security, - ), - request=req, - error_status_codes=["400", "402", "404", "422", "4XX", "5XX"], - retry_config=retry_config, - ) - - response_data: Any = None - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Wallet, http_res) - if utils.match_response(http_res, "201", "*"): - return None - if utils.match_response(http_res, "400", "application/json"): - response_data = unmarshal_json_response( - models.PaymentIntentFailedErrorData, http_res - ) - raise models.PaymentIntentFailedError(response_data, http_res) - if utils.match_response(http_res, "402", "application/json"): - response_data = unmarshal_json_response( - models.MissingPaymentMethodErrorData, http_res - ) - raise models.MissingPaymentMethodError(response_data, http_res) - if utils.match_response(http_res, "404", "application/json"): - response_data = unmarshal_json_response( - models.ResourceNotFoundData, http_res - ) - raise models.ResourceNotFound(response_data, http_res) - if utils.match_response(http_res, "422", "application/json"): - response_data = unmarshal_json_response( - models.HTTPValidationErrorData, http_res - ) - raise models.HTTPValidationError(response_data, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise models.SDKError("API error occurred", http_res, http_res_text) - - raise models.SDKError("Unexpected response received", http_res) - - async def top_up_async( - self, - *, - id: str, - wallet_top_up_create: Union[ - models.WalletTopUpCreate, models.WalletTopUpCreateTypedDict - ], - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> Optional[models.Wallet]: - r"""Top-Up Wallet - - Top-up a wallet by adding funds to its balance. - - The customer should have a valid payment method on file. - - **Scopes**: `wallets:write` - - :param id: The wallet ID. - :param wallet_top_up_create: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.WalletsTopUpRequest( - id=id, - wallet_top_up_create=utils.get_pydantic_model( - wallet_top_up_create, models.WalletTopUpCreate - ), - ) - - req = self._build_request_async( - method="POST", - path="/v1/wallets/{id}/top-up", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=True, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.wallet_top_up_create, - False, - False, - "json", - models.WalletTopUpCreate, + security=utils.get_pydantic_model( + security, models.CustomerPortalWalletsGetSecurity ), timeout_ms=timeout_ms, ) @@ -681,30 +447,18 @@ async def top_up_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="wallets:top_up", + operation_id="customer_portal:wallets:get", oauth2_scopes=None, - security_source=self.sdk_configuration.security, + security_source=security, ), request=req, - error_status_codes=["400", "402", "404", "422", "4XX", "5XX"], + error_status_codes=["404", "422", "4XX", "5XX"], retry_config=retry_config, ) response_data: Any = None if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.Wallet, http_res) - if utils.match_response(http_res, "201", "*"): - return None - if utils.match_response(http_res, "400", "application/json"): - response_data = unmarshal_json_response( - models.PaymentIntentFailedErrorData, http_res - ) - raise models.PaymentIntentFailedError(response_data, http_res) - if utils.match_response(http_res, "402", "application/json"): - response_data = unmarshal_json_response( - models.MissingPaymentMethodErrorData, http_res - ) - raise models.MissingPaymentMethodError(response_data, http_res) + return unmarshal_json_response(models.CustomerWallet, http_res) if utils.match_response(http_res, "404", "application/json"): response_data = unmarshal_json_response( models.ResourceNotFoundData, http_res From 3a44571d5e4cbe291442cfe1b36b8257e8540770 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sun, 7 Dec 2025 00:20:07 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow