@peable.to/contracts 3.0.0 → 4.0.0
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/cjs/resources/billingEngine/public.js +22 -3
- package/dist/cjs/resources/checkout/checkoutSessions.js +34 -9
- package/dist/cjs/resources/checkout/merchants.js +10 -23
- package/dist/cjs/resources/checkout/paymentMethodConfigurations.js +56 -10
- package/dist/cjs/resources/connect/balance.js +5 -0
- package/dist/cjs/resources/connect/connectedAccounts.js +11 -12
- package/dist/cjs/resources/connect/onboarding.js +13 -24
- package/dist/cjs/resources/events/webhookDeliveries.js +1 -1
- package/dist/cjs/resources/events/webhookEndpoints.js +1 -1
- package/dist/cjs/resources/payments/disputes.js +16 -0
- package/dist/cjs/resources/payments/paymentIntents.js +39 -2
- package/dist/cjs/resources/payments/refunds.js +46 -11
- package/dist/cjs/vocabulary/checkout.js +18 -1
- package/dist/cjs/vocabulary/errors.js +5 -3
- package/dist/cjs/vocabulary/events.js +5 -0
- package/dist/cjs/vocabulary/paymentMethodConfigurations.js +24 -4
- package/dist/esm/resources/billingEngine/public.js +22 -3
- package/dist/esm/resources/checkout/checkoutSessions.js +35 -10
- package/dist/esm/resources/checkout/merchants.js +10 -23
- package/dist/esm/resources/checkout/paymentMethodConfigurations.js +57 -11
- package/dist/esm/resources/connect/balance.js +5 -0
- package/dist/esm/resources/connect/connectedAccounts.js +11 -12
- package/dist/esm/resources/connect/onboarding.js +12 -23
- package/dist/esm/resources/events/webhookDeliveries.js +1 -1
- package/dist/esm/resources/events/webhookEndpoints.js +1 -1
- package/dist/esm/resources/payments/disputes.js +16 -0
- package/dist/esm/resources/payments/paymentIntents.js +39 -2
- package/dist/esm/resources/payments/refunds.js +46 -11
- package/dist/esm/vocabulary/checkout.js +17 -0
- package/dist/esm/vocabulary/errors.js +5 -3
- package/dist/esm/vocabulary/events.js +5 -0
- package/dist/esm/vocabulary/paymentMethodConfigurations.js +25 -5
- package/dist/types/resources/billingEngine/index.d.ts +16 -2
- package/dist/types/resources/billingEngine/public.d.ts +32 -3
- package/dist/types/resources/checkout/checkoutSessions.d.ts +96 -31
- package/dist/types/resources/checkout/index.d.ts +406 -41
- package/dist/types/resources/checkout/merchants.d.ts +17 -28
- package/dist/types/resources/checkout/paymentMethodConfigurations.d.ts +440 -8
- package/dist/types/resources/connect/balance.d.ts +103 -10
- package/dist/types/resources/connect/connectedAccounts.d.ts +4 -4
- package/dist/types/resources/connect/index.d.ts +105 -14
- package/dist/types/resources/connect/onboarding.d.ts +15 -15
- package/dist/types/resources/connect/payouts.d.ts +66 -4
- package/dist/types/resources/events/index.d.ts +5 -0
- package/dist/types/resources/events/webhookEndpoints.d.ts +7 -0
- package/dist/types/resources/payments/disputes.d.ts +35 -0
- package/dist/types/resources/payments/index.d.ts +382 -0
- package/dist/types/resources/payments/paymentIntents.d.ts +380 -0
- package/dist/types/resources/payments/refunds.d.ts +56 -5
- package/dist/types/resources/payments/testHelpers.d.ts +31 -0
- package/dist/types/resources/tax/deadlines.d.ts +3 -3
- package/dist/types/resources/tax/index.d.ts +2 -2
- package/dist/types/resources/tax/registrations.d.ts +2 -2
- package/dist/types/vocabulary/checkout.d.ts +13 -0
- package/dist/types/vocabulary/errors.d.ts +5 -3
- package/dist/types/vocabulary/events.d.ts +5 -1
- package/dist/types/vocabulary/paymentMethodConfigurations.d.ts +21 -7
- package/package.json +1 -1
|
@@ -819,4 +819,39 @@ export declare const disputeRoutes: readonly [{
|
|
|
819
819
|
updated_at: z.ZodNumber;
|
|
820
820
|
}, z.core.$strict>;
|
|
821
821
|
readonly sdk: "disputes.close";
|
|
822
|
+
}, {
|
|
823
|
+
readonly operationId: "retrieveDisputeSettlement";
|
|
824
|
+
readonly method: "get";
|
|
825
|
+
readonly path: "/v1/disputes/{disputeId}/settlement";
|
|
826
|
+
readonly tag: "Disputes";
|
|
827
|
+
readonly summary: "Retrieve a dispute's settlement";
|
|
828
|
+
readonly description: "What the dispute WITHDREW from the settlement balance — `gross` the principal, `fee` the dispute fee, a negative `net` — in the settlement currency, read live from the provider. An inquiry moves no money: `unknown`, every figure `null`, never `0`. A reinstatement after a won dispute is not this figure.";
|
|
829
|
+
readonly auth: "service";
|
|
830
|
+
readonly scope: "payments:read";
|
|
831
|
+
readonly params: {
|
|
832
|
+
disputeId: string;
|
|
833
|
+
};
|
|
834
|
+
readonly query: z.ZodObject<{
|
|
835
|
+
expand: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodString>>>;
|
|
836
|
+
}, z.core.$strict>;
|
|
837
|
+
readonly response: z.ZodObject<{
|
|
838
|
+
object: z.ZodLiteral<"settlement">;
|
|
839
|
+
livemode: z.ZodBoolean;
|
|
840
|
+
payment_intent: z.ZodType<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">, z.core.$ZodTypeInternals<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">>>;
|
|
841
|
+
refund: z.ZodNullable<z.ZodType<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">, z.core.$ZodTypeInternals<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">>>>;
|
|
842
|
+
dispute: z.ZodNullable<z.ZodType<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">, z.core.$ZodTypeInternals<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">>>>;
|
|
843
|
+
status: z.ZodEnum<{
|
|
844
|
+
unknown: "unknown";
|
|
845
|
+
pending: "pending";
|
|
846
|
+
available: "available";
|
|
847
|
+
}>;
|
|
848
|
+
gross: z.ZodNullable<z.ZodString>;
|
|
849
|
+
fee: z.ZodNullable<z.ZodString>;
|
|
850
|
+
net: z.ZodNullable<z.ZodString>;
|
|
851
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
852
|
+
available_on: z.ZodNullable<z.ZodNumber>;
|
|
853
|
+
exchange_rate: z.ZodNullable<z.ZodNumber>;
|
|
854
|
+
}, z.core.$strict>;
|
|
855
|
+
readonly sdk: "disputes.settlement";
|
|
856
|
+
readonly expandable: "settlement";
|
|
822
857
|
}];
|
|
@@ -208,6 +208,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
208
208
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
209
209
|
confirmations: import("zod").ZodNumber;
|
|
210
210
|
required_confirmations: import("zod").ZodNumber;
|
|
211
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
212
|
+
currency: import("zod").ZodEnum<{
|
|
213
|
+
EUR: "EUR";
|
|
214
|
+
USD: "USD";
|
|
215
|
+
GBP: "GBP";
|
|
216
|
+
CHF: "CHF";
|
|
217
|
+
SEK: "SEK";
|
|
218
|
+
NOK: "NOK";
|
|
219
|
+
DKK: "DKK";
|
|
220
|
+
PLN: "PLN";
|
|
221
|
+
CZK: "CZK";
|
|
222
|
+
CAD: "CAD";
|
|
223
|
+
AUD: "AUD";
|
|
224
|
+
JPY: "JPY";
|
|
225
|
+
}>;
|
|
226
|
+
amount: import("zod").ZodString;
|
|
227
|
+
rate: import("zod").ZodString;
|
|
228
|
+
price: import("zod").ZodObject<{
|
|
229
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
230
|
+
usd_per_fair: import("zod").ZodString;
|
|
231
|
+
observed_at: import("zod").ZodNumber;
|
|
232
|
+
}, import("zod/v4/core").$strict>;
|
|
233
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
234
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
235
|
+
usd_per_eur: import("zod").ZodString;
|
|
236
|
+
currency_per_eur: import("zod").ZodString;
|
|
237
|
+
observed_at: import("zod").ZodNumber;
|
|
238
|
+
}, import("zod/v4/core").$strict>>;
|
|
239
|
+
quoted_at: import("zod").ZodNumber;
|
|
240
|
+
expires_at: import("zod").ZodNumber;
|
|
241
|
+
}, import("zod/v4/core").$strict>>;
|
|
211
242
|
}, import("zod/v4/core").$strict>>;
|
|
212
243
|
merchant_id: import("zod").ZodString;
|
|
213
244
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -390,6 +421,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
390
421
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
391
422
|
confirmations: import("zod").ZodNumber;
|
|
392
423
|
required_confirmations: import("zod").ZodNumber;
|
|
424
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
425
|
+
currency: import("zod").ZodEnum<{
|
|
426
|
+
EUR: "EUR";
|
|
427
|
+
USD: "USD";
|
|
428
|
+
GBP: "GBP";
|
|
429
|
+
CHF: "CHF";
|
|
430
|
+
SEK: "SEK";
|
|
431
|
+
NOK: "NOK";
|
|
432
|
+
DKK: "DKK";
|
|
433
|
+
PLN: "PLN";
|
|
434
|
+
CZK: "CZK";
|
|
435
|
+
CAD: "CAD";
|
|
436
|
+
AUD: "AUD";
|
|
437
|
+
JPY: "JPY";
|
|
438
|
+
}>;
|
|
439
|
+
amount: import("zod").ZodString;
|
|
440
|
+
rate: import("zod").ZodString;
|
|
441
|
+
price: import("zod").ZodObject<{
|
|
442
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
443
|
+
usd_per_fair: import("zod").ZodString;
|
|
444
|
+
observed_at: import("zod").ZodNumber;
|
|
445
|
+
}, import("zod/v4/core").$strict>;
|
|
446
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
447
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
448
|
+
usd_per_eur: import("zod").ZodString;
|
|
449
|
+
currency_per_eur: import("zod").ZodString;
|
|
450
|
+
observed_at: import("zod").ZodNumber;
|
|
451
|
+
}, import("zod/v4/core").$strict>>;
|
|
452
|
+
quoted_at: import("zod").ZodNumber;
|
|
453
|
+
expires_at: import("zod").ZodNumber;
|
|
454
|
+
}, import("zod/v4/core").$strict>>;
|
|
393
455
|
}, import("zod/v4/core").$strict>>;
|
|
394
456
|
merchant_id: import("zod").ZodString;
|
|
395
457
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -553,6 +615,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
553
615
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
554
616
|
confirmations: import("zod").ZodNumber;
|
|
555
617
|
required_confirmations: import("zod").ZodNumber;
|
|
618
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
619
|
+
currency: import("zod").ZodEnum<{
|
|
620
|
+
EUR: "EUR";
|
|
621
|
+
USD: "USD";
|
|
622
|
+
GBP: "GBP";
|
|
623
|
+
CHF: "CHF";
|
|
624
|
+
SEK: "SEK";
|
|
625
|
+
NOK: "NOK";
|
|
626
|
+
DKK: "DKK";
|
|
627
|
+
PLN: "PLN";
|
|
628
|
+
CZK: "CZK";
|
|
629
|
+
CAD: "CAD";
|
|
630
|
+
AUD: "AUD";
|
|
631
|
+
JPY: "JPY";
|
|
632
|
+
}>;
|
|
633
|
+
amount: import("zod").ZodString;
|
|
634
|
+
rate: import("zod").ZodString;
|
|
635
|
+
price: import("zod").ZodObject<{
|
|
636
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
637
|
+
usd_per_fair: import("zod").ZodString;
|
|
638
|
+
observed_at: import("zod").ZodNumber;
|
|
639
|
+
}, import("zod/v4/core").$strict>;
|
|
640
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
641
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
642
|
+
usd_per_eur: import("zod").ZodString;
|
|
643
|
+
currency_per_eur: import("zod").ZodString;
|
|
644
|
+
observed_at: import("zod").ZodNumber;
|
|
645
|
+
}, import("zod/v4/core").$strict>>;
|
|
646
|
+
quoted_at: import("zod").ZodNumber;
|
|
647
|
+
expires_at: import("zod").ZodNumber;
|
|
648
|
+
}, import("zod/v4/core").$strict>>;
|
|
556
649
|
}, import("zod/v4/core").$strict>>;
|
|
557
650
|
merchant_id: import("zod").ZodString;
|
|
558
651
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -730,6 +823,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
730
823
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
731
824
|
confirmations: import("zod").ZodNumber;
|
|
732
825
|
required_confirmations: import("zod").ZodNumber;
|
|
826
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
827
|
+
currency: import("zod").ZodEnum<{
|
|
828
|
+
EUR: "EUR";
|
|
829
|
+
USD: "USD";
|
|
830
|
+
GBP: "GBP";
|
|
831
|
+
CHF: "CHF";
|
|
832
|
+
SEK: "SEK";
|
|
833
|
+
NOK: "NOK";
|
|
834
|
+
DKK: "DKK";
|
|
835
|
+
PLN: "PLN";
|
|
836
|
+
CZK: "CZK";
|
|
837
|
+
CAD: "CAD";
|
|
838
|
+
AUD: "AUD";
|
|
839
|
+
JPY: "JPY";
|
|
840
|
+
}>;
|
|
841
|
+
amount: import("zod").ZodString;
|
|
842
|
+
rate: import("zod").ZodString;
|
|
843
|
+
price: import("zod").ZodObject<{
|
|
844
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
845
|
+
usd_per_fair: import("zod").ZodString;
|
|
846
|
+
observed_at: import("zod").ZodNumber;
|
|
847
|
+
}, import("zod/v4/core").$strict>;
|
|
848
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
849
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
850
|
+
usd_per_eur: import("zod").ZodString;
|
|
851
|
+
currency_per_eur: import("zod").ZodString;
|
|
852
|
+
observed_at: import("zod").ZodNumber;
|
|
853
|
+
}, import("zod/v4/core").$strict>>;
|
|
854
|
+
quoted_at: import("zod").ZodNumber;
|
|
855
|
+
expires_at: import("zod").ZodNumber;
|
|
856
|
+
}, import("zod/v4/core").$strict>>;
|
|
733
857
|
}, import("zod/v4/core").$strict>>;
|
|
734
858
|
merchant_id: import("zod").ZodString;
|
|
735
859
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -937,6 +1061,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
937
1061
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
938
1062
|
confirmations: import("zod").ZodNumber;
|
|
939
1063
|
required_confirmations: import("zod").ZodNumber;
|
|
1064
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1065
|
+
currency: import("zod").ZodEnum<{
|
|
1066
|
+
EUR: "EUR";
|
|
1067
|
+
USD: "USD";
|
|
1068
|
+
GBP: "GBP";
|
|
1069
|
+
CHF: "CHF";
|
|
1070
|
+
SEK: "SEK";
|
|
1071
|
+
NOK: "NOK";
|
|
1072
|
+
DKK: "DKK";
|
|
1073
|
+
PLN: "PLN";
|
|
1074
|
+
CZK: "CZK";
|
|
1075
|
+
CAD: "CAD";
|
|
1076
|
+
AUD: "AUD";
|
|
1077
|
+
JPY: "JPY";
|
|
1078
|
+
}>;
|
|
1079
|
+
amount: import("zod").ZodString;
|
|
1080
|
+
rate: import("zod").ZodString;
|
|
1081
|
+
price: import("zod").ZodObject<{
|
|
1082
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
1083
|
+
usd_per_fair: import("zod").ZodString;
|
|
1084
|
+
observed_at: import("zod").ZodNumber;
|
|
1085
|
+
}, import("zod/v4/core").$strict>;
|
|
1086
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1087
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
1088
|
+
usd_per_eur: import("zod").ZodString;
|
|
1089
|
+
currency_per_eur: import("zod").ZodString;
|
|
1090
|
+
observed_at: import("zod").ZodNumber;
|
|
1091
|
+
}, import("zod/v4/core").$strict>>;
|
|
1092
|
+
quoted_at: import("zod").ZodNumber;
|
|
1093
|
+
expires_at: import("zod").ZodNumber;
|
|
1094
|
+
}, import("zod/v4/core").$strict>>;
|
|
940
1095
|
}, import("zod/v4/core").$strict>>;
|
|
941
1096
|
merchant_id: import("zod").ZodString;
|
|
942
1097
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -1098,6 +1253,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1098
1253
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1099
1254
|
confirmations: import("zod").ZodNumber;
|
|
1100
1255
|
required_confirmations: import("zod").ZodNumber;
|
|
1256
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1257
|
+
currency: import("zod").ZodEnum<{
|
|
1258
|
+
EUR: "EUR";
|
|
1259
|
+
USD: "USD";
|
|
1260
|
+
GBP: "GBP";
|
|
1261
|
+
CHF: "CHF";
|
|
1262
|
+
SEK: "SEK";
|
|
1263
|
+
NOK: "NOK";
|
|
1264
|
+
DKK: "DKK";
|
|
1265
|
+
PLN: "PLN";
|
|
1266
|
+
CZK: "CZK";
|
|
1267
|
+
CAD: "CAD";
|
|
1268
|
+
AUD: "AUD";
|
|
1269
|
+
JPY: "JPY";
|
|
1270
|
+
}>;
|
|
1271
|
+
amount: import("zod").ZodString;
|
|
1272
|
+
rate: import("zod").ZodString;
|
|
1273
|
+
price: import("zod").ZodObject<{
|
|
1274
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
1275
|
+
usd_per_fair: import("zod").ZodString;
|
|
1276
|
+
observed_at: import("zod").ZodNumber;
|
|
1277
|
+
}, import("zod/v4/core").$strict>;
|
|
1278
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1279
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
1280
|
+
usd_per_eur: import("zod").ZodString;
|
|
1281
|
+
currency_per_eur: import("zod").ZodString;
|
|
1282
|
+
observed_at: import("zod").ZodNumber;
|
|
1283
|
+
}, import("zod/v4/core").$strict>>;
|
|
1284
|
+
quoted_at: import("zod").ZodNumber;
|
|
1285
|
+
expires_at: import("zod").ZodNumber;
|
|
1286
|
+
}, import("zod/v4/core").$strict>>;
|
|
1101
1287
|
}, import("zod/v4/core").$strict>>;
|
|
1102
1288
|
merchant_id: import("zod").ZodString;
|
|
1103
1289
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -1264,6 +1450,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1264
1450
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1265
1451
|
confirmations: import("zod").ZodNumber;
|
|
1266
1452
|
required_confirmations: import("zod").ZodNumber;
|
|
1453
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1454
|
+
currency: import("zod").ZodEnum<{
|
|
1455
|
+
EUR: "EUR";
|
|
1456
|
+
USD: "USD";
|
|
1457
|
+
GBP: "GBP";
|
|
1458
|
+
CHF: "CHF";
|
|
1459
|
+
SEK: "SEK";
|
|
1460
|
+
NOK: "NOK";
|
|
1461
|
+
DKK: "DKK";
|
|
1462
|
+
PLN: "PLN";
|
|
1463
|
+
CZK: "CZK";
|
|
1464
|
+
CAD: "CAD";
|
|
1465
|
+
AUD: "AUD";
|
|
1466
|
+
JPY: "JPY";
|
|
1467
|
+
}>;
|
|
1468
|
+
amount: import("zod").ZodString;
|
|
1469
|
+
rate: import("zod").ZodString;
|
|
1470
|
+
price: import("zod").ZodObject<{
|
|
1471
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
1472
|
+
usd_per_fair: import("zod").ZodString;
|
|
1473
|
+
observed_at: import("zod").ZodNumber;
|
|
1474
|
+
}, import("zod/v4/core").$strict>;
|
|
1475
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1476
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
1477
|
+
usd_per_eur: import("zod").ZodString;
|
|
1478
|
+
currency_per_eur: import("zod").ZodString;
|
|
1479
|
+
observed_at: import("zod").ZodNumber;
|
|
1480
|
+
}, import("zod/v4/core").$strict>>;
|
|
1481
|
+
quoted_at: import("zod").ZodNumber;
|
|
1482
|
+
expires_at: import("zod").ZodNumber;
|
|
1483
|
+
}, import("zod/v4/core").$strict>>;
|
|
1267
1484
|
}, import("zod/v4/core").$strict>>;
|
|
1268
1485
|
merchant_id: import("zod").ZodString;
|
|
1269
1486
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -1423,6 +1640,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1423
1640
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1424
1641
|
confirmations: import("zod").ZodNumber;
|
|
1425
1642
|
required_confirmations: import("zod").ZodNumber;
|
|
1643
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1644
|
+
currency: import("zod").ZodEnum<{
|
|
1645
|
+
EUR: "EUR";
|
|
1646
|
+
USD: "USD";
|
|
1647
|
+
GBP: "GBP";
|
|
1648
|
+
CHF: "CHF";
|
|
1649
|
+
SEK: "SEK";
|
|
1650
|
+
NOK: "NOK";
|
|
1651
|
+
DKK: "DKK";
|
|
1652
|
+
PLN: "PLN";
|
|
1653
|
+
CZK: "CZK";
|
|
1654
|
+
CAD: "CAD";
|
|
1655
|
+
AUD: "AUD";
|
|
1656
|
+
JPY: "JPY";
|
|
1657
|
+
}>;
|
|
1658
|
+
amount: import("zod").ZodString;
|
|
1659
|
+
rate: import("zod").ZodString;
|
|
1660
|
+
price: import("zod").ZodObject<{
|
|
1661
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
1662
|
+
usd_per_fair: import("zod").ZodString;
|
|
1663
|
+
observed_at: import("zod").ZodNumber;
|
|
1664
|
+
}, import("zod/v4/core").$strict>;
|
|
1665
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1666
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
1667
|
+
usd_per_eur: import("zod").ZodString;
|
|
1668
|
+
currency_per_eur: import("zod").ZodString;
|
|
1669
|
+
observed_at: import("zod").ZodNumber;
|
|
1670
|
+
}, import("zod/v4/core").$strict>>;
|
|
1671
|
+
quoted_at: import("zod").ZodNumber;
|
|
1672
|
+
expires_at: import("zod").ZodNumber;
|
|
1673
|
+
}, import("zod/v4/core").$strict>>;
|
|
1426
1674
|
}, import("zod/v4/core").$strict>>;
|
|
1427
1675
|
merchant_id: import("zod").ZodString;
|
|
1428
1676
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -1582,6 +1830,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1582
1830
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1583
1831
|
confirmations: import("zod").ZodNumber;
|
|
1584
1832
|
required_confirmations: import("zod").ZodNumber;
|
|
1833
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1834
|
+
currency: import("zod").ZodEnum<{
|
|
1835
|
+
EUR: "EUR";
|
|
1836
|
+
USD: "USD";
|
|
1837
|
+
GBP: "GBP";
|
|
1838
|
+
CHF: "CHF";
|
|
1839
|
+
SEK: "SEK";
|
|
1840
|
+
NOK: "NOK";
|
|
1841
|
+
DKK: "DKK";
|
|
1842
|
+
PLN: "PLN";
|
|
1843
|
+
CZK: "CZK";
|
|
1844
|
+
CAD: "CAD";
|
|
1845
|
+
AUD: "AUD";
|
|
1846
|
+
JPY: "JPY";
|
|
1847
|
+
}>;
|
|
1848
|
+
amount: import("zod").ZodString;
|
|
1849
|
+
rate: import("zod").ZodString;
|
|
1850
|
+
price: import("zod").ZodObject<{
|
|
1851
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
1852
|
+
usd_per_fair: import("zod").ZodString;
|
|
1853
|
+
observed_at: import("zod").ZodNumber;
|
|
1854
|
+
}, import("zod/v4/core").$strict>;
|
|
1855
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1856
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
1857
|
+
usd_per_eur: import("zod").ZodString;
|
|
1858
|
+
currency_per_eur: import("zod").ZodString;
|
|
1859
|
+
observed_at: import("zod").ZodNumber;
|
|
1860
|
+
}, import("zod/v4/core").$strict>>;
|
|
1861
|
+
quoted_at: import("zod").ZodNumber;
|
|
1862
|
+
expires_at: import("zod").ZodNumber;
|
|
1863
|
+
}, import("zod/v4/core").$strict>>;
|
|
1585
1864
|
}, import("zod/v4/core").$strict>>;
|
|
1586
1865
|
merchant_id: import("zod").ZodString;
|
|
1587
1866
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|
|
@@ -2306,6 +2585,8 @@ export declare const paymentsRoutes: readonly [{
|
|
|
2306
2585
|
object: import("zod").ZodLiteral<"settlement">;
|
|
2307
2586
|
livemode: import("zod").ZodBoolean;
|
|
2308
2587
|
payment_intent: import("zod").ZodType<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">>>;
|
|
2588
|
+
refund: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">>>>;
|
|
2589
|
+
dispute: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">>>>;
|
|
2309
2590
|
status: import("zod").ZodEnum<{
|
|
2310
2591
|
unknown: "unknown";
|
|
2311
2592
|
pending: "pending";
|
|
@@ -2320,6 +2601,41 @@ export declare const paymentsRoutes: readonly [{
|
|
|
2320
2601
|
}, import("zod/v4/core").$strict>;
|
|
2321
2602
|
readonly sdk: "refunds.settlement";
|
|
2322
2603
|
readonly expandable: "settlement";
|
|
2604
|
+
}, {
|
|
2605
|
+
readonly operationId: "retrieveRefundSettlement";
|
|
2606
|
+
readonly method: "get";
|
|
2607
|
+
readonly path: "/v1/refunds/{id}/settlement";
|
|
2608
|
+
readonly tag: "Refunds";
|
|
2609
|
+
readonly summary: "Retrieve a refund's settlement";
|
|
2610
|
+
readonly description: "What the refund took off the settlement balance — `gross`, `fee`, a negative `net` — in the settlement currency, read live from the provider. A missing figure is `null` with a `status`, never `0`; a refund that failed or was canceled is `unknown`.";
|
|
2611
|
+
readonly auth: "service";
|
|
2612
|
+
readonly scope: "payments:read";
|
|
2613
|
+
readonly params: {
|
|
2614
|
+
id: string;
|
|
2615
|
+
};
|
|
2616
|
+
readonly query: import("zod").ZodObject<{
|
|
2617
|
+
expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2618
|
+
}, import("zod/v4/core").$strict>;
|
|
2619
|
+
readonly response: import("zod").ZodObject<{
|
|
2620
|
+
object: import("zod").ZodLiteral<"settlement">;
|
|
2621
|
+
livemode: import("zod").ZodBoolean;
|
|
2622
|
+
payment_intent: import("zod").ZodType<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">>>;
|
|
2623
|
+
refund: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">>>>;
|
|
2624
|
+
dispute: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">>>>;
|
|
2625
|
+
status: import("zod").ZodEnum<{
|
|
2626
|
+
unknown: "unknown";
|
|
2627
|
+
pending: "pending";
|
|
2628
|
+
available: "available";
|
|
2629
|
+
}>;
|
|
2630
|
+
gross: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2631
|
+
fee: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2632
|
+
net: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2633
|
+
currency: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2634
|
+
available_on: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2635
|
+
exchange_rate: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2636
|
+
}, import("zod/v4/core").$strict>;
|
|
2637
|
+
readonly sdk: "refunds.refundSettlement";
|
|
2638
|
+
readonly expandable: "settlement";
|
|
2323
2639
|
}, {
|
|
2324
2640
|
readonly operationId: "searchRefunds";
|
|
2325
2641
|
readonly method: "get";
|
|
@@ -2958,6 +3274,41 @@ export declare const paymentsRoutes: readonly [{
|
|
|
2958
3274
|
updated_at: import("zod").ZodNumber;
|
|
2959
3275
|
}, import("zod/v4/core").$strict>;
|
|
2960
3276
|
readonly sdk: "disputes.close";
|
|
3277
|
+
}, {
|
|
3278
|
+
readonly operationId: "retrieveDisputeSettlement";
|
|
3279
|
+
readonly method: "get";
|
|
3280
|
+
readonly path: "/v1/disputes/{disputeId}/settlement";
|
|
3281
|
+
readonly tag: "Disputes";
|
|
3282
|
+
readonly summary: "Retrieve a dispute's settlement";
|
|
3283
|
+
readonly description: "What the dispute WITHDREW from the settlement balance — `gross` the principal, `fee` the dispute fee, a negative `net` — in the settlement currency, read live from the provider. An inquiry moves no money: `unknown`, every figure `null`, never `0`. A reinstatement after a won dispute is not this figure.";
|
|
3284
|
+
readonly auth: "service";
|
|
3285
|
+
readonly scope: "payments:read";
|
|
3286
|
+
readonly params: {
|
|
3287
|
+
disputeId: string;
|
|
3288
|
+
};
|
|
3289
|
+
readonly query: import("zod").ZodObject<{
|
|
3290
|
+
expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
|
|
3291
|
+
}, import("zod/v4/core").$strict>;
|
|
3292
|
+
readonly response: import("zod").ZodObject<{
|
|
3293
|
+
object: import("zod").ZodLiteral<"settlement">;
|
|
3294
|
+
livemode: import("zod").ZodBoolean;
|
|
3295
|
+
payment_intent: import("zod").ZodType<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_intent">, string | import("../..").Ref<"payment_intent">>>;
|
|
3296
|
+
refund: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"refund">, string | import("../..").Ref<"refund">>>>;
|
|
3297
|
+
dispute: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"dispute">, string | import("../..").Ref<"dispute">>>>;
|
|
3298
|
+
status: import("zod").ZodEnum<{
|
|
3299
|
+
unknown: "unknown";
|
|
3300
|
+
pending: "pending";
|
|
3301
|
+
available: "available";
|
|
3302
|
+
}>;
|
|
3303
|
+
gross: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3304
|
+
fee: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3305
|
+
net: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3306
|
+
currency: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3307
|
+
available_on: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
3308
|
+
exchange_rate: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
3309
|
+
}, import("zod/v4/core").$strict>;
|
|
3310
|
+
readonly sdk: "disputes.settlement";
|
|
3311
|
+
readonly expandable: "settlement";
|
|
2961
3312
|
}, {
|
|
2962
3313
|
readonly operationId: "createSetupIntent";
|
|
2963
3314
|
readonly method: "post";
|
|
@@ -3489,6 +3840,37 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3489
3840
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3490
3841
|
confirmations: import("zod").ZodNumber;
|
|
3491
3842
|
required_confirmations: import("zod").ZodNumber;
|
|
3843
|
+
quote: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3844
|
+
currency: import("zod").ZodEnum<{
|
|
3845
|
+
EUR: "EUR";
|
|
3846
|
+
USD: "USD";
|
|
3847
|
+
GBP: "GBP";
|
|
3848
|
+
CHF: "CHF";
|
|
3849
|
+
SEK: "SEK";
|
|
3850
|
+
NOK: "NOK";
|
|
3851
|
+
DKK: "DKK";
|
|
3852
|
+
PLN: "PLN";
|
|
3853
|
+
CZK: "CZK";
|
|
3854
|
+
CAD: "CAD";
|
|
3855
|
+
AUD: "AUD";
|
|
3856
|
+
JPY: "JPY";
|
|
3857
|
+
}>;
|
|
3858
|
+
amount: import("zod").ZodString;
|
|
3859
|
+
rate: import("zod").ZodString;
|
|
3860
|
+
price: import("zod").ZodObject<{
|
|
3861
|
+
source: import("zod").ZodLiteral<"wfair-base">;
|
|
3862
|
+
usd_per_fair: import("zod").ZodString;
|
|
3863
|
+
observed_at: import("zod").ZodNumber;
|
|
3864
|
+
}, import("zod/v4/core").$strict>;
|
|
3865
|
+
reference_rates: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3866
|
+
source: import("zod").ZodLiteral<"ecb">;
|
|
3867
|
+
usd_per_eur: import("zod").ZodString;
|
|
3868
|
+
currency_per_eur: import("zod").ZodString;
|
|
3869
|
+
observed_at: import("zod").ZodNumber;
|
|
3870
|
+
}, import("zod/v4/core").$strict>>;
|
|
3871
|
+
quoted_at: import("zod").ZodNumber;
|
|
3872
|
+
expires_at: import("zod").ZodNumber;
|
|
3873
|
+
}, import("zod/v4/core").$strict>>;
|
|
3492
3874
|
}, import("zod/v4/core").$strict>>;
|
|
3493
3875
|
merchant_id: import("zod").ZodString;
|
|
3494
3876
|
connected_account: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"connected_account">, string | import("../..").Ref<"connected_account">>>>;
|