@openmeter/sdk 1.0.0-beta-efc5c55ccc2a → 1.0.0-beta-92f551ca00a0

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.
@@ -8596,7 +8596,9 @@ exports.createEntitlementBody = zod_1.z
8596
8596
  .describe('A date-time anchor to base the recurring period on.'),
8597
8597
  interval: zod_1.z
8598
8598
  .union([
8599
- zod_1.z.coerce.string(),
8599
+ zod_1.z.coerce
8600
+ .string()
8601
+ .regex(createEntitlementBodyUsagePeriodIntervalRegExpTwo),
8600
8602
  zod_1.z
8601
8603
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8602
8604
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8639,7 +8641,9 @@ exports.createEntitlementBody = zod_1.z
8639
8641
  .describe('A date-time anchor to base the recurring period on.'),
8640
8642
  interval: zod_1.z
8641
8643
  .union([
8642
- zod_1.z.coerce.string(),
8644
+ zod_1.z.coerce
8645
+ .string()
8646
+ .regex(createEntitlementBodyUsagePeriodIntervalRegExpSix),
8643
8647
  zod_1.z
8644
8648
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8645
8649
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8680,7 +8684,9 @@ exports.createEntitlementBody = zod_1.z
8680
8684
  .describe('A date-time anchor to base the recurring period on.'),
8681
8685
  interval: zod_1.z
8682
8686
  .union([
8683
- zod_1.z.coerce.string(),
8687
+ zod_1.z.coerce
8688
+ .string()
8689
+ .regex(createEntitlementBodyUsagePeriodIntervalRegExpOnezero),
8684
8690
  zod_1.z
8685
8691
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8686
8692
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8792,7 +8798,9 @@ exports.createGrantBody = zod_1.z
8792
8798
  .describe('A date-time anchor to base the recurring period on.'),
8793
8799
  interval: zod_1.z
8794
8800
  .union([
8795
- zod_1.z.coerce.string(),
8801
+ zod_1.z.coerce
8802
+ .string()
8803
+ .regex(createGrantBodyRecurrenceIntervalRegExpTwo),
8796
8804
  zod_1.z
8797
8805
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8798
8806
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8895,7 +8903,9 @@ exports.overrideEntitlementBody = zod_1.z
8895
8903
  .describe('A date-time anchor to base the recurring period on.'),
8896
8904
  interval: zod_1.z
8897
8905
  .union([
8898
- zod_1.z.coerce.string(),
8906
+ zod_1.z.coerce
8907
+ .string()
8908
+ .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpTwo),
8899
8909
  zod_1.z
8900
8910
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8901
8911
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8938,7 +8948,9 @@ exports.overrideEntitlementBody = zod_1.z
8938
8948
  .describe('A date-time anchor to base the recurring period on.'),
8939
8949
  interval: zod_1.z
8940
8950
  .union([
8941
- zod_1.z.coerce.string(),
8951
+ zod_1.z.coerce
8952
+ .string()
8953
+ .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpSix),
8942
8954
  zod_1.z
8943
8955
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8944
8956
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -8979,7 +8991,9 @@ exports.overrideEntitlementBody = zod_1.z
8979
8991
  .describe('A date-time anchor to base the recurring period on.'),
8980
8992
  interval: zod_1.z
8981
8993
  .union([
8982
- zod_1.z.coerce.string(),
8994
+ zod_1.z.coerce
8995
+ .string()
8996
+ .regex(overrideEntitlementBodyUsagePeriodIntervalRegExpOnezero),
8983
8997
  zod_1.z
8984
8998
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
8985
8999
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11585,7 +11599,9 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11585
11599
  .describe('A date-time anchor to base the recurring period on.'),
11586
11600
  interval: zod_1.z
11587
11601
  .union([
11588
- zod_1.z.coerce.string(),
11602
+ zod_1.z.coerce
11603
+ .string()
11604
+ .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
11589
11605
  zod_1.z
11590
11606
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11591
11607
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11628,7 +11644,9 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11628
11644
  .describe('A date-time anchor to base the recurring period on.'),
11629
11645
  interval: zod_1.z
11630
11646
  .union([
11631
- zod_1.z.coerce.string(),
11647
+ zod_1.z.coerce
11648
+ .string()
11649
+ .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
11632
11650
  zod_1.z
11633
11651
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11634
11652
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11669,7 +11687,9 @@ exports.createCustomerEntitlementV2Body = zod_1.z
11669
11687
  .describe('A date-time anchor to base the recurring period on.'),
11670
11688
  interval: zod_1.z
11671
11689
  .union([
11672
- zod_1.z.coerce.string(),
11690
+ zod_1.z.coerce
11691
+ .string()
11692
+ .regex(createCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
11673
11693
  zod_1.z
11674
11694
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11675
11695
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -11940,7 +11960,9 @@ exports.createCustomerEntitlementGrantV2Body = zod_1.z
11940
11960
  .describe('A date-time anchor to base the recurring period on.'),
11941
11961
  interval: zod_1.z
11942
11962
  .union([
11943
- zod_1.z.coerce.string(),
11963
+ zod_1.z.coerce
11964
+ .string()
11965
+ .regex(createCustomerEntitlementGrantV2BodyRecurrenceIntervalRegExpTwo),
11944
11966
  zod_1.z
11945
11967
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
11946
11968
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12109,7 +12131,9 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12109
12131
  .describe('A date-time anchor to base the recurring period on.'),
12110
12132
  interval: zod_1.z
12111
12133
  .union([
12112
- zod_1.z.coerce.string(),
12134
+ zod_1.z.coerce
12135
+ .string()
12136
+ .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpTwo),
12113
12137
  zod_1.z
12114
12138
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12115
12139
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12152,7 +12176,9 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12152
12176
  .describe('A date-time anchor to base the recurring period on.'),
12153
12177
  interval: zod_1.z
12154
12178
  .union([
12155
- zod_1.z.coerce.string(),
12179
+ zod_1.z.coerce
12180
+ .string()
12181
+ .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpSix),
12156
12182
  zod_1.z
12157
12183
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12158
12184
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),
@@ -12193,7 +12219,9 @@ exports.overrideCustomerEntitlementV2Body = zod_1.z
12193
12219
  .describe('A date-time anchor to base the recurring period on.'),
12194
12220
  interval: zod_1.z
12195
12221
  .union([
12196
- zod_1.z.coerce.string(),
12222
+ zod_1.z.coerce
12223
+ .string()
12224
+ .regex(overrideCustomerEntitlementV2BodyUsagePeriodIntervalRegExpOnezero),
12197
12225
  zod_1.z
12198
12226
  .enum(['DAY', 'WEEK', 'MONTH', 'YEAR'])
12199
12227
  .describe('The unit of time for the interval.\nOne of: `day`, `week`, `month`, or `year`.'),