atmn 2.0.142 → 2.0.143

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.
@@ -526,7 +526,7 @@ length: number;
526
526
  } | null;
527
527
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
528
528
  featureOverride?: {
529
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
529
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
530
530
  creditSchema?: Array<{
531
531
  /** ID of the metered feature that draws from this credit system. */
532
532
  meteredFeatureId: string;
@@ -606,6 +606,11 @@ add?: number;
606
606
  }>;
607
607
  /** Credits consumed per billing-unit group. */
608
608
  creditCost: number;
609
+ } | {
610
+ /** ID of the metered feature to remove from the credit system. */
611
+ meteredFeatureId: string;
612
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
613
+ excluded: true;
609
614
  }>;
610
615
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
611
616
  markups?: {
@@ -729,7 +734,7 @@ length: number;
729
734
  };
730
735
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
731
736
  featureOverride?: {
732
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
737
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
733
738
  creditSchema?: Array<{
734
739
  /** ID of the metered feature that draws from this credit system. */
735
740
  meteredFeatureId: string;
@@ -809,6 +814,11 @@ add?: number;
809
814
  }>;
810
815
  /** Credits consumed per billing-unit group. */
811
816
  creditCost: number;
817
+ } | {
818
+ /** ID of the metered feature to remove from the credit system. */
819
+ meteredFeatureId: string;
820
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
821
+ excluded: true;
812
822
  }>;
813
823
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
814
824
  markups?: {
@@ -1041,7 +1051,7 @@ length: number;
1041
1051
  };
1042
1052
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
1043
1053
  featureOverride?: {
1044
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
1054
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
1045
1055
  creditSchema?: Array<{
1046
1056
  /** ID of the metered feature that draws from this credit system. */
1047
1057
  meteredFeatureId: string;
@@ -1121,6 +1131,11 @@ add?: number;
1121
1131
  }>;
1122
1132
  /** Credits consumed per billing-unit group. */
1123
1133
  creditCost: number;
1134
+ } | {
1135
+ /** ID of the metered feature to remove from the credit system. */
1136
+ meteredFeatureId: string;
1137
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
1138
+ excluded: true;
1124
1139
  }>;
1125
1140
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
1126
1141
  markups?: {
@@ -1273,7 +1288,7 @@ length: number;
1273
1288
  };
1274
1289
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
1275
1290
  featureOverride?: {
1276
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
1291
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
1277
1292
  creditSchema?: Array<{
1278
1293
  /** ID of the metered feature that draws from this credit system. */
1279
1294
  meteredFeatureId: string;
@@ -1353,6 +1368,11 @@ add?: number;
1353
1368
  }>;
1354
1369
  /** Credits consumed per billing-unit group. */
1355
1370
  creditCost: number;
1371
+ } | {
1372
+ /** ID of the metered feature to remove from the credit system. */
1373
+ meteredFeatureId: string;
1374
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
1375
+ excluded: true;
1356
1376
  }>;
1357
1377
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
1358
1378
  markups?: {
@@ -1750,7 +1770,7 @@ length: number;
1750
1770
  } | null;
1751
1771
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
1752
1772
  featureOverride?: {
1753
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
1773
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
1754
1774
  creditSchema?: Array<{
1755
1775
  /** ID of the metered feature that draws from this credit system. */
1756
1776
  meteredFeatureId: string;
@@ -1830,6 +1850,11 @@ add?: number;
1830
1850
  }>;
1831
1851
  /** Credits consumed per billing-unit group. */
1832
1852
  creditCost: number;
1853
+ } | {
1854
+ /** ID of the metered feature to remove from the credit system. */
1855
+ meteredFeatureId: string;
1856
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
1857
+ excluded: true;
1833
1858
  }>;
1834
1859
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
1835
1860
  markups?: {
@@ -1953,7 +1978,7 @@ length: number;
1953
1978
  };
1954
1979
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
1955
1980
  featureOverride?: {
1956
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
1981
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
1957
1982
  creditSchema?: Array<{
1958
1983
  /** ID of the metered feature that draws from this credit system. */
1959
1984
  meteredFeatureId: string;
@@ -2033,6 +2058,11 @@ add?: number;
2033
2058
  }>;
2034
2059
  /** Credits consumed per billing-unit group. */
2035
2060
  creditCost: number;
2061
+ } | {
2062
+ /** ID of the metered feature to remove from the credit system. */
2063
+ meteredFeatureId: string;
2064
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
2065
+ excluded: true;
2036
2066
  }>;
2037
2067
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
2038
2068
  markups?: {
@@ -2265,7 +2295,7 @@ length: number;
2265
2295
  };
2266
2296
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
2267
2297
  featureOverride?: {
2268
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
2298
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
2269
2299
  creditSchema?: Array<{
2270
2300
  /** ID of the metered feature that draws from this credit system. */
2271
2301
  meteredFeatureId: string;
@@ -2335,6 +2365,11 @@ add?: number;
2335
2365
  }>;
2336
2366
  /** Credits consumed per billing-unit group. */
2337
2367
  creditCost: number;
2368
+ } | {
2369
+ /** ID of the metered feature to remove from the credit system. */
2370
+ meteredFeatureId: string;
2371
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
2372
+ excluded: true;
2338
2373
  }>;
2339
2374
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
2340
2375
  markups?: {
@@ -2803,7 +2838,7 @@ length: number;
2803
2838
  } | null;
2804
2839
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
2805
2840
  featureOverride?: {
2806
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
2841
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
2807
2842
  creditSchema?: Array<{
2808
2843
  /** ID of the metered feature that draws from this credit system. */
2809
2844
  meteredFeatureId: string;
@@ -2883,6 +2918,11 @@ add?: number;
2883
2918
  }>;
2884
2919
  /** Credits consumed per billing-unit group. */
2885
2920
  creditCost: number;
2921
+ } | {
2922
+ /** ID of the metered feature to remove from the credit system. */
2923
+ meteredFeatureId: string;
2924
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
2925
+ excluded: true;
2886
2926
  }>;
2887
2927
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
2888
2928
  markups?: {
@@ -3006,7 +3046,7 @@ length: number;
3006
3046
  };
3007
3047
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
3008
3048
  featureOverride?: {
3009
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
3049
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
3010
3050
  creditSchema?: Array<{
3011
3051
  /** ID of the metered feature that draws from this credit system. */
3012
3052
  meteredFeatureId: string;
@@ -3086,6 +3126,11 @@ add?: number;
3086
3126
  }>;
3087
3127
  /** Credits consumed per billing-unit group. */
3088
3128
  creditCost: number;
3129
+ } | {
3130
+ /** ID of the metered feature to remove from the credit system. */
3131
+ meteredFeatureId: string;
3132
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
3133
+ excluded: true;
3089
3134
  }>;
3090
3135
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
3091
3136
  markups?: {
@@ -3318,7 +3363,7 @@ length: number;
3318
3363
  };
3319
3364
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
3320
3365
  featureOverride?: {
3321
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
3366
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
3322
3367
  creditSchema?: Array<{
3323
3368
  /** ID of the metered feature that draws from this credit system. */
3324
3369
  meteredFeatureId: string;
@@ -3394,6 +3439,11 @@ add?: number;
3394
3439
  }>;
3395
3440
  /** Credits consumed per billing-unit group. */
3396
3441
  creditCost: number;
3442
+ } | {
3443
+ /** ID of the metered feature to remove from the credit system. */
3444
+ meteredFeatureId: string;
3445
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
3446
+ excluded: true;
3397
3447
  }>;
3398
3448
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
3399
3449
  markups?: {
@@ -3546,7 +3596,7 @@ length: number;
3546
3596
  };
3547
3597
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
3548
3598
  featureOverride?: {
3549
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
3599
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
3550
3600
  creditSchema?: Array<{
3551
3601
  /** ID of the metered feature that draws from this credit system. */
3552
3602
  meteredFeatureId: string;
@@ -3626,6 +3676,11 @@ add?: number;
3626
3676
  }>;
3627
3677
  /** Credits consumed per billing-unit group. */
3628
3678
  creditCost: number;
3679
+ } | {
3680
+ /** ID of the metered feature to remove from the credit system. */
3681
+ meteredFeatureId: string;
3682
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
3683
+ excluded: true;
3629
3684
  }>;
3630
3685
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
3631
3686
  markups?: {
@@ -4023,7 +4078,7 @@ length: number;
4023
4078
  } | null;
4024
4079
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
4025
4080
  featureOverride?: {
4026
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
4081
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
4027
4082
  creditSchema?: Array<{
4028
4083
  /** ID of the metered feature that draws from this credit system. */
4029
4084
  meteredFeatureId: string;
@@ -4099,6 +4154,11 @@ add?: number;
4099
4154
  }>;
4100
4155
  /** Credits consumed per billing-unit group. */
4101
4156
  creditCost: number;
4157
+ } | {
4158
+ /** ID of the metered feature to remove from the credit system. */
4159
+ meteredFeatureId: string;
4160
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
4161
+ excluded: true;
4102
4162
  }>;
4103
4163
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
4104
4164
  markups?: {
@@ -4222,7 +4282,7 @@ length: number;
4222
4282
  };
4223
4283
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
4224
4284
  featureOverride?: {
4225
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
4285
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
4226
4286
  creditSchema?: Array<{
4227
4287
  /** ID of the metered feature that draws from this credit system. */
4228
4288
  meteredFeatureId: string;
@@ -4298,6 +4358,11 @@ add?: number;
4298
4358
  }>;
4299
4359
  /** Credits consumed per billing-unit group. */
4300
4360
  creditCost: number;
4361
+ } | {
4362
+ /** ID of the metered feature to remove from the credit system. */
4363
+ meteredFeatureId: string;
4364
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
4365
+ excluded: true;
4301
4366
  }>;
4302
4367
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
4303
4368
  markups?: {
@@ -4530,7 +4595,7 @@ length: number;
4530
4595
  };
4531
4596
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
4532
4597
  featureOverride?: {
4533
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
4598
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
4534
4599
  creditSchema?: Array<{
4535
4600
  /** ID of the metered feature that draws from this credit system. */
4536
4601
  meteredFeatureId: string;
@@ -4564,6 +4629,11 @@ add?: unknown;
4564
4629
  }>;
4565
4630
  /** Credits consumed per billing-unit group. */
4566
4631
  creditCost: number;
4632
+ } | {
4633
+ /** ID of the metered feature to remove from the credit system. */
4634
+ meteredFeatureId: string;
4635
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
4636
+ excluded: true;
4567
4637
  }>;
4568
4638
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
4569
4639
  markups?: {
@@ -5042,7 +5112,7 @@ length: number;
5042
5112
  } | null;
5043
5113
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
5044
5114
  featureOverride?: {
5045
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
5115
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
5046
5116
  creditSchema?: Array<{
5047
5117
  /** ID of the metered feature that draws from this credit system. */
5048
5118
  meteredFeatureId: string;
@@ -5122,6 +5192,11 @@ add?: number;
5122
5192
  }>;
5123
5193
  /** Credits consumed per billing-unit group. */
5124
5194
  creditCost: number;
5195
+ } | {
5196
+ /** ID of the metered feature to remove from the credit system. */
5197
+ meteredFeatureId: string;
5198
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
5199
+ excluded: true;
5125
5200
  }>;
5126
5201
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
5127
5202
  markups?: {
@@ -5245,7 +5320,7 @@ length: number;
5245
5320
  };
5246
5321
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
5247
5322
  featureOverride?: {
5248
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
5323
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
5249
5324
  creditSchema?: Array<{
5250
5325
  /** ID of the metered feature that draws from this credit system. */
5251
5326
  meteredFeatureId: string;
@@ -5325,6 +5400,11 @@ add?: number;
5325
5400
  }>;
5326
5401
  /** Credits consumed per billing-unit group. */
5327
5402
  creditCost: number;
5403
+ } | {
5404
+ /** ID of the metered feature to remove from the credit system. */
5405
+ meteredFeatureId: string;
5406
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
5407
+ excluded: true;
5328
5408
  }>;
5329
5409
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
5330
5410
  markups?: {
@@ -5557,7 +5637,7 @@ length: number;
5557
5637
  };
5558
5638
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
5559
5639
  featureOverride?: {
5560
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
5640
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
5561
5641
  creditSchema?: Array<{
5562
5642
  /** ID of the metered feature that draws from this credit system. */
5563
5643
  meteredFeatureId: string;
@@ -5617,6 +5697,11 @@ add?: number;
5617
5697
  }>;
5618
5698
  /** Credits consumed per billing-unit group. */
5619
5699
  creditCost: number;
5700
+ } | {
5701
+ /** ID of the metered feature to remove from the credit system. */
5702
+ meteredFeatureId: string;
5703
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
5704
+ excluded: true;
5620
5705
  }>;
5621
5706
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
5622
5707
  markups?: {
@@ -5769,7 +5854,7 @@ length: number;
5769
5854
  };
5770
5855
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
5771
5856
  featureOverride?: {
5772
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
5857
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
5773
5858
  creditSchema?: Array<{
5774
5859
  /** ID of the metered feature that draws from this credit system. */
5775
5860
  meteredFeatureId: string;
@@ -5839,6 +5924,11 @@ add?: number;
5839
5924
  }>;
5840
5925
  /** Credits consumed per billing-unit group. */
5841
5926
  creditCost: number;
5927
+ } | {
5928
+ /** ID of the metered feature to remove from the credit system. */
5929
+ meteredFeatureId: string;
5930
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
5931
+ excluded: true;
5842
5932
  }>;
5843
5933
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
5844
5934
  markups?: {
@@ -6236,7 +6326,7 @@ length: number;
6236
6326
  } | null;
6237
6327
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
6238
6328
  featureOverride?: {
6239
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
6329
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
6240
6330
  creditSchema?: Array<{
6241
6331
  /** ID of the metered feature that draws from this credit system. */
6242
6332
  meteredFeatureId: string;
@@ -6296,6 +6386,11 @@ add?: number;
6296
6386
  }>;
6297
6387
  /** Credits consumed per billing-unit group. */
6298
6388
  creditCost: number;
6389
+ } | {
6390
+ /** ID of the metered feature to remove from the credit system. */
6391
+ meteredFeatureId: string;
6392
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
6393
+ excluded: true;
6299
6394
  }>;
6300
6395
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
6301
6396
  markups?: {
@@ -6419,7 +6514,7 @@ length: number;
6419
6514
  };
6420
6515
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
6421
6516
  featureOverride?: {
6422
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
6517
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
6423
6518
  creditSchema?: Array<{
6424
6519
  /** ID of the metered feature that draws from this credit system. */
6425
6520
  meteredFeatureId: string;
@@ -6479,6 +6574,11 @@ add?: number;
6479
6574
  }>;
6480
6575
  /** Credits consumed per billing-unit group. */
6481
6576
  creditCost: number;
6577
+ } | {
6578
+ /** ID of the metered feature to remove from the credit system. */
6579
+ meteredFeatureId: string;
6580
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
6581
+ excluded: true;
6482
6582
  }>;
6483
6583
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
6484
6584
  markups?: {
@@ -6704,7 +6804,7 @@ length: number;
6704
6804
  };
6705
6805
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
6706
6806
  featureOverride?: {
6707
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
6807
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
6708
6808
  creditSchema?: Array<{
6709
6809
  meteredFeatureId?: unknown;
6710
6810
  billingUnits?: unknown;
@@ -6718,6 +6818,9 @@ billingUnits?: unknown;
6718
6818
  dimensions?: unknown;
6719
6819
  multipliers?: unknown;
6720
6820
  creditCost?: unknown;
6821
+ } | {
6822
+ meteredFeatureId?: unknown;
6823
+ excluded?: unknown;
6721
6824
  }>;
6722
6825
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
6723
6826
  markups?: {
@@ -7210,7 +7313,7 @@ length: number;
7210
7313
  } | null;
7211
7314
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
7212
7315
  featureOverride?: {
7213
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
7316
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
7214
7317
  creditSchema?: Array<{
7215
7318
  /** ID of the metered feature that draws from this credit system. */
7216
7319
  meteredFeatureId: string;
@@ -7280,6 +7383,11 @@ add?: number;
7280
7383
  }>;
7281
7384
  /** Credits consumed per billing-unit group. */
7282
7385
  creditCost: number;
7386
+ } | {
7387
+ /** ID of the metered feature to remove from the credit system. */
7388
+ meteredFeatureId: string;
7389
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
7390
+ excluded: true;
7283
7391
  }>;
7284
7392
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
7285
7393
  markups?: {
@@ -7403,7 +7511,7 @@ length: number;
7403
7511
  };
7404
7512
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
7405
7513
  featureOverride?: {
7406
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
7514
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
7407
7515
  creditSchema?: Array<{
7408
7516
  /** ID of the metered feature that draws from this credit system. */
7409
7517
  meteredFeatureId: string;
@@ -7473,6 +7581,11 @@ add?: number;
7473
7581
  }>;
7474
7582
  /** Credits consumed per billing-unit group. */
7475
7583
  creditCost: number;
7584
+ } | {
7585
+ /** ID of the metered feature to remove from the credit system. */
7586
+ meteredFeatureId: string;
7587
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
7588
+ excluded: true;
7476
7589
  }>;
7477
7590
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
7478
7591
  markups?: {
@@ -7702,7 +7815,7 @@ length: number;
7702
7815
  };
7703
7816
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
7704
7817
  featureOverride?: {
7705
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
7818
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
7706
7819
  creditSchema?: Array<{
7707
7820
  /** ID of the metered feature that draws from this credit system. */
7708
7821
  meteredFeatureId: string;
@@ -7725,6 +7838,11 @@ dimensions?: Record<string, unknown>;
7725
7838
  multipliers?: Record<string, unknown>;
7726
7839
  /** Credits consumed per billing-unit group. */
7727
7840
  creditCost: number;
7841
+ } | {
7842
+ /** ID of the metered feature to remove from the credit system. */
7843
+ meteredFeatureId: string;
7844
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
7845
+ excluded: true;
7728
7846
  }>;
7729
7847
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
7730
7848
  markups?: {
@@ -7877,7 +7995,7 @@ length: number;
7877
7995
  };
7878
7996
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
7879
7997
  featureOverride?: {
7880
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
7998
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
7881
7999
  creditSchema?: Array<{
7882
8000
  /** ID of the metered feature that draws from this credit system. */
7883
8001
  meteredFeatureId: string;
@@ -7911,6 +8029,11 @@ add?: unknown;
7911
8029
  }>;
7912
8030
  /** Credits consumed per billing-unit group. */
7913
8031
  creditCost: number;
8032
+ } | {
8033
+ /** ID of the metered feature to remove from the credit system. */
8034
+ meteredFeatureId: string;
8035
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
8036
+ excluded: true;
7914
8037
  }>;
7915
8038
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
7916
8039
  markups?: {
@@ -8305,7 +8428,7 @@ length: number;
8305
8428
  } | null;
8306
8429
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
8307
8430
  featureOverride?: {
8308
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
8431
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
8309
8432
  creditSchema?: Array<{
8310
8433
  /** ID of the metered feature that draws from this credit system. */
8311
8434
  meteredFeatureId: string;
@@ -8328,6 +8451,11 @@ dimensions?: Record<string, unknown>;
8328
8451
  multipliers?: Record<string, unknown>;
8329
8452
  /** Credits consumed per billing-unit group. */
8330
8453
  creditCost: number;
8454
+ } | {
8455
+ /** ID of the metered feature to remove from the credit system. */
8456
+ meteredFeatureId: string;
8457
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
8458
+ excluded: true;
8331
8459
  }>;
8332
8460
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
8333
8461
  markups?: {
@@ -8448,7 +8576,7 @@ length: number;
8448
8576
  };
8449
8577
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
8450
8578
  featureOverride?: {
8451
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
8579
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
8452
8580
  creditSchema?: Array<{
8453
8581
  /** ID of the metered feature that draws from this credit system. */
8454
8582
  meteredFeatureId: string;
@@ -8471,6 +8599,11 @@ dimensions?: Record<string, unknown>;
8471
8599
  multipliers?: Record<string, unknown>;
8472
8600
  /** Credits consumed per billing-unit group. */
8473
8601
  creditCost: number;
8602
+ } | {
8603
+ /** ID of the metered feature to remove from the credit system. */
8604
+ meteredFeatureId: string;
8605
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
8606
+ excluded: true;
8474
8607
  }>;
8475
8608
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
8476
8609
  markups?: {
@@ -8686,7 +8819,7 @@ length: number;
8686
8819
  };
8687
8820
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
8688
8821
  featureOverride?: {
8689
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
8822
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
8690
8823
  creditSchema?: Array<unknown | null>;
8691
8824
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
8692
8825
  markups?: {
@@ -9160,7 +9293,7 @@ length: number;
9160
9293
  } | null;
9161
9294
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
9162
9295
  featureOverride?: {
9163
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
9296
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
9164
9297
  creditSchema?: Array<{
9165
9298
  /** ID of the metered feature that draws from this credit system. */
9166
9299
  meteredFeatureId: string;
@@ -9240,6 +9373,11 @@ add?: number;
9240
9373
  }>;
9241
9374
  /** Credits consumed per billing-unit group. */
9242
9375
  creditCost: number;
9376
+ } | {
9377
+ /** ID of the metered feature to remove from the credit system. */
9378
+ meteredFeatureId: string;
9379
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
9380
+ excluded: true;
9243
9381
  }>;
9244
9382
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
9245
9383
  markups?: {
@@ -9363,7 +9501,7 @@ length: number;
9363
9501
  };
9364
9502
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
9365
9503
  featureOverride?: {
9366
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
9504
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
9367
9505
  creditSchema?: Array<{
9368
9506
  /** ID of the metered feature that draws from this credit system. */
9369
9507
  meteredFeatureId: string;
@@ -9443,6 +9581,11 @@ add?: number;
9443
9581
  }>;
9444
9582
  /** Credits consumed per billing-unit group. */
9445
9583
  creditCost: number;
9584
+ } | {
9585
+ /** ID of the metered feature to remove from the credit system. */
9586
+ meteredFeatureId: string;
9587
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
9588
+ excluded: true;
9446
9589
  }>;
9447
9590
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
9448
9591
  markups?: {
@@ -9675,7 +9818,7 @@ length: number;
9675
9818
  };
9676
9819
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
9677
9820
  featureOverride?: {
9678
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
9821
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
9679
9822
  creditSchema?: Array<{
9680
9823
  /** ID of the metered feature that draws from this credit system. */
9681
9824
  meteredFeatureId: string;
@@ -9735,6 +9878,11 @@ add?: number;
9735
9878
  }>;
9736
9879
  /** Credits consumed per billing-unit group. */
9737
9880
  creditCost: number;
9881
+ } | {
9882
+ /** ID of the metered feature to remove from the credit system. */
9883
+ meteredFeatureId: string;
9884
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
9885
+ excluded: true;
9738
9886
  }>;
9739
9887
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
9740
9888
  markups?: {
@@ -9887,7 +10035,7 @@ length: number;
9887
10035
  };
9888
10036
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
9889
10037
  featureOverride?: {
9890
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
10038
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
9891
10039
  creditSchema?: Array<{
9892
10040
  /** ID of the metered feature that draws from this credit system. */
9893
10041
  meteredFeatureId: string;
@@ -9957,6 +10105,11 @@ add?: number;
9957
10105
  }>;
9958
10106
  /** Credits consumed per billing-unit group. */
9959
10107
  creditCost: number;
10108
+ } | {
10109
+ /** ID of the metered feature to remove from the credit system. */
10110
+ meteredFeatureId: string;
10111
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
10112
+ excluded: true;
9960
10113
  }>;
9961
10114
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
9962
10115
  markups?: {
@@ -10354,7 +10507,7 @@ length: number;
10354
10507
  } | null;
10355
10508
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
10356
10509
  featureOverride?: {
10357
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
10510
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
10358
10511
  creditSchema?: Array<{
10359
10512
  /** ID of the metered feature that draws from this credit system. */
10360
10513
  meteredFeatureId: string;
@@ -10414,6 +10567,11 @@ add?: number;
10414
10567
  }>;
10415
10568
  /** Credits consumed per billing-unit group. */
10416
10569
  creditCost: number;
10570
+ } | {
10571
+ /** ID of the metered feature to remove from the credit system. */
10572
+ meteredFeatureId: string;
10573
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
10574
+ excluded: true;
10417
10575
  }>;
10418
10576
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
10419
10577
  markups?: {
@@ -10537,7 +10695,7 @@ length: number;
10537
10695
  };
10538
10696
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
10539
10697
  featureOverride?: {
10540
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
10698
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
10541
10699
  creditSchema?: Array<{
10542
10700
  /** ID of the metered feature that draws from this credit system. */
10543
10701
  meteredFeatureId: string;
@@ -10597,6 +10755,11 @@ add?: number;
10597
10755
  }>;
10598
10756
  /** Credits consumed per billing-unit group. */
10599
10757
  creditCost: number;
10758
+ } | {
10759
+ /** ID of the metered feature to remove from the credit system. */
10760
+ meteredFeatureId: string;
10761
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
10762
+ excluded: true;
10600
10763
  }>;
10601
10764
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
10602
10765
  markups?: {
@@ -10822,7 +10985,7 @@ length: number;
10822
10985
  };
10823
10986
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
10824
10987
  featureOverride?: {
10825
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
10988
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
10826
10989
  creditSchema?: Array<{
10827
10990
  meteredFeatureId?: unknown;
10828
10991
  billingUnits?: unknown;
@@ -10836,6 +10999,9 @@ billingUnits?: unknown;
10836
10999
  dimensions?: unknown;
10837
11000
  multipliers?: unknown;
10838
11001
  creditCost?: unknown;
11002
+ } | {
11003
+ meteredFeatureId?: unknown;
11004
+ excluded?: unknown;
10839
11005
  }>;
10840
11006
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
10841
11007
  markups?: {
@@ -11326,7 +11492,7 @@ length: number;
11326
11492
  } | null;
11327
11493
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
11328
11494
  featureOverride?: {
11329
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
11495
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
11330
11496
  creditSchema?: Array<{
11331
11497
  /** ID of the metered feature that draws from this credit system. */
11332
11498
  meteredFeatureId: string;
@@ -11396,6 +11562,11 @@ add?: number;
11396
11562
  }>;
11397
11563
  /** Credits consumed per billing-unit group. */
11398
11564
  creditCost: number;
11565
+ } | {
11566
+ /** ID of the metered feature to remove from the credit system. */
11567
+ meteredFeatureId: string;
11568
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
11569
+ excluded: true;
11399
11570
  }>;
11400
11571
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
11401
11572
  markups?: {
@@ -11519,7 +11690,7 @@ length: number;
11519
11690
  };
11520
11691
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
11521
11692
  featureOverride?: {
11522
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
11693
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
11523
11694
  creditSchema?: Array<{
11524
11695
  /** ID of the metered feature that draws from this credit system. */
11525
11696
  meteredFeatureId: string;
@@ -11589,6 +11760,11 @@ add?: number;
11589
11760
  }>;
11590
11761
  /** Credits consumed per billing-unit group. */
11591
11762
  creditCost: number;
11763
+ } | {
11764
+ /** ID of the metered feature to remove from the credit system. */
11765
+ meteredFeatureId: string;
11766
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
11767
+ excluded: true;
11592
11768
  }>;
11593
11769
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
11594
11770
  markups?: {
@@ -11818,7 +11994,7 @@ length: number;
11818
11994
  };
11819
11995
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
11820
11996
  featureOverride?: {
11821
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
11997
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
11822
11998
  creditSchema?: Array<{
11823
11999
  /** ID of the metered feature that draws from this credit system. */
11824
12000
  meteredFeatureId: string;
@@ -11841,6 +12017,11 @@ dimensions?: Record<string, unknown>;
11841
12017
  multipliers?: Record<string, unknown>;
11842
12018
  /** Credits consumed per billing-unit group. */
11843
12019
  creditCost: number;
12020
+ } | {
12021
+ /** ID of the metered feature to remove from the credit system. */
12022
+ meteredFeatureId: string;
12023
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
12024
+ excluded: true;
11844
12025
  }>;
11845
12026
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
11846
12027
  markups?: {
@@ -11993,7 +12174,7 @@ length: number;
11993
12174
  };
11994
12175
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
11995
12176
  featureOverride?: {
11996
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
12177
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
11997
12178
  creditSchema?: Array<{
11998
12179
  /** ID of the metered feature that draws from this credit system. */
11999
12180
  meteredFeatureId: string;
@@ -12027,6 +12208,11 @@ add?: unknown;
12027
12208
  }>;
12028
12209
  /** Credits consumed per billing-unit group. */
12029
12210
  creditCost: number;
12211
+ } | {
12212
+ /** ID of the metered feature to remove from the credit system. */
12213
+ meteredFeatureId: string;
12214
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
12215
+ excluded: true;
12030
12216
  }>;
12031
12217
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
12032
12218
  markups?: {
@@ -12421,7 +12607,7 @@ length: number;
12421
12607
  } | null;
12422
12608
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
12423
12609
  featureOverride?: {
12424
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
12610
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
12425
12611
  creditSchema?: Array<{
12426
12612
  /** ID of the metered feature that draws from this credit system. */
12427
12613
  meteredFeatureId: string;
@@ -12444,6 +12630,11 @@ dimensions?: Record<string, unknown>;
12444
12630
  multipliers?: Record<string, unknown>;
12445
12631
  /** Credits consumed per billing-unit group. */
12446
12632
  creditCost: number;
12633
+ } | {
12634
+ /** ID of the metered feature to remove from the credit system. */
12635
+ meteredFeatureId: string;
12636
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
12637
+ excluded: true;
12447
12638
  }>;
12448
12639
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
12449
12640
  markups?: {
@@ -12564,7 +12755,7 @@ length: number;
12564
12755
  };
12565
12756
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
12566
12757
  featureOverride?: {
12567
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
12758
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
12568
12759
  creditSchema?: Array<{
12569
12760
  /** ID of the metered feature that draws from this credit system. */
12570
12761
  meteredFeatureId: string;
@@ -12587,6 +12778,11 @@ dimensions?: Record<string, unknown>;
12587
12778
  multipliers?: Record<string, unknown>;
12588
12779
  /** Credits consumed per billing-unit group. */
12589
12780
  creditCost: number;
12781
+ } | {
12782
+ /** ID of the metered feature to remove from the credit system. */
12783
+ meteredFeatureId: string;
12784
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
12785
+ excluded: true;
12590
12786
  }>;
12591
12787
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
12592
12788
  markups?: {
@@ -12802,7 +12998,7 @@ length: number;
12802
12998
  };
12803
12999
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
12804
13000
  featureOverride?: {
12805
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
13001
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
12806
13002
  creditSchema?: Array<unknown | null>;
12807
13003
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
12808
13004
  markups?: {
@@ -13284,7 +13480,7 @@ length: number;
13284
13480
  } | null;
13285
13481
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
13286
13482
  featureOverride?: {
13287
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
13483
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
13288
13484
  creditSchema?: Array<{
13289
13485
  /** ID of the metered feature that draws from this credit system. */
13290
13486
  meteredFeatureId: string;
@@ -13364,6 +13560,11 @@ add?: number;
13364
13560
  }>;
13365
13561
  /** Credits consumed per billing-unit group. */
13366
13562
  creditCost: number;
13563
+ } | {
13564
+ /** ID of the metered feature to remove from the credit system. */
13565
+ meteredFeatureId: string;
13566
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
13567
+ excluded: true;
13367
13568
  }>;
13368
13569
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
13369
13570
  markups?: {
@@ -13487,7 +13688,7 @@ length: number;
13487
13688
  };
13488
13689
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
13489
13690
  featureOverride?: {
13490
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
13691
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
13491
13692
  creditSchema?: Array<{
13492
13693
  /** ID of the metered feature that draws from this credit system. */
13493
13694
  meteredFeatureId: string;
@@ -13567,6 +13768,11 @@ add?: number;
13567
13768
  }>;
13568
13769
  /** Credits consumed per billing-unit group. */
13569
13770
  creditCost: number;
13771
+ } | {
13772
+ /** ID of the metered feature to remove from the credit system. */
13773
+ meteredFeatureId: string;
13774
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
13775
+ excluded: true;
13570
13776
  }>;
13571
13777
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
13572
13778
  markups?: {
@@ -13799,7 +14005,7 @@ length: number;
13799
14005
  };
13800
14006
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
13801
14007
  featureOverride?: {
13802
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
14008
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
13803
14009
  creditSchema?: Array<{
13804
14010
  /** ID of the metered feature that draws from this credit system. */
13805
14011
  meteredFeatureId: string;
@@ -13875,6 +14081,11 @@ add?: number;
13875
14081
  }>;
13876
14082
  /** Credits consumed per billing-unit group. */
13877
14083
  creditCost: number;
14084
+ } | {
14085
+ /** ID of the metered feature to remove from the credit system. */
14086
+ meteredFeatureId: string;
14087
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
14088
+ excluded: true;
13878
14089
  }>;
13879
14090
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
13880
14091
  markups?: {
@@ -14027,7 +14238,7 @@ length: number;
14027
14238
  };
14028
14239
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
14029
14240
  featureOverride?: {
14030
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
14241
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
14031
14242
  creditSchema?: Array<{
14032
14243
  /** ID of the metered feature that draws from this credit system. */
14033
14244
  meteredFeatureId: string;
@@ -14107,6 +14318,11 @@ add?: number;
14107
14318
  }>;
14108
14319
  /** Credits consumed per billing-unit group. */
14109
14320
  creditCost: number;
14321
+ } | {
14322
+ /** ID of the metered feature to remove from the credit system. */
14323
+ meteredFeatureId: string;
14324
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
14325
+ excluded: true;
14110
14326
  }>;
14111
14327
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
14112
14328
  markups?: {
@@ -14504,7 +14720,7 @@ length: number;
14504
14720
  } | null;
14505
14721
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
14506
14722
  featureOverride?: {
14507
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
14723
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
14508
14724
  creditSchema?: Array<{
14509
14725
  /** ID of the metered feature that draws from this credit system. */
14510
14726
  meteredFeatureId: string;
@@ -14580,6 +14796,11 @@ add?: number;
14580
14796
  }>;
14581
14797
  /** Credits consumed per billing-unit group. */
14582
14798
  creditCost: number;
14799
+ } | {
14800
+ /** ID of the metered feature to remove from the credit system. */
14801
+ meteredFeatureId: string;
14802
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
14803
+ excluded: true;
14583
14804
  }>;
14584
14805
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
14585
14806
  markups?: {
@@ -14703,7 +14924,7 @@ length: number;
14703
14924
  };
14704
14925
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
14705
14926
  featureOverride?: {
14706
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
14927
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
14707
14928
  creditSchema?: Array<{
14708
14929
  /** ID of the metered feature that draws from this credit system. */
14709
14930
  meteredFeatureId: string;
@@ -14779,6 +15000,11 @@ add?: number;
14779
15000
  }>;
14780
15001
  /** Credits consumed per billing-unit group. */
14781
15002
  creditCost: number;
15003
+ } | {
15004
+ /** ID of the metered feature to remove from the credit system. */
15005
+ meteredFeatureId: string;
15006
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
15007
+ excluded: true;
14782
15008
  }>;
14783
15009
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
14784
15010
  markups?: {
@@ -15011,7 +15237,7 @@ length: number;
15011
15237
  };
15012
15238
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
15013
15239
  featureOverride?: {
15014
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
15240
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
15015
15241
  creditSchema?: Array<{
15016
15242
  /** ID of the metered feature that draws from this credit system. */
15017
15243
  meteredFeatureId: string;
@@ -15045,6 +15271,11 @@ add?: unknown;
15045
15271
  }>;
15046
15272
  /** Credits consumed per billing-unit group. */
15047
15273
  creditCost: number;
15274
+ } | {
15275
+ /** ID of the metered feature to remove from the credit system. */
15276
+ meteredFeatureId: string;
15277
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
15278
+ excluded: true;
15048
15279
  }>;
15049
15280
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
15050
15281
  markups?: {
@@ -15537,7 +15768,7 @@ length: number;
15537
15768
  } | null;
15538
15769
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
15539
15770
  featureOverride?: {
15540
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
15771
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
15541
15772
  creditSchema?: Array<{
15542
15773
  /** ID of the metered feature that draws from this credit system. */
15543
15774
  meteredFeatureId: string;
@@ -15617,6 +15848,11 @@ add?: number;
15617
15848
  }>;
15618
15849
  /** Credits consumed per billing-unit group. */
15619
15850
  creditCost: number;
15851
+ } | {
15852
+ /** ID of the metered feature to remove from the credit system. */
15853
+ meteredFeatureId: string;
15854
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
15855
+ excluded: true;
15620
15856
  }>;
15621
15857
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
15622
15858
  markups?: {
@@ -15740,7 +15976,7 @@ length: number;
15740
15976
  };
15741
15977
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
15742
15978
  featureOverride?: {
15743
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
15979
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
15744
15980
  creditSchema?: Array<{
15745
15981
  /** ID of the metered feature that draws from this credit system. */
15746
15982
  meteredFeatureId: string;
@@ -15820,6 +16056,11 @@ add?: number;
15820
16056
  }>;
15821
16057
  /** Credits consumed per billing-unit group. */
15822
16058
  creditCost: number;
16059
+ } | {
16060
+ /** ID of the metered feature to remove from the credit system. */
16061
+ meteredFeatureId: string;
16062
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
16063
+ excluded: true;
15823
16064
  }>;
15824
16065
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
15825
16066
  markups?: {
@@ -16052,7 +16293,7 @@ length: number;
16052
16293
  };
16053
16294
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
16054
16295
  featureOverride?: {
16055
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
16296
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
16056
16297
  creditSchema?: Array<{
16057
16298
  /** ID of the metered feature that draws from this credit system. */
16058
16299
  meteredFeatureId: string;
@@ -16112,6 +16353,11 @@ add?: number;
16112
16353
  }>;
16113
16354
  /** Credits consumed per billing-unit group. */
16114
16355
  creditCost: number;
16356
+ } | {
16357
+ /** ID of the metered feature to remove from the credit system. */
16358
+ meteredFeatureId: string;
16359
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
16360
+ excluded: true;
16115
16361
  }>;
16116
16362
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
16117
16363
  markups?: {
@@ -16264,7 +16510,7 @@ length: number;
16264
16510
  };
16265
16511
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
16266
16512
  featureOverride?: {
16267
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
16513
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
16268
16514
  creditSchema?: Array<{
16269
16515
  /** ID of the metered feature that draws from this credit system. */
16270
16516
  meteredFeatureId: string;
@@ -16334,6 +16580,11 @@ add?: number;
16334
16580
  }>;
16335
16581
  /** Credits consumed per billing-unit group. */
16336
16582
  creditCost: number;
16583
+ } | {
16584
+ /** ID of the metered feature to remove from the credit system. */
16585
+ meteredFeatureId: string;
16586
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
16587
+ excluded: true;
16337
16588
  }>;
16338
16589
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
16339
16590
  markups?: {
@@ -16731,7 +16982,7 @@ length: number;
16731
16982
  } | null;
16732
16983
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
16733
16984
  featureOverride?: {
16734
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
16985
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
16735
16986
  creditSchema?: Array<{
16736
16987
  /** ID of the metered feature that draws from this credit system. */
16737
16988
  meteredFeatureId: string;
@@ -16791,6 +17042,11 @@ add?: number;
16791
17042
  }>;
16792
17043
  /** Credits consumed per billing-unit group. */
16793
17044
  creditCost: number;
17045
+ } | {
17046
+ /** ID of the metered feature to remove from the credit system. */
17047
+ meteredFeatureId: string;
17048
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
17049
+ excluded: true;
16794
17050
  }>;
16795
17051
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
16796
17052
  markups?: {
@@ -16914,7 +17170,7 @@ length: number;
16914
17170
  };
16915
17171
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
16916
17172
  featureOverride?: {
16917
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
17173
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
16918
17174
  creditSchema?: Array<{
16919
17175
  /** ID of the metered feature that draws from this credit system. */
16920
17176
  meteredFeatureId: string;
@@ -16974,6 +17230,11 @@ add?: number;
16974
17230
  }>;
16975
17231
  /** Credits consumed per billing-unit group. */
16976
17232
  creditCost: number;
17233
+ } | {
17234
+ /** ID of the metered feature to remove from the credit system. */
17235
+ meteredFeatureId: string;
17236
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
17237
+ excluded: true;
16977
17238
  }>;
16978
17239
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
16979
17240
  markups?: {
@@ -17199,7 +17460,7 @@ length: number;
17199
17460
  };
17200
17461
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
17201
17462
  featureOverride?: {
17202
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
17463
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
17203
17464
  creditSchema?: Array<{
17204
17465
  meteredFeatureId?: unknown;
17205
17466
  billingUnits?: unknown;
@@ -17213,6 +17474,9 @@ billingUnits?: unknown;
17213
17474
  dimensions?: unknown;
17214
17475
  multipliers?: unknown;
17215
17476
  creditCost?: unknown;
17477
+ } | {
17478
+ meteredFeatureId?: unknown;
17479
+ excluded?: unknown;
17216
17480
  }>;
17217
17481
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
17218
17482
  markups?: {
@@ -17695,7 +17959,7 @@ length: number;
17695
17959
  } | null;
17696
17960
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
17697
17961
  featureOverride?: {
17698
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
17962
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
17699
17963
  creditSchema?: Array<{
17700
17964
  /** ID of the metered feature that draws from this credit system. */
17701
17965
  meteredFeatureId: string;
@@ -17775,6 +18039,11 @@ add?: number;
17775
18039
  }>;
17776
18040
  /** Credits consumed per billing-unit group. */
17777
18041
  creditCost: number;
18042
+ } | {
18043
+ /** ID of the metered feature to remove from the credit system. */
18044
+ meteredFeatureId: string;
18045
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
18046
+ excluded: true;
17778
18047
  }>;
17779
18048
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
17780
18049
  markups?: {
@@ -17898,7 +18167,7 @@ length: number;
17898
18167
  };
17899
18168
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
17900
18169
  featureOverride?: {
17901
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
18170
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
17902
18171
  creditSchema?: Array<{
17903
18172
  /** ID of the metered feature that draws from this credit system. */
17904
18173
  meteredFeatureId: string;
@@ -17978,6 +18247,11 @@ add?: number;
17978
18247
  }>;
17979
18248
  /** Credits consumed per billing-unit group. */
17980
18249
  creditCost: number;
18250
+ } | {
18251
+ /** ID of the metered feature to remove from the credit system. */
18252
+ meteredFeatureId: string;
18253
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
18254
+ excluded: true;
17981
18255
  }>;
17982
18256
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
17983
18257
  markups?: {
@@ -18210,7 +18484,7 @@ length: number;
18210
18484
  };
18211
18485
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
18212
18486
  featureOverride?: {
18213
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
18487
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
18214
18488
  creditSchema?: Array<{
18215
18489
  /** ID of the metered feature that draws from this credit system. */
18216
18490
  meteredFeatureId: string;
@@ -18286,6 +18560,11 @@ add?: number;
18286
18560
  }>;
18287
18561
  /** Credits consumed per billing-unit group. */
18288
18562
  creditCost: number;
18563
+ } | {
18564
+ /** ID of the metered feature to remove from the credit system. */
18565
+ meteredFeatureId: string;
18566
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
18567
+ excluded: true;
18289
18568
  }>;
18290
18569
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
18291
18570
  markups?: {
@@ -18438,7 +18717,7 @@ length: number;
18438
18717
  };
18439
18718
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
18440
18719
  featureOverride?: {
18441
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
18720
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
18442
18721
  creditSchema?: Array<{
18443
18722
  /** ID of the metered feature that draws from this credit system. */
18444
18723
  meteredFeatureId: string;
@@ -18518,6 +18797,11 @@ add?: number;
18518
18797
  }>;
18519
18798
  /** Credits consumed per billing-unit group. */
18520
18799
  creditCost: number;
18800
+ } | {
18801
+ /** ID of the metered feature to remove from the credit system. */
18802
+ meteredFeatureId: string;
18803
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
18804
+ excluded: true;
18521
18805
  }>;
18522
18806
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
18523
18807
  markups?: {
@@ -18915,7 +19199,7 @@ length: number;
18915
19199
  } | null;
18916
19200
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
18917
19201
  featureOverride?: {
18918
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
19202
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
18919
19203
  creditSchema?: Array<{
18920
19204
  /** ID of the metered feature that draws from this credit system. */
18921
19205
  meteredFeatureId: string;
@@ -18991,6 +19275,11 @@ add?: number;
18991
19275
  }>;
18992
19276
  /** Credits consumed per billing-unit group. */
18993
19277
  creditCost: number;
19278
+ } | {
19279
+ /** ID of the metered feature to remove from the credit system. */
19280
+ meteredFeatureId: string;
19281
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
19282
+ excluded: true;
18994
19283
  }>;
18995
19284
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
18996
19285
  markups?: {
@@ -19114,7 +19403,7 @@ length: number;
19114
19403
  };
19115
19404
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
19116
19405
  featureOverride?: {
19117
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
19406
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
19118
19407
  creditSchema?: Array<{
19119
19408
  /** ID of the metered feature that draws from this credit system. */
19120
19409
  meteredFeatureId: string;
@@ -19190,6 +19479,11 @@ add?: number;
19190
19479
  }>;
19191
19480
  /** Credits consumed per billing-unit group. */
19192
19481
  creditCost: number;
19482
+ } | {
19483
+ /** ID of the metered feature to remove from the credit system. */
19484
+ meteredFeatureId: string;
19485
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
19486
+ excluded: true;
19193
19487
  }>;
19194
19488
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
19195
19489
  markups?: {
@@ -19422,7 +19716,7 @@ length: number;
19422
19716
  };
19423
19717
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
19424
19718
  featureOverride?: {
19425
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
19719
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
19426
19720
  creditSchema?: Array<{
19427
19721
  /** ID of the metered feature that draws from this credit system. */
19428
19722
  meteredFeatureId: string;
@@ -19456,6 +19750,11 @@ add?: unknown;
19456
19750
  }>;
19457
19751
  /** Credits consumed per billing-unit group. */
19458
19752
  creditCost: number;
19753
+ } | {
19754
+ /** ID of the metered feature to remove from the credit system. */
19755
+ meteredFeatureId: string;
19756
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
19757
+ excluded: true;
19459
19758
  }>;
19460
19759
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
19461
19760
  markups?: {
@@ -19946,7 +20245,7 @@ length: number;
19946
20245
  } | null;
19947
20246
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
19948
20247
  featureOverride?: {
19949
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
20248
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
19950
20249
  creditSchema?: Array<{
19951
20250
  /** ID of the metered feature that draws from this credit system. */
19952
20251
  meteredFeatureId: string;
@@ -20026,6 +20325,11 @@ add?: number;
20026
20325
  }>;
20027
20326
  /** Credits consumed per billing-unit group. */
20028
20327
  creditCost: number;
20328
+ } | {
20329
+ /** ID of the metered feature to remove from the credit system. */
20330
+ meteredFeatureId: string;
20331
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
20332
+ excluded: true;
20029
20333
  }>;
20030
20334
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
20031
20335
  markups?: {
@@ -20149,7 +20453,7 @@ length: number;
20149
20453
  };
20150
20454
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
20151
20455
  featureOverride?: {
20152
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
20456
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
20153
20457
  creditSchema?: Array<{
20154
20458
  /** ID of the metered feature that draws from this credit system. */
20155
20459
  meteredFeatureId: string;
@@ -20229,6 +20533,11 @@ add?: number;
20229
20533
  }>;
20230
20534
  /** Credits consumed per billing-unit group. */
20231
20535
  creditCost: number;
20536
+ } | {
20537
+ /** ID of the metered feature to remove from the credit system. */
20538
+ meteredFeatureId: string;
20539
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
20540
+ excluded: true;
20232
20541
  }>;
20233
20542
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
20234
20543
  markups?: {
@@ -20461,7 +20770,7 @@ length: number;
20461
20770
  };
20462
20771
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
20463
20772
  featureOverride?: {
20464
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
20773
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
20465
20774
  creditSchema?: Array<{
20466
20775
  /** ID of the metered feature that draws from this credit system. */
20467
20776
  meteredFeatureId: string;
@@ -20521,6 +20830,11 @@ add?: number;
20521
20830
  }>;
20522
20831
  /** Credits consumed per billing-unit group. */
20523
20832
  creditCost: number;
20833
+ } | {
20834
+ /** ID of the metered feature to remove from the credit system. */
20835
+ meteredFeatureId: string;
20836
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
20837
+ excluded: true;
20524
20838
  }>;
20525
20839
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
20526
20840
  markups?: {
@@ -20673,7 +20987,7 @@ length: number;
20673
20987
  };
20674
20988
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
20675
20989
  featureOverride?: {
20676
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
20990
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
20677
20991
  creditSchema?: Array<{
20678
20992
  /** ID of the metered feature that draws from this credit system. */
20679
20993
  meteredFeatureId: string;
@@ -20743,6 +21057,11 @@ add?: number;
20743
21057
  }>;
20744
21058
  /** Credits consumed per billing-unit group. */
20745
21059
  creditCost: number;
21060
+ } | {
21061
+ /** ID of the metered feature to remove from the credit system. */
21062
+ meteredFeatureId: string;
21063
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
21064
+ excluded: true;
20746
21065
  }>;
20747
21066
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
20748
21067
  markups?: {
@@ -21140,7 +21459,7 @@ length: number;
21140
21459
  } | null;
21141
21460
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
21142
21461
  featureOverride?: {
21143
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
21462
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
21144
21463
  creditSchema?: Array<{
21145
21464
  /** ID of the metered feature that draws from this credit system. */
21146
21465
  meteredFeatureId: string;
@@ -21200,6 +21519,11 @@ add?: number;
21200
21519
  }>;
21201
21520
  /** Credits consumed per billing-unit group. */
21202
21521
  creditCost: number;
21522
+ } | {
21523
+ /** ID of the metered feature to remove from the credit system. */
21524
+ meteredFeatureId: string;
21525
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
21526
+ excluded: true;
21203
21527
  }>;
21204
21528
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
21205
21529
  markups?: {
@@ -21323,7 +21647,7 @@ length: number;
21323
21647
  };
21324
21648
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
21325
21649
  featureOverride?: {
21326
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
21650
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
21327
21651
  creditSchema?: Array<{
21328
21652
  /** ID of the metered feature that draws from this credit system. */
21329
21653
  meteredFeatureId: string;
@@ -21383,6 +21707,11 @@ add?: number;
21383
21707
  }>;
21384
21708
  /** Credits consumed per billing-unit group. */
21385
21709
  creditCost: number;
21710
+ } | {
21711
+ /** ID of the metered feature to remove from the credit system. */
21712
+ meteredFeatureId: string;
21713
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
21714
+ excluded: true;
21386
21715
  }>;
21387
21716
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
21388
21717
  markups?: {
@@ -21608,7 +21937,7 @@ length: number;
21608
21937
  };
21609
21938
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
21610
21939
  featureOverride?: {
21611
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
21940
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
21612
21941
  creditSchema?: Array<{
21613
21942
  meteredFeatureId?: unknown;
21614
21943
  billingUnits?: unknown;
@@ -21622,6 +21951,9 @@ billingUnits?: unknown;
21622
21951
  dimensions?: unknown;
21623
21952
  multipliers?: unknown;
21624
21953
  creditCost?: unknown;
21954
+ } | {
21955
+ meteredFeatureId?: unknown;
21956
+ excluded?: unknown;
21625
21957
  }>;
21626
21958
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
21627
21959
  markups?: {
@@ -21810,7 +22142,7 @@ length: number;
21810
22142
  };
21811
22143
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
21812
22144
  featureOverride?: {
21813
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
22145
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
21814
22146
  creditSchema?: Array<{
21815
22147
  /** ID of the metered feature that draws from this credit system. */
21816
22148
  meteredFeatureId: string;
@@ -21890,6 +22222,11 @@ add?: number;
21890
22222
  }>;
21891
22223
  /** Credits consumed per billing-unit group. */
21892
22224
  creditCost: number;
22225
+ } | {
22226
+ /** ID of the metered feature to remove from the credit system. */
22227
+ meteredFeatureId: string;
22228
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
22229
+ excluded: true;
21893
22230
  }>;
21894
22231
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
21895
22232
  markups?: {
@@ -23689,7 +24026,7 @@ length: number;
23689
24026
  };
23690
24027
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
23691
24028
  featureOverride?: {
23692
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
24029
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
23693
24030
  creditSchema?: Array<{
23694
24031
  /** ID of the metered feature that draws from this credit system. */
23695
24032
  meteredFeatureId: string;
@@ -23769,6 +24106,11 @@ add?: number;
23769
24106
  }>;
23770
24107
  /** Credits consumed per billing-unit group. */
23771
24108
  creditCost: number;
24109
+ } | {
24110
+ /** ID of the metered feature to remove from the credit system. */
24111
+ meteredFeatureId: string;
24112
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
24113
+ excluded: true;
23772
24114
  }>;
23773
24115
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
23774
24116
  markups?: {
@@ -23801,7 +24143,7 @@ intervalCount?: number;
23801
24143
  included?: number;
23802
24144
  /** The matched item's feature_override before the update; empty when it inherited the feature's. */
23803
24145
  previousFeatureOverride?: {
23804
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
24146
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
23805
24147
  creditSchema?: Array<{
23806
24148
  /** ID of the metered feature that draws from this credit system. */
23807
24149
  meteredFeatureId: string;
@@ -23881,6 +24223,11 @@ add?: number;
23881
24223
  }>;
23882
24224
  /** Credits consumed per billing-unit group. */
23883
24225
  creditCost: number;
24226
+ } | {
24227
+ /** ID of the metered feature to remove from the credit system. */
24228
+ meteredFeatureId: string;
24229
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
24230
+ excluded: true;
23884
24231
  }>;
23885
24232
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
23886
24233
  markups?: {
@@ -24025,7 +24372,7 @@ length: number;
24025
24372
  };
24026
24373
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
24027
24374
  featureOverride?: {
24028
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
24375
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
24029
24376
  creditSchema?: Array<{
24030
24377
  /** ID of the metered feature that draws from this credit system. */
24031
24378
  meteredFeatureId: string;
@@ -24095,6 +24442,11 @@ add?: number;
24095
24442
  }>;
24096
24443
  /** Credits consumed per billing-unit group. */
24097
24444
  creditCost: number;
24445
+ } | {
24446
+ /** ID of the metered feature to remove from the credit system. */
24447
+ meteredFeatureId: string;
24448
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
24449
+ excluded: true;
24098
24450
  }>;
24099
24451
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
24100
24452
  markups?: {
@@ -24561,7 +24913,7 @@ length: number;
24561
24913
  } | null;
24562
24914
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
24563
24915
  featureOverride?: {
24564
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
24916
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
24565
24917
  creditSchema?: Array<{
24566
24918
  /** ID of the metered feature that draws from this credit system. */
24567
24919
  meteredFeatureId: string;
@@ -24641,6 +24993,11 @@ add?: number;
24641
24993
  }>;
24642
24994
  /** Credits consumed per billing-unit group. */
24643
24995
  creditCost: number;
24996
+ } | {
24997
+ /** ID of the metered feature to remove from the credit system. */
24998
+ meteredFeatureId: string;
24999
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
25000
+ excluded: true;
24644
25001
  }>;
24645
25002
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
24646
25003
  markups?: {
@@ -24764,7 +25121,7 @@ length: number;
24764
25121
  };
24765
25122
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
24766
25123
  featureOverride?: {
24767
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
25124
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
24768
25125
  creditSchema?: Array<{
24769
25126
  /** ID of the metered feature that draws from this credit system. */
24770
25127
  meteredFeatureId: string;
@@ -24844,6 +25201,11 @@ add?: number;
24844
25201
  }>;
24845
25202
  /** Credits consumed per billing-unit group. */
24846
25203
  creditCost: number;
25204
+ } | {
25205
+ /** ID of the metered feature to remove from the credit system. */
25206
+ meteredFeatureId: string;
25207
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
25208
+ excluded: true;
24847
25209
  }>;
24848
25210
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
24849
25211
  markups?: {
@@ -25076,7 +25438,7 @@ length: number;
25076
25438
  };
25077
25439
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
25078
25440
  featureOverride?: {
25079
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
25441
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
25080
25442
  creditSchema?: Array<{
25081
25443
  /** ID of the metered feature that draws from this credit system. */
25082
25444
  meteredFeatureId: string;
@@ -25156,6 +25518,11 @@ add?: number;
25156
25518
  }>;
25157
25519
  /** Credits consumed per billing-unit group. */
25158
25520
  creditCost: number;
25521
+ } | {
25522
+ /** ID of the metered feature to remove from the credit system. */
25523
+ meteredFeatureId: string;
25524
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
25525
+ excluded: true;
25159
25526
  }>;
25160
25527
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
25161
25528
  markups?: {
@@ -25308,7 +25675,7 @@ length: number;
25308
25675
  };
25309
25676
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
25310
25677
  featureOverride?: {
25311
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
25678
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
25312
25679
  creditSchema?: Array<{
25313
25680
  /** ID of the metered feature that draws from this credit system. */
25314
25681
  meteredFeatureId: string;
@@ -25388,6 +25755,11 @@ add?: number;
25388
25755
  }>;
25389
25756
  /** Credits consumed per billing-unit group. */
25390
25757
  creditCost: number;
25758
+ } | {
25759
+ /** ID of the metered feature to remove from the credit system. */
25760
+ meteredFeatureId: string;
25761
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
25762
+ excluded: true;
25391
25763
  }>;
25392
25764
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
25393
25765
  markups?: {
@@ -25785,7 +26157,7 @@ length: number;
25785
26157
  } | null;
25786
26158
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
25787
26159
  featureOverride?: {
25788
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
26160
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
25789
26161
  creditSchema?: Array<{
25790
26162
  /** ID of the metered feature that draws from this credit system. */
25791
26163
  meteredFeatureId: string;
@@ -25865,6 +26237,11 @@ add?: number;
25865
26237
  }>;
25866
26238
  /** Credits consumed per billing-unit group. */
25867
26239
  creditCost: number;
26240
+ } | {
26241
+ /** ID of the metered feature to remove from the credit system. */
26242
+ meteredFeatureId: string;
26243
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
26244
+ excluded: true;
25868
26245
  }>;
25869
26246
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
25870
26247
  markups?: {
@@ -25988,7 +26365,7 @@ length: number;
25988
26365
  };
25989
26366
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
25990
26367
  featureOverride?: {
25991
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
26368
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
25992
26369
  creditSchema?: Array<{
25993
26370
  /** ID of the metered feature that draws from this credit system. */
25994
26371
  meteredFeatureId: string;
@@ -26068,6 +26445,11 @@ add?: number;
26068
26445
  }>;
26069
26446
  /** Credits consumed per billing-unit group. */
26070
26447
  creditCost: number;
26448
+ } | {
26449
+ /** ID of the metered feature to remove from the credit system. */
26450
+ meteredFeatureId: string;
26451
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
26452
+ excluded: true;
26071
26453
  }>;
26072
26454
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
26073
26455
  markups?: {
@@ -26300,7 +26682,7 @@ length: number;
26300
26682
  };
26301
26683
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
26302
26684
  featureOverride?: {
26303
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
26685
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
26304
26686
  creditSchema?: Array<{
26305
26687
  /** ID of the metered feature that draws from this credit system. */
26306
26688
  meteredFeatureId: string;
@@ -26370,6 +26752,11 @@ add?: number;
26370
26752
  }>;
26371
26753
  /** Credits consumed per billing-unit group. */
26372
26754
  creditCost: number;
26755
+ } | {
26756
+ /** ID of the metered feature to remove from the credit system. */
26757
+ meteredFeatureId: string;
26758
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
26759
+ excluded: true;
26373
26760
  }>;
26374
26761
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
26375
26762
  markups?: {
@@ -26838,7 +27225,7 @@ length: number;
26838
27225
  } | null;
26839
27226
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
26840
27227
  featureOverride?: {
26841
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
27228
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
26842
27229
  creditSchema?: Array<{
26843
27230
  /** ID of the metered feature that draws from this credit system. */
26844
27231
  meteredFeatureId: string;
@@ -26918,6 +27305,11 @@ add?: number;
26918
27305
  }>;
26919
27306
  /** Credits consumed per billing-unit group. */
26920
27307
  creditCost: number;
27308
+ } | {
27309
+ /** ID of the metered feature to remove from the credit system. */
27310
+ meteredFeatureId: string;
27311
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
27312
+ excluded: true;
26921
27313
  }>;
26922
27314
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
26923
27315
  markups?: {
@@ -27041,7 +27433,7 @@ length: number;
27041
27433
  };
27042
27434
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
27043
27435
  featureOverride?: {
27044
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
27436
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
27045
27437
  creditSchema?: Array<{
27046
27438
  /** ID of the metered feature that draws from this credit system. */
27047
27439
  meteredFeatureId: string;
@@ -27121,6 +27513,11 @@ add?: number;
27121
27513
  }>;
27122
27514
  /** Credits consumed per billing-unit group. */
27123
27515
  creditCost: number;
27516
+ } | {
27517
+ /** ID of the metered feature to remove from the credit system. */
27518
+ meteredFeatureId: string;
27519
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
27520
+ excluded: true;
27124
27521
  }>;
27125
27522
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
27126
27523
  markups?: {
@@ -27353,7 +27750,7 @@ length: number;
27353
27750
  };
27354
27751
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
27355
27752
  featureOverride?: {
27356
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
27753
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
27357
27754
  creditSchema?: Array<{
27358
27755
  /** ID of the metered feature that draws from this credit system. */
27359
27756
  meteredFeatureId: string;
@@ -27429,6 +27826,11 @@ add?: number;
27429
27826
  }>;
27430
27827
  /** Credits consumed per billing-unit group. */
27431
27828
  creditCost: number;
27829
+ } | {
27830
+ /** ID of the metered feature to remove from the credit system. */
27831
+ meteredFeatureId: string;
27832
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
27833
+ excluded: true;
27432
27834
  }>;
27433
27835
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
27434
27836
  markups?: {
@@ -27581,7 +27983,7 @@ length: number;
27581
27983
  };
27582
27984
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
27583
27985
  featureOverride?: {
27584
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
27986
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
27585
27987
  creditSchema?: Array<{
27586
27988
  /** ID of the metered feature that draws from this credit system. */
27587
27989
  meteredFeatureId: string;
@@ -27661,6 +28063,11 @@ add?: number;
27661
28063
  }>;
27662
28064
  /** Credits consumed per billing-unit group. */
27663
28065
  creditCost: number;
28066
+ } | {
28067
+ /** ID of the metered feature to remove from the credit system. */
28068
+ meteredFeatureId: string;
28069
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
28070
+ excluded: true;
27664
28071
  }>;
27665
28072
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
27666
28073
  markups?: {
@@ -28058,7 +28465,7 @@ length: number;
28058
28465
  } | null;
28059
28466
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
28060
28467
  featureOverride?: {
28061
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
28468
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
28062
28469
  creditSchema?: Array<{
28063
28470
  /** ID of the metered feature that draws from this credit system. */
28064
28471
  meteredFeatureId: string;
@@ -28134,6 +28541,11 @@ add?: number;
28134
28541
  }>;
28135
28542
  /** Credits consumed per billing-unit group. */
28136
28543
  creditCost: number;
28544
+ } | {
28545
+ /** ID of the metered feature to remove from the credit system. */
28546
+ meteredFeatureId: string;
28547
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
28548
+ excluded: true;
28137
28549
  }>;
28138
28550
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
28139
28551
  markups?: {
@@ -28257,7 +28669,7 @@ length: number;
28257
28669
  };
28258
28670
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
28259
28671
  featureOverride?: {
28260
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
28672
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
28261
28673
  creditSchema?: Array<{
28262
28674
  /** ID of the metered feature that draws from this credit system. */
28263
28675
  meteredFeatureId: string;
@@ -28333,6 +28745,11 @@ add?: number;
28333
28745
  }>;
28334
28746
  /** Credits consumed per billing-unit group. */
28335
28747
  creditCost: number;
28748
+ } | {
28749
+ /** ID of the metered feature to remove from the credit system. */
28750
+ meteredFeatureId: string;
28751
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
28752
+ excluded: true;
28336
28753
  }>;
28337
28754
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
28338
28755
  markups?: {
@@ -28565,7 +28982,7 @@ length: number;
28565
28982
  };
28566
28983
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
28567
28984
  featureOverride?: {
28568
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
28985
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
28569
28986
  creditSchema?: Array<{
28570
28987
  /** ID of the metered feature that draws from this credit system. */
28571
28988
  meteredFeatureId: string;
@@ -28599,6 +29016,11 @@ add?: unknown;
28599
29016
  }>;
28600
29017
  /** Credits consumed per billing-unit group. */
28601
29018
  creditCost: number;
29019
+ } | {
29020
+ /** ID of the metered feature to remove from the credit system. */
29021
+ meteredFeatureId: string;
29022
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
29023
+ excluded: true;
28602
29024
  }>;
28603
29025
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
28604
29026
  markups?: {
@@ -29077,7 +29499,7 @@ length: number;
29077
29499
  } | null;
29078
29500
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
29079
29501
  featureOverride?: {
29080
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
29502
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
29081
29503
  creditSchema?: Array<{
29082
29504
  /** ID of the metered feature that draws from this credit system. */
29083
29505
  meteredFeatureId: string;
@@ -29157,6 +29579,11 @@ add?: number;
29157
29579
  }>;
29158
29580
  /** Credits consumed per billing-unit group. */
29159
29581
  creditCost: number;
29582
+ } | {
29583
+ /** ID of the metered feature to remove from the credit system. */
29584
+ meteredFeatureId: string;
29585
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
29586
+ excluded: true;
29160
29587
  }>;
29161
29588
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
29162
29589
  markups?: {
@@ -29280,7 +29707,7 @@ length: number;
29280
29707
  };
29281
29708
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
29282
29709
  featureOverride?: {
29283
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
29710
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
29284
29711
  creditSchema?: Array<{
29285
29712
  /** ID of the metered feature that draws from this credit system. */
29286
29713
  meteredFeatureId: string;
@@ -29360,6 +29787,11 @@ add?: number;
29360
29787
  }>;
29361
29788
  /** Credits consumed per billing-unit group. */
29362
29789
  creditCost: number;
29790
+ } | {
29791
+ /** ID of the metered feature to remove from the credit system. */
29792
+ meteredFeatureId: string;
29793
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
29794
+ excluded: true;
29363
29795
  }>;
29364
29796
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
29365
29797
  markups?: {
@@ -29592,7 +30024,7 @@ length: number;
29592
30024
  };
29593
30025
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
29594
30026
  featureOverride?: {
29595
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
30027
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
29596
30028
  creditSchema?: Array<{
29597
30029
  /** ID of the metered feature that draws from this credit system. */
29598
30030
  meteredFeatureId: string;
@@ -29652,6 +30084,11 @@ add?: number;
29652
30084
  }>;
29653
30085
  /** Credits consumed per billing-unit group. */
29654
30086
  creditCost: number;
30087
+ } | {
30088
+ /** ID of the metered feature to remove from the credit system. */
30089
+ meteredFeatureId: string;
30090
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
30091
+ excluded: true;
29655
30092
  }>;
29656
30093
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
29657
30094
  markups?: {
@@ -29804,7 +30241,7 @@ length: number;
29804
30241
  };
29805
30242
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
29806
30243
  featureOverride?: {
29807
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
30244
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
29808
30245
  creditSchema?: Array<{
29809
30246
  /** ID of the metered feature that draws from this credit system. */
29810
30247
  meteredFeatureId: string;
@@ -29874,6 +30311,11 @@ add?: number;
29874
30311
  }>;
29875
30312
  /** Credits consumed per billing-unit group. */
29876
30313
  creditCost: number;
30314
+ } | {
30315
+ /** ID of the metered feature to remove from the credit system. */
30316
+ meteredFeatureId: string;
30317
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
30318
+ excluded: true;
29877
30319
  }>;
29878
30320
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
29879
30321
  markups?: {
@@ -30271,7 +30713,7 @@ length: number;
30271
30713
  } | null;
30272
30714
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
30273
30715
  featureOverride?: {
30274
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
30716
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
30275
30717
  creditSchema?: Array<{
30276
30718
  /** ID of the metered feature that draws from this credit system. */
30277
30719
  meteredFeatureId: string;
@@ -30331,6 +30773,11 @@ add?: number;
30331
30773
  }>;
30332
30774
  /** Credits consumed per billing-unit group. */
30333
30775
  creditCost: number;
30776
+ } | {
30777
+ /** ID of the metered feature to remove from the credit system. */
30778
+ meteredFeatureId: string;
30779
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
30780
+ excluded: true;
30334
30781
  }>;
30335
30782
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
30336
30783
  markups?: {
@@ -30454,7 +30901,7 @@ length: number;
30454
30901
  };
30455
30902
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
30456
30903
  featureOverride?: {
30457
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
30904
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
30458
30905
  creditSchema?: Array<{
30459
30906
  /** ID of the metered feature that draws from this credit system. */
30460
30907
  meteredFeatureId: string;
@@ -30514,6 +30961,11 @@ add?: number;
30514
30961
  }>;
30515
30962
  /** Credits consumed per billing-unit group. */
30516
30963
  creditCost: number;
30964
+ } | {
30965
+ /** ID of the metered feature to remove from the credit system. */
30966
+ meteredFeatureId: string;
30967
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
30968
+ excluded: true;
30517
30969
  }>;
30518
30970
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
30519
30971
  markups?: {
@@ -30739,7 +31191,7 @@ length: number;
30739
31191
  };
30740
31192
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
30741
31193
  featureOverride?: {
30742
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
31194
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
30743
31195
  creditSchema?: Array<{
30744
31196
  meteredFeatureId?: unknown;
30745
31197
  billingUnits?: unknown;
@@ -30753,6 +31205,9 @@ billingUnits?: unknown;
30753
31205
  dimensions?: unknown;
30754
31206
  multipliers?: unknown;
30755
31207
  creditCost?: unknown;
31208
+ } | {
31209
+ meteredFeatureId?: unknown;
31210
+ excluded?: unknown;
30756
31211
  }>;
30757
31212
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
30758
31213
  markups?: {
@@ -31245,7 +31700,7 @@ length: number;
31245
31700
  } | null;
31246
31701
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
31247
31702
  featureOverride?: {
31248
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
31703
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
31249
31704
  creditSchema?: Array<{
31250
31705
  /** ID of the metered feature that draws from this credit system. */
31251
31706
  meteredFeatureId: string;
@@ -31315,6 +31770,11 @@ add?: number;
31315
31770
  }>;
31316
31771
  /** Credits consumed per billing-unit group. */
31317
31772
  creditCost: number;
31773
+ } | {
31774
+ /** ID of the metered feature to remove from the credit system. */
31775
+ meteredFeatureId: string;
31776
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
31777
+ excluded: true;
31318
31778
  }>;
31319
31779
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
31320
31780
  markups?: {
@@ -31438,7 +31898,7 @@ length: number;
31438
31898
  };
31439
31899
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
31440
31900
  featureOverride?: {
31441
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
31901
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
31442
31902
  creditSchema?: Array<{
31443
31903
  /** ID of the metered feature that draws from this credit system. */
31444
31904
  meteredFeatureId: string;
@@ -31508,6 +31968,11 @@ add?: number;
31508
31968
  }>;
31509
31969
  /** Credits consumed per billing-unit group. */
31510
31970
  creditCost: number;
31971
+ } | {
31972
+ /** ID of the metered feature to remove from the credit system. */
31973
+ meteredFeatureId: string;
31974
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
31975
+ excluded: true;
31511
31976
  }>;
31512
31977
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
31513
31978
  markups?: {
@@ -31737,7 +32202,7 @@ length: number;
31737
32202
  };
31738
32203
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
31739
32204
  featureOverride?: {
31740
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
32205
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
31741
32206
  creditSchema?: Array<{
31742
32207
  /** ID of the metered feature that draws from this credit system. */
31743
32208
  meteredFeatureId: string;
@@ -31760,6 +32225,11 @@ dimensions?: Record<string, unknown>;
31760
32225
  multipliers?: Record<string, unknown>;
31761
32226
  /** Credits consumed per billing-unit group. */
31762
32227
  creditCost: number;
32228
+ } | {
32229
+ /** ID of the metered feature to remove from the credit system. */
32230
+ meteredFeatureId: string;
32231
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
32232
+ excluded: true;
31763
32233
  }>;
31764
32234
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
31765
32235
  markups?: {
@@ -31912,7 +32382,7 @@ length: number;
31912
32382
  };
31913
32383
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
31914
32384
  featureOverride?: {
31915
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
32385
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
31916
32386
  creditSchema?: Array<{
31917
32387
  /** ID of the metered feature that draws from this credit system. */
31918
32388
  meteredFeatureId: string;
@@ -31946,6 +32416,11 @@ add?: unknown;
31946
32416
  }>;
31947
32417
  /** Credits consumed per billing-unit group. */
31948
32418
  creditCost: number;
32419
+ } | {
32420
+ /** ID of the metered feature to remove from the credit system. */
32421
+ meteredFeatureId: string;
32422
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
32423
+ excluded: true;
31949
32424
  }>;
31950
32425
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
31951
32426
  markups?: {
@@ -32340,7 +32815,7 @@ length: number;
32340
32815
  } | null;
32341
32816
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
32342
32817
  featureOverride?: {
32343
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
32818
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
32344
32819
  creditSchema?: Array<{
32345
32820
  /** ID of the metered feature that draws from this credit system. */
32346
32821
  meteredFeatureId: string;
@@ -32363,6 +32838,11 @@ dimensions?: Record<string, unknown>;
32363
32838
  multipliers?: Record<string, unknown>;
32364
32839
  /** Credits consumed per billing-unit group. */
32365
32840
  creditCost: number;
32841
+ } | {
32842
+ /** ID of the metered feature to remove from the credit system. */
32843
+ meteredFeatureId: string;
32844
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
32845
+ excluded: true;
32366
32846
  }>;
32367
32847
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
32368
32848
  markups?: {
@@ -32483,7 +32963,7 @@ length: number;
32483
32963
  };
32484
32964
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
32485
32965
  featureOverride?: {
32486
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
32966
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
32487
32967
  creditSchema?: Array<{
32488
32968
  /** ID of the metered feature that draws from this credit system. */
32489
32969
  meteredFeatureId: string;
@@ -32506,6 +32986,11 @@ dimensions?: Record<string, unknown>;
32506
32986
  multipliers?: Record<string, unknown>;
32507
32987
  /** Credits consumed per billing-unit group. */
32508
32988
  creditCost: number;
32989
+ } | {
32990
+ /** ID of the metered feature to remove from the credit system. */
32991
+ meteredFeatureId: string;
32992
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
32993
+ excluded: true;
32509
32994
  }>;
32510
32995
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
32511
32996
  markups?: {
@@ -32721,7 +33206,7 @@ length: number;
32721
33206
  };
32722
33207
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
32723
33208
  featureOverride?: {
32724
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
33209
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
32725
33210
  creditSchema?: Array<unknown | null>;
32726
33211
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
32727
33212
  markups?: {
@@ -33195,7 +33680,7 @@ length: number;
33195
33680
  } | null;
33196
33681
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
33197
33682
  featureOverride?: {
33198
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
33683
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
33199
33684
  creditSchema?: Array<{
33200
33685
  /** ID of the metered feature that draws from this credit system. */
33201
33686
  meteredFeatureId: string;
@@ -33275,6 +33760,11 @@ add?: number;
33275
33760
  }>;
33276
33761
  /** Credits consumed per billing-unit group. */
33277
33762
  creditCost: number;
33763
+ } | {
33764
+ /** ID of the metered feature to remove from the credit system. */
33765
+ meteredFeatureId: string;
33766
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
33767
+ excluded: true;
33278
33768
  }>;
33279
33769
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
33280
33770
  markups?: {
@@ -33398,7 +33888,7 @@ length: number;
33398
33888
  };
33399
33889
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
33400
33890
  featureOverride?: {
33401
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
33891
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
33402
33892
  creditSchema?: Array<{
33403
33893
  /** ID of the metered feature that draws from this credit system. */
33404
33894
  meteredFeatureId: string;
@@ -33478,6 +33968,11 @@ add?: number;
33478
33968
  }>;
33479
33969
  /** Credits consumed per billing-unit group. */
33480
33970
  creditCost: number;
33971
+ } | {
33972
+ /** ID of the metered feature to remove from the credit system. */
33973
+ meteredFeatureId: string;
33974
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
33975
+ excluded: true;
33481
33976
  }>;
33482
33977
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
33483
33978
  markups?: {
@@ -33710,7 +34205,7 @@ length: number;
33710
34205
  };
33711
34206
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
33712
34207
  featureOverride?: {
33713
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
34208
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
33714
34209
  creditSchema?: Array<{
33715
34210
  /** ID of the metered feature that draws from this credit system. */
33716
34211
  meteredFeatureId: string;
@@ -33770,6 +34265,11 @@ add?: number;
33770
34265
  }>;
33771
34266
  /** Credits consumed per billing-unit group. */
33772
34267
  creditCost: number;
34268
+ } | {
34269
+ /** ID of the metered feature to remove from the credit system. */
34270
+ meteredFeatureId: string;
34271
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
34272
+ excluded: true;
33773
34273
  }>;
33774
34274
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
33775
34275
  markups?: {
@@ -33922,7 +34422,7 @@ length: number;
33922
34422
  };
33923
34423
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
33924
34424
  featureOverride?: {
33925
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
34425
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
33926
34426
  creditSchema?: Array<{
33927
34427
  /** ID of the metered feature that draws from this credit system. */
33928
34428
  meteredFeatureId: string;
@@ -33992,6 +34492,11 @@ add?: number;
33992
34492
  }>;
33993
34493
  /** Credits consumed per billing-unit group. */
33994
34494
  creditCost: number;
34495
+ } | {
34496
+ /** ID of the metered feature to remove from the credit system. */
34497
+ meteredFeatureId: string;
34498
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
34499
+ excluded: true;
33995
34500
  }>;
33996
34501
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
33997
34502
  markups?: {
@@ -34389,7 +34894,7 @@ length: number;
34389
34894
  } | null;
34390
34895
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
34391
34896
  featureOverride?: {
34392
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
34897
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
34393
34898
  creditSchema?: Array<{
34394
34899
  /** ID of the metered feature that draws from this credit system. */
34395
34900
  meteredFeatureId: string;
@@ -34449,6 +34954,11 @@ add?: number;
34449
34954
  }>;
34450
34955
  /** Credits consumed per billing-unit group. */
34451
34956
  creditCost: number;
34957
+ } | {
34958
+ /** ID of the metered feature to remove from the credit system. */
34959
+ meteredFeatureId: string;
34960
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
34961
+ excluded: true;
34452
34962
  }>;
34453
34963
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
34454
34964
  markups?: {
@@ -34572,7 +35082,7 @@ length: number;
34572
35082
  };
34573
35083
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
34574
35084
  featureOverride?: {
34575
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
35085
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
34576
35086
  creditSchema?: Array<{
34577
35087
  /** ID of the metered feature that draws from this credit system. */
34578
35088
  meteredFeatureId: string;
@@ -34632,6 +35142,11 @@ add?: number;
34632
35142
  }>;
34633
35143
  /** Credits consumed per billing-unit group. */
34634
35144
  creditCost: number;
35145
+ } | {
35146
+ /** ID of the metered feature to remove from the credit system. */
35147
+ meteredFeatureId: string;
35148
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
35149
+ excluded: true;
34635
35150
  }>;
34636
35151
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
34637
35152
  markups?: {
@@ -34857,7 +35372,7 @@ length: number;
34857
35372
  };
34858
35373
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
34859
35374
  featureOverride?: {
34860
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
35375
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
34861
35376
  creditSchema?: Array<{
34862
35377
  meteredFeatureId?: unknown;
34863
35378
  billingUnits?: unknown;
@@ -34871,6 +35386,9 @@ billingUnits?: unknown;
34871
35386
  dimensions?: unknown;
34872
35387
  multipliers?: unknown;
34873
35388
  creditCost?: unknown;
35389
+ } | {
35390
+ meteredFeatureId?: unknown;
35391
+ excluded?: unknown;
34874
35392
  }>;
34875
35393
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
34876
35394
  markups?: {
@@ -35361,7 +35879,7 @@ length: number;
35361
35879
  } | null;
35362
35880
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
35363
35881
  featureOverride?: {
35364
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
35882
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
35365
35883
  creditSchema?: Array<{
35366
35884
  /** ID of the metered feature that draws from this credit system. */
35367
35885
  meteredFeatureId: string;
@@ -35431,6 +35949,11 @@ add?: number;
35431
35949
  }>;
35432
35950
  /** Credits consumed per billing-unit group. */
35433
35951
  creditCost: number;
35952
+ } | {
35953
+ /** ID of the metered feature to remove from the credit system. */
35954
+ meteredFeatureId: string;
35955
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
35956
+ excluded: true;
35434
35957
  }>;
35435
35958
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
35436
35959
  markups?: {
@@ -35554,7 +36077,7 @@ length: number;
35554
36077
  };
35555
36078
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
35556
36079
  featureOverride?: {
35557
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
36080
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
35558
36081
  creditSchema?: Array<{
35559
36082
  /** ID of the metered feature that draws from this credit system. */
35560
36083
  meteredFeatureId: string;
@@ -35624,6 +36147,11 @@ add?: number;
35624
36147
  }>;
35625
36148
  /** Credits consumed per billing-unit group. */
35626
36149
  creditCost: number;
36150
+ } | {
36151
+ /** ID of the metered feature to remove from the credit system. */
36152
+ meteredFeatureId: string;
36153
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
36154
+ excluded: true;
35627
36155
  }>;
35628
36156
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
35629
36157
  markups?: {
@@ -35853,7 +36381,7 @@ length: number;
35853
36381
  };
35854
36382
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
35855
36383
  featureOverride?: {
35856
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
36384
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
35857
36385
  creditSchema?: Array<{
35858
36386
  /** ID of the metered feature that draws from this credit system. */
35859
36387
  meteredFeatureId: string;
@@ -35876,6 +36404,11 @@ dimensions?: Record<string, unknown>;
35876
36404
  multipliers?: Record<string, unknown>;
35877
36405
  /** Credits consumed per billing-unit group. */
35878
36406
  creditCost: number;
36407
+ } | {
36408
+ /** ID of the metered feature to remove from the credit system. */
36409
+ meteredFeatureId: string;
36410
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
36411
+ excluded: true;
35879
36412
  }>;
35880
36413
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
35881
36414
  markups?: {
@@ -36028,7 +36561,7 @@ length: number;
36028
36561
  };
36029
36562
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
36030
36563
  featureOverride?: {
36031
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
36564
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
36032
36565
  creditSchema?: Array<{
36033
36566
  /** ID of the metered feature that draws from this credit system. */
36034
36567
  meteredFeatureId: string;
@@ -36062,6 +36595,11 @@ add?: unknown;
36062
36595
  }>;
36063
36596
  /** Credits consumed per billing-unit group. */
36064
36597
  creditCost: number;
36598
+ } | {
36599
+ /** ID of the metered feature to remove from the credit system. */
36600
+ meteredFeatureId: string;
36601
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
36602
+ excluded: true;
36065
36603
  }>;
36066
36604
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
36067
36605
  markups?: {
@@ -36456,7 +36994,7 @@ length: number;
36456
36994
  } | null;
36457
36995
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
36458
36996
  featureOverride?: {
36459
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
36997
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
36460
36998
  creditSchema?: Array<{
36461
36999
  /** ID of the metered feature that draws from this credit system. */
36462
37000
  meteredFeatureId: string;
@@ -36479,6 +37017,11 @@ dimensions?: Record<string, unknown>;
36479
37017
  multipliers?: Record<string, unknown>;
36480
37018
  /** Credits consumed per billing-unit group. */
36481
37019
  creditCost: number;
37020
+ } | {
37021
+ /** ID of the metered feature to remove from the credit system. */
37022
+ meteredFeatureId: string;
37023
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
37024
+ excluded: true;
36482
37025
  }>;
36483
37026
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
36484
37027
  markups?: {
@@ -36599,7 +37142,7 @@ length: number;
36599
37142
  };
36600
37143
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
36601
37144
  featureOverride?: {
36602
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
37145
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
36603
37146
  creditSchema?: Array<{
36604
37147
  /** ID of the metered feature that draws from this credit system. */
36605
37148
  meteredFeatureId: string;
@@ -36622,6 +37165,11 @@ dimensions?: Record<string, unknown>;
36622
37165
  multipliers?: Record<string, unknown>;
36623
37166
  /** Credits consumed per billing-unit group. */
36624
37167
  creditCost: number;
37168
+ } | {
37169
+ /** ID of the metered feature to remove from the credit system. */
37170
+ meteredFeatureId: string;
37171
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
37172
+ excluded: true;
36625
37173
  }>;
36626
37174
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
36627
37175
  markups?: {
@@ -36837,7 +37385,7 @@ length: number;
36837
37385
  };
36838
37386
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
36839
37387
  featureOverride?: {
36840
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
37388
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
36841
37389
  creditSchema?: Array<unknown | null>;
36842
37390
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
36843
37391
  markups?: {
@@ -37319,7 +37867,7 @@ length: number;
37319
37867
  } | null;
37320
37868
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
37321
37869
  featureOverride?: {
37322
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
37870
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
37323
37871
  creditSchema?: Array<{
37324
37872
  /** ID of the metered feature that draws from this credit system. */
37325
37873
  meteredFeatureId: string;
@@ -37399,6 +37947,11 @@ add?: number;
37399
37947
  }>;
37400
37948
  /** Credits consumed per billing-unit group. */
37401
37949
  creditCost: number;
37950
+ } | {
37951
+ /** ID of the metered feature to remove from the credit system. */
37952
+ meteredFeatureId: string;
37953
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
37954
+ excluded: true;
37402
37955
  }>;
37403
37956
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
37404
37957
  markups?: {
@@ -37522,7 +38075,7 @@ length: number;
37522
38075
  };
37523
38076
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
37524
38077
  featureOverride?: {
37525
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
38078
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
37526
38079
  creditSchema?: Array<{
37527
38080
  /** ID of the metered feature that draws from this credit system. */
37528
38081
  meteredFeatureId: string;
@@ -37602,6 +38155,11 @@ add?: number;
37602
38155
  }>;
37603
38156
  /** Credits consumed per billing-unit group. */
37604
38157
  creditCost: number;
38158
+ } | {
38159
+ /** ID of the metered feature to remove from the credit system. */
38160
+ meteredFeatureId: string;
38161
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
38162
+ excluded: true;
37605
38163
  }>;
37606
38164
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
37607
38165
  markups?: {
@@ -37834,7 +38392,7 @@ length: number;
37834
38392
  };
37835
38393
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
37836
38394
  featureOverride?: {
37837
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
38395
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
37838
38396
  creditSchema?: Array<{
37839
38397
  /** ID of the metered feature that draws from this credit system. */
37840
38398
  meteredFeatureId: string;
@@ -37910,6 +38468,11 @@ add?: number;
37910
38468
  }>;
37911
38469
  /** Credits consumed per billing-unit group. */
37912
38470
  creditCost: number;
38471
+ } | {
38472
+ /** ID of the metered feature to remove from the credit system. */
38473
+ meteredFeatureId: string;
38474
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
38475
+ excluded: true;
37913
38476
  }>;
37914
38477
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
37915
38478
  markups?: {
@@ -38062,7 +38625,7 @@ length: number;
38062
38625
  };
38063
38626
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
38064
38627
  featureOverride?: {
38065
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
38628
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
38066
38629
  creditSchema?: Array<{
38067
38630
  /** ID of the metered feature that draws from this credit system. */
38068
38631
  meteredFeatureId: string;
@@ -38142,6 +38705,11 @@ add?: number;
38142
38705
  }>;
38143
38706
  /** Credits consumed per billing-unit group. */
38144
38707
  creditCost: number;
38708
+ } | {
38709
+ /** ID of the metered feature to remove from the credit system. */
38710
+ meteredFeatureId: string;
38711
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
38712
+ excluded: true;
38145
38713
  }>;
38146
38714
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
38147
38715
  markups?: {
@@ -38539,7 +39107,7 @@ length: number;
38539
39107
  } | null;
38540
39108
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
38541
39109
  featureOverride?: {
38542
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
39110
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
38543
39111
  creditSchema?: Array<{
38544
39112
  /** ID of the metered feature that draws from this credit system. */
38545
39113
  meteredFeatureId: string;
@@ -38615,6 +39183,11 @@ add?: number;
38615
39183
  }>;
38616
39184
  /** Credits consumed per billing-unit group. */
38617
39185
  creditCost: number;
39186
+ } | {
39187
+ /** ID of the metered feature to remove from the credit system. */
39188
+ meteredFeatureId: string;
39189
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
39190
+ excluded: true;
38618
39191
  }>;
38619
39192
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
38620
39193
  markups?: {
@@ -38738,7 +39311,7 @@ length: number;
38738
39311
  };
38739
39312
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
38740
39313
  featureOverride?: {
38741
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
39314
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
38742
39315
  creditSchema?: Array<{
38743
39316
  /** ID of the metered feature that draws from this credit system. */
38744
39317
  meteredFeatureId: string;
@@ -38814,6 +39387,11 @@ add?: number;
38814
39387
  }>;
38815
39388
  /** Credits consumed per billing-unit group. */
38816
39389
  creditCost: number;
39390
+ } | {
39391
+ /** ID of the metered feature to remove from the credit system. */
39392
+ meteredFeatureId: string;
39393
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
39394
+ excluded: true;
38817
39395
  }>;
38818
39396
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
38819
39397
  markups?: {
@@ -39046,7 +39624,7 @@ length: number;
39046
39624
  };
39047
39625
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
39048
39626
  featureOverride?: {
39049
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
39627
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
39050
39628
  creditSchema?: Array<{
39051
39629
  /** ID of the metered feature that draws from this credit system. */
39052
39630
  meteredFeatureId: string;
@@ -39080,6 +39658,11 @@ add?: unknown;
39080
39658
  }>;
39081
39659
  /** Credits consumed per billing-unit group. */
39082
39660
  creditCost: number;
39661
+ } | {
39662
+ /** ID of the metered feature to remove from the credit system. */
39663
+ meteredFeatureId: string;
39664
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
39665
+ excluded: true;
39083
39666
  }>;
39084
39667
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
39085
39668
  markups?: {
@@ -39572,7 +40155,7 @@ length: number;
39572
40155
  } | null;
39573
40156
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
39574
40157
  featureOverride?: {
39575
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
40158
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
39576
40159
  creditSchema?: Array<{
39577
40160
  /** ID of the metered feature that draws from this credit system. */
39578
40161
  meteredFeatureId: string;
@@ -39652,6 +40235,11 @@ add?: number;
39652
40235
  }>;
39653
40236
  /** Credits consumed per billing-unit group. */
39654
40237
  creditCost: number;
40238
+ } | {
40239
+ /** ID of the metered feature to remove from the credit system. */
40240
+ meteredFeatureId: string;
40241
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
40242
+ excluded: true;
39655
40243
  }>;
39656
40244
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
39657
40245
  markups?: {
@@ -39775,7 +40363,7 @@ length: number;
39775
40363
  };
39776
40364
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
39777
40365
  featureOverride?: {
39778
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
40366
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
39779
40367
  creditSchema?: Array<{
39780
40368
  /** ID of the metered feature that draws from this credit system. */
39781
40369
  meteredFeatureId: string;
@@ -39855,6 +40443,11 @@ add?: number;
39855
40443
  }>;
39856
40444
  /** Credits consumed per billing-unit group. */
39857
40445
  creditCost: number;
40446
+ } | {
40447
+ /** ID of the metered feature to remove from the credit system. */
40448
+ meteredFeatureId: string;
40449
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
40450
+ excluded: true;
39858
40451
  }>;
39859
40452
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
39860
40453
  markups?: {
@@ -40087,7 +40680,7 @@ length: number;
40087
40680
  };
40088
40681
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
40089
40682
  featureOverride?: {
40090
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
40683
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
40091
40684
  creditSchema?: Array<{
40092
40685
  /** ID of the metered feature that draws from this credit system. */
40093
40686
  meteredFeatureId: string;
@@ -40147,6 +40740,11 @@ add?: number;
40147
40740
  }>;
40148
40741
  /** Credits consumed per billing-unit group. */
40149
40742
  creditCost: number;
40743
+ } | {
40744
+ /** ID of the metered feature to remove from the credit system. */
40745
+ meteredFeatureId: string;
40746
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
40747
+ excluded: true;
40150
40748
  }>;
40151
40749
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
40152
40750
  markups?: {
@@ -40299,7 +40897,7 @@ length: number;
40299
40897
  };
40300
40898
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
40301
40899
  featureOverride?: {
40302
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
40900
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
40303
40901
  creditSchema?: Array<{
40304
40902
  /** ID of the metered feature that draws from this credit system. */
40305
40903
  meteredFeatureId: string;
@@ -40369,6 +40967,11 @@ add?: number;
40369
40967
  }>;
40370
40968
  /** Credits consumed per billing-unit group. */
40371
40969
  creditCost: number;
40970
+ } | {
40971
+ /** ID of the metered feature to remove from the credit system. */
40972
+ meteredFeatureId: string;
40973
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
40974
+ excluded: true;
40372
40975
  }>;
40373
40976
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
40374
40977
  markups?: {
@@ -40766,7 +41369,7 @@ length: number;
40766
41369
  } | null;
40767
41370
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
40768
41371
  featureOverride?: {
40769
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
41372
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
40770
41373
  creditSchema?: Array<{
40771
41374
  /** ID of the metered feature that draws from this credit system. */
40772
41375
  meteredFeatureId: string;
@@ -40826,6 +41429,11 @@ add?: number;
40826
41429
  }>;
40827
41430
  /** Credits consumed per billing-unit group. */
40828
41431
  creditCost: number;
41432
+ } | {
41433
+ /** ID of the metered feature to remove from the credit system. */
41434
+ meteredFeatureId: string;
41435
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
41436
+ excluded: true;
40829
41437
  }>;
40830
41438
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
40831
41439
  markups?: {
@@ -40949,7 +41557,7 @@ length: number;
40949
41557
  };
40950
41558
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
40951
41559
  featureOverride?: {
40952
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
41560
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
40953
41561
  creditSchema?: Array<{
40954
41562
  /** ID of the metered feature that draws from this credit system. */
40955
41563
  meteredFeatureId: string;
@@ -41009,6 +41617,11 @@ add?: number;
41009
41617
  }>;
41010
41618
  /** Credits consumed per billing-unit group. */
41011
41619
  creditCost: number;
41620
+ } | {
41621
+ /** ID of the metered feature to remove from the credit system. */
41622
+ meteredFeatureId: string;
41623
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
41624
+ excluded: true;
41012
41625
  }>;
41013
41626
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
41014
41627
  markups?: {
@@ -41234,7 +41847,7 @@ length: number;
41234
41847
  };
41235
41848
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
41236
41849
  featureOverride?: {
41237
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
41850
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
41238
41851
  creditSchema?: Array<{
41239
41852
  meteredFeatureId?: unknown;
41240
41853
  billingUnits?: unknown;
@@ -41248,6 +41861,9 @@ billingUnits?: unknown;
41248
41861
  dimensions?: unknown;
41249
41862
  multipliers?: unknown;
41250
41863
  creditCost?: unknown;
41864
+ } | {
41865
+ meteredFeatureId?: unknown;
41866
+ excluded?: unknown;
41251
41867
  }>;
41252
41868
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
41253
41869
  markups?: {
@@ -41730,7 +42346,7 @@ length: number;
41730
42346
  } | null;
41731
42347
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
41732
42348
  featureOverride?: {
41733
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
42349
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
41734
42350
  creditSchema?: Array<{
41735
42351
  /** ID of the metered feature that draws from this credit system. */
41736
42352
  meteredFeatureId: string;
@@ -41810,6 +42426,11 @@ add?: number;
41810
42426
  }>;
41811
42427
  /** Credits consumed per billing-unit group. */
41812
42428
  creditCost: number;
42429
+ } | {
42430
+ /** ID of the metered feature to remove from the credit system. */
42431
+ meteredFeatureId: string;
42432
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
42433
+ excluded: true;
41813
42434
  }>;
41814
42435
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
41815
42436
  markups?: {
@@ -41933,7 +42554,7 @@ length: number;
41933
42554
  };
41934
42555
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
41935
42556
  featureOverride?: {
41936
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
42557
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
41937
42558
  creditSchema?: Array<{
41938
42559
  /** ID of the metered feature that draws from this credit system. */
41939
42560
  meteredFeatureId: string;
@@ -42013,6 +42634,11 @@ add?: number;
42013
42634
  }>;
42014
42635
  /** Credits consumed per billing-unit group. */
42015
42636
  creditCost: number;
42637
+ } | {
42638
+ /** ID of the metered feature to remove from the credit system. */
42639
+ meteredFeatureId: string;
42640
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
42641
+ excluded: true;
42016
42642
  }>;
42017
42643
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
42018
42644
  markups?: {
@@ -42245,7 +42871,7 @@ length: number;
42245
42871
  };
42246
42872
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
42247
42873
  featureOverride?: {
42248
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
42874
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
42249
42875
  creditSchema?: Array<{
42250
42876
  /** ID of the metered feature that draws from this credit system. */
42251
42877
  meteredFeatureId: string;
@@ -42321,6 +42947,11 @@ add?: number;
42321
42947
  }>;
42322
42948
  /** Credits consumed per billing-unit group. */
42323
42949
  creditCost: number;
42950
+ } | {
42951
+ /** ID of the metered feature to remove from the credit system. */
42952
+ meteredFeatureId: string;
42953
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
42954
+ excluded: true;
42324
42955
  }>;
42325
42956
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
42326
42957
  markups?: {
@@ -42473,7 +43104,7 @@ length: number;
42473
43104
  };
42474
43105
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
42475
43106
  featureOverride?: {
42476
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
43107
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
42477
43108
  creditSchema?: Array<{
42478
43109
  /** ID of the metered feature that draws from this credit system. */
42479
43110
  meteredFeatureId: string;
@@ -42553,6 +43184,11 @@ add?: number;
42553
43184
  }>;
42554
43185
  /** Credits consumed per billing-unit group. */
42555
43186
  creditCost: number;
43187
+ } | {
43188
+ /** ID of the metered feature to remove from the credit system. */
43189
+ meteredFeatureId: string;
43190
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
43191
+ excluded: true;
42556
43192
  }>;
42557
43193
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
42558
43194
  markups?: {
@@ -42950,7 +43586,7 @@ length: number;
42950
43586
  } | null;
42951
43587
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
42952
43588
  featureOverride?: {
42953
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
43589
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
42954
43590
  creditSchema?: Array<{
42955
43591
  /** ID of the metered feature that draws from this credit system. */
42956
43592
  meteredFeatureId: string;
@@ -43026,6 +43662,11 @@ add?: number;
43026
43662
  }>;
43027
43663
  /** Credits consumed per billing-unit group. */
43028
43664
  creditCost: number;
43665
+ } | {
43666
+ /** ID of the metered feature to remove from the credit system. */
43667
+ meteredFeatureId: string;
43668
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
43669
+ excluded: true;
43029
43670
  }>;
43030
43671
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
43031
43672
  markups?: {
@@ -43149,7 +43790,7 @@ length: number;
43149
43790
  };
43150
43791
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
43151
43792
  featureOverride?: {
43152
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
43793
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
43153
43794
  creditSchema?: Array<{
43154
43795
  /** ID of the metered feature that draws from this credit system. */
43155
43796
  meteredFeatureId: string;
@@ -43225,6 +43866,11 @@ add?: number;
43225
43866
  }>;
43226
43867
  /** Credits consumed per billing-unit group. */
43227
43868
  creditCost: number;
43869
+ } | {
43870
+ /** ID of the metered feature to remove from the credit system. */
43871
+ meteredFeatureId: string;
43872
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
43873
+ excluded: true;
43228
43874
  }>;
43229
43875
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
43230
43876
  markups?: {
@@ -43457,7 +44103,7 @@ length: number;
43457
44103
  };
43458
44104
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
43459
44105
  featureOverride?: {
43460
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
44106
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
43461
44107
  creditSchema?: Array<{
43462
44108
  /** ID of the metered feature that draws from this credit system. */
43463
44109
  meteredFeatureId: string;
@@ -43491,6 +44137,11 @@ add?: unknown;
43491
44137
  }>;
43492
44138
  /** Credits consumed per billing-unit group. */
43493
44139
  creditCost: number;
44140
+ } | {
44141
+ /** ID of the metered feature to remove from the credit system. */
44142
+ meteredFeatureId: string;
44143
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
44144
+ excluded: true;
43494
44145
  }>;
43495
44146
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
43496
44147
  markups?: {
@@ -43981,7 +44632,7 @@ length: number;
43981
44632
  } | null;
43982
44633
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
43983
44634
  featureOverride?: {
43984
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
44635
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
43985
44636
  creditSchema?: Array<{
43986
44637
  /** ID of the metered feature that draws from this credit system. */
43987
44638
  meteredFeatureId: string;
@@ -44061,6 +44712,11 @@ add?: number;
44061
44712
  }>;
44062
44713
  /** Credits consumed per billing-unit group. */
44063
44714
  creditCost: number;
44715
+ } | {
44716
+ /** ID of the metered feature to remove from the credit system. */
44717
+ meteredFeatureId: string;
44718
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
44719
+ excluded: true;
44064
44720
  }>;
44065
44721
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
44066
44722
  markups?: {
@@ -44184,7 +44840,7 @@ length: number;
44184
44840
  };
44185
44841
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
44186
44842
  featureOverride?: {
44187
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
44843
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
44188
44844
  creditSchema?: Array<{
44189
44845
  /** ID of the metered feature that draws from this credit system. */
44190
44846
  meteredFeatureId: string;
@@ -44264,6 +44920,11 @@ add?: number;
44264
44920
  }>;
44265
44921
  /** Credits consumed per billing-unit group. */
44266
44922
  creditCost: number;
44923
+ } | {
44924
+ /** ID of the metered feature to remove from the credit system. */
44925
+ meteredFeatureId: string;
44926
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
44927
+ excluded: true;
44267
44928
  }>;
44268
44929
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
44269
44930
  markups?: {
@@ -44496,7 +45157,7 @@ length: number;
44496
45157
  };
44497
45158
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
44498
45159
  featureOverride?: {
44499
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
45160
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
44500
45161
  creditSchema?: Array<{
44501
45162
  /** ID of the metered feature that draws from this credit system. */
44502
45163
  meteredFeatureId: string;
@@ -44556,6 +45217,11 @@ add?: number;
44556
45217
  }>;
44557
45218
  /** Credits consumed per billing-unit group. */
44558
45219
  creditCost: number;
45220
+ } | {
45221
+ /** ID of the metered feature to remove from the credit system. */
45222
+ meteredFeatureId: string;
45223
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
45224
+ excluded: true;
44559
45225
  }>;
44560
45226
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
44561
45227
  markups?: {
@@ -44708,7 +45374,7 @@ length: number;
44708
45374
  };
44709
45375
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
44710
45376
  featureOverride?: {
44711
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
45377
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
44712
45378
  creditSchema?: Array<{
44713
45379
  /** ID of the metered feature that draws from this credit system. */
44714
45380
  meteredFeatureId: string;
@@ -44778,6 +45444,11 @@ add?: number;
44778
45444
  }>;
44779
45445
  /** Credits consumed per billing-unit group. */
44780
45446
  creditCost: number;
45447
+ } | {
45448
+ /** ID of the metered feature to remove from the credit system. */
45449
+ meteredFeatureId: string;
45450
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
45451
+ excluded: true;
44781
45452
  }>;
44782
45453
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
44783
45454
  markups?: {
@@ -45175,7 +45846,7 @@ length: number;
45175
45846
  } | null;
45176
45847
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
45177
45848
  featureOverride?: {
45178
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
45849
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
45179
45850
  creditSchema?: Array<{
45180
45851
  /** ID of the metered feature that draws from this credit system. */
45181
45852
  meteredFeatureId: string;
@@ -45235,6 +45906,11 @@ add?: number;
45235
45906
  }>;
45236
45907
  /** Credits consumed per billing-unit group. */
45237
45908
  creditCost: number;
45909
+ } | {
45910
+ /** ID of the metered feature to remove from the credit system. */
45911
+ meteredFeatureId: string;
45912
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
45913
+ excluded: true;
45238
45914
  }>;
45239
45915
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
45240
45916
  markups?: {
@@ -45358,7 +46034,7 @@ length: number;
45358
46034
  };
45359
46035
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
45360
46036
  featureOverride?: {
45361
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
46037
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
45362
46038
  creditSchema?: Array<{
45363
46039
  /** ID of the metered feature that draws from this credit system. */
45364
46040
  meteredFeatureId: string;
@@ -45418,6 +46094,11 @@ add?: number;
45418
46094
  }>;
45419
46095
  /** Credits consumed per billing-unit group. */
45420
46096
  creditCost: number;
46097
+ } | {
46098
+ /** ID of the metered feature to remove from the credit system. */
46099
+ meteredFeatureId: string;
46100
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
46101
+ excluded: true;
45421
46102
  }>;
45422
46103
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
45423
46104
  markups?: {
@@ -45643,7 +46324,7 @@ length: number;
45643
46324
  };
45644
46325
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
45645
46326
  featureOverride?: {
45646
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
46327
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
45647
46328
  creditSchema?: Array<{
45648
46329
  meteredFeatureId?: unknown;
45649
46330
  billingUnits?: unknown;
@@ -45657,6 +46338,9 @@ billingUnits?: unknown;
45657
46338
  dimensions?: unknown;
45658
46339
  multipliers?: unknown;
45659
46340
  creditCost?: unknown;
46341
+ } | {
46342
+ meteredFeatureId?: unknown;
46343
+ excluded?: unknown;
45660
46344
  }>;
45661
46345
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
45662
46346
  markups?: {
@@ -45845,7 +46529,7 @@ length: number;
45845
46529
  };
45846
46530
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
45847
46531
  featureOverride?: {
45848
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
46532
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
45849
46533
  creditSchema?: Array<{
45850
46534
  /** ID of the metered feature that draws from this credit system. */
45851
46535
  meteredFeatureId: string;
@@ -45925,6 +46609,11 @@ add?: number;
45925
46609
  }>;
45926
46610
  /** Credits consumed per billing-unit group. */
45927
46611
  creditCost: number;
46612
+ } | {
46613
+ /** ID of the metered feature to remove from the credit system. */
46614
+ meteredFeatureId: string;
46615
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
46616
+ excluded: true;
45928
46617
  }>;
45929
46618
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
45930
46619
  markups?: {
@@ -47724,7 +48413,7 @@ length: number;
47724
48413
  };
47725
48414
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
47726
48415
  featureOverride?: {
47727
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
48416
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
47728
48417
  creditSchema?: Array<{
47729
48418
  /** ID of the metered feature that draws from this credit system. */
47730
48419
  meteredFeatureId: string;
@@ -47804,6 +48493,11 @@ add?: number;
47804
48493
  }>;
47805
48494
  /** Credits consumed per billing-unit group. */
47806
48495
  creditCost: number;
48496
+ } | {
48497
+ /** ID of the metered feature to remove from the credit system. */
48498
+ meteredFeatureId: string;
48499
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
48500
+ excluded: true;
47807
48501
  }>;
47808
48502
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
47809
48503
  markups?: {
@@ -47836,7 +48530,7 @@ intervalCount?: number;
47836
48530
  included?: number;
47837
48531
  /** The matched item's feature_override before the update; empty when it inherited the feature's. */
47838
48532
  previousFeatureOverride?: {
47839
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
48533
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
47840
48534
  creditSchema?: Array<{
47841
48535
  /** ID of the metered feature that draws from this credit system. */
47842
48536
  meteredFeatureId: string;
@@ -47916,6 +48610,11 @@ add?: number;
47916
48610
  }>;
47917
48611
  /** Credits consumed per billing-unit group. */
47918
48612
  creditCost: number;
48613
+ } | {
48614
+ /** ID of the metered feature to remove from the credit system. */
48615
+ meteredFeatureId: string;
48616
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
48617
+ excluded: true;
47919
48618
  }>;
47920
48619
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
47921
48620
  markups?: {
@@ -48060,7 +48759,7 @@ length: number;
48060
48759
  };
48061
48760
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
48062
48761
  featureOverride?: {
48063
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
48762
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
48064
48763
  creditSchema?: Array<{
48065
48764
  /** ID of the metered feature that draws from this credit system. */
48066
48765
  meteredFeatureId: string;
@@ -48130,6 +48829,11 @@ add?: number;
48130
48829
  }>;
48131
48830
  /** Credits consumed per billing-unit group. */
48132
48831
  creditCost: number;
48832
+ } | {
48833
+ /** ID of the metered feature to remove from the credit system. */
48834
+ meteredFeatureId: string;
48835
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
48836
+ excluded: true;
48133
48837
  }>;
48134
48838
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
48135
48839
  markups?: {
@@ -50047,7 +50751,7 @@ length: number;
50047
50751
  };
50048
50752
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
50049
50753
  featureOverride?: {
50050
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
50754
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
50051
50755
  creditSchema?: Array<{
50052
50756
  /** ID of the metered feature that draws from this credit system. */
50053
50757
  meteredFeatureId: string;
@@ -50127,6 +50831,11 @@ add?: number;
50127
50831
  }>;
50128
50832
  /** Credits consumed per billing-unit group. */
50129
50833
  creditCost: number;
50834
+ } | {
50835
+ /** ID of the metered feature to remove from the credit system. */
50836
+ meteredFeatureId: string;
50837
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
50838
+ excluded: true;
50130
50839
  }>;
50131
50840
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
50132
50841
  markups?: {
@@ -50159,7 +50868,7 @@ intervalCount?: number;
50159
50868
  included?: number;
50160
50869
  /** The matched item's feature_override before the update; empty when it inherited the feature's. */
50161
50870
  previousFeatureOverride?: {
50162
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
50871
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
50163
50872
  creditSchema?: Array<{
50164
50873
  /** ID of the metered feature that draws from this credit system. */
50165
50874
  meteredFeatureId: string;
@@ -50239,6 +50948,11 @@ add?: number;
50239
50948
  }>;
50240
50949
  /** Credits consumed per billing-unit group. */
50241
50950
  creditCost: number;
50951
+ } | {
50952
+ /** ID of the metered feature to remove from the credit system. */
50953
+ meteredFeatureId: string;
50954
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
50955
+ excluded: true;
50242
50956
  }>;
50243
50957
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
50244
50958
  markups?: {
@@ -50383,7 +51097,7 @@ length: number;
50383
51097
  };
50384
51098
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
50385
51099
  featureOverride?: {
50386
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
51100
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
50387
51101
  creditSchema?: Array<{
50388
51102
  /** ID of the metered feature that draws from this credit system. */
50389
51103
  meteredFeatureId: string;
@@ -50453,6 +51167,11 @@ add?: number;
50453
51167
  }>;
50454
51168
  /** Credits consumed per billing-unit group. */
50455
51169
  creditCost: number;
51170
+ } | {
51171
+ /** ID of the metered feature to remove from the credit system. */
51172
+ meteredFeatureId: string;
51173
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
51174
+ excluded: true;
50456
51175
  }>;
50457
51176
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
50458
51177
  markups?: {
@@ -50831,7 +51550,7 @@ length: number;
50831
51550
  } | null;
50832
51551
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
50833
51552
  featureOverride?: {
50834
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
51553
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
50835
51554
  creditSchema?: Array<{
50836
51555
  /** ID of the metered feature that draws from this credit system. */
50837
51556
  meteredFeatureId: string;
@@ -50911,6 +51630,11 @@ add?: number;
50911
51630
  }>;
50912
51631
  /** Credits consumed per billing-unit group. */
50913
51632
  creditCost: number;
51633
+ } | {
51634
+ /** ID of the metered feature to remove from the credit system. */
51635
+ meteredFeatureId: string;
51636
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
51637
+ excluded: true;
50914
51638
  }>;
50915
51639
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
50916
51640
  markups?: {
@@ -51179,7 +51903,7 @@ length: number;
51179
51903
  };
51180
51904
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
51181
51905
  featureOverride?: {
51182
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
51906
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
51183
51907
  creditSchema?: Array<{
51184
51908
  /** ID of the metered feature that draws from this credit system. */
51185
51909
  meteredFeatureId: string;
@@ -51259,6 +51983,11 @@ add?: number;
51259
51983
  }>;
51260
51984
  /** Credits consumed per billing-unit group. */
51261
51985
  creditCost: number;
51986
+ } | {
51987
+ /** ID of the metered feature to remove from the credit system. */
51988
+ meteredFeatureId: string;
51989
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
51990
+ excluded: true;
51262
51991
  }>;
51263
51992
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
51264
51993
  markups?: {
@@ -51491,7 +52220,7 @@ length: number;
51491
52220
  };
51492
52221
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
51493
52222
  featureOverride?: {
51494
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
52223
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
51495
52224
  creditSchema?: Array<{
51496
52225
  /** ID of the metered feature that draws from this credit system. */
51497
52226
  meteredFeatureId: string;
@@ -51571,6 +52300,11 @@ add?: number;
51571
52300
  }>;
51572
52301
  /** Credits consumed per billing-unit group. */
51573
52302
  creditCost: number;
52303
+ } | {
52304
+ /** ID of the metered feature to remove from the credit system. */
52305
+ meteredFeatureId: string;
52306
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
52307
+ excluded: true;
51574
52308
  }>;
51575
52309
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
51576
52310
  markups?: {
@@ -51724,7 +52458,7 @@ length: number;
51724
52458
  };
51725
52459
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
51726
52460
  featureOverride?: {
51727
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
52461
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
51728
52462
  creditSchema?: Array<{
51729
52463
  /** ID of the metered feature that draws from this credit system. */
51730
52464
  meteredFeatureId: string;
@@ -51804,6 +52538,11 @@ add?: number;
51804
52538
  }>;
51805
52539
  /** Credits consumed per billing-unit group. */
51806
52540
  creditCost: number;
52541
+ } | {
52542
+ /** ID of the metered feature to remove from the credit system. */
52543
+ meteredFeatureId: string;
52544
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
52545
+ excluded: true;
51807
52546
  }>;
51808
52547
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
51809
52548
  markups?: {
@@ -51950,7 +52689,7 @@ length: number;
51950
52689
  };
51951
52690
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
51952
52691
  featureOverride?: {
51953
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
52692
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
51954
52693
  creditSchema?: Array<{
51955
52694
  /** ID of the metered feature that draws from this credit system. */
51956
52695
  meteredFeatureId: string;
@@ -52030,6 +52769,11 @@ add?: number;
52030
52769
  }>;
52031
52770
  /** Credits consumed per billing-unit group. */
52032
52771
  creditCost: number;
52772
+ } | {
52773
+ /** ID of the metered feature to remove from the credit system. */
52774
+ meteredFeatureId: string;
52775
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
52776
+ excluded: true;
52033
52777
  }>;
52034
52778
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
52035
52779
  markups?: {
@@ -52262,7 +53006,7 @@ length: number;
52262
53006
  };
52263
53007
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
52264
53008
  featureOverride?: {
52265
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
53009
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
52266
53010
  creditSchema?: Array<{
52267
53011
  /** ID of the metered feature that draws from this credit system. */
52268
53012
  meteredFeatureId: string;
@@ -52342,6 +53086,11 @@ add?: number;
52342
53086
  }>;
52343
53087
  /** Credits consumed per billing-unit group. */
52344
53088
  creditCost: number;
53089
+ } | {
53090
+ /** ID of the metered feature to remove from the credit system. */
53091
+ meteredFeatureId: string;
53092
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
53093
+ excluded: true;
52345
53094
  }>;
52346
53095
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
52347
53096
  markups?: {
@@ -52549,7 +53298,7 @@ length: number;
52549
53298
  } | null;
52550
53299
  /** Overrides fields of this item's feature for customers on this plan (e.g. a credit system's credit_schema). */
52551
53300
  featureOverride?: {
52552
- /** For credit system features: replaces the feature's credit_schema entirely for customers on this plan. */
53301
+ /** For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate. */
52553
53302
  creditSchema?: Array<{
52554
53303
  /** ID of the metered feature that draws from this credit system. */
52555
53304
  meteredFeatureId: string;
@@ -52629,6 +53378,11 @@ add?: number;
52629
53378
  }>;
52630
53379
  /** Credits consumed per billing-unit group. */
52631
53380
  creditCost: number;
53381
+ } | {
53382
+ /** ID of the metered feature to remove from the credit system. */
53383
+ meteredFeatureId: string;
53384
+ /** Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate. */
53385
+ excluded: true;
52632
53386
  }>;
52633
53387
  /** For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's. */
52634
53388
  markups?: {