@openmeter/client 1.0.0-beta-f7d0ebaac2a4 → 1.0.0-beta-769279ebac6a

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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-beta-f7d0ebaac2a4";
1
+ export declare const SDK_VERSION = "1.0.0-beta-769279ebac6a";
@@ -2,4 +2,4 @@
2
2
  // The committed value is a dev placeholder. The publish flow
3
3
  // (`make -C api/spec publish-aip-sdk`) stamps the real release version here
4
4
  // before `pnpm publish`, after `pnpm version` updates package.json.
5
- export const SDK_VERSION = '1.0.0-beta-f7d0ebaac2a4';
5
+ export const SDK_VERSION = '1.0.0-beta-769279ebac6a';
@@ -3373,7 +3373,7 @@ export declare const createChargeFlatFeeRequest: z.ZodObject<{
3373
3373
  discounts: z.ZodOptional<z.ZodObject<{
3374
3374
  percentage: z.ZodOptional<z.ZodNumber>;
3375
3375
  }, z.core.$strip>>;
3376
- featureKey: z.ZodOptional<z.ZodString>;
3376
+ featureId: z.ZodOptional<z.ZodString>;
3377
3377
  prorationConfiguration: z.ZodObject<{
3378
3378
  mode: z.ZodEnum<{
3379
3379
  no_proration: "no_proration";
@@ -4980,6 +4980,7 @@ export declare const chargeFlatFee: z.ZodObject<{
4980
4980
  percentage: z.ZodOptional<z.ZodNumber>;
4981
4981
  }, z.core.$strip>>;
4982
4982
  featureKey: z.ZodOptional<z.ZodString>;
4983
+ featureId: z.ZodOptional<z.ZodString>;
4983
4984
  prorationConfiguration: z.ZodObject<{
4984
4985
  mode: z.ZodEnum<{
4985
4986
  no_proration: "no_proration";
@@ -5153,7 +5154,7 @@ export declare const createChargeUsageBasedRequest: z.ZodObject<{
5153
5154
  percentage: z.ZodOptional<z.ZodNumber>;
5154
5155
  usage: z.ZodOptional<z.ZodString>;
5155
5156
  }, z.core.$strip>>;
5156
- featureKey: z.ZodString;
5157
+ featureId: z.ZodString;
5157
5158
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
5158
5159
  type: z.ZodLiteral<"free">;
5159
5160
  }, z.core.$strip>, z.ZodObject<{
@@ -6239,6 +6240,7 @@ export declare const chargeUsageBased: z.ZodObject<{
6239
6240
  usage: z.ZodOptional<z.ZodString>;
6240
6241
  }, z.core.$strip>>;
6241
6242
  featureKey: z.ZodString;
6243
+ featureId: z.ZodString;
6242
6244
  totals: z.ZodObject<{
6243
6245
  booked: z.ZodObject<{
6244
6246
  amount: z.ZodString;
@@ -6391,7 +6393,7 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
6391
6393
  discounts: z.ZodOptional<z.ZodObject<{
6392
6394
  percentage: z.ZodOptional<z.ZodNumber>;
6393
6395
  }, z.core.$strip>>;
6394
- featureKey: z.ZodOptional<z.ZodString>;
6396
+ featureId: z.ZodOptional<z.ZodString>;
6395
6397
  prorationConfiguration: z.ZodObject<{
6396
6398
  mode: z.ZodEnum<{
6397
6399
  no_proration: "no_proration";
@@ -6446,7 +6448,7 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
6446
6448
  percentage: z.ZodOptional<z.ZodNumber>;
6447
6449
  usage: z.ZodOptional<z.ZodString>;
6448
6450
  }, z.core.$strip>>;
6449
- featureKey: z.ZodString;
6451
+ featureId: z.ZodString;
6450
6452
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
6451
6453
  type: z.ZodLiteral<"free">;
6452
6454
  }, z.core.$strip>, z.ZodObject<{
@@ -7587,6 +7589,7 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
7587
7589
  percentage: z.ZodOptional<z.ZodNumber>;
7588
7590
  }, z.core.$strip>>;
7589
7591
  featureKey: z.ZodOptional<z.ZodString>;
7592
+ featureId: z.ZodOptional<z.ZodString>;
7590
7593
  prorationConfiguration: z.ZodObject<{
7591
7594
  mode: z.ZodEnum<{
7592
7595
  no_proration: "no_proration";
@@ -7737,6 +7740,7 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
7737
7740
  usage: z.ZodOptional<z.ZodString>;
7738
7741
  }, z.core.$strip>>;
7739
7742
  featureKey: z.ZodString;
7743
+ featureId: z.ZodString;
7740
7744
  totals: z.ZodObject<{
7741
7745
  booked: z.ZodObject<{
7742
7746
  amount: z.ZodString;
@@ -8871,6 +8875,7 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
8871
8875
  percentage: z.ZodOptional<z.ZodNumber>;
8872
8876
  }, z.core.$strip>>;
8873
8877
  featureKey: z.ZodOptional<z.ZodString>;
8878
+ featureId: z.ZodOptional<z.ZodString>;
8874
8879
  prorationConfiguration: z.ZodObject<{
8875
8880
  mode: z.ZodEnum<{
8876
8881
  no_proration: "no_proration";
@@ -9021,6 +9026,7 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
9021
9026
  usage: z.ZodOptional<z.ZodString>;
9022
9027
  }, z.core.$strip>>;
9023
9028
  featureKey: z.ZodString;
9029
+ featureId: z.ZodString;
9024
9030
  totals: z.ZodObject<{
9025
9031
  booked: z.ZodObject<{
9026
9032
  amount: z.ZodString;
@@ -12089,6 +12095,7 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
12089
12095
  percentage: z.ZodOptional<z.ZodNumber>;
12090
12096
  }, z.core.$strip>>;
12091
12097
  featureKey: z.ZodOptional<z.ZodString>;
12098
+ featureId: z.ZodOptional<z.ZodString>;
12092
12099
  prorationConfiguration: z.ZodObject<{
12093
12100
  mode: z.ZodEnum<{
12094
12101
  no_proration: "no_proration";
@@ -12239,6 +12246,7 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
12239
12246
  usage: z.ZodOptional<z.ZodString>;
12240
12247
  }, z.core.$strip>>;
12241
12248
  featureKey: z.ZodString;
12249
+ featureId: z.ZodString;
12242
12250
  totals: z.ZodObject<{
12243
12251
  booked: z.ZodObject<{
12244
12252
  amount: z.ZodString;
@@ -12402,7 +12410,7 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
12402
12410
  discounts: z.ZodOptional<z.ZodObject<{
12403
12411
  percentage: z.ZodOptional<z.ZodNumber>;
12404
12412
  }, z.core.$strip>>;
12405
- featureKey: z.ZodOptional<z.ZodString>;
12413
+ featureId: z.ZodOptional<z.ZodString>;
12406
12414
  prorationConfiguration: z.ZodObject<{
12407
12415
  mode: z.ZodEnum<{
12408
12416
  no_proration: "no_proration";
@@ -12457,7 +12465,7 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
12457
12465
  percentage: z.ZodOptional<z.ZodNumber>;
12458
12466
  usage: z.ZodOptional<z.ZodString>;
12459
12467
  }, z.core.$strip>>;
12460
- featureKey: z.ZodString;
12468
+ featureId: z.ZodString;
12461
12469
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
12462
12470
  type: z.ZodLiteral<"free">;
12463
12471
  }, z.core.$strip>, z.ZodObject<{
@@ -12574,6 +12582,7 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
12574
12582
  percentage: z.ZodOptional<z.ZodNumber>;
12575
12583
  }, z.core.$strip>>;
12576
12584
  featureKey: z.ZodOptional<z.ZodString>;
12585
+ featureId: z.ZodOptional<z.ZodString>;
12577
12586
  prorationConfiguration: z.ZodObject<{
12578
12587
  mode: z.ZodEnum<{
12579
12588
  no_proration: "no_proration";
@@ -12724,6 +12733,7 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
12724
12733
  usage: z.ZodOptional<z.ZodString>;
12725
12734
  }, z.core.$strip>>;
12726
12735
  featureKey: z.ZodString;
12736
+ featureId: z.ZodString;
12727
12737
  totals: z.ZodObject<{
12728
12738
  booked: z.ZodObject<{
12729
12739
  amount: z.ZodString;
@@ -23956,7 +23966,7 @@ export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
23956
23966
  discounts: z.ZodOptional<z.ZodObject<{
23957
23967
  percentage: z.ZodOptional<z.ZodNumber>;
23958
23968
  }, z.core.$strict>>;
23959
- feature_key: z.ZodOptional<z.ZodString>;
23969
+ feature_id: z.ZodOptional<z.ZodString>;
23960
23970
  proration_configuration: z.ZodObject<{
23961
23971
  mode: z.ZodEnum<{
23962
23972
  no_proration: "no_proration";
@@ -25563,6 +25573,7 @@ export declare const chargeFlatFeeWire: z.ZodObject<{
25563
25573
  percentage: z.ZodOptional<z.ZodNumber>;
25564
25574
  }, z.core.$strict>>;
25565
25575
  feature_key: z.ZodOptional<z.ZodString>;
25576
+ feature_id: z.ZodOptional<z.ZodString>;
25566
25577
  proration_configuration: z.ZodObject<{
25567
25578
  mode: z.ZodEnum<{
25568
25579
  no_proration: "no_proration";
@@ -25736,7 +25747,7 @@ export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
25736
25747
  percentage: z.ZodOptional<z.ZodNumber>;
25737
25748
  usage: z.ZodOptional<z.ZodString>;
25738
25749
  }, z.core.$strict>>;
25739
- feature_key: z.ZodString;
25750
+ feature_id: z.ZodString;
25740
25751
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
25741
25752
  type: z.ZodLiteral<"free">;
25742
25753
  }, z.core.$strict>, z.ZodObject<{
@@ -26822,6 +26833,7 @@ export declare const chargeUsageBasedWire: z.ZodObject<{
26822
26833
  usage: z.ZodOptional<z.ZodString>;
26823
26834
  }, z.core.$strict>>;
26824
26835
  feature_key: z.ZodString;
26836
+ feature_id: z.ZodString;
26825
26837
  totals: z.ZodObject<{
26826
26838
  booked: z.ZodObject<{
26827
26839
  amount: z.ZodString;
@@ -26974,7 +26986,7 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
26974
26986
  discounts: z.ZodOptional<z.ZodObject<{
26975
26987
  percentage: z.ZodOptional<z.ZodNumber>;
26976
26988
  }, z.core.$strict>>;
26977
- feature_key: z.ZodOptional<z.ZodString>;
26989
+ feature_id: z.ZodOptional<z.ZodString>;
26978
26990
  proration_configuration: z.ZodObject<{
26979
26991
  mode: z.ZodEnum<{
26980
26992
  no_proration: "no_proration";
@@ -27029,7 +27041,7 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
27029
27041
  percentage: z.ZodOptional<z.ZodNumber>;
27030
27042
  usage: z.ZodOptional<z.ZodString>;
27031
27043
  }, z.core.$strict>>;
27032
- feature_key: z.ZodString;
27044
+ feature_id: z.ZodString;
27033
27045
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
27034
27046
  type: z.ZodLiteral<"free">;
27035
27047
  }, z.core.$strict>, z.ZodObject<{
@@ -28170,6 +28182,7 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
28170
28182
  percentage: z.ZodOptional<z.ZodNumber>;
28171
28183
  }, z.core.$strict>>;
28172
28184
  feature_key: z.ZodOptional<z.ZodString>;
28185
+ feature_id: z.ZodOptional<z.ZodString>;
28173
28186
  proration_configuration: z.ZodObject<{
28174
28187
  mode: z.ZodEnum<{
28175
28188
  no_proration: "no_proration";
@@ -28320,6 +28333,7 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
28320
28333
  usage: z.ZodOptional<z.ZodString>;
28321
28334
  }, z.core.$strict>>;
28322
28335
  feature_key: z.ZodString;
28336
+ feature_id: z.ZodString;
28323
28337
  totals: z.ZodObject<{
28324
28338
  booked: z.ZodObject<{
28325
28339
  amount: z.ZodString;
@@ -29454,6 +29468,7 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
29454
29468
  percentage: z.ZodOptional<z.ZodNumber>;
29455
29469
  }, z.core.$strict>>;
29456
29470
  feature_key: z.ZodOptional<z.ZodString>;
29471
+ feature_id: z.ZodOptional<z.ZodString>;
29457
29472
  proration_configuration: z.ZodObject<{
29458
29473
  mode: z.ZodEnum<{
29459
29474
  no_proration: "no_proration";
@@ -29604,6 +29619,7 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
29604
29619
  usage: z.ZodOptional<z.ZodString>;
29605
29620
  }, z.core.$strict>>;
29606
29621
  feature_key: z.ZodString;
29622
+ feature_id: z.ZodString;
29607
29623
  totals: z.ZodObject<{
29608
29624
  booked: z.ZodObject<{
29609
29625
  amount: z.ZodString;
@@ -32660,6 +32676,7 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
32660
32676
  percentage: z.ZodOptional<z.ZodNumber>;
32661
32677
  }, z.core.$strict>>;
32662
32678
  feature_key: z.ZodOptional<z.ZodString>;
32679
+ feature_id: z.ZodOptional<z.ZodString>;
32663
32680
  proration_configuration: z.ZodObject<{
32664
32681
  mode: z.ZodEnum<{
32665
32682
  no_proration: "no_proration";
@@ -32810,6 +32827,7 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
32810
32827
  usage: z.ZodOptional<z.ZodString>;
32811
32828
  }, z.core.$strict>>;
32812
32829
  feature_key: z.ZodString;
32830
+ feature_id: z.ZodString;
32813
32831
  totals: z.ZodObject<{
32814
32832
  booked: z.ZodObject<{
32815
32833
  amount: z.ZodString;
@@ -32973,7 +32991,7 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
32973
32991
  discounts: z.ZodOptional<z.ZodObject<{
32974
32992
  percentage: z.ZodOptional<z.ZodNumber>;
32975
32993
  }, z.core.$strict>>;
32976
- feature_key: z.ZodOptional<z.ZodString>;
32994
+ feature_id: z.ZodOptional<z.ZodString>;
32977
32995
  proration_configuration: z.ZodObject<{
32978
32996
  mode: z.ZodEnum<{
32979
32997
  no_proration: "no_proration";
@@ -33028,7 +33046,7 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
33028
33046
  percentage: z.ZodOptional<z.ZodNumber>;
33029
33047
  usage: z.ZodOptional<z.ZodString>;
33030
33048
  }, z.core.$strict>>;
33031
- feature_key: z.ZodString;
33049
+ feature_id: z.ZodString;
33032
33050
  price: z.ZodDiscriminatedUnion<[z.ZodObject<{
33033
33051
  type: z.ZodLiteral<"free">;
33034
33052
  }, z.core.$strict>, z.ZodObject<{
@@ -33145,6 +33163,7 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
33145
33163
  percentage: z.ZodOptional<z.ZodNumber>;
33146
33164
  }, z.core.$strict>>;
33147
33165
  feature_key: z.ZodOptional<z.ZodString>;
33166
+ feature_id: z.ZodOptional<z.ZodString>;
33148
33167
  proration_configuration: z.ZodObject<{
33149
33168
  mode: z.ZodEnum<{
33150
33169
  no_proration: "no_proration";
@@ -33295,6 +33314,7 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
33295
33314
  usage: z.ZodOptional<z.ZodString>;
33296
33315
  }, z.core.$strict>>;
33297
33316
  feature_key: z.ZodString;
33317
+ feature_id: z.ZodString;
33298
33318
  totals: z.ZodObject<{
33299
33319
  booked: z.ZodObject<{
33300
33320
  amount: z.ZodString;
@@ -3288,10 +3288,10 @@ export const createChargeFlatFeeRequest = z
3288
3288
  taxConfig: taxConfig.optional(),
3289
3289
  paymentTerm: pricePaymentTerm,
3290
3290
  discounts: chargeFlatFeeDiscounts.optional(),
3291
- featureKey: z
3291
+ featureId: z
3292
3292
  .string()
3293
3293
  .optional()
3294
- .describe('The feature associated with the charge, when applicable.'),
3294
+ .describe('The feature ID associated with the charge.'),
3295
3295
  prorationConfiguration: rateCardProrationConfiguration,
3296
3296
  amountBeforeProration: currencyAmount,
3297
3297
  fullServicePeriod: closedPeriod.optional(),
@@ -3773,6 +3773,10 @@ export const chargeFlatFee = z
3773
3773
  .string()
3774
3774
  .optional()
3775
3775
  .describe('The feature associated with the charge, when applicable.'),
3776
+ featureId: z
3777
+ .string()
3778
+ .optional()
3779
+ .describe('The feature ID associated with the charge.'),
3776
3780
  prorationConfiguration: rateCardProrationConfiguration,
3777
3781
  amountAfterProration: currencyAmount,
3778
3782
  price: price,
@@ -3825,7 +3829,9 @@ export const createChargeUsageBasedRequest = z
3825
3829
  settlementMode: settlementMode,
3826
3830
  taxConfig: taxConfig.optional(),
3827
3831
  discounts: rateCardDiscounts.optional(),
3828
- featureKey: z.string().describe('The feature associated with the charge.'),
3832
+ featureId: z
3833
+ .string()
3834
+ .describe('The feature ID associated with the charge.'),
3829
3835
  price: price,
3830
3836
  fullServicePeriod: closedPeriod.optional(),
3831
3837
  billingPeriod: closedPeriod.optional(),
@@ -3943,6 +3949,9 @@ export const chargeUsageBased = z
3943
3949
  taxConfig: taxConfig.optional(),
3944
3950
  discounts: rateCardDiscounts.optional(),
3945
3951
  featureKey: z.string().describe('The feature associated with the charge.'),
3952
+ featureId: z
3953
+ .string()
3954
+ .describe('The feature ID associated with the charge.'),
3946
3955
  totals: chargeTotals,
3947
3956
  price: price,
3948
3957
  systemIntent: chargeUsageBasedSystemIntent.optional(),
@@ -8390,10 +8399,10 @@ export const createChargeFlatFeeRequestWire = z
8390
8399
  tax_config: taxConfigWire.optional(),
8391
8400
  payment_term: pricePaymentTermWire,
8392
8401
  discounts: chargeFlatFeeDiscountsWire.optional(),
8393
- feature_key: z
8402
+ feature_id: z
8394
8403
  .string()
8395
8404
  .optional()
8396
- .describe('The feature associated with the charge, when applicable.'),
8405
+ .describe('The feature ID associated with the charge.'),
8397
8406
  proration_configuration: rateCardProrationConfigurationWire,
8398
8407
  amount_before_proration: currencyAmountWire,
8399
8408
  full_service_period: closedPeriodWire.optional(),
@@ -8875,6 +8884,10 @@ export const chargeFlatFeeWire = z
8875
8884
  .string()
8876
8885
  .optional()
8877
8886
  .describe('The feature associated with the charge, when applicable.'),
8887
+ feature_id: z
8888
+ .string()
8889
+ .optional()
8890
+ .describe('The feature ID associated with the charge.'),
8878
8891
  proration_configuration: rateCardProrationConfigurationWire,
8879
8892
  amount_after_proration: currencyAmountWire,
8880
8893
  price: priceWire,
@@ -8927,7 +8940,9 @@ export const createChargeUsageBasedRequestWire = z
8927
8940
  settlement_mode: settlementModeWire,
8928
8941
  tax_config: taxConfigWire.optional(),
8929
8942
  discounts: rateCardDiscountsWire.optional(),
8930
- feature_key: z.string().describe('The feature associated with the charge.'),
8943
+ feature_id: z
8944
+ .string()
8945
+ .describe('The feature ID associated with the charge.'),
8931
8946
  price: priceWire,
8932
8947
  full_service_period: closedPeriodWire.optional(),
8933
8948
  billing_period: closedPeriodWire.optional(),
@@ -9045,6 +9060,9 @@ export const chargeUsageBasedWire = z
9045
9060
  tax_config: taxConfigWire.optional(),
9046
9061
  discounts: rateCardDiscountsWire.optional(),
9047
9062
  feature_key: z.string().describe('The feature associated with the charge.'),
9063
+ feature_id: z
9064
+ .string()
9065
+ .describe('The feature ID associated with the charge.'),
9048
9066
  totals: chargeTotalsWire,
9049
9067
  price: priceWire,
9050
9068
  system_intent: chargeUsageBasedSystemIntentWire.optional(),
@@ -3448,8 +3448,8 @@ export interface CreateChargeFlatFeeRequest {
3448
3448
  paymentTerm: PricePaymentTerm;
3449
3449
  /** The discounts applied to the charge. */
3450
3450
  discounts?: ChargeFlatFeeDiscounts;
3451
- /** The feature associated with the charge, when applicable. */
3452
- featureKey?: string;
3451
+ /** The feature ID associated with the charge. */
3452
+ featureId?: string;
3453
3453
  /** The proration configuration of the charge. */
3454
3454
  prorationConfiguration: RateCardProrationConfiguration;
3455
3455
  /** The amount before proration of the charge. */
@@ -4165,6 +4165,8 @@ export interface ChargeFlatFee {
4165
4165
  discounts?: ChargeFlatFeeDiscounts;
4166
4166
  /** The feature associated with the charge, when applicable. */
4167
4167
  featureKey?: string;
4168
+ /** The feature ID associated with the charge. */
4169
+ featureId?: string;
4168
4170
  /** The proration configuration of the charge. */
4169
4171
  prorationConfiguration: RateCardProrationConfiguration;
4170
4172
  /** The amount after proration of the charge. */
@@ -4245,8 +4247,8 @@ export interface CreateChargeUsageBasedRequest {
4245
4247
  taxConfig?: TaxConfig;
4246
4248
  /** Discounts applied to the usage-based charge. */
4247
4249
  discounts?: RateCardDiscounts;
4248
- /** The feature associated with the charge. */
4249
- featureKey: string;
4250
+ /** The feature ID associated with the charge. */
4251
+ featureId: string;
4250
4252
  /** The price of the charge. */
4251
4253
  price: Price;
4252
4254
  /** The full, unprorated service period of the charge. */
@@ -4440,6 +4442,8 @@ export interface ChargeUsageBased {
4440
4442
  discounts?: RateCardDiscounts;
4441
4443
  /** The feature associated with the charge. */
4442
4444
  featureKey: string;
4445
+ /** The feature ID associated with the charge. */
4446
+ featureId: string;
4443
4447
  /** Aggregated booked and realtime totals for the charge. */
4444
4448
  totals: ChargeTotals;
4445
4449
  /** The price of the charge. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-f7d0ebaac2a4",
3
+ "version": "1.0.0-beta-769279ebac6a",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",