autumn-js 1.4.38 → 1.4.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  2. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  3. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  4. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  5. package/dist/backend/core/handlers/index.d.mts +1 -1
  6. package/dist/backend/core/handlers/index.d.ts +1 -1
  7. package/dist/backend/core/index.d.mts +1 -1
  8. package/dist/backend/core/index.d.ts +1 -1
  9. package/dist/backend/core/routes/index.d.mts +1 -1
  10. package/dist/backend/core/routes/index.d.ts +1 -1
  11. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  12. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  13. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  14. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  15. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  16. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  17. package/dist/backend/core/types/index.d.mts +1 -1
  18. package/dist/backend/core/types/index.d.ts +1 -1
  19. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  20. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  21. package/dist/backend/index.d.mts +2 -2
  22. package/dist/backend/index.d.ts +2 -2
  23. package/dist/backend/{routeTypes-BSTkX4Dz.d.ts → routeTypes-Bl42Xsbn.d.ts} +495 -0
  24. package/dist/backend/{routeTypes-w5BYy9Zj.d.mts → routeTypes-UbqWJ7S1.d.mts} +495 -0
  25. package/dist/react/AutumnContext.d.mts +4 -4
  26. package/dist/react/AutumnContext.d.ts +4 -4
  27. package/dist/react/client/AutumnClient.d.mts +4 -4
  28. package/dist/react/client/AutumnClient.d.ts +4 -4
  29. package/dist/react/client/IAutumnClient.d.mts +4 -4
  30. package/dist/react/client/IAutumnClient.d.ts +4 -4
  31. package/dist/react/client/index.d.mts +4 -4
  32. package/dist/react/client/index.d.ts +4 -4
  33. package/dist/react/{customer-Dt0OdihJ.d.ts → customer-BQxqzdSE.d.ts} +1 -1
  34. package/dist/react/{customer-CZn6Nd7a.d.mts → customer-Bf5yt0Mo.d.mts} +1 -1
  35. package/dist/react/hooks/index.d.mts +4 -4
  36. package/dist/react/hooks/index.d.ts +4 -4
  37. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  38. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  39. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  40. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  41. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  42. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  43. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  44. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  45. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  46. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  47. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  48. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  49. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  50. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  51. package/dist/react/hooks/useCustomer.d.mts +3 -3
  52. package/dist/react/hooks/useCustomer.d.ts +3 -3
  53. package/dist/react/hooks/useEntity.d.mts +2 -2
  54. package/dist/react/hooks/useEntity.d.ts +2 -2
  55. package/dist/react/hooks/useListEvents.d.mts +2 -2
  56. package/dist/react/hooks/useListEvents.d.ts +2 -2
  57. package/dist/react/hooks/useListPlans.d.mts +3 -3
  58. package/dist/react/hooks/useListPlans.d.ts +3 -3
  59. package/dist/react/hooks/useReferrals.d.mts +2 -2
  60. package/dist/react/hooks/useReferrals.d.ts +2 -2
  61. package/dist/react/index.d.mts +4 -4
  62. package/dist/react/index.d.ts +4 -4
  63. package/dist/react/{list-plans-response-Bx4e7rvw.d.ts → list-plans-response-CgqelDUJ.d.mts} +64 -1
  64. package/dist/react/{list-plans-response-ibIt0k4N.d.mts → list-plans-response-jYoBA-Ci.d.ts} +64 -1
  65. package/dist/react/{params-Bah1oA_X.d.ts → params-B8Yl2uMz.d.mts} +154 -1
  66. package/dist/react/{params-CpDJ-yps.d.mts → params-BVHR29Jw.d.ts} +154 -1
  67. package/dist/react/{plan-CvxFKlF7.d.mts → plan-BoEfV7t8.d.mts} +27 -0
  68. package/dist/react/{plan-CvxFKlF7.d.ts → plan-BoEfV7t8.d.ts} +27 -0
  69. package/dist/sdk/index.d.mts +495 -0
  70. package/dist/sdk/index.d.ts +495 -0
  71. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { C as ClosedEnum, O as OpenEnum, a as Balance, P as Plan } from './plan-CvxFKlF7.mjs';
1
+ import { C as ClosedEnum, O as OpenEnum, a as Balance, P as Plan } from './plan-BoEfV7t8.js';
2
2
 
3
3
  /**
4
4
  * Time range to aggregate events for. Either range or custom_range must be provided
@@ -405,10 +405,16 @@ type AttachItemPriceTier = {
405
405
  */
406
406
  additionalCurrencies?: Array<AttachItemTierAdditionalCurrency> | undefined;
407
407
  };
408
+ /**
409
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
410
+ */
408
411
  declare const AttachItemTierBehavior: {
409
412
  readonly Graduated: "graduated";
410
413
  readonly Volume: "volume";
411
414
  };
415
+ /**
416
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
417
+ */
412
418
  type AttachItemTierBehavior = ClosedEnum<typeof AttachItemTierBehavior>;
413
419
  /**
414
420
  * Billing interval. For consumable features, should match reset.interval.
@@ -452,6 +458,9 @@ type AttachItemPrice = {
452
458
  * Tiered pricing. Either 'amount' or 'tiers' is required.
453
459
  */
454
460
  tiers?: Array<AttachItemPriceTier> | undefined;
461
+ /**
462
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
463
+ */
455
464
  tierBehavior?: AttachItemTierBehavior | undefined;
456
465
  /**
457
466
  * Billing interval. For consumable features, should match reset.interval.
@@ -902,10 +911,16 @@ type AttachAddItemPriceTier = {
902
911
  */
903
912
  additionalCurrencies?: Array<AttachAddItemTierAdditionalCurrency> | undefined;
904
913
  };
914
+ /**
915
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
916
+ */
905
917
  declare const AttachAddItemTierBehavior: {
906
918
  readonly Graduated: "graduated";
907
919
  readonly Volume: "volume";
908
920
  };
921
+ /**
922
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
923
+ */
909
924
  type AttachAddItemTierBehavior = ClosedEnum<typeof AttachAddItemTierBehavior>;
910
925
  /**
911
926
  * Billing interval. For consumable features, should match reset.interval.
@@ -949,6 +964,9 @@ type AttachAddItemPrice = {
949
964
  * Tiered pricing. Either 'amount' or 'tiers' is required.
950
965
  */
951
966
  tiers?: Array<AttachAddItemPriceTier> | undefined;
967
+ /**
968
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
969
+ */
952
970
  tierBehavior?: AttachAddItemTierBehavior | undefined;
953
971
  /**
954
972
  * Billing interval. For consumable features, should match reset.interval.
@@ -1796,10 +1814,16 @@ type AttachUpsertLicensePriceTier = {
1796
1814
  */
1797
1815
  additionalCurrencies?: Array<AttachUpsertLicenseTierAdditionalCurrency> | undefined;
1798
1816
  };
1817
+ /**
1818
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1819
+ */
1799
1820
  declare const AttachUpsertLicenseTierBehavior: {
1800
1821
  readonly Graduated: "graduated";
1801
1822
  readonly Volume: "volume";
1802
1823
  };
1824
+ /**
1825
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1826
+ */
1803
1827
  type AttachUpsertLicenseTierBehavior = ClosedEnum<typeof AttachUpsertLicenseTierBehavior>;
1804
1828
  /**
1805
1829
  * Billing interval. For consumable features, should match reset.interval.
@@ -1843,6 +1867,9 @@ type AttachUpsertLicensePrice = {
1843
1867
  * Tiered pricing. Either 'amount' or 'tiers' is required.
1844
1868
  */
1845
1869
  tiers?: Array<AttachUpsertLicensePriceTier> | undefined;
1870
+ /**
1871
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1872
+ */
1846
1873
  tierBehavior?: AttachUpsertLicenseTierBehavior | undefined;
1847
1874
  /**
1848
1875
  * Billing interval. For consumable features, should match reset.interval.
@@ -2949,10 +2976,16 @@ type BillingUpdateItemPriceTier = {
2949
2976
  */
2950
2977
  additionalCurrencies?: Array<BillingUpdateItemTierAdditionalCurrency> | undefined;
2951
2978
  };
2979
+ /**
2980
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2981
+ */
2952
2982
  declare const BillingUpdateItemTierBehavior: {
2953
2983
  readonly Graduated: "graduated";
2954
2984
  readonly Volume: "volume";
2955
2985
  };
2986
+ /**
2987
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2988
+ */
2956
2989
  type BillingUpdateItemTierBehavior = ClosedEnum<typeof BillingUpdateItemTierBehavior>;
2957
2990
  /**
2958
2991
  * Billing interval. For consumable features, should match reset.interval.
@@ -2996,6 +3029,9 @@ type BillingUpdateItemPrice = {
2996
3029
  * Tiered pricing. Either 'amount' or 'tiers' is required.
2997
3030
  */
2998
3031
  tiers?: Array<BillingUpdateItemPriceTier> | undefined;
3032
+ /**
3033
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
3034
+ */
2999
3035
  tierBehavior?: BillingUpdateItemTierBehavior | undefined;
3000
3036
  /**
3001
3037
  * Billing interval. For consumable features, should match reset.interval.
@@ -3446,10 +3482,16 @@ type BillingUpdateAddItemPriceTier = {
3446
3482
  */
3447
3483
  additionalCurrencies?: Array<BillingUpdateAddItemTierAdditionalCurrency> | undefined;
3448
3484
  };
3485
+ /**
3486
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
3487
+ */
3449
3488
  declare const BillingUpdateAddItemTierBehavior: {
3450
3489
  readonly Graduated: "graduated";
3451
3490
  readonly Volume: "volume";
3452
3491
  };
3492
+ /**
3493
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
3494
+ */
3453
3495
  type BillingUpdateAddItemTierBehavior = ClosedEnum<typeof BillingUpdateAddItemTierBehavior>;
3454
3496
  /**
3455
3497
  * Billing interval. For consumable features, should match reset.interval.
@@ -3493,6 +3535,9 @@ type BillingUpdateAddItemPrice = {
3493
3535
  * Tiered pricing. Either 'amount' or 'tiers' is required.
3494
3536
  */
3495
3537
  tiers?: Array<BillingUpdateAddItemPriceTier> | undefined;
3538
+ /**
3539
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
3540
+ */
3496
3541
  tierBehavior?: BillingUpdateAddItemTierBehavior | undefined;
3497
3542
  /**
3498
3543
  * Billing interval. For consumable features, should match reset.interval.
@@ -4340,10 +4385,16 @@ type BillingUpdateUpsertLicensePriceTier = {
4340
4385
  */
4341
4386
  additionalCurrencies?: Array<BillingUpdateUpsertLicenseTierAdditionalCurrency> | undefined;
4342
4387
  };
4388
+ /**
4389
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
4390
+ */
4343
4391
  declare const BillingUpdateUpsertLicenseTierBehavior: {
4344
4392
  readonly Graduated: "graduated";
4345
4393
  readonly Volume: "volume";
4346
4394
  };
4395
+ /**
4396
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
4397
+ */
4347
4398
  type BillingUpdateUpsertLicenseTierBehavior = ClosedEnum<typeof BillingUpdateUpsertLicenseTierBehavior>;
4348
4399
  /**
4349
4400
  * Billing interval. For consumable features, should match reset.interval.
@@ -4387,6 +4438,9 @@ type BillingUpdateUpsertLicensePrice = {
4387
4438
  * Tiered pricing. Either 'amount' or 'tiers' is required.
4388
4439
  */
4389
4440
  tiers?: Array<BillingUpdateUpsertLicensePriceTier> | undefined;
4441
+ /**
4442
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
4443
+ */
4390
4444
  tierBehavior?: BillingUpdateUpsertLicenseTierBehavior | undefined;
4391
4445
  /**
4392
4446
  * Billing interval. For consumable features, should match reset.interval.
@@ -8788,10 +8842,16 @@ type MultiAttachPriceTier = {
8788
8842
  */
8789
8843
  additionalCurrencies?: Array<MultiAttachTierAdditionalCurrency> | undefined;
8790
8844
  };
8845
+ /**
8846
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
8847
+ */
8791
8848
  declare const MultiAttachTierBehavior: {
8792
8849
  readonly Graduated: "graduated";
8793
8850
  readonly Volume: "volume";
8794
8851
  };
8852
+ /**
8853
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
8854
+ */
8795
8855
  type MultiAttachTierBehavior = ClosedEnum<typeof MultiAttachTierBehavior>;
8796
8856
  /**
8797
8857
  * Billing interval. For consumable features, should match reset.interval.
@@ -8835,6 +8895,9 @@ type MultiAttachPrice = {
8835
8895
  * Tiered pricing. Either 'amount' or 'tiers' is required.
8836
8896
  */
8837
8897
  tiers?: Array<MultiAttachPriceTier> | undefined;
8898
+ /**
8899
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
8900
+ */
8838
8901
  tierBehavior?: MultiAttachTierBehavior | undefined;
8839
8902
  /**
8840
8903
  * Billing interval. For consumable features, should match reset.interval.
@@ -9942,10 +10005,16 @@ type PreviewAttachItemPriceTier = {
9942
10005
  */
9943
10006
  additionalCurrencies?: Array<PreviewAttachItemTierAdditionalCurrency> | undefined;
9944
10007
  };
10008
+ /**
10009
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10010
+ */
9945
10011
  declare const PreviewAttachItemTierBehavior: {
9946
10012
  readonly Graduated: "graduated";
9947
10013
  readonly Volume: "volume";
9948
10014
  };
10015
+ /**
10016
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10017
+ */
9949
10018
  type PreviewAttachItemTierBehavior = ClosedEnum<typeof PreviewAttachItemTierBehavior>;
9950
10019
  /**
9951
10020
  * Billing interval. For consumable features, should match reset.interval.
@@ -9989,6 +10058,9 @@ type PreviewAttachItemPrice = {
9989
10058
  * Tiered pricing. Either 'amount' or 'tiers' is required.
9990
10059
  */
9991
10060
  tiers?: Array<PreviewAttachItemPriceTier> | undefined;
10061
+ /**
10062
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10063
+ */
9992
10064
  tierBehavior?: PreviewAttachItemTierBehavior | undefined;
9993
10065
  /**
9994
10066
  * Billing interval. For consumable features, should match reset.interval.
@@ -10439,10 +10511,16 @@ type PreviewAttachAddItemPriceTier = {
10439
10511
  */
10440
10512
  additionalCurrencies?: Array<PreviewAttachAddItemTierAdditionalCurrency> | undefined;
10441
10513
  };
10514
+ /**
10515
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10516
+ */
10442
10517
  declare const PreviewAttachAddItemTierBehavior: {
10443
10518
  readonly Graduated: "graduated";
10444
10519
  readonly Volume: "volume";
10445
10520
  };
10521
+ /**
10522
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10523
+ */
10446
10524
  type PreviewAttachAddItemTierBehavior = ClosedEnum<typeof PreviewAttachAddItemTierBehavior>;
10447
10525
  /**
10448
10526
  * Billing interval. For consumable features, should match reset.interval.
@@ -10486,6 +10564,9 @@ type PreviewAttachAddItemPrice = {
10486
10564
  * Tiered pricing. Either 'amount' or 'tiers' is required.
10487
10565
  */
10488
10566
  tiers?: Array<PreviewAttachAddItemPriceTier> | undefined;
10567
+ /**
10568
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
10569
+ */
10489
10570
  tierBehavior?: PreviewAttachAddItemTierBehavior | undefined;
10490
10571
  /**
10491
10572
  * Billing interval. For consumable features, should match reset.interval.
@@ -11333,10 +11414,16 @@ type PreviewAttachUpsertLicensePriceTier = {
11333
11414
  */
11334
11415
  additionalCurrencies?: Array<PreviewAttachUpsertLicenseTierAdditionalCurrency> | undefined;
11335
11416
  };
11417
+ /**
11418
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
11419
+ */
11336
11420
  declare const PreviewAttachUpsertLicenseTierBehavior: {
11337
11421
  readonly Graduated: "graduated";
11338
11422
  readonly Volume: "volume";
11339
11423
  };
11424
+ /**
11425
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
11426
+ */
11340
11427
  type PreviewAttachUpsertLicenseTierBehavior = ClosedEnum<typeof PreviewAttachUpsertLicenseTierBehavior>;
11341
11428
  /**
11342
11429
  * Billing interval. For consumable features, should match reset.interval.
@@ -11380,6 +11467,9 @@ type PreviewAttachUpsertLicensePrice = {
11380
11467
  * Tiered pricing. Either 'amount' or 'tiers' is required.
11381
11468
  */
11382
11469
  tiers?: Array<PreviewAttachUpsertLicensePriceTier> | undefined;
11470
+ /**
11471
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
11472
+ */
11383
11473
  tierBehavior?: PreviewAttachUpsertLicenseTierBehavior | undefined;
11384
11474
  /**
11385
11475
  * Billing interval. For consumable features, should match reset.interval.
@@ -12702,10 +12792,16 @@ type PreviewMultiAttachPriceTier = {
12702
12792
  */
12703
12793
  additionalCurrencies?: Array<PreviewMultiAttachTierAdditionalCurrency> | undefined;
12704
12794
  };
12795
+ /**
12796
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
12797
+ */
12705
12798
  declare const PreviewMultiAttachTierBehavior: {
12706
12799
  readonly Graduated: "graduated";
12707
12800
  readonly Volume: "volume";
12708
12801
  };
12802
+ /**
12803
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
12804
+ */
12709
12805
  type PreviewMultiAttachTierBehavior = ClosedEnum<typeof PreviewMultiAttachTierBehavior>;
12710
12806
  /**
12711
12807
  * Billing interval. For consumable features, should match reset.interval.
@@ -12749,6 +12845,9 @@ type PreviewMultiAttachPrice = {
12749
12845
  * Tiered pricing. Either 'amount' or 'tiers' is required.
12750
12846
  */
12751
12847
  tiers?: Array<PreviewMultiAttachPriceTier> | undefined;
12848
+ /**
12849
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
12850
+ */
12752
12851
  tierBehavior?: PreviewMultiAttachTierBehavior | undefined;
12753
12852
  /**
12754
12853
  * Billing interval. For consumable features, should match reset.interval.
@@ -14105,10 +14204,16 @@ type PreviewUpdateItemPriceTier = {
14105
14204
  */
14106
14205
  additionalCurrencies?: Array<PreviewUpdateItemTierAdditionalCurrency> | undefined;
14107
14206
  };
14207
+ /**
14208
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14209
+ */
14108
14210
  declare const PreviewUpdateItemTierBehavior: {
14109
14211
  readonly Graduated: "graduated";
14110
14212
  readonly Volume: "volume";
14111
14213
  };
14214
+ /**
14215
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14216
+ */
14112
14217
  type PreviewUpdateItemTierBehavior = ClosedEnum<typeof PreviewUpdateItemTierBehavior>;
14113
14218
  /**
14114
14219
  * Billing interval. For consumable features, should match reset.interval.
@@ -14152,6 +14257,9 @@ type PreviewUpdateItemPrice = {
14152
14257
  * Tiered pricing. Either 'amount' or 'tiers' is required.
14153
14258
  */
14154
14259
  tiers?: Array<PreviewUpdateItemPriceTier> | undefined;
14260
+ /**
14261
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14262
+ */
14155
14263
  tierBehavior?: PreviewUpdateItemTierBehavior | undefined;
14156
14264
  /**
14157
14265
  * Billing interval. For consumable features, should match reset.interval.
@@ -14602,10 +14710,16 @@ type PreviewUpdateAddItemPriceTier = {
14602
14710
  */
14603
14711
  additionalCurrencies?: Array<PreviewUpdateAddItemTierAdditionalCurrency> | undefined;
14604
14712
  };
14713
+ /**
14714
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14715
+ */
14605
14716
  declare const PreviewUpdateAddItemTierBehavior: {
14606
14717
  readonly Graduated: "graduated";
14607
14718
  readonly Volume: "volume";
14608
14719
  };
14720
+ /**
14721
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14722
+ */
14609
14723
  type PreviewUpdateAddItemTierBehavior = ClosedEnum<typeof PreviewUpdateAddItemTierBehavior>;
14610
14724
  /**
14611
14725
  * Billing interval. For consumable features, should match reset.interval.
@@ -14649,6 +14763,9 @@ type PreviewUpdateAddItemPrice = {
14649
14763
  * Tiered pricing. Either 'amount' or 'tiers' is required.
14650
14764
  */
14651
14765
  tiers?: Array<PreviewUpdateAddItemPriceTier> | undefined;
14766
+ /**
14767
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
14768
+ */
14652
14769
  tierBehavior?: PreviewUpdateAddItemTierBehavior | undefined;
14653
14770
  /**
14654
14771
  * Billing interval. For consumable features, should match reset.interval.
@@ -15496,10 +15613,16 @@ type PreviewUpdateUpsertLicensePriceTier = {
15496
15613
  */
15497
15614
  additionalCurrencies?: Array<PreviewUpdateUpsertLicenseTierAdditionalCurrency> | undefined;
15498
15615
  };
15616
+ /**
15617
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
15618
+ */
15499
15619
  declare const PreviewUpdateUpsertLicenseTierBehavior: {
15500
15620
  readonly Graduated: "graduated";
15501
15621
  readonly Volume: "volume";
15502
15622
  };
15623
+ /**
15624
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
15625
+ */
15503
15626
  type PreviewUpdateUpsertLicenseTierBehavior = ClosedEnum<typeof PreviewUpdateUpsertLicenseTierBehavior>;
15504
15627
  /**
15505
15628
  * Billing interval. For consumable features, should match reset.interval.
@@ -15543,6 +15666,9 @@ type PreviewUpdateUpsertLicensePrice = {
15543
15666
  * Tiered pricing. Either 'amount' or 'tiers' is required.
15544
15667
  */
15545
15668
  tiers?: Array<PreviewUpdateUpsertLicensePriceTier> | undefined;
15669
+ /**
15670
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
15671
+ */
15546
15672
  tierBehavior?: PreviewUpdateUpsertLicenseTierBehavior | undefined;
15547
15673
  /**
15548
15674
  * Billing interval. For consumable features, should match reset.interval.
@@ -16837,10 +16963,16 @@ type SetupPaymentItemPriceTier = {
16837
16963
  */
16838
16964
  additionalCurrencies?: Array<SetupPaymentItemTierAdditionalCurrency> | undefined;
16839
16965
  };
16966
+ /**
16967
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
16968
+ */
16840
16969
  declare const SetupPaymentItemTierBehavior: {
16841
16970
  readonly Graduated: "graduated";
16842
16971
  readonly Volume: "volume";
16843
16972
  };
16973
+ /**
16974
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
16975
+ */
16844
16976
  type SetupPaymentItemTierBehavior = ClosedEnum<typeof SetupPaymentItemTierBehavior>;
16845
16977
  /**
16846
16978
  * Billing interval. For consumable features, should match reset.interval.
@@ -16884,6 +17016,9 @@ type SetupPaymentItemPrice = {
16884
17016
  * Tiered pricing. Either 'amount' or 'tiers' is required.
16885
17017
  */
16886
17018
  tiers?: Array<SetupPaymentItemPriceTier> | undefined;
17019
+ /**
17020
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
17021
+ */
16887
17022
  tierBehavior?: SetupPaymentItemTierBehavior | undefined;
16888
17023
  /**
16889
17024
  * Billing interval. For consumable features, should match reset.interval.
@@ -17334,10 +17469,16 @@ type SetupPaymentAddItemPriceTier = {
17334
17469
  */
17335
17470
  additionalCurrencies?: Array<SetupPaymentAddItemTierAdditionalCurrency> | undefined;
17336
17471
  };
17472
+ /**
17473
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
17474
+ */
17337
17475
  declare const SetupPaymentAddItemTierBehavior: {
17338
17476
  readonly Graduated: "graduated";
17339
17477
  readonly Volume: "volume";
17340
17478
  };
17479
+ /**
17480
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
17481
+ */
17341
17482
  type SetupPaymentAddItemTierBehavior = ClosedEnum<typeof SetupPaymentAddItemTierBehavior>;
17342
17483
  /**
17343
17484
  * Billing interval. For consumable features, should match reset.interval.
@@ -17381,6 +17522,9 @@ type SetupPaymentAddItemPrice = {
17381
17522
  * Tiered pricing. Either 'amount' or 'tiers' is required.
17382
17523
  */
17383
17524
  tiers?: Array<SetupPaymentAddItemPriceTier> | undefined;
17525
+ /**
17526
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
17527
+ */
17384
17528
  tierBehavior?: SetupPaymentAddItemTierBehavior | undefined;
17385
17529
  /**
17386
17530
  * Billing interval. For consumable features, should match reset.interval.
@@ -18228,10 +18372,16 @@ type SetupPaymentUpsertLicensePriceTier = {
18228
18372
  */
18229
18373
  additionalCurrencies?: Array<SetupPaymentUpsertLicenseTierAdditionalCurrency> | undefined;
18230
18374
  };
18375
+ /**
18376
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
18377
+ */
18231
18378
  declare const SetupPaymentUpsertLicenseTierBehavior: {
18232
18379
  readonly Graduated: "graduated";
18233
18380
  readonly Volume: "volume";
18234
18381
  };
18382
+ /**
18383
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
18384
+ */
18235
18385
  type SetupPaymentUpsertLicenseTierBehavior = ClosedEnum<typeof SetupPaymentUpsertLicenseTierBehavior>;
18236
18386
  /**
18237
18387
  * Billing interval. For consumable features, should match reset.interval.
@@ -18275,6 +18425,9 @@ type SetupPaymentUpsertLicensePrice = {
18275
18425
  * Tiered pricing. Either 'amount' or 'tiers' is required.
18276
18426
  */
18277
18427
  tiers?: Array<SetupPaymentUpsertLicensePriceTier> | undefined;
18428
+ /**
18429
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
18430
+ */
18278
18431
  tierBehavior?: SetupPaymentUpsertLicenseTierBehavior | undefined;
18279
18432
  /**
18280
18433
  * Billing interval. For consumable features, should match reset.interval.
@@ -796,10 +796,16 @@ type PlanPriceItemTier = {
796
796
  flatAmount?: number | undefined;
797
797
  additionalCurrencies?: Array<ItemTierAdditionalCurrency> | undefined;
798
798
  };
799
+ /**
800
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
801
+ */
799
802
  declare const PlanItemTierBehavior: {
800
803
  readonly Graduated: "graduated";
801
804
  readonly Volume: "volume";
802
805
  };
806
+ /**
807
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
808
+ */
803
809
  type PlanItemTierBehavior = OpenEnum<typeof PlanItemTierBehavior>;
804
810
  /**
805
811
  * Billing interval for this price. For consumable features, should match reset.interval.
@@ -852,6 +858,9 @@ type PlanItemPrice = {
852
858
  * Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
853
859
  */
854
860
  tiers?: Array<PlanPriceItemTier> | undefined;
861
+ /**
862
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
863
+ */
855
864
  tierBehavior?: PlanItemTierBehavior | undefined;
856
865
  /**
857
866
  * Billing interval for this price. For consumable features, should match reset.interval.
@@ -1712,10 +1721,16 @@ type PlanVariantDetailsPriceTier = {
1712
1721
  flatAmount?: number | undefined;
1713
1722
  additionalCurrencies?: Array<VariantDetailsTierAdditionalCurrency> | undefined;
1714
1723
  };
1724
+ /**
1725
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1726
+ */
1715
1727
  declare const PlanVariantDetailsTierBehavior: {
1716
1728
  readonly Graduated: "graduated";
1717
1729
  readonly Volume: "volume";
1718
1730
  };
1731
+ /**
1732
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1733
+ */
1719
1734
  type PlanVariantDetailsTierBehavior = OpenEnum<typeof PlanVariantDetailsTierBehavior>;
1720
1735
  /**
1721
1736
  * Billing interval. For consumable features, should match reset.interval.
@@ -1759,6 +1774,9 @@ type PlanVariantDetailsPrice = {
1759
1774
  * Tiered pricing. Either 'amount' or 'tiers' is required.
1760
1775
  */
1761
1776
  tiers?: Array<PlanVariantDetailsPriceTier> | undefined;
1777
+ /**
1778
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1779
+ */
1762
1780
  tierBehavior?: PlanVariantDetailsTierBehavior | undefined;
1763
1781
  /**
1764
1782
  * Billing interval. For consumable features, should match reset.interval.
@@ -2604,10 +2622,16 @@ type PlanUpsertLicensePriceTier = {
2604
2622
  flatAmount?: number | undefined;
2605
2623
  additionalCurrencies?: Array<UpsertLicenseTierAdditionalCurrency> | undefined;
2606
2624
  };
2625
+ /**
2626
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2627
+ */
2607
2628
  declare const PlanUpsertLicenseTierBehavior: {
2608
2629
  readonly Graduated: "graduated";
2609
2630
  readonly Volume: "volume";
2610
2631
  };
2632
+ /**
2633
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2634
+ */
2611
2635
  type PlanUpsertLicenseTierBehavior = OpenEnum<typeof PlanUpsertLicenseTierBehavior>;
2612
2636
  /**
2613
2637
  * Billing interval. For consumable features, should match reset.interval.
@@ -2651,6 +2675,9 @@ type PlanUpsertLicensePrice = {
2651
2675
  * Tiered pricing. Either 'amount' or 'tiers' is required.
2652
2676
  */
2653
2677
  tiers?: Array<PlanUpsertLicensePriceTier> | undefined;
2678
+ /**
2679
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2680
+ */
2654
2681
  tierBehavior?: PlanUpsertLicenseTierBehavior | undefined;
2655
2682
  /**
2656
2683
  * Billing interval. For consumable features, should match reset.interval.
@@ -796,10 +796,16 @@ type PlanPriceItemTier = {
796
796
  flatAmount?: number | undefined;
797
797
  additionalCurrencies?: Array<ItemTierAdditionalCurrency> | undefined;
798
798
  };
799
+ /**
800
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
801
+ */
799
802
  declare const PlanItemTierBehavior: {
800
803
  readonly Graduated: "graduated";
801
804
  readonly Volume: "volume";
802
805
  };
806
+ /**
807
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
808
+ */
803
809
  type PlanItemTierBehavior = OpenEnum<typeof PlanItemTierBehavior>;
804
810
  /**
805
811
  * Billing interval for this price. For consumable features, should match reset.interval.
@@ -852,6 +858,9 @@ type PlanItemPrice = {
852
858
  * Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
853
859
  */
854
860
  tiers?: Array<PlanPriceItemTier> | undefined;
861
+ /**
862
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
863
+ */
855
864
  tierBehavior?: PlanItemTierBehavior | undefined;
856
865
  /**
857
866
  * Billing interval for this price. For consumable features, should match reset.interval.
@@ -1712,10 +1721,16 @@ type PlanVariantDetailsPriceTier = {
1712
1721
  flatAmount?: number | undefined;
1713
1722
  additionalCurrencies?: Array<VariantDetailsTierAdditionalCurrency> | undefined;
1714
1723
  };
1724
+ /**
1725
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1726
+ */
1715
1727
  declare const PlanVariantDetailsTierBehavior: {
1716
1728
  readonly Graduated: "graduated";
1717
1729
  readonly Volume: "volume";
1718
1730
  };
1731
+ /**
1732
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1733
+ */
1719
1734
  type PlanVariantDetailsTierBehavior = OpenEnum<typeof PlanVariantDetailsTierBehavior>;
1720
1735
  /**
1721
1736
  * Billing interval. For consumable features, should match reset.interval.
@@ -1759,6 +1774,9 @@ type PlanVariantDetailsPrice = {
1759
1774
  * Tiered pricing. Either 'amount' or 'tiers' is required.
1760
1775
  */
1761
1776
  tiers?: Array<PlanVariantDetailsPriceTier> | undefined;
1777
+ /**
1778
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
1779
+ */
1762
1780
  tierBehavior?: PlanVariantDetailsTierBehavior | undefined;
1763
1781
  /**
1764
1782
  * Billing interval. For consumable features, should match reset.interval.
@@ -2604,10 +2622,16 @@ type PlanUpsertLicensePriceTier = {
2604
2622
  flatAmount?: number | undefined;
2605
2623
  additionalCurrencies?: Array<UpsertLicenseTierAdditionalCurrency> | undefined;
2606
2624
  };
2625
+ /**
2626
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2627
+ */
2607
2628
  declare const PlanUpsertLicenseTierBehavior: {
2608
2629
  readonly Graduated: "graduated";
2609
2630
  readonly Volume: "volume";
2610
2631
  };
2632
+ /**
2633
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2634
+ */
2611
2635
  type PlanUpsertLicenseTierBehavior = OpenEnum<typeof PlanUpsertLicenseTierBehavior>;
2612
2636
  /**
2613
2637
  * Billing interval. For consumable features, should match reset.interval.
@@ -2651,6 +2675,9 @@ type PlanUpsertLicensePrice = {
2651
2675
  * Tiered pricing. Either 'amount' or 'tiers' is required.
2652
2676
  */
2653
2677
  tiers?: Array<PlanUpsertLicensePriceTier> | undefined;
2678
+ /**
2679
+ * How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
2680
+ */
2654
2681
  tierBehavior?: PlanUpsertLicenseTierBehavior | undefined;
2655
2682
  /**
2656
2683
  * Billing interval. For consumable features, should match reset.interval.