@polar-sh/sdk 1.0.0 → 1.0.2
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/.agents/skills/polar-typescript-sdk/SKILL.md +1 -1
- package/README.md +16 -0
- 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 +1 -1
- package/dist/2027-01/services/benefit_grants.d.cts +2 -2
- package/dist/2027-01/services/benefit_grants.d.mts +2 -2
- package/dist/2027-01/services/benefit_grants.mjs +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 +1 -1
- package/dist/2027-01/services/customer_meters.d.cts +2 -2
- package/dist/2027-01/services/customer_meters.d.mts +2 -2
- package/dist/2027-01/services/customer_meters.mjs +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 +1 -1
- package/dist/2027-01/services/events.d.cts +2 -2
- package/dist/2027-01/services/events.d.mts +2 -2
- package/dist/2027-01/services/events.mjs +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 +1 -1
- package/dist/2027-01/services/meters.d.cts +2 -2
- package/dist/2027-01/services/meters.d.mts +2 -2
- package/dist/2027-01/services/meters.mjs +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-C5EE71lz.d.cts → base-C7LedWf8.d.cts} +4 -1
- package/dist/base-C7LedWf8.d.cts.map +1 -0
- package/dist/{base-C5EE71lz.d.mts → base-C7LedWf8.d.mts} +4 -1
- package/dist/base-C7LedWf8.d.mts.map +1 -0
- package/dist/{base-CpxoQZCZ.mjs → base-Cir88A-B.mjs} +12 -7
- package/dist/base-Cir88A-B.mjs.map +1 -0
- package/dist/{base-D83CMR-Q.cjs → base-elZHdyac.cjs} +12 -7
- package/dist/base-elZHdyac.cjs.map +1 -0
- package/dist/{errors-DDydmY6t.cjs → errors-BNX4S5mh.cjs} +2 -2
- package/dist/{errors-DDydmY6t.cjs.map → errors-BNX4S5mh.cjs.map} +1 -1
- package/dist/{errors-D_tOnoPP.mjs → errors-CU3SpW0J.mjs} +2 -2
- package/dist/{errors-D_tOnoPP.mjs.map → errors-CU3SpW0J.mjs.map} +1 -1
- package/dist/{errors-B2qXHz99.mjs → errors-CmQk48Hf.mjs} +2 -2
- package/dist/{errors-B2qXHz99.mjs.map → errors-CmQk48Hf.mjs.map} +1 -1
- package/dist/{errors-h8gRquR8.cjs → errors-CpcxXUUY.cjs} +2 -2
- package/dist/{errors-h8gRquR8.cjs.map → errors-CpcxXUUY.cjs.map} +1 -1
- package/dist/{errors-BG3e1vcX.cjs → errors-D48S0nru.cjs} +2 -2
- package/dist/{errors-BG3e1vcX.cjs.map → errors-D48S0nru.cjs.map} +1 -1
- package/dist/{errors-B1xadCgl.mjs → errors-DeSE0QDX.mjs} +2 -2
- package/dist/{errors-B1xadCgl.mjs.map → errors-DeSE0QDX.mjs.map} +1 -1
- package/dist/{index-CASi3-c8.d.mts → index-BAjXT-W8.d.cts} +4 -4
- package/dist/index-BAjXT-W8.d.cts.map +1 -0
- package/dist/{index-YSnA4bj_.d.cts → index-CZh-OhWh.d.mts} +4 -4
- package/dist/index-CZh-OhWh.d.mts.map +1 -0
- package/dist/{index-CCkgYIo1.d.mts → index-CgqeU9bV.d.mts} +4 -4
- package/dist/index-CgqeU9bV.d.mts.map +1 -0
- package/dist/{index-Uq9Eca4W.d.cts → index-DW6QhN4v.d.mts} +4 -4
- package/dist/index-DW6QhN4v.d.mts.map +1 -0
- package/dist/{index-Cu_Exrh7.d.cts → index-NMXOM5dy.d.cts} +4 -4
- package/dist/index-NMXOM5dy.d.cts.map +1 -0
- package/dist/{index-RFIyzWM8.d.mts → index-fmn-6v-G.d.cts} +4 -4
- package/dist/index-fmn-6v-G.d.cts.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-COhG3nD4.d.cts → models-D1RXR1_Z.d.cts} +274 -207
- package/dist/models-D1RXR1_Z.d.cts.map +1 -0
- package/dist/{models-COhG3nD4.d.mts → models-D1RXR1_Z.d.mts} +274 -207
- package/dist/models-D1RXR1_Z.d.mts.map +1 -0
- package/dist/{models-CygFKqFa.d.cts → models-MQGPXSzo.d.cts} +171 -135
- package/dist/models-MQGPXSzo.d.cts.map +1 -0
- package/dist/{models-CygFKqFa.d.mts → models-MQGPXSzo.d.mts} +171 -135
- package/dist/models-MQGPXSzo.d.mts.map +1 -0
- package/dist/{models-DjSYF7EH.d.cts → models-P8aaHkKR.d.cts} +181 -145
- package/dist/models-P8aaHkKR.d.cts.map +1 -0
- package/dist/{models-DjSYF7EH.d.mts → models-P8aaHkKR.d.mts} +181 -145
- package/dist/models-P8aaHkKR.d.mts.map +1 -0
- package/dist/{webhooks-BIIRAEZ9.d.mts → webhooks-C1-fSgnB.d.mts} +2 -2
- package/dist/{webhooks-BIIRAEZ9.d.mts.map → webhooks-C1-fSgnB.d.mts.map} +1 -1
- package/dist/{webhooks-DfOgc4VC.d.cts → webhooks-CQPu2gJ7.d.cts} +2 -2
- package/dist/{webhooks-DfOgc4VC.d.cts.map → webhooks-CQPu2gJ7.d.cts.map} +1 -1
- package/dist/{webhooks-lgh0ADeT.mjs → webhooks-DHKM6i1k.mjs} +2 -2
- package/dist/{webhooks-lgh0ADeT.mjs.map → webhooks-DHKM6i1k.mjs.map} +1 -1
- package/dist/{webhooks-CJ5fgGEO.cjs → webhooks-Da8LWSE5.cjs} +2 -2
- package/dist/{webhooks-CJ5fgGEO.cjs.map → webhooks-Da8LWSE5.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/base-C5EE71lz.d.cts.map +0 -1
- package/dist/base-C5EE71lz.d.mts.map +0 -1
- package/dist/base-CpxoQZCZ.mjs.map +0 -1
- package/dist/base-D83CMR-Q.cjs.map +0 -1
- package/dist/index-CASi3-c8.d.mts.map +0 -1
- package/dist/index-CCkgYIo1.d.mts.map +0 -1
- package/dist/index-Cu_Exrh7.d.cts.map +0 -1
- package/dist/index-RFIyzWM8.d.mts.map +0 -1
- package/dist/index-Uq9Eca4W.d.cts.map +0 -1
- package/dist/index-YSnA4bj_.d.cts.map +0 -1
- package/dist/models-COhG3nD4.d.cts.map +0 -1
- package/dist/models-COhG3nD4.d.mts.map +0 -1
- package/dist/models-CygFKqFa.d.cts.map +0 -1
- package/dist/models-CygFKqFa.d.mts.map +0 -1
- package/dist/models-DjSYF7EH.d.cts.map +0 -1
- package/dist/models-DjSYF7EH.d.mts.map +0 -1
|
@@ -214,7 +214,7 @@ type PaymentStatus = "pending" | "succeeded" | "failed";
|
|
|
214
214
|
*/
|
|
215
215
|
type PaymentTrigger = "purchase" | "subscription_cycle" | "retry_dunning" | "retry_customer" | "retry_payment_method_update" | "retry_admin";
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Permission
|
|
218
218
|
*/
|
|
219
219
|
type Permission = "pull" | "triage" | "push" | "maintain" | "admin";
|
|
220
220
|
/**
|
|
@@ -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
|
/**
|
|
@@ -12602,11 +12638,11 @@ interface GrantedLicenseKey {
|
|
|
12602
12638
|
/**
|
|
12603
12639
|
* The ID of the seat member holding this key, if any.
|
|
12604
12640
|
*/
|
|
12605
|
-
member_id
|
|
12641
|
+
member_id: string | null;
|
|
12606
12642
|
/**
|
|
12607
12643
|
* The seat member holding this key. Set for keys granted through a seat-based product; `null` for keys granted to the customer directly.
|
|
12608
12644
|
*/
|
|
12609
|
-
member
|
|
12645
|
+
member: LicenseKeyMember | null;
|
|
12610
12646
|
/**
|
|
12611
12647
|
* The benefit ID.
|
|
12612
12648
|
*/
|
|
@@ -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
|
/**
|
|
@@ -13244,11 +13280,11 @@ interface LicenseKeyRead {
|
|
|
13244
13280
|
/**
|
|
13245
13281
|
* The ID of the seat member holding this key, if any.
|
|
13246
13282
|
*/
|
|
13247
|
-
member_id
|
|
13283
|
+
member_id: string | null;
|
|
13248
13284
|
/**
|
|
13249
13285
|
* The seat member holding this key. Set for keys granted through a seat-based product; `null` for keys granted to the customer directly.
|
|
13250
13286
|
*/
|
|
13251
|
-
member
|
|
13287
|
+
member: LicenseKeyMember | null;
|
|
13252
13288
|
/**
|
|
13253
13289
|
* The benefit ID.
|
|
13254
13290
|
*/
|
|
@@ -13389,11 +13425,11 @@ interface LicenseKeyWithActivations {
|
|
|
13389
13425
|
/**
|
|
13390
13426
|
* The ID of the seat member holding this key, if any.
|
|
13391
13427
|
*/
|
|
13392
|
-
member_id
|
|
13428
|
+
member_id: string | null;
|
|
13393
13429
|
/**
|
|
13394
13430
|
* The seat member holding this key. Set for keys granted through a seat-based product; `null` for keys granted to the customer directly.
|
|
13395
13431
|
*/
|
|
13396
|
-
member
|
|
13432
|
+
member: LicenseKeyMember | null;
|
|
13397
13433
|
/**
|
|
13398
13434
|
* The benefit ID.
|
|
13399
13435
|
*/
|
|
@@ -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
|
}
|
|
@@ -16906,7 +16942,7 @@ interface OrganizationNotReadyForPayments {
|
|
|
16906
16942
|
*/
|
|
16907
16943
|
interface OrganizationSocialLink {
|
|
16908
16944
|
/**
|
|
16909
|
-
* platform
|
|
16945
|
+
* The social platform of the URL
|
|
16910
16946
|
*/
|
|
16911
16947
|
platform: OrganizationSocialPlatforms;
|
|
16912
16948
|
/**
|
|
@@ -17366,7 +17402,7 @@ interface Product {
|
|
|
17366
17402
|
*/
|
|
17367
17403
|
description: string | null;
|
|
17368
17404
|
/**
|
|
17369
|
-
* visibility
|
|
17405
|
+
* The visibility of the product.
|
|
17370
17406
|
*/
|
|
17371
17407
|
visibility: ProductVisibility;
|
|
17372
17408
|
/**
|
|
@@ -17458,7 +17494,7 @@ interface ProductCreateOneTime {
|
|
|
17458
17494
|
*/
|
|
17459
17495
|
description?: string | null;
|
|
17460
17496
|
/**
|
|
17461
|
-
* visibility
|
|
17497
|
+
* The visibility of the product.
|
|
17462
17498
|
*/
|
|
17463
17499
|
visibility?: ProductVisibility;
|
|
17464
17500
|
/**
|
|
@@ -17513,7 +17549,7 @@ interface ProductCreateRecurring {
|
|
|
17513
17549
|
*/
|
|
17514
17550
|
description?: string | null;
|
|
17515
17551
|
/**
|
|
17516
|
-
* visibility
|
|
17552
|
+
* The visibility of the product.
|
|
17517
17553
|
*/
|
|
17518
17554
|
visibility?: ProductVisibility;
|
|
17519
17555
|
/**
|
|
@@ -17541,7 +17577,7 @@ interface ProductCreateRecurring {
|
|
|
17541
17577
|
*/
|
|
17542
17578
|
trial_interval_count?: number | null;
|
|
17543
17579
|
/**
|
|
17544
|
-
*
|
|
17580
|
+
* The recurring interval of the product.
|
|
17545
17581
|
*/
|
|
17546
17582
|
recurring_interval: RecurringInterval;
|
|
17547
17583
|
/**
|
|
@@ -17697,7 +17733,7 @@ interface ProductPriceCustom {
|
|
|
17697
17733
|
*/
|
|
17698
17734
|
id: string;
|
|
17699
17735
|
/**
|
|
17700
|
-
* source
|
|
17736
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
17701
17737
|
*/
|
|
17702
17738
|
source: ProductPriceSource;
|
|
17703
17739
|
/**
|
|
@@ -17742,7 +17778,7 @@ interface ProductPriceCustomCreate {
|
|
|
17742
17778
|
*/
|
|
17743
17779
|
amount_type: "custom";
|
|
17744
17780
|
/**
|
|
17745
|
-
*
|
|
17781
|
+
* The currency in which the customer will be charged.
|
|
17746
17782
|
*/
|
|
17747
17783
|
price_currency?: PresentmentCurrency;
|
|
17748
17784
|
/**
|
|
@@ -18049,7 +18085,7 @@ interface ProductPriceFixed {
|
|
|
18049
18085
|
*/
|
|
18050
18086
|
id: string;
|
|
18051
18087
|
/**
|
|
18052
|
-
* source
|
|
18088
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18053
18089
|
*/
|
|
18054
18090
|
source: ProductPriceSource;
|
|
18055
18091
|
/**
|
|
@@ -18086,7 +18122,7 @@ interface ProductPriceFixedCreate {
|
|
|
18086
18122
|
*/
|
|
18087
18123
|
amount_type: "fixed";
|
|
18088
18124
|
/**
|
|
18089
|
-
*
|
|
18125
|
+
* The currency in which the customer will be charged.
|
|
18090
18126
|
*/
|
|
18091
18127
|
price_currency?: PresentmentCurrency;
|
|
18092
18128
|
/**
|
|
@@ -18239,7 +18275,7 @@ interface ProductPriceMeter {
|
|
|
18239
18275
|
*/
|
|
18240
18276
|
name: string;
|
|
18241
18277
|
/**
|
|
18242
|
-
* unit
|
|
18278
|
+
* The unit of the meter.
|
|
18243
18279
|
*/
|
|
18244
18280
|
unit: MeterUnit;
|
|
18245
18281
|
/**
|
|
@@ -18268,7 +18304,7 @@ interface ProductPriceMeteredTiers {
|
|
|
18268
18304
|
*/
|
|
18269
18305
|
id: string;
|
|
18270
18306
|
/**
|
|
18271
|
-
* source
|
|
18307
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18272
18308
|
*/
|
|
18273
18309
|
source: ProductPriceSource;
|
|
18274
18310
|
/**
|
|
@@ -18300,11 +18336,11 @@ interface ProductPriceMeteredTiers {
|
|
|
18300
18336
|
*/
|
|
18301
18337
|
meter_id: string;
|
|
18302
18338
|
/**
|
|
18303
|
-
* meter
|
|
18339
|
+
* The meter associated to the price.
|
|
18304
18340
|
*/
|
|
18305
18341
|
meter: ProductPriceMeter;
|
|
18306
18342
|
/**
|
|
18307
|
-
* tiers
|
|
18343
|
+
* The pricing tiers based on consumed units.
|
|
18308
18344
|
*/
|
|
18309
18345
|
tiers: Tiers;
|
|
18310
18346
|
}
|
|
@@ -18317,7 +18353,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18317
18353
|
*/
|
|
18318
18354
|
amount_type: "metered_tiers";
|
|
18319
18355
|
/**
|
|
18320
|
-
*
|
|
18356
|
+
* The currency in which the customer will be charged.
|
|
18321
18357
|
*/
|
|
18322
18358
|
price_currency?: PresentmentCurrency;
|
|
18323
18359
|
/**
|
|
@@ -18329,7 +18365,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18329
18365
|
*/
|
|
18330
18366
|
meter_id: string;
|
|
18331
18367
|
/**
|
|
18332
|
-
*
|
|
18368
|
+
* Tiered pricing based on consumed units.
|
|
18333
18369
|
*/
|
|
18334
18370
|
tiers: TiersInput;
|
|
18335
18371
|
/**
|
|
@@ -18354,7 +18390,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18354
18390
|
*/
|
|
18355
18391
|
id: string;
|
|
18356
18392
|
/**
|
|
18357
|
-
* source
|
|
18393
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18358
18394
|
*/
|
|
18359
18395
|
source: ProductPriceSource;
|
|
18360
18396
|
/**
|
|
@@ -18386,7 +18422,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18386
18422
|
*/
|
|
18387
18423
|
meter_id: string;
|
|
18388
18424
|
/**
|
|
18389
|
-
* meter
|
|
18425
|
+
* The meter associated to the price.
|
|
18390
18426
|
*/
|
|
18391
18427
|
meter: ProductPriceMeter;
|
|
18392
18428
|
/**
|
|
@@ -18403,7 +18439,7 @@ interface ProductPriceMeteredUnitCreate {
|
|
|
18403
18439
|
*/
|
|
18404
18440
|
amount_type: "metered_unit";
|
|
18405
18441
|
/**
|
|
18406
|
-
*
|
|
18442
|
+
* The currency in which the customer will be charged.
|
|
18407
18443
|
*/
|
|
18408
18444
|
price_currency?: PresentmentCurrency;
|
|
18409
18445
|
/**
|
|
@@ -18440,7 +18476,7 @@ interface ProductPriceSeatBased {
|
|
|
18440
18476
|
*/
|
|
18441
18477
|
id: string;
|
|
18442
18478
|
/**
|
|
18443
|
-
* source
|
|
18479
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18444
18480
|
*/
|
|
18445
18481
|
source: ProductPriceSource;
|
|
18446
18482
|
/**
|
|
@@ -18464,7 +18500,7 @@ interface ProductPriceSeatBased {
|
|
|
18464
18500
|
*/
|
|
18465
18501
|
product_id: string;
|
|
18466
18502
|
/**
|
|
18467
|
-
*
|
|
18503
|
+
* Tiered pricing based on seat quantity
|
|
18468
18504
|
*/
|
|
18469
18505
|
seat_tiers: ProductPriceSeatTiersOutput;
|
|
18470
18506
|
}
|
|
@@ -18477,7 +18513,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18477
18513
|
*/
|
|
18478
18514
|
amount_type: "seat_based";
|
|
18479
18515
|
/**
|
|
18480
|
-
*
|
|
18516
|
+
* The currency in which the customer will be charged.
|
|
18481
18517
|
*/
|
|
18482
18518
|
price_currency?: PresentmentCurrency;
|
|
18483
18519
|
/**
|
|
@@ -18485,7 +18521,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18485
18521
|
*/
|
|
18486
18522
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18487
18523
|
/**
|
|
18488
|
-
*
|
|
18524
|
+
* Tiered pricing based on seat quantity
|
|
18489
18525
|
*/
|
|
18490
18526
|
seat_tiers: ProductPriceSeatTiersInput;
|
|
18491
18527
|
}
|
|
@@ -18515,7 +18551,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18515
18551
|
*/
|
|
18516
18552
|
interface ProductPriceSeatTiersInput {
|
|
18517
18553
|
/**
|
|
18518
|
-
*
|
|
18554
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18519
18555
|
*/
|
|
18520
18556
|
seat_tier_type?: SeatTierType;
|
|
18521
18557
|
/**
|
|
@@ -18532,7 +18568,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18532
18568
|
*/
|
|
18533
18569
|
interface ProductPriceSeatTiersOutput {
|
|
18534
18570
|
/**
|
|
18535
|
-
*
|
|
18571
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18536
18572
|
*/
|
|
18537
18573
|
seat_tier_type?: SeatTierType;
|
|
18538
18574
|
/**
|
|
@@ -18566,7 +18602,7 @@ interface ProductPriceUnitBased {
|
|
|
18566
18602
|
*/
|
|
18567
18603
|
id: string;
|
|
18568
18604
|
/**
|
|
18569
|
-
* source
|
|
18605
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18570
18606
|
*/
|
|
18571
18607
|
source: ProductPriceSource;
|
|
18572
18608
|
/**
|
|
@@ -18590,7 +18626,7 @@ interface ProductPriceUnitBased {
|
|
|
18590
18626
|
*/
|
|
18591
18627
|
product_id: string;
|
|
18592
18628
|
/**
|
|
18593
|
-
*
|
|
18629
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18594
18630
|
*/
|
|
18595
18631
|
tiers: Tiers;
|
|
18596
18632
|
/**
|
|
@@ -18616,7 +18652,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18616
18652
|
*/
|
|
18617
18653
|
amount_type: "unit_based";
|
|
18618
18654
|
/**
|
|
18619
|
-
*
|
|
18655
|
+
* The currency in which the customer will be charged.
|
|
18620
18656
|
*/
|
|
18621
18657
|
price_currency?: PresentmentCurrency;
|
|
18622
18658
|
/**
|
|
@@ -18624,7 +18660,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18624
18660
|
*/
|
|
18625
18661
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18626
18662
|
/**
|
|
18627
|
-
*
|
|
18663
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18628
18664
|
*/
|
|
18629
18665
|
tiers: TiersInput;
|
|
18630
18666
|
/**
|
|
@@ -18839,7 +18875,7 @@ interface RefundDispute {
|
|
|
18839
18875
|
*/
|
|
18840
18876
|
id: string;
|
|
18841
18877
|
/**
|
|
18842
|
-
*
|
|
18878
|
+
* Status of the dispute. `prevented` means we issued a refund before the dispute was escalated, avoiding any fees.
|
|
18843
18879
|
*/
|
|
18844
18880
|
status: DisputeStatus;
|
|
18845
18881
|
/**
|
|
@@ -18957,11 +18993,11 @@ interface RotatedLicenseKey {
|
|
|
18957
18993
|
/**
|
|
18958
18994
|
* The ID of the seat member holding this key, if any.
|
|
18959
18995
|
*/
|
|
18960
|
-
member_id
|
|
18996
|
+
member_id: string | null;
|
|
18961
18997
|
/**
|
|
18962
18998
|
* The seat member holding this key. Set for keys granted through a seat-based product; `null` for keys granted to the customer directly.
|
|
18963
18999
|
*/
|
|
18964
|
-
member
|
|
19000
|
+
member: LicenseKeyMember | null;
|
|
18965
19001
|
/**
|
|
18966
19002
|
* The benefit ID.
|
|
18967
19003
|
*/
|
|
@@ -19252,7 +19288,7 @@ interface Subscription {
|
|
|
19252
19288
|
*/
|
|
19253
19289
|
currency: string;
|
|
19254
19290
|
/**
|
|
19255
|
-
*
|
|
19291
|
+
* The interval at which the subscription recurs.
|
|
19256
19292
|
*/
|
|
19257
19293
|
recurring_interval: RecurringInterval;
|
|
19258
19294
|
/**
|
|
@@ -19260,7 +19296,7 @@ interface Subscription {
|
|
|
19260
19296
|
*/
|
|
19261
19297
|
recurring_interval_count: number;
|
|
19262
19298
|
/**
|
|
19263
|
-
* status
|
|
19299
|
+
* The status of the subscription.
|
|
19264
19300
|
*/
|
|
19265
19301
|
status: SubscriptionStatus;
|
|
19266
19302
|
/**
|
|
@@ -19800,7 +19836,7 @@ interface SubscriptionCustomer {
|
|
|
19800
19836
|
*/
|
|
19801
19837
|
email_verified: boolean;
|
|
19802
19838
|
/**
|
|
19803
|
-
* type
|
|
19839
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
19804
19840
|
*/
|
|
19805
19841
|
type: CustomerType;
|
|
19806
19842
|
/**
|
|
@@ -19980,7 +20016,7 @@ interface SubscriptionMeter {
|
|
|
19980
20016
|
*/
|
|
19981
20017
|
meter_id: string;
|
|
19982
20018
|
/**
|
|
19983
|
-
* meter
|
|
20019
|
+
* The meter associated with this subscription.
|
|
19984
20020
|
*/
|
|
19985
20021
|
meter: Meter;
|
|
19986
20022
|
}
|
|
@@ -21686,11 +21722,11 @@ interface ValidatedLicenseKey {
|
|
|
21686
21722
|
/**
|
|
21687
21723
|
* The ID of the seat member holding this key, if any.
|
|
21688
21724
|
*/
|
|
21689
|
-
member_id
|
|
21725
|
+
member_id: string | null;
|
|
21690
21726
|
/**
|
|
21691
21727
|
* The seat member holding this key. Set for keys granted through a seat-based product; `null` for keys granted to the customer directly.
|
|
21692
21728
|
*/
|
|
21693
|
-
member
|
|
21729
|
+
member: LicenseKeyMember | null;
|
|
21694
21730
|
/**
|
|
21695
21731
|
* The benefit ID.
|
|
21696
21732
|
*/
|
|
@@ -21790,7 +21826,7 @@ interface WebhookDelivery {
|
|
|
21790
21826
|
*/
|
|
21791
21827
|
response: string | null;
|
|
21792
21828
|
/**
|
|
21793
|
-
*
|
|
21829
|
+
* The webhook event sent by this delivery.
|
|
21794
21830
|
*/
|
|
21795
21831
|
webhook_event: WebhookEvent;
|
|
21796
21832
|
}
|
|
@@ -21823,7 +21859,7 @@ interface WebhookEndpoint {
|
|
|
21823
21859
|
*/
|
|
21824
21860
|
api_version: string;
|
|
21825
21861
|
/**
|
|
21826
|
-
* format
|
|
21862
|
+
* The format of the webhook payload.
|
|
21827
21863
|
*/
|
|
21828
21864
|
format: WebhookFormat;
|
|
21829
21865
|
/**
|
|
@@ -21864,7 +21900,7 @@ interface WebhookEndpointCreate {
|
|
|
21864
21900
|
*/
|
|
21865
21901
|
api_version?: ApiVersion;
|
|
21866
21902
|
/**
|
|
21867
|
-
* format
|
|
21903
|
+
* The format of the webhook payload.
|
|
21868
21904
|
*/
|
|
21869
21905
|
format: WebhookFormat;
|
|
21870
21906
|
/**
|
|
@@ -21948,7 +21984,7 @@ interface WebhookEvent {
|
|
|
21948
21984
|
*/
|
|
21949
21985
|
payload: string | null;
|
|
21950
21986
|
/**
|
|
21951
|
-
* type
|
|
21987
|
+
* The type of the webhook event.
|
|
21952
21988
|
*/
|
|
21953
21989
|
type: WebhookEventType;
|
|
21954
21990
|
/**
|
|
@@ -22078,4 +22114,4 @@ type SubscriptionUpdate = SubscriptionUpdateBase | SubscriptionUpdateSeats | Sub
|
|
|
22078
22114
|
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
22115
|
//#endregion
|
|
22080
22116
|
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-
|
|
22117
|
+
//# sourceMappingURL=models-P8aaHkKR.d.cts.map
|