@flexprice/sdk 2.1.3 → 2.1.5
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/FUNCTIONS.md +0 -1
- package/USAGE.md +0 -1
- package/docs/sdk/models/add-addon-request.md +2 -0
- package/docs/sdk/models/add-addon-to-subscription-request.md +2 -0
- package/docs/sdk/models/addon-cadence.md +15 -0
- package/docs/sdk/models/addon-filter.md +0 -1
- package/docs/sdk/models/addon-response.md +0 -1
- package/docs/sdk/models/addon-status.md +1 -1
- package/docs/sdk/models/addon.md +0 -1
- package/docs/sdk/models/create-addon-request.md +6 -8
- package/docs/sdk/models/create-addon-response.md +0 -1
- package/docs/sdk/models/create-subscription-line-item-request.md +1 -0
- package/docs/sdk/models/delete-subscription-line-item-request.md +4 -3
- package/docs/sdk/models/remove-addon-request.md +6 -4
- package/docs/sdk/models/subscription-line-item-response.md +1 -0
- package/docs/sdk/models/subscription-subscription-line-item.md +1 -0
- package/docs/sdks/addons/README.md +0 -2
- package/esm/funcs/addons-create-addon.d.ts.map +1 -1
- package/esm/funcs/addons-create-addon.js +2 -1
- package/esm/funcs/addons-create-addon.js.map +1 -1
- package/esm/funcs/addons-delete-addon.d.ts.map +1 -1
- package/esm/funcs/addons-delete-addon.js +2 -1
- package/esm/funcs/addons-delete-addon.js.map +1 -1
- package/esm/funcs/addons-get-addon-by-lookup-key.d.ts.map +1 -1
- package/esm/funcs/addons-get-addon-by-lookup-key.js +2 -1
- package/esm/funcs/addons-get-addon-by-lookup-key.js.map +1 -1
- package/esm/funcs/addons-get-addon.d.ts.map +1 -1
- package/esm/funcs/addons-get-addon.js +2 -1
- package/esm/funcs/addons-get-addon.js.map +1 -1
- package/esm/funcs/addons-query-addon.d.ts.map +1 -1
- package/esm/funcs/addons-query-addon.js +2 -1
- package/esm/funcs/addons-query-addon.js.map +1 -1
- package/esm/funcs/addons-update-addon.d.ts.map +1 -1
- package/esm/funcs/addons-update-addon.js +2 -1
- package/esm/funcs/addons-update-addon.js.map +1 -1
- package/esm/funcs/alerts-query-alert-log.d.ts.map +1 -1
- package/esm/funcs/alerts-query-alert-log.js +2 -1
- package/esm/funcs/alerts-query-alert-log.js.map +1 -1
- package/esm/funcs/costs-create-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-create-costsheet.js +2 -1
- package/esm/funcs/costs-create-costsheet.js.map +1 -1
- package/esm/funcs/costs-delete-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-delete-costsheet.js +2 -1
- package/esm/funcs/costs-delete-costsheet.js.map +1 -1
- package/esm/funcs/costs-get-active-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-get-active-costsheet.js +2 -1
- package/esm/funcs/costs-get-active-costsheet.js.map +1 -1
- package/esm/funcs/costs-get-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-get-costsheet.js +2 -1
- package/esm/funcs/costs-get-costsheet.js.map +1 -1
- package/esm/funcs/costs-get-detailed-cost-analytics-v2.d.ts.map +1 -1
- package/esm/funcs/costs-get-detailed-cost-analytics-v2.js +2 -1
- package/esm/funcs/costs-get-detailed-cost-analytics-v2.js.map +1 -1
- package/esm/funcs/costs-get-detailed-cost-analytics.d.ts.map +1 -1
- package/esm/funcs/costs-get-detailed-cost-analytics.js +2 -1
- package/esm/funcs/costs-get-detailed-cost-analytics.js.map +1 -1
- package/esm/funcs/costs-query-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-query-costsheet.js +2 -1
- package/esm/funcs/costs-query-costsheet.js.map +1 -1
- package/esm/funcs/costs-update-costsheet.d.ts.map +1 -1
- package/esm/funcs/costs-update-costsheet.js +2 -1
- package/esm/funcs/costs-update-costsheet.js.map +1 -1
- package/esm/funcs/coupons-create-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-create-coupon.js +2 -1
- package/esm/funcs/coupons-create-coupon.js.map +1 -1
- package/esm/funcs/coupons-delete-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-delete-coupon.js +2 -1
- package/esm/funcs/coupons-delete-coupon.js.map +1 -1
- package/esm/funcs/coupons-get-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-get-coupon.js +2 -1
- package/esm/funcs/coupons-get-coupon.js.map +1 -1
- package/esm/funcs/coupons-query-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-query-coupon.js +2 -1
- package/esm/funcs/coupons-query-coupon.js.map +1 -1
- package/esm/funcs/coupons-update-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-update-coupon.js +2 -1
- package/esm/funcs/coupons-update-coupon.js.map +1 -1
- package/esm/funcs/credit-grants-create-credit-grant.d.ts.map +1 -1
- package/esm/funcs/credit-grants-create-credit-grant.js +2 -1
- package/esm/funcs/credit-grants-create-credit-grant.js.map +1 -1
- package/esm/funcs/credit-grants-delete-credit-grant.d.ts.map +1 -1
- package/esm/funcs/credit-grants-delete-credit-grant.js +2 -1
- package/esm/funcs/credit-grants-delete-credit-grant.js.map +1 -1
- package/esm/funcs/credit-grants-get-credit-grant.d.ts.map +1 -1
- package/esm/funcs/credit-grants-get-credit-grant.js +2 -1
- package/esm/funcs/credit-grants-get-credit-grant.js.map +1 -1
- package/esm/funcs/credit-grants-get-plan-credit-grants.d.ts.map +1 -1
- package/esm/funcs/credit-grants-get-plan-credit-grants.js +2 -1
- package/esm/funcs/credit-grants-get-plan-credit-grants.js.map +1 -1
- package/esm/funcs/credit-grants-update-credit-grant.d.ts.map +1 -1
- package/esm/funcs/credit-grants-update-credit-grant.js +2 -1
- package/esm/funcs/credit-grants-update-credit-grant.js.map +1 -1
- package/esm/funcs/credit-notes-create-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-create-credit-note.js +2 -1
- package/esm/funcs/credit-notes-create-credit-note.js.map +1 -1
- package/esm/funcs/credit-notes-get-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-get-credit-note.js +2 -1
- package/esm/funcs/credit-notes-get-credit-note.js.map +1 -1
- package/esm/funcs/credit-notes-process-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-process-credit-note.js +2 -1
- package/esm/funcs/credit-notes-process-credit-note.js.map +1 -1
- package/esm/funcs/credit-notes-void-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-void-credit-note.js +2 -1
- package/esm/funcs/credit-notes-void-credit-note.js.map +1 -1
- package/esm/funcs/customers-create-customer.d.ts.map +1 -1
- package/esm/funcs/customers-create-customer.js +2 -1
- package/esm/funcs/customers-create-customer.js.map +1 -1
- package/esm/funcs/customers-delete-customer.d.ts.map +1 -1
- package/esm/funcs/customers-delete-customer.js +2 -1
- package/esm/funcs/customers-delete-customer.js.map +1 -1
- package/esm/funcs/customers-get-customer-by-external-id.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer-by-external-id.js +2 -1
- package/esm/funcs/customers-get-customer-by-external-id.js.map +1 -1
- package/esm/funcs/customers-get-customer-entitlements.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer-entitlements.js +2 -1
- package/esm/funcs/customers-get-customer-entitlements.js.map +1 -1
- package/esm/funcs/customers-get-customer-upcoming-grants.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer-upcoming-grants.js +2 -1
- package/esm/funcs/customers-get-customer-upcoming-grants.js.map +1 -1
- package/esm/funcs/customers-get-customer-usage-summary.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer-usage-summary.js +2 -1
- package/esm/funcs/customers-get-customer-usage-summary.js.map +1 -1
- package/esm/funcs/customers-get-customer.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer.js +2 -1
- package/esm/funcs/customers-get-customer.js.map +1 -1
- package/esm/funcs/customers-query-customer.d.ts.map +1 -1
- package/esm/funcs/customers-query-customer.js +2 -1
- package/esm/funcs/customers-query-customer.js.map +1 -1
- package/esm/funcs/customers-update-customer.d.ts.map +1 -1
- package/esm/funcs/customers-update-customer.js +2 -1
- package/esm/funcs/customers-update-customer.js.map +1 -1
- package/esm/funcs/entitlements-create-entitlement.d.ts.map +1 -1
- package/esm/funcs/entitlements-create-entitlement.js +2 -1
- package/esm/funcs/entitlements-create-entitlement.js.map +1 -1
- package/esm/funcs/entitlements-create-entitlements-bulk.d.ts.map +1 -1
- package/esm/funcs/entitlements-create-entitlements-bulk.js +2 -1
- package/esm/funcs/entitlements-create-entitlements-bulk.js.map +1 -1
- package/esm/funcs/entitlements-delete-entitlement.d.ts.map +1 -1
- package/esm/funcs/entitlements-delete-entitlement.js +2 -1
- package/esm/funcs/entitlements-delete-entitlement.js.map +1 -1
- package/esm/funcs/entitlements-get-addon-entitlements.d.ts.map +1 -1
- package/esm/funcs/entitlements-get-addon-entitlements.js +2 -1
- package/esm/funcs/entitlements-get-addon-entitlements.js.map +1 -1
- package/esm/funcs/entitlements-get-entitlement.d.ts.map +1 -1
- package/esm/funcs/entitlements-get-entitlement.js +2 -1
- package/esm/funcs/entitlements-get-entitlement.js.map +1 -1
- package/esm/funcs/entitlements-get-plan-entitlements.d.ts.map +1 -1
- package/esm/funcs/entitlements-get-plan-entitlements.js +2 -1
- package/esm/funcs/entitlements-get-plan-entitlements.js.map +1 -1
- package/esm/funcs/entitlements-query-entitlement.d.ts.map +1 -1
- package/esm/funcs/entitlements-query-entitlement.js +2 -1
- package/esm/funcs/entitlements-query-entitlement.js.map +1 -1
- package/esm/funcs/entitlements-update-entitlement.d.ts.map +1 -1
- package/esm/funcs/entitlements-update-entitlement.js +2 -1
- package/esm/funcs/entitlements-update-entitlement.js.map +1 -1
- package/esm/funcs/environments-clone-environment.d.ts.map +1 -1
- package/esm/funcs/environments-clone-environment.js +2 -1
- package/esm/funcs/environments-clone-environment.js.map +1 -1
- package/esm/funcs/events-get-event.d.ts.map +1 -1
- package/esm/funcs/events-get-event.js +2 -1
- package/esm/funcs/events-get-event.js.map +1 -1
- package/esm/funcs/events-get-huggingface-inference-data.d.ts.map +1 -1
- package/esm/funcs/events-get-huggingface-inference-data.js +2 -1
- package/esm/funcs/events-get-huggingface-inference-data.js.map +1 -1
- package/esm/funcs/events-get-usage-analytics.d.ts.map +1 -1
- package/esm/funcs/events-get-usage-analytics.js +2 -1
- package/esm/funcs/events-get-usage-analytics.js.map +1 -1
- package/esm/funcs/events-get-usage-by-meter.d.ts.map +1 -1
- package/esm/funcs/events-get-usage-by-meter.js +2 -1
- package/esm/funcs/events-get-usage-by-meter.js.map +1 -1
- package/esm/funcs/events-get-usage-statistics.d.ts.map +1 -1
- package/esm/funcs/events-get-usage-statistics.js +2 -1
- package/esm/funcs/events-get-usage-statistics.js.map +1 -1
- package/esm/funcs/events-ingest-event.d.ts.map +1 -1
- package/esm/funcs/events-ingest-event.js +2 -1
- package/esm/funcs/events-ingest-event.js.map +1 -1
- package/esm/funcs/events-ingest-events-bulk.d.ts.map +1 -1
- package/esm/funcs/events-ingest-events-bulk.js +2 -1
- package/esm/funcs/events-ingest-events-bulk.js.map +1 -1
- package/esm/funcs/events-list-raw-events.d.ts.map +1 -1
- package/esm/funcs/events-list-raw-events.js +2 -1
- package/esm/funcs/events-list-raw-events.js.map +1 -1
- package/esm/funcs/features-clone-feature.d.ts.map +1 -1
- package/esm/funcs/features-clone-feature.js +2 -1
- package/esm/funcs/features-clone-feature.js.map +1 -1
- package/esm/funcs/features-create-feature.d.ts.map +1 -1
- package/esm/funcs/features-create-feature.js +2 -1
- package/esm/funcs/features-create-feature.js.map +1 -1
- package/esm/funcs/features-delete-feature.d.ts.map +1 -1
- package/esm/funcs/features-delete-feature.js +2 -1
- package/esm/funcs/features-delete-feature.js.map +1 -1
- package/esm/funcs/features-query-feature.d.ts.map +1 -1
- package/esm/funcs/features-query-feature.js +2 -1
- package/esm/funcs/features-query-feature.js.map +1 -1
- package/esm/funcs/features-update-feature.d.ts.map +1 -1
- package/esm/funcs/features-update-feature.js +2 -1
- package/esm/funcs/features-update-feature.js.map +1 -1
- package/esm/funcs/groups-create-group.d.ts.map +1 -1
- package/esm/funcs/groups-create-group.js +2 -1
- package/esm/funcs/groups-create-group.js.map +1 -1
- package/esm/funcs/groups-delete-group.d.ts.map +1 -1
- package/esm/funcs/groups-delete-group.js +2 -1
- package/esm/funcs/groups-delete-group.js.map +1 -1
- package/esm/funcs/groups-get-group.d.ts.map +1 -1
- package/esm/funcs/groups-get-group.js +2 -1
- package/esm/funcs/groups-get-group.js.map +1 -1
- package/esm/funcs/groups-query-group.d.ts.map +1 -1
- package/esm/funcs/groups-query-group.js +2 -1
- package/esm/funcs/groups-query-group.js.map +1 -1
- package/esm/funcs/integrations-link-integration-mapping.d.ts.map +1 -1
- package/esm/funcs/integrations-link-integration-mapping.js +2 -1
- package/esm/funcs/integrations-link-integration-mapping.js.map +1 -1
- package/esm/funcs/invoices-attempt-invoice-payment.d.ts.map +1 -1
- package/esm/funcs/invoices-attempt-invoice-payment.js +2 -1
- package/esm/funcs/invoices-attempt-invoice-payment.js.map +1 -1
- package/esm/funcs/invoices-create-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-create-invoice.js +2 -1
- package/esm/funcs/invoices-create-invoice.js.map +1 -1
- package/esm/funcs/invoices-finalize-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-finalize-invoice.js +2 -1
- package/esm/funcs/invoices-finalize-invoice.js.map +1 -1
- package/esm/funcs/invoices-get-customer-invoice-summary.d.ts.map +1 -1
- package/esm/funcs/invoices-get-customer-invoice-summary.js +2 -1
- package/esm/funcs/invoices-get-customer-invoice-summary.js.map +1 -1
- package/esm/funcs/invoices-get-invoice-pdf.d.ts.map +1 -1
- package/esm/funcs/invoices-get-invoice-pdf.js +2 -1
- package/esm/funcs/invoices-get-invoice-pdf.js.map +1 -1
- package/esm/funcs/invoices-get-invoice-preview.d.ts.map +1 -1
- package/esm/funcs/invoices-get-invoice-preview.js +2 -1
- package/esm/funcs/invoices-get-invoice-preview.js.map +1 -1
- package/esm/funcs/invoices-get-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-get-invoice.js +2 -1
- package/esm/funcs/invoices-get-invoice.js.map +1 -1
- package/esm/funcs/invoices-get-meter-usage-preview-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-get-meter-usage-preview-invoice.js +2 -1
- package/esm/funcs/invoices-get-meter-usage-preview-invoice.js.map +1 -1
- package/esm/funcs/invoices-query-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-query-invoice.js +2 -1
- package/esm/funcs/invoices-query-invoice.js.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.d.ts.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.js +2 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.js.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice.js +2 -1
- package/esm/funcs/invoices-recalculate-invoice.js.map +1 -1
- package/esm/funcs/invoices-trigger-invoice-comms-webhook.d.ts.map +1 -1
- package/esm/funcs/invoices-trigger-invoice-comms-webhook.js +2 -1
- package/esm/funcs/invoices-trigger-invoice-comms-webhook.js.map +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.d.ts.map +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.js +2 -1
- package/esm/funcs/invoices-update-invoice-payment-status.js.map +1 -1
- package/esm/funcs/invoices-update-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-update-invoice.js +2 -1
- package/esm/funcs/invoices-update-invoice.js.map +1 -1
- package/esm/funcs/invoices-void-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-void-invoice.js +2 -1
- package/esm/funcs/invoices-void-invoice.js.map +1 -1
- package/esm/funcs/meter-usage-get-meter-usage-analytics.d.ts.map +1 -1
- package/esm/funcs/meter-usage-get-meter-usage-analytics.js +2 -1
- package/esm/funcs/meter-usage-get-meter-usage-analytics.js.map +1 -1
- package/esm/funcs/meter-usage-query-meter-usage.d.ts.map +1 -1
- package/esm/funcs/meter-usage-query-meter-usage.js +2 -1
- package/esm/funcs/meter-usage-query-meter-usage.js.map +1 -1
- package/esm/funcs/payments-create-payment.d.ts.map +1 -1
- package/esm/funcs/payments-create-payment.js +2 -1
- package/esm/funcs/payments-create-payment.js.map +1 -1
- package/esm/funcs/payments-delete-payment.d.ts.map +1 -1
- package/esm/funcs/payments-delete-payment.js +2 -1
- package/esm/funcs/payments-delete-payment.js.map +1 -1
- package/esm/funcs/payments-get-payment.d.ts.map +1 -1
- package/esm/funcs/payments-get-payment.js +2 -1
- package/esm/funcs/payments-get-payment.js.map +1 -1
- package/esm/funcs/payments-list-payments.d.ts.map +1 -1
- package/esm/funcs/payments-list-payments.js +2 -1
- package/esm/funcs/payments-list-payments.js.map +1 -1
- package/esm/funcs/payments-process-payment.d.ts.map +1 -1
- package/esm/funcs/payments-process-payment.js +2 -1
- package/esm/funcs/payments-process-payment.js.map +1 -1
- package/esm/funcs/payments-update-payment.d.ts.map +1 -1
- package/esm/funcs/payments-update-payment.js +2 -1
- package/esm/funcs/payments-update-payment.js.map +1 -1
- package/esm/funcs/plans-clone-plan.d.ts.map +1 -1
- package/esm/funcs/plans-clone-plan.js +2 -1
- package/esm/funcs/plans-clone-plan.js.map +1 -1
- package/esm/funcs/plans-create-plan.d.ts.map +1 -1
- package/esm/funcs/plans-create-plan.js +2 -1
- package/esm/funcs/plans-create-plan.js.map +1 -1
- package/esm/funcs/plans-delete-plan.d.ts.map +1 -1
- package/esm/funcs/plans-delete-plan.js +2 -1
- package/esm/funcs/plans-delete-plan.js.map +1 -1
- package/esm/funcs/plans-get-plan.d.ts.map +1 -1
- package/esm/funcs/plans-get-plan.js +2 -1
- package/esm/funcs/plans-get-plan.js.map +1 -1
- package/esm/funcs/plans-query-plan.d.ts.map +1 -1
- package/esm/funcs/plans-query-plan.js +2 -1
- package/esm/funcs/plans-query-plan.js.map +1 -1
- package/esm/funcs/plans-sync-plan-prices.d.ts.map +1 -1
- package/esm/funcs/plans-sync-plan-prices.js +2 -1
- package/esm/funcs/plans-sync-plan-prices.js.map +1 -1
- package/esm/funcs/plans-update-plan.d.ts.map +1 -1
- package/esm/funcs/plans-update-plan.js +2 -1
- package/esm/funcs/plans-update-plan.js.map +1 -1
- package/esm/funcs/price-units-create-price-unit.d.ts.map +1 -1
- package/esm/funcs/price-units-create-price-unit.js +2 -1
- package/esm/funcs/price-units-create-price-unit.js.map +1 -1
- package/esm/funcs/price-units-delete-price-unit.d.ts.map +1 -1
- package/esm/funcs/price-units-delete-price-unit.js +2 -1
- package/esm/funcs/price-units-delete-price-unit.js.map +1 -1
- package/esm/funcs/price-units-get-price-unit-by-code.d.ts.map +1 -1
- package/esm/funcs/price-units-get-price-unit-by-code.js +2 -1
- package/esm/funcs/price-units-get-price-unit-by-code.js.map +1 -1
- package/esm/funcs/price-units-get-price-unit.d.ts.map +1 -1
- package/esm/funcs/price-units-get-price-unit.js +2 -1
- package/esm/funcs/price-units-get-price-unit.js.map +1 -1
- package/esm/funcs/price-units-list-price-units.d.ts.map +1 -1
- package/esm/funcs/price-units-list-price-units.js +2 -1
- package/esm/funcs/price-units-list-price-units.js.map +1 -1
- package/esm/funcs/price-units-query-price-unit.d.ts.map +1 -1
- package/esm/funcs/price-units-query-price-unit.js +2 -1
- package/esm/funcs/price-units-query-price-unit.js.map +1 -1
- package/esm/funcs/price-units-update-price-unit.d.ts.map +1 -1
- package/esm/funcs/price-units-update-price-unit.js +2 -1
- package/esm/funcs/price-units-update-price-unit.js.map +1 -1
- package/esm/funcs/prices-create-price.d.ts.map +1 -1
- package/esm/funcs/prices-create-price.js +2 -1
- package/esm/funcs/prices-create-price.js.map +1 -1
- package/esm/funcs/prices-create-prices-bulk.d.ts.map +1 -1
- package/esm/funcs/prices-create-prices-bulk.js +2 -1
- package/esm/funcs/prices-create-prices-bulk.js.map +1 -1
- package/esm/funcs/prices-delete-price.d.ts.map +1 -1
- package/esm/funcs/prices-delete-price.js +2 -1
- package/esm/funcs/prices-delete-price.js.map +1 -1
- package/esm/funcs/prices-get-price-by-lookup-key.d.ts.map +1 -1
- package/esm/funcs/prices-get-price-by-lookup-key.js +2 -1
- package/esm/funcs/prices-get-price-by-lookup-key.js.map +1 -1
- package/esm/funcs/prices-get-price.d.ts.map +1 -1
- package/esm/funcs/prices-get-price.js +2 -1
- package/esm/funcs/prices-get-price.js.map +1 -1
- package/esm/funcs/prices-query-price.d.ts.map +1 -1
- package/esm/funcs/prices-query-price.js +2 -1
- package/esm/funcs/prices-query-price.js.map +1 -1
- package/esm/funcs/prices-update-price.d.ts.map +1 -1
- package/esm/funcs/prices-update-price.js +2 -1
- package/esm/funcs/prices-update-price.js.map +1 -1
- package/esm/funcs/rbac-get-rbac-role.d.ts.map +1 -1
- package/esm/funcs/rbac-get-rbac-role.js +2 -1
- package/esm/funcs/rbac-get-rbac-role.js.map +1 -1
- package/esm/funcs/rbac-list-rbac-roles.d.ts.map +1 -1
- package/esm/funcs/rbac-list-rbac-roles.js +2 -1
- package/esm/funcs/rbac-list-rbac-roles.js.map +1 -1
- package/esm/funcs/scheduled-tasks-create-scheduled-task.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-create-scheduled-task.js +2 -1
- package/esm/funcs/scheduled-tasks-create-scheduled-task.js.map +1 -1
- package/esm/funcs/scheduled-tasks-delete-scheduled-task.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-delete-scheduled-task.js +2 -1
- package/esm/funcs/scheduled-tasks-delete-scheduled-task.js.map +1 -1
- package/esm/funcs/scheduled-tasks-get-scheduled-task.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-get-scheduled-task.js +2 -1
- package/esm/funcs/scheduled-tasks-get-scheduled-task.js.map +1 -1
- package/esm/funcs/scheduled-tasks-list-scheduled-tasks.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-list-scheduled-tasks.js +2 -1
- package/esm/funcs/scheduled-tasks-list-scheduled-tasks.js.map +1 -1
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.js +2 -1
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.js.map +1 -1
- package/esm/funcs/scheduled-tasks-schedule-update-billing-period.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-schedule-update-billing-period.js +2 -1
- package/esm/funcs/scheduled-tasks-schedule-update-billing-period.js.map +1 -1
- package/esm/funcs/scheduled-tasks-trigger-scheduled-task-run.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-trigger-scheduled-task-run.js +2 -1
- package/esm/funcs/scheduled-tasks-trigger-scheduled-task-run.js.map +1 -1
- package/esm/funcs/scheduled-tasks-update-scheduled-task.d.ts.map +1 -1
- package/esm/funcs/scheduled-tasks-update-scheduled-task.js +2 -1
- package/esm/funcs/scheduled-tasks-update-scheduled-task.js.map +1 -1
- package/esm/funcs/secrets-create-api-key.d.ts.map +1 -1
- package/esm/funcs/secrets-create-api-key.js +2 -1
- package/esm/funcs/secrets-create-api-key.js.map +1 -1
- package/esm/funcs/secrets-delete-api-key.d.ts.map +1 -1
- package/esm/funcs/secrets-delete-api-key.js +2 -1
- package/esm/funcs/secrets-delete-api-key.js.map +1 -1
- package/esm/funcs/secrets-list-api-keys.d.ts.map +1 -1
- package/esm/funcs/secrets-list-api-keys.js +2 -1
- package/esm/funcs/secrets-list-api-keys.js.map +1 -1
- package/esm/funcs/subscriptions-activate-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-activate-subscription.js +2 -1
- package/esm/funcs/subscriptions-activate-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-add-subscription-addon.d.ts.map +1 -1
- package/esm/funcs/subscriptions-add-subscription-addon.js +2 -1
- package/esm/funcs/subscriptions-add-subscription-addon.js.map +1 -1
- package/esm/funcs/subscriptions-cancel-subscription-schedule.d.ts.map +1 -1
- package/esm/funcs/subscriptions-cancel-subscription-schedule.js +2 -1
- package/esm/funcs/subscriptions-cancel-subscription-schedule.js.map +1 -1
- package/esm/funcs/subscriptions-cancel-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-cancel-subscription.js +2 -1
- package/esm/funcs/subscriptions-cancel-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-create-subscription-line-item.d.ts.map +1 -1
- package/esm/funcs/subscriptions-create-subscription-line-item.js +2 -1
- package/esm/funcs/subscriptions-create-subscription-line-item.js.map +1 -1
- package/esm/funcs/subscriptions-create-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-create-subscription.js +2 -1
- package/esm/funcs/subscriptions-create-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-delete-subscription-line-item.d.ts.map +1 -1
- package/esm/funcs/subscriptions-delete-subscription-line-item.js +2 -1
- package/esm/funcs/subscriptions-delete-subscription-line-item.js.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-change.d.ts.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-change.js +2 -1
- package/esm/funcs/subscriptions-execute-subscription-change.js.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.d.ts.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.js +2 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-addon-associations.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-addon-associations.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-addon-associations.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-entitlements.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-entitlements.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-entitlements.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-schedule.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-schedule.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-schedule.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-upcoming-grants.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-upcoming-grants.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-upcoming-grants.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-usage.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-usage.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-usage.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-v2.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription-v2.js +2 -1
- package/esm/funcs/subscriptions-get-subscription-v2.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription.js +2 -1
- package/esm/funcs/subscriptions-get-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-list-all-subscription-schedules.d.ts.map +1 -1
- package/esm/funcs/subscriptions-list-all-subscription-schedules.js +2 -1
- package/esm/funcs/subscriptions-list-all-subscription-schedules.js.map +1 -1
- package/esm/funcs/subscriptions-list-subscription-pauses.d.ts.map +1 -1
- package/esm/funcs/subscriptions-list-subscription-pauses.js +2 -1
- package/esm/funcs/subscriptions-list-subscription-pauses.js.map +1 -1
- package/esm/funcs/subscriptions-list-subscription-schedules.d.ts.map +1 -1
- package/esm/funcs/subscriptions-list-subscription-schedules.js +2 -1
- package/esm/funcs/subscriptions-list-subscription-schedules.js.map +1 -1
- package/esm/funcs/subscriptions-pause-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-pause-subscription.js +2 -1
- package/esm/funcs/subscriptions-pause-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-preview-subscription-change.d.ts.map +1 -1
- package/esm/funcs/subscriptions-preview-subscription-change.js +2 -1
- package/esm/funcs/subscriptions-preview-subscription-change.js.map +1 -1
- package/esm/funcs/subscriptions-preview-subscription-modify.d.ts.map +1 -1
- package/esm/funcs/subscriptions-preview-subscription-modify.js +2 -1
- package/esm/funcs/subscriptions-preview-subscription-modify.js.map +1 -1
- package/esm/funcs/subscriptions-query-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-query-subscription.js +2 -1
- package/esm/funcs/subscriptions-query-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-remove-subscription-addon.d.ts.map +1 -1
- package/esm/funcs/subscriptions-remove-subscription-addon.js +2 -1
- package/esm/funcs/subscriptions-remove-subscription-addon.js.map +1 -1
- package/esm/funcs/subscriptions-resume-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-resume-subscription.js +2 -1
- package/esm/funcs/subscriptions-resume-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-update-subscription-line-item.d.ts.map +1 -1
- package/esm/funcs/subscriptions-update-subscription-line-item.js +2 -1
- package/esm/funcs/subscriptions-update-subscription-line-item.js.map +1 -1
- package/esm/funcs/subscriptions-update-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-update-subscription.js +2 -1
- package/esm/funcs/subscriptions-update-subscription.js.map +1 -1
- package/esm/funcs/tasks-create-task.d.ts.map +1 -1
- package/esm/funcs/tasks-create-task.js +2 -1
- package/esm/funcs/tasks-create-task.js.map +1 -1
- package/esm/funcs/tasks-download-task-export.d.ts.map +1 -1
- package/esm/funcs/tasks-download-task-export.js +2 -1
- package/esm/funcs/tasks-download-task-export.js.map +1 -1
- package/esm/funcs/tasks-get-task-result.d.ts.map +1 -1
- package/esm/funcs/tasks-get-task-result.js +2 -1
- package/esm/funcs/tasks-get-task-result.js.map +1 -1
- package/esm/funcs/tasks-get-task.d.ts.map +1 -1
- package/esm/funcs/tasks-get-task.js +2 -1
- package/esm/funcs/tasks-get-task.js.map +1 -1
- package/esm/funcs/tasks-list-tasks.d.ts.map +1 -1
- package/esm/funcs/tasks-list-tasks.js +2 -1
- package/esm/funcs/tasks-list-tasks.js.map +1 -1
- package/esm/funcs/tasks-update-task-status.d.ts.map +1 -1
- package/esm/funcs/tasks-update-task-status.js +2 -1
- package/esm/funcs/tasks-update-task-status.js.map +1 -1
- package/esm/funcs/tax-associations-create-tax-association.d.ts.map +1 -1
- package/esm/funcs/tax-associations-create-tax-association.js +2 -1
- package/esm/funcs/tax-associations-create-tax-association.js.map +1 -1
- package/esm/funcs/tax-associations-delete-tax-association.d.ts.map +1 -1
- package/esm/funcs/tax-associations-delete-tax-association.js +2 -1
- package/esm/funcs/tax-associations-delete-tax-association.js.map +1 -1
- package/esm/funcs/tax-associations-get-tax-association.d.ts.map +1 -1
- package/esm/funcs/tax-associations-get-tax-association.js +2 -1
- package/esm/funcs/tax-associations-get-tax-association.js.map +1 -1
- package/esm/funcs/tax-associations-list-tax-associations.d.ts.map +1 -1
- package/esm/funcs/tax-associations-list-tax-associations.js +2 -1
- package/esm/funcs/tax-associations-list-tax-associations.js.map +1 -1
- package/esm/funcs/tax-associations-update-tax-association.d.ts.map +1 -1
- package/esm/funcs/tax-associations-update-tax-association.js +2 -1
- package/esm/funcs/tax-associations-update-tax-association.js.map +1 -1
- package/esm/funcs/tax-rates-create-tax-rate.d.ts.map +1 -1
- package/esm/funcs/tax-rates-create-tax-rate.js +2 -1
- package/esm/funcs/tax-rates-create-tax-rate.js.map +1 -1
- package/esm/funcs/tax-rates-delete-tax-rate.d.ts.map +1 -1
- package/esm/funcs/tax-rates-delete-tax-rate.js +2 -1
- package/esm/funcs/tax-rates-delete-tax-rate.js.map +1 -1
- package/esm/funcs/tax-rates-get-tax-rate.d.ts.map +1 -1
- package/esm/funcs/tax-rates-get-tax-rate.js +2 -1
- package/esm/funcs/tax-rates-get-tax-rate.js.map +1 -1
- package/esm/funcs/tax-rates-get-tax-rates.d.ts.map +1 -1
- package/esm/funcs/tax-rates-get-tax-rates.js +2 -1
- package/esm/funcs/tax-rates-get-tax-rates.js.map +1 -1
- package/esm/funcs/tax-rates-update-tax-rate.d.ts.map +1 -1
- package/esm/funcs/tax-rates-update-tax-rate.js +2 -1
- package/esm/funcs/tax-rates-update-tax-rate.js.map +1 -1
- package/esm/funcs/tenants-get-tenant-billing-usage.d.ts.map +1 -1
- package/esm/funcs/tenants-get-tenant-billing-usage.js +2 -1
- package/esm/funcs/tenants-get-tenant-billing-usage.js.map +1 -1
- package/esm/funcs/tenants-get-tenant-by-id.d.ts.map +1 -1
- package/esm/funcs/tenants-get-tenant-by-id.js +2 -1
- package/esm/funcs/tenants-get-tenant-by-id.js.map +1 -1
- package/esm/funcs/tenants-update-tenant.d.ts.map +1 -1
- package/esm/funcs/tenants-update-tenant.js +2 -1
- package/esm/funcs/tenants-update-tenant.js.map +1 -1
- package/esm/funcs/users-create-user.d.ts.map +1 -1
- package/esm/funcs/users-create-user.js +2 -1
- package/esm/funcs/users-create-user.js.map +1 -1
- package/esm/funcs/users-get-user-info.d.ts.map +1 -1
- package/esm/funcs/users-get-user-info.js +2 -1
- package/esm/funcs/users-get-user-info.js.map +1 -1
- package/esm/funcs/users-query-user.d.ts.map +1 -1
- package/esm/funcs/users-query-user.js +2 -1
- package/esm/funcs/users-query-user.js.map +1 -1
- package/esm/funcs/wallets-create-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-create-wallet.js +2 -1
- package/esm/funcs/wallets-create-wallet.js.map +1 -1
- package/esm/funcs/wallets-get-customer-wallets.d.ts.map +1 -1
- package/esm/funcs/wallets-get-customer-wallets.js +2 -1
- package/esm/funcs/wallets-get-customer-wallets.js.map +1 -1
- package/esm/funcs/wallets-get-wallet-balance.d.ts.map +1 -1
- package/esm/funcs/wallets-get-wallet-balance.js +2 -1
- package/esm/funcs/wallets-get-wallet-balance.js.map +1 -1
- package/esm/funcs/wallets-get-wallet-transactions.d.ts.map +1 -1
- package/esm/funcs/wallets-get-wallet-transactions.js +2 -1
- package/esm/funcs/wallets-get-wallet-transactions.js.map +1 -1
- package/esm/funcs/wallets-get-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-get-wallet.js +2 -1
- package/esm/funcs/wallets-get-wallet.js.map +1 -1
- package/esm/funcs/wallets-get-wallets-by-customer-id.d.ts.map +1 -1
- package/esm/funcs/wallets-get-wallets-by-customer-id.js +2 -1
- package/esm/funcs/wallets-get-wallets-by-customer-id.js.map +1 -1
- package/esm/funcs/wallets-query-wallet-transaction.d.ts.map +1 -1
- package/esm/funcs/wallets-query-wallet-transaction.js +2 -1
- package/esm/funcs/wallets-query-wallet-transaction.js.map +1 -1
- package/esm/funcs/wallets-query-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-query-wallet.js +2 -1
- package/esm/funcs/wallets-query-wallet.js.map +1 -1
- package/esm/funcs/wallets-terminate-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-terminate-wallet.js +2 -1
- package/esm/funcs/wallets-terminate-wallet.js.map +1 -1
- package/esm/funcs/wallets-top-up-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-top-up-wallet.js +2 -1
- package/esm/funcs/wallets-top-up-wallet.js.map +1 -1
- package/esm/funcs/wallets-update-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-update-wallet.js +2 -1
- package/esm/funcs/wallets-update-wallet.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-failed.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-pending.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-success.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-success.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-success.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.d.ts.map +1 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js +2 -1
- package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js.map +1 -1
- package/esm/funcs/workflows-query-workflow.d.ts.map +1 -1
- package/esm/funcs/workflows-query-workflow.js +2 -1
- package/esm/funcs/workflows-query-workflow.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/sdks.d.ts +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +3 -5
- package/esm/lib/sdks.js.map +1 -1
- package/esm/sdk/models/add-addon-request.d.ts +6 -0
- package/esm/sdk/models/add-addon-request.d.ts.map +1 -1
- package/esm/sdk/models/add-addon-request.js +5 -0
- package/esm/sdk/models/add-addon-request.js.map +1 -1
- package/esm/sdk/models/add-addon-to-subscription-request.d.ts +6 -0
- package/esm/sdk/models/add-addon-to-subscription-request.d.ts.map +1 -1
- package/esm/sdk/models/add-addon-to-subscription-request.js +5 -0
- package/esm/sdk/models/add-addon-to-subscription-request.js.map +1 -1
- package/esm/sdk/models/addon-cadence.d.ts +10 -0
- package/esm/sdk/models/addon-cadence.d.ts.map +1 -0
- package/esm/sdk/models/addon-cadence.js +12 -0
- package/esm/sdk/models/addon-cadence.js.map +1 -0
- package/esm/sdk/models/addon-filter.d.ts +0 -3
- package/esm/sdk/models/addon-filter.d.ts.map +1 -1
- package/esm/sdk/models/addon-filter.js +0 -3
- package/esm/sdk/models/addon-filter.js.map +1 -1
- package/esm/sdk/models/addon-response.d.ts +0 -2
- package/esm/sdk/models/addon-response.d.ts.map +1 -1
- package/esm/sdk/models/addon-response.js +0 -2
- package/esm/sdk/models/addon-response.js.map +1 -1
- package/esm/sdk/models/addon-status.d.ts +1 -1
- package/esm/sdk/models/addon-status.js +1 -1
- package/esm/sdk/models/addon-status.js.map +1 -1
- package/esm/sdk/models/addon.d.ts +0 -2
- package/esm/sdk/models/addon.d.ts.map +1 -1
- package/esm/sdk/models/addon.js +0 -2
- package/esm/sdk/models/addon.js.map +1 -1
- package/esm/sdk/models/create-addon-request.d.ts +0 -3
- package/esm/sdk/models/create-addon-request.d.ts.map +1 -1
- package/esm/sdk/models/create-addon-request.js +0 -2
- package/esm/sdk/models/create-addon-request.js.map +1 -1
- package/esm/sdk/models/create-addon-response.d.ts +0 -2
- package/esm/sdk/models/create-addon-response.d.ts.map +1 -1
- package/esm/sdk/models/create-addon-response.js +0 -2
- package/esm/sdk/models/create-addon-response.js.map +1 -1
- package/esm/sdk/models/create-subscription-line-item-request.d.ts +3 -0
- package/esm/sdk/models/create-subscription-line-item-request.d.ts.map +1 -1
- package/esm/sdk/models/create-subscription-line-item-request.js +3 -0
- package/esm/sdk/models/create-subscription-line-item-request.js.map +1 -1
- package/esm/sdk/models/delete-subscription-line-item-request.d.ts +3 -0
- package/esm/sdk/models/delete-subscription-line-item-request.d.ts.map +1 -1
- package/esm/sdk/models/delete-subscription-line-item-request.js +3 -0
- package/esm/sdk/models/delete-subscription-line-item-request.js.map +1 -1
- package/esm/sdk/models/index.d.ts +1 -1
- package/esm/sdk/models/index.d.ts.map +1 -1
- package/esm/sdk/models/index.js +1 -1
- package/esm/sdk/models/index.js.map +1 -1
- package/esm/sdk/models/remove-addon-request.d.ts +13 -0
- package/esm/sdk/models/remove-addon-request.d.ts.map +1 -1
- package/esm/sdk/models/remove-addon-request.js +5 -0
- package/esm/sdk/models/remove-addon-request.js.map +1 -1
- package/esm/sdk/models/subscription-line-item-response.d.ts +1 -0
- package/esm/sdk/models/subscription-line-item-response.d.ts.map +1 -1
- package/esm/sdk/models/subscription-line-item-response.js +2 -0
- package/esm/sdk/models/subscription-line-item-response.js.map +1 -1
- package/esm/sdk/models/subscription-subscription-line-item.d.ts +1 -0
- package/esm/sdk/models/subscription-subscription-line-item.d.ts.map +1 -1
- package/esm/sdk/models/subscription-subscription-line-item.js +2 -0
- package/esm/sdk/models/subscription-subscription-line-item.js.map +1 -1
- package/examples/addonsCreateAddon.example.ts +0 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/addons-create-addon.ts +3 -1
- package/src/funcs/addons-delete-addon.ts +3 -1
- package/src/funcs/addons-get-addon-by-lookup-key.ts +3 -1
- package/src/funcs/addons-get-addon.ts +3 -1
- package/src/funcs/addons-query-addon.ts +3 -1
- package/src/funcs/addons-update-addon.ts +3 -1
- package/src/funcs/alerts-query-alert-log.ts +3 -1
- package/src/funcs/costs-create-costsheet.ts +3 -1
- package/src/funcs/costs-delete-costsheet.ts +3 -1
- package/src/funcs/costs-get-active-costsheet.ts +3 -1
- package/src/funcs/costs-get-costsheet.ts +3 -1
- package/src/funcs/costs-get-detailed-cost-analytics-v2.ts +3 -1
- package/src/funcs/costs-get-detailed-cost-analytics.ts +3 -1
- package/src/funcs/costs-query-costsheet.ts +3 -1
- package/src/funcs/costs-update-costsheet.ts +3 -1
- package/src/funcs/coupons-create-coupon.ts +3 -1
- package/src/funcs/coupons-delete-coupon.ts +3 -1
- package/src/funcs/coupons-get-coupon.ts +3 -1
- package/src/funcs/coupons-query-coupon.ts +3 -1
- package/src/funcs/coupons-update-coupon.ts +3 -1
- package/src/funcs/credit-grants-create-credit-grant.ts +3 -1
- package/src/funcs/credit-grants-delete-credit-grant.ts +3 -1
- package/src/funcs/credit-grants-get-credit-grant.ts +3 -1
- package/src/funcs/credit-grants-get-plan-credit-grants.ts +3 -1
- package/src/funcs/credit-grants-update-credit-grant.ts +3 -1
- package/src/funcs/credit-notes-create-credit-note.ts +3 -1
- package/src/funcs/credit-notes-get-credit-note.ts +3 -1
- package/src/funcs/credit-notes-process-credit-note.ts +3 -1
- package/src/funcs/credit-notes-void-credit-note.ts +3 -1
- package/src/funcs/customers-create-customer.ts +3 -1
- package/src/funcs/customers-delete-customer.ts +3 -1
- package/src/funcs/customers-get-customer-by-external-id.ts +3 -1
- package/src/funcs/customers-get-customer-entitlements.ts +3 -1
- package/src/funcs/customers-get-customer-upcoming-grants.ts +3 -1
- package/src/funcs/customers-get-customer-usage-summary.ts +3 -1
- package/src/funcs/customers-get-customer.ts +3 -1
- package/src/funcs/customers-query-customer.ts +3 -1
- package/src/funcs/customers-update-customer.ts +3 -1
- package/src/funcs/entitlements-create-entitlement.ts +3 -1
- package/src/funcs/entitlements-create-entitlements-bulk.ts +3 -1
- package/src/funcs/entitlements-delete-entitlement.ts +3 -1
- package/src/funcs/entitlements-get-addon-entitlements.ts +3 -1
- package/src/funcs/entitlements-get-entitlement.ts +3 -1
- package/src/funcs/entitlements-get-plan-entitlements.ts +3 -1
- package/src/funcs/entitlements-query-entitlement.ts +3 -1
- package/src/funcs/entitlements-update-entitlement.ts +3 -1
- package/src/funcs/environments-clone-environment.ts +3 -1
- package/src/funcs/events-get-event.ts +3 -1
- package/src/funcs/events-get-huggingface-inference-data.ts +3 -1
- package/src/funcs/events-get-usage-analytics.ts +3 -1
- package/src/funcs/events-get-usage-by-meter.ts +3 -1
- package/src/funcs/events-get-usage-statistics.ts +3 -1
- package/src/funcs/events-ingest-event.ts +3 -1
- package/src/funcs/events-ingest-events-bulk.ts +3 -1
- package/src/funcs/events-list-raw-events.ts +3 -1
- package/src/funcs/features-clone-feature.ts +3 -1
- package/src/funcs/features-create-feature.ts +3 -1
- package/src/funcs/features-delete-feature.ts +3 -1
- package/src/funcs/features-query-feature.ts +3 -1
- package/src/funcs/features-update-feature.ts +3 -1
- package/src/funcs/groups-create-group.ts +3 -1
- package/src/funcs/groups-delete-group.ts +3 -1
- package/src/funcs/groups-get-group.ts +3 -1
- package/src/funcs/groups-query-group.ts +3 -1
- package/src/funcs/integrations-link-integration-mapping.ts +3 -1
- package/src/funcs/invoices-attempt-invoice-payment.ts +3 -1
- package/src/funcs/invoices-create-invoice.ts +3 -1
- package/src/funcs/invoices-finalize-invoice.ts +3 -1
- package/src/funcs/invoices-get-customer-invoice-summary.ts +3 -1
- package/src/funcs/invoices-get-invoice-pdf.ts +3 -1
- package/src/funcs/invoices-get-invoice-preview.ts +3 -1
- package/src/funcs/invoices-get-invoice.ts +3 -1
- package/src/funcs/invoices-get-meter-usage-preview-invoice.ts +3 -1
- package/src/funcs/invoices-query-invoice.ts +3 -1
- package/src/funcs/invoices-recalculate-invoice-v2.ts +3 -1
- package/src/funcs/invoices-recalculate-invoice.ts +3 -1
- package/src/funcs/invoices-trigger-invoice-comms-webhook.ts +3 -1
- package/src/funcs/invoices-update-invoice-payment-status.ts +3 -1
- package/src/funcs/invoices-update-invoice.ts +3 -1
- package/src/funcs/invoices-void-invoice.ts +3 -1
- package/src/funcs/meter-usage-get-meter-usage-analytics.ts +3 -1
- package/src/funcs/meter-usage-query-meter-usage.ts +3 -1
- package/src/funcs/payments-create-payment.ts +3 -1
- package/src/funcs/payments-delete-payment.ts +3 -1
- package/src/funcs/payments-get-payment.ts +3 -1
- package/src/funcs/payments-list-payments.ts +3 -1
- package/src/funcs/payments-process-payment.ts +3 -1
- package/src/funcs/payments-update-payment.ts +3 -1
- package/src/funcs/plans-clone-plan.ts +3 -1
- package/src/funcs/plans-create-plan.ts +3 -1
- package/src/funcs/plans-delete-plan.ts +3 -1
- package/src/funcs/plans-get-plan.ts +3 -1
- package/src/funcs/plans-query-plan.ts +3 -1
- package/src/funcs/plans-sync-plan-prices.ts +3 -1
- package/src/funcs/plans-update-plan.ts +3 -1
- package/src/funcs/price-units-create-price-unit.ts +3 -1
- package/src/funcs/price-units-delete-price-unit.ts +3 -1
- package/src/funcs/price-units-get-price-unit-by-code.ts +3 -1
- package/src/funcs/price-units-get-price-unit.ts +3 -1
- package/src/funcs/price-units-list-price-units.ts +3 -1
- package/src/funcs/price-units-query-price-unit.ts +3 -1
- package/src/funcs/price-units-update-price-unit.ts +3 -1
- package/src/funcs/prices-create-price.ts +3 -1
- package/src/funcs/prices-create-prices-bulk.ts +3 -1
- package/src/funcs/prices-delete-price.ts +3 -1
- package/src/funcs/prices-get-price-by-lookup-key.ts +3 -1
- package/src/funcs/prices-get-price.ts +3 -1
- package/src/funcs/prices-query-price.ts +3 -1
- package/src/funcs/prices-update-price.ts +3 -1
- package/src/funcs/rbac-get-rbac-role.ts +3 -1
- package/src/funcs/rbac-list-rbac-roles.ts +3 -1
- package/src/funcs/scheduled-tasks-create-scheduled-task.ts +3 -1
- package/src/funcs/scheduled-tasks-delete-scheduled-task.ts +3 -1
- package/src/funcs/scheduled-tasks-get-scheduled-task.ts +3 -1
- package/src/funcs/scheduled-tasks-list-scheduled-tasks.ts +3 -1
- package/src/funcs/scheduled-tasks-schedule-draft-finalization.ts +3 -1
- package/src/funcs/scheduled-tasks-schedule-update-billing-period.ts +3 -1
- package/src/funcs/scheduled-tasks-trigger-scheduled-task-run.ts +3 -1
- package/src/funcs/scheduled-tasks-update-scheduled-task.ts +3 -1
- package/src/funcs/secrets-create-api-key.ts +3 -1
- package/src/funcs/secrets-delete-api-key.ts +3 -1
- package/src/funcs/secrets-list-api-keys.ts +3 -1
- package/src/funcs/subscriptions-activate-subscription.ts +3 -1
- package/src/funcs/subscriptions-add-subscription-addon.ts +3 -1
- package/src/funcs/subscriptions-cancel-subscription-schedule.ts +3 -1
- package/src/funcs/subscriptions-cancel-subscription.ts +3 -1
- package/src/funcs/subscriptions-create-subscription-line-item.ts +3 -1
- package/src/funcs/subscriptions-create-subscription.ts +3 -1
- package/src/funcs/subscriptions-delete-subscription-line-item.ts +3 -1
- package/src/funcs/subscriptions-execute-subscription-change.ts +3 -1
- package/src/funcs/subscriptions-execute-subscription-modify.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-addon-associations.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-entitlements.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-schedule.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-upcoming-grants.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-usage.ts +3 -1
- package/src/funcs/subscriptions-get-subscription-v2.ts +3 -1
- package/src/funcs/subscriptions-get-subscription.ts +3 -1
- package/src/funcs/subscriptions-list-all-subscription-schedules.ts +3 -1
- package/src/funcs/subscriptions-list-subscription-pauses.ts +3 -1
- package/src/funcs/subscriptions-list-subscription-schedules.ts +3 -1
- package/src/funcs/subscriptions-pause-subscription.ts +3 -1
- package/src/funcs/subscriptions-preview-subscription-change.ts +3 -1
- package/src/funcs/subscriptions-preview-subscription-modify.ts +3 -1
- package/src/funcs/subscriptions-query-subscription.ts +3 -1
- package/src/funcs/subscriptions-remove-subscription-addon.ts +3 -1
- package/src/funcs/subscriptions-resume-subscription.ts +3 -1
- package/src/funcs/subscriptions-update-subscription-line-item.ts +3 -1
- package/src/funcs/subscriptions-update-subscription.ts +3 -1
- package/src/funcs/tasks-create-task.ts +3 -1
- package/src/funcs/tasks-download-task-export.ts +3 -1
- package/src/funcs/tasks-get-task-result.ts +3 -1
- package/src/funcs/tasks-get-task.ts +3 -1
- package/src/funcs/tasks-list-tasks.ts +3 -1
- package/src/funcs/tasks-update-task-status.ts +3 -1
- package/src/funcs/tax-associations-create-tax-association.ts +3 -1
- package/src/funcs/tax-associations-delete-tax-association.ts +3 -1
- package/src/funcs/tax-associations-get-tax-association.ts +3 -1
- package/src/funcs/tax-associations-list-tax-associations.ts +3 -1
- package/src/funcs/tax-associations-update-tax-association.ts +3 -1
- package/src/funcs/tax-rates-create-tax-rate.ts +3 -1
- package/src/funcs/tax-rates-delete-tax-rate.ts +3 -1
- package/src/funcs/tax-rates-get-tax-rate.ts +3 -1
- package/src/funcs/tax-rates-get-tax-rates.ts +3 -1
- package/src/funcs/tax-rates-update-tax-rate.ts +3 -1
- package/src/funcs/tenants-get-tenant-billing-usage.ts +3 -1
- package/src/funcs/tenants-get-tenant-by-id.ts +3 -1
- package/src/funcs/tenants-update-tenant.ts +3 -1
- package/src/funcs/users-create-user.ts +3 -1
- package/src/funcs/users-get-user-info.ts +3 -1
- package/src/funcs/users-query-user.ts +3 -1
- package/src/funcs/wallets-create-wallet.ts +3 -1
- package/src/funcs/wallets-get-customer-wallets.ts +3 -1
- package/src/funcs/wallets-get-wallet-balance.ts +3 -1
- package/src/funcs/wallets-get-wallet-transactions.ts +3 -1
- package/src/funcs/wallets-get-wallet.ts +3 -1
- package/src/funcs/wallets-get-wallets-by-customer-id.ts +3 -1
- package/src/funcs/wallets-query-wallet-transaction.ts +3 -1
- package/src/funcs/wallets-query-wallet.ts +3 -1
- package/src/funcs/wallets-terminate-wallet.ts +3 -1
- package/src/funcs/wallets-top-up-wallet.ts +3 -1
- package/src/funcs/wallets-update-wallet.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-credit-note-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-credit-note-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-customer-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-customer-deleted.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-customer-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-entitlement-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-entitlement-deleted.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-entitlement-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-feature-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-feature-deleted.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-feature-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-update-finalized.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-update-payment.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-update-voided.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-invoice-update.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-payment-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-payment-failed.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-payment-pending.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-payment-success.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-payment-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-activated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-cancelled.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-draft-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-paused.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-phase-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-phase-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-renewal-due.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-resumed.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-subscription-updated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-terminated.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-transaction-created.ts +3 -1
- package/src/funcs/webhook-events-post-webhook-events-wallet-updated.ts +3 -1
- package/src/funcs/workflows-query-workflow.ts +3 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +3 -6
- package/src/sdk/models/add-addon-request.ts +12 -0
- package/src/sdk/models/add-addon-to-subscription-request.ts +12 -0
- package/src/sdk/models/addon-cadence.ts +16 -0
- package/src/sdk/models/addon-filter.ts +0 -5
- package/src/sdk/models/addon-response.ts +0 -3
- package/src/sdk/models/addon-status.ts +1 -1
- package/src/sdk/models/addon.ts +0 -3
- package/src/sdk/models/create-addon-request.ts +0 -4
- package/src/sdk/models/create-addon-response.ts +0 -3
- package/src/sdk/models/create-subscription-line-item-request.ts +8 -0
- package/src/sdk/models/delete-subscription-line-item-request.ts +8 -0
- package/src/sdk/models/index.ts +1 -1
- package/src/sdk/models/remove-addon-request.ts +22 -0
- package/src/sdk/models/subscription-line-item-response.ts +3 -0
- package/src/sdk/models/subscription-subscription-line-item.ts +3 -0
- package/docs/sdk/models/addon-type.md +0 -17
- package/esm/sdk/models/addon-type.d.ts +0 -12
- package/esm/sdk/models/addon-type.d.ts.map +0 -1
- package/esm/sdk/models/addon-type.js +0 -13
- package/esm/sdk/models/addon-type.js.map +0 -1
- package/src/sdk/models/addon-type.ts +0 -20
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { FlexpriceCore } from "../core.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
6
7
|
import * as M from "../lib/matchers.js";
|
|
7
8
|
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { RequestOptions } from "../lib/sdks.js";
|
|
@@ -110,7 +111,8 @@ async function $do(
|
|
|
110
111
|
|
|
111
112
|
const doResult = await client._do(req, {
|
|
112
113
|
context,
|
|
113
|
-
|
|
114
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
115
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
114
116
|
retryConfig: context.retryConfig,
|
|
115
117
|
retryCodes: context.retryCodes,
|
|
116
118
|
});
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { FlexpriceCore } from "../core.js";
|
|
7
7
|
import { encodeJSON } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
9
|
import * as M from "../lib/matchers.js";
|
|
9
10
|
import { compactMap } from "../lib/primitives.js";
|
|
10
11
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -131,7 +132,8 @@ async function $do(
|
|
|
131
132
|
|
|
132
133
|
const doResult = await client._do(req, {
|
|
133
134
|
context,
|
|
134
|
-
|
|
135
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
136
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
135
137
|
retryConfig: context.retryConfig,
|
|
136
138
|
retryCodes: context.retryCodes,
|
|
137
139
|
});
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.0",
|
|
68
|
-
sdkVersion: "2.1.
|
|
69
|
-
genVersion: "2.
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 2.1.
|
|
68
|
+
sdkVersion: "2.1.5",
|
|
69
|
+
genVersion: "2.881.4",
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 2.1.5 2.881.4 1.0 @flexprice/sdk",
|
|
71
71
|
} as const;
|
package/src/lib/sdks.ts
CHANGED
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
isConnectionError,
|
|
22
22
|
isTimeoutError,
|
|
23
23
|
matchContentType,
|
|
24
|
-
matchStatusCode,
|
|
25
24
|
} from "./http.js";
|
|
26
25
|
import { Logger } from "./logger.js";
|
|
27
26
|
import { retry, RetryConfig } from "./retries.js";
|
|
@@ -229,7 +228,7 @@ export class ClientSDK {
|
|
|
229
228
|
request: Request,
|
|
230
229
|
options: {
|
|
231
230
|
context: HookContext;
|
|
232
|
-
|
|
231
|
+
isErrorStatusCode: (statusCode: number) => boolean;
|
|
233
232
|
retryConfig: RetryConfig;
|
|
234
233
|
retryCodes: string[];
|
|
235
234
|
},
|
|
@@ -242,7 +241,7 @@ export class ClientSDK {
|
|
|
242
241
|
| UnexpectedClientError
|
|
243
242
|
>
|
|
244
243
|
> {
|
|
245
|
-
const { context,
|
|
244
|
+
const { context, isErrorStatusCode } = options;
|
|
246
245
|
|
|
247
246
|
return retry(
|
|
248
247
|
async () => {
|
|
@@ -254,7 +253,7 @@ export class ClientSDK {
|
|
|
254
253
|
let response = await this.#httpClient.request(req);
|
|
255
254
|
|
|
256
255
|
try {
|
|
257
|
-
if (
|
|
256
|
+
if (isErrorStatusCode(response.status)) {
|
|
258
257
|
const result = await this.#hooks.afterError(
|
|
259
258
|
context,
|
|
260
259
|
response,
|
|
@@ -378,8 +377,6 @@ async function logResponse(
|
|
|
378
377
|
break;
|
|
379
378
|
case matchContentType(res, "application/jsonl")
|
|
380
379
|
|| jsonlLikeContentTypeRE.test(ct):
|
|
381
|
-
logger.log(await res.clone().text());
|
|
382
|
-
break;
|
|
383
380
|
case matchContentType(res, "text/event-stream"):
|
|
384
381
|
logger.log(`<${contentType}>`);
|
|
385
382
|
break;
|
|
@@ -4,19 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { AddonCadence, AddonCadence$outboundSchema } from "./addon-cadence.js";
|
|
7
8
|
import {
|
|
8
9
|
LineItemCommitmentConfig,
|
|
9
10
|
LineItemCommitmentConfig$Outbound,
|
|
10
11
|
LineItemCommitmentConfig$outboundSchema,
|
|
11
12
|
} from "./line-item-commitment-config.js";
|
|
13
|
+
import {
|
|
14
|
+
ProrationBehavior,
|
|
15
|
+
ProrationBehavior$outboundSchema,
|
|
16
|
+
} from "./proration-behavior.js";
|
|
12
17
|
|
|
13
18
|
export type AddAddonRequest = {
|
|
14
19
|
addonId: string;
|
|
20
|
+
cadence?: AddonCadence | undefined;
|
|
15
21
|
/**
|
|
16
22
|
* LineItemCommitments allows setting commitment configuration per addon line item (keyed by price_id)
|
|
17
23
|
*/
|
|
18
24
|
lineItemCommitments?: { [k: string]: LineItemCommitmentConfig } | undefined;
|
|
19
25
|
metadata?: { [k: string]: any } | undefined;
|
|
26
|
+
prorationBehavior?: ProrationBehavior | undefined;
|
|
20
27
|
startDate?: Date | undefined;
|
|
21
28
|
subscriptionId: string;
|
|
22
29
|
};
|
|
@@ -24,10 +31,12 @@ export type AddAddonRequest = {
|
|
|
24
31
|
/** @internal */
|
|
25
32
|
export type AddAddonRequest$Outbound = {
|
|
26
33
|
addon_id: string;
|
|
34
|
+
cadence?: string | undefined;
|
|
27
35
|
line_item_commitments?:
|
|
28
36
|
| { [k: string]: LineItemCommitmentConfig$Outbound }
|
|
29
37
|
| undefined;
|
|
30
38
|
metadata?: { [k: string]: any } | undefined;
|
|
39
|
+
proration_behavior?: string | undefined;
|
|
31
40
|
start_date?: string | undefined;
|
|
32
41
|
subscription_id: string;
|
|
33
42
|
};
|
|
@@ -39,10 +48,12 @@ export const AddAddonRequest$outboundSchema: z.ZodMiniType<
|
|
|
39
48
|
> = z.pipe(
|
|
40
49
|
z.object({
|
|
41
50
|
addonId: z.string(),
|
|
51
|
+
cadence: z.optional(AddonCadence$outboundSchema),
|
|
42
52
|
lineItemCommitments: z.optional(
|
|
43
53
|
z.record(z.string(), LineItemCommitmentConfig$outboundSchema),
|
|
44
54
|
),
|
|
45
55
|
metadata: z.optional(z.record(z.string(), z.any())),
|
|
56
|
+
prorationBehavior: z.optional(ProrationBehavior$outboundSchema),
|
|
46
57
|
startDate: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
47
58
|
subscriptionId: z.string(),
|
|
48
59
|
}),
|
|
@@ -50,6 +61,7 @@ export const AddAddonRequest$outboundSchema: z.ZodMiniType<
|
|
|
50
61
|
return remap$(v, {
|
|
51
62
|
addonId: "addon_id",
|
|
52
63
|
lineItemCommitments: "line_item_commitments",
|
|
64
|
+
prorationBehavior: "proration_behavior",
|
|
53
65
|
startDate: "start_date",
|
|
54
66
|
subscriptionId: "subscription_id",
|
|
55
67
|
});
|
|
@@ -4,29 +4,38 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { AddonCadence, AddonCadence$outboundSchema } from "./addon-cadence.js";
|
|
7
8
|
import {
|
|
8
9
|
LineItemCommitmentConfig,
|
|
9
10
|
LineItemCommitmentConfig$Outbound,
|
|
10
11
|
LineItemCommitmentConfig$outboundSchema,
|
|
11
12
|
} from "./line-item-commitment-config.js";
|
|
13
|
+
import {
|
|
14
|
+
ProrationBehavior,
|
|
15
|
+
ProrationBehavior$outboundSchema,
|
|
16
|
+
} from "./proration-behavior.js";
|
|
12
17
|
|
|
13
18
|
export type AddAddonToSubscriptionRequest = {
|
|
14
19
|
addonId: string;
|
|
20
|
+
cadence?: AddonCadence | undefined;
|
|
15
21
|
/**
|
|
16
22
|
* LineItemCommitments allows setting commitment configuration per addon line item (keyed by price_id)
|
|
17
23
|
*/
|
|
18
24
|
lineItemCommitments?: { [k: string]: LineItemCommitmentConfig } | undefined;
|
|
19
25
|
metadata?: { [k: string]: any } | undefined;
|
|
26
|
+
prorationBehavior?: ProrationBehavior | undefined;
|
|
20
27
|
startDate?: Date | undefined;
|
|
21
28
|
};
|
|
22
29
|
|
|
23
30
|
/** @internal */
|
|
24
31
|
export type AddAddonToSubscriptionRequest$Outbound = {
|
|
25
32
|
addon_id: string;
|
|
33
|
+
cadence?: string | undefined;
|
|
26
34
|
line_item_commitments?:
|
|
27
35
|
| { [k: string]: LineItemCommitmentConfig$Outbound }
|
|
28
36
|
| undefined;
|
|
29
37
|
metadata?: { [k: string]: any } | undefined;
|
|
38
|
+
proration_behavior?: string | undefined;
|
|
30
39
|
start_date?: string | undefined;
|
|
31
40
|
};
|
|
32
41
|
|
|
@@ -37,16 +46,19 @@ export const AddAddonToSubscriptionRequest$outboundSchema: z.ZodMiniType<
|
|
|
37
46
|
> = z.pipe(
|
|
38
47
|
z.object({
|
|
39
48
|
addonId: z.string(),
|
|
49
|
+
cadence: z.optional(AddonCadence$outboundSchema),
|
|
40
50
|
lineItemCommitments: z.optional(
|
|
41
51
|
z.record(z.string(), LineItemCommitmentConfig$outboundSchema),
|
|
42
52
|
),
|
|
43
53
|
metadata: z.optional(z.record(z.string(), z.any())),
|
|
54
|
+
prorationBehavior: z.optional(ProrationBehavior$outboundSchema),
|
|
44
55
|
startDate: z.optional(z.pipe(z.date(), z.transform(v => v.toISOString()))),
|
|
45
56
|
}),
|
|
46
57
|
z.transform((v) => {
|
|
47
58
|
return remap$(v, {
|
|
48
59
|
addonId: "addon_id",
|
|
49
60
|
lineItemCommitments: "line_item_commitments",
|
|
61
|
+
prorationBehavior: "proration_behavior",
|
|
50
62
|
startDate: "start_date",
|
|
51
63
|
});
|
|
52
64
|
}),
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const AddonCadence = {
|
|
9
|
+
Onetime: "onetime",
|
|
10
|
+
Recurring: "recurring",
|
|
11
|
+
} as const;
|
|
12
|
+
export type AddonCadence = ClosedEnum<typeof AddonCadence>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const AddonCadence$outboundSchema: z.ZodMiniEnum<typeof AddonCadence> = z
|
|
16
|
+
.enum(AddonCadence);
|