@openmeter/client 1.0.0-beta-b5069d91dadb → 1.0.0-beta-985183028366

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.
@@ -2204,12 +2204,12 @@ export declare const createChargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject
2204
2204
  fiatCurrency: z.ZodOptional<z.ZodString>;
2205
2205
  rate: z.ZodString;
2206
2206
  }, z.core.$strip>], "type">;
2207
- export declare const createCreditGrantTaxConfig: z.ZodObject<{
2207
+ export declare const createTaxCodeConfig: z.ZodObject<{
2208
2208
  behavior: z.ZodOptional<z.ZodEnum<{
2209
2209
  exclusive: "exclusive";
2210
2210
  inclusive: "inclusive";
2211
2211
  }>>;
2212
- taxCode: z.ZodOptional<z.ZodObject<{
2212
+ code: z.ZodOptional<z.ZodObject<{
2213
2213
  id: z.ZodString;
2214
2214
  }, z.core.$strip>>;
2215
2215
  }, z.core.$strip>;
@@ -2225,24 +2225,15 @@ export declare const chargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject<{
2225
2225
  fiatCurrency: z.ZodOptional<z.ZodString>;
2226
2226
  rate: z.ZodString;
2227
2227
  }, z.core.$strip>], "type">;
2228
- export declare const creditGrantTaxConfig: z.ZodObject<{
2228
+ export declare const taxCodeConfig: z.ZodObject<{
2229
2229
  behavior: z.ZodOptional<z.ZodEnum<{
2230
2230
  exclusive: "exclusive";
2231
2231
  inclusive: "inclusive";
2232
2232
  }>>;
2233
- taxCode: z.ZodOptional<z.ZodObject<{
2233
+ code: z.ZodOptional<z.ZodObject<{
2234
2234
  id: z.ZodString;
2235
2235
  }, z.core.$strip>>;
2236
2236
  }, z.core.$strip>;
2237
- export declare const rateCardTaxConfig: z.ZodObject<{
2238
- behavior: z.ZodOptional<z.ZodEnum<{
2239
- exclusive: "exclusive";
2240
- inclusive: "inclusive";
2241
- }>>;
2242
- code: z.ZodObject<{
2243
- id: z.ZodString;
2244
- }, z.core.$strip>;
2245
- }, z.core.$strip>;
2246
2237
  export declare const taxConfig: z.ZodObject<{
2247
2238
  behavior: z.ZodOptional<z.ZodEnum<{
2248
2239
  exclusive: "exclusive";
@@ -2329,14 +2320,14 @@ export declare const createPlanAddonRequest: z.ZodObject<{
2329
2320
  fromPlanPhase: z.ZodString;
2330
2321
  maxQuantity: z.ZodOptional<z.ZodNumber>;
2331
2322
  }, z.core.$strip>;
2332
- export declare const updateRateCardTaxConfig: z.ZodObject<{
2323
+ export declare const updateTaxCodeConfig: z.ZodObject<{
2333
2324
  behavior: z.ZodOptional<z.ZodEnum<{
2334
2325
  exclusive: "exclusive";
2335
2326
  inclusive: "inclusive";
2336
2327
  }>>;
2337
- code: z.ZodObject<{
2328
+ code: z.ZodOptional<z.ZodObject<{
2338
2329
  id: z.ZodString;
2339
- }, z.core.$strip>;
2330
+ }, z.core.$strip>>;
2340
2331
  }, z.core.$strip>;
2341
2332
  export declare const listEventsParamsFilter: z.ZodObject<{
2342
2333
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -4989,7 +4980,7 @@ export declare const createCreditGrantRequest: z.ZodObject<{
4989
4980
  exclusive: "exclusive";
4990
4981
  inclusive: "inclusive";
4991
4982
  }>>;
4992
- taxCode: z.ZodOptional<z.ZodObject<{
4983
+ code: z.ZodOptional<z.ZodObject<{
4993
4984
  id: z.ZodString;
4994
4985
  }, z.core.$strip>>;
4995
4986
  }, z.core.$strip>>;
@@ -5040,7 +5031,7 @@ export declare const creditGrant: z.ZodObject<{
5040
5031
  exclusive: "exclusive";
5041
5032
  inclusive: "inclusive";
5042
5033
  }>>;
5043
- taxCode: z.ZodOptional<z.ZodObject<{
5034
+ code: z.ZodOptional<z.ZodObject<{
5044
5035
  id: z.ZodString;
5045
5036
  }, z.core.$strip>>;
5046
5037
  }, z.core.$strip>>;
@@ -5880,9 +5871,9 @@ export declare const rateCard: z.ZodObject<{
5880
5871
  exclusive: "exclusive";
5881
5872
  inclusive: "inclusive";
5882
5873
  }>>;
5883
- code: z.ZodObject<{
5874
+ code: z.ZodOptional<z.ZodObject<{
5884
5875
  id: z.ZodString;
5885
- }, z.core.$strip>;
5876
+ }, z.core.$strip>>;
5886
5877
  }, z.core.$strip>>;
5887
5878
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5888
5879
  type: z.ZodLiteral<"metered">;
@@ -5937,9 +5928,9 @@ export declare const invoiceLineRateCard: z.ZodObject<{
5937
5928
  exclusive: "exclusive";
5938
5929
  inclusive: "inclusive";
5939
5930
  }>>;
5940
- code: z.ZodObject<{
5931
+ code: z.ZodOptional<z.ZodObject<{
5941
5932
  id: z.ZodString;
5942
- }, z.core.$strip>;
5933
+ }, z.core.$strip>>;
5943
5934
  }, z.core.$strip>>;
5944
5935
  featureKey: z.ZodOptional<z.ZodString>;
5945
5936
  discounts: z.ZodOptional<z.ZodObject<{
@@ -6333,9 +6324,9 @@ export declare const updateInvoiceLineRateCard: z.ZodObject<{
6333
6324
  exclusive: "exclusive";
6334
6325
  inclusive: "inclusive";
6335
6326
  }>>;
6336
- code: z.ZodObject<{
6327
+ code: z.ZodOptional<z.ZodObject<{
6337
6328
  id: z.ZodString;
6338
- }, z.core.$strip>;
6329
+ }, z.core.$strip>>;
6339
6330
  }, z.core.$strip>>;
6340
6331
  featureKey: z.ZodOptional<z.ZodString>;
6341
6332
  discounts: z.ZodOptional<z.ZodObject<{
@@ -6383,7 +6374,7 @@ export declare const creditGrantPagePaginatedResponse: z.ZodObject<{
6383
6374
  exclusive: "exclusive";
6384
6375
  inclusive: "inclusive";
6385
6376
  }>>;
6386
- taxCode: z.ZodOptional<z.ZodObject<{
6377
+ code: z.ZodOptional<z.ZodObject<{
6387
6378
  id: z.ZodString;
6388
6379
  }, z.core.$strip>>;
6389
6380
  }, z.core.$strip>>;
@@ -7184,9 +7175,9 @@ export declare const subscriptionItem: z.ZodObject<{
7184
7175
  exclusive: "exclusive";
7185
7176
  inclusive: "inclusive";
7186
7177
  }>>;
7187
- code: z.ZodObject<{
7178
+ code: z.ZodOptional<z.ZodObject<{
7188
7179
  id: z.ZodString;
7189
- }, z.core.$strip>;
7180
+ }, z.core.$strip>>;
7190
7181
  }, z.core.$strip>>;
7191
7182
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7192
7183
  type: z.ZodLiteral<"metered">;
@@ -7281,9 +7272,9 @@ export declare const planPhase: z.ZodObject<{
7281
7272
  exclusive: "exclusive";
7282
7273
  inclusive: "inclusive";
7283
7274
  }>>;
7284
- code: z.ZodObject<{
7275
+ code: z.ZodOptional<z.ZodObject<{
7285
7276
  id: z.ZodString;
7286
- }, z.core.$strip>;
7277
+ }, z.core.$strip>>;
7287
7278
  }, z.core.$strip>>;
7288
7279
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7289
7280
  type: z.ZodLiteral<"metered">;
@@ -7375,9 +7366,9 @@ export declare const subscriptionEditAddItem: z.ZodObject<{
7375
7366
  exclusive: "exclusive";
7376
7367
  inclusive: "inclusive";
7377
7368
  }>>;
7378
- code: z.ZodObject<{
7369
+ code: z.ZodOptional<z.ZodObject<{
7379
7370
  id: z.ZodString;
7380
- }, z.core.$strip>;
7371
+ }, z.core.$strip>>;
7381
7372
  }, z.core.$strip>>;
7382
7373
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7383
7374
  type: z.ZodLiteral<"metered">;
@@ -7467,9 +7458,9 @@ export declare const subscriptionAddonRateCard: z.ZodObject<{
7467
7458
  exclusive: "exclusive";
7468
7459
  inclusive: "inclusive";
7469
7460
  }>>;
7470
- code: z.ZodObject<{
7461
+ code: z.ZodOptional<z.ZodObject<{
7471
7462
  id: z.ZodString;
7472
- }, z.core.$strip>;
7463
+ }, z.core.$strip>>;
7473
7464
  }, z.core.$strip>>;
7474
7465
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7475
7466
  type: z.ZodLiteral<"metered">;
@@ -7581,9 +7572,9 @@ export declare const addon: z.ZodObject<{
7581
7572
  exclusive: "exclusive";
7582
7573
  inclusive: "inclusive";
7583
7574
  }>>;
7584
- code: z.ZodObject<{
7575
+ code: z.ZodOptional<z.ZodObject<{
7585
7576
  id: z.ZodString;
7586
- }, z.core.$strip>;
7577
+ }, z.core.$strip>>;
7587
7578
  }, z.core.$strip>>;
7588
7579
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7589
7580
  type: z.ZodLiteral<"metered">;
@@ -7688,9 +7679,9 @@ export declare const createAddonRequest: z.ZodObject<{
7688
7679
  exclusive: "exclusive";
7689
7680
  inclusive: "inclusive";
7690
7681
  }>>;
7691
- code: z.ZodObject<{
7682
+ code: z.ZodOptional<z.ZodObject<{
7692
7683
  id: z.ZodString;
7693
- }, z.core.$strip>;
7684
+ }, z.core.$strip>>;
7694
7685
  }, z.core.$strip>>;
7695
7686
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7696
7687
  type: z.ZodLiteral<"metered">;
@@ -7787,9 +7778,9 @@ export declare const upsertAddonRequest: z.ZodObject<{
7787
7778
  exclusive: "exclusive";
7788
7779
  inclusive: "inclusive";
7789
7780
  }>>;
7790
- code: z.ZodObject<{
7781
+ code: z.ZodOptional<z.ZodObject<{
7791
7782
  id: z.ZodString;
7792
- }, z.core.$strip>;
7783
+ }, z.core.$strip>>;
7793
7784
  }, z.core.$strip>>;
7794
7785
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7795
7786
  type: z.ZodLiteral<"metered">;
@@ -7917,9 +7908,9 @@ export declare const invoiceStandardLine: z.ZodObject<{
7917
7908
  exclusive: "exclusive";
7918
7909
  inclusive: "inclusive";
7919
7910
  }>>;
7920
- code: z.ZodObject<{
7911
+ code: z.ZodOptional<z.ZodObject<{
7921
7912
  id: z.ZodString;
7922
- }, z.core.$strip>;
7913
+ }, z.core.$strip>>;
7923
7914
  }, z.core.$strip>>;
7924
7915
  featureKey: z.ZodOptional<z.ZodString>;
7925
7916
  discounts: z.ZodOptional<z.ZodObject<{
@@ -8244,9 +8235,9 @@ export declare const updateInvoiceStandardLine: z.ZodObject<{
8244
8235
  exclusive: "exclusive";
8245
8236
  inclusive: "inclusive";
8246
8237
  }>>;
8247
- code: z.ZodObject<{
8238
+ code: z.ZodOptional<z.ZodObject<{
8248
8239
  id: z.ZodString;
8249
- }, z.core.$strip>;
8240
+ }, z.core.$strip>>;
8250
8241
  }, z.core.$strip>>;
8251
8242
  featureKey: z.ZodOptional<z.ZodString>;
8252
8243
  discounts: z.ZodOptional<z.ZodObject<{
@@ -8827,9 +8818,9 @@ export declare const subscriptionPhase: z.ZodObject<{
8827
8818
  exclusive: "exclusive";
8828
8819
  inclusive: "inclusive";
8829
8820
  }>>;
8830
- code: z.ZodObject<{
8821
+ code: z.ZodOptional<z.ZodObject<{
8831
8822
  id: z.ZodString;
8832
- }, z.core.$strip>;
8823
+ }, z.core.$strip>>;
8833
8824
  }, z.core.$strip>>;
8834
8825
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8835
8826
  type: z.ZodLiteral<"metered">;
@@ -8932,9 +8923,9 @@ export declare const subscriptionCustomPlan: z.ZodObject<{
8932
8923
  exclusive: "exclusive";
8933
8924
  inclusive: "inclusive";
8934
8925
  }>>;
8935
- code: z.ZodObject<{
8926
+ code: z.ZodOptional<z.ZodObject<{
8936
8927
  id: z.ZodString;
8937
- }, z.core.$strip>;
8928
+ }, z.core.$strip>>;
8938
8929
  }, z.core.$strip>>;
8939
8930
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8940
8931
  type: z.ZodLiteral<"metered">;
@@ -9051,9 +9042,9 @@ export declare const plan: z.ZodObject<{
9051
9042
  exclusive: "exclusive";
9052
9043
  inclusive: "inclusive";
9053
9044
  }>>;
9054
- code: z.ZodObject<{
9045
+ code: z.ZodOptional<z.ZodObject<{
9055
9046
  id: z.ZodString;
9056
- }, z.core.$strip>;
9047
+ }, z.core.$strip>>;
9057
9048
  }, z.core.$strip>>;
9058
9049
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9059
9050
  type: z.ZodLiteral<"metered">;
@@ -9167,9 +9158,9 @@ export declare const createPlanRequest: z.ZodObject<{
9167
9158
  exclusive: "exclusive";
9168
9159
  inclusive: "inclusive";
9169
9160
  }>>;
9170
- code: z.ZodObject<{
9161
+ code: z.ZodOptional<z.ZodObject<{
9171
9162
  id: z.ZodString;
9172
- }, z.core.$strip>;
9163
+ }, z.core.$strip>>;
9173
9164
  }, z.core.$strip>>;
9174
9165
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9175
9166
  type: z.ZodLiteral<"metered">;
@@ -9274,9 +9265,9 @@ export declare const upsertPlanRequest: z.ZodObject<{
9274
9265
  exclusive: "exclusive";
9275
9266
  inclusive: "inclusive";
9276
9267
  }>>;
9277
- code: z.ZodObject<{
9268
+ code: z.ZodOptional<z.ZodObject<{
9278
9269
  id: z.ZodString;
9279
- }, z.core.$strip>;
9270
+ }, z.core.$strip>>;
9280
9271
  }, z.core.$strip>>;
9281
9272
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9282
9273
  type: z.ZodLiteral<"metered">;
@@ -9373,9 +9364,9 @@ export declare const subscriptionEditOperation: z.ZodDiscriminatedUnion<[z.ZodOb
9373
9364
  exclusive: "exclusive";
9374
9365
  inclusive: "inclusive";
9375
9366
  }>>;
9376
- code: z.ZodObject<{
9367
+ code: z.ZodOptional<z.ZodObject<{
9377
9368
  id: z.ZodString;
9378
- }, z.core.$strip>;
9369
+ }, z.core.$strip>>;
9379
9370
  }, z.core.$strip>>;
9380
9371
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9381
9372
  type: z.ZodLiteral<"metered">;
@@ -9511,9 +9502,9 @@ export declare const subscriptionAddon: z.ZodObject<{
9511
9502
  exclusive: "exclusive";
9512
9503
  inclusive: "inclusive";
9513
9504
  }>>;
9514
- code: z.ZodObject<{
9505
+ code: z.ZodOptional<z.ZodObject<{
9515
9506
  id: z.ZodString;
9516
- }, z.core.$strip>;
9507
+ }, z.core.$strip>>;
9517
9508
  }, z.core.$strip>>;
9518
9509
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9519
9510
  type: z.ZodLiteral<"metered">;
@@ -9627,9 +9618,9 @@ export declare const addonPagePaginatedResponse: z.ZodObject<{
9627
9618
  exclusive: "exclusive";
9628
9619
  inclusive: "inclusive";
9629
9620
  }>>;
9630
- code: z.ZodObject<{
9621
+ code: z.ZodOptional<z.ZodObject<{
9631
9622
  id: z.ZodString;
9632
- }, z.core.$strip>;
9623
+ }, z.core.$strip>>;
9633
9624
  }, z.core.$strip>>;
9634
9625
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9635
9626
  type: z.ZodLiteral<"metered">;
@@ -9771,9 +9762,9 @@ export declare const invoiceLine: z.ZodDiscriminatedUnion<[z.ZodObject<{
9771
9762
  exclusive: "exclusive";
9772
9763
  inclusive: "inclusive";
9773
9764
  }>>;
9774
- code: z.ZodObject<{
9765
+ code: z.ZodOptional<z.ZodObject<{
9775
9766
  id: z.ZodString;
9776
- }, z.core.$strip>;
9767
+ }, z.core.$strip>>;
9777
9768
  }, z.core.$strip>>;
9778
9769
  featureKey: z.ZodOptional<z.ZodString>;
9779
9770
  discounts: z.ZodOptional<z.ZodObject<{
@@ -9920,9 +9911,9 @@ export declare const updateInvoiceLine: z.ZodDiscriminatedUnion<[z.ZodObject<{
9920
9911
  exclusive: "exclusive";
9921
9912
  inclusive: "inclusive";
9922
9913
  }>>;
9923
- code: z.ZodObject<{
9914
+ code: z.ZodOptional<z.ZodObject<{
9924
9915
  id: z.ZodString;
9925
- }, z.core.$strip>;
9916
+ }, z.core.$strip>>;
9926
9917
  }, z.core.$strip>>;
9927
9918
  featureKey: z.ZodOptional<z.ZodString>;
9928
9919
  discounts: z.ZodOptional<z.ZodObject<{
@@ -10168,9 +10159,9 @@ export declare const subscription: z.ZodObject<{
10168
10159
  exclusive: "exclusive";
10169
10160
  inclusive: "inclusive";
10170
10161
  }>>;
10171
- code: z.ZodObject<{
10162
+ code: z.ZodOptional<z.ZodObject<{
10172
10163
  id: z.ZodString;
10173
- }, z.core.$strip>;
10164
+ }, z.core.$strip>>;
10174
10165
  }, z.core.$strip>>;
10175
10166
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10176
10167
  type: z.ZodLiteral<"metered">;
@@ -10289,9 +10280,9 @@ export declare const subscriptionCreate: z.ZodObject<{
10289
10280
  exclusive: "exclusive";
10290
10281
  inclusive: "inclusive";
10291
10282
  }>>;
10292
- code: z.ZodObject<{
10283
+ code: z.ZodOptional<z.ZodObject<{
10293
10284
  id: z.ZodString;
10294
- }, z.core.$strip>;
10285
+ }, z.core.$strip>>;
10295
10286
  }, z.core.$strip>>;
10296
10287
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10297
10288
  type: z.ZodLiteral<"metered">;
@@ -10419,9 +10410,9 @@ export declare const subscriptionChange: z.ZodObject<{
10419
10410
  exclusive: "exclusive";
10420
10411
  inclusive: "inclusive";
10421
10412
  }>>;
10422
- code: z.ZodObject<{
10413
+ code: z.ZodOptional<z.ZodObject<{
10423
10414
  id: z.ZodString;
10424
- }, z.core.$strip>;
10415
+ }, z.core.$strip>>;
10425
10416
  }, z.core.$strip>>;
10426
10417
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10427
10418
  type: z.ZodLiteral<"metered">;
@@ -10550,9 +10541,9 @@ export declare const planPagePaginatedResponse: z.ZodObject<{
10550
10541
  exclusive: "exclusive";
10551
10542
  inclusive: "inclusive";
10552
10543
  }>>;
10553
- code: z.ZodObject<{
10544
+ code: z.ZodOptional<z.ZodObject<{
10554
10545
  id: z.ZodString;
10555
- }, z.core.$strip>;
10546
+ }, z.core.$strip>>;
10556
10547
  }, z.core.$strip>>;
10557
10548
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10558
10549
  type: z.ZodLiteral<"metered">;
@@ -10664,9 +10655,9 @@ export declare const subscriptionEdit: z.ZodObject<{
10664
10655
  exclusive: "exclusive";
10665
10656
  inclusive: "inclusive";
10666
10657
  }>>;
10667
- code: z.ZodObject<{
10658
+ code: z.ZodOptional<z.ZodObject<{
10668
10659
  id: z.ZodString;
10669
- }, z.core.$strip>;
10660
+ }, z.core.$strip>>;
10670
10661
  }, z.core.$strip>>;
10671
10662
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10672
10663
  type: z.ZodLiteral<"metered">;
@@ -10808,9 +10799,9 @@ export declare const subscriptionAddonPagePaginatedResponse: z.ZodObject<{
10808
10799
  exclusive: "exclusive";
10809
10800
  inclusive: "inclusive";
10810
10801
  }>>;
10811
- code: z.ZodObject<{
10802
+ code: z.ZodOptional<z.ZodObject<{
10812
10803
  id: z.ZodString;
10813
- }, z.core.$strip>;
10804
+ }, z.core.$strip>>;
10814
10805
  }, z.core.$strip>>;
10815
10806
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10816
10807
  type: z.ZodLiteral<"metered">;
@@ -11089,9 +11080,9 @@ export declare const invoiceStandard: z.ZodObject<{
11089
11080
  exclusive: "exclusive";
11090
11081
  inclusive: "inclusive";
11091
11082
  }>>;
11092
- code: z.ZodObject<{
11083
+ code: z.ZodOptional<z.ZodObject<{
11093
11084
  id: z.ZodString;
11094
- }, z.core.$strip>;
11085
+ }, z.core.$strip>>;
11095
11086
  }, z.core.$strip>>;
11096
11087
  featureKey: z.ZodOptional<z.ZodString>;
11097
11088
  discounts: z.ZodOptional<z.ZodObject<{
@@ -11292,9 +11283,9 @@ export declare const updateInvoiceStandardRequest: z.ZodObject<{
11292
11283
  exclusive: "exclusive";
11293
11284
  inclusive: "inclusive";
11294
11285
  }>>;
11295
- code: z.ZodObject<{
11286
+ code: z.ZodOptional<z.ZodObject<{
11296
11287
  id: z.ZodString;
11297
- }, z.core.$strip>;
11288
+ }, z.core.$strip>>;
11298
11289
  }, z.core.$strip>>;
11299
11290
  featureKey: z.ZodOptional<z.ZodString>;
11300
11291
  discounts: z.ZodOptional<z.ZodObject<{
@@ -11443,9 +11434,9 @@ export declare const subscriptionOrReference: z.ZodUnion<readonly [z.ZodObject<{
11443
11434
  exclusive: "exclusive";
11444
11435
  inclusive: "inclusive";
11445
11436
  }>>;
11446
- code: z.ZodObject<{
11437
+ code: z.ZodOptional<z.ZodObject<{
11447
11438
  id: z.ZodString;
11448
- }, z.core.$strip>;
11439
+ }, z.core.$strip>>;
11449
11440
  }, z.core.$strip>>;
11450
11441
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11451
11442
  type: z.ZodLiteral<"metered">;
@@ -11611,9 +11602,9 @@ export declare const subscriptionPagePaginatedResponse: z.ZodObject<{
11611
11602
  exclusive: "exclusive";
11612
11603
  inclusive: "inclusive";
11613
11604
  }>>;
11614
- code: z.ZodObject<{
11605
+ code: z.ZodOptional<z.ZodObject<{
11615
11606
  id: z.ZodString;
11616
- }, z.core.$strip>;
11607
+ }, z.core.$strip>>;
11617
11608
  }, z.core.$strip>>;
11618
11609
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11619
11610
  type: z.ZodLiteral<"metered">;
@@ -11778,9 +11769,9 @@ export declare const subscriptionChangeResponse: z.ZodObject<{
11778
11769
  exclusive: "exclusive";
11779
11770
  inclusive: "inclusive";
11780
11771
  }>>;
11781
- code: z.ZodObject<{
11772
+ code: z.ZodOptional<z.ZodObject<{
11782
11773
  id: z.ZodString;
11783
- }, z.core.$strip>;
11774
+ }, z.core.$strip>>;
11784
11775
  }, z.core.$strip>>;
11785
11776
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11786
11777
  type: z.ZodLiteral<"metered">;
@@ -11936,9 +11927,9 @@ export declare const subscriptionChangeResponse: z.ZodObject<{
11936
11927
  exclusive: "exclusive";
11937
11928
  inclusive: "inclusive";
11938
11929
  }>>;
11939
- code: z.ZodObject<{
11930
+ code: z.ZodOptional<z.ZodObject<{
11940
11931
  id: z.ZodString;
11941
- }, z.core.$strip>;
11932
+ }, z.core.$strip>>;
11942
11933
  }, z.core.$strip>>;
11943
11934
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11944
11935
  type: z.ZodLiteral<"metered">;
@@ -12143,9 +12134,9 @@ export declare const subscriptionMigrateResponse: z.ZodObject<{
12143
12134
  exclusive: "exclusive";
12144
12135
  inclusive: "inclusive";
12145
12136
  }>>;
12146
- code: z.ZodObject<{
12137
+ code: z.ZodOptional<z.ZodObject<{
12147
12138
  id: z.ZodString;
12148
- }, z.core.$strip>;
12139
+ }, z.core.$strip>>;
12149
12140
  }, z.core.$strip>>;
12150
12141
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
12151
12142
  type: z.ZodLiteral<"metered">;
@@ -12417,9 +12408,9 @@ export declare const invoice: z.ZodDiscriminatedUnion<[z.ZodObject<{
12417
12408
  exclusive: "exclusive";
12418
12409
  inclusive: "inclusive";
12419
12410
  }>>;
12420
- code: z.ZodObject<{
12411
+ code: z.ZodOptional<z.ZodObject<{
12421
12412
  id: z.ZodString;
12422
- }, z.core.$strip>;
12413
+ }, z.core.$strip>>;
12423
12414
  }, z.core.$strip>>;
12424
12415
  featureKey: z.ZodOptional<z.ZodString>;
12425
12416
  discounts: z.ZodOptional<z.ZodObject<{
@@ -12620,9 +12611,9 @@ export declare const updateInvoiceRequest: z.ZodDiscriminatedUnion<[z.ZodObject<
12620
12611
  exclusive: "exclusive";
12621
12612
  inclusive: "inclusive";
12622
12613
  }>>;
12623
- code: z.ZodObject<{
12614
+ code: z.ZodOptional<z.ZodObject<{
12624
12615
  id: z.ZodString;
12625
- }, z.core.$strip>;
12616
+ }, z.core.$strip>>;
12626
12617
  }, z.core.$strip>>;
12627
12618
  featureKey: z.ZodOptional<z.ZodString>;
12628
12619
  discounts: z.ZodOptional<z.ZodObject<{
@@ -12810,9 +12801,9 @@ export declare const chargeFlatFee: z.ZodObject<{
12810
12801
  exclusive: "exclusive";
12811
12802
  inclusive: "inclusive";
12812
12803
  }>>;
12813
- code: z.ZodObject<{
12804
+ code: z.ZodOptional<z.ZodObject<{
12814
12805
  id: z.ZodString;
12815
- }, z.core.$strip>;
12806
+ }, z.core.$strip>>;
12816
12807
  }, z.core.$strip>>;
12817
12808
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
12818
12809
  type: z.ZodLiteral<"metered">;
@@ -13433,9 +13424,9 @@ export declare const chargeUsageBased: z.ZodObject<{
13433
13424
  exclusive: "exclusive";
13434
13425
  inclusive: "inclusive";
13435
13426
  }>>;
13436
- code: z.ZodObject<{
13427
+ code: z.ZodOptional<z.ZodObject<{
13437
13428
  id: z.ZodString;
13438
- }, z.core.$strip>;
13429
+ }, z.core.$strip>>;
13439
13430
  }, z.core.$strip>>;
13440
13431
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13441
13432
  type: z.ZodLiteral<"metered">;
@@ -14230,9 +14221,9 @@ export declare const invoicePagePaginatedResponse: z.ZodObject<{
14230
14221
  exclusive: "exclusive";
14231
14222
  inclusive: "inclusive";
14232
14223
  }>>;
14233
- code: z.ZodObject<{
14224
+ code: z.ZodOptional<z.ZodObject<{
14234
14225
  id: z.ZodString;
14235
- }, z.core.$strip>;
14226
+ }, z.core.$strip>>;
14236
14227
  }, z.core.$strip>>;
14237
14228
  featureKey: z.ZodOptional<z.ZodString>;
14238
14229
  discounts: z.ZodOptional<z.ZodObject<{
@@ -14515,9 +14506,9 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
14515
14506
  exclusive: "exclusive";
14516
14507
  inclusive: "inclusive";
14517
14508
  }>>;
14518
- code: z.ZodObject<{
14509
+ code: z.ZodOptional<z.ZodObject<{
14519
14510
  id: z.ZodString;
14520
- }, z.core.$strip>;
14511
+ }, z.core.$strip>>;
14521
14512
  }, z.core.$strip>>;
14522
14513
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
14523
14514
  type: z.ZodLiteral<"metered">;
@@ -15137,9 +15128,9 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
15137
15128
  exclusive: "exclusive";
15138
15129
  inclusive: "inclusive";
15139
15130
  }>>;
15140
- code: z.ZodObject<{
15131
+ code: z.ZodOptional<z.ZodObject<{
15141
15132
  id: z.ZodString;
15142
- }, z.core.$strip>;
15133
+ }, z.core.$strip>>;
15143
15134
  }, z.core.$strip>>;
15144
15135
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15145
15136
  type: z.ZodLiteral<"metered">;
@@ -15858,9 +15849,9 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
15858
15849
  exclusive: "exclusive";
15859
15850
  inclusive: "inclusive";
15860
15851
  }>>;
15861
- code: z.ZodObject<{
15852
+ code: z.ZodOptional<z.ZodObject<{
15862
15853
  id: z.ZodString;
15863
- }, z.core.$strip>;
15854
+ }, z.core.$strip>>;
15864
15855
  }, z.core.$strip>>;
15865
15856
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15866
15857
  type: z.ZodLiteral<"metered">;
@@ -16480,9 +16471,9 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
16480
16471
  exclusive: "exclusive";
16481
16472
  inclusive: "inclusive";
16482
16473
  }>>;
16483
- code: z.ZodObject<{
16474
+ code: z.ZodOptional<z.ZodObject<{
16484
16475
  id: z.ZodString;
16485
- }, z.core.$strip>;
16476
+ }, z.core.$strip>>;
16486
16477
  }, z.core.$strip>>;
16487
16478
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
16488
16479
  type: z.ZodLiteral<"metered">;
@@ -17907,7 +17898,7 @@ export declare const createCreditGrantBody: z.ZodObject<{
17907
17898
  exclusive: "exclusive";
17908
17899
  inclusive: "inclusive";
17909
17900
  }>>;
17910
- taxCode: z.ZodOptional<z.ZodObject<{
17901
+ code: z.ZodOptional<z.ZodObject<{
17911
17902
  id: z.ZodString;
17912
17903
  }, z.core.$strip>>;
17913
17904
  }, z.core.$strip>>;
@@ -17958,7 +17949,7 @@ export declare const createCreditGrantResponse: z.ZodObject<{
17958
17949
  exclusive: "exclusive";
17959
17950
  inclusive: "inclusive";
17960
17951
  }>>;
17961
- taxCode: z.ZodOptional<z.ZodObject<{
17952
+ code: z.ZodOptional<z.ZodObject<{
17962
17953
  id: z.ZodString;
17963
17954
  }, z.core.$strip>>;
17964
17955
  }, z.core.$strip>>;
@@ -18037,7 +18028,7 @@ export declare const getCreditGrantResponse: z.ZodObject<{
18037
18028
  exclusive: "exclusive";
18038
18029
  inclusive: "inclusive";
18039
18030
  }>>;
18040
- taxCode: z.ZodOptional<z.ZodObject<{
18031
+ code: z.ZodOptional<z.ZodObject<{
18041
18032
  id: z.ZodString;
18042
18033
  }, z.core.$strip>>;
18043
18034
  }, z.core.$strip>>;
@@ -18143,7 +18134,7 @@ export declare const listCreditGrantsResponse: z.ZodObject<{
18143
18134
  exclusive: "exclusive";
18144
18135
  inclusive: "inclusive";
18145
18136
  }>>;
18146
- taxCode: z.ZodOptional<z.ZodObject<{
18137
+ code: z.ZodOptional<z.ZodObject<{
18147
18138
  id: z.ZodString;
18148
18139
  }, z.core.$strip>>;
18149
18140
  }, z.core.$strip>>;
@@ -18285,7 +18276,7 @@ export declare const voidCreditGrantResponse: z.ZodObject<{
18285
18276
  exclusive: "exclusive";
18286
18277
  inclusive: "inclusive";
18287
18278
  }>>;
18288
- taxCode: z.ZodOptional<z.ZodObject<{
18279
+ code: z.ZodOptional<z.ZodObject<{
18289
18280
  id: z.ZodString;
18290
18281
  }, z.core.$strip>>;
18291
18282
  }, z.core.$strip>>;
@@ -18371,7 +18362,7 @@ export declare const updateCreditGrantExternalSettlementResponse: z.ZodObject<{
18371
18362
  exclusive: "exclusive";
18372
18363
  inclusive: "inclusive";
18373
18364
  }>>;
18374
- taxCode: z.ZodOptional<z.ZodObject<{
18365
+ code: z.ZodOptional<z.ZodObject<{
18375
18366
  id: z.ZodString;
18376
18367
  }, z.core.$strip>>;
18377
18368
  }, z.core.$strip>>;
@@ -18702,9 +18693,9 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
18702
18693
  exclusive: "exclusive";
18703
18694
  inclusive: "inclusive";
18704
18695
  }>>;
18705
- code: z.ZodObject<{
18696
+ code: z.ZodOptional<z.ZodObject<{
18706
18697
  id: z.ZodString;
18707
- }, z.core.$strip>;
18698
+ }, z.core.$strip>>;
18708
18699
  }, z.core.$strip>>;
18709
18700
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18710
18701
  type: z.ZodLiteral<"metered">;
@@ -19324,9 +19315,9 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
19324
19315
  exclusive: "exclusive";
19325
19316
  inclusive: "inclusive";
19326
19317
  }>>;
19327
- code: z.ZodObject<{
19318
+ code: z.ZodOptional<z.ZodObject<{
19328
19319
  id: z.ZodString;
19329
- }, z.core.$strip>;
19320
+ }, z.core.$strip>>;
19330
19321
  }, z.core.$strip>>;
19331
19322
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19332
19323
  type: z.ZodLiteral<"metered">;
@@ -20233,9 +20224,9 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
20233
20224
  exclusive: "exclusive";
20234
20225
  inclusive: "inclusive";
20235
20226
  }>>;
20236
- code: z.ZodObject<{
20227
+ code: z.ZodOptional<z.ZodObject<{
20237
20228
  id: z.ZodString;
20238
- }, z.core.$strip>;
20229
+ }, z.core.$strip>>;
20239
20230
  }, z.core.$strip>>;
20240
20231
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20241
20232
  type: z.ZodLiteral<"metered">;
@@ -20855,9 +20846,9 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
20855
20846
  exclusive: "exclusive";
20856
20847
  inclusive: "inclusive";
20857
20848
  }>>;
20858
- code: z.ZodObject<{
20849
+ code: z.ZodOptional<z.ZodObject<{
20859
20850
  id: z.ZodString;
20860
- }, z.core.$strip>;
20851
+ }, z.core.$strip>>;
20861
20852
  }, z.core.$strip>>;
20862
20853
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20863
20854
  type: z.ZodLiteral<"metered">;
@@ -21499,9 +21490,9 @@ export declare const createSubscriptionBody: z.ZodObject<{
21499
21490
  exclusive: "exclusive";
21500
21491
  inclusive: "inclusive";
21501
21492
  }>>;
21502
- code: z.ZodObject<{
21493
+ code: z.ZodOptional<z.ZodObject<{
21503
21494
  id: z.ZodString;
21504
- }, z.core.$strip>;
21495
+ }, z.core.$strip>>;
21505
21496
  }, z.core.$strip>>;
21506
21497
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
21507
21498
  type: z.ZodLiteral<"metered">;
@@ -21666,9 +21657,9 @@ export declare const createSubscriptionResponse: z.ZodObject<{
21666
21657
  exclusive: "exclusive";
21667
21658
  inclusive: "inclusive";
21668
21659
  }>>;
21669
- code: z.ZodObject<{
21660
+ code: z.ZodOptional<z.ZodObject<{
21670
21661
  id: z.ZodString;
21671
- }, z.core.$strip>;
21662
+ }, z.core.$strip>>;
21672
21663
  }, z.core.$strip>>;
21673
21664
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
21674
21665
  type: z.ZodLiteral<"metered">;
@@ -21862,9 +21853,9 @@ export declare const listSubscriptionsResponse: z.ZodObject<{
21862
21853
  exclusive: "exclusive";
21863
21854
  inclusive: "inclusive";
21864
21855
  }>>;
21865
- code: z.ZodObject<{
21856
+ code: z.ZodOptional<z.ZodObject<{
21866
21857
  id: z.ZodString;
21867
- }, z.core.$strip>;
21858
+ }, z.core.$strip>>;
21868
21859
  }, z.core.$strip>>;
21869
21860
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
21870
21861
  type: z.ZodLiteral<"metered">;
@@ -22031,9 +22022,9 @@ export declare const getSubscriptionResponse: z.ZodObject<{
22031
22022
  exclusive: "exclusive";
22032
22023
  inclusive: "inclusive";
22033
22024
  }>>;
22034
- code: z.ZodObject<{
22025
+ code: z.ZodOptional<z.ZodObject<{
22035
22026
  id: z.ZodString;
22036
- }, z.core.$strip>;
22027
+ }, z.core.$strip>>;
22037
22028
  }, z.core.$strip>>;
22038
22029
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22039
22030
  type: z.ZodLiteral<"metered">;
@@ -22198,9 +22189,9 @@ export declare const cancelSubscriptionResponse: z.ZodObject<{
22198
22189
  exclusive: "exclusive";
22199
22190
  inclusive: "inclusive";
22200
22191
  }>>;
22201
- code: z.ZodObject<{
22192
+ code: z.ZodOptional<z.ZodObject<{
22202
22193
  id: z.ZodString;
22203
- }, z.core.$strip>;
22194
+ }, z.core.$strip>>;
22204
22195
  }, z.core.$strip>>;
22205
22196
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22206
22197
  type: z.ZodLiteral<"metered">;
@@ -22359,9 +22350,9 @@ export declare const unscheduleCancelationResponse: z.ZodObject<{
22359
22350
  exclusive: "exclusive";
22360
22351
  inclusive: "inclusive";
22361
22352
  }>>;
22362
- code: z.ZodObject<{
22353
+ code: z.ZodOptional<z.ZodObject<{
22363
22354
  id: z.ZodString;
22364
- }, z.core.$strip>;
22355
+ }, z.core.$strip>>;
22365
22356
  }, z.core.$strip>>;
22366
22357
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22367
22358
  type: z.ZodLiteral<"metered">;
@@ -22523,9 +22514,9 @@ export declare const restoreSubscriptionResponse: z.ZodObject<{
22523
22514
  exclusive: "exclusive";
22524
22515
  inclusive: "inclusive";
22525
22516
  }>>;
22526
- code: z.ZodObject<{
22517
+ code: z.ZodOptional<z.ZodObject<{
22527
22518
  id: z.ZodString;
22528
- }, z.core.$strip>;
22519
+ }, z.core.$strip>>;
22529
22520
  }, z.core.$strip>>;
22530
22521
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22531
22522
  type: z.ZodLiteral<"metered">;
@@ -22647,9 +22638,9 @@ export declare const changeSubscriptionBody: z.ZodObject<{
22647
22638
  exclusive: "exclusive";
22648
22639
  inclusive: "inclusive";
22649
22640
  }>>;
22650
- code: z.ZodObject<{
22641
+ code: z.ZodOptional<z.ZodObject<{
22651
22642
  id: z.ZodString;
22652
- }, z.core.$strip>;
22643
+ }, z.core.$strip>>;
22653
22644
  }, z.core.$strip>>;
22654
22645
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22655
22646
  type: z.ZodLiteral<"metered">;
@@ -22816,9 +22807,9 @@ export declare const changeSubscriptionResponse: z.ZodObject<{
22816
22807
  exclusive: "exclusive";
22817
22808
  inclusive: "inclusive";
22818
22809
  }>>;
22819
- code: z.ZodObject<{
22810
+ code: z.ZodOptional<z.ZodObject<{
22820
22811
  id: z.ZodString;
22821
- }, z.core.$strip>;
22812
+ }, z.core.$strip>>;
22822
22813
  }, z.core.$strip>>;
22823
22814
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22824
22815
  type: z.ZodLiteral<"metered">;
@@ -22974,9 +22965,9 @@ export declare const changeSubscriptionResponse: z.ZodObject<{
22974
22965
  exclusive: "exclusive";
22975
22966
  inclusive: "inclusive";
22976
22967
  }>>;
22977
- code: z.ZodObject<{
22968
+ code: z.ZodOptional<z.ZodObject<{
22978
22969
  id: z.ZodString;
22979
- }, z.core.$strip>;
22970
+ }, z.core.$strip>>;
22980
22971
  }, z.core.$strip>>;
22981
22972
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22982
22973
  type: z.ZodLiteral<"metered">;
@@ -23193,9 +23184,9 @@ export declare const migrateSubscriptionResponse: z.ZodObject<{
23193
23184
  exclusive: "exclusive";
23194
23185
  inclusive: "inclusive";
23195
23186
  }>>;
23196
- code: z.ZodObject<{
23187
+ code: z.ZodOptional<z.ZodObject<{
23197
23188
  id: z.ZodString;
23198
- }, z.core.$strip>;
23189
+ }, z.core.$strip>>;
23199
23190
  }, z.core.$strip>>;
23200
23191
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23201
23192
  type: z.ZodLiteral<"metered">;
@@ -23294,9 +23285,9 @@ export declare const editSubscriptionBody: z.ZodObject<{
23294
23285
  exclusive: "exclusive";
23295
23286
  inclusive: "inclusive";
23296
23287
  }>>;
23297
- code: z.ZodObject<{
23288
+ code: z.ZodOptional<z.ZodObject<{
23298
23289
  id: z.ZodString;
23299
- }, z.core.$strip>;
23290
+ }, z.core.$strip>>;
23300
23291
  }, z.core.$strip>>;
23301
23292
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23302
23293
  type: z.ZodLiteral<"metered">;
@@ -23481,9 +23472,9 @@ export declare const editSubscriptionResponse: z.ZodObject<{
23481
23472
  exclusive: "exclusive";
23482
23473
  inclusive: "inclusive";
23483
23474
  }>>;
23484
- code: z.ZodObject<{
23475
+ code: z.ZodOptional<z.ZodObject<{
23485
23476
  id: z.ZodString;
23486
- }, z.core.$strip>;
23477
+ }, z.core.$strip>>;
23487
23478
  }, z.core.$strip>>;
23488
23479
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23489
23480
  type: z.ZodLiteral<"metered">;
@@ -23609,9 +23600,9 @@ export declare const createSubscriptionAddonResponse: z.ZodObject<{
23609
23600
  exclusive: "exclusive";
23610
23601
  inclusive: "inclusive";
23611
23602
  }>>;
23612
- code: z.ZodObject<{
23603
+ code: z.ZodOptional<z.ZodObject<{
23613
23604
  id: z.ZodString;
23614
- }, z.core.$strip>;
23605
+ }, z.core.$strip>>;
23615
23606
  }, z.core.$strip>>;
23616
23607
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23617
23608
  type: z.ZodLiteral<"metered">;
@@ -23737,9 +23728,9 @@ export declare const listSubscriptionAddonsResponse: z.ZodObject<{
23737
23728
  exclusive: "exclusive";
23738
23729
  inclusive: "inclusive";
23739
23730
  }>>;
23740
- code: z.ZodObject<{
23731
+ code: z.ZodOptional<z.ZodObject<{
23741
23732
  id: z.ZodString;
23742
- }, z.core.$strip>;
23733
+ }, z.core.$strip>>;
23743
23734
  }, z.core.$strip>>;
23744
23735
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23745
23736
  type: z.ZodLiteral<"metered">;
@@ -23863,9 +23854,9 @@ export declare const getSubscriptionAddonResponse: z.ZodObject<{
23863
23854
  exclusive: "exclusive";
23864
23855
  inclusive: "inclusive";
23865
23856
  }>>;
23866
- code: z.ZodObject<{
23857
+ code: z.ZodOptional<z.ZodObject<{
23867
23858
  id: z.ZodString;
23868
- }, z.core.$strip>;
23859
+ }, z.core.$strip>>;
23869
23860
  }, z.core.$strip>>;
23870
23861
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23871
23862
  type: z.ZodLiteral<"metered">;
@@ -23988,9 +23979,9 @@ export declare const updateSubscriptionAddonResponse: z.ZodObject<{
23988
23979
  exclusive: "exclusive";
23989
23980
  inclusive: "inclusive";
23990
23981
  }>>;
23991
- code: z.ZodObject<{
23982
+ code: z.ZodOptional<z.ZodObject<{
23992
23983
  id: z.ZodString;
23993
- }, z.core.$strip>;
23984
+ }, z.core.$strip>>;
23994
23985
  }, z.core.$strip>>;
23995
23986
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23996
23987
  type: z.ZodLiteral<"metered">;
@@ -25544,9 +25535,9 @@ export declare const listInvoicesResponse: z.ZodObject<{
25544
25535
  exclusive: "exclusive";
25545
25536
  inclusive: "inclusive";
25546
25537
  }>>;
25547
- code: z.ZodObject<{
25538
+ code: z.ZodOptional<z.ZodObject<{
25548
25539
  id: z.ZodString;
25549
- }, z.core.$strip>;
25540
+ }, z.core.$strip>>;
25550
25541
  }, z.core.$strip>>;
25551
25542
  featureKey: z.ZodOptional<z.ZodString>;
25552
25543
  discounts: z.ZodOptional<z.ZodObject<{
@@ -25908,9 +25899,9 @@ export declare const getInvoiceResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
25908
25899
  exclusive: "exclusive";
25909
25900
  inclusive: "inclusive";
25910
25901
  }>>;
25911
- code: z.ZodObject<{
25902
+ code: z.ZodOptional<z.ZodObject<{
25912
25903
  id: z.ZodString;
25913
- }, z.core.$strip>;
25904
+ }, z.core.$strip>>;
25914
25905
  }, z.core.$strip>>;
25915
25906
  featureKey: z.ZodOptional<z.ZodString>;
25916
25907
  discounts: z.ZodOptional<z.ZodObject<{
@@ -26114,9 +26105,9 @@ export declare const updateInvoiceBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
26114
26105
  exclusive: "exclusive";
26115
26106
  inclusive: "inclusive";
26116
26107
  }>>;
26117
- code: z.ZodObject<{
26108
+ code: z.ZodOptional<z.ZodObject<{
26118
26109
  id: z.ZodString;
26119
- }, z.core.$strip>;
26110
+ }, z.core.$strip>>;
26120
26111
  }, z.core.$strip>>;
26121
26112
  featureKey: z.ZodOptional<z.ZodString>;
26122
26113
  discounts: z.ZodOptional<z.ZodObject<{
@@ -26380,9 +26371,9 @@ export declare const updateInvoiceResponse: z.ZodDiscriminatedUnion<[z.ZodObject
26380
26371
  exclusive: "exclusive";
26381
26372
  inclusive: "inclusive";
26382
26373
  }>>;
26383
- code: z.ZodObject<{
26374
+ code: z.ZodOptional<z.ZodObject<{
26384
26375
  id: z.ZodString;
26385
- }, z.core.$strip>;
26376
+ }, z.core.$strip>>;
26386
26377
  }, z.core.$strip>>;
26387
26378
  featureKey: z.ZodOptional<z.ZodString>;
26388
26379
  discounts: z.ZodOptional<z.ZodObject<{
@@ -26739,9 +26730,9 @@ export declare const advanceInvoiceResponse: z.ZodDiscriminatedUnion<[z.ZodObjec
26739
26730
  exclusive: "exclusive";
26740
26731
  inclusive: "inclusive";
26741
26732
  }>>;
26742
- code: z.ZodObject<{
26733
+ code: z.ZodOptional<z.ZodObject<{
26743
26734
  id: z.ZodString;
26744
- }, z.core.$strip>;
26735
+ }, z.core.$strip>>;
26745
26736
  }, z.core.$strip>>;
26746
26737
  featureKey: z.ZodOptional<z.ZodString>;
26747
26738
  discounts: z.ZodOptional<z.ZodObject<{
@@ -27095,9 +27086,9 @@ export declare const approveInvoiceResponse: z.ZodDiscriminatedUnion<[z.ZodObjec
27095
27086
  exclusive: "exclusive";
27096
27087
  inclusive: "inclusive";
27097
27088
  }>>;
27098
- code: z.ZodObject<{
27089
+ code: z.ZodOptional<z.ZodObject<{
27099
27090
  id: z.ZodString;
27100
- }, z.core.$strip>;
27091
+ }, z.core.$strip>>;
27101
27092
  }, z.core.$strip>>;
27102
27093
  featureKey: z.ZodOptional<z.ZodString>;
27103
27094
  discounts: z.ZodOptional<z.ZodObject<{
@@ -27451,9 +27442,9 @@ export declare const retryInvoiceResponse: z.ZodDiscriminatedUnion<[z.ZodObject<
27451
27442
  exclusive: "exclusive";
27452
27443
  inclusive: "inclusive";
27453
27444
  }>>;
27454
- code: z.ZodObject<{
27445
+ code: z.ZodOptional<z.ZodObject<{
27455
27446
  id: z.ZodString;
27456
- }, z.core.$strip>;
27447
+ }, z.core.$strip>>;
27457
27448
  }, z.core.$strip>>;
27458
27449
  featureKey: z.ZodOptional<z.ZodString>;
27459
27450
  discounts: z.ZodOptional<z.ZodObject<{
@@ -27807,9 +27798,9 @@ export declare const snapshotQuantitiesInvoiceResponse: z.ZodDiscriminatedUnion<
27807
27798
  exclusive: "exclusive";
27808
27799
  inclusive: "inclusive";
27809
27800
  }>>;
27810
- code: z.ZodObject<{
27801
+ code: z.ZodOptional<z.ZodObject<{
27811
27802
  id: z.ZodString;
27812
- }, z.core.$strip>;
27803
+ }, z.core.$strip>>;
27813
27804
  }, z.core.$strip>>;
27814
27805
  featureKey: z.ZodOptional<z.ZodString>;
27815
27806
  discounts: z.ZodOptional<z.ZodObject<{
@@ -28140,9 +28131,9 @@ export declare const listChargesResponse: z.ZodObject<{
28140
28131
  exclusive: "exclusive";
28141
28132
  inclusive: "inclusive";
28142
28133
  }>>;
28143
- code: z.ZodObject<{
28134
+ code: z.ZodOptional<z.ZodObject<{
28144
28135
  id: z.ZodString;
28145
- }, z.core.$strip>;
28136
+ }, z.core.$strip>>;
28146
28137
  }, z.core.$strip>>;
28147
28138
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
28148
28139
  type: z.ZodLiteral<"metered">;
@@ -28762,9 +28753,9 @@ export declare const listChargesResponse: z.ZodObject<{
28762
28753
  exclusive: "exclusive";
28763
28754
  inclusive: "inclusive";
28764
28755
  }>>;
28765
- code: z.ZodObject<{
28756
+ code: z.ZodOptional<z.ZodObject<{
28766
28757
  id: z.ZodString;
28767
- }, z.core.$strip>;
28758
+ }, z.core.$strip>>;
28768
28759
  }, z.core.$strip>>;
28769
28760
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
28770
28761
  type: z.ZodLiteral<"metered">;
@@ -30516,9 +30507,9 @@ export declare const listPlansResponse: z.ZodObject<{
30516
30507
  exclusive: "exclusive";
30517
30508
  inclusive: "inclusive";
30518
30509
  }>>;
30519
- code: z.ZodObject<{
30510
+ code: z.ZodOptional<z.ZodObject<{
30520
30511
  id: z.ZodString;
30521
- }, z.core.$strip>;
30512
+ }, z.core.$strip>>;
30522
30513
  }, z.core.$strip>>;
30523
30514
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
30524
30515
  type: z.ZodLiteral<"metered">;
@@ -30640,9 +30631,9 @@ export declare const createPlanBody: z.ZodObject<{
30640
30631
  exclusive: "exclusive";
30641
30632
  inclusive: "inclusive";
30642
30633
  }>>;
30643
- code: z.ZodObject<{
30634
+ code: z.ZodOptional<z.ZodObject<{
30644
30635
  id: z.ZodString;
30645
- }, z.core.$strip>;
30636
+ }, z.core.$strip>>;
30646
30637
  }, z.core.$strip>>;
30647
30638
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
30648
30639
  type: z.ZodLiteral<"metered">;
@@ -30763,9 +30754,9 @@ export declare const createPlanResponse: z.ZodObject<{
30763
30754
  exclusive: "exclusive";
30764
30755
  inclusive: "inclusive";
30765
30756
  }>>;
30766
- code: z.ZodObject<{
30757
+ code: z.ZodOptional<z.ZodObject<{
30767
30758
  id: z.ZodString;
30768
- }, z.core.$strip>;
30759
+ }, z.core.$strip>>;
30769
30760
  }, z.core.$strip>>;
30770
30761
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
30771
30762
  type: z.ZodLiteral<"metered">;
@@ -30879,9 +30870,9 @@ export declare const updatePlanBody: z.ZodObject<{
30879
30870
  exclusive: "exclusive";
30880
30871
  inclusive: "inclusive";
30881
30872
  }>>;
30882
- code: z.ZodObject<{
30873
+ code: z.ZodOptional<z.ZodObject<{
30883
30874
  id: z.ZodString;
30884
- }, z.core.$strip>;
30875
+ }, z.core.$strip>>;
30885
30876
  }, z.core.$strip>>;
30886
30877
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
30887
30878
  type: z.ZodLiteral<"metered">;
@@ -31002,9 +30993,9 @@ export declare const updatePlanResponse: z.ZodObject<{
31002
30993
  exclusive: "exclusive";
31003
30994
  inclusive: "inclusive";
31004
30995
  }>>;
31005
- code: z.ZodObject<{
30996
+ code: z.ZodOptional<z.ZodObject<{
31006
30997
  id: z.ZodString;
31007
- }, z.core.$strip>;
30998
+ }, z.core.$strip>>;
31008
30999
  }, z.core.$strip>>;
31009
31000
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31010
31001
  type: z.ZodLiteral<"metered">;
@@ -31134,9 +31125,9 @@ export declare const getPlanResponse: z.ZodObject<{
31134
31125
  exclusive: "exclusive";
31135
31126
  inclusive: "inclusive";
31136
31127
  }>>;
31137
- code: z.ZodObject<{
31128
+ code: z.ZodOptional<z.ZodObject<{
31138
31129
  id: z.ZodString;
31139
- }, z.core.$strip>;
31130
+ }, z.core.$strip>>;
31140
31131
  }, z.core.$strip>>;
31141
31132
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31142
31133
  type: z.ZodLiteral<"metered">;
@@ -31269,9 +31260,9 @@ export declare const archivePlanResponse: z.ZodObject<{
31269
31260
  exclusive: "exclusive";
31270
31261
  inclusive: "inclusive";
31271
31262
  }>>;
31272
- code: z.ZodObject<{
31263
+ code: z.ZodOptional<z.ZodObject<{
31273
31264
  id: z.ZodString;
31274
- }, z.core.$strip>;
31265
+ }, z.core.$strip>>;
31275
31266
  }, z.core.$strip>>;
31276
31267
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31277
31268
  type: z.ZodLiteral<"metered">;
@@ -31401,9 +31392,9 @@ export declare const publishPlanResponse: z.ZodObject<{
31401
31392
  exclusive: "exclusive";
31402
31393
  inclusive: "inclusive";
31403
31394
  }>>;
31404
- code: z.ZodObject<{
31395
+ code: z.ZodOptional<z.ZodObject<{
31405
31396
  id: z.ZodString;
31406
- }, z.core.$strip>;
31397
+ }, z.core.$strip>>;
31407
31398
  }, z.core.$strip>>;
31408
31399
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31409
31400
  type: z.ZodLiteral<"metered">;
@@ -31577,9 +31568,9 @@ export declare const listAddonsResponse: z.ZodObject<{
31577
31568
  exclusive: "exclusive";
31578
31569
  inclusive: "inclusive";
31579
31570
  }>>;
31580
- code: z.ZodObject<{
31571
+ code: z.ZodOptional<z.ZodObject<{
31581
31572
  id: z.ZodString;
31582
- }, z.core.$strip>;
31573
+ }, z.core.$strip>>;
31583
31574
  }, z.core.$strip>>;
31584
31575
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31585
31576
  type: z.ZodLiteral<"metered">;
@@ -31692,9 +31683,9 @@ export declare const createAddonBody: z.ZodObject<{
31692
31683
  exclusive: "exclusive";
31693
31684
  inclusive: "inclusive";
31694
31685
  }>>;
31695
- code: z.ZodObject<{
31686
+ code: z.ZodOptional<z.ZodObject<{
31696
31687
  id: z.ZodString;
31697
- }, z.core.$strip>;
31688
+ }, z.core.$strip>>;
31698
31689
  }, z.core.$strip>>;
31699
31690
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31700
31691
  type: z.ZodLiteral<"metered">;
@@ -31805,9 +31796,9 @@ export declare const createAddonResponse: z.ZodObject<{
31805
31796
  exclusive: "exclusive";
31806
31797
  inclusive: "inclusive";
31807
31798
  }>>;
31808
- code: z.ZodObject<{
31799
+ code: z.ZodOptional<z.ZodObject<{
31809
31800
  id: z.ZodString;
31810
- }, z.core.$strip>;
31801
+ }, z.core.$strip>>;
31811
31802
  }, z.core.$strip>>;
31812
31803
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31813
31804
  type: z.ZodLiteral<"metered">;
@@ -31913,9 +31904,9 @@ export declare const updateAddonBody: z.ZodObject<{
31913
31904
  exclusive: "exclusive";
31914
31905
  inclusive: "inclusive";
31915
31906
  }>>;
31916
- code: z.ZodObject<{
31907
+ code: z.ZodOptional<z.ZodObject<{
31917
31908
  id: z.ZodString;
31918
- }, z.core.$strip>;
31909
+ }, z.core.$strip>>;
31919
31910
  }, z.core.$strip>>;
31920
31911
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31921
31912
  type: z.ZodLiteral<"metered">;
@@ -32026,9 +32017,9 @@ export declare const updateAddonResponse: z.ZodObject<{
32026
32017
  exclusive: "exclusive";
32027
32018
  inclusive: "inclusive";
32028
32019
  }>>;
32029
- code: z.ZodObject<{
32020
+ code: z.ZodOptional<z.ZodObject<{
32030
32021
  id: z.ZodString;
32031
- }, z.core.$strip>;
32022
+ }, z.core.$strip>>;
32032
32023
  }, z.core.$strip>>;
32033
32024
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32034
32025
  type: z.ZodLiteral<"metered">;
@@ -32148,9 +32139,9 @@ export declare const getAddonResponse: z.ZodObject<{
32148
32139
  exclusive: "exclusive";
32149
32140
  inclusive: "inclusive";
32150
32141
  }>>;
32151
- code: z.ZodObject<{
32142
+ code: z.ZodOptional<z.ZodObject<{
32152
32143
  id: z.ZodString;
32153
- }, z.core.$strip>;
32144
+ }, z.core.$strip>>;
32154
32145
  }, z.core.$strip>>;
32155
32146
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32156
32147
  type: z.ZodLiteral<"metered">;
@@ -32273,9 +32264,9 @@ export declare const archiveAddonResponse: z.ZodObject<{
32273
32264
  exclusive: "exclusive";
32274
32265
  inclusive: "inclusive";
32275
32266
  }>>;
32276
- code: z.ZodObject<{
32267
+ code: z.ZodOptional<z.ZodObject<{
32277
32268
  id: z.ZodString;
32278
- }, z.core.$strip>;
32269
+ }, z.core.$strip>>;
32279
32270
  }, z.core.$strip>>;
32280
32271
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32281
32272
  type: z.ZodLiteral<"metered">;
@@ -32395,9 +32386,9 @@ export declare const publishAddonResponse: z.ZodObject<{
32395
32386
  exclusive: "exclusive";
32396
32387
  inclusive: "inclusive";
32397
32388
  }>>;
32398
- code: z.ZodObject<{
32389
+ code: z.ZodOptional<z.ZodObject<{
32399
32390
  id: z.ZodString;
32400
- }, z.core.$strip>;
32391
+ }, z.core.$strip>>;
32401
32392
  }, z.core.$strip>>;
32402
32393
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32403
32394
  type: z.ZodLiteral<"metered">;
@@ -34923,12 +34914,12 @@ export declare const createChargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodOb
34923
34914
  fiat_currency: z.ZodOptional<z.ZodString>;
34924
34915
  rate: z.ZodString;
34925
34916
  }, z.core.$strict>], "type">;
34926
- export declare const createCreditGrantTaxConfigWire: z.ZodObject<{
34917
+ export declare const createTaxCodeConfigWire: z.ZodObject<{
34927
34918
  behavior: z.ZodOptional<z.ZodEnum<{
34928
34919
  exclusive: "exclusive";
34929
34920
  inclusive: "inclusive";
34930
34921
  }>>;
34931
- tax_code: z.ZodOptional<z.ZodObject<{
34922
+ code: z.ZodOptional<z.ZodObject<{
34932
34923
  id: z.ZodString;
34933
34924
  }, z.core.$strict>>;
34934
34925
  }, z.core.$strict>;
@@ -34944,24 +34935,15 @@ export declare const chargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
34944
34935
  fiat_currency: z.ZodOptional<z.ZodString>;
34945
34936
  rate: z.ZodString;
34946
34937
  }, z.core.$strict>], "type">;
34947
- export declare const creditGrantTaxConfigWire: z.ZodObject<{
34938
+ export declare const taxCodeConfigWire: z.ZodObject<{
34948
34939
  behavior: z.ZodOptional<z.ZodEnum<{
34949
34940
  exclusive: "exclusive";
34950
34941
  inclusive: "inclusive";
34951
34942
  }>>;
34952
- tax_code: z.ZodOptional<z.ZodObject<{
34943
+ code: z.ZodOptional<z.ZodObject<{
34953
34944
  id: z.ZodString;
34954
34945
  }, z.core.$strict>>;
34955
34946
  }, z.core.$strict>;
34956
- export declare const rateCardTaxConfigWire: z.ZodObject<{
34957
- behavior: z.ZodOptional<z.ZodEnum<{
34958
- exclusive: "exclusive";
34959
- inclusive: "inclusive";
34960
- }>>;
34961
- code: z.ZodObject<{
34962
- id: z.ZodString;
34963
- }, z.core.$strict>;
34964
- }, z.core.$strict>;
34965
34947
  export declare const taxConfigWire: z.ZodObject<{
34966
34948
  behavior: z.ZodOptional<z.ZodEnum<{
34967
34949
  exclusive: "exclusive";
@@ -35048,14 +35030,14 @@ export declare const createPlanAddonRequestWire: z.ZodObject<{
35048
35030
  from_plan_phase: z.ZodString;
35049
35031
  max_quantity: z.ZodOptional<z.ZodNumber>;
35050
35032
  }, z.core.$strict>;
35051
- export declare const updateRateCardTaxConfigWire: z.ZodObject<{
35033
+ export declare const updateTaxCodeConfigWire: z.ZodObject<{
35052
35034
  behavior: z.ZodOptional<z.ZodEnum<{
35053
35035
  exclusive: "exclusive";
35054
35036
  inclusive: "inclusive";
35055
35037
  }>>;
35056
- code: z.ZodObject<{
35038
+ code: z.ZodOptional<z.ZodObject<{
35057
35039
  id: z.ZodString;
35058
- }, z.core.$strict>;
35040
+ }, z.core.$strict>>;
35059
35041
  }, z.core.$strict>;
35060
35042
  export declare const listEventsParamsFilterWire: z.ZodObject<{
35061
35043
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -37708,7 +37690,7 @@ export declare const createCreditGrantRequestWire: z.ZodObject<{
37708
37690
  exclusive: "exclusive";
37709
37691
  inclusive: "inclusive";
37710
37692
  }>>;
37711
- tax_code: z.ZodOptional<z.ZodObject<{
37693
+ code: z.ZodOptional<z.ZodObject<{
37712
37694
  id: z.ZodString;
37713
37695
  }, z.core.$strict>>;
37714
37696
  }, z.core.$strict>>;
@@ -37759,7 +37741,7 @@ export declare const creditGrantWire: z.ZodObject<{
37759
37741
  exclusive: "exclusive";
37760
37742
  inclusive: "inclusive";
37761
37743
  }>>;
37762
- tax_code: z.ZodOptional<z.ZodObject<{
37744
+ code: z.ZodOptional<z.ZodObject<{
37763
37745
  id: z.ZodString;
37764
37746
  }, z.core.$strict>>;
37765
37747
  }, z.core.$strict>>;
@@ -38599,9 +38581,9 @@ export declare const rateCardWire: z.ZodObject<{
38599
38581
  exclusive: "exclusive";
38600
38582
  inclusive: "inclusive";
38601
38583
  }>>;
38602
- code: z.ZodObject<{
38584
+ code: z.ZodOptional<z.ZodObject<{
38603
38585
  id: z.ZodString;
38604
- }, z.core.$strict>;
38586
+ }, z.core.$strict>>;
38605
38587
  }, z.core.$strict>>;
38606
38588
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
38607
38589
  type: z.ZodLiteral<"metered">;
@@ -38656,9 +38638,9 @@ export declare const invoiceLineRateCardWire: z.ZodObject<{
38656
38638
  exclusive: "exclusive";
38657
38639
  inclusive: "inclusive";
38658
38640
  }>>;
38659
- code: z.ZodObject<{
38641
+ code: z.ZodOptional<z.ZodObject<{
38660
38642
  id: z.ZodString;
38661
- }, z.core.$strict>;
38643
+ }, z.core.$strict>>;
38662
38644
  }, z.core.$strict>>;
38663
38645
  feature_key: z.ZodOptional<z.ZodString>;
38664
38646
  discounts: z.ZodOptional<z.ZodObject<{
@@ -39052,9 +39034,9 @@ export declare const updateInvoiceLineRateCardWire: z.ZodObject<{
39052
39034
  exclusive: "exclusive";
39053
39035
  inclusive: "inclusive";
39054
39036
  }>>;
39055
- code: z.ZodObject<{
39037
+ code: z.ZodOptional<z.ZodObject<{
39056
39038
  id: z.ZodString;
39057
- }, z.core.$strict>;
39039
+ }, z.core.$strict>>;
39058
39040
  }, z.core.$strict>>;
39059
39041
  feature_key: z.ZodOptional<z.ZodString>;
39060
39042
  discounts: z.ZodOptional<z.ZodObject<{
@@ -39102,7 +39084,7 @@ export declare const creditGrantPagePaginatedResponseWire: z.ZodObject<{
39102
39084
  exclusive: "exclusive";
39103
39085
  inclusive: "inclusive";
39104
39086
  }>>;
39105
- tax_code: z.ZodOptional<z.ZodObject<{
39087
+ code: z.ZodOptional<z.ZodObject<{
39106
39088
  id: z.ZodString;
39107
39089
  }, z.core.$strict>>;
39108
39090
  }, z.core.$strict>>;
@@ -39903,9 +39885,9 @@ export declare const subscriptionItemWire: z.ZodObject<{
39903
39885
  exclusive: "exclusive";
39904
39886
  inclusive: "inclusive";
39905
39887
  }>>;
39906
- code: z.ZodObject<{
39888
+ code: z.ZodOptional<z.ZodObject<{
39907
39889
  id: z.ZodString;
39908
- }, z.core.$strict>;
39890
+ }, z.core.$strict>>;
39909
39891
  }, z.core.$strict>>;
39910
39892
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
39911
39893
  type: z.ZodLiteral<"metered">;
@@ -40000,9 +39982,9 @@ export declare const planPhaseWire: z.ZodObject<{
40000
39982
  exclusive: "exclusive";
40001
39983
  inclusive: "inclusive";
40002
39984
  }>>;
40003
- code: z.ZodObject<{
39985
+ code: z.ZodOptional<z.ZodObject<{
40004
39986
  id: z.ZodString;
40005
- }, z.core.$strict>;
39987
+ }, z.core.$strict>>;
40006
39988
  }, z.core.$strict>>;
40007
39989
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40008
39990
  type: z.ZodLiteral<"metered">;
@@ -40094,9 +40076,9 @@ export declare const subscriptionEditAddItemWire: z.ZodObject<{
40094
40076
  exclusive: "exclusive";
40095
40077
  inclusive: "inclusive";
40096
40078
  }>>;
40097
- code: z.ZodObject<{
40079
+ code: z.ZodOptional<z.ZodObject<{
40098
40080
  id: z.ZodString;
40099
- }, z.core.$strict>;
40081
+ }, z.core.$strict>>;
40100
40082
  }, z.core.$strict>>;
40101
40083
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40102
40084
  type: z.ZodLiteral<"metered">;
@@ -40186,9 +40168,9 @@ export declare const subscriptionAddonRateCardWire: z.ZodObject<{
40186
40168
  exclusive: "exclusive";
40187
40169
  inclusive: "inclusive";
40188
40170
  }>>;
40189
- code: z.ZodObject<{
40171
+ code: z.ZodOptional<z.ZodObject<{
40190
40172
  id: z.ZodString;
40191
- }, z.core.$strict>;
40173
+ }, z.core.$strict>>;
40192
40174
  }, z.core.$strict>>;
40193
40175
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40194
40176
  type: z.ZodLiteral<"metered">;
@@ -40300,9 +40282,9 @@ export declare const addonWire: z.ZodObject<{
40300
40282
  exclusive: "exclusive";
40301
40283
  inclusive: "inclusive";
40302
40284
  }>>;
40303
- code: z.ZodObject<{
40285
+ code: z.ZodOptional<z.ZodObject<{
40304
40286
  id: z.ZodString;
40305
- }, z.core.$strict>;
40287
+ }, z.core.$strict>>;
40306
40288
  }, z.core.$strict>>;
40307
40289
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40308
40290
  type: z.ZodLiteral<"metered">;
@@ -40407,9 +40389,9 @@ export declare const createAddonRequestWire: z.ZodObject<{
40407
40389
  exclusive: "exclusive";
40408
40390
  inclusive: "inclusive";
40409
40391
  }>>;
40410
- code: z.ZodObject<{
40392
+ code: z.ZodOptional<z.ZodObject<{
40411
40393
  id: z.ZodString;
40412
- }, z.core.$strict>;
40394
+ }, z.core.$strict>>;
40413
40395
  }, z.core.$strict>>;
40414
40396
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40415
40397
  type: z.ZodLiteral<"metered">;
@@ -40506,9 +40488,9 @@ export declare const upsertAddonRequestWire: z.ZodObject<{
40506
40488
  exclusive: "exclusive";
40507
40489
  inclusive: "inclusive";
40508
40490
  }>>;
40509
- code: z.ZodObject<{
40491
+ code: z.ZodOptional<z.ZodObject<{
40510
40492
  id: z.ZodString;
40511
- }, z.core.$strict>;
40493
+ }, z.core.$strict>>;
40512
40494
  }, z.core.$strict>>;
40513
40495
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
40514
40496
  type: z.ZodLiteral<"metered">;
@@ -40636,9 +40618,9 @@ export declare const invoiceStandardLineWire: z.ZodObject<{
40636
40618
  exclusive: "exclusive";
40637
40619
  inclusive: "inclusive";
40638
40620
  }>>;
40639
- code: z.ZodObject<{
40621
+ code: z.ZodOptional<z.ZodObject<{
40640
40622
  id: z.ZodString;
40641
- }, z.core.$strict>;
40623
+ }, z.core.$strict>>;
40642
40624
  }, z.core.$strict>>;
40643
40625
  feature_key: z.ZodOptional<z.ZodString>;
40644
40626
  discounts: z.ZodOptional<z.ZodObject<{
@@ -40963,9 +40945,9 @@ export declare const updateInvoiceStandardLineWire: z.ZodObject<{
40963
40945
  exclusive: "exclusive";
40964
40946
  inclusive: "inclusive";
40965
40947
  }>>;
40966
- code: z.ZodObject<{
40948
+ code: z.ZodOptional<z.ZodObject<{
40967
40949
  id: z.ZodString;
40968
- }, z.core.$strict>;
40950
+ }, z.core.$strict>>;
40969
40951
  }, z.core.$strict>>;
40970
40952
  feature_key: z.ZodOptional<z.ZodString>;
40971
40953
  discounts: z.ZodOptional<z.ZodObject<{
@@ -41546,9 +41528,9 @@ export declare const subscriptionPhaseWire: z.ZodObject<{
41546
41528
  exclusive: "exclusive";
41547
41529
  inclusive: "inclusive";
41548
41530
  }>>;
41549
- code: z.ZodObject<{
41531
+ code: z.ZodOptional<z.ZodObject<{
41550
41532
  id: z.ZodString;
41551
- }, z.core.$strict>;
41533
+ }, z.core.$strict>>;
41552
41534
  }, z.core.$strict>>;
41553
41535
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
41554
41536
  type: z.ZodLiteral<"metered">;
@@ -41651,9 +41633,9 @@ export declare const subscriptionCustomPlanWire: z.ZodObject<{
41651
41633
  exclusive: "exclusive";
41652
41634
  inclusive: "inclusive";
41653
41635
  }>>;
41654
- code: z.ZodObject<{
41636
+ code: z.ZodOptional<z.ZodObject<{
41655
41637
  id: z.ZodString;
41656
- }, z.core.$strict>;
41638
+ }, z.core.$strict>>;
41657
41639
  }, z.core.$strict>>;
41658
41640
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
41659
41641
  type: z.ZodLiteral<"metered">;
@@ -41770,9 +41752,9 @@ export declare const planWire: z.ZodObject<{
41770
41752
  exclusive: "exclusive";
41771
41753
  inclusive: "inclusive";
41772
41754
  }>>;
41773
- code: z.ZodObject<{
41755
+ code: z.ZodOptional<z.ZodObject<{
41774
41756
  id: z.ZodString;
41775
- }, z.core.$strict>;
41757
+ }, z.core.$strict>>;
41776
41758
  }, z.core.$strict>>;
41777
41759
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
41778
41760
  type: z.ZodLiteral<"metered">;
@@ -41886,9 +41868,9 @@ export declare const createPlanRequestWire: z.ZodObject<{
41886
41868
  exclusive: "exclusive";
41887
41869
  inclusive: "inclusive";
41888
41870
  }>>;
41889
- code: z.ZodObject<{
41871
+ code: z.ZodOptional<z.ZodObject<{
41890
41872
  id: z.ZodString;
41891
- }, z.core.$strict>;
41873
+ }, z.core.$strict>>;
41892
41874
  }, z.core.$strict>>;
41893
41875
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
41894
41876
  type: z.ZodLiteral<"metered">;
@@ -41993,9 +41975,9 @@ export declare const upsertPlanRequestWire: z.ZodObject<{
41993
41975
  exclusive: "exclusive";
41994
41976
  inclusive: "inclusive";
41995
41977
  }>>;
41996
- code: z.ZodObject<{
41978
+ code: z.ZodOptional<z.ZodObject<{
41997
41979
  id: z.ZodString;
41998
- }, z.core.$strict>;
41980
+ }, z.core.$strict>>;
41999
41981
  }, z.core.$strict>>;
42000
41982
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
42001
41983
  type: z.ZodLiteral<"metered">;
@@ -42092,9 +42074,9 @@ export declare const subscriptionEditOperationWire: z.ZodDiscriminatedUnion<[z.Z
42092
42074
  exclusive: "exclusive";
42093
42075
  inclusive: "inclusive";
42094
42076
  }>>;
42095
- code: z.ZodObject<{
42077
+ code: z.ZodOptional<z.ZodObject<{
42096
42078
  id: z.ZodString;
42097
- }, z.core.$strict>;
42079
+ }, z.core.$strict>>;
42098
42080
  }, z.core.$strict>>;
42099
42081
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
42100
42082
  type: z.ZodLiteral<"metered">;
@@ -42230,9 +42212,9 @@ export declare const subscriptionAddonWire: z.ZodObject<{
42230
42212
  exclusive: "exclusive";
42231
42213
  inclusive: "inclusive";
42232
42214
  }>>;
42233
- code: z.ZodObject<{
42215
+ code: z.ZodOptional<z.ZodObject<{
42234
42216
  id: z.ZodString;
42235
- }, z.core.$strict>;
42217
+ }, z.core.$strict>>;
42236
42218
  }, z.core.$strict>>;
42237
42219
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
42238
42220
  type: z.ZodLiteral<"metered">;
@@ -42346,9 +42328,9 @@ export declare const addonPagePaginatedResponseWire: z.ZodObject<{
42346
42328
  exclusive: "exclusive";
42347
42329
  inclusive: "inclusive";
42348
42330
  }>>;
42349
- code: z.ZodObject<{
42331
+ code: z.ZodOptional<z.ZodObject<{
42350
42332
  id: z.ZodString;
42351
- }, z.core.$strict>;
42333
+ }, z.core.$strict>>;
42352
42334
  }, z.core.$strict>>;
42353
42335
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
42354
42336
  type: z.ZodLiteral<"metered">;
@@ -42490,9 +42472,9 @@ export declare const invoiceLineWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
42490
42472
  exclusive: "exclusive";
42491
42473
  inclusive: "inclusive";
42492
42474
  }>>;
42493
- code: z.ZodObject<{
42475
+ code: z.ZodOptional<z.ZodObject<{
42494
42476
  id: z.ZodString;
42495
- }, z.core.$strict>;
42477
+ }, z.core.$strict>>;
42496
42478
  }, z.core.$strict>>;
42497
42479
  feature_key: z.ZodOptional<z.ZodString>;
42498
42480
  discounts: z.ZodOptional<z.ZodObject<{
@@ -42639,9 +42621,9 @@ export declare const updateInvoiceLineWire: z.ZodDiscriminatedUnion<[z.ZodObject
42639
42621
  exclusive: "exclusive";
42640
42622
  inclusive: "inclusive";
42641
42623
  }>>;
42642
- code: z.ZodObject<{
42624
+ code: z.ZodOptional<z.ZodObject<{
42643
42625
  id: z.ZodString;
42644
- }, z.core.$strict>;
42626
+ }, z.core.$strict>>;
42645
42627
  }, z.core.$strict>>;
42646
42628
  feature_key: z.ZodOptional<z.ZodString>;
42647
42629
  discounts: z.ZodOptional<z.ZodObject<{
@@ -42887,9 +42869,9 @@ export declare const subscriptionWire: z.ZodObject<{
42887
42869
  exclusive: "exclusive";
42888
42870
  inclusive: "inclusive";
42889
42871
  }>>;
42890
- code: z.ZodObject<{
42872
+ code: z.ZodOptional<z.ZodObject<{
42891
42873
  id: z.ZodString;
42892
- }, z.core.$strict>;
42874
+ }, z.core.$strict>>;
42893
42875
  }, z.core.$strict>>;
42894
42876
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
42895
42877
  type: z.ZodLiteral<"metered">;
@@ -43008,9 +42990,9 @@ export declare const subscriptionCreateWire: z.ZodObject<{
43008
42990
  exclusive: "exclusive";
43009
42991
  inclusive: "inclusive";
43010
42992
  }>>;
43011
- code: z.ZodObject<{
42993
+ code: z.ZodOptional<z.ZodObject<{
43012
42994
  id: z.ZodString;
43013
- }, z.core.$strict>;
42995
+ }, z.core.$strict>>;
43014
42996
  }, z.core.$strict>>;
43015
42997
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
43016
42998
  type: z.ZodLiteral<"metered">;
@@ -43138,9 +43120,9 @@ export declare const subscriptionChangeWire: z.ZodObject<{
43138
43120
  exclusive: "exclusive";
43139
43121
  inclusive: "inclusive";
43140
43122
  }>>;
43141
- code: z.ZodObject<{
43123
+ code: z.ZodOptional<z.ZodObject<{
43142
43124
  id: z.ZodString;
43143
- }, z.core.$strict>;
43125
+ }, z.core.$strict>>;
43144
43126
  }, z.core.$strict>>;
43145
43127
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
43146
43128
  type: z.ZodLiteral<"metered">;
@@ -43269,9 +43251,9 @@ export declare const planPagePaginatedResponseWire: z.ZodObject<{
43269
43251
  exclusive: "exclusive";
43270
43252
  inclusive: "inclusive";
43271
43253
  }>>;
43272
- code: z.ZodObject<{
43254
+ code: z.ZodOptional<z.ZodObject<{
43273
43255
  id: z.ZodString;
43274
- }, z.core.$strict>;
43256
+ }, z.core.$strict>>;
43275
43257
  }, z.core.$strict>>;
43276
43258
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
43277
43259
  type: z.ZodLiteral<"metered">;
@@ -43383,9 +43365,9 @@ export declare const subscriptionEditWire: z.ZodObject<{
43383
43365
  exclusive: "exclusive";
43384
43366
  inclusive: "inclusive";
43385
43367
  }>>;
43386
- code: z.ZodObject<{
43368
+ code: z.ZodOptional<z.ZodObject<{
43387
43369
  id: z.ZodString;
43388
- }, z.core.$strict>;
43370
+ }, z.core.$strict>>;
43389
43371
  }, z.core.$strict>>;
43390
43372
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
43391
43373
  type: z.ZodLiteral<"metered">;
@@ -43527,9 +43509,9 @@ export declare const subscriptionAddonPagePaginatedResponseWire: z.ZodObject<{
43527
43509
  exclusive: "exclusive";
43528
43510
  inclusive: "inclusive";
43529
43511
  }>>;
43530
- code: z.ZodObject<{
43512
+ code: z.ZodOptional<z.ZodObject<{
43531
43513
  id: z.ZodString;
43532
- }, z.core.$strict>;
43514
+ }, z.core.$strict>>;
43533
43515
  }, z.core.$strict>>;
43534
43516
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
43535
43517
  type: z.ZodLiteral<"metered">;
@@ -43808,9 +43790,9 @@ export declare const invoiceStandardWire: z.ZodObject<{
43808
43790
  exclusive: "exclusive";
43809
43791
  inclusive: "inclusive";
43810
43792
  }>>;
43811
- code: z.ZodObject<{
43793
+ code: z.ZodOptional<z.ZodObject<{
43812
43794
  id: z.ZodString;
43813
- }, z.core.$strict>;
43795
+ }, z.core.$strict>>;
43814
43796
  }, z.core.$strict>>;
43815
43797
  feature_key: z.ZodOptional<z.ZodString>;
43816
43798
  discounts: z.ZodOptional<z.ZodObject<{
@@ -44011,9 +43993,9 @@ export declare const updateInvoiceStandardRequestWire: z.ZodObject<{
44011
43993
  exclusive: "exclusive";
44012
43994
  inclusive: "inclusive";
44013
43995
  }>>;
44014
- code: z.ZodObject<{
43996
+ code: z.ZodOptional<z.ZodObject<{
44015
43997
  id: z.ZodString;
44016
- }, z.core.$strict>;
43998
+ }, z.core.$strict>>;
44017
43999
  }, z.core.$strict>>;
44018
44000
  feature_key: z.ZodOptional<z.ZodString>;
44019
44001
  discounts: z.ZodOptional<z.ZodObject<{
@@ -44162,9 +44144,9 @@ export declare const subscriptionOrReferenceWire: z.ZodUnion<readonly [z.ZodObje
44162
44144
  exclusive: "exclusive";
44163
44145
  inclusive: "inclusive";
44164
44146
  }>>;
44165
- code: z.ZodObject<{
44147
+ code: z.ZodOptional<z.ZodObject<{
44166
44148
  id: z.ZodString;
44167
- }, z.core.$strict>;
44149
+ }, z.core.$strict>>;
44168
44150
  }, z.core.$strict>>;
44169
44151
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44170
44152
  type: z.ZodLiteral<"metered">;
@@ -44330,9 +44312,9 @@ export declare const subscriptionPagePaginatedResponseWire: z.ZodObject<{
44330
44312
  exclusive: "exclusive";
44331
44313
  inclusive: "inclusive";
44332
44314
  }>>;
44333
- code: z.ZodObject<{
44315
+ code: z.ZodOptional<z.ZodObject<{
44334
44316
  id: z.ZodString;
44335
- }, z.core.$strict>;
44317
+ }, z.core.$strict>>;
44336
44318
  }, z.core.$strict>>;
44337
44319
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44338
44320
  type: z.ZodLiteral<"metered">;
@@ -44497,9 +44479,9 @@ export declare const subscriptionChangeResponseWire: z.ZodObject<{
44497
44479
  exclusive: "exclusive";
44498
44480
  inclusive: "inclusive";
44499
44481
  }>>;
44500
- code: z.ZodObject<{
44482
+ code: z.ZodOptional<z.ZodObject<{
44501
44483
  id: z.ZodString;
44502
- }, z.core.$strict>;
44484
+ }, z.core.$strict>>;
44503
44485
  }, z.core.$strict>>;
44504
44486
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44505
44487
  type: z.ZodLiteral<"metered">;
@@ -44655,9 +44637,9 @@ export declare const subscriptionChangeResponseWire: z.ZodObject<{
44655
44637
  exclusive: "exclusive";
44656
44638
  inclusive: "inclusive";
44657
44639
  }>>;
44658
- code: z.ZodObject<{
44640
+ code: z.ZodOptional<z.ZodObject<{
44659
44641
  id: z.ZodString;
44660
- }, z.core.$strict>;
44642
+ }, z.core.$strict>>;
44661
44643
  }, z.core.$strict>>;
44662
44644
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44663
44645
  type: z.ZodLiteral<"metered">;
@@ -44862,9 +44844,9 @@ export declare const subscriptionMigrateResponseWire: z.ZodObject<{
44862
44844
  exclusive: "exclusive";
44863
44845
  inclusive: "inclusive";
44864
44846
  }>>;
44865
- code: z.ZodObject<{
44847
+ code: z.ZodOptional<z.ZodObject<{
44866
44848
  id: z.ZodString;
44867
- }, z.core.$strict>;
44849
+ }, z.core.$strict>>;
44868
44850
  }, z.core.$strict>>;
44869
44851
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44870
44852
  type: z.ZodLiteral<"metered">;
@@ -45136,9 +45118,9 @@ export declare const invoiceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
45136
45118
  exclusive: "exclusive";
45137
45119
  inclusive: "inclusive";
45138
45120
  }>>;
45139
- code: z.ZodObject<{
45121
+ code: z.ZodOptional<z.ZodObject<{
45140
45122
  id: z.ZodString;
45141
- }, z.core.$strict>;
45123
+ }, z.core.$strict>>;
45142
45124
  }, z.core.$strict>>;
45143
45125
  feature_key: z.ZodOptional<z.ZodString>;
45144
45126
  discounts: z.ZodOptional<z.ZodObject<{
@@ -45339,9 +45321,9 @@ export declare const updateInvoiceRequestWire: z.ZodDiscriminatedUnion<[z.ZodObj
45339
45321
  exclusive: "exclusive";
45340
45322
  inclusive: "inclusive";
45341
45323
  }>>;
45342
- code: z.ZodObject<{
45324
+ code: z.ZodOptional<z.ZodObject<{
45343
45325
  id: z.ZodString;
45344
- }, z.core.$strict>;
45326
+ }, z.core.$strict>>;
45345
45327
  }, z.core.$strict>>;
45346
45328
  feature_key: z.ZodOptional<z.ZodString>;
45347
45329
  discounts: z.ZodOptional<z.ZodObject<{
@@ -45529,9 +45511,9 @@ export declare const chargeFlatFeeWire: z.ZodObject<{
45529
45511
  exclusive: "exclusive";
45530
45512
  inclusive: "inclusive";
45531
45513
  }>>;
45532
- code: z.ZodObject<{
45514
+ code: z.ZodOptional<z.ZodObject<{
45533
45515
  id: z.ZodString;
45534
- }, z.core.$strict>;
45516
+ }, z.core.$strict>>;
45535
45517
  }, z.core.$strict>>;
45536
45518
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
45537
45519
  type: z.ZodLiteral<"metered">;
@@ -46152,9 +46134,9 @@ export declare const chargeUsageBasedWire: z.ZodObject<{
46152
46134
  exclusive: "exclusive";
46153
46135
  inclusive: "inclusive";
46154
46136
  }>>;
46155
- code: z.ZodObject<{
46137
+ code: z.ZodOptional<z.ZodObject<{
46156
46138
  id: z.ZodString;
46157
- }, z.core.$strict>;
46139
+ }, z.core.$strict>>;
46158
46140
  }, z.core.$strict>>;
46159
46141
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
46160
46142
  type: z.ZodLiteral<"metered">;
@@ -46949,9 +46931,9 @@ export declare const invoicePagePaginatedResponseWire: z.ZodObject<{
46949
46931
  exclusive: "exclusive";
46950
46932
  inclusive: "inclusive";
46951
46933
  }>>;
46952
- code: z.ZodObject<{
46934
+ code: z.ZodOptional<z.ZodObject<{
46953
46935
  id: z.ZodString;
46954
- }, z.core.$strict>;
46936
+ }, z.core.$strict>>;
46955
46937
  }, z.core.$strict>>;
46956
46938
  feature_key: z.ZodOptional<z.ZodString>;
46957
46939
  discounts: z.ZodOptional<z.ZodObject<{
@@ -47234,9 +47216,9 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
47234
47216
  exclusive: "exclusive";
47235
47217
  inclusive: "inclusive";
47236
47218
  }>>;
47237
- code: z.ZodObject<{
47219
+ code: z.ZodOptional<z.ZodObject<{
47238
47220
  id: z.ZodString;
47239
- }, z.core.$strict>;
47221
+ }, z.core.$strict>>;
47240
47222
  }, z.core.$strict>>;
47241
47223
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
47242
47224
  type: z.ZodLiteral<"metered">;
@@ -47856,9 +47838,9 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
47856
47838
  exclusive: "exclusive";
47857
47839
  inclusive: "inclusive";
47858
47840
  }>>;
47859
- code: z.ZodObject<{
47841
+ code: z.ZodOptional<z.ZodObject<{
47860
47842
  id: z.ZodString;
47861
- }, z.core.$strict>;
47843
+ }, z.core.$strict>>;
47862
47844
  }, z.core.$strict>>;
47863
47845
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
47864
47846
  type: z.ZodLiteral<"metered">;
@@ -48577,9 +48559,9 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
48577
48559
  exclusive: "exclusive";
48578
48560
  inclusive: "inclusive";
48579
48561
  }>>;
48580
- code: z.ZodObject<{
48562
+ code: z.ZodOptional<z.ZodObject<{
48581
48563
  id: z.ZodString;
48582
- }, z.core.$strict>;
48564
+ }, z.core.$strict>>;
48583
48565
  }, z.core.$strict>>;
48584
48566
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
48585
48567
  type: z.ZodLiteral<"metered">;
@@ -49199,9 +49181,9 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
49199
49181
  exclusive: "exclusive";
49200
49182
  inclusive: "inclusive";
49201
49183
  }>>;
49202
- code: z.ZodObject<{
49184
+ code: z.ZodOptional<z.ZodObject<{
49203
49185
  id: z.ZodString;
49204
- }, z.core.$strict>;
49186
+ }, z.core.$strict>>;
49205
49187
  }, z.core.$strict>>;
49206
49188
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
49207
49189
  type: z.ZodLiteral<"metered">;
@@ -50617,7 +50599,7 @@ export declare const createCreditGrantBodyWire: z.ZodObject<{
50617
50599
  exclusive: "exclusive";
50618
50600
  inclusive: "inclusive";
50619
50601
  }>>;
50620
- tax_code: z.ZodOptional<z.ZodObject<{
50602
+ code: z.ZodOptional<z.ZodObject<{
50621
50603
  id: z.ZodString;
50622
50604
  }, z.core.$strict>>;
50623
50605
  }, z.core.$strict>>;
@@ -50668,7 +50650,7 @@ export declare const createCreditGrantResponseWire: z.ZodObject<{
50668
50650
  exclusive: "exclusive";
50669
50651
  inclusive: "inclusive";
50670
50652
  }>>;
50671
- tax_code: z.ZodOptional<z.ZodObject<{
50653
+ code: z.ZodOptional<z.ZodObject<{
50672
50654
  id: z.ZodString;
50673
50655
  }, z.core.$strict>>;
50674
50656
  }, z.core.$strict>>;
@@ -50747,7 +50729,7 @@ export declare const getCreditGrantResponseWire: z.ZodObject<{
50747
50729
  exclusive: "exclusive";
50748
50730
  inclusive: "inclusive";
50749
50731
  }>>;
50750
- tax_code: z.ZodOptional<z.ZodObject<{
50732
+ code: z.ZodOptional<z.ZodObject<{
50751
50733
  id: z.ZodString;
50752
50734
  }, z.core.$strict>>;
50753
50735
  }, z.core.$strict>>;
@@ -50853,7 +50835,7 @@ export declare const listCreditGrantsResponseWire: z.ZodObject<{
50853
50835
  exclusive: "exclusive";
50854
50836
  inclusive: "inclusive";
50855
50837
  }>>;
50856
- tax_code: z.ZodOptional<z.ZodObject<{
50838
+ code: z.ZodOptional<z.ZodObject<{
50857
50839
  id: z.ZodString;
50858
50840
  }, z.core.$strict>>;
50859
50841
  }, z.core.$strict>>;
@@ -50995,7 +50977,7 @@ export declare const voidCreditGrantResponseWire: z.ZodObject<{
50995
50977
  exclusive: "exclusive";
50996
50978
  inclusive: "inclusive";
50997
50979
  }>>;
50998
- tax_code: z.ZodOptional<z.ZodObject<{
50980
+ code: z.ZodOptional<z.ZodObject<{
50999
50981
  id: z.ZodString;
51000
50982
  }, z.core.$strict>>;
51001
50983
  }, z.core.$strict>>;
@@ -51081,7 +51063,7 @@ export declare const updateCreditGrantExternalSettlementResponseWire: z.ZodObjec
51081
51063
  exclusive: "exclusive";
51082
51064
  inclusive: "inclusive";
51083
51065
  }>>;
51084
- tax_code: z.ZodOptional<z.ZodObject<{
51066
+ code: z.ZodOptional<z.ZodObject<{
51085
51067
  id: z.ZodString;
51086
51068
  }, z.core.$strict>>;
51087
51069
  }, z.core.$strict>>;
@@ -51409,9 +51391,9 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
51409
51391
  exclusive: "exclusive";
51410
51392
  inclusive: "inclusive";
51411
51393
  }>>;
51412
- code: z.ZodObject<{
51394
+ code: z.ZodOptional<z.ZodObject<{
51413
51395
  id: z.ZodString;
51414
- }, z.core.$strict>;
51396
+ }, z.core.$strict>>;
51415
51397
  }, z.core.$strict>>;
51416
51398
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
51417
51399
  type: z.ZodLiteral<"metered">;
@@ -52031,9 +52013,9 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
52031
52013
  exclusive: "exclusive";
52032
52014
  inclusive: "inclusive";
52033
52015
  }>>;
52034
- code: z.ZodObject<{
52016
+ code: z.ZodOptional<z.ZodObject<{
52035
52017
  id: z.ZodString;
52036
- }, z.core.$strict>;
52018
+ }, z.core.$strict>>;
52037
52019
  }, z.core.$strict>>;
52038
52020
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
52039
52021
  type: z.ZodLiteral<"metered">;
@@ -52940,9 +52922,9 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
52940
52922
  exclusive: "exclusive";
52941
52923
  inclusive: "inclusive";
52942
52924
  }>>;
52943
- code: z.ZodObject<{
52925
+ code: z.ZodOptional<z.ZodObject<{
52944
52926
  id: z.ZodString;
52945
- }, z.core.$strict>;
52927
+ }, z.core.$strict>>;
52946
52928
  }, z.core.$strict>>;
52947
52929
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
52948
52930
  type: z.ZodLiteral<"metered">;
@@ -53562,9 +53544,9 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
53562
53544
  exclusive: "exclusive";
53563
53545
  inclusive: "inclusive";
53564
53546
  }>>;
53565
- code: z.ZodObject<{
53547
+ code: z.ZodOptional<z.ZodObject<{
53566
53548
  id: z.ZodString;
53567
- }, z.core.$strict>;
53549
+ }, z.core.$strict>>;
53568
53550
  }, z.core.$strict>>;
53569
53551
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
53570
53552
  type: z.ZodLiteral<"metered">;
@@ -54206,9 +54188,9 @@ export declare const createSubscriptionBodyWire: z.ZodObject<{
54206
54188
  exclusive: "exclusive";
54207
54189
  inclusive: "inclusive";
54208
54190
  }>>;
54209
- code: z.ZodObject<{
54191
+ code: z.ZodOptional<z.ZodObject<{
54210
54192
  id: z.ZodString;
54211
- }, z.core.$strict>;
54193
+ }, z.core.$strict>>;
54212
54194
  }, z.core.$strict>>;
54213
54195
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54214
54196
  type: z.ZodLiteral<"metered">;
@@ -54373,9 +54355,9 @@ export declare const createSubscriptionResponseWire: z.ZodObject<{
54373
54355
  exclusive: "exclusive";
54374
54356
  inclusive: "inclusive";
54375
54357
  }>>;
54376
- code: z.ZodObject<{
54358
+ code: z.ZodOptional<z.ZodObject<{
54377
54359
  id: z.ZodString;
54378
- }, z.core.$strict>;
54360
+ }, z.core.$strict>>;
54379
54361
  }, z.core.$strict>>;
54380
54362
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54381
54363
  type: z.ZodLiteral<"metered">;
@@ -54566,9 +54548,9 @@ export declare const listSubscriptionsResponseWire: z.ZodObject<{
54566
54548
  exclusive: "exclusive";
54567
54549
  inclusive: "inclusive";
54568
54550
  }>>;
54569
- code: z.ZodObject<{
54551
+ code: z.ZodOptional<z.ZodObject<{
54570
54552
  id: z.ZodString;
54571
- }, z.core.$strict>;
54553
+ }, z.core.$strict>>;
54572
54554
  }, z.core.$strict>>;
54573
54555
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54574
54556
  type: z.ZodLiteral<"metered">;
@@ -54735,9 +54717,9 @@ export declare const getSubscriptionResponseWire: z.ZodObject<{
54735
54717
  exclusive: "exclusive";
54736
54718
  inclusive: "inclusive";
54737
54719
  }>>;
54738
- code: z.ZodObject<{
54720
+ code: z.ZodOptional<z.ZodObject<{
54739
54721
  id: z.ZodString;
54740
- }, z.core.$strict>;
54722
+ }, z.core.$strict>>;
54741
54723
  }, z.core.$strict>>;
54742
54724
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54743
54725
  type: z.ZodLiteral<"metered">;
@@ -54902,9 +54884,9 @@ export declare const cancelSubscriptionResponseWire: z.ZodObject<{
54902
54884
  exclusive: "exclusive";
54903
54885
  inclusive: "inclusive";
54904
54886
  }>>;
54905
- code: z.ZodObject<{
54887
+ code: z.ZodOptional<z.ZodObject<{
54906
54888
  id: z.ZodString;
54907
- }, z.core.$strict>;
54889
+ }, z.core.$strict>>;
54908
54890
  }, z.core.$strict>>;
54909
54891
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54910
54892
  type: z.ZodLiteral<"metered">;
@@ -55063,9 +55045,9 @@ export declare const unscheduleCancelationResponseWire: z.ZodObject<{
55063
55045
  exclusive: "exclusive";
55064
55046
  inclusive: "inclusive";
55065
55047
  }>>;
55066
- code: z.ZodObject<{
55048
+ code: z.ZodOptional<z.ZodObject<{
55067
55049
  id: z.ZodString;
55068
- }, z.core.$strict>;
55050
+ }, z.core.$strict>>;
55069
55051
  }, z.core.$strict>>;
55070
55052
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55071
55053
  type: z.ZodLiteral<"metered">;
@@ -55227,9 +55209,9 @@ export declare const restoreSubscriptionResponseWire: z.ZodObject<{
55227
55209
  exclusive: "exclusive";
55228
55210
  inclusive: "inclusive";
55229
55211
  }>>;
55230
- code: z.ZodObject<{
55212
+ code: z.ZodOptional<z.ZodObject<{
55231
55213
  id: z.ZodString;
55232
- }, z.core.$strict>;
55214
+ }, z.core.$strict>>;
55233
55215
  }, z.core.$strict>>;
55234
55216
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55235
55217
  type: z.ZodLiteral<"metered">;
@@ -55351,9 +55333,9 @@ export declare const changeSubscriptionBodyWire: z.ZodObject<{
55351
55333
  exclusive: "exclusive";
55352
55334
  inclusive: "inclusive";
55353
55335
  }>>;
55354
- code: z.ZodObject<{
55336
+ code: z.ZodOptional<z.ZodObject<{
55355
55337
  id: z.ZodString;
55356
- }, z.core.$strict>;
55338
+ }, z.core.$strict>>;
55357
55339
  }, z.core.$strict>>;
55358
55340
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55359
55341
  type: z.ZodLiteral<"metered">;
@@ -55520,9 +55502,9 @@ export declare const changeSubscriptionResponseWire: z.ZodObject<{
55520
55502
  exclusive: "exclusive";
55521
55503
  inclusive: "inclusive";
55522
55504
  }>>;
55523
- code: z.ZodObject<{
55505
+ code: z.ZodOptional<z.ZodObject<{
55524
55506
  id: z.ZodString;
55525
- }, z.core.$strict>;
55507
+ }, z.core.$strict>>;
55526
55508
  }, z.core.$strict>>;
55527
55509
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55528
55510
  type: z.ZodLiteral<"metered">;
@@ -55678,9 +55660,9 @@ export declare const changeSubscriptionResponseWire: z.ZodObject<{
55678
55660
  exclusive: "exclusive";
55679
55661
  inclusive: "inclusive";
55680
55662
  }>>;
55681
- code: z.ZodObject<{
55663
+ code: z.ZodOptional<z.ZodObject<{
55682
55664
  id: z.ZodString;
55683
- }, z.core.$strict>;
55665
+ }, z.core.$strict>>;
55684
55666
  }, z.core.$strict>>;
55685
55667
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55686
55668
  type: z.ZodLiteral<"metered">;
@@ -55897,9 +55879,9 @@ export declare const migrateSubscriptionResponseWire: z.ZodObject<{
55897
55879
  exclusive: "exclusive";
55898
55880
  inclusive: "inclusive";
55899
55881
  }>>;
55900
- code: z.ZodObject<{
55882
+ code: z.ZodOptional<z.ZodObject<{
55901
55883
  id: z.ZodString;
55902
- }, z.core.$strict>;
55884
+ }, z.core.$strict>>;
55903
55885
  }, z.core.$strict>>;
55904
55886
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55905
55887
  type: z.ZodLiteral<"metered">;
@@ -55998,9 +55980,9 @@ export declare const editSubscriptionBodyWire: z.ZodObject<{
55998
55980
  exclusive: "exclusive";
55999
55981
  inclusive: "inclusive";
56000
55982
  }>>;
56001
- code: z.ZodObject<{
55983
+ code: z.ZodOptional<z.ZodObject<{
56002
55984
  id: z.ZodString;
56003
- }, z.core.$strict>;
55985
+ }, z.core.$strict>>;
56004
55986
  }, z.core.$strict>>;
56005
55987
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56006
55988
  type: z.ZodLiteral<"metered">;
@@ -56185,9 +56167,9 @@ export declare const editSubscriptionResponseWire: z.ZodObject<{
56185
56167
  exclusive: "exclusive";
56186
56168
  inclusive: "inclusive";
56187
56169
  }>>;
56188
- code: z.ZodObject<{
56170
+ code: z.ZodOptional<z.ZodObject<{
56189
56171
  id: z.ZodString;
56190
- }, z.core.$strict>;
56172
+ }, z.core.$strict>>;
56191
56173
  }, z.core.$strict>>;
56192
56174
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56193
56175
  type: z.ZodLiteral<"metered">;
@@ -56313,9 +56295,9 @@ export declare const createSubscriptionAddonResponseWire: z.ZodObject<{
56313
56295
  exclusive: "exclusive";
56314
56296
  inclusive: "inclusive";
56315
56297
  }>>;
56316
- code: z.ZodObject<{
56298
+ code: z.ZodOptional<z.ZodObject<{
56317
56299
  id: z.ZodString;
56318
- }, z.core.$strict>;
56300
+ }, z.core.$strict>>;
56319
56301
  }, z.core.$strict>>;
56320
56302
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56321
56303
  type: z.ZodLiteral<"metered">;
@@ -56438,9 +56420,9 @@ export declare const listSubscriptionAddonsResponseWire: z.ZodObject<{
56438
56420
  exclusive: "exclusive";
56439
56421
  inclusive: "inclusive";
56440
56422
  }>>;
56441
- code: z.ZodObject<{
56423
+ code: z.ZodOptional<z.ZodObject<{
56442
56424
  id: z.ZodString;
56443
- }, z.core.$strict>;
56425
+ }, z.core.$strict>>;
56444
56426
  }, z.core.$strict>>;
56445
56427
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56446
56428
  type: z.ZodLiteral<"metered">;
@@ -56564,9 +56546,9 @@ export declare const getSubscriptionAddonResponseWire: z.ZodObject<{
56564
56546
  exclusive: "exclusive";
56565
56547
  inclusive: "inclusive";
56566
56548
  }>>;
56567
- code: z.ZodObject<{
56549
+ code: z.ZodOptional<z.ZodObject<{
56568
56550
  id: z.ZodString;
56569
- }, z.core.$strict>;
56551
+ }, z.core.$strict>>;
56570
56552
  }, z.core.$strict>>;
56571
56553
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56572
56554
  type: z.ZodLiteral<"metered">;
@@ -56689,9 +56671,9 @@ export declare const updateSubscriptionAddonResponseWire: z.ZodObject<{
56689
56671
  exclusive: "exclusive";
56690
56672
  inclusive: "inclusive";
56691
56673
  }>>;
56692
- code: z.ZodObject<{
56674
+ code: z.ZodOptional<z.ZodObject<{
56693
56675
  id: z.ZodString;
56694
- }, z.core.$strict>;
56676
+ }, z.core.$strict>>;
56695
56677
  }, z.core.$strict>>;
56696
56678
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
56697
56679
  type: z.ZodLiteral<"metered">;
@@ -58236,9 +58218,9 @@ export declare const listInvoicesResponseWire: z.ZodObject<{
58236
58218
  exclusive: "exclusive";
58237
58219
  inclusive: "inclusive";
58238
58220
  }>>;
58239
- code: z.ZodObject<{
58221
+ code: z.ZodOptional<z.ZodObject<{
58240
58222
  id: z.ZodString;
58241
- }, z.core.$strict>;
58223
+ }, z.core.$strict>>;
58242
58224
  }, z.core.$strict>>;
58243
58225
  feature_key: z.ZodOptional<z.ZodString>;
58244
58226
  discounts: z.ZodOptional<z.ZodObject<{
@@ -58600,9 +58582,9 @@ export declare const getInvoiceResponseWire: z.ZodDiscriminatedUnion<[z.ZodObjec
58600
58582
  exclusive: "exclusive";
58601
58583
  inclusive: "inclusive";
58602
58584
  }>>;
58603
- code: z.ZodObject<{
58585
+ code: z.ZodOptional<z.ZodObject<{
58604
58586
  id: z.ZodString;
58605
- }, z.core.$strict>;
58587
+ }, z.core.$strict>>;
58606
58588
  }, z.core.$strict>>;
58607
58589
  feature_key: z.ZodOptional<z.ZodString>;
58608
58590
  discounts: z.ZodOptional<z.ZodObject<{
@@ -58806,9 +58788,9 @@ export declare const updateInvoiceBodyWire: z.ZodDiscriminatedUnion<[z.ZodObject
58806
58788
  exclusive: "exclusive";
58807
58789
  inclusive: "inclusive";
58808
58790
  }>>;
58809
- code: z.ZodObject<{
58791
+ code: z.ZodOptional<z.ZodObject<{
58810
58792
  id: z.ZodString;
58811
- }, z.core.$strict>;
58793
+ }, z.core.$strict>>;
58812
58794
  }, z.core.$strict>>;
58813
58795
  feature_key: z.ZodOptional<z.ZodString>;
58814
58796
  discounts: z.ZodOptional<z.ZodObject<{
@@ -59072,9 +59054,9 @@ export declare const updateInvoiceResponseWire: z.ZodDiscriminatedUnion<[z.ZodOb
59072
59054
  exclusive: "exclusive";
59073
59055
  inclusive: "inclusive";
59074
59056
  }>>;
59075
- code: z.ZodObject<{
59057
+ code: z.ZodOptional<z.ZodObject<{
59076
59058
  id: z.ZodString;
59077
- }, z.core.$strict>;
59059
+ }, z.core.$strict>>;
59078
59060
  }, z.core.$strict>>;
59079
59061
  feature_key: z.ZodOptional<z.ZodString>;
59080
59062
  discounts: z.ZodOptional<z.ZodObject<{
@@ -59431,9 +59413,9 @@ export declare const advanceInvoiceResponseWire: z.ZodDiscriminatedUnion<[z.ZodO
59431
59413
  exclusive: "exclusive";
59432
59414
  inclusive: "inclusive";
59433
59415
  }>>;
59434
- code: z.ZodObject<{
59416
+ code: z.ZodOptional<z.ZodObject<{
59435
59417
  id: z.ZodString;
59436
- }, z.core.$strict>;
59418
+ }, z.core.$strict>>;
59437
59419
  }, z.core.$strict>>;
59438
59420
  feature_key: z.ZodOptional<z.ZodString>;
59439
59421
  discounts: z.ZodOptional<z.ZodObject<{
@@ -59787,9 +59769,9 @@ export declare const approveInvoiceResponseWire: z.ZodDiscriminatedUnion<[z.ZodO
59787
59769
  exclusive: "exclusive";
59788
59770
  inclusive: "inclusive";
59789
59771
  }>>;
59790
- code: z.ZodObject<{
59772
+ code: z.ZodOptional<z.ZodObject<{
59791
59773
  id: z.ZodString;
59792
- }, z.core.$strict>;
59774
+ }, z.core.$strict>>;
59793
59775
  }, z.core.$strict>>;
59794
59776
  feature_key: z.ZodOptional<z.ZodString>;
59795
59777
  discounts: z.ZodOptional<z.ZodObject<{
@@ -60143,9 +60125,9 @@ export declare const retryInvoiceResponseWire: z.ZodDiscriminatedUnion<[z.ZodObj
60143
60125
  exclusive: "exclusive";
60144
60126
  inclusive: "inclusive";
60145
60127
  }>>;
60146
- code: z.ZodObject<{
60128
+ code: z.ZodOptional<z.ZodObject<{
60147
60129
  id: z.ZodString;
60148
- }, z.core.$strict>;
60130
+ }, z.core.$strict>>;
60149
60131
  }, z.core.$strict>>;
60150
60132
  feature_key: z.ZodOptional<z.ZodString>;
60151
60133
  discounts: z.ZodOptional<z.ZodObject<{
@@ -60499,9 +60481,9 @@ export declare const snapshotQuantitiesInvoiceResponseWire: z.ZodDiscriminatedUn
60499
60481
  exclusive: "exclusive";
60500
60482
  inclusive: "inclusive";
60501
60483
  }>>;
60502
- code: z.ZodObject<{
60484
+ code: z.ZodOptional<z.ZodObject<{
60503
60485
  id: z.ZodString;
60504
- }, z.core.$strict>;
60486
+ }, z.core.$strict>>;
60505
60487
  }, z.core.$strict>>;
60506
60488
  feature_key: z.ZodOptional<z.ZodString>;
60507
60489
  discounts: z.ZodOptional<z.ZodObject<{
@@ -60829,9 +60811,9 @@ export declare const listChargesResponseWire: z.ZodObject<{
60829
60811
  exclusive: "exclusive";
60830
60812
  inclusive: "inclusive";
60831
60813
  }>>;
60832
- code: z.ZodObject<{
60814
+ code: z.ZodOptional<z.ZodObject<{
60833
60815
  id: z.ZodString;
60834
- }, z.core.$strict>;
60816
+ }, z.core.$strict>>;
60835
60817
  }, z.core.$strict>>;
60836
60818
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
60837
60819
  type: z.ZodLiteral<"metered">;
@@ -61451,9 +61433,9 @@ export declare const listChargesResponseWire: z.ZodObject<{
61451
61433
  exclusive: "exclusive";
61452
61434
  inclusive: "inclusive";
61453
61435
  }>>;
61454
- code: z.ZodObject<{
61436
+ code: z.ZodOptional<z.ZodObject<{
61455
61437
  id: z.ZodString;
61456
- }, z.core.$strict>;
61438
+ }, z.core.$strict>>;
61457
61439
  }, z.core.$strict>>;
61458
61440
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
61459
61441
  type: z.ZodLiteral<"metered">;
@@ -63193,9 +63175,9 @@ export declare const listPlansResponseWire: z.ZodObject<{
63193
63175
  exclusive: "exclusive";
63194
63176
  inclusive: "inclusive";
63195
63177
  }>>;
63196
- code: z.ZodObject<{
63178
+ code: z.ZodOptional<z.ZodObject<{
63197
63179
  id: z.ZodString;
63198
- }, z.core.$strict>;
63180
+ }, z.core.$strict>>;
63199
63181
  }, z.core.$strict>>;
63200
63182
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63201
63183
  type: z.ZodLiteral<"metered">;
@@ -63317,9 +63299,9 @@ export declare const createPlanBodyWire: z.ZodObject<{
63317
63299
  exclusive: "exclusive";
63318
63300
  inclusive: "inclusive";
63319
63301
  }>>;
63320
- code: z.ZodObject<{
63302
+ code: z.ZodOptional<z.ZodObject<{
63321
63303
  id: z.ZodString;
63322
- }, z.core.$strict>;
63304
+ }, z.core.$strict>>;
63323
63305
  }, z.core.$strict>>;
63324
63306
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63325
63307
  type: z.ZodLiteral<"metered">;
@@ -63440,9 +63422,9 @@ export declare const createPlanResponseWire: z.ZodObject<{
63440
63422
  exclusive: "exclusive";
63441
63423
  inclusive: "inclusive";
63442
63424
  }>>;
63443
- code: z.ZodObject<{
63425
+ code: z.ZodOptional<z.ZodObject<{
63444
63426
  id: z.ZodString;
63445
- }, z.core.$strict>;
63427
+ }, z.core.$strict>>;
63446
63428
  }, z.core.$strict>>;
63447
63429
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63448
63430
  type: z.ZodLiteral<"metered">;
@@ -63556,9 +63538,9 @@ export declare const updatePlanBodyWire: z.ZodObject<{
63556
63538
  exclusive: "exclusive";
63557
63539
  inclusive: "inclusive";
63558
63540
  }>>;
63559
- code: z.ZodObject<{
63541
+ code: z.ZodOptional<z.ZodObject<{
63560
63542
  id: z.ZodString;
63561
- }, z.core.$strict>;
63543
+ }, z.core.$strict>>;
63562
63544
  }, z.core.$strict>>;
63563
63545
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63564
63546
  type: z.ZodLiteral<"metered">;
@@ -63679,9 +63661,9 @@ export declare const updatePlanResponseWire: z.ZodObject<{
63679
63661
  exclusive: "exclusive";
63680
63662
  inclusive: "inclusive";
63681
63663
  }>>;
63682
- code: z.ZodObject<{
63664
+ code: z.ZodOptional<z.ZodObject<{
63683
63665
  id: z.ZodString;
63684
- }, z.core.$strict>;
63666
+ }, z.core.$strict>>;
63685
63667
  }, z.core.$strict>>;
63686
63668
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63687
63669
  type: z.ZodLiteral<"metered">;
@@ -63811,9 +63793,9 @@ export declare const getPlanResponseWire: z.ZodObject<{
63811
63793
  exclusive: "exclusive";
63812
63794
  inclusive: "inclusive";
63813
63795
  }>>;
63814
- code: z.ZodObject<{
63796
+ code: z.ZodOptional<z.ZodObject<{
63815
63797
  id: z.ZodString;
63816
- }, z.core.$strict>;
63798
+ }, z.core.$strict>>;
63817
63799
  }, z.core.$strict>>;
63818
63800
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63819
63801
  type: z.ZodLiteral<"metered">;
@@ -63946,9 +63928,9 @@ export declare const archivePlanResponseWire: z.ZodObject<{
63946
63928
  exclusive: "exclusive";
63947
63929
  inclusive: "inclusive";
63948
63930
  }>>;
63949
- code: z.ZodObject<{
63931
+ code: z.ZodOptional<z.ZodObject<{
63950
63932
  id: z.ZodString;
63951
- }, z.core.$strict>;
63933
+ }, z.core.$strict>>;
63952
63934
  }, z.core.$strict>>;
63953
63935
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63954
63936
  type: z.ZodLiteral<"metered">;
@@ -64078,9 +64060,9 @@ export declare const publishPlanResponseWire: z.ZodObject<{
64078
64060
  exclusive: "exclusive";
64079
64061
  inclusive: "inclusive";
64080
64062
  }>>;
64081
- code: z.ZodObject<{
64063
+ code: z.ZodOptional<z.ZodObject<{
64082
64064
  id: z.ZodString;
64083
- }, z.core.$strict>;
64065
+ }, z.core.$strict>>;
64084
64066
  }, z.core.$strict>>;
64085
64067
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64086
64068
  type: z.ZodLiteral<"metered">;
@@ -64251,9 +64233,9 @@ export declare const listAddonsResponseWire: z.ZodObject<{
64251
64233
  exclusive: "exclusive";
64252
64234
  inclusive: "inclusive";
64253
64235
  }>>;
64254
- code: z.ZodObject<{
64236
+ code: z.ZodOptional<z.ZodObject<{
64255
64237
  id: z.ZodString;
64256
- }, z.core.$strict>;
64238
+ }, z.core.$strict>>;
64257
64239
  }, z.core.$strict>>;
64258
64240
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64259
64241
  type: z.ZodLiteral<"metered">;
@@ -64366,9 +64348,9 @@ export declare const createAddonBodyWire: z.ZodObject<{
64366
64348
  exclusive: "exclusive";
64367
64349
  inclusive: "inclusive";
64368
64350
  }>>;
64369
- code: z.ZodObject<{
64351
+ code: z.ZodOptional<z.ZodObject<{
64370
64352
  id: z.ZodString;
64371
- }, z.core.$strict>;
64353
+ }, z.core.$strict>>;
64372
64354
  }, z.core.$strict>>;
64373
64355
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64374
64356
  type: z.ZodLiteral<"metered">;
@@ -64479,9 +64461,9 @@ export declare const createAddonResponseWire: z.ZodObject<{
64479
64461
  exclusive: "exclusive";
64480
64462
  inclusive: "inclusive";
64481
64463
  }>>;
64482
- code: z.ZodObject<{
64464
+ code: z.ZodOptional<z.ZodObject<{
64483
64465
  id: z.ZodString;
64484
- }, z.core.$strict>;
64466
+ }, z.core.$strict>>;
64485
64467
  }, z.core.$strict>>;
64486
64468
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64487
64469
  type: z.ZodLiteral<"metered">;
@@ -64587,9 +64569,9 @@ export declare const updateAddonBodyWire: z.ZodObject<{
64587
64569
  exclusive: "exclusive";
64588
64570
  inclusive: "inclusive";
64589
64571
  }>>;
64590
- code: z.ZodObject<{
64572
+ code: z.ZodOptional<z.ZodObject<{
64591
64573
  id: z.ZodString;
64592
- }, z.core.$strict>;
64574
+ }, z.core.$strict>>;
64593
64575
  }, z.core.$strict>>;
64594
64576
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64595
64577
  type: z.ZodLiteral<"metered">;
@@ -64700,9 +64682,9 @@ export declare const updateAddonResponseWire: z.ZodObject<{
64700
64682
  exclusive: "exclusive";
64701
64683
  inclusive: "inclusive";
64702
64684
  }>>;
64703
- code: z.ZodObject<{
64685
+ code: z.ZodOptional<z.ZodObject<{
64704
64686
  id: z.ZodString;
64705
- }, z.core.$strict>;
64687
+ }, z.core.$strict>>;
64706
64688
  }, z.core.$strict>>;
64707
64689
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64708
64690
  type: z.ZodLiteral<"metered">;
@@ -64822,9 +64804,9 @@ export declare const getAddonResponseWire: z.ZodObject<{
64822
64804
  exclusive: "exclusive";
64823
64805
  inclusive: "inclusive";
64824
64806
  }>>;
64825
- code: z.ZodObject<{
64807
+ code: z.ZodOptional<z.ZodObject<{
64826
64808
  id: z.ZodString;
64827
- }, z.core.$strict>;
64809
+ }, z.core.$strict>>;
64828
64810
  }, z.core.$strict>>;
64829
64811
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64830
64812
  type: z.ZodLiteral<"metered">;
@@ -64947,9 +64929,9 @@ export declare const archiveAddonResponseWire: z.ZodObject<{
64947
64929
  exclusive: "exclusive";
64948
64930
  inclusive: "inclusive";
64949
64931
  }>>;
64950
- code: z.ZodObject<{
64932
+ code: z.ZodOptional<z.ZodObject<{
64951
64933
  id: z.ZodString;
64952
- }, z.core.$strict>;
64934
+ }, z.core.$strict>>;
64953
64935
  }, z.core.$strict>>;
64954
64936
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
64955
64937
  type: z.ZodLiteral<"metered">;
@@ -65069,9 +65051,9 @@ export declare const publishAddonResponseWire: z.ZodObject<{
65069
65051
  exclusive: "exclusive";
65070
65052
  inclusive: "inclusive";
65071
65053
  }>>;
65072
- code: z.ZodObject<{
65054
+ code: z.ZodOptional<z.ZodObject<{
65073
65055
  id: z.ZodString;
65074
- }, z.core.$strict>;
65056
+ }, z.core.$strict>>;
65075
65057
  }, z.core.$strict>>;
65076
65058
  entitlement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
65077
65059
  type: z.ZodLiteral<"metered">;