@polar-sh/sdk 1.0.0-alpha.19 → 1.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/2026-04/index.cjs +4 -6
- package/dist/2026-04/index.cjs.map +1 -1
- package/dist/2026-04/index.d.cts +3 -3
- package/dist/2026-04/index.d.mts +3 -3
- package/dist/2026-04/index.mjs +4 -6
- package/dist/2026-04/index.mjs.map +1 -1
- package/dist/2026-04/services/benefit_grants.cjs +1 -1
- package/dist/2026-04/services/benefit_grants.d.cts +2 -2
- package/dist/2026-04/services/benefit_grants.d.mts +2 -2
- package/dist/2026-04/services/benefit_grants.mjs +1 -1
- package/dist/2026-04/services/benefits.cjs +1 -1
- package/dist/2026-04/services/benefits.d.cts +2 -2
- package/dist/2026-04/services/benefits.d.mts +2 -2
- package/dist/2026-04/services/benefits.mjs +1 -1
- package/dist/2026-04/services/checkout_links.cjs +1 -1
- package/dist/2026-04/services/checkout_links.d.cts +2 -2
- package/dist/2026-04/services/checkout_links.d.mts +2 -2
- package/dist/2026-04/services/checkout_links.mjs +1 -1
- package/dist/2026-04/services/checkouts.cjs +1 -1
- package/dist/2026-04/services/checkouts.d.cts +2 -2
- package/dist/2026-04/services/checkouts.d.mts +2 -2
- package/dist/2026-04/services/checkouts.mjs +1 -1
- package/dist/2026-04/services/custom_fields.cjs +1 -1
- package/dist/2026-04/services/custom_fields.d.cts +2 -2
- package/dist/2026-04/services/custom_fields.d.mts +2 -2
- package/dist/2026-04/services/custom_fields.mjs +1 -1
- package/dist/2026-04/services/customer_meters.cjs +1 -1
- package/dist/2026-04/services/customer_meters.d.cts +2 -2
- package/dist/2026-04/services/customer_meters.d.mts +2 -2
- package/dist/2026-04/services/customer_meters.mjs +1 -1
- package/dist/2026-04/services/customer_portal/benefit_grants.cjs +1 -1
- package/dist/2026-04/services/customer_portal/benefit_grants.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/benefit_grants.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/benefit_grants.mjs +1 -1
- package/dist/2026-04/services/customer_portal/customer_meters.cjs +1 -1
- package/dist/2026-04/services/customer_portal/customer_meters.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/customer_meters.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/customer_meters.mjs +1 -1
- package/dist/2026-04/services/customer_portal/customer_session.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/customer_session.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/customers.cjs +1 -1
- package/dist/2026-04/services/customer_portal/customers.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/customers.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/customers.mjs +1 -1
- package/dist/2026-04/services/customer_portal/downloadables.cjs +1 -1
- package/dist/2026-04/services/customer_portal/downloadables.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/downloadables.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/downloadables.mjs +1 -1
- package/dist/2026-04/services/customer_portal/index.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/index.d.cts.map +1 -1
- package/dist/2026-04/services/customer_portal/index.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/index.d.mts.map +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.cjs +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/license_keys.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/license_keys.mjs +1 -1
- package/dist/2026-04/services/customer_portal/members.cjs +1 -1
- package/dist/2026-04/services/customer_portal/members.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/members.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/members.mjs +1 -1
- package/dist/2026-04/services/customer_portal/orders.cjs +1 -1
- package/dist/2026-04/services/customer_portal/orders.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/orders.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/orders.mjs +1 -1
- package/dist/2026-04/services/customer_portal/organizations.cjs +1 -1
- package/dist/2026-04/services/customer_portal/organizations.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/organizations.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/organizations.mjs +1 -1
- package/dist/2026-04/services/customer_portal/seats.cjs +5 -5
- package/dist/2026-04/services/customer_portal/seats.cjs.map +1 -1
- package/dist/2026-04/services/customer_portal/seats.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/seats.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/seats.mjs +5 -5
- package/dist/2026-04/services/customer_portal/seats.mjs.map +1 -1
- package/dist/2026-04/services/customer_portal/subscriptions.cjs +3 -3
- package/dist/2026-04/services/customer_portal/subscriptions.cjs.map +1 -1
- package/dist/2026-04/services/customer_portal/subscriptions.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/subscriptions.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/subscriptions.mjs +3 -3
- package/dist/2026-04/services/customer_portal/subscriptions.mjs.map +1 -1
- package/dist/2026-04/services/customer_portal/wallets.cjs +1 -1
- package/dist/2026-04/services/customer_portal/wallets.d.cts +2 -2
- package/dist/2026-04/services/customer_portal/wallets.d.mts +2 -2
- package/dist/2026-04/services/customer_portal/wallets.mjs +1 -1
- package/dist/2026-04/services/customer_seats.cjs +5 -5
- package/dist/2026-04/services/customer_seats.cjs.map +1 -1
- package/dist/2026-04/services/customer_seats.d.cts +2 -2
- package/dist/2026-04/services/customer_seats.d.mts +2 -2
- package/dist/2026-04/services/customer_seats.mjs +5 -5
- package/dist/2026-04/services/customer_seats.mjs.map +1 -1
- package/dist/2026-04/services/customer_sessions.cjs +6 -2
- package/dist/2026-04/services/customer_sessions.cjs.map +1 -1
- package/dist/2026-04/services/customer_sessions.d.cts +2 -2
- package/dist/2026-04/services/customer_sessions.d.cts.map +1 -1
- package/dist/2026-04/services/customer_sessions.d.mts +2 -2
- package/dist/2026-04/services/customer_sessions.d.mts.map +1 -1
- package/dist/2026-04/services/customer_sessions.mjs +6 -2
- package/dist/2026-04/services/customer_sessions.mjs.map +1 -1
- package/dist/2026-04/services/customers/index.cjs +1 -1
- package/dist/2026-04/services/customers/index.d.cts +26 -2
- package/dist/2026-04/services/customers/index.d.cts.map +1 -1
- package/dist/2026-04/services/customers/index.d.mts +26 -2
- package/dist/2026-04/services/customers/index.d.mts.map +1 -1
- package/dist/2026-04/services/customers/index.mjs +1 -1
- package/dist/2026-04/services/customers/members.cjs +143 -2
- package/dist/2026-04/services/customers/members.cjs.map +1 -1
- package/dist/2026-04/services/customers/members.d.cts +82 -3
- package/dist/2026-04/services/customers/members.d.cts.map +1 -1
- package/dist/2026-04/services/customers/members.d.mts +82 -3
- package/dist/2026-04/services/customers/members.d.mts.map +1 -1
- package/dist/2026-04/services/customers/members.mjs +140 -3
- package/dist/2026-04/services/customers/members.mjs.map +1 -1
- package/dist/2026-04/services/discounts.cjs +1 -1
- package/dist/2026-04/services/discounts.d.cts +2 -2
- package/dist/2026-04/services/discounts.d.mts +2 -2
- package/dist/2026-04/services/discounts.mjs +1 -1
- package/dist/2026-04/services/disputes.cjs +1 -1
- package/dist/2026-04/services/disputes.d.cts +2 -2
- package/dist/2026-04/services/disputes.d.mts +2 -2
- package/dist/2026-04/services/disputes.mjs +1 -1
- package/dist/2026-04/services/event_types.cjs +1 -1
- package/dist/2026-04/services/event_types.d.cts +2 -2
- package/dist/2026-04/services/event_types.d.mts +2 -2
- package/dist/2026-04/services/event_types.mjs +1 -1
- package/dist/2026-04/services/events.cjs +1 -1
- package/dist/2026-04/services/events.d.cts +2 -2
- package/dist/2026-04/services/events.d.mts +2 -2
- package/dist/2026-04/services/events.mjs +1 -1
- package/dist/2026-04/services/files.cjs +1 -1
- package/dist/2026-04/services/files.d.cts +2 -2
- package/dist/2026-04/services/files.d.mts +2 -2
- package/dist/2026-04/services/files.mjs +1 -1
- package/dist/2026-04/services/license_keys.cjs +1 -1
- package/dist/2026-04/services/license_keys.d.cts +2 -2
- package/dist/2026-04/services/license_keys.d.mts +2 -2
- package/dist/2026-04/services/license_keys.mjs +1 -1
- package/dist/2026-04/services/meters.cjs +1 -1
- package/dist/2026-04/services/meters.d.cts +2 -2
- package/dist/2026-04/services/meters.d.mts +2 -2
- package/dist/2026-04/services/meters.mjs +1 -1
- package/dist/2026-04/services/metrics.cjs +1 -1
- package/dist/2026-04/services/metrics.d.cts +2 -2
- package/dist/2026-04/services/metrics.d.mts +2 -2
- package/dist/2026-04/services/metrics.mjs +1 -1
- package/dist/2026-04/services/oauth2/clients/index.d.cts +2 -2
- package/dist/2026-04/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.cjs +1 -1
- package/dist/2026-04/services/oauth2/clients/oauth2.d.cts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.d.mts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.mjs +1 -1
- package/dist/2026-04/services/oauth2/index.d.cts +2 -2
- package/dist/2026-04/services/oauth2/index.d.mts +2 -2
- package/dist/2026-04/services/orders.cjs +1 -1
- package/dist/2026-04/services/orders.d.cts +2 -2
- package/dist/2026-04/services/orders.d.mts +2 -2
- package/dist/2026-04/services/orders.mjs +1 -1
- package/dist/2026-04/services/organizations.cjs +1 -1
- package/dist/2026-04/services/organizations.d.cts +2 -2
- package/dist/2026-04/services/organizations.d.mts +2 -2
- package/dist/2026-04/services/organizations.mjs +1 -1
- package/dist/2026-04/services/payments.cjs +1 -1
- package/dist/2026-04/services/payments.d.cts +2 -2
- package/dist/2026-04/services/payments.d.mts +2 -2
- package/dist/2026-04/services/payments.mjs +1 -1
- package/dist/2026-04/services/products.cjs +1 -1
- package/dist/2026-04/services/products.d.cts +2 -2
- package/dist/2026-04/services/products.d.mts +2 -2
- package/dist/2026-04/services/products.mjs +1 -1
- package/dist/2026-04/services/refunds.cjs +1 -1
- package/dist/2026-04/services/refunds.d.cts +2 -2
- package/dist/2026-04/services/refunds.d.mts +2 -2
- package/dist/2026-04/services/refunds.mjs +1 -1
- package/dist/2026-04/services/subscriptions.cjs +3 -3
- package/dist/2026-04/services/subscriptions.cjs.map +1 -1
- package/dist/2026-04/services/subscriptions.d.cts +2 -2
- package/dist/2026-04/services/subscriptions.d.cts.map +1 -1
- package/dist/2026-04/services/subscriptions.d.mts +2 -2
- package/dist/2026-04/services/subscriptions.d.mts.map +1 -1
- package/dist/2026-04/services/subscriptions.mjs +3 -3
- package/dist/2026-04/services/subscriptions.mjs.map +1 -1
- package/dist/2026-04/services/webhooks.cjs +1 -1
- package/dist/2026-04/services/webhooks.d.cts +2 -2
- package/dist/2026-04/services/webhooks.d.mts +2 -2
- package/dist/2026-04/services/webhooks.mjs +1 -1
- package/dist/2026-10/index.cjs +4 -6
- package/dist/2026-10/index.cjs.map +1 -1
- package/dist/2026-10/index.d.cts +3 -3
- package/dist/2026-10/index.d.mts +3 -3
- package/dist/2026-10/index.mjs +4 -6
- package/dist/2026-10/index.mjs.map +1 -1
- package/dist/2026-10/services/benefit_grants.cjs +1 -1
- package/dist/2026-10/services/benefit_grants.d.cts +2 -2
- package/dist/2026-10/services/benefit_grants.d.mts +2 -2
- package/dist/2026-10/services/benefit_grants.mjs +1 -1
- package/dist/2026-10/services/benefits.cjs +1 -1
- package/dist/2026-10/services/benefits.d.cts +2 -2
- package/dist/2026-10/services/benefits.d.mts +2 -2
- package/dist/2026-10/services/benefits.mjs +1 -1
- package/dist/2026-10/services/checkout_links.cjs +1 -1
- package/dist/2026-10/services/checkout_links.d.cts +2 -2
- package/dist/2026-10/services/checkout_links.d.mts +2 -2
- package/dist/2026-10/services/checkout_links.mjs +1 -1
- package/dist/2026-10/services/checkouts.cjs +1 -1
- package/dist/2026-10/services/checkouts.d.cts +2 -2
- package/dist/2026-10/services/checkouts.d.mts +2 -2
- package/dist/2026-10/services/checkouts.mjs +1 -1
- package/dist/2026-10/services/custom_fields.cjs +1 -1
- package/dist/2026-10/services/custom_fields.d.cts +2 -2
- package/dist/2026-10/services/custom_fields.d.mts +2 -2
- package/dist/2026-10/services/custom_fields.mjs +1 -1
- package/dist/2026-10/services/customer_meters.cjs +1 -1
- package/dist/2026-10/services/customer_meters.d.cts +2 -2
- package/dist/2026-10/services/customer_meters.d.mts +2 -2
- package/dist/2026-10/services/customer_meters.mjs +1 -1
- package/dist/2026-10/services/customer_portal/benefit_grants.cjs +1 -1
- package/dist/2026-10/services/customer_portal/benefit_grants.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/benefit_grants.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/benefit_grants.mjs +1 -1
- package/dist/2026-10/services/customer_portal/customer_meters.cjs +1 -1
- package/dist/2026-10/services/customer_portal/customer_meters.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/customer_meters.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/customer_meters.mjs +1 -1
- package/dist/2026-10/services/customer_portal/customer_session.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/customer_session.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/customers.cjs +1 -1
- package/dist/2026-10/services/customer_portal/customers.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/customers.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/customers.mjs +1 -1
- package/dist/2026-10/services/customer_portal/downloadables.cjs +1 -1
- package/dist/2026-10/services/customer_portal/downloadables.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/downloadables.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/downloadables.mjs +1 -1
- package/dist/2026-10/services/customer_portal/index.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/index.d.cts.map +1 -1
- package/dist/2026-10/services/customer_portal/index.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/index.d.mts.map +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.cjs +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/license_keys.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/license_keys.mjs +1 -1
- package/dist/2026-10/services/customer_portal/members.cjs +1 -1
- package/dist/2026-10/services/customer_portal/members.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/members.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/members.mjs +1 -1
- package/dist/2026-10/services/customer_portal/orders.cjs +1 -1
- package/dist/2026-10/services/customer_portal/orders.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/orders.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/orders.mjs +1 -1
- package/dist/2026-10/services/customer_portal/organizations.cjs +1 -1
- package/dist/2026-10/services/customer_portal/organizations.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/organizations.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/organizations.mjs +1 -1
- package/dist/2026-10/services/customer_portal/seats.cjs +5 -5
- package/dist/2026-10/services/customer_portal/seats.cjs.map +1 -1
- package/dist/2026-10/services/customer_portal/seats.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/seats.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/seats.mjs +5 -5
- package/dist/2026-10/services/customer_portal/seats.mjs.map +1 -1
- package/dist/2026-10/services/customer_portal/subscriptions.cjs +3 -3
- package/dist/2026-10/services/customer_portal/subscriptions.cjs.map +1 -1
- package/dist/2026-10/services/customer_portal/subscriptions.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/subscriptions.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/subscriptions.mjs +3 -3
- package/dist/2026-10/services/customer_portal/subscriptions.mjs.map +1 -1
- package/dist/2026-10/services/customer_portal/wallets.cjs +1 -1
- package/dist/2026-10/services/customer_portal/wallets.d.cts +2 -2
- package/dist/2026-10/services/customer_portal/wallets.d.mts +2 -2
- package/dist/2026-10/services/customer_portal/wallets.mjs +1 -1
- package/dist/2026-10/services/customer_seats.cjs +5 -5
- package/dist/2026-10/services/customer_seats.cjs.map +1 -1
- package/dist/2026-10/services/customer_seats.d.cts +2 -2
- package/dist/2026-10/services/customer_seats.d.mts +2 -2
- package/dist/2026-10/services/customer_seats.mjs +5 -5
- package/dist/2026-10/services/customer_seats.mjs.map +1 -1
- package/dist/2026-10/services/customer_sessions.cjs +6 -2
- package/dist/2026-10/services/customer_sessions.cjs.map +1 -1
- package/dist/2026-10/services/customer_sessions.d.cts +2 -2
- package/dist/2026-10/services/customer_sessions.d.cts.map +1 -1
- package/dist/2026-10/services/customer_sessions.d.mts +2 -2
- package/dist/2026-10/services/customer_sessions.d.mts.map +1 -1
- package/dist/2026-10/services/customer_sessions.mjs +6 -2
- package/dist/2026-10/services/customer_sessions.mjs.map +1 -1
- package/dist/2026-10/services/customers/index.cjs +1 -1
- package/dist/2026-10/services/customers/index.d.cts +26 -2
- package/dist/2026-10/services/customers/index.d.cts.map +1 -1
- package/dist/2026-10/services/customers/index.d.mts +26 -2
- package/dist/2026-10/services/customers/index.d.mts.map +1 -1
- package/dist/2026-10/services/customers/index.mjs +1 -1
- package/dist/2026-10/services/customers/members.cjs +143 -2
- package/dist/2026-10/services/customers/members.cjs.map +1 -1
- package/dist/2026-10/services/customers/members.d.cts +82 -3
- package/dist/2026-10/services/customers/members.d.cts.map +1 -1
- package/dist/2026-10/services/customers/members.d.mts +82 -3
- package/dist/2026-10/services/customers/members.d.mts.map +1 -1
- package/dist/2026-10/services/customers/members.mjs +140 -3
- package/dist/2026-10/services/customers/members.mjs.map +1 -1
- package/dist/2026-10/services/discounts.cjs +1 -1
- package/dist/2026-10/services/discounts.d.cts +2 -2
- package/dist/2026-10/services/discounts.d.mts +2 -2
- package/dist/2026-10/services/discounts.mjs +1 -1
- package/dist/2026-10/services/disputes.cjs +1 -1
- package/dist/2026-10/services/disputes.d.cts +2 -2
- package/dist/2026-10/services/disputes.d.mts +2 -2
- package/dist/2026-10/services/disputes.mjs +1 -1
- package/dist/2026-10/services/event_types.cjs +1 -1
- package/dist/2026-10/services/event_types.d.cts +2 -2
- package/dist/2026-10/services/event_types.d.mts +2 -2
- package/dist/2026-10/services/event_types.mjs +1 -1
- package/dist/2026-10/services/events.cjs +1 -1
- package/dist/2026-10/services/events.d.cts +2 -2
- package/dist/2026-10/services/events.d.mts +2 -2
- package/dist/2026-10/services/events.mjs +1 -1
- package/dist/2026-10/services/files.cjs +1 -1
- package/dist/2026-10/services/files.d.cts +2 -2
- package/dist/2026-10/services/files.d.mts +2 -2
- package/dist/2026-10/services/files.mjs +1 -1
- package/dist/2026-10/services/license_keys.cjs +1 -1
- package/dist/2026-10/services/license_keys.d.cts +2 -2
- package/dist/2026-10/services/license_keys.d.mts +2 -2
- package/dist/2026-10/services/license_keys.mjs +1 -1
- package/dist/2026-10/services/meters.cjs +1 -1
- package/dist/2026-10/services/meters.d.cts +2 -2
- package/dist/2026-10/services/meters.d.mts +2 -2
- package/dist/2026-10/services/meters.mjs +1 -1
- package/dist/2026-10/services/metrics.cjs +1 -1
- package/dist/2026-10/services/metrics.d.cts +2 -2
- package/dist/2026-10/services/metrics.d.mts +2 -2
- package/dist/2026-10/services/metrics.mjs +1 -1
- package/dist/2026-10/services/oauth2/clients/index.d.cts +2 -2
- package/dist/2026-10/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.cjs +1 -1
- package/dist/2026-10/services/oauth2/clients/oauth2.d.cts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.d.mts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.mjs +1 -1
- package/dist/2026-10/services/oauth2/index.d.cts +2 -2
- package/dist/2026-10/services/oauth2/index.d.mts +2 -2
- package/dist/2026-10/services/orders.cjs +1 -1
- package/dist/2026-10/services/orders.d.cts +2 -2
- package/dist/2026-10/services/orders.d.mts +2 -2
- package/dist/2026-10/services/orders.mjs +1 -1
- package/dist/2026-10/services/organizations.cjs +1 -1
- package/dist/2026-10/services/organizations.d.cts +2 -2
- package/dist/2026-10/services/organizations.d.mts +2 -2
- package/dist/2026-10/services/organizations.mjs +1 -1
- package/dist/2026-10/services/payments.cjs +1 -1
- package/dist/2026-10/services/payments.d.cts +2 -2
- package/dist/2026-10/services/payments.d.mts +2 -2
- package/dist/2026-10/services/payments.mjs +1 -1
- package/dist/2026-10/services/products.cjs +1 -1
- package/dist/2026-10/services/products.d.cts +2 -2
- package/dist/2026-10/services/products.d.mts +2 -2
- package/dist/2026-10/services/products.mjs +1 -1
- package/dist/2026-10/services/refunds.cjs +1 -1
- package/dist/2026-10/services/refunds.d.cts +2 -2
- package/dist/2026-10/services/refunds.d.mts +2 -2
- package/dist/2026-10/services/refunds.mjs +1 -1
- package/dist/2026-10/services/subscriptions.cjs +3 -3
- package/dist/2026-10/services/subscriptions.cjs.map +1 -1
- package/dist/2026-10/services/subscriptions.d.cts +2 -2
- package/dist/2026-10/services/subscriptions.d.cts.map +1 -1
- package/dist/2026-10/services/subscriptions.d.mts +2 -2
- package/dist/2026-10/services/subscriptions.d.mts.map +1 -1
- package/dist/2026-10/services/subscriptions.mjs +3 -3
- package/dist/2026-10/services/subscriptions.mjs.map +1 -1
- package/dist/2026-10/services/webhooks.cjs +1 -1
- package/dist/2026-10/services/webhooks.d.cts +2 -2
- package/dist/2026-10/services/webhooks.d.mts +2 -2
- package/dist/2026-10/services/webhooks.mjs +1 -1
- package/dist/{base-B0J2UyGW.d.cts → base-C5EE71lz.d.cts} +3 -1
- package/dist/base-C5EE71lz.d.cts.map +1 -0
- package/dist/{base-B0J2UyGW.d.mts → base-C5EE71lz.d.mts} +3 -1
- package/dist/base-C5EE71lz.d.mts.map +1 -0
- package/dist/{base-Y8hBtwet.mjs → base-CpxoQZCZ.mjs} +11 -1
- package/dist/base-CpxoQZCZ.mjs.map +1 -0
- package/dist/{base-CKGG5bHP.cjs → base-D83CMR-Q.cjs} +11 -1
- package/dist/base-D83CMR-Q.cjs.map +1 -0
- package/dist/{errors-BNIKOTCQ.cjs → errors-BfEghQ77.cjs} +40 -20
- package/dist/errors-BfEghQ77.cjs.map +1 -0
- package/dist/{errors-uRD_PnoN.cjs → errors-CPJ329AT.cjs} +40 -20
- package/dist/errors-CPJ329AT.cjs.map +1 -0
- package/dist/{errors-jmLqKeis.mjs → errors-D1yM2ZQm.mjs} +29 -15
- package/dist/errors-D1yM2ZQm.mjs.map +1 -0
- package/dist/{errors-DoC8Fjy1.mjs → errors-hhbDe5ap.mjs} +29 -15
- package/dist/errors-hhbDe5ap.mjs.map +1 -0
- package/dist/{index-C13yiYYK.d.mts → index-BDWUg8uj.d.cts} +216 -39
- package/dist/index-BDWUg8uj.d.cts.map +1 -0
- package/dist/{index-DQXVH4sq.d.mts → index-BamOUZl1.d.cts} +216 -39
- package/dist/index-BamOUZl1.d.cts.map +1 -0
- package/dist/{index-DtE3a4EG.d.cts → index-BkTZ8a-R.d.mts} +216 -39
- package/dist/index-BkTZ8a-R.d.mts.map +1 -0
- package/dist/{index-ileuxVoT.d.cts → index-JEL0D7T4.d.mts} +216 -39
- package/dist/index-JEL0D7T4.d.mts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{models-1oBCLxA2.d.cts → models-D3N1jo2G.d.cts} +107 -37
- package/dist/models-D3N1jo2G.d.cts.map +1 -0
- package/dist/{models-1oBCLxA2.d.mts → models-D3N1jo2G.d.mts} +107 -37
- package/dist/models-D3N1jo2G.d.mts.map +1 -0
- package/dist/{models-Q5YkSsr_.d.cts → models-f2_talp6.d.cts} +107 -37
- package/dist/models-f2_talp6.d.cts.map +1 -0
- package/dist/{models-Q5YkSsr_.d.mts → models-f2_talp6.d.mts} +107 -37
- package/dist/models-f2_talp6.d.mts.map +1 -0
- package/dist/{webhooks-B6f91AP6.d.cts → webhooks-BIIRAEZ9.d.mts} +2 -2
- package/dist/{webhooks-B6f91AP6.d.cts.map → webhooks-BIIRAEZ9.d.mts.map} +1 -1
- package/dist/{webhooks-B34uKwcx.cjs → webhooks-CJ5fgGEO.cjs} +2 -2
- package/dist/{webhooks-B34uKwcx.cjs.map → webhooks-CJ5fgGEO.cjs.map} +1 -1
- package/dist/{webhooks-C1yqArDl.d.mts → webhooks-DfOgc4VC.d.cts} +2 -2
- package/dist/{webhooks-C1yqArDl.d.mts.map → webhooks-DfOgc4VC.d.cts.map} +1 -1
- package/dist/{webhooks-Y_e5BsDW.mjs → webhooks-lgh0ADeT.mjs} +2 -2
- package/dist/{webhooks-Y_e5BsDW.mjs.map → webhooks-lgh0ADeT.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/2026-04/services/members.cjs +0 -75
- package/dist/2026-04/services/members.cjs.map +0 -1
- package/dist/2026-04/services/members.d.cts +0 -54
- package/dist/2026-04/services/members.d.cts.map +0 -1
- package/dist/2026-04/services/members.d.mts +0 -54
- package/dist/2026-04/services/members.d.mts.map +0 -1
- package/dist/2026-04/services/members.mjs +0 -72
- package/dist/2026-04/services/members.mjs.map +0 -1
- package/dist/2026-10/services/members.cjs +0 -75
- package/dist/2026-10/services/members.cjs.map +0 -1
- package/dist/2026-10/services/members.d.cts +0 -54
- package/dist/2026-10/services/members.d.cts.map +0 -1
- package/dist/2026-10/services/members.d.mts +0 -54
- package/dist/2026-10/services/members.d.mts.map +0 -1
- package/dist/2026-10/services/members.mjs +0 -72
- package/dist/2026-10/services/members.mjs.map +0 -1
- package/dist/base-B0J2UyGW.d.cts.map +0 -1
- package/dist/base-B0J2UyGW.d.mts.map +0 -1
- package/dist/base-CKGG5bHP.cjs.map +0 -1
- package/dist/base-Y8hBtwet.mjs.map +0 -1
- package/dist/errors-BNIKOTCQ.cjs.map +0 -1
- package/dist/errors-DoC8Fjy1.mjs.map +0 -1
- package/dist/errors-jmLqKeis.mjs.map +0 -1
- package/dist/errors-uRD_PnoN.cjs.map +0 -1
- package/dist/index-C13yiYYK.d.mts.map +0 -1
- package/dist/index-DQXVH4sq.d.mts.map +0 -1
- package/dist/index-DtE3a4EG.d.cts.map +0 -1
- package/dist/index-ileuxVoT.d.cts.map +0 -1
- package/dist/models-1oBCLxA2.d.cts.map +0 -1
- package/dist/models-1oBCLxA2.d.mts.map +0 -1
- package/dist/models-Q5YkSsr_.d.cts.map +0 -1
- package/dist/models-Q5YkSsr_.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"members.mjs","names":[],"sources":["../../../src/2026-10/services/members.ts"],"sourcesContent":["import type { ClientBase, RequestOptions } from \"../../base\";\nimport type { ListResourceMember, Member, MemberRole, MemberSortProperty } from \"../models\";\n\nimport { HTTPValidationError } from \"../errors\";\n\nexport const listMembersMembers = (client: ClientBase) => {\n /**\n * List members with optional customer ID filter.\n *\n * **Scopes**: `members:read` `members:write`\n *\n * @param query - Query parameters\n * @param requestOptions - Request options\n * @returns {ListResourceMember}\n * @throws {PolarNetworkError} When a network error occurs\n * @throws {PolarRateLimitError} When the rate limit is exceeded\n * @throws {PolarServerError} When the server returns a 5xx error\n * @throws {HTTPValidationError} Validation Error\n */\n return async (\n query?: {\n customer_id?: string | null;\n external_customer_id?: string | null;\n role?: MemberRole | null;\n page?: number;\n limit?: number;\n sorting?: MemberSortProperty[] | null;\n },\n requestOptions?: RequestOptions,\n ): Promise<ListResourceMember> => {\n const pathParams = {};\n const queryParams = {\n customer_id: query?.customer_id,\n external_customer_id: query?.external_customer_id,\n role: query?.role,\n page: query?.page ?? 1,\n limit: query?.limit ?? 10,\n sorting: query?.sorting ?? [\"-created_at\"],\n };\n const request = client.buildRequest(\"GET\", \"/v1/members/\", pathParams, queryParams, undefined);\n const response = await client.sendRequest(request, requestOptions);\n return client.parseResponse<ListResourceMember>(response, \"json\", {\n 422: HTTPValidationError,\n });\n };\n};\n/**\n * List members with optional customer ID filter.\n *\n * **Scopes**: `members:read` `members:write`\n *\n * @param query - Query parameters\n * @param requestOptions - Request options\n * @returns {AsyncGenerator<Member>} A generator that yields items of type Member.\n * @throws {PolarNetworkError} When a network error occurs\n * @throws {PolarRateLimitError} When the rate limit is exceeded\n * @throws {PolarServerError} When the server returns a 5xx error\n * @throws {HTTPValidationError} Validation Error\n */\nexport const iterListMembersMembers = (client: ClientBase) => {\n return async function* (\n query?: {\n customer_id?: string | null;\n external_customer_id?: string | null;\n role?: MemberRole | null;\n page?: number;\n limit?: number;\n sorting?: MemberSortProperty[] | null;\n },\n requestOptions?: RequestOptions,\n ): AsyncGenerator<Member> {\n let page: number;\n page = query?.page ?? 1;\n let limit: number | undefined;\n limit = query?.limit;\n\n while (true) {\n const response = await listMembersMembers(client)({ ...query, page, limit }, requestOptions);\n for (const item of response.items) {\n yield item;\n }\n if (page >= response.pagination.max_page) {\n break;\n }\n page++;\n }\n };\n};\n\nexport function createMembersService(client: ClientBase) {\n return {\n listMembers: listMembersMembers(client),\n iterListMembers: iterListMembersMembers(client),\n };\n}\n\nexport type Members = ReturnType<typeof createMembersService>;\n"],"mappings":";;AAKA,MAAa,sBAAsB,WAAuB;;;;;;;;;;;;;;CAcxD,OAAO,OACL,OAQA,mBACgC;EAChC,MAAM,aAAa,CAAC;EACpB,MAAM,cAAc;GAClB,aAAa,OAAO;GACpB,sBAAsB,OAAO;GAC7B,MAAM,OAAO;GACb,MAAM,OAAO,QAAQ;GACrB,OAAO,OAAO,SAAS;GACvB,SAAS,OAAO,WAAW,CAAC,aAAa;EAC3C;EACA,MAAM,UAAU,OAAO,aAAa,OAAO,gBAAgB,YAAY,aAAa,KAAA,CAAS;EAC7F,MAAM,WAAW,MAAM,OAAO,YAAY,SAAS,cAAc;EACjE,OAAO,OAAO,cAAkC,UAAU,QAAQ,EAChE,KAAK,oBACP,CAAC;CACH;AACF;;;;;;;;;;;;;;AAcA,MAAa,0BAA0B,WAAuB;CAC5D,OAAO,iBACL,OAQA,gBACwB;EACxB,IAAI;EACJ,OAAO,OAAO,QAAQ;EACtB,IAAI;EACJ,QAAQ,OAAO;EAEf,OAAO,MAAM;GACX,MAAM,WAAW,MAAM,mBAAmB,MAAM,CAAC,CAAC;IAAE,GAAG;IAAO;IAAM;GAAM,GAAG,cAAc;GAC3F,KAAK,MAAM,QAAQ,SAAS,OAC1B,MAAM;GAER,IAAI,QAAQ,SAAS,WAAW,UAC9B;GAEF;EACF;CACF;AACF;AAEA,SAAgB,qBAAqB,QAAoB;CACvD,OAAO;EACL,aAAa,mBAAmB,MAAM;EACtC,iBAAiB,uBAAuB,MAAM;CAChD;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-B0J2UyGW.d.cts","names":[],"sources":["../src/base.ts"],"mappings":";cAAa,mBAAmB;cAEnB,0BAA0B;EACzB,YAAA;;cAMD,yBAAyB;EACxB,YAAA,oBAAoB;;cAMrB,iBAAiB,qBAAqB;WAE/B;WACA,OAAO;EADP,YAAA,oBACA,OAAO;;cAOd,4BAA4B;WAErB;WACA;EADA,YAAA,iBACA;;KAOf,aAAa;KACb;UASK;GACP,cAAc,kBAAkB;;UAiDlB;EACf;EACA;EACA;;EAEA;;UAGe;;EAEf;;cAsBW;qBACQ,SAAS;EAEhB,YAAA,SAAS;EAOd,aACL,gBACA,aACA,aAAa,YACb,cAAc,aACd,0BACU;EAiBC,YACX,kBAAkB,cAClB,iBAAiB,iBAChB,QAAQ;EA6BE,cAAc,GACzB,UAAU,UACV,wCACA,SAAS,uBAAuB,gBAAgB,oBAC/C,QAAQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-B0J2UyGW.d.mts","names":[],"sources":["../src/base.ts"],"mappings":";cAAa,mBAAmB;cAEnB,0BAA0B;EACzB,YAAA;;cAMD,yBAAyB;EACxB,YAAA,oBAAoB;;cAMrB,iBAAiB,qBAAqB;WAE/B;WACA,OAAO;EADP,YAAA,oBACA,OAAO;;cAOd,4BAA4B;WAErB;WACA;EADA,YAAA,iBACA;;KAOf,aAAa;KACb;UASK;GACP,cAAc,kBAAkB;;UAiDlB;EACf;EACA;EACA;;EAEA;;UAGe;;EAEf;;cAsBW;qBACQ,SAAS;EAEhB,YAAA,SAAS;EAOd,aACL,gBACA,aACA,aAAa,YACb,cAAc,aACd,0BACU;EAiBC,YACX,kBAAkB,cAClB,iBAAiB,iBAChB,QAAQ;EA6BE,cAAc,GACzB,UAAU,UACV,wCACA,SAAS,uBAAuB,gBAAgB,oBAC/C,QAAQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-CKGG5bHP.cjs","names":[],"sources":["../src/base.ts"],"sourcesContent":["export class PolarError extends Error {}\n\nexport class PolarNetworkError extends PolarError {\n constructor(message: string) {\n super(`Polar API network error: ${message}`);\n this.name = \"PolarNetworkError\";\n }\n}\n\nexport class PolarServerError extends PolarError {\n constructor(statusCode: number, message: string) {\n super(`Polar API returned a server error: ${statusCode} - ${message}`);\n this.name = \"PolarServerError\";\n }\n}\n\nexport class PolarClientError<T = unknown> extends PolarError {\n constructor(\n public readonly statusCode: number,\n public readonly error: T,\n ) {\n super(`Polar API returned an error: ${statusCode} - ${JSON.stringify(error)}`);\n this.name = \"PolarClientError\";\n }\n}\n\nexport class PolarRateLimitError extends PolarClientError {\n constructor(\n public readonly statusCode: 429,\n public readonly retryAfter: number | null = null,\n ) {\n super(statusCode, \"Rate limit exceeded\");\n this.name = \"PolarRateLimitError\";\n }\n}\n\ntype PathParams = Record<string, string | number | boolean>;\ntype QueryParamValue =\n | string\n | string[]\n | number\n | number[]\n | boolean\n | boolean[]\n | null\n | undefined;\ninterface QueryParams {\n [key: string]: QueryParamValue | QueryParams;\n}\n\nconst buildUrl = (url: string, pathParams?: PathParams, queryParams?: QueryParams): string => {\n // Format URL with path params using string replacement\n let formattedUrl = url;\n if (pathParams) {\n for (const [key, value] of Object.entries(pathParams)) {\n if (value !== null && value !== undefined) {\n formattedUrl = formattedUrl.replace(`{${key}}`, encodeURIComponent(String(value)));\n }\n }\n }\n\n if (queryParams) {\n const searchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(queryParams)) {\n if (value !== null && value !== undefined) {\n if (Array.isArray(value)) {\n for (const item of value) {\n searchParams.append(key, String(item));\n }\n } else if (typeof value === \"object\") {\n // Handle deepObject style parameters (e.g., metadata)\n for (const [subKey, subValue] of Object.entries(value)) {\n if (subValue !== null && subValue !== undefined) {\n if (Array.isArray(subValue)) {\n for (const item of subValue) {\n searchParams.append(`${key}[${subKey}]`, String(item));\n }\n } else {\n searchParams.append(`${key}[${subKey}]`, String(subValue));\n }\n }\n }\n } else {\n searchParams.append(key, String(value));\n }\n }\n }\n const queryString = searchParams.toString();\n if (queryString) {\n formattedUrl = `${formattedUrl}?${queryString}`;\n }\n }\n\n return formattedUrl;\n};\n\nexport interface ClientOptions {\n baseUrl: string;\n version: string;\n accessToken: string;\n /** Default request timeout, in seconds. */\n timeout?: number;\n}\n\nexport interface RequestOptions {\n /** Request timeout override, in seconds. */\n timeout?: number;\n}\n\nconst MAX_ABORT_SIGNAL_TIMEOUT_MS = 2_147_483_647;\n\nexport const resolveBaseUrl = (\n servers: Record<string, string>,\n environment: string,\n baseUrl?: string,\n): string => {\n if (baseUrl !== undefined) {\n return baseUrl;\n }\n const serverUrl = servers[environment];\n if (serverUrl === undefined) {\n throw new Error(\n `Invalid environment ${JSON.stringify(environment)}. Expected one of: ${Object.keys(servers).sort().join(\", \")}.`,\n );\n }\n return serverUrl;\n};\n\nexport class ClientBase {\n protected readonly options: ClientOptions;\n\n constructor(options: ClientOptions) {\n this.options = {\n timeout: 5.0,\n ...options,\n };\n }\n\n public buildRequest(\n method: string,\n url: string,\n pathParams?: PathParams,\n queryParams?: QueryParams,\n body?: unknown,\n ): [string, RequestInit] {\n const fullUrl = buildUrl(`${this.options.baseUrl}${url}`, pathParams, queryParams);\n const headers = new Headers({\n \"Content-Type\": \"application/json\",\n \"Polar-Version\": this.options.version,\n Authorization: `Bearer ${this.options.accessToken}`,\n });\n return [\n fullUrl,\n {\n method,\n headers,\n ...(body ? { body: JSON.stringify(body) } : {}),\n },\n ];\n }\n\n public async sendRequest(\n request: [string, RequestInit],\n requestOptions?: RequestOptions,\n ): Promise<Response> {\n const [fullUrl, requestInit] = request;\n const timeout = requestOptions?.timeout ?? this.options.timeout;\n let signal = requestInit.signal;\n if (timeout !== undefined) {\n const timeoutMilliseconds = Math.ceil(timeout * 1000);\n if (\n !Number.isFinite(timeout) ||\n timeout < 0 ||\n timeoutMilliseconds > MAX_ABORT_SIGNAL_TIMEOUT_MS\n ) {\n throw new RangeError(\n `Timeout must be a finite, non-negative number no greater than ${MAX_ABORT_SIGNAL_TIMEOUT_MS / 1000} seconds`,\n );\n }\n const timeoutSignal = AbortSignal.timeout(timeoutMilliseconds);\n signal = signal ? AbortSignal.any([signal, timeoutSignal]) : timeoutSignal;\n }\n try {\n return await fetch(fullUrl, {\n ...requestInit,\n ...(signal ? { signal } : {}),\n });\n } catch (error) {\n const errorMessage = error instanceof Error ? error.message : String(error);\n throw new PolarNetworkError(errorMessage);\n }\n }\n\n public async parseResponse<T>(\n response: Response,\n responseType: \"json\" | \"text\" | \"none\",\n errors?: Record<number, new (...args: any[]) => PolarClientError>,\n ): Promise<T> {\n const statusCode = response.status;\n\n if (statusCode >= 500 && statusCode < 600) {\n const text = await response.text().catch(() => \"\");\n throw new PolarServerError(statusCode, text || \"Server error\");\n }\n\n if (statusCode >= 400 && statusCode < 500) {\n if (statusCode === 429) {\n const retryAfter = response.headers.get(\"Retry-After\");\n throw new PolarRateLimitError(statusCode, retryAfter ? parseInt(retryAfter, 10) : null);\n }\n if (errors?.[statusCode]) {\n const ErrorClass = errors[statusCode];\n const errorData = await response.json();\n throw new ErrorClass(statusCode, errorData);\n } else {\n const text = await response.text().catch(() => \"\");\n throw new PolarClientError(statusCode, text || \"Client error\");\n }\n }\n\n if (responseType === \"json\") {\n return (await response.json()) as T;\n }\n if (responseType === \"text\") {\n return (await response.text()) as unknown as T;\n }\n\n return undefined as unknown as T;\n }\n}\n"],"mappings":";AAAA,IAAa,aAAb,cAAgC,MAAM,CAAC;AAEvC,IAAa,oBAAb,cAAuC,WAAW;CAChD,YAAY,SAAiB;EAC3B,MAAM,4BAA4B,SAAS;EAC3C,KAAK,OAAO;CACd;AACF;AAEA,I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AAM,gBAAgB,YAAY,QAAQ,mBAAmB;GAC7D,SAAS,SAAS,YAAY,IAAI,CAAC,QAAQ,aAAa,CAAC,IAAI;EAC/D;EACA,IAAI;GACF,OAAO,MAAM,MAAM,SAAS;IAC1B,GAAG;IACH,GAAI,SAAS,EAAE,OAAO,IAAI,CAAC;GAC7B,CAAC;EACH,SAAS,OAAO;GAEd,MAAM,IAAI,kBADW,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAClC;EAC1C;CACF;CAEA,MAAa,cACX,UACA,cACA,QACY;EACZ,MAAM,aAAa,SAAS;EAE5B,IAAI,cAAc,OAAO,aAAa,KAEpC,MAAM,IAAI,iBAAiB,YAAY,MADpB,SAAS,KAAK,CAAC,CAAC,YAAY,EAAE,KACF,cAAc;EAG/D,IAAI,cAAc,OAAO,aAAa,KAAK;GACzC,IAAI,eAAe,KAAK;IACtB,MAAM,aAAa,SAAS,QAAQ,IAAI,aAAa;IACrD,MAAM,IAAI,oBAAoB,YAAY,aAAa,SAAS,YAAY,EAAE,IAAI,IAAI;GACxF;GACA,IAAI,SAAS,aAAa;IACxB,MAAM,aAAa,OAAO;IAE1B,MAAM,IAAI,WAAW,YAAY,MADT,SAAS,KAAK,CACI;GAC5C,OAEE,MAAM,IAAI,iBAAiB,YAAY,MADpB,SAAS,KAAK,CAAC,CAAC,YAAY,EAAE,KACF,cAAc;EAEjE;EAEA,IAAI,iBAAiB,QACnB,OAAQ,MAAM,SAAS,KAAK;EAE9B,IAAI,iBAAiB,QACnB,OAAQ,MAAM,SAAS,KAAK;CAIhC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-Y8hBtwet.mjs","names":[],"sources":["../src/base.ts"],"sourcesContent":["export class PolarError extends Error {}\n\nexport class PolarNetworkError extends PolarError {\n constructor(message: string) {\n super(`Polar API network error: ${message}`);\n this.name = \"PolarNetworkError\";\n }\n}\n\nexport class PolarServerError extends PolarError {\n constructor(statusCode: number, message: string) {\n super(`Polar API returned a server error: ${statusCode} - ${message}`);\n this.name = \"PolarServerError\";\n }\n}\n\nexport class PolarClientError<T = unknown> extends PolarError {\n constructor(\n public readonly statusCode: number,\n public readonly error: T,\n ) {\n super(`Polar API returned an error: ${statusCode} - ${JSON.stringify(error)}`);\n this.name = \"PolarClientError\";\n }\n}\n\nexport class PolarRateLimitError extends PolarClientError {\n constructor(\n public readonly statusCode: 429,\n public readonly retryAfter: number | null = null,\n ) {\n super(statusCode, \"Rate limit exceeded\");\n this.name = \"PolarRateLimitError\";\n }\n}\n\ntype PathParams = Record<string, string | number | boolean>;\ntype QueryParamValue =\n | string\n | string[]\n | number\n | number[]\n | boolean\n | boolean[]\n | null\n | undefined;\ninterface QueryParams {\n [key: string]: QueryParamValue | QueryParams;\n}\n\nconst buildUrl = (url: string, pathParams?: PathParams, queryParams?: QueryParams): string => {\n // Format URL with path params using string replacement\n let formattedUrl = url;\n if (pathParams) {\n for (const [key, value] of Object.entries(pathParams)) {\n if (value !== null && value !== undefined) {\n formattedUrl = formattedUrl.replace(`{${key}}`, encodeURIComponent(String(value)));\n }\n }\n }\n\n if (queryParams) {\n const searchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(queryParams)) {\n if (value !== null && value !== undefined) {\n if (Array.isArray(value)) {\n for (const item of value) {\n searchParams.append(key, String(item));\n }\n } else if (typeof value === \"object\") {\n // Handle deepObject style parameters (e.g., metadata)\n for (const [subKey, subValue] of Object.entries(value)) {\n if (subValue !== null && subValue !== undefined) {\n if (Array.isArray(subValue)) {\n for (const item of subValue) {\n searchParams.append(`${key}[${subKey}]`, String(item));\n }\n } else {\n searchParams.append(`${key}[${subKey}]`, String(subValue));\n }\n }\n }\n } else {\n searchParams.append(key, String(value));\n }\n }\n }\n const queryString = searchParams.toString();\n if (queryString) {\n formattedUrl = `${formattedUrl}?${queryString}`;\n }\n }\n\n return formattedUrl;\n};\n\nexport interface ClientOptions {\n baseUrl: string;\n version: string;\n accessToken: string;\n /** Default request timeout, in seconds. */\n timeout?: number;\n}\n\nexport interface RequestOptions {\n /** Request timeout override, in seconds. */\n timeout?: number;\n}\n\nconst MAX_ABORT_SIGNAL_TIMEOUT_MS = 2_147_483_647;\n\nexport const resolveBaseUrl = (\n servers: Record<string, string>,\n environment: string,\n baseUrl?: string,\n): string => {\n if (baseUrl !== undefined) {\n return baseUrl;\n }\n const serverUrl = servers[environment];\n if (serverUrl === undefined) {\n throw new Error(\n `Invalid environment ${JSON.stringify(environment)}. Expected one of: ${Object.keys(servers).sort().join(\", \")}.`,\n );\n }\n return serverUrl;\n};\n\nexport class ClientBase {\n protected readonly options: ClientOptions;\n\n constructor(options: ClientOptions) {\n this.options = {\n timeout: 5.0,\n ...options,\n };\n }\n\n public buildRequest(\n method: string,\n url: string,\n pathParams?: PathParams,\n queryParams?: QueryParams,\n body?: unknown,\n ): [string, RequestInit] {\n const fullUrl = buildUrl(`${this.options.baseUrl}${url}`, pathParams, queryParams);\n const headers = new Headers({\n \"Content-Type\": \"application/json\",\n \"Polar-Version\": this.options.version,\n Authorization: `Bearer ${this.options.accessToken}`,\n });\n return [\n fullUrl,\n {\n method,\n headers,\n ...(body ? { body: JSON.stringify(body) } : {}),\n },\n ];\n }\n\n public async sendRequest(\n request: [string, RequestInit],\n requestOptions?: RequestOptions,\n ): Promise<Response> {\n const [fullUrl, requestInit] = request;\n const timeout = requestOptions?.timeout ?? this.options.timeout;\n let signal = requestInit.signal;\n if (timeout !== undefined) {\n const timeoutMilliseconds = Math.ceil(timeout * 1000);\n if (\n !Number.isFinite(timeout) ||\n timeout < 0 ||\n timeoutMilliseconds > MAX_ABORT_SIGNAL_TIMEOUT_MS\n ) {\n throw new RangeError(\n `Timeout must be a finite, non-negative number no greater than ${MAX_ABORT_SIGNAL_TIMEOUT_MS / 1000} seconds`,\n );\n }\n const timeoutSignal = AbortSignal.timeout(timeoutMilliseconds);\n signal = signal ? AbortSignal.any([signal, timeoutSignal]) : timeoutSignal;\n }\n try {\n return await fetch(fullUrl, {\n ...requestInit,\n ...(signal ? { signal } : {}),\n });\n } catch (error) {\n const errorMessage = error instanceof Error ? error.message : String(error);\n throw new PolarNetworkError(errorMessage);\n }\n }\n\n public async parseResponse<T>(\n response: Response,\n responseType: \"json\" | \"text\" | \"none\",\n errors?: Record<number, new (...args: any[]) => PolarClientError>,\n ): Promise<T> {\n const statusCode = response.status;\n\n if (statusCode >= 500 && statusCode < 600) {\n const text = await response.text().catch(() => \"\");\n throw new PolarServerError(statusCode, text || \"Server error\");\n }\n\n if (statusCode >= 400 && statusCode < 500) {\n if (statusCode === 429) {\n const retryAfter = response.headers.get(\"Retry-After\");\n throw new PolarRateLimitError(statusCode, retryAfter ? parseInt(retryAfter, 10) : null);\n }\n if (errors?.[statusCode]) {\n const ErrorClass = errors[statusCode];\n const errorData = await response.json();\n throw new ErrorClass(statusCode, errorData);\n } else {\n const text = await response.text().catch(() => \"\");\n throw new PolarClientError(statusCode, text || \"Client error\");\n }\n }\n\n if (responseType === \"json\") {\n return (await response.json()) as T;\n }\n if (responseType === \"text\") {\n return (await response.text()) as unknown as T;\n }\n\n return undefined as unknown as T;\n }\n}\n"],"mappings":";AAAA,IAAa,aAAb,cAAgC,MAAM,CAAC;AAEvC,IAAa,oBAAb,cAAuC,WAAW;CAChD,YAAY,SAAiB;EAC3B,MAAM,4BAA4B,SAAS;EAC3C,KAAK,OAAO;CACd;AACF;AAEA,IAAa,mBAAb,cAAsC,WAAW;CAC/C,YAAY,YAAoB,SAAiB;EAC/C,MAAM,sCAAsC,WAAW,KAAK,SAAS;EACrE,KAAK,OAAO;CACd;AACF;AAEA,IAAa,mBAAb,cAAmD,WAAW;CAE1C;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,gCAAgC,WAAW,KAAK,KAAK,UAAU,KAAK,GAAG;EAH7D,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;AAEA,IAAa,sBAAb,cAAyC,iBAAiB;CAEtC;CACA;CAFlB,YACE,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EAE5B,IAAI,cAAc,OAAO,aAAa,KAEpC,MAAM,IAAI,iBAAiB,YAAY,MADpB,SAAS,KAAK,CAAC,CAAC,YAAY,EAAE,KACF,cAAc;EAG/D,IAAI,cAAc,OAAO,aAAa,KAAK;GACzC,IAAI,eAAe,KAAK;IACtB,MAAM,aAAa,SAAS,QAAQ,IAAI,aAAa;IACrD,MAAM,IAAI,oBAAoB,YAAY,aAAa,SAAS,YAAY,EAAE,IAAI,IAAI;GACxF;GACA,IAAI,SAAS,aAAa;IACxB,MAAM,aAAa,OAAO;IAE1B,MAAM,IAAI,WAAW,YAAY,MADT,SAAS,KAAK,CACI;GAC5C,OAEE,MAAM,IAAI,iBAAiB,YAAY,MADpB,SAAS,KAAK,CAAC,CAAC,YAAY,EAAE,KACF,cAAc;EAEjE;EAEA,IAAI,iBAAiB,QACnB,OAAQ,MAAM,SAAS,KAAK;EAE9B,IAAI,iBAAiB,QACnB,OAAQ,MAAM,SAAS,KAAK;CAIhC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-BNIKOTCQ.cjs","names":["PolarClientError"],"sources":["../src/2026-10/errors.ts"],"sourcesContent":["import type {\n AlreadyCanceledSubscription as AlreadyCanceledSubscriptionModel,\n AmbiguousExternalCustomerID as AmbiguousExternalCustomerIDModel,\n CannotCreateOrganizationError as CannotCreateOrganizationErrorModel,\n CheckoutForbiddenError as CheckoutForbiddenErrorModel,\n CustomerNotReady as CustomerNotReadyModel,\n DisputeAutoAcceptNotEnabled as DisputeAutoAcceptNotEnabledModel,\n DisputeNotOpenError as DisputeNotOpenErrorModel,\n ExpiredCheckoutError as ExpiredCheckoutErrorModel,\n HTTPValidationError as HTTPValidationErrorModel,\n InactiveSubscription as InactiveSubscriptionModel,\n ManualRetryLimitExceeded as ManualRetryLimitExceededModel,\n MissingInvoiceBillingDetails as MissingInvoiceBillingDetailsModel,\n NotPermitted as NotPermittedModel,\n OffSessionChargesNotEnabled as OffSessionChargesNotEnabledModel,\n OrderNotDraft as OrderNotDraftModel,\n OrderNotEligibleForInvoice as OrderNotEligibleForInvoiceModel,\n OrderNotEligibleForRetry as OrderNotEligibleForRetryModel,\n OrganizationNotReadyForPayments as OrganizationNotReadyForPaymentsModel,\n PauseResumeNotAllowed as PauseResumeNotAllowedModel,\n PaymentActionRequired as PaymentActionRequiredModel,\n PaymentAlreadyInProgress as PaymentAlreadyInProgressModel,\n PaymentError as PaymentErrorModel,\n PaymentFailed as PaymentFailedModel,\n PaymentMethodInUseByActiveSubscription as PaymentMethodInUseByActiveSubscriptionModel,\n PaymentMethodRequired as PaymentMethodRequiredModel,\n PaymentMethodSetupFailed as PaymentMethodSetupFailedModel,\n RefundedAlready as RefundedAlreadyModel,\n ResourceNotFound as ResourceNotFoundModel,\n RotateNotPermitted as RotateNotPermittedModel,\n SSOEnforcementRequiresConnection as SSOEnforcementRequiresConnectionModel,\n SubscriptionLocked as SubscriptionLockedModel,\n Unauthorized as UnauthorizedModel,\n UpdateSubscriptionSeatsNotAllowed as UpdateSubscriptionSeatsNotAllowedModel,\n UpdateSubscriptionUnitsNotAllowed as UpdateSubscriptionUnitsNotAllowedModel,\n} from \"./models\";\n\nimport { PolarClientError } from \"../base\";\n/**\n * Validation Error\n */\nexport class HTTPValidationError extends PolarClientError<HTTPValidationErrorModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: HTTPValidationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"HTTPValidationError\";\n }\n}\n/**\n * Forbidden\n */\nexport class CannotCreateOrganizationError extends PolarClientError<CannotCreateOrganizationErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CannotCreateOrganizationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CannotCreateOrganizationError\";\n }\n}\n/**\n * Organization not found.\n */\nexport class ResourceNotFound extends PolarClientError<ResourceNotFoundModel> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: ResourceNotFoundModel,\n ) {\n super(statusCode, error);\n this.name = \"ResourceNotFound\";\n }\n}\n/**\n * You don't have the permission to update this organization, or dispute auto-accept isn't enabled for it.\n */\nexport class OrganizationsUpdate403Error extends PolarClientError<\n NotPermittedModel | DisputeAutoAcceptNotEnabledModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel | DisputeAutoAcceptNotEnabledModel,\n ) {\n super(statusCode, error);\n this.name = \"OrganizationsUpdate403Error\";\n }\n}\n/**\n * Cannot enforce SSO without an enabled connection.\n */\nexport class SSOEnforcementRequiresConnection extends PolarClientError<SSOEnforcementRequiresConnectionModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SSOEnforcementRequiresConnectionModel,\n ) {\n super(statusCode, error);\n this.name = \"SSOEnforcementRequiresConnection\";\n }\n}\n/**\n * This subscription is already revoked.\n */\nexport class AlreadyCanceledSubscription extends PolarClientError<AlreadyCanceledSubscriptionModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"AlreadyCanceledSubscription\";\n }\n}\n/**\n * Subscription is pending an update.\n */\nexport class SubscriptionLocked extends PolarClientError<SubscriptionLockedModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SubscriptionLockedModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionLocked\";\n }\n}\n/**\n * Payment required to apply the subscription update.\n */\nexport class PaymentFailed extends PolarClientError<PaymentFailedModel> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentFailed\";\n }\n}\n/**\n * Subscription is already canceled or will be at the end of the period, or is not active.\n */\nexport class SubscriptionsUpdate403Error extends PolarClientError<\n AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionsUpdate403Error\";\n }\n}\n/**\n * This benefit is not deletable.\n */\nexport class NotPermitted extends PolarClientError<NotPermittedModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"NotPermitted\";\n }\n}\n/**\n * The charge failed, or requires customer authentication (e.g. a 3DS challenge) that can't be completed off-session.\n */\nexport class OrdersFinalize402Error extends PolarClientError<\n PaymentFailedModel | PaymentActionRequiredModel\n> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel | PaymentActionRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize402Error\";\n }\n}\n/**\n * Off-session charges are not enabled for this organization, or its account can't currently accept payments.\n */\nexport class OrdersFinalize403Error extends PolarClientError<\n OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize403Error\";\n }\n}\n/**\n * The order is not in `draft` status.\n */\nexport class OrderNotDraft extends PolarClientError<OrderNotDraftModel> {\n constructor(\n public readonly statusCode: 412,\n public readonly error: OrderNotDraftModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotDraft\";\n }\n}\n/**\n * Order is not eligible for invoice generation (invalid status).\n */\nexport class OrderNotEligibleForInvoice extends PolarClientError<OrderNotEligibleForInvoiceModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: OrderNotEligibleForInvoiceModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForInvoice\";\n }\n}\n/**\n * Order is missing billing name or address.\n */\nexport class MissingInvoiceBillingDetails extends PolarClientError<MissingInvoiceBillingDetailsModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: MissingInvoiceBillingDetailsModel,\n ) {\n super(statusCode, error);\n this.name = \"MissingInvoiceBillingDetails\";\n }\n}\n/**\n * Order is already fully refunded.\n */\nexport class RefundedAlready extends PolarClientError<RefundedAlreadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: RefundedAlreadyModel,\n ) {\n super(statusCode, error);\n this.name = \"RefundedAlready\";\n }\n}\n/**\n * Conflict\n */\nexport class DisputeNotOpenError extends PolarClientError<DisputeNotOpenErrorModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: DisputeNotOpenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"DisputeNotOpenError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsUpdate403Error\";\n }\n}\n/**\n * The checkout session is expired.\n */\nexport class ExpiredCheckoutError extends PolarClientError<ExpiredCheckoutErrorModel> {\n constructor(\n public readonly statusCode: 410,\n public readonly error: ExpiredCheckoutErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"ExpiredCheckoutError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientUpdate403Error\";\n }\n}\n/**\n * The payment failed.\n */\nexport class PaymentError extends PolarClientError<PaymentErrorModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientConfirm403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientConfirm403Error\";\n }\n}\n/**\n * Not authorized to manage license key.\n */\nexport class Unauthorized extends PolarClientError<UnauthorizedModel> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: UnauthorizedModel,\n ) {\n super(statusCode, error);\n this.name = \"Unauthorized\";\n }\n}\n/**\n * License key cannot be rotated in its current status. Allowed statuses: disabled, granted.\n */\nexport class RotateNotPermitted extends PolarClientError<RotateNotPermittedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: RotateNotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"RotateNotPermitted\";\n }\n}\n/**\n * The external customer ID matches customers in several accessible organizations.\n */\nexport class AmbiguousExternalCustomerID extends PolarClientError<AmbiguousExternalCustomerIDModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: AmbiguousExternalCustomerIDModel,\n ) {\n super(statusCode, error);\n this.name = \"AmbiguousExternalCustomerID\";\n }\n}\n/**\n * The card was declined while setting up the payment method.\n */\nexport class PaymentMethodSetupFailed extends PolarClientError<PaymentMethodSetupFailedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodSetupFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodSetupFailed\";\n }\n}\n/**\n * Customer is not ready to confirm a payment method.\n */\nexport class CustomerNotReady extends PolarClientError<CustomerNotReadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CustomerNotReadyModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerNotReady\";\n }\n}\n/**\n * Payment method is still needed to bill a subscription.\n */\nexport class PaymentMethodInUseByActiveSubscription extends PolarClientError<PaymentMethodInUseByActiveSubscriptionModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodInUseByActiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodInUseByActiveSubscription\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersCheckEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersCheckEmailUpdate401Error\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate401Error\";\n }\n}\n/**\n * Email address is already in use.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate422Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate422Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerPortalSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerPortalSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerPortalSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerPortalSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListClaimedSubscriptions401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListClaimedSubscriptions401Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersListMembers401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersListMembers403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers403Error\";\n }\n}\n/**\n * Invalid request or member already exists.\n */\nexport class CustomerPortalMembersAddMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersAddMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersAddMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember403Error\";\n }\n}\n/**\n * Cannot remove the only owner.\n */\nexport class CustomerPortalMembersRemoveMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersRemoveMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersRemoveMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersRemoveMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember404Error\";\n }\n}\n/**\n * Invalid role change.\n */\nexport class CustomerPortalMembersUpdateMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersUpdateMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersUpdateMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersUpdateMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember404Error\";\n }\n}\n/**\n * Payment already in progress.\n */\nexport class PaymentAlreadyInProgress extends PolarClientError<PaymentAlreadyInProgressModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentAlreadyInProgressModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentAlreadyInProgress\";\n }\n}\n/**\n * Order not eligible for retry or payment confirmation failed.\n */\nexport class OrderNotEligibleForRetry extends PolarClientError<OrderNotEligibleForRetryModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: OrderNotEligibleForRetryModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForRetry\";\n }\n}\n/**\n * Manual retry limit exceeded.\n */\nexport class ManualRetryLimitExceeded extends PolarClientError<ManualRetryLimitExceededModel> {\n constructor(\n public readonly statusCode: 429,\n public readonly error: ManualRetryLimitExceededModel,\n ) {\n super(statusCode, error);\n this.name = \"ManualRetryLimitExceeded\";\n }\n}\n/**\n * Customer subscription is already canceled or will be at the end of the period, the user lacks billing permissions, or pausing/resuming is not enabled for the organization.\n */\nexport class CustomerPortalSubscriptionsUpdate403Error extends PolarClientError<\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error:\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSubscriptionsUpdate403Error\";\n }\n}\n/**\n * The subscription has no payment method to charge.\n */\nexport class PaymentMethodRequired extends PolarClientError<PaymentMethodRequiredModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentMethodRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodRequired\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation404Error\";\n }\n}\n/**\n * Invalid or expired invitation token\n */\nexport class CustomerSeatsGetClaimInfo400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsGetClaimInfo403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsGetClaimInfo404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo404Error\";\n }\n}\n/**\n * Invalid, expired, or already claimed token\n */\nexport class CustomerSeatsClaimSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsClaimSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat403Error\";\n }\n}\n/**\n * Not Found\n */\nexport class EventTypesUpdate404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"EventTypesUpdate404Error\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,IAAa,sBAAb,cAAyCA,aAAAA,iBAA2C;CAEhE;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,gCAAb,cAAmDA,aAAAA,iBAAqD;CAEpF;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,Q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;;AAIA,IAAa,2BAAb,cAA8CA,aAAAA,iBAAuB;CAEjD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-DoC8Fjy1.mjs","names":[],"sources":["../src/2026-10/errors.ts"],"sourcesContent":["import type {\n AlreadyCanceledSubscription as AlreadyCanceledSubscriptionModel,\n AmbiguousExternalCustomerID as AmbiguousExternalCustomerIDModel,\n CannotCreateOrganizationError as CannotCreateOrganizationErrorModel,\n CheckoutForbiddenError as CheckoutForbiddenErrorModel,\n CustomerNotReady as CustomerNotReadyModel,\n DisputeAutoAcceptNotEnabled as DisputeAutoAcceptNotEnabledModel,\n DisputeNotOpenError as DisputeNotOpenErrorModel,\n ExpiredCheckoutError as ExpiredCheckoutErrorModel,\n HTTPValidationError as HTTPValidationErrorModel,\n InactiveSubscription as InactiveSubscriptionModel,\n ManualRetryLimitExceeded as ManualRetryLimitExceededModel,\n MissingInvoiceBillingDetails as MissingInvoiceBillingDetailsModel,\n NotPermitted as NotPermittedModel,\n OffSessionChargesNotEnabled as OffSessionChargesNotEnabledModel,\n OrderNotDraft as OrderNotDraftModel,\n OrderNotEligibleForInvoice as OrderNotEligibleForInvoiceModel,\n OrderNotEligibleForRetry as OrderNotEligibleForRetryModel,\n OrganizationNotReadyForPayments as OrganizationNotReadyForPaymentsModel,\n PauseResumeNotAllowed as PauseResumeNotAllowedModel,\n PaymentActionRequired as PaymentActionRequiredModel,\n PaymentAlreadyInProgress as PaymentAlreadyInProgressModel,\n PaymentError as PaymentErrorModel,\n PaymentFailed as PaymentFailedModel,\n PaymentMethodInUseByActiveSubscription as PaymentMethodInUseByActiveSubscriptionModel,\n PaymentMethodRequired as PaymentMethodRequiredModel,\n PaymentMethodSetupFailed as PaymentMethodSetupFailedModel,\n RefundedAlready as RefundedAlreadyModel,\n ResourceNotFound as ResourceNotFoundModel,\n RotateNotPermitted as RotateNotPermittedModel,\n SSOEnforcementRequiresConnection as SSOEnforcementRequiresConnectionModel,\n SubscriptionLocked as SubscriptionLockedModel,\n Unauthorized as UnauthorizedModel,\n UpdateSubscriptionSeatsNotAllowed as UpdateSubscriptionSeatsNotAllowedModel,\n UpdateSubscriptionUnitsNotAllowed as UpdateSubscriptionUnitsNotAllowedModel,\n} from \"./models\";\n\nimport { PolarClientError } from \"../base\";\n/**\n * Validation Error\n */\nexport class HTTPValidationError extends PolarClientError<HTTPValidationErrorModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: HTTPValidationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"HTTPValidationError\";\n }\n}\n/**\n * Forbidden\n */\nexport class CannotCreateOrganizationError extends PolarClientError<CannotCreateOrganizationErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CannotCreateOrganizationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CannotCreateOrganizationError\";\n }\n}\n/**\n * Organization not found.\n */\nexport class ResourceNotFound extends PolarClientError<ResourceNotFoundModel> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: ResourceNotFoundModel,\n ) {\n super(statusCode, error);\n this.name = \"ResourceNotFound\";\n }\n}\n/**\n * You don't have the permission to update this organization, or dispute auto-accept isn't enabled for it.\n */\nexport class OrganizationsUpdate403Error extends PolarClientError<\n NotPermittedModel | DisputeAutoAcceptNotEnabledModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel | DisputeAutoAcceptNotEnabledModel,\n ) {\n super(statusCode, error);\n this.name = \"OrganizationsUpdate403Error\";\n }\n}\n/**\n * Cannot enforce SSO without an enabled connection.\n */\nexport class SSOEnforcementRequiresConnection extends PolarClientError<SSOEnforcementRequiresConnectionModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SSOEnforcementRequiresConnectionModel,\n ) {\n super(statusCode, error);\n this.name = \"SSOEnforcementRequiresConnection\";\n }\n}\n/**\n * This subscription is already revoked.\n */\nexport class AlreadyCanceledSubscription extends PolarClientError<AlreadyCanceledSubscriptionModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"AlreadyCanceledSubscription\";\n }\n}\n/**\n * Subscription is pending an update.\n */\nexport class SubscriptionLocked extends PolarClientError<SubscriptionLockedModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SubscriptionLockedModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionLocked\";\n }\n}\n/**\n * Payment required to apply the subscription update.\n */\nexport class PaymentFailed extends PolarClientError<PaymentFailedModel> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentFailed\";\n }\n}\n/**\n * Subscription is already canceled or will be at the end of the period, or is not active.\n */\nexport class SubscriptionsUpdate403Error extends PolarClientError<\n AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionsUpdate403Error\";\n }\n}\n/**\n * This benefit is not deletable.\n */\nexport class NotPermitted extends PolarClientError<NotPermittedModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"NotPermitted\";\n }\n}\n/**\n * The charge failed, or requires customer authentication (e.g. a 3DS challenge) that can't be completed off-session.\n */\nexport class OrdersFinalize402Error extends PolarClientError<\n PaymentFailedModel | PaymentActionRequiredModel\n> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel | PaymentActionRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize402Error\";\n }\n}\n/**\n * Off-session charges are not enabled for this organization, or its account can't currently accept payments.\n */\nexport class OrdersFinalize403Error extends PolarClientError<\n OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize403Error\";\n }\n}\n/**\n * The order is not in `draft` status.\n */\nexport class OrderNotDraft extends PolarClientError<OrderNotDraftModel> {\n constructor(\n public readonly statusCode: 412,\n public readonly error: OrderNotDraftModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotDraft\";\n }\n}\n/**\n * Order is not eligible for invoice generation (invalid status).\n */\nexport class OrderNotEligibleForInvoice extends PolarClientError<OrderNotEligibleForInvoiceModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: OrderNotEligibleForInvoiceModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForInvoice\";\n }\n}\n/**\n * Order is missing billing name or address.\n */\nexport class MissingInvoiceBillingDetails extends PolarClientError<MissingInvoiceBillingDetailsModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: MissingInvoiceBillingDetailsModel,\n ) {\n super(statusCode, error);\n this.name = \"MissingInvoiceBillingDetails\";\n }\n}\n/**\n * Order is already fully refunded.\n */\nexport class RefundedAlready extends PolarClientError<RefundedAlreadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: RefundedAlreadyModel,\n ) {\n super(statusCode, error);\n this.name = \"RefundedAlready\";\n }\n}\n/**\n * Conflict\n */\nexport class DisputeNotOpenError extends PolarClientError<DisputeNotOpenErrorModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: DisputeNotOpenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"DisputeNotOpenError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsUpdate403Error\";\n }\n}\n/**\n * The checkout session is expired.\n */\nexport class ExpiredCheckoutError extends PolarClientError<ExpiredCheckoutErrorModel> {\n constructor(\n public readonly statusCode: 410,\n public readonly error: ExpiredCheckoutErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"ExpiredCheckoutError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientUpdate403Error\";\n }\n}\n/**\n * The payment failed.\n */\nexport class PaymentError extends PolarClientError<PaymentErrorModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientConfirm403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientConfirm403Error\";\n }\n}\n/**\n * Not authorized to manage license key.\n */\nexport class Unauthorized extends PolarClientError<UnauthorizedModel> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: UnauthorizedModel,\n ) {\n super(statusCode, error);\n this.name = \"Unauthorized\";\n }\n}\n/**\n * License key cannot be rotated in its current status. Allowed statuses: disabled, granted.\n */\nexport class RotateNotPermitted extends PolarClientError<RotateNotPermittedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: RotateNotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"RotateNotPermitted\";\n }\n}\n/**\n * The external customer ID matches customers in several accessible organizations.\n */\nexport class AmbiguousExternalCustomerID extends PolarClientError<AmbiguousExternalCustomerIDModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: AmbiguousExternalCustomerIDModel,\n ) {\n super(statusCode, error);\n this.name = \"AmbiguousExternalCustomerID\";\n }\n}\n/**\n * The card was declined while setting up the payment method.\n */\nexport class PaymentMethodSetupFailed extends PolarClientError<PaymentMethodSetupFailedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodSetupFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodSetupFailed\";\n }\n}\n/**\n * Customer is not ready to confirm a payment method.\n */\nexport class CustomerNotReady extends PolarClientError<CustomerNotReadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CustomerNotReadyModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerNotReady\";\n }\n}\n/**\n * Payment method is still needed to bill a subscription.\n */\nexport class PaymentMethodInUseByActiveSubscription extends PolarClientError<PaymentMethodInUseByActiveSubscriptionModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodInUseByActiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodInUseByActiveSubscription\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersCheckEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersCheckEmailUpdate401Error\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate401Error\";\n }\n}\n/**\n * Email address is already in use.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate422Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate422Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerPortalSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerPortalSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerPortalSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerPortalSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListClaimedSubscriptions401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListClaimedSubscriptions401Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersListMembers401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersListMembers403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers403Error\";\n }\n}\n/**\n * Invalid request or member already exists.\n */\nexport class CustomerPortalMembersAddMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersAddMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersAddMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember403Error\";\n }\n}\n/**\n * Cannot remove the only owner.\n */\nexport class CustomerPortalMembersRemoveMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersRemoveMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersRemoveMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersRemoveMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember404Error\";\n }\n}\n/**\n * Invalid role change.\n */\nexport class CustomerPortalMembersUpdateMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersUpdateMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersUpdateMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersUpdateMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember404Error\";\n }\n}\n/**\n * Payment already in progress.\n */\nexport class PaymentAlreadyInProgress extends PolarClientError<PaymentAlreadyInProgressModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentAlreadyInProgressModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentAlreadyInProgress\";\n }\n}\n/**\n * Order not eligible for retry or payment confirmation failed.\n */\nexport class OrderNotEligibleForRetry extends PolarClientError<OrderNotEligibleForRetryModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: OrderNotEligibleForRetryModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForRetry\";\n }\n}\n/**\n * Manual retry limit exceeded.\n */\nexport class ManualRetryLimitExceeded extends PolarClientError<ManualRetryLimitExceededModel> {\n constructor(\n public readonly statusCode: 429,\n public readonly error: ManualRetryLimitExceededModel,\n ) {\n super(statusCode, error);\n this.name = \"ManualRetryLimitExceeded\";\n }\n}\n/**\n * Customer subscription is already canceled or will be at the end of the period, the user lacks billing permissions, or pausing/resuming is not enabled for the organization.\n */\nexport class CustomerPortalSubscriptionsUpdate403Error extends PolarClientError<\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error:\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSubscriptionsUpdate403Error\";\n }\n}\n/**\n * The subscription has no payment method to charge.\n */\nexport class PaymentMethodRequired extends PolarClientError<PaymentMethodRequiredModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentMethodRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodRequired\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation404Error\";\n }\n}\n/**\n * Invalid or expired invitation token\n */\nexport class CustomerSeatsGetClaimInfo400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsGetClaimInfo403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsGetClaimInfo404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo404Error\";\n }\n}\n/**\n * Invalid, expired, or already claimed token\n */\nexport class CustomerSeatsClaimSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsClaimSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat403Error\";\n }\n}\n/**\n * Not Found\n */\nexport class EventTypesUpdate404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"EventTypesUpdate404Error\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,IAAa,sBAAb,cAAyC,iBAA2C;CAEhE;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,gCAAb,cAAmD,iBAAqD;CAEpF;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,mBAAb,cAAsC,iBAAwC;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,8BAAb,cAAiD,iBAE/C;CAEkB;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,mCAAb,cAAsD,iBAAwD;CAE1F;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAA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YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,2BAAb,cAA8C,iBAAuB;CAEjD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-jmLqKeis.mjs","names":[],"sources":["../src/2026-04/errors.ts"],"sourcesContent":["import type {\n AlreadyCanceledSubscription as AlreadyCanceledSubscriptionModel,\n AmbiguousExternalCustomerID as AmbiguousExternalCustomerIDModel,\n CannotCreateOrganizationError as CannotCreateOrganizationErrorModel,\n CheckoutForbiddenError as CheckoutForbiddenErrorModel,\n CustomerNotReady as CustomerNotReadyModel,\n DisputeAutoAcceptNotEnabled as DisputeAutoAcceptNotEnabledModel,\n DisputeNotOpenError as DisputeNotOpenErrorModel,\n ExpiredCheckoutError as ExpiredCheckoutErrorModel,\n HTTPValidationError as HTTPValidationErrorModel,\n InactiveSubscription as InactiveSubscriptionModel,\n ManualRetryLimitExceeded as ManualRetryLimitExceededModel,\n MissingInvoiceBillingDetails as MissingInvoiceBillingDetailsModel,\n NotPermitted as NotPermittedModel,\n OffSessionChargesNotEnabled as OffSessionChargesNotEnabledModel,\n OrderNotDraft as OrderNotDraftModel,\n OrderNotEligibleForInvoice as OrderNotEligibleForInvoiceModel,\n OrderNotEligibleForRetry as OrderNotEligibleForRetryModel,\n OrganizationNotReadyForPayments as OrganizationNotReadyForPaymentsModel,\n PauseResumeNotAllowed as PauseResumeNotAllowedModel,\n PaymentActionRequired as PaymentActionRequiredModel,\n PaymentAlreadyInProgress as PaymentAlreadyInProgressModel,\n PaymentError as PaymentErrorModel,\n PaymentFailed as PaymentFailedModel,\n PaymentMethodInUseByActiveSubscription as PaymentMethodInUseByActiveSubscriptionModel,\n PaymentMethodRequired as PaymentMethodRequiredModel,\n PaymentMethodSetupFailed as PaymentMethodSetupFailedModel,\n RefundedAlready as RefundedAlreadyModel,\n ResourceNotFound as ResourceNotFoundModel,\n RotateNotPermitted as RotateNotPermittedModel,\n SSOEnforcementRequiresConnection as SSOEnforcementRequiresConnectionModel,\n SubscriptionLocked as SubscriptionLockedModel,\n Unauthorized as UnauthorizedModel,\n UpdateSubscriptionSeatsNotAllowed as UpdateSubscriptionSeatsNotAllowedModel,\n UpdateSubscriptionUnitsNotAllowed as UpdateSubscriptionUnitsNotAllowedModel,\n} from \"./models\";\n\nimport { PolarClientError } from \"../base\";\n/**\n * Validation Error\n */\nexport class HTTPValidationError extends PolarClientError<HTTPValidationErrorModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: HTTPValidationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"HTTPValidationError\";\n }\n}\n/**\n * Forbidden\n */\nexport class CannotCreateOrganizationError extends PolarClientError<CannotCreateOrganizationErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CannotCreateOrganizationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CannotCreateOrganizationError\";\n }\n}\n/**\n * Organization not found.\n */\nexport class ResourceNotFound extends PolarClientError<ResourceNotFoundModel> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: ResourceNotFoundModel,\n ) {\n super(statusCode, error);\n this.name = \"ResourceNotFound\";\n }\n}\n/**\n * You don't have the permission to update this organization, or dispute auto-accept isn't enabled for it.\n */\nexport class OrganizationsUpdate403Error extends PolarClientError<\n NotPermittedModel | DisputeAutoAcceptNotEnabledModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel | DisputeAutoAcceptNotEnabledModel,\n ) {\n super(statusCode, error);\n this.name = \"OrganizationsUpdate403Error\";\n }\n}\n/**\n * Cannot enforce SSO without an enabled connection.\n */\nexport class SSOEnforcementRequiresConnection extends PolarClientError<SSOEnforcementRequiresConnectionModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SSOEnforcementRequiresConnectionModel,\n ) {\n super(statusCode, error);\n this.name = \"SSOEnforcementRequiresConnection\";\n }\n}\n/**\n * This subscription is already revoked.\n */\nexport class AlreadyCanceledSubscription extends PolarClientError<AlreadyCanceledSubscriptionModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"AlreadyCanceledSubscription\";\n }\n}\n/**\n * Subscription is pending an update.\n */\nexport class SubscriptionLocked extends PolarClientError<SubscriptionLockedModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SubscriptionLockedModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionLocked\";\n }\n}\n/**\n * Payment required to apply the subscription update.\n */\nexport class PaymentFailed extends PolarClientError<PaymentFailedModel> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentFailed\";\n }\n}\n/**\n * Subscription is already canceled or will be at the end of the period, or is not active.\n */\nexport class SubscriptionsUpdate403Error extends PolarClientError<\n AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionsUpdate403Error\";\n }\n}\n/**\n * This benefit is not deletable.\n */\nexport class NotPermitted extends PolarClientError<NotPermittedModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"NotPermitted\";\n }\n}\n/**\n * The charge failed, or requires customer authentication (e.g. a 3DS challenge) that can't be completed off-session.\n */\nexport class OrdersFinalize402Error extends PolarClientError<\n PaymentFailedModel | PaymentActionRequiredModel\n> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel | PaymentActionRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize402Error\";\n }\n}\n/**\n * Off-session charges are not enabled for this organization, or its account can't currently accept payments.\n */\nexport class OrdersFinalize403Error extends PolarClientError<\n OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize403Error\";\n }\n}\n/**\n * The order is not in `draft` status.\n */\nexport class OrderNotDraft extends PolarClientError<OrderNotDraftModel> {\n constructor(\n public readonly statusCode: 412,\n public readonly error: OrderNotDraftModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotDraft\";\n }\n}\n/**\n * Order is not eligible for invoice generation (invalid status).\n */\nexport class OrderNotEligibleForInvoice extends PolarClientError<OrderNotEligibleForInvoiceModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: OrderNotEligibleForInvoiceModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForInvoice\";\n }\n}\n/**\n * Order is missing billing name or address.\n */\nexport class MissingInvoiceBillingDetails extends PolarClientError<MissingInvoiceBillingDetailsModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: MissingInvoiceBillingDetailsModel,\n ) {\n super(statusCode, error);\n this.name = \"MissingInvoiceBillingDetails\";\n }\n}\n/**\n * Order is already fully refunded.\n */\nexport class RefundedAlready extends PolarClientError<RefundedAlreadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: RefundedAlreadyModel,\n ) {\n super(statusCode, error);\n this.name = \"RefundedAlready\";\n }\n}\n/**\n * Conflict\n */\nexport class DisputeNotOpenError extends PolarClientError<DisputeNotOpenErrorModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: DisputeNotOpenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"DisputeNotOpenError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsUpdate403Error\";\n }\n}\n/**\n * The checkout session is expired.\n */\nexport class ExpiredCheckoutError extends PolarClientError<ExpiredCheckoutErrorModel> {\n constructor(\n public readonly statusCode: 410,\n public readonly error: ExpiredCheckoutErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"ExpiredCheckoutError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientUpdate403Error\";\n }\n}\n/**\n * The payment failed.\n */\nexport class PaymentError extends PolarClientError<PaymentErrorModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientConfirm403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientConfirm403Error\";\n }\n}\n/**\n * Not authorized to manage license key.\n */\nexport class Unauthorized extends PolarClientError<UnauthorizedModel> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: UnauthorizedModel,\n ) {\n super(statusCode, error);\n this.name = \"Unauthorized\";\n }\n}\n/**\n * License key cannot be rotated in its current status. Allowed statuses: disabled, granted.\n */\nexport class RotateNotPermitted extends PolarClientError<RotateNotPermittedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: RotateNotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"RotateNotPermitted\";\n }\n}\n/**\n * The external customer ID matches customers in several accessible organizations.\n */\nexport class AmbiguousExternalCustomerID extends PolarClientError<AmbiguousExternalCustomerIDModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: AmbiguousExternalCustomerIDModel,\n ) {\n super(statusCode, error);\n this.name = \"AmbiguousExternalCustomerID\";\n }\n}\n/**\n * The card was declined while setting up the payment method.\n */\nexport class PaymentMethodSetupFailed extends PolarClientError<PaymentMethodSetupFailedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodSetupFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodSetupFailed\";\n }\n}\n/**\n * Customer is not ready to confirm a payment method.\n */\nexport class CustomerNotReady extends PolarClientError<CustomerNotReadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CustomerNotReadyModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerNotReady\";\n }\n}\n/**\n * Payment method is still needed to bill a subscription.\n */\nexport class PaymentMethodInUseByActiveSubscription extends PolarClientError<PaymentMethodInUseByActiveSubscriptionModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodInUseByActiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodInUseByActiveSubscription\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersCheckEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersCheckEmailUpdate401Error\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate401Error\";\n }\n}\n/**\n * Email address is already in use.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate422Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate422Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerPortalSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerPortalSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerPortalSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerPortalSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListClaimedSubscriptions401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListClaimedSubscriptions401Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersListMembers401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersListMembers403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers403Error\";\n }\n}\n/**\n * Invalid request or member already exists.\n */\nexport class CustomerPortalMembersAddMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersAddMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersAddMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember403Error\";\n }\n}\n/**\n * Cannot remove the only owner.\n */\nexport class CustomerPortalMembersRemoveMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersRemoveMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersRemoveMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersRemoveMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember404Error\";\n }\n}\n/**\n * Invalid role change.\n */\nexport class CustomerPortalMembersUpdateMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersUpdateMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersUpdateMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersUpdateMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember404Error\";\n }\n}\n/**\n * Payment already in progress.\n */\nexport class PaymentAlreadyInProgress extends PolarClientError<PaymentAlreadyInProgressModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentAlreadyInProgressModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentAlreadyInProgress\";\n }\n}\n/**\n * Order not eligible for retry or payment confirmation failed.\n */\nexport class OrderNotEligibleForRetry extends PolarClientError<OrderNotEligibleForRetryModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: OrderNotEligibleForRetryModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForRetry\";\n }\n}\n/**\n * Manual retry limit exceeded.\n */\nexport class ManualRetryLimitExceeded extends PolarClientError<ManualRetryLimitExceededModel> {\n constructor(\n public readonly statusCode: 429,\n public readonly error: ManualRetryLimitExceededModel,\n ) {\n super(statusCode, error);\n this.name = \"ManualRetryLimitExceeded\";\n }\n}\n/**\n * Customer subscription is already canceled or will be at the end of the period, the user lacks billing permissions, or pausing/resuming is not enabled for the organization.\n */\nexport class CustomerPortalSubscriptionsUpdate403Error extends PolarClientError<\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error:\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSubscriptionsUpdate403Error\";\n }\n}\n/**\n * The subscription has no payment method to charge.\n */\nexport class PaymentMethodRequired extends PolarClientError<PaymentMethodRequiredModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentMethodRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodRequired\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation404Error\";\n }\n}\n/**\n * Invalid or expired invitation token\n */\nexport class CustomerSeatsGetClaimInfo400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsGetClaimInfo403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsGetClaimInfo404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo404Error\";\n }\n}\n/**\n * Invalid, expired, or already claimed token\n */\nexport class CustomerSeatsClaimSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsClaimSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat403Error\";\n }\n}\n/**\n * Not Found\n */\nexport class EventTypesUpdate404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"EventTypesUpdate404Error\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,IAAa,sBAAb,cAAyC,iBAA2C;CAEhE;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,gCAAb,cAAmD,iBAAqD;CAEpF;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,mBAAb,cAAsC,iBAAwC;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,8BAAb,cAAiD,iBAE/C;CAEkB;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,mCAAb,cAAsD,iBAAwD;CAE1F;CACA;CAFl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CAAb,cAAoD,iBAAuB;CAEvD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,2BAAb,cAA8C,iBAAuB;CAEjD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-uRD_PnoN.cjs","names":["PolarClientError"],"sources":["../src/2026-04/errors.ts"],"sourcesContent":["import type {\n AlreadyCanceledSubscription as AlreadyCanceledSubscriptionModel,\n AmbiguousExternalCustomerID as AmbiguousExternalCustomerIDModel,\n CannotCreateOrganizationError as CannotCreateOrganizationErrorModel,\n CheckoutForbiddenError as CheckoutForbiddenErrorModel,\n CustomerNotReady as CustomerNotReadyModel,\n DisputeAutoAcceptNotEnabled as DisputeAutoAcceptNotEnabledModel,\n DisputeNotOpenError as DisputeNotOpenErrorModel,\n ExpiredCheckoutError as ExpiredCheckoutErrorModel,\n HTTPValidationError as HTTPValidationErrorModel,\n InactiveSubscription as InactiveSubscriptionModel,\n ManualRetryLimitExceeded as ManualRetryLimitExceededModel,\n MissingInvoiceBillingDetails as MissingInvoiceBillingDetailsModel,\n NotPermitted as NotPermittedModel,\n OffSessionChargesNotEnabled as OffSessionChargesNotEnabledModel,\n OrderNotDraft as OrderNotDraftModel,\n OrderNotEligibleForInvoice as OrderNotEligibleForInvoiceModel,\n OrderNotEligibleForRetry as OrderNotEligibleForRetryModel,\n OrganizationNotReadyForPayments as OrganizationNotReadyForPaymentsModel,\n PauseResumeNotAllowed as PauseResumeNotAllowedModel,\n PaymentActionRequired as PaymentActionRequiredModel,\n PaymentAlreadyInProgress as PaymentAlreadyInProgressModel,\n PaymentError as PaymentErrorModel,\n PaymentFailed as PaymentFailedModel,\n PaymentMethodInUseByActiveSubscription as PaymentMethodInUseByActiveSubscriptionModel,\n PaymentMethodRequired as PaymentMethodRequiredModel,\n PaymentMethodSetupFailed as PaymentMethodSetupFailedModel,\n RefundedAlready as RefundedAlreadyModel,\n ResourceNotFound as ResourceNotFoundModel,\n RotateNotPermitted as RotateNotPermittedModel,\n SSOEnforcementRequiresConnection as SSOEnforcementRequiresConnectionModel,\n SubscriptionLocked as SubscriptionLockedModel,\n Unauthorized as UnauthorizedModel,\n UpdateSubscriptionSeatsNotAllowed as UpdateSubscriptionSeatsNotAllowedModel,\n UpdateSubscriptionUnitsNotAllowed as UpdateSubscriptionUnitsNotAllowedModel,\n} from \"./models\";\n\nimport { PolarClientError } from \"../base\";\n/**\n * Validation Error\n */\nexport class HTTPValidationError extends PolarClientError<HTTPValidationErrorModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: HTTPValidationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"HTTPValidationError\";\n }\n}\n/**\n * Forbidden\n */\nexport class CannotCreateOrganizationError extends PolarClientError<CannotCreateOrganizationErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CannotCreateOrganizationErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CannotCreateOrganizationError\";\n }\n}\n/**\n * Organization not found.\n */\nexport class ResourceNotFound extends PolarClientError<ResourceNotFoundModel> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: ResourceNotFoundModel,\n ) {\n super(statusCode, error);\n this.name = \"ResourceNotFound\";\n }\n}\n/**\n * You don't have the permission to update this organization, or dispute auto-accept isn't enabled for it.\n */\nexport class OrganizationsUpdate403Error extends PolarClientError<\n NotPermittedModel | DisputeAutoAcceptNotEnabledModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel | DisputeAutoAcceptNotEnabledModel,\n ) {\n super(statusCode, error);\n this.name = \"OrganizationsUpdate403Error\";\n }\n}\n/**\n * Cannot enforce SSO without an enabled connection.\n */\nexport class SSOEnforcementRequiresConnection extends PolarClientError<SSOEnforcementRequiresConnectionModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SSOEnforcementRequiresConnectionModel,\n ) {\n super(statusCode, error);\n this.name = \"SSOEnforcementRequiresConnection\";\n }\n}\n/**\n * This subscription is already revoked.\n */\nexport class AlreadyCanceledSubscription extends PolarClientError<AlreadyCanceledSubscriptionModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"AlreadyCanceledSubscription\";\n }\n}\n/**\n * Subscription is pending an update.\n */\nexport class SubscriptionLocked extends PolarClientError<SubscriptionLockedModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: SubscriptionLockedModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionLocked\";\n }\n}\n/**\n * Payment required to apply the subscription update.\n */\nexport class PaymentFailed extends PolarClientError<PaymentFailedModel> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentFailed\";\n }\n}\n/**\n * Subscription is already canceled or will be at the end of the period, or is not active.\n */\nexport class SubscriptionsUpdate403Error extends PolarClientError<\n AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: AlreadyCanceledSubscriptionModel | InactiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"SubscriptionsUpdate403Error\";\n }\n}\n/**\n * This benefit is not deletable.\n */\nexport class NotPermitted extends PolarClientError<NotPermittedModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: NotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"NotPermitted\";\n }\n}\n/**\n * The charge failed, or requires customer authentication (e.g. a 3DS challenge) that can't be completed off-session.\n */\nexport class OrdersFinalize402Error extends PolarClientError<\n PaymentFailedModel | PaymentActionRequiredModel\n> {\n constructor(\n public readonly statusCode: 402,\n public readonly error: PaymentFailedModel | PaymentActionRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize402Error\";\n }\n}\n/**\n * Off-session charges are not enabled for this organization, or its account can't currently accept payments.\n */\nexport class OrdersFinalize403Error extends PolarClientError<\n OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: OffSessionChargesNotEnabledModel | OrganizationNotReadyForPaymentsModel,\n ) {\n super(statusCode, error);\n this.name = \"OrdersFinalize403Error\";\n }\n}\n/**\n * The order is not in `draft` status.\n */\nexport class OrderNotDraft extends PolarClientError<OrderNotDraftModel> {\n constructor(\n public readonly statusCode: 412,\n public readonly error: OrderNotDraftModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotDraft\";\n }\n}\n/**\n * Order is not eligible for invoice generation (invalid status).\n */\nexport class OrderNotEligibleForInvoice extends PolarClientError<OrderNotEligibleForInvoiceModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: OrderNotEligibleForInvoiceModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForInvoice\";\n }\n}\n/**\n * Order is missing billing name or address.\n */\nexport class MissingInvoiceBillingDetails extends PolarClientError<MissingInvoiceBillingDetailsModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: MissingInvoiceBillingDetailsModel,\n ) {\n super(statusCode, error);\n this.name = \"MissingInvoiceBillingDetails\";\n }\n}\n/**\n * Order is already fully refunded.\n */\nexport class RefundedAlready extends PolarClientError<RefundedAlreadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: RefundedAlreadyModel,\n ) {\n super(statusCode, error);\n this.name = \"RefundedAlready\";\n }\n}\n/**\n * Conflict\n */\nexport class DisputeNotOpenError extends PolarClientError<DisputeNotOpenErrorModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: DisputeNotOpenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"DisputeNotOpenError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsUpdate403Error\";\n }\n}\n/**\n * The checkout session is expired.\n */\nexport class ExpiredCheckoutError extends PolarClientError<ExpiredCheckoutErrorModel> {\n constructor(\n public readonly statusCode: 410,\n public readonly error: ExpiredCheckoutErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"ExpiredCheckoutError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientUpdate403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientUpdate403Error\";\n }\n}\n/**\n * The payment failed.\n */\nexport class PaymentError extends PolarClientError<PaymentErrorModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentError\";\n }\n}\n/**\n * The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments.\n */\nexport class CheckoutsClientConfirm403Error extends PolarClientError<CheckoutForbiddenErrorModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CheckoutForbiddenErrorModel,\n ) {\n super(statusCode, error);\n this.name = \"CheckoutsClientConfirm403Error\";\n }\n}\n/**\n * Not authorized to manage license key.\n */\nexport class Unauthorized extends PolarClientError<UnauthorizedModel> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: UnauthorizedModel,\n ) {\n super(statusCode, error);\n this.name = \"Unauthorized\";\n }\n}\n/**\n * License key cannot be rotated in its current status. Allowed statuses: disabled, granted.\n */\nexport class RotateNotPermitted extends PolarClientError<RotateNotPermittedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: RotateNotPermittedModel,\n ) {\n super(statusCode, error);\n this.name = \"RotateNotPermitted\";\n }\n}\n/**\n * The external customer ID matches customers in several accessible organizations.\n */\nexport class AmbiguousExternalCustomerID extends PolarClientError<AmbiguousExternalCustomerIDModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: AmbiguousExternalCustomerIDModel,\n ) {\n super(statusCode, error);\n this.name = \"AmbiguousExternalCustomerID\";\n }\n}\n/**\n * The card was declined while setting up the payment method.\n */\nexport class PaymentMethodSetupFailed extends PolarClientError<PaymentMethodSetupFailedModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodSetupFailedModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodSetupFailed\";\n }\n}\n/**\n * Customer is not ready to confirm a payment method.\n */\nexport class CustomerNotReady extends PolarClientError<CustomerNotReadyModel> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: CustomerNotReadyModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerNotReady\";\n }\n}\n/**\n * Payment method is still needed to bill a subscription.\n */\nexport class PaymentMethodInUseByActiveSubscription extends PolarClientError<PaymentMethodInUseByActiveSubscriptionModel> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: PaymentMethodInUseByActiveSubscriptionModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodInUseByActiveSubscription\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersCheckEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersCheckEmailUpdate401Error\";\n }\n}\n/**\n * Invalid or expired verification token.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate401Error\";\n }\n}\n/**\n * Email address is already in use.\n */\nexport class CustomerPortalCustomersVerifyEmailUpdate422Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalCustomersVerifyEmailUpdate422Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerPortalSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerPortalSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerPortalSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerPortalSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerPortalSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerPortalSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsResendInvitation404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalSeatsListClaimedSubscriptions401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSeatsListClaimedSubscriptions401Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersListMembers401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersListMembers403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersListMembers403Error\";\n }\n}\n/**\n * Invalid request or member already exists.\n */\nexport class CustomerPortalMembersAddMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersAddMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersAddMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersAddMember403Error\";\n }\n}\n/**\n * Cannot remove the only owner.\n */\nexport class CustomerPortalMembersRemoveMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersRemoveMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersRemoveMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersRemoveMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersRemoveMember404Error\";\n }\n}\n/**\n * Invalid role change.\n */\nexport class CustomerPortalMembersUpdateMember400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerPortalMembersUpdateMember401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember401Error\";\n }\n}\n/**\n * Not permitted - requires owner or billing manager role\n */\nexport class CustomerPortalMembersUpdateMember403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember403Error\";\n }\n}\n/**\n * Member not found.\n */\nexport class CustomerPortalMembersUpdateMember404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalMembersUpdateMember404Error\";\n }\n}\n/**\n * Payment already in progress.\n */\nexport class PaymentAlreadyInProgress extends PolarClientError<PaymentAlreadyInProgressModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentAlreadyInProgressModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentAlreadyInProgress\";\n }\n}\n/**\n * Order not eligible for retry or payment confirmation failed.\n */\nexport class OrderNotEligibleForRetry extends PolarClientError<OrderNotEligibleForRetryModel> {\n constructor(\n public readonly statusCode: 422,\n public readonly error: OrderNotEligibleForRetryModel,\n ) {\n super(statusCode, error);\n this.name = \"OrderNotEligibleForRetry\";\n }\n}\n/**\n * Manual retry limit exceeded.\n */\nexport class ManualRetryLimitExceeded extends PolarClientError<ManualRetryLimitExceededModel> {\n constructor(\n public readonly statusCode: 429,\n public readonly error: ManualRetryLimitExceededModel,\n ) {\n super(statusCode, error);\n this.name = \"ManualRetryLimitExceeded\";\n }\n}\n/**\n * Customer subscription is already canceled or will be at the end of the period, the user lacks billing permissions, or pausing/resuming is not enabled for the organization.\n */\nexport class CustomerPortalSubscriptionsUpdate403Error extends PolarClientError<\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel\n> {\n constructor(\n public readonly statusCode: 403,\n public readonly error:\n | AlreadyCanceledSubscriptionModel\n | PauseResumeNotAllowedModel\n | UpdateSubscriptionSeatsNotAllowedModel\n | UpdateSubscriptionUnitsNotAllowedModel,\n ) {\n super(statusCode, error);\n this.name = \"CustomerPortalSubscriptionsUpdate403Error\";\n }\n}\n/**\n * The subscription has no payment method to charge.\n */\nexport class PaymentMethodRequired extends PolarClientError<PaymentMethodRequiredModel> {\n constructor(\n public readonly statusCode: 409,\n public readonly error: PaymentMethodRequiredModel,\n ) {\n super(statusCode, error);\n this.name = \"PaymentMethodRequired\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsListSeats401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsListSeats403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats403Error\";\n }\n}\n/**\n * Subscription or order not found\n */\nexport class CustomerSeatsListSeats404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsListSeats404Error\";\n }\n}\n/**\n * No available seats or customer already has a seat\n */\nexport class CustomerSeatsAssignSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsAssignSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsAssignSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat403Error\";\n }\n}\n/**\n * Subscription, order, or customer not found\n */\nexport class CustomerSeatsAssignSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsAssignSeat404Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsRevokeSeat401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsRevokeSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsRevokeSeat404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsRevokeSeat404Error\";\n }\n}\n/**\n * Seat is not pending or already claimed\n */\nexport class CustomerSeatsResendInvitation400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation400Error\";\n }\n}\n/**\n * Authentication required\n */\nexport class CustomerSeatsResendInvitation401Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 401,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation401Error\";\n }\n}\n/**\n * Not permitted or seat-based pricing not enabled\n */\nexport class CustomerSeatsResendInvitation403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsResendInvitation404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsResendInvitation404Error\";\n }\n}\n/**\n * Invalid or expired invitation token\n */\nexport class CustomerSeatsGetClaimInfo400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsGetClaimInfo403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo403Error\";\n }\n}\n/**\n * Seat not found\n */\nexport class CustomerSeatsGetClaimInfo404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsGetClaimInfo404Error\";\n }\n}\n/**\n * Invalid, expired, or already claimed token\n */\nexport class CustomerSeatsClaimSeat400Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 400,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat400Error\";\n }\n}\n/**\n * Seat-based pricing not enabled for organization\n */\nexport class CustomerSeatsClaimSeat403Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 403,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"CustomerSeatsClaimSeat403Error\";\n }\n}\n/**\n * Not Found\n */\nexport class EventTypesUpdate404Error extends PolarClientError<null> {\n constructor(\n public readonly statusCode: 404,\n public readonly error: null,\n ) {\n super(statusCode, error);\n this.name = \"EventTypesUpdate404Error\";\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,IAAa,sBAAb,cAAyCA,aAAAA,iBAA2C;CAEhE;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,gCAAb,cAAmDA,aAAAA,iBAAqD;CAEpF;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,mBAAb,cAAsCA,aAAAA,iBAAwC;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,8BAAb,cAAiDA,aAAAA,iBAE/C;CAEkB;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAA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AAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,oCAAb,cAAuDA,aAAAA,iBAAuB;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,oCAAb,cAAuDA,aAAAA,iBAAuB;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,oCAAb,cAAuDA,aAAAA,iBAAuB;CAE1D;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,iCAAb,cAAoDA,aAAAA,iBAAuB;CAEvD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,iCAAb,cAAoDA,aAAAA,iBAAuB;CAEvD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF;;;;AAIA,IAAa,2BAAb,cAA8CA,aAAAA,iBAAuB;CAEjD;CACA;CAFlB,YACE,YACA,OACA;EACA,MAAM,YAAY,KAAK;EAHP,KAAA,aAAA;EACA,KAAA,QAAA;EAGhB,KAAK,OAAO;CACd;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-C13yiYYK.d.mts","names":[],"sources":["../src/2026-04/client.ts","../src/2026-04/errors.ts","../src/2026-04/webhooks.ts"],"mappings":";;;;KA6B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;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,4DAA4D;WAErD;WACA;EADA,YAAA,iBACA;;;;;cASP,iDAAiD;WAE1C;WACA;EADA,YAAA,iBACA;;;;;cASP,iDAAiD;WAE1C;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,iCAAiC,iBAAiB;WAE3C;WACA,OAAO;EADP,YAAA,iBACA,OAAO;;;;;cASd,iCAAiC,iBAAiB;WAE3C;WACA,OAAO;EADP,YAAA,iBACA,OAAO;;;;;cASd,iCAAiC,iBAAiB;WAE3C;WACA,OAAO;EADP,YAAA,iBACA,OAAO;;;;;cASd,kDAAkD,iBAC3D,gCACA,wBACA,oCACA;WAGgB;WACA,OACZ,gCACA,wBACA,oCACA;EALY,YAAA,iBACA,OACZ,gCACA,wBACA,oCACA;;;;;cASK,8BAA8B,iBAAiB;WAExC;WACA,OAAO;EADP,YAAA,iBACA,OAAO;;;;;cASd,uCAAuC;WAEhC;WACA;EADA,YAAA,iBACA;;;;;cASP,uCAAuC;WAEhC;WACA;EADA,YAAA,iBACA;;;;;cASP,uCAAuC;WAEhC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,wCAAwC;WAEjC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,0CAA0C;WAEnC;WACA;EADA,YAAA,iBACA;;;;;cASP,0CAA0C;WAEnC;WACA;EADA,YAAA,iBACA;;;;;cASP,0CAA0C;WAEnC;WACA;EADA,YAAA,iBACA;;;;;cASP,uCAAuC;WAEhC;WACA;EADA,YAAA,iBACA;;;;;cASP,uCAAuC;WAEhC;WACA;EADA,YAAA,iBACA;;;;;cASP,iCAAiC;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;;cASP,6CAA6C;WAEtC;WACA;EADA,YAAA,iBACA;;;;;cASP,6CAA6C;WAEtC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,8CAA8C;WAEvC;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,oDAAoD;WAE7C;WACA;EADA,YAAA,iBACA;;;;;cASP,4DAA4D;WAErD;WACA;EADA,YAAA,iBACA;;;;;cASP,iDAAiD;WAE1C;WACA;EADA,YAAA,iBACA;;;;;cASP,iDAAiD;WAE1C;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,+CAA+C;WAExC;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;WAE3C;WACA;EADA,YAAA,iBACA;;;;;cASP,kDAAkD;W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