@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
|
/**
|
|
@@ -12728,11 +12764,11 @@ interface KrCardPayment {
|
|
|
12728
12764
|
*/
|
|
12729
12765
|
id: string;
|
|
12730
12766
|
/**
|
|
12731
|
-
* processor
|
|
12767
|
+
* The payment processor.
|
|
12732
12768
|
*/
|
|
12733
12769
|
processor: PaymentProcessor;
|
|
12734
12770
|
/**
|
|
12735
|
-
* status
|
|
12771
|
+
* The payment status.
|
|
12736
12772
|
*/
|
|
12737
12773
|
status: PaymentStatus;
|
|
12738
12774
|
/**
|
|
@@ -12776,7 +12812,7 @@ interface KrCardPayment {
|
|
|
12776
12812
|
*/
|
|
12777
12813
|
processor_metadata?: Record<string, unknown>;
|
|
12778
12814
|
/**
|
|
12779
|
-
*
|
|
12815
|
+
* Additional metadata for the South Korean card payment method.
|
|
12780
12816
|
*/
|
|
12781
12817
|
method_metadata: KrCardPaymentMetadata;
|
|
12782
12818
|
}
|
|
@@ -12848,7 +12884,7 @@ interface LegacyRecurringProductPriceCustom {
|
|
|
12848
12884
|
*/
|
|
12849
12885
|
id: string;
|
|
12850
12886
|
/**
|
|
12851
|
-
* source
|
|
12887
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
12852
12888
|
*/
|
|
12853
12889
|
source: ProductPriceSource;
|
|
12854
12890
|
/**
|
|
@@ -12876,7 +12912,7 @@ interface LegacyRecurringProductPriceCustom {
|
|
|
12876
12912
|
*/
|
|
12877
12913
|
type: "recurring";
|
|
12878
12914
|
/**
|
|
12879
|
-
*
|
|
12915
|
+
* The recurring interval of the price.
|
|
12880
12916
|
*/
|
|
12881
12917
|
recurring_interval: RecurringInterval;
|
|
12882
12918
|
/**
|
|
@@ -12914,7 +12950,7 @@ interface LegacyRecurringProductPriceFixed {
|
|
|
12914
12950
|
*/
|
|
12915
12951
|
id: string;
|
|
12916
12952
|
/**
|
|
12917
|
-
* source
|
|
12953
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
12918
12954
|
*/
|
|
12919
12955
|
source: ProductPriceSource;
|
|
12920
12956
|
/**
|
|
@@ -12942,7 +12978,7 @@ interface LegacyRecurringProductPriceFixed {
|
|
|
12942
12978
|
*/
|
|
12943
12979
|
type: "recurring";
|
|
12944
12980
|
/**
|
|
12945
|
-
*
|
|
12981
|
+
* The recurring interval of the price.
|
|
12946
12982
|
*/
|
|
12947
12983
|
recurring_interval: RecurringInterval;
|
|
12948
12984
|
/**
|
|
@@ -13127,7 +13163,7 @@ interface LicenseKeyCustomer {
|
|
|
13127
13163
|
*/
|
|
13128
13164
|
email_verified: boolean;
|
|
13129
13165
|
/**
|
|
13130
|
-
* type
|
|
13166
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
13131
13167
|
*/
|
|
13132
13168
|
type: CustomerType;
|
|
13133
13169
|
/**
|
|
@@ -13899,7 +13935,7 @@ interface Member {
|
|
|
13899
13935
|
*/
|
|
13900
13936
|
external_id: string | null;
|
|
13901
13937
|
/**
|
|
13902
|
-
* role
|
|
13938
|
+
* The role of the member within the customer.
|
|
13903
13939
|
*/
|
|
13904
13940
|
role: MemberRole;
|
|
13905
13941
|
}
|
|
@@ -13989,7 +14025,7 @@ interface Meter {
|
|
|
13989
14025
|
*/
|
|
13990
14026
|
name: string;
|
|
13991
14027
|
/**
|
|
13992
|
-
* unit
|
|
14028
|
+
* The unit of the meter.
|
|
13993
14029
|
*/
|
|
13994
14030
|
unit: MeterUnit;
|
|
13995
14031
|
/**
|
|
@@ -14001,7 +14037,7 @@ interface Meter {
|
|
|
14001
14037
|
*/
|
|
14002
14038
|
custom_multiplier?: number | null;
|
|
14003
14039
|
/**
|
|
14004
|
-
* filter
|
|
14040
|
+
* The filter to apply on events that'll be used to calculate the meter.
|
|
14005
14041
|
*/
|
|
14006
14042
|
filter: Filter;
|
|
14007
14043
|
/**
|
|
@@ -14040,7 +14076,7 @@ interface MeterCreate {
|
|
|
14040
14076
|
*/
|
|
14041
14077
|
name: string;
|
|
14042
14078
|
/**
|
|
14043
|
-
* unit
|
|
14079
|
+
* The unit of the meter.
|
|
14044
14080
|
*/
|
|
14045
14081
|
unit?: MeterUnit;
|
|
14046
14082
|
/**
|
|
@@ -14052,7 +14088,7 @@ interface MeterCreate {
|
|
|
14052
14088
|
*/
|
|
14053
14089
|
custom_multiplier?: number | null;
|
|
14054
14090
|
/**
|
|
14055
|
-
* filter
|
|
14091
|
+
* The filter to apply on events that'll be used to calculate the meter.
|
|
14056
14092
|
*/
|
|
14057
14093
|
filter: Filter;
|
|
14058
14094
|
/**
|
|
@@ -14298,7 +14334,7 @@ interface Metric {
|
|
|
14298
14334
|
*/
|
|
14299
14335
|
display_name: string;
|
|
14300
14336
|
/**
|
|
14301
|
-
*
|
|
14337
|
+
* Type of the metric, useful to know the unit or format of the value.
|
|
14302
14338
|
*/
|
|
14303
14339
|
type: MetricType;
|
|
14304
14340
|
}
|
|
@@ -14833,23 +14869,23 @@ interface MetricsIntervalLimit {
|
|
|
14833
14869
|
*/
|
|
14834
14870
|
interface MetricsIntervalsLimits {
|
|
14835
14871
|
/**
|
|
14836
|
-
* hour
|
|
14872
|
+
* Limits for the hour interval.
|
|
14837
14873
|
*/
|
|
14838
14874
|
hour: MetricsIntervalLimit;
|
|
14839
14875
|
/**
|
|
14840
|
-
* day
|
|
14876
|
+
* Limits for the day interval.
|
|
14841
14877
|
*/
|
|
14842
14878
|
day: MetricsIntervalLimit;
|
|
14843
14879
|
/**
|
|
14844
|
-
* week
|
|
14880
|
+
* Limits for the week interval.
|
|
14845
14881
|
*/
|
|
14846
14882
|
week: MetricsIntervalLimit;
|
|
14847
14883
|
/**
|
|
14848
|
-
* month
|
|
14884
|
+
* Limits for the month interval.
|
|
14849
14885
|
*/
|
|
14850
14886
|
month: MetricsIntervalLimit;
|
|
14851
14887
|
/**
|
|
14852
|
-
* year
|
|
14888
|
+
* Limits for the year interval.
|
|
14853
14889
|
*/
|
|
14854
14890
|
year: MetricsIntervalLimit;
|
|
14855
14891
|
}
|
|
@@ -14862,7 +14898,7 @@ interface MetricsLimits {
|
|
|
14862
14898
|
*/
|
|
14863
14899
|
min_date: string;
|
|
14864
14900
|
/**
|
|
14865
|
-
*
|
|
14901
|
+
* Limits for each interval.
|
|
14866
14902
|
*/
|
|
14867
14903
|
intervals: MetricsIntervalsLimits;
|
|
14868
14904
|
}
|
|
@@ -14875,11 +14911,11 @@ interface MetricsResponse {
|
|
|
14875
14911
|
*/
|
|
14876
14912
|
periods: MetricPeriod[];
|
|
14877
14913
|
/**
|
|
14878
|
-
*
|
|
14914
|
+
* Totals for the whole selected period.
|
|
14879
14915
|
*/
|
|
14880
14916
|
totals: MetricsTotals;
|
|
14881
14917
|
/**
|
|
14882
|
-
* metrics
|
|
14918
|
+
* Information about the returned metrics.
|
|
14883
14919
|
*/
|
|
14884
14920
|
metrics: Metrics;
|
|
14885
14921
|
}
|
|
@@ -15552,7 +15588,7 @@ interface OrderCustomer {
|
|
|
15552
15588
|
*/
|
|
15553
15589
|
email_verified: boolean;
|
|
15554
15590
|
/**
|
|
15555
|
-
* type
|
|
15591
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
15556
15592
|
*/
|
|
15557
15593
|
type: CustomerType;
|
|
15558
15594
|
/**
|
|
@@ -15857,7 +15893,7 @@ interface OrderProduct {
|
|
|
15857
15893
|
*/
|
|
15858
15894
|
description: string | null;
|
|
15859
15895
|
/**
|
|
15860
|
-
* visibility
|
|
15896
|
+
* The visibility of the product.
|
|
15861
15897
|
*/
|
|
15862
15898
|
visibility: ProductVisibility;
|
|
15863
15899
|
/**
|
|
@@ -16005,7 +16041,7 @@ interface OrderSubscription {
|
|
|
16005
16041
|
*/
|
|
16006
16042
|
currency: string;
|
|
16007
16043
|
/**
|
|
16008
|
-
*
|
|
16044
|
+
* The interval at which the subscription recurs.
|
|
16009
16045
|
*/
|
|
16010
16046
|
recurring_interval: RecurringInterval;
|
|
16011
16047
|
/**
|
|
@@ -16013,7 +16049,7 @@ interface OrderSubscription {
|
|
|
16013
16049
|
*/
|
|
16014
16050
|
recurring_interval_count: number;
|
|
16015
16051
|
/**
|
|
16016
|
-
* status
|
|
16052
|
+
* The status of the subscription.
|
|
16017
16053
|
*/
|
|
16018
16054
|
status: SubscriptionStatus;
|
|
16019
16055
|
/**
|
|
@@ -16307,7 +16343,7 @@ interface Organization {
|
|
|
16307
16343
|
*/
|
|
16308
16344
|
avatar_url: string | null;
|
|
16309
16345
|
/**
|
|
16310
|
-
*
|
|
16346
|
+
* Proration behavior applied when customer updates their subscription from the portal.
|
|
16311
16347
|
*/
|
|
16312
16348
|
proration_behavior: SubscriptionProrationBehavior;
|
|
16313
16349
|
/**
|
|
@@ -16327,7 +16363,7 @@ interface Organization {
|
|
|
16327
16363
|
*/
|
|
16328
16364
|
socials: OrganizationSocialLink[];
|
|
16329
16365
|
/**
|
|
16330
|
-
* status
|
|
16366
|
+
* Current organization status
|
|
16331
16367
|
*/
|
|
16332
16368
|
status: OrganizationStatus;
|
|
16333
16369
|
/**
|
|
@@ -16347,7 +16383,7 @@ interface Organization {
|
|
|
16347
16383
|
*/
|
|
16348
16384
|
default_presentment_currency: string;
|
|
16349
16385
|
/**
|
|
16350
|
-
*
|
|
16386
|
+
* Default tax behavior applied on products.
|
|
16351
16387
|
*/
|
|
16352
16388
|
default_tax_behavior: TaxBehaviorOption;
|
|
16353
16389
|
/**
|
|
@@ -16355,19 +16391,19 @@ interface Organization {
|
|
|
16355
16391
|
*/
|
|
16356
16392
|
feature_settings: OrganizationFeatureSettings | null;
|
|
16357
16393
|
/**
|
|
16358
|
-
*
|
|
16394
|
+
* Settings related to subscriptions management
|
|
16359
16395
|
*/
|
|
16360
16396
|
subscription_settings: OrganizationSubscriptionSettings;
|
|
16361
16397
|
/**
|
|
16362
|
-
*
|
|
16398
|
+
* Settings related to customer emails
|
|
16363
16399
|
*/
|
|
16364
16400
|
customer_email_settings: OrganizationCustomerEmailSettings;
|
|
16365
16401
|
/**
|
|
16366
|
-
*
|
|
16402
|
+
* Settings related to the customer portal
|
|
16367
16403
|
*/
|
|
16368
16404
|
customer_portal_settings: OrganizationCustomerPortalSettings;
|
|
16369
16405
|
/**
|
|
16370
|
-
*
|
|
16406
|
+
* Settings related to disputes
|
|
16371
16407
|
*/
|
|
16372
16408
|
dispute_settings: OrganizationDisputeSettings;
|
|
16373
16409
|
/**
|
|
@@ -16387,7 +16423,7 @@ interface Organization {
|
|
|
16387
16423
|
*/
|
|
16388
16424
|
payout_account_id: string | null;
|
|
16389
16425
|
/**
|
|
16390
|
-
*
|
|
16426
|
+
* Capabilities currently granted to the organization.
|
|
16391
16427
|
*/
|
|
16392
16428
|
capabilities: OrganizationCapabilities;
|
|
16393
16429
|
}
|
|
@@ -16600,11 +16636,11 @@ interface OrganizationCreate {
|
|
|
16600
16636
|
*/
|
|
16601
16637
|
customer_portal_settings?: OrganizationCustomerPortalSettings | null;
|
|
16602
16638
|
/**
|
|
16603
|
-
*
|
|
16639
|
+
* Default presentment currency for the organization
|
|
16604
16640
|
*/
|
|
16605
16641
|
default_presentment_currency?: PresentmentCurrency;
|
|
16606
16642
|
/**
|
|
16607
|
-
*
|
|
16643
|
+
* Default tax behavior applied on products.
|
|
16608
16644
|
*/
|
|
16609
16645
|
default_tax_behavior?: TaxBehaviorOption;
|
|
16610
16646
|
}
|
|
@@ -16813,10 +16849,6 @@ interface OrganizationFeatureSettings {
|
|
|
16813
16849
|
* If this organization can migrate its billing from another provider (e.g. Stripe) to Polar.
|
|
16814
16850
|
*/
|
|
16815
16851
|
merchant_migration_enabled?: boolean;
|
|
16816
|
-
/**
|
|
16817
|
-
* If this organization's checkout tells the browser to refuse framing from any host outside its embed hosts.
|
|
16818
|
-
*/
|
|
16819
|
-
frame_ancestors_enforced?: boolean;
|
|
16820
16852
|
}
|
|
16821
16853
|
/**
|
|
16822
16854
|
* Feature settings that organizations can update themselves.
|
|
@@ -16865,7 +16897,7 @@ interface OrganizationNotReadyForPayments {
|
|
|
16865
16897
|
*/
|
|
16866
16898
|
interface OrganizationSocialLink {
|
|
16867
16899
|
/**
|
|
16868
|
-
* platform
|
|
16900
|
+
* The social platform of the URL
|
|
16869
16901
|
*/
|
|
16870
16902
|
platform: OrganizationSocialPlatforms;
|
|
16871
16903
|
/**
|
|
@@ -17325,7 +17357,7 @@ interface Product {
|
|
|
17325
17357
|
*/
|
|
17326
17358
|
description: string | null;
|
|
17327
17359
|
/**
|
|
17328
|
-
* visibility
|
|
17360
|
+
* The visibility of the product.
|
|
17329
17361
|
*/
|
|
17330
17362
|
visibility: ProductVisibility;
|
|
17331
17363
|
/**
|
|
@@ -17417,7 +17449,7 @@ interface ProductCreateOneTime {
|
|
|
17417
17449
|
*/
|
|
17418
17450
|
description?: string | null;
|
|
17419
17451
|
/**
|
|
17420
|
-
* visibility
|
|
17452
|
+
* The visibility of the product.
|
|
17421
17453
|
*/
|
|
17422
17454
|
visibility?: ProductVisibility;
|
|
17423
17455
|
/**
|
|
@@ -17472,7 +17504,7 @@ interface ProductCreateRecurring {
|
|
|
17472
17504
|
*/
|
|
17473
17505
|
description?: string | null;
|
|
17474
17506
|
/**
|
|
17475
|
-
* visibility
|
|
17507
|
+
* The visibility of the product.
|
|
17476
17508
|
*/
|
|
17477
17509
|
visibility?: ProductVisibility;
|
|
17478
17510
|
/**
|
|
@@ -17500,7 +17532,7 @@ interface ProductCreateRecurring {
|
|
|
17500
17532
|
*/
|
|
17501
17533
|
trial_interval_count?: number | null;
|
|
17502
17534
|
/**
|
|
17503
|
-
*
|
|
17535
|
+
* The recurring interval of the product.
|
|
17504
17536
|
*/
|
|
17505
17537
|
recurring_interval: RecurringInterval;
|
|
17506
17538
|
/**
|
|
@@ -17656,7 +17688,7 @@ interface ProductPriceCustom {
|
|
|
17656
17688
|
*/
|
|
17657
17689
|
id: string;
|
|
17658
17690
|
/**
|
|
17659
|
-
* source
|
|
17691
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
17660
17692
|
*/
|
|
17661
17693
|
source: ProductPriceSource;
|
|
17662
17694
|
/**
|
|
@@ -17701,7 +17733,7 @@ interface ProductPriceCustomCreate {
|
|
|
17701
17733
|
*/
|
|
17702
17734
|
amount_type: "custom";
|
|
17703
17735
|
/**
|
|
17704
|
-
*
|
|
17736
|
+
* The currency in which the customer will be charged.
|
|
17705
17737
|
*/
|
|
17706
17738
|
price_currency?: PresentmentCurrency;
|
|
17707
17739
|
/**
|
|
@@ -18008,7 +18040,7 @@ interface ProductPriceFixed {
|
|
|
18008
18040
|
*/
|
|
18009
18041
|
id: string;
|
|
18010
18042
|
/**
|
|
18011
|
-
* source
|
|
18043
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18012
18044
|
*/
|
|
18013
18045
|
source: ProductPriceSource;
|
|
18014
18046
|
/**
|
|
@@ -18045,7 +18077,7 @@ interface ProductPriceFixedCreate {
|
|
|
18045
18077
|
*/
|
|
18046
18078
|
amount_type: "fixed";
|
|
18047
18079
|
/**
|
|
18048
|
-
*
|
|
18080
|
+
* The currency in which the customer will be charged.
|
|
18049
18081
|
*/
|
|
18050
18082
|
price_currency?: PresentmentCurrency;
|
|
18051
18083
|
/**
|
|
@@ -18198,7 +18230,7 @@ interface ProductPriceMeter {
|
|
|
18198
18230
|
*/
|
|
18199
18231
|
name: string;
|
|
18200
18232
|
/**
|
|
18201
|
-
* unit
|
|
18233
|
+
* The unit of the meter.
|
|
18202
18234
|
*/
|
|
18203
18235
|
unit: MeterUnit;
|
|
18204
18236
|
/**
|
|
@@ -18227,7 +18259,7 @@ interface ProductPriceMeteredTiers {
|
|
|
18227
18259
|
*/
|
|
18228
18260
|
id: string;
|
|
18229
18261
|
/**
|
|
18230
|
-
* source
|
|
18262
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18231
18263
|
*/
|
|
18232
18264
|
source: ProductPriceSource;
|
|
18233
18265
|
/**
|
|
@@ -18259,11 +18291,11 @@ interface ProductPriceMeteredTiers {
|
|
|
18259
18291
|
*/
|
|
18260
18292
|
meter_id: string;
|
|
18261
18293
|
/**
|
|
18262
|
-
* meter
|
|
18294
|
+
* The meter associated to the price.
|
|
18263
18295
|
*/
|
|
18264
18296
|
meter: ProductPriceMeter;
|
|
18265
18297
|
/**
|
|
18266
|
-
* tiers
|
|
18298
|
+
* The pricing tiers based on consumed units.
|
|
18267
18299
|
*/
|
|
18268
18300
|
tiers: Tiers;
|
|
18269
18301
|
}
|
|
@@ -18276,7 +18308,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18276
18308
|
*/
|
|
18277
18309
|
amount_type: "metered_tiers";
|
|
18278
18310
|
/**
|
|
18279
|
-
*
|
|
18311
|
+
* The currency in which the customer will be charged.
|
|
18280
18312
|
*/
|
|
18281
18313
|
price_currency?: PresentmentCurrency;
|
|
18282
18314
|
/**
|
|
@@ -18288,7 +18320,7 @@ interface ProductPriceMeteredTiersCreate {
|
|
|
18288
18320
|
*/
|
|
18289
18321
|
meter_id: string;
|
|
18290
18322
|
/**
|
|
18291
|
-
*
|
|
18323
|
+
* Tiered pricing based on consumed units.
|
|
18292
18324
|
*/
|
|
18293
18325
|
tiers: TiersInput;
|
|
18294
18326
|
/**
|
|
@@ -18313,7 +18345,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18313
18345
|
*/
|
|
18314
18346
|
id: string;
|
|
18315
18347
|
/**
|
|
18316
|
-
* source
|
|
18348
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18317
18349
|
*/
|
|
18318
18350
|
source: ProductPriceSource;
|
|
18319
18351
|
/**
|
|
@@ -18345,7 +18377,7 @@ interface ProductPriceMeteredUnit {
|
|
|
18345
18377
|
*/
|
|
18346
18378
|
meter_id: string;
|
|
18347
18379
|
/**
|
|
18348
|
-
* meter
|
|
18380
|
+
* The meter associated to the price.
|
|
18349
18381
|
*/
|
|
18350
18382
|
meter: ProductPriceMeter;
|
|
18351
18383
|
/**
|
|
@@ -18362,7 +18394,7 @@ interface ProductPriceMeteredUnitCreate {
|
|
|
18362
18394
|
*/
|
|
18363
18395
|
amount_type: "metered_unit";
|
|
18364
18396
|
/**
|
|
18365
|
-
*
|
|
18397
|
+
* The currency in which the customer will be charged.
|
|
18366
18398
|
*/
|
|
18367
18399
|
price_currency?: PresentmentCurrency;
|
|
18368
18400
|
/**
|
|
@@ -18399,7 +18431,7 @@ interface ProductPriceSeatBased {
|
|
|
18399
18431
|
*/
|
|
18400
18432
|
id: string;
|
|
18401
18433
|
/**
|
|
18402
|
-
* source
|
|
18434
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18403
18435
|
*/
|
|
18404
18436
|
source: ProductPriceSource;
|
|
18405
18437
|
/**
|
|
@@ -18423,7 +18455,7 @@ interface ProductPriceSeatBased {
|
|
|
18423
18455
|
*/
|
|
18424
18456
|
product_id: string;
|
|
18425
18457
|
/**
|
|
18426
|
-
*
|
|
18458
|
+
* Tiered pricing based on seat quantity
|
|
18427
18459
|
*/
|
|
18428
18460
|
seat_tiers: ProductPriceSeatTiersOutput;
|
|
18429
18461
|
}
|
|
@@ -18436,7 +18468,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18436
18468
|
*/
|
|
18437
18469
|
amount_type: "seat_based";
|
|
18438
18470
|
/**
|
|
18439
|
-
*
|
|
18471
|
+
* The currency in which the customer will be charged.
|
|
18440
18472
|
*/
|
|
18441
18473
|
price_currency?: PresentmentCurrency;
|
|
18442
18474
|
/**
|
|
@@ -18444,7 +18476,7 @@ interface ProductPriceSeatBasedCreate {
|
|
|
18444
18476
|
*/
|
|
18445
18477
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18446
18478
|
/**
|
|
18447
|
-
*
|
|
18479
|
+
* Tiered pricing based on seat quantity
|
|
18448
18480
|
*/
|
|
18449
18481
|
seat_tiers: ProductPriceSeatTiersInput;
|
|
18450
18482
|
}
|
|
@@ -18474,7 +18506,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18474
18506
|
*/
|
|
18475
18507
|
interface ProductPriceSeatTiersInput {
|
|
18476
18508
|
/**
|
|
18477
|
-
*
|
|
18509
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18478
18510
|
*/
|
|
18479
18511
|
seat_tier_type?: SeatTierType;
|
|
18480
18512
|
/**
|
|
@@ -18491,7 +18523,7 @@ The minimum and maximum seat limits are derived from the tiers:
|
|
|
18491
18523
|
*/
|
|
18492
18524
|
interface ProductPriceSeatTiersOutput {
|
|
18493
18525
|
/**
|
|
18494
|
-
*
|
|
18526
|
+
* How tiers are applied. 'volume' prices all seats at the matching tier's rate. 'graduated' prices each tier's range independently.
|
|
18495
18527
|
*/
|
|
18496
18528
|
seat_tier_type?: SeatTierType;
|
|
18497
18529
|
/**
|
|
@@ -18525,7 +18557,7 @@ interface ProductPriceUnitBased {
|
|
|
18525
18557
|
*/
|
|
18526
18558
|
id: string;
|
|
18527
18559
|
/**
|
|
18528
|
-
* source
|
|
18560
|
+
* The source of the price . `catalog` is a predefined price, while `ad_hoc` is a price created dynamically on a Checkout session.
|
|
18529
18561
|
*/
|
|
18530
18562
|
source: ProductPriceSource;
|
|
18531
18563
|
/**
|
|
@@ -18549,7 +18581,7 @@ interface ProductPriceUnitBased {
|
|
|
18549
18581
|
*/
|
|
18550
18582
|
product_id: string;
|
|
18551
18583
|
/**
|
|
18552
|
-
*
|
|
18584
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18553
18585
|
*/
|
|
18554
18586
|
tiers: Tiers;
|
|
18555
18587
|
/**
|
|
@@ -18575,7 +18607,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18575
18607
|
*/
|
|
18576
18608
|
amount_type: "unit_based";
|
|
18577
18609
|
/**
|
|
18578
|
-
*
|
|
18610
|
+
* The currency in which the customer will be charged.
|
|
18579
18611
|
*/
|
|
18580
18612
|
price_currency?: PresentmentCurrency;
|
|
18581
18613
|
/**
|
|
@@ -18583,7 +18615,7 @@ interface ProductPriceUnitBasedCreate {
|
|
|
18583
18615
|
*/
|
|
18584
18616
|
tax_behavior?: TaxBehaviorOption | null;
|
|
18585
18617
|
/**
|
|
18586
|
-
*
|
|
18618
|
+
* Tiered pricing based on the purchased unit quantity.
|
|
18587
18619
|
*/
|
|
18588
18620
|
tiers: TiersInput;
|
|
18589
18621
|
/**
|
|
@@ -18798,7 +18830,7 @@ interface RefundDispute {
|
|
|
18798
18830
|
*/
|
|
18799
18831
|
id: string;
|
|
18800
18832
|
/**
|
|
18801
|
-
*
|
|
18833
|
+
* Status of the dispute. `prevented` means we issued a refund before the dispute was escalated, avoiding any fees.
|
|
18802
18834
|
*/
|
|
18803
18835
|
status: DisputeStatus;
|
|
18804
18836
|
/**
|
|
@@ -19203,7 +19235,7 @@ interface Subscription {
|
|
|
19203
19235
|
*/
|
|
19204
19236
|
currency: string;
|
|
19205
19237
|
/**
|
|
19206
|
-
*
|
|
19238
|
+
* The interval at which the subscription recurs.
|
|
19207
19239
|
*/
|
|
19208
19240
|
recurring_interval: RecurringInterval;
|
|
19209
19241
|
/**
|
|
@@ -19211,7 +19243,7 @@ interface Subscription {
|
|
|
19211
19243
|
*/
|
|
19212
19244
|
recurring_interval_count: number;
|
|
19213
19245
|
/**
|
|
19214
|
-
* status
|
|
19246
|
+
* The status of the subscription.
|
|
19215
19247
|
*/
|
|
19216
19248
|
status: SubscriptionStatus;
|
|
19217
19249
|
/**
|
|
@@ -19751,7 +19783,7 @@ interface SubscriptionCustomer {
|
|
|
19751
19783
|
*/
|
|
19752
19784
|
email_verified: boolean;
|
|
19753
19785
|
/**
|
|
19754
|
-
* type
|
|
19786
|
+
* The type of customer: 'individual' for single users, 'team' for customers with multiple members.
|
|
19755
19787
|
*/
|
|
19756
19788
|
type: CustomerType;
|
|
19757
19789
|
/**
|
|
@@ -19931,7 +19963,7 @@ interface SubscriptionMeter {
|
|
|
19931
19963
|
*/
|
|
19932
19964
|
meter_id: string;
|
|
19933
19965
|
/**
|
|
19934
|
-
* meter
|
|
19966
|
+
* The meter associated with this subscription.
|
|
19935
19967
|
*/
|
|
19936
19968
|
meter: Meter;
|
|
19937
19969
|
}
|
|
@@ -21733,7 +21765,7 @@ interface WebhookDelivery {
|
|
|
21733
21765
|
*/
|
|
21734
21766
|
response: string | null;
|
|
21735
21767
|
/**
|
|
21736
|
-
*
|
|
21768
|
+
* The webhook event sent by this delivery.
|
|
21737
21769
|
*/
|
|
21738
21770
|
webhook_event: WebhookEvent;
|
|
21739
21771
|
}
|
|
@@ -21766,7 +21798,7 @@ interface WebhookEndpoint {
|
|
|
21766
21798
|
*/
|
|
21767
21799
|
api_version: string;
|
|
21768
21800
|
/**
|
|
21769
|
-
* format
|
|
21801
|
+
* The format of the webhook payload.
|
|
21770
21802
|
*/
|
|
21771
21803
|
format: WebhookFormat;
|
|
21772
21804
|
/**
|
|
@@ -21807,7 +21839,7 @@ interface WebhookEndpointCreate {
|
|
|
21807
21839
|
*/
|
|
21808
21840
|
api_version?: ApiVersion;
|
|
21809
21841
|
/**
|
|
21810
|
-
* format
|
|
21842
|
+
* The format of the webhook payload.
|
|
21811
21843
|
*/
|
|
21812
21844
|
format: WebhookFormat;
|
|
21813
21845
|
/**
|
|
@@ -21891,7 +21923,7 @@ interface WebhookEvent {
|
|
|
21891
21923
|
*/
|
|
21892
21924
|
payload: string | null;
|
|
21893
21925
|
/**
|
|
21894
|
-
* type
|
|
21926
|
+
* The type of the webhook event.
|
|
21895
21927
|
*/
|
|
21896
21928
|
type: WebhookEventType;
|
|
21897
21929
|
/**
|
|
@@ -22021,4 +22053,4 @@ type SubscriptionUpdate = SubscriptionUpdateBase | SubscriptionUpdateSeats | Sub
|
|
|
22021
22053
|
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;
|
|
22022
22054
|
//#endregion
|
|
22023
22055
|
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 };
|
|
22024
|
-
//# sourceMappingURL=models-
|
|
22056
|
+
//# sourceMappingURL=models-gTcPxL8r.d.mts.map
|