@openmeter/client 1.0.0-beta-1e01089e8f75 → 1.0.0-beta-19a1f6bdbcd5

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.
@@ -240,19 +240,6 @@ export declare const rateCardProrationMode: z.ZodEnum<{
240
240
  no_proration: "no_proration";
241
241
  prorate_prices: "prorate_prices";
242
242
  }>;
243
- export declare const priceFree: z.ZodObject<{
244
- type: z.ZodLiteral<"free">;
245
- }, z.core.$strip>;
246
- export declare const subscriptionCostBasisMode: z.ZodEnum<{
247
- dynamic: "dynamic";
248
- pinned: "pinned";
249
- }>;
250
- export declare const subscriptionStatus: z.ZodEnum<{
251
- active: "active";
252
- canceled: "canceled";
253
- inactive: "inactive";
254
- scheduled: "scheduled";
255
- }>;
256
243
  export declare const unitConfigOperation: z.ZodEnum<{
257
244
  divide: "divide";
258
245
  multiply: "multiply";
@@ -263,6 +250,19 @@ export declare const unitConfigRoundingMode: z.ZodEnum<{
263
250
  half_up: "half_up";
264
251
  none: "none";
265
252
  }>;
253
+ export declare const subscriptionCostBasisMode: z.ZodEnum<{
254
+ dynamic: "dynamic";
255
+ pinned: "pinned";
256
+ }>;
257
+ export declare const subscriptionStatus: z.ZodEnum<{
258
+ active: "active";
259
+ canceled: "canceled";
260
+ inactive: "inactive";
261
+ scheduled: "scheduled";
262
+ }>;
263
+ export declare const priceFree: z.ZodObject<{
264
+ type: z.ZodLiteral<"free">;
265
+ }, z.core.$strip>;
266
266
  export declare const rateCardStaticEntitlement: z.ZodObject<{
267
267
  type: z.ZodLiteral<"static">;
268
268
  config: z.ZodUnknown;
@@ -573,10 +573,6 @@ export declare const priceFlat: z.ZodObject<{
573
573
  type: z.ZodLiteral<"flat">;
574
574
  amount: z.ZodString;
575
575
  }, z.core.$strip>;
576
- export declare const priceUnit: z.ZodObject<{
577
- type: z.ZodLiteral<"unit">;
578
- amount: z.ZodString;
579
- }, z.core.$strip>;
580
576
  export declare const rateCardDiscounts: z.ZodObject<{
581
577
  percentage: z.ZodOptional<z.ZodNumber>;
582
578
  usage: z.ZodOptional<z.ZodString>;
@@ -591,6 +587,10 @@ export declare const totals: z.ZodObject<{
591
587
  creditsTotal: z.ZodString;
592
588
  total: z.ZodString;
593
589
  }, z.core.$strip>;
590
+ export declare const priceUnit: z.ZodObject<{
591
+ type: z.ZodLiteral<"unit">;
592
+ amount: z.ZodString;
593
+ }, z.core.$strip>;
594
594
  export declare const spendCommitments: z.ZodObject<{
595
595
  minimumAmount: z.ZodOptional<z.ZodString>;
596
596
  maximumAmount: z.ZodOptional<z.ZodString>;
@@ -1386,6 +1386,21 @@ export declare const subscriptionProRatingConfig: z.ZodObject<{
1386
1386
  prorate_prices: "prorate_prices";
1387
1387
  }>;
1388
1388
  }, z.core.$strip>;
1389
+ export declare const unitConfig: z.ZodObject<{
1390
+ operation: z.ZodEnum<{
1391
+ divide: "divide";
1392
+ multiply: "multiply";
1393
+ }>;
1394
+ conversionFactor: z.ZodString;
1395
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1396
+ ceiling: "ceiling";
1397
+ floor: "floor";
1398
+ half_up: "half_up";
1399
+ none: "none";
1400
+ }>>>;
1401
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1402
+ displayUnit: z.ZodOptional<z.ZodString>;
1403
+ }, z.core.$strip>;
1389
1404
  export declare const subscriptionCreate: z.ZodObject<{
1390
1405
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1391
1406
  settlementMode: z.ZodOptional<z.ZodEnum<{
@@ -1407,21 +1422,6 @@ export declare const subscriptionCreate: z.ZodObject<{
1407
1422
  pinned: "pinned";
1408
1423
  }>>>;
1409
1424
  }, z.core.$strip>;
1410
- export declare const unitConfig: z.ZodObject<{
1411
- operation: z.ZodEnum<{
1412
- divide: "divide";
1413
- multiply: "multiply";
1414
- }>;
1415
- conversionFactor: z.ZodString;
1416
- rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1417
- ceiling: "ceiling";
1418
- floor: "floor";
1419
- half_up: "half_up";
1420
- none: "none";
1421
- }>>>;
1422
- precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1423
- displayUnit: z.ZodOptional<z.ZodString>;
1424
- }, z.core.$strip>;
1425
1425
  export declare const subscriptionEditTiming: z.ZodUnion<readonly [z.ZodEnum<{
1426
1426
  immediate: "immediate";
1427
1427
  next_billing_cycle: "next_billing_cycle";
@@ -1699,17 +1699,6 @@ export declare const creditTransaction: z.ZodObject<{
1699
1699
  after: z.ZodString;
1700
1700
  }, z.core.$strip>;
1701
1701
  }, z.core.$strip>;
1702
- export declare const priceTier: z.ZodObject<{
1703
- upToAmount: z.ZodOptional<z.ZodString>;
1704
- flatPrice: z.ZodOptional<z.ZodObject<{
1705
- type: z.ZodLiteral<"flat">;
1706
- amount: z.ZodString;
1707
- }, z.core.$strip>>;
1708
- unitPrice: z.ZodOptional<z.ZodObject<{
1709
- type: z.ZodLiteral<"unit">;
1710
- amount: z.ZodString;
1711
- }, z.core.$strip>>;
1712
- }, z.core.$strip>;
1713
1702
  export declare const chargeTotals: z.ZodObject<{
1714
1703
  booked: z.ZodObject<{
1715
1704
  amount: z.ZodString;
@@ -1732,6 +1721,17 @@ export declare const chargeTotals: z.ZodObject<{
1732
1721
  total: z.ZodString;
1733
1722
  }, z.core.$strip>>;
1734
1723
  }, z.core.$strip>;
1724
+ export declare const priceTier: z.ZodObject<{
1725
+ upToAmount: z.ZodOptional<z.ZodString>;
1726
+ flatPrice: z.ZodOptional<z.ZodObject<{
1727
+ type: z.ZodLiteral<"flat">;
1728
+ amount: z.ZodString;
1729
+ }, z.core.$strip>>;
1730
+ unitPrice: z.ZodOptional<z.ZodObject<{
1731
+ type: z.ZodLiteral<"unit">;
1732
+ amount: z.ZodString;
1733
+ }, z.core.$strip>>;
1734
+ }, z.core.$strip>;
1735
1735
  export declare const updatePriceTier: z.ZodObject<{
1736
1736
  upToAmount: z.ZodOptional<z.ZodString>;
1737
1737
  flatPrice: z.ZodOptional<z.ZodObject<{
@@ -3764,6 +3764,127 @@ export declare const workflowCollectionAlignment: z.ZodDiscriminatedUnion<[z.Zod
3764
3764
  interval: z.ZodString;
3765
3765
  }, z.core.$strip>;
3766
3766
  }, z.core.$strip>], "type">;
3767
+ export declare const chargeFlatFee: z.ZodObject<{
3768
+ id: z.ZodString;
3769
+ name: z.ZodString;
3770
+ description: z.ZodOptional<z.ZodString>;
3771
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3772
+ createdAt: z.ZodDate;
3773
+ updatedAt: z.ZodDate;
3774
+ deletedAt: z.ZodOptional<z.ZodDate>;
3775
+ type: z.ZodLiteral<"flat_fee">;
3776
+ customer: z.ZodObject<{
3777
+ id: z.ZodString;
3778
+ }, z.core.$strip>;
3779
+ lifecycleController: z.ZodEnum<{
3780
+ manual: "manual";
3781
+ system: "system";
3782
+ }>;
3783
+ subscription: z.ZodOptional<z.ZodObject<{
3784
+ id: z.ZodString;
3785
+ phase: z.ZodObject<{
3786
+ id: z.ZodString;
3787
+ item: z.ZodObject<{
3788
+ id: z.ZodString;
3789
+ }, z.core.$strip>;
3790
+ }, z.core.$strip>;
3791
+ }, z.core.$strip>>;
3792
+ currency: z.ZodString;
3793
+ status: z.ZodEnum<{
3794
+ active: "active";
3795
+ created: "created";
3796
+ deleted: "deleted";
3797
+ final: "final";
3798
+ }>;
3799
+ invoiceAt: z.ZodDate;
3800
+ servicePeriod: z.ZodObject<{
3801
+ from: z.ZodDate;
3802
+ to: z.ZodDate;
3803
+ }, z.core.$strip>;
3804
+ fullServicePeriod: z.ZodObject<{
3805
+ from: z.ZodDate;
3806
+ to: z.ZodDate;
3807
+ }, z.core.$strip>;
3808
+ billingPeriod: z.ZodObject<{
3809
+ from: z.ZodDate;
3810
+ to: z.ZodDate;
3811
+ }, z.core.$strip>;
3812
+ advanceAfter: z.ZodOptional<z.ZodDate>;
3813
+ uniqueReferenceId: z.ZodOptional<z.ZodString>;
3814
+ settlementMode: z.ZodEnum<{
3815
+ credit_only: "credit_only";
3816
+ credit_then_invoice: "credit_then_invoice";
3817
+ }>;
3818
+ taxConfig: z.ZodOptional<z.ZodObject<{
3819
+ behavior: z.ZodOptional<z.ZodEnum<{
3820
+ exclusive: "exclusive";
3821
+ inclusive: "inclusive";
3822
+ }>>;
3823
+ stripe: z.ZodOptional<z.ZodObject<{
3824
+ code: z.ZodString;
3825
+ }, z.core.$strip>>;
3826
+ externalInvoicing: z.ZodOptional<z.ZodObject<{
3827
+ code: z.ZodString;
3828
+ }, z.core.$strip>>;
3829
+ taxCodeId: z.ZodOptional<z.ZodString>;
3830
+ taxCode: z.ZodOptional<z.ZodObject<{
3831
+ id: z.ZodString;
3832
+ }, z.core.$strip>>;
3833
+ }, z.core.$strip>>;
3834
+ paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
3835
+ discounts: z.ZodOptional<z.ZodObject<{
3836
+ percentage: z.ZodOptional<z.ZodNumber>;
3837
+ }, z.core.$strip>>;
3838
+ featureKey: z.ZodOptional<z.ZodString>;
3839
+ featureId: z.ZodOptional<z.ZodString>;
3840
+ prorationConfiguration: z.ZodObject<{
3841
+ mode: z.ZodEnum<{
3842
+ no_proration: "no_proration";
3843
+ prorate_prices: "prorate_prices";
3844
+ }>;
3845
+ }, z.core.$strip>;
3846
+ amountAfterProration: z.ZodObject<{
3847
+ amount: z.ZodString;
3848
+ currency: z.ZodString;
3849
+ }, z.core.$strip>;
3850
+ price: z.ZodObject<{
3851
+ type: z.ZodLiteral<"flat">;
3852
+ amount: z.ZodString;
3853
+ }, z.core.$strip>;
3854
+ systemIntent: z.ZodOptional<z.ZodObject<{
3855
+ name: z.ZodString;
3856
+ description: z.ZodOptional<z.ZodString>;
3857
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3858
+ invoiceAt: z.ZodDate;
3859
+ servicePeriod: z.ZodObject<{
3860
+ from: z.ZodDate;
3861
+ to: z.ZodDate;
3862
+ }, z.core.$strip>;
3863
+ fullServicePeriod: z.ZodObject<{
3864
+ from: z.ZodDate;
3865
+ to: z.ZodDate;
3866
+ }, z.core.$strip>;
3867
+ billingPeriod: z.ZodObject<{
3868
+ from: z.ZodDate;
3869
+ to: z.ZodDate;
3870
+ }, z.core.$strip>;
3871
+ paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
3872
+ discounts: z.ZodOptional<z.ZodObject<{
3873
+ percentage: z.ZodOptional<z.ZodNumber>;
3874
+ }, z.core.$strip>>;
3875
+ prorationConfiguration: z.ZodObject<{
3876
+ mode: z.ZodEnum<{
3877
+ no_proration: "no_proration";
3878
+ prorate_prices: "prorate_prices";
3879
+ }>;
3880
+ }, z.core.$strip>;
3881
+ amountBeforeProration: z.ZodObject<{
3882
+ amount: z.ZodString;
3883
+ currency: z.ZodString;
3884
+ }, z.core.$strip>;
3885
+ deletedAt: z.ZodOptional<z.ZodDate>;
3886
+ }, z.core.$strip>>;
3887
+ }, z.core.$strip>;
3767
3888
  export declare const taxCodePagePaginatedResponse: z.ZodObject<{
3768
3889
  data: z.ZodArray<z.ZodObject<{
3769
3890
  id: z.ZodString;
@@ -4246,12 +4367,7 @@ export declare const entitlementAccessQueryResult: z.ZodObject<{
4246
4367
  }, z.core.$strip>>;
4247
4368
  updatedAt: z.ZodDate;
4248
4369
  }, z.core.$strip>;
4249
- export declare const price: z.ZodDiscriminatedUnion<[z.ZodObject<{
4250
- type: z.ZodLiteral<"free">;
4251
- }, z.core.$strip>, z.ZodObject<{
4252
- type: z.ZodLiteral<"flat">;
4253
- amount: z.ZodString;
4254
- }, z.core.$strip>, z.ZodObject<{
4370
+ export declare const priceUsageBased: z.ZodDiscriminatedUnion<[z.ZodObject<{
4255
4371
  type: z.ZodLiteral<"unit">;
4256
4372
  amount: z.ZodString;
4257
4373
  }, z.core.$strip>, z.ZodObject<{
@@ -4281,7 +4397,12 @@ export declare const price: z.ZodDiscriminatedUnion<[z.ZodObject<{
4281
4397
  }, z.core.$strip>>;
4282
4398
  }, z.core.$strip>>;
4283
4399
  }, z.core.$strip>], "type">;
4284
- export declare const priceUsageBased: z.ZodDiscriminatedUnion<[z.ZodObject<{
4400
+ export declare const price: z.ZodDiscriminatedUnion<[z.ZodObject<{
4401
+ type: z.ZodLiteral<"free">;
4402
+ }, z.core.$strip>, z.ZodObject<{
4403
+ type: z.ZodLiteral<"flat">;
4404
+ amount: z.ZodString;
4405
+ }, z.core.$strip>, z.ZodObject<{
4285
4406
  type: z.ZodLiteral<"unit">;
4286
4407
  amount: z.ZodString;
4287
4408
  }, z.core.$strip>, z.ZodObject<{
@@ -5180,38 +5301,10 @@ export declare const entitlementAccessQueryResponse: z.ZodObject<{
5180
5301
  }, z.core.$strip>;
5181
5302
  }, z.core.$strip>;
5182
5303
  }, z.core.$strip>;
5183
- export declare const chargeFlatFee: z.ZodObject<{
5184
- id: z.ZodString;
5304
+ export declare const chargeUsageBasedSystemIntent: z.ZodObject<{
5185
5305
  name: z.ZodString;
5186
5306
  description: z.ZodOptional<z.ZodString>;
5187
5307
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5188
- createdAt: z.ZodDate;
5189
- updatedAt: z.ZodDate;
5190
- deletedAt: z.ZodOptional<z.ZodDate>;
5191
- type: z.ZodLiteral<"flat_fee">;
5192
- customer: z.ZodObject<{
5193
- id: z.ZodString;
5194
- }, z.core.$strip>;
5195
- lifecycleController: z.ZodEnum<{
5196
- manual: "manual";
5197
- system: "system";
5198
- }>;
5199
- subscription: z.ZodOptional<z.ZodObject<{
5200
- id: z.ZodString;
5201
- phase: z.ZodObject<{
5202
- id: z.ZodString;
5203
- item: z.ZodObject<{
5204
- id: z.ZodString;
5205
- }, z.core.$strip>;
5206
- }, z.core.$strip>;
5207
- }, z.core.$strip>>;
5208
- currency: z.ZodString;
5209
- status: z.ZodEnum<{
5210
- active: "active";
5211
- created: "created";
5212
- deleted: "deleted";
5213
- final: "final";
5214
- }>;
5215
5308
  invoiceAt: z.ZodDate;
5216
5309
  servicePeriod: z.ZodObject<{
5217
5310
  from: z.ZodDate;
@@ -5225,50 +5318,11 @@ export declare const chargeFlatFee: z.ZodObject<{
5225
5318
  from: z.ZodDate;
5226
5319
  to: z.ZodDate;
5227
5320
  }, z.core.$strip>;
5228
- advanceAfter: z.ZodOptional<z.ZodDate>;
5229
- uniqueReferenceId: z.ZodOptional<z.ZodString>;
5230
- settlementMode: z.ZodEnum<{
5231
- credit_only: "credit_only";
5232
- credit_then_invoice: "credit_then_invoice";
5233
- }>;
5234
- taxConfig: z.ZodOptional<z.ZodObject<{
5235
- behavior: z.ZodOptional<z.ZodEnum<{
5236
- exclusive: "exclusive";
5237
- inclusive: "inclusive";
5238
- }>>;
5239
- stripe: z.ZodOptional<z.ZodObject<{
5240
- code: z.ZodString;
5241
- }, z.core.$strip>>;
5242
- externalInvoicing: z.ZodOptional<z.ZodObject<{
5243
- code: z.ZodString;
5244
- }, z.core.$strip>>;
5245
- taxCodeId: z.ZodOptional<z.ZodString>;
5246
- taxCode: z.ZodOptional<z.ZodObject<{
5247
- id: z.ZodString;
5248
- }, z.core.$strip>>;
5249
- }, z.core.$strip>>;
5250
- paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
5251
5321
  discounts: z.ZodOptional<z.ZodObject<{
5252
5322
  percentage: z.ZodOptional<z.ZodNumber>;
5323
+ usage: z.ZodOptional<z.ZodString>;
5253
5324
  }, z.core.$strip>>;
5254
- featureKey: z.ZodOptional<z.ZodString>;
5255
- featureId: z.ZodOptional<z.ZodString>;
5256
- prorationConfiguration: z.ZodObject<{
5257
- mode: z.ZodEnum<{
5258
- no_proration: "no_proration";
5259
- prorate_prices: "prorate_prices";
5260
- }>;
5261
- }, z.core.$strip>;
5262
- amountAfterProration: z.ZodObject<{
5263
- amount: z.ZodString;
5264
- currency: z.ZodString;
5265
- }, z.core.$strip>;
5266
5325
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
5267
- type: z.ZodLiteral<"free">;
5268
- }, z.core.$strip>, z.ZodObject<{
5269
- type: z.ZodLiteral<"flat">;
5270
- amount: z.ZodString;
5271
- }, z.core.$strip>, z.ZodObject<{
5272
5326
  type: z.ZodLiteral<"unit">;
5273
5327
  amount: z.ZodString;
5274
5328
  }, z.core.$strip>, z.ZodObject<{
@@ -5298,96 +5352,25 @@ export declare const chargeFlatFee: z.ZodObject<{
5298
5352
  }, z.core.$strip>>;
5299
5353
  }, z.core.$strip>>;
5300
5354
  }, z.core.$strip>], "type">;
5301
- systemIntent: z.ZodOptional<z.ZodObject<{
5302
- name: z.ZodString;
5303
- description: z.ZodOptional<z.ZodString>;
5304
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5305
- invoiceAt: z.ZodDate;
5306
- servicePeriod: z.ZodObject<{
5307
- from: z.ZodDate;
5308
- to: z.ZodDate;
5309
- }, z.core.$strip>;
5310
- fullServicePeriod: z.ZodObject<{
5311
- from: z.ZodDate;
5312
- to: z.ZodDate;
5313
- }, z.core.$strip>;
5314
- billingPeriod: z.ZodObject<{
5315
- from: z.ZodDate;
5316
- to: z.ZodDate;
5317
- }, z.core.$strip>;
5318
- paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
5319
- discounts: z.ZodOptional<z.ZodObject<{
5320
- percentage: z.ZodOptional<z.ZodNumber>;
5321
- }, z.core.$strip>>;
5322
- prorationConfiguration: z.ZodObject<{
5323
- mode: z.ZodEnum<{
5324
- no_proration: "no_proration";
5325
- prorate_prices: "prorate_prices";
5326
- }>;
5327
- }, z.core.$strip>;
5328
- amountBeforeProration: z.ZodObject<{
5329
- amount: z.ZodString;
5330
- currency: z.ZodString;
5331
- }, z.core.$strip>;
5332
- deletedAt: z.ZodOptional<z.ZodDate>;
5355
+ commitments: z.ZodOptional<z.ZodObject<{
5356
+ minimumAmount: z.ZodOptional<z.ZodString>;
5357
+ maximumAmount: z.ZodOptional<z.ZodString>;
5333
5358
  }, z.core.$strip>>;
5334
- }, z.core.$strip>;
5335
- export declare const chargeUsageBasedSystemIntent: z.ZodObject<{
5336
- name: z.ZodString;
5337
- description: z.ZodOptional<z.ZodString>;
5338
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5339
- invoiceAt: z.ZodDate;
5340
- servicePeriod: z.ZodObject<{
5341
- from: z.ZodDate;
5342
- to: z.ZodDate;
5343
- }, z.core.$strip>;
5344
- fullServicePeriod: z.ZodObject<{
5345
- from: z.ZodDate;
5346
- to: z.ZodDate;
5347
- }, z.core.$strip>;
5348
- billingPeriod: z.ZodObject<{
5349
- from: z.ZodDate;
5350
- to: z.ZodDate;
5351
- }, z.core.$strip>;
5352
- discounts: z.ZodOptional<z.ZodObject<{
5353
- percentage: z.ZodOptional<z.ZodNumber>;
5354
- usage: z.ZodOptional<z.ZodString>;
5359
+ unitConfig: z.ZodOptional<z.ZodObject<{
5360
+ operation: z.ZodEnum<{
5361
+ divide: "divide";
5362
+ multiply: "multiply";
5363
+ }>;
5364
+ conversionFactor: z.ZodString;
5365
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
5366
+ ceiling: "ceiling";
5367
+ floor: "floor";
5368
+ half_up: "half_up";
5369
+ none: "none";
5370
+ }>>>;
5371
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5372
+ displayUnit: z.ZodOptional<z.ZodString>;
5355
5373
  }, z.core.$strip>>;
5356
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
5357
- type: z.ZodLiteral<"free">;
5358
- }, z.core.$strip>, z.ZodObject<{
5359
- type: z.ZodLiteral<"flat">;
5360
- amount: z.ZodString;
5361
- }, z.core.$strip>, z.ZodObject<{
5362
- type: z.ZodLiteral<"unit">;
5363
- amount: z.ZodString;
5364
- }, z.core.$strip>, z.ZodObject<{
5365
- type: z.ZodLiteral<"graduated">;
5366
- tiers: z.ZodArray<z.ZodObject<{
5367
- upToAmount: z.ZodOptional<z.ZodString>;
5368
- flatPrice: z.ZodOptional<z.ZodObject<{
5369
- type: z.ZodLiteral<"flat">;
5370
- amount: z.ZodString;
5371
- }, z.core.$strip>>;
5372
- unitPrice: z.ZodOptional<z.ZodObject<{
5373
- type: z.ZodLiteral<"unit">;
5374
- amount: z.ZodString;
5375
- }, z.core.$strip>>;
5376
- }, z.core.$strip>>;
5377
- }, z.core.$strip>, z.ZodObject<{
5378
- type: z.ZodLiteral<"volume">;
5379
- tiers: z.ZodArray<z.ZodObject<{
5380
- upToAmount: z.ZodOptional<z.ZodString>;
5381
- flatPrice: z.ZodOptional<z.ZodObject<{
5382
- type: z.ZodLiteral<"flat">;
5383
- amount: z.ZodString;
5384
- }, z.core.$strip>>;
5385
- unitPrice: z.ZodOptional<z.ZodObject<{
5386
- type: z.ZodLiteral<"unit">;
5387
- amount: z.ZodString;
5388
- }, z.core.$strip>>;
5389
- }, z.core.$strip>>;
5390
- }, z.core.$strip>], "type">;
5391
5374
  deletedAt: z.ZodOptional<z.ZodDate>;
5392
5375
  }, z.core.$strip>;
5393
5376
  export declare const createChargeUsageBasedRequest: z.ZodObject<{
@@ -5428,11 +5411,6 @@ export declare const createChargeUsageBasedRequest: z.ZodObject<{
5428
5411
  }, z.core.$strip>>;
5429
5412
  featureId: z.ZodString;
5430
5413
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
5431
- type: z.ZodLiteral<"free">;
5432
- }, z.core.$strip>, z.ZodObject<{
5433
- type: z.ZodLiteral<"flat">;
5434
- amount: z.ZodString;
5435
- }, z.core.$strip>, z.ZodObject<{
5436
5414
  type: z.ZodLiteral<"unit">;
5437
5415
  amount: z.ZodString;
5438
5416
  }, z.core.$strip>, z.ZodObject<{
@@ -5462,6 +5440,25 @@ export declare const createChargeUsageBasedRequest: z.ZodObject<{
5462
5440
  }, z.core.$strip>>;
5463
5441
  }, z.core.$strip>>;
5464
5442
  }, z.core.$strip>], "type">;
5443
+ commitments: z.ZodOptional<z.ZodObject<{
5444
+ minimumAmount: z.ZodOptional<z.ZodString>;
5445
+ maximumAmount: z.ZodOptional<z.ZodString>;
5446
+ }, z.core.$strip>>;
5447
+ unitConfig: z.ZodOptional<z.ZodObject<{
5448
+ operation: z.ZodEnum<{
5449
+ divide: "divide";
5450
+ multiply: "multiply";
5451
+ }>;
5452
+ conversionFactor: z.ZodString;
5453
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
5454
+ ceiling: "ceiling";
5455
+ floor: "floor";
5456
+ half_up: "half_up";
5457
+ none: "none";
5458
+ }>>>;
5459
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5460
+ displayUnit: z.ZodOptional<z.ZodString>;
5461
+ }, z.core.$strip>>;
5465
5462
  fullServicePeriod: z.ZodOptional<z.ZodObject<{
5466
5463
  from: z.ZodDate;
5467
5464
  to: z.ZodDate;
@@ -6404,11 +6401,6 @@ export declare const chargeUsageBased: z.ZodObject<{
6404
6401
  }, z.core.$strip>>;
6405
6402
  }, z.core.$strip>;
6406
6403
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
6407
- type: z.ZodLiteral<"free">;
6408
- }, z.core.$strip>, z.ZodObject<{
6409
- type: z.ZodLiteral<"flat">;
6410
- amount: z.ZodString;
6411
- }, z.core.$strip>, z.ZodObject<{
6412
6404
  type: z.ZodLiteral<"unit">;
6413
6405
  amount: z.ZodString;
6414
6406
  }, z.core.$strip>, z.ZodObject<{
@@ -6438,6 +6430,25 @@ export declare const chargeUsageBased: z.ZodObject<{
6438
6430
  }, z.core.$strip>>;
6439
6431
  }, z.core.$strip>>;
6440
6432
  }, z.core.$strip>], "type">;
6433
+ commitments: z.ZodOptional<z.ZodObject<{
6434
+ minimumAmount: z.ZodOptional<z.ZodString>;
6435
+ maximumAmount: z.ZodOptional<z.ZodString>;
6436
+ }, z.core.$strip>>;
6437
+ unitConfig: z.ZodOptional<z.ZodObject<{
6438
+ operation: z.ZodEnum<{
6439
+ divide: "divide";
6440
+ multiply: "multiply";
6441
+ }>;
6442
+ conversionFactor: z.ZodString;
6443
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
6444
+ ceiling: "ceiling";
6445
+ floor: "floor";
6446
+ half_up: "half_up";
6447
+ none: "none";
6448
+ }>>>;
6449
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6450
+ displayUnit: z.ZodOptional<z.ZodString>;
6451
+ }, z.core.$strip>>;
6441
6452
  systemIntent: z.ZodOptional<z.ZodObject<{
6442
6453
  name: z.ZodString;
6443
6454
  description: z.ZodOptional<z.ZodString>;
@@ -6460,11 +6471,6 @@ export declare const chargeUsageBased: z.ZodObject<{
6460
6471
  usage: z.ZodOptional<z.ZodString>;
6461
6472
  }, z.core.$strip>>;
6462
6473
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
6463
- type: z.ZodLiteral<"free">;
6464
- }, z.core.$strip>, z.ZodObject<{
6465
- type: z.ZodLiteral<"flat">;
6466
- amount: z.ZodString;
6467
- }, z.core.$strip>, z.ZodObject<{
6468
6474
  type: z.ZodLiteral<"unit">;
6469
6475
  amount: z.ZodString;
6470
6476
  }, z.core.$strip>, z.ZodObject<{
@@ -6494,6 +6500,25 @@ export declare const chargeUsageBased: z.ZodObject<{
6494
6500
  }, z.core.$strip>>;
6495
6501
  }, z.core.$strip>>;
6496
6502
  }, z.core.$strip>], "type">;
6503
+ commitments: z.ZodOptional<z.ZodObject<{
6504
+ minimumAmount: z.ZodOptional<z.ZodString>;
6505
+ maximumAmount: z.ZodOptional<z.ZodString>;
6506
+ }, z.core.$strip>>;
6507
+ unitConfig: z.ZodOptional<z.ZodObject<{
6508
+ operation: z.ZodEnum<{
6509
+ divide: "divide";
6510
+ multiply: "multiply";
6511
+ }>;
6512
+ conversionFactor: z.ZodString;
6513
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
6514
+ ceiling: "ceiling";
6515
+ floor: "floor";
6516
+ half_up: "half_up";
6517
+ none: "none";
6518
+ }>>>;
6519
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6520
+ displayUnit: z.ZodOptional<z.ZodString>;
6521
+ }, z.core.$strip>>;
6497
6522
  deletedAt: z.ZodOptional<z.ZodDate>;
6498
6523
  }, z.core.$strip>>;
6499
6524
  }, z.core.$strip>;
@@ -6590,11 +6615,6 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
6590
6615
  }, z.core.$strip>>;
6591
6616
  featureId: z.ZodString;
6592
6617
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
6593
- type: z.ZodLiteral<"free">;
6594
- }, z.core.$strip>, z.ZodObject<{
6595
- type: z.ZodLiteral<"flat">;
6596
- amount: z.ZodString;
6597
- }, z.core.$strip>, z.ZodObject<{
6598
6618
  type: z.ZodLiteral<"unit">;
6599
6619
  amount: z.ZodString;
6600
6620
  }, z.core.$strip>, z.ZodObject<{
@@ -6624,6 +6644,25 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
6624
6644
  }, z.core.$strip>>;
6625
6645
  }, z.core.$strip>>;
6626
6646
  }, z.core.$strip>], "type">;
6647
+ commitments: z.ZodOptional<z.ZodObject<{
6648
+ minimumAmount: z.ZodOptional<z.ZodString>;
6649
+ maximumAmount: z.ZodOptional<z.ZodString>;
6650
+ }, z.core.$strip>>;
6651
+ unitConfig: z.ZodOptional<z.ZodObject<{
6652
+ operation: z.ZodEnum<{
6653
+ divide: "divide";
6654
+ multiply: "multiply";
6655
+ }>;
6656
+ conversionFactor: z.ZodString;
6657
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
6658
+ ceiling: "ceiling";
6659
+ floor: "floor";
6660
+ half_up: "half_up";
6661
+ none: "none";
6662
+ }>>>;
6663
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6664
+ displayUnit: z.ZodOptional<z.ZodString>;
6665
+ }, z.core.$strip>>;
6627
6666
  fullServicePeriod: z.ZodOptional<z.ZodObject<{
6628
6667
  from: z.ZodDate;
6629
6668
  to: z.ZodDate;
@@ -7840,41 +7879,10 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
7840
7879
  amount: z.ZodString;
7841
7880
  currency: z.ZodString;
7842
7881
  }, z.core.$strip>;
7843
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
7844
- type: z.ZodLiteral<"free">;
7845
- }, z.core.$strip>, z.ZodObject<{
7882
+ price: z.ZodObject<{
7846
7883
  type: z.ZodLiteral<"flat">;
7847
7884
  amount: z.ZodString;
7848
- }, z.core.$strip>, z.ZodObject<{
7849
- type: z.ZodLiteral<"unit">;
7850
- amount: z.ZodString;
7851
- }, z.core.$strip>, z.ZodObject<{
7852
- type: z.ZodLiteral<"graduated">;
7853
- tiers: z.ZodArray<z.ZodObject<{
7854
- upToAmount: z.ZodOptional<z.ZodString>;
7855
- flatPrice: z.ZodOptional<z.ZodObject<{
7856
- type: z.ZodLiteral<"flat">;
7857
- amount: z.ZodString;
7858
- }, z.core.$strip>>;
7859
- unitPrice: z.ZodOptional<z.ZodObject<{
7860
- type: z.ZodLiteral<"unit">;
7861
- amount: z.ZodString;
7862
- }, z.core.$strip>>;
7863
- }, z.core.$strip>>;
7864
- }, z.core.$strip>, z.ZodObject<{
7865
- type: z.ZodLiteral<"volume">;
7866
- tiers: z.ZodArray<z.ZodObject<{
7867
- upToAmount: z.ZodOptional<z.ZodString>;
7868
- flatPrice: z.ZodOptional<z.ZodObject<{
7869
- type: z.ZodLiteral<"flat">;
7870
- amount: z.ZodString;
7871
- }, z.core.$strip>>;
7872
- unitPrice: z.ZodOptional<z.ZodObject<{
7873
- type: z.ZodLiteral<"unit">;
7874
- amount: z.ZodString;
7875
- }, z.core.$strip>>;
7876
- }, z.core.$strip>>;
7877
- }, z.core.$strip>], "type">;
7885
+ }, z.core.$strip>;
7878
7886
  systemIntent: z.ZodOptional<z.ZodObject<{
7879
7887
  name: z.ZodString;
7880
7888
  description: z.ZodOptional<z.ZodString>;
@@ -8004,11 +8012,6 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
8004
8012
  }, z.core.$strip>>;
8005
8013
  }, z.core.$strip>;
8006
8014
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
8007
- type: z.ZodLiteral<"free">;
8008
- }, z.core.$strip>, z.ZodObject<{
8009
- type: z.ZodLiteral<"flat">;
8010
- amount: z.ZodString;
8011
- }, z.core.$strip>, z.ZodObject<{
8012
8015
  type: z.ZodLiteral<"unit">;
8013
8016
  amount: z.ZodString;
8014
8017
  }, z.core.$strip>, z.ZodObject<{
@@ -8038,6 +8041,25 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
8038
8041
  }, z.core.$strip>>;
8039
8042
  }, z.core.$strip>>;
8040
8043
  }, z.core.$strip>], "type">;
8044
+ commitments: z.ZodOptional<z.ZodObject<{
8045
+ minimumAmount: z.ZodOptional<z.ZodString>;
8046
+ maximumAmount: z.ZodOptional<z.ZodString>;
8047
+ }, z.core.$strip>>;
8048
+ unitConfig: z.ZodOptional<z.ZodObject<{
8049
+ operation: z.ZodEnum<{
8050
+ divide: "divide";
8051
+ multiply: "multiply";
8052
+ }>;
8053
+ conversionFactor: z.ZodString;
8054
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
8055
+ ceiling: "ceiling";
8056
+ floor: "floor";
8057
+ half_up: "half_up";
8058
+ none: "none";
8059
+ }>>>;
8060
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8061
+ displayUnit: z.ZodOptional<z.ZodString>;
8062
+ }, z.core.$strip>>;
8041
8063
  systemIntent: z.ZodOptional<z.ZodObject<{
8042
8064
  name: z.ZodString;
8043
8065
  description: z.ZodOptional<z.ZodString>;
@@ -8060,11 +8082,6 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
8060
8082
  usage: z.ZodOptional<z.ZodString>;
8061
8083
  }, z.core.$strip>>;
8062
8084
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
8063
- type: z.ZodLiteral<"free">;
8064
- }, z.core.$strip>, z.ZodObject<{
8065
- type: z.ZodLiteral<"flat">;
8066
- amount: z.ZodString;
8067
- }, z.core.$strip>, z.ZodObject<{
8068
8085
  type: z.ZodLiteral<"unit">;
8069
8086
  amount: z.ZodString;
8070
8087
  }, z.core.$strip>, z.ZodObject<{
@@ -8094,6 +8111,25 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
8094
8111
  }, z.core.$strip>>;
8095
8112
  }, z.core.$strip>>;
8096
8113
  }, z.core.$strip>], "type">;
8114
+ commitments: z.ZodOptional<z.ZodObject<{
8115
+ minimumAmount: z.ZodOptional<z.ZodString>;
8116
+ maximumAmount: z.ZodOptional<z.ZodString>;
8117
+ }, z.core.$strip>>;
8118
+ unitConfig: z.ZodOptional<z.ZodObject<{
8119
+ operation: z.ZodEnum<{
8120
+ divide: "divide";
8121
+ multiply: "multiply";
8122
+ }>;
8123
+ conversionFactor: z.ZodString;
8124
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
8125
+ ceiling: "ceiling";
8126
+ floor: "floor";
8127
+ half_up: "half_up";
8128
+ none: "none";
8129
+ }>>>;
8130
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8131
+ displayUnit: z.ZodOptional<z.ZodString>;
8132
+ }, z.core.$strip>>;
8097
8133
  deletedAt: z.ZodOptional<z.ZodDate>;
8098
8134
  }, z.core.$strip>>;
8099
8135
  }, z.core.$strip>], "type">;
@@ -9238,41 +9274,10 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9238
9274
  amount: z.ZodString;
9239
9275
  currency: z.ZodString;
9240
9276
  }, z.core.$strip>;
9241
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
9242
- type: z.ZodLiteral<"free">;
9243
- }, z.core.$strip>, z.ZodObject<{
9277
+ price: z.ZodObject<{
9244
9278
  type: z.ZodLiteral<"flat">;
9245
9279
  amount: z.ZodString;
9246
- }, z.core.$strip>, z.ZodObject<{
9247
- type: z.ZodLiteral<"unit">;
9248
- amount: z.ZodString;
9249
- }, z.core.$strip>, z.ZodObject<{
9250
- type: z.ZodLiteral<"graduated">;
9251
- tiers: z.ZodArray<z.ZodObject<{
9252
- upToAmount: z.ZodOptional<z.ZodString>;
9253
- flatPrice: z.ZodOptional<z.ZodObject<{
9254
- type: z.ZodLiteral<"flat">;
9255
- amount: z.ZodString;
9256
- }, z.core.$strip>>;
9257
- unitPrice: z.ZodOptional<z.ZodObject<{
9258
- type: z.ZodLiteral<"unit">;
9259
- amount: z.ZodString;
9260
- }, z.core.$strip>>;
9261
- }, z.core.$strip>>;
9262
- }, z.core.$strip>, z.ZodObject<{
9263
- type: z.ZodLiteral<"volume">;
9264
- tiers: z.ZodArray<z.ZodObject<{
9265
- upToAmount: z.ZodOptional<z.ZodString>;
9266
- flatPrice: z.ZodOptional<z.ZodObject<{
9267
- type: z.ZodLiteral<"flat">;
9268
- amount: z.ZodString;
9269
- }, z.core.$strip>>;
9270
- unitPrice: z.ZodOptional<z.ZodObject<{
9271
- type: z.ZodLiteral<"unit">;
9272
- amount: z.ZodString;
9273
- }, z.core.$strip>>;
9274
- }, z.core.$strip>>;
9275
- }, z.core.$strip>], "type">;
9280
+ }, z.core.$strip>;
9276
9281
  systemIntent: z.ZodOptional<z.ZodObject<{
9277
9282
  name: z.ZodString;
9278
9283
  description: z.ZodOptional<z.ZodString>;
@@ -9402,11 +9407,6 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9402
9407
  }, z.core.$strip>>;
9403
9408
  }, z.core.$strip>;
9404
9409
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
9405
- type: z.ZodLiteral<"free">;
9406
- }, z.core.$strip>, z.ZodObject<{
9407
- type: z.ZodLiteral<"flat">;
9408
- amount: z.ZodString;
9409
- }, z.core.$strip>, z.ZodObject<{
9410
9410
  type: z.ZodLiteral<"unit">;
9411
9411
  amount: z.ZodString;
9412
9412
  }, z.core.$strip>, z.ZodObject<{
@@ -9436,6 +9436,25 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9436
9436
  }, z.core.$strip>>;
9437
9437
  }, z.core.$strip>>;
9438
9438
  }, z.core.$strip>], "type">;
9439
+ commitments: z.ZodOptional<z.ZodObject<{
9440
+ minimumAmount: z.ZodOptional<z.ZodString>;
9441
+ maximumAmount: z.ZodOptional<z.ZodString>;
9442
+ }, z.core.$strip>>;
9443
+ unitConfig: z.ZodOptional<z.ZodObject<{
9444
+ operation: z.ZodEnum<{
9445
+ divide: "divide";
9446
+ multiply: "multiply";
9447
+ }>;
9448
+ conversionFactor: z.ZodString;
9449
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
9450
+ ceiling: "ceiling";
9451
+ floor: "floor";
9452
+ half_up: "half_up";
9453
+ none: "none";
9454
+ }>>>;
9455
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9456
+ displayUnit: z.ZodOptional<z.ZodString>;
9457
+ }, z.core.$strip>>;
9439
9458
  systemIntent: z.ZodOptional<z.ZodObject<{
9440
9459
  name: z.ZodString;
9441
9460
  description: z.ZodOptional<z.ZodString>;
@@ -9458,11 +9477,6 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9458
9477
  usage: z.ZodOptional<z.ZodString>;
9459
9478
  }, z.core.$strip>>;
9460
9479
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
9461
- type: z.ZodLiteral<"free">;
9462
- }, z.core.$strip>, z.ZodObject<{
9463
- type: z.ZodLiteral<"flat">;
9464
- amount: z.ZodString;
9465
- }, z.core.$strip>, z.ZodObject<{
9466
9480
  type: z.ZodLiteral<"unit">;
9467
9481
  amount: z.ZodString;
9468
9482
  }, z.core.$strip>, z.ZodObject<{
@@ -9492,6 +9506,25 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9492
9506
  }, z.core.$strip>>;
9493
9507
  }, z.core.$strip>>;
9494
9508
  }, z.core.$strip>], "type">;
9509
+ commitments: z.ZodOptional<z.ZodObject<{
9510
+ minimumAmount: z.ZodOptional<z.ZodString>;
9511
+ maximumAmount: z.ZodOptional<z.ZodString>;
9512
+ }, z.core.$strip>>;
9513
+ unitConfig: z.ZodOptional<z.ZodObject<{
9514
+ operation: z.ZodEnum<{
9515
+ divide: "divide";
9516
+ multiply: "multiply";
9517
+ }>;
9518
+ conversionFactor: z.ZodString;
9519
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
9520
+ ceiling: "ceiling";
9521
+ floor: "floor";
9522
+ half_up: "half_up";
9523
+ none: "none";
9524
+ }>>>;
9525
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9526
+ displayUnit: z.ZodOptional<z.ZodString>;
9527
+ }, z.core.$strip>>;
9495
9528
  deletedAt: z.ZodOptional<z.ZodDate>;
9496
9529
  }, z.core.$strip>>;
9497
9530
  }, z.core.$strip>], "type">>;
@@ -13116,41 +13149,10 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
13116
13149
  amount: z.ZodString;
13117
13150
  currency: z.ZodString;
13118
13151
  }, z.core.$strip>;
13119
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13120
- type: z.ZodLiteral<"free">;
13121
- }, z.core.$strip>, z.ZodObject<{
13152
+ price: z.ZodObject<{
13122
13153
  type: z.ZodLiteral<"flat">;
13123
13154
  amount: z.ZodString;
13124
- }, z.core.$strip>, z.ZodObject<{
13125
- type: z.ZodLiteral<"unit">;
13126
- amount: z.ZodString;
13127
- }, z.core.$strip>, z.ZodObject<{
13128
- type: z.ZodLiteral<"graduated">;
13129
- tiers: z.ZodArray<z.ZodObject<{
13130
- upToAmount: z.ZodOptional<z.ZodString>;
13131
- flatPrice: z.ZodOptional<z.ZodObject<{
13132
- type: z.ZodLiteral<"flat">;
13133
- amount: z.ZodString;
13134
- }, z.core.$strip>>;
13135
- unitPrice: z.ZodOptional<z.ZodObject<{
13136
- type: z.ZodLiteral<"unit">;
13137
- amount: z.ZodString;
13138
- }, z.core.$strip>>;
13139
- }, z.core.$strip>>;
13140
- }, z.core.$strip>, z.ZodObject<{
13141
- type: z.ZodLiteral<"volume">;
13142
- tiers: z.ZodArray<z.ZodObject<{
13143
- upToAmount: z.ZodOptional<z.ZodString>;
13144
- flatPrice: z.ZodOptional<z.ZodObject<{
13145
- type: z.ZodLiteral<"flat">;
13146
- amount: z.ZodString;
13147
- }, z.core.$strip>>;
13148
- unitPrice: z.ZodOptional<z.ZodObject<{
13149
- type: z.ZodLiteral<"unit">;
13150
- amount: z.ZodString;
13151
- }, z.core.$strip>>;
13152
- }, z.core.$strip>>;
13153
- }, z.core.$strip>], "type">;
13155
+ }, z.core.$strip>;
13154
13156
  systemIntent: z.ZodOptional<z.ZodObject<{
13155
13157
  name: z.ZodString;
13156
13158
  description: z.ZodOptional<z.ZodString>;
@@ -13280,11 +13282,6 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
13280
13282
  }, z.core.$strip>>;
13281
13283
  }, z.core.$strip>;
13282
13284
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13283
- type: z.ZodLiteral<"free">;
13284
- }, z.core.$strip>, z.ZodObject<{
13285
- type: z.ZodLiteral<"flat">;
13286
- amount: z.ZodString;
13287
- }, z.core.$strip>, z.ZodObject<{
13288
13285
  type: z.ZodLiteral<"unit">;
13289
13286
  amount: z.ZodString;
13290
13287
  }, z.core.$strip>, z.ZodObject<{
@@ -13314,6 +13311,25 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
13314
13311
  }, z.core.$strip>>;
13315
13312
  }, z.core.$strip>>;
13316
13313
  }, z.core.$strip>], "type">;
13314
+ commitments: z.ZodOptional<z.ZodObject<{
13315
+ minimumAmount: z.ZodOptional<z.ZodString>;
13316
+ maximumAmount: z.ZodOptional<z.ZodString>;
13317
+ }, z.core.$strip>>;
13318
+ unitConfig: z.ZodOptional<z.ZodObject<{
13319
+ operation: z.ZodEnum<{
13320
+ divide: "divide";
13321
+ multiply: "multiply";
13322
+ }>;
13323
+ conversionFactor: z.ZodString;
13324
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13325
+ ceiling: "ceiling";
13326
+ floor: "floor";
13327
+ half_up: "half_up";
13328
+ none: "none";
13329
+ }>>>;
13330
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13331
+ displayUnit: z.ZodOptional<z.ZodString>;
13332
+ }, z.core.$strip>>;
13317
13333
  systemIntent: z.ZodOptional<z.ZodObject<{
13318
13334
  name: z.ZodString;
13319
13335
  description: z.ZodOptional<z.ZodString>;
@@ -13336,11 +13352,6 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
13336
13352
  usage: z.ZodOptional<z.ZodString>;
13337
13353
  }, z.core.$strip>>;
13338
13354
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13339
- type: z.ZodLiteral<"free">;
13340
- }, z.core.$strip>, z.ZodObject<{
13341
- type: z.ZodLiteral<"flat">;
13342
- amount: z.ZodString;
13343
- }, z.core.$strip>, z.ZodObject<{
13344
13355
  type: z.ZodLiteral<"unit">;
13345
13356
  amount: z.ZodString;
13346
13357
  }, z.core.$strip>, z.ZodObject<{
@@ -13370,6 +13381,25 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
13370
13381
  }, z.core.$strip>>;
13371
13382
  }, z.core.$strip>>;
13372
13383
  }, z.core.$strip>], "type">;
13384
+ commitments: z.ZodOptional<z.ZodObject<{
13385
+ minimumAmount: z.ZodOptional<z.ZodString>;
13386
+ maximumAmount: z.ZodOptional<z.ZodString>;
13387
+ }, z.core.$strip>>;
13388
+ unitConfig: z.ZodOptional<z.ZodObject<{
13389
+ operation: z.ZodEnum<{
13390
+ divide: "divide";
13391
+ multiply: "multiply";
13392
+ }>;
13393
+ conversionFactor: z.ZodString;
13394
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13395
+ ceiling: "ceiling";
13396
+ floor: "floor";
13397
+ half_up: "half_up";
13398
+ none: "none";
13399
+ }>>>;
13400
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13401
+ displayUnit: z.ZodOptional<z.ZodString>;
13402
+ }, z.core.$strip>>;
13373
13403
  deletedAt: z.ZodOptional<z.ZodDate>;
13374
13404
  }, z.core.$strip>>;
13375
13405
  }, z.core.$strip>], "type">>;
@@ -13477,11 +13507,6 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
13477
13507
  }, z.core.$strip>>;
13478
13508
  featureId: z.ZodString;
13479
13509
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13480
- type: z.ZodLiteral<"free">;
13481
- }, z.core.$strip>, z.ZodObject<{
13482
- type: z.ZodLiteral<"flat">;
13483
- amount: z.ZodString;
13484
- }, z.core.$strip>, z.ZodObject<{
13485
13510
  type: z.ZodLiteral<"unit">;
13486
13511
  amount: z.ZodString;
13487
13512
  }, z.core.$strip>, z.ZodObject<{
@@ -13511,6 +13536,25 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
13511
13536
  }, z.core.$strip>>;
13512
13537
  }, z.core.$strip>>;
13513
13538
  }, z.core.$strip>], "type">;
13539
+ commitments: z.ZodOptional<z.ZodObject<{
13540
+ minimumAmount: z.ZodOptional<z.ZodString>;
13541
+ maximumAmount: z.ZodOptional<z.ZodString>;
13542
+ }, z.core.$strip>>;
13543
+ unitConfig: z.ZodOptional<z.ZodObject<{
13544
+ operation: z.ZodEnum<{
13545
+ divide: "divide";
13546
+ multiply: "multiply";
13547
+ }>;
13548
+ conversionFactor: z.ZodString;
13549
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13550
+ ceiling: "ceiling";
13551
+ floor: "floor";
13552
+ half_up: "half_up";
13553
+ none: "none";
13554
+ }>>>;
13555
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13556
+ displayUnit: z.ZodOptional<z.ZodString>;
13557
+ }, z.core.$strip>>;
13514
13558
  fullServicePeriod: z.ZodOptional<z.ZodObject<{
13515
13559
  from: z.ZodDate;
13516
13560
  to: z.ZodDate;
@@ -13603,41 +13647,10 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
13603
13647
  amount: z.ZodString;
13604
13648
  currency: z.ZodString;
13605
13649
  }, z.core.$strip>;
13606
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13607
- type: z.ZodLiteral<"free">;
13608
- }, z.core.$strip>, z.ZodObject<{
13650
+ price: z.ZodObject<{
13609
13651
  type: z.ZodLiteral<"flat">;
13610
13652
  amount: z.ZodString;
13611
- }, z.core.$strip>, z.ZodObject<{
13612
- type: z.ZodLiteral<"unit">;
13613
- amount: z.ZodString;
13614
- }, z.core.$strip>, z.ZodObject<{
13615
- type: z.ZodLiteral<"graduated">;
13616
- tiers: z.ZodArray<z.ZodObject<{
13617
- upToAmount: z.ZodOptional<z.ZodString>;
13618
- flatPrice: z.ZodOptional<z.ZodObject<{
13619
- type: z.ZodLiteral<"flat">;
13620
- amount: z.ZodString;
13621
- }, z.core.$strip>>;
13622
- unitPrice: z.ZodOptional<z.ZodObject<{
13623
- type: z.ZodLiteral<"unit">;
13624
- amount: z.ZodString;
13625
- }, z.core.$strip>>;
13626
- }, z.core.$strip>>;
13627
- }, z.core.$strip>, z.ZodObject<{
13628
- type: z.ZodLiteral<"volume">;
13629
- tiers: z.ZodArray<z.ZodObject<{
13630
- upToAmount: z.ZodOptional<z.ZodString>;
13631
- flatPrice: z.ZodOptional<z.ZodObject<{
13632
- type: z.ZodLiteral<"flat">;
13633
- amount: z.ZodString;
13634
- }, z.core.$strip>>;
13635
- unitPrice: z.ZodOptional<z.ZodObject<{
13636
- type: z.ZodLiteral<"unit">;
13637
- amount: z.ZodString;
13638
- }, z.core.$strip>>;
13639
- }, z.core.$strip>>;
13640
- }, z.core.$strip>], "type">;
13653
+ }, z.core.$strip>;
13641
13654
  systemIntent: z.ZodOptional<z.ZodObject<{
13642
13655
  name: z.ZodString;
13643
13656
  description: z.ZodOptional<z.ZodString>;
@@ -13767,11 +13780,6 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
13767
13780
  }, z.core.$strip>>;
13768
13781
  }, z.core.$strip>;
13769
13782
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13770
- type: z.ZodLiteral<"free">;
13771
- }, z.core.$strip>, z.ZodObject<{
13772
- type: z.ZodLiteral<"flat">;
13773
- amount: z.ZodString;
13774
- }, z.core.$strip>, z.ZodObject<{
13775
13783
  type: z.ZodLiteral<"unit">;
13776
13784
  amount: z.ZodString;
13777
13785
  }, z.core.$strip>, z.ZodObject<{
@@ -13801,6 +13809,25 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
13801
13809
  }, z.core.$strip>>;
13802
13810
  }, z.core.$strip>>;
13803
13811
  }, z.core.$strip>], "type">;
13812
+ commitments: z.ZodOptional<z.ZodObject<{
13813
+ minimumAmount: z.ZodOptional<z.ZodString>;
13814
+ maximumAmount: z.ZodOptional<z.ZodString>;
13815
+ }, z.core.$strip>>;
13816
+ unitConfig: z.ZodOptional<z.ZodObject<{
13817
+ operation: z.ZodEnum<{
13818
+ divide: "divide";
13819
+ multiply: "multiply";
13820
+ }>;
13821
+ conversionFactor: z.ZodString;
13822
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13823
+ ceiling: "ceiling";
13824
+ floor: "floor";
13825
+ half_up: "half_up";
13826
+ none: "none";
13827
+ }>>>;
13828
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13829
+ displayUnit: z.ZodOptional<z.ZodString>;
13830
+ }, z.core.$strip>>;
13804
13831
  systemIntent: z.ZodOptional<z.ZodObject<{
13805
13832
  name: z.ZodString;
13806
13833
  description: z.ZodOptional<z.ZodString>;
@@ -13823,11 +13850,6 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
13823
13850
  usage: z.ZodOptional<z.ZodString>;
13824
13851
  }, z.core.$strip>>;
13825
13852
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
13826
- type: z.ZodLiteral<"free">;
13827
- }, z.core.$strip>, z.ZodObject<{
13828
- type: z.ZodLiteral<"flat">;
13829
- amount: z.ZodString;
13830
- }, z.core.$strip>, z.ZodObject<{
13831
13853
  type: z.ZodLiteral<"unit">;
13832
13854
  amount: z.ZodString;
13833
13855
  }, z.core.$strip>, z.ZodObject<{
@@ -13857,6 +13879,25 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
13857
13879
  }, z.core.$strip>>;
13858
13880
  }, z.core.$strip>>;
13859
13881
  }, z.core.$strip>], "type">;
13882
+ commitments: z.ZodOptional<z.ZodObject<{
13883
+ minimumAmount: z.ZodOptional<z.ZodString>;
13884
+ maximumAmount: z.ZodOptional<z.ZodString>;
13885
+ }, z.core.$strip>>;
13886
+ unitConfig: z.ZodOptional<z.ZodObject<{
13887
+ operation: z.ZodEnum<{
13888
+ divide: "divide";
13889
+ multiply: "multiply";
13890
+ }>;
13891
+ conversionFactor: z.ZodString;
13892
+ rounding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13893
+ ceiling: "ceiling";
13894
+ floor: "floor";
13895
+ half_up: "half_up";
13896
+ none: "none";
13897
+ }>>>;
13898
+ precision: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13899
+ displayUnit: z.ZodOptional<z.ZodString>;
13900
+ }, z.core.$strip>>;
13860
13901
  deletedAt: z.ZodOptional<z.ZodDate>;
13861
13902
  }, z.core.$strip>>;
13862
13903
  }, z.core.$strip>], "type">;
@@ -22928,19 +22969,6 @@ export declare const rateCardProrationModeWire: z.ZodEnum<{
22928
22969
  no_proration: "no_proration";
22929
22970
  prorate_prices: "prorate_prices";
22930
22971
  }>;
22931
- export declare const priceFreeWire: z.ZodObject<{
22932
- type: z.ZodLiteral<"free">;
22933
- }, z.core.$strict>;
22934
- export declare const subscriptionCostBasisModeWire: z.ZodEnum<{
22935
- dynamic: "dynamic";
22936
- pinned: "pinned";
22937
- }>;
22938
- export declare const subscriptionStatusWire: z.ZodEnum<{
22939
- active: "active";
22940
- canceled: "canceled";
22941
- inactive: "inactive";
22942
- scheduled: "scheduled";
22943
- }>;
22944
22972
  export declare const unitConfigOperationWire: z.ZodEnum<{
22945
22973
  divide: "divide";
22946
22974
  multiply: "multiply";
@@ -22951,6 +22979,19 @@ export declare const unitConfigRoundingModeWire: z.ZodEnum<{
22951
22979
  half_up: "half_up";
22952
22980
  none: "none";
22953
22981
  }>;
22982
+ export declare const subscriptionCostBasisModeWire: z.ZodEnum<{
22983
+ dynamic: "dynamic";
22984
+ pinned: "pinned";
22985
+ }>;
22986
+ export declare const subscriptionStatusWire: z.ZodEnum<{
22987
+ active: "active";
22988
+ canceled: "canceled";
22989
+ inactive: "inactive";
22990
+ scheduled: "scheduled";
22991
+ }>;
22992
+ export declare const priceFreeWire: z.ZodObject<{
22993
+ type: z.ZodLiteral<"free">;
22994
+ }, z.core.$strict>;
22954
22995
  export declare const rateCardStaticEntitlementWire: z.ZodObject<{
22955
22996
  type: z.ZodLiteral<"static">;
22956
22997
  config: z.ZodUnknown;
@@ -23261,10 +23302,6 @@ export declare const priceFlatWire: z.ZodObject<{
23261
23302
  type: z.ZodLiteral<"flat">;
23262
23303
  amount: z.ZodString;
23263
23304
  }, z.core.$strict>;
23264
- export declare const priceUnitWire: z.ZodObject<{
23265
- type: z.ZodLiteral<"unit">;
23266
- amount: z.ZodString;
23267
- }, z.core.$strict>;
23268
23305
  export declare const rateCardDiscountsWire: z.ZodObject<{
23269
23306
  percentage: z.ZodOptional<z.ZodNumber>;
23270
23307
  usage: z.ZodOptional<z.ZodString>;
@@ -23279,6 +23316,10 @@ export declare const totalsWire: z.ZodObject<{
23279
23316
  credits_total: z.ZodString;
23280
23317
  total: z.ZodString;
23281
23318
  }, z.core.$strict>;
23319
+ export declare const priceUnitWire: z.ZodObject<{
23320
+ type: z.ZodLiteral<"unit">;
23321
+ amount: z.ZodString;
23322
+ }, z.core.$strict>;
23282
23323
  export declare const spendCommitmentsWire: z.ZodObject<{
23283
23324
  minimum_amount: z.ZodOptional<z.ZodString>;
23284
23325
  maximum_amount: z.ZodOptional<z.ZodString>;
@@ -24074,6 +24115,21 @@ export declare const subscriptionProRatingConfigWire: z.ZodObject<{
24074
24115
  prorate_prices: "prorate_prices";
24075
24116
  }>;
24076
24117
  }, z.core.$strict>;
24118
+ export declare const unitConfigWire: z.ZodObject<{
24119
+ operation: z.ZodEnum<{
24120
+ divide: "divide";
24121
+ multiply: "multiply";
24122
+ }>;
24123
+ conversion_factor: z.ZodString;
24124
+ rounding: z.ZodOptional<z.ZodEnum<{
24125
+ ceiling: "ceiling";
24126
+ floor: "floor";
24127
+ half_up: "half_up";
24128
+ none: "none";
24129
+ }>>;
24130
+ precision: z.ZodOptional<z.ZodNumber>;
24131
+ display_unit: z.ZodOptional<z.ZodString>;
24132
+ }, z.core.$strict>;
24077
24133
  export declare const subscriptionCreateWire: z.ZodObject<{
24078
24134
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
24079
24135
  settlement_mode: z.ZodOptional<z.ZodEnum<{
@@ -24095,21 +24151,6 @@ export declare const subscriptionCreateWire: z.ZodObject<{
24095
24151
  pinned: "pinned";
24096
24152
  }>>;
24097
24153
  }, z.core.$strict>;
24098
- export declare const unitConfigWire: z.ZodObject<{
24099
- operation: z.ZodEnum<{
24100
- divide: "divide";
24101
- multiply: "multiply";
24102
- }>;
24103
- conversion_factor: z.ZodString;
24104
- rounding: z.ZodOptional<z.ZodEnum<{
24105
- ceiling: "ceiling";
24106
- floor: "floor";
24107
- half_up: "half_up";
24108
- none: "none";
24109
- }>>;
24110
- precision: z.ZodOptional<z.ZodNumber>;
24111
- display_unit: z.ZodOptional<z.ZodString>;
24112
- }, z.core.$strict>;
24113
24154
  export declare const subscriptionEditTimingWire: z.ZodUnion<readonly [z.ZodEnum<{
24114
24155
  immediate: "immediate";
24115
24156
  next_billing_cycle: "next_billing_cycle";
@@ -24387,17 +24428,6 @@ export declare const creditTransactionWire: z.ZodObject<{
24387
24428
  after: z.ZodString;
24388
24429
  }, z.core.$strict>;
24389
24430
  }, z.core.$strict>;
24390
- export declare const priceTierWire: z.ZodObject<{
24391
- up_to_amount: z.ZodOptional<z.ZodString>;
24392
- flat_price: z.ZodOptional<z.ZodObject<{
24393
- type: z.ZodLiteral<"flat">;
24394
- amount: z.ZodString;
24395
- }, z.core.$strict>>;
24396
- unit_price: z.ZodOptional<z.ZodObject<{
24397
- type: z.ZodLiteral<"unit">;
24398
- amount: z.ZodString;
24399
- }, z.core.$strict>>;
24400
- }, z.core.$strict>;
24401
24431
  export declare const chargeTotalsWire: z.ZodObject<{
24402
24432
  booked: z.ZodObject<{
24403
24433
  amount: z.ZodString;
@@ -24420,6 +24450,17 @@ export declare const chargeTotalsWire: z.ZodObject<{
24420
24450
  total: z.ZodString;
24421
24451
  }, z.core.$strict>>;
24422
24452
  }, z.core.$strict>;
24453
+ export declare const priceTierWire: z.ZodObject<{
24454
+ up_to_amount: z.ZodOptional<z.ZodString>;
24455
+ flat_price: z.ZodOptional<z.ZodObject<{
24456
+ type: z.ZodLiteral<"flat">;
24457
+ amount: z.ZodString;
24458
+ }, z.core.$strict>>;
24459
+ unit_price: z.ZodOptional<z.ZodObject<{
24460
+ type: z.ZodLiteral<"unit">;
24461
+ amount: z.ZodString;
24462
+ }, z.core.$strict>>;
24463
+ }, z.core.$strict>;
24423
24464
  export declare const updatePriceTierWire: z.ZodObject<{
24424
24465
  up_to_amount: z.ZodOptional<z.ZodString>;
24425
24466
  flat_price: z.ZodOptional<z.ZodObject<{
@@ -26452,6 +26493,127 @@ export declare const workflowCollectionAlignmentWire: z.ZodDiscriminatedUnion<[z
26452
26493
  interval: z.ZodString;
26453
26494
  }, z.core.$strict>;
26454
26495
  }, z.core.$strict>], "type">;
26496
+ export declare const chargeFlatFeeWire: z.ZodObject<{
26497
+ id: z.ZodString;
26498
+ name: z.ZodString;
26499
+ description: z.ZodOptional<z.ZodString>;
26500
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
26501
+ created_at: z.ZodString;
26502
+ updated_at: z.ZodString;
26503
+ deleted_at: z.ZodOptional<z.ZodString>;
26504
+ type: z.ZodLiteral<"flat_fee">;
26505
+ customer: z.ZodObject<{
26506
+ id: z.ZodString;
26507
+ }, z.core.$strict>;
26508
+ lifecycle_controller: z.ZodEnum<{
26509
+ manual: "manual";
26510
+ system: "system";
26511
+ }>;
26512
+ subscription: z.ZodOptional<z.ZodObject<{
26513
+ id: z.ZodString;
26514
+ phase: z.ZodObject<{
26515
+ id: z.ZodString;
26516
+ item: z.ZodObject<{
26517
+ id: z.ZodString;
26518
+ }, z.core.$strict>;
26519
+ }, z.core.$strict>;
26520
+ }, z.core.$strict>>;
26521
+ currency: z.ZodString;
26522
+ status: z.ZodEnum<{
26523
+ active: "active";
26524
+ created: "created";
26525
+ deleted: "deleted";
26526
+ final: "final";
26527
+ }>;
26528
+ invoice_at: z.ZodString;
26529
+ service_period: z.ZodObject<{
26530
+ from: z.ZodString;
26531
+ to: z.ZodString;
26532
+ }, z.core.$strict>;
26533
+ full_service_period: z.ZodObject<{
26534
+ from: z.ZodString;
26535
+ to: z.ZodString;
26536
+ }, z.core.$strict>;
26537
+ billing_period: z.ZodObject<{
26538
+ from: z.ZodString;
26539
+ to: z.ZodString;
26540
+ }, z.core.$strict>;
26541
+ advance_after: z.ZodOptional<z.ZodString>;
26542
+ unique_reference_id: z.ZodOptional<z.ZodString>;
26543
+ settlement_mode: z.ZodEnum<{
26544
+ credit_only: "credit_only";
26545
+ credit_then_invoice: "credit_then_invoice";
26546
+ }>;
26547
+ tax_config: z.ZodOptional<z.ZodObject<{
26548
+ behavior: z.ZodOptional<z.ZodEnum<{
26549
+ exclusive: "exclusive";
26550
+ inclusive: "inclusive";
26551
+ }>>;
26552
+ stripe: z.ZodOptional<z.ZodObject<{
26553
+ code: z.ZodString;
26554
+ }, z.core.$strict>>;
26555
+ external_invoicing: z.ZodOptional<z.ZodObject<{
26556
+ code: z.ZodString;
26557
+ }, z.core.$strict>>;
26558
+ tax_code_id: z.ZodOptional<z.ZodString>;
26559
+ tax_code: z.ZodOptional<z.ZodObject<{
26560
+ id: z.ZodString;
26561
+ }, z.core.$strict>>;
26562
+ }, z.core.$strict>>;
26563
+ payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
26564
+ discounts: z.ZodOptional<z.ZodObject<{
26565
+ percentage: z.ZodOptional<z.ZodNumber>;
26566
+ }, z.core.$strict>>;
26567
+ feature_key: z.ZodOptional<z.ZodString>;
26568
+ feature_id: z.ZodOptional<z.ZodString>;
26569
+ proration_configuration: z.ZodObject<{
26570
+ mode: z.ZodEnum<{
26571
+ no_proration: "no_proration";
26572
+ prorate_prices: "prorate_prices";
26573
+ }>;
26574
+ }, z.core.$strict>;
26575
+ amount_after_proration: z.ZodObject<{
26576
+ amount: z.ZodString;
26577
+ currency: z.ZodString;
26578
+ }, z.core.$strict>;
26579
+ price: z.ZodObject<{
26580
+ type: z.ZodLiteral<"flat">;
26581
+ amount: z.ZodString;
26582
+ }, z.core.$strict>;
26583
+ system_intent: z.ZodOptional<z.ZodObject<{
26584
+ name: z.ZodString;
26585
+ description: z.ZodOptional<z.ZodString>;
26586
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
26587
+ invoice_at: z.ZodString;
26588
+ service_period: z.ZodObject<{
26589
+ from: z.ZodString;
26590
+ to: z.ZodString;
26591
+ }, z.core.$strict>;
26592
+ full_service_period: z.ZodObject<{
26593
+ from: z.ZodString;
26594
+ to: z.ZodString;
26595
+ }, z.core.$strict>;
26596
+ billing_period: z.ZodObject<{
26597
+ from: z.ZodString;
26598
+ to: z.ZodString;
26599
+ }, z.core.$strict>;
26600
+ payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
26601
+ discounts: z.ZodOptional<z.ZodObject<{
26602
+ percentage: z.ZodOptional<z.ZodNumber>;
26603
+ }, z.core.$strict>>;
26604
+ proration_configuration: z.ZodObject<{
26605
+ mode: z.ZodEnum<{
26606
+ no_proration: "no_proration";
26607
+ prorate_prices: "prorate_prices";
26608
+ }>;
26609
+ }, z.core.$strict>;
26610
+ amount_before_proration: z.ZodObject<{
26611
+ amount: z.ZodString;
26612
+ currency: z.ZodString;
26613
+ }, z.core.$strict>;
26614
+ deleted_at: z.ZodOptional<z.ZodString>;
26615
+ }, z.core.$strict>>;
26616
+ }, z.core.$strict>;
26455
26617
  export declare const taxCodePagePaginatedResponseWire: z.ZodObject<{
26456
26618
  data: z.ZodArray<z.ZodObject<{
26457
26619
  id: z.ZodString;
@@ -26934,12 +27096,7 @@ export declare const entitlementAccessQueryResultWire: z.ZodObject<{
26934
27096
  }, z.core.$strict>>;
26935
27097
  updated_at: z.ZodString;
26936
27098
  }, z.core.$strict>;
26937
- export declare const priceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
26938
- type: z.ZodLiteral<"free">;
26939
- }, z.core.$strict>, z.ZodObject<{
26940
- type: z.ZodLiteral<"flat">;
26941
- amount: z.ZodString;
26942
- }, z.core.$strict>, z.ZodObject<{
27099
+ export declare const priceUsageBasedWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
26943
27100
  type: z.ZodLiteral<"unit">;
26944
27101
  amount: z.ZodString;
26945
27102
  }, z.core.$strict>, z.ZodObject<{
@@ -26969,7 +27126,12 @@ export declare const priceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
26969
27126
  }, z.core.$strict>>;
26970
27127
  }, z.core.$strict>>;
26971
27128
  }, z.core.$strict>], "type">;
26972
- export declare const priceUsageBasedWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
27129
+ export declare const priceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
27130
+ type: z.ZodLiteral<"free">;
27131
+ }, z.core.$strict>, z.ZodObject<{
27132
+ type: z.ZodLiteral<"flat">;
27133
+ amount: z.ZodString;
27134
+ }, z.core.$strict>, z.ZodObject<{
26973
27135
  type: z.ZodLiteral<"unit">;
26974
27136
  amount: z.ZodString;
26975
27137
  }, z.core.$strict>, z.ZodObject<{
@@ -27868,158 +28030,6 @@ export declare const entitlementAccessQueryResponseWire: z.ZodObject<{
27868
28030
  }, z.core.$strict>;
27869
28031
  }, z.core.$strict>;
27870
28032
  }, z.core.$strict>;
27871
- export declare const chargeFlatFeeWire: z.ZodObject<{
27872
- id: z.ZodString;
27873
- name: z.ZodString;
27874
- description: z.ZodOptional<z.ZodString>;
27875
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27876
- created_at: z.ZodString;
27877
- updated_at: z.ZodString;
27878
- deleted_at: z.ZodOptional<z.ZodString>;
27879
- type: z.ZodLiteral<"flat_fee">;
27880
- customer: z.ZodObject<{
27881
- id: z.ZodString;
27882
- }, z.core.$strict>;
27883
- lifecycle_controller: z.ZodEnum<{
27884
- manual: "manual";
27885
- system: "system";
27886
- }>;
27887
- subscription: z.ZodOptional<z.ZodObject<{
27888
- id: z.ZodString;
27889
- phase: z.ZodObject<{
27890
- id: z.ZodString;
27891
- item: z.ZodObject<{
27892
- id: z.ZodString;
27893
- }, z.core.$strict>;
27894
- }, z.core.$strict>;
27895
- }, z.core.$strict>>;
27896
- currency: z.ZodString;
27897
- status: z.ZodEnum<{
27898
- active: "active";
27899
- created: "created";
27900
- deleted: "deleted";
27901
- final: "final";
27902
- }>;
27903
- invoice_at: z.ZodString;
27904
- service_period: z.ZodObject<{
27905
- from: z.ZodString;
27906
- to: z.ZodString;
27907
- }, z.core.$strict>;
27908
- full_service_period: z.ZodObject<{
27909
- from: z.ZodString;
27910
- to: z.ZodString;
27911
- }, z.core.$strict>;
27912
- billing_period: z.ZodObject<{
27913
- from: z.ZodString;
27914
- to: z.ZodString;
27915
- }, z.core.$strict>;
27916
- advance_after: z.ZodOptional<z.ZodString>;
27917
- unique_reference_id: z.ZodOptional<z.ZodString>;
27918
- settlement_mode: z.ZodEnum<{
27919
- credit_only: "credit_only";
27920
- credit_then_invoice: "credit_then_invoice";
27921
- }>;
27922
- tax_config: z.ZodOptional<z.ZodObject<{
27923
- behavior: z.ZodOptional<z.ZodEnum<{
27924
- exclusive: "exclusive";
27925
- inclusive: "inclusive";
27926
- }>>;
27927
- stripe: z.ZodOptional<z.ZodObject<{
27928
- code: z.ZodString;
27929
- }, z.core.$strict>>;
27930
- external_invoicing: z.ZodOptional<z.ZodObject<{
27931
- code: z.ZodString;
27932
- }, z.core.$strict>>;
27933
- tax_code_id: z.ZodOptional<z.ZodString>;
27934
- tax_code: z.ZodOptional<z.ZodObject<{
27935
- id: z.ZodString;
27936
- }, z.core.$strict>>;
27937
- }, z.core.$strict>>;
27938
- payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
27939
- discounts: z.ZodOptional<z.ZodObject<{
27940
- percentage: z.ZodOptional<z.ZodNumber>;
27941
- }, z.core.$strict>>;
27942
- feature_key: z.ZodOptional<z.ZodString>;
27943
- feature_id: z.ZodOptional<z.ZodString>;
27944
- proration_configuration: z.ZodObject<{
27945
- mode: z.ZodEnum<{
27946
- no_proration: "no_proration";
27947
- prorate_prices: "prorate_prices";
27948
- }>;
27949
- }, z.core.$strict>;
27950
- amount_after_proration: z.ZodObject<{
27951
- amount: z.ZodString;
27952
- currency: z.ZodString;
27953
- }, z.core.$strict>;
27954
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
27955
- type: z.ZodLiteral<"free">;
27956
- }, z.core.$strict>, z.ZodObject<{
27957
- type: z.ZodLiteral<"flat">;
27958
- amount: z.ZodString;
27959
- }, z.core.$strict>, z.ZodObject<{
27960
- type: z.ZodLiteral<"unit">;
27961
- amount: z.ZodString;
27962
- }, z.core.$strict>, z.ZodObject<{
27963
- type: z.ZodLiteral<"graduated">;
27964
- tiers: z.ZodArray<z.ZodObject<{
27965
- up_to_amount: z.ZodOptional<z.ZodString>;
27966
- flat_price: z.ZodOptional<z.ZodObject<{
27967
- type: z.ZodLiteral<"flat">;
27968
- amount: z.ZodString;
27969
- }, z.core.$strict>>;
27970
- unit_price: z.ZodOptional<z.ZodObject<{
27971
- type: z.ZodLiteral<"unit">;
27972
- amount: z.ZodString;
27973
- }, z.core.$strict>>;
27974
- }, z.core.$strict>>;
27975
- }, z.core.$strict>, z.ZodObject<{
27976
- type: z.ZodLiteral<"volume">;
27977
- tiers: z.ZodArray<z.ZodObject<{
27978
- up_to_amount: z.ZodOptional<z.ZodString>;
27979
- flat_price: z.ZodOptional<z.ZodObject<{
27980
- type: z.ZodLiteral<"flat">;
27981
- amount: z.ZodString;
27982
- }, z.core.$strict>>;
27983
- unit_price: z.ZodOptional<z.ZodObject<{
27984
- type: z.ZodLiteral<"unit">;
27985
- amount: z.ZodString;
27986
- }, z.core.$strict>>;
27987
- }, z.core.$strict>>;
27988
- }, z.core.$strict>], "type">;
27989
- system_intent: z.ZodOptional<z.ZodObject<{
27990
- name: z.ZodString;
27991
- description: z.ZodOptional<z.ZodString>;
27992
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27993
- invoice_at: z.ZodString;
27994
- service_period: z.ZodObject<{
27995
- from: z.ZodString;
27996
- to: z.ZodString;
27997
- }, z.core.$strict>;
27998
- full_service_period: z.ZodObject<{
27999
- from: z.ZodString;
28000
- to: z.ZodString;
28001
- }, z.core.$strict>;
28002
- billing_period: z.ZodObject<{
28003
- from: z.ZodString;
28004
- to: z.ZodString;
28005
- }, z.core.$strict>;
28006
- payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
28007
- discounts: z.ZodOptional<z.ZodObject<{
28008
- percentage: z.ZodOptional<z.ZodNumber>;
28009
- }, z.core.$strict>>;
28010
- proration_configuration: z.ZodObject<{
28011
- mode: z.ZodEnum<{
28012
- no_proration: "no_proration";
28013
- prorate_prices: "prorate_prices";
28014
- }>;
28015
- }, z.core.$strict>;
28016
- amount_before_proration: z.ZodObject<{
28017
- amount: z.ZodString;
28018
- currency: z.ZodString;
28019
- }, z.core.$strict>;
28020
- deleted_at: z.ZodOptional<z.ZodString>;
28021
- }, z.core.$strict>>;
28022
- }, z.core.$strict>;
28023
28033
  export declare const chargeUsageBasedSystemIntentWire: z.ZodObject<{
28024
28034
  name: z.ZodString;
28025
28035
  description: z.ZodOptional<z.ZodString>;
@@ -28042,11 +28052,6 @@ export declare const chargeUsageBasedSystemIntentWire: z.ZodObject<{
28042
28052
  usage: z.ZodOptional<z.ZodString>;
28043
28053
  }, z.core.$strict>>;
28044
28054
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
28045
- type: z.ZodLiteral<"free">;
28046
- }, z.core.$strict>, z.ZodObject<{
28047
- type: z.ZodLiteral<"flat">;
28048
- amount: z.ZodString;
28049
- }, z.core.$strict>, z.ZodObject<{
28050
28055
  type: z.ZodLiteral<"unit">;
28051
28056
  amount: z.ZodString;
28052
28057
  }, z.core.$strict>, z.ZodObject<{
@@ -28076,6 +28081,25 @@ export declare const chargeUsageBasedSystemIntentWire: z.ZodObject<{
28076
28081
  }, z.core.$strict>>;
28077
28082
  }, z.core.$strict>>;
28078
28083
  }, z.core.$strict>], "type">;
28084
+ commitments: z.ZodOptional<z.ZodObject<{
28085
+ minimum_amount: z.ZodOptional<z.ZodString>;
28086
+ maximum_amount: z.ZodOptional<z.ZodString>;
28087
+ }, z.core.$strict>>;
28088
+ unit_config: z.ZodOptional<z.ZodObject<{
28089
+ operation: z.ZodEnum<{
28090
+ divide: "divide";
28091
+ multiply: "multiply";
28092
+ }>;
28093
+ conversion_factor: z.ZodString;
28094
+ rounding: z.ZodOptional<z.ZodEnum<{
28095
+ ceiling: "ceiling";
28096
+ floor: "floor";
28097
+ half_up: "half_up";
28098
+ none: "none";
28099
+ }>>;
28100
+ precision: z.ZodOptional<z.ZodNumber>;
28101
+ display_unit: z.ZodOptional<z.ZodString>;
28102
+ }, z.core.$strict>>;
28079
28103
  deleted_at: z.ZodOptional<z.ZodString>;
28080
28104
  }, z.core.$strict>;
28081
28105
  export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
@@ -28116,11 +28140,6 @@ export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
28116
28140
  }, z.core.$strict>>;
28117
28141
  feature_id: z.ZodString;
28118
28142
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
28119
- type: z.ZodLiteral<"free">;
28120
- }, z.core.$strict>, z.ZodObject<{
28121
- type: z.ZodLiteral<"flat">;
28122
- amount: z.ZodString;
28123
- }, z.core.$strict>, z.ZodObject<{
28124
28143
  type: z.ZodLiteral<"unit">;
28125
28144
  amount: z.ZodString;
28126
28145
  }, z.core.$strict>, z.ZodObject<{
@@ -28150,6 +28169,25 @@ export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
28150
28169
  }, z.core.$strict>>;
28151
28170
  }, z.core.$strict>>;
28152
28171
  }, z.core.$strict>], "type">;
28172
+ commitments: z.ZodOptional<z.ZodObject<{
28173
+ minimum_amount: z.ZodOptional<z.ZodString>;
28174
+ maximum_amount: z.ZodOptional<z.ZodString>;
28175
+ }, z.core.$strict>>;
28176
+ unit_config: z.ZodOptional<z.ZodObject<{
28177
+ operation: z.ZodEnum<{
28178
+ divide: "divide";
28179
+ multiply: "multiply";
28180
+ }>;
28181
+ conversion_factor: z.ZodString;
28182
+ rounding: z.ZodOptional<z.ZodEnum<{
28183
+ ceiling: "ceiling";
28184
+ floor: "floor";
28185
+ half_up: "half_up";
28186
+ none: "none";
28187
+ }>>;
28188
+ precision: z.ZodOptional<z.ZodNumber>;
28189
+ display_unit: z.ZodOptional<z.ZodString>;
28190
+ }, z.core.$strict>>;
28153
28191
  full_service_period: z.ZodOptional<z.ZodObject<{
28154
28192
  from: z.ZodString;
28155
28193
  to: z.ZodString;
@@ -29092,11 +29130,220 @@ export declare const chargeUsageBasedWire: z.ZodObject<{
29092
29130
  }, z.core.$strict>>;
29093
29131
  }, z.core.$strict>;
29094
29132
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
29095
- type: z.ZodLiteral<"free">;
29096
- }, z.core.$strict>, z.ZodObject<{
29097
- type: z.ZodLiteral<"flat">;
29133
+ type: z.ZodLiteral<"unit">;
29098
29134
  amount: z.ZodString;
29099
29135
  }, z.core.$strict>, z.ZodObject<{
29136
+ type: z.ZodLiteral<"graduated">;
29137
+ tiers: z.ZodArray<z.ZodObject<{
29138
+ up_to_amount: z.ZodOptional<z.ZodString>;
29139
+ flat_price: z.ZodOptional<z.ZodObject<{
29140
+ type: z.ZodLiteral<"flat">;
29141
+ amount: z.ZodString;
29142
+ }, z.core.$strict>>;
29143
+ unit_price: z.ZodOptional<z.ZodObject<{
29144
+ type: z.ZodLiteral<"unit">;
29145
+ amount: z.ZodString;
29146
+ }, z.core.$strict>>;
29147
+ }, z.core.$strict>>;
29148
+ }, z.core.$strict>, z.ZodObject<{
29149
+ type: z.ZodLiteral<"volume">;
29150
+ tiers: z.ZodArray<z.ZodObject<{
29151
+ up_to_amount: z.ZodOptional<z.ZodString>;
29152
+ flat_price: z.ZodOptional<z.ZodObject<{
29153
+ type: z.ZodLiteral<"flat">;
29154
+ amount: z.ZodString;
29155
+ }, z.core.$strict>>;
29156
+ unit_price: z.ZodOptional<z.ZodObject<{
29157
+ type: z.ZodLiteral<"unit">;
29158
+ amount: z.ZodString;
29159
+ }, z.core.$strict>>;
29160
+ }, z.core.$strict>>;
29161
+ }, z.core.$strict>], "type">;
29162
+ commitments: z.ZodOptional<z.ZodObject<{
29163
+ minimum_amount: z.ZodOptional<z.ZodString>;
29164
+ maximum_amount: z.ZodOptional<z.ZodString>;
29165
+ }, z.core.$strict>>;
29166
+ unit_config: z.ZodOptional<z.ZodObject<{
29167
+ operation: z.ZodEnum<{
29168
+ divide: "divide";
29169
+ multiply: "multiply";
29170
+ }>;
29171
+ conversion_factor: z.ZodString;
29172
+ rounding: z.ZodOptional<z.ZodEnum<{
29173
+ ceiling: "ceiling";
29174
+ floor: "floor";
29175
+ half_up: "half_up";
29176
+ none: "none";
29177
+ }>>;
29178
+ precision: z.ZodOptional<z.ZodNumber>;
29179
+ display_unit: z.ZodOptional<z.ZodString>;
29180
+ }, z.core.$strict>>;
29181
+ system_intent: z.ZodOptional<z.ZodObject<{
29182
+ name: z.ZodString;
29183
+ description: z.ZodOptional<z.ZodString>;
29184
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29185
+ invoice_at: z.ZodString;
29186
+ service_period: z.ZodObject<{
29187
+ from: z.ZodString;
29188
+ to: z.ZodString;
29189
+ }, z.core.$strict>;
29190
+ full_service_period: z.ZodObject<{
29191
+ from: z.ZodString;
29192
+ to: z.ZodString;
29193
+ }, z.core.$strict>;
29194
+ billing_period: z.ZodObject<{
29195
+ from: z.ZodString;
29196
+ to: z.ZodString;
29197
+ }, z.core.$strict>;
29198
+ discounts: z.ZodOptional<z.ZodObject<{
29199
+ percentage: z.ZodOptional<z.ZodNumber>;
29200
+ usage: z.ZodOptional<z.ZodString>;
29201
+ }, z.core.$strict>>;
29202
+ price: z.ZodDiscriminatedUnion<[z.ZodObject<{
29203
+ type: z.ZodLiteral<"unit">;
29204
+ amount: z.ZodString;
29205
+ }, z.core.$strict>, z.ZodObject<{
29206
+ type: z.ZodLiteral<"graduated">;
29207
+ tiers: z.ZodArray<z.ZodObject<{
29208
+ up_to_amount: z.ZodOptional<z.ZodString>;
29209
+ flat_price: z.ZodOptional<z.ZodObject<{
29210
+ type: z.ZodLiteral<"flat">;
29211
+ amount: z.ZodString;
29212
+ }, z.core.$strict>>;
29213
+ unit_price: z.ZodOptional<z.ZodObject<{
29214
+ type: z.ZodLiteral<"unit">;
29215
+ amount: z.ZodString;
29216
+ }, z.core.$strict>>;
29217
+ }, z.core.$strict>>;
29218
+ }, z.core.$strict>, z.ZodObject<{
29219
+ type: z.ZodLiteral<"volume">;
29220
+ tiers: z.ZodArray<z.ZodObject<{
29221
+ up_to_amount: z.ZodOptional<z.ZodString>;
29222
+ flat_price: z.ZodOptional<z.ZodObject<{
29223
+ type: z.ZodLiteral<"flat">;
29224
+ amount: z.ZodString;
29225
+ }, z.core.$strict>>;
29226
+ unit_price: z.ZodOptional<z.ZodObject<{
29227
+ type: z.ZodLiteral<"unit">;
29228
+ amount: z.ZodString;
29229
+ }, z.core.$strict>>;
29230
+ }, z.core.$strict>>;
29231
+ }, z.core.$strict>], "type">;
29232
+ commitments: z.ZodOptional<z.ZodObject<{
29233
+ minimum_amount: z.ZodOptional<z.ZodString>;
29234
+ maximum_amount: z.ZodOptional<z.ZodString>;
29235
+ }, z.core.$strict>>;
29236
+ unit_config: z.ZodOptional<z.ZodObject<{
29237
+ operation: z.ZodEnum<{
29238
+ divide: "divide";
29239
+ multiply: "multiply";
29240
+ }>;
29241
+ conversion_factor: z.ZodString;
29242
+ rounding: z.ZodOptional<z.ZodEnum<{
29243
+ ceiling: "ceiling";
29244
+ floor: "floor";
29245
+ half_up: "half_up";
29246
+ none: "none";
29247
+ }>>;
29248
+ precision: z.ZodOptional<z.ZodNumber>;
29249
+ display_unit: z.ZodOptional<z.ZodString>;
29250
+ }, z.core.$strict>>;
29251
+ deleted_at: z.ZodOptional<z.ZodString>;
29252
+ }, z.core.$strict>>;
29253
+ }, z.core.$strict>;
29254
+ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
29255
+ name: z.ZodString;
29256
+ description: z.ZodOptional<z.ZodString>;
29257
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29258
+ type: z.ZodLiteral<"flat_fee">;
29259
+ currency: z.ZodString;
29260
+ invoice_at: z.ZodString;
29261
+ service_period: z.ZodObject<{
29262
+ from: z.ZodString;
29263
+ to: z.ZodString;
29264
+ }, z.core.$strict>;
29265
+ unique_reference_id: z.ZodOptional<z.ZodString>;
29266
+ settlement_mode: z.ZodEnum<{
29267
+ credit_only: "credit_only";
29268
+ credit_then_invoice: "credit_then_invoice";
29269
+ }>;
29270
+ tax_config: z.ZodOptional<z.ZodObject<{
29271
+ behavior: z.ZodOptional<z.ZodEnum<{
29272
+ exclusive: "exclusive";
29273
+ inclusive: "inclusive";
29274
+ }>>;
29275
+ stripe: z.ZodOptional<z.ZodObject<{
29276
+ code: z.ZodString;
29277
+ }, z.core.$strict>>;
29278
+ external_invoicing: z.ZodOptional<z.ZodObject<{
29279
+ code: z.ZodString;
29280
+ }, z.core.$strict>>;
29281
+ tax_code_id: z.ZodOptional<z.ZodString>;
29282
+ tax_code: z.ZodOptional<z.ZodObject<{
29283
+ id: z.ZodString;
29284
+ }, z.core.$strict>>;
29285
+ }, z.core.$strict>>;
29286
+ payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
29287
+ discounts: z.ZodOptional<z.ZodObject<{
29288
+ percentage: z.ZodOptional<z.ZodNumber>;
29289
+ }, z.core.$strict>>;
29290
+ feature_id: z.ZodOptional<z.ZodString>;
29291
+ proration_configuration: z.ZodObject<{
29292
+ mode: z.ZodEnum<{
29293
+ no_proration: "no_proration";
29294
+ prorate_prices: "prorate_prices";
29295
+ }>;
29296
+ }, z.core.$strict>;
29297
+ amount_before_proration: z.ZodObject<{
29298
+ amount: z.ZodString;
29299
+ currency: z.ZodString;
29300
+ }, z.core.$strict>;
29301
+ full_service_period: z.ZodOptional<z.ZodObject<{
29302
+ from: z.ZodString;
29303
+ to: z.ZodString;
29304
+ }, z.core.$strict>>;
29305
+ billing_period: z.ZodOptional<z.ZodObject<{
29306
+ from: z.ZodString;
29307
+ to: z.ZodString;
29308
+ }, z.core.$strict>>;
29309
+ }, z.core.$strict>, z.ZodObject<{
29310
+ name: z.ZodString;
29311
+ description: z.ZodOptional<z.ZodString>;
29312
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29313
+ type: z.ZodLiteral<"usage_based">;
29314
+ currency: z.ZodString;
29315
+ invoice_at: z.ZodString;
29316
+ service_period: z.ZodObject<{
29317
+ from: z.ZodString;
29318
+ to: z.ZodString;
29319
+ }, z.core.$strict>;
29320
+ unique_reference_id: z.ZodOptional<z.ZodString>;
29321
+ settlement_mode: z.ZodEnum<{
29322
+ credit_only: "credit_only";
29323
+ credit_then_invoice: "credit_then_invoice";
29324
+ }>;
29325
+ tax_config: z.ZodOptional<z.ZodObject<{
29326
+ behavior: z.ZodOptional<z.ZodEnum<{
29327
+ exclusive: "exclusive";
29328
+ inclusive: "inclusive";
29329
+ }>>;
29330
+ stripe: z.ZodOptional<z.ZodObject<{
29331
+ code: z.ZodString;
29332
+ }, z.core.$strict>>;
29333
+ external_invoicing: z.ZodOptional<z.ZodObject<{
29334
+ code: z.ZodString;
29335
+ }, z.core.$strict>>;
29336
+ tax_code_id: z.ZodOptional<z.ZodString>;
29337
+ tax_code: z.ZodOptional<z.ZodObject<{
29338
+ id: z.ZodString;
29339
+ }, z.core.$strict>>;
29340
+ }, z.core.$strict>>;
29341
+ discounts: z.ZodOptional<z.ZodObject<{
29342
+ percentage: z.ZodOptional<z.ZodNumber>;
29343
+ usage: z.ZodOptional<z.ZodString>;
29344
+ }, z.core.$strict>>;
29345
+ feature_id: z.ZodString;
29346
+ price: z.ZodDiscriminatedUnion<[z.ZodObject<{
29100
29347
  type: z.ZodLiteral<"unit">;
29101
29348
  amount: z.ZodString;
29102
29349
  }, z.core.$strict>, z.ZodObject<{
@@ -29126,192 +29373,25 @@ export declare const chargeUsageBasedWire: z.ZodObject<{
29126
29373
  }, z.core.$strict>>;
29127
29374
  }, z.core.$strict>>;
29128
29375
  }, z.core.$strict>], "type">;
29129
- system_intent: z.ZodOptional<z.ZodObject<{
29130
- name: z.ZodString;
29131
- description: z.ZodOptional<z.ZodString>;
29132
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29133
- invoice_at: z.ZodString;
29134
- service_period: z.ZodObject<{
29135
- from: z.ZodString;
29136
- to: z.ZodString;
29137
- }, z.core.$strict>;
29138
- full_service_period: z.ZodObject<{
29139
- from: z.ZodString;
29140
- to: z.ZodString;
29141
- }, z.core.$strict>;
29142
- billing_period: z.ZodObject<{
29143
- from: z.ZodString;
29144
- to: z.ZodString;
29145
- }, z.core.$strict>;
29146
- discounts: z.ZodOptional<z.ZodObject<{
29147
- percentage: z.ZodOptional<z.ZodNumber>;
29148
- usage: z.ZodOptional<z.ZodString>;
29149
- }, z.core.$strict>>;
29150
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
29151
- type: z.ZodLiteral<"free">;
29152
- }, z.core.$strict>, z.ZodObject<{
29153
- type: z.ZodLiteral<"flat">;
29154
- amount: z.ZodString;
29155
- }, z.core.$strict>, z.ZodObject<{
29156
- type: z.ZodLiteral<"unit">;
29157
- amount: z.ZodString;
29158
- }, z.core.$strict>, z.ZodObject<{
29159
- type: z.ZodLiteral<"graduated">;
29160
- tiers: z.ZodArray<z.ZodObject<{
29161
- up_to_amount: z.ZodOptional<z.ZodString>;
29162
- flat_price: z.ZodOptional<z.ZodObject<{
29163
- type: z.ZodLiteral<"flat">;
29164
- amount: z.ZodString;
29165
- }, z.core.$strict>>;
29166
- unit_price: z.ZodOptional<z.ZodObject<{
29167
- type: z.ZodLiteral<"unit">;
29168
- amount: z.ZodString;
29169
- }, z.core.$strict>>;
29170
- }, z.core.$strict>>;
29171
- }, z.core.$strict>, z.ZodObject<{
29172
- type: z.ZodLiteral<"volume">;
29173
- tiers: z.ZodArray<z.ZodObject<{
29174
- up_to_amount: z.ZodOptional<z.ZodString>;
29175
- flat_price: z.ZodOptional<z.ZodObject<{
29176
- type: z.ZodLiteral<"flat">;
29177
- amount: z.ZodString;
29178
- }, z.core.$strict>>;
29179
- unit_price: z.ZodOptional<z.ZodObject<{
29180
- type: z.ZodLiteral<"unit">;
29181
- amount: z.ZodString;
29182
- }, z.core.$strict>>;
29183
- }, z.core.$strict>>;
29184
- }, z.core.$strict>], "type">;
29185
- deleted_at: z.ZodOptional<z.ZodString>;
29186
- }, z.core.$strict>>;
29187
- }, z.core.$strict>;
29188
- export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
29189
- name: z.ZodString;
29190
- description: z.ZodOptional<z.ZodString>;
29191
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29192
- type: z.ZodLiteral<"flat_fee">;
29193
- currency: z.ZodString;
29194
- invoice_at: z.ZodString;
29195
- service_period: z.ZodObject<{
29196
- from: z.ZodString;
29197
- to: z.ZodString;
29198
- }, z.core.$strict>;
29199
- unique_reference_id: z.ZodOptional<z.ZodString>;
29200
- settlement_mode: z.ZodEnum<{
29201
- credit_only: "credit_only";
29202
- credit_then_invoice: "credit_then_invoice";
29203
- }>;
29204
- tax_config: z.ZodOptional<z.ZodObject<{
29205
- behavior: z.ZodOptional<z.ZodEnum<{
29206
- exclusive: "exclusive";
29207
- inclusive: "inclusive";
29208
- }>>;
29209
- stripe: z.ZodOptional<z.ZodObject<{
29210
- code: z.ZodString;
29211
- }, z.core.$strict>>;
29212
- external_invoicing: z.ZodOptional<z.ZodObject<{
29213
- code: z.ZodString;
29214
- }, z.core.$strict>>;
29215
- tax_code_id: z.ZodOptional<z.ZodString>;
29216
- tax_code: z.ZodOptional<z.ZodObject<{
29217
- id: z.ZodString;
29218
- }, z.core.$strict>>;
29219
- }, z.core.$strict>>;
29220
- payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
29221
- discounts: z.ZodOptional<z.ZodObject<{
29222
- percentage: z.ZodOptional<z.ZodNumber>;
29376
+ commitments: z.ZodOptional<z.ZodObject<{
29377
+ minimum_amount: z.ZodOptional<z.ZodString>;
29378
+ maximum_amount: z.ZodOptional<z.ZodString>;
29223
29379
  }, z.core.$strict>>;
29224
- feature_id: z.ZodOptional<z.ZodString>;
29225
- proration_configuration: z.ZodObject<{
29226
- mode: z.ZodEnum<{
29227
- no_proration: "no_proration";
29228
- prorate_prices: "prorate_prices";
29380
+ unit_config: z.ZodOptional<z.ZodObject<{
29381
+ operation: z.ZodEnum<{
29382
+ divide: "divide";
29383
+ multiply: "multiply";
29229
29384
  }>;
29230
- }, z.core.$strict>;
29231
- amount_before_proration: z.ZodObject<{
29232
- amount: z.ZodString;
29233
- currency: z.ZodString;
29234
- }, z.core.$strict>;
29235
- full_service_period: z.ZodOptional<z.ZodObject<{
29236
- from: z.ZodString;
29237
- to: z.ZodString;
29238
- }, z.core.$strict>>;
29239
- billing_period: z.ZodOptional<z.ZodObject<{
29240
- from: z.ZodString;
29241
- to: z.ZodString;
29242
- }, z.core.$strict>>;
29243
- }, z.core.$strict>, z.ZodObject<{
29244
- name: z.ZodString;
29245
- description: z.ZodOptional<z.ZodString>;
29246
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29247
- type: z.ZodLiteral<"usage_based">;
29248
- currency: z.ZodString;
29249
- invoice_at: z.ZodString;
29250
- service_period: z.ZodObject<{
29251
- from: z.ZodString;
29252
- to: z.ZodString;
29253
- }, z.core.$strict>;
29254
- unique_reference_id: z.ZodOptional<z.ZodString>;
29255
- settlement_mode: z.ZodEnum<{
29256
- credit_only: "credit_only";
29257
- credit_then_invoice: "credit_then_invoice";
29258
- }>;
29259
- tax_config: z.ZodOptional<z.ZodObject<{
29260
- behavior: z.ZodOptional<z.ZodEnum<{
29261
- exclusive: "exclusive";
29262
- inclusive: "inclusive";
29385
+ conversion_factor: z.ZodString;
29386
+ rounding: z.ZodOptional<z.ZodEnum<{
29387
+ ceiling: "ceiling";
29388
+ floor: "floor";
29389
+ half_up: "half_up";
29390
+ none: "none";
29263
29391
  }>>;
29264
- stripe: z.ZodOptional<z.ZodObject<{
29265
- code: z.ZodString;
29266
- }, z.core.$strict>>;
29267
- external_invoicing: z.ZodOptional<z.ZodObject<{
29268
- code: z.ZodString;
29269
- }, z.core.$strict>>;
29270
- tax_code_id: z.ZodOptional<z.ZodString>;
29271
- tax_code: z.ZodOptional<z.ZodObject<{
29272
- id: z.ZodString;
29273
- }, z.core.$strict>>;
29274
- }, z.core.$strict>>;
29275
- discounts: z.ZodOptional<z.ZodObject<{
29276
- percentage: z.ZodOptional<z.ZodNumber>;
29277
- usage: z.ZodOptional<z.ZodString>;
29392
+ precision: z.ZodOptional<z.ZodNumber>;
29393
+ display_unit: z.ZodOptional<z.ZodString>;
29278
29394
  }, z.core.$strict>>;
29279
- feature_id: z.ZodString;
29280
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
29281
- type: z.ZodLiteral<"free">;
29282
- }, z.core.$strict>, z.ZodObject<{
29283
- type: z.ZodLiteral<"flat">;
29284
- amount: z.ZodString;
29285
- }, z.core.$strict>, z.ZodObject<{
29286
- type: z.ZodLiteral<"unit">;
29287
- amount: z.ZodString;
29288
- }, z.core.$strict>, z.ZodObject<{
29289
- type: z.ZodLiteral<"graduated">;
29290
- tiers: z.ZodArray<z.ZodObject<{
29291
- up_to_amount: z.ZodOptional<z.ZodString>;
29292
- flat_price: z.ZodOptional<z.ZodObject<{
29293
- type: z.ZodLiteral<"flat">;
29294
- amount: z.ZodString;
29295
- }, z.core.$strict>>;
29296
- unit_price: z.ZodOptional<z.ZodObject<{
29297
- type: z.ZodLiteral<"unit">;
29298
- amount: z.ZodString;
29299
- }, z.core.$strict>>;
29300
- }, z.core.$strict>>;
29301
- }, z.core.$strict>, z.ZodObject<{
29302
- type: z.ZodLiteral<"volume">;
29303
- tiers: z.ZodArray<z.ZodObject<{
29304
- up_to_amount: z.ZodOptional<z.ZodString>;
29305
- flat_price: z.ZodOptional<z.ZodObject<{
29306
- type: z.ZodLiteral<"flat">;
29307
- amount: z.ZodString;
29308
- }, z.core.$strict>>;
29309
- unit_price: z.ZodOptional<z.ZodObject<{
29310
- type: z.ZodLiteral<"unit">;
29311
- amount: z.ZodString;
29312
- }, z.core.$strict>>;
29313
- }, z.core.$strict>>;
29314
- }, z.core.$strict>], "type">;
29315
29395
  full_service_period: z.ZodOptional<z.ZodObject<{
29316
29396
  from: z.ZodString;
29317
29397
  to: z.ZodString;
@@ -30528,41 +30608,10 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
30528
30608
  amount: z.ZodString;
30529
30609
  currency: z.ZodString;
30530
30610
  }, z.core.$strict>;
30531
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
30532
- type: z.ZodLiteral<"free">;
30533
- }, z.core.$strict>, z.ZodObject<{
30611
+ price: z.ZodObject<{
30534
30612
  type: z.ZodLiteral<"flat">;
30535
30613
  amount: z.ZodString;
30536
- }, z.core.$strict>, z.ZodObject<{
30537
- type: z.ZodLiteral<"unit">;
30538
- amount: z.ZodString;
30539
- }, z.core.$strict>, z.ZodObject<{
30540
- type: z.ZodLiteral<"graduated">;
30541
- tiers: z.ZodArray<z.ZodObject<{
30542
- up_to_amount: z.ZodOptional<z.ZodString>;
30543
- flat_price: z.ZodOptional<z.ZodObject<{
30544
- type: z.ZodLiteral<"flat">;
30545
- amount: z.ZodString;
30546
- }, z.core.$strict>>;
30547
- unit_price: z.ZodOptional<z.ZodObject<{
30548
- type: z.ZodLiteral<"unit">;
30549
- amount: z.ZodString;
30550
- }, z.core.$strict>>;
30551
- }, z.core.$strict>>;
30552
- }, z.core.$strict>, z.ZodObject<{
30553
- type: z.ZodLiteral<"volume">;
30554
- tiers: z.ZodArray<z.ZodObject<{
30555
- up_to_amount: z.ZodOptional<z.ZodString>;
30556
- flat_price: z.ZodOptional<z.ZodObject<{
30557
- type: z.ZodLiteral<"flat">;
30558
- amount: z.ZodString;
30559
- }, z.core.$strict>>;
30560
- unit_price: z.ZodOptional<z.ZodObject<{
30561
- type: z.ZodLiteral<"unit">;
30562
- amount: z.ZodString;
30563
- }, z.core.$strict>>;
30564
- }, z.core.$strict>>;
30565
- }, z.core.$strict>], "type">;
30614
+ }, z.core.$strict>;
30566
30615
  system_intent: z.ZodOptional<z.ZodObject<{
30567
30616
  name: z.ZodString;
30568
30617
  description: z.ZodOptional<z.ZodString>;
@@ -30692,11 +30741,6 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
30692
30741
  }, z.core.$strict>>;
30693
30742
  }, z.core.$strict>;
30694
30743
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
30695
- type: z.ZodLiteral<"free">;
30696
- }, z.core.$strict>, z.ZodObject<{
30697
- type: z.ZodLiteral<"flat">;
30698
- amount: z.ZodString;
30699
- }, z.core.$strict>, z.ZodObject<{
30700
30744
  type: z.ZodLiteral<"unit">;
30701
30745
  amount: z.ZodString;
30702
30746
  }, z.core.$strict>, z.ZodObject<{
@@ -30726,6 +30770,25 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
30726
30770
  }, z.core.$strict>>;
30727
30771
  }, z.core.$strict>>;
30728
30772
  }, z.core.$strict>], "type">;
30773
+ commitments: z.ZodOptional<z.ZodObject<{
30774
+ minimum_amount: z.ZodOptional<z.ZodString>;
30775
+ maximum_amount: z.ZodOptional<z.ZodString>;
30776
+ }, z.core.$strict>>;
30777
+ unit_config: z.ZodOptional<z.ZodObject<{
30778
+ operation: z.ZodEnum<{
30779
+ divide: "divide";
30780
+ multiply: "multiply";
30781
+ }>;
30782
+ conversion_factor: z.ZodString;
30783
+ rounding: z.ZodOptional<z.ZodEnum<{
30784
+ ceiling: "ceiling";
30785
+ floor: "floor";
30786
+ half_up: "half_up";
30787
+ none: "none";
30788
+ }>>;
30789
+ precision: z.ZodOptional<z.ZodNumber>;
30790
+ display_unit: z.ZodOptional<z.ZodString>;
30791
+ }, z.core.$strict>>;
30729
30792
  system_intent: z.ZodOptional<z.ZodObject<{
30730
30793
  name: z.ZodString;
30731
30794
  description: z.ZodOptional<z.ZodString>;
@@ -30748,11 +30811,6 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
30748
30811
  usage: z.ZodOptional<z.ZodString>;
30749
30812
  }, z.core.$strict>>;
30750
30813
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
30751
- type: z.ZodLiteral<"free">;
30752
- }, z.core.$strict>, z.ZodObject<{
30753
- type: z.ZodLiteral<"flat">;
30754
- amount: z.ZodString;
30755
- }, z.core.$strict>, z.ZodObject<{
30756
30814
  type: z.ZodLiteral<"unit">;
30757
30815
  amount: z.ZodString;
30758
30816
  }, z.core.$strict>, z.ZodObject<{
@@ -30782,6 +30840,25 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
30782
30840
  }, z.core.$strict>>;
30783
30841
  }, z.core.$strict>>;
30784
30842
  }, z.core.$strict>], "type">;
30843
+ commitments: z.ZodOptional<z.ZodObject<{
30844
+ minimum_amount: z.ZodOptional<z.ZodString>;
30845
+ maximum_amount: z.ZodOptional<z.ZodString>;
30846
+ }, z.core.$strict>>;
30847
+ unit_config: z.ZodOptional<z.ZodObject<{
30848
+ operation: z.ZodEnum<{
30849
+ divide: "divide";
30850
+ multiply: "multiply";
30851
+ }>;
30852
+ conversion_factor: z.ZodString;
30853
+ rounding: z.ZodOptional<z.ZodEnum<{
30854
+ ceiling: "ceiling";
30855
+ floor: "floor";
30856
+ half_up: "half_up";
30857
+ none: "none";
30858
+ }>>;
30859
+ precision: z.ZodOptional<z.ZodNumber>;
30860
+ display_unit: z.ZodOptional<z.ZodString>;
30861
+ }, z.core.$strict>>;
30785
30862
  deleted_at: z.ZodOptional<z.ZodString>;
30786
30863
  }, z.core.$strict>>;
30787
30864
  }, z.core.$strict>], "type">;
@@ -31926,41 +32003,10 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
31926
32003
  amount: z.ZodString;
31927
32004
  currency: z.ZodString;
31928
32005
  }, z.core.$strict>;
31929
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
31930
- type: z.ZodLiteral<"free">;
31931
- }, z.core.$strict>, z.ZodObject<{
32006
+ price: z.ZodObject<{
31932
32007
  type: z.ZodLiteral<"flat">;
31933
32008
  amount: z.ZodString;
31934
- }, z.core.$strict>, z.ZodObject<{
31935
- type: z.ZodLiteral<"unit">;
31936
- amount: z.ZodString;
31937
- }, z.core.$strict>, z.ZodObject<{
31938
- type: z.ZodLiteral<"graduated">;
31939
- tiers: z.ZodArray<z.ZodObject<{
31940
- up_to_amount: z.ZodOptional<z.ZodString>;
31941
- flat_price: z.ZodOptional<z.ZodObject<{
31942
- type: z.ZodLiteral<"flat">;
31943
- amount: z.ZodString;
31944
- }, z.core.$strict>>;
31945
- unit_price: z.ZodOptional<z.ZodObject<{
31946
- type: z.ZodLiteral<"unit">;
31947
- amount: z.ZodString;
31948
- }, z.core.$strict>>;
31949
- }, z.core.$strict>>;
31950
- }, z.core.$strict>, z.ZodObject<{
31951
- type: z.ZodLiteral<"volume">;
31952
- tiers: z.ZodArray<z.ZodObject<{
31953
- up_to_amount: z.ZodOptional<z.ZodString>;
31954
- flat_price: z.ZodOptional<z.ZodObject<{
31955
- type: z.ZodLiteral<"flat">;
31956
- amount: z.ZodString;
31957
- }, z.core.$strict>>;
31958
- unit_price: z.ZodOptional<z.ZodObject<{
31959
- type: z.ZodLiteral<"unit">;
31960
- amount: z.ZodString;
31961
- }, z.core.$strict>>;
31962
- }, z.core.$strict>>;
31963
- }, z.core.$strict>], "type">;
32009
+ }, z.core.$strict>;
31964
32010
  system_intent: z.ZodOptional<z.ZodObject<{
31965
32011
  name: z.ZodString;
31966
32012
  description: z.ZodOptional<z.ZodString>;
@@ -32090,11 +32136,6 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
32090
32136
  }, z.core.$strict>>;
32091
32137
  }, z.core.$strict>;
32092
32138
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
32093
- type: z.ZodLiteral<"free">;
32094
- }, z.core.$strict>, z.ZodObject<{
32095
- type: z.ZodLiteral<"flat">;
32096
- amount: z.ZodString;
32097
- }, z.core.$strict>, z.ZodObject<{
32098
32139
  type: z.ZodLiteral<"unit">;
32099
32140
  amount: z.ZodString;
32100
32141
  }, z.core.$strict>, z.ZodObject<{
@@ -32124,6 +32165,25 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
32124
32165
  }, z.core.$strict>>;
32125
32166
  }, z.core.$strict>>;
32126
32167
  }, z.core.$strict>], "type">;
32168
+ commitments: z.ZodOptional<z.ZodObject<{
32169
+ minimum_amount: z.ZodOptional<z.ZodString>;
32170
+ maximum_amount: z.ZodOptional<z.ZodString>;
32171
+ }, z.core.$strict>>;
32172
+ unit_config: z.ZodOptional<z.ZodObject<{
32173
+ operation: z.ZodEnum<{
32174
+ divide: "divide";
32175
+ multiply: "multiply";
32176
+ }>;
32177
+ conversion_factor: z.ZodString;
32178
+ rounding: z.ZodOptional<z.ZodEnum<{
32179
+ ceiling: "ceiling";
32180
+ floor: "floor";
32181
+ half_up: "half_up";
32182
+ none: "none";
32183
+ }>>;
32184
+ precision: z.ZodOptional<z.ZodNumber>;
32185
+ display_unit: z.ZodOptional<z.ZodString>;
32186
+ }, z.core.$strict>>;
32127
32187
  system_intent: z.ZodOptional<z.ZodObject<{
32128
32188
  name: z.ZodString;
32129
32189
  description: z.ZodOptional<z.ZodString>;
@@ -32146,11 +32206,6 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
32146
32206
  usage: z.ZodOptional<z.ZodString>;
32147
32207
  }, z.core.$strict>>;
32148
32208
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
32149
- type: z.ZodLiteral<"free">;
32150
- }, z.core.$strict>, z.ZodObject<{
32151
- type: z.ZodLiteral<"flat">;
32152
- amount: z.ZodString;
32153
- }, z.core.$strict>, z.ZodObject<{
32154
32209
  type: z.ZodLiteral<"unit">;
32155
32210
  amount: z.ZodString;
32156
32211
  }, z.core.$strict>, z.ZodObject<{
@@ -32180,6 +32235,25 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
32180
32235
  }, z.core.$strict>>;
32181
32236
  }, z.core.$strict>>;
32182
32237
  }, z.core.$strict>], "type">;
32238
+ commitments: z.ZodOptional<z.ZodObject<{
32239
+ minimum_amount: z.ZodOptional<z.ZodString>;
32240
+ maximum_amount: z.ZodOptional<z.ZodString>;
32241
+ }, z.core.$strict>>;
32242
+ unit_config: z.ZodOptional<z.ZodObject<{
32243
+ operation: z.ZodEnum<{
32244
+ divide: "divide";
32245
+ multiply: "multiply";
32246
+ }>;
32247
+ conversion_factor: z.ZodString;
32248
+ rounding: z.ZodOptional<z.ZodEnum<{
32249
+ ceiling: "ceiling";
32250
+ floor: "floor";
32251
+ half_up: "half_up";
32252
+ none: "none";
32253
+ }>>;
32254
+ precision: z.ZodOptional<z.ZodNumber>;
32255
+ display_unit: z.ZodOptional<z.ZodString>;
32256
+ }, z.core.$strict>>;
32183
32257
  deleted_at: z.ZodOptional<z.ZodString>;
32184
32258
  }, z.core.$strict>>;
32185
32259
  }, z.core.$strict>], "type">>;
@@ -35792,41 +35866,10 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
35792
35866
  amount: z.ZodString;
35793
35867
  currency: z.ZodString;
35794
35868
  }, z.core.$strict>;
35795
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
35796
- type: z.ZodLiteral<"free">;
35797
- }, z.core.$strict>, z.ZodObject<{
35869
+ price: z.ZodObject<{
35798
35870
  type: z.ZodLiteral<"flat">;
35799
35871
  amount: z.ZodString;
35800
- }, z.core.$strict>, z.ZodObject<{
35801
- type: z.ZodLiteral<"unit">;
35802
- amount: z.ZodString;
35803
- }, z.core.$strict>, z.ZodObject<{
35804
- type: z.ZodLiteral<"graduated">;
35805
- tiers: z.ZodArray<z.ZodObject<{
35806
- up_to_amount: z.ZodOptional<z.ZodString>;
35807
- flat_price: z.ZodOptional<z.ZodObject<{
35808
- type: z.ZodLiteral<"flat">;
35809
- amount: z.ZodString;
35810
- }, z.core.$strict>>;
35811
- unit_price: z.ZodOptional<z.ZodObject<{
35812
- type: z.ZodLiteral<"unit">;
35813
- amount: z.ZodString;
35814
- }, z.core.$strict>>;
35815
- }, z.core.$strict>>;
35816
- }, z.core.$strict>, z.ZodObject<{
35817
- type: z.ZodLiteral<"volume">;
35818
- tiers: z.ZodArray<z.ZodObject<{
35819
- up_to_amount: z.ZodOptional<z.ZodString>;
35820
- flat_price: z.ZodOptional<z.ZodObject<{
35821
- type: z.ZodLiteral<"flat">;
35822
- amount: z.ZodString;
35823
- }, z.core.$strict>>;
35824
- unit_price: z.ZodOptional<z.ZodObject<{
35825
- type: z.ZodLiteral<"unit">;
35826
- amount: z.ZodString;
35827
- }, z.core.$strict>>;
35828
- }, z.core.$strict>>;
35829
- }, z.core.$strict>], "type">;
35872
+ }, z.core.$strict>;
35830
35873
  system_intent: z.ZodOptional<z.ZodObject<{
35831
35874
  name: z.ZodString;
35832
35875
  description: z.ZodOptional<z.ZodString>;
@@ -35956,11 +35999,6 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
35956
35999
  }, z.core.$strict>>;
35957
36000
  }, z.core.$strict>;
35958
36001
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
35959
- type: z.ZodLiteral<"free">;
35960
- }, z.core.$strict>, z.ZodObject<{
35961
- type: z.ZodLiteral<"flat">;
35962
- amount: z.ZodString;
35963
- }, z.core.$strict>, z.ZodObject<{
35964
36002
  type: z.ZodLiteral<"unit">;
35965
36003
  amount: z.ZodString;
35966
36004
  }, z.core.$strict>, z.ZodObject<{
@@ -35990,6 +36028,25 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
35990
36028
  }, z.core.$strict>>;
35991
36029
  }, z.core.$strict>>;
35992
36030
  }, z.core.$strict>], "type">;
36031
+ commitments: z.ZodOptional<z.ZodObject<{
36032
+ minimum_amount: z.ZodOptional<z.ZodString>;
36033
+ maximum_amount: z.ZodOptional<z.ZodString>;
36034
+ }, z.core.$strict>>;
36035
+ unit_config: z.ZodOptional<z.ZodObject<{
36036
+ operation: z.ZodEnum<{
36037
+ divide: "divide";
36038
+ multiply: "multiply";
36039
+ }>;
36040
+ conversion_factor: z.ZodString;
36041
+ rounding: z.ZodOptional<z.ZodEnum<{
36042
+ ceiling: "ceiling";
36043
+ floor: "floor";
36044
+ half_up: "half_up";
36045
+ none: "none";
36046
+ }>>;
36047
+ precision: z.ZodOptional<z.ZodNumber>;
36048
+ display_unit: z.ZodOptional<z.ZodString>;
36049
+ }, z.core.$strict>>;
35993
36050
  system_intent: z.ZodOptional<z.ZodObject<{
35994
36051
  name: z.ZodString;
35995
36052
  description: z.ZodOptional<z.ZodString>;
@@ -36012,11 +36069,6 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
36012
36069
  usage: z.ZodOptional<z.ZodString>;
36013
36070
  }, z.core.$strict>>;
36014
36071
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
36015
- type: z.ZodLiteral<"free">;
36016
- }, z.core.$strict>, z.ZodObject<{
36017
- type: z.ZodLiteral<"flat">;
36018
- amount: z.ZodString;
36019
- }, z.core.$strict>, z.ZodObject<{
36020
36072
  type: z.ZodLiteral<"unit">;
36021
36073
  amount: z.ZodString;
36022
36074
  }, z.core.$strict>, z.ZodObject<{
@@ -36046,6 +36098,25 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
36046
36098
  }, z.core.$strict>>;
36047
36099
  }, z.core.$strict>>;
36048
36100
  }, z.core.$strict>], "type">;
36101
+ commitments: z.ZodOptional<z.ZodObject<{
36102
+ minimum_amount: z.ZodOptional<z.ZodString>;
36103
+ maximum_amount: z.ZodOptional<z.ZodString>;
36104
+ }, z.core.$strict>>;
36105
+ unit_config: z.ZodOptional<z.ZodObject<{
36106
+ operation: z.ZodEnum<{
36107
+ divide: "divide";
36108
+ multiply: "multiply";
36109
+ }>;
36110
+ conversion_factor: z.ZodString;
36111
+ rounding: z.ZodOptional<z.ZodEnum<{
36112
+ ceiling: "ceiling";
36113
+ floor: "floor";
36114
+ half_up: "half_up";
36115
+ none: "none";
36116
+ }>>;
36117
+ precision: z.ZodOptional<z.ZodNumber>;
36118
+ display_unit: z.ZodOptional<z.ZodString>;
36119
+ }, z.core.$strict>>;
36049
36120
  deleted_at: z.ZodOptional<z.ZodString>;
36050
36121
  }, z.core.$strict>>;
36051
36122
  }, z.core.$strict>], "type">>;
@@ -36153,11 +36224,6 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
36153
36224
  }, z.core.$strict>>;
36154
36225
  feature_id: z.ZodString;
36155
36226
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
36156
- type: z.ZodLiteral<"free">;
36157
- }, z.core.$strict>, z.ZodObject<{
36158
- type: z.ZodLiteral<"flat">;
36159
- amount: z.ZodString;
36160
- }, z.core.$strict>, z.ZodObject<{
36161
36227
  type: z.ZodLiteral<"unit">;
36162
36228
  amount: z.ZodString;
36163
36229
  }, z.core.$strict>, z.ZodObject<{
@@ -36187,6 +36253,25 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
36187
36253
  }, z.core.$strict>>;
36188
36254
  }, z.core.$strict>>;
36189
36255
  }, z.core.$strict>], "type">;
36256
+ commitments: z.ZodOptional<z.ZodObject<{
36257
+ minimum_amount: z.ZodOptional<z.ZodString>;
36258
+ maximum_amount: z.ZodOptional<z.ZodString>;
36259
+ }, z.core.$strict>>;
36260
+ unit_config: z.ZodOptional<z.ZodObject<{
36261
+ operation: z.ZodEnum<{
36262
+ divide: "divide";
36263
+ multiply: "multiply";
36264
+ }>;
36265
+ conversion_factor: z.ZodString;
36266
+ rounding: z.ZodOptional<z.ZodEnum<{
36267
+ ceiling: "ceiling";
36268
+ floor: "floor";
36269
+ half_up: "half_up";
36270
+ none: "none";
36271
+ }>>;
36272
+ precision: z.ZodOptional<z.ZodNumber>;
36273
+ display_unit: z.ZodOptional<z.ZodString>;
36274
+ }, z.core.$strict>>;
36190
36275
  full_service_period: z.ZodOptional<z.ZodObject<{
36191
36276
  from: z.ZodString;
36192
36277
  to: z.ZodString;
@@ -36279,41 +36364,10 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
36279
36364
  amount: z.ZodString;
36280
36365
  currency: z.ZodString;
36281
36366
  }, z.core.$strict>;
36282
- price: z.ZodDiscriminatedUnion<[z.ZodObject<{
36283
- type: z.ZodLiteral<"free">;
36284
- }, z.core.$strict>, z.ZodObject<{
36367
+ price: z.ZodObject<{
36285
36368
  type: z.ZodLiteral<"flat">;
36286
36369
  amount: z.ZodString;
36287
- }, z.core.$strict>, z.ZodObject<{
36288
- type: z.ZodLiteral<"unit">;
36289
- amount: z.ZodString;
36290
- }, z.core.$strict>, z.ZodObject<{
36291
- type: z.ZodLiteral<"graduated">;
36292
- tiers: z.ZodArray<z.ZodObject<{
36293
- up_to_amount: z.ZodOptional<z.ZodString>;
36294
- flat_price: z.ZodOptional<z.ZodObject<{
36295
- type: z.ZodLiteral<"flat">;
36296
- amount: z.ZodString;
36297
- }, z.core.$strict>>;
36298
- unit_price: z.ZodOptional<z.ZodObject<{
36299
- type: z.ZodLiteral<"unit">;
36300
- amount: z.ZodString;
36301
- }, z.core.$strict>>;
36302
- }, z.core.$strict>>;
36303
- }, z.core.$strict>, z.ZodObject<{
36304
- type: z.ZodLiteral<"volume">;
36305
- tiers: z.ZodArray<z.ZodObject<{
36306
- up_to_amount: z.ZodOptional<z.ZodString>;
36307
- flat_price: z.ZodOptional<z.ZodObject<{
36308
- type: z.ZodLiteral<"flat">;
36309
- amount: z.ZodString;
36310
- }, z.core.$strict>>;
36311
- unit_price: z.ZodOptional<z.ZodObject<{
36312
- type: z.ZodLiteral<"unit">;
36313
- amount: z.ZodString;
36314
- }, z.core.$strict>>;
36315
- }, z.core.$strict>>;
36316
- }, z.core.$strict>], "type">;
36370
+ }, z.core.$strict>;
36317
36371
  system_intent: z.ZodOptional<z.ZodObject<{
36318
36372
  name: z.ZodString;
36319
36373
  description: z.ZodOptional<z.ZodString>;
@@ -36443,11 +36497,6 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
36443
36497
  }, z.core.$strict>>;
36444
36498
  }, z.core.$strict>;
36445
36499
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
36446
- type: z.ZodLiteral<"free">;
36447
- }, z.core.$strict>, z.ZodObject<{
36448
- type: z.ZodLiteral<"flat">;
36449
- amount: z.ZodString;
36450
- }, z.core.$strict>, z.ZodObject<{
36451
36500
  type: z.ZodLiteral<"unit">;
36452
36501
  amount: z.ZodString;
36453
36502
  }, z.core.$strict>, z.ZodObject<{
@@ -36477,6 +36526,25 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
36477
36526
  }, z.core.$strict>>;
36478
36527
  }, z.core.$strict>>;
36479
36528
  }, z.core.$strict>], "type">;
36529
+ commitments: z.ZodOptional<z.ZodObject<{
36530
+ minimum_amount: z.ZodOptional<z.ZodString>;
36531
+ maximum_amount: z.ZodOptional<z.ZodString>;
36532
+ }, z.core.$strict>>;
36533
+ unit_config: z.ZodOptional<z.ZodObject<{
36534
+ operation: z.ZodEnum<{
36535
+ divide: "divide";
36536
+ multiply: "multiply";
36537
+ }>;
36538
+ conversion_factor: z.ZodString;
36539
+ rounding: z.ZodOptional<z.ZodEnum<{
36540
+ ceiling: "ceiling";
36541
+ floor: "floor";
36542
+ half_up: "half_up";
36543
+ none: "none";
36544
+ }>>;
36545
+ precision: z.ZodOptional<z.ZodNumber>;
36546
+ display_unit: z.ZodOptional<z.ZodString>;
36547
+ }, z.core.$strict>>;
36480
36548
  system_intent: z.ZodOptional<z.ZodObject<{
36481
36549
  name: z.ZodString;
36482
36550
  description: z.ZodOptional<z.ZodString>;
@@ -36499,11 +36567,6 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
36499
36567
  usage: z.ZodOptional<z.ZodString>;
36500
36568
  }, z.core.$strict>>;
36501
36569
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
36502
- type: z.ZodLiteral<"free">;
36503
- }, z.core.$strict>, z.ZodObject<{
36504
- type: z.ZodLiteral<"flat">;
36505
- amount: z.ZodString;
36506
- }, z.core.$strict>, z.ZodObject<{
36507
36570
  type: z.ZodLiteral<"unit">;
36508
36571
  amount: z.ZodString;
36509
36572
  }, z.core.$strict>, z.ZodObject<{
@@ -36533,6 +36596,25 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
36533
36596
  }, z.core.$strict>>;
36534
36597
  }, z.core.$strict>>;
36535
36598
  }, z.core.$strict>], "type">;
36599
+ commitments: z.ZodOptional<z.ZodObject<{
36600
+ minimum_amount: z.ZodOptional<z.ZodString>;
36601
+ maximum_amount: z.ZodOptional<z.ZodString>;
36602
+ }, z.core.$strict>>;
36603
+ unit_config: z.ZodOptional<z.ZodObject<{
36604
+ operation: z.ZodEnum<{
36605
+ divide: "divide";
36606
+ multiply: "multiply";
36607
+ }>;
36608
+ conversion_factor: z.ZodString;
36609
+ rounding: z.ZodOptional<z.ZodEnum<{
36610
+ ceiling: "ceiling";
36611
+ floor: "floor";
36612
+ half_up: "half_up";
36613
+ none: "none";
36614
+ }>>;
36615
+ precision: z.ZodOptional<z.ZodNumber>;
36616
+ display_unit: z.ZodOptional<z.ZodString>;
36617
+ }, z.core.$strict>>;
36536
36618
  deleted_at: z.ZodOptional<z.ZodString>;
36537
36619
  }, z.core.$strict>>;
36538
36620
  }, z.core.$strict>], "type">;