/** * Generated by orval v8.7.0 🍺 * Do not edit manually. * OpenMeter Cloud API * OpenMeter is a cloud native usage metering service. The OpenMeter API allows you to ingest events, query meter usage, and manage resources. * OpenAPI spec version: 1.0.0 */ import * as zod from 'zod'; /** * List all add-ons. * @summary List add-ons */ export declare const listAddonsQueryIncludeDeletedDefault = false; export declare const listAddonsQueryIdItemRegExp: RegExp; export declare const listAddonsQueryKeyItemMax = 64; export declare const listAddonsQueryKeyItemRegExp: RegExp; export declare const listAddonsQueryCurrencyItemMin = 3; export declare const listAddonsQueryCurrencyItemMax = 3; export declare const listAddonsQueryCurrencyItemRegExp: RegExp; export declare const listAddonsQueryPageDefault = 1; export declare const listAddonsQueryPageSizeDefault = 100; export declare const listAddonsQueryPageSizeMax = 1000; export declare const listAddonsQueryOrderDefault = "ASC"; export declare const ListAddonsQueryParams: zod.ZodObject<{ currency: zod.ZodOptional>>; id: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; key: zod.ZodOptional>>; keyVersion: zod.ZodOptional>>>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; status: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Create a new add-on. * @summary Create an add-on */ export declare const createAddonBodyNameMax = 256; export declare const createAddonBodyDescriptionMax = 1024; export declare const createAddonBodyKeyMax = 64; export declare const createAddonBodyKeyRegExp: RegExp; export declare const createAddonBodyCurrencyOneMin = 3; export declare const createAddonBodyCurrencyOneMax = 3; export declare const createAddonBodyCurrencyOneRegExp: RegExp; export declare const createAddonBodyCurrencyDefault = "USD"; export declare const createAddonBodyRateCardsItemOneKeyMax = 64; export declare const createAddonBodyRateCardsItemOneKeyRegExp: RegExp; export declare const createAddonBodyRateCardsItemOneNameMax = 256; export declare const createAddonBodyRateCardsItemOneDescriptionMax = 1024; export declare const createAddonBodyRateCardsItemOneFeatureKeyMax = 64; export declare const createAddonBodyRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createAddonBodyRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createAddonBodyRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createAddonBodyRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createAddonBodyRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const createAddonBodyRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoKeyMax = 64; export declare const createAddonBodyRateCardsItemTwoKeyRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoNameMax = 256; export declare const createAddonBodyRateCardsItemTwoDescriptionMax = 1024; export declare const createAddonBodyRateCardsItemTwoFeatureKeyMax = 64; export declare const createAddonBodyRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createAddonBodyRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createAddonBodyRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const createAddonBodyRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const createAddonBodyRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const createAddonBodyRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const CreateAddonBody: zod.ZodObject<{ currency: zod.ZodDefault>; description: zod.ZodOptional>; instanceType: zod.ZodEnum<{ single: "single"; multiple: "multiple"; }>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>; /** * Update add-on by id. * @summary Update add-on */ export declare const updateAddonPathAddonIdRegExp: RegExp; export declare const UpdateAddonParams: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateAddonBodyNameMax = 256; export declare const updateAddonBodyDescriptionMax = 1024; export declare const updateAddonBodyRateCardsItemOneKeyMax = 64; export declare const updateAddonBodyRateCardsItemOneKeyRegExp: RegExp; export declare const updateAddonBodyRateCardsItemOneNameMax = 256; export declare const updateAddonBodyRateCardsItemOneDescriptionMax = 1024; export declare const updateAddonBodyRateCardsItemOneFeatureKeyMax = 64; export declare const updateAddonBodyRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const updateAddonBodyRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const updateAddonBodyRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateAddonBodyRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateAddonBodyRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const updateAddonBodyRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoKeyMax = 64; export declare const updateAddonBodyRateCardsItemTwoKeyRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoNameMax = 256; export declare const updateAddonBodyRateCardsItemTwoDescriptionMax = 1024; export declare const updateAddonBodyRateCardsItemTwoFeatureKeyMax = 64; export declare const updateAddonBodyRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const updateAddonBodyRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const updateAddonBodyRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const updateAddonBodyRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const UpdateAddonBody: zod.ZodObject<{ description: zod.ZodOptional>; instanceType: zod.ZodEnum<{ single: "single"; multiple: "multiple"; }>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>; /** * Get add-on by id or key. The latest published version is returned if latter is used. * @summary Get add-on */ export declare const getAddonPathAddonIdMax = 64; export declare const getAddonPathAddonIdRegExp: RegExp; export declare const GetAddonParams: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const getAddonQueryIncludeLatestDefault = false; export declare const GetAddonQueryParams: zod.ZodObject<{ includeLatest: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Soft delete add-on by id. Once a add-on is deleted it cannot be undeleted. * @summary Delete add-on */ export declare const deleteAddonPathAddonIdRegExp: RegExp; export declare const DeleteAddonParams: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Archive a add-on version. * @summary Archive add-on version */ export declare const archiveAddonPathAddonIdRegExp: RegExp; export declare const ArchiveAddonParams: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Publish a add-on version. * @summary Publish add-on */ export declare const publishAddonPathAddonIdRegExp: RegExp; export declare const PublishAddonParams: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List apps. * @summary List apps */ export declare const listAppsQueryPageDefault = 1; export declare const listAppsQueryPageSizeDefault = 100; export declare const listAppsQueryPageSizeMax = 1000; export declare const ListAppsQueryParams: zod.ZodObject<{ page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * @summary Submit draft synchronization results */ export declare const appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp: RegExp; export declare const AppCustomInvoicingDraftSynchronizedParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneInvoiceNumberOneMax = 256; export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneLineExternalIdsItemLineIdRegExp: RegExp; export declare const appCustomInvoicingDraftSynchronizedBodyInvoicingOneLineDiscountExternalIdsItemLineDiscountIdRegExp: RegExp; export declare const AppCustomInvoicingDraftSynchronizedBody: zod.ZodObject<{ invoicing: zod.ZodOptional>; invoiceNumber: zod.ZodOptional>; lineDiscountExternalIds: zod.ZodOptional; lineDiscountId: zod.z.ZodCoercedString; }, zod.z.core.$strip>>>; lineExternalIds: zod.ZodOptional; lineId: zod.z.ZodCoercedString; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * @summary Submit issuing synchronization results */ export declare const appCustomInvoicingIssuingSynchronizedPathInvoiceIdRegExp: RegExp; export declare const AppCustomInvoicingIssuingSynchronizedParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const appCustomInvoicingIssuingSynchronizedBodyInvoicingOneInvoiceNumberOneMax = 256; export declare const AppCustomInvoicingIssuingSynchronizedBody: zod.ZodObject<{ invoicing: zod.ZodOptional>; sentToCustomerAt: zod.ZodOptional>; }, zod.z.core.$strip>>; payment: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * @summary Update payment status */ export declare const appCustomInvoicingUpdatePaymentStatusPathInvoiceIdRegExp: RegExp; export declare const AppCustomInvoicingUpdatePaymentStatusParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const AppCustomInvoicingUpdatePaymentStatusBody: zod.ZodObject<{ trigger: zod.ZodEnum<{ paid: "paid"; payment_failed: "payment_failed"; payment_uncollectible: "payment_uncollectible"; payment_overdue: "payment_overdue"; action_required: "action_required"; void: "void"; }>; }, zod.z.core.$strip>; /** * Get the app. * @summary Get app */ export declare const getAppPathIdRegExp: RegExp; export declare const GetAppParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update an app. * @summary Update app */ export declare const updateAppPathIdRegExp: RegExp; export declare const UpdateAppParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateAppBodyOneNameMax = 256; export declare const updateAppBodyOneDescriptionMax = 1024; export declare const updateAppBodyTwoNameMax = 256; export declare const updateAppBodyTwoDescriptionMax = 1024; export declare const updateAppBodyThreeNameMax = 256; export declare const updateAppBodyThreeDescriptionMax = 1024; export declare const UpdateAppBody: zod.ZodUnion>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; secretAPIKey: zod.ZodOptional>; type: zod.ZodEnum<{ stripe: "stripe"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ sandbox: "sandbox"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ description: zod.ZodOptional>; enableDraftSyncHook: zod.z.ZodCoercedBoolean; enableIssuingSyncHook: zod.z.ZodCoercedBoolean; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>]>; /** * Uninstall an app. * @summary Uninstall app */ export declare const uninstallAppPathIdRegExp: RegExp; export declare const UninstallAppParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update the Stripe API key. ⚠️ __Deprecated__: Use [`PUT /api/v1/apps/{id}`](#tag/apps/put/api/v1/apps/{id}) instead. * @deprecated * @summary Update Stripe API key */ export declare const updateStripeAPIKeyPathIdRegExp: RegExp; export declare const UpdateStripeAPIKeyParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const UpdateStripeAPIKeyBody: zod.ZodObject<{ secretAPIKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Handle stripe webhooks for apps. * @summary Stripe webhook */ export declare const appStripeWebhookPathIdRegExp: RegExp; export declare const AppStripeWebhookParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const AppStripeWebhookBody: zod.ZodObject<{ created: zod.z.ZodCoercedNumber; data: zod.ZodObject<{ object: zod.ZodUnknown; }, zod.z.core.$strip>; id: zod.z.ZodCoercedString; livemode: zod.z.ZodCoercedBoolean; type: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List customer overrides using the specified filters. The response will include the customer override values and the merged billing profile values. If the includeAllCustomers is set to true, the list contains all customers. This mode is useful for getting the current effective billing workflow settings for all users regardless if they have customer orverrides or not. * @summary List customer overrides */ export declare const listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp: RegExp; export declare const listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault = true; export declare const listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp: RegExp; export declare const listBillingProfileCustomerOverridesQueryOrderDefault = "ASC"; export declare const listBillingProfileCustomerOverridesQueryPageDefault = 1; export declare const listBillingProfileCustomerOverridesQueryPageSizeDefault = 100; export declare const listBillingProfileCustomerOverridesQueryPageSizeMax = 1000; export declare const ListBillingProfileCustomerOverridesQueryParams: zod.ZodObject<{ billingProfile: zod.ZodOptional>>; customerId: zod.ZodOptional>>; customerKey: zod.ZodOptional>; customerName: zod.ZodOptional>; customerPrimaryEmail: zod.ZodOptional>; customersWithoutPinnedProfile: zod.ZodOptional>; expand: zod.ZodOptional>>; includeAllCustomers: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * The customer override can be used to pin a given customer to a billing profile different from the default one. This can be used to test the effect of different billing profiles before making them the default ones or have different workflow settings for example for enterprise customers. * @summary Create a new or update a customer override */ export declare const upsertBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp; export declare const UpsertBillingProfileCustomerOverrideParams: zod.ZodObject<{ customerId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const upsertBillingProfileCustomerOverrideBodyBillingProfileIdRegExp: RegExp; export declare const UpsertBillingProfileCustomerOverrideBody: zod.ZodObject<{ billingProfileId: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get a customer override by customer id. The response will include the customer override values and the merged billing profile values. If the customer override is not found, the default billing profile's values are returned. This behavior allows for getting a merged profile regardless of the customer override existence. * @summary Get a customer override */ export declare const getBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp; export declare const GetBillingProfileCustomerOverrideParams: zod.ZodObject<{ customerId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetBillingProfileCustomerOverrideQueryParams: zod.ZodObject<{ expand: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Delete a customer override by customer id. This will remove the customer override and the customer will be subject to the default billing profile's settings again. * @summary Delete a customer override */ export declare const deleteBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp; export declare const DeleteBillingProfileCustomerOverrideParams: zod.ZodObject<{ customerId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Create a new pending line item (charge). This call is used to create a new pending line item for the customer if required a new gathering invoice will be created. A new invoice will be created if: - there is no invoice in gathering state - the currency of the line item doesn't match the currency of any invoices in gathering state * @summary Create pending line items */ export declare const createPendingInvoiceLinePathCustomerIdRegExp: RegExp; export declare const CreatePendingInvoiceLineParams: zod.ZodObject<{ customerId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createPendingInvoiceLineBodyCurrencyOneMin = 3; export declare const createPendingInvoiceLineBodyCurrencyOneMax = 3; export declare const createPendingInvoiceLineBodyCurrencyOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemNameMax = 256; export declare const createPendingInvoiceLineBodyLinesItemDescriptionMax = 1024; export declare const createPendingInvoiceLineBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance"; export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMultiplierDefault = "1"; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyMax = 64; export declare const createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneFeatureKeyMax = 64; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance"; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1"; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const createPendingInvoiceLineBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp; export declare const CreatePendingInvoiceLineBody: zod.ZodObject<{ currency: zod.z.ZodCoercedString; lines: zod.ZodArray>; featureKey: zod.ZodOptional>; invoiceAt: zod.z.ZodCoercedDate; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; period: zod.ZodObject<{ from: zod.z.ZodCoercedDate; to: zod.z.ZodCoercedDate; }, zod.z.core.$strip>; price: zod.ZodOptional; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; rateCard: zod.ZodOptional>; percentage: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>>; usage: zod.ZodOptional>; quantity: zod.z.ZodCoercedString; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; featureKey: zod.ZodOptional>; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Simulate an invoice for a customer. This call will simulate an invoice for a customer based on the pending line items. The call will return the total amount of the invoice and the line items that will be included in the invoice. * @summary Simulate an invoice for a customer */ export declare const simulateInvoicePathCustomerIdRegExp: RegExp; export declare const SimulateInvoiceParams: zod.ZodObject<{ customerId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const simulateInvoiceBodyNumberOneMax = 256; export declare const simulateInvoiceBodyCurrencyOneMin = 3; export declare const simulateInvoiceBodyCurrencyOneMax = 3; export declare const simulateInvoiceBodyCurrencyOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemNameMax = 256; export declare const simulateInvoiceBodyLinesItemDescriptionMax = 1024; export declare const simulateInvoiceBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance"; export declare const simulateInvoiceBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFourMultiplierDefault = "1"; export declare const simulateInvoiceBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemFeatureKeyMax = 64; export declare const simulateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneFeatureKeyMax = 64; export declare const simulateInvoiceBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance"; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1"; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemQuantityOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemPreLinePeriodQuantityOneRegExp: RegExp; export declare const simulateInvoiceBodyLinesItemIdRegExp: RegExp; export declare const SimulateInvoiceBody: zod.ZodObject<{ currency: zod.z.ZodCoercedString; lines: zod.ZodArray>; featureKey: zod.ZodOptional>; id: zod.ZodOptional>; invoiceAt: zod.z.ZodCoercedDate; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; period: zod.ZodObject<{ from: zod.z.ZodCoercedDate; to: zod.z.ZodCoercedDate; }, zod.z.core.$strip>; preLinePeriodQuantity: zod.ZodOptional>; price: zod.ZodOptional; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; quantity: zod.z.ZodCoercedString; rateCard: zod.ZodOptional>; percentage: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>>; usage: zod.ZodOptional>; quantity: zod.z.ZodCoercedString; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; featureKey: zod.ZodOptional>; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; number: zod.ZodOptional>; }, zod.z.core.$strip>; /** * List invoices based on the specified filters. The expand option can be used to include additional information (besides the invoice header and totals) in the response. For example by adding the expand=lines option the invoice lines will be included in the response. Gathering invoices will always show the current usage calculated on the fly. * @summary List invoices */ export declare const listInvoicesQueryCustomersItemRegExp: RegExp; export declare const listInvoicesQueryPageDefault = 1; export declare const listInvoicesQueryPageSizeDefault = 100; export declare const listInvoicesQueryPageSizeMax = 1000; export declare const listInvoicesQueryOrderDefault = "ASC"; export declare const ListInvoicesQueryParams: zod.ZodObject<{ createdAfter: zod.ZodOptional>; createdBefore: zod.ZodOptional>; customers: zod.ZodOptional>>; expand: zod.ZodOptional>>; extendedStatuses: zod.ZodOptional>>; includeDeleted: zod.ZodOptional>; issuedAfter: zod.ZodOptional>; issuedBefore: zod.ZodOptional>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; periodStartAfter: zod.ZodOptional>; periodStartBefore: zod.ZodOptional>; statuses: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Create a new invoice from the pending line items. This should be only called if for some reason we need to invoice a customer outside of the normal billing cycle. When creating an invoice, the pending line items will be marked as invoiced and the invoice will be created with the total amount of the pending items. New pending line items will be created for the period between now() and the next billing cycle's begining date for any metered item. The call can return multiple invoices if the pending line items are in different currencies. * @summary Invoice a customer based on the pending line items */ export declare const invoicePendingLinesActionBodyFiltersOneLineIdsItemRegExp: RegExp; export declare const invoicePendingLinesActionBodyCustomerIdRegExp: RegExp; export declare const InvoicePendingLinesActionBody: zod.ZodObject<{ asOf: zod.ZodOptional>; customerId: zod.z.ZodCoercedString; filters: zod.ZodOptional>>; }, zod.z.core.$strip>>; progressiveBillingOverride: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get an invoice by ID. Gathering invoices will always show the current usage calculated on the fly. * @summary Get an invoice */ export declare const getInvoicePathInvoiceIdRegExp: RegExp; export declare const GetInvoiceParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const getInvoiceQueryIncludeDeletedLinesDefault = false; export declare const GetInvoiceQueryParams: zod.ZodObject<{ expand: zod.ZodDefault>>; includeDeletedLines: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Delete an invoice Only invoices that are in the draft (or earlier) status can be deleted. Invoices that are post finalization can only be voided. * @summary Delete an invoice */ export declare const deleteInvoicePathInvoiceIdRegExp: RegExp; export declare const DeleteInvoiceParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update an invoice Only invoices in draft or earlier status can be updated. * @summary Update an invoice */ export declare const updateInvoicePathInvoiceIdRegExp: RegExp; export declare const UpdateInvoiceParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateInvoiceBodyDescriptionMax = 1024; export declare const updateInvoiceBodySupplierOneKeyMax = 256; export declare const updateInvoiceBodySupplierOneTaxIdOneCodeOneMax = 32; export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneMin = 2; export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneMax = 2; export declare const updateInvoiceBodySupplierOneAddressesItemCountryOneRegExp: RegExp; export declare const updateInvoiceBodySupplierOneAddressesMax = 1; export declare const updateInvoiceBodyCustomerOneKeyMax = 256; export declare const updateInvoiceBodyCustomerOneTaxIdOneCodeOneMax = 32; export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneMin = 2; export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneMax = 2; export declare const updateInvoiceBodyCustomerOneAddressesItemCountryOneRegExp: RegExp; export declare const updateInvoiceBodyCustomerOneAddressesMax = 1; export declare const updateInvoiceBodyLinesItemNameMax = 256; export declare const updateInvoiceBodyLinesItemDescriptionMax = 1024; export declare const updateInvoiceBodyLinesItemTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateInvoiceBodyLinesItemTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneOnePaymentTermDefault = "in_advance"; export declare const updateInvoiceBodyLinesItemPriceOneTwoAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFourMultiplierOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFourMultiplierDefault = "1"; export declare const updateInvoiceBodyLinesItemPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFiveAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemFeatureKeyMax = 64; export declare const updateInvoiceBodyLinesItemFeatureKeyRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneFeatureKeyMax = 64; export declare const updateInvoiceBodyLinesItemRateCardOneFeatureKeyRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneOnePaymentTermDefault = "in_advance"; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMultiplierDefault = "1"; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFourMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOnePriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOnePercentageOneCorrelationIdRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const updateInvoiceBodyLinesItemRateCardOneDiscountsOneUsageOneCorrelationIdRegExp: RegExp; export declare const updateInvoiceBodyLinesItemIdRegExp: RegExp; export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneAutoAdvanceDefault = true; export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDraftPeriodDefault = "P0D"; export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDueAfterDefault = "P30D"; export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateInvoiceBodyWorkflowOneWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateInvoiceBodyWorkflowOneWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically"; export declare const UpdateInvoiceBody: zod.ZodObject<{ customer: zod.ZodObject<{ addresses: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>>; key: zod.ZodOptional>; name: zod.ZodOptional>; taxId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; description: zod.ZodOptional>; lines: zod.ZodArray>; featureKey: zod.ZodOptional>; id: zod.ZodOptional>; invoiceAt: zod.z.ZodCoercedDate; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; period: zod.ZodObject<{ from: zod.z.ZodCoercedDate; to: zod.z.ZodCoercedDate; }, zod.z.core.$strip>; price: zod.ZodOptional; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; rateCard: zod.ZodOptional>; percentage: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>>; usage: zod.ZodOptional>; quantity: zod.z.ZodCoercedString; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; featureKey: zod.ZodOptional>; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; metadata: zod.ZodOptional>>>; supplier: zod.ZodObject<{ addresses: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>>; key: zod.ZodOptional>; name: zod.ZodOptional>; taxId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; workflow: zod.ZodObject<{ workflow: zod.ZodObject<{ invoicing: zod.ZodObject<{ autoAdvance: zod.ZodDefault>; defaultTaxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; draftPeriod: zod.ZodDefault>; dueAfter: zod.ZodDefault>; }, zod.z.core.$strip>; payment: zod.ZodObject<{ collectionMethod: zod.ZodDefault>; }, zod.z.core.$strip>; }, zod.z.core.$strip>; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Advance the invoice's state to the next status. The call doesn't "approve the invoice", it only advances the invoice to the next status if the transition would be automatic. The action can be called when the invoice's statusDetails' actions field contain the "advance" action. * @summary Advance the invoice's state to the next status */ export declare const advanceInvoiceActionPathInvoiceIdRegExp: RegExp; export declare const AdvanceInvoiceActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Approve an invoice and start executing the payment workflow. This call instantly sends the invoice to the customer using the configured billing profile app. This call is valid in two invoice statuses: - `draft`: the invoice will be sent to the customer, the invluce state becomes issued - `manual_approval_needed`: the invoice will be sent to the customer, the invoice state becomes issued * @summary Send the invoice to the customer */ export declare const approveInvoiceActionPathInvoiceIdRegExp: RegExp; export declare const ApproveInvoiceActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Retry advancing the invoice after a failed attempt. The action can be called when the invoice's statusDetails' actions field contain the "retry" action. * @summary Retry advancing the invoice after a failed attempt. */ export declare const retryInvoiceActionPathInvoiceIdRegExp: RegExp; export declare const RetryInvoiceActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Snapshot quantities for usage based line items. This call will snapshot the quantities for all usage based line items in the invoice. This call is only valid in `draft.waiting_for_collection` status, where the collection period can be skipped using this action. * @summary Snapshot quantities for usage based line items */ export declare const snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp: RegExp; export declare const SnapshotQuantitiesInvoiceActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Recalculate an invoice's tax amounts (using the app set in the customer's billing profile) Note: charges might apply, depending on the tax provider. * @summary Recalculate an invoice's tax amounts */ export declare const recalculateInvoiceTaxActionPathInvoiceIdRegExp: RegExp; export declare const RecalculateInvoiceTaxActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Void an invoice Only invoices that have been alread issued can be voided. Voiding an invoice will mark it as voided, the user can specify how to handle the voided line items. * @summary Void an invoice */ export declare const voidInvoiceActionPathInvoiceIdRegExp: RegExp; export declare const VoidInvoiceActionParams: zod.ZodObject<{ invoiceId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const voidInvoiceActionBodyOverridesItemLineIdRegExp: RegExp; export declare const VoidInvoiceActionBody: zod.ZodObject<{ action: zod.ZodObject<{ action: zod.ZodUnion; }, zod.z.core.$strip>, zod.ZodObject<{ nextInvoiceAt: zod.ZodOptional>; type: zod.ZodEnum<{ pending: "pending"; }>; }, zod.z.core.$strip>]>; percentage: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>; overrides: zod.ZodOptional; }, zod.z.core.$strip>, zod.ZodObject<{ nextInvoiceAt: zod.ZodOptional>; type: zod.ZodEnum<{ pending: "pending"; }>; }, zod.z.core.$strip>]>; percentage: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>; lineId: zod.z.ZodCoercedString; }, zod.z.core.$strip>>>>; reason: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all billing profiles matching the specified filters. The expand option can be used to include additional information (besides the billing profile) in the response. For example by adding the expand=apps option the apps used by the billing profile will be included in the response. * @summary List billing profiles */ export declare const listBillingProfilesQueryIncludeArchivedDefault = false; export declare const listBillingProfilesQueryPageDefault = 1; export declare const listBillingProfilesQueryPageSizeDefault = 100; export declare const listBillingProfilesQueryPageSizeMax = 1000; export declare const listBillingProfilesQueryOrderDefault = "ASC"; export declare const ListBillingProfilesQueryParams: zod.ZodObject<{ expand: zod.ZodOptional>>; includeArchived: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a new billing profile Billing profiles are representations of a customer's billing information. Customer overrides can be applied to a billing profile to customize the billing behavior for a specific customer. * @summary Create a new billing profile */ export declare const createBillingProfileBodyNameMax = 256; export declare const createBillingProfileBodyDescriptionMax = 1024; export declare const createBillingProfileBodySupplierOneKeyMax = 256; export declare const createBillingProfileBodySupplierOneTaxIdOneCodeOneMax = 32; export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneMin = 2; export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneMax = 2; export declare const createBillingProfileBodySupplierOneAddressesItemCountryOneRegExp: RegExp; export declare const createBillingProfileBodySupplierOneAddressesMax = 1; export declare const createBillingProfileBodyWorkflowOneCollectionOneAlignmentOneTwoRecurringPeriodOneIntervalOneOneRegExp: RegExp; export declare const createBillingProfileBodyWorkflowOneCollectionOneAlignmentDefault: { readonly type: "subscription"; }; export declare const createBillingProfileBodyWorkflowOneCollectionOneIntervalDefault = "PT1H"; export declare const createBillingProfileBodyWorkflowOneInvoicingOneAutoAdvanceDefault = true; export declare const createBillingProfileBodyWorkflowOneInvoicingOneDraftPeriodDefault = "P0D"; export declare const createBillingProfileBodyWorkflowOneInvoicingOneDueAfterDefault = "P30D"; export declare const createBillingProfileBodyWorkflowOneInvoicingOneProgressiveBillingDefault = true; export declare const createBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createBillingProfileBodyWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically"; export declare const createBillingProfileBodyWorkflowOneTaxOneEnabledDefault = true; export declare const createBillingProfileBodyWorkflowOneTaxOneEnforcedDefault = false; export declare const createBillingProfileBodyAppsOneTaxRegExp: RegExp; export declare const createBillingProfileBodyAppsOneInvoicingRegExp: RegExp; export declare const createBillingProfileBodyAppsOnePaymentRegExp: RegExp; export declare const CreateBillingProfileBody: zod.ZodObject<{ apps: zod.ZodObject<{ invoicing: zod.z.ZodCoercedString; payment: zod.z.ZodCoercedString; tax: zod.z.ZodCoercedString; }, zod.z.core.$strip>; default: zod.z.ZodCoercedBoolean; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; supplier: zod.ZodObject<{ addresses: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>>; id: zod.ZodOptional>; key: zod.ZodOptional>; name: zod.ZodOptional>; taxId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; workflow: zod.ZodObject<{ collection: zod.ZodOptional; }, zod.z.core.$strip>, zod.ZodObject<{ recurringPeriod: zod.ZodObject<{ anchor: zod.z.ZodCoercedDate; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; type: zod.ZodEnum<{ anchored: "anchored"; }>; }, zod.z.core.$strip>]>>; interval: zod.ZodDefault>; }, zod.z.core.$strip>>; invoicing: zod.ZodOptional>; defaultTaxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; draftPeriod: zod.ZodDefault>; dueAfter: zod.ZodDefault>; progressiveBilling: zod.ZodDefault>; }, zod.z.core.$strip>>; payment: zod.ZodOptional>; }, zod.z.core.$strip>>; tax: zod.ZodOptional>; enforced: zod.ZodDefault>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Delete a billing profile by id. Only such billing profiles can be deleted that are: - not the default one - not pinned to any customer using customer overrides - only have finalized invoices * @summary Delete a billing profile */ export declare const deleteBillingProfilePathIdRegExp: RegExp; export declare const DeleteBillingProfileParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Get a billing profile by id. The expand option can be used to include additional information (besides the billing profile) in the response. For example by adding the expand=apps option the apps used by the billing profile will be included in the response. * @summary Get a billing profile */ export declare const getBillingProfilePathIdRegExp: RegExp; export declare const GetBillingProfileParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetBillingProfileQueryParams: zod.ZodObject<{ expand: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Update a billing profile by id. The apps field cannot be updated directly, if an app change is desired a new profile should be created. * @summary Update a billing profile */ export declare const updateBillingProfilePathIdRegExp: RegExp; export declare const UpdateBillingProfileParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateBillingProfileBodyNameMax = 256; export declare const updateBillingProfileBodyDescriptionMax = 1024; export declare const updateBillingProfileBodySupplierOneKeyMax = 256; export declare const updateBillingProfileBodySupplierOneTaxIdOneCodeOneMax = 32; export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneMin = 2; export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneMax = 2; export declare const updateBillingProfileBodySupplierOneAddressesItemCountryOneRegExp: RegExp; export declare const updateBillingProfileBodySupplierOneAddressesMax = 1; export declare const updateBillingProfileBodyWorkflowOneCollectionOneAlignmentOneTwoRecurringPeriodOneIntervalOneOneRegExp: RegExp; export declare const updateBillingProfileBodyWorkflowOneCollectionOneAlignmentDefault: { readonly type: "subscription"; }; export declare const updateBillingProfileBodyWorkflowOneCollectionOneIntervalDefault = "PT1H"; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneAutoAdvanceDefault = true; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDraftPeriodDefault = "P0D"; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDueAfterDefault = "P30D"; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneProgressiveBillingDefault = true; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updateBillingProfileBodyWorkflowOneInvoicingOneDefaultTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updateBillingProfileBodyWorkflowOnePaymentOneCollectionMethodDefault = "charge_automatically"; export declare const updateBillingProfileBodyWorkflowOneTaxOneEnabledDefault = true; export declare const updateBillingProfileBodyWorkflowOneTaxOneEnforcedDefault = false; export declare const UpdateBillingProfileBody: zod.ZodObject<{ default: zod.z.ZodCoercedBoolean; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; supplier: zod.ZodObject<{ addresses: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>>; id: zod.ZodOptional>; key: zod.ZodOptional>; name: zod.ZodOptional>; taxId: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; workflow: zod.ZodObject<{ collection: zod.ZodOptional; }, zod.z.core.$strip>, zod.ZodObject<{ recurringPeriod: zod.ZodObject<{ anchor: zod.z.ZodCoercedDate; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; type: zod.ZodEnum<{ anchored: "anchored"; }>; }, zod.z.core.$strip>]>>; interval: zod.ZodDefault>; }, zod.z.core.$strip>>; invoicing: zod.ZodOptional>; defaultTaxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; draftPeriod: zod.ZodDefault>; dueAfter: zod.ZodDefault>; progressiveBilling: zod.ZodDefault>; }, zod.z.core.$strip>>; payment: zod.ZodOptional>; }, zod.z.core.$strip>>; tax: zod.ZodOptional>; enforced: zod.ZodDefault>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Create a new customer. * @summary Create customer */ export declare const createCustomerBodyNameMax = 256; export declare const createCustomerBodyDescriptionMax = 1024; export declare const createCustomerBodyKeyMax = 256; export declare const createCustomerBodyUsageAttributionOneSubjectKeysMin = 0; export declare const createCustomerBodyCurrencyOneMin = 3; export declare const createCustomerBodyCurrencyOneMax = 3; export declare const createCustomerBodyCurrencyOneRegExp: RegExp; export declare const createCustomerBodyBillingAddressOneCountryOneMin = 2; export declare const createCustomerBodyBillingAddressOneCountryOneMax = 2; export declare const createCustomerBodyBillingAddressOneCountryOneRegExp: RegExp; export declare const CreateCustomerBody: zod.ZodObject<{ billingAddress: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>; currency: zod.ZodOptional>; description: zod.ZodOptional>; key: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; primaryEmail: zod.ZodOptional>; usageAttribution: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * List customers. * @summary List customers */ export declare const listCustomersQueryPageDefault = 1; export declare const listCustomersQueryPageSizeDefault = 100; export declare const listCustomersQueryPageSizeMax = 1000; export declare const listCustomersQueryOrderDefault = "ASC"; export declare const listCustomersQueryIncludeDeletedDefault = false; export declare const ListCustomersQueryParams: zod.ZodObject<{ expand: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; key: zod.ZodOptional>; name: zod.ZodOptional>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; planKey: zod.ZodOptional>; primaryEmail: zod.ZodOptional>; subject: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get a customer by ID or key. * @summary Get customer */ export declare const getCustomerPathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerPathCustomerIdOrKeyTwoMax = 256; export declare const GetCustomerParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const GetCustomerQueryParams: zod.ZodObject<{ expand: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Update a customer by ID. * @summary Update customer */ export declare const updateCustomerPathCustomerIdOrKeyOneRegExp: RegExp; export declare const updateCustomerPathCustomerIdOrKeyTwoMax = 256; export declare const UpdateCustomerParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const updateCustomerBodyNameMax = 256; export declare const updateCustomerBodyDescriptionMax = 1024; export declare const updateCustomerBodyKeyMax = 256; export declare const updateCustomerBodyUsageAttributionOneSubjectKeysMin = 0; export declare const updateCustomerBodyCurrencyOneMin = 3; export declare const updateCustomerBodyCurrencyOneMax = 3; export declare const updateCustomerBodyCurrencyOneRegExp: RegExp; export declare const updateCustomerBodyBillingAddressOneCountryOneMin = 2; export declare const updateCustomerBodyBillingAddressOneCountryOneMax = 2; export declare const updateCustomerBodyBillingAddressOneCountryOneRegExp: RegExp; export declare const UpdateCustomerBody: zod.ZodObject<{ billingAddress: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>; currency: zod.ZodOptional>; description: zod.ZodOptional>; key: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; primaryEmail: zod.ZodOptional>; usageAttribution: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Delete a customer by ID. * @summary Delete customer */ export declare const deleteCustomerPathCustomerIdOrKeyOneRegExp: RegExp; export declare const deleteCustomerPathCustomerIdOrKeyTwoMax = 256; export declare const DeleteCustomerParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; /** * Get the overall access of a customer. * @summary Get customer access */ export declare const getCustomerAccessPathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerAccessPathCustomerIdOrKeyTwoMax = 256; export declare const GetCustomerAccessParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; /** * List customers app data. * @summary List customer app data */ export declare const listCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp; export declare const listCustomerAppDataPathCustomerIdOrKeyTwoMax = 256; export declare const ListCustomerAppDataParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const listCustomerAppDataQueryPageDefault = 1; export declare const listCustomerAppDataQueryPageSizeDefault = 100; export declare const listCustomerAppDataQueryPageSizeMax = 1000; export declare const ListCustomerAppDataQueryParams: zod.ZodObject<{ page: zod.ZodDefault>; pageSize: zod.ZodDefault>; type: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Upsert customer app data. * @summary Upsert customer app data */ export declare const upsertCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp; export declare const upsertCustomerAppDataPathCustomerIdOrKeyTwoMax = 256; export declare const UpsertCustomerAppDataParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const upsertCustomerAppDataBodyOneIdRegExp: RegExp; export declare const upsertCustomerAppDataBodyTwoAppOneIdRegExp: RegExp; export declare const upsertCustomerAppDataBodyTwoAppOneNameMax = 256; export declare const upsertCustomerAppDataBodyTwoAppOneDescriptionMax = 1024; export declare const upsertCustomerAppDataBodyTwoAppOneListingOneCapabilitiesItemKeyMax = 64; export declare const upsertCustomerAppDataBodyTwoAppOneListingOneCapabilitiesItemKeyRegExp: RegExp; export declare const upsertCustomerAppDataBodyTwoIdRegExp: RegExp; export declare const upsertCustomerAppDataBodyThreeAppOneIdRegExp: RegExp; export declare const upsertCustomerAppDataBodyThreeAppOneNameMax = 256; export declare const upsertCustomerAppDataBodyThreeAppOneDescriptionMax = 1024; export declare const upsertCustomerAppDataBodyThreeAppOneListingOneCapabilitiesItemKeyMax = 64; export declare const upsertCustomerAppDataBodyThreeAppOneListingOneCapabilitiesItemKeyRegExp: RegExp; export declare const upsertCustomerAppDataBodyThreeIdRegExp: RegExp; export declare const UpsertCustomerAppDataBodyItem: zod.ZodUnion>; stripeCustomerId: zod.z.ZodCoercedString; stripeDefaultPaymentMethodId: zod.ZodOptional>; type: zod.ZodEnum<{ stripe: "stripe"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ app: zod.ZodOptional; deletedAt: zod.ZodOptional>; description: zod.ZodOptional>; id: zod.z.ZodCoercedString; listing: zod.ZodObject<{ capabilities: zod.ZodArray; key: zod.z.ZodCoercedString; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ reportUsage: "reportUsage"; reportEvents: "reportEvents"; calculateTax: "calculateTax"; invoiceCustomers: "invoiceCustomers"; collectPayments: "collectPayments"; }>; }, zod.z.core.$strip>>; description: zod.z.ZodCoercedString; installMethods: zod.ZodArray>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; status: zod.ZodEnum<{ ready: "ready"; unauthorized: "unauthorized"; }>; type: zod.ZodEnum<{ sandbox: "sandbox"; }>; updatedAt: zod.z.ZodCoercedDate; }, zod.z.core.$strip>>; id: zod.ZodOptional>; type: zod.ZodEnum<{ sandbox: "sandbox"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ app: zod.ZodOptional; deletedAt: zod.ZodOptional>; description: zod.ZodOptional>; enableDraftSyncHook: zod.z.ZodCoercedBoolean; enableIssuingSyncHook: zod.z.ZodCoercedBoolean; id: zod.z.ZodCoercedString; listing: zod.ZodObject<{ capabilities: zod.ZodArray; key: zod.z.ZodCoercedString; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ reportUsage: "reportUsage"; reportEvents: "reportEvents"; calculateTax: "calculateTax"; invoiceCustomers: "invoiceCustomers"; collectPayments: "collectPayments"; }>; }, zod.z.core.$strip>>; description: zod.z.ZodCoercedString; installMethods: zod.ZodArray>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; status: zod.ZodEnum<{ ready: "ready"; unauthorized: "unauthorized"; }>; type: zod.ZodEnum<{ custom_invoicing: "custom_invoicing"; }>; updatedAt: zod.z.ZodCoercedDate; }, zod.z.core.$strip>>; id: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>]>; export declare const UpsertCustomerAppDataBody: zod.ZodArray>; stripeCustomerId: zod.z.ZodCoercedString; stripeDefaultPaymentMethodId: zod.ZodOptional>; type: zod.ZodEnum<{ stripe: "stripe"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ app: zod.ZodOptional; deletedAt: zod.ZodOptional>; description: zod.ZodOptional>; id: zod.z.ZodCoercedString; listing: zod.ZodObject<{ capabilities: zod.ZodArray; key: zod.z.ZodCoercedString; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ reportUsage: "reportUsage"; reportEvents: "reportEvents"; calculateTax: "calculateTax"; invoiceCustomers: "invoiceCustomers"; collectPayments: "collectPayments"; }>; }, zod.z.core.$strip>>; description: zod.z.ZodCoercedString; installMethods: zod.ZodArray>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; status: zod.ZodEnum<{ ready: "ready"; unauthorized: "unauthorized"; }>; type: zod.ZodEnum<{ sandbox: "sandbox"; }>; updatedAt: zod.z.ZodCoercedDate; }, zod.z.core.$strip>>; id: zod.ZodOptional>; type: zod.ZodEnum<{ sandbox: "sandbox"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ app: zod.ZodOptional; deletedAt: zod.ZodOptional>; description: zod.ZodOptional>; enableDraftSyncHook: zod.z.ZodCoercedBoolean; enableIssuingSyncHook: zod.z.ZodCoercedBoolean; id: zod.z.ZodCoercedString; listing: zod.ZodObject<{ capabilities: zod.ZodArray; key: zod.z.ZodCoercedString; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ reportUsage: "reportUsage"; reportEvents: "reportEvents"; calculateTax: "calculateTax"; invoiceCustomers: "invoiceCustomers"; collectPayments: "collectPayments"; }>; }, zod.z.core.$strip>>; description: zod.z.ZodCoercedString; installMethods: zod.ZodArray>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; status: zod.ZodEnum<{ ready: "ready"; unauthorized: "unauthorized"; }>; type: zod.ZodEnum<{ custom_invoicing: "custom_invoicing"; }>; updatedAt: zod.z.ZodCoercedDate; }, zod.z.core.$strip>>; id: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>]>>; /** * Delete customer app data. * @summary Delete customer app data */ export declare const deleteCustomerAppDataPathCustomerIdOrKeyOneRegExp: RegExp; export declare const deleteCustomerAppDataPathCustomerIdOrKeyTwoMax = 256; export declare const deleteCustomerAppDataPathAppIdRegExp: RegExp; export declare const DeleteCustomerAppDataParams: zod.ZodObject<{ appId: zod.z.ZodCoercedString; customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; /** * Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type. * @summary Get customer entitlement value */ export declare const getCustomerEntitlementValuePathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerEntitlementValuePathCustomerIdOrKeyTwoMax = 256; export declare const getCustomerEntitlementValuePathFeatureKeyMax = 64; export declare const getCustomerEntitlementValuePathFeatureKeyRegExp: RegExp; export declare const GetCustomerEntitlementValueParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; featureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetCustomerEntitlementValueQueryParams: zod.ZodObject<{ time: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get stripe app data for a customer. Only returns data if the customer billing profile is linked to a stripe app. * @summary Get customer stripe app data */ export declare const getCustomerStripeAppDataPathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerStripeAppDataPathCustomerIdOrKeyTwoMax = 256; export declare const GetCustomerStripeAppDataParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; /** * Upsert stripe app data for a customer. Only updates data if the customer billing profile is linked to a stripe app. * @summary Upsert customer stripe app data */ export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyOneRegExp: RegExp; export declare const upsertCustomerStripeAppDataPathCustomerIdOrKeyTwoMax = 256; export declare const UpsertCustomerStripeAppDataParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const UpsertCustomerStripeAppDataBody: zod.ZodObject<{ stripeCustomerId: zod.z.ZodCoercedString; stripeDefaultPaymentMethodId: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Create Stripe customer portal session. Only returns URL if the customer billing profile is linked to a stripe app and customer. Useful to redirect the customer to the Stripe customer portal to manage their payment methods, change their billing address and access their invoice history. * @summary Create Stripe customer portal session */ export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyOneRegExp: RegExp; export declare const createCustomerStripePortalSessionPathCustomerIdOrKeyTwoMax = 256; export declare const CreateCustomerStripePortalSessionParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const CreateCustomerStripePortalSessionBody: zod.ZodObject<{ configurationId: zod.ZodOptional>; locale: zod.ZodOptional>; returnUrl: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Lists all subscriptions for a customer. * @summary List customer subscriptions */ export declare const listCustomerSubscriptionsPathCustomerIdOrKeyOneRegExp: RegExp; export declare const listCustomerSubscriptionsPathCustomerIdOrKeyTwoMax = 256; export declare const ListCustomerSubscriptionsParams: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const listCustomerSubscriptionsQueryOrderDefault = "ASC"; export declare const listCustomerSubscriptionsQueryPageDefault = 1; export declare const listCustomerSubscriptionsQueryPageSizeDefault = 100; export declare const listCustomerSubscriptionsQueryPageSizeMax = 1000; export declare const ListCustomerSubscriptionsQueryParams: zod.ZodObject<{ order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; status: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * List all entitlements for all the subjects and features. This endpoint is intended for administrative purposes only. To fetch the entitlements of a specific subject please use the /api/v1/subjects/{subjectKeyOrID}/entitlements endpoint. If page is provided that takes precedence and the paginated response is returned. ⚠️ __Deprecated__: Use [`GET /api/v2/entitlements`](#tag/entitlements/get/api/v2/entitlements) instead. * @deprecated * @summary List all entitlements */ export declare const listEntitlementsQueryExcludeInactiveDefault = false; export declare const listEntitlementsQueryPageDefault = 1; export declare const listEntitlementsQueryPageSizeDefault = 100; export declare const listEntitlementsQueryPageSizeMax = 1000; export declare const listEntitlementsQueryOffsetDefault = 0; export declare const listEntitlementsQueryOffsetMin = 0; export declare const listEntitlementsQueryLimitDefault = 100; export declare const listEntitlementsQueryLimitMax = 1000; export declare const listEntitlementsQueryOrderDefault = "ASC"; export declare const ListEntitlementsQueryParams: zod.ZodObject<{ entitlementType: zod.ZodOptional>>; excludeInactive: zod.ZodDefault>; feature: zod.ZodOptional>>; limit: zod.ZodDefault>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; subject: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Get entitlement by ID. ⚠️ __Deprecated__: Use [`GET /api/v2/entitlements/{entitlementId}`](#tag/entitlements/get/api/v2/entitlements/{entitlementId}) instead. * @deprecated * @summary Get entitlement by ID */ export declare const getEntitlementByIdPathEntitlementIdRegExp: RegExp; export declare const GetEntitlementByIdParams: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List ingested events within a time range. If the from query param is not provided it defaults to last 72 hours. * @summary List ingested events */ export declare const listEventsQueryClientIdMax = 36; export declare const listEventsQueryCustomerIdItemRegExp: RegExp; export declare const listEventsQueryLimitDefault = 100; export declare const listEventsQueryLimitMax = 100; export declare const ListEventsQueryParams: zod.ZodObject<{ clientId: zod.ZodOptional>; customerId: zod.ZodOptional>>; from: zod.ZodOptional>; id: zod.ZodOptional>; ingestedAtFrom: zod.ZodOptional>; ingestedAtTo: zod.ZodOptional>; limit: zod.ZodDefault>; subject: zod.ZodOptional>; to: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Ingests an event or batch of events following the CloudEvents specification. * @summary Ingest events */ export declare const ingestEventsBodyOneSpecversionDefault = "1.0"; export declare const ingestEventsBodyTwoItemSpecversionDefault = "1.0"; export declare const IngestEventsBody: zod.ZodUnion>>; datacontenttype: zod.ZodOptional>>; dataschema: zod.ZodOptional>; id: zod.z.ZodCoercedString; source: zod.z.ZodCoercedString; specversion: zod.ZodDefault>; subject: zod.z.ZodCoercedString; time: zod.ZodOptional>>; type: zod.z.ZodCoercedString; }, zod.z.core.$strip>, zod.ZodArray>>; datacontenttype: zod.ZodOptional>>; dataschema: zod.ZodOptional>; id: zod.z.ZodCoercedString; source: zod.z.ZodCoercedString; specversion: zod.ZodDefault>; subject: zod.z.ZodCoercedString; time: zod.ZodOptional>>; type: zod.z.ZodCoercedString; }, zod.z.core.$strip>>]>; /** * List features. * @summary List features */ export declare const listFeaturesQueryIncludeArchivedDefault = false; export declare const listFeaturesQueryPageDefault = 1; export declare const listFeaturesQueryPageSizeDefault = 100; export declare const listFeaturesQueryPageSizeMax = 1000; export declare const listFeaturesQueryOffsetDefault = 0; export declare const listFeaturesQueryOffsetMin = 0; export declare const listFeaturesQueryLimitDefault = 100; export declare const listFeaturesQueryLimitMax = 1000; export declare const listFeaturesQueryOrderDefault = "ASC"; export declare const ListFeaturesQueryParams: zod.ZodObject<{ includeArchived: zod.ZodDefault>; limit: zod.ZodDefault>; meterSlug: zod.ZodOptional>>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Features are either metered or static. A feature is metered if meterSlug is provided at creation. For metered features you can pass additional filters that will be applied when calculating feature usage, based on the meter's groupBy fields. Meters with SUM, COUNT, UNIQUE_COUNT and LATEST aggregations are supported for features. * @summary Create feature */ export declare const createFeatureBodyKeyMax = 64; export declare const createFeatureBodyKeyRegExp: RegExp; export declare const createFeatureBodyMeterSlugMax = 64; export declare const createFeatureBodyMeterSlugRegExp: RegExp; export declare const createFeatureBodyUnitCostOneOneAmountOneRegExp: RegExp; export declare const createFeatureBodyUnitCostOneTwoPricingOneInputPerTokenOneRegExp: RegExp; export declare const createFeatureBodyUnitCostOneTwoPricingOneOutputPerTokenOneRegExp: RegExp; export declare const createFeatureBodyUnitCostOneTwoPricingOneCacheReadPerTokenOneRegExp: RegExp; export declare const createFeatureBodyUnitCostOneTwoPricingOneReasoningPerTokenOneRegExp: RegExp; export declare const createFeatureBodyUnitCostOneTwoPricingOneCacheWritePerTokenOneRegExp: RegExp; export declare const CreateFeatureBody: zod.ZodObject<{ advancedMeterGroupByFilters: zod.ZodOptional>>; $eq: zod.ZodOptional>>; $gt: zod.ZodOptional>>; $gte: zod.ZodOptional>>; $ilike: zod.ZodOptional>>; $in: zod.ZodOptional>>>; $like: zod.ZodOptional>>; $lt: zod.ZodOptional>>; $lte: zod.ZodOptional>>; $ne: zod.ZodOptional>>; $nilike: zod.ZodOptional>>; $nin: zod.ZodOptional>>>; $nlike: zod.ZodOptional>>; $or: zod.ZodOptional>>; }, zod.z.core.$strip>>>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; meterGroupByFilters: zod.ZodOptional>>; meterSlug: zod.ZodOptional>; name: zod.z.ZodCoercedString; unitCost: zod.ZodOptional; type: zod.ZodEnum<{ manual: "manual"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ model: zod.ZodOptional>; modelProperty: zod.ZodOptional>; pricing: zod.ZodOptional>; cacheWritePerToken: zod.ZodOptional>; inputPerToken: zod.z.ZodCoercedString; outputPerToken: zod.z.ZodCoercedString; reasoningPerToken: zod.ZodOptional>; }, zod.z.core.$strip>>; provider: zod.ZodOptional>; providerProperty: zod.ZodOptional>; tokenType: zod.ZodOptional>; tokenTypeProperty: zod.ZodOptional>; type: zod.ZodEnum<{ llm: "llm"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>; /** * Get a feature by ID. * @summary Get feature */ export declare const GetFeatureParams: zod.ZodObject<{ featureId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Archive a feature by ID. Once a feature is archived it cannot be unarchived. If a feature is archived, new entitlements cannot be created for it, but archiving the feature does not affect existing entitlements. This means, if you want to create a new feature with the same key, and then create entitlements for it, the previous entitlements have to be deleted first on a per subject basis. * @summary Delete feature */ export declare const DeleteFeatureParams: zod.ZodObject<{ featureId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all grants for all the subjects and entitlements. This endpoint is intended for administrative purposes only. To fetch the grants of a specific entitlement please use the /api/v1/subjects/{subjectKeyOrID}/entitlements/{entitlementOrFeatureID}/grants endpoint. If page is provided that takes precedence and the paginated response is returned. ⚠️ __Deprecated__: Use [`GET /api/v2/grants`](#tag/entitlements/get/api/v2/grants) instead. * @deprecated * @summary List grants */ export declare const listGrantsQueryIncludeDeletedDefault = false; export declare const listGrantsQueryPageDefault = 1; export declare const listGrantsQueryPageSizeDefault = 100; export declare const listGrantsQueryPageSizeMax = 1000; export declare const listGrantsQueryOffsetDefault = 0; export declare const listGrantsQueryOffsetMin = 0; export declare const listGrantsQueryLimitDefault = 100; export declare const listGrantsQueryLimitMax = 1000; export declare const listGrantsQueryOrderDefault = "ASC"; export declare const ListGrantsQueryParams: zod.ZodObject<{ feature: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; limit: zod.ZodDefault>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; subject: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Voiding a grant means it is no longer valid, it doesn't take part in further balance calculations. Voiding a grant does not retroactively take effect, meaning any usage that has already been attributed to the grant will remain, but future usage cannot be burnt down from the grant. For example, if you have a single grant for your metered entitlement with an initial amount of 100, and so far 60 usage has been metered, the grant (and the entitlement itself) would have a balance of 40. If you then void that grant, balance becomes 0, but the 60 previous usage will not be affected. * @summary Void grant */ export declare const VoidGrantParams: zod.ZodObject<{ grantId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const VoidGrantQueryParams: zod.ZodObject<{ at: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get progress * @summary Get progress */ export declare const GetProgressParams: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List available apps of the app marketplace. * @summary List available apps */ export declare const listMarketplaceListingsQueryPageDefault = 1; export declare const listMarketplaceListingsQueryPageSizeDefault = 100; export declare const listMarketplaceListingsQueryPageSizeMax = 1000; export declare const ListMarketplaceListingsQueryParams: zod.ZodObject<{ page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Get a marketplace listing by type. * @summary Get app details by type */ export declare const GetMarketplaceListingParams: zod.ZodObject<{ type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; /** * Install an app from the marketplace. * @summary Install app */ export declare const MarketplaceAppInstallParams: zod.ZodObject<{ type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; export declare const marketplaceAppInstallBodyCreateBillingProfileDefault = true; export declare const MarketplaceAppInstallBody: zod.ZodObject<{ createBillingProfile: zod.ZodDefault>; name: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Install an marketplace app via API Key. * @summary Install app via API key */ export declare const MarketplaceAppAPIKeyInstallParams: zod.ZodObject<{ type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; export declare const marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault = true; export declare const MarketplaceAppAPIKeyInstallBody: zod.ZodObject<{ apiKey: zod.z.ZodCoercedString; createBillingProfile: zod.ZodDefault>; name: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Install an app via OAuth. Returns a URL to start the OAuth 2.0 flow. * @summary Get OAuth2 install URL */ export declare const MarketplaceOAuth2InstallGetURLParams: zod.ZodObject<{ type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; /** * Authorize OAuth2 code. Verifies the OAuth code and exchanges it for a token and refresh token * @summary Install app via OAuth2 */ export declare const MarketplaceOAuth2InstallAuthorizeParams: zod.ZodObject<{ type: zod.ZodEnum<{ stripe: "stripe"; sandbox: "sandbox"; custom_invoicing: "custom_invoicing"; }>; }, zod.z.core.$strip>; export declare const MarketplaceOAuth2InstallAuthorizeQueryParams: zod.ZodObject<{ code: zod.ZodOptional>; error: zod.ZodOptional>; error_description: zod.ZodOptional>; error_uri: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>; /** * List meters. * @summary List meters */ export declare const listMetersQueryPageDefault = 1; export declare const listMetersQueryPageSizeDefault = 100; export declare const listMetersQueryPageSizeMax = 1000; export declare const listMetersQueryOrderDefault = "ASC"; export declare const listMetersQueryIncludeDeletedDefault = false; export declare const ListMetersQueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a meter. * @summary Create meter */ export declare const createMeterBodyDescriptionMax = 1024; export declare const createMeterBodyNameMax = 256; export declare const createMeterBodySlugMax = 64; export declare const createMeterBodySlugRegExp: RegExp; export declare const CreateMeterBody: zod.ZodObject<{ aggregation: zod.ZodEnum<{ SUM: "SUM"; COUNT: "COUNT"; UNIQUE_COUNT: "UNIQUE_COUNT"; AVG: "AVG"; MIN: "MIN"; MAX: "MAX"; LATEST: "LATEST"; }>; description: zod.ZodOptional>; eventFrom: zod.ZodOptional>; eventType: zod.z.ZodCoercedString; groupBy: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.ZodOptional>; slug: zod.z.ZodCoercedString; valueProperty: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get a meter by ID or slug. * @summary Get meter */ export declare const getMeterPathMeterIdOrSlugMax = 64; export declare const getMeterPathMeterIdOrSlugRegExp: RegExp; export declare const GetMeterParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update a meter. * @summary Update meter */ export declare const updateMeterPathMeterIdOrSlugMax = 64; export declare const updateMeterPathMeterIdOrSlugRegExp: RegExp; export declare const UpdateMeterParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateMeterBodyDescriptionMax = 1024; export declare const updateMeterBodyNameMax = 256; export declare const UpdateMeterBody: zod.ZodObject<{ description: zod.ZodOptional>; groupBy: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Delete a meter. * @summary Delete meter */ export declare const deleteMeterPathMeterIdOrSlugMax = 64; export declare const deleteMeterPathMeterIdOrSlugRegExp: RegExp; export declare const DeleteMeterParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List meter group by values. * @summary List meter group by values */ export declare const listMeterGroupByValuesPathMeterIdOrSlugMax = 64; export declare const listMeterGroupByValuesPathMeterIdOrSlugRegExp: RegExp; export declare const ListMeterGroupByValuesParams: zod.ZodObject<{ groupByKey: zod.z.ZodCoercedString; meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const ListMeterGroupByValuesQueryParams: zod.ZodObject<{ from: zod.ZodOptional>; to: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Query meter for usage. * @summary Query meter */ export declare const queryMeterPathMeterIdOrSlugMax = 64; export declare const queryMeterPathMeterIdOrSlugRegExp: RegExp; export declare const QueryMeterParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const queryMeterQueryClientIdMax = 36; export declare const queryMeterQueryWindowTimeZoneDefault = "UTC"; export declare const queryMeterQueryFilterCustomerIdMax = 100; export declare const QueryMeterQueryParams: zod.ZodObject<{ clientId: zod.ZodOptional>; filterCustomerId: zod.ZodOptional>>; filterGroupBy: zod.ZodOptional>>; from: zod.ZodOptional>; groupBy: zod.ZodOptional>>; subject: zod.ZodOptional>>; to: zod.ZodOptional>; windowSize: zod.ZodOptional>; windowTimeZone: zod.ZodDefault>; }, zod.z.core.$strip>; /** * @summary Query meter */ export declare const queryMeterPostPathMeterIdOrSlugMax = 64; export declare const queryMeterPostPathMeterIdOrSlugRegExp: RegExp; export declare const QueryMeterPostParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const queryMeterPostBodyClientIdMax = 36; export declare const queryMeterPostBodyWindowTimeZoneDefault = "UTC"; export declare const queryMeterPostBodySubjectMax = 100; export declare const queryMeterPostBodyFilterCustomerIdMax = 100; export declare const queryMeterPostBodyGroupByMax = 100; export declare const QueryMeterPostBody: zod.ZodObject<{ advancedMeterGroupByFilters: zod.ZodOptional>>; $eq: zod.ZodOptional>>; $gt: zod.ZodOptional>>; $gte: zod.ZodOptional>>; $ilike: zod.ZodOptional>>; $in: zod.ZodOptional>>>; $like: zod.ZodOptional>>; $lt: zod.ZodOptional>>; $lte: zod.ZodOptional>>; $ne: zod.ZodOptional>>; $nilike: zod.ZodOptional>>; $nin: zod.ZodOptional>>>; $nlike: zod.ZodOptional>>; $or: zod.ZodOptional>>; }, zod.z.core.$strip>>>; clientId: zod.ZodOptional>; filterCustomerId: zod.ZodOptional>>; filterGroupBy: zod.ZodOptional>>>; from: zod.ZodOptional>; groupBy: zod.ZodOptional>>; subject: zod.ZodOptional>>; to: zod.ZodOptional>; windowSize: zod.ZodOptional>; windowTimeZone: zod.ZodDefault>; }, zod.z.core.$strip>; /** * List subjects for a meter. * @summary List meter subjects */ export declare const listMeterSubjectsPathMeterIdOrSlugMax = 64; export declare const listMeterSubjectsPathMeterIdOrSlugRegExp: RegExp; export declare const ListMeterSubjectsParams: zod.ZodObject<{ meterIdOrSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const ListMeterSubjectsQueryParams: zod.ZodObject<{ from: zod.ZodOptional>; to: zod.ZodOptional>; }, zod.z.core.$strip>; /** * List all notification channels. * @summary List notification channels */ export declare const listNotificationChannelsQueryIncludeDeletedDefault = false; export declare const listNotificationChannelsQueryIncludeDisabledDefault = false; export declare const listNotificationChannelsQueryPageDefault = 1; export declare const listNotificationChannelsQueryPageSizeDefault = 100; export declare const listNotificationChannelsQueryPageSizeMax = 1000; export declare const listNotificationChannelsQueryOrderDefault = "ASC"; export declare const ListNotificationChannelsQueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; includeDisabled: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a new notification channel. * @summary Create a notification channel */ export declare const createNotificationChannelBodyOneNameMax = 256; export declare const createNotificationChannelBodyOneDisabledDefault = false; export declare const createNotificationChannelBodyOneSigningSecretRegExp: RegExp; export declare const CreateNotificationChannelBody: zod.ZodObject<{ customHeaders: zod.ZodOptional>>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; signingSecret: zod.ZodOptional>; type: zod.ZodEnum<{ WEBHOOK: "WEBHOOK"; }>; url: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update notification channel. * @summary Update a notification channel */ export declare const updateNotificationChannelPathChannelIdRegExp: RegExp; export declare const UpdateNotificationChannelParams: zod.ZodObject<{ channelId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateNotificationChannelBodyOneNameMax = 256; export declare const updateNotificationChannelBodyOneDisabledDefault = false; export declare const updateNotificationChannelBodyOneSigningSecretRegExp: RegExp; export declare const UpdateNotificationChannelBody: zod.ZodObject<{ customHeaders: zod.ZodOptional>>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; signingSecret: zod.ZodOptional>; type: zod.ZodEnum<{ WEBHOOK: "WEBHOOK"; }>; url: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Get a notification channel by id. * @summary Get notification channel */ export declare const getNotificationChannelPathChannelIdRegExp: RegExp; export declare const GetNotificationChannelParams: zod.ZodObject<{ channelId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Soft delete notification channel by id. Once a notification channel is deleted it cannot be undeleted. * @summary Delete a notification channel */ export declare const deleteNotificationChannelPathChannelIdRegExp: RegExp; export declare const DeleteNotificationChannelParams: zod.ZodObject<{ channelId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all notification events. * @summary List notification events */ export declare const listNotificationEventsQueryRuleItemRegExp: RegExp; export declare const listNotificationEventsQueryChannelItemRegExp: RegExp; export declare const listNotificationEventsQueryPageDefault = 1; export declare const listNotificationEventsQueryPageSizeDefault = 100; export declare const listNotificationEventsQueryPageSizeMax = 1000; export declare const listNotificationEventsQueryOrderDefault = "ASC"; export declare const ListNotificationEventsQueryParams: zod.ZodObject<{ channel: zod.ZodOptional>>; feature: zod.ZodOptional>>; from: zod.ZodOptional>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; rule: zod.ZodOptional>>; subject: zod.ZodOptional>>; to: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get a notification event by id. * @summary Get notification event */ export declare const GetNotificationEventParams: zod.ZodObject<{ eventId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * @summary Re-send notification event */ export declare const resendNotificationEventPathEventIdRegExp: RegExp; export declare const ResendNotificationEventParams: zod.ZodObject<{ eventId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const resendNotificationEventBodyChannelsItemRegExp: RegExp; export declare const ResendNotificationEventBody: zod.ZodObject<{ channels: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * List all notification rules. * @summary List notification rules */ export declare const listNotificationRulesQueryIncludeDeletedDefault = false; export declare const listNotificationRulesQueryIncludeDisabledDefault = false; export declare const listNotificationRulesQueryFeatureItemMax = 64; export declare const listNotificationRulesQueryFeatureItemRegExp: RegExp; export declare const listNotificationRulesQueryPageDefault = 1; export declare const listNotificationRulesQueryPageSizeDefault = 100; export declare const listNotificationRulesQueryPageSizeMax = 1000; export declare const listNotificationRulesQueryOrderDefault = "ASC"; export declare const ListNotificationRulesQueryParams: zod.ZodObject<{ channel: zod.ZodOptional>>; feature: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; includeDisabled: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a new notification rule. * @summary Create a notification rule */ export declare const createNotificationRuleBodyOneNameMax = 256; export declare const createNotificationRuleBodyOneDisabledDefault = false; export declare const createNotificationRuleBodyOneThresholdsMax = 10; export declare const createNotificationRuleBodyOneChannelsItemRegExp: RegExp; export declare const createNotificationRuleBodyOneFeaturesItemMax = 64; export declare const createNotificationRuleBodyOneFeaturesItemRegExp: RegExp; export declare const createNotificationRuleBodyTwoNameMax = 256; export declare const createNotificationRuleBodyTwoDisabledDefault = false; export declare const createNotificationRuleBodyTwoChannelsItemRegExp: RegExp; export declare const createNotificationRuleBodyTwoFeaturesItemMax = 64; export declare const createNotificationRuleBodyTwoFeaturesItemRegExp: RegExp; export declare const createNotificationRuleBodyThreeNameMax = 256; export declare const createNotificationRuleBodyThreeDisabledDefault = false; export declare const createNotificationRuleBodyThreeChannelsItemRegExp: RegExp; export declare const createNotificationRuleBodyFourNameMax = 256; export declare const createNotificationRuleBodyFourDisabledDefault = false; export declare const createNotificationRuleBodyFourChannelsItemRegExp: RegExp; export declare const CreateNotificationRuleBody: zod.ZodUnion>; disabled: zod.ZodDefault>; features: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; thresholds: zod.ZodArray; value: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ "entitlements.balance.threshold": "entitlements.balance.threshold"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; features: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "entitlements.reset": "entitlements.reset"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "invoice.created": "invoice.created"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "invoice.updated": "invoice.updated"; }>; }, zod.z.core.$strip>]>; /** * Update notification rule. * @summary Update a notification rule */ export declare const updateNotificationRulePathRuleIdRegExp: RegExp; export declare const UpdateNotificationRuleParams: zod.ZodObject<{ ruleId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateNotificationRuleBodyOneNameMax = 256; export declare const updateNotificationRuleBodyOneDisabledDefault = false; export declare const updateNotificationRuleBodyOneThresholdsMax = 10; export declare const updateNotificationRuleBodyOneChannelsItemRegExp: RegExp; export declare const updateNotificationRuleBodyOneFeaturesItemMax = 64; export declare const updateNotificationRuleBodyOneFeaturesItemRegExp: RegExp; export declare const updateNotificationRuleBodyTwoNameMax = 256; export declare const updateNotificationRuleBodyTwoDisabledDefault = false; export declare const updateNotificationRuleBodyTwoChannelsItemRegExp: RegExp; export declare const updateNotificationRuleBodyTwoFeaturesItemMax = 64; export declare const updateNotificationRuleBodyTwoFeaturesItemRegExp: RegExp; export declare const updateNotificationRuleBodyThreeNameMax = 256; export declare const updateNotificationRuleBodyThreeDisabledDefault = false; export declare const updateNotificationRuleBodyThreeChannelsItemRegExp: RegExp; export declare const updateNotificationRuleBodyFourNameMax = 256; export declare const updateNotificationRuleBodyFourDisabledDefault = false; export declare const updateNotificationRuleBodyFourChannelsItemRegExp: RegExp; export declare const UpdateNotificationRuleBody: zod.ZodUnion>; disabled: zod.ZodDefault>; features: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; thresholds: zod.ZodArray; value: zod.z.ZodCoercedNumber; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ "entitlements.balance.threshold": "entitlements.balance.threshold"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; features: zod.ZodOptional>>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "entitlements.reset": "entitlements.reset"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "invoice.created": "invoice.created"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ channels: zod.ZodArray>; disabled: zod.ZodDefault>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; type: zod.ZodEnum<{ "invoice.updated": "invoice.updated"; }>; }, zod.z.core.$strip>]>; /** * Get a notification rule by id. * @summary Get notification rule */ export declare const getNotificationRulePathRuleIdRegExp: RegExp; export declare const GetNotificationRuleParams: zod.ZodObject<{ ruleId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Soft delete notification rule by id. Once a notification rule is deleted it cannot be undeleted. * @summary Delete a notification rule */ export declare const deleteNotificationRulePathRuleIdRegExp: RegExp; export declare const DeleteNotificationRuleParams: zod.ZodObject<{ ruleId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Test a notification rule by sending a test event with random data. * @summary Test notification rule */ export declare const testNotificationRulePathRuleIdRegExp: RegExp; export declare const TestNotificationRuleParams: zod.ZodObject<{ ruleId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all plans. * @summary List plans */ export declare const listPlansQueryIncludeDeletedDefault = false; export declare const listPlansQueryIdItemRegExp: RegExp; export declare const listPlansQueryKeyItemMax = 64; export declare const listPlansQueryKeyItemRegExp: RegExp; export declare const listPlansQueryCurrencyItemMin = 3; export declare const listPlansQueryCurrencyItemMax = 3; export declare const listPlansQueryCurrencyItemRegExp: RegExp; export declare const listPlansQueryPageDefault = 1; export declare const listPlansQueryPageSizeDefault = 100; export declare const listPlansQueryPageSizeMax = 1000; export declare const listPlansQueryOrderDefault = "ASC"; export declare const ListPlansQueryParams: zod.ZodObject<{ currency: zod.ZodOptional>>; id: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; key: zod.ZodOptional>>; keyVersion: zod.ZodOptional>>>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; status: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Create a new plan. * @summary Create a plan */ export declare const createPlanBodyNameMax = 256; export declare const createPlanBodyDescriptionMax = 1024; export declare const createPlanBodyKeyMax = 64; export declare const createPlanBodyKeyRegExp: RegExp; export declare const createPlanBodyCurrencyOneMin = 3; export declare const createPlanBodyCurrencyOneMax = 3; export declare const createPlanBodyCurrencyOneRegExp: RegExp; export declare const createPlanBodyCurrencyDefault = "USD"; export declare const createPlanBodyProRatingConfigOneEnabledDefault = true; export declare const createPlanBodyProRatingConfigOneModeDefault = "prorate_prices"; export declare const createPlanBodyProRatingConfigDefault: { readonly enabled: true; readonly mode: "prorate_prices"; }; export declare const createPlanBodySettlementModeDefault = "credit_then_invoice"; export declare const createPlanBodyPhasesItemKeyMax = 64; export declare const createPlanBodyPhasesItemKeyRegExp: RegExp; export declare const createPlanBodyPhasesItemNameMax = 256; export declare const createPlanBodyPhasesItemDescriptionMax = 1024; export declare const createPlanBodyPhasesItemRateCardsItemOneKeyMax = 64; export declare const createPlanBodyPhasesItemRateCardsItemOneKeyRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemOneNameMax = 256; export declare const createPlanBodyPhasesItemRateCardsItemOneDescriptionMax = 1024; export declare const createPlanBodyPhasesItemRateCardsItemOneFeatureKeyMax = 64; export declare const createPlanBodyPhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createPlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createPlanBodyPhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const createPlanBodyPhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoKeyMax = 64; export declare const createPlanBodyPhasesItemRateCardsItemTwoKeyRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoNameMax = 256; export declare const createPlanBodyPhasesItemRateCardsItemTwoDescriptionMax = 1024; export declare const createPlanBodyPhasesItemRateCardsItemTwoFeatureKeyMax = 64; export declare const createPlanBodyPhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createPlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createPlanBodyPhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const createPlanBodyPhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const CreatePlanBody: zod.ZodObject<{ alignment: zod.ZodOptional>; }, zod.z.core.$strip>>; billingCadence: zod.z.ZodCoercedString; currency: zod.ZodDefault>; description: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; phases: zod.ZodArray>; duration: zod.ZodNullable>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>>; proRatingConfig: zod.ZodDefault>; mode: zod.ZodDefault>; }, zod.z.core.$strip>>; settlementMode: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a new draft version from plan. It returns error if there is already a plan in draft or planId does not reference the latest published version. * @deprecated * @summary New draft plan */ export declare const nextPlanPathPlanIdOrKeyMax = 64; export declare const nextPlanPathPlanIdOrKeyRegExp: RegExp; export declare const NextPlanParams: zod.ZodObject<{ planIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Update plan by id. * @summary Update a plan */ export declare const updatePlanPathPlanIdRegExp: RegExp; export declare const UpdatePlanParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updatePlanBodyNameMax = 256; export declare const updatePlanBodyDescriptionMax = 1024; export declare const updatePlanBodyProRatingConfigOneEnabledDefault = true; export declare const updatePlanBodyProRatingConfigOneModeDefault = "prorate_prices"; export declare const updatePlanBodyProRatingConfigDefault: { readonly enabled: true; readonly mode: "prorate_prices"; }; export declare const updatePlanBodySettlementModeDefault = "credit_then_invoice"; export declare const updatePlanBodyPhasesItemKeyMax = 64; export declare const updatePlanBodyPhasesItemKeyRegExp: RegExp; export declare const updatePlanBodyPhasesItemNameMax = 256; export declare const updatePlanBodyPhasesItemDescriptionMax = 1024; export declare const updatePlanBodyPhasesItemRateCardsItemOneKeyMax = 64; export declare const updatePlanBodyPhasesItemRateCardsItemOneKeyRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemOneNameMax = 256; export declare const updatePlanBodyPhasesItemRateCardsItemOneDescriptionMax = 1024; export declare const updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyMax = 64; export declare const updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const updatePlanBodyPhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoKeyMax = 64; export declare const updatePlanBodyPhasesItemRateCardsItemTwoKeyRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoNameMax = 256; export declare const updatePlanBodyPhasesItemRateCardsItemTwoDescriptionMax = 1024; export declare const updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyMax = 64; export declare const updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const updatePlanBodyPhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const UpdatePlanBody: zod.ZodObject<{ alignment: zod.ZodOptional>; }, zod.z.core.$strip>>; billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; phases: zod.ZodArray>; duration: zod.ZodNullable>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>>; proRatingConfig: zod.ZodDefault>; mode: zod.ZodDefault>; }, zod.z.core.$strip>>; settlementMode: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Get a plan by id or key. The latest published version is returned if latter is used. * @summary Get plan */ export declare const getPlanPathPlanIdMax = 64; export declare const getPlanPathPlanIdRegExp: RegExp; export declare const GetPlanParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const getPlanQueryIncludeLatestDefault = false; export declare const GetPlanQueryParams: zod.ZodObject<{ includeLatest: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Soft delete plan by plan.id. Once a plan is deleted it cannot be undeleted. * @summary Delete plan */ export declare const deletePlanPathPlanIdRegExp: RegExp; export declare const DeletePlanParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all available add-ons for plan. * @summary List all available add-ons for plan */ export declare const listPlanAddonsPathPlanIdMax = 64; export declare const listPlanAddonsPathPlanIdRegExp: RegExp; export declare const ListPlanAddonsParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const listPlanAddonsQueryIncludeDeletedDefault = false; export declare const listPlanAddonsQueryIdItemRegExp: RegExp; export declare const listPlanAddonsQueryKeyItemMax = 64; export declare const listPlanAddonsQueryKeyItemRegExp: RegExp; export declare const listPlanAddonsQueryPageDefault = 1; export declare const listPlanAddonsQueryPageSizeDefault = 100; export declare const listPlanAddonsQueryPageSizeMax = 1000; export declare const listPlanAddonsQueryOrderDefault = "ASC"; export declare const ListPlanAddonsQueryParams: zod.ZodObject<{ id: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; key: zod.ZodOptional>>; keyVersion: zod.ZodOptional>>>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create new add-on assignment for plan. * @summary Create new add-on assignment for plan */ export declare const createPlanAddonPathPlanIdRegExp: RegExp; export declare const CreatePlanAddonParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createPlanAddonBodyAddonIdRegExp: RegExp; export declare const CreatePlanAddonBody: zod.ZodObject<{ addonId: zod.z.ZodCoercedString; fromPlanPhase: zod.z.ZodCoercedString; maxQuantity: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Update add-on assignment for plan. * @summary Update add-on assignment for plan */ export declare const updatePlanAddonPathPlanIdRegExp: RegExp; export declare const updatePlanAddonPathPlanAddonIdRegExp: RegExp; export declare const UpdatePlanAddonParams: zod.ZodObject<{ planAddonId: zod.z.ZodCoercedString; planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const UpdatePlanAddonBody: zod.ZodObject<{ fromPlanPhase: zod.z.ZodCoercedString; maxQuantity: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Get add-on assignment for plan by id. * @summary Get add-on assignment for plan */ export declare const getPlanAddonPathPlanIdMax = 64; export declare const getPlanAddonPathPlanIdRegExp: RegExp; export declare const getPlanAddonPathPlanAddonIdMax = 64; export declare const getPlanAddonPathPlanAddonIdRegExp: RegExp; export declare const GetPlanAddonParams: zod.ZodObject<{ planAddonId: zod.z.ZodCoercedString; planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Delete add-on assignment for plan. Once a plan is deleted it cannot be undeleted. * @summary Delete add-on assignment for plan */ export declare const deletePlanAddonPathPlanIdRegExp: RegExp; export declare const deletePlanAddonPathPlanAddonIdRegExp: RegExp; export declare const DeletePlanAddonParams: zod.ZodObject<{ planAddonId: zod.z.ZodCoercedString; planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Archive a plan version. * @summary Archive plan version */ export declare const archivePlanPathPlanIdRegExp: RegExp; export declare const ArchivePlanParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Publish a plan version. * @summary Publish plan */ export declare const publishPlanPathPlanIdRegExp: RegExp; export declare const PublishPlanParams: zod.ZodObject<{ planId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Query meter for consumer portal. This endpoint is publicly exposable to consumers. Query meter for consumer portal. This endpoint is publicly exposable to consumers. * @summary Query meter Query meter */ export declare const queryPortalMeterPathMeterSlugMax = 64; export declare const queryPortalMeterPathMeterSlugRegExp: RegExp; export declare const QueryPortalMeterParams: zod.ZodObject<{ meterSlug: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const queryPortalMeterQueryClientIdMax = 36; export declare const queryPortalMeterQueryWindowTimeZoneDefault = "UTC"; export declare const queryPortalMeterQueryFilterCustomerIdMax = 100; export declare const QueryPortalMeterQueryParams: zod.ZodObject<{ clientId: zod.ZodOptional>; filterCustomerId: zod.ZodOptional>>; filterGroupBy: zod.ZodOptional>>; from: zod.ZodOptional>; groupBy: zod.ZodOptional>>; to: zod.ZodOptional>; windowSize: zod.ZodOptional>; windowTimeZone: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Create a consumer portal token. * @summary Create consumer portal token */ export declare const CreatePortalTokenBody: zod.ZodObject<{ allowedMeterSlugs: zod.ZodOptional>>; subject: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List tokens. * @summary List consumer portal tokens */ export declare const listPortalTokensQueryLimitDefault = 25; export declare const listPortalTokensQueryLimitMax = 100; export declare const ListPortalTokensQueryParams: zod.ZodObject<{ limit: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Invalidates consumer portal tokens by ID or subject. * @summary Invalidate portal tokens */ export declare const InvalidatePortalTokensBody: zod.ZodObject<{ id: zod.ZodOptional>; subject: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Create checkout session. * @summary Create checkout session */ export declare const createStripeCheckoutSessionBodyAppIdRegExp: RegExp; export declare const createStripeCheckoutSessionBodyCustomerOneIdRegExp: RegExp; export declare const createStripeCheckoutSessionBodyCustomerThreeNameMax = 256; export declare const createStripeCheckoutSessionBodyCustomerThreeDescriptionMax = 1024; export declare const createStripeCheckoutSessionBodyCustomerThreeKeyMax = 256; export declare const createStripeCheckoutSessionBodyCustomerThreeUsageAttributionOneSubjectKeysMin = 0; export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMin = 3; export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMax = 3; export declare const createStripeCheckoutSessionBodyCustomerThreeCurrencyOneRegExp: RegExp; export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMin = 2; export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMax = 2; export declare const createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneRegExp: RegExp; export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneMin = 3; export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneMax = 3; export declare const createStripeCheckoutSessionBodyOptionsOneCurrencyOneRegExp: RegExp; export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneAfterSubmitMessageMax = 1200; export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneShippingAddressMessageMax = 1200; export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneSubmitMessageMax = 1200; export declare const createStripeCheckoutSessionBodyOptionsOneCustomTextOneTermsOfServiceAcceptanceMessageMax = 1200; export declare const CreateStripeCheckoutSessionBody: zod.ZodObject<{ appId: zod.ZodOptional>; customer: zod.ZodUnion; }, zod.z.core.$strip>, zod.ZodObject<{ key: zod.z.ZodCoercedString; }, zod.z.core.$strip>, zod.ZodObject<{ billingAddress: zod.ZodOptional>; country: zod.ZodOptional>; line1: zod.ZodOptional>; line2: zod.ZodOptional>; phoneNumber: zod.ZodOptional>; postalCode: zod.ZodOptional>; state: zod.ZodOptional>; }, zod.z.core.$strip>>; currency: zod.ZodOptional>; description: zod.ZodOptional>; key: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; primaryEmail: zod.ZodOptional>; usageAttribution: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>]>; options: zod.ZodObject<{ billingAddressCollection: zod.ZodOptional>; cancelURL: zod.ZodOptional>; clientReferenceID: zod.ZodOptional>; consentCollection: zod.ZodOptional>; }, zod.z.core.$strip>>; promotions: zod.ZodOptional>; termsOfService: zod.ZodOptional>; }, zod.z.core.$strip>>; currency: zod.ZodOptional>; customerUpdate: zod.ZodOptional>; name: zod.ZodOptional>; shipping: zod.ZodOptional>; }, zod.z.core.$strip>>; customText: zod.ZodOptional>; }, zod.z.core.$strip>>; shippingAddress: zod.ZodOptional>; }, zod.z.core.$strip>>; submit: zod.ZodOptional>; }, zod.z.core.$strip>>; termsOfServiceAcceptance: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; expiresAt: zod.ZodOptional>; locale: zod.ZodOptional>; metadata: zod.ZodOptional>>; paymentMethodTypes: zod.ZodOptional>>; redirectOnCompletion: zod.ZodOptional>; returnURL: zod.ZodOptional>; successURL: zod.ZodOptional>; taxIdCollection: zod.ZodOptional; required: zod.ZodOptional>; }, zod.z.core.$strip>>; uiMode: zod.ZodOptional>; }, zod.z.core.$strip>; stripeCustomerId: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Upserts a subject. Creates or updates subject. If the subject doesn't exist, it will be created. If the subject exists, it will be partially updated with the provided fields. ⚠️ __Deprecated__: Subjects as managable entities are being depracated, use customers with subject key usage attribution instead. * @deprecated * @summary Upsert subject */ export declare const UpsertSubjectBodyItem: zod.ZodObject<{ currentPeriodEnd: zod.ZodOptional>; currentPeriodStart: zod.ZodOptional>; displayName: zod.ZodOptional>>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; stripeCustomerId: zod.ZodOptional>>; }, zod.z.core.$strip>; export declare const UpsertSubjectBody: zod.ZodArray>; currentPeriodStart: zod.ZodOptional>; displayName: zod.ZodOptional>>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; stripeCustomerId: zod.ZodOptional>>; }, zod.z.core.$strip>>; /** * Get subject by ID or key. ⚠️ __Deprecated__: Subjects as managable entities are being depracated, use customers with subject key usage attribution instead. * @deprecated * @summary Get subject */ export declare const GetSubjectParams: zod.ZodObject<{ subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Delete subject by ID or key. ⚠️ __Deprecated__: Subjects as managable entities are being depracated, use customers with subject key usage attribution instead. * @deprecated * @summary Delete subject */ export declare const DeleteSubjectParams: zod.ZodObject<{ subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * OpenMeter has three types of entitlements: metered, boolean, and static. The type property determines the type of entitlement. The underlying feature has to be compatible with the entitlement type specified in the request (e.g., a metered entitlement needs a feature associated with a meter). - Boolean entitlements define static feature access, e.g. "Can use SSO authentication". - Static entitlements let you pass along a configuration while granting access, e.g. "Using this feature with X Y settings" (passed in the config). - Metered entitlements have many use cases, from setting up usage-based access to implementing complex credit systems. Example: The customer can use 10000 AI tokens during the usage period of the entitlement. A given subject can only have one active (non-deleted) entitlement per featureKey. If you try to create a new entitlement for a featureKey that already has an active entitlement, the request will fail with a 409 error. Once an entitlement is created you cannot modify it, only delete it. ⚠️ __Deprecated__: Use [`POST /api/v2/customers/{customerIdOrKey}/entitlements`](#tag/entitlements/post/api/v2/customers/{customerIdOrKey}/entitlements) instead. * @deprecated * @summary Create a subject entitlement */ export declare const CreateEntitlementParams: zod.ZodObject<{ subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createEntitlementBodyOneFeatureKeyMax = 64; export declare const createEntitlementBodyOneFeatureKeyRegExp: RegExp; export declare const createEntitlementBodyOneFeatureIdRegExp: RegExp; export declare const createEntitlementBodyOneIsSoftLimitDefault = false; export declare const createEntitlementBodyOneIsUnlimitedDefault = false; export declare const createEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const createEntitlementBodyOneIssueAfterResetMin = 0; export declare const createEntitlementBodyOneIssueAfterResetPriorityDefault = 1; export declare const createEntitlementBodyOneIssueAfterResetPriorityMax = 255; export declare const createEntitlementBodyOnePreserveOverageAtResetDefault = false; export declare const createEntitlementBodyTwoFeatureKeyMax = 64; export declare const createEntitlementBodyTwoFeatureKeyRegExp: RegExp; export declare const createEntitlementBodyTwoFeatureIdRegExp: RegExp; export declare const createEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const createEntitlementBodyThreeFeatureKeyMax = 64; export declare const createEntitlementBodyThreeFeatureKeyRegExp: RegExp; export declare const createEntitlementBodyThreeFeatureIdRegExp: RegExp; export declare const createEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const CreateEntitlementBody: zod.ZodUnion>; featureKey: zod.ZodOptional>; isSoftLimit: zod.ZodDefault>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; isUnlimited: zod.ZodDefault>; measureUsageFrom: zod.ZodOptional, zod.z.ZodCoercedDate]>>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodObject<{ anchor: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>, zod.ZodObject<{ featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>]>; /** * List all entitlements for a subject. For checking entitlement access, use the /value endpoint instead. ⚠️ __Deprecated__: Use [`GET /api/v2/customers/{customerIdOrKey}/entitlements`](#tag/entitlements/get/api/v2/customers/{customerIdOrKey}/entitlements) instead. * @deprecated * @summary List subject entitlements */ export declare const ListSubjectEntitlementsParams: zod.ZodObject<{ subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const listSubjectEntitlementsQueryIncludeDeletedDefault = false; export declare const ListSubjectEntitlementsQueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; }, zod.z.core.$strip>; /** * List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey. ⚠️ __Deprecated__: Use [`GET /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/grants`](#tag/entitlements/get/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/grants) instead. * @deprecated * @summary List subject entitlement grants */ export declare const ListEntitlementGrantsParams: zod.ZodObject<{ entitlementIdOrFeatureKey: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const listEntitlementGrantsQueryIncludeDeletedDefault = false; export declare const listEntitlementGrantsQueryOrderByDefault = "updatedAt"; export declare const ListEntitlementGrantsQueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; orderBy: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Grants define a behavior of granting usage for a metered entitlement. They can have complicated recurrence and rollover rules, thanks to which you can define a wide range of access patterns with a single grant, in most cases you don't have to periodically create new grants. You can only issue grants for active metered entitlements. A grant defines a given amount of usage that can be consumed for the entitlement. The grant is in effect between its effective date and its expiration date. Specifying both is mandatory for new grants. Grants have a priority setting that determines their order of use. Lower numbers have higher priority, with 0 being the highest priority. Grants can have a recurrence setting intended to automate the manual reissuing of grants. For example, a daily recurrence is equal to reissuing that same grant every day (ignoring rollover settings). Rollover settings define what happens to the remaining balance of a grant at a reset. Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount)) Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried. ⚠️ __Deprecated__: Use [`POST /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/grants`](#tag/entitlements/post/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/grants) instead. * @deprecated * @summary Create subject entitlement grant */ export declare const CreateGrantParams: zod.ZodObject<{ entitlementIdOrFeatureKey: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createGrantBodyAmountMin = 0; export declare const createGrantBodyPriorityMax = 255; export declare const createGrantBodyExpirationOneCountMax = 1000; export declare const createGrantBodyMaxRolloverAmountDefault = 0; export declare const createGrantBodyMinRolloverAmountDefault = 0; export declare const createGrantBodyRecurrenceOneIntervalOneOneRegExp: RegExp; export declare const CreateGrantBody: zod.ZodObject<{ amount: zod.z.ZodCoercedNumber; effectiveAt: zod.z.ZodCoercedDate; expiration: zod.ZodObject<{ count: zod.z.ZodCoercedNumber; duration: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>; }, zod.z.core.$strip>; maxRolloverAmount: zod.ZodDefault>; metadata: zod.ZodOptional>>; minRolloverAmount: zod.ZodDefault>; priority: zod.ZodOptional>; recurrence: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Overriding an entitlement creates a new entitlement from the provided inputs and soft deletes the previous entitlement for the provided subject-feature pair. If the previous entitlement is already deleted or otherwise doesnt exist, the override will fail. This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime. ⚠️ __Deprecated__: Use [`PUT /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/override`](#tag/entitlements/put/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/override) instead. * @deprecated * @summary Override subject entitlement */ export declare const OverrideEntitlementParams: zod.ZodObject<{ entitlementIdOrFeatureKey: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const overrideEntitlementBodyOneFeatureKeyMax = 64; export declare const overrideEntitlementBodyOneFeatureKeyRegExp: RegExp; export declare const overrideEntitlementBodyOneFeatureIdRegExp: RegExp; export declare const overrideEntitlementBodyOneIsSoftLimitDefault = false; export declare const overrideEntitlementBodyOneIsUnlimitedDefault = false; export declare const overrideEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const overrideEntitlementBodyOneIssueAfterResetMin = 0; export declare const overrideEntitlementBodyOneIssueAfterResetPriorityDefault = 1; export declare const overrideEntitlementBodyOneIssueAfterResetPriorityMax = 255; export declare const overrideEntitlementBodyOnePreserveOverageAtResetDefault = false; export declare const overrideEntitlementBodyTwoFeatureKeyMax = 64; export declare const overrideEntitlementBodyTwoFeatureKeyRegExp: RegExp; export declare const overrideEntitlementBodyTwoFeatureIdRegExp: RegExp; export declare const overrideEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const overrideEntitlementBodyThreeFeatureKeyMax = 64; export declare const overrideEntitlementBodyThreeFeatureKeyRegExp: RegExp; export declare const overrideEntitlementBodyThreeFeatureIdRegExp: RegExp; export declare const overrideEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const OverrideEntitlementBody: zod.ZodUnion>; featureKey: zod.ZodOptional>; isSoftLimit: zod.ZodDefault>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; isUnlimited: zod.ZodDefault>; measureUsageFrom: zod.ZodOptional, zod.z.ZodCoercedDate]>>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodObject<{ anchor: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>, zod.ZodObject<{ featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>]>; /** * This endpoint should be used for access checks and enforcement. All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type. For convenience reasons, /value works with both entitlementId and featureKey. ⚠️ __Deprecated__: Use [`GET /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/value`](#tag/entitlements/get/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/value) instead. * @deprecated * @summary Get subject entitlement value */ export declare const GetEntitlementValueParams: zod.ZodObject<{ entitlementIdOrFeatureKey: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetEntitlementValueQueryParams: zod.ZodObject<{ time: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Get entitlement by id. For checking entitlement access, use the /value endpoint instead. ⚠️ __Deprecated__: Use [`GET /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}`](#tag/entitlements/get/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}) instead. * @deprecated * @summary Get subject entitlement */ export declare const GetEntitlementParams: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Deleting an entitlement revokes access to the associated feature. As a single subject can only have one entitlement per featureKey, when "migrating" features you have to delete the old entitlements as well. As access and status checks can be historical queries, deleting an entitlement populates the deletedAt timestamp. When queried for a time before that, the entitlement is still considered active, you cannot have retroactive changes to access, which is important for, among other things, auditing. ⚠️ __Deprecated__: Use [`DELETE /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}`](#tag/entitlements/delete/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}) instead. * @deprecated * @summary Delete subject entitlement */ export declare const DeleteEntitlementParams: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Returns historical balance and usage data for the entitlement. The queried history can span accross multiple reset events. BurndownHistory returns a continous history of segments, where the segments are seperated by events that changed either the grant burndown priority or the usage period. WindowedHistory returns windowed usage data for the period enriched with balance information and the list of grants that were being burnt down in that window. ⚠️ __Deprecated__: Use [`GET /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/history`](#tag/entitlements/get/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/history) instead. * @deprecated * @summary Get subject entitlement history */ export declare const GetEntitlementHistoryParams: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const getEntitlementHistoryQueryWindowTimeZoneDefault = "UTC"; export declare const GetEntitlementHistoryQueryParams: zod.ZodObject<{ from: zod.ZodOptional>; to: zod.ZodOptional>; windowSize: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; MONTH: "MONTH"; MINUTE: "MINUTE"; }>; windowTimeZone: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Reset marks the start of a new usage period for the entitlement and initiates grant rollover. At the start of a period usage is zerod out and grants are rolled over based on their rollover settings. It would typically be synced with the subjects billing period to enforce usage based on their subscription. Usage is automatically reset for metered entitlements based on their usage period, but this endpoint allows to manually reset it at any time. When doing so the period anchor of the entitlement can be changed if needed. ⚠️ __Deprecated__: Use [`POST /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/reset`](#tag/entitlements/post/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/reset) instead. * @deprecated * @summary Reset subject entitlement */ export declare const ResetEntitlementUsageParams: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; subjectIdOrKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const ResetEntitlementUsageBody: zod.ZodObject<{ effectiveAt: zod.ZodOptional>; preserveOverage: zod.ZodOptional>; retainAnchor: zod.ZodOptional>; }, zod.z.core.$strip>; /** * @summary Create subscription */ export declare const createSubscriptionBodyOnePlanOneKeyMax = 64; export declare const createSubscriptionBodyOnePlanOneKeyRegExp: RegExp; export declare const createSubscriptionBodyOneTimingDefault = "immediate"; export declare const createSubscriptionBodyOneCustomerIdRegExp: RegExp; export declare const createSubscriptionBodyOneCustomerKeyMax = 256; export declare const createSubscriptionBodyTwoCustomPlanOneOneNameMax = 256; export declare const createSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024; export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3; export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = 3; export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = "USD"; export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = true; export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = "prorate_prices"; export declare const createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault: { readonly enabled: true; readonly mode: "prorate_prices"; }; export declare const createSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = "credit_then_invoice"; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = 64; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = 256; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = 1024; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = 64; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = 256; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = 1024; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = 64; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = 64; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = 256; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = 1024; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = 64; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const createSubscriptionBodyTwoTimingDefault = "immediate"; export declare const createSubscriptionBodyTwoCustomerIdRegExp: RegExp; export declare const createSubscriptionBodyTwoCustomerKeyMax = 256; export declare const CreateSubscriptionBody: zod.ZodUnion>; }, zod.z.core.$strip>>; billingAnchor: zod.ZodOptional>; customerId: zod.ZodOptional>; customerKey: zod.ZodOptional>; description: zod.ZodOptional>; metadata: zod.ZodOptional>>; name: zod.ZodOptional>; plan: zod.ZodObject<{ key: zod.z.ZodCoercedString; version: zod.ZodOptional>; }, zod.z.core.$strip>; settlementMode: zod.ZodOptional>; startingPhase: zod.ZodOptional>; timing: zod.ZodDefault, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>, zod.ZodObject<{ billingAnchor: zod.ZodOptional>; customerId: zod.ZodOptional>; customerKey: zod.ZodOptional>; customPlan: zod.ZodObject<{ alignment: zod.ZodOptional>; }, zod.z.core.$strip>>; billingCadence: zod.z.ZodCoercedString; currency: zod.ZodDefault>; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; phases: zod.ZodArray>; duration: zod.ZodNullable>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>>; proRatingConfig: zod.ZodDefault>; mode: zod.ZodDefault>; }, zod.z.core.$strip>>; settlementMode: zod.ZodDefault>; }, zod.z.core.$strip>; timing: zod.ZodDefault, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>]>; /** * @summary Get subscription */ export declare const getSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const GetSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetSubscriptionQueryParams: zod.ZodObject<{ at: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Batch processing commands for manipulating running subscriptions. The key format is `/phases/{phaseKey}` or `/phases/{phaseKey}/items/{itemKey}`. * @summary Edit subscription */ export declare const editSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const EditSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneKeyMax = 64; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneKeyRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneNameMax = 256; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneDescriptionMax = 1024; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyMax = 64; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOneAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOnePaymentTermDefault = "in_advance"; export declare const editSubscriptionBodyCustomizationsItemOneRateCardOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyMax = 64; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoNameMax = 256; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoDescriptionMax = 1024; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyMax = 64; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOneAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierDefault = "1"; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemOneRateCardTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemThreePhaseDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsItemThreePhaseKeyMax = 64; export declare const editSubscriptionBodyCustomizationsItemThreePhaseKeyRegExp: RegExp; export declare const editSubscriptionBodyCustomizationsMax = 100; export declare const EditSubscriptionBody: zod.ZodObject<{ customizations: zod.ZodArray; phaseKey: zod.z.ZodCoercedString; rateCard: zod.ZodUnion>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>; }, zod.z.core.$strip>, zod.ZodObject<{ itemKey: zod.z.ZodCoercedString; op: zod.ZodEnum<{ remove_item: "remove_item"; }>; phaseKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>, zod.ZodObject<{ op: zod.ZodEnum<{ add_phase: "add_phase"; }>; phase: zod.ZodObject<{ description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; duration: zod.ZodOptional>; key: zod.z.ZodCoercedString; name: zod.z.ZodCoercedString; startAfter: zod.ZodNullable>; }, zod.z.core.$strip>; }, zod.z.core.$strip>, zod.ZodObject<{ op: zod.ZodEnum<{ remove_phase: "remove_phase"; }>; phaseKey: zod.z.ZodCoercedString; shift: zod.ZodEnum<{ next: "next"; prev: "prev"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ extendBy: zod.z.ZodCoercedString; op: zod.ZodEnum<{ stretch_phase: "stretch_phase"; }>; phaseKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>, zod.ZodObject<{ op: zod.ZodEnum<{ unschedule_edit: "unschedule_edit"; }>; }, zod.z.core.$strip>]>>; timing: zod.ZodOptional, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>; /** * Deletes a subscription. Only scheduled subscriptions can be deleted. * @summary Delete subscription */ export declare const deleteSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const DeleteSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Create a new subscription addon, either providing the key or the id of the addon. * @summary Create subscription addon */ export declare const createSubscriptionAddonPathSubscriptionIdRegExp: RegExp; export declare const CreateSubscriptionAddonParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createSubscriptionAddonBodyNameMax = 256; export declare const createSubscriptionAddonBodyDescriptionMax = 1024; export declare const createSubscriptionAddonBodyQuantityMin = 0; export declare const createSubscriptionAddonBodyAddonIdRegExp: RegExp; export declare const CreateSubscriptionAddonBody: zod.ZodObject<{ addon: zod.ZodObject<{ id: zod.z.ZodCoercedString; }, zod.z.core.$strip>; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; quantity: zod.z.ZodCoercedNumber; timing: zod.ZodUnion, zod.z.ZodCoercedDate]>; }, zod.z.core.$strip>; /** * List all addons of a subscription. In the returned list will match to a set unique by addonId. * @summary List subscription addons */ export declare const listSubscriptionAddonsPathSubscriptionIdRegExp: RegExp; export declare const ListSubscriptionAddonsParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Get a subscription addon by id. * @summary Get subscription addon */ export declare const getSubscriptionAddonPathSubscriptionIdRegExp: RegExp; export declare const getSubscriptionAddonPathSubscriptionAddonIdRegExp: RegExp; export declare const GetSubscriptionAddonParams: zod.ZodObject<{ subscriptionAddonId: zod.z.ZodCoercedString; subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Updates a subscription addon (allows changing the quantity: purchasing more instances or cancelling the current instances) * @summary Update subscription addon */ export declare const updateSubscriptionAddonPathSubscriptionIdRegExp: RegExp; export declare const updateSubscriptionAddonPathSubscriptionAddonIdRegExp: RegExp; export declare const UpdateSubscriptionAddonParams: zod.ZodObject<{ subscriptionAddonId: zod.z.ZodCoercedString; subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const updateSubscriptionAddonBodyNameMax = 256; export declare const updateSubscriptionAddonBodyDescriptionMax = 1024; export declare const updateSubscriptionAddonBodyQuantityMin = 0; export declare const UpdateSubscriptionAddonBody: zod.ZodObject<{ description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.ZodOptional>; quantity: zod.ZodOptional>; timing: zod.ZodOptional, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>; /** * Cancels the subscription. Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancellation time. * @summary Cancel subscription */ export declare const cancelSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const CancelSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const CancelSubscriptionBody: zod.ZodObject<{ timing: zod.ZodOptional, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>; /** * Closes a running subscription and starts a new one according to the specification. Can be used for upgrades, downgrades, and plan changes. * @summary Change subscription */ export declare const changeSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const ChangeSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const changeSubscriptionBodyOnePlanOneKeyMax = 64; export declare const changeSubscriptionBodyOnePlanOneKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOneNameMax = 256; export declare const changeSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024; export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3; export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = 3; export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = "USD"; export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = true; export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = "prorate_prices"; export declare const changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault: { readonly enabled: true; readonly mode: "prorate_prices"; }; export declare const changeSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = "credit_then_invoice"; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = 64; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = 256; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = 1024; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = 64; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = 256; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = 1024; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = 64; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = "in_advance"; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = 64; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = 256; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = 1024; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = 64; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = false; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = 0; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = 1; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = 255; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = false; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = "in_advance"; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = "1"; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp: RegExp; export declare const changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp: RegExp; export declare const ChangeSubscriptionBody: zod.ZodUnion>; }, zod.z.core.$strip>>; billingAnchor: zod.ZodOptional>; description: zod.ZodOptional>; metadata: zod.ZodOptional>>; name: zod.ZodOptional>; plan: zod.ZodObject<{ key: zod.z.ZodCoercedString; version: zod.ZodOptional>; }, zod.z.core.$strip>; startingPhase: zod.ZodOptional>; timing: zod.ZodUnion, zod.z.ZodCoercedDate]>; }, zod.z.core.$strip>, zod.ZodObject<{ billingAnchor: zod.ZodOptional>; customPlan: zod.ZodObject<{ alignment: zod.ZodOptional>; }, zod.z.core.$strip>>; billingCadence: zod.z.ZodCoercedString; currency: zod.ZodDefault>; description: zod.ZodOptional>; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; phases: zod.ZodArray>; duration: zod.ZodNullable>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; rateCards: zod.ZodArray>; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ flat_fee: "flat_fee"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ billingCadence: zod.z.ZodCoercedString; description: zod.ZodOptional>; discounts: zod.ZodOptional; }, zod.z.core.$strip>>; usage: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>; entitlementTemplate: zod.ZodOptional>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; }, zod.z.core.$strip>]>>; featureKey: zod.ZodOptional>; key: zod.z.ZodCoercedString; metadata: zod.ZodOptional>>>; name: zod.z.ZodCoercedString; price: zod.ZodNullable; paymentTerm: zod.ZodDefault>; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; mode: zod.ZodEnum<{ volume: "volume"; graduated: "graduated"; }>; tiers: zod.ZodArray; type: zod.ZodEnum<{ flat: "flat"; }>; }, zod.z.core.$strip>>; unitPrice: zod.ZodNullable; type: zod.ZodEnum<{ unit: "unit"; }>; }, zod.z.core.$strip>>; upToAmount: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ tiered: "tiered"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; multiplier: zod.ZodDefault>; type: zod.ZodEnum<{ dynamic: "dynamic"; }>; }, zod.z.core.$strip>, zod.ZodObject<{ amount: zod.z.ZodCoercedString; maximumAmount: zod.ZodOptional>; minimumAmount: zod.ZodOptional>; quantityPerPackage: zod.z.ZodCoercedString; type: zod.ZodEnum<{ package: "package"; }>; }, zod.z.core.$strip>]>>; taxConfig: zod.ZodOptional>; customInvoicing: zod.ZodOptional; }, zod.z.core.$strip>>; stripe: zod.ZodOptional; }, zod.z.core.$strip>>; taxCodeId: zod.ZodOptional>; }, zod.z.core.$strip>>; type: zod.ZodEnum<{ usage_based: "usage_based"; }>; }, zod.z.core.$strip>]>>; }, zod.z.core.$strip>>; proRatingConfig: zod.ZodDefault>; mode: zod.ZodDefault>; }, zod.z.core.$strip>>; settlementMode: zod.ZodDefault>; }, zod.z.core.$strip>; timing: zod.ZodUnion, zod.z.ZodCoercedDate]>; }, zod.z.core.$strip>]>; /** * Migrates the subscripiton to the provided version of the current plan. If possible, the migration will be done immediately. If not, the migration will be scheduled to the end of the current billing period. * @summary Migrate subscription */ export declare const migrateSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const MigrateSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const migrateSubscriptionBodyTimingDefault = "immediate"; export declare const MigrateSubscriptionBody: zod.ZodObject<{ billingAnchor: zod.ZodOptional>; startingPhase: zod.ZodOptional>; targetVersion: zod.ZodOptional>; timing: zod.ZodDefault, zod.z.ZodCoercedDate]>>; }, zod.z.core.$strip>; /** * Restores a canceled subscription. Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely. * @deprecated * @summary Restore subscription */ export declare const restoreSubscriptionPathSubscriptionIdRegExp: RegExp; export declare const RestoreSubscriptionParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Cancels the scheduled cancelation. * @summary Unschedule cancelation */ export declare const unscheduleCancelationPathSubscriptionIdRegExp: RegExp; export declare const UnscheduleCancelationParams: zod.ZodObject<{ subscriptionId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * OpenMeter has three types of entitlements: metered, boolean, and static. The type property determines the type of entitlement. The underlying feature has to be compatible with the entitlement type specified in the request (e.g., a metered entitlement needs a feature associated with a meter). - Boolean entitlements define static feature access, e.g. "Can use SSO authentication". - Static entitlements let you pass along a configuration while granting access, e.g. "Using this feature with X Y settings" (passed in the config). - Metered entitlements have many use cases, from setting up usage-based access to implementing complex credit systems. Example: The customer can use 10000 AI tokens during the usage period of the entitlement. A given customer can only have one active (non-deleted) entitlement per featureKey. If you try to create a new entitlement for a featureKey that already has an active entitlement, the request will fail with a 409 error. Once an entitlement is created you cannot modify it, only delete it. * @summary Create a customer entitlement */ export declare const createCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const createCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256; export declare const CreateCustomerEntitlementV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const createCustomerEntitlementV2BodyOneFeatureKeyMax = 64; export declare const createCustomerEntitlementV2BodyOneFeatureKeyRegExp: RegExp; export declare const createCustomerEntitlementV2BodyOneFeatureIdRegExp: RegExp; export declare const createCustomerEntitlementV2BodyOneIsSoftLimitDefault = false; export declare const createCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const createCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = false; export declare const createCustomerEntitlementV2BodyOneIssueAfterResetMin = 0; export declare const createCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = 1; export declare const createCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = 255; export declare const createCustomerEntitlementV2BodyOneIssueOneAmountMin = 0; export declare const createCustomerEntitlementV2BodyOneIssueOnePriorityDefault = 1; export declare const createCustomerEntitlementV2BodyOneIssueOnePriorityMax = 255; export declare const createCustomerEntitlementV2BodyOneGrantsItemAmountMin = 0; export declare const createCustomerEntitlementV2BodyOneGrantsItemPriorityMax = 255; export declare const createCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = 0; export declare const createCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp: RegExp; export declare const createCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = 1000; export declare const createCustomerEntitlementV2BodyTwoFeatureKeyMax = 64; export declare const createCustomerEntitlementV2BodyTwoFeatureKeyRegExp: RegExp; export declare const createCustomerEntitlementV2BodyTwoFeatureIdRegExp: RegExp; export declare const createCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const createCustomerEntitlementV2BodyThreeFeatureKeyMax = 64; export declare const createCustomerEntitlementV2BodyThreeFeatureKeyRegExp: RegExp; export declare const createCustomerEntitlementV2BodyThreeFeatureIdRegExp: RegExp; export declare const createCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const CreateCustomerEntitlementV2Body: zod.ZodUnion>; featureKey: zod.ZodOptional>; grants: zod.ZodOptional; annotations: zod.ZodOptional>; effectiveAt: zod.z.ZodCoercedDate; expiration: zod.ZodOptional; duration: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>; }, zod.z.core.$strip>>; maxRolloverAmount: zod.ZodOptional>; metadata: zod.ZodOptional>>; minRolloverAmount: zod.ZodDefault>; priority: zod.ZodOptional>; recurrence: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; isSoftLimit: zod.ZodDefault>; issue: zod.ZodOptional; priority: zod.ZodDefault>; }, zod.z.core.$strip>>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; measureUsageFrom: zod.ZodOptional, zod.z.ZodCoercedDate]>>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodObject<{ anchor: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>, zod.ZodObject<{ featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>]>; /** * List all entitlements for a customer. For checking entitlement access, use the /value endpoint instead. * @summary List customer entitlements */ export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const listCustomerEntitlementsV2PathCustomerIdOrKeyTwoMax = 256; export declare const ListCustomerEntitlementsV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const listCustomerEntitlementsV2QueryIncludeDeletedDefault = false; export declare const listCustomerEntitlementsV2QueryPageDefault = 1; export declare const listCustomerEntitlementsV2QueryPageSizeDefault = 100; export declare const listCustomerEntitlementsV2QueryPageSizeMax = 1000; export declare const listCustomerEntitlementsV2QueryOrderDefault = "ASC"; export declare const ListCustomerEntitlementsV2QueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Get entitlement by feature key. For checking entitlement access, use the /value endpoint instead. If featureKey is used, the entitlement is resolved for the current timestamp. * @summary Get customer entitlement */ export declare const getCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256; export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const GetCustomerEntitlementV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * Deleting an entitlement revokes access to the associated feature. As a single customer can only have one entitlement per featureKey, when "migrating" features you have to delete the old entitlements as well. As access and status checks can be historical queries, deleting an entitlement populates the deletedAt timestamp. When queried for a time before that, the entitlement is still considered active, you cannot have retroactive changes to access, which is important for, among other things, auditing. * @summary Delete customer entitlement */ export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const deleteCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256; export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const DeleteCustomerEntitlementV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey. * @summary List customer entitlement grants */ export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const listCustomerEntitlementGrantsV2PathCustomerIdOrKeyTwoMax = 256; export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const ListCustomerEntitlementGrantsV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = false; export declare const listCustomerEntitlementGrantsV2QueryPageDefault = 1; export declare const listCustomerEntitlementGrantsV2QueryPageSizeDefault = 100; export declare const listCustomerEntitlementGrantsV2QueryPageSizeMax = 1000; export declare const listCustomerEntitlementGrantsV2QueryOffsetDefault = 0; export declare const listCustomerEntitlementGrantsV2QueryOffsetMin = 0; export declare const listCustomerEntitlementGrantsV2QueryLimitDefault = 100; export declare const listCustomerEntitlementGrantsV2QueryLimitMax = 1000; export declare const listCustomerEntitlementGrantsV2QueryOrderDefault = "ASC"; export declare const ListCustomerEntitlementGrantsV2QueryParams: zod.ZodObject<{ includeDeleted: zod.ZodDefault>; limit: zod.ZodDefault>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Grants define a behavior of granting usage for a metered entitlement. They can have complicated recurrence and rollover rules, thanks to which you can define a wide range of access patterns with a single grant, in most cases you don't have to periodically create new grants. You can only issue grants for active metered entitlements. A grant defines a given amount of usage that can be consumed for the entitlement. The grant is in effect between its effective date and its expiration date. Specifying both is mandatory for new grants. Grants have a priority setting that determines their order of use. Lower numbers have higher priority, with 0 being the highest priority. Grants can have a recurrence setting intended to automate the manual reissuing of grants. For example, a daily recurrence is equal to reissuing that same grant every day (ignoring rollover settings). Rollover settings define what happens to the remaining balance of a grant at a reset. Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount)) Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried. * @summary Create customer entitlement grant */ export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const createCustomerEntitlementGrantV2PathCustomerIdOrKeyTwoMax = 256; export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const CreateCustomerEntitlementGrantV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const createCustomerEntitlementGrantV2BodyAmountMin = 0; export declare const createCustomerEntitlementGrantV2BodyPriorityMax = 255; export declare const createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = 0; export declare const createCustomerEntitlementGrantV2BodyRecurrenceOneIntervalOneOneRegExp: RegExp; export declare const createCustomerEntitlementGrantV2BodyExpirationOneCountMax = 1000; export declare const CreateCustomerEntitlementGrantV2Body: zod.ZodObject<{ amount: zod.z.ZodCoercedNumber; annotations: zod.ZodOptional>; effectiveAt: zod.z.ZodCoercedDate; expiration: zod.ZodOptional; duration: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>; }, zod.z.core.$strip>>; maxRolloverAmount: zod.ZodOptional>; metadata: zod.ZodOptional>>; minRolloverAmount: zod.ZodDefault>; priority: zod.ZodOptional>; recurrence: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Returns historical balance and usage data for the entitlement. The queried history can span accross multiple reset events. BurndownHistory returns a continous history of segments, where the segments are seperated by events that changed either the grant burndown priority or the usage period. WindowedHistory returns windowed usage data for the period enriched with balance information and the list of grants that were being burnt down in that window. * @summary Get customer entitlement history */ export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerEntitlementHistoryV2PathCustomerIdOrKeyTwoMax = 256; export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const GetCustomerEntitlementHistoryV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = "UTC"; export declare const GetCustomerEntitlementHistoryV2QueryParams: zod.ZodObject<{ from: zod.ZodOptional>; to: zod.ZodOptional>; windowSize: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; MONTH: "MONTH"; MINUTE: "MINUTE"; }>; windowTimeZone: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Overriding an entitlement creates a new entitlement from the provided inputs and soft deletes the previous entitlement for the provided customer-feature pair. If the previous entitlement is already deleted or otherwise doesnt exist, the override will fail. This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime. * @summary Override customer entitlement */ export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const overrideCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = 256; export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyOneRegExp: RegExp; export declare const overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyTwoMax = 256; export declare const OverrideCustomerEntitlementV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.ZodUnion, zod.z.ZodCoercedString]>; }, zod.z.core.$strip>; export declare const overrideCustomerEntitlementV2BodyOneFeatureKeyMax = 64; export declare const overrideCustomerEntitlementV2BodyOneFeatureKeyRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyOneFeatureIdRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyOneIsSoftLimitDefault = false; export declare const overrideCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = false; export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetMin = 0; export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = 1; export declare const overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = 255; export declare const overrideCustomerEntitlementV2BodyOneIssueOneAmountMin = 0; export declare const overrideCustomerEntitlementV2BodyOneIssueOnePriorityDefault = 1; export declare const overrideCustomerEntitlementV2BodyOneIssueOnePriorityMax = 255; export declare const overrideCustomerEntitlementV2BodyOneGrantsItemAmountMin = 0; export declare const overrideCustomerEntitlementV2BodyOneGrantsItemPriorityMax = 255; export declare const overrideCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = 0; export declare const overrideCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = 1000; export declare const overrideCustomerEntitlementV2BodyTwoFeatureKeyMax = 64; export declare const overrideCustomerEntitlementV2BodyTwoFeatureKeyRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyTwoFeatureIdRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyThreeFeatureKeyMax = 64; export declare const overrideCustomerEntitlementV2BodyThreeFeatureKeyRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyThreeFeatureIdRegExp: RegExp; export declare const overrideCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp: RegExp; export declare const OverrideCustomerEntitlementV2Body: zod.ZodUnion>; featureKey: zod.ZodOptional>; grants: zod.ZodOptional; annotations: zod.ZodOptional>; effectiveAt: zod.z.ZodCoercedDate; expiration: zod.ZodOptional; duration: zod.ZodEnum<{ HOUR: "HOUR"; DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>; }, zod.z.core.$strip>>; maxRolloverAmount: zod.ZodOptional>; metadata: zod.ZodOptional>>; minRolloverAmount: zod.ZodDefault>; priority: zod.ZodOptional>; recurrence: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; isSoftLimit: zod.ZodDefault>; issue: zod.ZodOptional; priority: zod.ZodDefault>; }, zod.z.core.$strip>>; issueAfterReset: zod.ZodOptional>; issueAfterResetPriority: zod.ZodDefault>; measureUsageFrom: zod.ZodOptional, zod.z.ZodCoercedDate]>>; metadata: zod.ZodOptional>>; preserveOverageAtReset: zod.ZodDefault>; type: zod.ZodEnum<{ metered: "metered"; }>; usagePeriod: zod.ZodObject<{ anchor: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>; }, zod.z.core.$strip>, zod.ZodObject<{ config: zod.z.ZodCoercedString; featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ static: "static"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>, zod.ZodObject<{ featureId: zod.ZodOptional>; featureKey: zod.ZodOptional>; metadata: zod.ZodOptional>>; type: zod.ZodEnum<{ boolean: "boolean"; }>; usagePeriod: zod.ZodOptional>; interval: zod.ZodUnion, zod.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; YEAR: "YEAR"; }>]>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>]>; /** * Reset marks the start of a new usage period for the entitlement and initiates grant rollover. At the start of a period usage is zerod out and grants are rolled over based on their rollover settings. It would typically be synced with the customers billing period to enforce usage based on their subscription. Usage is automatically reset for metered entitlements based on their usage period, but this endpoint allows to manually reset it at any time. When doing so the period anchor of the entitlement can be changed if needed. * @summary Reset customer entitlement */ export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const resetCustomerEntitlementUsageV2PathCustomerIdOrKeyTwoMax = 256; export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const ResetCustomerEntitlementUsageV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const ResetCustomerEntitlementUsageV2Body: zod.ZodObject<{ effectiveAt: zod.ZodOptional>; preserveOverage: zod.ZodOptional>; retainAnchor: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type. * @summary Get customer entitlement value */ export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyOneRegExp: RegExp; export declare const getCustomerEntitlementValueV2PathCustomerIdOrKeyTwoMax = 256; export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = 64; export declare const getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp: RegExp; export declare const GetCustomerEntitlementValueV2Params: zod.ZodObject<{ customerIdOrKey: zod.ZodUnion, zod.z.ZodCoercedString]>; entitlementIdOrFeatureKey: zod.z.ZodCoercedString; }, zod.z.core.$strip>; export declare const GetCustomerEntitlementValueV2QueryParams: zod.ZodObject<{ time: zod.ZodOptional>; }, zod.z.core.$strip>; /** * List all entitlements for all the customers and features. This endpoint is intended for administrative purposes only. To fetch the entitlements of a specific subject please use the /api/v2/customers/{customerIdOrKey}/entitlements endpoint. * @summary List all entitlements */ export declare const listEntitlementsV2QueryExcludeInactiveDefault = false; export declare const listEntitlementsV2QueryPageDefault = 1; export declare const listEntitlementsV2QueryPageSizeDefault = 100; export declare const listEntitlementsV2QueryPageSizeMax = 1000; export declare const listEntitlementsV2QueryOffsetDefault = 0; export declare const listEntitlementsV2QueryOffsetMin = 0; export declare const listEntitlementsV2QueryLimitDefault = 100; export declare const listEntitlementsV2QueryLimitMax = 1000; export declare const listEntitlementsV2QueryOrderDefault = "ASC"; export declare const ListEntitlementsV2QueryParams: zod.ZodObject<{ customerIds: zod.ZodOptional>>; customerKeys: zod.ZodOptional>>; entitlementType: zod.ZodOptional>>; excludeInactive: zod.ZodDefault>; feature: zod.ZodOptional>>; limit: zod.ZodDefault>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>; /** * Get entitlement by ID. * @summary Get entitlement by ID */ export declare const getEntitlementByIdV2PathEntitlementIdRegExp: RegExp; export declare const GetEntitlementByIdV2Params: zod.ZodObject<{ entitlementId: zod.z.ZodCoercedString; }, zod.z.core.$strip>; /** * List ingested events with advanced filtering and cursor pagination. * @summary List ingested events */ export declare const listEventsV2QueryLimitDefault = 100; export declare const listEventsV2QueryLimitMax = 100; export declare const listEventsV2QueryClientIdMax = 36; export declare const ListEventsV2QueryParams: zod.ZodObject<{ clientId: zod.ZodOptional>; cursor: zod.ZodOptional>; limit: zod.ZodDefault>; }, zod.z.core.$strip>; /** * List all grants for all the customers and entitlements. This endpoint is intended for administrative purposes only. To fetch the grants of a specific entitlement please use the /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/grants endpoint. If page is provided that takes precedence and the paginated response is returned. * @summary List grants */ export declare const listGrantsV2QueryCustomerItemOneRegExp: RegExp; export declare const listGrantsV2QueryCustomerItemTwoMax = 256; export declare const listGrantsV2QueryIncludeDeletedDefault = false; export declare const listGrantsV2QueryPageDefault = 1; export declare const listGrantsV2QueryPageSizeDefault = 100; export declare const listGrantsV2QueryPageSizeMax = 1000; export declare const listGrantsV2QueryOffsetDefault = 0; export declare const listGrantsV2QueryOffsetMin = 0; export declare const listGrantsV2QueryLimitDefault = 100; export declare const listGrantsV2QueryLimitMax = 1000; export declare const listGrantsV2QueryOrderDefault = "ASC"; export declare const ListGrantsV2QueryParams: zod.ZodObject<{ customer: zod.ZodOptional, zod.z.ZodCoercedString]>>>; feature: zod.ZodOptional>>; includeDeleted: zod.ZodDefault>; limit: zod.ZodDefault>; offset: zod.ZodDefault>; order: zod.ZodDefault>; orderBy: zod.ZodOptional>; page: zod.ZodDefault>; pageSize: zod.ZodDefault>; }, zod.z.core.$strip>;