@polar-sh/sdk 1.0.0-alpha.22 → 1.0.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/.agents/skills/polar-typescript-sdk/SKILL.md +4 -4
- package/.agents/skills/polar-typescript-sdk/references/migration-from-v0.md +1 -1
- package/.agents/skills/polar-typescript-sdk/references/usage-events.md +1 -1
- package/.agents/skills/polar-typescript-sdk/references/webhooks.md +1 -1
- package/README.md +22 -8
- package/dist/2026-04/index.cjs +4 -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 +4 -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 +7 -1
- package/dist/2026-04/services/checkouts.cjs.map +1 -1
- package/dist/2026-04/services/checkouts.d.cts +2 -2
- package/dist/2026-04/services/checkouts.d.cts.map +1 -1
- package/dist/2026-04/services/checkouts.d.mts +2 -2
- package/dist/2026-04/services/checkouts.d.mts.map +1 -1
- package/dist/2026-04/services/checkouts.mjs +7 -1
- package/dist/2026-04/services/checkouts.mjs.map +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 +4 -4
- package/dist/2026-04/services/customer_portal/index.d.cts.map +1 -1
- package/dist/2026-04/services/customer_portal/index.d.mts +4 -4
- package/dist/2026-04/services/customer_portal/index.d.mts.map +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.cjs +8 -6
- package/dist/2026-04/services/customer_portal/license_keys.cjs.map +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.d.cts +6 -6
- package/dist/2026-04/services/customer_portal/license_keys.d.cts.map +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.d.mts +6 -6
- package/dist/2026-04/services/customer_portal/license_keys.d.mts.map +1 -1
- package/dist/2026-04/services/customer_portal/license_keys.mjs +8 -6
- package/dist/2026-04/services/customer_portal/license_keys.mjs.map +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.mts +2 -2
- 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 +9 -7
- package/dist/2026-04/services/license_keys.cjs.map +1 -1
- package/dist/2026-04/services/license_keys.d.cts +6 -6
- package/dist/2026-04/services/license_keys.d.cts.map +1 -1
- package/dist/2026-04/services/license_keys.d.mts +6 -6
- package/dist/2026-04/services/license_keys.d.mts.map +1 -1
- package/dist/2026-04/services/license_keys.mjs +9 -7
- package/dist/2026-04/services/license_keys.mjs.map +1 -1
- package/dist/2026-04/services/meters.cjs +1 -1
- package/dist/2026-04/services/meters.d.cts +2 -2
- package/dist/2026-04/services/meters.d.mts +2 -2
- package/dist/2026-04/services/meters.mjs +1 -1
- package/dist/2026-04/services/metrics.cjs +1 -1
- package/dist/2026-04/services/metrics.d.cts +2 -2
- package/dist/2026-04/services/metrics.d.mts +2 -2
- package/dist/2026-04/services/metrics.mjs +1 -1
- package/dist/2026-04/services/oauth2/clients/index.d.cts +2 -2
- package/dist/2026-04/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.cjs +1 -1
- package/dist/2026-04/services/oauth2/clients/oauth2.d.cts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.d.mts +2 -2
- package/dist/2026-04/services/oauth2/clients/oauth2.mjs +1 -1
- package/dist/2026-04/services/oauth2/index.d.cts +2 -2
- package/dist/2026-04/services/oauth2/index.d.mts +2 -2
- package/dist/2026-04/services/orders.cjs +1 -1
- package/dist/2026-04/services/orders.d.cts +2 -2
- package/dist/2026-04/services/orders.d.mts +2 -2
- package/dist/2026-04/services/orders.mjs +1 -1
- package/dist/2026-04/services/organizations.cjs +1 -1
- package/dist/2026-04/services/organizations.d.cts +2 -2
- package/dist/2026-04/services/organizations.d.mts +2 -2
- package/dist/2026-04/services/organizations.mjs +1 -1
- package/dist/2026-04/services/payments.cjs +1 -1
- package/dist/2026-04/services/payments.d.cts +2 -2
- package/dist/2026-04/services/payments.d.mts +2 -2
- package/dist/2026-04/services/payments.mjs +1 -1
- package/dist/2026-04/services/products.cjs +35 -1
- package/dist/2026-04/services/products.cjs.map +1 -1
- package/dist/2026-04/services/products.d.cts +5 -3
- package/dist/2026-04/services/products.d.cts.map +1 -1
- package/dist/2026-04/services/products.d.mts +5 -3
- package/dist/2026-04/services/products.d.mts.map +1 -1
- package/dist/2026-04/services/products.mjs +35 -2
- package/dist/2026-04/services/products.mjs.map +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 +4 -4
- package/dist/2026-04/services/subscriptions.cjs.map +1 -1
- package/dist/2026-04/services/subscriptions.d.cts +2 -2
- package/dist/2026-04/services/subscriptions.d.mts +2 -2
- package/dist/2026-04/services/subscriptions.mjs +4 -4
- package/dist/2026-04/services/subscriptions.mjs.map +1 -1
- package/dist/2026-04/services/webhooks.cjs +1 -1
- package/dist/2026-04/services/webhooks.d.cts +2 -2
- package/dist/2026-04/services/webhooks.d.mts +2 -2
- package/dist/2026-04/services/webhooks.mjs +1 -1
- package/dist/2026-10/index.cjs +4 -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 +4 -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 +7 -1
- package/dist/2026-10/services/checkouts.cjs.map +1 -1
- package/dist/2026-10/services/checkouts.d.cts +2 -2
- package/dist/2026-10/services/checkouts.d.cts.map +1 -1
- package/dist/2026-10/services/checkouts.d.mts +2 -2
- package/dist/2026-10/services/checkouts.d.mts.map +1 -1
- package/dist/2026-10/services/checkouts.mjs +7 -1
- package/dist/2026-10/services/checkouts.mjs.map +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 +4 -4
- package/dist/2026-10/services/customer_portal/index.d.cts.map +1 -1
- package/dist/2026-10/services/customer_portal/index.d.mts +4 -4
- package/dist/2026-10/services/customer_portal/index.d.mts.map +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.cjs +8 -6
- package/dist/2026-10/services/customer_portal/license_keys.cjs.map +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.d.cts +6 -6
- package/dist/2026-10/services/customer_portal/license_keys.d.cts.map +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.d.mts +6 -6
- package/dist/2026-10/services/customer_portal/license_keys.d.mts.map +1 -1
- package/dist/2026-10/services/customer_portal/license_keys.mjs +8 -6
- package/dist/2026-10/services/customer_portal/license_keys.mjs.map +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.mts +2 -2
- 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 +9 -7
- package/dist/2026-10/services/license_keys.cjs.map +1 -1
- package/dist/2026-10/services/license_keys.d.cts +6 -6
- package/dist/2026-10/services/license_keys.d.cts.map +1 -1
- package/dist/2026-10/services/license_keys.d.mts +6 -6
- package/dist/2026-10/services/license_keys.d.mts.map +1 -1
- package/dist/2026-10/services/license_keys.mjs +9 -7
- package/dist/2026-10/services/license_keys.mjs.map +1 -1
- package/dist/2026-10/services/meters.cjs +1 -1
- package/dist/2026-10/services/meters.d.cts +2 -2
- package/dist/2026-10/services/meters.d.mts +2 -2
- package/dist/2026-10/services/meters.mjs +1 -1
- package/dist/2026-10/services/metrics.cjs +1 -1
- package/dist/2026-10/services/metrics.d.cts +2 -2
- package/dist/2026-10/services/metrics.d.mts +2 -2
- package/dist/2026-10/services/metrics.mjs +1 -1
- package/dist/2026-10/services/oauth2/clients/index.d.cts +2 -2
- package/dist/2026-10/services/oauth2/clients/index.d.mts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.cjs +1 -1
- package/dist/2026-10/services/oauth2/clients/oauth2.d.cts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.d.mts +2 -2
- package/dist/2026-10/services/oauth2/clients/oauth2.mjs +1 -1
- package/dist/2026-10/services/oauth2/index.d.cts +2 -2
- package/dist/2026-10/services/oauth2/index.d.mts +2 -2
- package/dist/2026-10/services/orders.cjs +1 -1
- package/dist/2026-10/services/orders.d.cts +2 -2
- package/dist/2026-10/services/orders.d.mts +2 -2
- package/dist/2026-10/services/orders.mjs +1 -1
- package/dist/2026-10/services/organizations.cjs +1 -1
- package/dist/2026-10/services/organizations.d.cts +2 -2
- package/dist/2026-10/services/organizations.d.mts +2 -2
- package/dist/2026-10/services/organizations.mjs +1 -1
- package/dist/2026-10/services/payments.cjs +1 -1
- package/dist/2026-10/services/payments.d.cts +2 -2
- package/dist/2026-10/services/payments.d.mts +2 -2
- package/dist/2026-10/services/payments.mjs +1 -1
- package/dist/2026-10/services/products.cjs +35 -1
- package/dist/2026-10/services/products.cjs.map +1 -1
- package/dist/2026-10/services/products.d.cts +5 -3
- package/dist/2026-10/services/products.d.cts.map +1 -1
- package/dist/2026-10/services/products.d.mts +5 -3
- package/dist/2026-10/services/products.d.mts.map +1 -1
- package/dist/2026-10/services/products.mjs +35 -2
- package/dist/2026-10/services/products.mjs.map +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 +4 -4
- package/dist/2026-10/services/subscriptions.cjs.map +1 -1
- package/dist/2026-10/services/subscriptions.d.cts +2 -2
- package/dist/2026-10/services/subscriptions.d.mts +2 -2
- package/dist/2026-10/services/subscriptions.mjs +4 -4
- package/dist/2026-10/services/subscriptions.mjs.map +1 -1
- package/dist/2026-10/services/webhooks.cjs +1 -1
- package/dist/2026-10/services/webhooks.d.cts +2 -2
- package/dist/2026-10/services/webhooks.d.mts +2 -2
- package/dist/2026-10/services/webhooks.mjs +1 -1
- package/dist/2027-01/index.cjs +158 -0
- package/dist/2027-01/index.cjs.map +1 -0
- package/dist/2027-01/index.d.cts +4 -0
- package/dist/2027-01/index.d.mts +4 -0
- package/dist/2027-01/index.mjs +138 -0
- package/dist/2027-01/index.mjs.map +1 -0
- package/dist/2027-01/services/benefit_grants.cjs +76 -0
- package/dist/2027-01/services/benefit_grants.cjs.map +1 -0
- package/dist/2027-01/services/benefit_grants.d.cts +58 -0
- package/dist/2027-01/services/benefit_grants.d.cts.map +1 -0
- package/dist/2027-01/services/benefit_grants.d.mts +58 -0
- package/dist/2027-01/services/benefit_grants.d.mts.map +1 -0
- package/dist/2027-01/services/benefit_grants.mjs +73 -0
- package/dist/2027-01/services/benefit_grants.mjs.map +1 -0
- package/dist/2027-01/services/benefits.cjs +329 -0
- package/dist/2027-01/services/benefits.cjs.map +1 -0
- package/dist/2027-01/services/benefits.d.cts +150 -0
- package/dist/2027-01/services/benefits.d.cts.map +1 -0
- package/dist/2027-01/services/benefits.d.mts +150 -0
- package/dist/2027-01/services/benefits.d.mts.map +1 -0
- package/dist/2027-01/services/benefits.mjs +318 -0
- package/dist/2027-01/services/benefits.mjs.map +1 -0
- package/dist/2027-01/services/checkout_links.cjs +178 -0
- package/dist/2027-01/services/checkout_links.cjs.map +1 -0
- package/dist/2027-01/services/checkout_links.d.cts +58 -0
- package/dist/2027-01/services/checkout_links.d.cts.map +1 -0
- package/dist/2027-01/services/checkout_links.d.mts +58 -0
- package/dist/2027-01/services/checkout_links.d.mts.map +1 -0
- package/dist/2027-01/services/checkout_links.mjs +171 -0
- package/dist/2027-01/services/checkout_links.mjs.map +1 -0
- package/dist/2027-01/services/checkouts.cjs +254 -0
- package/dist/2027-01/services/checkouts.cjs.map +1 -0
- package/dist/2027-01/services/checkouts.d.cts +78 -0
- package/dist/2027-01/services/checkouts.d.cts.map +1 -0
- package/dist/2027-01/services/checkouts.d.mts +78 -0
- package/dist/2027-01/services/checkouts.d.mts.map +1 -0
- package/dist/2027-01/services/checkouts.mjs +245 -0
- package/dist/2027-01/services/checkouts.mjs.map +1 -0
- package/dist/2027-01/services/custom_fields.cjs +179 -0
- package/dist/2027-01/services/custom_fields.cjs.map +1 -0
- package/dist/2027-01/services/custom_fields.d.cts +62 -0
- package/dist/2027-01/services/custom_fields.d.cts.map +1 -0
- package/dist/2027-01/services/custom_fields.d.mts +62 -0
- package/dist/2027-01/services/custom_fields.d.mts.map +1 -0
- package/dist/2027-01/services/custom_fields.mjs +172 -0
- package/dist/2027-01/services/custom_fields.mjs.map +1 -0
- package/dist/2027-01/services/customer_meters.cjs +103 -0
- package/dist/2027-01/services/customer_meters.cjs.map +1 -0
- package/dist/2027-01/services/customer_meters.d.cts +60 -0
- package/dist/2027-01/services/customer_meters.d.cts.map +1 -0
- package/dist/2027-01/services/customer_meters.d.mts +60 -0
- package/dist/2027-01/services/customer_meters.d.mts.map +1 -0
- package/dist/2027-01/services/customer_meters.mjs +99 -0
- package/dist/2027-01/services/customer_meters.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.cjs +136 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.d.cts +74 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.d.mts +74 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.mjs +131 -0
- package/dist/2027-01/services/customer_portal/benefit_grants.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_meters.cjs +101 -0
- package/dist/2027-01/services/customer_portal/customer_meters.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_meters.d.cts +52 -0
- package/dist/2027-01/services/customer_portal/customer_meters.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_meters.d.mts +52 -0
- package/dist/2027-01/services/customer_portal/customer_meters.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_meters.mjs +97 -0
- package/dist/2027-01/services/customer_portal/customer_meters.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_session.cjs +50 -0
- package/dist/2027-01/services/customer_portal/customer_session.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_session.d.cts +13 -0
- package/dist/2027-01/services/customer_portal/customer_session.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_session.d.mts +13 -0
- package/dist/2027-01/services/customer_portal/customer_session.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/customer_session.mjs +47 -0
- package/dist/2027-01/services/customer_portal/customer_session.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customers.cjs +252 -0
- package/dist/2027-01/services/customer_portal/customers.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/customers.d.cts +56 -0
- package/dist/2027-01/services/customer_portal/customers.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/customers.d.mts +56 -0
- package/dist/2027-01/services/customer_portal/customers.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/customers.mjs +241 -0
- package/dist/2027-01/services/customer_portal/customers.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/downloadables.cjs +68 -0
- package/dist/2027-01/services/customer_portal/downloadables.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/downloadables.d.cts +40 -0
- package/dist/2027-01/services/customer_portal/downloadables.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/downloadables.d.mts +40 -0
- package/dist/2027-01/services/customer_portal/downloadables.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/downloadables.mjs +65 -0
- package/dist/2027-01/services/customer_portal/downloadables.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/index.cjs +34 -0
- package/dist/2027-01/services/customer_portal/index.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/index.d.cts +201 -0
- package/dist/2027-01/services/customer_portal/index.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/index.d.mts +201 -0
- package/dist/2027-01/services/customer_portal/index.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/index.mjs +33 -0
- package/dist/2027-01/services/customer_portal/index.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/license_keys.cjs +229 -0
- package/dist/2027-01/services/customer_portal/license_keys.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/license_keys.d.cts +52 -0
- package/dist/2027-01/services/customer_portal/license_keys.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/license_keys.d.mts +52 -0
- package/dist/2027-01/services/customer_portal/license_keys.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/license_keys.mjs +221 -0
- package/dist/2027-01/services/customer_portal/license_keys.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/members.cjs +188 -0
- package/dist/2027-01/services/customer_portal/members.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/members.d.cts +46 -0
- package/dist/2027-01/services/customer_portal/members.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/members.d.mts +46 -0
- package/dist/2027-01/services/customer_portal/members.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/members.mjs +182 -0
- package/dist/2027-01/services/customer_portal/members.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/orders.cjs +255 -0
- package/dist/2027-01/services/customer_portal/orders.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/orders.d.cts +70 -0
- package/dist/2027-01/services/customer_portal/orders.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/orders.d.mts +70 -0
- package/dist/2027-01/services/customer_portal/orders.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/orders.mjs +245 -0
- package/dist/2027-01/services/customer_portal/orders.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/organizations.cjs +34 -0
- package/dist/2027-01/services/customer_portal/organizations.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/organizations.d.cts +11 -0
- package/dist/2027-01/services/customer_portal/organizations.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/organizations.d.mts +11 -0
- package/dist/2027-01/services/customer_portal/organizations.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/organizations.mjs +32 -0
- package/dist/2027-01/services/customer_portal/organizations.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/seats.cjs +196 -0
- package/dist/2027-01/services/customer_portal/seats.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/seats.d.cts +53 -0
- package/dist/2027-01/services/customer_portal/seats.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/seats.d.mts +53 -0
- package/dist/2027-01/services/customer_portal/seats.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/seats.mjs +189 -0
- package/dist/2027-01/services/customer_portal/seats.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/subscriptions.cjs +161 -0
- package/dist/2027-01/services/customer_portal/subscriptions.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/subscriptions.d.cts +60 -0
- package/dist/2027-01/services/customer_portal/subscriptions.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/subscriptions.d.mts +60 -0
- package/dist/2027-01/services/customer_portal/subscriptions.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/subscriptions.mjs +155 -0
- package/dist/2027-01/services/customer_portal/subscriptions.mjs.map +1 -0
- package/dist/2027-01/services/customer_portal/wallets.cjs +93 -0
- package/dist/2027-01/services/customer_portal/wallets.cjs.map +1 -0
- package/dist/2027-01/services/customer_portal/wallets.d.cts +42 -0
- package/dist/2027-01/services/customer_portal/wallets.d.cts.map +1 -0
- package/dist/2027-01/services/customer_portal/wallets.d.mts +42 -0
- package/dist/2027-01/services/customer_portal/wallets.d.mts.map +1 -0
- package/dist/2027-01/services/customer_portal/wallets.mjs +89 -0
- package/dist/2027-01/services/customer_portal/wallets.mjs.map +1 -0
- package/dist/2027-01/services/customer_seats.cjs +187 -0
- package/dist/2027-01/services/customer_seats.cjs.map +1 -0
- package/dist/2027-01/services/customer_seats.d.cts +27 -0
- package/dist/2027-01/services/customer_seats.d.cts.map +1 -0
- package/dist/2027-01/services/customer_seats.d.mts +27 -0
- package/dist/2027-01/services/customer_seats.d.mts.map +1 -0
- package/dist/2027-01/services/customer_seats.mjs +180 -0
- package/dist/2027-01/services/customer_seats.mjs.map +1 -0
- package/dist/2027-01/services/customer_sessions.cjs +38 -0
- package/dist/2027-01/services/customer_sessions.cjs.map +1 -0
- package/dist/2027-01/services/customer_sessions.d.cts +11 -0
- package/dist/2027-01/services/customer_sessions.d.cts.map +1 -0
- package/dist/2027-01/services/customer_sessions.d.mts +11 -0
- package/dist/2027-01/services/customer_sessions.d.mts.map +1 -0
- package/dist/2027-01/services/customer_sessions.mjs +36 -0
- package/dist/2027-01/services/customer_sessions.mjs.map +1 -0
- package/dist/2027-01/services/customers/index.cjs +511 -0
- package/dist/2027-01/services/customers/index.cjs.map +1 -0
- package/dist/2027-01/services/customers/index.d.cts +190 -0
- package/dist/2027-01/services/customers/index.d.cts.map +1 -0
- package/dist/2027-01/services/customers/index.d.mts +190 -0
- package/dist/2027-01/services/customers/index.d.mts.map +1 -0
- package/dist/2027-01/services/customers/index.mjs +494 -0
- package/dist/2027-01/services/customers/index.mjs.map +1 -0
- package/dist/2027-01/services/customers/members.cjs +413 -0
- package/dist/2027-01/services/customers/members.cjs.map +1 -0
- package/dist/2027-01/services/customers/members.d.cts +104 -0
- package/dist/2027-01/services/customers/members.d.cts.map +1 -0
- package/dist/2027-01/services/customers/members.d.mts +104 -0
- package/dist/2027-01/services/customers/members.d.mts.map +1 -0
- package/dist/2027-01/services/customers/members.mjs +400 -0
- package/dist/2027-01/services/customers/members.mjs.map +1 -0
- package/dist/2027-01/services/discounts.cjs +178 -0
- package/dist/2027-01/services/discounts.cjs.map +1 -0
- package/dist/2027-01/services/discounts.d.cts +58 -0
- package/dist/2027-01/services/discounts.d.cts.map +1 -0
- package/dist/2027-01/services/discounts.d.mts +58 -0
- package/dist/2027-01/services/discounts.d.mts.map +1 -0
- package/dist/2027-01/services/discounts.mjs +171 -0
- package/dist/2027-01/services/discounts.mjs.map +1 -0
- package/dist/2027-01/services/disputes.cjs +134 -0
- package/dist/2027-01/services/disputes.cjs.map +1 -0
- package/dist/2027-01/services/disputes.d.cts +58 -0
- package/dist/2027-01/services/disputes.d.cts.map +1 -0
- package/dist/2027-01/services/disputes.d.mts +58 -0
- package/dist/2027-01/services/disputes.d.mts.map +1 -0
- package/dist/2027-01/services/disputes.mjs +129 -0
- package/dist/2027-01/services/disputes.mjs.map +1 -0
- package/dist/2027-01/services/event_types.cjs +107 -0
- package/dist/2027-01/services/event_types.cjs.map +1 -0
- package/dist/2027-01/services/event_types.d.cts +72 -0
- package/dist/2027-01/services/event_types.d.cts.map +1 -0
- package/dist/2027-01/services/event_types.d.mts +72 -0
- package/dist/2027-01/services/event_types.d.mts.map +1 -0
- package/dist/2027-01/services/event_types.mjs +103 -0
- package/dist/2027-01/services/event_types.mjs.map +1 -0
- package/dist/2027-01/services/events.cjs +167 -0
- package/dist/2027-01/services/events.cjs.map +1 -0
- package/dist/2027-01/services/events.d.cts +102 -0
- package/dist/2027-01/services/events.d.cts.map +1 -0
- package/dist/2027-01/services/events.d.mts +102 -0
- package/dist/2027-01/services/events.d.mts.map +1 -0
- package/dist/2027-01/services/events.mjs +161 -0
- package/dist/2027-01/services/events.mjs.map +1 -0
- package/dist/2027-01/services/files.cjs +184 -0
- package/dist/2027-01/services/files.cjs.map +1 -0
- package/dist/2027-01/services/files.d.cts +54 -0
- package/dist/2027-01/services/files.d.cts.map +1 -0
- package/dist/2027-01/services/files.d.mts +54 -0
- package/dist/2027-01/services/files.d.mts.map +1 -0
- package/dist/2027-01/services/files.mjs +177 -0
- package/dist/2027-01/services/files.mjs.map +1 -0
- package/dist/2027-01/services/license_keys.cjs +291 -0
- package/dist/2027-01/services/license_keys.cjs.map +1 -0
- package/dist/2027-01/services/license_keys.d.cts +66 -0
- package/dist/2027-01/services/license_keys.d.cts.map +1 -0
- package/dist/2027-01/services/license_keys.d.mts +66 -0
- package/dist/2027-01/services/license_keys.d.mts.map +1 -0
- package/dist/2027-01/services/license_keys.mjs +281 -0
- package/dist/2027-01/services/license_keys.mjs.map +1 -0
- package/dist/2027-01/services/meters.cjs +191 -0
- package/dist/2027-01/services/meters.cjs.map +1 -0
- package/dist/2027-01/services/meters.d.cts +84 -0
- package/dist/2027-01/services/meters.d.cts.map +1 -0
- package/dist/2027-01/services/meters.d.mts +84 -0
- package/dist/2027-01/services/meters.d.mts.map +1 -0
- package/dist/2027-01/services/meters.mjs +184 -0
- package/dist/2027-01/services/meters.mjs.map +1 -0
- package/dist/2027-01/services/metrics.cjs +217 -0
- package/dist/2027-01/services/metrics.cjs.map +1 -0
- package/dist/2027-01/services/metrics.d.cts +69 -0
- package/dist/2027-01/services/metrics.d.cts.map +1 -0
- package/dist/2027-01/services/metrics.d.mts +69 -0
- package/dist/2027-01/services/metrics.d.mts.map +1 -0
- package/dist/2027-01/services/metrics.mjs +208 -0
- package/dist/2027-01/services/metrics.mjs.map +1 -0
- package/dist/2027-01/services/oauth2/clients/index.cjs +10 -0
- package/dist/2027-01/services/oauth2/clients/index.cjs.map +1 -0
- package/dist/2027-01/services/oauth2/clients/index.d.cts +15 -0
- package/dist/2027-01/services/oauth2/clients/index.d.cts.map +1 -0
- package/dist/2027-01/services/oauth2/clients/index.d.mts +15 -0
- package/dist/2027-01/services/oauth2/clients/index.d.mts.map +1 -0
- package/dist/2027-01/services/oauth2/clients/index.mjs +9 -0
- package/dist/2027-01/services/oauth2/clients/index.mjs.map +1 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.cjs +95 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.cjs.map +1 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.d.cts +17 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.d.cts.map +1 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.d.mts +17 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.d.mts.map +1 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.mjs +90 -0
- package/dist/2027-01/services/oauth2/clients/oauth2.mjs.map +1 -0
- package/dist/2027-01/services/oauth2/index.cjs +101 -0
- package/dist/2027-01/services/oauth2/index.cjs.map +1 -0
- package/dist/2027-01/services/oauth2/index.d.cts +27 -0
- package/dist/2027-01/services/oauth2/index.d.cts.map +1 -0
- package/dist/2027-01/services/oauth2/index.d.mts +27 -0
- package/dist/2027-01/services/oauth2/index.d.mts.map +1 -0
- package/dist/2027-01/services/oauth2/index.mjs +95 -0
- package/dist/2027-01/services/oauth2/index.mjs.map +1 -0
- package/dist/2027-01/services/orders.cjs +320 -0
- package/dist/2027-01/services/orders.cjs.map +1 -0
- package/dist/2027-01/services/orders.d.cts +122 -0
- package/dist/2027-01/services/orders.d.cts.map +1 -0
- package/dist/2027-01/services/orders.d.mts +122 -0
- package/dist/2027-01/services/orders.d.mts.map +1 -0
- package/dist/2027-01/services/orders.mjs +309 -0
- package/dist/2027-01/services/orders.mjs.map +1 -0
- package/dist/2027-01/services/organizations.cjs +158 -0
- package/dist/2027-01/services/organizations.cjs.map +1 -0
- package/dist/2027-01/services/organizations.d.cts +52 -0
- package/dist/2027-01/services/organizations.d.cts.map +1 -0
- package/dist/2027-01/services/organizations.d.mts +52 -0
- package/dist/2027-01/services/organizations.d.mts.map +1 -0
- package/dist/2027-01/services/organizations.mjs +152 -0
- package/dist/2027-01/services/organizations.mjs.map +1 -0
- package/dist/2027-01/services/payments.cjs +106 -0
- package/dist/2027-01/services/payments.cjs.map +1 -0
- package/dist/2027-01/services/payments.d.cts +72 -0
- package/dist/2027-01/services/payments.d.cts.map +1 -0
- package/dist/2027-01/services/payments.d.mts +72 -0
- package/dist/2027-01/services/payments.d.mts.map +1 -0
- package/dist/2027-01/services/payments.mjs +102 -0
- package/dist/2027-01/services/payments.mjs.map +1 -0
- package/dist/2027-01/services/products.cjs +223 -0
- package/dist/2027-01/services/products.cjs.map +1 -0
- package/dist/2027-01/services/products.d.cts +84 -0
- package/dist/2027-01/services/products.d.cts.map +1 -0
- package/dist/2027-01/services/products.d.mts +84 -0
- package/dist/2027-01/services/products.d.mts.map +1 -0
- package/dist/2027-01/services/products.mjs +215 -0
- package/dist/2027-01/services/products.mjs.map +1 -0
- package/dist/2027-01/services/refunds.cjs +105 -0
- package/dist/2027-01/services/refunds.cjs.map +1 -0
- package/dist/2027-01/services/refunds.d.cts +72 -0
- package/dist/2027-01/services/refunds.d.cts.map +1 -0
- package/dist/2027-01/services/refunds.d.mts +72 -0
- package/dist/2027-01/services/refunds.d.mts.map +1 -0
- package/dist/2027-01/services/refunds.mjs +101 -0
- package/dist/2027-01/services/refunds.mjs.map +1 -0
- package/dist/2027-01/services/subscriptions.cjs +238 -0
- package/dist/2027-01/services/subscriptions.cjs.map +1 -0
- package/dist/2027-01/services/subscriptions.d.cts +126 -0
- package/dist/2027-01/services/subscriptions.d.cts.map +1 -0
- package/dist/2027-01/services/subscriptions.d.mts +126 -0
- package/dist/2027-01/services/subscriptions.d.mts.map +1 -0
- package/dist/2027-01/services/subscriptions.mjs +230 -0
- package/dist/2027-01/services/subscriptions.mjs.map +1 -0
- package/dist/2027-01/services/webhooks.cjs +301 -0
- package/dist/2027-01/services/webhooks.cjs.map +1 -0
- package/dist/2027-01/services/webhooks.d.cts +113 -0
- package/dist/2027-01/services/webhooks.d.cts.map +1 -0
- package/dist/2027-01/services/webhooks.d.mts +113 -0
- package/dist/2027-01/services/webhooks.d.mts.map +1 -0
- package/dist/2027-01/services/webhooks.mjs +290 -0
- package/dist/2027-01/services/webhooks.mjs.map +1 -0
- package/dist/{base-CpxoQZCZ.mjs → base-BUt6nZzk.mjs} +10 -7
- package/dist/base-BUt6nZzk.mjs.map +1 -0
- package/dist/{base-D83CMR-Q.cjs → base-Cg2wDLWs.cjs} +10 -7
- package/dist/base-Cg2wDLWs.cjs.map +1 -0
- package/dist/{base-C5EE71lz.d.cts → base-CpfZ-knN.d.cts} +3 -1
- package/dist/base-CpfZ-knN.d.cts.map +1 -0
- package/dist/{base-C5EE71lz.d.mts → base-CpfZ-knN.d.mts} +3 -1
- package/dist/base-CpfZ-knN.d.mts.map +1 -0
- package/dist/{errors-D1yM2ZQm.mjs → errors-4m1zzDNv.mjs} +63 -7
- package/dist/errors-4m1zzDNv.mjs.map +1 -0
- package/dist/{errors-BfEghQ77.cjs → errors-CmYJfQ1c.cjs} +86 -6
- package/dist/errors-CmYJfQ1c.cjs.map +1 -0
- package/dist/{errors-hhbDe5ap.mjs → errors-dHVoRfxX.mjs} +63 -7
- package/dist/errors-dHVoRfxX.mjs.map +1 -0
- package/dist/{errors-CPJ329AT.cjs → errors-o_AM61cd.cjs} +86 -6
- package/dist/errors-o_AM61cd.cjs.map +1 -0
- package/dist/errors-yvjiVcrn.mjs +1255 -0
- package/dist/errors-yvjiVcrn.mjs.map +1 -0
- package/dist/errors-zDhzqvA4.cjs +1794 -0
- package/dist/errors-zDhzqvA4.cjs.map +1 -0
- package/dist/{index-B2fgIdg-.d.cts → index-3FVEKx0W.d.mts} +87 -19
- package/dist/index-3FVEKx0W.d.mts.map +1 -0
- package/dist/{index-BDWUg8uj.d.cts → index-B55JAK0b.d.mts} +87 -19
- package/dist/index-B55JAK0b.d.mts.map +1 -0
- package/dist/index-BMjPRZtD.d.cts +2738 -0
- package/dist/index-BMjPRZtD.d.cts.map +1 -0
- package/dist/{index-JEL0D7T4.d.mts → index-C8c-dYJD.d.cts} +87 -19
- package/dist/index-C8c-dYJD.d.cts.map +1 -0
- package/dist/index-DnHIyHi7.d.mts +2738 -0
- package/dist/index-DnHIyHi7.d.mts.map +1 -0
- package/dist/{index-DTqVgla2.d.mts → index-jG5MmDUr.d.cts} +87 -19
- package/dist/index-jG5MmDUr.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-BTZ91Hmo.d.cts → models-772bIFO1.d.cts} +332 -60
- package/dist/models-772bIFO1.d.cts.map +1 -0
- package/dist/{models-BTZ91Hmo.d.mts → models-772bIFO1.d.mts} +332 -60
- package/dist/models-772bIFO1.d.mts.map +1 -0
- package/dist/models-B0yaXFSN.d.cts +22163 -0
- package/dist/models-B0yaXFSN.d.cts.map +1 -0
- package/dist/models-B0yaXFSN.d.mts +22163 -0
- package/dist/models-B0yaXFSN.d.mts.map +1 -0
- package/dist/{models-D3N1jo2G.d.cts → models-DHD3CJOb.d.cts} +387 -17
- package/dist/models-DHD3CJOb.d.cts.map +1 -0
- package/dist/{models-D3N1jo2G.d.mts → models-DHD3CJOb.d.mts} +387 -17
- package/dist/models-DHD3CJOb.d.mts.map +1 -0
- package/dist/{webhooks-BIIRAEZ9.d.mts → webhooks-BVH79cBZ.d.mts} +2 -2
- package/dist/{webhooks-BIIRAEZ9.d.mts.map → webhooks-BVH79cBZ.d.mts.map} +1 -1
- package/dist/{webhooks-CJ5fgGEO.cjs → webhooks-CoBpD12U.cjs} +2 -2
- package/dist/{webhooks-CJ5fgGEO.cjs.map → webhooks-CoBpD12U.cjs.map} +1 -1
- package/dist/{webhooks-lgh0ADeT.mjs → webhooks-gpChtkEO.mjs} +2 -2
- package/dist/{webhooks-lgh0ADeT.mjs.map → webhooks-gpChtkEO.mjs.map} +1 -1
- package/dist/{webhooks-DfOgc4VC.d.cts → webhooks-vHNvi6WA.d.cts} +2 -2
- package/dist/{webhooks-DfOgc4VC.d.cts.map → webhooks-vHNvi6WA.d.cts.map} +1 -1
- package/package.json +51 -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/errors-BfEghQ77.cjs.map +0 -1
- package/dist/errors-CPJ329AT.cjs.map +0 -1
- package/dist/errors-D1yM2ZQm.mjs.map +0 -1
- package/dist/errors-hhbDe5ap.mjs.map +0 -1
- package/dist/index-B2fgIdg-.d.cts.map +0 -1
- package/dist/index-BDWUg8uj.d.cts.map +0 -1
- package/dist/index-DTqVgla2.d.mts.map +0 -1
- package/dist/index-JEL0D7T4.d.mts.map +0 -1
- package/dist/models-BTZ91Hmo.d.cts.map +0 -1
- package/dist/models-BTZ91Hmo.d.mts.map +0 -1
- package/dist/models-D3N1jo2G.d.cts.map +0 -1
- package/dist/models-D3N1jo2G.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_portal/organizations.ts
|
|
3
3
|
const getOrganizations = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../../errors-
|
|
2
|
+
const require_errors = require("../../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customer_portal/seats.ts
|
|
4
4
|
const listSeatsSeats = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { Ci as SeatsList, Ct as CustomerSeat, In as ListResourceCustomerSubscription, jt as CustomerSubscription, wt as CustomerSeatAssign } from "../../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/seats.d.ts
|
|
4
4
|
declare const listSeatsSeats: (client: ClientBase) => (query?: {
|
|
5
5
|
subscription_id?: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { Ci as SeatsList, Ct as CustomerSeat, In as ListResourceCustomerSubscription, jt as CustomerSubscription, wt as CustomerSeatAssign } from "../../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/seats.d.ts
|
|
4
4
|
declare const listSeatsSeats: (client: ClientBase) => (query?: {
|
|
5
5
|
subscription_id?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as CustomerPortalSeatsListClaimedSubscriptions401Error, B as CustomerPortalSeatsRevokeSeat404Error, D as CustomerPortalSeatsAssignSeat401Error, E as CustomerPortalSeatsAssignSeat400Error, F as CustomerPortalSeatsResendInvitation401Error, I as CustomerPortalSeatsResendInvitation403Error, L as CustomerPortalSeatsResendInvitation404Error, M as CustomerPortalSeatsListSeats403Error, N as CustomerPortalSeatsListSeats404Error, O as CustomerPortalSeatsAssignSeat403Error, P as CustomerPortalSeatsResendInvitation400Error, R as CustomerPortalSeatsRevokeSeat401Error, dt as HTTPValidationError, j as CustomerPortalSeatsListSeats401Error, k as CustomerPortalSeatsAssignSeat404Error, z as CustomerPortalSeatsRevokeSeat403Error } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_portal/seats.ts
|
|
3
3
|
const listSeatsSeats = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../../errors-
|
|
2
|
+
const require_errors = require("../../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customer_portal/subscriptions.ts
|
|
4
4
|
const listSubscriptions = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { In as ListResourceCustomerSubscription, Mt as CustomerSubscriptionSortProperty, Nt as CustomerSubscriptionUpdate, jt as CustomerSubscription } from "../../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/subscriptions.d.ts
|
|
4
4
|
declare const listSubscriptions: (client: ClientBase) => (query?: {
|
|
5
5
|
product_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { In as ListResourceCustomerSubscription, Mt as CustomerSubscriptionSortProperty, Nt as CustomerSubscriptionUpdate, jt as CustomerSubscription } from "../../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/subscriptions.d.ts
|
|
4
4
|
declare const listSubscriptions: (client: ClientBase) => (query?: {
|
|
5
5
|
product_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as PaymentFailed, H as CustomerPortalSubscriptionsUpdate409Error, Ot as ResourceNotFound, V as CustomerPortalSubscriptionsUpdate403Error, dt as HTTPValidationError, t as AlreadyCanceledSubscription } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_portal/subscriptions.ts
|
|
3
3
|
const listSubscriptions = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../../errors-
|
|
2
|
+
const require_errors = require("../../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customer_portal/wallets.ts
|
|
4
4
|
const listWallets = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { It as CustomerWallet, Ln as ListResourceCustomerWallet, Lt as CustomerWalletSortProperty } from "../../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/wallets.d.ts
|
|
4
4
|
declare const listWallets: (client: ClientBase) => (query?: {
|
|
5
5
|
page?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { It as CustomerWallet, Ln as ListResourceCustomerWallet, Lt as CustomerWalletSortProperty } from "../../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customer_portal/wallets.d.ts
|
|
4
4
|
declare const listWallets: (client: ClientBase) => (query?: {
|
|
5
5
|
page?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_portal/wallets.ts
|
|
3
3
|
const listWallets = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customer_seats.ts
|
|
4
4
|
const listSeatsCustomerSeats = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Ci as SeatsList, Ct as CustomerSeat, Si as SeatClaimInfo, Tt as CustomerSeatClaimResponse, bi as SeatAssign, xi as SeatClaim } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customer_seats.d.ts
|
|
4
4
|
declare const listSeatsCustomerSeats: (client: ClientBase) => (query?: {
|
|
5
5
|
subscription_id?: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Ci as SeatsList, Ct as CustomerSeat, Si as SeatClaimInfo, Tt as CustomerSeatClaimResponse, bi as SeatAssign, xi as SeatClaim } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customer_seats.d.ts
|
|
4
4
|
declare const listSeatsCustomerSeats: (client: ClientBase) => (query?: {
|
|
5
5
|
subscription_id?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as CustomerSeatsListSeats403Error, G as CustomerSeatsAssignSeat403Error, J as CustomerSeatsClaimSeat403Error, K as CustomerSeatsAssignSeat404Error, Q as CustomerSeatsListSeats401Error, U as CustomerSeatsAssignSeat400Error, W as CustomerSeatsAssignSeat401Error, X as CustomerSeatsGetClaimInfo403Error, Y as CustomerSeatsGetClaimInfo400Error, Z as CustomerSeatsGetClaimInfo404Error, at as CustomerSeatsRevokeSeat401Error, dt as HTTPValidationError, et as CustomerSeatsListSeats404Error, it as CustomerSeatsResendInvitation404Error, nt as CustomerSeatsResendInvitation401Error, ot as CustomerSeatsRevokeSeat403Error, q as CustomerSeatsClaimSeat400Error, rt as CustomerSeatsResendInvitation403Error, st as CustomerSeatsRevokeSeat404Error, tt as CustomerSeatsResendInvitation400Error } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_seats.ts
|
|
3
3
|
const listSeatsCustomerSeats = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customer_sessions.ts
|
|
4
4
|
const createCustomerSessions = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Dt as CustomerSessionCustomerExternalIDCreate, Et as CustomerSession, Ot as CustomerSessionCustomerIDCreate } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customer_sessions.d.ts
|
|
4
4
|
declare const createCustomerSessions: (client: ClientBase) => (body: CustomerSessionCustomerIDCreate | CustomerSessionCustomerExternalIDCreate, requestOptions?: RequestOptions) => Promise<CustomerSession>;
|
|
5
5
|
declare function createCustomerSessionsService(client: ClientBase): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Dt as CustomerSessionCustomerExternalIDCreate, Et as CustomerSession, Ot as CustomerSessionCustomerIDCreate } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customer_sessions.d.ts
|
|
4
4
|
declare const createCustomerSessions: (client: ClientBase) => (body: CustomerSessionCustomerIDCreate | CustomerSessionCustomerExternalIDCreate, requestOptions?: RequestOptions) => Promise<CustomerSession>;
|
|
5
5
|
declare function createCustomerSessionsService(client: ClientBase): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dt as HTTPValidationError, n as AmbiguousExternalCustomerID } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customer_sessions.ts
|
|
3
3
|
const createCustomerSessions = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../../errors-
|
|
2
|
+
const require_errors = require("../../../errors-o_AM61cd.cjs");
|
|
3
3
|
const require_2026_04_services_customers_members = require("./members.cjs");
|
|
4
4
|
//#region src/2026-04/services/customers/index.ts
|
|
5
5
|
const listCustomers = (client) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { At as CustomerState, Ft as CustomerUpdateExternalID, Kn as ListResourceMember, Pt as CustomerUpdate, W as Customer, Y as CustomerCreate, Yr as PaymentMethod, Zn as ListResourcePaymentMethod, ar as Member, cr as MemberSortProperty, kn as ListResourceCustomer, kt as CustomerSortProperty, lr as MemberUpdate, or as MemberCreateFromCustomer, sr as MemberRole, ur as MetadataQuery } from "../../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customers/index.d.ts
|
|
4
4
|
declare const listCustomers: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { At as CustomerState, Ft as CustomerUpdateExternalID, Kn as ListResourceMember, Pt as CustomerUpdate, W as Customer, Y as CustomerCreate, Yr as PaymentMethod, Zn as ListResourcePaymentMethod, ar as Member, cr as MemberSortProperty, kn as ListResourceCustomer, kt as CustomerSortProperty, lr as MemberUpdate, or as MemberCreateFromCustomer, sr as MemberRole, ur as MetadataQuery } from "../../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customers/index.d.ts
|
|
4
4
|
declare const listCustomers: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
import { createMembersService } from "./members.mjs";
|
|
3
3
|
//#region src/2026-04/services/customers/index.ts
|
|
4
4
|
const listCustomers = (client) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../../errors-
|
|
2
|
+
const require_errors = require("../../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/customers/members.ts
|
|
4
4
|
const listMembers = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { Kn as ListResourceMember, ar as Member, cr as MemberSortProperty, lr as MemberUpdate, or as MemberCreateFromCustomer, sr as MemberRole } from "../../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/customers/members.d.ts
|
|
4
4
|
declare const listMembers: (client: ClientBase) => (id: string, query?: {
|
|
5
5
|
role?: MemberRole | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../../base-
|
|
1
|
+
import { Kn as ListResourceMember, ar as Member, cr as MemberSortProperty, lr as MemberUpdate, or as MemberCreateFromCustomer, sr as MemberRole } from "../../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/customers/members.d.ts
|
|
4
4
|
declare const listMembers: (client: ClientBase) => (id: string, query?: {
|
|
5
5
|
role?: MemberRole | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError, mt as NotPermitted, n as AmbiguousExternalCustomerID } from "../../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/customers/members.ts
|
|
3
3
|
const listMembers = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/discounts.ts
|
|
4
4
|
const listDiscounts = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Bt as DiscountSortProperty, Rn as ListResourceDiscount, Rt as Discount, Vt as DiscountUpdate, zt as DiscountCreate } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/discounts.d.ts
|
|
4
4
|
declare const listDiscounts: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Bt as DiscountSortProperty, Rn as ListResourceDiscount, Rt as Discount, Vt as DiscountUpdate, zt as DiscountCreate } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/discounts.d.ts
|
|
4
4
|
declare const listDiscounts: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/discounts.ts
|
|
3
3
|
const listDiscounts = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/disputes.ts
|
|
4
4
|
const listDisputes = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Gt as DisputeSortProperty, Ht as Dispute, Kt as DisputeStatus, zn as ListResourceDispute } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/disputes.d.ts
|
|
4
4
|
declare const listDisputes: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Gt as DisputeSortProperty, Ht as Dispute, Kt as DisputeStatus, zn as ListResourceDispute } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/disputes.d.ts
|
|
4
4
|
declare const listDisputes: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, ct as DisputeNotOpenError, dt as HTTPValidationError } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/disputes.ts
|
|
3
3
|
const listDisputes = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/event_types.ts
|
|
4
4
|
const listEventTypes = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { $t as EventType, Qt as EventSource, Un as ListResourceEventTypeWithStats, en as EventTypeUpdate, nn as EventTypesSortProperty, tn as EventTypeWithStats } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/event_types.d.ts
|
|
4
4
|
declare const listEventTypes: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { $t as EventType, Qt as EventSource, Un as ListResourceEventTypeWithStats, en as EventTypeUpdate, nn as EventTypesSortProperty, tn as EventTypeWithStats } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/event_types.d.ts
|
|
4
4
|
declare const listEventTypes: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dt as HTTPValidationError, lt as EventTypesUpdate404Error } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/event_types.ts
|
|
3
3
|
const listEventTypes = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/events.ts
|
|
4
4
|
const listEvents = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Hn as ListResourceEventName, Jt as Event, Qt as EventSource, Vn as ListResourceEvent, Xt as EventNamesSortProperty, Yt as EventName, Zt as EventSortProperty, in as EventsIngestResponse, rn as EventsIngest, rr as ListResourceWithCursorPaginationEvent, ur as MetadataQuery } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/events.d.ts
|
|
4
4
|
declare const listEvents: (client: ClientBase) => (query?: {
|
|
5
5
|
filter?: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Hn as ListResourceEventName, Jt as Event, Qt as EventSource, Vn as ListResourceEvent, Xt as EventNamesSortProperty, Yt as EventName, Zt as EventSortProperty, in as EventsIngestResponse, rn as EventsIngest, rr as ListResourceWithCursorPaginationEvent, ur as MetadataQuery } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/events.d.ts
|
|
4
4
|
declare const listEvents: (client: ClientBase) => (query?: {
|
|
5
5
|
filter?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/events.ts
|
|
3
3
|
const listEvents = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/files.ts
|
|
4
4
|
const listFiles = (client) => {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Wn as ListResourceFileRead, cn as FileRead, ln as FileUpload, on as FileCreate, sn as FilePatch, un as FileUploadCompleted } from "../../models-772bIFO1.cjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.cjs";
|
|
3
3
|
//#region src/2026-04/services/files.d.ts
|
|
4
4
|
declare const listFiles: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as RequestOptions, t as ClientBase } from "../../base-
|
|
1
|
+
import { Wn as ListResourceFileRead, cn as FileRead, ln as FileUpload, on as FileCreate, sn as FilePatch, un as FileUploadCompleted } from "../../models-772bIFO1.mjs";
|
|
2
|
+
import { c as RequestOptions, t as ClientBase } from "../../base-CpfZ-knN.mjs";
|
|
3
3
|
//#region src/2026-04/services/files.d.ts
|
|
4
4
|
declare const listFiles: (client: ClientBase) => (query?: {
|
|
5
5
|
organization_id?: string | string[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ot as ResourceNotFound, dt as HTTPValidationError, mt as NotPermitted } from "../../errors-4m1zzDNv.mjs";
|
|
2
2
|
//#region src/2026-04/services/files.ts
|
|
3
3
|
const listFiles = (client) => {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_errors = require("../../errors-
|
|
2
|
+
const require_errors = require("../../errors-o_AM61cd.cjs");
|
|
3
3
|
//#region src/2026-04/services/license_keys.ts
|
|
4
4
|
const listLicenseKeys = (client) => {
|
|
5
5
|
/**
|
|
@@ -135,7 +135,7 @@ const rotateLicenseKeys = (client) => {
|
|
|
135
135
|
*
|
|
136
136
|
* @param id
|
|
137
137
|
* @param requestOptions - Request options
|
|
138
|
-
* @returns {
|
|
138
|
+
* @returns {RotatedLicenseKey}
|
|
139
139
|
* @throws {PolarNetworkError} When a network error occurs
|
|
140
140
|
* @throws {PolarRateLimitError} When the rate limit is exceeded
|
|
141
141
|
* @throws {PolarServerError} When the server returns a 5xx error
|
|
@@ -170,7 +170,7 @@ const getActivationLicenseKeys = (client) => {
|
|
|
170
170
|
* @throws {PolarRateLimitError} When the rate limit is exceeded
|
|
171
171
|
* @throws {PolarServerError} When the server returns a 5xx error
|
|
172
172
|
* @throws {Unauthorized} Not authorized to manage license key.
|
|
173
|
-
* @throws {ResourceNotFound} License key not found.
|
|
173
|
+
* @throws {ResourceNotFound} License key or activation not found, or activation does not belong to the license key.
|
|
174
174
|
* @throws {HTTPValidationError} Validation Error
|
|
175
175
|
*/
|
|
176
176
|
return async (id, activation_id, requestOptions) => {
|
|
@@ -199,13 +199,15 @@ const validateLicenseKeys = (client) => {
|
|
|
199
199
|
* @throws {PolarNetworkError} When a network error occurs
|
|
200
200
|
* @throws {PolarRateLimitError} When the rate limit is exceeded
|
|
201
201
|
* @throws {PolarServerError} When the server returns a 5xx error
|
|
202
|
-
* @throws {
|
|
202
|
+
* @throws {BadRequest} The requested usage increment exceeds the license key's remaining usage allowance.
|
|
203
|
+
* @throws {ResourceNotFound} License key not found, revoked, disabled, or expired, or the supplied activation is missing or does not match, or the conditions, benefit, or customer do not match.
|
|
203
204
|
* @throws {HTTPValidationError} Validation Error
|
|
204
205
|
*/
|
|
205
206
|
return async (body, requestOptions) => {
|
|
206
207
|
const request = client.buildRequest("POST", "/v1/license-keys/validate", {}, {}, body);
|
|
207
208
|
const response = await client.sendRequest(request, requestOptions);
|
|
208
209
|
return client.parseResponse(response, "json", {
|
|
210
|
+
400: require_errors.BadRequest,
|
|
209
211
|
404: require_errors.ResourceNotFound,
|
|
210
212
|
422: require_errors.HTTPValidationError
|
|
211
213
|
});
|
|
@@ -219,11 +221,11 @@ const activateLicenseKeys = (client) => {
|
|
|
219
221
|
*
|
|
220
222
|
* @param body - Request body
|
|
221
223
|
* @param requestOptions - Request options
|
|
222
|
-
* @returns {
|
|
224
|
+
* @returns {LicenseKeyActivationCreated}
|
|
223
225
|
* @throws {PolarNetworkError} When a network error occurs
|
|
224
226
|
* @throws {PolarRateLimitError} When the rate limit is exceeded
|
|
225
227
|
* @throws {PolarServerError} When the server returns a 5xx error
|
|
226
|
-
* @throws {NotPermitted} License key
|
|
228
|
+
* @throws {NotPermitted} License key is revoked, disabled, or expired, does not support activations, or has reached its activation limit. Use /validate for licenses without activations.
|
|
227
229
|
* @throws {ResourceNotFound} License key not found.
|
|
228
230
|
* @throws {HTTPValidationError} Validation Error
|
|
229
231
|
*/
|
|
@@ -249,7 +251,7 @@ const deactivateLicenseKeys = (client) => {
|
|
|
249
251
|
* @throws {PolarNetworkError} When a network error occurs
|
|
250
252
|
* @throws {PolarRateLimitError} When the rate limit is exceeded
|
|
251
253
|
* @throws {PolarServerError} When the server returns a 5xx error
|
|
252
|
-
* @throws {ResourceNotFound} License key not found.
|
|
254
|
+
* @throws {ResourceNotFound} License key or activation not found, or activation does not belong to the license key.
|
|
253
255
|
* @throws {HTTPValidationError} Validation Error
|
|
254
256
|
*/
|
|
255
257
|
return async (body, requestOptions) => {
|