@openmeter/sdk 1.0.0-beta-7cf71f2fbc46 → 1.0.0-beta-4a759fce7326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/client/customers.d.cts +4 -3
- package/dist/cjs/src/client/entitlements.d.cts +1 -1
- package/dist/cjs/src/client/schemas.d.cts +293 -13
- package/dist/cjs/src/zod/index.cjs +210 -21
- package/dist/cjs/src/zod/index.d.cts +254 -20
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.41836ab4.tsbuildinfo → tsconfig.062ec6e3.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.7f82b8f5.tsbuildinfo → tsconfig.1f0f9a90.tsbuildinfo} +1 -1
- package/dist/src/client/customers.d.ts +4 -3
- package/dist/src/client/entitlements.d.ts +1 -1
- package/dist/src/client/schemas.d.ts +293 -13
- package/dist/src/zod/index.d.ts +254 -20
- package/dist/src/zod/index.js +207 -18
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -23,9 +23,9 @@ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRe
|
|
|
23
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
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
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.
|
|
27
|
-
exports.
|
|
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;
|
|
26
|
+
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.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax = exports.createCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax = exports.createCustomerEntitlementV2BodyGrantsItemAmountMin = exports.createCustomerEntitlementV2BodyIssuePriorityMax = exports.createCustomerEntitlementV2BodyIssuePriorityDefault = exports.createCustomerEntitlementV2BodyIssueAmountMin = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.createCustomerEntitlementV2BodyIssueAfterResetMin = exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = 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.resetCustomerEntitlementUsageV2Params = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = exports.overrideCustomerEntitlementV2Body = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpTwo = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxTwo = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxOne = exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax = exports.overrideCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax = exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin = exports.overrideCustomerEntitlementV2BodyIssuePriorityMax = exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault = exports.overrideCustomerEntitlementV2BodyIssueAmountMin = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax = exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin = exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = exports.overrideCustomerEntitlementV2BodyIsSoftLimitDefault = exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyFeatureKeyMax = exports.overrideCustomerEntitlementV2Params = exports.getCustomerEntitlementHistoryV2QueryParams = exports.getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = exports.getCustomerEntitlementHistoryV2Params = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = exports.createCustomerEntitlementGrantV2Body = exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = exports.createCustomerEntitlementGrantV2BodyPriorityMax = exports.createCustomerEntitlementGrantV2BodyAmountMin = exports.createCustomerEntitlementGrantV2Params = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = exports.listCustomerEntitlementGrantsV2QueryParams = exports.listCustomerEntitlementGrantsV2QueryLimitMax = exports.listCustomerEntitlementGrantsV2QueryLimitDefault = exports.listCustomerEntitlementGrantsV2QueryOffsetMin = exports.listCustomerEntitlementGrantsV2QueryOffsetDefault = exports.listCustomerEntitlementGrantsV2QueryPageSizeMax = exports.listCustomerEntitlementGrantsV2QueryPageSizeDefault = exports.listCustomerEntitlementGrantsV2QueryPageDefault = exports.listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = exports.listCustomerEntitlementGrantsV2Params = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = 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 = exports.listEntitlementsV2QueryOffsetMin = exports.listEntitlementsV2QueryOffsetDefault = exports.listEntitlementsV2QueryPageSizeMax = exports.listEntitlementsV2QueryPageSizeDefault = exports.listEntitlementsV2QueryPageDefault = exports.listEntitlementsV2QueryExcludeInactiveDefault = exports.getCustomerEntitlementValueV2QueryParams = exports.getCustomerEntitlementValueV2Params = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = exports.resetCustomerEntitlementUsageV2Body = void 0;
|
|
29
29
|
/* eslint-disable no-useless-escape */
|
|
30
30
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
31
31
|
// @ts-nocheck
|
|
@@ -11524,11 +11524,17 @@ exports.createCustomerEntitlementV2BodyFeatureKeyMax = 64;
|
|
|
11524
11524
|
exports.createCustomerEntitlementV2BodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
11525
11525
|
exports.createCustomerEntitlementV2BodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
11526
11526
|
exports.createCustomerEntitlementV2BodyIsSoftLimitDefault = false;
|
|
11527
|
-
exports.
|
|
11527
|
+
exports.createCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
|
|
11528
11528
|
exports.createCustomerEntitlementV2BodyIssueAfterResetMin = 0;
|
|
11529
11529
|
exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = 1;
|
|
11530
11530
|
exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax = 255;
|
|
11531
|
-
exports.
|
|
11531
|
+
exports.createCustomerEntitlementV2BodyIssueAmountMin = 0;
|
|
11532
|
+
exports.createCustomerEntitlementV2BodyIssuePriorityDefault = 1;
|
|
11533
|
+
exports.createCustomerEntitlementV2BodyIssuePriorityMax = 255;
|
|
11534
|
+
exports.createCustomerEntitlementV2BodyGrantsItemAmountMin = 0;
|
|
11535
|
+
exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax = 255;
|
|
11536
|
+
exports.createCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = 0;
|
|
11537
|
+
exports.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax = 1000;
|
|
11532
11538
|
exports.createCustomerEntitlementV2BodyFeatureKeyMaxOne = 64;
|
|
11533
11539
|
exports.createCustomerEntitlementV2BodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
11534
11540
|
exports.createCustomerEntitlementV2BodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
@@ -11551,10 +11557,100 @@ exports.createCustomerEntitlementV2Body = zod_1.z
|
|
|
11551
11557
|
.regex(exports.createCustomerEntitlementV2BodyFeatureKeyRegExp)
|
|
11552
11558
|
.optional()
|
|
11553
11559
|
.describe('The feature the subject is entitled to use.\nEither featureKey or featureId is required.'),
|
|
11560
|
+
grants: zod_1.z
|
|
11561
|
+
.array(zod_1.z
|
|
11562
|
+
.object({
|
|
11563
|
+
amount: zod_1.z.coerce
|
|
11564
|
+
.number()
|
|
11565
|
+
.min(exports.createCustomerEntitlementV2BodyGrantsItemAmountMin)
|
|
11566
|
+
.describe('The amount to grant. Should be a positive number.'),
|
|
11567
|
+
annotations: zod_1.z
|
|
11568
|
+
.record(zod_1.z.string(), zod_1.z.any())
|
|
11569
|
+
.describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
|
|
11570
|
+
.optional()
|
|
11571
|
+
.describe('The grant metadata.'),
|
|
11572
|
+
effectiveAt: zod_1.z.coerce
|
|
11573
|
+
.date()
|
|
11574
|
+
.describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
|
|
11575
|
+
expiration: zod_1.z
|
|
11576
|
+
.object({
|
|
11577
|
+
count: zod_1.z.coerce
|
|
11578
|
+
.number()
|
|
11579
|
+
.min(1)
|
|
11580
|
+
.max(exports.createCustomerEntitlementV2BodyGrantsItemExpirationCountMax)
|
|
11581
|
+
.describe('The number of time units in the expiration period.'),
|
|
11582
|
+
duration: zod_1.z
|
|
11583
|
+
.enum(['HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR'])
|
|
11584
|
+
.describe('The expiration duration enum')
|
|
11585
|
+
.describe('The unit of time for the expiration period.'),
|
|
11586
|
+
})
|
|
11587
|
+
.describe('The grant expiration definition')
|
|
11588
|
+
.optional()
|
|
11589
|
+
.describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
|
|
11590
|
+
maxRolloverAmount: zod_1.z.coerce
|
|
11591
|
+
.number()
|
|
11592
|
+
.optional()
|
|
11593
|
+
.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))'),
|
|
11594
|
+
metadata: zod_1.z
|
|
11595
|
+
.record(zod_1.z.string(), zod_1.z.coerce.string())
|
|
11596
|
+
.describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
|
|
11597
|
+
.optional()
|
|
11598
|
+
.describe('The grant metadata.'),
|
|
11599
|
+
minRolloverAmount: zod_1.z.coerce
|
|
11600
|
+
.number()
|
|
11601
|
+
.optional()
|
|
11602
|
+
.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))'),
|
|
11603
|
+
priority: zod_1.z.coerce
|
|
11604
|
+
.number()
|
|
11605
|
+
.min(1)
|
|
11606
|
+
.max(exports.createCustomerEntitlementV2BodyGrantsItemPriorityMax)
|
|
11607
|
+
.optional()
|
|
11608
|
+
.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.'),
|
|
11609
|
+
recurrence: zod_1.z
|
|
11610
|
+
.object({
|
|
11611
|
+
anchor: zod_1.z.coerce
|
|
11612
|
+
.date()
|
|
11613
|
+
.optional()
|
|
11614
|
+
.describe('A date-time anchor to base the recurring period on.'),
|
|
11615
|
+
interval: zod_1.z
|
|
11616
|
+
.union([
|
|
11617
|
+
zod_1.z.coerce
|
|
11618
|
+
.string()
|
|
11619
|
+
.regex(createCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo),
|
|
11620
|
+
zod_1.z
|
|
11621
|
+
.enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
|
|
11622
|
+
.describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
|
|
11623
|
+
])
|
|
11624
|
+
.describe('Period duration for the recurrence')
|
|
11625
|
+
.describe('The unit of time for the interval.'),
|
|
11626
|
+
})
|
|
11627
|
+
.describe('Recurring period with an interval and an anchor.')
|
|
11628
|
+
.optional()
|
|
11629
|
+
.describe('The subject of the grant.'),
|
|
11630
|
+
})
|
|
11631
|
+
.describe('The grant creation input.'))
|
|
11632
|
+
.optional()
|
|
11633
|
+
.describe('Grants'),
|
|
11554
11634
|
isSoftLimit: zod_1.z.coerce
|
|
11555
11635
|
.boolean()
|
|
11556
11636
|
.optional()
|
|
11557
11637
|
.describe('If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.'),
|
|
11638
|
+
issue: zod_1.z
|
|
11639
|
+
.object({
|
|
11640
|
+
amount: zod_1.z.coerce
|
|
11641
|
+
.number()
|
|
11642
|
+
.min(exports.createCustomerEntitlementV2BodyIssueAmountMin)
|
|
11643
|
+
.describe('The initial grant amount'),
|
|
11644
|
+
priority: zod_1.z.coerce
|
|
11645
|
+
.number()
|
|
11646
|
+
.min(1)
|
|
11647
|
+
.max(exports.createCustomerEntitlementV2BodyIssuePriorityMax)
|
|
11648
|
+
.default(exports.createCustomerEntitlementV2BodyIssuePriorityDefault)
|
|
11649
|
+
.describe('The priority of the issue after reset'),
|
|
11650
|
+
})
|
|
11651
|
+
.describe('Issue after reset')
|
|
11652
|
+
.optional()
|
|
11653
|
+
.describe('Issue after reset'),
|
|
11558
11654
|
issueAfterReset: zod_1.z.coerce
|
|
11559
11655
|
.number()
|
|
11560
11656
|
.min(exports.createCustomerEntitlementV2BodyIssueAfterResetMin)
|
|
@@ -11566,10 +11662,6 @@ exports.createCustomerEntitlementV2Body = zod_1.z
|
|
|
11566
11662
|
.max(exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityMax)
|
|
11567
11663
|
.default(exports.createCustomerEntitlementV2BodyIssueAfterResetPriorityDefault)
|
|
11568
11664
|
.describe('Defines the grant priority for the default grant.'),
|
|
11569
|
-
isUnlimited: zod_1.z.coerce
|
|
11570
|
-
.boolean()
|
|
11571
|
-
.optional()
|
|
11572
|
-
.describe('Deprecated, ignored by the backend. Please use isSoftLimit instead; this field will be removed in the future.'),
|
|
11573
11665
|
measureUsageFrom: zod_1.z
|
|
11574
11666
|
.union([
|
|
11575
11667
|
zod_1.z
|
|
@@ -11613,7 +11705,7 @@ exports.createCustomerEntitlementV2Body = zod_1.z
|
|
|
11613
11705
|
.describe('Recurring period with an interval and an anchor.')
|
|
11614
11706
|
.describe('The usage period associated with the entitlement.'),
|
|
11615
11707
|
})
|
|
11616
|
-
.describe('Create
|
|
11708
|
+
.describe('Create inputs for metered entitlement'),
|
|
11617
11709
|
zod_1.z
|
|
11618
11710
|
.object({
|
|
11619
11711
|
config: zod_1.z.coerce
|
|
@@ -11893,15 +11985,19 @@ exports.createCustomerEntitlementGrantV2Params = zod_1.z.object({
|
|
|
11893
11985
|
});
|
|
11894
11986
|
exports.createCustomerEntitlementGrantV2BodyAmountMin = 0;
|
|
11895
11987
|
exports.createCustomerEntitlementGrantV2BodyPriorityMax = 255;
|
|
11896
|
-
exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = 1000;
|
|
11897
|
-
exports.createCustomerEntitlementGrantV2BodyMaxRolloverAmountDefault = 0;
|
|
11898
11988
|
exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = 0;
|
|
11989
|
+
exports.createCustomerEntitlementGrantV2BodyExpirationCountMax = 1000;
|
|
11899
11990
|
exports.createCustomerEntitlementGrantV2Body = zod_1.z
|
|
11900
11991
|
.object({
|
|
11901
11992
|
amount: zod_1.z.coerce
|
|
11902
11993
|
.number()
|
|
11903
11994
|
.min(exports.createCustomerEntitlementGrantV2BodyAmountMin)
|
|
11904
11995
|
.describe('The amount to grant. Should be a positive number.'),
|
|
11996
|
+
annotations: zod_1.z
|
|
11997
|
+
.record(zod_1.z.string(), zod_1.z.any())
|
|
11998
|
+
.describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
|
|
11999
|
+
.optional()
|
|
12000
|
+
.describe('The grant metadata.'),
|
|
11905
12001
|
effectiveAt: zod_1.z.coerce
|
|
11906
12002
|
.date()
|
|
11907
12003
|
.describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
|
|
@@ -11918,11 +12014,12 @@ exports.createCustomerEntitlementGrantV2Body = zod_1.z
|
|
|
11918
12014
|
.describe('The unit of time for the expiration period.'),
|
|
11919
12015
|
})
|
|
11920
12016
|
.describe('The grant expiration definition')
|
|
11921
|
-
.
|
|
12017
|
+
.optional()
|
|
12018
|
+
.describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
|
|
11922
12019
|
maxRolloverAmount: zod_1.z.coerce
|
|
11923
12020
|
.number()
|
|
11924
12021
|
.optional()
|
|
11925
|
-
.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))'),
|
|
12022
|
+
.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))'),
|
|
11926
12023
|
metadata: zod_1.z
|
|
11927
12024
|
.record(zod_1.z.string(), zod_1.z.coerce.string())
|
|
11928
12025
|
.describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
|
|
@@ -12041,11 +12138,17 @@ exports.overrideCustomerEntitlementV2BodyFeatureKeyMax = 64;
|
|
|
12041
12138
|
exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
12042
12139
|
exports.overrideCustomerEntitlementV2BodyFeatureIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
12043
12140
|
exports.overrideCustomerEntitlementV2BodyIsSoftLimitDefault = false;
|
|
12044
|
-
exports.
|
|
12141
|
+
exports.overrideCustomerEntitlementV2BodyPreserveOverageAtResetDefault = false;
|
|
12045
12142
|
exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin = 0;
|
|
12046
12143
|
exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault = 1;
|
|
12047
12144
|
exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax = 255;
|
|
12048
|
-
exports.
|
|
12145
|
+
exports.overrideCustomerEntitlementV2BodyIssueAmountMin = 0;
|
|
12146
|
+
exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault = 1;
|
|
12147
|
+
exports.overrideCustomerEntitlementV2BodyIssuePriorityMax = 255;
|
|
12148
|
+
exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin = 0;
|
|
12149
|
+
exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax = 255;
|
|
12150
|
+
exports.overrideCustomerEntitlementV2BodyGrantsItemMinRolloverAmountDefault = 0;
|
|
12151
|
+
exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax = 1000;
|
|
12049
12152
|
exports.overrideCustomerEntitlementV2BodyFeatureKeyMaxOne = 64;
|
|
12050
12153
|
exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExpOne = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
12051
12154
|
exports.overrideCustomerEntitlementV2BodyFeatureIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
@@ -12068,10 +12171,100 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
|
|
|
12068
12171
|
.regex(exports.overrideCustomerEntitlementV2BodyFeatureKeyRegExp)
|
|
12069
12172
|
.optional()
|
|
12070
12173
|
.describe('The feature the subject is entitled to use.\nEither featureKey or featureId is required.'),
|
|
12174
|
+
grants: zod_1.z
|
|
12175
|
+
.array(zod_1.z
|
|
12176
|
+
.object({
|
|
12177
|
+
amount: zod_1.z.coerce
|
|
12178
|
+
.number()
|
|
12179
|
+
.min(exports.overrideCustomerEntitlementV2BodyGrantsItemAmountMin)
|
|
12180
|
+
.describe('The amount to grant. Should be a positive number.'),
|
|
12181
|
+
annotations: zod_1.z
|
|
12182
|
+
.record(zod_1.z.string(), zod_1.z.any())
|
|
12183
|
+
.describe('Set of key-value pairs managed by the system. Cannot be modified by user.')
|
|
12184
|
+
.optional()
|
|
12185
|
+
.describe('The grant metadata.'),
|
|
12186
|
+
effectiveAt: zod_1.z.coerce
|
|
12187
|
+
.date()
|
|
12188
|
+
.describe('Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).'),
|
|
12189
|
+
expiration: zod_1.z
|
|
12190
|
+
.object({
|
|
12191
|
+
count: zod_1.z.coerce
|
|
12192
|
+
.number()
|
|
12193
|
+
.min(1)
|
|
12194
|
+
.max(exports.overrideCustomerEntitlementV2BodyGrantsItemExpirationCountMax)
|
|
12195
|
+
.describe('The number of time units in the expiration period.'),
|
|
12196
|
+
duration: zod_1.z
|
|
12197
|
+
.enum(['HOUR', 'DAY', 'WEEK', 'MONTH', 'YEAR'])
|
|
12198
|
+
.describe('The expiration duration enum')
|
|
12199
|
+
.describe('The unit of time for the expiration period.'),
|
|
12200
|
+
})
|
|
12201
|
+
.describe('The grant expiration definition')
|
|
12202
|
+
.optional()
|
|
12203
|
+
.describe('The grant expiration definition. If no expiration is provided, the grant can be active indefinitely.'),
|
|
12204
|
+
maxRolloverAmount: zod_1.z.coerce
|
|
12205
|
+
.number()
|
|
12206
|
+
.optional()
|
|
12207
|
+
.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))'),
|
|
12208
|
+
metadata: zod_1.z
|
|
12209
|
+
.record(zod_1.z.string(), zod_1.z.coerce.string())
|
|
12210
|
+
.describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
|
|
12211
|
+
.optional()
|
|
12212
|
+
.describe('The grant metadata.'),
|
|
12213
|
+
minRolloverAmount: zod_1.z.coerce
|
|
12214
|
+
.number()
|
|
12215
|
+
.optional()
|
|
12216
|
+
.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))'),
|
|
12217
|
+
priority: zod_1.z.coerce
|
|
12218
|
+
.number()
|
|
12219
|
+
.min(1)
|
|
12220
|
+
.max(exports.overrideCustomerEntitlementV2BodyGrantsItemPriorityMax)
|
|
12221
|
+
.optional()
|
|
12222
|
+
.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.'),
|
|
12223
|
+
recurrence: zod_1.z
|
|
12224
|
+
.object({
|
|
12225
|
+
anchor: zod_1.z.coerce
|
|
12226
|
+
.date()
|
|
12227
|
+
.optional()
|
|
12228
|
+
.describe('A date-time anchor to base the recurring period on.'),
|
|
12229
|
+
interval: zod_1.z
|
|
12230
|
+
.union([
|
|
12231
|
+
zod_1.z.coerce
|
|
12232
|
+
.string()
|
|
12233
|
+
.regex(overrideCustomerEntitlementV2BodyGrantsItemRecurrenceIntervalRegExpTwo),
|
|
12234
|
+
zod_1.z
|
|
12235
|
+
.enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
|
|
12236
|
+
.describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
|
|
12237
|
+
])
|
|
12238
|
+
.describe('Period duration for the recurrence')
|
|
12239
|
+
.describe('The unit of time for the interval.'),
|
|
12240
|
+
})
|
|
12241
|
+
.describe('Recurring period with an interval and an anchor.')
|
|
12242
|
+
.optional()
|
|
12243
|
+
.describe('The subject of the grant.'),
|
|
12244
|
+
})
|
|
12245
|
+
.describe('The grant creation input.'))
|
|
12246
|
+
.optional()
|
|
12247
|
+
.describe('Grants'),
|
|
12071
12248
|
isSoftLimit: zod_1.z.coerce
|
|
12072
12249
|
.boolean()
|
|
12073
12250
|
.optional()
|
|
12074
12251
|
.describe('If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.'),
|
|
12252
|
+
issue: zod_1.z
|
|
12253
|
+
.object({
|
|
12254
|
+
amount: zod_1.z.coerce
|
|
12255
|
+
.number()
|
|
12256
|
+
.min(exports.overrideCustomerEntitlementV2BodyIssueAmountMin)
|
|
12257
|
+
.describe('The initial grant amount'),
|
|
12258
|
+
priority: zod_1.z.coerce
|
|
12259
|
+
.number()
|
|
12260
|
+
.min(1)
|
|
12261
|
+
.max(exports.overrideCustomerEntitlementV2BodyIssuePriorityMax)
|
|
12262
|
+
.default(exports.overrideCustomerEntitlementV2BodyIssuePriorityDefault)
|
|
12263
|
+
.describe('The priority of the issue after reset'),
|
|
12264
|
+
})
|
|
12265
|
+
.describe('Issue after reset')
|
|
12266
|
+
.optional()
|
|
12267
|
+
.describe('Issue after reset'),
|
|
12075
12268
|
issueAfterReset: zod_1.z.coerce
|
|
12076
12269
|
.number()
|
|
12077
12270
|
.min(exports.overrideCustomerEntitlementV2BodyIssueAfterResetMin)
|
|
@@ -12083,10 +12276,6 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
|
|
|
12083
12276
|
.max(exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityMax)
|
|
12084
12277
|
.default(exports.overrideCustomerEntitlementV2BodyIssueAfterResetPriorityDefault)
|
|
12085
12278
|
.describe('Defines the grant priority for the default grant.'),
|
|
12086
|
-
isUnlimited: zod_1.z.coerce
|
|
12087
|
-
.boolean()
|
|
12088
|
-
.optional()
|
|
12089
|
-
.describe('Deprecated, ignored by the backend. Please use isSoftLimit instead; this field will be removed in the future.'),
|
|
12090
12279
|
measureUsageFrom: zod_1.z
|
|
12091
12280
|
.union([
|
|
12092
12281
|
zod_1.z
|
|
@@ -12130,7 +12319,7 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
|
|
|
12130
12319
|
.describe('Recurring period with an interval and an anchor.')
|
|
12131
12320
|
.describe('The usage period associated with the entitlement.'),
|
|
12132
12321
|
})
|
|
12133
|
-
.describe('Create
|
|
12322
|
+
.describe('Create inputs for metered entitlement'),
|
|
12134
12323
|
zod_1.z
|
|
12135
12324
|
.object({
|
|
12136
12325
|
config: zod_1.z.coerce
|