@flexprice/sdk 2.1.2 → 2.1.4
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/docs/sdk/models/changed-invoice-action.md +19 -0
- package/docs/sdk/models/changed-invoice-status.md +19 -0
- package/docs/sdk/models/changed-invoice.md +19 -6
- package/docs/sdk/models/changed-line-item-action.md +19 -0
- package/docs/sdk/models/changed-line-item.md +1 -1
- package/docs/sdk/models/changed-resources.md +16 -1
- package/docs/sdk/models/changed-subscription-action.md +19 -0
- package/docs/sdk/models/changed-subscription.md +5 -5
- package/docs/sdk/models/clone-environment-request-request.md +19 -0
- package/docs/sdk/models/clone-environment-request.md +17 -0
- package/docs/sdk/models/clone-feature-request-request.md +19 -0
- package/docs/sdk/models/clone-feature-request.md +18 -0
- package/docs/sdk/models/{post-plans-id-clone-request.md → clone-plan-request-request.md} +3 -3
- package/docs/sdk/models/create-subscription-request.md +38 -37
- package/docs/sdk/models/environment-type.md +15 -0
- package/docs/sdk/models/subscription-modify-response.md +16 -0
- package/docs/sdks/environments/README.md +79 -0
- package/docs/sdks/features/README.md +73 -0
- package/docs/sdks/plans/README.md +7 -7
- 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 +17 -0
- package/esm/funcs/environments-clone-environment.d.ts.map +1 -0
- package/esm/funcs/environments-clone-environment.js +93 -0
- package/esm/funcs/environments-clone-environment.js.map +1 -0
- 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 +17 -0
- package/esm/funcs/features-clone-feature.d.ts.map +1 -0
- package/esm/funcs/features-clone-feature.js +93 -0
- package/esm/funcs/features-clone-feature.js.map +1 -0
- 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-post-plans-id-clone.d.ts → plans-clone-plan.d.ts} +2 -2
- package/esm/funcs/plans-clone-plan.d.ts.map +1 -0
- package/esm/funcs/{plans-post-plans-id-clone.js → plans-clone-plan.js} +6 -5
- package/esm/funcs/plans-clone-plan.js.map +1 -0
- 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 -3
- package/esm/lib/sdks.js.map +1 -1
- package/esm/sdk/environments.d.ts +12 -0
- package/esm/sdk/environments.d.ts.map +1 -0
- package/esm/sdk/environments.js +18 -0
- package/esm/sdk/environments.js.map +1 -0
- package/esm/sdk/features.d.ts +7 -0
- package/esm/sdk/features.d.ts.map +1 -1
- package/esm/sdk/features.js +10 -0
- package/esm/sdk/features.js.map +1 -1
- package/esm/sdk/models/changed-invoice-action.d.ts +16 -0
- package/esm/sdk/models/changed-invoice-action.d.ts.map +1 -0
- package/esm/sdk/models/changed-invoice-action.js +14 -0
- package/esm/sdk/models/changed-invoice-action.js.map +1 -0
- package/esm/sdk/models/changed-invoice-status.d.ts +16 -0
- package/esm/sdk/models/changed-invoice-status.d.ts.map +1 -0
- package/esm/sdk/models/changed-invoice-status.js +14 -0
- package/esm/sdk/models/changed-invoice-status.js.map +1 -0
- package/esm/sdk/models/changed-invoice.d.ts +12 -3
- package/esm/sdk/models/changed-invoice.d.ts.map +1 -1
- package/esm/sdk/models/changed-invoice.js +15 -4
- package/esm/sdk/models/changed-invoice.js.map +1 -1
- package/esm/sdk/models/changed-line-item-action.d.ts +17 -0
- package/esm/sdk/models/changed-line-item-action.d.ts.map +1 -0
- package/esm/sdk/models/changed-line-item-action.js +15 -0
- package/esm/sdk/models/changed-line-item-action.js.map +1 -0
- package/esm/sdk/models/changed-line-item.d.ts +3 -2
- package/esm/sdk/models/changed-line-item.d.ts.map +1 -1
- package/esm/sdk/models/changed-line-item.js +2 -1
- package/esm/sdk/models/changed-line-item.js.map +1 -1
- package/esm/sdk/models/changed-subscription-action.d.ts +16 -0
- package/esm/sdk/models/changed-subscription-action.d.ts.map +1 -0
- package/esm/sdk/models/changed-subscription-action.js +14 -0
- package/esm/sdk/models/changed-subscription-action.js.map +1 -0
- package/esm/sdk/models/changed-subscription.d.ts +3 -2
- package/esm/sdk/models/changed-subscription.d.ts.map +1 -1
- package/esm/sdk/models/changed-subscription.js +2 -1
- package/esm/sdk/models/changed-subscription.js.map +1 -1
- package/esm/sdk/models/clone-environment-op.d.ts +21 -0
- package/esm/sdk/models/clone-environment-op.d.ts.map +1 -0
- package/esm/sdk/models/clone-environment-op.js +14 -0
- package/esm/sdk/models/clone-environment-op.js.map +1 -0
- package/esm/sdk/models/clone-environment-request.d.ts +26 -0
- package/esm/sdk/models/clone-environment-request.d.ts.map +1 -0
- package/esm/sdk/models/clone-environment-request.js +20 -0
- package/esm/sdk/models/clone-environment-request.js.map +1 -0
- package/esm/sdk/models/clone-feature-op.d.ts +21 -0
- package/esm/sdk/models/clone-feature-op.d.ts.map +1 -0
- package/esm/sdk/models/clone-feature-op.js +14 -0
- package/esm/sdk/models/clone-feature-op.js.map +1 -0
- package/esm/sdk/models/clone-feature-request.d.ts +31 -0
- package/esm/sdk/models/clone-feature-request.d.ts.map +1 -0
- package/esm/sdk/models/clone-feature-request.js +20 -0
- package/esm/sdk/models/clone-feature-request.js.map +1 -0
- package/esm/sdk/models/clone-plan-op.d.ts +21 -0
- package/esm/sdk/models/clone-plan-op.d.ts.map +1 -0
- package/esm/sdk/models/{post-plans-id-clone-op.js → clone-plan-op.js} +4 -4
- package/esm/sdk/models/clone-plan-op.js.map +1 -0
- package/esm/sdk/models/create-subscription-request.d.ts +10 -0
- package/esm/sdk/models/create-subscription-request.d.ts.map +1 -1
- package/esm/sdk/models/create-subscription-request.js +2 -0
- package/esm/sdk/models/create-subscription-request.js.map +1 -1
- package/esm/sdk/models/environment-type.d.ts +10 -0
- package/esm/sdk/models/environment-type.d.ts.map +1 -0
- package/esm/sdk/models/environment-type.js +11 -0
- package/esm/sdk/models/environment-type.js.map +1 -0
- package/esm/sdk/models/index.d.ts +10 -1
- package/esm/sdk/models/index.d.ts.map +1 -1
- package/esm/sdk/models/index.js +10 -1
- package/esm/sdk/models/index.js.map +1 -1
- package/esm/sdk/plans.d.ts +1 -1
- package/esm/sdk/plans.d.ts.map +1 -1
- package/esm/sdk/plans.js +3 -3
- package/esm/sdk/plans.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- 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 +187 -0
- 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 +186 -0
- 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-post-plans-id-clone.ts → plans-clone-plan.ts} +7 -5
- 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 -4
- package/src/sdk/environments.ts +29 -0
- package/src/sdk/features.ts +20 -0
- package/src/sdk/models/changed-invoice-action.ts +25 -0
- package/src/sdk/models/changed-invoice-status.ts +25 -0
- package/src/sdk/models/changed-invoice.ts +39 -8
- package/src/sdk/models/changed-line-item-action.ts +26 -0
- package/src/sdk/models/changed-line-item.ts +7 -3
- package/src/sdk/models/changed-subscription-action.ts +27 -0
- package/src/sdk/models/changed-subscription.ts +7 -3
- package/src/sdk/models/clone-environment-op.ts +46 -0
- package/src/sdk/models/clone-environment-request.ts +57 -0
- package/src/sdk/models/clone-feature-op.ts +44 -0
- package/src/sdk/models/clone-feature-request.ts +56 -0
- package/src/sdk/models/{post-plans-id-clone-op.ts → clone-plan-op.ts} +8 -8
- package/src/sdk/models/create-subscription-request.ts +14 -0
- package/src/sdk/models/environment-type.ts +17 -0
- package/src/sdk/models/index.ts +10 -1
- package/src/sdk/plans.ts +3 -3
- package/src/sdk/sdk.ts +6 -0
- package/esm/funcs/plans-post-plans-id-clone.d.ts.map +0 -1
- package/esm/funcs/plans-post-plans-id-clone.js.map +0 -1
- package/esm/sdk/models/post-plans-id-clone-op.d.ts +0 -21
- package/esm/sdk/models/post-plans-id-clone-op.d.ts.map +0 -1
- package/esm/sdk/models/post-plans-id-clone-op.js.map +0 -1
|
@@ -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
|
});
|
|
@@ -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.4",
|
|
69
|
+
genVersion: "2.881.0",
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 2.1.4 2.881.0 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,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { environmentsCloneEnvironment } from "../funcs/environments-clone-environment.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
8
|
+
import * as models from "./models/index.js";
|
|
9
|
+
|
|
10
|
+
export class Environments extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Clone an environment
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Clone all published features and plans from the source environment into a target environment. If target_environment_id is provided, entities are cloned into that existing environment. Otherwise a new environment is created from name and type first.
|
|
16
|
+
*/
|
|
17
|
+
async cloneEnvironment(
|
|
18
|
+
id: string,
|
|
19
|
+
body: models.CloneEnvironmentRequest,
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): Promise<models.ModelsTemporalWorkflowResult> {
|
|
22
|
+
return unwrapAsync(environmentsCloneEnvironment(
|
|
23
|
+
this,
|
|
24
|
+
id,
|
|
25
|
+
body,
|
|
26
|
+
options,
|
|
27
|
+
));
|
|
28
|
+
}
|
|
29
|
+
}
|
package/src/sdk/features.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { featuresCloneFeature } from "../funcs/features-clone-feature.js";
|
|
5
6
|
import { featuresCreateFeature } from "../funcs/features-create-feature.js";
|
|
6
7
|
import { featuresDeleteFeature } from "../funcs/features-delete-feature.js";
|
|
7
8
|
import { featuresQueryFeature } from "../funcs/features-query-feature.js";
|
|
@@ -80,4 +81,23 @@ export class Features extends ClientSDK {
|
|
|
80
81
|
options,
|
|
81
82
|
));
|
|
82
83
|
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Clone a feature
|
|
87
|
+
*
|
|
88
|
+
* @remarks
|
|
89
|
+
* Clone an existing feature
|
|
90
|
+
*/
|
|
91
|
+
async cloneFeature(
|
|
92
|
+
id: string,
|
|
93
|
+
body: models.CloneFeatureRequest,
|
|
94
|
+
options?: RequestOptions,
|
|
95
|
+
): Promise<models.FeatureResponse> {
|
|
96
|
+
return unwrapAsync(featuresCloneFeature(
|
|
97
|
+
this,
|
|
98
|
+
id,
|
|
99
|
+
body,
|
|
100
|
+
options,
|
|
101
|
+
));
|
|
102
|
+
}
|
|
83
103
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* created (proration invoice) | wallet_credit (downgrade credit)
|
|
11
|
+
*/
|
|
12
|
+
export const ChangedInvoiceAction = {
|
|
13
|
+
Created: "created",
|
|
14
|
+
WalletCredit: "wallet_credit",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* created (proration invoice) | wallet_credit (downgrade credit)
|
|
18
|
+
*/
|
|
19
|
+
export type ChangedInvoiceAction = OpenEnum<typeof ChangedInvoiceAction>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ChangedInvoiceAction$inboundSchema: z.ZodMiniType<
|
|
23
|
+
ChangedInvoiceAction,
|
|
24
|
+
unknown
|
|
25
|
+
> = openEnums.inboundSchema(ChangedInvoiceAction);
|