@openmeter/client 1.0.0-beta-8f93b11ab8cd → 1.0.0-beta-c59f39c1dbf6
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/index.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/schemas.d.ts +518 -172
- package/dist/models/schemas.js +204 -96
- package/dist/models/types.d.ts +176 -76
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -512,6 +512,11 @@ export declare const chargeType: z.ZodEnum<{
|
|
|
512
512
|
flat_fee: "flat_fee";
|
|
513
513
|
usage_based: "usage_based";
|
|
514
514
|
}>;
|
|
515
|
+
export declare const chargeCostBasisType: z.ZodEnum<{
|
|
516
|
+
dynamic: "dynamic";
|
|
517
|
+
manual: "manual";
|
|
518
|
+
pinned: "pinned";
|
|
519
|
+
}>;
|
|
515
520
|
export declare const invoiceType: z.ZodEnum<{
|
|
516
521
|
standard: "standard";
|
|
517
522
|
}>;
|
|
@@ -563,6 +568,10 @@ export declare const appCustomerDataStripe: z.ZodObject<{
|
|
|
563
568
|
export declare const appCustomerDataExternalInvoicing: z.ZodObject<{
|
|
564
569
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
565
570
|
}, z.core.$strip>;
|
|
571
|
+
export declare const chargeCostBasisDynamic: z.ZodObject<{
|
|
572
|
+
type: z.ZodLiteral<"dynamic">;
|
|
573
|
+
fiatCurrency: z.ZodString;
|
|
574
|
+
}, z.core.$strip>;
|
|
566
575
|
export declare const currencyFiat: z.ZodObject<{
|
|
567
576
|
type: z.ZodLiteral<"fiat">;
|
|
568
577
|
name: z.ZodString;
|
|
@@ -601,6 +610,11 @@ export declare const rateCardDiscounts: z.ZodObject<{
|
|
|
601
610
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
602
611
|
usage: z.ZodOptional<z.ZodString>;
|
|
603
612
|
}, z.core.$strip>;
|
|
613
|
+
export declare const chargeCostBasisManual: z.ZodObject<{
|
|
614
|
+
type: z.ZodLiteral<"manual">;
|
|
615
|
+
fiatCurrency: z.ZodString;
|
|
616
|
+
rate: z.ZodString;
|
|
617
|
+
}, z.core.$strip>;
|
|
604
618
|
export declare const totals: z.ZodObject<{
|
|
605
619
|
amount: z.ZodString;
|
|
606
620
|
taxesTotal: z.ZodString;
|
|
@@ -634,10 +648,6 @@ export declare const featureLlmUnitCostPricing: z.ZodObject<{
|
|
|
634
648
|
reasoningPerToken: z.ZodOptional<z.ZodString>;
|
|
635
649
|
cacheWritePerToken: z.ZodOptional<z.ZodString>;
|
|
636
650
|
}, z.core.$strip>;
|
|
637
|
-
export declare const currencyAmount: z.ZodObject<{
|
|
638
|
-
amount: z.ZodString;
|
|
639
|
-
currency: z.ZodString;
|
|
640
|
-
}, z.core.$strip>;
|
|
641
651
|
export declare const invoiceLineCreditsApplied: z.ZodObject<{
|
|
642
652
|
amount: z.ZodString;
|
|
643
653
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -666,6 +676,10 @@ export declare const llmCostModelPricing: z.ZodObject<{
|
|
|
666
676
|
cacheWritePerToken: z.ZodOptional<z.ZodString>;
|
|
667
677
|
reasoningPerToken: z.ZodOptional<z.ZodString>;
|
|
668
678
|
}, z.core.$strip>;
|
|
679
|
+
export declare const fiatCurrencyAmount: z.ZodObject<{
|
|
680
|
+
amount: z.ZodString;
|
|
681
|
+
currency: z.ZodString;
|
|
682
|
+
}, z.core.$strip>;
|
|
669
683
|
export declare const queryFilterNumeric: z.ZodObject<{
|
|
670
684
|
gt: z.ZodOptional<z.ZodString>;
|
|
671
685
|
gte: z.ZodOptional<z.ZodString>;
|
|
@@ -822,6 +836,11 @@ export declare const subscriptionReference: z.ZodObject<{
|
|
|
822
836
|
}, z.core.$strip>;
|
|
823
837
|
}, z.core.$strip>;
|
|
824
838
|
}, z.core.$strip>;
|
|
839
|
+
export declare const chargeCostBasisPinned: z.ZodObject<{
|
|
840
|
+
type: z.ZodLiteral<"pinned">;
|
|
841
|
+
fiatCurrency: z.ZodString;
|
|
842
|
+
costBasisId: z.ZodString;
|
|
843
|
+
}, z.core.$strip>;
|
|
825
844
|
export declare const appReference: z.ZodObject<{
|
|
826
845
|
id: z.ZodString;
|
|
827
846
|
}, z.core.$strip>;
|
|
@@ -884,6 +903,12 @@ export declare const closedPeriod: z.ZodObject<{
|
|
|
884
903
|
from: z.ZodDate;
|
|
885
904
|
to: z.ZodDate;
|
|
886
905
|
}, z.core.$strip>;
|
|
906
|
+
export declare const chargeResolvedCostBasis: z.ZodObject<{
|
|
907
|
+
fiatCurrency: z.ZodString;
|
|
908
|
+
rate: z.ZodString;
|
|
909
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
910
|
+
resolvedAt: z.ZodDate;
|
|
911
|
+
}, z.core.$strip>;
|
|
887
912
|
export declare const subscriptionAddonTimelineSegment: z.ZodObject<{
|
|
888
913
|
activeFrom: z.ZodDate;
|
|
889
914
|
activeTo: z.ZodOptional<z.ZodDate>;
|
|
@@ -1740,6 +1765,10 @@ export declare const creditTransaction: z.ZodObject<{
|
|
|
1740
1765
|
after: z.ZodString;
|
|
1741
1766
|
}, z.core.$strip>;
|
|
1742
1767
|
}, z.core.$strip>;
|
|
1768
|
+
export declare const currencyAmount: z.ZodObject<{
|
|
1769
|
+
amount: z.ZodString;
|
|
1770
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1771
|
+
}, z.core.$strip>;
|
|
1743
1772
|
export declare const priceTier: z.ZodObject<{
|
|
1744
1773
|
upToAmount: z.ZodOptional<z.ZodString>;
|
|
1745
1774
|
flatPrice: z.ZodOptional<z.ZodObject<{
|
|
@@ -2137,6 +2166,18 @@ export declare const updateOrganizationDefaultTaxCodesRequest: z.ZodObject<{
|
|
|
2137
2166
|
id: z.ZodString;
|
|
2138
2167
|
}, z.core.$strip>>;
|
|
2139
2168
|
}, z.core.$strip>;
|
|
2169
|
+
export declare const chargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2170
|
+
type: z.ZodLiteral<"dynamic">;
|
|
2171
|
+
fiatCurrency: z.ZodString;
|
|
2172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2173
|
+
type: z.ZodLiteral<"pinned">;
|
|
2174
|
+
fiatCurrency: z.ZodString;
|
|
2175
|
+
costBasisId: z.ZodString;
|
|
2176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2177
|
+
type: z.ZodLiteral<"manual">;
|
|
2178
|
+
fiatCurrency: z.ZodString;
|
|
2179
|
+
rate: z.ZodString;
|
|
2180
|
+
}, z.core.$strip>], "type">;
|
|
2140
2181
|
export declare const invoiceWorkflowAppsReferences: z.ZodObject<{
|
|
2141
2182
|
tax: z.ZodObject<{
|
|
2142
2183
|
id: z.ZodString;
|
|
@@ -2933,39 +2974,6 @@ export declare const workflowCollectionAlignmentAnchored: z.ZodObject<{
|
|
|
2933
2974
|
interval: z.ZodString;
|
|
2934
2975
|
}, z.core.$strip>;
|
|
2935
2976
|
}, z.core.$strip>;
|
|
2936
|
-
export declare const chargeFlatFeeSystemIntent: z.ZodObject<{
|
|
2937
|
-
name: z.ZodString;
|
|
2938
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2939
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2940
|
-
invoiceAt: z.ZodDate;
|
|
2941
|
-
servicePeriod: z.ZodObject<{
|
|
2942
|
-
from: z.ZodDate;
|
|
2943
|
-
to: z.ZodDate;
|
|
2944
|
-
}, z.core.$strip>;
|
|
2945
|
-
fullServicePeriod: z.ZodObject<{
|
|
2946
|
-
from: z.ZodDate;
|
|
2947
|
-
to: z.ZodDate;
|
|
2948
|
-
}, z.core.$strip>;
|
|
2949
|
-
billingPeriod: z.ZodObject<{
|
|
2950
|
-
from: z.ZodDate;
|
|
2951
|
-
to: z.ZodDate;
|
|
2952
|
-
}, z.core.$strip>;
|
|
2953
|
-
paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
|
|
2954
|
-
discounts: z.ZodOptional<z.ZodObject<{
|
|
2955
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2956
|
-
}, z.core.$strip>>;
|
|
2957
|
-
prorationConfiguration: z.ZodObject<{
|
|
2958
|
-
mode: z.ZodEnum<{
|
|
2959
|
-
no_proration: "no_proration";
|
|
2960
|
-
prorate_prices: "prorate_prices";
|
|
2961
|
-
}>;
|
|
2962
|
-
}, z.core.$strip>;
|
|
2963
|
-
amountBeforeProration: z.ZodObject<{
|
|
2964
|
-
amount: z.ZodString;
|
|
2965
|
-
currency: z.ZodString;
|
|
2966
|
-
}, z.core.$strip>;
|
|
2967
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
2968
|
-
}, z.core.$strip>;
|
|
2969
2977
|
export declare const invoiceStatusDetails: z.ZodObject<{
|
|
2970
2978
|
immutable: z.ZodBoolean;
|
|
2971
2979
|
failed: z.ZodBoolean;
|
|
@@ -3257,6 +3265,39 @@ export declare const creditTransactionPaginatedResponse: z.ZodObject<{
|
|
|
3257
3265
|
}, z.core.$strip>;
|
|
3258
3266
|
}, z.core.$strip>;
|
|
3259
3267
|
}, z.core.$strip>;
|
|
3268
|
+
export declare const chargeFlatFeeSystemIntent: z.ZodObject<{
|
|
3269
|
+
name: z.ZodString;
|
|
3270
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3271
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3272
|
+
invoiceAt: z.ZodDate;
|
|
3273
|
+
servicePeriod: z.ZodObject<{
|
|
3274
|
+
from: z.ZodDate;
|
|
3275
|
+
to: z.ZodDate;
|
|
3276
|
+
}, z.core.$strip>;
|
|
3277
|
+
fullServicePeriod: z.ZodObject<{
|
|
3278
|
+
from: z.ZodDate;
|
|
3279
|
+
to: z.ZodDate;
|
|
3280
|
+
}, z.core.$strip>;
|
|
3281
|
+
billingPeriod: z.ZodObject<{
|
|
3282
|
+
from: z.ZodDate;
|
|
3283
|
+
to: z.ZodDate;
|
|
3284
|
+
}, z.core.$strip>;
|
|
3285
|
+
paymentTerm: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
|
|
3286
|
+
discounts: z.ZodOptional<z.ZodObject<{
|
|
3287
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
3288
|
+
}, z.core.$strip>>;
|
|
3289
|
+
prorationConfiguration: z.ZodObject<{
|
|
3290
|
+
mode: z.ZodEnum<{
|
|
3291
|
+
no_proration: "no_proration";
|
|
3292
|
+
prorate_prices: "prorate_prices";
|
|
3293
|
+
}>;
|
|
3294
|
+
}, z.core.$strip>;
|
|
3295
|
+
amountBeforeProration: z.ZodObject<{
|
|
3296
|
+
amount: z.ZodString;
|
|
3297
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3298
|
+
}, z.core.$strip>;
|
|
3299
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
3300
|
+
}, z.core.$strip>;
|
|
3260
3301
|
export declare const priceGraduated: z.ZodObject<{
|
|
3261
3302
|
type: z.ZodLiteral<"graduated">;
|
|
3262
3303
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -3469,12 +3510,44 @@ export declare const creditGrant: z.ZodObject<{
|
|
|
3469
3510
|
voided: "voided";
|
|
3470
3511
|
}>;
|
|
3471
3512
|
}, z.core.$strip>;
|
|
3513
|
+
export declare const workflowTaxSettings: z.ZodObject<{
|
|
3514
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3515
|
+
enforced: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3516
|
+
defaultTaxConfig: z.ZodOptional<z.ZodObject<{
|
|
3517
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3518
|
+
exclusive: "exclusive";
|
|
3519
|
+
inclusive: "inclusive";
|
|
3520
|
+
}>>;
|
|
3521
|
+
stripe: z.ZodOptional<z.ZodObject<{
|
|
3522
|
+
code: z.ZodString;
|
|
3523
|
+
}, z.core.$strip>>;
|
|
3524
|
+
externalInvoicing: z.ZodOptional<z.ZodObject<{
|
|
3525
|
+
code: z.ZodString;
|
|
3526
|
+
}, z.core.$strip>>;
|
|
3527
|
+
taxCodeId: z.ZodOptional<z.ZodString>;
|
|
3528
|
+
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3529
|
+
id: z.ZodString;
|
|
3530
|
+
}, z.core.$strip>>;
|
|
3531
|
+
}, z.core.$strip>>;
|
|
3532
|
+
}, z.core.$strip>;
|
|
3472
3533
|
export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
3473
3534
|
name: z.ZodString;
|
|
3474
3535
|
description: z.ZodOptional<z.ZodString>;
|
|
3475
3536
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3476
3537
|
type: z.ZodLiteral<"flat_fee">;
|
|
3477
|
-
currency: z.ZodString
|
|
3538
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3539
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3540
|
+
type: z.ZodLiteral<"dynamic">;
|
|
3541
|
+
fiatCurrency: z.ZodString;
|
|
3542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3543
|
+
type: z.ZodLiteral<"pinned">;
|
|
3544
|
+
fiatCurrency: z.ZodString;
|
|
3545
|
+
costBasisId: z.ZodString;
|
|
3546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3547
|
+
type: z.ZodLiteral<"manual">;
|
|
3548
|
+
fiatCurrency: z.ZodString;
|
|
3549
|
+
rate: z.ZodString;
|
|
3550
|
+
}, z.core.$strip>], "type">>;
|
|
3478
3551
|
invoiceAt: z.ZodDate;
|
|
3479
3552
|
servicePeriod: z.ZodObject<{
|
|
3480
3553
|
from: z.ZodDate;
|
|
@@ -3513,7 +3586,7 @@ export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
|
3513
3586
|
}, z.core.$strip>;
|
|
3514
3587
|
amountBeforeProration: z.ZodObject<{
|
|
3515
3588
|
amount: z.ZodString;
|
|
3516
|
-
currency: z.ZodString
|
|
3589
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3517
3590
|
}, z.core.$strip>;
|
|
3518
3591
|
feature: z.ZodOptional<z.ZodObject<{
|
|
3519
3592
|
id: z.ZodString;
|
|
@@ -3527,26 +3600,6 @@ export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
|
3527
3600
|
to: z.ZodDate;
|
|
3528
3601
|
}, z.core.$strip>>;
|
|
3529
3602
|
}, z.core.$strip>;
|
|
3530
|
-
export declare const workflowTaxSettings: z.ZodObject<{
|
|
3531
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3532
|
-
enforced: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3533
|
-
defaultTaxConfig: z.ZodOptional<z.ZodObject<{
|
|
3534
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3535
|
-
exclusive: "exclusive";
|
|
3536
|
-
inclusive: "inclusive";
|
|
3537
|
-
}>>;
|
|
3538
|
-
stripe: z.ZodOptional<z.ZodObject<{
|
|
3539
|
-
code: z.ZodString;
|
|
3540
|
-
}, z.core.$strip>>;
|
|
3541
|
-
externalInvoicing: z.ZodOptional<z.ZodObject<{
|
|
3542
|
-
code: z.ZodString;
|
|
3543
|
-
}, z.core.$strip>>;
|
|
3544
|
-
taxCodeId: z.ZodOptional<z.ZodString>;
|
|
3545
|
-
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3546
|
-
id: z.ZodString;
|
|
3547
|
-
}, z.core.$strip>>;
|
|
3548
|
-
}, z.core.$strip>>;
|
|
3549
|
-
}, z.core.$strip>;
|
|
3550
3603
|
export declare const planAddonPagePaginatedResponse: z.ZodObject<{
|
|
3551
3604
|
data: z.ZodArray<z.ZodObject<{
|
|
3552
3605
|
id: z.ZodString;
|
|
@@ -5792,7 +5845,19 @@ export declare const createChargeUsageBasedRequest: z.ZodObject<{
|
|
|
5792
5845
|
description: z.ZodOptional<z.ZodString>;
|
|
5793
5846
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5794
5847
|
type: z.ZodLiteral<"usage_based">;
|
|
5795
|
-
currency: z.ZodString
|
|
5848
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5849
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5850
|
+
type: z.ZodLiteral<"dynamic">;
|
|
5851
|
+
fiatCurrency: z.ZodString;
|
|
5852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5853
|
+
type: z.ZodLiteral<"pinned">;
|
|
5854
|
+
fiatCurrency: z.ZodString;
|
|
5855
|
+
costBasisId: z.ZodString;
|
|
5856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5857
|
+
type: z.ZodLiteral<"manual">;
|
|
5858
|
+
fiatCurrency: z.ZodString;
|
|
5859
|
+
rate: z.ZodString;
|
|
5860
|
+
}, z.core.$strip>], "type">>;
|
|
5796
5861
|
invoiceAt: z.ZodDate;
|
|
5797
5862
|
servicePeriod: z.ZodObject<{
|
|
5798
5863
|
from: z.ZodDate;
|
|
@@ -7582,7 +7647,19 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7582
7647
|
description: z.ZodOptional<z.ZodString>;
|
|
7583
7648
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7584
7649
|
type: z.ZodLiteral<"flat_fee">;
|
|
7585
|
-
currency: z.ZodString
|
|
7650
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7651
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7652
|
+
type: z.ZodLiteral<"dynamic">;
|
|
7653
|
+
fiatCurrency: z.ZodString;
|
|
7654
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7655
|
+
type: z.ZodLiteral<"pinned">;
|
|
7656
|
+
fiatCurrency: z.ZodString;
|
|
7657
|
+
costBasisId: z.ZodString;
|
|
7658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7659
|
+
type: z.ZodLiteral<"manual">;
|
|
7660
|
+
fiatCurrency: z.ZodString;
|
|
7661
|
+
rate: z.ZodString;
|
|
7662
|
+
}, z.core.$strip>], "type">>;
|
|
7586
7663
|
invoiceAt: z.ZodDate;
|
|
7587
7664
|
servicePeriod: z.ZodObject<{
|
|
7588
7665
|
from: z.ZodDate;
|
|
@@ -7621,7 +7698,7 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7621
7698
|
}, z.core.$strip>;
|
|
7622
7699
|
amountBeforeProration: z.ZodObject<{
|
|
7623
7700
|
amount: z.ZodString;
|
|
7624
|
-
currency: z.ZodString
|
|
7701
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7625
7702
|
}, z.core.$strip>;
|
|
7626
7703
|
feature: z.ZodOptional<z.ZodObject<{
|
|
7627
7704
|
id: z.ZodString;
|
|
@@ -7639,7 +7716,19 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7639
7716
|
description: z.ZodOptional<z.ZodString>;
|
|
7640
7717
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7641
7718
|
type: z.ZodLiteral<"usage_based">;
|
|
7642
|
-
currency: z.ZodString
|
|
7719
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7720
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7721
|
+
type: z.ZodLiteral<"dynamic">;
|
|
7722
|
+
fiatCurrency: z.ZodString;
|
|
7723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7724
|
+
type: z.ZodLiteral<"pinned">;
|
|
7725
|
+
fiatCurrency: z.ZodString;
|
|
7726
|
+
costBasisId: z.ZodString;
|
|
7727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7728
|
+
type: z.ZodLiteral<"manual">;
|
|
7729
|
+
fiatCurrency: z.ZodString;
|
|
7730
|
+
rate: z.ZodString;
|
|
7731
|
+
}, z.core.$strip>], "type">>;
|
|
7643
7732
|
invoiceAt: z.ZodDate;
|
|
7644
7733
|
servicePeriod: z.ZodObject<{
|
|
7645
7734
|
from: z.ZodDate;
|
|
@@ -11546,7 +11635,13 @@ export declare const chargeFlatFee: z.ZodObject<{
|
|
|
11546
11635
|
}, z.core.$strip>;
|
|
11547
11636
|
}, z.core.$strip>;
|
|
11548
11637
|
}, z.core.$strip>]>>;
|
|
11549
|
-
currency: z.ZodString
|
|
11638
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11639
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
11640
|
+
fiatCurrency: z.ZodString;
|
|
11641
|
+
rate: z.ZodString;
|
|
11642
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
11643
|
+
resolvedAt: z.ZodDate;
|
|
11644
|
+
}, z.core.$strip>>;
|
|
11550
11645
|
status: z.ZodEnum<{
|
|
11551
11646
|
active: "active";
|
|
11552
11647
|
created: "created";
|
|
@@ -11905,7 +12000,7 @@ export declare const chargeFlatFee: z.ZodObject<{
|
|
|
11905
12000
|
}, z.core.$strip>;
|
|
11906
12001
|
amountAfterProration: z.ZodObject<{
|
|
11907
12002
|
amount: z.ZodString;
|
|
11908
|
-
currency: z.ZodString
|
|
12003
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11909
12004
|
}, z.core.$strip>;
|
|
11910
12005
|
price: z.ZodObject<{
|
|
11911
12006
|
type: z.ZodLiteral<"flat">;
|
|
@@ -11940,7 +12035,7 @@ export declare const chargeFlatFee: z.ZodObject<{
|
|
|
11940
12035
|
}, z.core.$strip>;
|
|
11941
12036
|
amountBeforeProration: z.ZodObject<{
|
|
11942
12037
|
amount: z.ZodString;
|
|
11943
|
-
currency: z.ZodString
|
|
12038
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
11944
12039
|
}, z.core.$strip>;
|
|
11945
12040
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
11946
12041
|
}, z.core.$strip>>;
|
|
@@ -12151,7 +12246,13 @@ export declare const chargeUsageBased: z.ZodObject<{
|
|
|
12151
12246
|
}, z.core.$strip>;
|
|
12152
12247
|
}, z.core.$strip>;
|
|
12153
12248
|
}, z.core.$strip>]>>;
|
|
12154
|
-
currency: z.ZodString
|
|
12249
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
12250
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
12251
|
+
fiatCurrency: z.ZodString;
|
|
12252
|
+
rate: z.ZodString;
|
|
12253
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
12254
|
+
resolvedAt: z.ZodDate;
|
|
12255
|
+
}, z.core.$strip>>;
|
|
12155
12256
|
status: z.ZodEnum<{
|
|
12156
12257
|
active: "active";
|
|
12157
12258
|
created: "created";
|
|
@@ -13214,7 +13315,13 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13214
13315
|
}, z.core.$strip>;
|
|
13215
13316
|
}, z.core.$strip>;
|
|
13216
13317
|
}, z.core.$strip>]>>;
|
|
13217
|
-
currency: z.ZodString
|
|
13318
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
13319
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
13320
|
+
fiatCurrency: z.ZodString;
|
|
13321
|
+
rate: z.ZodString;
|
|
13322
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
13323
|
+
resolvedAt: z.ZodDate;
|
|
13324
|
+
}, z.core.$strip>>;
|
|
13218
13325
|
status: z.ZodEnum<{
|
|
13219
13326
|
active: "active";
|
|
13220
13327
|
created: "created";
|
|
@@ -13573,7 +13680,7 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13573
13680
|
}, z.core.$strip>;
|
|
13574
13681
|
amountAfterProration: z.ZodObject<{
|
|
13575
13682
|
amount: z.ZodString;
|
|
13576
|
-
currency: z.ZodString
|
|
13683
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
13577
13684
|
}, z.core.$strip>;
|
|
13578
13685
|
price: z.ZodObject<{
|
|
13579
13686
|
type: z.ZodLiteral<"flat">;
|
|
@@ -13608,7 +13715,7 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13608
13715
|
}, z.core.$strip>;
|
|
13609
13716
|
amountBeforeProration: z.ZodObject<{
|
|
13610
13717
|
amount: z.ZodString;
|
|
13611
|
-
currency: z.ZodString
|
|
13718
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
13612
13719
|
}, z.core.$strip>;
|
|
13613
13720
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
13614
13721
|
}, z.core.$strip>>;
|
|
@@ -13818,7 +13925,13 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13818
13925
|
}, z.core.$strip>;
|
|
13819
13926
|
}, z.core.$strip>;
|
|
13820
13927
|
}, z.core.$strip>]>>;
|
|
13821
|
-
currency: z.ZodString
|
|
13928
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
13929
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
13930
|
+
fiatCurrency: z.ZodString;
|
|
13931
|
+
rate: z.ZodString;
|
|
13932
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
13933
|
+
resolvedAt: z.ZodDate;
|
|
13934
|
+
}, z.core.$strip>>;
|
|
13822
13935
|
status: z.ZodEnum<{
|
|
13823
13936
|
active: "active";
|
|
13824
13937
|
created: "created";
|
|
@@ -14521,7 +14634,13 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
|
|
|
14521
14634
|
}, z.core.$strip>;
|
|
14522
14635
|
}, z.core.$strip>;
|
|
14523
14636
|
}, z.core.$strip>]>>;
|
|
14524
|
-
currency: z.ZodString
|
|
14637
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
14638
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
14639
|
+
fiatCurrency: z.ZodString;
|
|
14640
|
+
rate: z.ZodString;
|
|
14641
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
14642
|
+
resolvedAt: z.ZodDate;
|
|
14643
|
+
}, z.core.$strip>>;
|
|
14525
14644
|
status: z.ZodEnum<{
|
|
14526
14645
|
active: "active";
|
|
14527
14646
|
created: "created";
|
|
@@ -14880,7 +14999,7 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
|
|
|
14880
14999
|
}, z.core.$strip>;
|
|
14881
15000
|
amountAfterProration: z.ZodObject<{
|
|
14882
15001
|
amount: z.ZodString;
|
|
14883
|
-
currency: z.ZodString
|
|
15002
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
14884
15003
|
}, z.core.$strip>;
|
|
14885
15004
|
price: z.ZodObject<{
|
|
14886
15005
|
type: z.ZodLiteral<"flat">;
|
|
@@ -14915,7 +15034,7 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
|
|
|
14915
15034
|
}, z.core.$strip>;
|
|
14916
15035
|
amountBeforeProration: z.ZodObject<{
|
|
14917
15036
|
amount: z.ZodString;
|
|
14918
|
-
currency: z.ZodString
|
|
15037
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
14919
15038
|
}, z.core.$strip>;
|
|
14920
15039
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
14921
15040
|
}, z.core.$strip>>;
|
|
@@ -15125,7 +15244,13 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
|
|
|
15125
15244
|
}, z.core.$strip>;
|
|
15126
15245
|
}, z.core.$strip>;
|
|
15127
15246
|
}, z.core.$strip>]>>;
|
|
15128
|
-
currency: z.ZodString
|
|
15247
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
15248
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
15249
|
+
fiatCurrency: z.ZodString;
|
|
15250
|
+
rate: z.ZodString;
|
|
15251
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
15252
|
+
resolvedAt: z.ZodDate;
|
|
15253
|
+
}, z.core.$strip>>;
|
|
15129
15254
|
status: z.ZodEnum<{
|
|
15130
15255
|
active: "active";
|
|
15131
15256
|
created: "created";
|
|
@@ -17197,7 +17322,13 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
|
|
|
17197
17322
|
}, z.core.$strip>;
|
|
17198
17323
|
}, z.core.$strip>;
|
|
17199
17324
|
}, z.core.$strip>]>>;
|
|
17200
|
-
currency: z.ZodString
|
|
17325
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
17326
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17327
|
+
fiatCurrency: z.ZodString;
|
|
17328
|
+
rate: z.ZodString;
|
|
17329
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17330
|
+
resolvedAt: z.ZodDate;
|
|
17331
|
+
}, z.core.$strip>>;
|
|
17201
17332
|
status: z.ZodEnum<{
|
|
17202
17333
|
active: "active";
|
|
17203
17334
|
created: "created";
|
|
@@ -17556,7 +17687,7 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
|
|
|
17556
17687
|
}, z.core.$strip>;
|
|
17557
17688
|
amountAfterProration: z.ZodObject<{
|
|
17558
17689
|
amount: z.ZodString;
|
|
17559
|
-
currency: z.ZodString
|
|
17690
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
17560
17691
|
}, z.core.$strip>;
|
|
17561
17692
|
price: z.ZodObject<{
|
|
17562
17693
|
type: z.ZodLiteral<"flat">;
|
|
@@ -17591,7 +17722,7 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
|
|
|
17591
17722
|
}, z.core.$strip>;
|
|
17592
17723
|
amountBeforeProration: z.ZodObject<{
|
|
17593
17724
|
amount: z.ZodString;
|
|
17594
|
-
currency: z.ZodString
|
|
17725
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
17595
17726
|
}, z.core.$strip>;
|
|
17596
17727
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
17597
17728
|
}, z.core.$strip>>;
|
|
@@ -17801,7 +17932,13 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
|
|
|
17801
17932
|
}, z.core.$strip>;
|
|
17802
17933
|
}, z.core.$strip>;
|
|
17803
17934
|
}, z.core.$strip>]>>;
|
|
17804
|
-
currency: z.ZodString
|
|
17935
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
17936
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17937
|
+
fiatCurrency: z.ZodString;
|
|
17938
|
+
rate: z.ZodString;
|
|
17939
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17940
|
+
resolvedAt: z.ZodDate;
|
|
17941
|
+
}, z.core.$strip>>;
|
|
17805
17942
|
status: z.ZodEnum<{
|
|
17806
17943
|
active: "active";
|
|
17807
17944
|
created: "created";
|
|
@@ -18313,7 +18450,19 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
18313
18450
|
description: z.ZodOptional<z.ZodString>;
|
|
18314
18451
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18315
18452
|
type: z.ZodLiteral<"flat_fee">;
|
|
18316
|
-
currency: z.ZodString
|
|
18453
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18454
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18455
|
+
type: z.ZodLiteral<"dynamic">;
|
|
18456
|
+
fiatCurrency: z.ZodString;
|
|
18457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18458
|
+
type: z.ZodLiteral<"pinned">;
|
|
18459
|
+
fiatCurrency: z.ZodString;
|
|
18460
|
+
costBasisId: z.ZodString;
|
|
18461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18462
|
+
type: z.ZodLiteral<"manual">;
|
|
18463
|
+
fiatCurrency: z.ZodString;
|
|
18464
|
+
rate: z.ZodString;
|
|
18465
|
+
}, z.core.$strip>], "type">>;
|
|
18317
18466
|
invoiceAt: z.ZodDate;
|
|
18318
18467
|
servicePeriod: z.ZodObject<{
|
|
18319
18468
|
from: z.ZodDate;
|
|
@@ -18352,7 +18501,7 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
18352
18501
|
}, z.core.$strip>;
|
|
18353
18502
|
amountBeforeProration: z.ZodObject<{
|
|
18354
18503
|
amount: z.ZodString;
|
|
18355
|
-
currency: z.ZodString
|
|
18504
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18356
18505
|
}, z.core.$strip>;
|
|
18357
18506
|
feature: z.ZodOptional<z.ZodObject<{
|
|
18358
18507
|
id: z.ZodString;
|
|
@@ -18370,7 +18519,19 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
18370
18519
|
description: z.ZodOptional<z.ZodString>;
|
|
18371
18520
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18372
18521
|
type: z.ZodLiteral<"usage_based">;
|
|
18373
|
-
currency: z.ZodString
|
|
18522
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18523
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18524
|
+
type: z.ZodLiteral<"dynamic">;
|
|
18525
|
+
fiatCurrency: z.ZodString;
|
|
18526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18527
|
+
type: z.ZodLiteral<"pinned">;
|
|
18528
|
+
fiatCurrency: z.ZodString;
|
|
18529
|
+
costBasisId: z.ZodString;
|
|
18530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18531
|
+
type: z.ZodLiteral<"manual">;
|
|
18532
|
+
fiatCurrency: z.ZodString;
|
|
18533
|
+
rate: z.ZodString;
|
|
18534
|
+
}, z.core.$strip>], "type">>;
|
|
18374
18535
|
invoiceAt: z.ZodDate;
|
|
18375
18536
|
servicePeriod: z.ZodObject<{
|
|
18376
18537
|
from: z.ZodDate;
|
|
@@ -18668,7 +18829,13 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
|
|
|
18668
18829
|
}, z.core.$strip>;
|
|
18669
18830
|
}, z.core.$strip>;
|
|
18670
18831
|
}, z.core.$strip>]>>;
|
|
18671
|
-
currency: z.ZodString
|
|
18832
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18833
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
18834
|
+
fiatCurrency: z.ZodString;
|
|
18835
|
+
rate: z.ZodString;
|
|
18836
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
18837
|
+
resolvedAt: z.ZodDate;
|
|
18838
|
+
}, z.core.$strip>>;
|
|
18672
18839
|
status: z.ZodEnum<{
|
|
18673
18840
|
active: "active";
|
|
18674
18841
|
created: "created";
|
|
@@ -19027,7 +19194,7 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
|
|
|
19027
19194
|
}, z.core.$strip>;
|
|
19028
19195
|
amountAfterProration: z.ZodObject<{
|
|
19029
19196
|
amount: z.ZodString;
|
|
19030
|
-
currency: z.ZodString
|
|
19197
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19031
19198
|
}, z.core.$strip>;
|
|
19032
19199
|
price: z.ZodObject<{
|
|
19033
19200
|
type: z.ZodLiteral<"flat">;
|
|
@@ -19062,7 +19229,7 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
|
|
|
19062
19229
|
}, z.core.$strip>;
|
|
19063
19230
|
amountBeforeProration: z.ZodObject<{
|
|
19064
19231
|
amount: z.ZodString;
|
|
19065
|
-
currency: z.ZodString
|
|
19232
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19066
19233
|
}, z.core.$strip>;
|
|
19067
19234
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
19068
19235
|
}, z.core.$strip>>;
|
|
@@ -19272,7 +19439,13 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
|
|
|
19272
19439
|
}, z.core.$strip>;
|
|
19273
19440
|
}, z.core.$strip>;
|
|
19274
19441
|
}, z.core.$strip>]>>;
|
|
19275
|
-
currency: z.ZodString
|
|
19442
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
19443
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
19444
|
+
fiatCurrency: z.ZodString;
|
|
19445
|
+
rate: z.ZodString;
|
|
19446
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
19447
|
+
resolvedAt: z.ZodDate;
|
|
19448
|
+
}, z.core.$strip>>;
|
|
19276
19449
|
status: z.ZodEnum<{
|
|
19277
19450
|
active: "active";
|
|
19278
19451
|
created: "created";
|
|
@@ -29115,6 +29288,11 @@ export declare const chargeTypeWire: z.ZodEnum<{
|
|
|
29115
29288
|
flat_fee: "flat_fee";
|
|
29116
29289
|
usage_based: "usage_based";
|
|
29117
29290
|
}>;
|
|
29291
|
+
export declare const chargeCostBasisTypeWire: z.ZodEnum<{
|
|
29292
|
+
dynamic: "dynamic";
|
|
29293
|
+
manual: "manual";
|
|
29294
|
+
pinned: "pinned";
|
|
29295
|
+
}>;
|
|
29118
29296
|
export declare const invoiceTypeWire: z.ZodEnum<{
|
|
29119
29297
|
standard: "standard";
|
|
29120
29298
|
}>;
|
|
@@ -29166,6 +29344,10 @@ export declare const appCustomerDataStripeWire: z.ZodObject<{
|
|
|
29166
29344
|
export declare const appCustomerDataExternalInvoicingWire: z.ZodObject<{
|
|
29167
29345
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29168
29346
|
}, z.core.$strict>;
|
|
29347
|
+
export declare const chargeCostBasisDynamicWire: z.ZodObject<{
|
|
29348
|
+
type: z.ZodLiteral<"dynamic">;
|
|
29349
|
+
fiat_currency: z.ZodString;
|
|
29350
|
+
}, z.core.$strict>;
|
|
29169
29351
|
export declare const currencyFiatWire: z.ZodObject<{
|
|
29170
29352
|
type: z.ZodLiteral<"fiat">;
|
|
29171
29353
|
name: z.ZodString;
|
|
@@ -29204,6 +29386,11 @@ export declare const rateCardDiscountsWire: z.ZodObject<{
|
|
|
29204
29386
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
29205
29387
|
usage: z.ZodOptional<z.ZodString>;
|
|
29206
29388
|
}, z.core.$strict>;
|
|
29389
|
+
export declare const chargeCostBasisManualWire: z.ZodObject<{
|
|
29390
|
+
type: z.ZodLiteral<"manual">;
|
|
29391
|
+
fiat_currency: z.ZodString;
|
|
29392
|
+
rate: z.ZodString;
|
|
29393
|
+
}, z.core.$strict>;
|
|
29207
29394
|
export declare const totalsWire: z.ZodObject<{
|
|
29208
29395
|
amount: z.ZodString;
|
|
29209
29396
|
taxes_total: z.ZodString;
|
|
@@ -29237,10 +29424,6 @@ export declare const featureLlmUnitCostPricingWire: z.ZodObject<{
|
|
|
29237
29424
|
reasoning_per_token: z.ZodOptional<z.ZodString>;
|
|
29238
29425
|
cache_write_per_token: z.ZodOptional<z.ZodString>;
|
|
29239
29426
|
}, z.core.$strict>;
|
|
29240
|
-
export declare const currencyAmountWire: z.ZodObject<{
|
|
29241
|
-
amount: z.ZodString;
|
|
29242
|
-
currency: z.ZodString;
|
|
29243
|
-
}, z.core.$strict>;
|
|
29244
29427
|
export declare const invoiceLineCreditsAppliedWire: z.ZodObject<{
|
|
29245
29428
|
amount: z.ZodString;
|
|
29246
29429
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -29269,6 +29452,10 @@ export declare const llmCostModelPricingWire: z.ZodObject<{
|
|
|
29269
29452
|
cache_write_per_token: z.ZodOptional<z.ZodString>;
|
|
29270
29453
|
reasoning_per_token: z.ZodOptional<z.ZodString>;
|
|
29271
29454
|
}, z.core.$strict>;
|
|
29455
|
+
export declare const fiatCurrencyAmountWire: z.ZodObject<{
|
|
29456
|
+
amount: z.ZodString;
|
|
29457
|
+
currency: z.ZodString;
|
|
29458
|
+
}, z.core.$strict>;
|
|
29272
29459
|
export declare const queryFilterNumericWire: z.ZodObject<{
|
|
29273
29460
|
gt: z.ZodOptional<z.ZodString>;
|
|
29274
29461
|
gte: z.ZodOptional<z.ZodString>;
|
|
@@ -29425,6 +29612,11 @@ export declare const subscriptionReferenceWire: z.ZodObject<{
|
|
|
29425
29612
|
}, z.core.$strict>;
|
|
29426
29613
|
}, z.core.$strict>;
|
|
29427
29614
|
}, z.core.$strict>;
|
|
29615
|
+
export declare const chargeCostBasisPinnedWire: z.ZodObject<{
|
|
29616
|
+
type: z.ZodLiteral<"pinned">;
|
|
29617
|
+
fiat_currency: z.ZodString;
|
|
29618
|
+
cost_basis_id: z.ZodString;
|
|
29619
|
+
}, z.core.$strict>;
|
|
29428
29620
|
export declare const appReferenceWire: z.ZodObject<{
|
|
29429
29621
|
id: z.ZodString;
|
|
29430
29622
|
}, z.core.$strict>;
|
|
@@ -29487,6 +29679,12 @@ export declare const closedPeriodWire: z.ZodObject<{
|
|
|
29487
29679
|
from: z.ZodString;
|
|
29488
29680
|
to: z.ZodString;
|
|
29489
29681
|
}, z.core.$strict>;
|
|
29682
|
+
export declare const chargeResolvedCostBasisWire: z.ZodObject<{
|
|
29683
|
+
fiat_currency: z.ZodString;
|
|
29684
|
+
rate: z.ZodString;
|
|
29685
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
29686
|
+
resolved_at: z.ZodString;
|
|
29687
|
+
}, z.core.$strict>;
|
|
29490
29688
|
export declare const subscriptionAddonTimelineSegmentWire: z.ZodObject<{
|
|
29491
29689
|
active_from: z.ZodString;
|
|
29492
29690
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -30343,6 +30541,10 @@ export declare const creditTransactionWire: z.ZodObject<{
|
|
|
30343
30541
|
after: z.ZodString;
|
|
30344
30542
|
}, z.core.$strict>;
|
|
30345
30543
|
}, z.core.$strict>;
|
|
30544
|
+
export declare const currencyAmountWire: z.ZodObject<{
|
|
30545
|
+
amount: z.ZodString;
|
|
30546
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
30547
|
+
}, z.core.$strict>;
|
|
30346
30548
|
export declare const priceTierWire: z.ZodObject<{
|
|
30347
30549
|
up_to_amount: z.ZodOptional<z.ZodString>;
|
|
30348
30550
|
flat_price: z.ZodOptional<z.ZodObject<{
|
|
@@ -30740,6 +30942,18 @@ export declare const updateOrganizationDefaultTaxCodesRequestWire: z.ZodObject<{
|
|
|
30740
30942
|
id: z.ZodString;
|
|
30741
30943
|
}, z.core.$strict>>;
|
|
30742
30944
|
}, z.core.$strict>;
|
|
30945
|
+
export declare const chargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30946
|
+
type: z.ZodLiteral<"dynamic">;
|
|
30947
|
+
fiat_currency: z.ZodString;
|
|
30948
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
30949
|
+
type: z.ZodLiteral<"pinned">;
|
|
30950
|
+
fiat_currency: z.ZodString;
|
|
30951
|
+
cost_basis_id: z.ZodString;
|
|
30952
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
30953
|
+
type: z.ZodLiteral<"manual">;
|
|
30954
|
+
fiat_currency: z.ZodString;
|
|
30955
|
+
rate: z.ZodString;
|
|
30956
|
+
}, z.core.$strict>], "type">;
|
|
30743
30957
|
export declare const invoiceWorkflowAppsReferencesWire: z.ZodObject<{
|
|
30744
30958
|
tax: z.ZodObject<{
|
|
30745
30959
|
id: z.ZodString;
|
|
@@ -31536,39 +31750,6 @@ export declare const workflowCollectionAlignmentAnchoredWire: z.ZodObject<{
|
|
|
31536
31750
|
interval: z.ZodString;
|
|
31537
31751
|
}, z.core.$strict>;
|
|
31538
31752
|
}, z.core.$strict>;
|
|
31539
|
-
export declare const chargeFlatFeeSystemIntentWire: z.ZodObject<{
|
|
31540
|
-
name: z.ZodString;
|
|
31541
|
-
description: z.ZodOptional<z.ZodString>;
|
|
31542
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31543
|
-
invoice_at: z.ZodString;
|
|
31544
|
-
service_period: z.ZodObject<{
|
|
31545
|
-
from: z.ZodString;
|
|
31546
|
-
to: z.ZodString;
|
|
31547
|
-
}, z.core.$strict>;
|
|
31548
|
-
full_service_period: z.ZodObject<{
|
|
31549
|
-
from: z.ZodString;
|
|
31550
|
-
to: z.ZodString;
|
|
31551
|
-
}, z.core.$strict>;
|
|
31552
|
-
billing_period: z.ZodObject<{
|
|
31553
|
-
from: z.ZodString;
|
|
31554
|
-
to: z.ZodString;
|
|
31555
|
-
}, z.core.$strict>;
|
|
31556
|
-
payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
|
|
31557
|
-
discounts: z.ZodOptional<z.ZodObject<{
|
|
31558
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
31559
|
-
}, z.core.$strict>>;
|
|
31560
|
-
proration_configuration: z.ZodObject<{
|
|
31561
|
-
mode: z.ZodEnum<{
|
|
31562
|
-
no_proration: "no_proration";
|
|
31563
|
-
prorate_prices: "prorate_prices";
|
|
31564
|
-
}>;
|
|
31565
|
-
}, z.core.$strict>;
|
|
31566
|
-
amount_before_proration: z.ZodObject<{
|
|
31567
|
-
amount: z.ZodString;
|
|
31568
|
-
currency: z.ZodString;
|
|
31569
|
-
}, z.core.$strict>;
|
|
31570
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
31571
|
-
}, z.core.$strict>;
|
|
31572
31753
|
export declare const invoiceStatusDetailsWire: z.ZodObject<{
|
|
31573
31754
|
immutable: z.ZodBoolean;
|
|
31574
31755
|
failed: z.ZodBoolean;
|
|
@@ -31860,6 +32041,39 @@ export declare const creditTransactionPaginatedResponseWire: z.ZodObject<{
|
|
|
31860
32041
|
}, z.core.$strict>;
|
|
31861
32042
|
}, z.core.$strict>;
|
|
31862
32043
|
}, z.core.$strict>;
|
|
32044
|
+
export declare const chargeFlatFeeSystemIntentWire: z.ZodObject<{
|
|
32045
|
+
name: z.ZodString;
|
|
32046
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32047
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
32048
|
+
invoice_at: z.ZodString;
|
|
32049
|
+
service_period: z.ZodObject<{
|
|
32050
|
+
from: z.ZodString;
|
|
32051
|
+
to: z.ZodString;
|
|
32052
|
+
}, z.core.$strict>;
|
|
32053
|
+
full_service_period: z.ZodObject<{
|
|
32054
|
+
from: z.ZodString;
|
|
32055
|
+
to: z.ZodString;
|
|
32056
|
+
}, z.core.$strict>;
|
|
32057
|
+
billing_period: z.ZodObject<{
|
|
32058
|
+
from: z.ZodString;
|
|
32059
|
+
to: z.ZodString;
|
|
32060
|
+
}, z.core.$strict>;
|
|
32061
|
+
payment_term: z.ZodUnion<readonly [z.ZodLiteral<"in_advance">, z.ZodLiteral<"in_arrears">]>;
|
|
32062
|
+
discounts: z.ZodOptional<z.ZodObject<{
|
|
32063
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
32064
|
+
}, z.core.$strict>>;
|
|
32065
|
+
proration_configuration: z.ZodObject<{
|
|
32066
|
+
mode: z.ZodEnum<{
|
|
32067
|
+
no_proration: "no_proration";
|
|
32068
|
+
prorate_prices: "prorate_prices";
|
|
32069
|
+
}>;
|
|
32070
|
+
}, z.core.$strict>;
|
|
32071
|
+
amount_before_proration: z.ZodObject<{
|
|
32072
|
+
amount: z.ZodString;
|
|
32073
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32074
|
+
}, z.core.$strict>;
|
|
32075
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
32076
|
+
}, z.core.$strict>;
|
|
31863
32077
|
export declare const priceGraduatedWire: z.ZodObject<{
|
|
31864
32078
|
type: z.ZodLiteral<"graduated">;
|
|
31865
32079
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -32072,12 +32286,44 @@ export declare const creditGrantWire: z.ZodObject<{
|
|
|
32072
32286
|
voided: "voided";
|
|
32073
32287
|
}>;
|
|
32074
32288
|
}, z.core.$strict>;
|
|
32289
|
+
export declare const workflowTaxSettingsWire: z.ZodObject<{
|
|
32290
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
32291
|
+
enforced: z.ZodOptional<z.ZodBoolean>;
|
|
32292
|
+
default_tax_config: z.ZodOptional<z.ZodObject<{
|
|
32293
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
32294
|
+
exclusive: "exclusive";
|
|
32295
|
+
inclusive: "inclusive";
|
|
32296
|
+
}>>;
|
|
32297
|
+
stripe: z.ZodOptional<z.ZodObject<{
|
|
32298
|
+
code: z.ZodString;
|
|
32299
|
+
}, z.core.$strict>>;
|
|
32300
|
+
external_invoicing: z.ZodOptional<z.ZodObject<{
|
|
32301
|
+
code: z.ZodString;
|
|
32302
|
+
}, z.core.$strict>>;
|
|
32303
|
+
tax_code_id: z.ZodOptional<z.ZodString>;
|
|
32304
|
+
tax_code: z.ZodOptional<z.ZodObject<{
|
|
32305
|
+
id: z.ZodString;
|
|
32306
|
+
}, z.core.$strict>>;
|
|
32307
|
+
}, z.core.$strict>>;
|
|
32308
|
+
}, z.core.$strict>;
|
|
32075
32309
|
export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
32076
32310
|
name: z.ZodString;
|
|
32077
32311
|
description: z.ZodOptional<z.ZodString>;
|
|
32078
32312
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
32079
32313
|
type: z.ZodLiteral<"flat_fee">;
|
|
32080
|
-
currency: z.ZodString
|
|
32314
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32315
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32316
|
+
type: z.ZodLiteral<"dynamic">;
|
|
32317
|
+
fiat_currency: z.ZodString;
|
|
32318
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32319
|
+
type: z.ZodLiteral<"pinned">;
|
|
32320
|
+
fiat_currency: z.ZodString;
|
|
32321
|
+
cost_basis_id: z.ZodString;
|
|
32322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32323
|
+
type: z.ZodLiteral<"manual">;
|
|
32324
|
+
fiat_currency: z.ZodString;
|
|
32325
|
+
rate: z.ZodString;
|
|
32326
|
+
}, z.core.$strict>], "type">>;
|
|
32081
32327
|
invoice_at: z.ZodString;
|
|
32082
32328
|
service_period: z.ZodObject<{
|
|
32083
32329
|
from: z.ZodString;
|
|
@@ -32116,7 +32362,7 @@ export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
|
32116
32362
|
}, z.core.$strict>;
|
|
32117
32363
|
amount_before_proration: z.ZodObject<{
|
|
32118
32364
|
amount: z.ZodString;
|
|
32119
|
-
currency: z.ZodString
|
|
32365
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
32120
32366
|
}, z.core.$strict>;
|
|
32121
32367
|
feature: z.ZodOptional<z.ZodObject<{
|
|
32122
32368
|
id: z.ZodString;
|
|
@@ -32130,26 +32376,6 @@ export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
|
32130
32376
|
to: z.ZodString;
|
|
32131
32377
|
}, z.core.$strict>>;
|
|
32132
32378
|
}, z.core.$strict>;
|
|
32133
|
-
export declare const workflowTaxSettingsWire: z.ZodObject<{
|
|
32134
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
32135
|
-
enforced: z.ZodOptional<z.ZodBoolean>;
|
|
32136
|
-
default_tax_config: z.ZodOptional<z.ZodObject<{
|
|
32137
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
32138
|
-
exclusive: "exclusive";
|
|
32139
|
-
inclusive: "inclusive";
|
|
32140
|
-
}>>;
|
|
32141
|
-
stripe: z.ZodOptional<z.ZodObject<{
|
|
32142
|
-
code: z.ZodString;
|
|
32143
|
-
}, z.core.$strict>>;
|
|
32144
|
-
external_invoicing: z.ZodOptional<z.ZodObject<{
|
|
32145
|
-
code: z.ZodString;
|
|
32146
|
-
}, z.core.$strict>>;
|
|
32147
|
-
tax_code_id: z.ZodOptional<z.ZodString>;
|
|
32148
|
-
tax_code: z.ZodOptional<z.ZodObject<{
|
|
32149
|
-
id: z.ZodString;
|
|
32150
|
-
}, z.core.$strict>>;
|
|
32151
|
-
}, z.core.$strict>>;
|
|
32152
|
-
}, z.core.$strict>;
|
|
32153
32379
|
export declare const planAddonPagePaginatedResponseWire: z.ZodObject<{
|
|
32154
32380
|
data: z.ZodArray<z.ZodObject<{
|
|
32155
32381
|
id: z.ZodString;
|
|
@@ -34395,7 +34621,19 @@ export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
|
|
|
34395
34621
|
description: z.ZodOptional<z.ZodString>;
|
|
34396
34622
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34397
34623
|
type: z.ZodLiteral<"usage_based">;
|
|
34398
|
-
currency: z.ZodString
|
|
34624
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
34625
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34626
|
+
type: z.ZodLiteral<"dynamic">;
|
|
34627
|
+
fiat_currency: z.ZodString;
|
|
34628
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34629
|
+
type: z.ZodLiteral<"pinned">;
|
|
34630
|
+
fiat_currency: z.ZodString;
|
|
34631
|
+
cost_basis_id: z.ZodString;
|
|
34632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34633
|
+
type: z.ZodLiteral<"manual">;
|
|
34634
|
+
fiat_currency: z.ZodString;
|
|
34635
|
+
rate: z.ZodString;
|
|
34636
|
+
}, z.core.$strict>], "type">>;
|
|
34399
34637
|
invoice_at: z.ZodString;
|
|
34400
34638
|
service_period: z.ZodObject<{
|
|
34401
34639
|
from: z.ZodString;
|
|
@@ -36185,7 +36423,19 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36185
36423
|
description: z.ZodOptional<z.ZodString>;
|
|
36186
36424
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36187
36425
|
type: z.ZodLiteral<"flat_fee">;
|
|
36188
|
-
currency: z.ZodString
|
|
36426
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
36427
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36428
|
+
type: z.ZodLiteral<"dynamic">;
|
|
36429
|
+
fiat_currency: z.ZodString;
|
|
36430
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36431
|
+
type: z.ZodLiteral<"pinned">;
|
|
36432
|
+
fiat_currency: z.ZodString;
|
|
36433
|
+
cost_basis_id: z.ZodString;
|
|
36434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36435
|
+
type: z.ZodLiteral<"manual">;
|
|
36436
|
+
fiat_currency: z.ZodString;
|
|
36437
|
+
rate: z.ZodString;
|
|
36438
|
+
}, z.core.$strict>], "type">>;
|
|
36189
36439
|
invoice_at: z.ZodString;
|
|
36190
36440
|
service_period: z.ZodObject<{
|
|
36191
36441
|
from: z.ZodString;
|
|
@@ -36224,7 +36474,7 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36224
36474
|
}, z.core.$strict>;
|
|
36225
36475
|
amount_before_proration: z.ZodObject<{
|
|
36226
36476
|
amount: z.ZodString;
|
|
36227
|
-
currency: z.ZodString
|
|
36477
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
36228
36478
|
}, z.core.$strict>;
|
|
36229
36479
|
feature: z.ZodOptional<z.ZodObject<{
|
|
36230
36480
|
id: z.ZodString;
|
|
@@ -36242,7 +36492,19 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36242
36492
|
description: z.ZodOptional<z.ZodString>;
|
|
36243
36493
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36244
36494
|
type: z.ZodLiteral<"usage_based">;
|
|
36245
|
-
currency: z.ZodString
|
|
36495
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
36496
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36497
|
+
type: z.ZodLiteral<"dynamic">;
|
|
36498
|
+
fiat_currency: z.ZodString;
|
|
36499
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36500
|
+
type: z.ZodLiteral<"pinned">;
|
|
36501
|
+
fiat_currency: z.ZodString;
|
|
36502
|
+
cost_basis_id: z.ZodString;
|
|
36503
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36504
|
+
type: z.ZodLiteral<"manual">;
|
|
36505
|
+
fiat_currency: z.ZodString;
|
|
36506
|
+
rate: z.ZodString;
|
|
36507
|
+
}, z.core.$strict>], "type">>;
|
|
36246
36508
|
invoice_at: z.ZodString;
|
|
36247
36509
|
service_period: z.ZodObject<{
|
|
36248
36510
|
from: z.ZodString;
|
|
@@ -40149,7 +40411,13 @@ export declare const chargeFlatFeeWire: z.ZodObject<{
|
|
|
40149
40411
|
}, z.core.$strict>;
|
|
40150
40412
|
}, z.core.$strict>;
|
|
40151
40413
|
}, z.core.$strict>]>>;
|
|
40152
|
-
currency: z.ZodString
|
|
40414
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40415
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
40416
|
+
fiat_currency: z.ZodString;
|
|
40417
|
+
rate: z.ZodString;
|
|
40418
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
40419
|
+
resolved_at: z.ZodString;
|
|
40420
|
+
}, z.core.$strict>>;
|
|
40153
40421
|
status: z.ZodEnum<{
|
|
40154
40422
|
active: "active";
|
|
40155
40423
|
created: "created";
|
|
@@ -40508,7 +40776,7 @@ export declare const chargeFlatFeeWire: z.ZodObject<{
|
|
|
40508
40776
|
}, z.core.$strict>;
|
|
40509
40777
|
amount_after_proration: z.ZodObject<{
|
|
40510
40778
|
amount: z.ZodString;
|
|
40511
|
-
currency: z.ZodString
|
|
40779
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40512
40780
|
}, z.core.$strict>;
|
|
40513
40781
|
price: z.ZodObject<{
|
|
40514
40782
|
type: z.ZodLiteral<"flat">;
|
|
@@ -40543,7 +40811,7 @@ export declare const chargeFlatFeeWire: z.ZodObject<{
|
|
|
40543
40811
|
}, z.core.$strict>;
|
|
40544
40812
|
amount_before_proration: z.ZodObject<{
|
|
40545
40813
|
amount: z.ZodString;
|
|
40546
|
-
currency: z.ZodString
|
|
40814
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
40547
40815
|
}, z.core.$strict>;
|
|
40548
40816
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
40549
40817
|
}, z.core.$strict>>;
|
|
@@ -40754,7 +41022,13 @@ export declare const chargeUsageBasedWire: z.ZodObject<{
|
|
|
40754
41022
|
}, z.core.$strict>;
|
|
40755
41023
|
}, z.core.$strict>;
|
|
40756
41024
|
}, z.core.$strict>]>>;
|
|
40757
|
-
currency: z.ZodString
|
|
41025
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
41026
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
41027
|
+
fiat_currency: z.ZodString;
|
|
41028
|
+
rate: z.ZodString;
|
|
41029
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
41030
|
+
resolved_at: z.ZodString;
|
|
41031
|
+
}, z.core.$strict>>;
|
|
40758
41032
|
status: z.ZodEnum<{
|
|
40759
41033
|
active: "active";
|
|
40760
41034
|
created: "created";
|
|
@@ -41817,7 +42091,13 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
41817
42091
|
}, z.core.$strict>;
|
|
41818
42092
|
}, z.core.$strict>;
|
|
41819
42093
|
}, z.core.$strict>]>>;
|
|
41820
|
-
currency: z.ZodString
|
|
42094
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
42095
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
42096
|
+
fiat_currency: z.ZodString;
|
|
42097
|
+
rate: z.ZodString;
|
|
42098
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
42099
|
+
resolved_at: z.ZodString;
|
|
42100
|
+
}, z.core.$strict>>;
|
|
41821
42101
|
status: z.ZodEnum<{
|
|
41822
42102
|
active: "active";
|
|
41823
42103
|
created: "created";
|
|
@@ -42176,7 +42456,7 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
42176
42456
|
}, z.core.$strict>;
|
|
42177
42457
|
amount_after_proration: z.ZodObject<{
|
|
42178
42458
|
amount: z.ZodString;
|
|
42179
|
-
currency: z.ZodString
|
|
42459
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
42180
42460
|
}, z.core.$strict>;
|
|
42181
42461
|
price: z.ZodObject<{
|
|
42182
42462
|
type: z.ZodLiteral<"flat">;
|
|
@@ -42211,7 +42491,7 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
42211
42491
|
}, z.core.$strict>;
|
|
42212
42492
|
amount_before_proration: z.ZodObject<{
|
|
42213
42493
|
amount: z.ZodString;
|
|
42214
|
-
currency: z.ZodString
|
|
42494
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
42215
42495
|
}, z.core.$strict>;
|
|
42216
42496
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
42217
42497
|
}, z.core.$strict>>;
|
|
@@ -42421,7 +42701,13 @@ export declare const chargeWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
42421
42701
|
}, z.core.$strict>;
|
|
42422
42702
|
}, z.core.$strict>;
|
|
42423
42703
|
}, z.core.$strict>]>>;
|
|
42424
|
-
currency: z.ZodString
|
|
42704
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
42705
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
42706
|
+
fiat_currency: z.ZodString;
|
|
42707
|
+
rate: z.ZodString;
|
|
42708
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
42709
|
+
resolved_at: z.ZodString;
|
|
42710
|
+
}, z.core.$strict>>;
|
|
42425
42711
|
status: z.ZodEnum<{
|
|
42426
42712
|
active: "active";
|
|
42427
42713
|
created: "created";
|
|
@@ -43124,7 +43410,13 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
|
|
|
43124
43410
|
}, z.core.$strict>;
|
|
43125
43411
|
}, z.core.$strict>;
|
|
43126
43412
|
}, z.core.$strict>]>>;
|
|
43127
|
-
currency: z.ZodString
|
|
43413
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
43414
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
43415
|
+
fiat_currency: z.ZodString;
|
|
43416
|
+
rate: z.ZodString;
|
|
43417
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
43418
|
+
resolved_at: z.ZodString;
|
|
43419
|
+
}, z.core.$strict>>;
|
|
43128
43420
|
status: z.ZodEnum<{
|
|
43129
43421
|
active: "active";
|
|
43130
43422
|
created: "created";
|
|
@@ -43483,7 +43775,7 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
|
|
|
43483
43775
|
}, z.core.$strict>;
|
|
43484
43776
|
amount_after_proration: z.ZodObject<{
|
|
43485
43777
|
amount: z.ZodString;
|
|
43486
|
-
currency: z.ZodString
|
|
43778
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
43487
43779
|
}, z.core.$strict>;
|
|
43488
43780
|
price: z.ZodObject<{
|
|
43489
43781
|
type: z.ZodLiteral<"flat">;
|
|
@@ -43518,7 +43810,7 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
|
|
|
43518
43810
|
}, z.core.$strict>;
|
|
43519
43811
|
amount_before_proration: z.ZodObject<{
|
|
43520
43812
|
amount: z.ZodString;
|
|
43521
|
-
currency: z.ZodString
|
|
43813
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
43522
43814
|
}, z.core.$strict>;
|
|
43523
43815
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
43524
43816
|
}, z.core.$strict>>;
|
|
@@ -43728,7 +44020,13 @@ export declare const chargePagePaginatedResponseWire: z.ZodObject<{
|
|
|
43728
44020
|
}, z.core.$strict>;
|
|
43729
44021
|
}, z.core.$strict>;
|
|
43730
44022
|
}, z.core.$strict>]>>;
|
|
43731
|
-
currency: z.ZodString
|
|
44023
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
44024
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
44025
|
+
fiat_currency: z.ZodString;
|
|
44026
|
+
rate: z.ZodString;
|
|
44027
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
44028
|
+
resolved_at: z.ZodString;
|
|
44029
|
+
}, z.core.$strict>>;
|
|
43732
44030
|
status: z.ZodEnum<{
|
|
43733
44031
|
active: "active";
|
|
43734
44032
|
created: "created";
|
|
@@ -45788,7 +46086,13 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
|
|
|
45788
46086
|
}, z.core.$strict>;
|
|
45789
46087
|
}, z.core.$strict>;
|
|
45790
46088
|
}, z.core.$strict>]>>;
|
|
45791
|
-
currency: z.ZodString
|
|
46089
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
46090
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
46091
|
+
fiat_currency: z.ZodString;
|
|
46092
|
+
rate: z.ZodString;
|
|
46093
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
46094
|
+
resolved_at: z.ZodString;
|
|
46095
|
+
}, z.core.$strict>>;
|
|
45792
46096
|
status: z.ZodEnum<{
|
|
45793
46097
|
active: "active";
|
|
45794
46098
|
created: "created";
|
|
@@ -46147,7 +46451,7 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
|
|
|
46147
46451
|
}, z.core.$strict>;
|
|
46148
46452
|
amount_after_proration: z.ZodObject<{
|
|
46149
46453
|
amount: z.ZodString;
|
|
46150
|
-
currency: z.ZodString
|
|
46454
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
46151
46455
|
}, z.core.$strict>;
|
|
46152
46456
|
price: z.ZodObject<{
|
|
46153
46457
|
type: z.ZodLiteral<"flat">;
|
|
@@ -46182,7 +46486,7 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
|
|
|
46182
46486
|
}, z.core.$strict>;
|
|
46183
46487
|
amount_before_proration: z.ZodObject<{
|
|
46184
46488
|
amount: z.ZodString;
|
|
46185
|
-
currency: z.ZodString
|
|
46489
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
46186
46490
|
}, z.core.$strict>;
|
|
46187
46491
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
46188
46492
|
}, z.core.$strict>>;
|
|
@@ -46392,7 +46696,13 @@ export declare const listCustomerChargesResponseWire: z.ZodObject<{
|
|
|
46392
46696
|
}, z.core.$strict>;
|
|
46393
46697
|
}, z.core.$strict>;
|
|
46394
46698
|
}, z.core.$strict>]>>;
|
|
46395
|
-
currency: z.ZodString
|
|
46699
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
46700
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
46701
|
+
fiat_currency: z.ZodString;
|
|
46702
|
+
rate: z.ZodString;
|
|
46703
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
46704
|
+
resolved_at: z.ZodString;
|
|
46705
|
+
}, z.core.$strict>>;
|
|
46396
46706
|
status: z.ZodEnum<{
|
|
46397
46707
|
active: "active";
|
|
46398
46708
|
created: "created";
|
|
@@ -46904,7 +47214,19 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
|
|
|
46904
47214
|
description: z.ZodOptional<z.ZodString>;
|
|
46905
47215
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
46906
47216
|
type: z.ZodLiteral<"flat_fee">;
|
|
46907
|
-
currency: z.ZodString
|
|
47217
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
47218
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47219
|
+
type: z.ZodLiteral<"dynamic">;
|
|
47220
|
+
fiat_currency: z.ZodString;
|
|
47221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47222
|
+
type: z.ZodLiteral<"pinned">;
|
|
47223
|
+
fiat_currency: z.ZodString;
|
|
47224
|
+
cost_basis_id: z.ZodString;
|
|
47225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47226
|
+
type: z.ZodLiteral<"manual">;
|
|
47227
|
+
fiat_currency: z.ZodString;
|
|
47228
|
+
rate: z.ZodString;
|
|
47229
|
+
}, z.core.$strict>], "type">>;
|
|
46908
47230
|
invoice_at: z.ZodString;
|
|
46909
47231
|
service_period: z.ZodObject<{
|
|
46910
47232
|
from: z.ZodString;
|
|
@@ -46943,7 +47265,7 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
|
|
|
46943
47265
|
}, z.core.$strict>;
|
|
46944
47266
|
amount_before_proration: z.ZodObject<{
|
|
46945
47267
|
amount: z.ZodString;
|
|
46946
|
-
currency: z.ZodString
|
|
47268
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
46947
47269
|
}, z.core.$strict>;
|
|
46948
47270
|
feature: z.ZodOptional<z.ZodObject<{
|
|
46949
47271
|
id: z.ZodString;
|
|
@@ -46961,7 +47283,19 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
|
|
|
46961
47283
|
description: z.ZodOptional<z.ZodString>;
|
|
46962
47284
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
46963
47285
|
type: z.ZodLiteral<"usage_based">;
|
|
46964
|
-
currency: z.ZodString
|
|
47286
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
47287
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47288
|
+
type: z.ZodLiteral<"dynamic">;
|
|
47289
|
+
fiat_currency: z.ZodString;
|
|
47290
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47291
|
+
type: z.ZodLiteral<"pinned">;
|
|
47292
|
+
fiat_currency: z.ZodString;
|
|
47293
|
+
cost_basis_id: z.ZodString;
|
|
47294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47295
|
+
type: z.ZodLiteral<"manual">;
|
|
47296
|
+
fiat_currency: z.ZodString;
|
|
47297
|
+
rate: z.ZodString;
|
|
47298
|
+
}, z.core.$strict>], "type">>;
|
|
46965
47299
|
invoice_at: z.ZodString;
|
|
46966
47300
|
service_period: z.ZodObject<{
|
|
46967
47301
|
from: z.ZodString;
|
|
@@ -47259,7 +47593,13 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
|
|
|
47259
47593
|
}, z.core.$strict>;
|
|
47260
47594
|
}, z.core.$strict>;
|
|
47261
47595
|
}, z.core.$strict>]>>;
|
|
47262
|
-
currency: z.ZodString
|
|
47596
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
47597
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47598
|
+
fiat_currency: z.ZodString;
|
|
47599
|
+
rate: z.ZodString;
|
|
47600
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47601
|
+
resolved_at: z.ZodString;
|
|
47602
|
+
}, z.core.$strict>>;
|
|
47263
47603
|
status: z.ZodEnum<{
|
|
47264
47604
|
active: "active";
|
|
47265
47605
|
created: "created";
|
|
@@ -47618,7 +47958,7 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
|
|
|
47618
47958
|
}, z.core.$strict>;
|
|
47619
47959
|
amount_after_proration: z.ZodObject<{
|
|
47620
47960
|
amount: z.ZodString;
|
|
47621
|
-
currency: z.ZodString
|
|
47961
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
47622
47962
|
}, z.core.$strict>;
|
|
47623
47963
|
price: z.ZodObject<{
|
|
47624
47964
|
type: z.ZodLiteral<"flat">;
|
|
@@ -47653,7 +47993,7 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
|
|
|
47653
47993
|
}, z.core.$strict>;
|
|
47654
47994
|
amount_before_proration: z.ZodObject<{
|
|
47655
47995
|
amount: z.ZodString;
|
|
47656
|
-
currency: z.ZodString
|
|
47996
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
47657
47997
|
}, z.core.$strict>;
|
|
47658
47998
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
47659
47999
|
}, z.core.$strict>>;
|
|
@@ -47863,7 +48203,13 @@ export declare const createCustomerChargesResponseWire: z.ZodDiscriminatedUnion<
|
|
|
47863
48203
|
}, z.core.$strict>;
|
|
47864
48204
|
}, z.core.$strict>;
|
|
47865
48205
|
}, z.core.$strict>]>>;
|
|
47866
|
-
currency: z.ZodString
|
|
48206
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
48207
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
48208
|
+
fiat_currency: z.ZodString;
|
|
48209
|
+
rate: z.ZodString;
|
|
48210
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
48211
|
+
resolved_at: z.ZodString;
|
|
48212
|
+
}, z.core.$strict>>;
|
|
47867
48213
|
status: z.ZodEnum<{
|
|
47868
48214
|
active: "active";
|
|
47869
48215
|
created: "created";
|