@openmeter/client 1.0.0-beta-73351113ac6e → 1.0.0-beta-fd561cd8ec89
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 +688 -468
- package/dist/models/schemas.js +344 -274
- package/dist/models/types.d.ts +508 -408
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -520,15 +520,15 @@ export declare const numericFieldFilter: z.ZodUnion<readonly [z.ZodNumber, z.Zod
|
|
|
520
520
|
gt: z.ZodOptional<z.ZodNumber>;
|
|
521
521
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
522
522
|
}, z.core.$strip>]>;
|
|
523
|
-
export declare const chargeType: z.ZodEnum<{
|
|
524
|
-
flat_fee: "flat_fee";
|
|
525
|
-
usage_based: "usage_based";
|
|
526
|
-
}>;
|
|
527
523
|
export declare const chargeCostBasisType: z.ZodEnum<{
|
|
528
524
|
dynamic: "dynamic";
|
|
529
525
|
manual: "manual";
|
|
530
526
|
pinned: "pinned";
|
|
531
527
|
}>;
|
|
528
|
+
export declare const chargeType: z.ZodEnum<{
|
|
529
|
+
flat_fee: "flat_fee";
|
|
530
|
+
usage_based: "usage_based";
|
|
531
|
+
}>;
|
|
532
532
|
export declare const invoiceType: z.ZodEnum<{
|
|
533
533
|
standard: "standard";
|
|
534
534
|
}>;
|
|
@@ -588,6 +588,10 @@ export declare const appCustomerDataStripe: z.ZodObject<{
|
|
|
588
588
|
export declare const appCustomerDataExternalInvoicing: z.ZodObject<{
|
|
589
589
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
590
590
|
}, z.core.$strip>;
|
|
591
|
+
export declare const createChargeCostBasisDynamic: z.ZodObject<{
|
|
592
|
+
type: z.ZodLiteral<"dynamic">;
|
|
593
|
+
fiatCurrency: z.ZodString;
|
|
594
|
+
}, z.core.$strip>;
|
|
591
595
|
export declare const chargeCostBasisDynamic: z.ZodObject<{
|
|
592
596
|
type: z.ZodLiteral<"dynamic">;
|
|
593
597
|
fiatCurrency: z.ZodString;
|
|
@@ -614,6 +618,16 @@ export declare const createCurrencyCustomRequest: z.ZodObject<{
|
|
|
614
618
|
thousandSeparator: z.ZodString;
|
|
615
619
|
code: z.ZodString;
|
|
616
620
|
}, z.core.$strip>;
|
|
621
|
+
export declare const createChargeCostBasisManual: z.ZodObject<{
|
|
622
|
+
type: z.ZodLiteral<"manual">;
|
|
623
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
624
|
+
rate: z.ZodString;
|
|
625
|
+
}, z.core.$strip>;
|
|
626
|
+
export declare const chargeCostBasisManual: z.ZodObject<{
|
|
627
|
+
type: z.ZodLiteral<"manual">;
|
|
628
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
629
|
+
rate: z.ZodString;
|
|
630
|
+
}, z.core.$strip>;
|
|
617
631
|
export declare const priceFlat: z.ZodObject<{
|
|
618
632
|
type: z.ZodLiteral<"flat">;
|
|
619
633
|
amount: z.ZodString;
|
|
@@ -630,11 +644,6 @@ export declare const rateCardDiscounts: z.ZodObject<{
|
|
|
630
644
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
631
645
|
usage: z.ZodOptional<z.ZodString>;
|
|
632
646
|
}, z.core.$strip>;
|
|
633
|
-
export declare const chargeCostBasisManual: z.ZodObject<{
|
|
634
|
-
type: z.ZodLiteral<"manual">;
|
|
635
|
-
fiatCurrency: z.ZodString;
|
|
636
|
-
rate: z.ZodString;
|
|
637
|
-
}, z.core.$strip>;
|
|
638
647
|
export declare const totals: z.ZodObject<{
|
|
639
648
|
amount: z.ZodString;
|
|
640
649
|
taxesTotal: z.ZodString;
|
|
@@ -826,9 +835,19 @@ export declare const customerReference: z.ZodObject<{
|
|
|
826
835
|
export declare const profileReference: z.ZodObject<{
|
|
827
836
|
id: z.ZodString;
|
|
828
837
|
}, z.core.$strip>;
|
|
838
|
+
export declare const createChargeCostBasisPinned: z.ZodObject<{
|
|
839
|
+
type: z.ZodLiteral<"pinned">;
|
|
840
|
+
fiatCurrency: z.ZodString;
|
|
841
|
+
costBasisId: z.ZodString;
|
|
842
|
+
}, z.core.$strip>;
|
|
829
843
|
export declare const createResourceReference: z.ZodObject<{
|
|
830
844
|
id: z.ZodString;
|
|
831
845
|
}, z.core.$strip>;
|
|
846
|
+
export declare const chargeCostBasisPinned: z.ZodObject<{
|
|
847
|
+
type: z.ZodLiteral<"pinned">;
|
|
848
|
+
fiatCurrency: z.ZodString;
|
|
849
|
+
costBasisId: z.ZodString;
|
|
850
|
+
}, z.core.$strip>;
|
|
832
851
|
export declare const taxCodeReference: z.ZodObject<{
|
|
833
852
|
id: z.ZodString;
|
|
834
853
|
}, z.core.$strip>;
|
|
@@ -856,11 +875,6 @@ export declare const subscriptionReference: z.ZodObject<{
|
|
|
856
875
|
}, z.core.$strip>;
|
|
857
876
|
}, z.core.$strip>;
|
|
858
877
|
}, z.core.$strip>;
|
|
859
|
-
export declare const chargeCostBasisPinned: z.ZodObject<{
|
|
860
|
-
type: z.ZodLiteral<"pinned">;
|
|
861
|
-
fiatCurrency: z.ZodString;
|
|
862
|
-
costBasisId: z.ZodString;
|
|
863
|
-
}, z.core.$strip>;
|
|
864
878
|
export declare const appReference: z.ZodObject<{
|
|
865
879
|
id: z.ZodString;
|
|
866
880
|
}, z.core.$strip>;
|
|
@@ -919,16 +933,16 @@ export declare const appStripeCreateCustomerPortalSessionResult: z.ZodObject<{
|
|
|
919
933
|
locale: z.ZodString;
|
|
920
934
|
url: z.ZodString;
|
|
921
935
|
}, z.core.$strip>;
|
|
922
|
-
export declare const closedPeriod: z.ZodObject<{
|
|
923
|
-
from: z.ZodDate;
|
|
924
|
-
to: z.ZodDate;
|
|
925
|
-
}, z.core.$strip>;
|
|
926
936
|
export declare const chargeResolvedCostBasis: z.ZodObject<{
|
|
927
937
|
fiatCurrency: z.ZodString;
|
|
928
938
|
rate: z.ZodString;
|
|
929
939
|
costBasisId: z.ZodOptional<z.ZodString>;
|
|
930
940
|
resolvedAt: z.ZodDate;
|
|
931
941
|
}, z.core.$strip>;
|
|
942
|
+
export declare const closedPeriod: z.ZodObject<{
|
|
943
|
+
from: z.ZodDate;
|
|
944
|
+
to: z.ZodDate;
|
|
945
|
+
}, z.core.$strip>;
|
|
932
946
|
export declare const subscriptionAddonTimelineSegment: z.ZodObject<{
|
|
933
947
|
activeFrom: z.ZodDate;
|
|
934
948
|
activeTo: z.ZodOptional<z.ZodDate>;
|
|
@@ -1335,13 +1349,6 @@ export declare const entitlementAccessResult: z.ZodObject<{
|
|
|
1335
1349
|
hasAccess: z.ZodBoolean;
|
|
1336
1350
|
config: z.ZodOptional<z.ZodString>;
|
|
1337
1351
|
}, z.core.$strip>;
|
|
1338
|
-
export declare const createCreditGrantPurchase: z.ZodObject<{
|
|
1339
|
-
currency: z.ZodString;
|
|
1340
|
-
perUnitCostBasis: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1341
|
-
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1342
|
-
on_creation: "on_creation";
|
|
1343
|
-
}>>>;
|
|
1344
|
-
}, z.core.$strip>;
|
|
1345
1352
|
export declare const rateCardMeteredEntitlement: z.ZodObject<{
|
|
1346
1353
|
type: z.ZodLiteral<"metered">;
|
|
1347
1354
|
isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1364,19 +1371,6 @@ export declare const recurringPeriod: z.ZodObject<{
|
|
|
1364
1371
|
anchor: z.ZodDate;
|
|
1365
1372
|
interval: z.ZodString;
|
|
1366
1373
|
}, z.core.$strip>;
|
|
1367
|
-
export declare const creditGrantPurchase: z.ZodObject<{
|
|
1368
|
-
currency: z.ZodString;
|
|
1369
|
-
perUnitCostBasis: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1370
|
-
amount: z.ZodString;
|
|
1371
|
-
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1372
|
-
on_creation: "on_creation";
|
|
1373
|
-
}>>>;
|
|
1374
|
-
settlementStatus: z.ZodOptional<z.ZodEnum<{
|
|
1375
|
-
authorized: "authorized";
|
|
1376
|
-
pending: "pending";
|
|
1377
|
-
settled: "settled";
|
|
1378
|
-
}>>;
|
|
1379
|
-
}, z.core.$strip>;
|
|
1380
1374
|
export declare const updateCreditGrantExternalSettlementRequest: z.ZodObject<{
|
|
1381
1375
|
status: z.ZodEnum<{
|
|
1382
1376
|
authorized: "authorized";
|
|
@@ -2124,6 +2118,18 @@ export declare const listPlanAddonsParamsFilter: z.ZodObject<{
|
|
|
2124
2118
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
2125
2119
|
}, z.core.$strip>]>>;
|
|
2126
2120
|
}, z.core.$strip>;
|
|
2121
|
+
export declare const createChargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2122
|
+
type: z.ZodLiteral<"dynamic">;
|
|
2123
|
+
fiatCurrency: z.ZodString;
|
|
2124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2125
|
+
type: z.ZodLiteral<"pinned">;
|
|
2126
|
+
fiatCurrency: z.ZodString;
|
|
2127
|
+
costBasisId: z.ZodString;
|
|
2128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2129
|
+
type: z.ZodLiteral<"manual">;
|
|
2130
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
rate: z.ZodString;
|
|
2132
|
+
}, z.core.$strip>], "type">;
|
|
2127
2133
|
export declare const createCreditGrantTaxConfig: z.ZodObject<{
|
|
2128
2134
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
2129
2135
|
exclusive: "exclusive";
|
|
@@ -2133,6 +2139,18 @@ export declare const createCreditGrantTaxConfig: z.ZodObject<{
|
|
|
2133
2139
|
id: z.ZodString;
|
|
2134
2140
|
}, z.core.$strip>>;
|
|
2135
2141
|
}, z.core.$strip>;
|
|
2142
|
+
export declare const chargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2143
|
+
type: z.ZodLiteral<"dynamic">;
|
|
2144
|
+
fiatCurrency: z.ZodString;
|
|
2145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2146
|
+
type: z.ZodLiteral<"pinned">;
|
|
2147
|
+
fiatCurrency: z.ZodString;
|
|
2148
|
+
costBasisId: z.ZodString;
|
|
2149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2150
|
+
type: z.ZodLiteral<"manual">;
|
|
2151
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
2152
|
+
rate: z.ZodString;
|
|
2153
|
+
}, z.core.$strip>], "type">;
|
|
2136
2154
|
export declare const creditGrantTaxConfig: z.ZodObject<{
|
|
2137
2155
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
2138
2156
|
exclusive: "exclusive";
|
|
@@ -2185,18 +2203,6 @@ export declare const updateOrganizationDefaultTaxCodesRequest: z.ZodObject<{
|
|
|
2185
2203
|
id: z.ZodString;
|
|
2186
2204
|
}, z.core.$strip>>;
|
|
2187
2205
|
}, z.core.$strip>;
|
|
2188
|
-
export declare const chargeCostBasis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2189
|
-
type: z.ZodLiteral<"dynamic">;
|
|
2190
|
-
fiatCurrency: z.ZodString;
|
|
2191
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2192
|
-
type: z.ZodLiteral<"pinned">;
|
|
2193
|
-
fiatCurrency: z.ZodString;
|
|
2194
|
-
costBasisId: z.ZodString;
|
|
2195
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2196
|
-
type: z.ZodLiteral<"manual">;
|
|
2197
|
-
fiatCurrency: z.ZodString;
|
|
2198
|
-
rate: z.ZodString;
|
|
2199
|
-
}, z.core.$strip>], "type">;
|
|
2200
2206
|
export declare const invoiceWorkflowAppsReferences: z.ZodObject<{
|
|
2201
2207
|
tax: z.ZodObject<{
|
|
2202
2208
|
id: z.ZodString;
|
|
@@ -3421,118 +3427,43 @@ export declare const pricePagePaginatedResponse: z.ZodObject<{
|
|
|
3421
3427
|
}, z.core.$strip>;
|
|
3422
3428
|
}, z.core.$strip>;
|
|
3423
3429
|
}, z.core.$strip>;
|
|
3424
|
-
export declare const
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
}
|
|
3442
|
-
taxConfig: z.ZodOptional<z.ZodObject<{
|
|
3443
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3444
|
-
exclusive: "exclusive";
|
|
3445
|
-
inclusive: "inclusive";
|
|
3446
|
-
}>>;
|
|
3447
|
-
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3448
|
-
id: z.ZodString;
|
|
3449
|
-
}, z.core.$strip>>;
|
|
3450
|
-
}, z.core.$strip>>;
|
|
3451
|
-
filters: z.ZodOptional<z.ZodObject<{
|
|
3452
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3453
|
-
}, z.core.$strip>>;
|
|
3454
|
-
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3455
|
-
effectiveAt: z.ZodOptional<z.ZodDate>;
|
|
3456
|
-
expiresAfter: z.ZodOptional<z.ZodString>;
|
|
3457
|
-
key: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
export declare const createCreditGrantPurchase: z.ZodObject<{
|
|
3431
|
+
currency: z.ZodString;
|
|
3432
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
3433
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3434
|
+
type: z.ZodLiteral<"dynamic">;
|
|
3435
|
+
fiatCurrency: z.ZodString;
|
|
3436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3437
|
+
type: z.ZodLiteral<"pinned">;
|
|
3438
|
+
fiatCurrency: z.ZodString;
|
|
3439
|
+
costBasisId: z.ZodString;
|
|
3440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3441
|
+
type: z.ZodLiteral<"manual">;
|
|
3442
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
3443
|
+
rate: z.ZodString;
|
|
3444
|
+
}, z.core.$strip>], "type">>;
|
|
3445
|
+
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3446
|
+
on_creation: "on_creation";
|
|
3447
|
+
}>>>;
|
|
3458
3448
|
}, z.core.$strip>;
|
|
3459
|
-
export declare const
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
fundingMethod: z.ZodEnum<{
|
|
3468
|
-
external: "external";
|
|
3469
|
-
invoice: "invoice";
|
|
3470
|
-
none: "none";
|
|
3471
|
-
}>;
|
|
3472
|
-
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3473
|
-
amount: z.ZodString;
|
|
3474
|
-
purchase: z.ZodOptional<z.ZodObject<{
|
|
3475
|
-
currency: z.ZodString;
|
|
3476
|
-
perUnitCostBasis: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3477
|
-
amount: z.ZodString;
|
|
3478
|
-
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3479
|
-
on_creation: "on_creation";
|
|
3480
|
-
}>>>;
|
|
3481
|
-
settlementStatus: z.ZodOptional<z.ZodEnum<{
|
|
3482
|
-
authorized: "authorized";
|
|
3483
|
-
pending: "pending";
|
|
3484
|
-
settled: "settled";
|
|
3485
|
-
}>>;
|
|
3486
|
-
}, z.core.$strip>>;
|
|
3487
|
-
taxConfig: z.ZodOptional<z.ZodObject<{
|
|
3488
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3489
|
-
exclusive: "exclusive";
|
|
3490
|
-
inclusive: "inclusive";
|
|
3491
|
-
}>>;
|
|
3492
|
-
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3493
|
-
id: z.ZodString;
|
|
3494
|
-
}, z.core.$strip>>;
|
|
3495
|
-
}, z.core.$strip>>;
|
|
3496
|
-
invoice: z.ZodOptional<z.ZodObject<{
|
|
3497
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3498
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
3499
|
-
id: z.ZodString;
|
|
3500
|
-
}, z.core.$strip>>;
|
|
3501
|
-
}, z.core.$strip>>;
|
|
3502
|
-
filters: z.ZodOptional<z.ZodObject<{
|
|
3503
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3449
|
+
export declare const creditGrantPurchase: z.ZodObject<{
|
|
3450
|
+
currency: z.ZodString;
|
|
3451
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
3453
|
+
fiatCurrency: z.ZodString;
|
|
3454
|
+
rate: z.ZodString;
|
|
3455
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
3456
|
+
resolvedAt: z.ZodDate;
|
|
3504
3457
|
}, z.core.$strip>>;
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
active: "active";
|
|
3512
|
-
expired: "expired";
|
|
3458
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
3459
|
+
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3460
|
+
on_creation: "on_creation";
|
|
3461
|
+
}>>>;
|
|
3462
|
+
settlementStatus: z.ZodOptional<z.ZodEnum<{
|
|
3463
|
+
authorized: "authorized";
|
|
3513
3464
|
pending: "pending";
|
|
3514
|
-
|
|
3515
|
-
}
|
|
3516
|
-
}, z.core.$strip>;
|
|
3517
|
-
export declare const workflowTaxSettings: z.ZodObject<{
|
|
3518
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3519
|
-
enforced: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3520
|
-
defaultTaxConfig: z.ZodOptional<z.ZodObject<{
|
|
3521
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3522
|
-
exclusive: "exclusive";
|
|
3523
|
-
inclusive: "inclusive";
|
|
3524
|
-
}>>;
|
|
3525
|
-
stripe: z.ZodOptional<z.ZodObject<{
|
|
3526
|
-
code: z.ZodString;
|
|
3527
|
-
}, z.core.$strip>>;
|
|
3528
|
-
externalInvoicing: z.ZodOptional<z.ZodObject<{
|
|
3529
|
-
code: z.ZodString;
|
|
3530
|
-
}, z.core.$strip>>;
|
|
3531
|
-
taxCodeId: z.ZodOptional<z.ZodString>;
|
|
3532
|
-
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3533
|
-
id: z.ZodString;
|
|
3534
|
-
}, z.core.$strip>>;
|
|
3535
|
-
}, z.core.$strip>>;
|
|
3465
|
+
settled: "settled";
|
|
3466
|
+
}>>;
|
|
3536
3467
|
}, z.core.$strip>;
|
|
3537
3468
|
export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
3538
3469
|
name: z.ZodString;
|
|
@@ -3549,7 +3480,7 @@ export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
|
3549
3480
|
costBasisId: z.ZodString;
|
|
3550
3481
|
}, z.core.$strip>, z.ZodObject<{
|
|
3551
3482
|
type: z.ZodLiteral<"manual">;
|
|
3552
|
-
fiatCurrency: z.ZodString
|
|
3483
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
3553
3484
|
rate: z.ZodString;
|
|
3554
3485
|
}, z.core.$strip>], "type">>;
|
|
3555
3486
|
invoiceAt: z.ZodDate;
|
|
@@ -3604,6 +3535,26 @@ export declare const createChargeFlatFeeRequest: z.ZodObject<{
|
|
|
3604
3535
|
to: z.ZodDate;
|
|
3605
3536
|
}, z.core.$strip>>;
|
|
3606
3537
|
}, z.core.$strip>;
|
|
3538
|
+
export declare const workflowTaxSettings: z.ZodObject<{
|
|
3539
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3540
|
+
enforced: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3541
|
+
defaultTaxConfig: z.ZodOptional<z.ZodObject<{
|
|
3542
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
3543
|
+
exclusive: "exclusive";
|
|
3544
|
+
inclusive: "inclusive";
|
|
3545
|
+
}>>;
|
|
3546
|
+
stripe: z.ZodOptional<z.ZodObject<{
|
|
3547
|
+
code: z.ZodString;
|
|
3548
|
+
}, z.core.$strip>>;
|
|
3549
|
+
externalInvoicing: z.ZodOptional<z.ZodObject<{
|
|
3550
|
+
code: z.ZodString;
|
|
3551
|
+
}, z.core.$strip>>;
|
|
3552
|
+
taxCodeId: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
taxCode: z.ZodOptional<z.ZodObject<{
|
|
3554
|
+
id: z.ZodString;
|
|
3555
|
+
}, z.core.$strip>>;
|
|
3556
|
+
}, z.core.$strip>>;
|
|
3557
|
+
}, z.core.$strip>;
|
|
3607
3558
|
export declare const planAddonPagePaginatedResponse: z.ZodObject<{
|
|
3608
3559
|
data: z.ZodArray<z.ZodObject<{
|
|
3609
3560
|
id: z.ZodString;
|
|
@@ -4821,72 +4772,116 @@ export declare const updatePrice: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4821
4772
|
}, z.core.$strip>>;
|
|
4822
4773
|
}, z.core.$strip>>;
|
|
4823
4774
|
}, z.core.$strip>], "type">;
|
|
4824
|
-
export declare const
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4775
|
+
export declare const createCreditGrantRequest: z.ZodObject<{
|
|
4776
|
+
name: z.ZodString;
|
|
4777
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4778
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4779
|
+
fundingMethod: z.ZodEnum<{
|
|
4780
|
+
external: "external";
|
|
4781
|
+
invoice: "invoice";
|
|
4782
|
+
none: "none";
|
|
4783
|
+
}>;
|
|
4784
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4785
|
+
amount: z.ZodString;
|
|
4786
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
4787
|
+
currency: z.ZodString;
|
|
4788
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
4789
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4790
|
+
type: z.ZodLiteral<"dynamic">;
|
|
4791
|
+
fiatCurrency: z.ZodString;
|
|
4792
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4793
|
+
type: z.ZodLiteral<"pinned">;
|
|
4794
|
+
fiatCurrency: z.ZodString;
|
|
4795
|
+
costBasisId: z.ZodString;
|
|
4796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4797
|
+
type: z.ZodLiteral<"manual">;
|
|
4798
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
4799
|
+
rate: z.ZodString;
|
|
4800
|
+
}, z.core.$strip>], "type">>;
|
|
4801
|
+
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4802
|
+
on_creation: "on_creation";
|
|
4803
|
+
}>>>;
|
|
4804
|
+
}, z.core.$strip>>;
|
|
4805
|
+
taxConfig: z.ZodOptional<z.ZodObject<{
|
|
4806
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
4807
|
+
exclusive: "exclusive";
|
|
4808
|
+
inclusive: "inclusive";
|
|
4809
|
+
}>>;
|
|
4810
|
+
taxCode: z.ZodOptional<z.ZodObject<{
|
|
4811
|
+
id: z.ZodString;
|
|
4852
4812
|
}, z.core.$strip>>;
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4813
|
+
}, z.core.$strip>>;
|
|
4814
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
4815
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4816
|
+
}, z.core.$strip>>;
|
|
4817
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4818
|
+
effectiveAt: z.ZodOptional<z.ZodDate>;
|
|
4819
|
+
expiresAfter: z.ZodOptional<z.ZodString>;
|
|
4820
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4821
|
+
}, z.core.$strip>;
|
|
4822
|
+
export declare const creditGrant: z.ZodObject<{
|
|
4823
|
+
id: z.ZodString;
|
|
4824
|
+
name: z.ZodString;
|
|
4825
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4826
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4827
|
+
createdAt: z.ZodDate;
|
|
4828
|
+
updatedAt: z.ZodDate;
|
|
4829
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
4830
|
+
fundingMethod: z.ZodEnum<{
|
|
4831
|
+
external: "external";
|
|
4832
|
+
invoice: "invoice";
|
|
4833
|
+
none: "none";
|
|
4834
|
+
}>;
|
|
4835
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4836
|
+
amount: z.ZodString;
|
|
4837
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
4838
|
+
currency: z.ZodString;
|
|
4839
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
4840
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
4841
|
+
fiatCurrency: z.ZodString;
|
|
4842
|
+
rate: z.ZodString;
|
|
4843
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
4844
|
+
resolvedAt: z.ZodDate;
|
|
4861
4845
|
}, z.core.$strip>>;
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4846
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
4847
|
+
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4848
|
+
on_creation: "on_creation";
|
|
4849
|
+
}>>>;
|
|
4850
|
+
settlementStatus: z.ZodOptional<z.ZodEnum<{
|
|
4851
|
+
authorized: "authorized";
|
|
4852
|
+
pending: "pending";
|
|
4853
|
+
settled: "settled";
|
|
4854
|
+
}>>;
|
|
4855
|
+
}, z.core.$strip>>;
|
|
4856
|
+
taxConfig: z.ZodOptional<z.ZodObject<{
|
|
4857
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
4858
|
+
exclusive: "exclusive";
|
|
4859
|
+
inclusive: "inclusive";
|
|
4860
|
+
}>>;
|
|
4861
|
+
taxCode: z.ZodOptional<z.ZodObject<{
|
|
4862
|
+
id: z.ZodString;
|
|
4867
4863
|
}, z.core.$strip>>;
|
|
4868
|
-
|
|
4869
|
-
|
|
4864
|
+
}, z.core.$strip>>;
|
|
4865
|
+
invoice: z.ZodOptional<z.ZodObject<{
|
|
4866
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4867
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
4868
|
+
id: z.ZodString;
|
|
4870
4869
|
}, z.core.$strip>>;
|
|
4871
|
-
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4872
|
-
effectiveAt: z.ZodOptional<z.ZodDate>;
|
|
4873
|
-
key: z.ZodOptional<z.ZodString>;
|
|
4874
|
-
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
4875
|
-
voidedAt: z.ZodOptional<z.ZodDate>;
|
|
4876
|
-
status: z.ZodEnum<{
|
|
4877
|
-
active: "active";
|
|
4878
|
-
expired: "expired";
|
|
4879
|
-
pending: "pending";
|
|
4880
|
-
voided: "voided";
|
|
4881
|
-
}>;
|
|
4882
4870
|
}, z.core.$strip>>;
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4871
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
4872
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4873
|
+
}, z.core.$strip>>;
|
|
4874
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4875
|
+
effectiveAt: z.ZodOptional<z.ZodDate>;
|
|
4876
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4877
|
+
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
4878
|
+
voidedAt: z.ZodOptional<z.ZodDate>;
|
|
4879
|
+
status: z.ZodEnum<{
|
|
4880
|
+
active: "active";
|
|
4881
|
+
expired: "expired";
|
|
4882
|
+
pending: "pending";
|
|
4883
|
+
voided: "voided";
|
|
4884
|
+
}>;
|
|
4890
4885
|
}, z.core.$strip>;
|
|
4891
4886
|
export declare const currencyPagePaginatedResponse: z.ZodObject<{
|
|
4892
4887
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5859,7 +5854,7 @@ export declare const createChargeUsageBasedRequest: z.ZodObject<{
|
|
|
5859
5854
|
costBasisId: z.ZodString;
|
|
5860
5855
|
}, z.core.$strip>, z.ZodObject<{
|
|
5861
5856
|
type: z.ZodLiteral<"manual">;
|
|
5862
|
-
fiatCurrency: z.ZodString
|
|
5857
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
5863
5858
|
rate: z.ZodString;
|
|
5864
5859
|
}, z.core.$strip>], "type">>;
|
|
5865
5860
|
invoiceAt: z.ZodDate;
|
|
@@ -6153,6 +6148,79 @@ export declare const updateInvoiceLineRateCard: z.ZodObject<{
|
|
|
6153
6148
|
usage: z.ZodOptional<z.ZodString>;
|
|
6154
6149
|
}, z.core.$strip>>;
|
|
6155
6150
|
}, z.core.$strip>;
|
|
6151
|
+
export declare const creditGrantPagePaginatedResponse: z.ZodObject<{
|
|
6152
|
+
data: z.ZodArray<z.ZodObject<{
|
|
6153
|
+
id: z.ZodString;
|
|
6154
|
+
name: z.ZodString;
|
|
6155
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6156
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6157
|
+
createdAt: z.ZodDate;
|
|
6158
|
+
updatedAt: z.ZodDate;
|
|
6159
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
6160
|
+
fundingMethod: z.ZodEnum<{
|
|
6161
|
+
external: "external";
|
|
6162
|
+
invoice: "invoice";
|
|
6163
|
+
none: "none";
|
|
6164
|
+
}>;
|
|
6165
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6166
|
+
amount: z.ZodString;
|
|
6167
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
6168
|
+
currency: z.ZodString;
|
|
6169
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
6170
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
6171
|
+
fiatCurrency: z.ZodString;
|
|
6172
|
+
rate: z.ZodString;
|
|
6173
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
6174
|
+
resolvedAt: z.ZodDate;
|
|
6175
|
+
}, z.core.$strip>>;
|
|
6176
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
6177
|
+
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6178
|
+
on_creation: "on_creation";
|
|
6179
|
+
}>>>;
|
|
6180
|
+
settlementStatus: z.ZodOptional<z.ZodEnum<{
|
|
6181
|
+
authorized: "authorized";
|
|
6182
|
+
pending: "pending";
|
|
6183
|
+
settled: "settled";
|
|
6184
|
+
}>>;
|
|
6185
|
+
}, z.core.$strip>>;
|
|
6186
|
+
taxConfig: z.ZodOptional<z.ZodObject<{
|
|
6187
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
6188
|
+
exclusive: "exclusive";
|
|
6189
|
+
inclusive: "inclusive";
|
|
6190
|
+
}>>;
|
|
6191
|
+
taxCode: z.ZodOptional<z.ZodObject<{
|
|
6192
|
+
id: z.ZodString;
|
|
6193
|
+
}, z.core.$strip>>;
|
|
6194
|
+
}, z.core.$strip>>;
|
|
6195
|
+
invoice: z.ZodOptional<z.ZodObject<{
|
|
6196
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
6198
|
+
id: z.ZodString;
|
|
6199
|
+
}, z.core.$strip>>;
|
|
6200
|
+
}, z.core.$strip>>;
|
|
6201
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
6202
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6203
|
+
}, z.core.$strip>>;
|
|
6204
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6205
|
+
effectiveAt: z.ZodOptional<z.ZodDate>;
|
|
6206
|
+
key: z.ZodOptional<z.ZodString>;
|
|
6207
|
+
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
6208
|
+
voidedAt: z.ZodOptional<z.ZodDate>;
|
|
6209
|
+
status: z.ZodEnum<{
|
|
6210
|
+
active: "active";
|
|
6211
|
+
expired: "expired";
|
|
6212
|
+
pending: "pending";
|
|
6213
|
+
voided: "voided";
|
|
6214
|
+
}>;
|
|
6215
|
+
}, z.core.$strip>>;
|
|
6216
|
+
meta: z.ZodObject<{
|
|
6217
|
+
page: z.ZodObject<{
|
|
6218
|
+
number: z.ZodNumber;
|
|
6219
|
+
size: z.ZodNumber;
|
|
6220
|
+
total: z.ZodNumber;
|
|
6221
|
+
}, z.core.$strip>;
|
|
6222
|
+
}, z.core.$strip>;
|
|
6223
|
+
}, z.core.$strip>;
|
|
6156
6224
|
export declare const workflow: z.ZodObject<{
|
|
6157
6225
|
collection: z.ZodOptional<z.ZodObject<{
|
|
6158
6226
|
alignment: z.ZodDefault<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7755,7 +7823,7 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7755
7823
|
costBasisId: z.ZodString;
|
|
7756
7824
|
}, z.core.$strip>, z.ZodObject<{
|
|
7757
7825
|
type: z.ZodLiteral<"manual">;
|
|
7758
|
-
fiatCurrency: z.ZodString
|
|
7826
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
7759
7827
|
rate: z.ZodString;
|
|
7760
7828
|
}, z.core.$strip>], "type">>;
|
|
7761
7829
|
invoiceAt: z.ZodDate;
|
|
@@ -7824,7 +7892,7 @@ export declare const createChargeRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7824
7892
|
costBasisId: z.ZodString;
|
|
7825
7893
|
}, z.core.$strip>, z.ZodObject<{
|
|
7826
7894
|
type: z.ZodLiteral<"manual">;
|
|
7827
|
-
fiatCurrency: z.ZodString
|
|
7895
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
7828
7896
|
rate: z.ZodString;
|
|
7829
7897
|
}, z.core.$strip>], "type">>;
|
|
7830
7898
|
invoiceAt: z.ZodDate;
|
|
@@ -17281,7 +17349,19 @@ export declare const createCreditGrantBody: z.ZodObject<{
|
|
|
17281
17349
|
amount: z.ZodString;
|
|
17282
17350
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17283
17351
|
currency: z.ZodString;
|
|
17284
|
-
perUnitCostBasis: z.
|
|
17352
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17353
|
+
costBasis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17354
|
+
type: z.ZodLiteral<"dynamic">;
|
|
17355
|
+
fiatCurrency: z.ZodString;
|
|
17356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17357
|
+
type: z.ZodLiteral<"pinned">;
|
|
17358
|
+
fiatCurrency: z.ZodString;
|
|
17359
|
+
costBasisId: z.ZodString;
|
|
17360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17361
|
+
type: z.ZodLiteral<"manual">;
|
|
17362
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
17363
|
+
rate: z.ZodString;
|
|
17364
|
+
}, z.core.$strip>], "type">>;
|
|
17285
17365
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17286
17366
|
on_creation: "on_creation";
|
|
17287
17367
|
}>>>;
|
|
@@ -17320,8 +17400,14 @@ export declare const createCreditGrantResponse: z.ZodObject<{
|
|
|
17320
17400
|
amount: z.ZodString;
|
|
17321
17401
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17322
17402
|
currency: z.ZodString;
|
|
17323
|
-
perUnitCostBasis: z.
|
|
17324
|
-
|
|
17403
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17404
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17405
|
+
fiatCurrency: z.ZodString;
|
|
17406
|
+
rate: z.ZodString;
|
|
17407
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17408
|
+
resolvedAt: z.ZodDate;
|
|
17409
|
+
}, z.core.$strip>>;
|
|
17410
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
17325
17411
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17326
17412
|
on_creation: "on_creation";
|
|
17327
17413
|
}>>>;
|
|
@@ -17382,8 +17468,14 @@ export declare const getCreditGrantResponse: z.ZodObject<{
|
|
|
17382
17468
|
amount: z.ZodString;
|
|
17383
17469
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17384
17470
|
currency: z.ZodString;
|
|
17385
|
-
perUnitCostBasis: z.
|
|
17386
|
-
|
|
17471
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17472
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17473
|
+
fiatCurrency: z.ZodString;
|
|
17474
|
+
rate: z.ZodString;
|
|
17475
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17476
|
+
resolvedAt: z.ZodDate;
|
|
17477
|
+
}, z.core.$strip>>;
|
|
17478
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
17387
17479
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17388
17480
|
on_creation: "on_creation";
|
|
17389
17481
|
}>>>;
|
|
@@ -17471,8 +17563,14 @@ export declare const listCreditGrantsResponse: z.ZodObject<{
|
|
|
17471
17563
|
amount: z.ZodString;
|
|
17472
17564
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17473
17565
|
currency: z.ZodString;
|
|
17474
|
-
perUnitCostBasis: z.
|
|
17475
|
-
|
|
17566
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17567
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17568
|
+
fiatCurrency: z.ZodString;
|
|
17569
|
+
rate: z.ZodString;
|
|
17570
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17571
|
+
resolvedAt: z.ZodDate;
|
|
17572
|
+
}, z.core.$strip>>;
|
|
17573
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
17476
17574
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17477
17575
|
on_creation: "on_creation";
|
|
17478
17576
|
}>>>;
|
|
@@ -17595,8 +17693,14 @@ export declare const voidCreditGrantResponse: z.ZodObject<{
|
|
|
17595
17693
|
amount: z.ZodString;
|
|
17596
17694
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17597
17695
|
currency: z.ZodString;
|
|
17598
|
-
perUnitCostBasis: z.
|
|
17599
|
-
|
|
17696
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17697
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17698
|
+
fiatCurrency: z.ZodString;
|
|
17699
|
+
rate: z.ZodString;
|
|
17700
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17701
|
+
resolvedAt: z.ZodDate;
|
|
17702
|
+
}, z.core.$strip>>;
|
|
17703
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
17600
17704
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17601
17705
|
on_creation: "on_creation";
|
|
17602
17706
|
}>>>;
|
|
@@ -17664,8 +17768,14 @@ export declare const updateCreditGrantExternalSettlementResponse: z.ZodObject<{
|
|
|
17664
17768
|
amount: z.ZodString;
|
|
17665
17769
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
17666
17770
|
currency: z.ZodString;
|
|
17667
|
-
perUnitCostBasis: z.
|
|
17668
|
-
|
|
17771
|
+
perUnitCostBasis: z.ZodOptional<z.ZodString>;
|
|
17772
|
+
resolvedCostBasis: z.ZodOptional<z.ZodObject<{
|
|
17773
|
+
fiatCurrency: z.ZodString;
|
|
17774
|
+
rate: z.ZodString;
|
|
17775
|
+
costBasisId: z.ZodOptional<z.ZodString>;
|
|
17776
|
+
resolvedAt: z.ZodDate;
|
|
17777
|
+
}, z.core.$strip>>;
|
|
17778
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
17669
17779
|
availabilityPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
17670
17780
|
on_creation: "on_creation";
|
|
17671
17781
|
}>>>;
|
|
@@ -19165,7 +19275,7 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
19165
19275
|
costBasisId: z.ZodString;
|
|
19166
19276
|
}, z.core.$strip>, z.ZodObject<{
|
|
19167
19277
|
type: z.ZodLiteral<"manual">;
|
|
19168
|
-
fiatCurrency: z.ZodString
|
|
19278
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
19169
19279
|
rate: z.ZodString;
|
|
19170
19280
|
}, z.core.$strip>], "type">>;
|
|
19171
19281
|
invoiceAt: z.ZodDate;
|
|
@@ -19234,7 +19344,7 @@ export declare const createCustomerChargesBody: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
19234
19344
|
costBasisId: z.ZodString;
|
|
19235
19345
|
}, z.core.$strip>, z.ZodObject<{
|
|
19236
19346
|
type: z.ZodLiteral<"manual">;
|
|
19237
|
-
fiatCurrency: z.ZodString
|
|
19347
|
+
fiatCurrency: z.ZodOptional<z.ZodString>;
|
|
19238
19348
|
rate: z.ZodString;
|
|
19239
19349
|
}, z.core.$strip>], "type">>;
|
|
19240
19350
|
invoiceAt: z.ZodDate;
|
|
@@ -30498,15 +30608,15 @@ export declare const numericFieldFilterWire: z.ZodUnion<readonly [z.ZodNumber, z
|
|
|
30498
30608
|
gt: z.ZodOptional<z.ZodNumber>;
|
|
30499
30609
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
30500
30610
|
}, z.core.$strict>]>;
|
|
30501
|
-
export declare const chargeTypeWire: z.ZodEnum<{
|
|
30502
|
-
flat_fee: "flat_fee";
|
|
30503
|
-
usage_based: "usage_based";
|
|
30504
|
-
}>;
|
|
30505
30611
|
export declare const chargeCostBasisTypeWire: z.ZodEnum<{
|
|
30506
30612
|
dynamic: "dynamic";
|
|
30507
30613
|
manual: "manual";
|
|
30508
30614
|
pinned: "pinned";
|
|
30509
30615
|
}>;
|
|
30616
|
+
export declare const chargeTypeWire: z.ZodEnum<{
|
|
30617
|
+
flat_fee: "flat_fee";
|
|
30618
|
+
usage_based: "usage_based";
|
|
30619
|
+
}>;
|
|
30510
30620
|
export declare const invoiceTypeWire: z.ZodEnum<{
|
|
30511
30621
|
standard: "standard";
|
|
30512
30622
|
}>;
|
|
@@ -30566,6 +30676,10 @@ export declare const appCustomerDataStripeWire: z.ZodObject<{
|
|
|
30566
30676
|
export declare const appCustomerDataExternalInvoicingWire: z.ZodObject<{
|
|
30567
30677
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
30568
30678
|
}, z.core.$strict>;
|
|
30679
|
+
export declare const createChargeCostBasisDynamicWire: z.ZodObject<{
|
|
30680
|
+
type: z.ZodLiteral<"dynamic">;
|
|
30681
|
+
fiat_currency: z.ZodString;
|
|
30682
|
+
}, z.core.$strict>;
|
|
30569
30683
|
export declare const chargeCostBasisDynamicWire: z.ZodObject<{
|
|
30570
30684
|
type: z.ZodLiteral<"dynamic">;
|
|
30571
30685
|
fiat_currency: z.ZodString;
|
|
@@ -30592,6 +30706,16 @@ export declare const createCurrencyCustomRequestWire: z.ZodObject<{
|
|
|
30592
30706
|
thousand_separator: z.ZodString;
|
|
30593
30707
|
code: z.ZodString;
|
|
30594
30708
|
}, z.core.$strict>;
|
|
30709
|
+
export declare const createChargeCostBasisManualWire: z.ZodObject<{
|
|
30710
|
+
type: z.ZodLiteral<"manual">;
|
|
30711
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
30712
|
+
rate: z.ZodString;
|
|
30713
|
+
}, z.core.$strict>;
|
|
30714
|
+
export declare const chargeCostBasisManualWire: z.ZodObject<{
|
|
30715
|
+
type: z.ZodLiteral<"manual">;
|
|
30716
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
30717
|
+
rate: z.ZodString;
|
|
30718
|
+
}, z.core.$strict>;
|
|
30595
30719
|
export declare const priceFlatWire: z.ZodObject<{
|
|
30596
30720
|
type: z.ZodLiteral<"flat">;
|
|
30597
30721
|
amount: z.ZodString;
|
|
@@ -30608,11 +30732,6 @@ export declare const rateCardDiscountsWire: z.ZodObject<{
|
|
|
30608
30732
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
30609
30733
|
usage: z.ZodOptional<z.ZodString>;
|
|
30610
30734
|
}, z.core.$strict>;
|
|
30611
|
-
export declare const chargeCostBasisManualWire: z.ZodObject<{
|
|
30612
|
-
type: z.ZodLiteral<"manual">;
|
|
30613
|
-
fiat_currency: z.ZodString;
|
|
30614
|
-
rate: z.ZodString;
|
|
30615
|
-
}, z.core.$strict>;
|
|
30616
30735
|
export declare const totalsWire: z.ZodObject<{
|
|
30617
30736
|
amount: z.ZodString;
|
|
30618
30737
|
taxes_total: z.ZodString;
|
|
@@ -30804,9 +30923,19 @@ export declare const customerReferenceWire: z.ZodObject<{
|
|
|
30804
30923
|
export declare const profileReferenceWire: z.ZodObject<{
|
|
30805
30924
|
id: z.ZodString;
|
|
30806
30925
|
}, z.core.$strict>;
|
|
30926
|
+
export declare const createChargeCostBasisPinnedWire: z.ZodObject<{
|
|
30927
|
+
type: z.ZodLiteral<"pinned">;
|
|
30928
|
+
fiat_currency: z.ZodString;
|
|
30929
|
+
cost_basis_id: z.ZodString;
|
|
30930
|
+
}, z.core.$strict>;
|
|
30807
30931
|
export declare const createResourceReferenceWire: z.ZodObject<{
|
|
30808
30932
|
id: z.ZodString;
|
|
30809
30933
|
}, z.core.$strict>;
|
|
30934
|
+
export declare const chargeCostBasisPinnedWire: z.ZodObject<{
|
|
30935
|
+
type: z.ZodLiteral<"pinned">;
|
|
30936
|
+
fiat_currency: z.ZodString;
|
|
30937
|
+
cost_basis_id: z.ZodString;
|
|
30938
|
+
}, z.core.$strict>;
|
|
30810
30939
|
export declare const taxCodeReferenceWire: z.ZodObject<{
|
|
30811
30940
|
id: z.ZodString;
|
|
30812
30941
|
}, z.core.$strict>;
|
|
@@ -30834,11 +30963,6 @@ export declare const subscriptionReferenceWire: z.ZodObject<{
|
|
|
30834
30963
|
}, z.core.$strict>;
|
|
30835
30964
|
}, z.core.$strict>;
|
|
30836
30965
|
}, z.core.$strict>;
|
|
30837
|
-
export declare const chargeCostBasisPinnedWire: z.ZodObject<{
|
|
30838
|
-
type: z.ZodLiteral<"pinned">;
|
|
30839
|
-
fiat_currency: z.ZodString;
|
|
30840
|
-
cost_basis_id: z.ZodString;
|
|
30841
|
-
}, z.core.$strict>;
|
|
30842
30966
|
export declare const appReferenceWire: z.ZodObject<{
|
|
30843
30967
|
id: z.ZodString;
|
|
30844
30968
|
}, z.core.$strict>;
|
|
@@ -30897,16 +31021,16 @@ export declare const appStripeCreateCustomerPortalSessionResultWire: z.ZodObject
|
|
|
30897
31021
|
locale: z.ZodString;
|
|
30898
31022
|
url: z.ZodString;
|
|
30899
31023
|
}, z.core.$strict>;
|
|
30900
|
-
export declare const closedPeriodWire: z.ZodObject<{
|
|
30901
|
-
from: z.ZodString;
|
|
30902
|
-
to: z.ZodString;
|
|
30903
|
-
}, z.core.$strict>;
|
|
30904
31024
|
export declare const chargeResolvedCostBasisWire: z.ZodObject<{
|
|
30905
31025
|
fiat_currency: z.ZodString;
|
|
30906
31026
|
rate: z.ZodString;
|
|
30907
31027
|
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
30908
31028
|
resolved_at: z.ZodString;
|
|
30909
31029
|
}, z.core.$strict>;
|
|
31030
|
+
export declare const closedPeriodWire: z.ZodObject<{
|
|
31031
|
+
from: z.ZodString;
|
|
31032
|
+
to: z.ZodString;
|
|
31033
|
+
}, z.core.$strict>;
|
|
30910
31034
|
export declare const subscriptionAddonTimelineSegmentWire: z.ZodObject<{
|
|
30911
31035
|
active_from: z.ZodString;
|
|
30912
31036
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -31313,13 +31437,6 @@ export declare const entitlementAccessResultWire: z.ZodObject<{
|
|
|
31313
31437
|
has_access: z.ZodBoolean;
|
|
31314
31438
|
config: z.ZodOptional<z.ZodString>;
|
|
31315
31439
|
}, z.core.$strict>;
|
|
31316
|
-
export declare const createCreditGrantPurchaseWire: z.ZodObject<{
|
|
31317
|
-
currency: z.ZodString;
|
|
31318
|
-
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
31319
|
-
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
31320
|
-
on_creation: "on_creation";
|
|
31321
|
-
}>>;
|
|
31322
|
-
}, z.core.$strict>;
|
|
31323
31440
|
export declare const rateCardMeteredEntitlementWire: z.ZodObject<{
|
|
31324
31441
|
type: z.ZodLiteral<"metered">;
|
|
31325
31442
|
is_soft_limit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -31342,19 +31459,6 @@ export declare const recurringPeriodWire: z.ZodObject<{
|
|
|
31342
31459
|
anchor: z.ZodString;
|
|
31343
31460
|
interval: z.ZodString;
|
|
31344
31461
|
}, z.core.$strict>;
|
|
31345
|
-
export declare const creditGrantPurchaseWire: z.ZodObject<{
|
|
31346
|
-
currency: z.ZodString;
|
|
31347
|
-
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
31348
|
-
amount: z.ZodString;
|
|
31349
|
-
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
31350
|
-
on_creation: "on_creation";
|
|
31351
|
-
}>>;
|
|
31352
|
-
settlement_status: z.ZodOptional<z.ZodEnum<{
|
|
31353
|
-
authorized: "authorized";
|
|
31354
|
-
pending: "pending";
|
|
31355
|
-
settled: "settled";
|
|
31356
|
-
}>>;
|
|
31357
|
-
}, z.core.$strict>;
|
|
31358
31462
|
export declare const updateCreditGrantExternalSettlementRequestWire: z.ZodObject<{
|
|
31359
31463
|
status: z.ZodEnum<{
|
|
31360
31464
|
authorized: "authorized";
|
|
@@ -32102,6 +32206,18 @@ export declare const listPlanAddonsParamsFilterWire: z.ZodObject<{
|
|
|
32102
32206
|
exists: z.ZodOptional<z.ZodBoolean>;
|
|
32103
32207
|
}, z.core.$strict>]>>;
|
|
32104
32208
|
}, z.core.$strict>;
|
|
32209
|
+
export declare const createChargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32210
|
+
type: z.ZodLiteral<"dynamic">;
|
|
32211
|
+
fiat_currency: z.ZodString;
|
|
32212
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32213
|
+
type: z.ZodLiteral<"pinned">;
|
|
32214
|
+
fiat_currency: z.ZodString;
|
|
32215
|
+
cost_basis_id: z.ZodString;
|
|
32216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32217
|
+
type: z.ZodLiteral<"manual">;
|
|
32218
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
32219
|
+
rate: z.ZodString;
|
|
32220
|
+
}, z.core.$strict>], "type">;
|
|
32105
32221
|
export declare const createCreditGrantTaxConfigWire: z.ZodObject<{
|
|
32106
32222
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
32107
32223
|
exclusive: "exclusive";
|
|
@@ -32111,6 +32227,18 @@ export declare const createCreditGrantTaxConfigWire: z.ZodObject<{
|
|
|
32111
32227
|
id: z.ZodString;
|
|
32112
32228
|
}, z.core.$strict>>;
|
|
32113
32229
|
}, z.core.$strict>;
|
|
32230
|
+
export declare const chargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32231
|
+
type: z.ZodLiteral<"dynamic">;
|
|
32232
|
+
fiat_currency: z.ZodString;
|
|
32233
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32234
|
+
type: z.ZodLiteral<"pinned">;
|
|
32235
|
+
fiat_currency: z.ZodString;
|
|
32236
|
+
cost_basis_id: z.ZodString;
|
|
32237
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32238
|
+
type: z.ZodLiteral<"manual">;
|
|
32239
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
32240
|
+
rate: z.ZodString;
|
|
32241
|
+
}, z.core.$strict>], "type">;
|
|
32114
32242
|
export declare const creditGrantTaxConfigWire: z.ZodObject<{
|
|
32115
32243
|
behavior: z.ZodOptional<z.ZodEnum<{
|
|
32116
32244
|
exclusive: "exclusive";
|
|
@@ -32163,18 +32291,6 @@ export declare const updateOrganizationDefaultTaxCodesRequestWire: z.ZodObject<{
|
|
|
32163
32291
|
id: z.ZodString;
|
|
32164
32292
|
}, z.core.$strict>>;
|
|
32165
32293
|
}, z.core.$strict>;
|
|
32166
|
-
export declare const chargeCostBasisWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32167
|
-
type: z.ZodLiteral<"dynamic">;
|
|
32168
|
-
fiat_currency: z.ZodString;
|
|
32169
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
32170
|
-
type: z.ZodLiteral<"pinned">;
|
|
32171
|
-
fiat_currency: z.ZodString;
|
|
32172
|
-
cost_basis_id: z.ZodString;
|
|
32173
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
32174
|
-
type: z.ZodLiteral<"manual">;
|
|
32175
|
-
fiat_currency: z.ZodString;
|
|
32176
|
-
rate: z.ZodString;
|
|
32177
|
-
}, z.core.$strict>], "type">;
|
|
32178
32294
|
export declare const invoiceWorkflowAppsReferencesWire: z.ZodObject<{
|
|
32179
32295
|
tax: z.ZodObject<{
|
|
32180
32296
|
id: z.ZodString;
|
|
@@ -33399,118 +33515,43 @@ export declare const pricePagePaginatedResponseWire: z.ZodObject<{
|
|
|
33399
33515
|
}, z.core.$strict>;
|
|
33400
33516
|
}, z.core.$strict>;
|
|
33401
33517
|
}, z.core.$strict>;
|
|
33402
|
-
export declare const
|
|
33403
|
-
|
|
33404
|
-
|
|
33405
|
-
|
|
33406
|
-
|
|
33407
|
-
|
|
33408
|
-
|
|
33409
|
-
|
|
33410
|
-
|
|
33411
|
-
|
|
33412
|
-
|
|
33413
|
-
|
|
33414
|
-
|
|
33415
|
-
|
|
33416
|
-
|
|
33417
|
-
|
|
33418
|
-
|
|
33419
|
-
}
|
|
33420
|
-
tax_config: z.ZodOptional<z.ZodObject<{
|
|
33421
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
33422
|
-
exclusive: "exclusive";
|
|
33423
|
-
inclusive: "inclusive";
|
|
33424
|
-
}>>;
|
|
33425
|
-
tax_code: z.ZodOptional<z.ZodObject<{
|
|
33426
|
-
id: z.ZodString;
|
|
33427
|
-
}, z.core.$strict>>;
|
|
33428
|
-
}, z.core.$strict>>;
|
|
33429
|
-
filters: z.ZodOptional<z.ZodObject<{
|
|
33430
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33431
|
-
}, z.core.$strict>>;
|
|
33432
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
33433
|
-
effective_at: z.ZodOptional<z.ZodString>;
|
|
33434
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
33435
|
-
key: z.ZodOptional<z.ZodString>;
|
|
33518
|
+
export declare const createCreditGrantPurchaseWire: z.ZodObject<{
|
|
33519
|
+
currency: z.ZodString;
|
|
33520
|
+
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
33521
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33522
|
+
type: z.ZodLiteral<"dynamic">;
|
|
33523
|
+
fiat_currency: z.ZodString;
|
|
33524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33525
|
+
type: z.ZodLiteral<"pinned">;
|
|
33526
|
+
fiat_currency: z.ZodString;
|
|
33527
|
+
cost_basis_id: z.ZodString;
|
|
33528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33529
|
+
type: z.ZodLiteral<"manual">;
|
|
33530
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
33531
|
+
rate: z.ZodString;
|
|
33532
|
+
}, z.core.$strict>], "type">>;
|
|
33533
|
+
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
33534
|
+
on_creation: "on_creation";
|
|
33535
|
+
}>>;
|
|
33436
33536
|
}, z.core.$strict>;
|
|
33437
|
-
export declare const
|
|
33438
|
-
|
|
33439
|
-
|
|
33440
|
-
|
|
33441
|
-
|
|
33442
|
-
|
|
33443
|
-
|
|
33444
|
-
|
|
33445
|
-
funding_method: z.ZodEnum<{
|
|
33446
|
-
external: "external";
|
|
33447
|
-
invoice: "invoice";
|
|
33448
|
-
none: "none";
|
|
33449
|
-
}>;
|
|
33450
|
-
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
33451
|
-
amount: z.ZodString;
|
|
33452
|
-
purchase: z.ZodOptional<z.ZodObject<{
|
|
33453
|
-
currency: z.ZodString;
|
|
33454
|
-
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
33455
|
-
amount: z.ZodString;
|
|
33456
|
-
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
33457
|
-
on_creation: "on_creation";
|
|
33458
|
-
}>>;
|
|
33459
|
-
settlement_status: z.ZodOptional<z.ZodEnum<{
|
|
33460
|
-
authorized: "authorized";
|
|
33461
|
-
pending: "pending";
|
|
33462
|
-
settled: "settled";
|
|
33463
|
-
}>>;
|
|
33464
|
-
}, z.core.$strict>>;
|
|
33465
|
-
tax_config: z.ZodOptional<z.ZodObject<{
|
|
33466
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
33467
|
-
exclusive: "exclusive";
|
|
33468
|
-
inclusive: "inclusive";
|
|
33469
|
-
}>>;
|
|
33470
|
-
tax_code: z.ZodOptional<z.ZodObject<{
|
|
33471
|
-
id: z.ZodString;
|
|
33472
|
-
}, z.core.$strict>>;
|
|
33473
|
-
}, z.core.$strict>>;
|
|
33474
|
-
invoice: z.ZodOptional<z.ZodObject<{
|
|
33475
|
-
id: z.ZodOptional<z.ZodString>;
|
|
33476
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
33477
|
-
id: z.ZodString;
|
|
33478
|
-
}, z.core.$strict>>;
|
|
33479
|
-
}, z.core.$strict>>;
|
|
33480
|
-
filters: z.ZodOptional<z.ZodObject<{
|
|
33481
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33537
|
+
export declare const creditGrantPurchaseWire: z.ZodObject<{
|
|
33538
|
+
currency: z.ZodString;
|
|
33539
|
+
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
33540
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
33541
|
+
fiat_currency: z.ZodString;
|
|
33542
|
+
rate: z.ZodString;
|
|
33543
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
33544
|
+
resolved_at: z.ZodString;
|
|
33482
33545
|
}, z.core.$strict>>;
|
|
33483
|
-
|
|
33484
|
-
|
|
33485
|
-
|
|
33486
|
-
|
|
33487
|
-
|
|
33488
|
-
|
|
33489
|
-
active: "active";
|
|
33490
|
-
expired: "expired";
|
|
33546
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
33547
|
+
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
33548
|
+
on_creation: "on_creation";
|
|
33549
|
+
}>>;
|
|
33550
|
+
settlement_status: z.ZodOptional<z.ZodEnum<{
|
|
33551
|
+
authorized: "authorized";
|
|
33491
33552
|
pending: "pending";
|
|
33492
|
-
|
|
33493
|
-
}
|
|
33494
|
-
}, z.core.$strict>;
|
|
33495
|
-
export declare const workflowTaxSettingsWire: z.ZodObject<{
|
|
33496
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
33497
|
-
enforced: z.ZodOptional<z.ZodBoolean>;
|
|
33498
|
-
default_tax_config: z.ZodOptional<z.ZodObject<{
|
|
33499
|
-
behavior: z.ZodOptional<z.ZodEnum<{
|
|
33500
|
-
exclusive: "exclusive";
|
|
33501
|
-
inclusive: "inclusive";
|
|
33502
|
-
}>>;
|
|
33503
|
-
stripe: z.ZodOptional<z.ZodObject<{
|
|
33504
|
-
code: z.ZodString;
|
|
33505
|
-
}, z.core.$strict>>;
|
|
33506
|
-
external_invoicing: z.ZodOptional<z.ZodObject<{
|
|
33507
|
-
code: z.ZodString;
|
|
33508
|
-
}, z.core.$strict>>;
|
|
33509
|
-
tax_code_id: z.ZodOptional<z.ZodString>;
|
|
33510
|
-
tax_code: z.ZodOptional<z.ZodObject<{
|
|
33511
|
-
id: z.ZodString;
|
|
33512
|
-
}, z.core.$strict>>;
|
|
33513
|
-
}, z.core.$strict>>;
|
|
33553
|
+
settled: "settled";
|
|
33554
|
+
}>>;
|
|
33514
33555
|
}, z.core.$strict>;
|
|
33515
33556
|
export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
33516
33557
|
name: z.ZodString;
|
|
@@ -33527,7 +33568,7 @@ export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
|
33527
33568
|
cost_basis_id: z.ZodString;
|
|
33528
33569
|
}, z.core.$strict>, z.ZodObject<{
|
|
33529
33570
|
type: z.ZodLiteral<"manual">;
|
|
33530
|
-
fiat_currency: z.ZodString
|
|
33571
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
33531
33572
|
rate: z.ZodString;
|
|
33532
33573
|
}, z.core.$strict>], "type">>;
|
|
33533
33574
|
invoice_at: z.ZodString;
|
|
@@ -33582,6 +33623,26 @@ export declare const createChargeFlatFeeRequestWire: z.ZodObject<{
|
|
|
33582
33623
|
to: z.ZodString;
|
|
33583
33624
|
}, z.core.$strict>>;
|
|
33584
33625
|
}, z.core.$strict>;
|
|
33626
|
+
export declare const workflowTaxSettingsWire: z.ZodObject<{
|
|
33627
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
33628
|
+
enforced: z.ZodOptional<z.ZodBoolean>;
|
|
33629
|
+
default_tax_config: z.ZodOptional<z.ZodObject<{
|
|
33630
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
33631
|
+
exclusive: "exclusive";
|
|
33632
|
+
inclusive: "inclusive";
|
|
33633
|
+
}>>;
|
|
33634
|
+
stripe: z.ZodOptional<z.ZodObject<{
|
|
33635
|
+
code: z.ZodString;
|
|
33636
|
+
}, z.core.$strict>>;
|
|
33637
|
+
external_invoicing: z.ZodOptional<z.ZodObject<{
|
|
33638
|
+
code: z.ZodString;
|
|
33639
|
+
}, z.core.$strict>>;
|
|
33640
|
+
tax_code_id: z.ZodOptional<z.ZodString>;
|
|
33641
|
+
tax_code: z.ZodOptional<z.ZodObject<{
|
|
33642
|
+
id: z.ZodString;
|
|
33643
|
+
}, z.core.$strict>>;
|
|
33644
|
+
}, z.core.$strict>>;
|
|
33645
|
+
}, z.core.$strict>;
|
|
33585
33646
|
export declare const planAddonPagePaginatedResponseWire: z.ZodObject<{
|
|
33586
33647
|
data: z.ZodArray<z.ZodObject<{
|
|
33587
33648
|
id: z.ZodString;
|
|
@@ -34799,72 +34860,116 @@ export declare const updatePriceWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
34799
34860
|
}, z.core.$strict>>;
|
|
34800
34861
|
}, z.core.$strict>>;
|
|
34801
34862
|
}, z.core.$strict>], "type">;
|
|
34802
|
-
export declare const
|
|
34803
|
-
|
|
34804
|
-
|
|
34805
|
-
|
|
34806
|
-
|
|
34807
|
-
|
|
34808
|
-
|
|
34809
|
-
|
|
34810
|
-
|
|
34811
|
-
|
|
34812
|
-
|
|
34813
|
-
|
|
34814
|
-
|
|
34815
|
-
|
|
34816
|
-
|
|
34817
|
-
|
|
34818
|
-
|
|
34819
|
-
|
|
34820
|
-
|
|
34821
|
-
|
|
34822
|
-
|
|
34823
|
-
|
|
34824
|
-
|
|
34825
|
-
|
|
34826
|
-
|
|
34827
|
-
|
|
34828
|
-
|
|
34829
|
-
|
|
34863
|
+
export declare const createCreditGrantRequestWire: z.ZodObject<{
|
|
34864
|
+
name: z.ZodString;
|
|
34865
|
+
description: z.ZodOptional<z.ZodString>;
|
|
34866
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34867
|
+
funding_method: z.ZodEnum<{
|
|
34868
|
+
external: "external";
|
|
34869
|
+
invoice: "invoice";
|
|
34870
|
+
none: "none";
|
|
34871
|
+
}>;
|
|
34872
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
34873
|
+
amount: z.ZodString;
|
|
34874
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
34875
|
+
currency: z.ZodString;
|
|
34876
|
+
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
34877
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34878
|
+
type: z.ZodLiteral<"dynamic">;
|
|
34879
|
+
fiat_currency: z.ZodString;
|
|
34880
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34881
|
+
type: z.ZodLiteral<"pinned">;
|
|
34882
|
+
fiat_currency: z.ZodString;
|
|
34883
|
+
cost_basis_id: z.ZodString;
|
|
34884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34885
|
+
type: z.ZodLiteral<"manual">;
|
|
34886
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
34887
|
+
rate: z.ZodString;
|
|
34888
|
+
}, z.core.$strict>], "type">>;
|
|
34889
|
+
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
34890
|
+
on_creation: "on_creation";
|
|
34891
|
+
}>>;
|
|
34892
|
+
}, z.core.$strict>>;
|
|
34893
|
+
tax_config: z.ZodOptional<z.ZodObject<{
|
|
34894
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
34895
|
+
exclusive: "exclusive";
|
|
34896
|
+
inclusive: "inclusive";
|
|
34897
|
+
}>>;
|
|
34898
|
+
tax_code: z.ZodOptional<z.ZodObject<{
|
|
34899
|
+
id: z.ZodString;
|
|
34830
34900
|
}, z.core.$strict>>;
|
|
34831
|
-
|
|
34832
|
-
|
|
34833
|
-
|
|
34834
|
-
|
|
34835
|
-
|
|
34836
|
-
|
|
34837
|
-
|
|
34838
|
-
|
|
34901
|
+
}, z.core.$strict>>;
|
|
34902
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
34903
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34904
|
+
}, z.core.$strict>>;
|
|
34905
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
34906
|
+
effective_at: z.ZodOptional<z.ZodString>;
|
|
34907
|
+
expires_after: z.ZodOptional<z.ZodString>;
|
|
34908
|
+
key: z.ZodOptional<z.ZodString>;
|
|
34909
|
+
}, z.core.$strict>;
|
|
34910
|
+
export declare const creditGrantWire: z.ZodObject<{
|
|
34911
|
+
id: z.ZodString;
|
|
34912
|
+
name: z.ZodString;
|
|
34913
|
+
description: z.ZodOptional<z.ZodString>;
|
|
34914
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34915
|
+
created_at: z.ZodString;
|
|
34916
|
+
updated_at: z.ZodString;
|
|
34917
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
34918
|
+
funding_method: z.ZodEnum<{
|
|
34919
|
+
external: "external";
|
|
34920
|
+
invoice: "invoice";
|
|
34921
|
+
none: "none";
|
|
34922
|
+
}>;
|
|
34923
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
34924
|
+
amount: z.ZodString;
|
|
34925
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
34926
|
+
currency: z.ZodString;
|
|
34927
|
+
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
34928
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
34929
|
+
fiat_currency: z.ZodString;
|
|
34930
|
+
rate: z.ZodString;
|
|
34931
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
34932
|
+
resolved_at: z.ZodString;
|
|
34839
34933
|
}, z.core.$strict>>;
|
|
34840
|
-
|
|
34841
|
-
|
|
34842
|
-
|
|
34843
|
-
|
|
34844
|
-
|
|
34934
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
34935
|
+
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
34936
|
+
on_creation: "on_creation";
|
|
34937
|
+
}>>;
|
|
34938
|
+
settlement_status: z.ZodOptional<z.ZodEnum<{
|
|
34939
|
+
authorized: "authorized";
|
|
34940
|
+
pending: "pending";
|
|
34941
|
+
settled: "settled";
|
|
34942
|
+
}>>;
|
|
34943
|
+
}, z.core.$strict>>;
|
|
34944
|
+
tax_config: z.ZodOptional<z.ZodObject<{
|
|
34945
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
34946
|
+
exclusive: "exclusive";
|
|
34947
|
+
inclusive: "inclusive";
|
|
34948
|
+
}>>;
|
|
34949
|
+
tax_code: z.ZodOptional<z.ZodObject<{
|
|
34950
|
+
id: z.ZodString;
|
|
34845
34951
|
}, z.core.$strict>>;
|
|
34846
|
-
|
|
34847
|
-
|
|
34952
|
+
}, z.core.$strict>>;
|
|
34953
|
+
invoice: z.ZodOptional<z.ZodObject<{
|
|
34954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
34955
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
34956
|
+
id: z.ZodString;
|
|
34848
34957
|
}, z.core.$strict>>;
|
|
34849
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
34850
|
-
effective_at: z.ZodOptional<z.ZodString>;
|
|
34851
|
-
key: z.ZodOptional<z.ZodString>;
|
|
34852
|
-
expires_at: z.ZodOptional<z.ZodString>;
|
|
34853
|
-
voided_at: z.ZodOptional<z.ZodString>;
|
|
34854
|
-
status: z.ZodEnum<{
|
|
34855
|
-
active: "active";
|
|
34856
|
-
expired: "expired";
|
|
34857
|
-
pending: "pending";
|
|
34858
|
-
voided: "voided";
|
|
34859
|
-
}>;
|
|
34860
34958
|
}, z.core.$strict>>;
|
|
34861
|
-
|
|
34862
|
-
|
|
34863
|
-
|
|
34864
|
-
|
|
34865
|
-
|
|
34866
|
-
|
|
34867
|
-
|
|
34959
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
34960
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34961
|
+
}, z.core.$strict>>;
|
|
34962
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
34963
|
+
effective_at: z.ZodOptional<z.ZodString>;
|
|
34964
|
+
key: z.ZodOptional<z.ZodString>;
|
|
34965
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
34966
|
+
voided_at: z.ZodOptional<z.ZodString>;
|
|
34967
|
+
status: z.ZodEnum<{
|
|
34968
|
+
active: "active";
|
|
34969
|
+
expired: "expired";
|
|
34970
|
+
pending: "pending";
|
|
34971
|
+
voided: "voided";
|
|
34972
|
+
}>;
|
|
34868
34973
|
}, z.core.$strict>;
|
|
34869
34974
|
export declare const currencyPagePaginatedResponseWire: z.ZodObject<{
|
|
34870
34975
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -35837,7 +35942,7 @@ export declare const createChargeUsageBasedRequestWire: z.ZodObject<{
|
|
|
35837
35942
|
cost_basis_id: z.ZodString;
|
|
35838
35943
|
}, z.core.$strict>, z.ZodObject<{
|
|
35839
35944
|
type: z.ZodLiteral<"manual">;
|
|
35840
|
-
fiat_currency: z.ZodString
|
|
35945
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
35841
35946
|
rate: z.ZodString;
|
|
35842
35947
|
}, z.core.$strict>], "type">>;
|
|
35843
35948
|
invoice_at: z.ZodString;
|
|
@@ -36131,6 +36236,79 @@ export declare const updateInvoiceLineRateCardWire: z.ZodObject<{
|
|
|
36131
36236
|
usage: z.ZodOptional<z.ZodString>;
|
|
36132
36237
|
}, z.core.$strict>>;
|
|
36133
36238
|
}, z.core.$strict>;
|
|
36239
|
+
export declare const creditGrantPagePaginatedResponseWire: z.ZodObject<{
|
|
36240
|
+
data: z.ZodArray<z.ZodObject<{
|
|
36241
|
+
id: z.ZodString;
|
|
36242
|
+
name: z.ZodString;
|
|
36243
|
+
description: z.ZodOptional<z.ZodString>;
|
|
36244
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36245
|
+
created_at: z.ZodString;
|
|
36246
|
+
updated_at: z.ZodString;
|
|
36247
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
36248
|
+
funding_method: z.ZodEnum<{
|
|
36249
|
+
external: "external";
|
|
36250
|
+
invoice: "invoice";
|
|
36251
|
+
none: "none";
|
|
36252
|
+
}>;
|
|
36253
|
+
currency: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
36254
|
+
amount: z.ZodString;
|
|
36255
|
+
purchase: z.ZodOptional<z.ZodObject<{
|
|
36256
|
+
currency: z.ZodString;
|
|
36257
|
+
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
36258
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
36259
|
+
fiat_currency: z.ZodString;
|
|
36260
|
+
rate: z.ZodString;
|
|
36261
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
36262
|
+
resolved_at: z.ZodString;
|
|
36263
|
+
}, z.core.$strict>>;
|
|
36264
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
36265
|
+
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
36266
|
+
on_creation: "on_creation";
|
|
36267
|
+
}>>;
|
|
36268
|
+
settlement_status: z.ZodOptional<z.ZodEnum<{
|
|
36269
|
+
authorized: "authorized";
|
|
36270
|
+
pending: "pending";
|
|
36271
|
+
settled: "settled";
|
|
36272
|
+
}>>;
|
|
36273
|
+
}, z.core.$strict>>;
|
|
36274
|
+
tax_config: z.ZodOptional<z.ZodObject<{
|
|
36275
|
+
behavior: z.ZodOptional<z.ZodEnum<{
|
|
36276
|
+
exclusive: "exclusive";
|
|
36277
|
+
inclusive: "inclusive";
|
|
36278
|
+
}>>;
|
|
36279
|
+
tax_code: z.ZodOptional<z.ZodObject<{
|
|
36280
|
+
id: z.ZodString;
|
|
36281
|
+
}, z.core.$strict>>;
|
|
36282
|
+
}, z.core.$strict>>;
|
|
36283
|
+
invoice: z.ZodOptional<z.ZodObject<{
|
|
36284
|
+
id: z.ZodOptional<z.ZodString>;
|
|
36285
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
36286
|
+
id: z.ZodString;
|
|
36287
|
+
}, z.core.$strict>>;
|
|
36288
|
+
}, z.core.$strict>>;
|
|
36289
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
36290
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36291
|
+
}, z.core.$strict>>;
|
|
36292
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
36293
|
+
effective_at: z.ZodOptional<z.ZodString>;
|
|
36294
|
+
key: z.ZodOptional<z.ZodString>;
|
|
36295
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
36296
|
+
voided_at: z.ZodOptional<z.ZodString>;
|
|
36297
|
+
status: z.ZodEnum<{
|
|
36298
|
+
active: "active";
|
|
36299
|
+
expired: "expired";
|
|
36300
|
+
pending: "pending";
|
|
36301
|
+
voided: "voided";
|
|
36302
|
+
}>;
|
|
36303
|
+
}, z.core.$strict>>;
|
|
36304
|
+
meta: z.ZodObject<{
|
|
36305
|
+
page: z.ZodObject<{
|
|
36306
|
+
number: z.ZodNumber;
|
|
36307
|
+
size: z.ZodNumber;
|
|
36308
|
+
total: z.ZodNumber;
|
|
36309
|
+
}, z.core.$strict>;
|
|
36310
|
+
}, z.core.$strict>;
|
|
36311
|
+
}, z.core.$strict>;
|
|
36134
36312
|
export declare const workflowWire: z.ZodObject<{
|
|
36135
36313
|
collection: z.ZodOptional<z.ZodObject<{
|
|
36136
36314
|
alignment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -37733,7 +37911,7 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37733
37911
|
cost_basis_id: z.ZodString;
|
|
37734
37912
|
}, z.core.$strict>, z.ZodObject<{
|
|
37735
37913
|
type: z.ZodLiteral<"manual">;
|
|
37736
|
-
fiat_currency: z.ZodString
|
|
37914
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
37737
37915
|
rate: z.ZodString;
|
|
37738
37916
|
}, z.core.$strict>], "type">>;
|
|
37739
37917
|
invoice_at: z.ZodString;
|
|
@@ -37802,7 +37980,7 @@ export declare const createChargeRequestWire: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37802
37980
|
cost_basis_id: z.ZodString;
|
|
37803
37981
|
}, z.core.$strict>, z.ZodObject<{
|
|
37804
37982
|
type: z.ZodLiteral<"manual">;
|
|
37805
|
-
fiat_currency: z.ZodString
|
|
37983
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
37806
37984
|
rate: z.ZodString;
|
|
37807
37985
|
}, z.core.$strict>], "type">>;
|
|
37808
37986
|
invoice_at: z.ZodString;
|
|
@@ -47251,6 +47429,18 @@ export declare const createCreditGrantBodyWire: z.ZodObject<{
|
|
|
47251
47429
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47252
47430
|
currency: z.ZodString;
|
|
47253
47431
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47432
|
+
cost_basis: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47433
|
+
type: z.ZodLiteral<"dynamic">;
|
|
47434
|
+
fiat_currency: z.ZodString;
|
|
47435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47436
|
+
type: z.ZodLiteral<"pinned">;
|
|
47437
|
+
fiat_currency: z.ZodString;
|
|
47438
|
+
cost_basis_id: z.ZodString;
|
|
47439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47440
|
+
type: z.ZodLiteral<"manual">;
|
|
47441
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
47442
|
+
rate: z.ZodString;
|
|
47443
|
+
}, z.core.$strict>], "type">>;
|
|
47254
47444
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47255
47445
|
on_creation: "on_creation";
|
|
47256
47446
|
}>>;
|
|
@@ -47290,7 +47480,13 @@ export declare const createCreditGrantResponseWire: z.ZodObject<{
|
|
|
47290
47480
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47291
47481
|
currency: z.ZodString;
|
|
47292
47482
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47293
|
-
|
|
47483
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47484
|
+
fiat_currency: z.ZodString;
|
|
47485
|
+
rate: z.ZodString;
|
|
47486
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47487
|
+
resolved_at: z.ZodString;
|
|
47488
|
+
}, z.core.$strict>>;
|
|
47489
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
47294
47490
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47295
47491
|
on_creation: "on_creation";
|
|
47296
47492
|
}>>;
|
|
@@ -47352,7 +47548,13 @@ export declare const getCreditGrantResponseWire: z.ZodObject<{
|
|
|
47352
47548
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47353
47549
|
currency: z.ZodString;
|
|
47354
47550
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47355
|
-
|
|
47551
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47552
|
+
fiat_currency: z.ZodString;
|
|
47553
|
+
rate: z.ZodString;
|
|
47554
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47555
|
+
resolved_at: z.ZodString;
|
|
47556
|
+
}, z.core.$strict>>;
|
|
47557
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
47356
47558
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47357
47559
|
on_creation: "on_creation";
|
|
47358
47560
|
}>>;
|
|
@@ -47441,7 +47643,13 @@ export declare const listCreditGrantsResponseWire: z.ZodObject<{
|
|
|
47441
47643
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47442
47644
|
currency: z.ZodString;
|
|
47443
47645
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47444
|
-
|
|
47646
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47647
|
+
fiat_currency: z.ZodString;
|
|
47648
|
+
rate: z.ZodString;
|
|
47649
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47650
|
+
resolved_at: z.ZodString;
|
|
47651
|
+
}, z.core.$strict>>;
|
|
47652
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
47445
47653
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47446
47654
|
on_creation: "on_creation";
|
|
47447
47655
|
}>>;
|
|
@@ -47565,7 +47773,13 @@ export declare const voidCreditGrantResponseWire: z.ZodObject<{
|
|
|
47565
47773
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47566
47774
|
currency: z.ZodString;
|
|
47567
47775
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47568
|
-
|
|
47776
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47777
|
+
fiat_currency: z.ZodString;
|
|
47778
|
+
rate: z.ZodString;
|
|
47779
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47780
|
+
resolved_at: z.ZodString;
|
|
47781
|
+
}, z.core.$strict>>;
|
|
47782
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
47569
47783
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47570
47784
|
on_creation: "on_creation";
|
|
47571
47785
|
}>>;
|
|
@@ -47634,7 +47848,13 @@ export declare const updateCreditGrantExternalSettlementResponseWire: z.ZodObjec
|
|
|
47634
47848
|
purchase: z.ZodOptional<z.ZodObject<{
|
|
47635
47849
|
currency: z.ZodString;
|
|
47636
47850
|
per_unit_cost_basis: z.ZodOptional<z.ZodString>;
|
|
47637
|
-
|
|
47851
|
+
resolved_cost_basis: z.ZodOptional<z.ZodObject<{
|
|
47852
|
+
fiat_currency: z.ZodString;
|
|
47853
|
+
rate: z.ZodString;
|
|
47854
|
+
cost_basis_id: z.ZodOptional<z.ZodString>;
|
|
47855
|
+
resolved_at: z.ZodString;
|
|
47856
|
+
}, z.core.$strict>>;
|
|
47857
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
47638
47858
|
availability_policy: z.ZodOptional<z.ZodEnum<{
|
|
47639
47859
|
on_creation: "on_creation";
|
|
47640
47860
|
}>>;
|
|
@@ -49131,7 +49351,7 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
|
|
|
49131
49351
|
cost_basis_id: z.ZodString;
|
|
49132
49352
|
}, z.core.$strict>, z.ZodObject<{
|
|
49133
49353
|
type: z.ZodLiteral<"manual">;
|
|
49134
|
-
fiat_currency: z.ZodString
|
|
49354
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
49135
49355
|
rate: z.ZodString;
|
|
49136
49356
|
}, z.core.$strict>], "type">>;
|
|
49137
49357
|
invoice_at: z.ZodString;
|
|
@@ -49200,7 +49420,7 @@ export declare const createCustomerChargesBodyWire: z.ZodDiscriminatedUnion<[z.Z
|
|
|
49200
49420
|
cost_basis_id: z.ZodString;
|
|
49201
49421
|
}, z.core.$strict>, z.ZodObject<{
|
|
49202
49422
|
type: z.ZodLiteral<"manual">;
|
|
49203
|
-
fiat_currency: z.ZodString
|
|
49423
|
+
fiat_currency: z.ZodOptional<z.ZodString>;
|
|
49204
49424
|
rate: z.ZodString;
|
|
49205
49425
|
}, z.core.$strict>], "type">>;
|
|
49206
49426
|
invoice_at: z.ZodString;
|