@openmeter/client 1.0.0-beta-9caae8e05744 → 1.0.0-beta-f01fb4abbc5a
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.
- package/dist/funcs/currencies.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/operations/currencies.d.ts +6 -0
- package/dist/models/schemas.d.ts +176 -100
- package/dist/models/schemas.js +104 -88
- package/dist/models/types.d.ts +46 -36
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3
3
|
export declare const currencyCode: z.ZodString;
|
|
4
|
+
export declare const currencyCodeCustom: z.ZodString;
|
|
4
5
|
export declare const numeric: z.ZodString;
|
|
5
6
|
export declare const cursorPaginationQueryPage: z.ZodObject<{
|
|
6
7
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -379,7 +380,9 @@ export declare const currencyType: z.ZodEnum<{
|
|
|
379
380
|
custom: "custom";
|
|
380
381
|
fiat: "fiat";
|
|
381
382
|
}>;
|
|
382
|
-
export declare const
|
|
383
|
+
export declare const currencyExpand: z.ZodEnum<{
|
|
384
|
+
cost_basis: "cost_basis";
|
|
385
|
+
}>;
|
|
383
386
|
export declare const featureLlmTokenType: z.ZodEnum<{
|
|
384
387
|
cache_read: "cache_read";
|
|
385
388
|
cache_write: "cache_write";
|
|
@@ -536,8 +539,6 @@ export declare const appCustomerDataStripe: z.ZodObject<{
|
|
|
536
539
|
export declare const appCustomerDataExternalInvoicing: z.ZodObject<{
|
|
537
540
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
538
541
|
}, z.core.$strip>;
|
|
539
|
-
export declare const billingCurrencyCode: z.ZodUnion<readonly [z.ZodString]>;
|
|
540
|
-
export declare const createCurrencyCode: z.ZodUnion<readonly [z.ZodString]>;
|
|
541
542
|
export declare const currencyFiat: z.ZodObject<{
|
|
542
543
|
type: z.ZodLiteral<"fiat">;
|
|
543
544
|
name: z.ZodString;
|
|
@@ -550,6 +551,16 @@ export declare const currencyFiat: z.ZodObject<{
|
|
|
550
551
|
export declare const listCostBasesParamsFilter: z.ZodObject<{
|
|
551
552
|
fiatCode: z.ZodOptional<z.ZodString>;
|
|
552
553
|
}, z.core.$strip>;
|
|
554
|
+
export declare const billingCurrencyCode: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
555
|
+
export declare const createCurrencyCode: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
556
|
+
export declare const createCurrencyCustomRequest: z.ZodObject<{
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
559
|
+
precision: z.ZodNumber;
|
|
560
|
+
decimalMark: z.ZodString;
|
|
561
|
+
thousandSeparator: z.ZodString;
|
|
562
|
+
code: z.ZodString;
|
|
563
|
+
}, z.core.$strip>;
|
|
553
564
|
export declare const currencyAmount: z.ZodObject<{
|
|
554
565
|
amount: z.ZodString;
|
|
555
566
|
currency: z.ZodString;
|
|
@@ -1570,14 +1581,6 @@ export declare const listCurrenciesParamsFilter: z.ZodObject<{
|
|
|
1570
1581
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
1571
1582
|
}, z.core.$strip>]>>;
|
|
1572
1583
|
}, z.core.$strip>;
|
|
1573
|
-
export declare const createCurrencyCustomRequest: z.ZodObject<{
|
|
1574
|
-
name: z.ZodString;
|
|
1575
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
1576
|
-
precision: z.ZodNumber;
|
|
1577
|
-
decimalMark: z.ZodString;
|
|
1578
|
-
thousandSeparator: z.ZodString;
|
|
1579
|
-
code: z.ZodString;
|
|
1580
|
-
}, z.core.$strip>;
|
|
1581
1584
|
export declare const governanceQueryRequest: z.ZodObject<{
|
|
1582
1585
|
includeCredits: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1583
1586
|
customer: z.ZodObject<{
|
|
@@ -1633,7 +1636,7 @@ export declare const creditAdjustment: z.ZodObject<{
|
|
|
1633
1636
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1634
1637
|
}, z.core.$strip>;
|
|
1635
1638
|
export declare const creditBalance: z.ZodObject<{
|
|
1636
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
1639
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1637
1640
|
live: z.ZodString;
|
|
1638
1641
|
settled: z.ZodString;
|
|
1639
1642
|
pending: z.ZodString;
|
|
@@ -1642,7 +1645,7 @@ export declare const createCreditAdjustmentRequest: z.ZodObject<{
|
|
|
1642
1645
|
name: z.ZodString;
|
|
1643
1646
|
description: z.ZodOptional<z.ZodString>;
|
|
1644
1647
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1645
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
1648
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1646
1649
|
amount: z.ZodString;
|
|
1647
1650
|
}, z.core.$strip>;
|
|
1648
1651
|
export declare const listCreditTransactionsParamsFilter: z.ZodObject<{
|
|
@@ -1652,7 +1655,7 @@ export declare const listCreditTransactionsParamsFilter: z.ZodObject<{
|
|
|
1652
1655
|
funded: "funded";
|
|
1653
1656
|
voided: "voided";
|
|
1654
1657
|
}>>;
|
|
1655
|
-
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString]>>;
|
|
1658
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
1656
1659
|
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1657
1660
|
eq: z.ZodOptional<z.ZodString>;
|
|
1658
1661
|
neq: z.ZodOptional<z.ZodString>;
|
|
@@ -1679,7 +1682,7 @@ export declare const creditTransaction: z.ZodObject<{
|
|
|
1679
1682
|
funded: "funded";
|
|
1680
1683
|
voided: "voided";
|
|
1681
1684
|
}>;
|
|
1682
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
1685
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1683
1686
|
amount: z.ZodString;
|
|
1684
1687
|
availableBalance: z.ZodObject<{
|
|
1685
1688
|
before: z.ZodString;
|
|
@@ -3085,7 +3088,7 @@ export declare const upsertCustomerBillingDataRequest: z.ZodObject<{
|
|
|
3085
3088
|
export declare const creditBalances: z.ZodObject<{
|
|
3086
3089
|
retrievedAt: z.ZodDate;
|
|
3087
3090
|
balances: z.ZodArray<z.ZodObject<{
|
|
3088
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
3091
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3089
3092
|
live: z.ZodString;
|
|
3090
3093
|
settled: z.ZodString;
|
|
3091
3094
|
pending: z.ZodString;
|
|
@@ -3105,7 +3108,7 @@ export declare const creditTransactionPaginatedResponse: z.ZodObject<{
|
|
|
3105
3108
|
funded: "funded";
|
|
3106
3109
|
voided: "voided";
|
|
3107
3110
|
}>;
|
|
3108
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
3111
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3109
3112
|
amount: z.ZodString;
|
|
3110
3113
|
availableBalance: z.ZodObject<{
|
|
3111
3114
|
before: z.ZodString;
|
|
@@ -3250,7 +3253,7 @@ export declare const createCreditGrantRequest: z.ZodObject<{
|
|
|
3250
3253
|
invoice: "invoice";
|
|
3251
3254
|
none: "none";
|
|
3252
3255
|
}>;
|
|
3253
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
3256
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3254
3257
|
amount: z.ZodString;
|
|
3255
3258
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
3256
3259
|
currency: z.ZodString;
|
|
@@ -3289,7 +3292,7 @@ export declare const creditGrant: z.ZodObject<{
|
|
|
3289
3292
|
invoice: "invoice";
|
|
3290
3293
|
none: "none";
|
|
3291
3294
|
}>;
|
|
3292
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
3295
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3293
3296
|
amount: z.ZodString;
|
|
3294
3297
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
3295
3298
|
currency: z.ZodString;
|
|
@@ -4392,7 +4395,7 @@ export declare const creditGrantPagePaginatedResponse: z.ZodObject<{
|
|
|
4392
4395
|
invoice: "invoice";
|
|
4393
4396
|
none: "none";
|
|
4394
4397
|
}>;
|
|
4395
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
4398
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4396
4399
|
amount: z.ZodString;
|
|
4397
4400
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
4398
4401
|
currency: z.ZodString;
|
|
@@ -5203,6 +5206,7 @@ export declare const rateCard: z.ZodObject<{
|
|
|
5203
5206
|
feature: z.ZodOptional<z.ZodObject<{
|
|
5204
5207
|
id: z.ZodString;
|
|
5205
5208
|
}, z.core.$strip>>;
|
|
5209
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
5206
5210
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
5207
5211
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5208
5212
|
type: z.ZodLiteral<"free">;
|
|
@@ -6496,6 +6500,7 @@ export declare const subscriptionAddonRateCard: z.ZodObject<{
|
|
|
6496
6500
|
feature: z.ZodOptional<z.ZodObject<{
|
|
6497
6501
|
id: z.ZodString;
|
|
6498
6502
|
}, z.core.$strip>>;
|
|
6503
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6499
6504
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
6500
6505
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6501
6506
|
type: z.ZodLiteral<"free">;
|
|
@@ -6593,6 +6598,7 @@ export declare const planPhase: z.ZodObject<{
|
|
|
6593
6598
|
feature: z.ZodOptional<z.ZodObject<{
|
|
6594
6599
|
id: z.ZodString;
|
|
6595
6600
|
}, z.core.$strip>>;
|
|
6601
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6596
6602
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
6597
6603
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6598
6604
|
type: z.ZodLiteral<"free">;
|
|
@@ -6689,7 +6695,7 @@ export declare const addon: z.ZodObject<{
|
|
|
6689
6695
|
multiple: "multiple";
|
|
6690
6696
|
single: "single";
|
|
6691
6697
|
}>;
|
|
6692
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
6698
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6693
6699
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
6694
6700
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
6695
6701
|
status: z.ZodEnum<{
|
|
@@ -6705,6 +6711,7 @@ export declare const addon: z.ZodObject<{
|
|
|
6705
6711
|
feature: z.ZodOptional<z.ZodObject<{
|
|
6706
6712
|
id: z.ZodString;
|
|
6707
6713
|
}, z.core.$strip>>;
|
|
6714
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6708
6715
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
6709
6716
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6710
6717
|
type: z.ZodLiteral<"free">;
|
|
@@ -6802,7 +6809,7 @@ export declare const createAddonRequest: z.ZodObject<{
|
|
|
6802
6809
|
multiple: "multiple";
|
|
6803
6810
|
single: "single";
|
|
6804
6811
|
}>;
|
|
6805
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
6812
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6806
6813
|
rateCards: z.ZodArray<z.ZodObject<{
|
|
6807
6814
|
name: z.ZodString;
|
|
6808
6815
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6811,6 +6818,7 @@ export declare const createAddonRequest: z.ZodObject<{
|
|
|
6811
6818
|
feature: z.ZodOptional<z.ZodObject<{
|
|
6812
6819
|
id: z.ZodString;
|
|
6813
6820
|
}, z.core.$strip>>;
|
|
6821
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6814
6822
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
6815
6823
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6816
6824
|
type: z.ZodLiteral<"free">;
|
|
@@ -6909,6 +6917,7 @@ export declare const upsertAddonRequest: z.ZodObject<{
|
|
|
6909
6917
|
feature: z.ZodOptional<z.ZodObject<{
|
|
6910
6918
|
id: z.ZodString;
|
|
6911
6919
|
}, z.core.$strip>>;
|
|
6920
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6912
6921
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
6913
6922
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6914
6923
|
type: z.ZodLiteral<"free">;
|
|
@@ -7873,6 +7882,7 @@ export declare const subscriptionAddon: z.ZodObject<{
|
|
|
7873
7882
|
feature: z.ZodOptional<z.ZodObject<{
|
|
7874
7883
|
id: z.ZodString;
|
|
7875
7884
|
}, z.core.$strip>>;
|
|
7885
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
7876
7886
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
7877
7887
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7878
7888
|
type: z.ZodLiteral<"free">;
|
|
@@ -7967,7 +7977,7 @@ export declare const plan: z.ZodObject<{
|
|
|
7967
7977
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
7968
7978
|
key: z.ZodString;
|
|
7969
7979
|
version: z.ZodDefault<z.ZodNumber>;
|
|
7970
|
-
currency: z.ZodString
|
|
7980
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7971
7981
|
billingCadence: z.ZodString;
|
|
7972
7982
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7973
7983
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -7992,6 +8002,7 @@ export declare const plan: z.ZodObject<{
|
|
|
7992
8002
|
feature: z.ZodOptional<z.ZodObject<{
|
|
7993
8003
|
id: z.ZodString;
|
|
7994
8004
|
}, z.core.$strip>>;
|
|
8005
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
7995
8006
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
7996
8007
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7997
8008
|
type: z.ZodLiteral<"free">;
|
|
@@ -8090,7 +8101,7 @@ export declare const createPlanRequest: z.ZodObject<{
|
|
|
8090
8101
|
description: z.ZodOptional<z.ZodString>;
|
|
8091
8102
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8092
8103
|
key: z.ZodString;
|
|
8093
|
-
currency: z.ZodString
|
|
8104
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
8094
8105
|
billingCadence: z.ZodString;
|
|
8095
8106
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8096
8107
|
phases: z.ZodArray<z.ZodObject<{
|
|
@@ -8107,6 +8118,7 @@ export declare const createPlanRequest: z.ZodObject<{
|
|
|
8107
8118
|
feature: z.ZodOptional<z.ZodObject<{
|
|
8108
8119
|
id: z.ZodString;
|
|
8109
8120
|
}, z.core.$strip>>;
|
|
8121
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
8110
8122
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
8111
8123
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8112
8124
|
type: z.ZodLiteral<"free">;
|
|
@@ -8209,6 +8221,7 @@ export declare const upsertPlanRequest: z.ZodObject<{
|
|
|
8209
8221
|
feature: z.ZodOptional<z.ZodObject<{
|
|
8210
8222
|
id: z.ZodString;
|
|
8211
8223
|
}, z.core.$strip>>;
|
|
8224
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
8212
8225
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
8213
8226
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8214
8227
|
type: z.ZodLiteral<"free">;
|
|
@@ -8307,7 +8320,7 @@ export declare const addonPagePaginatedResponse: z.ZodObject<{
|
|
|
8307
8320
|
multiple: "multiple";
|
|
8308
8321
|
single: "single";
|
|
8309
8322
|
}>;
|
|
8310
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
8323
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
8311
8324
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
8312
8325
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
8313
8326
|
status: z.ZodEnum<{
|
|
@@ -8323,6 +8336,7 @@ export declare const addonPagePaginatedResponse: z.ZodObject<{
|
|
|
8323
8336
|
feature: z.ZodOptional<z.ZodObject<{
|
|
8324
8337
|
id: z.ZodString;
|
|
8325
8338
|
}, z.core.$strip>>;
|
|
8339
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
8326
8340
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
8327
8341
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8328
8342
|
type: z.ZodLiteral<"free">;
|
|
@@ -9161,6 +9175,7 @@ export declare const subscriptionAddonPagePaginatedResponse: z.ZodObject<{
|
|
|
9161
9175
|
feature: z.ZodOptional<z.ZodObject<{
|
|
9162
9176
|
id: z.ZodString;
|
|
9163
9177
|
}, z.core.$strip>>;
|
|
9178
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
9164
9179
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
9165
9180
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9166
9181
|
type: z.ZodLiteral<"free">;
|
|
@@ -9264,7 +9279,7 @@ export declare const planPagePaginatedResponse: z.ZodObject<{
|
|
|
9264
9279
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
9265
9280
|
key: z.ZodString;
|
|
9266
9281
|
version: z.ZodDefault<z.ZodNumber>;
|
|
9267
|
-
currency: z.ZodString
|
|
9282
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
9268
9283
|
billingCadence: z.ZodString;
|
|
9269
9284
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9270
9285
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -9289,6 +9304,7 @@ export declare const planPagePaginatedResponse: z.ZodObject<{
|
|
|
9289
9304
|
feature: z.ZodOptional<z.ZodObject<{
|
|
9290
9305
|
id: z.ZodString;
|
|
9291
9306
|
}, z.core.$strip>>;
|
|
9307
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
9292
9308
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
9293
9309
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9294
9310
|
type: z.ZodLiteral<"free">;
|
|
@@ -11487,7 +11503,7 @@ export declare const createCreditGrantBody: z.ZodObject<{
|
|
|
11487
11503
|
invoice: "invoice";
|
|
11488
11504
|
none: "none";
|
|
11489
11505
|
}>;
|
|
11490
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11506
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11491
11507
|
amount: z.ZodString;
|
|
11492
11508
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11493
11509
|
currency: z.ZodString;
|
|
@@ -11526,7 +11542,7 @@ export declare const createCreditGrantResponse: z.ZodObject<{
|
|
|
11526
11542
|
invoice: "invoice";
|
|
11527
11543
|
none: "none";
|
|
11528
11544
|
}>;
|
|
11529
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11545
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11530
11546
|
amount: z.ZodString;
|
|
11531
11547
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11532
11548
|
currency: z.ZodString;
|
|
@@ -11588,7 +11604,7 @@ export declare const getCreditGrantResponse: z.ZodObject<{
|
|
|
11588
11604
|
invoice: "invoice";
|
|
11589
11605
|
none: "none";
|
|
11590
11606
|
}>;
|
|
11591
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11607
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11592
11608
|
amount: z.ZodString;
|
|
11593
11609
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11594
11610
|
currency: z.ZodString;
|
|
@@ -11677,7 +11693,7 @@ export declare const listCreditGrantsResponse: z.ZodObject<{
|
|
|
11677
11693
|
invoice: "invoice";
|
|
11678
11694
|
none: "none";
|
|
11679
11695
|
}>;
|
|
11680
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11696
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11681
11697
|
amount: z.ZodString;
|
|
11682
11698
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11683
11699
|
currency: z.ZodString;
|
|
@@ -11758,7 +11774,7 @@ export declare const getCustomerCreditBalanceQueryParams: z.ZodObject<{
|
|
|
11758
11774
|
export declare const getCustomerCreditBalanceResponse: z.ZodObject<{
|
|
11759
11775
|
retrievedAt: z.ZodDate;
|
|
11760
11776
|
balances: z.ZodArray<z.ZodObject<{
|
|
11761
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11777
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11762
11778
|
live: z.ZodString;
|
|
11763
11779
|
settled: z.ZodString;
|
|
11764
11780
|
pending: z.ZodString;
|
|
@@ -11771,7 +11787,7 @@ export declare const createCreditAdjustmentBody: z.ZodObject<{
|
|
|
11771
11787
|
name: z.ZodString;
|
|
11772
11788
|
description: z.ZodOptional<z.ZodString>;
|
|
11773
11789
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11774
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11790
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11775
11791
|
amount: z.ZodString;
|
|
11776
11792
|
}, z.core.$strip>;
|
|
11777
11793
|
export declare const createCreditAdjustmentResponse: z.ZodObject<{
|
|
@@ -11801,7 +11817,7 @@ export declare const voidCreditGrantResponse: z.ZodObject<{
|
|
|
11801
11817
|
invoice: "invoice";
|
|
11802
11818
|
none: "none";
|
|
11803
11819
|
}>;
|
|
11804
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11820
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11805
11821
|
amount: z.ZodString;
|
|
11806
11822
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11807
11823
|
currency: z.ZodString;
|
|
@@ -11870,7 +11886,7 @@ export declare const updateCreditGrantExternalSettlementResponse: z.ZodObject<{
|
|
|
11870
11886
|
invoice: "invoice";
|
|
11871
11887
|
none: "none";
|
|
11872
11888
|
}>;
|
|
11873
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11889
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11874
11890
|
amount: z.ZodString;
|
|
11875
11891
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
11876
11892
|
currency: z.ZodString;
|
|
@@ -11931,7 +11947,7 @@ export declare const listCreditTransactionsQueryParams: z.ZodObject<{
|
|
|
11931
11947
|
funded: "funded";
|
|
11932
11948
|
voided: "voided";
|
|
11933
11949
|
}>>;
|
|
11934
|
-
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString]>>;
|
|
11950
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
11935
11951
|
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
11936
11952
|
eq: z.ZodOptional<z.ZodString>;
|
|
11937
11953
|
neq: z.ZodOptional<z.ZodString>;
|
|
@@ -11960,7 +11976,7 @@ export declare const listCreditTransactionsResponse: z.ZodObject<{
|
|
|
11960
11976
|
funded: "funded";
|
|
11961
11977
|
voided: "voided";
|
|
11962
11978
|
}>;
|
|
11963
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
11979
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11964
11980
|
amount: z.ZodString;
|
|
11965
11981
|
availableBalance: z.ZodObject<{
|
|
11966
11982
|
before: z.ZodString;
|
|
@@ -13111,6 +13127,7 @@ export declare const createSubscriptionAddonResponse: z.ZodObject<{
|
|
|
13111
13127
|
feature: z.ZodOptional<z.ZodObject<{
|
|
13112
13128
|
id: z.ZodString;
|
|
13113
13129
|
}, z.core.$strip>>;
|
|
13130
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
13114
13131
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
13115
13132
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13116
13133
|
type: z.ZodLiteral<"free">;
|
|
@@ -13238,6 +13255,7 @@ export declare const listSubscriptionAddonsResponse: z.ZodObject<{
|
|
|
13238
13255
|
feature: z.ZodOptional<z.ZodObject<{
|
|
13239
13256
|
id: z.ZodString;
|
|
13240
13257
|
}, z.core.$strip>>;
|
|
13258
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
13241
13259
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
13242
13260
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13243
13261
|
type: z.ZodLiteral<"free">;
|
|
@@ -13363,6 +13381,7 @@ export declare const getSubscriptionAddonResponse: z.ZodObject<{
|
|
|
13363
13381
|
feature: z.ZodOptional<z.ZodObject<{
|
|
13364
13382
|
id: z.ZodString;
|
|
13365
13383
|
}, z.core.$strip>>;
|
|
13384
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
13366
13385
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
13367
13386
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13368
13387
|
type: z.ZodLiteral<"free">;
|
|
@@ -17380,6 +17399,9 @@ export declare const listCurrenciesQueryParams: z.ZodObject<{
|
|
|
17380
17399
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
17381
17400
|
}, z.core.$strip>]>>;
|
|
17382
17401
|
}, z.core.$strip>>;
|
|
17402
|
+
expand: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
17403
|
+
cost_basis: "cost_basis";
|
|
17404
|
+
}>>>;
|
|
17383
17405
|
}, z.core.$strip>;
|
|
17384
17406
|
export declare const listCurrenciesResponse: z.ZodObject<{
|
|
17385
17407
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -18339,7 +18361,7 @@ export declare const listPlansResponse: z.ZodObject<{
|
|
|
18339
18361
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18340
18362
|
key: z.ZodString;
|
|
18341
18363
|
version: z.ZodDefault<z.ZodNumber>;
|
|
18342
|
-
currency: z.ZodString
|
|
18364
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18343
18365
|
billingCadence: z.ZodString;
|
|
18344
18366
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18345
18367
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -18364,6 +18386,7 @@ export declare const listPlansResponse: z.ZodObject<{
|
|
|
18364
18386
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18365
18387
|
id: z.ZodString;
|
|
18366
18388
|
}, z.core.$strip>>;
|
|
18389
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18367
18390
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18368
18391
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18369
18392
|
type: z.ZodLiteral<"free">;
|
|
@@ -18470,7 +18493,7 @@ export declare const createPlanBody: z.ZodObject<{
|
|
|
18470
18493
|
description: z.ZodOptional<z.ZodString>;
|
|
18471
18494
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18472
18495
|
key: z.ZodString;
|
|
18473
|
-
currency: z.ZodString
|
|
18496
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18474
18497
|
billingCadence: z.ZodString;
|
|
18475
18498
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18476
18499
|
phases: z.ZodArray<z.ZodObject<{
|
|
@@ -18487,6 +18510,7 @@ export declare const createPlanBody: z.ZodObject<{
|
|
|
18487
18510
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18488
18511
|
id: z.ZodString;
|
|
18489
18512
|
}, z.core.$strip>>;
|
|
18513
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18490
18514
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18491
18515
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18492
18516
|
type: z.ZodLiteral<"free">;
|
|
@@ -18580,7 +18604,7 @@ export declare const createPlanResponse: z.ZodObject<{
|
|
|
18580
18604
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18581
18605
|
key: z.ZodString;
|
|
18582
18606
|
version: z.ZodDefault<z.ZodNumber>;
|
|
18583
|
-
currency: z.ZodString
|
|
18607
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18584
18608
|
billingCadence: z.ZodString;
|
|
18585
18609
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18586
18610
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -18605,6 +18629,7 @@ export declare const createPlanResponse: z.ZodObject<{
|
|
|
18605
18629
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18606
18630
|
id: z.ZodString;
|
|
18607
18631
|
}, z.core.$strip>>;
|
|
18632
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18608
18633
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18609
18634
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18610
18635
|
type: z.ZodLiteral<"free">;
|
|
@@ -18720,6 +18745,7 @@ export declare const updatePlanBody: z.ZodObject<{
|
|
|
18720
18745
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18721
18746
|
id: z.ZodString;
|
|
18722
18747
|
}, z.core.$strip>>;
|
|
18748
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18723
18749
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18724
18750
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18725
18751
|
type: z.ZodLiteral<"free">;
|
|
@@ -18813,7 +18839,7 @@ export declare const updatePlanResponse: z.ZodObject<{
|
|
|
18813
18839
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18814
18840
|
key: z.ZodString;
|
|
18815
18841
|
version: z.ZodDefault<z.ZodNumber>;
|
|
18816
|
-
currency: z.ZodString
|
|
18842
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18817
18843
|
billingCadence: z.ZodString;
|
|
18818
18844
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18819
18845
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -18838,6 +18864,7 @@ export declare const updatePlanResponse: z.ZodObject<{
|
|
|
18838
18864
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18839
18865
|
id: z.ZodString;
|
|
18840
18866
|
}, z.core.$strip>>;
|
|
18867
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18841
18868
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18842
18869
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18843
18870
|
type: z.ZodLiteral<"free">;
|
|
@@ -18944,7 +18971,7 @@ export declare const getPlanResponse: z.ZodObject<{
|
|
|
18944
18971
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18945
18972
|
key: z.ZodString;
|
|
18946
18973
|
version: z.ZodDefault<z.ZodNumber>;
|
|
18947
|
-
currency: z.ZodString
|
|
18974
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18948
18975
|
billingCadence: z.ZodString;
|
|
18949
18976
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18950
18977
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -18969,6 +18996,7 @@ export declare const getPlanResponse: z.ZodObject<{
|
|
|
18969
18996
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18970
18997
|
id: z.ZodString;
|
|
18971
18998
|
}, z.core.$strip>>;
|
|
18999
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
18972
19000
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
18973
19001
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18974
19002
|
type: z.ZodLiteral<"free">;
|
|
@@ -19078,7 +19106,7 @@ export declare const archivePlanResponse: z.ZodObject<{
|
|
|
19078
19106
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
19079
19107
|
key: z.ZodString;
|
|
19080
19108
|
version: z.ZodDefault<z.ZodNumber>;
|
|
19081
|
-
currency: z.ZodString
|
|
19109
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19082
19110
|
billingCadence: z.ZodString;
|
|
19083
19111
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19084
19112
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -19103,6 +19131,7 @@ export declare const archivePlanResponse: z.ZodObject<{
|
|
|
19103
19131
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19104
19132
|
id: z.ZodString;
|
|
19105
19133
|
}, z.core.$strip>>;
|
|
19134
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19106
19135
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19107
19136
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19108
19137
|
type: z.ZodLiteral<"free">;
|
|
@@ -19209,7 +19238,7 @@ export declare const publishPlanResponse: z.ZodObject<{
|
|
|
19209
19238
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
19210
19239
|
key: z.ZodString;
|
|
19211
19240
|
version: z.ZodDefault<z.ZodNumber>;
|
|
19212
|
-
currency: z.ZodString
|
|
19241
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19213
19242
|
billingCadence: z.ZodString;
|
|
19214
19243
|
proRatingEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19215
19244
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -19234,6 +19263,7 @@ export declare const publishPlanResponse: z.ZodObject<{
|
|
|
19234
19263
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19235
19264
|
id: z.ZodString;
|
|
19236
19265
|
}, z.core.$strip>>;
|
|
19266
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19237
19267
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19238
19268
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19239
19269
|
type: z.ZodLiteral<"free">;
|
|
@@ -19393,7 +19423,7 @@ export declare const listAddonsResponse: z.ZodObject<{
|
|
|
19393
19423
|
multiple: "multiple";
|
|
19394
19424
|
single: "single";
|
|
19395
19425
|
}>;
|
|
19396
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
19426
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19397
19427
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
19398
19428
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
19399
19429
|
status: z.ZodEnum<{
|
|
@@ -19409,6 +19439,7 @@ export declare const listAddonsResponse: z.ZodObject<{
|
|
|
19409
19439
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19410
19440
|
id: z.ZodString;
|
|
19411
19441
|
}, z.core.$strip>>;
|
|
19442
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19412
19443
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19413
19444
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19414
19445
|
type: z.ZodLiteral<"free">;
|
|
@@ -19514,7 +19545,7 @@ export declare const createAddonBody: z.ZodObject<{
|
|
|
19514
19545
|
multiple: "multiple";
|
|
19515
19546
|
single: "single";
|
|
19516
19547
|
}>;
|
|
19517
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
19548
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19518
19549
|
rateCards: z.ZodArray<z.ZodObject<{
|
|
19519
19550
|
name: z.ZodString;
|
|
19520
19551
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -19523,6 +19554,7 @@ export declare const createAddonBody: z.ZodObject<{
|
|
|
19523
19554
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19524
19555
|
id: z.ZodString;
|
|
19525
19556
|
}, z.core.$strip>>;
|
|
19557
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19526
19558
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19527
19559
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19528
19560
|
type: z.ZodLiteral<"free">;
|
|
@@ -19619,7 +19651,7 @@ export declare const createAddonResponse: z.ZodObject<{
|
|
|
19619
19651
|
multiple: "multiple";
|
|
19620
19652
|
single: "single";
|
|
19621
19653
|
}>;
|
|
19622
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
19654
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19623
19655
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
19624
19656
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
19625
19657
|
status: z.ZodEnum<{
|
|
@@ -19635,6 +19667,7 @@ export declare const createAddonResponse: z.ZodObject<{
|
|
|
19635
19667
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19636
19668
|
id: z.ZodString;
|
|
19637
19669
|
}, z.core.$strip>>;
|
|
19670
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19638
19671
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19639
19672
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19640
19673
|
type: z.ZodLiteral<"free">;
|
|
@@ -19742,6 +19775,7 @@ export declare const updateAddonBody: z.ZodObject<{
|
|
|
19742
19775
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19743
19776
|
id: z.ZodString;
|
|
19744
19777
|
}, z.core.$strip>>;
|
|
19778
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19745
19779
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19746
19780
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19747
19781
|
type: z.ZodLiteral<"free">;
|
|
@@ -19838,7 +19872,7 @@ export declare const updateAddonResponse: z.ZodObject<{
|
|
|
19838
19872
|
multiple: "multiple";
|
|
19839
19873
|
single: "single";
|
|
19840
19874
|
}>;
|
|
19841
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
19875
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19842
19876
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
19843
19877
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
19844
19878
|
status: z.ZodEnum<{
|
|
@@ -19854,6 +19888,7 @@ export declare const updateAddonResponse: z.ZodObject<{
|
|
|
19854
19888
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19855
19889
|
id: z.ZodString;
|
|
19856
19890
|
}, z.core.$strip>>;
|
|
19891
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19857
19892
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19858
19893
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19859
19894
|
type: z.ZodLiteral<"free">;
|
|
@@ -19959,7 +19994,7 @@ export declare const getAddonResponse: z.ZodObject<{
|
|
|
19959
19994
|
multiple: "multiple";
|
|
19960
19995
|
single: "single";
|
|
19961
19996
|
}>;
|
|
19962
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
19997
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19963
19998
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
19964
19999
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
19965
20000
|
status: z.ZodEnum<{
|
|
@@ -19975,6 +20010,7 @@ export declare const getAddonResponse: z.ZodObject<{
|
|
|
19975
20010
|
feature: z.ZodOptional<z.ZodObject<{
|
|
19976
20011
|
id: z.ZodString;
|
|
19977
20012
|
}, z.core.$strip>>;
|
|
20013
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
19978
20014
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
19979
20015
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19980
20016
|
type: z.ZodLiteral<"free">;
|
|
@@ -20083,7 +20119,7 @@ export declare const archiveAddonResponse: z.ZodObject<{
|
|
|
20083
20119
|
multiple: "multiple";
|
|
20084
20120
|
single: "single";
|
|
20085
20121
|
}>;
|
|
20086
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
20122
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
20087
20123
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
20088
20124
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
20089
20125
|
status: z.ZodEnum<{
|
|
@@ -20099,6 +20135,7 @@ export declare const archiveAddonResponse: z.ZodObject<{
|
|
|
20099
20135
|
feature: z.ZodOptional<z.ZodObject<{
|
|
20100
20136
|
id: z.ZodString;
|
|
20101
20137
|
}, z.core.$strip>>;
|
|
20138
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
20102
20139
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
20103
20140
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20104
20141
|
type: z.ZodLiteral<"free">;
|
|
@@ -20204,7 +20241,7 @@ export declare const publishAddonResponse: z.ZodObject<{
|
|
|
20204
20241
|
multiple: "multiple";
|
|
20205
20242
|
single: "single";
|
|
20206
20243
|
}>;
|
|
20207
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
20244
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
20208
20245
|
effectiveFrom: z.ZodOptional<z.ZodDate>;
|
|
20209
20246
|
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
20210
20247
|
status: z.ZodEnum<{
|
|
@@ -20220,6 +20257,7 @@ export declare const publishAddonResponse: z.ZodObject<{
|
|
|
20220
20257
|
feature: z.ZodOptional<z.ZodObject<{
|
|
20221
20258
|
id: z.ZodString;
|
|
20222
20259
|
}, z.core.$strip>>;
|
|
20260
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
20223
20261
|
billingCadence: z.ZodOptional<z.ZodString>;
|
|
20224
20262
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20225
20263
|
type: z.ZodLiteral<"free">;
|
|
@@ -20546,6 +20584,7 @@ export declare const queryGovernanceAccessResponse: z.ZodObject<{
|
|
|
20546
20584
|
}, z.core.$strip>;
|
|
20547
20585
|
export declare const labelsWire: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
20548
20586
|
export declare const currencyCodeWire: z.ZodString;
|
|
20587
|
+
export declare const currencyCodeCustomWire: z.ZodString;
|
|
20549
20588
|
export declare const numericWire: z.ZodString;
|
|
20550
20589
|
export declare const cursorPaginationQueryPageWire: z.ZodObject<{
|
|
20551
20590
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -20924,7 +20963,9 @@ export declare const currencyTypeWire: z.ZodEnum<{
|
|
|
20924
20963
|
custom: "custom";
|
|
20925
20964
|
fiat: "fiat";
|
|
20926
20965
|
}>;
|
|
20927
|
-
export declare const
|
|
20966
|
+
export declare const currencyExpandWire: z.ZodEnum<{
|
|
20967
|
+
cost_basis: "cost_basis";
|
|
20968
|
+
}>;
|
|
20928
20969
|
export declare const featureLlmTokenTypeWire: z.ZodEnum<{
|
|
20929
20970
|
cache_read: "cache_read";
|
|
20930
20971
|
cache_write: "cache_write";
|
|
@@ -21081,8 +21122,6 @@ export declare const appCustomerDataStripeWire: z.ZodObject<{
|
|
|
21081
21122
|
export declare const appCustomerDataExternalInvoicingWire: z.ZodObject<{
|
|
21082
21123
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21083
21124
|
}, z.core.$strict>;
|
|
21084
|
-
export declare const billingCurrencyCodeWire: z.ZodUnion<readonly [z.ZodString]>;
|
|
21085
|
-
export declare const createCurrencyCodeWire: z.ZodUnion<readonly [z.ZodString]>;
|
|
21086
21125
|
export declare const currencyFiatWire: z.ZodObject<{
|
|
21087
21126
|
type: z.ZodLiteral<"fiat">;
|
|
21088
21127
|
name: z.ZodString;
|
|
@@ -21095,6 +21134,16 @@ export declare const currencyFiatWire: z.ZodObject<{
|
|
|
21095
21134
|
export declare const listCostBasesParamsFilterWire: z.ZodObject<{
|
|
21096
21135
|
fiat_code: z.ZodOptional<z.ZodString>;
|
|
21097
21136
|
}, z.core.$strict>;
|
|
21137
|
+
export declare const billingCurrencyCodeWire: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
21138
|
+
export declare const createCurrencyCodeWire: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
21139
|
+
export declare const createCurrencyCustomRequestWire: z.ZodObject<{
|
|
21140
|
+
name: z.ZodString;
|
|
21141
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
21142
|
+
precision: z.ZodNumber;
|
|
21143
|
+
decimal_mark: z.ZodString;
|
|
21144
|
+
thousand_separator: z.ZodString;
|
|
21145
|
+
code: z.ZodString;
|
|
21146
|
+
}, z.core.$strict>;
|
|
21098
21147
|
export declare const currencyAmountWire: z.ZodObject<{
|
|
21099
21148
|
amount: z.ZodString;
|
|
21100
21149
|
currency: z.ZodString;
|
|
@@ -22115,14 +22164,6 @@ export declare const listCurrenciesParamsFilterWire: z.ZodObject<{
|
|
|
22115
22164
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
22116
22165
|
}, z.core.$strict>]>>;
|
|
22117
22166
|
}, z.core.$strict>;
|
|
22118
|
-
export declare const createCurrencyCustomRequestWire: z.ZodObject<{
|
|
22119
|
-
name: z.ZodString;
|
|
22120
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
22121
|
-
precision: z.ZodNumber;
|
|
22122
|
-
decimal_mark: z.ZodString;
|
|
22123
|
-
thousand_separator: z.ZodString;
|
|
22124
|
-
code: z.ZodString;
|
|
22125
|
-
}, z.core.$strict>;
|
|
22126
22167
|
export declare const governanceQueryRequestWire: z.ZodObject<{
|
|
22127
22168
|
include_credits: z.ZodOptional<z.ZodBoolean>;
|
|
22128
22169
|
customer: z.ZodObject<{
|
|
@@ -22178,7 +22219,7 @@ export declare const creditAdjustmentWire: z.ZodObject<{
|
|
|
22178
22219
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22179
22220
|
}, z.core.$strict>;
|
|
22180
22221
|
export declare const creditBalanceWire: z.ZodObject<{
|
|
22181
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
22222
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
22182
22223
|
live: z.ZodString;
|
|
22183
22224
|
settled: z.ZodString;
|
|
22184
22225
|
pending: z.ZodString;
|
|
@@ -22187,7 +22228,7 @@ export declare const createCreditAdjustmentRequestWire: z.ZodObject<{
|
|
|
22187
22228
|
name: z.ZodString;
|
|
22188
22229
|
description: z.ZodOptional<z.ZodString>;
|
|
22189
22230
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22190
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
22231
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
22191
22232
|
amount: z.ZodString;
|
|
22192
22233
|
}, z.core.$strict>;
|
|
22193
22234
|
export declare const listCreditTransactionsParamsFilterWire: z.ZodObject<{
|
|
@@ -22197,7 +22238,7 @@ export declare const listCreditTransactionsParamsFilterWire: z.ZodObject<{
|
|
|
22197
22238
|
funded: "funded";
|
|
22198
22239
|
voided: "voided";
|
|
22199
22240
|
}>>;
|
|
22200
|
-
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString]>>;
|
|
22241
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
22201
22242
|
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
22202
22243
|
eq: z.ZodOptional<z.ZodString>;
|
|
22203
22244
|
neq: z.ZodOptional<z.ZodString>;
|
|
@@ -22224,7 +22265,7 @@ export declare const creditTransactionWire: z.ZodObject<{
|
|
|
22224
22265
|
funded: "funded";
|
|
22225
22266
|
voided: "voided";
|
|
22226
22267
|
}>;
|
|
22227
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
22268
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
22228
22269
|
amount: z.ZodString;
|
|
22229
22270
|
available_balance: z.ZodObject<{
|
|
22230
22271
|
before: z.ZodString;
|
|
@@ -23630,7 +23671,7 @@ export declare const upsertCustomerBillingDataRequestWire: z.ZodObject<{
|
|
|
23630
23671
|
export declare const creditBalancesWire: z.ZodObject<{
|
|
23631
23672
|
retrieved_at: z.ZodString;
|
|
23632
23673
|
balances: z.ZodArray<z.ZodObject<{
|
|
23633
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
23674
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
23634
23675
|
live: z.ZodString;
|
|
23635
23676
|
settled: z.ZodString;
|
|
23636
23677
|
pending: z.ZodString;
|
|
@@ -23650,7 +23691,7 @@ export declare const creditTransactionPaginatedResponseWire: z.ZodObject<{
|
|
|
23650
23691
|
funded: "funded";
|
|
23651
23692
|
voided: "voided";
|
|
23652
23693
|
}>;
|
|
23653
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
23694
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
23654
23695
|
amount: z.ZodString;
|
|
23655
23696
|
available_balance: z.ZodObject<{
|
|
23656
23697
|
before: z.ZodString;
|
|
@@ -23795,7 +23836,7 @@ export declare const createCreditGrantRequestWire: z.ZodObject<{
|
|
|
23795
23836
|
invoice: "invoice";
|
|
23796
23837
|
none: "none";
|
|
23797
23838
|
}>;
|
|
23798
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
23839
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
23799
23840
|
amount: z.ZodString;
|
|
23800
23841
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
23801
23842
|
currency: z.ZodString;
|
|
@@ -23834,7 +23875,7 @@ export declare const creditGrantWire: z.ZodObject<{
|
|
|
23834
23875
|
invoice: "invoice";
|
|
23835
23876
|
none: "none";
|
|
23836
23877
|
}>;
|
|
23837
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
23878
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
23838
23879
|
amount: z.ZodString;
|
|
23839
23880
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
23840
23881
|
currency: z.ZodString;
|
|
@@ -24937,7 +24978,7 @@ export declare const creditGrantPagePaginatedResponseWire: z.ZodObject<{
|
|
|
24937
24978
|
invoice: "invoice";
|
|
24938
24979
|
none: "none";
|
|
24939
24980
|
}>;
|
|
24940
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
24981
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
24941
24982
|
amount: z.ZodString;
|
|
24942
24983
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
24943
24984
|
currency: z.ZodString;
|
|
@@ -25748,6 +25789,7 @@ export declare const rateCardWire: z.ZodObject<{
|
|
|
25748
25789
|
feature: z.ZodOptional<z.ZodObject<{
|
|
25749
25790
|
id: z.ZodString;
|
|
25750
25791
|
}, z.core.$strict>>;
|
|
25792
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
25751
25793
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
25752
25794
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25753
25795
|
type: z.ZodLiteral<"free">;
|
|
@@ -27041,6 +27083,7 @@ export declare const subscriptionAddonRateCardWire: z.ZodObject<{
|
|
|
27041
27083
|
feature: z.ZodOptional<z.ZodObject<{
|
|
27042
27084
|
id: z.ZodString;
|
|
27043
27085
|
}, z.core.$strict>>;
|
|
27086
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
27044
27087
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
27045
27088
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27046
27089
|
type: z.ZodLiteral<"free">;
|
|
@@ -27138,6 +27181,7 @@ export declare const planPhaseWire: z.ZodObject<{
|
|
|
27138
27181
|
feature: z.ZodOptional<z.ZodObject<{
|
|
27139
27182
|
id: z.ZodString;
|
|
27140
27183
|
}, z.core.$strict>>;
|
|
27184
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
27141
27185
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
27142
27186
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27143
27187
|
type: z.ZodLiteral<"free">;
|
|
@@ -27234,7 +27278,7 @@ export declare const addonWire: z.ZodObject<{
|
|
|
27234
27278
|
multiple: "multiple";
|
|
27235
27279
|
single: "single";
|
|
27236
27280
|
}>;
|
|
27237
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
27281
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
27238
27282
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
27239
27283
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
27240
27284
|
status: z.ZodEnum<{
|
|
@@ -27250,6 +27294,7 @@ export declare const addonWire: z.ZodObject<{
|
|
|
27250
27294
|
feature: z.ZodOptional<z.ZodObject<{
|
|
27251
27295
|
id: z.ZodString;
|
|
27252
27296
|
}, z.core.$strict>>;
|
|
27297
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
27253
27298
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
27254
27299
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27255
27300
|
type: z.ZodLiteral<"free">;
|
|
@@ -27347,7 +27392,7 @@ export declare const createAddonRequestWire: z.ZodObject<{
|
|
|
27347
27392
|
multiple: "multiple";
|
|
27348
27393
|
single: "single";
|
|
27349
27394
|
}>;
|
|
27350
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
27395
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
27351
27396
|
rate_cards: z.ZodArray<z.ZodObject<{
|
|
27352
27397
|
name: z.ZodString;
|
|
27353
27398
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -27356,6 +27401,7 @@ export declare const createAddonRequestWire: z.ZodObject<{
|
|
|
27356
27401
|
feature: z.ZodOptional<z.ZodObject<{
|
|
27357
27402
|
id: z.ZodString;
|
|
27358
27403
|
}, z.core.$strict>>;
|
|
27404
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
27359
27405
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
27360
27406
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27361
27407
|
type: z.ZodLiteral<"free">;
|
|
@@ -27454,6 +27500,7 @@ export declare const upsertAddonRequestWire: z.ZodObject<{
|
|
|
27454
27500
|
feature: z.ZodOptional<z.ZodObject<{
|
|
27455
27501
|
id: z.ZodString;
|
|
27456
27502
|
}, z.core.$strict>>;
|
|
27503
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
27457
27504
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
27458
27505
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27459
27506
|
type: z.ZodLiteral<"free">;
|
|
@@ -28418,6 +28465,7 @@ export declare const subscriptionAddonWire: z.ZodObject<{
|
|
|
28418
28465
|
feature: z.ZodOptional<z.ZodObject<{
|
|
28419
28466
|
id: z.ZodString;
|
|
28420
28467
|
}, z.core.$strict>>;
|
|
28468
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
28421
28469
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
28422
28470
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28423
28471
|
type: z.ZodLiteral<"free">;
|
|
@@ -28512,7 +28560,7 @@ export declare const planWire: z.ZodObject<{
|
|
|
28512
28560
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
28513
28561
|
key: z.ZodString;
|
|
28514
28562
|
version: z.ZodNumber;
|
|
28515
|
-
currency: z.ZodString
|
|
28563
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
28516
28564
|
billing_cadence: z.ZodString;
|
|
28517
28565
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
28518
28566
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -28537,6 +28585,7 @@ export declare const planWire: z.ZodObject<{
|
|
|
28537
28585
|
feature: z.ZodOptional<z.ZodObject<{
|
|
28538
28586
|
id: z.ZodString;
|
|
28539
28587
|
}, z.core.$strict>>;
|
|
28588
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
28540
28589
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
28541
28590
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28542
28591
|
type: z.ZodLiteral<"free">;
|
|
@@ -28635,7 +28684,7 @@ export declare const createPlanRequestWire: z.ZodObject<{
|
|
|
28635
28684
|
description: z.ZodOptional<z.ZodString>;
|
|
28636
28685
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28637
28686
|
key: z.ZodString;
|
|
28638
|
-
currency: z.ZodString
|
|
28687
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
28639
28688
|
billing_cadence: z.ZodString;
|
|
28640
28689
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
28641
28690
|
phases: z.ZodArray<z.ZodObject<{
|
|
@@ -28652,6 +28701,7 @@ export declare const createPlanRequestWire: z.ZodObject<{
|
|
|
28652
28701
|
feature: z.ZodOptional<z.ZodObject<{
|
|
28653
28702
|
id: z.ZodString;
|
|
28654
28703
|
}, z.core.$strict>>;
|
|
28704
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
28655
28705
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
28656
28706
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28657
28707
|
type: z.ZodLiteral<"free">;
|
|
@@ -28754,6 +28804,7 @@ export declare const upsertPlanRequestWire: z.ZodObject<{
|
|
|
28754
28804
|
feature: z.ZodOptional<z.ZodObject<{
|
|
28755
28805
|
id: z.ZodString;
|
|
28756
28806
|
}, z.core.$strict>>;
|
|
28807
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
28757
28808
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
28758
28809
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28759
28810
|
type: z.ZodLiteral<"free">;
|
|
@@ -28852,7 +28903,7 @@ export declare const addonPagePaginatedResponseWire: z.ZodObject<{
|
|
|
28852
28903
|
multiple: "multiple";
|
|
28853
28904
|
single: "single";
|
|
28854
28905
|
}>;
|
|
28855
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
28906
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
28856
28907
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
28857
28908
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
28858
28909
|
status: z.ZodEnum<{
|
|
@@ -28868,6 +28919,7 @@ export declare const addonPagePaginatedResponseWire: z.ZodObject<{
|
|
|
28868
28919
|
feature: z.ZodOptional<z.ZodObject<{
|
|
28869
28920
|
id: z.ZodString;
|
|
28870
28921
|
}, z.core.$strict>>;
|
|
28922
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
28871
28923
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
28872
28924
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28873
28925
|
type: z.ZodLiteral<"free">;
|
|
@@ -29706,6 +29758,7 @@ export declare const subscriptionAddonPagePaginatedResponseWire: z.ZodObject<{
|
|
|
29706
29758
|
feature: z.ZodOptional<z.ZodObject<{
|
|
29707
29759
|
id: z.ZodString;
|
|
29708
29760
|
}, z.core.$strict>>;
|
|
29761
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
29709
29762
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
29710
29763
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29711
29764
|
type: z.ZodLiteral<"free">;
|
|
@@ -29809,7 +29862,7 @@ export declare const planPagePaginatedResponseWire: z.ZodObject<{
|
|
|
29809
29862
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
29810
29863
|
key: z.ZodString;
|
|
29811
29864
|
version: z.ZodNumber;
|
|
29812
|
-
currency: z.ZodString
|
|
29865
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
29813
29866
|
billing_cadence: z.ZodString;
|
|
29814
29867
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
29815
29868
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -29834,6 +29887,7 @@ export declare const planPagePaginatedResponseWire: z.ZodObject<{
|
|
|
29834
29887
|
feature: z.ZodOptional<z.ZodObject<{
|
|
29835
29888
|
id: z.ZodString;
|
|
29836
29889
|
}, z.core.$strict>>;
|
|
29890
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
29837
29891
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
29838
29892
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29839
29893
|
type: z.ZodLiteral<"free">;
|
|
@@ -32023,7 +32077,7 @@ export declare const createCreditGrantBodyWire: z.ZodObject<{
|
|
|
32023
32077
|
invoice: "invoice";
|
|
32024
32078
|
none: "none";
|
|
32025
32079
|
}>;
|
|
32026
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32080
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32027
32081
|
amount: z.ZodString;
|
|
32028
32082
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32029
32083
|
currency: z.ZodString;
|
|
@@ -32062,7 +32116,7 @@ export declare const createCreditGrantResponseWire: z.ZodObject<{
|
|
|
32062
32116
|
invoice: "invoice";
|
|
32063
32117
|
none: "none";
|
|
32064
32118
|
}>;
|
|
32065
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32119
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32066
32120
|
amount: z.ZodString;
|
|
32067
32121
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32068
32122
|
currency: z.ZodString;
|
|
@@ -32124,7 +32178,7 @@ export declare const getCreditGrantResponseWire: z.ZodObject<{
|
|
|
32124
32178
|
invoice: "invoice";
|
|
32125
32179
|
none: "none";
|
|
32126
32180
|
}>;
|
|
32127
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32181
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32128
32182
|
amount: z.ZodString;
|
|
32129
32183
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32130
32184
|
currency: z.ZodString;
|
|
@@ -32213,7 +32267,7 @@ export declare const listCreditGrantsResponseWire: z.ZodObject<{
|
|
|
32213
32267
|
invoice: "invoice";
|
|
32214
32268
|
none: "none";
|
|
32215
32269
|
}>;
|
|
32216
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32270
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32217
32271
|
amount: z.ZodString;
|
|
32218
32272
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32219
32273
|
currency: z.ZodString;
|
|
@@ -32294,7 +32348,7 @@ export declare const getCustomerCreditBalanceQueryParamsWire: z.ZodObject<{
|
|
|
32294
32348
|
export declare const getCustomerCreditBalanceResponseWire: z.ZodObject<{
|
|
32295
32349
|
retrieved_at: z.ZodString;
|
|
32296
32350
|
balances: z.ZodArray<z.ZodObject<{
|
|
32297
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32351
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32298
32352
|
live: z.ZodString;
|
|
32299
32353
|
settled: z.ZodString;
|
|
32300
32354
|
pending: z.ZodString;
|
|
@@ -32307,7 +32361,7 @@ export declare const createCreditAdjustmentBodyWire: z.ZodObject<{
|
|
|
32307
32361
|
name: z.ZodString;
|
|
32308
32362
|
description: z.ZodOptional<z.ZodString>;
|
|
32309
32363
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
32310
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32364
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32311
32365
|
amount: z.ZodString;
|
|
32312
32366
|
}, z.core.$strict>;
|
|
32313
32367
|
export declare const createCreditAdjustmentResponseWire: z.ZodObject<{
|
|
@@ -32337,7 +32391,7 @@ export declare const voidCreditGrantResponseWire: z.ZodObject<{
|
|
|
32337
32391
|
invoice: "invoice";
|
|
32338
32392
|
none: "none";
|
|
32339
32393
|
}>;
|
|
32340
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32394
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32341
32395
|
amount: z.ZodString;
|
|
32342
32396
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32343
32397
|
currency: z.ZodString;
|
|
@@ -32406,7 +32460,7 @@ export declare const updateCreditGrantExternalSettlementResponseWire: z.ZodObjec
|
|
|
32406
32460
|
invoice: "invoice";
|
|
32407
32461
|
none: "none";
|
|
32408
32462
|
}>;
|
|
32409
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32463
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32410
32464
|
amount: z.ZodString;
|
|
32411
32465
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
32412
32466
|
currency: z.ZodString;
|
|
@@ -32467,7 +32521,7 @@ export declare const listCreditTransactionsQueryParamsWire: z.ZodObject<{
|
|
|
32467
32521
|
funded: "funded";
|
|
32468
32522
|
voided: "voided";
|
|
32469
32523
|
}>>;
|
|
32470
|
-
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString]>>;
|
|
32524
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
32471
32525
|
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
32472
32526
|
eq: z.ZodOptional<z.ZodString>;
|
|
32473
32527
|
neq: z.ZodOptional<z.ZodString>;
|
|
@@ -32496,7 +32550,7 @@ export declare const listCreditTransactionsResponseWire: z.ZodObject<{
|
|
|
32496
32550
|
funded: "funded";
|
|
32497
32551
|
voided: "voided";
|
|
32498
32552
|
}>;
|
|
32499
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
32553
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32500
32554
|
amount: z.ZodString;
|
|
32501
32555
|
available_balance: z.ZodObject<{
|
|
32502
32556
|
before: z.ZodString;
|
|
@@ -33641,6 +33695,7 @@ export declare const createSubscriptionAddonResponseWire: z.ZodObject<{
|
|
|
33641
33695
|
feature: z.ZodOptional<z.ZodObject<{
|
|
33642
33696
|
id: z.ZodString;
|
|
33643
33697
|
}, z.core.$strict>>;
|
|
33698
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
33644
33699
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
33645
33700
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33646
33701
|
type: z.ZodLiteral<"free">;
|
|
@@ -33765,6 +33820,7 @@ export declare const listSubscriptionAddonsResponseWire: z.ZodObject<{
|
|
|
33765
33820
|
feature: z.ZodOptional<z.ZodObject<{
|
|
33766
33821
|
id: z.ZodString;
|
|
33767
33822
|
}, z.core.$strict>>;
|
|
33823
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
33768
33824
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
33769
33825
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33770
33826
|
type: z.ZodLiteral<"free">;
|
|
@@ -33890,6 +33946,7 @@ export declare const getSubscriptionAddonResponseWire: z.ZodObject<{
|
|
|
33890
33946
|
feature: z.ZodOptional<z.ZodObject<{
|
|
33891
33947
|
id: z.ZodString;
|
|
33892
33948
|
}, z.core.$strict>>;
|
|
33949
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
33893
33950
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
33894
33951
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33895
33952
|
type: z.ZodLiteral<"free">;
|
|
@@ -37901,6 +37958,9 @@ export declare const listCurrenciesQueryParamsWire: z.ZodObject<{
|
|
|
37901
37958
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
37902
37959
|
}, z.core.$strict>]>>;
|
|
37903
37960
|
}, z.core.$strict>>;
|
|
37961
|
+
expand: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
37962
|
+
cost_basis: "cost_basis";
|
|
37963
|
+
}>>>;
|
|
37904
37964
|
}, z.core.$strip>;
|
|
37905
37965
|
export declare const listCurrenciesResponseWire: z.ZodObject<{
|
|
37906
37966
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -38851,7 +38911,7 @@ export declare const listPlansResponseWire: z.ZodObject<{
|
|
|
38851
38911
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38852
38912
|
key: z.ZodString;
|
|
38853
38913
|
version: z.ZodNumber;
|
|
38854
|
-
currency: z.ZodString
|
|
38914
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
38855
38915
|
billing_cadence: z.ZodString;
|
|
38856
38916
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
38857
38917
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -38876,6 +38936,7 @@ export declare const listPlansResponseWire: z.ZodObject<{
|
|
|
38876
38936
|
feature: z.ZodOptional<z.ZodObject<{
|
|
38877
38937
|
id: z.ZodString;
|
|
38878
38938
|
}, z.core.$strict>>;
|
|
38939
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
38879
38940
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
38880
38941
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38881
38942
|
type: z.ZodLiteral<"free">;
|
|
@@ -38982,7 +39043,7 @@ export declare const createPlanBodyWire: z.ZodObject<{
|
|
|
38982
39043
|
description: z.ZodOptional<z.ZodString>;
|
|
38983
39044
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
38984
39045
|
key: z.ZodString;
|
|
38985
|
-
currency: z.ZodString
|
|
39046
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
38986
39047
|
billing_cadence: z.ZodString;
|
|
38987
39048
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
38988
39049
|
phases: z.ZodArray<z.ZodObject<{
|
|
@@ -38999,6 +39060,7 @@ export declare const createPlanBodyWire: z.ZodObject<{
|
|
|
38999
39060
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39000
39061
|
id: z.ZodString;
|
|
39001
39062
|
}, z.core.$strict>>;
|
|
39063
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39002
39064
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39003
39065
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39004
39066
|
type: z.ZodLiteral<"free">;
|
|
@@ -39092,7 +39154,7 @@ export declare const createPlanResponseWire: z.ZodObject<{
|
|
|
39092
39154
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39093
39155
|
key: z.ZodString;
|
|
39094
39156
|
version: z.ZodNumber;
|
|
39095
|
-
currency: z.ZodString
|
|
39157
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39096
39158
|
billing_cadence: z.ZodString;
|
|
39097
39159
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
39098
39160
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -39117,6 +39179,7 @@ export declare const createPlanResponseWire: z.ZodObject<{
|
|
|
39117
39179
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39118
39180
|
id: z.ZodString;
|
|
39119
39181
|
}, z.core.$strict>>;
|
|
39182
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39120
39183
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39121
39184
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39122
39185
|
type: z.ZodLiteral<"free">;
|
|
@@ -39232,6 +39295,7 @@ export declare const updatePlanBodyWire: z.ZodObject<{
|
|
|
39232
39295
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39233
39296
|
id: z.ZodString;
|
|
39234
39297
|
}, z.core.$strict>>;
|
|
39298
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39235
39299
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39236
39300
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39237
39301
|
type: z.ZodLiteral<"free">;
|
|
@@ -39325,7 +39389,7 @@ export declare const updatePlanResponseWire: z.ZodObject<{
|
|
|
39325
39389
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39326
39390
|
key: z.ZodString;
|
|
39327
39391
|
version: z.ZodNumber;
|
|
39328
|
-
currency: z.ZodString
|
|
39392
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39329
39393
|
billing_cadence: z.ZodString;
|
|
39330
39394
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
39331
39395
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -39350,6 +39414,7 @@ export declare const updatePlanResponseWire: z.ZodObject<{
|
|
|
39350
39414
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39351
39415
|
id: z.ZodString;
|
|
39352
39416
|
}, z.core.$strict>>;
|
|
39417
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39353
39418
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39354
39419
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39355
39420
|
type: z.ZodLiteral<"free">;
|
|
@@ -39456,7 +39521,7 @@ export declare const getPlanResponseWire: z.ZodObject<{
|
|
|
39456
39521
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39457
39522
|
key: z.ZodString;
|
|
39458
39523
|
version: z.ZodNumber;
|
|
39459
|
-
currency: z.ZodString
|
|
39524
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39460
39525
|
billing_cadence: z.ZodString;
|
|
39461
39526
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
39462
39527
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -39481,6 +39546,7 @@ export declare const getPlanResponseWire: z.ZodObject<{
|
|
|
39481
39546
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39482
39547
|
id: z.ZodString;
|
|
39483
39548
|
}, z.core.$strict>>;
|
|
39549
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39484
39550
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39485
39551
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39486
39552
|
type: z.ZodLiteral<"free">;
|
|
@@ -39590,7 +39656,7 @@ export declare const archivePlanResponseWire: z.ZodObject<{
|
|
|
39590
39656
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39591
39657
|
key: z.ZodString;
|
|
39592
39658
|
version: z.ZodNumber;
|
|
39593
|
-
currency: z.ZodString
|
|
39659
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39594
39660
|
billing_cadence: z.ZodString;
|
|
39595
39661
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
39596
39662
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -39615,6 +39681,7 @@ export declare const archivePlanResponseWire: z.ZodObject<{
|
|
|
39615
39681
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39616
39682
|
id: z.ZodString;
|
|
39617
39683
|
}, z.core.$strict>>;
|
|
39684
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39618
39685
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39619
39686
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39620
39687
|
type: z.ZodLiteral<"free">;
|
|
@@ -39721,7 +39788,7 @@ export declare const publishPlanResponseWire: z.ZodObject<{
|
|
|
39721
39788
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39722
39789
|
key: z.ZodString;
|
|
39723
39790
|
version: z.ZodNumber;
|
|
39724
|
-
currency: z.ZodString
|
|
39791
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39725
39792
|
billing_cadence: z.ZodString;
|
|
39726
39793
|
pro_rating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
39727
39794
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
@@ -39746,6 +39813,7 @@ export declare const publishPlanResponseWire: z.ZodObject<{
|
|
|
39746
39813
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39747
39814
|
id: z.ZodString;
|
|
39748
39815
|
}, z.core.$strict>>;
|
|
39816
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39749
39817
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39750
39818
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39751
39819
|
type: z.ZodLiteral<"free">;
|
|
@@ -39902,7 +39970,7 @@ export declare const listAddonsResponseWire: z.ZodObject<{
|
|
|
39902
39970
|
multiple: "multiple";
|
|
39903
39971
|
single: "single";
|
|
39904
39972
|
}>;
|
|
39905
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
39973
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
39906
39974
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
39907
39975
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
39908
39976
|
status: z.ZodEnum<{
|
|
@@ -39918,6 +39986,7 @@ export declare const listAddonsResponseWire: z.ZodObject<{
|
|
|
39918
39986
|
feature: z.ZodOptional<z.ZodObject<{
|
|
39919
39987
|
id: z.ZodString;
|
|
39920
39988
|
}, z.core.$strict>>;
|
|
39989
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
39921
39990
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
39922
39991
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39923
39992
|
type: z.ZodLiteral<"free">;
|
|
@@ -40023,7 +40092,7 @@ export declare const createAddonBodyWire: z.ZodObject<{
|
|
|
40023
40092
|
multiple: "multiple";
|
|
40024
40093
|
single: "single";
|
|
40025
40094
|
}>;
|
|
40026
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40095
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40027
40096
|
rate_cards: z.ZodArray<z.ZodObject<{
|
|
40028
40097
|
name: z.ZodString;
|
|
40029
40098
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -40032,6 +40101,7 @@ export declare const createAddonBodyWire: z.ZodObject<{
|
|
|
40032
40101
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40033
40102
|
id: z.ZodString;
|
|
40034
40103
|
}, z.core.$strict>>;
|
|
40104
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40035
40105
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40036
40106
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40037
40107
|
type: z.ZodLiteral<"free">;
|
|
@@ -40128,7 +40198,7 @@ export declare const createAddonResponseWire: z.ZodObject<{
|
|
|
40128
40198
|
multiple: "multiple";
|
|
40129
40199
|
single: "single";
|
|
40130
40200
|
}>;
|
|
40131
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40201
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40132
40202
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
40133
40203
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
40134
40204
|
status: z.ZodEnum<{
|
|
@@ -40144,6 +40214,7 @@ export declare const createAddonResponseWire: z.ZodObject<{
|
|
|
40144
40214
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40145
40215
|
id: z.ZodString;
|
|
40146
40216
|
}, z.core.$strict>>;
|
|
40217
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40147
40218
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40148
40219
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40149
40220
|
type: z.ZodLiteral<"free">;
|
|
@@ -40251,6 +40322,7 @@ export declare const updateAddonBodyWire: z.ZodObject<{
|
|
|
40251
40322
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40252
40323
|
id: z.ZodString;
|
|
40253
40324
|
}, z.core.$strict>>;
|
|
40325
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40254
40326
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40255
40327
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40256
40328
|
type: z.ZodLiteral<"free">;
|
|
@@ -40347,7 +40419,7 @@ export declare const updateAddonResponseWire: z.ZodObject<{
|
|
|
40347
40419
|
multiple: "multiple";
|
|
40348
40420
|
single: "single";
|
|
40349
40421
|
}>;
|
|
40350
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40422
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40351
40423
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
40352
40424
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
40353
40425
|
status: z.ZodEnum<{
|
|
@@ -40363,6 +40435,7 @@ export declare const updateAddonResponseWire: z.ZodObject<{
|
|
|
40363
40435
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40364
40436
|
id: z.ZodString;
|
|
40365
40437
|
}, z.core.$strict>>;
|
|
40438
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40366
40439
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40367
40440
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40368
40441
|
type: z.ZodLiteral<"free">;
|
|
@@ -40468,7 +40541,7 @@ export declare const getAddonResponseWire: z.ZodObject<{
|
|
|
40468
40541
|
multiple: "multiple";
|
|
40469
40542
|
single: "single";
|
|
40470
40543
|
}>;
|
|
40471
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40544
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40472
40545
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
40473
40546
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
40474
40547
|
status: z.ZodEnum<{
|
|
@@ -40484,6 +40557,7 @@ export declare const getAddonResponseWire: z.ZodObject<{
|
|
|
40484
40557
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40485
40558
|
id: z.ZodString;
|
|
40486
40559
|
}, z.core.$strict>>;
|
|
40560
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40487
40561
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40488
40562
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40489
40563
|
type: z.ZodLiteral<"free">;
|
|
@@ -40592,7 +40666,7 @@ export declare const archiveAddonResponseWire: z.ZodObject<{
|
|
|
40592
40666
|
multiple: "multiple";
|
|
40593
40667
|
single: "single";
|
|
40594
40668
|
}>;
|
|
40595
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40669
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40596
40670
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
40597
40671
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
40598
40672
|
status: z.ZodEnum<{
|
|
@@ -40608,6 +40682,7 @@ export declare const archiveAddonResponseWire: z.ZodObject<{
|
|
|
40608
40682
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40609
40683
|
id: z.ZodString;
|
|
40610
40684
|
}, z.core.$strict>>;
|
|
40685
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40611
40686
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40612
40687
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40613
40688
|
type: z.ZodLiteral<"free">;
|
|
@@ -40713,7 +40788,7 @@ export declare const publishAddonResponseWire: z.ZodObject<{
|
|
|
40713
40788
|
multiple: "multiple";
|
|
40714
40789
|
single: "single";
|
|
40715
40790
|
}>;
|
|
40716
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
40791
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40717
40792
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
40718
40793
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
40719
40794
|
status: z.ZodEnum<{
|
|
@@ -40729,6 +40804,7 @@ export declare const publishAddonResponseWire: z.ZodObject<{
|
|
|
40729
40804
|
feature: z.ZodOptional<z.ZodObject<{
|
|
40730
40805
|
id: z.ZodString;
|
|
40731
40806
|
}, z.core.$strict>>;
|
|
40807
|
+
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
40732
40808
|
billing_cadence: z.ZodOptional<z.ZodString>;
|
|
40733
40809
|
price: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40734
40810
|
type: z.ZodLiteral<"free">;
|