@polar-sh/sdk 1.0.1 → 1.0.3-alpha.1
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/dist/2026-04/index.cjs +3 -3
- 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 +3 -3
- 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 +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 +1 -1
- package/dist/2026-04/services/customer_portal/subscriptions.cjs +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 +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 +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 +1 -1
- package/dist/2026-04/services/customer_sessions.cjs +1 -1
- package/dist/2026-04/services/customer_sessions.d.cts +2 -2
- package/dist/2026-04/services/customer_sessions.d.mts +2 -2
- package/dist/2026-04/services/customer_sessions.mjs +1 -1
- package/dist/2026-04/services/customers/index.cjs +1 -1
- package/dist/2026-04/services/customers/index.d.cts +2 -2
- package/dist/2026-04/services/customers/index.d.cts.map +1 -1
- package/dist/2026-04/services/customers/index.d.mts +2 -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 +1 -1
- package/dist/2026-04/services/customers/members.d.cts +2 -2
- package/dist/2026-04/services/customers/members.d.mts +2 -2
- package/dist/2026-04/services/customers/members.mjs +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.cts.map +1 -1
- package/dist/2026-04/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-04/services/oauth2/clients/index.d.mts.map +1 -1
- 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.cts.map +1 -1
- package/dist/2026-04/services/oauth2/index.d.mts +2 -2
- package/dist/2026-04/services/oauth2/index.d.mts.map +1 -1
- 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 +1 -1
- package/dist/2026-04/services/subscriptions.d.cts +2 -2
- package/dist/2026-04/services/subscriptions.d.mts +2 -2
- package/dist/2026-04/services/subscriptions.mjs +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 +3 -3
- 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 +3 -3
- 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 +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 +1 -1
- package/dist/2026-10/services/customer_portal/subscriptions.cjs +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 +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 +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 +1 -1
- package/dist/2026-10/services/customer_sessions.cjs +1 -1
- package/dist/2026-10/services/customer_sessions.d.cts +2 -2
- package/dist/2026-10/services/customer_sessions.d.mts +2 -2
- package/dist/2026-10/services/customer_sessions.mjs +1 -1
- package/dist/2026-10/services/customers/index.cjs +1 -1
- package/dist/2026-10/services/customers/index.d.cts +2 -2
- package/dist/2026-10/services/customers/index.d.cts.map +1 -1
- package/dist/2026-10/services/customers/index.d.mts +2 -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 +1 -1
- package/dist/2026-10/services/customers/members.d.cts +2 -2
- package/dist/2026-10/services/customers/members.d.mts +2 -2
- package/dist/2026-10/services/customers/members.mjs +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.cts.map +1 -1
- package/dist/2026-10/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-10/services/oauth2/clients/index.d.mts.map +1 -1
- 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.cts.map +1 -1
- package/dist/2026-10/services/oauth2/index.d.mts +2 -2
- package/dist/2026-10/services/oauth2/index.d.mts.map +1 -1
- 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 +1 -1
- package/dist/2026-10/services/subscriptions.d.cts +2 -2
- package/dist/2026-10/services/subscriptions.d.mts +2 -2
- package/dist/2026-10/services/subscriptions.mjs +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/2027-01/index.cjs +3 -3
- package/dist/2027-01/index.cjs.map +1 -1
- package/dist/2027-01/index.d.cts +3 -3
- package/dist/2027-01/index.d.mts +3 -3
- package/dist/2027-01/index.mjs +3 -3
- package/dist/2027-01/index.mjs.map +1 -1
- package/dist/2027-01/services/benefit_grants.cjs +4 -1
- package/dist/2027-01/services/benefit_grants.cjs.map +1 -1
- package/dist/2027-01/services/benefit_grants.d.cts +14 -2
- package/dist/2027-01/services/benefit_grants.d.cts.map +1 -1
- package/dist/2027-01/services/benefit_grants.d.mts +14 -2
- package/dist/2027-01/services/benefit_grants.d.mts.map +1 -1
- package/dist/2027-01/services/benefit_grants.mjs +4 -1
- package/dist/2027-01/services/benefit_grants.mjs.map +1 -1
- package/dist/2027-01/services/benefits.cjs +1 -1
- package/dist/2027-01/services/benefits.d.cts +2 -2
- package/dist/2027-01/services/benefits.d.mts +2 -2
- package/dist/2027-01/services/benefits.mjs +1 -1
- package/dist/2027-01/services/checkout_links.cjs +1 -1
- package/dist/2027-01/services/checkout_links.d.cts +2 -2
- package/dist/2027-01/services/checkout_links.d.mts +2 -2
- package/dist/2027-01/services/checkout_links.mjs +1 -1
- package/dist/2027-01/services/checkouts.cjs +1 -1
- package/dist/2027-01/services/checkouts.d.cts +2 -2
- package/dist/2027-01/services/checkouts.d.mts +2 -2
- package/dist/2027-01/services/checkouts.mjs +1 -1
- package/dist/2027-01/services/custom_fields.cjs +1 -1
- package/dist/2027-01/services/custom_fields.d.cts +2 -2
- package/dist/2027-01/services/custom_fields.d.mts +2 -2
- package/dist/2027-01/services/custom_fields.mjs +1 -1
- package/dist/2027-01/services/customer_meters.cjs +2 -1
- package/dist/2027-01/services/customer_meters.cjs.map +1 -1
- package/dist/2027-01/services/customer_meters.d.cts +6 -2
- package/dist/2027-01/services/customer_meters.d.cts.map +1 -1
- package/dist/2027-01/services/customer_meters.d.mts +6 -2
- package/dist/2027-01/services/customer_meters.d.mts.map +1 -1
- package/dist/2027-01/services/customer_meters.mjs +2 -1
- package/dist/2027-01/services/customer_meters.mjs.map +1 -1
- package/dist/2027-01/services/customer_portal/benefit_grants.cjs +1 -1
- package/dist/2027-01/services/customer_portal/benefit_grants.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/benefit_grants.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/benefit_grants.mjs +1 -1
- package/dist/2027-01/services/customer_portal/customer_meters.cjs +1 -1
- package/dist/2027-01/services/customer_portal/customer_meters.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/customer_meters.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/customer_meters.mjs +1 -1
- package/dist/2027-01/services/customer_portal/customer_session.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/customer_session.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/customers.cjs +1 -1
- package/dist/2027-01/services/customer_portal/customers.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/customers.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/customers.mjs +1 -1
- package/dist/2027-01/services/customer_portal/downloadables.cjs +1 -1
- package/dist/2027-01/services/customer_portal/downloadables.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/downloadables.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/downloadables.mjs +1 -1
- package/dist/2027-01/services/customer_portal/index.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/index.d.cts.map +1 -1
- package/dist/2027-01/services/customer_portal/index.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/index.d.mts.map +1 -1
- package/dist/2027-01/services/customer_portal/license_keys.cjs +1 -1
- package/dist/2027-01/services/customer_portal/license_keys.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/license_keys.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/license_keys.mjs +1 -1
- package/dist/2027-01/services/customer_portal/members.cjs +1 -1
- package/dist/2027-01/services/customer_portal/members.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/members.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/members.mjs +1 -1
- package/dist/2027-01/services/customer_portal/orders.cjs +1 -1
- package/dist/2027-01/services/customer_portal/orders.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/orders.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/orders.mjs +1 -1
- package/dist/2027-01/services/customer_portal/organizations.cjs +1 -1
- package/dist/2027-01/services/customer_portal/organizations.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/organizations.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/organizations.mjs +1 -1
- package/dist/2027-01/services/customer_portal/seats.cjs +1 -1
- package/dist/2027-01/services/customer_portal/seats.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/seats.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/seats.mjs +1 -1
- package/dist/2027-01/services/customer_portal/subscriptions.cjs +1 -1
- package/dist/2027-01/services/customer_portal/subscriptions.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/subscriptions.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/subscriptions.mjs +1 -1
- package/dist/2027-01/services/customer_portal/wallets.cjs +1 -1
- package/dist/2027-01/services/customer_portal/wallets.d.cts +2 -2
- package/dist/2027-01/services/customer_portal/wallets.d.mts +2 -2
- package/dist/2027-01/services/customer_portal/wallets.mjs +1 -1
- package/dist/2027-01/services/customer_seats.cjs +1 -1
- package/dist/2027-01/services/customer_seats.d.cts +2 -2
- package/dist/2027-01/services/customer_seats.d.mts +2 -2
- package/dist/2027-01/services/customer_seats.mjs +1 -1
- package/dist/2027-01/services/customer_sessions.cjs +1 -1
- package/dist/2027-01/services/customer_sessions.d.cts +2 -2
- package/dist/2027-01/services/customer_sessions.d.mts +2 -2
- package/dist/2027-01/services/customer_sessions.mjs +1 -1
- package/dist/2027-01/services/customers/index.cjs +1 -1
- package/dist/2027-01/services/customers/index.d.cts +2 -2
- package/dist/2027-01/services/customers/index.d.cts.map +1 -1
- package/dist/2027-01/services/customers/index.d.mts +2 -2
- package/dist/2027-01/services/customers/index.d.mts.map +1 -1
- package/dist/2027-01/services/customers/index.mjs +1 -1
- package/dist/2027-01/services/customers/members.cjs +1 -1
- package/dist/2027-01/services/customers/members.d.cts +2 -2
- package/dist/2027-01/services/customers/members.d.mts +2 -2
- package/dist/2027-01/services/customers/members.mjs +1 -1
- package/dist/2027-01/services/discounts.cjs +1 -1
- package/dist/2027-01/services/discounts.d.cts +2 -2
- package/dist/2027-01/services/discounts.d.mts +2 -2
- package/dist/2027-01/services/discounts.mjs +1 -1
- package/dist/2027-01/services/disputes.cjs +1 -1
- package/dist/2027-01/services/disputes.d.cts +2 -2
- package/dist/2027-01/services/disputes.d.mts +2 -2
- package/dist/2027-01/services/disputes.mjs +1 -1
- package/dist/2027-01/services/event_types.cjs +1 -1
- package/dist/2027-01/services/event_types.d.cts +2 -2
- package/dist/2027-01/services/event_types.d.mts +2 -2
- package/dist/2027-01/services/event_types.mjs +1 -1
- package/dist/2027-01/services/events.cjs +6 -2
- package/dist/2027-01/services/events.cjs.map +1 -1
- package/dist/2027-01/services/events.d.cts +2 -2
- package/dist/2027-01/services/events.d.cts.map +1 -1
- package/dist/2027-01/services/events.d.mts +2 -2
- package/dist/2027-01/services/events.d.mts.map +1 -1
- package/dist/2027-01/services/events.mjs +6 -2
- package/dist/2027-01/services/events.mjs.map +1 -1
- package/dist/2027-01/services/files.cjs +1 -1
- package/dist/2027-01/services/files.d.cts +2 -2
- package/dist/2027-01/services/files.d.mts +2 -2
- package/dist/2027-01/services/files.mjs +1 -1
- package/dist/2027-01/services/license_keys.cjs +1 -1
- package/dist/2027-01/services/license_keys.d.cts +2 -2
- package/dist/2027-01/services/license_keys.d.mts +2 -2
- package/dist/2027-01/services/license_keys.mjs +1 -1
- package/dist/2027-01/services/meters.cjs +30 -1
- package/dist/2027-01/services/meters.cjs.map +1 -1
- package/dist/2027-01/services/meters.d.cts +5 -3
- package/dist/2027-01/services/meters.d.cts.map +1 -1
- package/dist/2027-01/services/meters.d.mts +5 -3
- package/dist/2027-01/services/meters.d.mts.map +1 -1
- package/dist/2027-01/services/meters.mjs +30 -2
- package/dist/2027-01/services/meters.mjs.map +1 -1
- package/dist/2027-01/services/metrics.cjs +1 -1
- package/dist/2027-01/services/metrics.d.cts +2 -2
- package/dist/2027-01/services/metrics.d.mts +2 -2
- package/dist/2027-01/services/metrics.mjs +1 -1
- package/dist/2027-01/services/oauth2/clients/index.d.cts +2 -2
- package/dist/2027-01/services/oauth2/clients/index.d.cts.map +1 -1
- package/dist/2027-01/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2027-01/services/oauth2/clients/index.d.mts.map +1 -1
- package/dist/2027-01/services/oauth2/clients/oauth2.cjs +1 -1
- package/dist/2027-01/services/oauth2/clients/oauth2.d.cts +2 -2
- package/dist/2027-01/services/oauth2/clients/oauth2.d.mts +2 -2
- package/dist/2027-01/services/oauth2/clients/oauth2.mjs +1 -1
- package/dist/2027-01/services/oauth2/index.d.cts +2 -2
- package/dist/2027-01/services/oauth2/index.d.cts.map +1 -1
- package/dist/2027-01/services/oauth2/index.d.mts +2 -2
- package/dist/2027-01/services/oauth2/index.d.mts.map +1 -1
- package/dist/2027-01/services/orders.cjs +1 -1
- package/dist/2027-01/services/orders.d.cts +2 -2
- package/dist/2027-01/services/orders.d.mts +2 -2
- package/dist/2027-01/services/orders.mjs +1 -1
- package/dist/2027-01/services/organizations.cjs +1 -1
- package/dist/2027-01/services/organizations.d.cts +2 -2
- package/dist/2027-01/services/organizations.d.mts +2 -2
- package/dist/2027-01/services/organizations.mjs +1 -1
- package/dist/2027-01/services/payments.cjs +1 -1
- package/dist/2027-01/services/payments.d.cts +2 -2
- package/dist/2027-01/services/payments.d.mts +2 -2
- package/dist/2027-01/services/payments.mjs +1 -1
- package/dist/2027-01/services/products.cjs +1 -1
- package/dist/2027-01/services/products.d.cts +2 -2
- package/dist/2027-01/services/products.d.mts +2 -2
- package/dist/2027-01/services/products.mjs +1 -1
- package/dist/2027-01/services/refunds.cjs +1 -1
- package/dist/2027-01/services/refunds.d.cts +2 -2
- package/dist/2027-01/services/refunds.d.mts +2 -2
- package/dist/2027-01/services/refunds.mjs +1 -1
- package/dist/2027-01/services/subscriptions.cjs +1 -1
- package/dist/2027-01/services/subscriptions.d.cts +2 -2
- package/dist/2027-01/services/subscriptions.d.mts +2 -2
- package/dist/2027-01/services/subscriptions.mjs +1 -1
- package/dist/2027-01/services/webhooks.cjs +1 -1
- package/dist/2027-01/services/webhooks.d.cts +2 -2
- package/dist/2027-01/services/webhooks.d.mts +2 -2
- package/dist/2027-01/services/webhooks.mjs +1 -1
- package/dist/{base-CpfZ-knN.d.cts → base-C7LedWf8.d.cts} +2 -1
- package/dist/base-C7LedWf8.d.cts.map +1 -0
- package/dist/{base-CpfZ-knN.d.mts → base-C7LedWf8.d.mts} +2 -1
- package/dist/base-C7LedWf8.d.mts.map +1 -0
- package/dist/{base-Cg2wDLWs.cjs → base-DHy1aJ70.cjs} +7 -2
- package/dist/base-DHy1aJ70.cjs.map +1 -0
- package/dist/{base-BUt6nZzk.mjs → base-jGd8URjq.mjs} +7 -2
- package/dist/base-jGd8URjq.mjs.map +1 -0
- package/dist/{errors-dHVoRfxX.mjs → errors-B3PVjuYS.mjs} +2 -2
- package/dist/{errors-dHVoRfxX.mjs.map → errors-B3PVjuYS.mjs.map} +1 -1
- package/dist/{errors-CmYJfQ1c.cjs → errors-CzT1D8p2.cjs} +2 -2
- package/dist/{errors-CmYJfQ1c.cjs.map → errors-CzT1D8p2.cjs.map} +1 -1
- package/dist/{errors-yvjiVcrn.mjs → errors-D-tE71R8.mjs} +17 -3
- package/dist/errors-D-tE71R8.mjs.map +1 -0
- package/dist/{errors-o_AM61cd.cjs → errors-DTH5byOD.cjs} +2 -2
- package/dist/{errors-o_AM61cd.cjs.map → errors-DTH5byOD.cjs.map} +1 -1
- package/dist/{errors-zDhzqvA4.cjs → errors-DyO8A_bf.cjs} +22 -2
- package/dist/errors-DyO8A_bf.cjs.map +1 -0
- package/dist/{errors-4m1zzDNv.mjs → errors-v8-ROkLl.mjs} +2 -2
- package/dist/{errors-4m1zzDNv.mjs.map → errors-v8-ROkLl.mjs.map} +1 -1
- package/dist/{index-B55JAK0b.d.mts → index-5ZEN4KUz.d.cts} +4 -4
- package/dist/index-5ZEN4KUz.d.cts.map +1 -0
- package/dist/{index-DnHIyHi7.d.mts → index-8P5ts5k1.d.cts} +22 -5
- package/dist/index-8P5ts5k1.d.cts.map +1 -0
- package/dist/{index-BMjPRZtD.d.cts → index-CAv_IDnU.d.mts} +22 -5
- package/dist/index-CAv_IDnU.d.mts.map +1 -0
- package/dist/{index-C8c-dYJD.d.cts → index-CLCB-dhK.d.mts} +4 -4
- package/dist/index-CLCB-dhK.d.mts.map +1 -0
- package/dist/{index-3FVEKx0W.d.mts → index-CR9Bfsjv.d.cts} +4 -4
- package/dist/index-CR9Bfsjv.d.cts.map +1 -0
- package/dist/{index-jG5MmDUr.d.cts → index-Dzrg9_jB.d.mts} +4 -4
- package/dist/index-Dzrg9_jB.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-B0yaXFSN.d.cts → models-8_KgQb9k.d.cts} +338 -212
- package/dist/models-8_KgQb9k.d.cts.map +1 -0
- package/dist/{models-B0yaXFSN.d.mts → models-8_KgQb9k.d.mts} +338 -212
- package/dist/models-8_KgQb9k.d.mts.map +1 -0
- package/dist/{models-DHD3CJOb.d.cts → models-CN7XkY_N.d.cts} +170 -138
- package/dist/models-CN7XkY_N.d.cts.map +1 -0
- package/dist/{models-DHD3CJOb.d.mts → models-CN7XkY_N.d.mts} +170 -138
- package/dist/models-CN7XkY_N.d.mts.map +1 -0
- package/dist/{models-772bIFO1.d.cts → models-gTcPxL8r.d.cts} +170 -138
- package/dist/models-gTcPxL8r.d.cts.map +1 -0
- package/dist/{models-772bIFO1.d.mts → models-gTcPxL8r.d.mts} +170 -138
- package/dist/models-gTcPxL8r.d.mts.map +1 -0
- package/dist/{webhooks-BVH79cBZ.d.mts → webhooks-C1-fSgnB.d.mts} +2 -2
- package/dist/{webhooks-BVH79cBZ.d.mts.map → webhooks-C1-fSgnB.d.mts.map} +1 -1
- package/dist/{webhooks-vHNvi6WA.d.cts → webhooks-CQPu2gJ7.d.cts} +2 -2
- package/dist/{webhooks-vHNvi6WA.d.cts.map → webhooks-CQPu2gJ7.d.cts.map} +1 -1
- package/dist/{webhooks-gpChtkEO.mjs → webhooks-DZ_9hr_d.mjs} +2 -2
- package/dist/{webhooks-gpChtkEO.mjs.map → webhooks-DZ_9hr_d.mjs.map} +1 -1
- package/dist/{webhooks-CoBpD12U.cjs → webhooks-iwHkVmKt.cjs} +2 -2
- package/dist/{webhooks-CoBpD12U.cjs.map → webhooks-iwHkVmKt.cjs.map} +1 -1
- package/package.json +4 -4
- package/dist/base-BUt6nZzk.mjs.map +0 -1
- package/dist/base-Cg2wDLWs.cjs.map +0 -1
- package/dist/base-CpfZ-knN.d.cts.map +0 -1
- package/dist/base-CpfZ-knN.d.mts.map +0 -1
- package/dist/errors-yvjiVcrn.mjs.map +0 -1
- package/dist/errors-zDhzqvA4.cjs.map +0 -1
- package/dist/index-3FVEKx0W.d.mts.map +0 -1
- package/dist/index-B55JAK0b.d.mts.map +0 -1
- package/dist/index-BMjPRZtD.d.cts.map +0 -1
- package/dist/index-C8c-dYJD.d.cts.map +0 -1
- package/dist/index-DnHIyHi7.d.mts.map +0 -1
- package/dist/index-jG5MmDUr.d.cts.map +0 -1
- package/dist/models-772bIFO1.d.cts.map +0 -1
- package/dist/models-772bIFO1.d.mts.map +0 -1
- package/dist/models-B0yaXFSN.d.cts.map +0 -1
- package/dist/models-B0yaXFSN.d.mts.map +0 -1
- package/dist/models-DHD3CJOb.d.cts.map +0 -1
- package/dist/models-DHD3CJOb.d.mts.map +0 -1
|
@@ -1275,7 +1275,7 @@ interface BenefitCustom {
|
|
|
1275
1275
|
*/
|
|
1276
1276
|
metadata: MetadataOutputType;
|
|
1277
1277
|
/**
|
|
1278
|
-
* visibility
|
|
1278
|
+
* The visibility of the benefit in the customer portal.
|
|
1279
1279
|
*/
|
|
1280
1280
|
visibility: BenefitVisibility;
|
|
1281
1281
|
/**
|
|
@@ -1586,7 +1586,7 @@ interface BenefitDiscord {
|
|
|
1586
1586
|
*/
|
|
1587
1587
|
metadata: MetadataOutputType;
|
|
1588
1588
|
/**
|
|
1589
|
-
* visibility
|
|
1589
|
+
* The visibility of the benefit in the customer portal.
|
|
1590
1590
|
*/
|
|
1591
1591
|
visibility: BenefitVisibility;
|
|
1592
1592
|
/**
|
|
@@ -1927,7 +1927,7 @@ interface BenefitDownloadables {
|
|
|
1927
1927
|
*/
|
|
1928
1928
|
metadata: MetadataOutputType;
|
|
1929
1929
|
/**
|
|
1930
|
-
* visibility
|
|
1930
|
+
* The visibility of the benefit in the customer portal.
|
|
1931
1931
|
*/
|
|
1932
1932
|
visibility: BenefitVisibility;
|
|
1933
1933
|
/**
|
|
@@ -2182,7 +2182,7 @@ interface BenefitFeatureFlag {
|
|
|
2182
2182
|
*/
|
|
2183
2183
|
metadata: MetadataOutputType;
|
|
2184
2184
|
/**
|
|
2185
|
-
* visibility
|
|
2185
|
+
* The visibility of the benefit in the customer portal.
|
|
2186
2186
|
*/
|
|
2187
2187
|
visibility: BenefitVisibility;
|
|
2188
2188
|
/**
|
|
@@ -2417,7 +2417,7 @@ interface BenefitGitHubRepository {
|
|
|
2417
2417
|
*/
|
|
2418
2418
|
metadata: MetadataOutputType;
|
|
2419
2419
|
/**
|
|
2420
|
-
* visibility
|
|
2420
|
+
* The visibility of the benefit in the customer portal.
|
|
2421
2421
|
*/
|
|
2422
2422
|
visibility: BenefitVisibility;
|
|
2423
2423
|
/**
|
|
@@ -3634,7 +3634,7 @@ interface BenefitLicenseKeys {
|
|
|
3634
3634
|
*/
|
|
3635
3635
|
metadata: MetadataOutputType;
|
|
3636
3636
|
/**
|
|
3637
|
-
* visibility
|
|
3637
|
+
* The visibility of the benefit in the customer portal.
|
|
3638
3638
|
*/
|
|
3639
3639
|
visibility: BenefitVisibility;
|
|
3640
3640
|
/**
|
|
@@ -3920,7 +3920,7 @@ interface BenefitMeterCredit {
|
|
|
3920
3920
|
*/
|
|
3921
3921
|
metadata: MetadataOutputType;
|
|
3922
3922
|
/**
|
|
3923
|
-
* visibility
|
|
3923
|
+
* The visibility of the benefit in the customer portal.
|
|
3924
3924
|
*/
|
|
3925
3925
|
visibility: BenefitVisibility;
|
|
3926
3926
|
/**
|
|
@@ -4272,7 +4272,7 @@ interface BenefitSlackSharedChannel {
|
|
|
4272
4272
|
*/
|
|
4273
4273
|
metadata: MetadataOutputType;
|
|
4274
4274
|
/**
|
|
4275
|
-
* visibility
|
|
4275
|
+
* The visibility of the benefit in the customer portal.
|
|
4276
4276
|
*/
|
|
4277
4277
|
visibility: BenefitVisibility;
|
|
4278
4278
|
/**
|
|
@@ -4535,7 +4535,7 @@ interface BenefitSubscriberOrganization {
|
|
|
4535
4535
|
*/
|
|
4536
4536
|
avatar_url: string | null;
|
|
4537
4537
|
/**
|
|
4538
|
-
*
|
|
4538
|
+
* Proration behavior applied when customer updates their subscription from the portal.
|
|
4539
4539
|
*/
|
|
4540
4540
|
proration_behavior: SubscriptionProrationBehavior;
|
|
4541
4541
|
/**
|
|
@@ -4634,11 +4634,11 @@ interface CardPayment {
|
|
|
4634
4634
|
*/
|
|
4635
4635
|
id: string;
|
|
4636
4636
|
/**
|
|
4637
|
-
* processor
|
|
4637
|
+
* The payment processor.
|
|
4638
4638
|
*/
|
|
4639
4639
|
processor: PaymentProcessor;
|
|
4640
4640
|
/**
|
|
4641
|
-
* status
|
|
4641
|
+
* The payment status.
|
|
4642
4642
|
*/
|
|
4643
4643
|
status: PaymentStatus;
|
|
4644
4644
|
/**
|
|
@@ -4682,7 +4682,7 @@ interface CardPayment {
|
|
|
4682
4682
|
*/
|
|
4683
4683
|
processor_metadata?: Record<string, unknown>;
|
|
4684
4684
|
/**
|
|
4685
|
-
*
|
|
4685
|
+
* Additional metadata for the card payment method.
|
|
4686
4686
|
*/
|
|
4687
4687
|
method_metadata: CardPaymentMetadata;
|
|
4688
4688
|
}
|
|
@@ -4720,12 +4720,20 @@ interface Checkout {
|
|
|
4720
4720
|
*/
|
|
4721
4721
|
custom_field_data?: Record<string, string | number | boolean | null>;
|
|
4722
4722
|
/**
|
|
4723
|
-
*
|
|
4723
|
+
* Payment processor used.
|
|
4724
4724
|
*/
|
|
4725
4725
|
payment_processor: PaymentProcessor;
|
|
4726
4726
|
/**
|
|
4727
|
-
|
|
4728
|
-
|
|
4727
|
+
*
|
|
4728
|
+
Status of the checkout session.
|
|
4729
|
+
|
|
4730
|
+
- Open: the checkout session was opened.
|
|
4731
|
+
- Expired: the checkout session was expired and is no more accessible.
|
|
4732
|
+
- Confirmed: the user on the checkout session clicked Pay. This is not indicative of the payment's success status.
|
|
4733
|
+
- Failed: the checkout definitely failed for technical reasons and cannot be retried. In most cases, this state is never reached.
|
|
4734
|
+
- Succeeded: the payment on the checkout was performed successfully.
|
|
4735
|
+
|
|
4736
|
+
*/
|
|
4729
4737
|
status: CheckoutStatus;
|
|
4730
4738
|
/**
|
|
4731
4739
|
* Client secret used to update and complete the checkout session from the client.
|
|
@@ -4908,7 +4916,7 @@ interface Checkout {
|
|
|
4908
4916
|
*/
|
|
4909
4917
|
payment_processor_metadata: Record<string, string>;
|
|
4910
4918
|
/**
|
|
4911
|
-
*
|
|
4919
|
+
* Determine which billing address fields should be disabled, optional or required in the checkout form.
|
|
4912
4920
|
*/
|
|
4913
4921
|
billing_address_fields: CheckoutBillingAddressFields;
|
|
4914
4922
|
/**
|
|
@@ -5472,7 +5480,7 @@ interface CheckoutLink {
|
|
|
5472
5480
|
*/
|
|
5473
5481
|
metadata: MetadataOutputType;
|
|
5474
5482
|
/**
|
|
5475
|
-
*
|
|
5483
|
+
* Payment processor used.
|
|
5476
5484
|
*/
|
|
5477
5485
|
payment_processor: PaymentProcessor;
|
|
5478
5486
|
/**
|
|
@@ -5768,7 +5776,7 @@ interface CheckoutLinkProduct {
|
|
|
5768
5776
|
*/
|
|
5769
5777
|
description: string | null;
|
|
5770
5778
|
/**
|
|
5771
|
-
* visibility
|
|
5779
|
+
* The visibility of the product.
|
|
5772
5780
|
*/
|
|
5773
5781
|
visibility: ProductVisibility;
|
|
5774
5782
|
/**
|
|
@@ -5917,7 +5925,7 @@ interface CheckoutOrganization {
|
|
|
5917
5925
|
*/
|
|
5918
5926
|
avatar_url: string | null;
|
|
5919
5927
|
/**
|
|
5920
|
-
*
|
|
5928
|
+
* Proration behavior applied when customer updates their subscription from the portal.
|
|
5921
5929
|
*/
|
|
5922
5930
|
proration_behavior: SubscriptionProrationBehavior;
|
|
5923
5931
|
/**
|
|
@@ -5958,7 +5966,7 @@ interface CheckoutProduct {
|
|
|
5958
5966
|
*/
|
|
5959
5967
|
description: string | null;
|
|
5960
5968
|
/**
|
|
5961
|
-
* visibility
|
|
5969
|
+
* The visibility of the product.
|
|
5962
5970
|
*/
|
|
5963
5971
|
visibility: ProductVisibility;
|
|
5964
5972
|
/**
|
|
@@ -6023,12 +6031,20 @@ interface CheckoutPublic {
|
|
|
6023
6031
|
*/
|
|
6024
6032
|
custom_field_data?: Record<string, string | number | boolean | null>;
|
|
6025
6033
|
/**
|
|
6026
|
-
*
|
|
6034
|
+
* Payment processor used.
|
|
6027
6035
|
*/
|
|
6028
6036
|
payment_processor: PaymentProcessor;
|
|
6029
6037
|
/**
|
|
6030
|
-
|
|
6031
|
-
|
|
6038
|
+
*
|
|
6039
|
+
Status of the checkout session.
|
|
6040
|
+
|
|
6041
|
+
- Open: the checkout session was opened.
|
|
6042
|
+
- Expired: the checkout session was expired and is no more accessible.
|
|
6043
|
+
- Confirmed: the user on the checkout session clicked Pay. This is not indicative of the payment's success status.
|
|
6044
|
+
- Failed: the checkout definitely failed for technical reasons and cannot be retried. In most cases, this state is never reached.
|
|
6045
|
+
- Succeeded: the payment on the checkout was performed successfully.
|
|
6046
|
+
|
|
6047
|
+
*/
|
|
6032
6048
|
status: CheckoutStatus;
|
|
6033
6049
|
/**
|
|
6034
6050
|
* Client secret used to update and complete the checkout session from the client.
|
|
@@ -6211,7 +6227,7 @@ interface CheckoutPublic {
|
|
|
6211
6227
|
*/
|
|
6212
6228
|
payment_processor_metadata: Record<string, string>;
|
|
6213
6229
|
/**
|
|
6214
|
-
*
|
|
6230
|
+
* Determine which billing address fields should be disabled, optional or required in the checkout form.
|
|
6215
6231
|
*/
|
|
6216
6232
|
billing_address_fields: CheckoutBillingAddressFields;
|
|
6217
6233
|
/**
|
|
@@ -6267,7 +6283,7 @@ interface CheckoutPublicConfirmed {
|
|
|
6267
6283
|
*/
|
|
6268
6284
|
custom_field_data?: Record<string, string | number | boolean | null>;
|
|
6269
6285
|
/**
|
|
6270
|
-
*
|
|
6286
|
+
* Payment processor used.
|
|
6271
6287
|
*/
|
|
6272
6288
|
payment_processor: PaymentProcessor;
|
|
6273
6289
|
/**
|
|
@@ -6455,7 +6471,7 @@ interface CheckoutPublicConfirmed {
|
|
|
6455
6471
|
*/
|
|
6456
6472
|
payment_processor_metadata: Record<string, string>;
|
|
6457
6473
|
/**
|
|
6458
|
-
*
|
|
6474
|
+
* Determine which billing address fields should be disabled, optional or required in the checkout form.
|
|
6459
6475
|
*/
|
|
6460
6476
|
billing_address_fields: CheckoutBillingAddressFields;
|
|
6461
6477
|
/**
|
|
@@ -8561,11 +8577,11 @@ interface CustomerMeter {
|
|
|
8561
8577
|
*/
|
|
8562
8578
|
balance: number;
|
|
8563
8579
|
/**
|
|
8564
|
-
* customer
|
|
8580
|
+
* The customer associated with this meter.
|
|
8565
8581
|
*/
|
|
8566
8582
|
customer: Customer;
|
|
8567
8583
|
/**
|
|
8568
|
-
* meter
|
|
8584
|
+
* The meter associated with this customer.
|
|
8569
8585
|
*/
|
|
8570
8586
|
meter: Meter;
|
|
8571
8587
|
}
|
|
@@ -8740,7 +8756,7 @@ interface CustomerOrderConfirmPayment {
|
|
|
8740
8756
|
*/
|
|
8741
8757
|
payment_method_id?: string | null;
|
|
8742
8758
|
/**
|
|
8743
|
-
*
|
|
8759
|
+
* Payment processor used.
|
|
8744
8760
|
*/
|
|
8745
8761
|
payment_processor?: PaymentProcessor;
|
|
8746
8762
|
}
|
|
@@ -8816,7 +8832,7 @@ interface CustomerOrderProduct {
|
|
|
8816
8832
|
*/
|
|
8817
8833
|
description: string | null;
|
|
8818
8834
|
/**
|
|
8819
|
-
* visibility
|
|
8835
|
+
* The visibility of the product.
|
|
8820
8836
|
*/
|
|
8821
8837
|
visibility: ProductVisibility;
|
|
8822
8838
|
/**
|
|
@@ -8898,7 +8914,7 @@ interface CustomerOrderSubscription {
|
|
|
8898
8914
|
*/
|
|
8899
8915
|
currency: string;
|
|
8900
8916
|
/**
|
|
8901
|
-
*
|
|
8917
|
+
* The interval at which the subscription recurs.
|
|
8902
8918
|
*/
|
|
8903
8919
|
recurring_interval: RecurringInterval;
|
|
8904
8920
|
/**
|
|
@@ -8906,7 +8922,7 @@ interface CustomerOrderSubscription {
|
|
|
8906
8922
|
*/
|
|
8907
8923
|
recurring_interval_count: number;
|
|
8908
8924
|
/**
|
|
8909
|
-
* status
|
|
8925
|
+
* The status of the subscription.
|
|
8910
8926
|
*/
|
|
8911
8927
|
status: SubscriptionStatus;
|
|
8912
8928
|
/**
|
|
@@ -9044,7 +9060,7 @@ interface CustomerOrganization {
|
|
|
9044
9060
|
*/
|
|
9045
9061
|
avatar_url: string | null;
|
|
9046
9062
|
/**
|
|
9047
|
-
*
|
|
9063
|
+
* Proration behavior applied when customer updates their subscription from the portal.
|
|
9048
9064
|
*/
|
|
9049
9065
|
proration_behavior: SubscriptionProrationBehavior;
|
|
9050
9066
|
/**
|
|
@@ -9052,11 +9068,11 @@ interface CustomerOrganization {
|
|
|
9052
9068
|
*/
|
|
9053
9069
|
allow_customer_updates: boolean;
|
|
9054
9070
|
/**
|
|
9055
|
-
*
|
|
9071
|
+
* Settings related to the customer portal
|
|
9056
9072
|
*/
|
|
9057
9073
|
customer_portal_settings: OrganizationCustomerPortalSettings;
|
|
9058
9074
|
/**
|
|
9059
|
-
*
|
|
9075
|
+
* Feature flags for the customer portal.
|
|
9060
9076
|
*/
|
|
9061
9077
|
organization_features?: CustomerOrganizationFeatureSettings;
|
|
9062
9078
|
}
|
|
@@ -9361,7 +9377,7 @@ interface CustomerPortalMember {
|
|
|
9361
9377
|
*/
|
|
9362
9378
|
name: string | null;
|
|
9363
9379
|
/**
|
|
9364
|
-
* role
|
|
9380
|
+
* The role of the member within the team.
|
|
9365
9381
|
*/
|
|
9366
9382
|
role: MemberRole;
|
|
9367
9383
|
}
|
|
@@ -9378,7 +9394,7 @@ interface CustomerPortalMemberCreate {
|
|
|
9378
9394
|
*/
|
|
9379
9395
|
name?: string | null;
|
|
9380
9396
|
/**
|
|
9381
|
-
* role
|
|
9397
|
+
* The role for the new member. Defaults to 'member'.
|
|
9382
9398
|
*/
|
|
9383
9399
|
role?: MemberRole;
|
|
9384
9400
|
}
|
|
@@ -9471,7 +9487,7 @@ interface CustomerProduct {
|
|
|
9471
9487
|
*/
|
|
9472
9488
|
description: string | null;
|
|
9473
9489
|
/**
|
|
9474
|
-
* visibility
|
|
9490
|
+
* The visibility of the product.
|
|
9475
9491
|
*/
|
|
9476
9492
|
visibility: ProductVisibility;
|
|
9477
9493
|
/**
|
|
@@ -9540,7 +9556,7 @@ interface CustomerSeat {
|
|
|
9540
9556
|
*/
|
|
9541
9557
|
order_id: string | null;
|
|
9542
9558
|
/**
|
|
9543
|
-
*
|
|
9559
|
+
* Status of the seat
|
|
9544
9560
|
*/
|
|
9545
9561
|
status: SeatStatus;
|
|
9546
9562
|
/**
|
|
@@ -9630,7 +9646,7 @@ interface CustomerSeatAssign {
|
|
|
9630
9646
|
*/
|
|
9631
9647
|
interface CustomerSeatClaimResponse {
|
|
9632
9648
|
/**
|
|
9633
|
-
* seat
|
|
9649
|
+
* The claimed seat
|
|
9634
9650
|
*/
|
|
9635
9651
|
seat: CustomerSeat;
|
|
9636
9652
|
/**
|
|
@@ -9746,11 +9762,11 @@ interface CustomerStateBenefitGrant {
|
|
|
9746
9762
|
*/
|
|
9747
9763
|
benefit_id: string;
|
|
9748
9764
|
/**
|
|
9749
|
-
*
|
|
9765
|
+
* The type of the benefit concerned by this grant.
|
|
9750
9766
|
*/
|
|
9751
9767
|
benefit_type: BenefitType;
|
|
9752
9768
|
/**
|
|
9753
|
-
*
|
|
9769
|
+
* The metadata of the benefit concerned by this grant.
|
|
9754
9770
|
*/
|
|
9755
9771
|
benefit_metadata: MetadataOutputType;
|
|
9756
9772
|
/**
|
|
@@ -9920,7 +9936,7 @@ interface CustomerStateSubscription {
|
|
|
9920
9936
|
*/
|
|
9921
9937
|
currency: string;
|
|
9922
9938
|
/**
|
|
9923
|
-
*
|
|
9939
|
+
* The interval at which the subscription recurs.
|
|
9924
9940
|
*/
|
|
9925
9941
|
recurring_interval: RecurringInterval;
|
|
9926
9942
|
/**
|
|
@@ -10126,7 +10142,7 @@ interface CustomerSubscription {
|
|
|
10126
10142
|
*/
|
|
10127
10143
|
currency: string;
|
|
10128
10144
|
/**
|
|
10129
|
-
*
|
|
10145
|
+
* The interval at which the subscription recurs.
|
|
10130
10146
|
*/
|
|
10131
10147
|
recurring_interval: RecurringInterval;
|
|
10132
10148
|
/**
|
|
@@ -10134,7 +10150,7 @@ interface CustomerSubscription {
|
|
|
10134
10150
|
*/
|
|
10135
10151
|
recurring_interval_count: number;
|
|
10136
10152
|
/**
|
|
10137
|
-
* status
|
|
10153
|
+
* The status of the subscription.
|
|
10138
10154
|
*/
|
|
10139
10155
|
status: SubscriptionStatus;
|
|
10140
10156
|
/**
|
|
@@ -10380,7 +10396,7 @@ interface CustomerSubscriptionProduct {
|
|
|
10380
10396
|
*/
|
|
10381
10397
|
description: string | null;
|
|
10382
10398
|
/**
|
|
10383
|
-
* visibility
|
|
10399
|
+
* The visibility of the product.
|
|
10384
10400
|
*/
|
|
10385
10401
|
visibility: ProductVisibility;
|
|
10386
10402
|
/**
|
|
@@ -10892,7 +10908,7 @@ interface DiscountFixedCreate {
|
|
|
10892
10908
|
*/
|
|
10893
10909
|
type?: "fixed";
|
|
10894
10910
|
/**
|
|
10895
|
-
*
|
|
10911
|
+
* For subscriptions, determines if the discount should be applied once on the first invoice, forever, or for a certain number of months determined by `duration_in_months`.
|
|
10896
10912
|
*/
|
|
10897
10913
|
duration: DiscountDuration;
|
|
10898
10914
|
/**
|
|
@@ -11281,7 +11297,7 @@ interface DiscountPercentageCreate {
|
|
|
11281
11297
|
*/
|
|
11282
11298
|
type?: "percentage";
|
|
11283
11299
|
/**
|
|
11284
|
-
*
|
|
11300
|
+
* For subscriptions, determines if the discount should be applied once on the first invoice, forever, or for a certain number of months determined by `duration_in_months`.
|
|
11285
11301
|
*/
|
|
11286
11302
|
duration: DiscountDuration;
|
|
11287
11303
|
/**
|
|
@@ -11615,7 +11631,7 @@ interface DiscountProduct {
|
|
|
11615
11631
|
*/
|
|
11616
11632
|
description: string | null;
|
|
11617
11633
|
/**
|
|
11618
|
-
* visibility
|
|
11634
|
+
* The visibility of the product.
|
|
11619
11635
|
*/
|
|
11620
11636
|
visibility: ProductVisibility;
|
|
11621
11637
|
/**
|
|
@@ -11754,7 +11770,7 @@ interface Dispute {
|
|
|
11754
11770
|
*/
|
|
11755
11771
|
id: string;
|
|
11756
11772
|
/**
|
|
11757
|
-
*
|
|
11773
|
+
* Status of the dispute. `prevented` means we issued a refund before the dispute was escalated, avoiding any fees.
|
|
11758
11774
|
*/
|
|
11759
11775
|
status: DisputeStatus;
|
|
11760
11776
|
/**
|
|
@@ -11798,7 +11814,7 @@ interface Dispute {
|
|
|
11798
11814
|
*/
|
|
11799
11815
|
payment_id: string;
|
|
11800
11816
|
/**
|
|
11801
|
-
* customer
|
|
11817
|
+
* The customer who was charged for the disputed payment.
|
|
11802
11818
|
*/
|
|
11803
11819
|
customer: DisputeCustomer;
|
|
11804
11820
|
/**
|
|
@@ -11852,7 +11868,7 @@ interface DisputeCustomer {
|
|
|
11852
11868
|
*/
|
|
11853
11869
|
email_verified: boolean;
|
|
11854
11870
|
/**
|
|
11855
|
-
* type
|
|
11871
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
11856
11872
|
*/
|
|
11857
11873
|
type: CustomerType;
|
|
11858
11874
|
/**
|
|
@@ -12061,8 +12077,18 @@ interface EventCreateCustomer {
|
|
|
12061
12077
|
*/
|
|
12062
12078
|
parent_id?: string | null;
|
|
12063
12079
|
/**
|
|
12064
|
-
|
|
12065
|
-
|
|
12080
|
+
* Key-value object allowing you to store additional information about the event. Some keys like `_llm` are structured data that are handled specially by Polar.
|
|
12081
|
+
|
|
12082
|
+
The key must be a string with a maximum length of **40 characters**.
|
|
12083
|
+
The value must be either:
|
|
12084
|
+
|
|
12085
|
+
* A string with a maximum length of **500 characters**
|
|
12086
|
+
* An integer
|
|
12087
|
+
* A floating-point number
|
|
12088
|
+
* A boolean
|
|
12089
|
+
|
|
12090
|
+
You can store up to **50 key-value pairs**.
|
|
12091
|
+
*/
|
|
12066
12092
|
metadata?: EventMetadataInput;
|
|
12067
12093
|
/**
|
|
12068
12094
|
* ID of the customer in your Polar organization associated with the event.
|
|
@@ -12098,8 +12124,18 @@ interface EventCreateExternalCustomer {
|
|
|
12098
12124
|
*/
|
|
12099
12125
|
parent_id?: string | null;
|
|
12100
12126
|
/**
|
|
12101
|
-
|
|
12102
|
-
|
|
12127
|
+
* Key-value object allowing you to store additional information about the event. Some keys like `_llm` are structured data that are handled specially by Polar.
|
|
12128
|
+
|
|
12129
|
+
The key must be a string with a maximum length of **40 characters**.
|
|
12130
|
+
The value must be either:
|
|
12131
|
+
|
|
12132
|
+
* A string with a maximum length of **500 characters**
|
|
12133
|
+
* An integer
|
|
12134
|
+
* A floating-point number
|
|
12135
|
+
* A boolean
|
|
12136
|
+
|
|
12137
|
+
You can store up to **50 key-value pairs**.
|
|
12138
|
+
*/
|
|
12103
12139
|
metadata?: EventMetadataInput;
|
|
12104
12140
|
/**
|
|
12105
12141
|
* ID of the customer in your system associated with the event.
|
|
@@ -12151,7 +12187,7 @@ interface EventName {
|
|
|
12151
12187
|
*/
|
|
12152
12188
|
label: string;
|
|
12153
12189
|
/**
|
|
12154
|
-
* source
|
|
12190
|
+
* The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API.
|
|
12155
12191
|
*/
|
|
12156
12192
|
source: EventSource;
|
|
12157
12193
|
/**
|
|
@@ -12246,7 +12282,7 @@ interface EventTypeWithStats {
|
|
|
12246
12282
|
*/
|
|
12247
12283
|
organization_id: string;
|
|
12248
12284
|
/**
|
|
12249
|
-
* source
|
|
12285
|
+
* The source of the events (system or user).
|
|
12250
12286
|
*/
|
|
12251
12287
|
source: EventSource;
|
|
12252
12288
|
/**
|
|
@@ -12523,11 +12559,11 @@ interface GenericPayment {
|
|
|
12523
12559
|
*/
|
|
12524
12560
|
id: string;
|
|
12525
12561
|
/**
|
|
12526
|
-
* processor
|
|
12562
|
+
* The payment processor.
|
|
12527
12563
|
*/
|
|
12528
12564
|
processor: PaymentProcessor;
|
|
12529
12565
|
/**
|
|
12530
|
-
* status
|
|
12566
|
+
* The payment status.
|
|
12531
12567
|
*/
|
|
12532
12568
|
status: PaymentStatus;
|
|
12533
12569
|
/**
|
|
@@ -12736,11 +12772,11 @@ interface KrCardPayment {
|
|
|
12736
12772
|
*/
|
|
12737
12773
|
id: string;
|
|
12738
12774
|
/**
|
|
12739
|
-
* processor
|
|
12775
|
+
* The payment processor.
|
|
12740
12776
|
*/
|
|
12741
12777
|
processor: PaymentProcessor;
|
|
12742
12778
|
/**
|
|
12743
|
-
* status
|
|
12779
|
+
* The payment status.
|
|
12744
12780
|
*/
|
|
12745
12781
|
status: PaymentStatus;
|
|
12746
12782
|
/**
|
|
@@ -12784,7 +12820,7 @@ interface KrCardPayment {
|
|
|
12784
12820
|
*/
|
|
12785
12821
|
processor_metadata?: Record<string, unknown>;
|
|
12786
12822
|
/**
|
|
12787
|
-
*
|
|
12823
|
+
* Additional metadata for the South Korean card payment method.
|
|
12788
12824
|
*/
|
|
12789
12825
|
method_metadata: KrCardPaymentMetadata;
|
|
12790
12826
|
}
|
|
@@ -12856,7 +12892,7 @@ interface LegacyRecurringProductPriceCustom {
|
|
|
12856
12892
|
*/
|
|
12857
12893
|
id: string;
|
|
12858
12894
|
/**
|
|
12859
|
-
* source
|
|
12895
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
12860
12896
|
*/
|
|
12861
12897
|
source: ProductPriceSource;
|
|
12862
12898
|
/**
|
|
@@ -12884,7 +12920,7 @@ interface LegacyRecurringProductPriceCustom {
|
|
|
12884
12920
|
*/
|
|
12885
12921
|
type: "recurring";
|
|
12886
12922
|
/**
|
|
12887
|
-
*
|
|
12923
|
+
* The recurring interval of the price.
|
|
12888
12924
|
*/
|
|
12889
12925
|
recurring_interval: RecurringInterval;
|
|
12890
12926
|
/**
|
|
@@ -12922,7 +12958,7 @@ interface LegacyRecurringProductPriceFixed {
|
|
|
12922
12958
|
*/
|
|
12923
12959
|
id: string;
|
|
12924
12960
|
/**
|
|
12925
|
-
* source
|
|
12961
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
12926
12962
|
*/
|
|
12927
12963
|
source: ProductPriceSource;
|
|
12928
12964
|
/**
|
|
@@ -12950,7 +12986,7 @@ interface LegacyRecurringProductPriceFixed {
|
|
|
12950
12986
|
*/
|
|
12951
12987
|
type: "recurring";
|
|
12952
12988
|
/**
|
|
12953
|
-
*
|
|
12989
|
+
* The recurring interval of the price.
|
|
12954
12990
|
*/
|
|
12955
12991
|
recurring_interval: RecurringInterval;
|
|
12956
12992
|
/**
|
|
@@ -13135,7 +13171,7 @@ interface LicenseKeyCustomer {
|
|
|
13135
13171
|
*/
|
|
13136
13172
|
email_verified: boolean;
|
|
13137
13173
|
/**
|
|
13138
|
-
* type
|
|
13174
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
13139
13175
|
*/
|
|
13140
13176
|
type: CustomerType;
|
|
13141
13177
|
/**
|
|
@@ -13940,7 +13976,7 @@ interface Member {
|
|
|
13940
13976
|
*/
|
|
13941
13977
|
external_id: string | null;
|
|
13942
13978
|
/**
|
|
13943
|
-
* role
|
|
13979
|
+
* The role of the member within the customer.
|
|
13944
13980
|
*/
|
|
13945
13981
|
role: MemberRole;
|
|
13946
13982
|
}
|
|
@@ -14030,7 +14066,7 @@ interface Meter {
|
|
|
14030
14066
|
*/
|
|
14031
14067
|
name: string;
|
|
14032
14068
|
/**
|
|
14033
|
-
* unit
|
|
14069
|
+
* The unit of the meter.
|
|
14034
14070
|
*/
|
|
14035
14071
|
unit: MeterUnit;
|
|
14036
14072
|
/**
|
|
@@ -14042,7 +14078,7 @@ interface Meter {
|
|
|
14042
14078
|
*/
|
|
14043
14079
|
custom_multiplier?: number | null;
|
|
14044
14080
|
/**
|
|
14045
|
-
* filter
|
|
14081
|
+
* The filter to apply on events that'll be used to calculate the meter.
|
|
14046
14082
|
*/
|
|
14047
14083
|
filter: Filter;
|
|
14048
14084
|
/**
|
|
@@ -14081,7 +14117,7 @@ interface MeterCreate {
|
|
|
14081
14117
|
*/
|
|
14082
14118
|
name: string;
|
|
14083
14119
|
/**
|
|
14084
|
-
* unit
|
|
14120
|
+
* The unit of the meter.
|
|
14085
14121
|
*/
|
|
14086
14122
|
unit?: MeterUnit;
|
|
14087
14123
|
/**
|
|
@@ -14093,7 +14129,7 @@ interface MeterCreate {
|
|
|
14093
14129
|
*/
|
|
14094
14130
|
custom_multiplier?: number | null;
|
|
14095
14131
|
/**
|
|
14096
|
-
* filter
|
|
14132
|
+
* The filter to apply on events that'll be used to calculate the meter.
|
|
14097
14133
|
*/
|
|
14098
14134
|
filter: Filter;
|
|
14099
14135
|
/**
|
|
@@ -14339,7 +14375,7 @@ interface Metric {
|
|
|
14339
14375
|
*/
|
|
14340
14376
|
display_name: string;
|
|
14341
14377
|
/**
|
|
14342
|
-
*
|
|
14378
|
+
* Type of the metric, useful to know the unit or format of the value.
|
|
14343
14379
|
*/
|
|
14344
14380
|
type: MetricType;
|
|
14345
14381
|
}
|
|
@@ -14874,23 +14910,23 @@ interface MetricsIntervalLimit {
|
|
|
14874
14910
|
*/
|
|
14875
14911
|
interface MetricsIntervalsLimits {
|
|
14876
14912
|
/**
|
|
14877
|
-
* hour
|
|
14913
|
+
* Limits for the hour interval.
|
|
14878
14914
|
*/
|
|
14879
14915
|
hour: MetricsIntervalLimit;
|
|
14880
14916
|
/**
|
|
14881
|
-
* day
|
|
14917
|
+
* Limits for the day interval.
|
|
14882
14918
|
*/
|
|
14883
14919
|
day: MetricsIntervalLimit;
|
|
14884
14920
|
/**
|
|
14885
|
-
* week
|
|
14921
|
+
* Limits for the week interval.
|
|
14886
14922
|
*/
|
|
14887
14923
|
week: MetricsIntervalLimit;
|
|
14888
14924
|
/**
|
|
14889
|
-
* month
|
|
14925
|
+
* Limits for the month interval.
|
|
14890
14926
|
*/
|
|
14891
14927
|
month: MetricsIntervalLimit;
|
|
14892
14928
|
/**
|
|
14893
|
-
* year
|
|
14929
|
+
* Limits for the year interval.
|
|
14894
14930
|
*/
|
|
14895
14931
|
year: MetricsIntervalLimit;
|
|
14896
14932
|
}
|
|
@@ -14903,7 +14939,7 @@ interface MetricsLimits {
|
|
|
14903
14939
|
*/
|
|
14904
14940
|
min_date: string;
|
|
14905
14941
|
/**
|
|
14906
|
-
*
|
|
14942
|
+
* Limits for each interval.
|
|
14907
14943
|
*/
|
|
14908
14944
|
intervals: MetricsIntervalsLimits;
|
|
14909
14945
|
}
|
|
@@ -14916,11 +14952,11 @@ interface MetricsResponse {
|
|
|
14916
14952
|
*/
|
|
14917
14953
|
periods: MetricPeriod[];
|
|
14918
14954
|
/**
|
|
14919
|
-
*
|
|
14955
|
+
* Totals for the whole selected period.
|
|
14920
14956
|
*/
|
|
14921
14957
|
totals: MetricsTotals;
|
|
14922
14958
|
/**
|
|
14923
|
-
* metrics
|
|
14959
|
+
* Information about the returned metrics.
|
|
14924
14960
|
*/
|
|
14925
14961
|
metrics: Metrics;
|
|
14926
14962
|
}
|
|
@@ -15593,7 +15629,7 @@ interface OrderCustomer {
|
|
|
15593
15629
|
*/
|
|
15594
15630
|
email_verified: boolean;
|
|
15595
15631
|
/**
|
|
15596
|
-
* type
|
|
15632
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
15597
15633
|
*/
|
|
15598
15634
|
type: CustomerType;
|
|
15599
15635
|
/**
|
|
@@ -15898,7 +15934,7 @@ interface OrderProduct {
|
|
|
15898
15934
|
*/
|
|
15899
15935
|
description: string | null;
|
|
15900
15936
|
/**
|
|
15901
|
-
* visibility
|
|
15937
|
+
* The visibility of the product.
|
|
15902
15938
|
*/
|
|
15903
15939
|
visibility: ProductVisibility;
|
|
15904
15940
|
/**
|
|
@@ -16046,7 +16082,7 @@ interface OrderSubscription {
|
|
|
16046
16082
|
*/
|
|
16047
16083
|
currency: string;
|
|
16048
16084
|
/**
|
|
16049
|
-
*
|
|
16085
|
+
* The interval at which the subscription recurs.
|
|
16050
16086
|
*/
|
|
16051
16087
|
recurring_interval: RecurringInterval;
|
|
16052
16088
|
/**
|
|
@@ -16054,7 +16090,7 @@ interface OrderSubscription {
|
|
|
16054
16090
|
*/
|
|
16055
16091
|
recurring_interval_count: number;
|
|
16056
16092
|
/**
|
|
16057
|
-
* status
|
|
16093
|
+
* The status of the subscription.
|
|
16058
16094
|
*/
|
|
16059
16095
|
status: SubscriptionStatus;
|
|
16060
16096
|
/**
|
|
@@ -16348,7 +16384,7 @@ interface Organization {
|
|
|
16348
16384
|
*/
|
|
16349
16385
|
avatar_url: string | null;
|
|
16350
16386
|
/**
|
|
16351
|
-
*
|
|
16387
|
+
* Proration behavior applied when customer updates their subscription from the portal.
|
|
16352
16388
|
*/
|
|
16353
16389
|
proration_behavior: SubscriptionProrationBehavior;
|
|
16354
16390
|
/**
|
|
@@ -16368,7 +16404,7 @@ interface Organization {
|
|
|
16368
16404
|
*/
|
|
16369
16405
|
socials: OrganizationSocialLink[];
|
|
16370
16406
|
/**
|
|
16371
|
-
* status
|
|
16407
|
+
* Current organization status
|
|
16372
16408
|
*/
|
|
16373
16409
|
status: OrganizationStatus;
|
|
16374
16410
|
/**
|
|
@@ -16388,7 +16424,7 @@ interface Organization {
|
|
|
16388
16424
|
*/
|
|
16389
16425
|
default_presentment_currency: string;
|
|
16390
16426
|
/**
|
|
16391
|
-
*
|
|
16427
|
+
* Default tax behavior applied on products.
|
|
16392
16428
|
*/
|
|
16393
16429
|
default_tax_behavior: TaxBehaviorOption;
|
|
16394
16430
|
/**
|
|
@@ -16396,19 +16432,19 @@ interface Organization {
|
|
|
16396
16432
|
*/
|
|
16397
16433
|
feature_settings: OrganizationFeatureSettings | null;
|
|
16398
16434
|
/**
|
|
16399
|
-
*
|
|
16435
|
+
* Settings related to subscriptions management
|
|
16400
16436
|
*/
|
|
16401
16437
|
subscription_settings: OrganizationSubscriptionSettings;
|
|
16402
16438
|
/**
|
|
16403
|
-
*
|
|
16439
|
+
* Settings related to customer emails
|
|
16404
16440
|
*/
|
|
16405
16441
|
customer_email_settings: OrganizationCustomerEmailSettings;
|
|
16406
16442
|
/**
|
|
16407
|
-
*
|
|
16443
|
+
* Settings related to the customer portal
|
|
16408
16444
|
*/
|
|
16409
16445
|
customer_portal_settings: OrganizationCustomerPortalSettings;
|
|
16410
16446
|
/**
|
|
16411
|
-
*
|
|
16447
|
+
* Settings related to disputes
|
|
16412
16448
|
*/
|
|
16413
16449
|
dispute_settings: OrganizationDisputeSettings;
|
|
16414
16450
|
/**
|
|
@@ -16428,7 +16464,7 @@ interface Organization {
|
|
|
16428
16464
|
*/
|
|
16429
16465
|
payout_account_id: string | null;
|
|
16430
16466
|
/**
|
|
16431
|
-
*
|
|
16467
|
+
* Capabilities currently granted to the organization.
|
|
16432
16468
|
*/
|
|
16433
16469
|
capabilities: OrganizationCapabilities;
|
|
16434
16470
|
}
|
|
@@ -16641,11 +16677,11 @@ interface OrganizationCreate {
|
|
|
16641
16677
|
*/
|
|
16642
16678
|
customer_portal_settings?: OrganizationCustomerPortalSettings | null;
|
|
16643
16679
|
/**
|
|
16644
|
-
*
|
|
16680
|
+
* Default presentment currency for the organization
|
|
16645
16681
|
*/
|
|
16646
16682
|
default_presentment_currency?: PresentmentCurrency;
|
|
16647
16683
|
/**
|
|
16648
|
-
*
|
|
16684
|
+
* Default tax behavior applied on products.
|
|
16649
16685
|
*/
|
|
16650
16686
|
default_tax_behavior?: TaxBehaviorOption;
|
|
16651
16687
|
}
|
|
@@ -16854,10 +16890,6 @@ interface OrganizationFeatureSettings {
|
|
|
16854
16890
|
* If this organization can migrate its billing from another provider (e.g. Stripe) to Polar.
|
|
16855
16891
|
*/
|
|
16856
16892
|
merchant_migration_enabled?: boolean;
|
|
16857
|
-
/**
|
|
16858
|
-
* If this organization's checkout tells the browser to refuse framing from any host outside its embed hosts.
|
|
16859
|
-
*/
|
|
16860
|
-
frame_ancestors_enforced?: boolean;
|
|
16861
16893
|
}
|
|
16862
16894
|
/**
|
|
16863
16895
|
* Feature settings that organizations can update themselves.
|
|
@@ -16906,7 +16938,7 @@ interface OrganizationNotReadyForPayments {
|
|
|
16906
16938
|
*/
|
|
16907
16939
|
interface OrganizationSocialLink {
|
|
16908
16940
|
/**
|
|
16909
|
-
* platform
|
|
16941
|
+
* The social platform of the URL
|
|
16910
16942
|
*/
|
|
16911
16943
|
platform: OrganizationSocialPlatforms;
|
|
16912
16944
|
/**
|
|
@@ -17366,7 +17398,7 @@ interface Product {
|
|
|
17366
17398
|
*/
|
|
17367
17399
|
description: string | null;
|
|
17368
17400
|
/**
|
|
17369
|
-
* visibility
|
|
17401
|
+
* The visibility of the product.
|
|
17370
17402
|
*/
|
|
17371
17403
|
visibility: ProductVisibility;
|
|
17372
17404
|
/**
|
|
@@ -17458,7 +17490,7 @@ interface ProductCreateOneTime {
|
|
|
17458
17490
|
*/
|
|
17459
17491
|
description?: string | null;
|
|
17460
17492
|
/**
|
|
17461
|
-
* visibility
|
|
17493
|
+
* The visibility of the product.
|
|
17462
17494
|
*/
|
|
17463
17495
|
visibility?: ProductVisibility;
|
|
17464
17496
|
/**
|
|
@@ -17513,7 +17545,7 @@ interface ProductCreateRecurring {
|
|
|
17513
17545
|
*/
|
|
17514
17546
|
description?: string | null;
|
|
17515
17547
|
/**
|
|
17516
|
-
* visibility
|
|
17548
|
+
* The visibility of the product.
|
|
17517
17549
|
*/
|
|
17518
17550
|
visibility?: ProductVisibility;
|
|
17519
17551
|
/**
|
|
@@ -17541,7 +17573,7 @@ interface ProductCreateRecurring {
|
|
|
17541
17573
|
*/
|
|
17542
17574
|
trial_interval_count?: number | null;
|
|
17543
17575
|
/**
|
|
17544
|
-
*
|
|
17576
|
+
* The recurring interval of the product.
|
|
17545
17577
|
*/
|
|
17546
17578
|
recurring_interval: RecurringInterval;
|
|
17547
17579
|
/**
|
|
@@ -17697,7 +17729,7 @@ interface ProductPriceCustom {
|
|
|
17697
17729
|
*/
|
|
17698
17730
|
id: string;
|
|
17699
17731
|
/**
|
|
17700
|
-
* source
|
|
17732
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
17701
17733
|
*/
|
|
17702
17734
|
source: ProductPriceSource;
|
|
17703
17735
|
/**
|
|
@@ -17742,7 +17774,7 @@ interface ProductPriceCustomCreate {
|
|
|
17742
17774
|
*/
|
|
17743
17775
|
amount_type: "custom";
|
|
17744
17776
|
/**
|
|
17745
|
-
*
|
|
17777
|
+
* The currency in which the customer will be charged.
|
|
17746
17778
|
*/
|
|
17747
17779
|
price_currency?: PresentmentCurrency;
|
|
17748
17780
|
/**
|
|
@@ -18049,7 +18081,7 @@ interface ProductPriceFixed {
|
|
|
18049
18081
|
*/
|
|
18050
18082
|
id: string;
|
|
18051
18083
|
/**
|
|
18052
|
-
* source
|
|
18084
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18053
18085
|
*/
|
|
18054
18086
|
source: ProductPriceSource;
|
|
18055
18087
|
/**
|
|
@@ -18086,7 +18118,7 @@ interface ProductPriceFixedCreate {
|
|
|
18086
18118
|
*/
|
|
18087
18119
|
amount_type: "fixed";
|
|
18088
18120
|
/**
|
|
18089
|
-
*
|
|
18121
|
+
* The currency in which the customer will be charged.
|
|
18090
18122
|
*/
|
|
18091
18123
|
price_currency?: PresentmentCurrency;
|
|
18092
18124
|
/**
|
|
@@ -18239,7 +18271,7 @@ interface ProductPriceMeter {
|
|
|
18239
18271
|
*/
|
|
18240
18272
|
name: string;
|
|
18241
18273
|
/**
|
|
18242
|
-
* unit
|
|
18274
|
+
* The unit of the meter.
|
|
18243
18275
|
*/
|
|
18244
18276
|
unit: MeterUnit;
|
|
18245
18277
|
/**
|
|
@@ -18268,7 +18300,7 @@ interface ProductPriceMeteredTiers {
|
|
|
18268
18300
|
*/
|
|
18269
18301
|
id: string;
|
|
18270
18302
|
/**
|
|
18271
|
-
* source
|
|
18303
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18272
18304
|
*/
|
|
18273
18305
|
source: ProductPriceSource;
|
|
18274
18306
|
/**
|
|
@@ -18300,11 +18332,11 @@ interface ProductPriceMeteredTiers {
|
|
|
18300
18332
|
*/
|
|
18301
18333
|
meter_id: string;
|
|
18302
18334
|
/**
|
|
18303
|
-
* meter
|
|
18335
|
+
* The meter associated to the price.
|
|
18304
18336
|
*/
|
|
18305
18337
|
meter: ProductPriceMeter;
|
|
18306
18338
|
/**
|
|
18307
|
-
* tiers
|
|
18339
|
+
* The pricing tiers based on consumed units.
|
|
18308
18340
|
*/
|
|
18309
18341
|
tiers: Tiers;
|
|
18310
18342
|
}
|
|
@@ -18317,7 +18349,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18317
18349
|
*/
|
|
18318
18350
|
amount_type: "metered_tiers";
|
|
18319
18351
|
/**
|
|
18320
|
-
*
|
|
18352
|
+
* The currency in which the customer will be charged.
|
|
18321
18353
|
*/
|
|
18322
18354
|
price_currency?: PresentmentCurrency;
|
|
18323
18355
|
/**
|
|
@@ -18329,7 +18361,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18329
18361
|
*/
|
|
18330
18362
|
meter_id: string;
|
|
18331
18363
|
/**
|
|
18332
|
-
*
|
|
18364
|
+
* Tiered pricing based on consumed units.
|
|
18333
18365
|
*/
|
|
18334
18366
|
tiers: TiersInput;
|
|
18335
18367
|
/**
|
|
@@ -18354,7 +18386,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18354
18386
|
*/
|
|
18355
18387
|
id: string;
|
|
18356
18388
|
/**
|
|
18357
|
-
* source
|
|
18389
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18358
18390
|
*/
|
|
18359
18391
|
source: ProductPriceSource;
|
|
18360
18392
|
/**
|
|
@@ -18386,7 +18418,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18386
18418
|
*/
|
|
18387
18419
|
meter_id: string;
|
|
18388
18420
|
/**
|
|
18389
|
-
* meter
|
|
18421
|
+
* The meter associated to the price.
|
|
18390
18422
|
*/
|
|
18391
18423
|
meter: ProductPriceMeter;
|
|
18392
18424
|
/**
|
|
@@ -18403,7 +18435,7 @@ interface ProductPriceMeteredUnitCreate {
|
|
|
18403
18435
|
*/
|
|
18404
18436
|
amount_type: "metered_unit";
|
|
18405
18437
|
/**
|
|
18406
|
-
*
|
|
18438
|
+
* The currency in which the customer will be charged.
|
|
18407
18439
|
*/
|
|
18408
18440
|
price_currency?: PresentmentCurrency;
|
|
18409
18441
|
/**
|
|
@@ -18440,7 +18472,7 @@ interface ProductPriceSeatBased {
|
|
|
18440
18472
|
*/
|
|
18441
18473
|
id: string;
|
|
18442
18474
|
/**
|
|
18443
|
-
* source
|
|
18475
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18444
18476
|
*/
|
|
18445
18477
|
source: ProductPriceSource;
|
|
18446
18478
|
/**
|
|
@@ -18464,7 +18496,7 @@ interface ProductPriceSeatBased {
|
|
|
18464
18496
|
*/
|
|
18465
18497
|
product_id: string;
|
|
18466
18498
|
/**
|
|
18467
|
-
*
|
|
18499
|
+
* Tiered pricing based on seat quantity
|
|
18468
18500
|
*/
|
|
18469
18501
|
seat_tiers: ProductPriceSeatTiersOutput;
|
|
18470
18502
|
}
|
|
@@ -18477,7 +18509,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18477
18509
|
*/
|
|
18478
18510
|
amount_type: "seat_based";
|
|
18479
18511
|
/**
|
|
18480
|
-
*
|
|
18512
|
+
* The currency in which the customer will be charged.
|
|
18481
18513
|
*/
|
|
18482
18514
|
price_currency?: PresentmentCurrency;
|
|
18483
18515
|
/**
|
|
@@ -18485,7 +18517,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18485
18517
|
*/
|
|
18486
18518
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18487
18519
|
/**
|
|
18488
|
-
*
|
|
18520
|
+
* Tiered pricing based on seat quantity
|
|
18489
18521
|
*/
|
|
18490
18522
|
seat_tiers: ProductPriceSeatTiersInput;
|
|
18491
18523
|
}
|
|
@@ -18515,7 +18547,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18515
18547
|
*/
|
|
18516
18548
|
interface ProductPriceSeatTiersInput {
|
|
18517
18549
|
/**
|
|
18518
|
-
*
|
|
18550
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18519
18551
|
*/
|
|
18520
18552
|
seat_tier_type?: SeatTierType;
|
|
18521
18553
|
/**
|
|
@@ -18532,7 +18564,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18532
18564
|
*/
|
|
18533
18565
|
interface ProductPriceSeatTiersOutput {
|
|
18534
18566
|
/**
|
|
18535
|
-
*
|
|
18567
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18536
18568
|
*/
|
|
18537
18569
|
seat_tier_type?: SeatTierType;
|
|
18538
18570
|
/**
|
|
@@ -18566,7 +18598,7 @@ interface ProductPriceUnitBased {
|
|
|
18566
18598
|
*/
|
|
18567
18599
|
id: string;
|
|
18568
18600
|
/**
|
|
18569
|
-
* source
|
|
18601
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18570
18602
|
*/
|
|
18571
18603
|
source: ProductPriceSource;
|
|
18572
18604
|
/**
|
|
@@ -18590,7 +18622,7 @@ interface ProductPriceUnitBased {
|
|
|
18590
18622
|
*/
|
|
18591
18623
|
product_id: string;
|
|
18592
18624
|
/**
|
|
18593
|
-
*
|
|
18625
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18594
18626
|
*/
|
|
18595
18627
|
tiers: Tiers;
|
|
18596
18628
|
/**
|
|
@@ -18616,7 +18648,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18616
18648
|
*/
|
|
18617
18649
|
amount_type: "unit_based";
|
|
18618
18650
|
/**
|
|
18619
|
-
*
|
|
18651
|
+
* The currency in which the customer will be charged.
|
|
18620
18652
|
*/
|
|
18621
18653
|
price_currency?: PresentmentCurrency;
|
|
18622
18654
|
/**
|
|
@@ -18624,7 +18656,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18624
18656
|
*/
|
|
18625
18657
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18626
18658
|
/**
|
|
18627
|
-
*
|
|
18659
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18628
18660
|
*/
|
|
18629
18661
|
tiers: TiersInput;
|
|
18630
18662
|
/**
|
|
@@ -18839,7 +18871,7 @@ interface RefundDispute {
|
|
|
18839
18871
|
*/
|
|
18840
18872
|
id: string;
|
|
18841
18873
|
/**
|
|
18842
|
-
*
|
|
18874
|
+
* Status of the dispute. `prevented` means we issued a refund before the dispute was escalated, avoiding any fees.
|
|
18843
18875
|
*/
|
|
18844
18876
|
status: DisputeStatus;
|
|
18845
18877
|
/**
|
|
@@ -19252,7 +19284,7 @@ interface Subscription {
|
|
|
19252
19284
|
*/
|
|
19253
19285
|
currency: string;
|
|
19254
19286
|
/**
|
|
19255
|
-
*
|
|
19287
|
+
* The interval at which the subscription recurs.
|
|
19256
19288
|
*/
|
|
19257
19289
|
recurring_interval: RecurringInterval;
|
|
19258
19290
|
/**
|
|
@@ -19260,7 +19292,7 @@ interface Subscription {
|
|
|
19260
19292
|
*/
|
|
19261
19293
|
recurring_interval_count: number;
|
|
19262
19294
|
/**
|
|
19263
|
-
* status
|
|
19295
|
+
* The status of the subscription.
|
|
19264
19296
|
*/
|
|
19265
19297
|
status: SubscriptionStatus;
|
|
19266
19298
|
/**
|
|
@@ -19800,7 +19832,7 @@ interface SubscriptionCustomer {
|
|
|
19800
19832
|
*/
|
|
19801
19833
|
email_verified: boolean;
|
|
19802
19834
|
/**
|
|
19803
|
-
* type
|
|
19835
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
19804
19836
|
*/
|
|
19805
19837
|
type: CustomerType;
|
|
19806
19838
|
/**
|
|
@@ -19980,7 +20012,7 @@ interface SubscriptionMeter {
|
|
|
19980
20012
|
*/
|
|
19981
20013
|
meter_id: string;
|
|
19982
20014
|
/**
|
|
19983
|
-
* meter
|
|
20015
|
+
* The meter associated with this subscription.
|
|
19984
20016
|
*/
|
|
19985
20017
|
meter: Meter;
|
|
19986
20018
|
}
|
|
@@ -21790,7 +21822,7 @@ interface WebhookDelivery {
|
|
|
21790
21822
|
*/
|
|
21791
21823
|
response: string | null;
|
|
21792
21824
|
/**
|
|
21793
|
-
*
|
|
21825
|
+
* The webhook event sent by this delivery.
|
|
21794
21826
|
*/
|
|
21795
21827
|
webhook_event: WebhookEvent;
|
|
21796
21828
|
}
|
|
@@ -21823,7 +21855,7 @@ interface WebhookEndpoint {
|
|
|
21823
21855
|
*/
|
|
21824
21856
|
api_version: string;
|
|
21825
21857
|
/**
|
|
21826
|
-
* format
|
|
21858
|
+
* The format of the webhook payload.
|
|
21827
21859
|
*/
|
|
21828
21860
|
format: WebhookFormat;
|
|
21829
21861
|
/**
|
|
@@ -21864,7 +21896,7 @@ interface WebhookEndpointCreate {
|
|
|
21864
21896
|
*/
|
|
21865
21897
|
api_version?: ApiVersion;
|
|
21866
21898
|
/**
|
|
21867
|
-
* format
|
|
21899
|
+
* The format of the webhook payload.
|
|
21868
21900
|
*/
|
|
21869
21901
|
format: WebhookFormat;
|
|
21870
21902
|
/**
|
|
@@ -21948,7 +21980,7 @@ interface WebhookEvent {
|
|
|
21948
21980
|
*/
|
|
21949
21981
|
payload: string | null;
|
|
21950
21982
|
/**
|
|
21951
|
-
* type
|
|
21983
|
+
* The type of the webhook event.
|
|
21952
21984
|
*/
|
|
21953
21985
|
type: WebhookEventType;
|
|
21954
21986
|
/**
|
|
@@ -22078,4 +22110,4 @@ type SubscriptionUpdate = SubscriptionUpdateBase | SubscriptionUpdateSeats | Sub
|
|
|
22078
22110
|
type SystemEvent = MeterCreditEvent | MeterResetEvent | BenefitGrantedEvent | BenefitCycledEvent | BenefitUpdatedEvent | BenefitRevokedEvent | SubscriptionCreatedEvent | SubscriptionUpdatedEvent | SubscriptionCycledEvent | SubscriptionCanceledEvent | SubscriptionRevokedEvent | SubscriptionPastDueEvent | SubscriptionReactivatedEvent | SubscriptionReinstatedEvent | SubscriptionPausedEvent | SubscriptionResumedEvent | SubscriptionMigratedEvent | SubscriptionUncanceledEvent | SubscriptionProductUpdatedEvent | SubscriptionSeatsUpdatedEvent | SubscriptionUnitsUpdatedEvent | SubscriptionBillingPeriodUpdatedEvent | SubscriptionUpdateClearedEvent | OrderPaidEvent | OrderRefundedEvent | OrderVoidedEvent | OrderUnvoidedEvent | CheckoutCreatedEvent | CustomerCreatedEvent | CustomerUpdatedEvent | CustomerDeletedEvent | BalanceOrderEvent | BalanceCreditOrderEvent | BalanceRefundEvent | BalanceRefundReversalEvent | BalanceDisputeEvent | BalanceDisputeReversalEvent;
|
|
22079
22111
|
//#endregion
|
|
22080
22112
|
export { CustomerEmailUpdateRequest as $, ListResourceRefund as $n, PaymentNotReady as $r, EventType as $t, CheckoutLinkSortProperty as A, SubscriptionSortProperty as Ai, ListResourceCustomerBenefitGrant as An, OrderInvoice as Ar, CustomerState as At, CustomFieldCreate as B, UserInfoOrganization as Bi, ListResourceDownloadableRead as Bn, OrganizationNotReadyForPayments as Br, DiscountSortProperty as Bt, CannotCreateOrganizationError as C, SeatsList as Ci, ListResourceBenefit as Cn, OAuth2ClientConfiguration as Cr, CustomerSeat as Ct, CheckoutForbiddenError as D, SubscriptionExportColumn as Di, ListResourceCheckoutLink as Dn, OrderCreate as Dr, CustomerSessionCustomerExternalIDCreate as Dt, CheckoutCreate as E, SubscriptionCreateExternalCustomer as Ei, ListResourceCheckout as En, Order as Er, CustomerSession as Et, CheckoutSortProperty as F, TokenResponse as Fi, ListResourceCustomerPortalMember as Fn, OrderSortProperty as Fr, CustomerUpdateExternalID as Ft, CustomerBenefitGrant as G, WebhookEndpointCreate as Gi, ListResourceLicenseKeyRead as Gn, PaymentActionRequired as Gr, DisputeSortProperty as Gt, CustomFieldType as H, ValidatedLicenseKey as Hi, ListResourceEventName as Hn, OrganizationUpdate as Hr, Dispute as Ht, CheckoutStatus as I, Unauthorized as Ii, ListResourceCustomerSubscription as In, OrderStatus as Ir, CustomerWallet as It, CustomerCancellationReason as J, models_d_exports as Ji, ListResourceOrder as Jn, PaymentFailed as Jr, Event as Jt, CustomerBenefitGrantSortProperty as K, WebhookEndpointUpdate as Ki, ListResourceMember as Kn, PaymentAlreadyInProgress as Kr, DisputeStatus as Kt, CheckoutUpdate as L, UpdateSubscriptionPlanNotAllowed as Li, ListResourceCustomerWallet as Ln, OrderUpdate as Lr, CustomerWalletSortProperty as Lt, CheckoutLocked as M, SubscriptionUpdate as Mi, ListResourceCustomerMeter as Mn, OrderNotEligibleForInvoice as Mr, CustomerSubscriptionSortProperty as Mt, CheckoutPublic as N, TimeInterval as Ni, ListResourceCustomerOrder as Nn, OrderNotEligibleForRetry as Nr, CustomerSubscriptionUpdate as Nt, CheckoutLink as O, SubscriptionLocked as Oi, ListResourceCustomField as On, OrderExportColumn as Or, CustomerSessionCustomerIDCreate as Ot, CheckoutPublicConfirmed as P, Timezone as Pi, ListResourceCustomerPaymentMethod as Pn, OrderReceipt as Pr, CustomerUpdate as Pt, CustomerCustomerSession as Q, ListResourceProduct as Qn, PaymentMethodSetupFailed as Qr, EventSource as Qt, CheckoutUpdatePublic as R, UpdateSubscriptionSeatsNotAllowed as Ri, ListResourceDiscount as Rn, Organization as Rr, Discount as Rt, BenefitType as S, SeatClaimInfo as Si, LicenseKeyWithActivations as Sn, NotPermitted as Sr, CustomerPortalMemberUpdate as St, CheckoutConfirmStripe as T, SubscriptionCreateCustomer as Ti, ListResourceBenefitGrant as Tn, OffSessionChargesNotEnabled as Tr, CustomerSeatClaimResponse as Tt, CustomFieldUpdate as U, WebhookDelivery as Ui, ListResourceEventTypeWithStats as Un, PauseResumeNotAllowed as Ur, DisputeAutoAcceptNotEnabled as Ut, CustomFieldSortProperty as V, UserInfoUser as Vi, ListResourceEvent as Vn, OrganizationSortProperty as Vr, DiscountUpdate as Vt, Customer as W, WebhookEndpoint as Wi, ListResourceFileRead as Wn, Payment as Wr, DisputeNotOpenError as Wt, CustomerCustomerMeter as X, ListResourcePayment as Xn, PaymentMethodInUseByActiveSubscription as Xr, EventNamesSortProperty as Xt, CustomerCreate as Y, ListResourceOrganization as Yn, PaymentMethod as Yr, EventName as Yt, CustomerCustomerMeterSortProperty as Z, ListResourcePaymentMethod as Zn, PaymentMethodRequired as Zr, EventSortProperty as Zt, BenefitGrantWebhook as _, RotateNotPermitted as _i, LicenseKeyDeactivate as _n, MetricDashboardSchema as _r, CustomerPaymentMethodCreateResponse as _t, AuthorizeResponseUser as a, ProductBillingType as ai, ExpiredCheckoutError as an, Member as ar, CustomerOrder as at, BenefitSlackSharedChannelUpdate as b, SeatAssign as bi, LicenseKeyUpdate as bn, MetricsResponse as br, CustomerPortalMember as bt, BenefitCreate as c, ProductSortProperty as ci, FileRead as cn, MemberSortProperty as cr, CustomerOrderPaymentConfirmation as ct, BenefitDownloadableFile as d, Refund as di, HTTPValidationError as dn, Meter as dr, CustomerOrderSortProperty as dt, PaymentSortProperty as ei, EventTypeUpdate as en, ListResourceSubscription as er, CustomerEmailUpdateVerifyRequest as et, BenefitDownloadablesUpdate as f, RefundCreate as fi, InactiveSubscription as fn, MeterCreate as fr, CustomerOrderUpdate as ft, BenefitGrantSortProperty as g, RevokeTokenResponse as gi, LicenseKeyActivationRead as gn, MetricDashboardCreate as gr, CustomerPaymentMethodCreate as gt, BenefitGrant as h, ResourceNotFound as hi, LicenseKeyActivationCreated as hn, MeterUpdate as hr, CustomerPaymentMethodConfirm as ht, AuthorizeResponseOrganization as i, ProductBenefitsUpdate as ii, EventsIngestResponse as in, ManualRetryLimitExceeded as ir, CustomerNotReady as it, CheckoutLinkUpdate as j, SubscriptionStatus as ji, ListResourceCustomerCustomerMeter as jn, OrderNotDraft as jr, CustomerSubscription as jt, CheckoutLinkCreate as k, SubscriptionNotScheduledToCancel as ki, ListResourceCustomer as kn, OrderFinalize as kr, CustomerSortProperty as kt, BenefitCustomUpdate as l, ProductUpdate as li, FileUpload as ln, MemberUpdate as lr, CustomerOrderPaymentStatus as lt, BenefitGitHubRepositoryUpdate as m, RefundedAlready as mi, LicenseKeyActivate as mn, MeterSortProperty as mr, CustomerPaymentMethod as mt, AlreadyCanceledSubscription as n, PortalAuthenticatedUser as ni, EventTypesSortProperty as nn, ListResourceWebhookEndpoint as nr, CustomerMeter as nt, BadRequest as o, ProductCreate as oi, FileCreate as on, MemberCreateFromCustomer as or, CustomerOrderConfirmPayment as ot, BenefitFeatureFlagUpdate as p, RefundSortProperty as pi, IntrospectTokenResponse as pn, MeterQuantities as pr, CustomerOrganizationData as pt, CustomerBenefitGrantUpdate as q, WebhookEventType as qi, ListResourceMeter as qn, PaymentError as qr, DownloadableRead as qt, AmbiguousExternalCustomerID as r, Product as ri, EventsIngest as rn, ListResourceWithCursorPaginationEvent as rr, CustomerMeterSortProperty as rt, Benefit as s, ProductNotDeletable as si, FilePatch as sn, MemberRole as sr, CustomerOrderInvoice as st, AggregationFunction as t, PaymentStatus as ti, EventTypeWithStats as tn, ListResourceWebhookDelivery as tr, CustomerEmailUpdateVerifyResponse as tt, BenefitDiscordUpdate as u, ProductVisibility as ui, FileUploadCompleted as un, MetadataQuery as ur, CustomerOrderReceipt as ut, BenefitLicenseKeysUpdate as v, RotatedLicenseKey as vi, LicenseKeyRead as vn, MetricDashboardUpdate as vr, CustomerPortalCustomer as vt, Checkout as w, Subscription as wi, ListResourceBenefitDownloadableFile as wn, OAuth2ClientConfigurationUpdate as wr, CustomerSeatAssign as wt, BenefitSortProperty as x, SeatClaim as xi, LicenseKeyValidate as xn, MissingInvoiceBillingDetails as xr, CustomerPortalMemberCreate as xt, BenefitMeterCreditUpdate as y, SSOEnforcementRequiresConnection as yi, LicenseKeyStatus as yn, MetricsLimits as yr, CustomerPortalCustomerUpdate as yt, CustomField as z, UpdateSubscriptionUnitsNotAllowed as zi, ListResourceDispute as zn, OrganizationCreate as zr, DiscountCreate as zt };
|
|
22081
|
-
//# sourceMappingURL=models-
|
|
22113
|
+
//# sourceMappingURL=models-CN7XkY_N.d.mts.map
|