@openmeter/client 1.0.0-beta-9b0450f0db89 → 1.0.0-beta-0abbaf78837c

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.
@@ -3402,6 +3402,27 @@ export declare const entitlementBoolean: z.ZodObject<{
3402
3402
  updatedAt: z.ZodDate;
3403
3403
  deletedAt: z.ZodOptional<z.ZodDate>;
3404
3404
  }, z.core.$strip>;
3405
+ export declare const entitlementGrant: z.ZodObject<{
3406
+ id: z.ZodString;
3407
+ entitlementId: z.ZodString;
3408
+ amount: z.ZodString;
3409
+ priority: z.ZodNumber;
3410
+ effectiveAt: z.ZodDate;
3411
+ expiresAfter: z.ZodOptional<z.ZodString>;
3412
+ expiresAt: z.ZodOptional<z.ZodDate>;
3413
+ maxRolloverAmount: z.ZodString;
3414
+ minRolloverAmount: z.ZodString;
3415
+ recurrence: z.ZodOptional<z.ZodObject<{
3416
+ anchor: z.ZodDate;
3417
+ interval: z.ZodString;
3418
+ }, z.core.$strip>>;
3419
+ nextRecurrence: z.ZodOptional<z.ZodDate>;
3420
+ voidedAt: z.ZodOptional<z.ZodDate>;
3421
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3422
+ createdAt: z.ZodDate;
3423
+ updatedAt: z.ZodDate;
3424
+ deletedAt: z.ZodOptional<z.ZodDate>;
3425
+ }, z.core.$strip>;
3405
3426
  export declare const workflowCollectionAlignmentAnchored: z.ZodObject<{
3406
3427
  type: z.ZodLiteral<"anchored">;
3407
3428
  recurringPeriod: z.ZodObject<{
@@ -4722,6 +4743,36 @@ export declare const entitlement: z.ZodDiscriminatedUnion<[z.ZodObject<{
4722
4743
  updatedAt: z.ZodDate;
4723
4744
  deletedAt: z.ZodOptional<z.ZodDate>;
4724
4745
  }, z.core.$strip>], "type">;
4746
+ export declare const entitlementGrantPagePaginatedResponse: z.ZodObject<{
4747
+ data: z.ZodArray<z.ZodObject<{
4748
+ id: z.ZodString;
4749
+ entitlementId: z.ZodString;
4750
+ amount: z.ZodString;
4751
+ priority: z.ZodNumber;
4752
+ effectiveAt: z.ZodDate;
4753
+ expiresAfter: z.ZodOptional<z.ZodString>;
4754
+ expiresAt: z.ZodOptional<z.ZodDate>;
4755
+ maxRolloverAmount: z.ZodString;
4756
+ minRolloverAmount: z.ZodString;
4757
+ recurrence: z.ZodOptional<z.ZodObject<{
4758
+ anchor: z.ZodDate;
4759
+ interval: z.ZodString;
4760
+ }, z.core.$strip>>;
4761
+ nextRecurrence: z.ZodOptional<z.ZodDate>;
4762
+ voidedAt: z.ZodOptional<z.ZodDate>;
4763
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4764
+ createdAt: z.ZodDate;
4765
+ updatedAt: z.ZodDate;
4766
+ deletedAt: z.ZodOptional<z.ZodDate>;
4767
+ }, z.core.$strip>>;
4768
+ meta: z.ZodObject<{
4769
+ page: z.ZodObject<{
4770
+ number: z.ZodNumber;
4771
+ size: z.ZodNumber;
4772
+ total: z.ZodNumber;
4773
+ }, z.core.$strip>;
4774
+ }, z.core.$strip>;
4775
+ }, z.core.$strip>;
4725
4776
  export declare const workflowCollectionAlignment: z.ZodDiscriminatedUnion<[z.ZodObject<{
4726
4777
  type: z.ZodLiteral<"subscription">;
4727
4778
  }, z.core.$strip>, z.ZodObject<{
@@ -18706,6 +18757,148 @@ export declare const createCustomerEntitlementResponse: z.ZodDiscriminatedUnion<
18706
18757
  updatedAt: z.ZodDate;
18707
18758
  deletedAt: z.ZodOptional<z.ZodDate>;
18708
18759
  }, z.core.$strip>], "type">;
18760
+ export declare const overrideCustomerEntitlementPathParams: z.ZodObject<{
18761
+ customerId: z.ZodString;
18762
+ entitlementId: z.ZodString;
18763
+ }, z.core.$strip>;
18764
+ export declare const overrideCustomerEntitlementBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
18765
+ type: z.ZodLiteral<"metered">;
18766
+ feature: z.ZodObject<{
18767
+ id: z.ZodString;
18768
+ }, z.core.$strip>;
18769
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18770
+ isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18771
+ issue: z.ZodOptional<z.ZodObject<{
18772
+ amount: z.ZodString;
18773
+ priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18774
+ }, z.core.$strip>>;
18775
+ issueAfterReset: z.ZodOptional<z.ZodString>;
18776
+ issueAfterResetPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18777
+ preserveOverageAtReset: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18778
+ usagePeriod: z.ZodObject<{
18779
+ interval: z.ZodString;
18780
+ anchor: z.ZodOptional<z.ZodDate>;
18781
+ }, z.core.$strip>;
18782
+ measureUsageFrom: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
18783
+ current_period_start: "current_period_start";
18784
+ now: "now";
18785
+ }>, z.ZodDate]>>;
18786
+ grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
18787
+ amount: z.ZodString;
18788
+ priority: z.ZodOptional<z.ZodNumber>;
18789
+ effectiveAt: z.ZodDate;
18790
+ expiresAfter: z.ZodOptional<z.ZodString>;
18791
+ maxRolloverAmount: z.ZodOptional<z.ZodString>;
18792
+ minRolloverAmount: z.ZodOptional<z.ZodString>;
18793
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18794
+ recurrence: z.ZodOptional<z.ZodObject<{
18795
+ interval: z.ZodString;
18796
+ anchor: z.ZodOptional<z.ZodDate>;
18797
+ }, z.core.$strip>>;
18798
+ }, z.core.$strip>>>;
18799
+ }, z.core.$strip>, z.ZodObject<{
18800
+ type: z.ZodLiteral<"static">;
18801
+ feature: z.ZodObject<{
18802
+ id: z.ZodString;
18803
+ }, z.core.$strip>;
18804
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18805
+ config: z.ZodUnknown;
18806
+ usagePeriod: z.ZodOptional<z.ZodObject<{
18807
+ interval: z.ZodString;
18808
+ anchor: z.ZodOptional<z.ZodDate>;
18809
+ }, z.core.$strip>>;
18810
+ }, z.core.$strip>, z.ZodObject<{
18811
+ type: z.ZodLiteral<"boolean">;
18812
+ feature: z.ZodObject<{
18813
+ id: z.ZodString;
18814
+ }, z.core.$strip>;
18815
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18816
+ usagePeriod: z.ZodOptional<z.ZodObject<{
18817
+ interval: z.ZodString;
18818
+ anchor: z.ZodOptional<z.ZodDate>;
18819
+ }, z.core.$strip>>;
18820
+ }, z.core.$strip>], "type">;
18821
+ export declare const overrideCustomerEntitlementResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
18822
+ id: z.ZodString;
18823
+ type: z.ZodLiteral<"metered">;
18824
+ feature: z.ZodObject<{
18825
+ id: z.ZodString;
18826
+ }, z.core.$strip>;
18827
+ customer: z.ZodObject<{
18828
+ id: z.ZodString;
18829
+ }, z.core.$strip>;
18830
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18831
+ activeFrom: z.ZodDate;
18832
+ activeTo: z.ZodOptional<z.ZodDate>;
18833
+ createdAt: z.ZodDate;
18834
+ updatedAt: z.ZodDate;
18835
+ deletedAt: z.ZodOptional<z.ZodDate>;
18836
+ usagePeriod: z.ZodObject<{
18837
+ anchor: z.ZodDate;
18838
+ interval: z.ZodString;
18839
+ }, z.core.$strip>;
18840
+ currentUsagePeriod: z.ZodObject<{
18841
+ from: z.ZodDate;
18842
+ to: z.ZodDate;
18843
+ }, z.core.$strip>;
18844
+ isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18845
+ issue: z.ZodOptional<z.ZodObject<{
18846
+ amount: z.ZodString;
18847
+ priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18848
+ }, z.core.$strip>>;
18849
+ issueAfterReset: z.ZodOptional<z.ZodString>;
18850
+ issueAfterResetPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18851
+ preserveOverageAtReset: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18852
+ measureUsageFrom: z.ZodDate;
18853
+ lastReset: z.ZodDate;
18854
+ }, z.core.$strip>, z.ZodObject<{
18855
+ id: z.ZodString;
18856
+ type: z.ZodLiteral<"static">;
18857
+ feature: z.ZodObject<{
18858
+ id: z.ZodString;
18859
+ }, z.core.$strip>;
18860
+ customer: z.ZodObject<{
18861
+ id: z.ZodString;
18862
+ }, z.core.$strip>;
18863
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18864
+ usagePeriod: z.ZodOptional<z.ZodObject<{
18865
+ anchor: z.ZodDate;
18866
+ interval: z.ZodString;
18867
+ }, z.core.$strip>>;
18868
+ currentUsagePeriod: z.ZodOptional<z.ZodObject<{
18869
+ from: z.ZodDate;
18870
+ to: z.ZodDate;
18871
+ }, z.core.$strip>>;
18872
+ activeFrom: z.ZodDate;
18873
+ activeTo: z.ZodOptional<z.ZodDate>;
18874
+ createdAt: z.ZodDate;
18875
+ updatedAt: z.ZodDate;
18876
+ deletedAt: z.ZodOptional<z.ZodDate>;
18877
+ config: z.ZodUnknown;
18878
+ }, z.core.$strip>, z.ZodObject<{
18879
+ id: z.ZodString;
18880
+ type: z.ZodLiteral<"boolean">;
18881
+ feature: z.ZodObject<{
18882
+ id: z.ZodString;
18883
+ }, z.core.$strip>;
18884
+ customer: z.ZodObject<{
18885
+ id: z.ZodString;
18886
+ }, z.core.$strip>;
18887
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18888
+ usagePeriod: z.ZodOptional<z.ZodObject<{
18889
+ anchor: z.ZodDate;
18890
+ interval: z.ZodString;
18891
+ }, z.core.$strip>>;
18892
+ currentUsagePeriod: z.ZodOptional<z.ZodObject<{
18893
+ from: z.ZodDate;
18894
+ to: z.ZodDate;
18895
+ }, z.core.$strip>>;
18896
+ activeFrom: z.ZodDate;
18897
+ activeTo: z.ZodOptional<z.ZodDate>;
18898
+ createdAt: z.ZodDate;
18899
+ updatedAt: z.ZodDate;
18900
+ deletedAt: z.ZodOptional<z.ZodDate>;
18901
+ }, z.core.$strip>], "type">;
18709
18902
  export declare const getCustomerEntitlementHistoryPathParams: z.ZodObject<{
18710
18903
  customerId: z.ZodString;
18711
18904
  entitlementId: z.ZodString;
@@ -19170,6 +19363,89 @@ export declare const getEntitlementResponse: z.ZodDiscriminatedUnion<[z.ZodObjec
19170
19363
  updatedAt: z.ZodDate;
19171
19364
  deletedAt: z.ZodOptional<z.ZodDate>;
19172
19365
  }, z.core.$strip>], "type">;
19366
+ export declare const createCustomerEntitlementGrantPathParams: z.ZodObject<{
19367
+ customerId: z.ZodString;
19368
+ entitlementId: z.ZodString;
19369
+ }, z.core.$strip>;
19370
+ export declare const createCustomerEntitlementGrantBody: z.ZodObject<{
19371
+ amount: z.ZodString;
19372
+ priority: z.ZodOptional<z.ZodNumber>;
19373
+ effectiveAt: z.ZodDate;
19374
+ expiresAfter: z.ZodOptional<z.ZodString>;
19375
+ maxRolloverAmount: z.ZodOptional<z.ZodString>;
19376
+ minRolloverAmount: z.ZodOptional<z.ZodString>;
19377
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19378
+ recurrence: z.ZodOptional<z.ZodObject<{
19379
+ interval: z.ZodString;
19380
+ anchor: z.ZodOptional<z.ZodDate>;
19381
+ }, z.core.$strip>>;
19382
+ }, z.core.$strip>;
19383
+ export declare const createCustomerEntitlementGrantResponse: z.ZodObject<{
19384
+ id: z.ZodString;
19385
+ entitlementId: z.ZodString;
19386
+ amount: z.ZodString;
19387
+ priority: z.ZodNumber;
19388
+ effectiveAt: z.ZodDate;
19389
+ expiresAfter: z.ZodOptional<z.ZodString>;
19390
+ expiresAt: z.ZodOptional<z.ZodDate>;
19391
+ maxRolloverAmount: z.ZodString;
19392
+ minRolloverAmount: z.ZodString;
19393
+ recurrence: z.ZodOptional<z.ZodObject<{
19394
+ anchor: z.ZodDate;
19395
+ interval: z.ZodString;
19396
+ }, z.core.$strip>>;
19397
+ nextRecurrence: z.ZodOptional<z.ZodDate>;
19398
+ voidedAt: z.ZodOptional<z.ZodDate>;
19399
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19400
+ createdAt: z.ZodDate;
19401
+ updatedAt: z.ZodDate;
19402
+ deletedAt: z.ZodOptional<z.ZodDate>;
19403
+ }, z.core.$strip>;
19404
+ export declare const listCustomerEntitlementGrantsPathParams: z.ZodObject<{
19405
+ customerId: z.ZodString;
19406
+ entitlementId: z.ZodString;
19407
+ }, z.core.$strip>;
19408
+ export declare const listCustomerEntitlementGrantsQueryParams: z.ZodObject<{
19409
+ page: z.ZodOptional<z.ZodObject<{
19410
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
19411
+ number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
19412
+ }, z.core.$strip>>;
19413
+ sort: z.ZodOptional<z.ZodObject<{
19414
+ by: z.ZodString;
19415
+ order: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"asc">, z.ZodLiteral<"desc">]>>>;
19416
+ }, z.core.$strip>>;
19417
+ includeDeleted: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
19418
+ }, z.core.$strip>;
19419
+ export declare const listCustomerEntitlementGrantsResponse: z.ZodObject<{
19420
+ data: z.ZodArray<z.ZodObject<{
19421
+ id: z.ZodString;
19422
+ entitlementId: z.ZodString;
19423
+ amount: z.ZodString;
19424
+ priority: z.ZodNumber;
19425
+ effectiveAt: z.ZodDate;
19426
+ expiresAfter: z.ZodOptional<z.ZodString>;
19427
+ expiresAt: z.ZodOptional<z.ZodDate>;
19428
+ maxRolloverAmount: z.ZodString;
19429
+ minRolloverAmount: z.ZodString;
19430
+ recurrence: z.ZodOptional<z.ZodObject<{
19431
+ anchor: z.ZodDate;
19432
+ interval: z.ZodString;
19433
+ }, z.core.$strip>>;
19434
+ nextRecurrence: z.ZodOptional<z.ZodDate>;
19435
+ voidedAt: z.ZodOptional<z.ZodDate>;
19436
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19437
+ createdAt: z.ZodDate;
19438
+ updatedAt: z.ZodDate;
19439
+ deletedAt: z.ZodOptional<z.ZodDate>;
19440
+ }, z.core.$strip>>;
19441
+ meta: z.ZodObject<{
19442
+ page: z.ZodObject<{
19443
+ number: z.ZodNumber;
19444
+ size: z.ZodNumber;
19445
+ total: z.ZodNumber;
19446
+ }, z.core.$strip>;
19447
+ }, z.core.$strip>;
19448
+ }, z.core.$strip>;
19173
19449
  export declare const createCreditGrantPathParams: z.ZodObject<{
19174
19450
  customerId: z.ZodString;
19175
19451
  }, z.core.$strip>;
@@ -37631,6 +37907,27 @@ export declare const entitlementBooleanWire: z.ZodObject<{
37631
37907
  updated_at: z.ZodString;
37632
37908
  deleted_at: z.ZodOptional<z.ZodString>;
37633
37909
  }, z.core.$strict>;
37910
+ export declare const entitlementGrantWire: z.ZodObject<{
37911
+ id: z.ZodString;
37912
+ entitlement_id: z.ZodString;
37913
+ amount: z.ZodString;
37914
+ priority: z.ZodNumber;
37915
+ effective_at: z.ZodString;
37916
+ expires_after: z.ZodOptional<z.ZodString>;
37917
+ expires_at: z.ZodOptional<z.ZodString>;
37918
+ max_rollover_amount: z.ZodString;
37919
+ min_rollover_amount: z.ZodString;
37920
+ recurrence: z.ZodOptional<z.ZodObject<{
37921
+ anchor: z.ZodString;
37922
+ interval: z.ZodString;
37923
+ }, z.core.$strict>>;
37924
+ next_recurrence: z.ZodOptional<z.ZodString>;
37925
+ voided_at: z.ZodOptional<z.ZodString>;
37926
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
37927
+ created_at: z.ZodString;
37928
+ updated_at: z.ZodString;
37929
+ deleted_at: z.ZodOptional<z.ZodString>;
37930
+ }, z.core.$strict>;
37634
37931
  export declare const workflowCollectionAlignmentAnchoredWire: z.ZodObject<{
37635
37932
  type: z.ZodLiteral<"anchored">;
37636
37933
  recurring_period: z.ZodObject<{
@@ -38951,6 +39248,36 @@ export declare const entitlementWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
38951
39248
  updated_at: z.ZodString;
38952
39249
  deleted_at: z.ZodOptional<z.ZodString>;
38953
39250
  }, z.core.$strict>], "type">;
39251
+ export declare const entitlementGrantPagePaginatedResponseWire: z.ZodObject<{
39252
+ data: z.ZodArray<z.ZodObject<{
39253
+ id: z.ZodString;
39254
+ entitlement_id: z.ZodString;
39255
+ amount: z.ZodString;
39256
+ priority: z.ZodNumber;
39257
+ effective_at: z.ZodString;
39258
+ expires_after: z.ZodOptional<z.ZodString>;
39259
+ expires_at: z.ZodOptional<z.ZodString>;
39260
+ max_rollover_amount: z.ZodString;
39261
+ min_rollover_amount: z.ZodString;
39262
+ recurrence: z.ZodOptional<z.ZodObject<{
39263
+ anchor: z.ZodString;
39264
+ interval: z.ZodString;
39265
+ }, z.core.$strict>>;
39266
+ next_recurrence: z.ZodOptional<z.ZodString>;
39267
+ voided_at: z.ZodOptional<z.ZodString>;
39268
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39269
+ created_at: z.ZodString;
39270
+ updated_at: z.ZodString;
39271
+ deleted_at: z.ZodOptional<z.ZodString>;
39272
+ }, z.core.$strict>>;
39273
+ meta: z.ZodObject<{
39274
+ page: z.ZodObject<{
39275
+ number: z.ZodNumber;
39276
+ size: z.ZodNumber;
39277
+ total: z.ZodNumber;
39278
+ }, z.core.$strict>;
39279
+ }, z.core.$strict>;
39280
+ }, z.core.$strict>;
38954
39281
  export declare const workflowCollectionAlignmentWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
38955
39282
  type: z.ZodLiteral<"subscription">;
38956
39283
  }, z.core.$strict>, z.ZodObject<{
@@ -52926,6 +53253,148 @@ export declare const createCustomerEntitlementResponseWire: z.ZodDiscriminatedUn
52926
53253
  updated_at: z.ZodString;
52927
53254
  deleted_at: z.ZodOptional<z.ZodString>;
52928
53255
  }, z.core.$strict>], "type">;
53256
+ export declare const overrideCustomerEntitlementPathParamsWire: z.ZodObject<{
53257
+ customerId: z.ZodString;
53258
+ entitlementId: z.ZodString;
53259
+ }, z.core.$strip>;
53260
+ export declare const overrideCustomerEntitlementBodyWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
53261
+ type: z.ZodLiteral<"metered">;
53262
+ feature: z.ZodObject<{
53263
+ id: z.ZodString;
53264
+ }, z.core.$strict>;
53265
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53266
+ is_soft_limit: z.ZodOptional<z.ZodBoolean>;
53267
+ issue: z.ZodOptional<z.ZodObject<{
53268
+ amount: z.ZodString;
53269
+ priority: z.ZodOptional<z.ZodNumber>;
53270
+ }, z.core.$strict>>;
53271
+ issue_after_reset: z.ZodOptional<z.ZodString>;
53272
+ issue_after_reset_priority: z.ZodOptional<z.ZodNumber>;
53273
+ preserve_overage_at_reset: z.ZodOptional<z.ZodBoolean>;
53274
+ usage_period: z.ZodObject<{
53275
+ interval: z.ZodString;
53276
+ anchor: z.ZodOptional<z.ZodString>;
53277
+ }, z.core.$strict>;
53278
+ measure_usage_from: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
53279
+ current_period_start: "current_period_start";
53280
+ now: "now";
53281
+ }>, z.ZodString]>>;
53282
+ grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
53283
+ amount: z.ZodString;
53284
+ priority: z.ZodOptional<z.ZodNumber>;
53285
+ effective_at: z.ZodString;
53286
+ expires_after: z.ZodOptional<z.ZodString>;
53287
+ max_rollover_amount: z.ZodOptional<z.ZodString>;
53288
+ min_rollover_amount: z.ZodOptional<z.ZodString>;
53289
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53290
+ recurrence: z.ZodOptional<z.ZodObject<{
53291
+ interval: z.ZodString;
53292
+ anchor: z.ZodOptional<z.ZodString>;
53293
+ }, z.core.$strict>>;
53294
+ }, z.core.$strict>>>;
53295
+ }, z.core.$strict>, z.ZodObject<{
53296
+ type: z.ZodLiteral<"static">;
53297
+ feature: z.ZodObject<{
53298
+ id: z.ZodString;
53299
+ }, z.core.$strict>;
53300
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53301
+ config: z.ZodUnknown;
53302
+ usage_period: z.ZodOptional<z.ZodObject<{
53303
+ interval: z.ZodString;
53304
+ anchor: z.ZodOptional<z.ZodString>;
53305
+ }, z.core.$strict>>;
53306
+ }, z.core.$strict>, z.ZodObject<{
53307
+ type: z.ZodLiteral<"boolean">;
53308
+ feature: z.ZodObject<{
53309
+ id: z.ZodString;
53310
+ }, z.core.$strict>;
53311
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53312
+ usage_period: z.ZodOptional<z.ZodObject<{
53313
+ interval: z.ZodString;
53314
+ anchor: z.ZodOptional<z.ZodString>;
53315
+ }, z.core.$strict>>;
53316
+ }, z.core.$strict>], "type">;
53317
+ export declare const overrideCustomerEntitlementResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
53318
+ id: z.ZodString;
53319
+ type: z.ZodLiteral<"metered">;
53320
+ feature: z.ZodObject<{
53321
+ id: z.ZodString;
53322
+ }, z.core.$strict>;
53323
+ customer: z.ZodObject<{
53324
+ id: z.ZodString;
53325
+ }, z.core.$strict>;
53326
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53327
+ active_from: z.ZodString;
53328
+ active_to: z.ZodOptional<z.ZodString>;
53329
+ created_at: z.ZodString;
53330
+ updated_at: z.ZodString;
53331
+ deleted_at: z.ZodOptional<z.ZodString>;
53332
+ usage_period: z.ZodObject<{
53333
+ anchor: z.ZodString;
53334
+ interval: z.ZodString;
53335
+ }, z.core.$strict>;
53336
+ current_usage_period: z.ZodObject<{
53337
+ from: z.ZodString;
53338
+ to: z.ZodString;
53339
+ }, z.core.$strict>;
53340
+ is_soft_limit: z.ZodOptional<z.ZodBoolean>;
53341
+ issue: z.ZodOptional<z.ZodObject<{
53342
+ amount: z.ZodString;
53343
+ priority: z.ZodOptional<z.ZodNumber>;
53344
+ }, z.core.$strict>>;
53345
+ issue_after_reset: z.ZodOptional<z.ZodString>;
53346
+ issue_after_reset_priority: z.ZodOptional<z.ZodNumber>;
53347
+ preserve_overage_at_reset: z.ZodOptional<z.ZodBoolean>;
53348
+ measure_usage_from: z.ZodString;
53349
+ last_reset: z.ZodString;
53350
+ }, z.core.$strict>, z.ZodObject<{
53351
+ id: z.ZodString;
53352
+ type: z.ZodLiteral<"static">;
53353
+ feature: z.ZodObject<{
53354
+ id: z.ZodString;
53355
+ }, z.core.$strict>;
53356
+ customer: z.ZodObject<{
53357
+ id: z.ZodString;
53358
+ }, z.core.$strict>;
53359
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53360
+ usage_period: z.ZodOptional<z.ZodObject<{
53361
+ anchor: z.ZodString;
53362
+ interval: z.ZodString;
53363
+ }, z.core.$strict>>;
53364
+ current_usage_period: z.ZodOptional<z.ZodObject<{
53365
+ from: z.ZodString;
53366
+ to: z.ZodString;
53367
+ }, z.core.$strict>>;
53368
+ active_from: z.ZodString;
53369
+ active_to: z.ZodOptional<z.ZodString>;
53370
+ created_at: z.ZodString;
53371
+ updated_at: z.ZodString;
53372
+ deleted_at: z.ZodOptional<z.ZodString>;
53373
+ config: z.ZodUnknown;
53374
+ }, z.core.$strict>, z.ZodObject<{
53375
+ id: z.ZodString;
53376
+ type: z.ZodLiteral<"boolean">;
53377
+ feature: z.ZodObject<{
53378
+ id: z.ZodString;
53379
+ }, z.core.$strict>;
53380
+ customer: z.ZodObject<{
53381
+ id: z.ZodString;
53382
+ }, z.core.$strict>;
53383
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53384
+ usage_period: z.ZodOptional<z.ZodObject<{
53385
+ anchor: z.ZodString;
53386
+ interval: z.ZodString;
53387
+ }, z.core.$strict>>;
53388
+ current_usage_period: z.ZodOptional<z.ZodObject<{
53389
+ from: z.ZodString;
53390
+ to: z.ZodString;
53391
+ }, z.core.$strict>>;
53392
+ active_from: z.ZodString;
53393
+ active_to: z.ZodOptional<z.ZodString>;
53394
+ created_at: z.ZodString;
53395
+ updated_at: z.ZodString;
53396
+ deleted_at: z.ZodOptional<z.ZodString>;
53397
+ }, z.core.$strict>], "type">;
52929
53398
  export declare const getCustomerEntitlementHistoryPathParamsWire: z.ZodObject<{
52930
53399
  customerId: z.ZodString;
52931
53400
  entitlementId: z.ZodString;
@@ -53384,6 +53853,86 @@ export declare const getEntitlementResponseWire: z.ZodDiscriminatedUnion<[z.ZodO
53384
53853
  updated_at: z.ZodString;
53385
53854
  deleted_at: z.ZodOptional<z.ZodString>;
53386
53855
  }, z.core.$strict>], "type">;
53856
+ export declare const createCustomerEntitlementGrantPathParamsWire: z.ZodObject<{
53857
+ customerId: z.ZodString;
53858
+ entitlementId: z.ZodString;
53859
+ }, z.core.$strip>;
53860
+ export declare const createCustomerEntitlementGrantBodyWire: z.ZodObject<{
53861
+ amount: z.ZodString;
53862
+ priority: z.ZodOptional<z.ZodNumber>;
53863
+ effective_at: z.ZodString;
53864
+ expires_after: z.ZodOptional<z.ZodString>;
53865
+ max_rollover_amount: z.ZodOptional<z.ZodString>;
53866
+ min_rollover_amount: z.ZodOptional<z.ZodString>;
53867
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53868
+ recurrence: z.ZodOptional<z.ZodObject<{
53869
+ interval: z.ZodString;
53870
+ anchor: z.ZodOptional<z.ZodString>;
53871
+ }, z.core.$strict>>;
53872
+ }, z.core.$strict>;
53873
+ export declare const createCustomerEntitlementGrantResponseWire: z.ZodObject<{
53874
+ id: z.ZodString;
53875
+ entitlement_id: z.ZodString;
53876
+ amount: z.ZodString;
53877
+ priority: z.ZodNumber;
53878
+ effective_at: z.ZodString;
53879
+ expires_after: z.ZodOptional<z.ZodString>;
53880
+ expires_at: z.ZodOptional<z.ZodString>;
53881
+ max_rollover_amount: z.ZodString;
53882
+ min_rollover_amount: z.ZodString;
53883
+ recurrence: z.ZodOptional<z.ZodObject<{
53884
+ anchor: z.ZodString;
53885
+ interval: z.ZodString;
53886
+ }, z.core.$strict>>;
53887
+ next_recurrence: z.ZodOptional<z.ZodString>;
53888
+ voided_at: z.ZodOptional<z.ZodString>;
53889
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53890
+ created_at: z.ZodString;
53891
+ updated_at: z.ZodString;
53892
+ deleted_at: z.ZodOptional<z.ZodString>;
53893
+ }, z.core.$strict>;
53894
+ export declare const listCustomerEntitlementGrantsPathParamsWire: z.ZodObject<{
53895
+ customerId: z.ZodString;
53896
+ entitlementId: z.ZodString;
53897
+ }, z.core.$strip>;
53898
+ export declare const listCustomerEntitlementGrantsQueryParamsWire: z.ZodObject<{
53899
+ page: z.ZodOptional<z.ZodObject<{
53900
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
53901
+ number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
53902
+ }, z.core.$strict>>;
53903
+ sort: z.ZodOptional<z.ZodString>;
53904
+ include_deleted: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
53905
+ }, z.core.$strip>;
53906
+ export declare const listCustomerEntitlementGrantsResponseWire: z.ZodObject<{
53907
+ data: z.ZodArray<z.ZodObject<{
53908
+ id: z.ZodString;
53909
+ entitlement_id: z.ZodString;
53910
+ amount: z.ZodString;
53911
+ priority: z.ZodNumber;
53912
+ effective_at: z.ZodString;
53913
+ expires_after: z.ZodOptional<z.ZodString>;
53914
+ expires_at: z.ZodOptional<z.ZodString>;
53915
+ max_rollover_amount: z.ZodString;
53916
+ min_rollover_amount: z.ZodString;
53917
+ recurrence: z.ZodOptional<z.ZodObject<{
53918
+ anchor: z.ZodString;
53919
+ interval: z.ZodString;
53920
+ }, z.core.$strict>>;
53921
+ next_recurrence: z.ZodOptional<z.ZodString>;
53922
+ voided_at: z.ZodOptional<z.ZodString>;
53923
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53924
+ created_at: z.ZodString;
53925
+ updated_at: z.ZodString;
53926
+ deleted_at: z.ZodOptional<z.ZodString>;
53927
+ }, z.core.$strict>>;
53928
+ meta: z.ZodObject<{
53929
+ page: z.ZodObject<{
53930
+ number: z.ZodNumber;
53931
+ size: z.ZodNumber;
53932
+ total: z.ZodNumber;
53933
+ }, z.core.$strict>;
53934
+ }, z.core.$strict>;
53935
+ }, z.core.$strict>;
53387
53936
  export declare const createCreditGrantPathParamsWire: z.ZodObject<{
53388
53937
  customerId: z.ZodString;
53389
53938
  }, z.core.$strip>;