@peable.to/contracts 4.1.0 → 5.1.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/checkout/checkoutSessions.js +22 -1
- package/dist/cjs/resources/payments/paymentIntents.js +42 -5
- package/dist/cjs/resources/payments/social.js +6 -1
- package/dist/cjs/vocabulary/errors.js +1 -0
- package/dist/cjs/vocabulary/payments.js +7 -2
- package/dist/esm/resources/checkout/checkoutSessions.js +22 -1
- package/dist/esm/resources/payments/paymentIntents.js +41 -4
- package/dist/esm/resources/payments/social.js +6 -1
- package/dist/esm/vocabulary/errors.js +1 -0
- package/dist/esm/vocabulary/payments.js +7 -2
- package/dist/types/resources/checkout/checkoutSessions.d.ts +9 -0
- package/dist/types/resources/checkout/index.d.ts +4 -0
- package/dist/types/resources/payments/index.d.ts +142 -30
- package/dist/types/resources/payments/paymentIntents.d.ts +159 -33
- package/dist/types/resources/payments/social.d.ts +3 -0
- package/dist/types/resources/payments/testHelpers.d.ts +14 -3
- package/dist/types/vocabulary/errors.d.ts +1 -0
- package/dist/types/vocabulary/payments.d.ts +7 -3
- package/package.json +1 -1
|
@@ -151,14 +151,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
151
151
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
152
152
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
153
153
|
faircoin_payment: import("zod").ZodObject<{
|
|
154
|
-
address: import("zod").ZodString
|
|
154
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
155
155
|
network: import("zod").ZodEnum<{
|
|
156
156
|
mainnet: "mainnet";
|
|
157
157
|
testnet: "testnet";
|
|
158
158
|
}>;
|
|
159
159
|
amount: import("zod").ZodString;
|
|
160
160
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
161
|
-
uri: import("zod").ZodString
|
|
161
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
162
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
163
|
+
address: import("zod").ZodString;
|
|
164
|
+
amount: import("zod").ZodString;
|
|
165
|
+
}, import("zod/v4/core").$strict>>;
|
|
162
166
|
}, import("zod/v4/core").$strict>;
|
|
163
167
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
164
168
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -178,6 +182,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
178
182
|
fraudulent: "fraudulent";
|
|
179
183
|
abandoned: "abandoned";
|
|
180
184
|
automatic: "automatic";
|
|
185
|
+
recipient_key_changed: "recipient_key_changed";
|
|
181
186
|
requested_by_customer: "requested_by_customer";
|
|
182
187
|
underpaid: "underpaid";
|
|
183
188
|
}>>;
|
|
@@ -204,7 +209,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
204
209
|
mainnet: "mainnet";
|
|
205
210
|
testnet: "testnet";
|
|
206
211
|
}>;
|
|
207
|
-
address: import("zod").ZodString
|
|
212
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
213
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
214
|
+
address: import("zod").ZodString;
|
|
215
|
+
amount: import("zod").ZodString;
|
|
216
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
217
|
+
}, import("zod/v4/core").$strict>>;
|
|
208
218
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
209
219
|
confirmations: import("zod").ZodNumber;
|
|
210
220
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -239,6 +249,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
239
249
|
quoted_at: import("zod").ZodNumber;
|
|
240
250
|
expires_at: import("zod").ZodNumber;
|
|
241
251
|
}, import("zod/v4/core").$strict>>;
|
|
252
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
242
253
|
}, import("zod/v4/core").$strict>>;
|
|
243
254
|
merchant_id: import("zod").ZodString;
|
|
244
255
|
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">>>>;
|
|
@@ -364,14 +375,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
364
375
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
365
376
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
366
377
|
faircoin_payment: import("zod").ZodObject<{
|
|
367
|
-
address: import("zod").ZodString
|
|
378
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
368
379
|
network: import("zod").ZodEnum<{
|
|
369
380
|
mainnet: "mainnet";
|
|
370
381
|
testnet: "testnet";
|
|
371
382
|
}>;
|
|
372
383
|
amount: import("zod").ZodString;
|
|
373
384
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
374
|
-
uri: import("zod").ZodString
|
|
385
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
386
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
387
|
+
address: import("zod").ZodString;
|
|
388
|
+
amount: import("zod").ZodString;
|
|
389
|
+
}, import("zod/v4/core").$strict>>;
|
|
375
390
|
}, import("zod/v4/core").$strict>;
|
|
376
391
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
377
392
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -391,6 +406,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
391
406
|
fraudulent: "fraudulent";
|
|
392
407
|
abandoned: "abandoned";
|
|
393
408
|
automatic: "automatic";
|
|
409
|
+
recipient_key_changed: "recipient_key_changed";
|
|
394
410
|
requested_by_customer: "requested_by_customer";
|
|
395
411
|
underpaid: "underpaid";
|
|
396
412
|
}>>;
|
|
@@ -417,7 +433,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
417
433
|
mainnet: "mainnet";
|
|
418
434
|
testnet: "testnet";
|
|
419
435
|
}>;
|
|
420
|
-
address: import("zod").ZodString
|
|
436
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
437
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
438
|
+
address: import("zod").ZodString;
|
|
439
|
+
amount: import("zod").ZodString;
|
|
440
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
441
|
+
}, import("zod/v4/core").$strict>>;
|
|
421
442
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
422
443
|
confirmations: import("zod").ZodNumber;
|
|
423
444
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -452,6 +473,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
452
473
|
quoted_at: import("zod").ZodNumber;
|
|
453
474
|
expires_at: import("zod").ZodNumber;
|
|
454
475
|
}, import("zod/v4/core").$strict>>;
|
|
476
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
455
477
|
}, import("zod/v4/core").$strict>>;
|
|
456
478
|
merchant_id: import("zod").ZodString;
|
|
457
479
|
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">>>>;
|
|
@@ -558,14 +580,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
558
580
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
559
581
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
560
582
|
faircoin_payment: import("zod").ZodObject<{
|
|
561
|
-
address: import("zod").ZodString
|
|
583
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
562
584
|
network: import("zod").ZodEnum<{
|
|
563
585
|
mainnet: "mainnet";
|
|
564
586
|
testnet: "testnet";
|
|
565
587
|
}>;
|
|
566
588
|
amount: import("zod").ZodString;
|
|
567
589
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
568
|
-
uri: import("zod").ZodString
|
|
590
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
591
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
592
|
+
address: import("zod").ZodString;
|
|
593
|
+
amount: import("zod").ZodString;
|
|
594
|
+
}, import("zod/v4/core").$strict>>;
|
|
569
595
|
}, import("zod/v4/core").$strict>;
|
|
570
596
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
571
597
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -585,6 +611,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
585
611
|
fraudulent: "fraudulent";
|
|
586
612
|
abandoned: "abandoned";
|
|
587
613
|
automatic: "automatic";
|
|
614
|
+
recipient_key_changed: "recipient_key_changed";
|
|
588
615
|
requested_by_customer: "requested_by_customer";
|
|
589
616
|
underpaid: "underpaid";
|
|
590
617
|
}>>;
|
|
@@ -611,7 +638,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
611
638
|
mainnet: "mainnet";
|
|
612
639
|
testnet: "testnet";
|
|
613
640
|
}>;
|
|
614
|
-
address: import("zod").ZodString
|
|
641
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
642
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
643
|
+
address: import("zod").ZodString;
|
|
644
|
+
amount: import("zod").ZodString;
|
|
645
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
646
|
+
}, import("zod/v4/core").$strict>>;
|
|
615
647
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
616
648
|
confirmations: import("zod").ZodNumber;
|
|
617
649
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -646,6 +678,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
646
678
|
quoted_at: import("zod").ZodNumber;
|
|
647
679
|
expires_at: import("zod").ZodNumber;
|
|
648
680
|
}, import("zod/v4/core").$strict>>;
|
|
681
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
649
682
|
}, import("zod/v4/core").$strict>>;
|
|
650
683
|
merchant_id: import("zod").ZodString;
|
|
651
684
|
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">>>>;
|
|
@@ -766,14 +799,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
766
799
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
767
800
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
768
801
|
faircoin_payment: import("zod").ZodObject<{
|
|
769
|
-
address: import("zod").ZodString
|
|
802
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
770
803
|
network: import("zod").ZodEnum<{
|
|
771
804
|
mainnet: "mainnet";
|
|
772
805
|
testnet: "testnet";
|
|
773
806
|
}>;
|
|
774
807
|
amount: import("zod").ZodString;
|
|
775
808
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
776
|
-
uri: import("zod").ZodString
|
|
809
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
810
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
811
|
+
address: import("zod").ZodString;
|
|
812
|
+
amount: import("zod").ZodString;
|
|
813
|
+
}, import("zod/v4/core").$strict>>;
|
|
777
814
|
}, import("zod/v4/core").$strict>;
|
|
778
815
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
779
816
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -793,6 +830,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
793
830
|
fraudulent: "fraudulent";
|
|
794
831
|
abandoned: "abandoned";
|
|
795
832
|
automatic: "automatic";
|
|
833
|
+
recipient_key_changed: "recipient_key_changed";
|
|
796
834
|
requested_by_customer: "requested_by_customer";
|
|
797
835
|
underpaid: "underpaid";
|
|
798
836
|
}>>;
|
|
@@ -819,7 +857,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
819
857
|
mainnet: "mainnet";
|
|
820
858
|
testnet: "testnet";
|
|
821
859
|
}>;
|
|
822
|
-
address: import("zod").ZodString
|
|
860
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
861
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
862
|
+
address: import("zod").ZodString;
|
|
863
|
+
amount: import("zod").ZodString;
|
|
864
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
865
|
+
}, import("zod/v4/core").$strict>>;
|
|
823
866
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
824
867
|
confirmations: import("zod").ZodNumber;
|
|
825
868
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -854,6 +897,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
854
897
|
quoted_at: import("zod").ZodNumber;
|
|
855
898
|
expires_at: import("zod").ZodNumber;
|
|
856
899
|
}, import("zod/v4/core").$strict>>;
|
|
900
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
857
901
|
}, import("zod/v4/core").$strict>>;
|
|
858
902
|
merchant_id: import("zod").ZodString;
|
|
859
903
|
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">>>>;
|
|
@@ -1004,14 +1048,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1004
1048
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1005
1049
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
1006
1050
|
faircoin_payment: import("zod").ZodObject<{
|
|
1007
|
-
address: import("zod").ZodString
|
|
1051
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1008
1052
|
network: import("zod").ZodEnum<{
|
|
1009
1053
|
mainnet: "mainnet";
|
|
1010
1054
|
testnet: "testnet";
|
|
1011
1055
|
}>;
|
|
1012
1056
|
amount: import("zod").ZodString;
|
|
1013
1057
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
1014
|
-
uri: import("zod").ZodString
|
|
1058
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1059
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1060
|
+
address: import("zod").ZodString;
|
|
1061
|
+
amount: import("zod").ZodString;
|
|
1062
|
+
}, import("zod/v4/core").$strict>>;
|
|
1015
1063
|
}, import("zod/v4/core").$strict>;
|
|
1016
1064
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1017
1065
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -1031,6 +1079,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1031
1079
|
fraudulent: "fraudulent";
|
|
1032
1080
|
abandoned: "abandoned";
|
|
1033
1081
|
automatic: "automatic";
|
|
1082
|
+
recipient_key_changed: "recipient_key_changed";
|
|
1034
1083
|
requested_by_customer: "requested_by_customer";
|
|
1035
1084
|
underpaid: "underpaid";
|
|
1036
1085
|
}>>;
|
|
@@ -1057,7 +1106,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1057
1106
|
mainnet: "mainnet";
|
|
1058
1107
|
testnet: "testnet";
|
|
1059
1108
|
}>;
|
|
1060
|
-
address: import("zod").ZodString
|
|
1109
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1110
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1111
|
+
address: import("zod").ZodString;
|
|
1112
|
+
amount: import("zod").ZodString;
|
|
1113
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1114
|
+
}, import("zod/v4/core").$strict>>;
|
|
1061
1115
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1062
1116
|
confirmations: import("zod").ZodNumber;
|
|
1063
1117
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -1092,6 +1146,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1092
1146
|
quoted_at: import("zod").ZodNumber;
|
|
1093
1147
|
expires_at: import("zod").ZodNumber;
|
|
1094
1148
|
}, import("zod/v4/core").$strict>>;
|
|
1149
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1095
1150
|
}, import("zod/v4/core").$strict>>;
|
|
1096
1151
|
merchant_id: import("zod").ZodString;
|
|
1097
1152
|
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">>>>;
|
|
@@ -1196,14 +1251,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1196
1251
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1197
1252
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
1198
1253
|
faircoin_payment: import("zod").ZodObject<{
|
|
1199
|
-
address: import("zod").ZodString
|
|
1254
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1200
1255
|
network: import("zod").ZodEnum<{
|
|
1201
1256
|
mainnet: "mainnet";
|
|
1202
1257
|
testnet: "testnet";
|
|
1203
1258
|
}>;
|
|
1204
1259
|
amount: import("zod").ZodString;
|
|
1205
1260
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
1206
|
-
uri: import("zod").ZodString
|
|
1261
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1262
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1263
|
+
address: import("zod").ZodString;
|
|
1264
|
+
amount: import("zod").ZodString;
|
|
1265
|
+
}, import("zod/v4/core").$strict>>;
|
|
1207
1266
|
}, import("zod/v4/core").$strict>;
|
|
1208
1267
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1209
1268
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -1223,6 +1282,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1223
1282
|
fraudulent: "fraudulent";
|
|
1224
1283
|
abandoned: "abandoned";
|
|
1225
1284
|
automatic: "automatic";
|
|
1285
|
+
recipient_key_changed: "recipient_key_changed";
|
|
1226
1286
|
requested_by_customer: "requested_by_customer";
|
|
1227
1287
|
underpaid: "underpaid";
|
|
1228
1288
|
}>>;
|
|
@@ -1249,7 +1309,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1249
1309
|
mainnet: "mainnet";
|
|
1250
1310
|
testnet: "testnet";
|
|
1251
1311
|
}>;
|
|
1252
|
-
address: import("zod").ZodString
|
|
1312
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1313
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1314
|
+
address: import("zod").ZodString;
|
|
1315
|
+
amount: import("zod").ZodString;
|
|
1316
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1317
|
+
}, import("zod/v4/core").$strict>>;
|
|
1253
1318
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1254
1319
|
confirmations: import("zod").ZodNumber;
|
|
1255
1320
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -1284,6 +1349,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1284
1349
|
quoted_at: import("zod").ZodNumber;
|
|
1285
1350
|
expires_at: import("zod").ZodNumber;
|
|
1286
1351
|
}, import("zod/v4/core").$strict>>;
|
|
1352
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1287
1353
|
}, import("zod/v4/core").$strict>>;
|
|
1288
1354
|
merchant_id: import("zod").ZodString;
|
|
1289
1355
|
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">>>>;
|
|
@@ -1393,14 +1459,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1393
1459
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1394
1460
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
1395
1461
|
faircoin_payment: import("zod").ZodObject<{
|
|
1396
|
-
address: import("zod").ZodString
|
|
1462
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1397
1463
|
network: import("zod").ZodEnum<{
|
|
1398
1464
|
mainnet: "mainnet";
|
|
1399
1465
|
testnet: "testnet";
|
|
1400
1466
|
}>;
|
|
1401
1467
|
amount: import("zod").ZodString;
|
|
1402
1468
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
1403
|
-
uri: import("zod").ZodString
|
|
1469
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1470
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1471
|
+
address: import("zod").ZodString;
|
|
1472
|
+
amount: import("zod").ZodString;
|
|
1473
|
+
}, import("zod/v4/core").$strict>>;
|
|
1404
1474
|
}, import("zod/v4/core").$strict>;
|
|
1405
1475
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1406
1476
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -1420,6 +1490,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1420
1490
|
fraudulent: "fraudulent";
|
|
1421
1491
|
abandoned: "abandoned";
|
|
1422
1492
|
automatic: "automatic";
|
|
1493
|
+
recipient_key_changed: "recipient_key_changed";
|
|
1423
1494
|
requested_by_customer: "requested_by_customer";
|
|
1424
1495
|
underpaid: "underpaid";
|
|
1425
1496
|
}>>;
|
|
@@ -1446,7 +1517,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1446
1517
|
mainnet: "mainnet";
|
|
1447
1518
|
testnet: "testnet";
|
|
1448
1519
|
}>;
|
|
1449
|
-
address: import("zod").ZodString
|
|
1520
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1521
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1522
|
+
address: import("zod").ZodString;
|
|
1523
|
+
amount: import("zod").ZodString;
|
|
1524
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1525
|
+
}, import("zod/v4/core").$strict>>;
|
|
1450
1526
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1451
1527
|
confirmations: import("zod").ZodNumber;
|
|
1452
1528
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -1481,6 +1557,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1481
1557
|
quoted_at: import("zod").ZodNumber;
|
|
1482
1558
|
expires_at: import("zod").ZodNumber;
|
|
1483
1559
|
}, import("zod/v4/core").$strict>>;
|
|
1560
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1484
1561
|
}, import("zod/v4/core").$strict>>;
|
|
1485
1562
|
merchant_id: import("zod").ZodString;
|
|
1486
1563
|
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">>>>;
|
|
@@ -1583,14 +1660,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1583
1660
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1584
1661
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
1585
1662
|
faircoin_payment: import("zod").ZodObject<{
|
|
1586
|
-
address: import("zod").ZodString
|
|
1663
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1587
1664
|
network: import("zod").ZodEnum<{
|
|
1588
1665
|
mainnet: "mainnet";
|
|
1589
1666
|
testnet: "testnet";
|
|
1590
1667
|
}>;
|
|
1591
1668
|
amount: import("zod").ZodString;
|
|
1592
1669
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
1593
|
-
uri: import("zod").ZodString
|
|
1670
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1671
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1672
|
+
address: import("zod").ZodString;
|
|
1673
|
+
amount: import("zod").ZodString;
|
|
1674
|
+
}, import("zod/v4/core").$strict>>;
|
|
1594
1675
|
}, import("zod/v4/core").$strict>;
|
|
1595
1676
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1596
1677
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -1610,6 +1691,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1610
1691
|
fraudulent: "fraudulent";
|
|
1611
1692
|
abandoned: "abandoned";
|
|
1612
1693
|
automatic: "automatic";
|
|
1694
|
+
recipient_key_changed: "recipient_key_changed";
|
|
1613
1695
|
requested_by_customer: "requested_by_customer";
|
|
1614
1696
|
underpaid: "underpaid";
|
|
1615
1697
|
}>>;
|
|
@@ -1636,7 +1718,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1636
1718
|
mainnet: "mainnet";
|
|
1637
1719
|
testnet: "testnet";
|
|
1638
1720
|
}>;
|
|
1639
|
-
address: import("zod").ZodString
|
|
1721
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1722
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1723
|
+
address: import("zod").ZodString;
|
|
1724
|
+
amount: import("zod").ZodString;
|
|
1725
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1726
|
+
}, import("zod/v4/core").$strict>>;
|
|
1640
1727
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1641
1728
|
confirmations: import("zod").ZodNumber;
|
|
1642
1729
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -1671,6 +1758,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1671
1758
|
quoted_at: import("zod").ZodNumber;
|
|
1672
1759
|
expires_at: import("zod").ZodNumber;
|
|
1673
1760
|
}, import("zod/v4/core").$strict>>;
|
|
1761
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1674
1762
|
}, import("zod/v4/core").$strict>>;
|
|
1675
1763
|
merchant_id: import("zod").ZodString;
|
|
1676
1764
|
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">>>>;
|
|
@@ -1773,14 +1861,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1773
1861
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1774
1862
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
1775
1863
|
faircoin_payment: import("zod").ZodObject<{
|
|
1776
|
-
address: import("zod").ZodString
|
|
1864
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1777
1865
|
network: import("zod").ZodEnum<{
|
|
1778
1866
|
mainnet: "mainnet";
|
|
1779
1867
|
testnet: "testnet";
|
|
1780
1868
|
}>;
|
|
1781
1869
|
amount: import("zod").ZodString;
|
|
1782
1870
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
1783
|
-
uri: import("zod").ZodString
|
|
1871
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1872
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1873
|
+
address: import("zod").ZodString;
|
|
1874
|
+
amount: import("zod").ZodString;
|
|
1875
|
+
}, import("zod/v4/core").$strict>>;
|
|
1784
1876
|
}, import("zod/v4/core").$strict>;
|
|
1785
1877
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1786
1878
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -1800,6 +1892,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1800
1892
|
fraudulent: "fraudulent";
|
|
1801
1893
|
abandoned: "abandoned";
|
|
1802
1894
|
automatic: "automatic";
|
|
1895
|
+
recipient_key_changed: "recipient_key_changed";
|
|
1803
1896
|
requested_by_customer: "requested_by_customer";
|
|
1804
1897
|
underpaid: "underpaid";
|
|
1805
1898
|
}>>;
|
|
@@ -1826,7 +1919,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1826
1919
|
mainnet: "mainnet";
|
|
1827
1920
|
testnet: "testnet";
|
|
1828
1921
|
}>;
|
|
1829
|
-
address: import("zod").ZodString
|
|
1922
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1923
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1924
|
+
address: import("zod").ZodString;
|
|
1925
|
+
amount: import("zod").ZodString;
|
|
1926
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1927
|
+
}, import("zod/v4/core").$strict>>;
|
|
1830
1928
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1831
1929
|
confirmations: import("zod").ZodNumber;
|
|
1832
1930
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -1861,6 +1959,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
1861
1959
|
quoted_at: import("zod").ZodNumber;
|
|
1862
1960
|
expires_at: import("zod").ZodNumber;
|
|
1863
1961
|
}, import("zod/v4/core").$strict>>;
|
|
1962
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1864
1963
|
}, import("zod/v4/core").$strict>>;
|
|
1865
1964
|
merchant_id: import("zod").ZodString;
|
|
1866
1965
|
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">>>>;
|
|
@@ -3629,6 +3728,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3629
3728
|
readonly path: "/v1/social/me/cursor";
|
|
3630
3729
|
readonly tag: "Social payments";
|
|
3631
3730
|
readonly summary: "Retrieve the caller's receive cursor";
|
|
3731
|
+
readonly description: "How far the caller's receive tree has been reserved, the key the last reservation used, and the caller's current `#key-1` read fresh from Oxy (ADR 0002). A 503 when Oxy cannot be asked for the current key.";
|
|
3632
3732
|
readonly auth: "user";
|
|
3633
3733
|
readonly query: import("zod").ZodObject<{
|
|
3634
3734
|
network: import("zod").ZodEnum<{
|
|
@@ -3639,6 +3739,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3639
3739
|
readonly response: import("zod").ZodObject<{
|
|
3640
3740
|
reserved_through: import("zod").ZodNumber;
|
|
3641
3741
|
identity_public_key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3742
|
+
account_identity_public_key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3642
3743
|
}, import("zod/v4/core").$strict>;
|
|
3643
3744
|
}, {
|
|
3644
3745
|
readonly operationId: "listSocialPayments";
|
|
@@ -3783,14 +3884,18 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3783
3884
|
next_action: import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3784
3885
|
type: import("zod").ZodLiteral<"faircoin_payment">;
|
|
3785
3886
|
faircoin_payment: import("zod").ZodObject<{
|
|
3786
|
-
address: import("zod").ZodString
|
|
3887
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3787
3888
|
network: import("zod").ZodEnum<{
|
|
3788
3889
|
mainnet: "mainnet";
|
|
3789
3890
|
testnet: "testnet";
|
|
3790
3891
|
}>;
|
|
3791
3892
|
amount: import("zod").ZodString;
|
|
3792
3893
|
currency: import("zod").ZodLiteral<"FAIR">;
|
|
3793
|
-
uri: import("zod").ZodString
|
|
3894
|
+
uri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3895
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3896
|
+
address: import("zod").ZodString;
|
|
3897
|
+
amount: import("zod").ZodString;
|
|
3898
|
+
}, import("zod/v4/core").$strict>>;
|
|
3794
3899
|
}, import("zod/v4/core").$strict>;
|
|
3795
3900
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3796
3901
|
type: import("zod").ZodLiteral<"use_peable_sdk">;
|
|
@@ -3810,6 +3915,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3810
3915
|
fraudulent: "fraudulent";
|
|
3811
3916
|
abandoned: "abandoned";
|
|
3812
3917
|
automatic: "automatic";
|
|
3918
|
+
recipient_key_changed: "recipient_key_changed";
|
|
3813
3919
|
requested_by_customer: "requested_by_customer";
|
|
3814
3920
|
underpaid: "underpaid";
|
|
3815
3921
|
}>>;
|
|
@@ -3836,7 +3942,12 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3836
3942
|
mainnet: "mainnet";
|
|
3837
3943
|
testnet: "testnet";
|
|
3838
3944
|
}>;
|
|
3839
|
-
address: import("zod").ZodString
|
|
3945
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3946
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3947
|
+
address: import("zod").ZodString;
|
|
3948
|
+
amount: import("zod").ZodString;
|
|
3949
|
+
connected_account: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3950
|
+
}, import("zod/v4/core").$strict>>;
|
|
3840
3951
|
txid: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3841
3952
|
confirmations: import("zod").ZodNumber;
|
|
3842
3953
|
required_confirmations: import("zod").ZodNumber;
|
|
@@ -3871,6 +3982,7 @@ export declare const paymentsRoutes: readonly [{
|
|
|
3871
3982
|
quoted_at: import("zod").ZodNumber;
|
|
3872
3983
|
expires_at: import("zod").ZodNumber;
|
|
3873
3984
|
}, import("zod/v4/core").$strict>>;
|
|
3985
|
+
recipient_key_replaced_at: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
3874
3986
|
}, import("zod/v4/core").$strict>>;
|
|
3875
3987
|
merchant_id: import("zod").ZodString;
|
|
3876
3988
|
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">>>>;
|