@flexprice/sdk 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdk/models/addon-association-response.md +2 -2
- package/docs/sdk/models/{addon1.md → addon-response.md} +4 -4
- package/docs/sdk/models/{addon2.md → addon.md} +3 -3
- package/docs/sdk/models/aggregated-feature.md +1 -1
- package/docs/sdk/models/alert-log-response.md +3 -3
- package/docs/sdk/models/cancel-subscription-response.md +1 -1
- package/docs/sdk/models/costsheet-response.md +1 -1
- package/docs/sdk/models/coupon-response.md +35 -0
- package/docs/sdk/models/create-addon-response.md +1 -1
- package/docs/sdk/models/create-bulk-price-response.md +3 -3
- package/docs/sdk/models/credit-note-response.md +3 -3
- package/docs/sdk/models/customer-lookup-result.md +1 -1
- package/docs/sdk/models/{customer1.md → customer-response.md} +3 -3
- package/docs/sdk/models/{customer2.md → customer.md} +3 -3
- package/docs/sdk/models/entitlement-response.md +3 -3
- package/docs/sdk/models/{feature1.md → feature-response.md} +3 -3
- package/docs/sdk/models/feature-usage-summary.md +1 -1
- package/docs/sdk/models/{feature2.md → feature.md} +3 -3
- package/docs/sdk/models/{invoice.md → invoice-response.md} +5 -5
- package/docs/sdk/models/list-addons-response.md +1 -1
- package/docs/sdk/models/list-coupons-response.md +1 -1
- package/docs/sdk/models/list-customers-response.md +1 -1
- package/docs/sdk/models/list-features-response.md +1 -1
- package/docs/sdk/models/list-invoices-response.md +1 -1
- package/docs/sdk/models/list-payments-response.md +1 -1
- package/docs/sdk/models/list-plans-response.md +1 -1
- package/docs/sdk/models/list-prices-response.md +1 -1
- package/docs/sdk/models/list-response-dto-wallet-response.md +1 -1
- package/docs/sdk/models/list-subscriptions-response.md +4 -4
- package/docs/sdk/models/{payment.md → payment-response.md} +3 -3
- package/docs/sdk/models/{plan1.md → plan-response.md} +4 -4
- package/docs/sdk/models/{plan2.md → plan.md} +3 -3
- package/docs/sdk/models/{price.md → price-response.md} +5 -5
- package/docs/sdk/models/subscription-change-execute-response.md +1 -1
- package/docs/sdk/models/subscription-line-item-response.md +1 -1
- package/docs/sdk/models/subscription-response-v2.md +2 -2
- package/docs/sdk/models/{subscription.md → subscription-response.md} +6 -6
- package/docs/sdk/models/tenant-billing-usage.md +1 -1
- package/docs/sdk/models/top-up-wallet-response.md +1 -1
- package/docs/sdk/models/usage-analytic-item.md +4 -4
- package/docs/sdk/models/{wallet.md → wallet-response.md} +3 -3
- package/docs/sdk/models/wallet-transaction-response.md +2 -2
- package/docs/sdk/models/webhook-dto-alert-webhook-payload.md +3 -3
- package/docs/sdk/models/webhook-dto-communication-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-customer-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-feature-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-invoice-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-payment-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-subscription-webhook-payload.md +4 -4
- package/docs/sdk/models/webhook-dto-transaction-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-wallet-webhook-payload.md +2 -2
- package/docs/sdks/addons/README.md +3 -3
- package/docs/sdks/coupons/README.md +3 -3
- package/docs/sdks/customers/README.md +4 -4
- package/docs/sdks/features/README.md +2 -2
- package/docs/sdks/invoices/README.md +6 -6
- package/docs/sdks/payments/README.md +4 -4
- package/docs/sdks/plans/README.md +4 -4
- package/docs/sdks/prices/README.md +4 -4
- package/docs/sdks/subscriptions/README.md +5 -5
- package/docs/sdks/wallets/README.md +6 -6
- package/esm/funcs/addons-get-addon-by-lookup-key.d.ts +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 +1 -1
- package/esm/funcs/addons-get-addon-by-lookup-key.js.map +1 -1
- package/esm/funcs/addons-get-addon.d.ts +1 -1
- package/esm/funcs/addons-get-addon.d.ts.map +1 -1
- package/esm/funcs/addons-get-addon.js +1 -1
- package/esm/funcs/addons-get-addon.js.map +1 -1
- package/esm/funcs/addons-update-addon.d.ts +1 -1
- package/esm/funcs/addons-update-addon.d.ts.map +1 -1
- package/esm/funcs/addons-update-addon.js +1 -1
- package/esm/funcs/addons-update-addon.js.map +1 -1
- package/esm/funcs/coupons-create-coupon.d.ts +1 -1
- package/esm/funcs/coupons-create-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-create-coupon.js +1 -1
- package/esm/funcs/coupons-create-coupon.js.map +1 -1
- package/esm/funcs/coupons-get-coupon.d.ts +1 -1
- package/esm/funcs/coupons-get-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-get-coupon.js +1 -1
- package/esm/funcs/coupons-get-coupon.js.map +1 -1
- package/esm/funcs/coupons-update-coupon.d.ts +1 -1
- package/esm/funcs/coupons-update-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-update-coupon.js +1 -1
- package/esm/funcs/coupons-update-coupon.js.map +1 -1
- package/esm/funcs/customers-create-customer.d.ts +1 -1
- package/esm/funcs/customers-create-customer.d.ts.map +1 -1
- package/esm/funcs/customers-create-customer.js +1 -1
- package/esm/funcs/customers-create-customer.js.map +1 -1
- package/esm/funcs/customers-get-customer-by-external-id.d.ts +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 +1 -1
- package/esm/funcs/customers-get-customer-by-external-id.js.map +1 -1
- package/esm/funcs/customers-get-customer.d.ts +1 -1
- package/esm/funcs/customers-get-customer.d.ts.map +1 -1
- package/esm/funcs/customers-get-customer.js +1 -1
- package/esm/funcs/customers-get-customer.js.map +1 -1
- package/esm/funcs/customers-update-customer.d.ts +1 -1
- package/esm/funcs/customers-update-customer.d.ts.map +1 -1
- package/esm/funcs/customers-update-customer.js +1 -1
- package/esm/funcs/customers-update-customer.js.map +1 -1
- package/esm/funcs/features-create-feature.d.ts +1 -1
- package/esm/funcs/features-create-feature.d.ts.map +1 -1
- package/esm/funcs/features-create-feature.js +1 -1
- package/esm/funcs/features-create-feature.js.map +1 -1
- package/esm/funcs/features-update-feature.d.ts +1 -1
- package/esm/funcs/features-update-feature.d.ts.map +1 -1
- package/esm/funcs/features-update-feature.js +1 -1
- package/esm/funcs/features-update-feature.js.map +1 -1
- package/esm/funcs/invoices-create-invoice.d.ts +1 -1
- package/esm/funcs/invoices-create-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-create-invoice.js +1 -1
- package/esm/funcs/invoices-create-invoice.js.map +1 -1
- package/esm/funcs/invoices-get-invoice-preview.d.ts +1 -1
- package/esm/funcs/invoices-get-invoice-preview.d.ts.map +1 -1
- package/esm/funcs/invoices-get-invoice-preview.js +1 -1
- package/esm/funcs/invoices-get-invoice-preview.js.map +1 -1
- package/esm/funcs/invoices-get-invoice.d.ts +1 -1
- package/esm/funcs/invoices-get-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-get-invoice.js +1 -1
- package/esm/funcs/invoices-get-invoice.js.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.d.ts +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.d.ts.map +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.js +1 -1
- package/esm/funcs/invoices-recalculate-invoice-v2.js.map +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.d.ts +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.d.ts.map +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.js +1 -1
- package/esm/funcs/invoices-update-invoice-payment-status.js.map +1 -1
- package/esm/funcs/invoices-update-invoice.d.ts +1 -1
- package/esm/funcs/invoices-update-invoice.d.ts.map +1 -1
- package/esm/funcs/invoices-update-invoice.js +1 -1
- package/esm/funcs/invoices-update-invoice.js.map +1 -1
- package/esm/funcs/payments-create-payment.d.ts +1 -1
- package/esm/funcs/payments-create-payment.d.ts.map +1 -1
- package/esm/funcs/payments-create-payment.js +1 -1
- package/esm/funcs/payments-create-payment.js.map +1 -1
- package/esm/funcs/payments-get-payment.d.ts +1 -1
- package/esm/funcs/payments-get-payment.d.ts.map +1 -1
- package/esm/funcs/payments-get-payment.js +1 -1
- package/esm/funcs/payments-get-payment.js.map +1 -1
- package/esm/funcs/payments-process-payment.d.ts +1 -1
- package/esm/funcs/payments-process-payment.d.ts.map +1 -1
- package/esm/funcs/payments-process-payment.js +1 -1
- package/esm/funcs/payments-process-payment.js.map +1 -1
- package/esm/funcs/payments-update-payment.d.ts +1 -1
- package/esm/funcs/payments-update-payment.d.ts.map +1 -1
- package/esm/funcs/payments-update-payment.js +1 -1
- package/esm/funcs/payments-update-payment.js.map +1 -1
- package/esm/funcs/plans-create-plan.d.ts +1 -1
- package/esm/funcs/plans-create-plan.d.ts.map +1 -1
- package/esm/funcs/plans-create-plan.js +1 -1
- package/esm/funcs/plans-create-plan.js.map +1 -1
- package/esm/funcs/plans-get-plan.d.ts +1 -1
- package/esm/funcs/plans-get-plan.d.ts.map +1 -1
- package/esm/funcs/plans-get-plan.js +1 -1
- package/esm/funcs/plans-get-plan.js.map +1 -1
- package/esm/funcs/plans-post-plans-id-clone.d.ts +1 -1
- package/esm/funcs/plans-post-plans-id-clone.d.ts.map +1 -1
- package/esm/funcs/plans-post-plans-id-clone.js +1 -1
- package/esm/funcs/plans-post-plans-id-clone.js.map +1 -1
- package/esm/funcs/plans-update-plan.d.ts +1 -1
- package/esm/funcs/plans-update-plan.d.ts.map +1 -1
- package/esm/funcs/plans-update-plan.js +1 -1
- package/esm/funcs/plans-update-plan.js.map +1 -1
- package/esm/funcs/prices-create-price.d.ts +1 -1
- package/esm/funcs/prices-create-price.d.ts.map +1 -1
- package/esm/funcs/prices-create-price.js +1 -1
- package/esm/funcs/prices-create-price.js.map +1 -1
- package/esm/funcs/prices-get-price-by-lookup-key.d.ts +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 +1 -1
- package/esm/funcs/prices-get-price-by-lookup-key.js.map +1 -1
- package/esm/funcs/prices-get-price.d.ts +1 -1
- package/esm/funcs/prices-get-price.d.ts.map +1 -1
- package/esm/funcs/prices-get-price.js +1 -1
- package/esm/funcs/prices-get-price.js.map +1 -1
- package/esm/funcs/prices-update-price.d.ts +1 -1
- package/esm/funcs/prices-update-price.d.ts.map +1 -1
- package/esm/funcs/prices-update-price.js +1 -1
- package/esm/funcs/prices-update-price.js.map +1 -1
- package/esm/funcs/subscriptions-activate-subscription.d.ts +1 -1
- package/esm/funcs/subscriptions-activate-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-activate-subscription.js +1 -1
- package/esm/funcs/subscriptions-activate-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-create-subscription.d.ts +1 -1
- package/esm/funcs/subscriptions-create-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-create-subscription.js +1 -1
- package/esm/funcs/subscriptions-create-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.d.ts +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.d.ts.map +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.js +1 -1
- package/esm/funcs/subscriptions-execute-subscription-modify.js.map +1 -1
- package/esm/funcs/subscriptions-get-subscription.d.ts +1 -1
- package/esm/funcs/subscriptions-get-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-get-subscription.js +1 -1
- package/esm/funcs/subscriptions-get-subscription.js.map +1 -1
- package/esm/funcs/subscriptions-update-subscription.d.ts +1 -1
- package/esm/funcs/subscriptions-update-subscription.d.ts.map +1 -1
- package/esm/funcs/subscriptions-update-subscription.js +1 -1
- package/esm/funcs/subscriptions-update-subscription.js.map +1 -1
- package/esm/funcs/wallets-create-wallet.d.ts +1 -1
- package/esm/funcs/wallets-create-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-create-wallet.js +1 -1
- package/esm/funcs/wallets-create-wallet.js.map +1 -1
- package/esm/funcs/wallets-get-customer-wallets.d.ts +1 -1
- package/esm/funcs/wallets-get-customer-wallets.d.ts.map +1 -1
- package/esm/funcs/wallets-get-customer-wallets.js +1 -1
- package/esm/funcs/wallets-get-customer-wallets.js.map +1 -1
- package/esm/funcs/wallets-get-wallet.d.ts +1 -1
- package/esm/funcs/wallets-get-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-get-wallet.js +1 -1
- package/esm/funcs/wallets-get-wallet.js.map +1 -1
- package/esm/funcs/wallets-get-wallets-by-customer-id.d.ts +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 +1 -1
- package/esm/funcs/wallets-get-wallets-by-customer-id.js.map +1 -1
- package/esm/funcs/wallets-terminate-wallet.d.ts +1 -1
- package/esm/funcs/wallets-terminate-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-terminate-wallet.js +1 -1
- package/esm/funcs/wallets-terminate-wallet.js.map +1 -1
- package/esm/funcs/wallets-update-wallet.d.ts +1 -1
- package/esm/funcs/wallets-update-wallet.d.ts.map +1 -1
- package/esm/funcs/wallets-update-wallet.js +1 -1
- package/esm/funcs/wallets-update-wallet.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/sdk/addons.d.ts +3 -3
- package/esm/sdk/addons.d.ts.map +1 -1
- package/esm/sdk/addons.js.map +1 -1
- package/esm/sdk/coupons.d.ts +3 -3
- package/esm/sdk/coupons.d.ts.map +1 -1
- package/esm/sdk/coupons.js.map +1 -1
- package/esm/sdk/customer-portal.d.ts +4 -4
- package/esm/sdk/customer-portal.d.ts.map +1 -1
- package/esm/sdk/customers.d.ts +4 -4
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js.map +1 -1
- package/esm/sdk/features.d.ts +2 -2
- package/esm/sdk/features.d.ts.map +1 -1
- package/esm/sdk/features.js.map +1 -1
- package/esm/sdk/invoices.d.ts +6 -6
- package/esm/sdk/invoices.d.ts.map +1 -1
- package/esm/sdk/invoices.js.map +1 -1
- package/esm/sdk/models/addon-association-response.d.ts +4 -4
- package/esm/sdk/models/addon-association-response.d.ts.map +1 -1
- package/esm/sdk/models/addon-association-response.js +4 -4
- package/esm/sdk/models/addon-association-response.js.map +1 -1
- package/esm/sdk/models/{addon-1.d.ts → addon-response.d.ts} +6 -6
- package/esm/sdk/models/addon-response.d.ts.map +1 -0
- package/esm/sdk/models/{addon-1.js → addon-response.js} +6 -6
- package/esm/sdk/models/addon-response.js.map +1 -0
- package/esm/sdk/models/{addon-2.d.ts → addon.d.ts} +4 -4
- package/esm/sdk/models/addon.d.ts.map +1 -0
- package/esm/sdk/models/{addon-2.js → addon.js} +4 -4
- package/esm/sdk/models/addon.js.map +1 -0
- package/esm/sdk/models/aggregated-feature.d.ts +2 -2
- package/esm/sdk/models/aggregated-feature.d.ts.map +1 -1
- package/esm/sdk/models/aggregated-feature.js +2 -2
- package/esm/sdk/models/aggregated-feature.js.map +1 -1
- package/esm/sdk/models/alert-log-response.d.ts +6 -6
- package/esm/sdk/models/alert-log-response.d.ts.map +1 -1
- package/esm/sdk/models/alert-log-response.js +6 -6
- package/esm/sdk/models/alert-log-response.js.map +1 -1
- package/esm/sdk/models/cancel-subscription-response.d.ts +2 -2
- package/esm/sdk/models/cancel-subscription-response.d.ts.map +1 -1
- package/esm/sdk/models/cancel-subscription-response.js +2 -2
- package/esm/sdk/models/cancel-subscription-response.js.map +1 -1
- package/esm/sdk/models/costsheet-response.d.ts +2 -2
- package/esm/sdk/models/costsheet-response.d.ts.map +1 -1
- package/esm/sdk/models/costsheet-response.js +2 -2
- package/esm/sdk/models/costsheet-response.js.map +1 -1
- package/esm/sdk/models/coupon-response.d.ts +37 -0
- package/esm/sdk/models/coupon-response.d.ts.map +1 -0
- package/esm/sdk/models/coupon-response.js +54 -0
- package/esm/sdk/models/coupon-response.js.map +1 -0
- package/esm/sdk/models/create-addon-response.d.ts +2 -2
- package/esm/sdk/models/create-addon-response.d.ts.map +1 -1
- package/esm/sdk/models/create-addon-response.js +2 -2
- package/esm/sdk/models/create-addon-response.js.map +1 -1
- package/esm/sdk/models/create-bulk-price-response.d.ts +2 -2
- package/esm/sdk/models/create-bulk-price-response.d.ts.map +1 -1
- package/esm/sdk/models/create-bulk-price-response.js +2 -2
- package/esm/sdk/models/create-bulk-price-response.js.map +1 -1
- package/esm/sdk/models/credit-note-response.d.ts +6 -6
- package/esm/sdk/models/credit-note-response.d.ts.map +1 -1
- package/esm/sdk/models/credit-note-response.js +6 -6
- package/esm/sdk/models/credit-note-response.js.map +1 -1
- package/esm/sdk/models/customer-lookup-result.d.ts +2 -2
- package/esm/sdk/models/customer-lookup-result.d.ts.map +1 -1
- package/esm/sdk/models/customer-lookup-result.js +2 -2
- package/esm/sdk/models/customer-lookup-result.js.map +1 -1
- package/esm/sdk/models/{customer-1.d.ts → customer-response.d.ts} +4 -4
- package/esm/sdk/models/customer-response.d.ts.map +1 -0
- package/esm/sdk/models/{customer-1.js → customer-response.js} +4 -5
- package/esm/sdk/models/customer-response.js.map +1 -0
- package/esm/sdk/models/{customer-2.d.ts → customer.d.ts} +4 -4
- package/esm/sdk/models/customer.d.ts.map +1 -0
- package/esm/sdk/models/{customer-2.js → customer.js} +4 -5
- package/esm/sdk/models/customer.js.map +1 -0
- package/esm/sdk/models/entitlement-response.d.ts +6 -6
- package/esm/sdk/models/entitlement-response.d.ts.map +1 -1
- package/esm/sdk/models/entitlement-response.js +6 -6
- package/esm/sdk/models/entitlement-response.js.map +1 -1
- package/esm/sdk/models/{feature-1.d.ts → feature-response.d.ts} +4 -4
- package/esm/sdk/models/feature-response.d.ts.map +1 -0
- package/esm/sdk/models/{feature-1.js → feature-response.js} +4 -4
- package/esm/sdk/models/feature-response.js.map +1 -0
- package/esm/sdk/models/feature-usage-summary.d.ts +2 -2
- package/esm/sdk/models/feature-usage-summary.d.ts.map +1 -1
- package/esm/sdk/models/feature-usage-summary.js +2 -2
- package/esm/sdk/models/feature-usage-summary.js.map +1 -1
- package/esm/sdk/models/{feature-2.d.ts → feature.d.ts} +4 -4
- package/esm/sdk/models/feature.d.ts.map +1 -0
- package/esm/sdk/models/{feature-2.js → feature.js} +4 -4
- package/esm/sdk/models/feature.js.map +1 -0
- package/esm/sdk/models/index.d.ts +14 -13
- package/esm/sdk/models/index.d.ts.map +1 -1
- package/esm/sdk/models/index.js +14 -13
- package/esm/sdk/models/index.js.map +1 -1
- package/esm/sdk/models/{invoice.d.ts → invoice-response.d.ts} +8 -8
- package/esm/sdk/models/invoice-response.d.ts.map +1 -0
- package/esm/sdk/models/{invoice.js → invoice-response.js} +8 -8
- package/esm/sdk/models/invoice-response.js.map +1 -0
- package/esm/sdk/models/list-addons-response.d.ts +2 -2
- package/esm/sdk/models/list-addons-response.d.ts.map +1 -1
- package/esm/sdk/models/list-addons-response.js +2 -2
- package/esm/sdk/models/list-addons-response.js.map +1 -1
- package/esm/sdk/models/list-coupons-response.d.ts +2 -2
- package/esm/sdk/models/list-coupons-response.d.ts.map +1 -1
- package/esm/sdk/models/list-coupons-response.js +2 -2
- package/esm/sdk/models/list-coupons-response.js.map +1 -1
- package/esm/sdk/models/list-customers-response.d.ts +2 -2
- package/esm/sdk/models/list-customers-response.d.ts.map +1 -1
- package/esm/sdk/models/list-customers-response.js +2 -2
- package/esm/sdk/models/list-customers-response.js.map +1 -1
- package/esm/sdk/models/list-features-response.d.ts +2 -2
- package/esm/sdk/models/list-features-response.d.ts.map +1 -1
- package/esm/sdk/models/list-features-response.js +2 -2
- package/esm/sdk/models/list-features-response.js.map +1 -1
- package/esm/sdk/models/list-invoices-response.d.ts +2 -2
- package/esm/sdk/models/list-invoices-response.d.ts.map +1 -1
- package/esm/sdk/models/list-invoices-response.js +2 -2
- package/esm/sdk/models/list-invoices-response.js.map +1 -1
- package/esm/sdk/models/list-payments-response.d.ts +2 -2
- package/esm/sdk/models/list-payments-response.d.ts.map +1 -1
- package/esm/sdk/models/list-payments-response.js +2 -2
- package/esm/sdk/models/list-payments-response.js.map +1 -1
- package/esm/sdk/models/list-plans-response.d.ts +2 -2
- package/esm/sdk/models/list-plans-response.d.ts.map +1 -1
- package/esm/sdk/models/list-plans-response.js +2 -2
- package/esm/sdk/models/list-plans-response.js.map +1 -1
- package/esm/sdk/models/list-prices-response.d.ts +2 -2
- package/esm/sdk/models/list-prices-response.d.ts.map +1 -1
- package/esm/sdk/models/list-prices-response.js +2 -2
- package/esm/sdk/models/list-prices-response.js.map +1 -1
- package/esm/sdk/models/list-response-dto-wallet-response.d.ts +2 -2
- package/esm/sdk/models/list-response-dto-wallet-response.d.ts.map +1 -1
- package/esm/sdk/models/list-response-dto-wallet-response.js +2 -2
- package/esm/sdk/models/list-response-dto-wallet-response.js.map +1 -1
- package/esm/sdk/models/list-subscriptions-response.d.ts +2 -2
- package/esm/sdk/models/list-subscriptions-response.d.ts.map +1 -1
- package/esm/sdk/models/list-subscriptions-response.js +2 -2
- package/esm/sdk/models/list-subscriptions-response.js.map +1 -1
- package/esm/sdk/models/{payment.d.ts → payment-response.d.ts} +4 -4
- package/esm/sdk/models/payment-response.d.ts.map +1 -0
- package/esm/sdk/models/{payment.js → payment-response.js} +4 -4
- package/esm/sdk/models/payment-response.js.map +1 -0
- package/esm/sdk/models/{plan-1.d.ts → plan-response.d.ts} +6 -6
- package/esm/sdk/models/plan-response.d.ts.map +1 -0
- package/esm/sdk/models/{plan-1.js → plan-response.js} +6 -6
- package/esm/sdk/models/plan-response.js.map +1 -0
- package/esm/sdk/models/{plan-2.d.ts → plan.d.ts} +4 -4
- package/esm/sdk/models/plan.d.ts.map +1 -0
- package/esm/sdk/models/{plan-2.js → plan.js} +4 -4
- package/esm/sdk/models/plan.js.map +1 -0
- package/esm/sdk/models/{price.d.ts → price-response.d.ts} +8 -8
- package/esm/sdk/models/price-response.d.ts.map +1 -0
- package/esm/sdk/models/{price.js → price-response.js} +8 -8
- package/esm/sdk/models/price-response.js.map +1 -0
- package/esm/sdk/models/subscription-change-execute-response.d.ts +2 -2
- package/esm/sdk/models/subscription-change-execute-response.d.ts.map +1 -1
- package/esm/sdk/models/subscription-change-execute-response.js +2 -2
- package/esm/sdk/models/subscription-change-execute-response.js.map +1 -1
- package/esm/sdk/models/subscription-line-item-response.d.ts +2 -2
- package/esm/sdk/models/subscription-line-item-response.d.ts.map +1 -1
- package/esm/sdk/models/subscription-line-item-response.js +2 -2
- package/esm/sdk/models/subscription-line-item-response.js.map +1 -1
- package/esm/sdk/models/subscription-response-v2.d.ts +4 -4
- package/esm/sdk/models/subscription-response-v2.d.ts.map +1 -1
- package/esm/sdk/models/subscription-response-v2.js +4 -4
- package/esm/sdk/models/subscription-response-v2.js.map +1 -1
- package/esm/sdk/models/{subscription.d.ts → subscription-response.d.ts} +10 -10
- package/esm/sdk/models/subscription-response.d.ts.map +1 -0
- package/esm/sdk/models/{subscription.js → subscription-response.js} +10 -10
- package/esm/sdk/models/subscription-response.js.map +1 -0
- package/esm/sdk/models/tenant-billing-usage.d.ts +2 -2
- package/esm/sdk/models/tenant-billing-usage.d.ts.map +1 -1
- package/esm/sdk/models/tenant-billing-usage.js +2 -2
- package/esm/sdk/models/tenant-billing-usage.js.map +1 -1
- package/esm/sdk/models/top-up-wallet-response.d.ts +2 -2
- package/esm/sdk/models/top-up-wallet-response.d.ts.map +1 -1
- package/esm/sdk/models/top-up-wallet-response.js +2 -2
- package/esm/sdk/models/top-up-wallet-response.js.map +1 -1
- package/esm/sdk/models/usage-analytic-item.d.ts +8 -8
- package/esm/sdk/models/usage-analytic-item.d.ts.map +1 -1
- package/esm/sdk/models/usage-analytic-item.js +8 -8
- package/esm/sdk/models/usage-analytic-item.js.map +1 -1
- package/esm/sdk/models/{wallet.d.ts → wallet-response.d.ts} +4 -4
- package/esm/sdk/models/wallet-response.d.ts.map +1 -0
- package/esm/sdk/models/{wallet.js → wallet-response.js} +4 -4
- package/esm/sdk/models/wallet-response.js.map +1 -0
- package/esm/sdk/models/wallet-transaction-response.d.ts +4 -4
- package/esm/sdk/models/wallet-transaction-response.d.ts.map +1 -1
- package/esm/sdk/models/wallet-transaction-response.js +4 -4
- package/esm/sdk/models/wallet-transaction-response.js.map +1 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts +6 -6
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.js +6 -6
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts +2 -2
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js +2 -2
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts +4 -4
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js +4 -4
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js.map +1 -1
- package/esm/sdk/payments.d.ts +4 -4
- package/esm/sdk/payments.d.ts.map +1 -1
- package/esm/sdk/payments.js.map +1 -1
- package/esm/sdk/plans.d.ts +4 -4
- package/esm/sdk/plans.d.ts.map +1 -1
- package/esm/sdk/plans.js.map +1 -1
- package/esm/sdk/prices.d.ts +4 -4
- package/esm/sdk/prices.d.ts.map +1 -1
- package/esm/sdk/prices.js.map +1 -1
- package/esm/sdk/subscriptions.d.ts +5 -5
- package/esm/sdk/subscriptions.d.ts.map +1 -1
- package/esm/sdk/subscriptions.js.map +1 -1
- package/esm/sdk/wallets.d.ts +6 -6
- package/esm/sdk/wallets.d.ts.map +1 -1
- package/esm/sdk/wallets.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/addons-get-addon-by-lookup-key.ts +4 -4
- package/src/funcs/addons-get-addon.ts +4 -4
- package/src/funcs/addons-update-addon.ts +4 -4
- package/src/funcs/coupons-create-coupon.ts +4 -4
- package/src/funcs/coupons-get-coupon.ts +4 -4
- package/src/funcs/coupons-update-coupon.ts +4 -4
- package/src/funcs/customers-create-customer.ts +4 -4
- package/src/funcs/customers-get-customer-by-external-id.ts +4 -4
- package/src/funcs/customers-get-customer.ts +4 -4
- package/src/funcs/customers-update-customer.ts +4 -4
- package/src/funcs/features-create-feature.ts +4 -4
- package/src/funcs/features-update-feature.ts +4 -4
- package/src/funcs/invoices-create-invoice.ts +4 -4
- package/src/funcs/invoices-get-invoice-preview.ts +4 -4
- package/src/funcs/invoices-get-invoice.ts +4 -4
- package/src/funcs/invoices-recalculate-invoice-v2.ts +4 -4
- package/src/funcs/invoices-update-invoice-payment-status.ts +4 -4
- package/src/funcs/invoices-update-invoice.ts +4 -4
- package/src/funcs/payments-create-payment.ts +4 -4
- package/src/funcs/payments-get-payment.ts +4 -4
- package/src/funcs/payments-process-payment.ts +4 -4
- package/src/funcs/payments-update-payment.ts +4 -4
- package/src/funcs/plans-create-plan.ts +4 -4
- package/src/funcs/plans-get-plan.ts +4 -4
- package/src/funcs/plans-post-plans-id-clone.ts +4 -4
- package/src/funcs/plans-update-plan.ts +4 -4
- package/src/funcs/prices-create-price.ts +4 -4
- package/src/funcs/prices-get-price-by-lookup-key.ts +4 -4
- package/src/funcs/prices-get-price.ts +4 -4
- package/src/funcs/prices-update-price.ts +4 -4
- package/src/funcs/subscriptions-activate-subscription.ts +4 -4
- package/src/funcs/subscriptions-create-subscription.ts +4 -4
- package/src/funcs/subscriptions-execute-subscription-modify.ts +4 -4
- package/src/funcs/subscriptions-get-subscription.ts +4 -4
- package/src/funcs/subscriptions-update-subscription.ts +4 -4
- package/src/funcs/wallets-create-wallet.ts +4 -4
- package/src/funcs/wallets-get-customer-wallets.ts +4 -4
- package/src/funcs/wallets-get-wallet.ts +4 -4
- package/src/funcs/wallets-get-wallets-by-customer-id.ts +4 -4
- package/src/funcs/wallets-terminate-wallet.ts +4 -4
- package/src/funcs/wallets-update-wallet.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/sdk/addons.ts +3 -3
- package/src/sdk/coupons.ts +3 -3
- package/src/sdk/customer-portal.ts +6 -6
- package/src/sdk/customers.ts +4 -4
- package/src/sdk/features.ts +2 -2
- package/src/sdk/invoices.ts +6 -6
- package/src/sdk/models/addon-association-response.ts +12 -6
- package/src/sdk/models/{addon-1.ts → addon-response.ts} +18 -12
- package/src/sdk/models/{addon-2.ts → addon.ts} +6 -6
- package/src/sdk/models/aggregated-feature.ts +6 -3
- package/src/sdk/models/alert-log-response.ts +18 -9
- package/src/sdk/models/cancel-subscription-response.ts +6 -3
- package/src/sdk/models/costsheet-response.ts +6 -3
- package/src/sdk/models/coupon-response.ts +97 -0
- package/src/sdk/models/create-addon-response.ts +6 -3
- package/src/sdk/models/create-bulk-price-response.ts +6 -3
- package/src/sdk/models/credit-note-response.ts +15 -9
- package/src/sdk/models/customer-lookup-result.ts +3 -3
- package/src/sdk/models/{customer-1.ts → customer-response.ts} +50 -48
- package/src/sdk/models/{customer-2.ts → customer.ts} +44 -45
- package/src/sdk/models/entitlement-response.ts +15 -9
- package/src/sdk/models/{feature-1.ts → feature-response.ts} +9 -6
- package/src/sdk/models/feature-usage-summary.ts +6 -3
- package/src/sdk/models/{feature-2.ts → feature.ts} +6 -6
- package/src/sdk/models/index.ts +14 -13
- package/src/sdk/models/{invoice.ts → invoice-response.ts} +23 -12
- package/src/sdk/models/list-addons-response.ts +6 -3
- package/src/sdk/models/list-coupons-response.ts +6 -3
- package/src/sdk/models/list-customers-response.ts +6 -3
- package/src/sdk/models/list-features-response.ts +6 -3
- package/src/sdk/models/list-invoices-response.ts +6 -3
- package/src/sdk/models/list-payments-response.ts +6 -3
- package/src/sdk/models/list-plans-response.ts +3 -3
- package/src/sdk/models/list-prices-response.ts +6 -3
- package/src/sdk/models/list-response-dto-wallet-response.ts +6 -3
- package/src/sdk/models/list-subscriptions-response.ts +6 -3
- package/src/sdk/models/{payment.ts → payment-response.ts} +9 -6
- package/src/sdk/models/plan-response.ts +95 -0
- package/src/sdk/models/{plan-2.ts → plan.ts} +6 -6
- package/src/sdk/models/{price.ts → price-response.ts} +18 -12
- package/src/sdk/models/subscription-change-execute-response.ts +6 -3
- package/src/sdk/models/subscription-line-item-response.ts +6 -3
- package/src/sdk/models/subscription-response-v2.ts +9 -6
- package/src/sdk/models/{subscription.ts → subscription-response.ts} +129 -121
- package/src/sdk/models/tenant-billing-usage.ts +6 -3
- package/src/sdk/models/top-up-wallet-response.ts +6 -3
- package/src/sdk/models/usage-analytic-item.ts +15 -12
- package/src/sdk/models/{wallet.ts → wallet-response.ts} +9 -6
- package/src/sdk/models/wallet-transaction-response.ts +12 -6
- package/src/sdk/models/webhook-dto-alert-webhook-payload.ts +18 -9
- package/src/sdk/models/webhook-dto-communication-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-customer-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-feature-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-invoice-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-payment-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-subscription-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-transaction-webhook-payload.ts +6 -3
- package/src/sdk/models/webhook-dto-wallet-webhook-payload.ts +12 -6
- package/src/sdk/payments.ts +4 -4
- package/src/sdk/plans.ts +4 -4
- package/src/sdk/prices.ts +4 -4
- package/src/sdk/subscriptions.ts +5 -5
- package/src/sdk/wallets.ts +6 -6
- package/esm/sdk/models/addon-1.d.ts.map +0 -1
- package/esm/sdk/models/addon-1.js.map +0 -1
- package/esm/sdk/models/addon-2.d.ts.map +0 -1
- package/esm/sdk/models/addon-2.js.map +0 -1
- package/esm/sdk/models/customer-1.d.ts.map +0 -1
- package/esm/sdk/models/customer-1.js.map +0 -1
- package/esm/sdk/models/customer-2.d.ts.map +0 -1
- package/esm/sdk/models/customer-2.js.map +0 -1
- package/esm/sdk/models/feature-1.d.ts.map +0 -1
- package/esm/sdk/models/feature-1.js.map +0 -1
- package/esm/sdk/models/feature-2.d.ts.map +0 -1
- package/esm/sdk/models/feature-2.js.map +0 -1
- package/esm/sdk/models/invoice.d.ts.map +0 -1
- package/esm/sdk/models/invoice.js.map +0 -1
- package/esm/sdk/models/payment.d.ts.map +0 -1
- package/esm/sdk/models/payment.js.map +0 -1
- package/esm/sdk/models/plan-1.d.ts.map +0 -1
- package/esm/sdk/models/plan-1.js.map +0 -1
- package/esm/sdk/models/plan-2.d.ts.map +0 -1
- package/esm/sdk/models/plan-2.js.map +0 -1
- package/esm/sdk/models/price.d.ts.map +0 -1
- package/esm/sdk/models/price.js.map +0 -1
- package/esm/sdk/models/subscription.d.ts.map +0 -1
- package/esm/sdk/models/subscription.js.map +0 -1
- package/esm/sdk/models/wallet.d.ts.map +0 -1
- package/esm/sdk/models/wallet.js.map +0 -1
- package/src/sdk/models/plan-1.ts +0 -89
|
@@ -39,7 +39,7 @@ export function customersUpdateCustomer(
|
|
|
39
39
|
options?: RequestOptions,
|
|
40
40
|
): APIPromise<
|
|
41
41
|
Result<
|
|
42
|
-
models.
|
|
42
|
+
models.CustomerResponse,
|
|
43
43
|
| models.ErrorsErrorResponse
|
|
44
44
|
| FlexPriceError
|
|
45
45
|
| ResponseValidationError
|
|
@@ -69,7 +69,7 @@ async function $do(
|
|
|
69
69
|
): Promise<
|
|
70
70
|
[
|
|
71
71
|
Result<
|
|
72
|
-
models.
|
|
72
|
+
models.CustomerResponse,
|
|
73
73
|
| models.ErrorsErrorResponse
|
|
74
74
|
| FlexPriceError
|
|
75
75
|
| ResponseValidationError
|
|
@@ -164,7 +164,7 @@ async function $do(
|
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
const [result] = await M.match<
|
|
167
|
-
models.
|
|
167
|
+
models.CustomerResponse,
|
|
168
168
|
| models.ErrorsErrorResponse
|
|
169
169
|
| FlexPriceError
|
|
170
170
|
| ResponseValidationError
|
|
@@ -175,7 +175,7 @@ async function $do(
|
|
|
175
175
|
| UnexpectedClientError
|
|
176
176
|
| SDKValidationError
|
|
177
177
|
>(
|
|
178
|
-
M.json(200, models.
|
|
178
|
+
M.json(200, models.CustomerResponse$inboundSchema),
|
|
179
179
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
180
180
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
181
181
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function featuresCreateFeature(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.FeatureResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.FeatureResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.FeatureResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(201, models.
|
|
159
|
+
M.json(201, models.FeatureResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function featuresUpdateFeature(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.FeatureResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.FeatureResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
const [result] = await M.match<
|
|
163
|
-
models.
|
|
163
|
+
models.FeatureResponse,
|
|
164
164
|
| models.ErrorsErrorResponse
|
|
165
165
|
| FlexPriceError
|
|
166
166
|
| ResponseValidationError
|
|
@@ -171,7 +171,7 @@ async function $do(
|
|
|
171
171
|
| UnexpectedClientError
|
|
172
172
|
| SDKValidationError
|
|
173
173
|
>(
|
|
174
|
-
M.json(200, models.
|
|
174
|
+
M.json(200, models.FeatureResponse$inboundSchema),
|
|
175
175
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
177
177
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function invoicesCreateInvoice(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.InvoiceResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.InvoiceResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.InvoiceResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(201, models.
|
|
159
|
+
M.json(201, models.InvoiceResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function invoicesGetInvoicePreview(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.InvoiceResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.InvoiceResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.InvoiceResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(200, models.
|
|
159
|
+
M.json(200, models.InvoiceResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -39,7 +39,7 @@ export function invoicesGetInvoice(
|
|
|
39
39
|
options?: RequestOptions,
|
|
40
40
|
): APIPromise<
|
|
41
41
|
Result<
|
|
42
|
-
models.
|
|
42
|
+
models.InvoiceResponse,
|
|
43
43
|
| models.ErrorsErrorResponse
|
|
44
44
|
| FlexPriceError
|
|
45
45
|
| ResponseValidationError
|
|
@@ -69,7 +69,7 @@ async function $do(
|
|
|
69
69
|
): Promise<
|
|
70
70
|
[
|
|
71
71
|
Result<
|
|
72
|
-
models.
|
|
72
|
+
models.InvoiceResponse,
|
|
73
73
|
| models.ErrorsErrorResponse
|
|
74
74
|
| FlexPriceError
|
|
75
75
|
| ResponseValidationError
|
|
@@ -172,7 +172,7 @@ async function $do(
|
|
|
172
172
|
};
|
|
173
173
|
|
|
174
174
|
const [result] = await M.match<
|
|
175
|
-
models.
|
|
175
|
+
models.InvoiceResponse,
|
|
176
176
|
| models.ErrorsErrorResponse
|
|
177
177
|
| FlexPriceError
|
|
178
178
|
| ResponseValidationError
|
|
@@ -183,7 +183,7 @@ async function $do(
|
|
|
183
183
|
| UnexpectedClientError
|
|
184
184
|
| SDKValidationError
|
|
185
185
|
>(
|
|
186
|
-
M.json(200, models.
|
|
186
|
+
M.json(200, models.InvoiceResponse$inboundSchema),
|
|
187
187
|
M.jsonErr(404, models.ErrorsErrorResponse$inboundSchema),
|
|
188
188
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
189
189
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function invoicesRecalculateInvoiceV2(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.InvoiceResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.InvoiceResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -164,7 +164,7 @@ async function $do(
|
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
const [result] = await M.match<
|
|
167
|
-
models.
|
|
167
|
+
models.InvoiceResponse,
|
|
168
168
|
| models.ErrorsErrorResponse
|
|
169
169
|
| FlexPriceError
|
|
170
170
|
| ResponseValidationError
|
|
@@ -175,7 +175,7 @@ async function $do(
|
|
|
175
175
|
| UnexpectedClientError
|
|
176
176
|
| SDKValidationError
|
|
177
177
|
>(
|
|
178
|
-
M.json(200, models.
|
|
178
|
+
M.json(200, models.InvoiceResponse$inboundSchema),
|
|
179
179
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
180
180
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
181
181
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function invoicesUpdateInvoicePaymentStatus(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.InvoiceResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.InvoiceResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
const [result] = await M.match<
|
|
163
|
-
models.
|
|
163
|
+
models.InvoiceResponse,
|
|
164
164
|
| models.ErrorsErrorResponse
|
|
165
165
|
| FlexPriceError
|
|
166
166
|
| ResponseValidationError
|
|
@@ -171,7 +171,7 @@ async function $do(
|
|
|
171
171
|
| UnexpectedClientError
|
|
172
172
|
| SDKValidationError
|
|
173
173
|
>(
|
|
174
|
-
M.json(200, models.
|
|
174
|
+
M.json(200, models.InvoiceResponse$inboundSchema),
|
|
175
175
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
177
177
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function invoicesUpdateInvoice(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.InvoiceResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.InvoiceResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
const [result] = await M.match<
|
|
163
|
-
models.
|
|
163
|
+
models.InvoiceResponse,
|
|
164
164
|
| models.ErrorsErrorResponse
|
|
165
165
|
| FlexPriceError
|
|
166
166
|
| ResponseValidationError
|
|
@@ -171,7 +171,7 @@ async function $do(
|
|
|
171
171
|
| UnexpectedClientError
|
|
172
172
|
| SDKValidationError
|
|
173
173
|
>(
|
|
174
|
-
M.json(200, models.
|
|
174
|
+
M.json(200, models.InvoiceResponse$inboundSchema),
|
|
175
175
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
177
177
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function paymentsCreatePayment(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PaymentResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PaymentResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.PaymentResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(201, models.
|
|
159
|
+
M.json(201, models.PaymentResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function paymentsGetPayment(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PaymentResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PaymentResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const [result] = await M.match<
|
|
157
|
-
models.
|
|
157
|
+
models.PaymentResponse,
|
|
158
158
|
| models.ErrorsErrorResponse
|
|
159
159
|
| FlexPriceError
|
|
160
160
|
| ResponseValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| UnexpectedClientError
|
|
166
166
|
| SDKValidationError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, models.
|
|
168
|
+
M.json(200, models.PaymentResponse$inboundSchema),
|
|
169
169
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
170
170
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
171
171
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function paymentsProcessPayment(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PaymentResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PaymentResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const [result] = await M.match<
|
|
157
|
-
models.
|
|
157
|
+
models.PaymentResponse,
|
|
158
158
|
| models.ErrorsErrorResponse
|
|
159
159
|
| FlexPriceError
|
|
160
160
|
| ResponseValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| UnexpectedClientError
|
|
166
166
|
| SDKValidationError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, models.
|
|
168
|
+
M.json(200, models.PaymentResponse$inboundSchema),
|
|
169
169
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
170
170
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
171
171
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function paymentsUpdatePayment(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.PaymentResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.PaymentResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
const [result] = await M.match<
|
|
163
|
-
models.
|
|
163
|
+
models.PaymentResponse,
|
|
164
164
|
| models.ErrorsErrorResponse
|
|
165
165
|
| FlexPriceError
|
|
166
166
|
| ResponseValidationError
|
|
@@ -171,7 +171,7 @@ async function $do(
|
|
|
171
171
|
| UnexpectedClientError
|
|
172
172
|
| SDKValidationError
|
|
173
173
|
>(
|
|
174
|
-
M.json(200, models.
|
|
174
|
+
M.json(200, models.PaymentResponse$inboundSchema),
|
|
175
175
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
177
177
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function plansCreatePlan(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PlanResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PlanResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.PlanResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(201, models.
|
|
159
|
+
M.json(201, models.PlanResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function plansGetPlan(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PlanResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PlanResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const [result] = await M.match<
|
|
157
|
-
models.
|
|
157
|
+
models.PlanResponse,
|
|
158
158
|
| models.ErrorsErrorResponse
|
|
159
159
|
| FlexPriceError
|
|
160
160
|
| ResponseValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| UnexpectedClientError
|
|
166
166
|
| SDKValidationError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, models.
|
|
168
|
+
M.json(200, models.PlanResponse$inboundSchema),
|
|
169
169
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
170
170
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
171
171
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function plansPostPlansIdClone(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.PlanResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.PlanResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -159,7 +159,7 @@ async function $do(
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
const [result] = await M.match<
|
|
162
|
-
models.
|
|
162
|
+
models.PlanResponse,
|
|
163
163
|
| models.ErrorsErrorResponse
|
|
164
164
|
| FlexPriceError
|
|
165
165
|
| ResponseValidationError
|
|
@@ -170,7 +170,7 @@ async function $do(
|
|
|
170
170
|
| UnexpectedClientError
|
|
171
171
|
| SDKValidationError
|
|
172
172
|
>(
|
|
173
|
-
M.json(201, models.
|
|
173
|
+
M.json(201, models.PlanResponse$inboundSchema),
|
|
174
174
|
M.jsonErr([400, 404, 409], models.ErrorsErrorResponse$inboundSchema),
|
|
175
175
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.fail("4XX"),
|
|
@@ -38,7 +38,7 @@ export function plansUpdatePlan(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
models.
|
|
41
|
+
models.PlanResponse,
|
|
42
42
|
| models.ErrorsErrorResponse
|
|
43
43
|
| FlexPriceError
|
|
44
44
|
| ResponseValidationError
|
|
@@ -66,7 +66,7 @@ async function $do(
|
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
68
68
|
Result<
|
|
69
|
-
models.
|
|
69
|
+
models.PlanResponse,
|
|
70
70
|
| models.ErrorsErrorResponse
|
|
71
71
|
| FlexPriceError
|
|
72
72
|
| ResponseValidationError
|
|
@@ -159,7 +159,7 @@ async function $do(
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
const [result] = await M.match<
|
|
162
|
-
models.
|
|
162
|
+
models.PlanResponse,
|
|
163
163
|
| models.ErrorsErrorResponse
|
|
164
164
|
| FlexPriceError
|
|
165
165
|
| ResponseValidationError
|
|
@@ -170,7 +170,7 @@ async function $do(
|
|
|
170
170
|
| UnexpectedClientError
|
|
171
171
|
| SDKValidationError
|
|
172
172
|
>(
|
|
173
|
-
M.json(200, models.
|
|
173
|
+
M.json(200, models.PlanResponse$inboundSchema),
|
|
174
174
|
M.jsonErr([400, 404], models.ErrorsErrorResponse$inboundSchema),
|
|
175
175
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
176
176
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function pricesCreatePrice(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PriceResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PriceResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
const [result] = await M.match<
|
|
148
|
-
models.
|
|
148
|
+
models.PriceResponse,
|
|
149
149
|
| models.ErrorsErrorResponse
|
|
150
150
|
| FlexPriceError
|
|
151
151
|
| ResponseValidationError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.json(201, models.
|
|
159
|
+
M.json(201, models.PriceResponse$inboundSchema),
|
|
160
160
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
161
161
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
162
162
|
M.fail("4XX"),
|
|
@@ -37,7 +37,7 @@ export function pricesGetPriceByLookupKey(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
models.
|
|
40
|
+
models.PriceResponse,
|
|
41
41
|
| models.ErrorsErrorResponse
|
|
42
42
|
| FlexPriceError
|
|
43
43
|
| ResponseValidationError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
models.
|
|
66
|
+
models.PriceResponse,
|
|
67
67
|
| models.ErrorsErrorResponse
|
|
68
68
|
| FlexPriceError
|
|
69
69
|
| ResponseValidationError
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const [result] = await M.match<
|
|
157
|
-
models.
|
|
157
|
+
models.PriceResponse,
|
|
158
158
|
| models.ErrorsErrorResponse
|
|
159
159
|
| FlexPriceError
|
|
160
160
|
| ResponseValidationError
|
|
@@ -165,7 +165,7 @@ async function $do(
|
|
|
165
165
|
| UnexpectedClientError
|
|
166
166
|
| SDKValidationError
|
|
167
167
|
>(
|
|
168
|
-
M.json(200, models.
|
|
168
|
+
M.json(200, models.PriceResponse$inboundSchema),
|
|
169
169
|
M.jsonErr(400, models.ErrorsErrorResponse$inboundSchema),
|
|
170
170
|
M.jsonErr(500, models.ErrorsErrorResponse$inboundSchema),
|
|
171
171
|
M.fail("4XX"),
|