@openmeter/sdk 1.0.0-beta.223 → 1.0.0-beta.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +200 -0
  2. package/biome.json +67 -0
  3. package/dist/cjs/src/client/addons.d.cts +8 -8
  4. package/dist/cjs/src/client/addons.js.map +1 -1
  5. package/dist/cjs/src/client/apps.d.cts +10 -10
  6. package/dist/cjs/src/client/apps.js.map +1 -1
  7. package/dist/cjs/src/client/billing.d.cts +19 -19
  8. package/dist/cjs/src/client/billing.js.map +1 -1
  9. package/dist/cjs/src/client/common.d.cts +3 -3
  10. package/dist/cjs/src/client/common.js.map +1 -1
  11. package/dist/cjs/src/client/customers.d.cts +25 -24
  12. package/dist/cjs/src/client/customers.js.map +1 -1
  13. package/dist/cjs/src/client/debug.d.cts +2 -2
  14. package/dist/cjs/src/client/debug.js.map +1 -1
  15. package/dist/cjs/src/client/entitlements.d.cts +15 -13
  16. package/dist/cjs/src/client/entitlements.js.map +1 -1
  17. package/dist/cjs/src/client/events.d.cts +4 -4
  18. package/dist/cjs/src/client/events.js.map +1 -1
  19. package/dist/cjs/src/client/features.d.cts +12 -3
  20. package/dist/cjs/src/client/features.js.map +1 -1
  21. package/dist/cjs/src/client/index.cjs +1 -1
  22. package/dist/cjs/src/client/index.d.cts +2 -2
  23. package/dist/cjs/src/client/index.js.map +1 -1
  24. package/dist/cjs/src/client/info.d.cts +3 -3
  25. package/dist/cjs/src/client/info.js.map +1 -1
  26. package/dist/cjs/src/client/meters.d.cts +5 -5
  27. package/dist/cjs/src/client/meters.js.map +1 -1
  28. package/dist/cjs/src/client/notifications.d.cts +17 -11
  29. package/dist/cjs/src/client/notifications.js.map +1 -1
  30. package/dist/cjs/src/client/plans.d.cts +12 -12
  31. package/dist/cjs/src/client/plans.js.map +1 -1
  32. package/dist/cjs/src/client/portal.d.cts +4 -4
  33. package/dist/cjs/src/client/portal.js.map +1 -1
  34. package/dist/cjs/src/client/schemas.d.cts +1046 -139
  35. package/dist/cjs/src/client/subjects.d.cts +4 -4
  36. package/dist/cjs/src/client/subjects.js.map +1 -1
  37. package/dist/cjs/src/client/subscription-addons.d.cts +5 -5
  38. package/dist/cjs/src/client/subscription-addons.js.map +1 -1
  39. package/dist/cjs/src/client/subscriptions.d.cts +13 -8
  40. package/dist/cjs/src/client/subscriptions.js.map +1 -1
  41. package/dist/cjs/src/client/utils.cjs +1 -3
  42. package/dist/cjs/src/client/utils.d.cts +1 -1
  43. package/dist/cjs/src/client/utils.js.map +1 -1
  44. package/dist/cjs/src/portal/index.d.cts +1 -1
  45. package/dist/cjs/src/portal/index.js.map +1 -1
  46. package/dist/cjs/src/zod/index.cjs +1230 -634
  47. package/dist/cjs/src/zod/index.d.cts +1304 -615
  48. package/dist/cjs/src/zod/index.js.map +1 -1
  49. package/dist/cjs/tsconfig.7db92107.tsbuildinfo +1 -0
  50. package/dist/cjs/tsconfig.94dd8c51.tsbuildinfo +1 -0
  51. package/dist/src/client/addons.d.ts +8 -8
  52. package/dist/src/client/addons.js.map +1 -1
  53. package/dist/src/client/apps.d.ts +10 -10
  54. package/dist/src/client/apps.js.map +1 -1
  55. package/dist/src/client/billing.d.ts +19 -19
  56. package/dist/src/client/billing.js.map +1 -1
  57. package/dist/src/client/common.d.ts +3 -3
  58. package/dist/src/client/common.js.map +1 -1
  59. package/dist/src/client/customers.d.ts +25 -24
  60. package/dist/src/client/customers.js.map +1 -1
  61. package/dist/src/client/debug.d.ts +2 -2
  62. package/dist/src/client/debug.js.map +1 -1
  63. package/dist/src/client/entitlements.d.ts +15 -13
  64. package/dist/src/client/entitlements.js.map +1 -1
  65. package/dist/src/client/events.d.ts +4 -4
  66. package/dist/src/client/events.js.map +1 -1
  67. package/dist/src/client/features.d.ts +12 -3
  68. package/dist/src/client/features.js.map +1 -1
  69. package/dist/src/client/index.d.ts +2 -2
  70. package/dist/src/client/index.js +1 -1
  71. package/dist/src/client/index.js.map +1 -1
  72. package/dist/src/client/info.d.ts +3 -3
  73. package/dist/src/client/info.js.map +1 -1
  74. package/dist/src/client/meters.d.ts +5 -5
  75. package/dist/src/client/meters.js.map +1 -1
  76. package/dist/src/client/notifications.d.ts +17 -11
  77. package/dist/src/client/notifications.js.map +1 -1
  78. package/dist/src/client/plans.d.ts +12 -12
  79. package/dist/src/client/plans.js.map +1 -1
  80. package/dist/src/client/portal.d.ts +4 -4
  81. package/dist/src/client/portal.js.map +1 -1
  82. package/dist/src/client/schemas.d.ts +1046 -139
  83. package/dist/src/client/subjects.d.ts +4 -4
  84. package/dist/src/client/subjects.js.map +1 -1
  85. package/dist/src/client/subscription-addons.d.ts +5 -5
  86. package/dist/src/client/subscription-addons.js.map +1 -1
  87. package/dist/src/client/subscriptions.d.ts +13 -8
  88. package/dist/src/client/subscriptions.js.map +1 -1
  89. package/dist/src/client/utils.d.ts +1 -1
  90. package/dist/src/client/utils.js +1 -3
  91. package/dist/src/client/utils.js.map +1 -1
  92. package/dist/src/portal/index.d.ts +1 -1
  93. package/dist/src/portal/index.js.map +1 -1
  94. package/dist/src/zod/index.d.ts +1304 -615
  95. package/dist/src/zod/index.js +1147 -554
  96. package/dist/src/zod/index.js.map +1 -1
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/orval.config.ts +2 -6
  99. package/package.json +21 -35
  100. package/dist/cjs/tsconfig.07c9b9a6.tsbuildinfo +0 -1
  101. package/dist/cjs/tsconfig.5c5dbdc6.tsbuildinfo +0 -1
@@ -8,39 +8,46 @@ exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exp
8
8
  exports.getInvoiceParams = exports.getInvoicePathInvoiceIdRegExp = exports.invoicePendingLinesActionBody = exports.invoicePendingLinesActionBodyCustomerIdRegExp = exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = exports.listInvoicesQueryParams = exports.listInvoicesQueryPageSizeMax = exports.listInvoicesQueryPageSizeDefault = exports.listInvoicesQueryPageDefault = exports.listInvoicesQueryCustomersItemRegExp = exports.simulateInvoiceBody = exports.simulateInvoiceBodyLinesItemIdRegExp = exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemFeatureKeyMax = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = void 0;
9
9
  exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemFeatureKeyMax = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemDescriptionMax = exports.updateInvoiceBodyLinesItemNameMax = exports.updateInvoiceBodyCustomerAddressesMax = exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMaxOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMinOne = exports.updateInvoiceBodyCustomerTaxIdCodeMaxOne = exports.updateInvoiceBodyCustomerKeyMax = exports.updateInvoiceBodySupplierAddressesMax = exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = exports.updateInvoiceBodySupplierAddressesItemCountryMaxOne = exports.updateInvoiceBodySupplierAddressesItemCountryMinOne = exports.updateInvoiceBodySupplierTaxIdCodeMaxOne = exports.updateInvoiceBodySupplierKeyMax = exports.updateInvoiceBodyDescriptionMax = exports.updateInvoiceParams = exports.updateInvoicePathInvoiceIdRegExp = exports.deleteInvoiceParams = exports.deleteInvoicePathInvoiceIdRegExp = exports.getInvoiceQueryParams = exports.getInvoiceQueryIncludeDeletedLinesDefault = exports.getInvoiceQueryExpandDefault = void 0;
10
10
  exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.createBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.createBillingProfileBodySupplierAddressesItemCountryMinOne = exports.createBillingProfileBodySupplierTaxIdCodeMaxOne = exports.createBillingProfileBodySupplierKeyMax = exports.createBillingProfileBodyDescriptionMax = exports.createBillingProfileBodyNameMax = exports.listBillingProfilesQueryParams = exports.listBillingProfilesQueryPageSizeMax = exports.listBillingProfilesQueryPageSizeDefault = exports.listBillingProfilesQueryPageDefault = exports.listBillingProfilesQueryIncludeArchivedDefault = exports.voidInvoiceActionBody = exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = exports.voidInvoiceActionParams = exports.voidInvoiceActionPathInvoiceIdRegExp = exports.recalculateInvoiceTaxActionParams = exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = exports.snapshotQuantitiesInvoiceActionParams = exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = exports.retryInvoiceActionParams = exports.retryInvoiceActionPathInvoiceIdRegExp = exports.approveInvoiceActionParams = exports.approveInvoiceActionPathInvoiceIdRegExp = exports.advanceInvoiceActionParams = exports.advanceInvoiceActionPathInvoiceIdRegExp = exports.updateInvoiceBody = exports.updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = exports.updateInvoiceBodyLinesItemIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = void 0;
11
- exports.createCustomerBodyBillingAddressCountryMaxOne = exports.createCustomerBodyBillingAddressCountryMinOne = exports.createCustomerBodyCurrencyRegExpOne = exports.createCustomerBodyCurrencyMaxOne = exports.createCustomerBodyCurrencyMinOne = exports.createCustomerBodyUsageAttributionSubjectKeysMax = exports.createCustomerBodyKeyMax = exports.createCustomerBodyDescriptionMax = exports.createCustomerBodyNameMax = exports.updateBillingProfileBody = exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.updateBillingProfileBodyWorkflowCollectionIntervalDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.updateBillingProfileBodySupplierAddressesMax = exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = exports.updateBillingProfileBodySupplierKeyMax = exports.updateBillingProfileBodyDescriptionMax = exports.updateBillingProfileBodyNameMax = exports.updateBillingProfileParams = exports.updateBillingProfilePathIdRegExp = exports.getBillingProfileQueryParams = exports.getBillingProfileParams = exports.getBillingProfilePathIdRegExp = exports.deleteBillingProfileParams = exports.deleteBillingProfilePathIdRegExp = exports.createBillingProfileBody = exports.createBillingProfileBodyAppsPaymentRegExp = exports.createBillingProfileBodyAppsInvoicingRegExp = exports.createBillingProfileBodyAppsTaxRegExp = exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.createBillingProfileBodyWorkflowCollectionIntervalDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.createBillingProfileBodySupplierAddressesMax = void 0;
12
- exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.getCustomerAccessParams = exports.deleteCustomerParams = exports.updateCustomerBody = exports.updateCustomerBodyBillingAddressCountryRegExpOne = exports.updateCustomerBodyBillingAddressCountryMaxOne = exports.updateCustomerBodyBillingAddressCountryMinOne = exports.updateCustomerBodyCurrencyRegExpOne = exports.updateCustomerBodyCurrencyMaxOne = exports.updateCustomerBodyCurrencyMinOne = exports.updateCustomerBodyUsageAttributionSubjectKeysMax = exports.updateCustomerBodyKeyMax = exports.updateCustomerBodyDescriptionMax = exports.updateCustomerBodyNameMax = exports.updateCustomerParams = exports.getCustomerQueryParams = exports.getCustomerParams = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = exports.listCustomersQueryPageSizeDefault = exports.listCustomersQueryPageDefault = exports.createCustomerBody = exports.createCustomerBodyBillingAddressCountryRegExpOne = void 0;
13
- exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = exports.listEventsQueryLimitDefault = exports.listEventsQueryCustomerIdItemRegExp = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.createCustomerStripePortalSessionBody = exports.createCustomerStripePortalSessionParams = exports.upsertCustomerStripeAppDataBody = exports.upsertCustomerStripeAppDataParams = exports.getCustomerStripeAppDataParams = void 0;
14
- exports.queryMeterPostPathMeterIdOrSlugMax = exports.queryMeterQueryParams = exports.queryMeterQueryFilterCustomerIdMax = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallBodyCreateBillingProfileDefault = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = void 0;
15
- exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = exports.createNotificationChannelBodyDisabledDefault = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodyFilterCustomerIdMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = void 0;
16
- exports.createPlanBodyProRatingConfigEnabledDefault = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = exports.createPlanBodyCurrencyMinOne = exports.createPlanBodyKeyRegExp = exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleParams = exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = void 0;
17
- exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = exports.createPlanBodyPhasesItemRateCardsItemNameMax = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyProRatingConfigDefault = exports.createPlanBodyProRatingConfigModeDefault = void 0;
18
- exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemNameMax = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyRegExp = exports.updatePlanBodyPhasesItemKeyMax = exports.updatePlanBodyProRatingConfigDefault = exports.updatePlanBodyProRatingConfigModeDefault = exports.updatePlanBodyProRatingConfigEnabledDefault = exports.updatePlanBodyDescriptionMax = exports.updatePlanBodyNameMax = exports.updatePlanParams = exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = void 0;
19
- exports.archivePlanParams = exports.archivePlanPathPlanIdRegExp = exports.deletePlanAddonParams = exports.deletePlanAddonPathPlanAddonIdRegExp = exports.deletePlanAddonPathPlanIdRegExp = exports.getPlanAddonParams = exports.getPlanAddonPathPlanAddonIdRegExp = exports.getPlanAddonPathPlanAddonIdMax = exports.getPlanAddonPathPlanIdRegExp = exports.getPlanAddonPathPlanIdMax = exports.updatePlanAddonBody = exports.updatePlanAddonParams = exports.updatePlanAddonPathPlanAddonIdRegExp = exports.updatePlanAddonPathPlanIdRegExp = exports.createPlanAddonBody = exports.createPlanAddonBodyAddonIdRegExp = exports.createPlanAddonParams = exports.createPlanAddonPathPlanIdRegExp = exports.listPlanAddonsQueryParams = exports.listPlanAddonsQueryPageSizeMax = exports.listPlanAddonsQueryPageSizeDefault = exports.listPlanAddonsQueryPageDefault = exports.listPlanAddonsQueryKeyItemRegExp = exports.listPlanAddonsQueryKeyItemMax = exports.listPlanAddonsQueryIdItemRegExp = exports.listPlanAddonsQueryIncludeDeletedDefault = exports.listPlanAddonsParams = exports.listPlanAddonsPathPlanIdRegExp = exports.listPlanAddonsPathPlanIdMax = exports.deletePlanParams = exports.deletePlanPathPlanIdRegExp = exports.getPlanQueryParams = exports.getPlanQueryIncludeLatestDefault = exports.getPlanParams = exports.getPlanPathPlanIdRegExp = exports.getPlanPathPlanIdMax = exports.updatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = void 0;
20
- exports.createEntitlementBodyFeatureKeyRegExpOne = exports.createEntitlementBodyFeatureKeyMaxOne = exports.createEntitlementBodyPreserveOverageAtResetDefault = exports.createEntitlementBodyIssueAfterResetPriorityMax = exports.createEntitlementBodyIssueAfterResetPriorityDefault = exports.createEntitlementBodyIssueAfterResetMin = exports.createEntitlementBodyIsUnlimitedDefault = exports.createEntitlementBodyIsSoftLimitDefault = exports.createEntitlementBodyFeatureIdRegExp = exports.createEntitlementBodyFeatureKeyRegExp = exports.createEntitlementBodyFeatureKeyMax = exports.createEntitlementParams = exports.deleteSubjectParams = exports.getSubjectParams = exports.upsertSubjectBody = exports.upsertSubjectBodyItem = exports.createStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerNameMax = exports.createStripeCheckoutSessionBodyCustomerIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.invalidatePortalTokensBody = exports.listPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = exports.queryPortalMeterQueryParams = exports.queryPortalMeterQueryFilterCustomerIdMax = exports.queryPortalMeterQueryWindowTimeZoneDefault = exports.queryPortalMeterQueryClientIdMax = exports.queryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = exports.publishPlanParams = exports.publishPlanPathPlanIdRegExp = void 0;
21
- exports.createSubscriptionBodyCustomPlanNameMax = exports.createSubscriptionBodyCustomerKeyMax = exports.createSubscriptionBodyCustomerIdRegExp = exports.createSubscriptionBodyTimingDefault = exports.createSubscriptionBodyPlanKeyRegExp = exports.createSubscriptionBodyPlanKeyMax = exports.resetEntitlementUsageBody = exports.resetEntitlementUsageParams = exports.getEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.getEntitlementHistoryParams = exports.deleteEntitlementParams = exports.getEntitlementParams = exports.getEntitlementValueQueryParams = exports.getEntitlementValueParams = exports.overrideEntitlementBody = exports.overrideEntitlementBodyFeatureIdRegExpTwo = exports.overrideEntitlementBodyFeatureKeyRegExpTwo = exports.overrideEntitlementBodyFeatureKeyMaxTwo = exports.overrideEntitlementBodyFeatureIdRegExpOne = exports.overrideEntitlementBodyFeatureKeyRegExpOne = exports.overrideEntitlementBodyFeatureKeyMaxOne = exports.overrideEntitlementBodyPreserveOverageAtResetDefault = exports.overrideEntitlementBodyIssueAfterResetPriorityMax = exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyIssueAfterResetMin = exports.overrideEntitlementBodyIsUnlimitedDefault = exports.overrideEntitlementBodyIsSoftLimitDefault = exports.overrideEntitlementBodyFeatureIdRegExp = exports.overrideEntitlementBodyFeatureKeyRegExp = exports.overrideEntitlementBodyFeatureKeyMax = exports.overrideEntitlementParams = exports.createGrantBody = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyExpirationCountMax = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.createGrantParams = exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyFeatureIdRegExpTwo = exports.createEntitlementBodyFeatureKeyRegExpTwo = exports.createEntitlementBodyFeatureKeyMaxTwo = exports.createEntitlementBodyFeatureIdRegExpOne = void 0;
22
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanProRatingConfigDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.createSubscriptionBodyCustomPlanCurrencyDefault = exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = exports.createSubscriptionBodyCustomPlanCurrencyMinOne = exports.createSubscriptionBodyCustomPlanDescriptionMax = void 0;
23
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = void 0;
24
- exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = exports.changeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.cancelSubscriptionBody = exports.cancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.updateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.updateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.getSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.listSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.createSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.createSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.deleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.editSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = void 0;
25
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = void 0;
26
- exports.listCustomerEntitlementGrantsV2QueryPageSizeMax = exports.listCustomerEntitlementGrantsV2QueryPageSizeDefault = exports.listCustomerEntitlementGrantsV2QueryPageDefault = exports.listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = exports.listCustomerEntitlementGrantsV2Params = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = exports.deleteCustomerEntitlementV2Params = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementV2Params = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.listCustomerEntitlementsV2QueryParams = exports.listCustomerEntitlementsV2QueryPageSizeMax = exports.listCustomerEntitlementsV2QueryPageSizeDefault = exports.listCustomerEntitlementsV2QueryPageDefault = exports.listCustomerEntitlementsV2QueryIncludeDeletedDefault = exports.listCustomerEntitlementsV2Params = exports.createCustomerEntitlementV2Body = exports.createCustomerEntitlementV2BodyFeatureIdRegExpTwo = exports.createCustomerEntitlementV2BodyFeatureKeyRegExpTwo = exports.createCustomerEntitlementV2BodyFeatureKeyMaxTwo = exports.createCustomerEntitlementV2BodyFeatureIdRegExpOne = exports.createCustomerEntitlementV2BodyFeatureKeyRegExpOne = exports.createCustomerEntitlementV2BodyFeatureKeyMaxOne = exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.createCustomerEntitlementV2BodyIssueAfterResetMin = exports.createCustomerEntitlementV2BodyIsUnlimitedDefault = exports.createCustomerEntitlementV2BodyIsSoftLimitDefault = exports.createCustomerEntitlementV2BodyFeatureIdRegExp = exports.createCustomerEntitlementV2BodyFeatureKeyRegExp = exports.createCustomerEntitlementV2BodyFeatureKeyMax = exports.createCustomerEntitlementV2Params = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = void 0;
27
- exports.listEntitlementsV2QueryOffsetMin = exports.listEntitlementsV2QueryOffsetDefault = exports.listEntitlementsV2QueryPageSizeMax = exports.listEntitlementsV2QueryPageSizeDefault = exports.listEntitlementsV2QueryPageDefault = exports.listEntitlementsV2QueryExcludeInactiveDefault = exports.getCustomerEntitlementValueV2QueryParams = exports.getCustomerEntitlementValueV2Params = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = exports.resetCustomerEntitlementUsageV2Body = exports.resetCustomerEntitlementUsageV2Params = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = exports.overrideCustomerEntitlementV2Body = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxTwo = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxOne = exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin = exports.overrideCustomerEntitlementV2BodyIsUnlimitedDefault = exports.overrideCustomerEntitlementV2BodyIsSoftLimitDefault = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyMax = exports.overrideCustomerEntitlementV2Params = exports.getCustomerEntitlementHistoryV2QueryParams = exports.getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = exports.getCustomerEntitlementHistoryV2Params = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = exports.createCustomerEntitlementGrantV2Body = exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = exports.createCustomerEntitlementGrantV2BodyMaxRolloverAmountDefault = exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = exports.createCustomerEntitlementGrantV2BodyPriorityMax = exports.createCustomerEntitlementGrantV2BodyAmountMin = exports.createCustomerEntitlementGrantV2Params = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = exports.listCustomerEntitlementGrantsV2QueryParams = exports.listCustomerEntitlementGrantsV2QueryLimitMax = exports.listCustomerEntitlementGrantsV2QueryLimitDefault = exports.listCustomerEntitlementGrantsV2QueryOffsetMin = exports.listCustomerEntitlementGrantsV2QueryOffsetDefault = void 0;
28
- exports.listGrantsV2QueryParams = exports.listGrantsV2QueryLimitMax = exports.listGrantsV2QueryLimitDefault = exports.listGrantsV2QueryOffsetMin = exports.listGrantsV2QueryOffsetDefault = exports.listGrantsV2QueryPageSizeMax = exports.listGrantsV2QueryPageSizeDefault = exports.listGrantsV2QueryPageDefault = exports.listGrantsV2QueryIncludeDeletedDefault = exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.getEntitlementByIdV2Params = exports.getEntitlementByIdV2PathEntitlementIdRegExp = exports.listEntitlementsV2QueryParams = exports.listEntitlementsV2QueryLimitMax = exports.listEntitlementsV2QueryLimitDefault = void 0;
29
- /* eslint-disable no-useless-escape */
30
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31
- // @ts-nocheck
11
+ exports.createCustomerBodyCurrencyRegExpOne = exports.createCustomerBodyCurrencyMaxOne = exports.createCustomerBodyCurrencyMinOne = exports.createCustomerBodyUsageAttributionSubjectKeysMax = exports.createCustomerBodyKeyMax = exports.createCustomerBodyDescriptionMax = exports.createCustomerBodyNameMax = exports.updateBillingProfileBody = exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.updateBillingProfileBodyWorkflowCollectionIntervalDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo = exports.updateBillingProfileBodySupplierAddressesMax = exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = exports.updateBillingProfileBodySupplierKeyMax = exports.updateBillingProfileBodyDescriptionMax = exports.updateBillingProfileBodyNameMax = exports.updateBillingProfileParams = exports.updateBillingProfilePathIdRegExp = exports.getBillingProfileQueryParams = exports.getBillingProfileParams = exports.getBillingProfilePathIdRegExp = exports.deleteBillingProfileParams = exports.deleteBillingProfilePathIdRegExp = exports.createBillingProfileBody = exports.createBillingProfileBodyAppsPaymentRegExp = exports.createBillingProfileBodyAppsInvoicingRegExp = exports.createBillingProfileBodyAppsTaxRegExp = exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.createBillingProfileBodyWorkflowCollectionIntervalDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo = exports.createBillingProfileBodySupplierAddressesMax = void 0;
12
+ exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.listCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.listCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.getCustomerAccessParams = exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo = exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne = exports.deleteCustomerParams = exports.deleteCustomerPathCustomerIdOrKeyMaxTwo = exports.deleteCustomerPathCustomerIdOrKeyRegExpOne = exports.updateCustomerBody = exports.updateCustomerBodyBillingAddressCountryRegExpOne = exports.updateCustomerBodyBillingAddressCountryMaxOne = exports.updateCustomerBodyBillingAddressCountryMinOne = exports.updateCustomerBodyCurrencyRegExpOne = exports.updateCustomerBodyCurrencyMaxOne = exports.updateCustomerBodyCurrencyMinOne = exports.updateCustomerBodyUsageAttributionSubjectKeysMax = exports.updateCustomerBodyKeyMax = exports.updateCustomerBodyDescriptionMax = exports.updateCustomerBodyNameMax = exports.updateCustomerParams = exports.updateCustomerPathCustomerIdOrKeyMaxTwo = exports.updateCustomerPathCustomerIdOrKeyRegExpOne = exports.getCustomerQueryParams = exports.getCustomerParams = exports.getCustomerPathCustomerIdOrKeyMaxTwo = exports.getCustomerPathCustomerIdOrKeyRegExpOne = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = exports.listCustomersQueryPageSizeDefault = exports.listCustomersQueryPageDefault = exports.createCustomerBody = exports.createCustomerBodyBillingAddressCountryRegExpOne = exports.createCustomerBodyBillingAddressCountryMaxOne = exports.createCustomerBodyBillingAddressCountryMinOne = void 0;
13
+ exports.listEventsQueryLimitDefault = exports.listEventsQueryCustomerIdItemRegExp = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo = exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne = exports.createCustomerStripePortalSessionBody = exports.createCustomerStripePortalSessionParams = exports.createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo = exports.createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne = exports.upsertCustomerStripeAppDataBody = exports.upsertCustomerStripeAppDataParams = exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne = exports.getCustomerStripeAppDataParams = exports.getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = exports.getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne = exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne = exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = exports.deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = void 0;
14
+ exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallBodyCreateBillingProfileDefault = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = void 0;
15
+ exports.createNotificationChannelBodyDisabledDefault = exports.createNotificationChannelBodyNameMax = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsQueryParams = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodyFilterCustomerIdMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = exports.queryMeterQueryParams = exports.queryMeterQueryFilterCustomerIdMax = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = exports.listMeterGroupByValuesQueryParams = exports.listMeterGroupByValuesParams = exports.listMeterGroupByValuesPathMeterIdOrSlugRegExp = exports.listMeterGroupByValuesPathMeterIdOrSlugMax = exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = void 0;
16
+ exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyNameMaxThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyNameMaxTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyNameMaxOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = exports.createNotificationRuleBodyNameMax = exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.resendNotificationEventBody = exports.resendNotificationEventBodyChannelsItemRegExp = exports.resendNotificationEventParams = exports.resendNotificationEventPathEventIdRegExp = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelBodyNameMax = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = void 0;
17
+ exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyProRatingConfigDefault = exports.createPlanBodyProRatingConfigModeDefault = exports.createPlanBodyProRatingConfigEnabledDefault = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = exports.createPlanBodyCurrencyMinOne = exports.createPlanBodyKeyRegExp = exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyNameMaxThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyNameMaxTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyNameMaxOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleBodyNameMax = exports.updateNotificationRuleParams = void 0;
18
+ exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = exports.createPlanBodyPhasesItemRateCardsItemNameMax = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = void 0;
19
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemNameMax = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyRegExp = exports.updatePlanBodyPhasesItemKeyMax = exports.updatePlanBodyProRatingConfigDefault = exports.updatePlanBodyProRatingConfigModeDefault = exports.updatePlanBodyProRatingConfigEnabledDefault = exports.updatePlanBodyDescriptionMax = exports.updatePlanBodyNameMax = exports.updatePlanParams = exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = void 0;
20
+ exports.queryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = exports.publishPlanParams = exports.publishPlanPathPlanIdRegExp = exports.archivePlanParams = exports.archivePlanPathPlanIdRegExp = exports.deletePlanAddonParams = exports.deletePlanAddonPathPlanAddonIdRegExp = exports.deletePlanAddonPathPlanIdRegExp = exports.getPlanAddonParams = exports.getPlanAddonPathPlanAddonIdRegExp = exports.getPlanAddonPathPlanAddonIdMax = exports.getPlanAddonPathPlanIdRegExp = exports.getPlanAddonPathPlanIdMax = exports.updatePlanAddonBody = exports.updatePlanAddonParams = exports.updatePlanAddonPathPlanAddonIdRegExp = exports.updatePlanAddonPathPlanIdRegExp = exports.createPlanAddonBody = exports.createPlanAddonBodyAddonIdRegExp = exports.createPlanAddonParams = exports.createPlanAddonPathPlanIdRegExp = exports.listPlanAddonsQueryParams = exports.listPlanAddonsQueryPageSizeMax = exports.listPlanAddonsQueryPageSizeDefault = exports.listPlanAddonsQueryPageDefault = exports.listPlanAddonsQueryKeyItemRegExp = exports.listPlanAddonsQueryKeyItemMax = exports.listPlanAddonsQueryIdItemRegExp = exports.listPlanAddonsQueryIncludeDeletedDefault = exports.listPlanAddonsParams = exports.listPlanAddonsPathPlanIdRegExp = exports.listPlanAddonsPathPlanIdMax = exports.deletePlanParams = exports.deletePlanPathPlanIdRegExp = exports.getPlanQueryParams = exports.getPlanQueryIncludeLatestDefault = exports.getPlanParams = exports.getPlanPathPlanIdRegExp = exports.getPlanPathPlanIdMax = exports.updatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = void 0;
21
+ exports.createEntitlementBodyFeatureKeyRegExpTwo = exports.createEntitlementBodyFeatureKeyMaxTwo = exports.createEntitlementBodyUsagePeriodIntervalRegExpSix = exports.createEntitlementBodyFeatureIdRegExpOne = exports.createEntitlementBodyFeatureKeyRegExpOne = exports.createEntitlementBodyFeatureKeyMaxOne = exports.createEntitlementBodyPreserveOverageAtResetDefault = exports.createEntitlementBodyIssueAfterResetPriorityMax = exports.createEntitlementBodyIssueAfterResetPriorityDefault = exports.createEntitlementBodyIssueAfterResetMin = exports.createEntitlementBodyUsagePeriodIntervalRegExpTwo = exports.createEntitlementBodyIsUnlimitedDefault = exports.createEntitlementBodyIsSoftLimitDefault = exports.createEntitlementBodyFeatureIdRegExp = exports.createEntitlementBodyFeatureKeyRegExp = exports.createEntitlementBodyFeatureKeyMax = exports.createEntitlementParams = exports.deleteSubjectParams = exports.getSubjectParams = exports.upsertSubjectBody = exports.upsertSubjectBodyItem = exports.createStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerNameMax = exports.createStripeCheckoutSessionBodyCustomerIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.invalidatePortalTokensBody = exports.listPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = exports.queryPortalMeterQueryParams = exports.queryPortalMeterQueryFilterCustomerIdMax = exports.queryPortalMeterQueryWindowTimeZoneDefault = exports.queryPortalMeterQueryClientIdMax = void 0;
22
+ exports.createSubscriptionBodyCustomerIdRegExp = exports.createSubscriptionBodyTimingDefault = exports.createSubscriptionBodyPlanKeyRegExp = exports.createSubscriptionBodyPlanKeyMax = exports.resetEntitlementUsageBody = exports.resetEntitlementUsageParams = exports.getEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.getEntitlementHistoryParams = exports.deleteEntitlementParams = exports.getEntitlementParams = exports.getEntitlementValueQueryParams = exports.getEntitlementValueParams = exports.overrideEntitlementBody = exports.overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero = exports.overrideEntitlementBodyFeatureIdRegExpTwo = exports.overrideEntitlementBodyFeatureKeyRegExpTwo = exports.overrideEntitlementBodyFeatureKeyMaxTwo = exports.overrideEntitlementBodyUsagePeriodIntervalRegExpSix = exports.overrideEntitlementBodyFeatureIdRegExpOne = exports.overrideEntitlementBodyFeatureKeyRegExpOne = exports.overrideEntitlementBodyFeatureKeyMaxOne = exports.overrideEntitlementBodyPreserveOverageAtResetDefault = exports.overrideEntitlementBodyIssueAfterResetPriorityMax = exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyIssueAfterResetMin = exports.overrideEntitlementBodyUsagePeriodIntervalRegExpTwo = exports.overrideEntitlementBodyIsUnlimitedDefault = exports.overrideEntitlementBodyIsSoftLimitDefault = exports.overrideEntitlementBodyFeatureIdRegExp = exports.overrideEntitlementBodyFeatureKeyRegExp = exports.overrideEntitlementBodyFeatureKeyMax = exports.overrideEntitlementParams = exports.createGrantBody = exports.createGrantBodyRecurrenceIntervalRegExpTwo = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyExpirationCountMax = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.createGrantParams = exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyUsagePeriodIntervalRegExpOnezero = exports.createEntitlementBodyFeatureIdRegExpTwo = void 0;
23
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanProRatingConfigDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.createSubscriptionBodyCustomPlanCurrencyDefault = exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = exports.createSubscriptionBodyCustomPlanCurrencyMinOne = exports.createSubscriptionBodyCustomPlanDescriptionMax = exports.createSubscriptionBodyCustomPlanNameMax = exports.createSubscriptionBodyCustomerKeyMax = void 0;
24
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = void 0;
25
+ exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = exports.changeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.cancelSubscriptionBody = exports.cancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.updateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.updateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.getSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.listSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.createSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.createSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.deleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.editSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = void 0;
26
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigModeDefault = exports.changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = void 0;
27
+ exports.listCustomerEntitlementsV2QueryPageDefault = exports.listCustomerEntitlementsV2QueryIncludeDeletedDefault = exports.listCustomerEntitlementsV2Params = exports.listCustomerEntitlementsV2PathCustomerIdOrKeyMaxTwo = exports.listCustomerEntitlementsV2PathCustomerIdOrKeyRegExpOne = exports.createCustomerEntitlementV2Body = exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero = exports.createCustomerEntitlementV2BodyFeatureIdRegExpTwo = exports.createCustomerEntitlementV2BodyFeatureKeyRegExpTwo = exports.createCustomerEntitlementV2BodyFeatureKeyMaxTwo = exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix = exports.createCustomerEntitlementV2BodyFeatureIdRegExpOne = exports.createCustomerEntitlementV2BodyFeatureKeyRegExpOne = exports.createCustomerEntitlementV2BodyFeatureKeyMaxOne = exports.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax = exports.createCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo = exports.createCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax = exports.createCustomerEntitlementV2BodyGrantsItemAmountMin = exports.createCustomerEntitlementV2BodyIssuePriorityMax = exports.createCustomerEntitlementV2BodyIssuePriorityDefault = exports.createCustomerEntitlementV2BodyIssueAmountMin = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.createCustomerEntitlementV2BodyIssueAfterResetMin = exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo = exports.createCustomerEntitlementV2BodyIsSoftLimitDefault = exports.createCustomerEntitlementV2BodyFeatureIdRegExp = exports.createCustomerEntitlementV2BodyFeatureKeyRegExp = exports.createCustomerEntitlementV2BodyFeatureKeyMax = exports.createCustomerEntitlementV2Params = exports.createCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = exports.createCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = void 0;
28
+ exports.overrideCustomerEntitlementV2Params = exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMaxTwo = exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExpOne = exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = exports.getCustomerEntitlementHistoryV2QueryParams = exports.getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = exports.getCustomerEntitlementHistoryV2Params = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyMaxTwo = exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyRegExpOne = exports.createCustomerEntitlementGrantV2Body = exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = exports.createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo = exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = exports.createCustomerEntitlementGrantV2BodyPriorityMax = exports.createCustomerEntitlementGrantV2BodyAmountMin = exports.createCustomerEntitlementGrantV2Params = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyMaxTwo = exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyRegExpOne = exports.listCustomerEntitlementGrantsV2QueryParams = exports.listCustomerEntitlementGrantsV2QueryLimitMax = exports.listCustomerEntitlementGrantsV2QueryLimitDefault = exports.listCustomerEntitlementGrantsV2QueryOffsetMin = exports.listCustomerEntitlementGrantsV2QueryOffsetDefault = exports.listCustomerEntitlementGrantsV2QueryPageSizeMax = exports.listCustomerEntitlementGrantsV2QueryPageSizeDefault = exports.listCustomerEntitlementGrantsV2QueryPageDefault = exports.listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = exports.listCustomerEntitlementGrantsV2Params = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyMaxTwo = exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyRegExpOne = exports.deleteCustomerEntitlementV2Params = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = exports.getCustomerEntitlementV2Params = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = exports.getCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = exports.listCustomerEntitlementsV2QueryParams = exports.listCustomerEntitlementsV2QueryPageSizeMax = exports.listCustomerEntitlementsV2QueryPageSizeDefault = void 0;
29
+ exports.listEventsV2QueryLimitDefault = exports.getEntitlementByIdV2Params = exports.getEntitlementByIdV2PathEntitlementIdRegExp = exports.listEntitlementsV2QueryParams = exports.listEntitlementsV2QueryLimitMax = exports.listEntitlementsV2QueryLimitDefault = exports.listEntitlementsV2QueryOffsetMin = exports.listEntitlementsV2QueryOffsetDefault = exports.listEntitlementsV2QueryPageSizeMax = exports.listEntitlementsV2QueryPageSizeDefault = exports.listEntitlementsV2QueryPageDefault = exports.listEntitlementsV2QueryExcludeInactiveDefault = exports.getCustomerEntitlementValueV2QueryParams = exports.getCustomerEntitlementValueV2Params = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyMaxTwo = exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyRegExpOne = exports.resetCustomerEntitlementUsageV2Body = exports.resetCustomerEntitlementUsageV2Params = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyMaxTwo = exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyRegExpOne = exports.overrideCustomerEntitlementV2Body = exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxTwo = exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxOne = exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax = exports.overrideCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo = exports.overrideCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax = exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin = exports.overrideCustomerEntitlementV2BodyIssuePriorityMax = exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault = exports.overrideCustomerEntitlementV2BodyIssueAmountMin = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin = exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo = exports.overrideCustomerEntitlementV2BodyIsSoftLimitDefault = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyMax = void 0;
30
+ exports.listGrantsV2QueryParams = exports.listGrantsV2QueryLimitMax = exports.listGrantsV2QueryLimitDefault = exports.listGrantsV2QueryOffsetMin = exports.listGrantsV2QueryOffsetDefault = exports.listGrantsV2QueryPageSizeMax = exports.listGrantsV2QueryPageSizeDefault = exports.listGrantsV2QueryPageDefault = exports.listGrantsV2QueryIncludeDeletedDefault = exports.listGrantsV2QueryCustomerItemMaxTwo = exports.listGrantsV2QueryCustomerItemRegExpOne = exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = void 0;
31
+ /**
32
+ * Generated by orval v7.13.0 🍺
33
+ * Do not edit manually.
34
+ * OpenMeter Cloud API
35
+ * OpenMeter is a cloud native usage metering service.
36
+ The OpenMeter API allows you to ingest events, query meter usage, and manage resources.
37
+ * OpenAPI spec version: 1.0.0
38
+ */
32
39
  const zod_1 = require("zod");
33
40
  /**
34
41
  * List all add-ons.
35
42
  * @summary List add-ons
36
43
  */
37
44
  exports.listAddonsQueryIncludeDeletedDefault = false;
38
- exports.listAddonsQueryIdItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
45
+ exports.listAddonsQueryIdItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
39
46
  exports.listAddonsQueryKeyItemMax = 64;
40
- exports.listAddonsQueryKeyItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
47
+ exports.listAddonsQueryKeyItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
41
48
  exports.listAddonsQueryCurrencyItemMin = 3;
42
49
  exports.listAddonsQueryCurrencyItemMax = 3;
43
- exports.listAddonsQueryCurrencyItemRegExp = new RegExp('^[A-Z]{3}$');
50
+ exports.listAddonsQueryCurrencyItemRegExp = /^[A-Z]{3}$/;
44
51
  exports.listAddonsQueryPageDefault = 1;
45
52
  exports.listAddonsQueryPageSizeDefault = 100;
46
53
  exports.listAddonsQueryPageSizeMax = 1000;
@@ -108,57 +115,57 @@ exports.listAddonsQueryParams = zod_1.z.object({
108
115
  exports.createAddonBodyNameMax = 256;
109
116
  exports.createAddonBodyDescriptionMax = 1024;
110
117
  exports.createAddonBodyKeyMax = 64;
111
- exports.createAddonBodyKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
118
+ exports.createAddonBodyKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
112
119
  exports.createAddonBodyCurrencyMinOne = 3;
113
120
  exports.createAddonBodyCurrencyMaxOne = 3;
114
- exports.createAddonBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
121
+ exports.createAddonBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
115
122
  exports.createAddonBodyCurrencyDefault = 'USD';
116
123
  exports.createAddonBodyRateCardsItemKeyMax = 64;
117
- exports.createAddonBodyRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
124
+ exports.createAddonBodyRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
118
125
  exports.createAddonBodyRateCardsItemNameMax = 256;
119
126
  exports.createAddonBodyRateCardsItemDescriptionMax = 1024;
120
127
  exports.createAddonBodyRateCardsItemFeatureKeyMax = 64;
121
- exports.createAddonBodyRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
128
+ exports.createAddonBodyRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
122
129
  exports.createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
123
130
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
124
131
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
125
132
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
126
133
  exports.createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
127
- exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
128
- exports.createAddonBodyRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
134
+ exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
135
+ exports.createAddonBodyRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
129
136
  exports.createAddonBodyRateCardsItemPricePaymentTermDefault = 'in_advance';
130
- exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
137
+ exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
131
138
  exports.createAddonBodyRateCardsItemKeyMaxOne = 64;
132
- exports.createAddonBodyRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
139
+ exports.createAddonBodyRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
133
140
  exports.createAddonBodyRateCardsItemNameMaxOne = 256;
134
141
  exports.createAddonBodyRateCardsItemDescriptionMaxOne = 1024;
135
142
  exports.createAddonBodyRateCardsItemFeatureKeyMaxOne = 64;
136
- exports.createAddonBodyRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
143
+ exports.createAddonBodyRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
137
144
  exports.createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
138
145
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
139
146
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
140
147
  exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
141
148
  exports.createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
142
- exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
143
- exports.createAddonBodyRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
149
+ exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
150
+ exports.createAddonBodyRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
144
151
  exports.createAddonBodyRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
145
- exports.createAddonBodyRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
146
- exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
147
- exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
148
- exports.createAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
149
- exports.createAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
150
- exports.createAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
151
- exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
152
- exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
153
- exports.createAddonBodyRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
152
+ exports.createAddonBodyRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
153
+ exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
154
+ exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
155
+ exports.createAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
156
+ exports.createAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
157
+ exports.createAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
158
+ exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
159
+ exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
160
+ exports.createAddonBodyRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
154
161
  exports.createAddonBodyRateCardsItemPriceMultiplierDefault = '1';
155
- exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
156
- exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
157
- exports.createAddonBodyRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
158
- exports.createAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
159
- exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
160
- exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
161
- exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
162
+ exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
163
+ exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
164
+ exports.createAddonBodyRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
165
+ exports.createAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
166
+ exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
167
+ exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
168
+ exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
162
169
  exports.createAddonBody = zod_1.z
163
170
  .object({
164
171
  currency: zod_1.z.coerce
@@ -176,7 +183,7 @@ exports.createAddonBody = zod_1.z
176
183
  instanceType: zod_1.z
177
184
  .enum(['single', 'multiple'])
178
185
  .describe('The instanceType of the add-on.\nSingle instance add-ons can be added to subscription only once while add-ons with multiple type can be added more then once.')
179
- .describe('The instanceType of the add-ons. Can be \"single\" or \"multiple\".'),
186
+ .describe('The instanceType of the add-ons. Can be "single" or "multiple".'),
180
187
  key: zod_1.z.coerce
181
188
  .string()
182
189
  .min(1)
@@ -246,7 +253,7 @@ exports.createAddonBody = zod_1.z
246
253
  .number()
247
254
  .min(exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin)
248
255
  .optional()
249
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
256
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
250
257
  issueAfterResetPriority: zod_1.z.coerce
251
258
  .number()
252
259
  .min(1)
@@ -418,7 +425,7 @@ exports.createAddonBody = zod_1.z
418
425
  .number()
419
426
  .min(exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
420
427
  .optional()
421
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
428
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
422
429
  issueAfterResetPriority: zod_1.z.coerce
423
430
  .number()
424
431
  .min(1)
@@ -688,58 +695,58 @@ exports.createAddonBody = zod_1.z
688
695
  * Update add-on by id.
689
696
  * @summary Update add-on
690
697
  */
691
- exports.updateAddonPathAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
698
+ exports.updateAddonPathAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
692
699
  exports.updateAddonParams = zod_1.z.object({
693
700
  addonId: zod_1.z.coerce.string().regex(exports.updateAddonPathAddonIdRegExp),
694
701
  });
695
702
  exports.updateAddonBodyNameMax = 256;
696
703
  exports.updateAddonBodyDescriptionMax = 1024;
697
704
  exports.updateAddonBodyRateCardsItemKeyMax = 64;
698
- exports.updateAddonBodyRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
705
+ exports.updateAddonBodyRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
699
706
  exports.updateAddonBodyRateCardsItemNameMax = 256;
700
707
  exports.updateAddonBodyRateCardsItemDescriptionMax = 1024;
701
708
  exports.updateAddonBodyRateCardsItemFeatureKeyMax = 64;
702
- exports.updateAddonBodyRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
709
+ exports.updateAddonBodyRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
703
710
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
704
711
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
705
712
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
706
713
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
707
714
  exports.updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
708
- exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
709
- exports.updateAddonBodyRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
715
+ exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
716
+ exports.updateAddonBodyRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
710
717
  exports.updateAddonBodyRateCardsItemPricePaymentTermDefault = 'in_advance';
711
- exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
718
+ exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
712
719
  exports.updateAddonBodyRateCardsItemKeyMaxOne = 64;
713
- exports.updateAddonBodyRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
720
+ exports.updateAddonBodyRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
714
721
  exports.updateAddonBodyRateCardsItemNameMaxOne = 256;
715
722
  exports.updateAddonBodyRateCardsItemDescriptionMaxOne = 1024;
716
723
  exports.updateAddonBodyRateCardsItemFeatureKeyMaxOne = 64;
717
- exports.updateAddonBodyRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
724
+ exports.updateAddonBodyRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
718
725
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
719
726
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
720
727
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
721
728
  exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
722
729
  exports.updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
723
- exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
724
- exports.updateAddonBodyRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
730
+ exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
731
+ exports.updateAddonBodyRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
725
732
  exports.updateAddonBodyRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
726
- exports.updateAddonBodyRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
727
- exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
728
- exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
729
- exports.updateAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
730
- exports.updateAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
731
- exports.updateAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
732
- exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
733
- exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
734
- exports.updateAddonBodyRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
733
+ exports.updateAddonBodyRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
734
+ exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
735
+ exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
736
+ exports.updateAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
737
+ exports.updateAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
738
+ exports.updateAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
739
+ exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
740
+ exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
741
+ exports.updateAddonBodyRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
735
742
  exports.updateAddonBodyRateCardsItemPriceMultiplierDefault = '1';
736
- exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
737
- exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
738
- exports.updateAddonBodyRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
739
- exports.updateAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
740
- exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
741
- exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
742
- exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
743
+ exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
744
+ exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
745
+ exports.updateAddonBodyRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
746
+ exports.updateAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
747
+ exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
748
+ exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
749
+ exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
743
750
  exports.updateAddonBody = zod_1.z
744
751
  .object({
745
752
  description: zod_1.z.coerce
@@ -750,7 +757,7 @@ exports.updateAddonBody = zod_1.z
750
757
  instanceType: zod_1.z
751
758
  .enum(['single', 'multiple'])
752
759
  .describe('The instanceType of the add-on.\nSingle instance add-ons can be added to subscription only once while add-ons with multiple type can be added more then once.')
753
- .describe('The instanceType of the add-ons. Can be \"single\" or \"multiple\".'),
760
+ .describe('The instanceType of the add-ons. Can be "single" or "multiple".'),
754
761
  metadata: zod_1.z
755
762
  .record(zod_1.z.string(), zod_1.z.coerce.string())
756
763
  .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
@@ -814,7 +821,7 @@ exports.updateAddonBody = zod_1.z
814
821
  .number()
815
822
  .min(exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin)
816
823
  .optional()
817
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
824
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
818
825
  issueAfterResetPriority: zod_1.z.coerce
819
826
  .number()
820
827
  .min(1)
@@ -986,7 +993,7 @@ exports.updateAddonBody = zod_1.z
986
993
  .number()
987
994
  .min(exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
988
995
  .optional()
989
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
996
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
990
997
  issueAfterResetPriority: zod_1.z.coerce
991
998
  .number()
992
999
  .min(1)
@@ -1257,7 +1264,7 @@ exports.updateAddonBody = zod_1.z
1257
1264
  * @summary Get add-on
1258
1265
  */
1259
1266
  exports.getAddonPathAddonIdMax = 64;
1260
- exports.getAddonPathAddonIdRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1267
+ exports.getAddonPathAddonIdRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1261
1268
  exports.getAddonParams = zod_1.z.object({
1262
1269
  addonId: zod_1.z.coerce
1263
1270
  .string()
@@ -1278,7 +1285,7 @@ exports.getAddonQueryParams = zod_1.z.object({
1278
1285
  Once a add-on is deleted it cannot be undeleted.
1279
1286
  * @summary Delete add-on
1280
1287
  */
1281
- exports.deleteAddonPathAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1288
+ exports.deleteAddonPathAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1282
1289
  exports.deleteAddonParams = zod_1.z.object({
1283
1290
  addonId: zod_1.z.coerce.string().regex(exports.deleteAddonPathAddonIdRegExp),
1284
1291
  });
@@ -1286,7 +1293,7 @@ exports.deleteAddonParams = zod_1.z.object({
1286
1293
  * Archive a add-on version.
1287
1294
  * @summary Archive add-on version
1288
1295
  */
1289
- exports.archiveAddonPathAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1296
+ exports.archiveAddonPathAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1290
1297
  exports.archiveAddonParams = zod_1.z.object({
1291
1298
  addonId: zod_1.z.coerce.string().regex(exports.archiveAddonPathAddonIdRegExp),
1292
1299
  });
@@ -1294,7 +1301,7 @@ exports.archiveAddonParams = zod_1.z.object({
1294
1301
  * Publish a add-on version.
1295
1302
  * @summary Publish add-on
1296
1303
  */
1297
- exports.publishAddonPathAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1304
+ exports.publishAddonPathAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1298
1305
  exports.publishAddonParams = zod_1.z.object({
1299
1306
  addonId: zod_1.z.coerce.string().regex(exports.publishAddonPathAddonIdRegExp),
1300
1307
  });
@@ -1321,15 +1328,15 @@ exports.listAppsQueryParams = zod_1.z.object({
1321
1328
  /**
1322
1329
  * @summary Submit draft synchronization results
1323
1330
  */
1324
- exports.appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1331
+ exports.appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1325
1332
  exports.appCustomInvoicingDraftSynchronizedParams = zod_1.z.object({
1326
1333
  invoiceId: zod_1.z.coerce
1327
1334
  .string()
1328
1335
  .regex(exports.appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp),
1329
1336
  });
1330
1337
  exports.appCustomInvoicingDraftSynchronizedBodyInvoicingInvoiceNumberMaxOne = 256;
1331
- exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineExternalIdsItemLineIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1332
- exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineDiscountExternalIdsItemLineDiscountIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1338
+ exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineExternalIdsItemLineIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1339
+ exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineDiscountExternalIdsItemLineDiscountIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1333
1340
  exports.appCustomInvoicingDraftSynchronizedBody = zod_1.z
1334
1341
  .object({
1335
1342
  invoicing: zod_1.z
@@ -1382,7 +1389,7 @@ exports.appCustomInvoicingDraftSynchronizedBody = zod_1.z
1382
1389
  /**
1383
1390
  * @summary Submit issuing synchronization results
1384
1391
  */
1385
- exports.appCustomInvoicingIssuingSynchronizedPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1392
+ exports.appCustomInvoicingIssuingSynchronizedPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1386
1393
  exports.appCustomInvoicingIssuingSynchronizedParams = zod_1.z.object({
1387
1394
  invoiceId: zod_1.z.coerce
1388
1395
  .string()
@@ -1423,7 +1430,7 @@ exports.appCustomInvoicingIssuingSynchronizedBody = zod_1.z
1423
1430
  /**
1424
1431
  * @summary Update payment status
1425
1432
  */
1426
- exports.appCustomInvoicingUpdatePaymentStatusPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1433
+ exports.appCustomInvoicingUpdatePaymentStatusPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1427
1434
  exports.appCustomInvoicingUpdatePaymentStatusParams = zod_1.z.object({
1428
1435
  invoiceId: zod_1.z.coerce
1429
1436
  .string()
@@ -1448,7 +1455,7 @@ exports.appCustomInvoicingUpdatePaymentStatusBody = zod_1.z
1448
1455
  * Get the app.
1449
1456
  * @summary Get app
1450
1457
  */
1451
- exports.getAppPathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1458
+ exports.getAppPathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1452
1459
  exports.getAppParams = zod_1.z.object({
1453
1460
  id: zod_1.z.coerce.string().regex(exports.getAppPathIdRegExp),
1454
1461
  });
@@ -1456,7 +1463,7 @@ exports.getAppParams = zod_1.z.object({
1456
1463
  * Update an app.
1457
1464
  * @summary Update app
1458
1465
  */
1459
- exports.updateAppPathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1466
+ exports.updateAppPathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1460
1467
  exports.updateAppParams = zod_1.z.object({
1461
1468
  id: zod_1.z.coerce.string().regex(exports.updateAppPathIdRegExp),
1462
1469
  });
@@ -1544,7 +1551,7 @@ exports.updateAppBody = zod_1.z
1544
1551
  * Uninstall an app.
1545
1552
  * @summary Uninstall app
1546
1553
  */
1547
- exports.uninstallAppPathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1554
+ exports.uninstallAppPathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1548
1555
  exports.uninstallAppParams = zod_1.z.object({
1549
1556
  id: zod_1.z.coerce.string().regex(exports.uninstallAppPathIdRegExp),
1550
1557
  });
@@ -1553,7 +1560,7 @@ exports.uninstallAppParams = zod_1.z.object({
1553
1560
  * @deprecated
1554
1561
  * @summary Update Stripe API key
1555
1562
  */
1556
- exports.updateStripeAPIKeyPathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1563
+ exports.updateStripeAPIKeyPathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1557
1564
  exports.updateStripeAPIKeyParams = zod_1.z.object({
1558
1565
  id: zod_1.z.coerce.string().regex(exports.updateStripeAPIKeyPathIdRegExp),
1559
1566
  });
@@ -1566,7 +1573,7 @@ exports.updateStripeAPIKeyBody = zod_1.z
1566
1573
  * Handle stripe webhooks for apps.
1567
1574
  * @summary Stripe webhook
1568
1575
  */
1569
- exports.appStripeWebhookPathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1576
+ exports.appStripeWebhookPathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1570
1577
  exports.appStripeWebhookParams = zod_1.z.object({
1571
1578
  id: zod_1.z.coerce.string().regex(exports.appStripeWebhookPathIdRegExp),
1572
1579
  });
@@ -1593,9 +1600,9 @@ useful for getting the current effective billing workflow settings for all users
1593
1600
  if they have customer orverrides or not.
1594
1601
  * @summary List customer overrides
1595
1602
  */
1596
- exports.listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1603
+ exports.listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1597
1604
  exports.listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault = true;
1598
- exports.listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1605
+ exports.listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1599
1606
  exports.listBillingProfileCustomerOverridesQueryPageDefault = 1;
1600
1607
  exports.listBillingProfileCustomerOverridesQueryPageSizeDefault = 100;
1601
1608
  exports.listBillingProfileCustomerOverridesQueryPageSizeMax = 1000;
@@ -1671,13 +1678,13 @@ This can be used to test the effect of different billing profiles before making
1671
1678
  the default ones or have different workflow settings for example for enterprise customers.
1672
1679
  * @summary Create a new or update a customer override
1673
1680
  */
1674
- exports.upsertBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1681
+ exports.upsertBillingProfileCustomerOverridePathCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1675
1682
  exports.upsertBillingProfileCustomerOverrideParams = zod_1.z.object({
1676
1683
  customerId: zod_1.z.coerce
1677
1684
  .string()
1678
1685
  .regex(exports.upsertBillingProfileCustomerOverridePathCustomerIdRegExp),
1679
1686
  });
1680
- exports.upsertBillingProfileCustomerOverrideBodyBillingProfileIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1687
+ exports.upsertBillingProfileCustomerOverrideBodyBillingProfileIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1681
1688
  exports.upsertBillingProfileCustomerOverrideBody = zod_1.z
1682
1689
  .object({
1683
1690
  billingProfileId: zod_1.z.coerce
@@ -1696,7 +1703,7 @@ If the customer override is not found, the default billing profile's values are
1696
1703
  allows for getting a merged profile regardless of the customer override existence.
1697
1704
  * @summary Get a customer override
1698
1705
  */
1699
- exports.getBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1706
+ exports.getBillingProfileCustomerOverridePathCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1700
1707
  exports.getBillingProfileCustomerOverrideParams = zod_1.z.object({
1701
1708
  customerId: zod_1.z.coerce
1702
1709
  .string()
@@ -1716,7 +1723,7 @@ This will remove the customer override and the customer will be subject to the d
1716
1723
  billing profile's settings again.
1717
1724
  * @summary Delete a customer override
1718
1725
  */
1719
- exports.deleteBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1726
+ exports.deleteBillingProfileCustomerOverridePathCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1720
1727
  exports.deleteBillingProfileCustomerOverrideParams = zod_1.z.object({
1721
1728
  customerId: zod_1.z.coerce
1722
1729
  .string()
@@ -1733,7 +1740,7 @@ A new invoice will be created if:
1733
1740
  - the currency of the line item doesn't match the currency of any invoices in gathering state
1734
1741
  * @summary Create pending line items
1735
1742
  */
1736
- exports.createPendingInvoiceLinePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1743
+ exports.createPendingInvoiceLinePathCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1737
1744
  exports.createPendingInvoiceLineParams = zod_1.z.object({
1738
1745
  customerId: zod_1.z.coerce
1739
1746
  .string()
@@ -1741,54 +1748,54 @@ exports.createPendingInvoiceLineParams = zod_1.z.object({
1741
1748
  });
1742
1749
  exports.createPendingInvoiceLineBodyCurrencyMinOne = 3;
1743
1750
  exports.createPendingInvoiceLineBodyCurrencyMaxOne = 3;
1744
- exports.createPendingInvoiceLineBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
1751
+ exports.createPendingInvoiceLineBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
1745
1752
  exports.createPendingInvoiceLineBodyLinesItemNameMax = 256;
1746
1753
  exports.createPendingInvoiceLineBodyLinesItemDescriptionMax = 1024;
1747
- exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1748
- exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1754
+ exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
1755
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1749
1756
  exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault = 'in_advance';
1750
- exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1751
- exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1752
- exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1753
- exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1754
- exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1755
- exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1756
- exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1757
- exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1758
- exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1757
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1758
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1759
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1760
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1761
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1762
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1763
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1764
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1765
+ exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1759
1766
  exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault = '1';
1760
- exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1761
- exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1762
- exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1763
- exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1764
- exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1765
- exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1767
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1768
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1769
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1770
+ exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1771
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
1772
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
1766
1773
  exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax = 64;
1767
- exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1774
+ exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
1768
1775
  exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax = 64;
1769
- exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1770
- exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1771
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1776
+ exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
1777
+ exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
1778
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1772
1779
  exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
1773
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1774
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1775
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1776
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1777
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1778
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1779
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1780
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1781
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1780
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1781
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1782
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1783
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1784
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1785
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1786
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1787
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
1788
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1782
1789
  exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault = '1';
1783
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1784
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1785
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1786
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1787
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1788
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1789
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1790
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1791
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1790
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1791
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1792
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
1793
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1794
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
1795
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
1796
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1797
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
1798
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
1792
1799
  exports.createPendingInvoiceLineBody = zod_1.z
1793
1800
  .object({
1794
1801
  currency: zod_1.z.coerce
@@ -2267,64 +2274,64 @@ This call will simulate an invoice for a customer based on the pending line item
2267
2274
  The call will return the total amount of the invoice and the line items that will be included in the invoice.
2268
2275
  * @summary Simulate an invoice for a customer
2269
2276
  */
2270
- exports.simulateInvoicePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2277
+ exports.simulateInvoicePathCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2271
2278
  exports.simulateInvoiceParams = zod_1.z.object({
2272
2279
  customerId: zod_1.z.coerce.string().regex(exports.simulateInvoicePathCustomerIdRegExp),
2273
2280
  });
2274
2281
  exports.simulateInvoiceBodyNumberMaxOne = 256;
2275
2282
  exports.simulateInvoiceBodyCurrencyMinOne = 3;
2276
2283
  exports.simulateInvoiceBodyCurrencyMaxOne = 3;
2277
- exports.simulateInvoiceBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
2284
+ exports.simulateInvoiceBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
2278
2285
  exports.simulateInvoiceBodyLinesItemNameMax = 256;
2279
2286
  exports.simulateInvoiceBodyLinesItemDescriptionMax = 1024;
2280
- exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2281
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2287
+ exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
2288
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2282
2289
  exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault = 'in_advance';
2283
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2284
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2285
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2286
- exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2287
- exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2288
- exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2289
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2290
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2291
- exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2290
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2291
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2292
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2293
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2294
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2295
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2296
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2297
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2298
+ exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2292
2299
  exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = '1';
2293
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2294
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2295
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2296
- exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2297
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2298
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2300
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2301
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2302
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2303
+ exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2304
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
2305
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
2299
2306
  exports.simulateInvoiceBodyLinesItemFeatureKeyMax = 64;
2300
- exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2307
+ exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
2301
2308
  exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = 64;
2302
- exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2303
- exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2304
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2309
+ exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
2310
+ exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
2311
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2305
2312
  exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
2306
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2307
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2308
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2309
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2310
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2311
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2312
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2313
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2314
- exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2313
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2314
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2315
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2316
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2317
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2318
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2319
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2320
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
2321
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2315
2322
  exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = '1';
2316
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2317
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2318
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2319
- exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2320
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2321
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2322
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2323
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2324
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2325
- exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2326
- exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2327
- exports.simulateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2323
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2324
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2325
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
2326
+ exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2327
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
2328
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
2329
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2330
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2331
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2332
+ exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2333
+ exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
2334
+ exports.simulateInvoiceBodyLinesItemIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2328
2335
  exports.simulateInvoiceBody = zod_1.z
2329
2336
  .object({
2330
2337
  currency: zod_1.z.coerce
@@ -2826,7 +2833,7 @@ in the response. For example by adding the expand=lines option the invoice lines
2826
2833
  Gathering invoices will always show the current usage calculated on the fly.
2827
2834
  * @summary List invoices
2828
2835
  */
2829
- exports.listInvoicesQueryCustomersItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2836
+ exports.listInvoicesQueryCustomersItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2830
2837
  exports.listInvoicesQueryPageDefault = 1;
2831
2838
  exports.listInvoicesQueryPageSizeDefault = 100;
2832
2839
  exports.listInvoicesQueryPageSizeMax = 1000;
@@ -2928,8 +2935,8 @@ New pending line items will be created for the period between now() and the next
2928
2935
  The call can return multiple invoices if the pending line items are in different currencies.
2929
2936
  * @summary Invoice a customer based on the pending line items
2930
2937
  */
2931
- exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2932
- exports.invoicePendingLinesActionBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2938
+ exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2939
+ exports.invoicePendingLinesActionBodyCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2933
2940
  exports.invoicePendingLinesActionBody = zod_1.z
2934
2941
  .object({
2935
2942
  asOf: zod_1.z.coerce
@@ -2965,11 +2972,12 @@ exports.invoicePendingLinesActionBody = zod_1.z
2965
2972
  Gathering invoices will always show the current usage calculated on the fly.
2966
2973
  * @summary Get an invoice
2967
2974
  */
2968
- exports.getInvoicePathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2975
+ exports.getInvoicePathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2969
2976
  exports.getInvoiceParams = zod_1.z.object({
2970
2977
  invoiceId: zod_1.z.coerce.string().regex(exports.getInvoicePathInvoiceIdRegExp),
2971
2978
  });
2972
- exports.getInvoiceQueryExpandDefault = ['lines'];
2979
+ const getInvoiceQueryExpandDefault = () => ['lines'];
2980
+ exports.getInvoiceQueryExpandDefault = getInvoiceQueryExpandDefault;
2973
2981
  exports.getInvoiceQueryIncludeDeletedLinesDefault = false;
2974
2982
  exports.getInvoiceQueryParams = zod_1.z.object({
2975
2983
  expand: zod_1.z
@@ -2987,7 +2995,7 @@ Only invoices that are in the draft (or earlier) status can be deleted.
2987
2995
  Invoices that are post finalization can only be voided.
2988
2996
  * @summary Delete an invoice
2989
2997
  */
2990
- exports.deleteInvoicePathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2998
+ exports.deleteInvoicePathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
2991
2999
  exports.deleteInvoiceParams = zod_1.z.object({
2992
3000
  invoiceId: zod_1.z.coerce.string().regex(exports.deleteInvoicePathInvoiceIdRegExp),
2993
3001
  });
@@ -2997,7 +3005,7 @@ exports.deleteInvoiceParams = zod_1.z.object({
2997
3005
  Only invoices in draft or earlier status can be updated.
2998
3006
  * @summary Update an invoice
2999
3007
  */
3000
- exports.updateInvoicePathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3008
+ exports.updateInvoicePathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3001
3009
  exports.updateInvoiceParams = zod_1.z.object({
3002
3010
  invoiceId: zod_1.z.coerce.string().regex(exports.updateInvoicePathInvoiceIdRegExp),
3003
3011
  });
@@ -3006,66 +3014,66 @@ exports.updateInvoiceBodySupplierKeyMax = 256;
3006
3014
  exports.updateInvoiceBodySupplierTaxIdCodeMaxOne = 32;
3007
3015
  exports.updateInvoiceBodySupplierAddressesItemCountryMinOne = 2;
3008
3016
  exports.updateInvoiceBodySupplierAddressesItemCountryMaxOne = 2;
3009
- exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = new RegExp('^[A-Z]{2}$');
3017
+ exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = /^[A-Z]{2}$/;
3010
3018
  exports.updateInvoiceBodySupplierAddressesMax = 1;
3011
3019
  exports.updateInvoiceBodyCustomerKeyMax = 256;
3012
3020
  exports.updateInvoiceBodyCustomerTaxIdCodeMaxOne = 32;
3013
3021
  exports.updateInvoiceBodyCustomerAddressesItemCountryMinOne = 2;
3014
3022
  exports.updateInvoiceBodyCustomerAddressesItemCountryMaxOne = 2;
3015
- exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = new RegExp('^[A-Z]{2}$');
3023
+ exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = /^[A-Z]{2}$/;
3016
3024
  exports.updateInvoiceBodyCustomerAddressesMax = 1;
3017
3025
  exports.updateInvoiceBodyLinesItemNameMax = 256;
3018
3026
  exports.updateInvoiceBodyLinesItemDescriptionMax = 1024;
3019
- exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
3020
- exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3027
+ exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
3028
+ exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3021
3029
  exports.updateInvoiceBodyLinesItemPricePaymentTermDefault = 'in_advance';
3022
- exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3023
- exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3024
- exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3025
- exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3026
- exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3027
- exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3028
- exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3029
- exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3030
- exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3030
+ exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3031
+ exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3032
+ exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3033
+ exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3034
+ exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3035
+ exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3036
+ exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3037
+ exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3038
+ exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3031
3039
  exports.updateInvoiceBodyLinesItemPriceMultiplierDefault = '1';
3032
- exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3033
- exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3034
- exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3035
- exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3036
- exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3037
- exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3040
+ exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3041
+ exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3042
+ exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3043
+ exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3044
+ exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
3045
+ exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
3038
3046
  exports.updateInvoiceBodyLinesItemFeatureKeyMax = 64;
3039
- exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
3047
+ exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
3040
3048
  exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax = 64;
3041
- exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
3042
- exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
3043
- exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3049
+ exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
3050
+ exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
3051
+ exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3044
3052
  exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
3045
- exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3046
- exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3047
- exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3048
- exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3049
- exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3050
- exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3051
- exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3052
- exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3053
- exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3053
+ exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3054
+ exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3055
+ exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3056
+ exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3057
+ exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3058
+ exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3059
+ exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3060
+ exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
3061
+ exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3054
3062
  exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = '1';
3055
- exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3056
- exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3057
- exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3058
- exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3059
- exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3060
- exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3061
- exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3062
- exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3063
- exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3064
- exports.updateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3063
+ exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3064
+ exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3065
+ exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
3066
+ exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3067
+ exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
3068
+ exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
3069
+ exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3070
+ exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
3071
+ exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3072
+ exports.updateInvoiceBodyLinesItemIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3065
3073
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = true;
3066
3074
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = 'P0D';
3067
3075
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = 'P30D';
3068
- exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
3076
+ exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
3069
3077
  exports.updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault = 'charge_automatically';
3070
3078
  exports.updateInvoiceBody = zod_1.z
3071
3079
  .object({
@@ -3749,7 +3757,7 @@ The call doesn't "approve the invoice", it only advances the invoice to the next
3749
3757
  The action can be called when the invoice's statusDetails' actions field contain the "advance" action.
3750
3758
  * @summary Advance the invoice's state to the next status
3751
3759
  */
3752
- exports.advanceInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3760
+ exports.advanceInvoiceActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3753
3761
  exports.advanceInvoiceActionParams = zod_1.z.object({
3754
3762
  invoiceId: zod_1.z.coerce.string().regex(exports.advanceInvoiceActionPathInvoiceIdRegExp),
3755
3763
  });
@@ -3763,7 +3771,7 @@ This call is valid in two invoice statuses:
3763
3771
  - `manual_approval_needed`: the invoice will be sent to the customer, the invoice state becomes issued
3764
3772
  * @summary Send the invoice to the customer
3765
3773
  */
3766
- exports.approveInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3774
+ exports.approveInvoiceActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3767
3775
  exports.approveInvoiceActionParams = zod_1.z.object({
3768
3776
  invoiceId: zod_1.z.coerce.string().regex(exports.approveInvoiceActionPathInvoiceIdRegExp),
3769
3777
  });
@@ -3773,7 +3781,7 @@ exports.approveInvoiceActionParams = zod_1.z.object({
3773
3781
  The action can be called when the invoice's statusDetails' actions field contain the "retry" action.
3774
3782
  * @summary Retry advancing the invoice after a failed attempt.
3775
3783
  */
3776
- exports.retryInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3784
+ exports.retryInvoiceActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3777
3785
  exports.retryInvoiceActionParams = zod_1.z.object({
3778
3786
  invoiceId: zod_1.z.coerce.string().regex(exports.retryInvoiceActionPathInvoiceIdRegExp),
3779
3787
  });
@@ -3786,7 +3794,7 @@ This call is only valid in `draft.waiting_for_collection` status, where the coll
3786
3794
  can be skipped using this action.
3787
3795
  * @summary Snapshot quantities for usage based line items
3788
3796
  */
3789
- exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3797
+ exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3790
3798
  exports.snapshotQuantitiesInvoiceActionParams = zod_1.z.object({
3791
3799
  invoiceId: zod_1.z.coerce
3792
3800
  .string()
@@ -3798,7 +3806,7 @@ exports.snapshotQuantitiesInvoiceActionParams = zod_1.z.object({
3798
3806
  Note: charges might apply, depending on the tax provider.
3799
3807
  * @summary Recalculate an invoice's tax amounts
3800
3808
  */
3801
- exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3809
+ exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3802
3810
  exports.recalculateInvoiceTaxActionParams = zod_1.z.object({
3803
3811
  invoiceId: zod_1.z.coerce
3804
3812
  .string()
@@ -3812,11 +3820,11 @@ Only invoices that have been alread issued can be voided.
3812
3820
  Voiding an invoice will mark it as voided, the user can specify how to handle the voided line items.
3813
3821
  * @summary Void an invoice
3814
3822
  */
3815
- exports.voidInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3823
+ exports.voidInvoiceActionPathInvoiceIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3816
3824
  exports.voidInvoiceActionParams = zod_1.z.object({
3817
3825
  invoiceId: zod_1.z.coerce.string().regex(exports.voidInvoiceActionPathInvoiceIdRegExp),
3818
3826
  });
3819
- exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3827
+ exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3820
3828
  exports.voidInvoiceActionBody = zod_1.z
3821
3829
  .object({
3822
3830
  action: zod_1.z
@@ -3938,8 +3946,9 @@ exports.createBillingProfileBodySupplierKeyMax = 256;
3938
3946
  exports.createBillingProfileBodySupplierTaxIdCodeMaxOne = 32;
3939
3947
  exports.createBillingProfileBodySupplierAddressesItemCountryMinOne = 2;
3940
3948
  exports.createBillingProfileBodySupplierAddressesItemCountryMaxOne = 2;
3941
- exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = new RegExp('^[A-Z]{2}$');
3949
+ exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = /^[A-Z]{2}$/;
3942
3950
  exports.createBillingProfileBodySupplierAddressesMax = 1;
3951
+ exports.createBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
3943
3952
  exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = {
3944
3953
  type: 'subscription',
3945
3954
  };
@@ -3948,13 +3957,13 @@ exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = true;
3948
3957
  exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = 'P0D';
3949
3958
  exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = 'P30D';
3950
3959
  exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
3951
- exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
3960
+ exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
3952
3961
  exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = 'charge_automatically';
3953
3962
  exports.createBillingProfileBodyWorkflowTaxEnabledDefault = true;
3954
3963
  exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = false;
3955
- exports.createBillingProfileBodyAppsTaxRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3956
- exports.createBillingProfileBodyAppsInvoicingRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3957
- exports.createBillingProfileBodyAppsPaymentRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3964
+ exports.createBillingProfileBodyAppsTaxRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3965
+ exports.createBillingProfileBodyAppsInvoicingRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3966
+ exports.createBillingProfileBodyAppsPaymentRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
3958
3967
  exports.createBillingProfileBody = zod_1.z
3959
3968
  .object({
3960
3969
  apps: zod_1.z
@@ -4064,12 +4073,37 @@ exports.createBillingProfileBody = zod_1.z
4064
4073
  collection: zod_1.z
4065
4074
  .object({
4066
4075
  alignment: zod_1.z
4067
- .object({
4068
- type: zod_1.z
4069
- .enum(['subscription'])
4070
- .describe('The type of alignment.'),
4071
- })
4072
- .describe('BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items\ninto an invoice.')
4076
+ .union([
4077
+ zod_1.z
4078
+ .object({
4079
+ type: zod_1.z.enum(['subscription']),
4080
+ })
4081
+ .describe('BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items\ninto an invoice.'),
4082
+ zod_1.z
4083
+ .object({
4084
+ recurringPeriod: zod_1.z
4085
+ .object({
4086
+ anchor: zod_1.z.coerce
4087
+ .date()
4088
+ .describe('A date-time anchor to base the recurring period on.'),
4089
+ interval: zod_1.z
4090
+ .union([
4091
+ zod_1.z.coerce
4092
+ .string()
4093
+ .regex(exports.createBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo),
4094
+ zod_1.z
4095
+ .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
4096
+ .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
4097
+ ])
4098
+ .describe('Period duration for the recurrence')
4099
+ .describe('The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.'),
4100
+ })
4101
+ .describe('Recurring period with an interval and an anchor.')
4102
+ .describe('The recurring period for the alignment.'),
4103
+ type: zod_1.z.enum(['anchored']),
4104
+ })
4105
+ .describe('BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items\ninto an invoice.'),
4106
+ ])
4073
4107
  .describe('The alignment for collecting the pending line items into an invoice.\n\nDefaults to subscription, which means that we are to create a new invoice every time the\na subscription period starts (for in advance items) or ends (for in arrears items).')
4074
4108
  .default(exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault)
4075
4109
  .describe('The alignment for collecting the pending line items into an invoice.'),
@@ -4172,7 +4206,7 @@ Only such billing profiles can be deleted that are:
4172
4206
  - only have finalized invoices
4173
4207
  * @summary Delete a billing profile
4174
4208
  */
4175
- exports.deleteBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4209
+ exports.deleteBillingProfilePathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4176
4210
  exports.deleteBillingProfileParams = zod_1.z.object({
4177
4211
  id: zod_1.z.coerce.string().regex(exports.deleteBillingProfilePathIdRegExp),
4178
4212
  });
@@ -4184,7 +4218,7 @@ in the response. For example by adding the expand=apps option the apps used by t
4184
4218
  will be included in the response.
4185
4219
  * @summary Get a billing profile
4186
4220
  */
4187
- exports.getBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4221
+ exports.getBillingProfilePathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4188
4222
  exports.getBillingProfileParams = zod_1.z.object({
4189
4223
  id: zod_1.z.coerce.string().regex(exports.getBillingProfilePathIdRegExp),
4190
4224
  });
@@ -4202,7 +4236,7 @@ The apps field cannot be updated directly, if an app change is desired a new
4202
4236
  profile should be created.
4203
4237
  * @summary Update a billing profile
4204
4238
  */
4205
- exports.updateBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4239
+ exports.updateBillingProfilePathIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4206
4240
  exports.updateBillingProfileParams = zod_1.z.object({
4207
4241
  id: zod_1.z.coerce.string().regex(exports.updateBillingProfilePathIdRegExp),
4208
4242
  });
@@ -4212,8 +4246,9 @@ exports.updateBillingProfileBodySupplierKeyMax = 256;
4212
4246
  exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = 32;
4213
4247
  exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = 2;
4214
4248
  exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = 2;
4215
- exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = new RegExp('^[A-Z]{2}$');
4249
+ exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = /^[A-Z]{2}$/;
4216
4250
  exports.updateBillingProfileBodySupplierAddressesMax = 1;
4251
+ exports.updateBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
4217
4252
  exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = {
4218
4253
  type: 'subscription',
4219
4254
  };
@@ -4222,7 +4257,7 @@ exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = true;
4222
4257
  exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = 'P0D';
4223
4258
  exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = 'P30D';
4224
4259
  exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
4225
- exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
4260
+ exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
4226
4261
  exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = 'charge_automatically';
4227
4262
  exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = true;
4228
4263
  exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = false;
@@ -4318,12 +4353,37 @@ exports.updateBillingProfileBody = zod_1.z
4318
4353
  collection: zod_1.z
4319
4354
  .object({
4320
4355
  alignment: zod_1.z
4321
- .object({
4322
- type: zod_1.z
4323
- .enum(['subscription'])
4324
- .describe('The type of alignment.'),
4325
- })
4326
- .describe('BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items\ninto an invoice.')
4356
+ .union([
4357
+ zod_1.z
4358
+ .object({
4359
+ type: zod_1.z.enum(['subscription']),
4360
+ })
4361
+ .describe('BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items\ninto an invoice.'),
4362
+ zod_1.z
4363
+ .object({
4364
+ recurringPeriod: zod_1.z
4365
+ .object({
4366
+ anchor: zod_1.z.coerce
4367
+ .date()
4368
+ .describe('A date-time anchor to base the recurring period on.'),
4369
+ interval: zod_1.z
4370
+ .union([
4371
+ zod_1.z.coerce
4372
+ .string()
4373
+ .regex(exports.updateBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo),
4374
+ zod_1.z
4375
+ .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
4376
+ .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
4377
+ ])
4378
+ .describe('Period duration for the recurrence')
4379
+ .describe('The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.'),
4380
+ })
4381
+ .describe('Recurring period with an interval and an anchor.')
4382
+ .describe('The recurring period for the alignment.'),
4383
+ type: zod_1.z.enum(['anchored']),
4384
+ })
4385
+ .describe('BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items\ninto an invoice.'),
4386
+ ])
4327
4387
  .describe('The alignment for collecting the pending line items into an invoice.\n\nDefaults to subscription, which means that we are to create a new invoice every time the\na subscription period starts (for in advance items) or ends (for in arrears items).')
4328
4388
  .default(exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault)
4329
4389
  .describe('The alignment for collecting the pending line items into an invoice.'),
@@ -4427,10 +4487,10 @@ exports.createCustomerBodyKeyMax = 256;
4427
4487
  exports.createCustomerBodyUsageAttributionSubjectKeysMax = 1;
4428
4488
  exports.createCustomerBodyCurrencyMinOne = 3;
4429
4489
  exports.createCustomerBodyCurrencyMaxOne = 3;
4430
- exports.createCustomerBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
4490
+ exports.createCustomerBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
4431
4491
  exports.createCustomerBodyBillingAddressCountryMinOne = 2;
4432
4492
  exports.createCustomerBodyBillingAddressCountryMaxOne = 2;
4433
- exports.createCustomerBodyBillingAddressCountryRegExpOne = new RegExp('^[A-Z]{2}$');
4493
+ exports.createCustomerBodyBillingAddressCountryRegExpOne = /^[A-Z]{2}$/;
4434
4494
  exports.createCustomerBody = zod_1.z
4435
4495
  .object({
4436
4496
  billingAddress: zod_1.z
@@ -4495,7 +4555,10 @@ exports.createCustomerBody = zod_1.z
4495
4555
  usageAttribution: zod_1.z
4496
4556
  .object({
4497
4557
  subjectKeys: zod_1.z
4498
- .array(zod_1.z.coerce.string())
4558
+ .array(zod_1.z.coerce
4559
+ .string()
4560
+ .min(1)
4561
+ .describe('SubjectKey is a key that is used to identify a subject.'))
4499
4562
  .min(1)
4500
4563
  .max(exports.createCustomerBodyUsageAttributionSubjectKeysMax)
4501
4564
  .describe('The subjects that are attributed to the customer.'),
@@ -4564,16 +4627,18 @@ exports.listCustomersQueryParams = zod_1.z.object({
4564
4627
  * Get a customer by ID or key.
4565
4628
  * @summary Get customer
4566
4629
  */
4630
+ exports.getCustomerPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4631
+ exports.getCustomerPathCustomerIdOrKeyMaxTwo = 256;
4567
4632
  exports.getCustomerParams = zod_1.z.object({
4568
4633
  customerIdOrKey: zod_1.z.union([
4569
4634
  zod_1.z.coerce
4570
4635
  .string()
4571
- .regex(getCustomerPathCustomerIdOrKeyRegExpOne)
4636
+ .regex(exports.getCustomerPathCustomerIdOrKeyRegExpOne)
4572
4637
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4573
4638
  zod_1.z.coerce
4574
4639
  .string()
4575
4640
  .min(1)
4576
- .max(getCustomerPathCustomerIdOrKeyMaxTwo)
4641
+ .max(exports.getCustomerPathCustomerIdOrKeyMaxTwo)
4577
4642
  .describe('ExternalKey is a looser version of key.'),
4578
4643
  ]),
4579
4644
  });
@@ -4589,16 +4654,18 @@ exports.getCustomerQueryParams = zod_1.z.object({
4589
4654
  * Update a customer by ID.
4590
4655
  * @summary Update customer
4591
4656
  */
4657
+ exports.updateCustomerPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4658
+ exports.updateCustomerPathCustomerIdOrKeyMaxTwo = 256;
4592
4659
  exports.updateCustomerParams = zod_1.z.object({
4593
4660
  customerIdOrKey: zod_1.z.union([
4594
4661
  zod_1.z.coerce
4595
4662
  .string()
4596
- .regex(updateCustomerPathCustomerIdOrKeyRegExpOne)
4663
+ .regex(exports.updateCustomerPathCustomerIdOrKeyRegExpOne)
4597
4664
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4598
4665
  zod_1.z.coerce
4599
4666
  .string()
4600
4667
  .min(1)
4601
- .max(updateCustomerPathCustomerIdOrKeyMaxTwo)
4668
+ .max(exports.updateCustomerPathCustomerIdOrKeyMaxTwo)
4602
4669
  .describe('ExternalKey is a looser version of key.'),
4603
4670
  ]),
4604
4671
  });
@@ -4608,10 +4675,10 @@ exports.updateCustomerBodyKeyMax = 256;
4608
4675
  exports.updateCustomerBodyUsageAttributionSubjectKeysMax = 1;
4609
4676
  exports.updateCustomerBodyCurrencyMinOne = 3;
4610
4677
  exports.updateCustomerBodyCurrencyMaxOne = 3;
4611
- exports.updateCustomerBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
4678
+ exports.updateCustomerBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
4612
4679
  exports.updateCustomerBodyBillingAddressCountryMinOne = 2;
4613
4680
  exports.updateCustomerBodyBillingAddressCountryMaxOne = 2;
4614
- exports.updateCustomerBodyBillingAddressCountryRegExpOne = new RegExp('^[A-Z]{2}$');
4681
+ exports.updateCustomerBodyBillingAddressCountryRegExpOne = /^[A-Z]{2}$/;
4615
4682
  exports.updateCustomerBody = zod_1.z
4616
4683
  .object({
4617
4684
  billingAddress: zod_1.z
@@ -4676,7 +4743,10 @@ exports.updateCustomerBody = zod_1.z
4676
4743
  usageAttribution: zod_1.z
4677
4744
  .object({
4678
4745
  subjectKeys: zod_1.z
4679
- .array(zod_1.z.coerce.string())
4746
+ .array(zod_1.z.coerce
4747
+ .string()
4748
+ .min(1)
4749
+ .describe('SubjectKey is a key that is used to identify a subject.'))
4680
4750
  .min(1)
4681
4751
  .max(exports.updateCustomerBodyUsageAttributionSubjectKeysMax)
4682
4752
  .describe('The subjects that are attributed to the customer.'),
@@ -4689,16 +4759,18 @@ exports.updateCustomerBody = zod_1.z
4689
4759
  * Delete a customer by ID.
4690
4760
  * @summary Delete customer
4691
4761
  */
4762
+ exports.deleteCustomerPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4763
+ exports.deleteCustomerPathCustomerIdOrKeyMaxTwo = 256;
4692
4764
  exports.deleteCustomerParams = zod_1.z.object({
4693
4765
  customerIdOrKey: zod_1.z.union([
4694
4766
  zod_1.z.coerce
4695
4767
  .string()
4696
- .regex(deleteCustomerPathCustomerIdOrKeyRegExpOne)
4768
+ .regex(exports.deleteCustomerPathCustomerIdOrKeyRegExpOne)
4697
4769
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4698
4770
  zod_1.z.coerce
4699
4771
  .string()
4700
4772
  .min(1)
4701
- .max(deleteCustomerPathCustomerIdOrKeyMaxTwo)
4773
+ .max(exports.deleteCustomerPathCustomerIdOrKeyMaxTwo)
4702
4774
  .describe('ExternalKey is a looser version of key.'),
4703
4775
  ]),
4704
4776
  });
@@ -4706,16 +4778,18 @@ exports.deleteCustomerParams = zod_1.z.object({
4706
4778
  * Get the overall access of a customer.
4707
4779
  * @summary Get customer access
4708
4780
  */
4781
+ exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4782
+ exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo = 256;
4709
4783
  exports.getCustomerAccessParams = zod_1.z.object({
4710
4784
  customerIdOrKey: zod_1.z.union([
4711
4785
  zod_1.z.coerce
4712
4786
  .string()
4713
- .regex(getCustomerAccessPathCustomerIdOrKeyRegExpOne)
4787
+ .regex(exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne)
4714
4788
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4715
4789
  zod_1.z.coerce
4716
4790
  .string()
4717
4791
  .min(1)
4718
- .max(getCustomerAccessPathCustomerIdOrKeyMaxTwo)
4792
+ .max(exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo)
4719
4793
  .describe('ExternalKey is a looser version of key.'),
4720
4794
  ]),
4721
4795
  });
@@ -4723,16 +4797,18 @@ exports.getCustomerAccessParams = zod_1.z.object({
4723
4797
  * List customers app data.
4724
4798
  * @summary List customer app data
4725
4799
  */
4800
+ exports.listCustomerAppDataPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4801
+ exports.listCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
4726
4802
  exports.listCustomerAppDataParams = zod_1.z.object({
4727
4803
  customerIdOrKey: zod_1.z.union([
4728
4804
  zod_1.z.coerce
4729
4805
  .string()
4730
- .regex(listCustomerAppDataPathCustomerIdOrKeyRegExpOne)
4806
+ .regex(exports.listCustomerAppDataPathCustomerIdOrKeyRegExpOne)
4731
4807
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4732
4808
  zod_1.z.coerce
4733
4809
  .string()
4734
4810
  .min(1)
4735
- .max(listCustomerAppDataPathCustomerIdOrKeyMaxTwo)
4811
+ .max(exports.listCustomerAppDataPathCustomerIdOrKeyMaxTwo)
4736
4812
  .describe('ExternalKey is a looser version of key.'),
4737
4813
  ]),
4738
4814
  });
@@ -4760,32 +4836,34 @@ exports.listCustomerAppDataQueryParams = zod_1.z.object({
4760
4836
  * Upsert customer app data.
4761
4837
  * @summary Upsert customer app data
4762
4838
  */
4839
+ exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4840
+ exports.upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
4763
4841
  exports.upsertCustomerAppDataParams = zod_1.z.object({
4764
4842
  customerIdOrKey: zod_1.z.union([
4765
4843
  zod_1.z.coerce
4766
4844
  .string()
4767
- .regex(upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne)
4845
+ .regex(exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne)
4768
4846
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
4769
4847
  zod_1.z.coerce
4770
4848
  .string()
4771
4849
  .min(1)
4772
- .max(upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo)
4850
+ .max(exports.upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo)
4773
4851
  .describe('ExternalKey is a looser version of key.'),
4774
4852
  ]),
4775
4853
  });
4776
- exports.upsertCustomerAppDataBodyIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4777
- exports.upsertCustomerAppDataBodyAppIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4854
+ exports.upsertCustomerAppDataBodyIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4855
+ exports.upsertCustomerAppDataBodyAppIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4778
4856
  exports.upsertCustomerAppDataBodyAppNameMax = 256;
4779
4857
  exports.upsertCustomerAppDataBodyAppDescriptionMax = 1024;
4780
4858
  exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = 64;
4781
- exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
4782
- exports.upsertCustomerAppDataBodyIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4783
- exports.upsertCustomerAppDataBodyAppIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4859
+ exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
4860
+ exports.upsertCustomerAppDataBodyIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4861
+ exports.upsertCustomerAppDataBodyAppIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4784
4862
  exports.upsertCustomerAppDataBodyAppNameMaxOne = 256;
4785
4863
  exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = 1024;
4786
4864
  exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = 64;
4787
- exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
4788
- exports.upsertCustomerAppDataBodyIdRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
4865
+ exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
4866
+ exports.upsertCustomerAppDataBodyIdRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
4789
4867
  exports.upsertCustomerAppDataBodyItem = zod_1.z
4790
4868
  .union([
4791
4869
  zod_1.z
@@ -5023,18 +5101,20 @@ exports.upsertCustomerAppDataBody = zod_1.z.array(exports.upsertCustomerAppDataB
5023
5101
  * Delete customer app data.
5024
5102
  * @summary Delete customer app data
5025
5103
  */
5026
- exports.deleteCustomerAppDataPathAppIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5104
+ exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5105
+ exports.deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo = 256;
5106
+ exports.deleteCustomerAppDataPathAppIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5027
5107
  exports.deleteCustomerAppDataParams = zod_1.z.object({
5028
5108
  appId: zod_1.z.coerce.string().regex(exports.deleteCustomerAppDataPathAppIdRegExp),
5029
5109
  customerIdOrKey: zod_1.z.union([
5030
5110
  zod_1.z.coerce
5031
5111
  .string()
5032
- .regex(deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne)
5112
+ .regex(exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne)
5033
5113
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5034
5114
  zod_1.z.coerce
5035
5115
  .string()
5036
5116
  .min(1)
5037
- .max(deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo)
5117
+ .max(exports.deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo)
5038
5118
  .describe('ExternalKey is a looser version of key.'),
5039
5119
  ]),
5040
5120
  });
@@ -5042,18 +5122,20 @@ exports.deleteCustomerAppDataParams = zod_1.z.object({
5042
5122
  * 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.
5043
5123
  * @summary Get customer entitlement value
5044
5124
  */
5125
+ exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5126
+ exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = 256;
5045
5127
  exports.getCustomerEntitlementValuePathFeatureKeyMax = 64;
5046
- exports.getCustomerEntitlementValuePathFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
5128
+ exports.getCustomerEntitlementValuePathFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
5047
5129
  exports.getCustomerEntitlementValueParams = zod_1.z.object({
5048
5130
  customerIdOrKey: zod_1.z.union([
5049
5131
  zod_1.z.coerce
5050
5132
  .string()
5051
- .regex(getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne)
5133
+ .regex(exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne)
5052
5134
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5053
5135
  zod_1.z.coerce
5054
5136
  .string()
5055
5137
  .min(1)
5056
- .max(getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo)
5138
+ .max(exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo)
5057
5139
  .describe('ExternalKey is a looser version of key.'),
5058
5140
  ]),
5059
5141
  featureKey: zod_1.z.coerce
@@ -5070,16 +5152,18 @@ exports.getCustomerEntitlementValueQueryParams = zod_1.z.object({
5070
5152
  Only returns data if the customer billing profile is linked to a stripe app.
5071
5153
  * @summary Get customer stripe app data
5072
5154
  */
5155
+ exports.getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5156
+ exports.getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = 256;
5073
5157
  exports.getCustomerStripeAppDataParams = zod_1.z.object({
5074
5158
  customerIdOrKey: zod_1.z.union([
5075
5159
  zod_1.z.coerce
5076
5160
  .string()
5077
- .regex(getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne)
5161
+ .regex(exports.getCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne)
5078
5162
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5079
5163
  zod_1.z.coerce
5080
5164
  .string()
5081
5165
  .min(1)
5082
- .max(getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo)
5166
+ .max(exports.getCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo)
5083
5167
  .describe('ExternalKey is a looser version of key.'),
5084
5168
  ]),
5085
5169
  });
@@ -5088,16 +5172,18 @@ exports.getCustomerStripeAppDataParams = zod_1.z.object({
5088
5172
  Only updates data if the customer billing profile is linked to a stripe app.
5089
5173
  * @summary Upsert customer stripe app data
5090
5174
  */
5175
+ exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5176
+ exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo = 256;
5091
5177
  exports.upsertCustomerStripeAppDataParams = zod_1.z.object({
5092
5178
  customerIdOrKey: zod_1.z.union([
5093
5179
  zod_1.z.coerce
5094
5180
  .string()
5095
- .regex(upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne)
5181
+ .regex(exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyRegExpOne)
5096
5182
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5097
5183
  zod_1.z.coerce
5098
5184
  .string()
5099
5185
  .min(1)
5100
- .max(upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo)
5186
+ .max(exports.upsertCustomerStripeAppDataPathCustomerIdOrKeyMaxTwo)
5101
5187
  .describe('ExternalKey is a looser version of key.'),
5102
5188
  ]),
5103
5189
  });
@@ -5118,16 +5204,18 @@ Useful to redirect the customer to the Stripe customer portal to manage their pa
5118
5204
  change their billing address and access their invoice history.
5119
5205
  * @summary Create Stripe customer portal session
5120
5206
  */
5207
+ exports.createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5208
+ exports.createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo = 256;
5121
5209
  exports.createCustomerStripePortalSessionParams = zod_1.z.object({
5122
5210
  customerIdOrKey: zod_1.z.union([
5123
5211
  zod_1.z.coerce
5124
5212
  .string()
5125
- .regex(createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne)
5213
+ .regex(exports.createCustomerStripePortalSessionPathCustomerIdOrKeyRegExpOne)
5126
5214
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5127
5215
  zod_1.z.coerce
5128
5216
  .string()
5129
5217
  .min(1)
5130
- .max(createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo)
5218
+ .max(exports.createCustomerStripePortalSessionPathCustomerIdOrKeyMaxTwo)
5131
5219
  .describe('ExternalKey is a looser version of key.'),
5132
5220
  ]),
5133
5221
  });
@@ -5151,16 +5239,18 @@ exports.createCustomerStripePortalSessionBody = zod_1.z
5151
5239
  * Lists all subscriptions for a customer.
5152
5240
  * @summary List customer subscriptions
5153
5241
  */
5242
+ exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5243
+ exports.listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo = 256;
5154
5244
  exports.listCustomerSubscriptionsParams = zod_1.z.object({
5155
5245
  customerIdOrKey: zod_1.z.union([
5156
5246
  zod_1.z.coerce
5157
5247
  .string()
5158
- .regex(listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne)
5248
+ .regex(exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne)
5159
5249
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
5160
5250
  zod_1.z.coerce
5161
5251
  .string()
5162
5252
  .min(1)
5163
- .max(listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo)
5253
+ .max(exports.listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo)
5164
5254
  .describe('ExternalKey is a looser version of key.'),
5165
5255
  ]),
5166
5256
  });
@@ -5168,6 +5258,11 @@ exports.listCustomerSubscriptionsQueryPageDefault = 1;
5168
5258
  exports.listCustomerSubscriptionsQueryPageSizeDefault = 100;
5169
5259
  exports.listCustomerSubscriptionsQueryPageSizeMax = 1000;
5170
5260
  exports.listCustomerSubscriptionsQueryParams = zod_1.z.object({
5261
+ order: zod_1.z.enum(['ASC', 'DESC']).optional().describe('The order direction.'),
5262
+ orderBy: zod_1.z
5263
+ .enum(['activeFrom', 'activeTo'])
5264
+ .optional()
5265
+ .describe('The order by field.'),
5171
5266
  page: zod_1.z.coerce
5172
5267
  .number()
5173
5268
  .min(1)
@@ -5179,6 +5274,11 @@ exports.listCustomerSubscriptionsQueryParams = zod_1.z.object({
5179
5274
  .max(exports.listCustomerSubscriptionsQueryPageSizeMax)
5180
5275
  .default(exports.listCustomerSubscriptionsQueryPageSizeDefault)
5181
5276
  .describe('The maximum number of items per page.\n\nDefault is 100.'),
5277
+ status: zod_1.z
5278
+ .array(zod_1.z
5279
+ .enum(['active', 'inactive', 'canceled', 'scheduled'])
5280
+ .describe('Subscription status.'))
5281
+ .optional(),
5182
5282
  });
5183
5283
  /**
5184
5284
  * List all entitlements for all the subjects and features. This endpoint is intended for administrative purposes only.
@@ -5245,7 +5345,7 @@ exports.listEntitlementsQueryParams = zod_1.z.object({
5245
5345
  * Get entitlement by id.
5246
5346
  * @summary Get entitlement by id
5247
5347
  */
5248
- exports.getEntitlementByIdPathEntitlementIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5348
+ exports.getEntitlementByIdPathEntitlementIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5249
5349
  exports.getEntitlementByIdParams = zod_1.z.object({
5250
5350
  entitlementId: zod_1.z.coerce
5251
5351
  .string()
@@ -5258,7 +5358,7 @@ If the from query param is not provided it defaults to last 72 hours.
5258
5358
  * @summary List ingested events
5259
5359
  */
5260
5360
  exports.listEventsQueryClientIdMax = 36;
5261
- exports.listEventsQueryCustomerIdItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5361
+ exports.listEventsQueryCustomerIdItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5262
5362
  exports.listEventsQueryLimitDefault = 100;
5263
5363
  exports.listEventsQueryLimitMax = 100;
5264
5364
  exports.listEventsQueryParams = zod_1.z.object({
@@ -5323,7 +5423,7 @@ exports.ingestEventsBody = zod_1.z
5323
5423
  datacontenttype: zod_1.z
5324
5424
  .enum(['application/json'])
5325
5425
  .nullish()
5326
- .describe('Content type of the CloudEvents data value. Only the value \"application/json\" is allowed over HTTP.'),
5426
+ .describe('Content type of the CloudEvents data value. Only the value "application/json" is allowed over HTTP.'),
5327
5427
  dataschema: zod_1.z.coerce
5328
5428
  .string()
5329
5429
  .url()
@@ -5362,7 +5462,7 @@ exports.ingestEventsBody = zod_1.z
5362
5462
  datacontenttype: zod_1.z
5363
5463
  .enum(['application/json'])
5364
5464
  .nullish()
5365
- .describe('Content type of the CloudEvents data value. Only the value \"application/json\" is allowed over HTTP.'),
5465
+ .describe('Content type of the CloudEvents data value. Only the value "application/json" is allowed over HTTP.'),
5366
5466
  dataschema: zod_1.z.coerce
5367
5467
  .string()
5368
5468
  .url()
@@ -5410,7 +5510,7 @@ exports.listFeaturesQueryParams = zod_1.z.object({
5410
5510
  includeArchived: zod_1.z.coerce
5411
5511
  .boolean()
5412
5512
  .optional()
5413
- .describe('Filter by meterGroupByFilters'),
5513
+ .describe('Include archived features in response.'),
5414
5514
  limit: zod_1.z.coerce
5415
5515
  .number()
5416
5516
  .min(1)
@@ -5451,11 +5551,74 @@ Features cannot be updated later, only archived.
5451
5551
  * @summary Create feature
5452
5552
  */
5453
5553
  exports.createFeatureBodyKeyMax = 64;
5454
- exports.createFeatureBodyKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
5554
+ exports.createFeatureBodyKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
5455
5555
  exports.createFeatureBodyMeterSlugMax = 64;
5456
- exports.createFeatureBodyMeterSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
5556
+ exports.createFeatureBodyMeterSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
5457
5557
  exports.createFeatureBody = zod_1.z
5458
5558
  .object({
5559
+ advancedMeterGroupByFilters: zod_1.z
5560
+ .record(zod_1.z.string(), zod_1.z
5561
+ .object({
5562
+ $and: zod_1.z
5563
+ .array(zod_1.z.any())
5564
+ .nullish()
5565
+ .describe('Provide a list of filters to be combined with a logical AND.'),
5566
+ $eq: zod_1.z.coerce
5567
+ .string()
5568
+ .nullish()
5569
+ .describe('The field must be equal to the provided value.'),
5570
+ $gt: zod_1.z.coerce
5571
+ .string()
5572
+ .nullish()
5573
+ .describe('The field must be greater than the provided value.'),
5574
+ $gte: zod_1.z.coerce
5575
+ .string()
5576
+ .nullish()
5577
+ .describe('The field must be greater than or equal to the provided value.'),
5578
+ $ilike: zod_1.z.coerce
5579
+ .string()
5580
+ .nullish()
5581
+ .describe('The field must match the provided value, ignoring case.'),
5582
+ $in: zod_1.z
5583
+ .array(zod_1.z.coerce.string())
5584
+ .nullish()
5585
+ .describe('The field must be in the provided list of values.'),
5586
+ $like: zod_1.z.coerce
5587
+ .string()
5588
+ .nullish()
5589
+ .describe('The field must match the provided value.'),
5590
+ $lt: zod_1.z.coerce
5591
+ .string()
5592
+ .nullish()
5593
+ .describe('The field must be less than the provided value.'),
5594
+ $lte: zod_1.z.coerce
5595
+ .string()
5596
+ .nullish()
5597
+ .describe('The field must be less than or equal to the provided value.'),
5598
+ $ne: zod_1.z.coerce
5599
+ .string()
5600
+ .nullish()
5601
+ .describe('The field must not be equal to the provided value.'),
5602
+ $nilike: zod_1.z.coerce
5603
+ .string()
5604
+ .nullish()
5605
+ .describe('The field must not match the provided value, ignoring case.'),
5606
+ $nin: zod_1.z
5607
+ .array(zod_1.z.coerce.string())
5608
+ .nullish()
5609
+ .describe('The field must not be in the provided list of values.'),
5610
+ $nlike: zod_1.z.coerce
5611
+ .string()
5612
+ .nullish()
5613
+ .describe('The field must not match the provided value.'),
5614
+ $or: zod_1.z
5615
+ .array(zod_1.z.any())
5616
+ .nullish()
5617
+ .describe('Provide a list of filters to be combined with a logical OR.'),
5618
+ })
5619
+ .describe('A filter for a string field.'))
5620
+ .optional()
5621
+ .describe('Optional advanced meter group by filters.\nYou can use this to filter for values of the meter groupBy fields.'),
5459
5622
  key: zod_1.z.coerce
5460
5623
  .string()
5461
5624
  .min(1)
@@ -5682,7 +5845,7 @@ exports.marketplaceOAuth2InstallAuthorizeQueryParams = zod_1.z.object({
5682
5845
  state: zod_1.z.coerce
5683
5846
  .string()
5684
5847
  .optional()
5685
- .describe('Required if the \"state\" parameter was present in the client authorization request.\nThe exact value received from the client:\n\nUnique, randomly generated, opaque, and non-guessable string that is sent\nwhen starting an authentication request and validated when processing the response.'),
5848
+ .describe('Required if the "state" parameter was present in the client authorization request.\nThe exact value received from the client:\n\nUnique, randomly generated, opaque, and non-guessable string that is sent\nwhen starting an authentication request and validated when processing the response.'),
5686
5849
  });
5687
5850
  /**
5688
5851
  * List meters.
@@ -5721,7 +5884,7 @@ exports.listMetersQueryParams = zod_1.z.object({
5721
5884
  exports.createMeterBodyDescriptionMax = 1024;
5722
5885
  exports.createMeterBodyNameMax = 256;
5723
5886
  exports.createMeterBodySlugMax = 64;
5724
- exports.createMeterBodySlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
5887
+ exports.createMeterBodySlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
5725
5888
  exports.createMeterBody = zod_1.z
5726
5889
  .object({
5727
5890
  aggregation: zod_1.z
@@ -5774,7 +5937,7 @@ exports.createMeterBody = zod_1.z
5774
5937
  * @summary Get meter
5775
5938
  */
5776
5939
  exports.getMeterPathMeterIdOrSlugMax = 64;
5777
- exports.getMeterPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5940
+ exports.getMeterPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5778
5941
  exports.getMeterParams = zod_1.z.object({
5779
5942
  meterIdOrSlug: zod_1.z.coerce
5780
5943
  .string()
@@ -5787,7 +5950,7 @@ exports.getMeterParams = zod_1.z.object({
5787
5950
  * @summary Update meter
5788
5951
  */
5789
5952
  exports.updateMeterPathMeterIdOrSlugMax = 64;
5790
- exports.updateMeterPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5953
+ exports.updateMeterPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5791
5954
  exports.updateMeterParams = zod_1.z.object({
5792
5955
  meterIdOrSlug: zod_1.z.coerce
5793
5956
  .string()
@@ -5826,7 +5989,7 @@ exports.updateMeterBody = zod_1.z
5826
5989
  * @summary Delete meter
5827
5990
  */
5828
5991
  exports.deleteMeterPathMeterIdOrSlugMax = 64;
5829
- exports.deleteMeterPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
5992
+ exports.deleteMeterPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5830
5993
  exports.deleteMeterParams = zod_1.z.object({
5831
5994
  meterIdOrSlug: zod_1.z.coerce
5832
5995
  .string()
@@ -5834,12 +5997,36 @@ exports.deleteMeterParams = zod_1.z.object({
5834
5997
  .max(exports.deleteMeterPathMeterIdOrSlugMax)
5835
5998
  .regex(exports.deleteMeterPathMeterIdOrSlugRegExp),
5836
5999
  });
6000
+ /**
6001
+ * List meter group by values.
6002
+ * @summary List meter group by values
6003
+ */
6004
+ exports.listMeterGroupByValuesPathMeterIdOrSlugMax = 64;
6005
+ exports.listMeterGroupByValuesPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6006
+ exports.listMeterGroupByValuesParams = zod_1.z.object({
6007
+ groupByKey: zod_1.z.coerce.string(),
6008
+ meterIdOrSlug: zod_1.z.coerce
6009
+ .string()
6010
+ .min(1)
6011
+ .max(exports.listMeterGroupByValuesPathMeterIdOrSlugMax)
6012
+ .regex(exports.listMeterGroupByValuesPathMeterIdOrSlugRegExp),
6013
+ });
6014
+ exports.listMeterGroupByValuesQueryParams = zod_1.z.object({
6015
+ from: zod_1.z.coerce
6016
+ .date()
6017
+ .optional()
6018
+ .describe('Start date-time in RFC 3339 format.\n\nInclusive. Defaults to 24 hours ago.\n\nFor example: ?from=2025-01-01T00%3A00%3A00.000Z'),
6019
+ to: zod_1.z.coerce
6020
+ .date()
6021
+ .optional()
6022
+ .describe('End date-time in RFC 3339 format.\n\nInclusive.\n\nFor example: ?to=2025-02-01T00%3A00%3A00.000Z'),
6023
+ });
5837
6024
  /**
5838
6025
  * Query meter for usage.
5839
6026
  * @summary Query meter
5840
6027
  */
5841
6028
  exports.queryMeterPathMeterIdOrSlugMax = 64;
5842
- exports.queryMeterPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6029
+ exports.queryMeterPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5843
6030
  exports.queryMeterParams = zod_1.z.object({
5844
6031
  meterIdOrSlug: zod_1.z.coerce
5845
6032
  .string()
@@ -5895,7 +6082,7 @@ exports.queryMeterQueryParams = zod_1.z.object({
5895
6082
  * @summary Query meter
5896
6083
  */
5897
6084
  exports.queryMeterPostPathMeterIdOrSlugMax = 64;
5898
- exports.queryMeterPostPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6085
+ exports.queryMeterPostPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5899
6086
  exports.queryMeterPostParams = zod_1.z.object({
5900
6087
  meterIdOrSlug: zod_1.z.coerce
5901
6088
  .string()
@@ -5910,6 +6097,69 @@ exports.queryMeterPostBodyFilterCustomerIdMax = 100;
5910
6097
  exports.queryMeterPostBodyGroupByMax = 100;
5911
6098
  exports.queryMeterPostBody = zod_1.z
5912
6099
  .object({
6100
+ advancedMeterGroupByFilters: zod_1.z
6101
+ .record(zod_1.z.string(), zod_1.z
6102
+ .object({
6103
+ $and: zod_1.z
6104
+ .array(zod_1.z.any())
6105
+ .nullish()
6106
+ .describe('Provide a list of filters to be combined with a logical AND.'),
6107
+ $eq: zod_1.z.coerce
6108
+ .string()
6109
+ .nullish()
6110
+ .describe('The field must be equal to the provided value.'),
6111
+ $gt: zod_1.z.coerce
6112
+ .string()
6113
+ .nullish()
6114
+ .describe('The field must be greater than the provided value.'),
6115
+ $gte: zod_1.z.coerce
6116
+ .string()
6117
+ .nullish()
6118
+ .describe('The field must be greater than or equal to the provided value.'),
6119
+ $ilike: zod_1.z.coerce
6120
+ .string()
6121
+ .nullish()
6122
+ .describe('The field must match the provided value, ignoring case.'),
6123
+ $in: zod_1.z
6124
+ .array(zod_1.z.coerce.string())
6125
+ .nullish()
6126
+ .describe('The field must be in the provided list of values.'),
6127
+ $like: zod_1.z.coerce
6128
+ .string()
6129
+ .nullish()
6130
+ .describe('The field must match the provided value.'),
6131
+ $lt: zod_1.z.coerce
6132
+ .string()
6133
+ .nullish()
6134
+ .describe('The field must be less than the provided value.'),
6135
+ $lte: zod_1.z.coerce
6136
+ .string()
6137
+ .nullish()
6138
+ .describe('The field must be less than or equal to the provided value.'),
6139
+ $ne: zod_1.z.coerce
6140
+ .string()
6141
+ .nullish()
6142
+ .describe('The field must not be equal to the provided value.'),
6143
+ $nilike: zod_1.z.coerce
6144
+ .string()
6145
+ .nullish()
6146
+ .describe('The field must not match the provided value, ignoring case.'),
6147
+ $nin: zod_1.z
6148
+ .array(zod_1.z.coerce.string())
6149
+ .nullish()
6150
+ .describe('The field must not be in the provided list of values.'),
6151
+ $nlike: zod_1.z.coerce
6152
+ .string()
6153
+ .nullish()
6154
+ .describe('The field must not match the provided value.'),
6155
+ $or: zod_1.z
6156
+ .array(zod_1.z.any())
6157
+ .nullish()
6158
+ .describe('Provide a list of filters to be combined with a logical OR.'),
6159
+ })
6160
+ .describe('A filter for a string field.'))
6161
+ .optional()
6162
+ .describe('Optional advanced meter group by filters.\nYou can use this to filter for values of the meter groupBy fields.'),
5913
6163
  clientId: zod_1.z.coerce
5914
6164
  .string()
5915
6165
  .min(1)
@@ -5959,7 +6209,7 @@ exports.queryMeterPostBody = zod_1.z
5959
6209
  * @summary List meter subjects
5960
6210
  */
5961
6211
  exports.listMeterSubjectsPathMeterIdOrSlugMax = 64;
5962
- exports.listMeterSubjectsPathMeterIdOrSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6212
+ exports.listMeterSubjectsPathMeterIdOrSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
5963
6213
  exports.listMeterSubjectsParams = zod_1.z.object({
5964
6214
  meterIdOrSlug: zod_1.z.coerce
5965
6215
  .string()
@@ -5967,6 +6217,16 @@ exports.listMeterSubjectsParams = zod_1.z.object({
5967
6217
  .max(exports.listMeterSubjectsPathMeterIdOrSlugMax)
5968
6218
  .regex(exports.listMeterSubjectsPathMeterIdOrSlugRegExp),
5969
6219
  });
6220
+ exports.listMeterSubjectsQueryParams = zod_1.z.object({
6221
+ from: zod_1.z.coerce
6222
+ .date()
6223
+ .optional()
6224
+ .describe('Start date-time in RFC 3339 format.\n\nInclusive. Defaults to the beginning of time.\n\nFor example: ?from=2025-01-01T00%3A00%3A00.000Z'),
6225
+ to: zod_1.z.coerce
6226
+ .date()
6227
+ .optional()
6228
+ .describe('End date-time in RFC 3339 format.\n\nInclusive.\n\nFor example: ?to=2025-02-01T00%3A00%3A00.000Z'),
6229
+ });
5970
6230
  /**
5971
6231
  * List all notification channels.
5972
6232
  * @summary List notification channels
@@ -6006,8 +6266,9 @@ exports.listNotificationChannelsQueryParams = zod_1.z.object({
6006
6266
  * Create a new notification channel.
6007
6267
  * @summary Create a notification channel
6008
6268
  */
6269
+ exports.createNotificationChannelBodyNameMax = 256;
6009
6270
  exports.createNotificationChannelBodyDisabledDefault = false;
6010
- exports.createNotificationChannelBodySigningSecretRegExp = new RegExp('^(whsec_)?[a-zA-Z0-9+/=]{32,100}$');
6271
+ exports.createNotificationChannelBodySigningSecretRegExp = /^(whsec_)?[a-zA-Z0-9+/=]{32,100}$/;
6011
6272
  exports.createNotificationChannelBody = zod_1.z
6012
6273
  .object({
6013
6274
  customHeaders: zod_1.z
@@ -6018,7 +6279,16 @@ exports.createNotificationChannelBody = zod_1.z
6018
6279
  .boolean()
6019
6280
  .optional()
6020
6281
  .describe('Whether the channel is disabled or not.'),
6021
- name: zod_1.z.coerce.string().describe('User friendly name of the channel.'),
6282
+ metadata: zod_1.z
6283
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6284
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6285
+ .nullish()
6286
+ .describe('Additional metadata for the resource.'),
6287
+ name: zod_1.z.coerce
6288
+ .string()
6289
+ .min(1)
6290
+ .max(exports.createNotificationChannelBodyNameMax)
6291
+ .describe('User friendly name of the channel.'),
6022
6292
  signingSecret: zod_1.z.coerce
6023
6293
  .string()
6024
6294
  .regex(exports.createNotificationChannelBodySigningSecretRegExp)
@@ -6035,14 +6305,15 @@ exports.createNotificationChannelBody = zod_1.z
6035
6305
  * Update notification channel.
6036
6306
  * @summary Update a notification channel
6037
6307
  */
6038
- exports.updateNotificationChannelPathChannelIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6308
+ exports.updateNotificationChannelPathChannelIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6039
6309
  exports.updateNotificationChannelParams = zod_1.z.object({
6040
6310
  channelId: zod_1.z.coerce
6041
6311
  .string()
6042
6312
  .regex(exports.updateNotificationChannelPathChannelIdRegExp),
6043
6313
  });
6314
+ exports.updateNotificationChannelBodyNameMax = 256;
6044
6315
  exports.updateNotificationChannelBodyDisabledDefault = false;
6045
- exports.updateNotificationChannelBodySigningSecretRegExp = new RegExp('^(whsec_)?[a-zA-Z0-9+/=]{32,100}$');
6316
+ exports.updateNotificationChannelBodySigningSecretRegExp = /^(whsec_)?[a-zA-Z0-9+/=]{32,100}$/;
6046
6317
  exports.updateNotificationChannelBody = zod_1.z
6047
6318
  .object({
6048
6319
  customHeaders: zod_1.z
@@ -6053,7 +6324,16 @@ exports.updateNotificationChannelBody = zod_1.z
6053
6324
  .boolean()
6054
6325
  .optional()
6055
6326
  .describe('Whether the channel is disabled or not.'),
6056
- name: zod_1.z.coerce.string().describe('User friendly name of the channel.'),
6327
+ metadata: zod_1.z
6328
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6329
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6330
+ .nullish()
6331
+ .describe('Additional metadata for the resource.'),
6332
+ name: zod_1.z.coerce
6333
+ .string()
6334
+ .min(1)
6335
+ .max(exports.updateNotificationChannelBodyNameMax)
6336
+ .describe('User friendly name of the channel.'),
6057
6337
  signingSecret: zod_1.z.coerce
6058
6338
  .string()
6059
6339
  .regex(exports.updateNotificationChannelBodySigningSecretRegExp)
@@ -6070,7 +6350,7 @@ exports.updateNotificationChannelBody = zod_1.z
6070
6350
  * Get a notification channel by id.
6071
6351
  * @summary Get notification channel
6072
6352
  */
6073
- exports.getNotificationChannelPathChannelIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6353
+ exports.getNotificationChannelPathChannelIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6074
6354
  exports.getNotificationChannelParams = zod_1.z.object({
6075
6355
  channelId: zod_1.z.coerce
6076
6356
  .string()
@@ -6082,7 +6362,7 @@ exports.getNotificationChannelParams = zod_1.z.object({
6082
6362
  Once a notification channel is deleted it cannot be undeleted.
6083
6363
  * @summary Delete a notification channel
6084
6364
  */
6085
- exports.deleteNotificationChannelPathChannelIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6365
+ exports.deleteNotificationChannelPathChannelIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6086
6366
  exports.deleteNotificationChannelParams = zod_1.z.object({
6087
6367
  channelId: zod_1.z.coerce
6088
6368
  .string()
@@ -6092,8 +6372,8 @@ exports.deleteNotificationChannelParams = zod_1.z.object({
6092
6372
  * List all notification events.
6093
6373
  * @summary List notification events
6094
6374
  */
6095
- exports.listNotificationEventsQueryRuleItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6096
- exports.listNotificationEventsQueryChannelItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6375
+ exports.listNotificationEventsQueryRuleItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6376
+ exports.listNotificationEventsQueryChannelItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6097
6377
  exports.listNotificationEventsQueryPageDefault = 1;
6098
6378
  exports.listNotificationEventsQueryPageSizeDefault = 100;
6099
6379
  exports.listNotificationEventsQueryPageSizeMax = 1000;
@@ -6152,6 +6432,25 @@ exports.listNotificationEventsQueryParams = zod_1.z.object({
6152
6432
  exports.getNotificationEventParams = zod_1.z.object({
6153
6433
  eventId: zod_1.z.coerce.string(),
6154
6434
  });
6435
+ /**
6436
+ * @summary Re-send notification event
6437
+ */
6438
+ exports.resendNotificationEventPathEventIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6439
+ exports.resendNotificationEventParams = zod_1.z.object({
6440
+ eventId: zod_1.z.coerce.string().regex(exports.resendNotificationEventPathEventIdRegExp),
6441
+ });
6442
+ exports.resendNotificationEventBodyChannelsItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6443
+ exports.resendNotificationEventBody = zod_1.z
6444
+ .object({
6445
+ channels: zod_1.z
6446
+ .array(zod_1.z.coerce
6447
+ .string()
6448
+ .regex(exports.resendNotificationEventBodyChannelsItemRegExp)
6449
+ .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'))
6450
+ .optional()
6451
+ .describe('Notification channels to which the event should be re-sent.'),
6452
+ })
6453
+ .describe('A notification event that will be re-sent.');
6155
6454
  /**
6156
6455
  * List all notification rules.
6157
6456
  * @summary List notification rules
@@ -6159,7 +6458,7 @@ exports.getNotificationEventParams = zod_1.z.object({
6159
6458
  exports.listNotificationRulesQueryIncludeDeletedDefault = false;
6160
6459
  exports.listNotificationRulesQueryIncludeDisabledDefault = false;
6161
6460
  exports.listNotificationRulesQueryFeatureItemMax = 64;
6162
- exports.listNotificationRulesQueryFeatureItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6461
+ exports.listNotificationRulesQueryFeatureItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6163
6462
  exports.listNotificationRulesQueryPageDefault = 1;
6164
6463
  exports.listNotificationRulesQueryPageSizeDefault = 100;
6165
6464
  exports.listNotificationRulesQueryPageSizeMax = 1000;
@@ -6206,19 +6505,23 @@ exports.listNotificationRulesQueryParams = zod_1.z.object({
6206
6505
  * Create a new notification rule.
6207
6506
  * @summary Create a notification rule
6208
6507
  */
6508
+ exports.createNotificationRuleBodyNameMax = 256;
6209
6509
  exports.createNotificationRuleBodyDisabledDefault = false;
6210
6510
  exports.createNotificationRuleBodyThresholdsMax = 10;
6211
- exports.createNotificationRuleBodyChannelsItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6511
+ exports.createNotificationRuleBodyChannelsItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6212
6512
  exports.createNotificationRuleBodyFeaturesItemMax = 64;
6213
- exports.createNotificationRuleBodyFeaturesItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6513
+ exports.createNotificationRuleBodyFeaturesItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6514
+ exports.createNotificationRuleBodyNameMaxOne = 256;
6214
6515
  exports.createNotificationRuleBodyDisabledDefaultOne = false;
6215
- exports.createNotificationRuleBodyChannelsItemRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6516
+ exports.createNotificationRuleBodyChannelsItemRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6216
6517
  exports.createNotificationRuleBodyFeaturesItemMaxOne = 64;
6217
- exports.createNotificationRuleBodyFeaturesItemRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6518
+ exports.createNotificationRuleBodyFeaturesItemRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6519
+ exports.createNotificationRuleBodyNameMaxTwo = 256;
6218
6520
  exports.createNotificationRuleBodyDisabledDefaultTwo = false;
6219
- exports.createNotificationRuleBodyChannelsItemRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6521
+ exports.createNotificationRuleBodyChannelsItemRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6522
+ exports.createNotificationRuleBodyNameMaxThree = 256;
6220
6523
  exports.createNotificationRuleBodyDisabledDefaultThree = false;
6221
- exports.createNotificationRuleBodyChannelsItemRegExpThree = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6524
+ exports.createNotificationRuleBodyChannelsItemRegExpThree = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6222
6525
  exports.createNotificationRuleBody = zod_1.z
6223
6526
  .union([
6224
6527
  zod_1.z
@@ -6244,8 +6547,15 @@ exports.createNotificationRuleBody = zod_1.z
6244
6547
  .min(1)
6245
6548
  .optional()
6246
6549
  .describe('Optional field for defining the scope of notification by feature. It may contain features by id or key.'),
6550
+ metadata: zod_1.z
6551
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6552
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6553
+ .nullish()
6554
+ .describe('Additional metadata for the resource.'),
6247
6555
  name: zod_1.z.coerce
6248
6556
  .string()
6557
+ .min(1)
6558
+ .max(exports.createNotificationRuleBodyNameMax)
6249
6559
  .describe('The user friendly name of the notification rule.'),
6250
6560
  thresholds: zod_1.z
6251
6561
  .array(zod_1.z
@@ -6292,8 +6602,15 @@ exports.createNotificationRuleBody = zod_1.z
6292
6602
  .min(1)
6293
6603
  .optional()
6294
6604
  .describe('Optional field for defining the scope of notification by feature. It may contain features by id or key.'),
6605
+ metadata: zod_1.z
6606
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6607
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6608
+ .nullish()
6609
+ .describe('Additional metadata for the resource.'),
6295
6610
  name: zod_1.z.coerce
6296
6611
  .string()
6612
+ .min(1)
6613
+ .max(exports.createNotificationRuleBodyNameMaxOne)
6297
6614
  .describe('The user friendly name of the notification rule.'),
6298
6615
  type: zod_1.z.enum(['entitlements.reset']),
6299
6616
  })
@@ -6311,8 +6628,15 @@ exports.createNotificationRuleBody = zod_1.z
6311
6628
  .boolean()
6312
6629
  .optional()
6313
6630
  .describe('Whether the rule is disabled or not.'),
6631
+ metadata: zod_1.z
6632
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6633
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6634
+ .nullish()
6635
+ .describe('Additional metadata for the resource.'),
6314
6636
  name: zod_1.z.coerce
6315
6637
  .string()
6638
+ .min(1)
6639
+ .max(exports.createNotificationRuleBodyNameMaxTwo)
6316
6640
  .describe('The user friendly name of the notification rule.'),
6317
6641
  type: zod_1.z.enum(['invoice.created']),
6318
6642
  })
@@ -6330,8 +6654,15 @@ exports.createNotificationRuleBody = zod_1.z
6330
6654
  .boolean()
6331
6655
  .optional()
6332
6656
  .describe('Whether the rule is disabled or not.'),
6657
+ metadata: zod_1.z
6658
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6659
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6660
+ .nullish()
6661
+ .describe('Additional metadata for the resource.'),
6333
6662
  name: zod_1.z.coerce
6334
6663
  .string()
6664
+ .min(1)
6665
+ .max(exports.createNotificationRuleBodyNameMaxThree)
6335
6666
  .describe('The user friendly name of the notification rule.'),
6336
6667
  type: zod_1.z.enum(['invoice.updated']),
6337
6668
  })
@@ -6342,23 +6673,27 @@ exports.createNotificationRuleBody = zod_1.z
6342
6673
  * Update notification rule.
6343
6674
  * @summary Update a notification rule
6344
6675
  */
6345
- exports.updateNotificationRulePathRuleIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6676
+ exports.updateNotificationRulePathRuleIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6346
6677
  exports.updateNotificationRuleParams = zod_1.z.object({
6347
6678
  ruleId: zod_1.z.coerce.string().regex(exports.updateNotificationRulePathRuleIdRegExp),
6348
6679
  });
6680
+ exports.updateNotificationRuleBodyNameMax = 256;
6349
6681
  exports.updateNotificationRuleBodyDisabledDefault = false;
6350
6682
  exports.updateNotificationRuleBodyThresholdsMax = 10;
6351
- exports.updateNotificationRuleBodyChannelsItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6683
+ exports.updateNotificationRuleBodyChannelsItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6352
6684
  exports.updateNotificationRuleBodyFeaturesItemMax = 64;
6353
- exports.updateNotificationRuleBodyFeaturesItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6685
+ exports.updateNotificationRuleBodyFeaturesItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6686
+ exports.updateNotificationRuleBodyNameMaxOne = 256;
6354
6687
  exports.updateNotificationRuleBodyDisabledDefaultOne = false;
6355
- exports.updateNotificationRuleBodyChannelsItemRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6688
+ exports.updateNotificationRuleBodyChannelsItemRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6356
6689
  exports.updateNotificationRuleBodyFeaturesItemMaxOne = 64;
6357
- exports.updateNotificationRuleBodyFeaturesItemRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6690
+ exports.updateNotificationRuleBodyFeaturesItemRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6691
+ exports.updateNotificationRuleBodyNameMaxTwo = 256;
6358
6692
  exports.updateNotificationRuleBodyDisabledDefaultTwo = false;
6359
- exports.updateNotificationRuleBodyChannelsItemRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6693
+ exports.updateNotificationRuleBodyChannelsItemRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6694
+ exports.updateNotificationRuleBodyNameMaxThree = 256;
6360
6695
  exports.updateNotificationRuleBodyDisabledDefaultThree = false;
6361
- exports.updateNotificationRuleBodyChannelsItemRegExpThree = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6696
+ exports.updateNotificationRuleBodyChannelsItemRegExpThree = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6362
6697
  exports.updateNotificationRuleBody = zod_1.z
6363
6698
  .union([
6364
6699
  zod_1.z
@@ -6384,8 +6719,15 @@ exports.updateNotificationRuleBody = zod_1.z
6384
6719
  .min(1)
6385
6720
  .optional()
6386
6721
  .describe('Optional field for defining the scope of notification by feature. It may contain features by id or key.'),
6722
+ metadata: zod_1.z
6723
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6724
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6725
+ .nullish()
6726
+ .describe('Additional metadata for the resource.'),
6387
6727
  name: zod_1.z.coerce
6388
6728
  .string()
6729
+ .min(1)
6730
+ .max(exports.updateNotificationRuleBodyNameMax)
6389
6731
  .describe('The user friendly name of the notification rule.'),
6390
6732
  thresholds: zod_1.z
6391
6733
  .array(zod_1.z
@@ -6432,8 +6774,15 @@ exports.updateNotificationRuleBody = zod_1.z
6432
6774
  .min(1)
6433
6775
  .optional()
6434
6776
  .describe('Optional field for defining the scope of notification by feature. It may contain features by id or key.'),
6777
+ metadata: zod_1.z
6778
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6779
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6780
+ .nullish()
6781
+ .describe('Additional metadata for the resource.'),
6435
6782
  name: zod_1.z.coerce
6436
6783
  .string()
6784
+ .min(1)
6785
+ .max(exports.updateNotificationRuleBodyNameMaxOne)
6437
6786
  .describe('The user friendly name of the notification rule.'),
6438
6787
  type: zod_1.z.enum(['entitlements.reset']),
6439
6788
  })
@@ -6451,8 +6800,15 @@ exports.updateNotificationRuleBody = zod_1.z
6451
6800
  .boolean()
6452
6801
  .optional()
6453
6802
  .describe('Whether the rule is disabled or not.'),
6803
+ metadata: zod_1.z
6804
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6805
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6806
+ .nullish()
6807
+ .describe('Additional metadata for the resource.'),
6454
6808
  name: zod_1.z.coerce
6455
6809
  .string()
6810
+ .min(1)
6811
+ .max(exports.updateNotificationRuleBodyNameMaxTwo)
6456
6812
  .describe('The user friendly name of the notification rule.'),
6457
6813
  type: zod_1.z.enum(['invoice.created']),
6458
6814
  })
@@ -6470,8 +6826,15 @@ exports.updateNotificationRuleBody = zod_1.z
6470
6826
  .boolean()
6471
6827
  .optional()
6472
6828
  .describe('Whether the rule is disabled or not.'),
6829
+ metadata: zod_1.z
6830
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
6831
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
6832
+ .nullish()
6833
+ .describe('Additional metadata for the resource.'),
6473
6834
  name: zod_1.z.coerce
6474
6835
  .string()
6836
+ .min(1)
6837
+ .max(exports.updateNotificationRuleBodyNameMaxThree)
6475
6838
  .describe('The user friendly name of the notification rule.'),
6476
6839
  type: zod_1.z.enum(['invoice.updated']),
6477
6840
  })
@@ -6482,7 +6845,7 @@ exports.updateNotificationRuleBody = zod_1.z
6482
6845
  * Get a notification rule by id.
6483
6846
  * @summary Get notification rule
6484
6847
  */
6485
- exports.getNotificationRulePathRuleIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6848
+ exports.getNotificationRulePathRuleIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6486
6849
  exports.getNotificationRuleParams = zod_1.z.object({
6487
6850
  ruleId: zod_1.z.coerce.string().regex(exports.getNotificationRulePathRuleIdRegExp),
6488
6851
  });
@@ -6492,7 +6855,7 @@ exports.getNotificationRuleParams = zod_1.z.object({
6492
6855
  Once a notification rule is deleted it cannot be undeleted.
6493
6856
  * @summary Delete a notification rule
6494
6857
  */
6495
- exports.deleteNotificationRulePathRuleIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6858
+ exports.deleteNotificationRulePathRuleIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6496
6859
  exports.deleteNotificationRuleParams = zod_1.z.object({
6497
6860
  ruleId: zod_1.z.coerce.string().regex(exports.deleteNotificationRulePathRuleIdRegExp),
6498
6861
  });
@@ -6500,7 +6863,7 @@ exports.deleteNotificationRuleParams = zod_1.z.object({
6500
6863
  * Test a notification rule by sending a test event with random data.
6501
6864
  * @summary Test notification rule
6502
6865
  */
6503
- exports.testNotificationRulePathRuleIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6866
+ exports.testNotificationRulePathRuleIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6504
6867
  exports.testNotificationRuleParams = zod_1.z.object({
6505
6868
  ruleId: zod_1.z.coerce.string().regex(exports.testNotificationRulePathRuleIdRegExp),
6506
6869
  });
@@ -6509,12 +6872,12 @@ exports.testNotificationRuleParams = zod_1.z.object({
6509
6872
  * @summary List plans
6510
6873
  */
6511
6874
  exports.listPlansQueryIncludeDeletedDefault = false;
6512
- exports.listPlansQueryIdItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
6875
+ exports.listPlansQueryIdItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
6513
6876
  exports.listPlansQueryKeyItemMax = 64;
6514
- exports.listPlansQueryKeyItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6877
+ exports.listPlansQueryKeyItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6515
6878
  exports.listPlansQueryCurrencyItemMin = 3;
6516
6879
  exports.listPlansQueryCurrencyItemMax = 3;
6517
- exports.listPlansQueryCurrencyItemRegExp = new RegExp('^[A-Z]{3}$');
6880
+ exports.listPlansQueryCurrencyItemRegExp = /^[A-Z]{3}$/;
6518
6881
  exports.listPlansQueryPageDefault = 1;
6519
6882
  exports.listPlansQueryPageSizeDefault = 100;
6520
6883
  exports.listPlansQueryPageSizeMax = 1000;
@@ -6582,10 +6945,10 @@ exports.listPlansQueryParams = zod_1.z.object({
6582
6945
  exports.createPlanBodyNameMax = 256;
6583
6946
  exports.createPlanBodyDescriptionMax = 1024;
6584
6947
  exports.createPlanBodyKeyMax = 64;
6585
- exports.createPlanBodyKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6948
+ exports.createPlanBodyKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6586
6949
  exports.createPlanBodyCurrencyMinOne = 3;
6587
6950
  exports.createPlanBodyCurrencyMaxOne = 3;
6588
- exports.createPlanBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
6951
+ exports.createPlanBodyCurrencyRegExpOne = /^[A-Z]{3}$/;
6589
6952
  exports.createPlanBodyCurrencyDefault = 'USD';
6590
6953
  exports.createPlanBodyProRatingConfigEnabledDefault = true;
6591
6954
  exports.createPlanBodyProRatingConfigModeDefault = 'prorate_prices';
@@ -6594,55 +6957,55 @@ exports.createPlanBodyProRatingConfigDefault = {
6594
6957
  mode: 'prorate_prices',
6595
6958
  };
6596
6959
  exports.createPlanBodyPhasesItemKeyMax = 64;
6597
- exports.createPlanBodyPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6960
+ exports.createPlanBodyPhasesItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6598
6961
  exports.createPlanBodyPhasesItemNameMax = 256;
6599
6962
  exports.createPlanBodyPhasesItemDescriptionMax = 1024;
6600
6963
  exports.createPlanBodyPhasesItemRateCardsItemKeyMax = 64;
6601
- exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6964
+ exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6602
6965
  exports.createPlanBodyPhasesItemRateCardsItemNameMax = 256;
6603
6966
  exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = 1024;
6604
6967
  exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = 64;
6605
- exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6968
+ exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6606
6969
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
6607
6970
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
6608
6971
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
6609
6972
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
6610
6973
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
6611
- exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
6612
- exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6974
+ exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
6975
+ exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6613
6976
  exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = 'in_advance';
6614
- exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6977
+ exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6615
6978
  exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = 64;
6616
- exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6979
+ exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6617
6980
  exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = 256;
6618
6981
  exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = 1024;
6619
6982
  exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = 64;
6620
- exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6983
+ exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
6621
6984
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
6622
6985
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
6623
6986
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
6624
6987
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
6625
6988
  exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
6626
- exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
6627
- exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6989
+ exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
6990
+ exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
6628
6991
  exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
6629
- exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6630
- exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6631
- exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6632
- exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6633
- exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6634
- exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6635
- exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6636
- exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6637
- exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6992
+ exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
6993
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6994
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6995
+ exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6996
+ exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6997
+ exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6998
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
6999
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
7000
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
6638
7001
  exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = '1';
6639
- exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6640
- exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6641
- exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6642
- exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6643
- exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6644
- exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
6645
- exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7002
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
7003
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
7004
+ exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7005
+ exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7006
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7007
+ exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7008
+ exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
6646
7009
  exports.createPlanBody = zod_1.z
6647
7010
  .object({
6648
7011
  alignment: zod_1.z
@@ -6657,7 +7020,7 @@ exports.createPlanBody = zod_1.z
6657
7020
  .describe('Alignment configuration for the plan.'),
6658
7021
  billingCadence: zod_1.z.coerce
6659
7022
  .string()
6660
- .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
7023
+ .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).'),
6661
7024
  currency: zod_1.z.coerce
6662
7025
  .string()
6663
7026
  .min(exports.createPlanBodyCurrencyMinOne)
@@ -6767,7 +7130,7 @@ exports.createPlanBody = zod_1.z
6767
7130
  .number()
6768
7131
  .min(exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin)
6769
7132
  .optional()
6770
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
7133
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
6771
7134
  issueAfterResetPriority: zod_1.z.coerce
6772
7135
  .number()
6773
7136
  .min(1)
@@ -6939,7 +7302,7 @@ exports.createPlanBody = zod_1.z
6939
7302
  .number()
6940
7303
  .min(exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
6941
7304
  .optional()
6942
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
7305
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
6943
7306
  issueAfterResetPriority: zod_1.z.coerce
6944
7307
  .number()
6945
7308
  .min(1)
@@ -7229,7 +7592,7 @@ It returns error if there is already a plan in draft or planId does not referenc
7229
7592
  * @summary New draft plan
7230
7593
  */
7231
7594
  exports.nextPlanPathPlanIdOrKeyMax = 64;
7232
- exports.nextPlanPathPlanIdOrKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
7595
+ exports.nextPlanPathPlanIdOrKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7233
7596
  exports.nextPlanParams = zod_1.z.object({
7234
7597
  planIdOrKey: zod_1.z.coerce
7235
7598
  .string()
@@ -7241,7 +7604,7 @@ exports.nextPlanParams = zod_1.z.object({
7241
7604
  * Update plan by id.
7242
7605
  * @summary Update a plan
7243
7606
  */
7244
- exports.updatePlanPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
7607
+ exports.updatePlanPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7245
7608
  exports.updatePlanParams = zod_1.z.object({
7246
7609
  planId: zod_1.z.coerce.string().regex(exports.updatePlanPathPlanIdRegExp),
7247
7610
  });
@@ -7254,55 +7617,55 @@ exports.updatePlanBodyProRatingConfigDefault = {
7254
7617
  mode: 'prorate_prices',
7255
7618
  };
7256
7619
  exports.updatePlanBodyPhasesItemKeyMax = 64;
7257
- exports.updatePlanBodyPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
7620
+ exports.updatePlanBodyPhasesItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7258
7621
  exports.updatePlanBodyPhasesItemNameMax = 256;
7259
7622
  exports.updatePlanBodyPhasesItemDescriptionMax = 1024;
7260
7623
  exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = 64;
7261
- exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
7624
+ exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7262
7625
  exports.updatePlanBodyPhasesItemRateCardsItemNameMax = 256;
7263
7626
  exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = 1024;
7264
7627
  exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = 64;
7265
- exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
7628
+ exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7266
7629
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
7267
7630
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
7268
7631
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
7269
7632
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
7270
7633
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
7271
- exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
7272
- exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7634
+ exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
7635
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7273
7636
  exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = 'in_advance';
7274
- exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7637
+ exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7275
7638
  exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = 64;
7276
- exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
7639
+ exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7277
7640
  exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = 256;
7278
7641
  exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = 1024;
7279
7642
  exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = 64;
7280
- exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
7643
+ exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7281
7644
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
7282
7645
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
7283
7646
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
7284
7647
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
7285
7648
  exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
7286
- exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
7287
- exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7649
+ exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
7650
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
7288
7651
  exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
7289
- exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7290
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7291
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7292
- exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7293
- exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7294
- exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7295
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7296
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7297
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7652
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
7653
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7654
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7655
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7656
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7657
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7658
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
7659
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
7660
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7298
7661
  exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = '1';
7299
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7300
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7301
- exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7302
- exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7303
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7304
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7305
- exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
7662
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
7663
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
7664
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7665
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
7666
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7667
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
7668
+ exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
7306
7669
  exports.updatePlanBody = zod_1.z
7307
7670
  .object({
7308
7671
  alignment: zod_1.z
@@ -7317,7 +7680,7 @@ exports.updatePlanBody = zod_1.z
7317
7680
  .describe('Alignment configuration for the plan.'),
7318
7681
  billingCadence: zod_1.z.coerce
7319
7682
  .string()
7320
- .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
7683
+ .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).'),
7321
7684
  description: zod_1.z.coerce
7322
7685
  .string()
7323
7686
  .max(exports.updatePlanBodyDescriptionMax)
@@ -7414,7 +7777,7 @@ exports.updatePlanBody = zod_1.z
7414
7777
  .number()
7415
7778
  .min(exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin)
7416
7779
  .optional()
7417
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
7780
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
7418
7781
  issueAfterResetPriority: zod_1.z.coerce
7419
7782
  .number()
7420
7783
  .min(1)
@@ -7586,7 +7949,7 @@ exports.updatePlanBody = zod_1.z
7586
7949
  .number()
7587
7950
  .min(exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
7588
7951
  .optional()
7589
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
7952
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
7590
7953
  issueAfterResetPriority: zod_1.z.coerce
7591
7954
  .number()
7592
7955
  .min(1)
@@ -7874,7 +8237,7 @@ exports.updatePlanBody = zod_1.z
7874
8237
  * @summary Get plan
7875
8238
  */
7876
8239
  exports.getPlanPathPlanIdMax = 64;
7877
- exports.getPlanPathPlanIdRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8240
+ exports.getPlanPathPlanIdRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7878
8241
  exports.getPlanParams = zod_1.z.object({
7879
8242
  planId: zod_1.z.coerce
7880
8243
  .string()
@@ -7895,7 +8258,7 @@ exports.getPlanQueryParams = zod_1.z.object({
7895
8258
  Once a plan is deleted it cannot be undeleted.
7896
8259
  * @summary Delete plan
7897
8260
  */
7898
- exports.deletePlanPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8261
+ exports.deletePlanPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7899
8262
  exports.deletePlanParams = zod_1.z.object({
7900
8263
  planId: zod_1.z.coerce.string().regex(exports.deletePlanPathPlanIdRegExp),
7901
8264
  });
@@ -7904,7 +8267,7 @@ exports.deletePlanParams = zod_1.z.object({
7904
8267
  * @summary List all available add-ons for plan
7905
8268
  */
7906
8269
  exports.listPlanAddonsPathPlanIdMax = 64;
7907
- exports.listPlanAddonsPathPlanIdRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8270
+ exports.listPlanAddonsPathPlanIdRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7908
8271
  exports.listPlanAddonsParams = zod_1.z.object({
7909
8272
  planId: zod_1.z.coerce
7910
8273
  .string()
@@ -7913,9 +8276,9 @@ exports.listPlanAddonsParams = zod_1.z.object({
7913
8276
  .regex(exports.listPlanAddonsPathPlanIdRegExp),
7914
8277
  });
7915
8278
  exports.listPlanAddonsQueryIncludeDeletedDefault = false;
7916
- exports.listPlanAddonsQueryIdItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8279
+ exports.listPlanAddonsQueryIdItemRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7917
8280
  exports.listPlanAddonsQueryKeyItemMax = 64;
7918
- exports.listPlanAddonsQueryKeyItemRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8281
+ exports.listPlanAddonsQueryKeyItemRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
7919
8282
  exports.listPlanAddonsQueryPageDefault = 1;
7920
8283
  exports.listPlanAddonsQueryPageSizeDefault = 100;
7921
8284
  exports.listPlanAddonsQueryPageSizeMax = 1000;
@@ -7965,11 +8328,11 @@ exports.listPlanAddonsQueryParams = zod_1.z.object({
7965
8328
  * Create new add-on assignment for plan.
7966
8329
  * @summary Create new add-on assignment for plan
7967
8330
  */
7968
- exports.createPlanAddonPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8331
+ exports.createPlanAddonPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7969
8332
  exports.createPlanAddonParams = zod_1.z.object({
7970
8333
  planId: zod_1.z.coerce.string().regex(exports.createPlanAddonPathPlanIdRegExp),
7971
8334
  });
7972
- exports.createPlanAddonBodyAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8335
+ exports.createPlanAddonBodyAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7973
8336
  exports.createPlanAddonBody = zod_1.z
7974
8337
  .object({
7975
8338
  addonId: zod_1.z.coerce
@@ -7994,8 +8357,8 @@ exports.createPlanAddonBody = zod_1.z
7994
8357
  * Update add-on assignment for plan.
7995
8358
  * @summary Update add-on assignment for plan
7996
8359
  */
7997
- exports.updatePlanAddonPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
7998
- exports.updatePlanAddonPathPlanAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8360
+ exports.updatePlanAddonPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8361
+ exports.updatePlanAddonPathPlanAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
7999
8362
  exports.updatePlanAddonParams = zod_1.z.object({
8000
8363
  planAddonId: zod_1.z.coerce.string().regex(exports.updatePlanAddonPathPlanAddonIdRegExp),
8001
8364
  planId: zod_1.z.coerce.string().regex(exports.updatePlanAddonPathPlanIdRegExp),
@@ -8021,9 +8384,9 @@ exports.updatePlanAddonBody = zod_1.z
8021
8384
  * @summary Get add-on assignment for plan
8022
8385
  */
8023
8386
  exports.getPlanAddonPathPlanIdMax = 64;
8024
- exports.getPlanAddonPathPlanIdRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8387
+ exports.getPlanAddonPathPlanIdRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8025
8388
  exports.getPlanAddonPathPlanAddonIdMax = 64;
8026
- exports.getPlanAddonPathPlanAddonIdRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8389
+ exports.getPlanAddonPathPlanAddonIdRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8027
8390
  exports.getPlanAddonParams = zod_1.z.object({
8028
8391
  planAddonId: zod_1.z.coerce
8029
8392
  .string()
@@ -8042,8 +8405,8 @@ exports.getPlanAddonParams = zod_1.z.object({
8042
8405
  Once a plan is deleted it cannot be undeleted.
8043
8406
  * @summary Delete add-on assignment for plan
8044
8407
  */
8045
- exports.deletePlanAddonPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8046
- exports.deletePlanAddonPathPlanAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8408
+ exports.deletePlanAddonPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8409
+ exports.deletePlanAddonPathPlanAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8047
8410
  exports.deletePlanAddonParams = zod_1.z.object({
8048
8411
  planAddonId: zod_1.z.coerce.string().regex(exports.deletePlanAddonPathPlanAddonIdRegExp),
8049
8412
  planId: zod_1.z.coerce.string().regex(exports.deletePlanAddonPathPlanIdRegExp),
@@ -8052,7 +8415,7 @@ exports.deletePlanAddonParams = zod_1.z.object({
8052
8415
  * Archive a plan version.
8053
8416
  * @summary Archive plan version
8054
8417
  */
8055
- exports.archivePlanPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8418
+ exports.archivePlanPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8056
8419
  exports.archivePlanParams = zod_1.z.object({
8057
8420
  planId: zod_1.z.coerce.string().regex(exports.archivePlanPathPlanIdRegExp),
8058
8421
  });
@@ -8060,7 +8423,7 @@ exports.archivePlanParams = zod_1.z.object({
8060
8423
  * Publish a plan version.
8061
8424
  * @summary Publish plan
8062
8425
  */
8063
- exports.publishPlanPathPlanIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8426
+ exports.publishPlanPathPlanIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8064
8427
  exports.publishPlanParams = zod_1.z.object({
8065
8428
  planId: zod_1.z.coerce.string().regex(exports.publishPlanPathPlanIdRegExp),
8066
8429
  });
@@ -8069,7 +8432,7 @@ exports.publishPlanParams = zod_1.z.object({
8069
8432
  * @summary Query meter Query meter
8070
8433
  */
8071
8434
  exports.queryPortalMeterPathMeterSlugMax = 64;
8072
- exports.queryPortalMeterPathMeterSlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8435
+ exports.queryPortalMeterPathMeterSlugRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
8073
8436
  exports.queryPortalMeterParams = zod_1.z.object({
8074
8437
  meterSlug: zod_1.z.coerce
8075
8438
  .string()
@@ -8161,21 +8524,21 @@ exports.invalidatePortalTokensBody = zod_1.z.object({
8161
8524
  * Create checkout session.
8162
8525
  * @summary Create checkout session
8163
8526
  */
8164
- exports.createStripeCheckoutSessionBodyAppIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8165
- exports.createStripeCheckoutSessionBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8527
+ exports.createStripeCheckoutSessionBodyAppIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8528
+ exports.createStripeCheckoutSessionBodyCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8166
8529
  exports.createStripeCheckoutSessionBodyCustomerNameMax = 256;
8167
8530
  exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = 1024;
8168
8531
  exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = 256;
8169
8532
  exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = 1;
8170
8533
  exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = 3;
8171
8534
  exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = 3;
8172
- exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
8535
+ exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = /^[A-Z]{3}$/;
8173
8536
  exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = 2;
8174
8537
  exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = 2;
8175
- exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = new RegExp('^[A-Z]{2}$');
8538
+ exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = /^[A-Z]{2}$/;
8176
8539
  exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = 3;
8177
8540
  exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = 3;
8178
- exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
8541
+ exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = /^[A-Z]{3}$/;
8179
8542
  exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = 1200;
8180
8543
  exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = 1200;
8181
8544
  exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = 1200;
@@ -8275,7 +8638,10 @@ exports.createStripeCheckoutSessionBody = zod_1.z
8275
8638
  usageAttribution: zod_1.z
8276
8639
  .object({
8277
8640
  subjectKeys: zod_1.z
8278
- .array(zod_1.z.coerce.string())
8641
+ .array(zod_1.z.coerce
8642
+ .string()
8643
+ .min(1)
8644
+ .describe('SubjectKey is a key that is used to identify a subject.'))
8279
8645
  .min(1)
8280
8646
  .max(exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax)
8281
8647
  .describe('The subjects that are attributed to the customer.'),
@@ -8517,20 +8883,23 @@ exports.createEntitlementParams = zod_1.z.object({
8517
8883
  subjectIdOrKey: zod_1.z.coerce.string(),
8518
8884
  });
8519
8885
  exports.createEntitlementBodyFeatureKeyMax = 64;
8520
- exports.createEntitlementBodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8521
- exports.createEntitlementBodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8886
+ exports.createEntitlementBodyFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
8887
+ exports.createEntitlementBodyFeatureIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8522
8888
  exports.createEntitlementBodyIsSoftLimitDefault = false;
8523
8889
  exports.createEntitlementBodyIsUnlimitedDefault = false;
8890
+ exports.createEntitlementBodyUsagePeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8524
8891
  exports.createEntitlementBodyIssueAfterResetMin = 0;
8525
8892
  exports.createEntitlementBodyIssueAfterResetPriorityDefault = 1;
8526
8893
  exports.createEntitlementBodyIssueAfterResetPriorityMax = 255;
8527
8894
  exports.createEntitlementBodyPreserveOverageAtResetDefault = false;
8528
8895
  exports.createEntitlementBodyFeatureKeyMaxOne = 64;
8529
- exports.createEntitlementBodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8530
- exports.createEntitlementBodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8896
+ exports.createEntitlementBodyFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
8897
+ exports.createEntitlementBodyFeatureIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8898
+ exports.createEntitlementBodyUsagePeriodIntervalRegExpSix = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8531
8899
  exports.createEntitlementBodyFeatureKeyMaxTwo = 64;
8532
- exports.createEntitlementBodyFeatureKeyRegExpTwo = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8533
- exports.createEntitlementBodyFeatureIdRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
8900
+ exports.createEntitlementBodyFeatureKeyRegExpTwo = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
8901
+ exports.createEntitlementBodyFeatureIdRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8902
+ exports.createEntitlementBodyUsagePeriodIntervalRegExpOnezero = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8534
8903
  exports.createEntitlementBody = zod_1.z
8535
8904
  .union([
8536
8905
  zod_1.z
@@ -8555,7 +8924,7 @@ exports.createEntitlementBody = zod_1.z
8555
8924
  .number()
8556
8925
  .min(exports.createEntitlementBodyIssueAfterResetMin)
8557
8926
  .optional()
8558
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
8927
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
8559
8928
  issueAfterResetPriority: zod_1.z.coerce
8560
8929
  .number()
8561
8930
  .min(1)
@@ -8598,7 +8967,7 @@ exports.createEntitlementBody = zod_1.z
8598
8967
  .union([
8599
8968
  zod_1.z.coerce
8600
8969
  .string()
8601
- .regex(createEntitlementBodyUsagePeriodIntervalRegExpTwo),
8970
+ .regex(exports.createEntitlementBodyUsagePeriodIntervalRegExpTwo),
8602
8971
  zod_1.z
8603
8972
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8604
8973
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8643,7 +9012,7 @@ exports.createEntitlementBody = zod_1.z
8643
9012
  .union([
8644
9013
  zod_1.z.coerce
8645
9014
  .string()
8646
- .regex(createEntitlementBodyUsagePeriodIntervalRegExpSix),
9015
+ .regex(exports.createEntitlementBodyUsagePeriodIntervalRegExpSix),
8647
9016
  zod_1.z
8648
9017
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8649
9018
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8686,7 +9055,7 @@ exports.createEntitlementBody = zod_1.z
8686
9055
  .union([
8687
9056
  zod_1.z.coerce
8688
9057
  .string()
8689
- .regex(createEntitlementBodyUsagePeriodIntervalRegExpOnezero),
9058
+ .regex(exports.createEntitlementBodyUsagePeriodIntervalRegExpOnezero),
8690
9059
  zod_1.z
8691
9060
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8692
9061
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8748,6 +9117,7 @@ exports.createGrantBodyPriorityMax = 255;
8748
9117
  exports.createGrantBodyExpirationCountMax = 1000;
8749
9118
  exports.createGrantBodyMaxRolloverAmountDefault = 0;
8750
9119
  exports.createGrantBodyMinRolloverAmountDefault = 0;
9120
+ exports.createGrantBodyRecurrenceIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8751
9121
  exports.createGrantBody = zod_1.z
8752
9122
  .object({
8753
9123
  amount: zod_1.z.coerce
@@ -8800,7 +9170,7 @@ exports.createGrantBody = zod_1.z
8800
9170
  .union([
8801
9171
  zod_1.z.coerce
8802
9172
  .string()
8803
- .regex(createGrantBodyRecurrenceIntervalRegExpTwo),
9173
+ .regex(exports.createGrantBodyRecurrenceIntervalRegExpTwo),
8804
9174
  zod_1.z
8805
9175
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8806
9176
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8824,20 +9194,23 @@ exports.overrideEntitlementParams = zod_1.z.object({
8824
9194
  subjectIdOrKey: zod_1.z.coerce.string(),
8825
9195
  });
8826
9196
  exports.overrideEntitlementBodyFeatureKeyMax = 64;
8827
- exports.overrideEntitlementBodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8828
- exports.overrideEntitlementBodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
9197
+ exports.overrideEntitlementBodyFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9198
+ exports.overrideEntitlementBodyFeatureIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
8829
9199
  exports.overrideEntitlementBodyIsSoftLimitDefault = false;
8830
9200
  exports.overrideEntitlementBodyIsUnlimitedDefault = false;
9201
+ exports.overrideEntitlementBodyUsagePeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8831
9202
  exports.overrideEntitlementBodyIssueAfterResetMin = 0;
8832
9203
  exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = 1;
8833
9204
  exports.overrideEntitlementBodyIssueAfterResetPriorityMax = 255;
8834
9205
  exports.overrideEntitlementBodyPreserveOverageAtResetDefault = false;
8835
9206
  exports.overrideEntitlementBodyFeatureKeyMaxOne = 64;
8836
- exports.overrideEntitlementBodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8837
- exports.overrideEntitlementBodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
9207
+ exports.overrideEntitlementBodyFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9208
+ exports.overrideEntitlementBodyFeatureIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9209
+ exports.overrideEntitlementBodyUsagePeriodIntervalRegExpSix = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8838
9210
  exports.overrideEntitlementBodyFeatureKeyMaxTwo = 64;
8839
- exports.overrideEntitlementBodyFeatureKeyRegExpTwo = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
8840
- exports.overrideEntitlementBodyFeatureIdRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
9211
+ exports.overrideEntitlementBodyFeatureKeyRegExpTwo = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9212
+ exports.overrideEntitlementBodyFeatureIdRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9213
+ exports.overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
8841
9214
  exports.overrideEntitlementBody = zod_1.z
8842
9215
  .union([
8843
9216
  zod_1.z
@@ -8862,7 +9235,7 @@ exports.overrideEntitlementBody = zod_1.z
8862
9235
  .number()
8863
9236
  .min(exports.overrideEntitlementBodyIssueAfterResetMin)
8864
9237
  .optional()
8865
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
9238
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
8866
9239
  issueAfterResetPriority: zod_1.z.coerce
8867
9240
  .number()
8868
9241
  .min(1)
@@ -8905,7 +9278,7 @@ exports.overrideEntitlementBody = zod_1.z
8905
9278
  .union([
8906
9279
  zod_1.z.coerce
8907
9280
  .string()
8908
- .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpTwo),
9281
+ .regex(exports.overrideEntitlementBodyUsagePeriodIntervalRegExpTwo),
8909
9282
  zod_1.z
8910
9283
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8911
9284
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8950,7 +9323,7 @@ exports.overrideEntitlementBody = zod_1.z
8950
9323
  .union([
8951
9324
  zod_1.z.coerce
8952
9325
  .string()
8953
- .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpSix),
9326
+ .regex(exports.overrideEntitlementBodyUsagePeriodIntervalRegExpSix),
8954
9327
  zod_1.z
8955
9328
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8956
9329
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8993,7 +9366,7 @@ exports.overrideEntitlementBody = zod_1.z
8993
9366
  .union([
8994
9367
  zod_1.z.coerce
8995
9368
  .string()
8996
- .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero),
9369
+ .regex(exports.overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero),
8997
9370
  zod_1.z
8998
9371
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8999
9372
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -9098,15 +9471,15 @@ exports.resetEntitlementUsageBody = zod_1.z
9098
9471
  * @summary Create subscription
9099
9472
  */
9100
9473
  exports.createSubscriptionBodyPlanKeyMax = 64;
9101
- exports.createSubscriptionBodyPlanKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9474
+ exports.createSubscriptionBodyPlanKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9102
9475
  exports.createSubscriptionBodyTimingDefault = 'immediate';
9103
- exports.createSubscriptionBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
9476
+ exports.createSubscriptionBodyCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9104
9477
  exports.createSubscriptionBodyCustomerKeyMax = 256;
9105
9478
  exports.createSubscriptionBodyCustomPlanNameMax = 256;
9106
9479
  exports.createSubscriptionBodyCustomPlanDescriptionMax = 1024;
9107
9480
  exports.createSubscriptionBodyCustomPlanCurrencyMinOne = 3;
9108
9481
  exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = 3;
9109
- exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
9482
+ exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = /^[A-Z]{3}$/;
9110
9483
  exports.createSubscriptionBodyCustomPlanCurrencyDefault = 'USD';
9111
9484
  exports.createSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = true;
9112
9485
  exports.createSubscriptionBodyCustomPlanProRatingConfigModeDefault = 'prorate_prices';
@@ -9115,57 +9488,57 @@ exports.createSubscriptionBodyCustomPlanProRatingConfigDefault = {
9115
9488
  mode: 'prorate_prices',
9116
9489
  };
9117
9490
  exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = 64;
9118
- exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9491
+ exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9119
9492
  exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = 256;
9120
9493
  exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = 1024;
9121
9494
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = 64;
9122
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9495
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9123
9496
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = 256;
9124
9497
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = 1024;
9125
9498
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = 64;
9126
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9499
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9127
9500
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
9128
9501
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
9129
9502
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
9130
9503
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
9131
9504
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
9132
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
9133
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9505
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
9506
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9134
9507
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = 'in_advance';
9135
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9508
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9136
9509
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = 64;
9137
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9510
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9138
9511
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = 256;
9139
9512
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = 1024;
9140
9513
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = 64;
9141
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
9514
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9142
9515
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
9143
9516
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
9144
9517
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
9145
9518
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
9146
9519
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
9147
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
9148
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9520
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
9521
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
9149
9522
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
9150
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9151
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9152
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9153
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9154
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9155
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9156
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9157
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9158
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9523
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
9524
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9525
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9526
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9527
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9528
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9529
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
9530
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
9531
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9159
9532
  exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = '1';
9160
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9161
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9162
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9163
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9164
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9165
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9166
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9533
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
9534
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
9535
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
9536
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9537
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
9538
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
9539
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
9167
9540
  exports.createSubscriptionBodyTimingDefaultFour = 'immediate';
9168
- exports.createSubscriptionBodyCustomerIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
9541
+ exports.createSubscriptionBodyCustomerIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9169
9542
  exports.createSubscriptionBodyCustomerKeyMaxOne = 256;
9170
9543
  exports.createSubscriptionBody = zod_1.z
9171
9544
  .union([
@@ -9274,7 +9647,7 @@ exports.createSubscriptionBody = zod_1.z
9274
9647
  .describe('Alignment configuration for the plan.'),
9275
9648
  billingCadence: zod_1.z.coerce
9276
9649
  .string()
9277
- .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
9650
+ .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).'),
9278
9651
  currency: zod_1.z.coerce
9279
9652
  .string()
9280
9653
  .min(exports.createSubscriptionBodyCustomPlanCurrencyMinOne)
@@ -9378,7 +9751,7 @@ exports.createSubscriptionBody = zod_1.z
9378
9751
  .number()
9379
9752
  .min(exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin)
9380
9753
  .optional()
9381
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
9754
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
9382
9755
  issueAfterResetPriority: zod_1.z.coerce
9383
9756
  .number()
9384
9757
  .min(1)
@@ -9550,7 +9923,7 @@ exports.createSubscriptionBody = zod_1.z
9550
9923
  .number()
9551
9924
  .min(exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
9552
9925
  .optional()
9553
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
9926
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
9554
9927
  issueAfterResetPriority: zod_1.z.coerce
9555
9928
  .number()
9556
9929
  .min(1)
@@ -9854,7 +10227,7 @@ exports.createSubscriptionBody = zod_1.z
9854
10227
  /**
9855
10228
  * @summary Get subscription
9856
10229
  */
9857
- exports.getSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10230
+ exports.getSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9858
10231
  exports.getSubscriptionParams = zod_1.z.object({
9859
10232
  subscriptionId: zod_1.z.coerce
9860
10233
  .string()
@@ -9871,61 +10244,61 @@ exports.getSubscriptionQueryParams = zod_1.z.object({
9871
10244
  The key format is `/phases/{phaseKey}` or `/phases/{phaseKey}/items/{itemKey}`.
9872
10245
  * @summary Edit subscription
9873
10246
  */
9874
- exports.editSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10247
+ exports.editSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
9875
10248
  exports.editSubscriptionParams = zod_1.z.object({
9876
10249
  subscriptionId: zod_1.z.coerce
9877
10250
  .string()
9878
10251
  .regex(exports.editSubscriptionPathSubscriptionIdRegExp),
9879
10252
  });
9880
10253
  exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = 64;
9881
- exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
10254
+ exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9882
10255
  exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = 256;
9883
10256
  exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = 1024;
9884
10257
  exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = 64;
9885
- exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
10258
+ exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9886
10259
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = false;
9887
10260
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = 0;
9888
10261
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = 1;
9889
10262
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = 255;
9890
10263
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = false;
9891
- exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
9892
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10264
+ exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
10265
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9893
10266
  exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = 'in_advance';
9894
- exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10267
+ exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9895
10268
  exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = 64;
9896
- exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
10269
+ exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9897
10270
  exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = 256;
9898
10271
  exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = 1024;
9899
10272
  exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = 64;
9900
- exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
10273
+ exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9901
10274
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = false;
9902
10275
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = 0;
9903
10276
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
9904
10277
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
9905
10278
  exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
9906
- exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
9907
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10279
+ exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
10280
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
9908
10281
  exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
9909
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9910
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9911
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9912
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9913
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9914
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9915
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9916
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9917
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10282
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
10283
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10284
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10285
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10286
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10287
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10288
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
10289
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
10290
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9918
10291
  exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = '1';
9919
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9920
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9921
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9922
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9923
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9924
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9925
- exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
9926
- exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10292
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
10293
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
10294
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
10295
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10296
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
10297
+ exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
10298
+ exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
10299
+ exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
9927
10300
  exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = 64;
9928
- exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
10301
+ exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
9929
10302
  exports.editSubscriptionBodyCustomizationsMax = 100;
9930
10303
  exports.editSubscriptionBody = zod_1.z
9931
10304
  .object({
@@ -9988,7 +10361,7 @@ exports.editSubscriptionBody = zod_1.z
9988
10361
  .number()
9989
10362
  .min(exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin)
9990
10363
  .optional()
9991
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
10364
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
9992
10365
  issueAfterResetPriority: zod_1.z.coerce
9993
10366
  .number()
9994
10367
  .min(1)
@@ -10160,7 +10533,7 @@ exports.editSubscriptionBody = zod_1.z
10160
10533
  .number()
10161
10534
  .min(exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne)
10162
10535
  .optional()
10163
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
10536
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
10164
10537
  issueAfterResetPriority: zod_1.z.coerce
10165
10538
  .number()
10166
10539
  .min(1)
@@ -10532,7 +10905,7 @@ exports.editSubscriptionBody = zod_1.z
10532
10905
  * Deletes a subscription. Only scheduled subscriptions can be deleted.
10533
10906
  * @summary Delete subscription
10534
10907
  */
10535
- exports.deleteSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10908
+ exports.deleteSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10536
10909
  exports.deleteSubscriptionParams = zod_1.z.object({
10537
10910
  subscriptionId: zod_1.z.coerce
10538
10911
  .string()
@@ -10542,7 +10915,7 @@ exports.deleteSubscriptionParams = zod_1.z.object({
10542
10915
  * Create a new subscription addon, either providing the key or the id of the addon.
10543
10916
  * @summary Create subscription addon
10544
10917
  */
10545
- exports.createSubscriptionAddonPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10918
+ exports.createSubscriptionAddonPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10546
10919
  exports.createSubscriptionAddonParams = zod_1.z.object({
10547
10920
  subscriptionId: zod_1.z.coerce
10548
10921
  .string()
@@ -10551,7 +10924,7 @@ exports.createSubscriptionAddonParams = zod_1.z.object({
10551
10924
  exports.createSubscriptionAddonBodyNameMax = 256;
10552
10925
  exports.createSubscriptionAddonBodyDescriptionMax = 1024;
10553
10926
  exports.createSubscriptionAddonBodyQuantityMin = 0;
10554
- exports.createSubscriptionAddonBodyAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10927
+ exports.createSubscriptionAddonBodyAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10555
10928
  exports.createSubscriptionAddonBody = zod_1.z
10556
10929
  .object({
10557
10930
  addon: zod_1.z
@@ -10598,7 +10971,7 @@ exports.createSubscriptionAddonBody = zod_1.z
10598
10971
  * List all addons of a subscription. In the returned list will match to a set unique by addonId.
10599
10972
  * @summary List subscription addons
10600
10973
  */
10601
- exports.listSubscriptionAddonsPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10974
+ exports.listSubscriptionAddonsPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10602
10975
  exports.listSubscriptionAddonsParams = zod_1.z.object({
10603
10976
  subscriptionId: zod_1.z.coerce
10604
10977
  .string()
@@ -10608,8 +10981,8 @@ exports.listSubscriptionAddonsParams = zod_1.z.object({
10608
10981
  * Get a subscription addon by id.
10609
10982
  * @summary Get subscription addon
10610
10983
  */
10611
- exports.getSubscriptionAddonPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10612
- exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10984
+ exports.getSubscriptionAddonPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10985
+ exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10613
10986
  exports.getSubscriptionAddonParams = zod_1.z.object({
10614
10987
  subscriptionAddonId: zod_1.z.coerce
10615
10988
  .string()
@@ -10622,8 +10995,8 @@ exports.getSubscriptionAddonParams = zod_1.z.object({
10622
10995
  * Updates a subscription addon (allows changing the quantity: purchasing more instances or cancelling the current instances)
10623
10996
  * @summary Update subscription addon
10624
10997
  */
10625
- exports.updateSubscriptionAddonPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10626
- exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10998
+ exports.updateSubscriptionAddonPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10999
+ exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10627
11000
  exports.updateSubscriptionAddonParams = zod_1.z.object({
10628
11001
  subscriptionAddonId: zod_1.z.coerce
10629
11002
  .string()
@@ -10677,7 +11050,7 @@ exports.updateSubscriptionAddonBody = zod_1.z
10677
11050
  Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancellation time.
10678
11051
  * @summary Cancel subscription
10679
11052
  */
10680
- exports.cancelSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11053
+ exports.cancelSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10681
11054
  exports.cancelSubscriptionParams = zod_1.z.object({
10682
11055
  subscriptionId: zod_1.z.coerce
10683
11056
  .string()
@@ -10702,19 +11075,19 @@ exports.cancelSubscriptionBody = zod_1.z.object({
10702
11075
  Can be used for upgrades, downgrades, and plan changes.
10703
11076
  * @summary Change subscription
10704
11077
  */
10705
- exports.changeSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11078
+ exports.changeSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
10706
11079
  exports.changeSubscriptionParams = zod_1.z.object({
10707
11080
  subscriptionId: zod_1.z.coerce
10708
11081
  .string()
10709
11082
  .regex(exports.changeSubscriptionPathSubscriptionIdRegExp),
10710
11083
  });
10711
11084
  exports.changeSubscriptionBodyPlanKeyMax = 64;
10712
- exports.changeSubscriptionBodyPlanKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11085
+ exports.changeSubscriptionBodyPlanKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10713
11086
  exports.changeSubscriptionBodyCustomPlanNameMax = 256;
10714
11087
  exports.changeSubscriptionBodyCustomPlanDescriptionMax = 1024;
10715
11088
  exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = 3;
10716
11089
  exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = 3;
10717
- exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
11090
+ exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = /^[A-Z]{3}$/;
10718
11091
  exports.changeSubscriptionBodyCustomPlanCurrencyDefault = 'USD';
10719
11092
  exports.changeSubscriptionBodyCustomPlanProRatingConfigEnabledDefault = true;
10720
11093
  exports.changeSubscriptionBodyCustomPlanProRatingConfigModeDefault = 'prorate_prices';
@@ -10723,55 +11096,55 @@ exports.changeSubscriptionBodyCustomPlanProRatingConfigDefault = {
10723
11096
  mode: 'prorate_prices',
10724
11097
  };
10725
11098
  exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = 64;
10726
- exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11099
+ exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10727
11100
  exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = 256;
10728
11101
  exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = 1024;
10729
11102
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = 64;
10730
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11103
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10731
11104
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = 256;
10732
11105
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = 1024;
10733
11106
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = 64;
10734
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11107
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10735
11108
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = false;
10736
11109
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = 0;
10737
11110
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = 1;
10738
11111
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = 255;
10739
11112
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = false;
10740
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
10741
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
11113
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = /^txcd_\d{8}$/;
11114
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10742
11115
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = 'in_advance';
10743
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
11116
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10744
11117
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = 64;
10745
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11118
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10746
11119
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = 256;
10747
11120
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = 1024;
10748
11121
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = 64;
10749
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11122
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
10750
11123
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = false;
10751
11124
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = 0;
10752
11125
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = 1;
10753
11126
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = 255;
10754
11127
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = false;
10755
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
10756
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
11128
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = /^txcd_\d{8}$/;
11129
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
10757
11130
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = 'in_advance';
10758
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10759
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10760
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10761
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10762
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10763
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10764
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10765
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10766
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
11131
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
11132
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11133
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11134
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11135
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11136
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11137
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
11138
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
11139
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
10767
11140
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = '1';
10768
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10769
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10770
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10771
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10772
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10773
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
10774
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
11141
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
11142
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = /^-?[0-9]+(\.[0-9]+)?$/;
11143
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
11144
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = /^-?[0-9]+(\.[0-9]+)?$/;
11145
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
11146
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = /^-?[0-9]+(\.[0-9]+)?$/;
11147
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = /^-?[0-9]+(\.[0-9]+)?$/;
10775
11148
  exports.changeSubscriptionBody = zod_1.z
10776
11149
  .union([
10777
11150
  zod_1.z
@@ -10856,7 +11229,7 @@ exports.changeSubscriptionBody = zod_1.z
10856
11229
  .describe('Alignment configuration for the plan.'),
10857
11230
  billingCadence: zod_1.z.coerce
10858
11231
  .string()
10859
- .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: \"P1M\" (monthly), \"P3M\" (quarterly), \"P1Y\" (annually).'),
11232
+ .describe('The default billing cadence for subscriptions using this plan.\nDefines how often customers are billed using ISO8601 duration format.\nExamples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).'),
10860
11233
  currency: zod_1.z.coerce
10861
11234
  .string()
10862
11235
  .min(exports.changeSubscriptionBodyCustomPlanCurrencyMinOne)
@@ -10960,7 +11333,7 @@ exports.changeSubscriptionBody = zod_1.z
10960
11333
  .number()
10961
11334
  .min(exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin)
10962
11335
  .optional()
10963
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
11336
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
10964
11337
  issueAfterResetPriority: zod_1.z.coerce
10965
11338
  .number()
10966
11339
  .min(1)
@@ -11132,7 +11505,7 @@ exports.changeSubscriptionBody = zod_1.z
11132
11505
  .number()
11133
11506
  .min(exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne)
11134
11507
  .optional()
11135
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
11508
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
11136
11509
  issueAfterResetPriority: zod_1.z.coerce
11137
11510
  .number()
11138
11511
  .min(1)
@@ -11438,7 +11811,7 @@ If possible, the migration will be done immediately.
11438
11811
  If not, the migration will be scheduled to the end of the current billing period.
11439
11812
  * @summary Migrate subscription
11440
11813
  */
11441
- exports.migrateSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11814
+ exports.migrateSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11442
11815
  exports.migrateSubscriptionParams = zod_1.z.object({
11443
11816
  subscriptionId: zod_1.z.coerce
11444
11817
  .string()
@@ -11476,9 +11849,10 @@ exports.migrateSubscriptionBody = zod_1.z.object({
11476
11849
  /**
11477
11850
  * Restores a canceled subscription.
11478
11851
  Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
11852
+ * @deprecated
11479
11853
  * @summary Restore subscription
11480
11854
  */
11481
- exports.restoreSubscriptionPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11855
+ exports.restoreSubscriptionPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11482
11856
  exports.restoreSubscriptionParams = zod_1.z.object({
11483
11857
  subscriptionId: zod_1.z.coerce
11484
11858
  .string()
@@ -11488,7 +11862,7 @@ exports.restoreSubscriptionParams = zod_1.z.object({
11488
11862
  * Cancels the scheduled cancelation.
11489
11863
  * @summary Unschedule cancelation
11490
11864
  */
11491
- exports.unscheduleCancelationPathSubscriptionIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11865
+ exports.unscheduleCancelationPathSubscriptionIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11492
11866
  exports.unscheduleCancelationParams = zod_1.z.object({
11493
11867
  subscriptionId: zod_1.z.coerce
11494
11868
  .string()
@@ -11506,34 +11880,46 @@ A given customer can only have one active (non-deleted) entitlement per featureK
11506
11880
  Once an entitlement is created you cannot modify it, only delete it.
11507
11881
  * @summary Create a customer entitlement
11508
11882
  */
11883
+ exports.createCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11884
+ exports.createCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = 256;
11509
11885
  exports.createCustomerEntitlementV2Params = zod_1.z.object({
11510
11886
  customerIdOrKey: zod_1.z.union([
11511
11887
  zod_1.z.coerce
11512
11888
  .string()
11513
- .regex(createCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
11889
+ .regex(exports.createCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
11514
11890
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11515
11891
  zod_1.z.coerce
11516
11892
  .string()
11517
11893
  .min(1)
11518
- .max(createCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
11894
+ .max(exports.createCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
11519
11895
  .describe('ExternalKey is a looser version of key.'),
11520
11896
  ]),
11521
11897
  });
11522
11898
  exports.createCustomerEntitlementV2BodyFeatureKeyMax = 64;
11523
- exports.createCustomerEntitlementV2BodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11524
- exports.createCustomerEntitlementV2BodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11899
+ exports.createCustomerEntitlementV2BodyFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
11900
+ exports.createCustomerEntitlementV2BodyFeatureIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11525
11901
  exports.createCustomerEntitlementV2BodyIsSoftLimitDefault = false;
11526
- exports.createCustomerEntitlementV2BodyIsUnlimitedDefault = false;
11902
+ exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
11903
+ exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
11527
11904
  exports.createCustomerEntitlementV2BodyIssueAfterResetMin = 0;
11528
11905
  exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = 1;
11529
11906
  exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax = 255;
11530
- exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
11907
+ exports.createCustomerEntitlementV2BodyIssueAmountMin = 0;
11908
+ exports.createCustomerEntitlementV2BodyIssuePriorityDefault = 1;
11909
+ exports.createCustomerEntitlementV2BodyIssuePriorityMax = 255;
11910
+ exports.createCustomerEntitlementV2BodyGrantsItemAmountMin = 0;
11911
+ exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax = 255;
11912
+ exports.createCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = 0;
11913
+ exports.createCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
11914
+ exports.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax = 1000;
11531
11915
  exports.createCustomerEntitlementV2BodyFeatureKeyMaxOne = 64;
11532
- exports.createCustomerEntitlementV2BodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11533
- exports.createCustomerEntitlementV2BodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11916
+ exports.createCustomerEntitlementV2BodyFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
11917
+ exports.createCustomerEntitlementV2BodyFeatureIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11918
+ exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
11534
11919
  exports.createCustomerEntitlementV2BodyFeatureKeyMaxTwo = 64;
11535
- exports.createCustomerEntitlementV2BodyFeatureKeyRegExpTwo = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
11536
- exports.createCustomerEntitlementV2BodyFeatureIdRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
11920
+ exports.createCustomerEntitlementV2BodyFeatureKeyRegExpTwo = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
11921
+ exports.createCustomerEntitlementV2BodyFeatureIdRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11922
+ exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
11537
11923
  exports.createCustomerEntitlementV2Body = zod_1.z
11538
11924
  .union([
11539
11925
  zod_1.z
@@ -11550,25 +11936,111 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11550
11936
  .regex(exports.createCustomerEntitlementV2BodyFeatureKeyRegExp)
11551
11937
  .optional()
11552
11938
  .describe('The feature the subject is entitled to use.\nEither featureKey or featureId is required.'),
11939
+ grants: zod_1.z
11940
+ .array(zod_1.z
11941
+ .object({
11942
+ amount: zod_1.z.coerce
11943
+ .number()
11944
+ .min(exports.createCustomerEntitlementV2BodyGrantsItemAmountMin)
11945
+ .describe('The amount to grant. Should be a positive number.'),
11946
+ annotations: zod_1.z
11947
+ .record(zod_1.z.string(), zod_1.z.any())
11948
+ .describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
11949
+ .optional()
11950
+ .describe('Grant annotations'),
11951
+ effectiveAt: zod_1.z.coerce
11952
+ .date()
11953
+ .describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
11954
+ expiration: zod_1.z
11955
+ .object({
11956
+ count: zod_1.z.coerce
11957
+ .number()
11958
+ .min(1)
11959
+ .max(exports.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax)
11960
+ .describe('The number of time units in the expiration period.'),
11961
+ duration: zod_1.z
11962
+ .enum(['HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR'])
11963
+ .describe('The expiration duration enum')
11964
+ .describe('The unit of time for the expiration period.'),
11965
+ })
11966
+ .describe('The grant expiration definition')
11967
+ .optional()
11968
+ .describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
11969
+ maxRolloverAmount: zod_1.z.coerce
11970
+ .number()
11971
+ .optional()
11972
+ .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset. The default value equals grant amount.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
11973
+ metadata: zod_1.z
11974
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
11975
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
11976
+ .optional()
11977
+ .describe('The grant metadata.'),
11978
+ minRolloverAmount: zod_1.z.coerce
11979
+ .number()
11980
+ .optional()
11981
+ .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
11982
+ priority: zod_1.z.coerce
11983
+ .number()
11984
+ .min(1)
11985
+ .max(exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax)
11986
+ .optional()
11987
+ .describe('The priority of the grant. Grants with higher priority are applied first.\nPriority is a positive decimal numbers. With lower numbers indicating higher importance.\nFor example, a priority of 1 is more urgent than a priority of 2.\nWhen there are several grants available for the same subject, the system selects the grant with the highest priority.\nIn cases where grants share the same priority level, the grant closest to its expiration will be used first.\nIn the case of two grants have identical priorities and expiration dates, the system will use the grant that was created first.'),
11988
+ recurrence: zod_1.z
11989
+ .object({
11990
+ anchor: zod_1.z.coerce
11991
+ .date()
11992
+ .optional()
11993
+ .describe('A date-time anchor to base the recurring period on.'),
11994
+ interval: zod_1.z
11995
+ .union([
11996
+ zod_1.z.coerce
11997
+ .string()
11998
+ .regex(exports.createCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo),
11999
+ zod_1.z
12000
+ .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12001
+ .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
12002
+ ])
12003
+ .describe('Period duration for the recurrence')
12004
+ .describe('The unit of time for the interval.'),
12005
+ })
12006
+ .describe('Recurring period with an interval and an anchor.')
12007
+ .optional()
12008
+ .describe('The subject of the grant.'),
12009
+ })
12010
+ .describe('The grant creation input.'))
12011
+ .optional()
12012
+ .describe('Grants'),
11553
12013
  isSoftLimit: zod_1.z.coerce
11554
12014
  .boolean()
11555
12015
  .optional()
11556
12016
  .describe('If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.'),
12017
+ issue: zod_1.z
12018
+ .object({
12019
+ amount: zod_1.z.coerce
12020
+ .number()
12021
+ .min(exports.createCustomerEntitlementV2BodyIssueAmountMin)
12022
+ .describe('The initial grant amount'),
12023
+ priority: zod_1.z.coerce
12024
+ .number()
12025
+ .min(1)
12026
+ .max(exports.createCustomerEntitlementV2BodyIssuePriorityMax)
12027
+ .default(exports.createCustomerEntitlementV2BodyIssuePriorityDefault)
12028
+ .describe('The priority of the issue after reset'),
12029
+ })
12030
+ .describe('Issue after reset')
12031
+ .optional()
12032
+ .describe('Issue after reset'),
11557
12033
  issueAfterReset: zod_1.z.coerce
11558
12034
  .number()
11559
12035
  .min(exports.createCustomerEntitlementV2BodyIssueAfterResetMin)
11560
12036
  .optional()
11561
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
12037
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
11562
12038
  issueAfterResetPriority: zod_1.z.coerce
11563
12039
  .number()
11564
12040
  .min(1)
11565
12041
  .max(exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax)
11566
12042
  .default(exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault)
11567
12043
  .describe('Defines the grant priority for the default grant.'),
11568
- isUnlimited: zod_1.z.coerce
11569
- .boolean()
11570
- .optional()
11571
- .describe('Deprecated, ignored by the backend. Please use isSoftLimit instead; this field will be removed in the future.'),
11572
12044
  measureUsageFrom: zod_1.z
11573
12045
  .union([
11574
12046
  zod_1.z
@@ -11601,7 +12073,7 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11601
12073
  .union([
11602
12074
  zod_1.z.coerce
11603
12075
  .string()
11604
- .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
12076
+ .regex(exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
11605
12077
  zod_1.z
11606
12078
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11607
12079
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11612,7 +12084,7 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11612
12084
  .describe('Recurring period with an interval and an anchor.')
11613
12085
  .describe('The usage period associated with the entitlement.'),
11614
12086
  })
11615
- .describe('Create inpurs for metered entitlement'),
12087
+ .describe('Create inputs for metered entitlement'),
11616
12088
  zod_1.z
11617
12089
  .object({
11618
12090
  config: zod_1.z.coerce
@@ -11646,7 +12118,7 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11646
12118
  .union([
11647
12119
  zod_1.z.coerce
11648
12120
  .string()
11649
- .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
12121
+ .regex(exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
11650
12122
  zod_1.z
11651
12123
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11652
12124
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11689,7 +12161,7 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11689
12161
  .union([
11690
12162
  zod_1.z.coerce
11691
12163
  .string()
11692
- .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
12164
+ .regex(exports.createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
11693
12165
  zod_1.z
11694
12166
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11695
12167
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11708,16 +12180,18 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11708
12180
  * List all entitlements for a customer. For checking entitlement access, use the /value endpoint instead.
11709
12181
  * @summary List customer entitlements
11710
12182
  */
12183
+ exports.listCustomerEntitlementsV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12184
+ exports.listCustomerEntitlementsV2PathCustomerIdOrKeyMaxTwo = 256;
11711
12185
  exports.listCustomerEntitlementsV2Params = zod_1.z.object({
11712
12186
  customerIdOrKey: zod_1.z.union([
11713
12187
  zod_1.z.coerce
11714
12188
  .string()
11715
- .regex(listCustomerEntitlementsV2PathCustomerIdOrKeyRegExpOne)
12189
+ .regex(exports.listCustomerEntitlementsV2PathCustomerIdOrKeyRegExpOne)
11716
12190
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11717
12191
  zod_1.z.coerce
11718
12192
  .string()
11719
12193
  .min(1)
11720
- .max(listCustomerEntitlementsV2PathCustomerIdOrKeyMaxTwo)
12194
+ .max(exports.listCustomerEntitlementsV2PathCustomerIdOrKeyMaxTwo)
11721
12195
  .describe('ExternalKey is a looser version of key.'),
11722
12196
  ]),
11723
12197
  });
@@ -11749,18 +12223,20 @@ exports.listCustomerEntitlementsV2QueryParams = zod_1.z.object({
11749
12223
  If featureKey is used, the entitlement is resolved for the current timestamp.
11750
12224
  * @summary Get customer entitlement
11751
12225
  */
12226
+ exports.getCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12227
+ exports.getCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = 256;
11752
12228
  exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64;
11753
- exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12229
+ exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11754
12230
  exports.getCustomerEntitlementV2Params = zod_1.z.object({
11755
12231
  customerIdOrKey: zod_1.z.union([
11756
12232
  zod_1.z.coerce
11757
12233
  .string()
11758
- .regex(getCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
12234
+ .regex(exports.getCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
11759
12235
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11760
12236
  zod_1.z.coerce
11761
12237
  .string()
11762
12238
  .min(1)
11763
- .max(getCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
12239
+ .max(exports.getCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
11764
12240
  .describe('ExternalKey is a looser version of key.'),
11765
12241
  ]),
11766
12242
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -11774,18 +12250,20 @@ exports.getCustomerEntitlementV2Params = zod_1.z.object({
11774
12250
  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.
11775
12251
  * @summary Delete customer entitlement
11776
12252
  */
12253
+ exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12254
+ exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = 256;
11777
12255
  exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = 64;
11778
- exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12256
+ exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11779
12257
  exports.deleteCustomerEntitlementV2Params = zod_1.z.object({
11780
12258
  customerIdOrKey: zod_1.z.union([
11781
12259
  zod_1.z.coerce
11782
12260
  .string()
11783
- .regex(deleteCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
12261
+ .regex(exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
11784
12262
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11785
12263
  zod_1.z.coerce
11786
12264
  .string()
11787
12265
  .min(1)
11788
- .max(deleteCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
12266
+ .max(exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
11789
12267
  .describe('ExternalKey is a looser version of key.'),
11790
12268
  ]),
11791
12269
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -11798,18 +12276,20 @@ exports.deleteCustomerEntitlementV2Params = zod_1.z.object({
11798
12276
  * List all grants issued for an entitlement. The entitlement can be defined either by its id or featureKey.
11799
12277
  * @summary List customer entitlement grants
11800
12278
  */
12279
+ exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12280
+ exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyMaxTwo = 256;
11801
12281
  exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = 64;
11802
- exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12282
+ exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11803
12283
  exports.listCustomerEntitlementGrantsV2Params = zod_1.z.object({
11804
12284
  customerIdOrKey: zod_1.z.union([
11805
12285
  zod_1.z.coerce
11806
12286
  .string()
11807
- .regex(listCustomerEntitlementGrantsV2PathCustomerIdOrKeyRegExpOne)
12287
+ .regex(exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyRegExpOne)
11808
12288
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11809
12289
  zod_1.z.coerce
11810
12290
  .string()
11811
12291
  .min(1)
11812
- .max(listCustomerEntitlementGrantsV2PathCustomerIdOrKeyMaxTwo)
12292
+ .max(exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyMaxTwo)
11813
12293
  .describe('ExternalKey is a looser version of key.'),
11814
12294
  ]),
11815
12295
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -11870,18 +12350,20 @@ Rollover settings define what happens to the remaining balance of a grant at a r
11870
12350
  Grants cannot be changed once created, only deleted. This is to ensure that balance is deterministic regardless of when it is queried.
11871
12351
  * @summary Create customer entitlement grant
11872
12352
  */
12353
+ exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12354
+ exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyMaxTwo = 256;
11873
12355
  exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = 64;
11874
- exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12356
+ exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11875
12357
  exports.createCustomerEntitlementGrantV2Params = zod_1.z.object({
11876
12358
  customerIdOrKey: zod_1.z.union([
11877
12359
  zod_1.z.coerce
11878
12360
  .string()
11879
- .regex(createCustomerEntitlementGrantV2PathCustomerIdOrKeyRegExpOne)
12361
+ .regex(exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyRegExpOne)
11880
12362
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11881
12363
  zod_1.z.coerce
11882
12364
  .string()
11883
12365
  .min(1)
11884
- .max(createCustomerEntitlementGrantV2PathCustomerIdOrKeyMaxTwo)
12366
+ .max(exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyMaxTwo)
11885
12367
  .describe('ExternalKey is a looser version of key.'),
11886
12368
  ]),
11887
12369
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -11892,15 +12374,20 @@ exports.createCustomerEntitlementGrantV2Params = zod_1.z.object({
11892
12374
  });
11893
12375
  exports.createCustomerEntitlementGrantV2BodyAmountMin = 0;
11894
12376
  exports.createCustomerEntitlementGrantV2BodyPriorityMax = 255;
11895
- exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = 1000;
11896
- exports.createCustomerEntitlementGrantV2BodyMaxRolloverAmountDefault = 0;
11897
12377
  exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = 0;
12378
+ exports.createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
12379
+ exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = 1000;
11898
12380
  exports.createCustomerEntitlementGrantV2Body = zod_1.z
11899
12381
  .object({
11900
12382
  amount: zod_1.z.coerce
11901
12383
  .number()
11902
12384
  .min(exports.createCustomerEntitlementGrantV2BodyAmountMin)
11903
12385
  .describe('The amount to grant. Should be a positive number.'),
12386
+ annotations: zod_1.z
12387
+ .record(zod_1.z.string(), zod_1.z.any())
12388
+ .describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
12389
+ .optional()
12390
+ .describe('Grant annotations'),
11904
12391
  effectiveAt: zod_1.z.coerce
11905
12392
  .date()
11906
12393
  .describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
@@ -11917,11 +12404,12 @@ exports.createCustomerEntitlementGrantV2Body = zod_1.z
11917
12404
  .describe('The unit of time for the expiration period.'),
11918
12405
  })
11919
12406
  .describe('The grant expiration definition')
11920
- .describe('The grant expiration definition'),
12407
+ .optional()
12408
+ .describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
11921
12409
  maxRolloverAmount: zod_1.z.coerce
11922
12410
  .number()
11923
12411
  .optional()
11924
- .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
12412
+ .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset. The default value equals grant amount.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
11925
12413
  metadata: zod_1.z
11926
12414
  .record(zod_1.z.string(), zod_1.z.coerce.string())
11927
12415
  .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
@@ -11947,7 +12435,7 @@ exports.createCustomerEntitlementGrantV2Body = zod_1.z
11947
12435
  .union([
11948
12436
  zod_1.z.coerce
11949
12437
  .string()
11950
- .regex(createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo),
12438
+ .regex(exports.createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo),
11951
12439
  zod_1.z
11952
12440
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11953
12441
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11968,18 +12456,20 @@ BurndownHistory returns a continous history of segments, where the segments are
11968
12456
  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.
11969
12457
  * @summary Get customer entitlement history
11970
12458
  */
12459
+ exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12460
+ exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyMaxTwo = 256;
11971
12461
  exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = 64;
11972
- exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12462
+ exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
11973
12463
  exports.getCustomerEntitlementHistoryV2Params = zod_1.z.object({
11974
12464
  customerIdOrKey: zod_1.z.union([
11975
12465
  zod_1.z.coerce
11976
12466
  .string()
11977
- .regex(getCustomerEntitlementHistoryV2PathCustomerIdOrKeyRegExpOne)
12467
+ .regex(exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyRegExpOne)
11978
12468
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
11979
12469
  zod_1.z.coerce
11980
12470
  .string()
11981
12471
  .min(1)
11982
- .max(getCustomerEntitlementHistoryV2PathCustomerIdOrKeyMaxTwo)
12472
+ .max(exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyMaxTwo)
11983
12473
  .describe('ExternalKey is a looser version of key.'),
11984
12474
  ]),
11985
12475
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -12012,45 +12502,59 @@ exports.getCustomerEntitlementHistoryV2QueryParams = zod_1.z.object({
12012
12502
  This endpoint is useful for upgrades, downgrades, or other changes to entitlements that require a new entitlement to be created with zero downtime.
12013
12503
  * @summary Override customer entitlement
12014
12504
  */
12505
+ exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12506
+ exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo = 256;
12507
+ exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12508
+ exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMaxTwo = 256;
12015
12509
  exports.overrideCustomerEntitlementV2Params = zod_1.z.object({
12016
12510
  customerIdOrKey: zod_1.z.union([
12017
12511
  zod_1.z.coerce
12018
12512
  .string()
12019
- .regex(overrideCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
12513
+ .regex(exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyRegExpOne)
12020
12514
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
12021
12515
  zod_1.z.coerce
12022
12516
  .string()
12023
12517
  .min(1)
12024
- .max(overrideCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
12518
+ .max(exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyMaxTwo)
12025
12519
  .describe('ExternalKey is a looser version of key.'),
12026
12520
  ]),
12027
12521
  entitlementIdOrFeatureKey: zod_1.z.union([
12028
12522
  zod_1.z.coerce
12029
12523
  .string()
12030
- .regex(overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExpOne)
12524
+ .regex(exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExpOne)
12031
12525
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
12032
12526
  zod_1.z.coerce
12033
12527
  .string()
12034
12528
  .min(1)
12035
- .max(overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMaxTwo)
12529
+ .max(exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMaxTwo)
12036
12530
  .describe('ExternalKey is a looser version of key.'),
12037
12531
  ]),
12038
12532
  });
12039
12533
  exports.overrideCustomerEntitlementV2BodyFeatureKeyMax = 64;
12040
- exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
12041
- exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12534
+ exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
12535
+ exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12042
12536
  exports.overrideCustomerEntitlementV2BodyIsSoftLimitDefault = false;
12043
- exports.overrideCustomerEntitlementV2BodyIsUnlimitedDefault = false;
12537
+ exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
12538
+ exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
12044
12539
  exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin = 0;
12045
12540
  exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = 1;
12046
12541
  exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax = 255;
12047
- exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
12542
+ exports.overrideCustomerEntitlementV2BodyIssueAmountMin = 0;
12543
+ exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault = 1;
12544
+ exports.overrideCustomerEntitlementV2BodyIssuePriorityMax = 255;
12545
+ exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin = 0;
12546
+ exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax = 255;
12547
+ exports.overrideCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = 0;
12548
+ exports.overrideCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
12549
+ exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax = 1000;
12048
12550
  exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxOne = 64;
12049
- exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
12050
- exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12551
+ exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
12552
+ exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12553
+ exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
12051
12554
  exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxTwo = 64;
12052
- exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
12053
- exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12555
+ exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
12556
+ exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12557
+ exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero = /^P(?:\d+(?:\.\d+)?Y)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?W)?(?:\d+(?:\.\d+)?D)?(?:T(?:\d+(?:\.\d+)?H)?(?:\d+(?:\.\d+)?M)?(?:\d+(?:\.\d+)?S)?)?$/;
12054
12558
  exports.overrideCustomerEntitlementV2Body = zod_1.z
12055
12559
  .union([
12056
12560
  zod_1.z
@@ -12067,25 +12571,111 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12067
12571
  .regex(exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp)
12068
12572
  .optional()
12069
12573
  .describe('The feature the subject is entitled to use.\nEither featureKey or featureId is required.'),
12574
+ grants: zod_1.z
12575
+ .array(zod_1.z
12576
+ .object({
12577
+ amount: zod_1.z.coerce
12578
+ .number()
12579
+ .min(exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin)
12580
+ .describe('The amount to grant. Should be a positive number.'),
12581
+ annotations: zod_1.z
12582
+ .record(zod_1.z.string(), zod_1.z.any())
12583
+ .describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
12584
+ .optional()
12585
+ .describe('Grant annotations'),
12586
+ effectiveAt: zod_1.z.coerce
12587
+ .date()
12588
+ .describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
12589
+ expiration: zod_1.z
12590
+ .object({
12591
+ count: zod_1.z.coerce
12592
+ .number()
12593
+ .min(1)
12594
+ .max(exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax)
12595
+ .describe('The number of time units in the expiration period.'),
12596
+ duration: zod_1.z
12597
+ .enum(['HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR'])
12598
+ .describe('The expiration duration enum')
12599
+ .describe('The unit of time for the expiration period.'),
12600
+ })
12601
+ .describe('The grant expiration definition')
12602
+ .optional()
12603
+ .describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
12604
+ maxRolloverAmount: zod_1.z.coerce
12605
+ .number()
12606
+ .optional()
12607
+ .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset. The default value equals grant amount.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
12608
+ metadata: zod_1.z
12609
+ .record(zod_1.z.string(), zod_1.z.coerce.string())
12610
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
12611
+ .optional()
12612
+ .describe('The grant metadata.'),
12613
+ minRolloverAmount: zod_1.z.coerce
12614
+ .number()
12615
+ .optional()
12616
+ .describe('Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset.\nBalance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))'),
12617
+ priority: zod_1.z.coerce
12618
+ .number()
12619
+ .min(1)
12620
+ .max(exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax)
12621
+ .optional()
12622
+ .describe('The priority of the grant. Grants with higher priority are applied first.\nPriority is a positive decimal numbers. With lower numbers indicating higher importance.\nFor example, a priority of 1 is more urgent than a priority of 2.\nWhen there are several grants available for the same subject, the system selects the grant with the highest priority.\nIn cases where grants share the same priority level, the grant closest to its expiration will be used first.\nIn the case of two grants have identical priorities and expiration dates, the system will use the grant that was created first.'),
12623
+ recurrence: zod_1.z
12624
+ .object({
12625
+ anchor: zod_1.z.coerce
12626
+ .date()
12627
+ .optional()
12628
+ .describe('A date-time anchor to base the recurring period on.'),
12629
+ interval: zod_1.z
12630
+ .union([
12631
+ zod_1.z.coerce
12632
+ .string()
12633
+ .regex(exports.overrideCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo),
12634
+ zod_1.z
12635
+ .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12636
+ .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
12637
+ ])
12638
+ .describe('Period duration for the recurrence')
12639
+ .describe('The unit of time for the interval.'),
12640
+ })
12641
+ .describe('Recurring period with an interval and an anchor.')
12642
+ .optional()
12643
+ .describe('The subject of the grant.'),
12644
+ })
12645
+ .describe('The grant creation input.'))
12646
+ .optional()
12647
+ .describe('Grants'),
12070
12648
  isSoftLimit: zod_1.z.coerce
12071
12649
  .boolean()
12072
12650
  .optional()
12073
12651
  .describe('If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.'),
12652
+ issue: zod_1.z
12653
+ .object({
12654
+ amount: zod_1.z.coerce
12655
+ .number()
12656
+ .min(exports.overrideCustomerEntitlementV2BodyIssueAmountMin)
12657
+ .describe('The initial grant amount'),
12658
+ priority: zod_1.z.coerce
12659
+ .number()
12660
+ .min(1)
12661
+ .max(exports.overrideCustomerEntitlementV2BodyIssuePriorityMax)
12662
+ .default(exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault)
12663
+ .describe('The priority of the issue after reset'),
12664
+ })
12665
+ .describe('Issue after reset')
12666
+ .optional()
12667
+ .describe('Issue after reset'),
12074
12668
  issueAfterReset: zod_1.z.coerce
12075
12669
  .number()
12076
12670
  .min(exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin)
12077
12671
  .optional()
12078
- .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the \"amount\", \"minRolloverAmount\", and \"maxRolloverAmount\" fields all be the same.'),
12672
+ .describe('You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.\nIf an amount is specified here, a grant will be created alongside the entitlement with the specified amount.\nThat grant will have it\'s rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.\nManually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.'),
12079
12673
  issueAfterResetPriority: zod_1.z.coerce
12080
12674
  .number()
12081
12675
  .min(1)
12082
12676
  .max(exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax)
12083
12677
  .default(exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault)
12084
12678
  .describe('Defines the grant priority for the default grant.'),
12085
- isUnlimited: zod_1.z.coerce
12086
- .boolean()
12087
- .optional()
12088
- .describe('Deprecated, ignored by the backend. Please use isSoftLimit instead; this field will be removed in the future.'),
12089
12679
  measureUsageFrom: zod_1.z
12090
12680
  .union([
12091
12681
  zod_1.z
@@ -12118,7 +12708,7 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12118
12708
  .union([
12119
12709
  zod_1.z.coerce
12120
12710
  .string()
12121
- .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
12711
+ .regex(exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
12122
12712
  zod_1.z
12123
12713
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12124
12714
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12129,7 +12719,7 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12129
12719
  .describe('Recurring period with an interval and an anchor.')
12130
12720
  .describe('The usage period associated with the entitlement.'),
12131
12721
  })
12132
- .describe('Create inpurs for metered entitlement'),
12722
+ .describe('Create inputs for metered entitlement'),
12133
12723
  zod_1.z
12134
12724
  .object({
12135
12725
  config: zod_1.z.coerce
@@ -12163,7 +12753,7 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12163
12753
  .union([
12164
12754
  zod_1.z.coerce
12165
12755
  .string()
12166
- .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
12756
+ .regex(exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
12167
12757
  zod_1.z
12168
12758
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12169
12759
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12206,7 +12796,7 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12206
12796
  .union([
12207
12797
  zod_1.z.coerce
12208
12798
  .string()
12209
- .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
12799
+ .regex(exports.overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
12210
12800
  zod_1.z
12211
12801
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12212
12802
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12227,18 +12817,20 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12227
12817
  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.
12228
12818
  * @summary Reset customer entitlement
12229
12819
  */
12820
+ exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12821
+ exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyMaxTwo = 256;
12230
12822
  exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = 64;
12231
- exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12823
+ exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12232
12824
  exports.resetCustomerEntitlementUsageV2Params = zod_1.z.object({
12233
12825
  customerIdOrKey: zod_1.z.union([
12234
12826
  zod_1.z.coerce
12235
12827
  .string()
12236
- .regex(resetCustomerEntitlementUsageV2PathCustomerIdOrKeyRegExpOne)
12828
+ .regex(exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyRegExpOne)
12237
12829
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
12238
12830
  zod_1.z.coerce
12239
12831
  .string()
12240
12832
  .min(1)
12241
- .max(resetCustomerEntitlementUsageV2PathCustomerIdOrKeyMaxTwo)
12833
+ .max(exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyMaxTwo)
12242
12834
  .describe('ExternalKey is a looser version of key.'),
12243
12835
  ]),
12244
12836
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -12267,18 +12859,20 @@ exports.resetCustomerEntitlementUsageV2Body = zod_1.z
12267
12859
  * 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.
12268
12860
  * @summary Get customer entitlement value
12269
12861
  */
12862
+ exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12863
+ exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyMaxTwo = 256;
12270
12864
  exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = 64;
12271
- exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12865
+ exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$|^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12272
12866
  exports.getCustomerEntitlementValueV2Params = zod_1.z.object({
12273
12867
  customerIdOrKey: zod_1.z.union([
12274
12868
  zod_1.z.coerce
12275
12869
  .string()
12276
- .regex(getCustomerEntitlementValueV2PathCustomerIdOrKeyRegExpOne)
12870
+ .regex(exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyRegExpOne)
12277
12871
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
12278
12872
  zod_1.z.coerce
12279
12873
  .string()
12280
12874
  .min(1)
12281
- .max(getCustomerEntitlementValueV2PathCustomerIdOrKeyMaxTwo)
12875
+ .max(exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyMaxTwo)
12282
12876
  .describe('ExternalKey is a looser version of key.'),
12283
12877
  ]),
12284
12878
  entitlementIdOrFeatureKey: zod_1.z.coerce
@@ -12358,7 +12952,7 @@ exports.listEntitlementsV2QueryParams = zod_1.z.object({
12358
12952
  * Get entitlement by id.
12359
12953
  * @summary Get entitlement by id
12360
12954
  */
12361
- exports.getEntitlementByIdV2PathEntitlementIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
12955
+ exports.getEntitlementByIdV2PathEntitlementIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12362
12956
  exports.getEntitlementByIdV2Params = zod_1.z.object({
12363
12957
  entitlementId: zod_1.z.coerce
12364
12958
  .string()
@@ -12395,6 +12989,8 @@ To fetch the grants of a specific entitlement please use the /api/v2/customers/{
12395
12989
  If page is provided that takes precedence and the paginated response is returned.
12396
12990
  * @summary List grants
12397
12991
  */
12992
+ exports.listGrantsV2QueryCustomerItemRegExpOne = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
12993
+ exports.listGrantsV2QueryCustomerItemMaxTwo = 256;
12398
12994
  exports.listGrantsV2QueryIncludeDeletedDefault = false;
12399
12995
  exports.listGrantsV2QueryPageDefault = 1;
12400
12996
  exports.listGrantsV2QueryPageSizeDefault = 100;
@@ -12409,12 +13005,12 @@ exports.listGrantsV2QueryParams = zod_1.z.object({
12409
13005
  .union([
12410
13006
  zod_1.z.coerce
12411
13007
  .string()
12412
- .regex(listGrantsV2QueryCustomerItemRegExpOne)
13008
+ .regex(exports.listGrantsV2QueryCustomerItemRegExpOne)
12413
13009
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'),
12414
13010
  zod_1.z.coerce
12415
13011
  .string()
12416
13012
  .min(1)
12417
- .max(listGrantsV2QueryCustomerItemMaxTwo)
13013
+ .max(exports.listGrantsV2QueryCustomerItemMaxTwo)
12418
13014
  .describe('ExternalKey is a looser version of key.'),
12419
13015
  ])
12420
13016
  .describe('ULID (Universally Unique Lexicographically Sortable Identifier) or external unique key.'))