@402flow/sdk 0.1.0-alpha.21 → 0.1.0-alpha.23
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/README.md +85 -3
- package/dist/contracts.d.ts +241 -117
- package/dist/contracts.js +27 -1
- package/dist/contracts.js.map +1 -1
- package/package.json +6 -2
package/dist/contracts.d.ts
CHANGED
|
@@ -76,22 +76,75 @@ export declare const normalizedMoneySchema: z.ZodEffects<z.ZodObject<{
|
|
|
76
76
|
unit: "minor";
|
|
77
77
|
}>;
|
|
78
78
|
export type NormalizedMoney = z.infer<typeof normalizedMoneySchema>;
|
|
79
|
-
/** Request-scoped context the control plane uses for policy, audit, and
|
|
79
|
+
/** Request-scoped context the control plane uses for policy, audit, identity, and optional provenance. */
|
|
80
80
|
export declare const paidRequestContextSchema: z.ZodObject<{
|
|
81
81
|
organization: z.ZodString;
|
|
82
82
|
agent: z.ZodString;
|
|
83
83
|
description: z.ZodOptional<z.ZodString>;
|
|
84
84
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
85
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
discoverySource: z.ZodOptional<z.ZodEnum<["coinbase_bazaar", "dexter", "pay_sh", "x402scan", "manual", "direct", "observed", "imported", "unknown"]>>;
|
|
87
|
+
resourceIdentity: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"http_endpoint">;
|
|
89
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
90
|
+
canonicalUrl: z.ZodString;
|
|
91
|
+
canonicalKey: z.ZodString;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
kind: "http_endpoint";
|
|
94
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
95
|
+
canonicalUrl: string;
|
|
96
|
+
canonicalKey: string;
|
|
97
|
+
}, {
|
|
98
|
+
kind: "http_endpoint";
|
|
99
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
100
|
+
canonicalUrl: string;
|
|
101
|
+
canonicalKey: string;
|
|
102
|
+
}>>;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
105
|
+
resourceIdentity?: {
|
|
106
|
+
kind: "http_endpoint";
|
|
107
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
108
|
+
canonicalUrl: string;
|
|
109
|
+
canonicalKey: string;
|
|
110
|
+
} | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
113
|
+
resourceIdentity?: {
|
|
114
|
+
kind: "http_endpoint";
|
|
115
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
116
|
+
canonicalUrl: string;
|
|
117
|
+
canonicalKey: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
}>>;
|
|
85
120
|
}, "strip", z.ZodTypeAny, {
|
|
86
121
|
organization: string;
|
|
87
122
|
agent: string;
|
|
88
123
|
description?: string | undefined;
|
|
89
124
|
metadata?: Record<string, unknown> | undefined;
|
|
125
|
+
attribution?: {
|
|
126
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
127
|
+
resourceIdentity?: {
|
|
128
|
+
kind: "http_endpoint";
|
|
129
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
130
|
+
canonicalUrl: string;
|
|
131
|
+
canonicalKey: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
} | undefined;
|
|
90
134
|
}, {
|
|
91
135
|
organization: string;
|
|
92
136
|
agent: string;
|
|
93
137
|
description?: string | undefined;
|
|
94
138
|
metadata?: Record<string, unknown> | undefined;
|
|
139
|
+
attribution?: {
|
|
140
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
141
|
+
resourceIdentity?: {
|
|
142
|
+
kind: "http_endpoint";
|
|
143
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
144
|
+
canonicalUrl: string;
|
|
145
|
+
canonicalKey: string;
|
|
146
|
+
} | undefined;
|
|
147
|
+
} | undefined;
|
|
95
148
|
}>;
|
|
96
149
|
export type PaidRequestContext = z.infer<typeof paidRequestContextSchema>;
|
|
97
150
|
/** Exact HTTP request shape that gets prepared, hashed, and later executed. */
|
|
@@ -102,14 +155,14 @@ export declare const paidRequestHttpRequestSchema: z.ZodObject<{
|
|
|
102
155
|
body: z.ZodOptional<z.ZodString>;
|
|
103
156
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
104
157
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
url: string;
|
|
106
158
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
159
|
+
url: string;
|
|
107
160
|
headers?: Record<string, string> | undefined;
|
|
108
161
|
body?: string | undefined;
|
|
109
162
|
bodyHash?: string | undefined;
|
|
110
163
|
}, {
|
|
111
|
-
url: string;
|
|
112
164
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
165
|
+
url: string;
|
|
113
166
|
headers?: Record<string, string> | undefined;
|
|
114
167
|
body?: string | undefined;
|
|
115
168
|
bodyHash?: string | undefined;
|
|
@@ -356,24 +409,24 @@ export declare const sdkPreparedHintFieldSchema: z.ZodObject<{
|
|
|
356
409
|
note?: string | undefined;
|
|
357
410
|
}>;
|
|
358
411
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
name: string;
|
|
360
412
|
attribution: {
|
|
361
413
|
source: "merchant_challenge" | "external_metadata";
|
|
362
414
|
authority: "authoritative" | "advisory";
|
|
363
415
|
note?: string | undefined;
|
|
364
416
|
};
|
|
417
|
+
name: string;
|
|
365
418
|
type?: string | undefined;
|
|
366
419
|
required?: boolean | undefined;
|
|
367
420
|
description?: string | undefined;
|
|
368
421
|
defaultValue?: unknown;
|
|
369
422
|
enumValues?: string[] | undefined;
|
|
370
423
|
}, {
|
|
371
|
-
name: string;
|
|
372
424
|
attribution: {
|
|
373
425
|
source: "merchant_challenge" | "external_metadata";
|
|
374
426
|
authority: "authoritative" | "advisory";
|
|
375
427
|
note?: string | undefined;
|
|
376
428
|
};
|
|
429
|
+
name: string;
|
|
377
430
|
type?: string | undefined;
|
|
378
431
|
required?: boolean | undefined;
|
|
379
432
|
description?: string | undefined;
|
|
@@ -499,24 +552,24 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
499
552
|
note?: string | undefined;
|
|
500
553
|
}>;
|
|
501
554
|
}, "strip", z.ZodTypeAny, {
|
|
502
|
-
name: string;
|
|
503
555
|
attribution: {
|
|
504
556
|
source: "merchant_challenge" | "external_metadata";
|
|
505
557
|
authority: "authoritative" | "advisory";
|
|
506
558
|
note?: string | undefined;
|
|
507
559
|
};
|
|
560
|
+
name: string;
|
|
508
561
|
type?: string | undefined;
|
|
509
562
|
required?: boolean | undefined;
|
|
510
563
|
description?: string | undefined;
|
|
511
564
|
defaultValue?: unknown;
|
|
512
565
|
enumValues?: string[] | undefined;
|
|
513
566
|
}, {
|
|
514
|
-
name: string;
|
|
515
567
|
attribution: {
|
|
516
568
|
source: "merchant_challenge" | "external_metadata";
|
|
517
569
|
authority: "authoritative" | "advisory";
|
|
518
570
|
note?: string | undefined;
|
|
519
571
|
};
|
|
572
|
+
name: string;
|
|
520
573
|
type?: string | undefined;
|
|
521
574
|
required?: boolean | undefined;
|
|
522
575
|
description?: string | undefined;
|
|
@@ -545,24 +598,24 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
545
598
|
note?: string | undefined;
|
|
546
599
|
}>;
|
|
547
600
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
name: string;
|
|
549
601
|
attribution: {
|
|
550
602
|
source: "merchant_challenge" | "external_metadata";
|
|
551
603
|
authority: "authoritative" | "advisory";
|
|
552
604
|
note?: string | undefined;
|
|
553
605
|
};
|
|
606
|
+
name: string;
|
|
554
607
|
type?: string | undefined;
|
|
555
608
|
required?: boolean | undefined;
|
|
556
609
|
description?: string | undefined;
|
|
557
610
|
defaultValue?: unknown;
|
|
558
611
|
enumValues?: string[] | undefined;
|
|
559
612
|
}, {
|
|
560
|
-
name: string;
|
|
561
613
|
attribution: {
|
|
562
614
|
source: "merchant_challenge" | "external_metadata";
|
|
563
615
|
authority: "authoritative" | "advisory";
|
|
564
616
|
note?: string | undefined;
|
|
565
617
|
};
|
|
618
|
+
name: string;
|
|
566
619
|
type?: string | undefined;
|
|
567
620
|
required?: boolean | undefined;
|
|
568
621
|
description?: string | undefined;
|
|
@@ -591,24 +644,24 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
591
644
|
note?: string | undefined;
|
|
592
645
|
}>;
|
|
593
646
|
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
name: string;
|
|
595
647
|
attribution: {
|
|
596
648
|
source: "merchant_challenge" | "external_metadata";
|
|
597
649
|
authority: "authoritative" | "advisory";
|
|
598
650
|
note?: string | undefined;
|
|
599
651
|
};
|
|
652
|
+
name: string;
|
|
600
653
|
type?: string | undefined;
|
|
601
654
|
required?: boolean | undefined;
|
|
602
655
|
description?: string | undefined;
|
|
603
656
|
defaultValue?: unknown;
|
|
604
657
|
enumValues?: string[] | undefined;
|
|
605
658
|
}, {
|
|
606
|
-
name: string;
|
|
607
659
|
attribution: {
|
|
608
660
|
source: "merchant_challenge" | "external_metadata";
|
|
609
661
|
authority: "authoritative" | "advisory";
|
|
610
662
|
note?: string | undefined;
|
|
611
663
|
};
|
|
664
|
+
name: string;
|
|
612
665
|
type?: string | undefined;
|
|
613
666
|
required?: boolean | undefined;
|
|
614
667
|
description?: string | undefined;
|
|
@@ -647,12 +700,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
647
700
|
}>, "many">>;
|
|
648
701
|
}, "strip", z.ZodTypeAny, {
|
|
649
702
|
requestBodyFields: {
|
|
650
|
-
name: string;
|
|
651
703
|
attribution: {
|
|
652
704
|
source: "merchant_challenge" | "external_metadata";
|
|
653
705
|
authority: "authoritative" | "advisory";
|
|
654
706
|
note?: string | undefined;
|
|
655
707
|
};
|
|
708
|
+
name: string;
|
|
656
709
|
type?: string | undefined;
|
|
657
710
|
required?: boolean | undefined;
|
|
658
711
|
description?: string | undefined;
|
|
@@ -660,12 +713,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
660
713
|
enumValues?: string[] | undefined;
|
|
661
714
|
}[];
|
|
662
715
|
requestQueryParams: {
|
|
663
|
-
name: string;
|
|
664
716
|
attribution: {
|
|
665
717
|
source: "merchant_challenge" | "external_metadata";
|
|
666
718
|
authority: "authoritative" | "advisory";
|
|
667
719
|
note?: string | undefined;
|
|
668
720
|
};
|
|
721
|
+
name: string;
|
|
669
722
|
type?: string | undefined;
|
|
670
723
|
required?: boolean | undefined;
|
|
671
724
|
description?: string | undefined;
|
|
@@ -673,12 +726,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
673
726
|
enumValues?: string[] | undefined;
|
|
674
727
|
}[];
|
|
675
728
|
requestPathParams: {
|
|
676
|
-
name: string;
|
|
677
729
|
attribution: {
|
|
678
730
|
source: "merchant_challenge" | "external_metadata";
|
|
679
731
|
authority: "authoritative" | "advisory";
|
|
680
732
|
note?: string | undefined;
|
|
681
733
|
};
|
|
734
|
+
name: string;
|
|
682
735
|
type?: string | undefined;
|
|
683
736
|
required?: boolean | undefined;
|
|
684
737
|
description?: string | undefined;
|
|
@@ -743,12 +796,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
743
796
|
};
|
|
744
797
|
} | undefined;
|
|
745
798
|
requestBodyFields?: {
|
|
746
|
-
name: string;
|
|
747
799
|
attribution: {
|
|
748
800
|
source: "merchant_challenge" | "external_metadata";
|
|
749
801
|
authority: "authoritative" | "advisory";
|
|
750
802
|
note?: string | undefined;
|
|
751
803
|
};
|
|
804
|
+
name: string;
|
|
752
805
|
type?: string | undefined;
|
|
753
806
|
required?: boolean | undefined;
|
|
754
807
|
description?: string | undefined;
|
|
@@ -756,12 +809,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
756
809
|
enumValues?: string[] | undefined;
|
|
757
810
|
}[] | undefined;
|
|
758
811
|
requestQueryParams?: {
|
|
759
|
-
name: string;
|
|
760
812
|
attribution: {
|
|
761
813
|
source: "merchant_challenge" | "external_metadata";
|
|
762
814
|
authority: "authoritative" | "advisory";
|
|
763
815
|
note?: string | undefined;
|
|
764
816
|
};
|
|
817
|
+
name: string;
|
|
765
818
|
type?: string | undefined;
|
|
766
819
|
required?: boolean | undefined;
|
|
767
820
|
description?: string | undefined;
|
|
@@ -769,12 +822,12 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
|
|
|
769
822
|
enumValues?: string[] | undefined;
|
|
770
823
|
}[] | undefined;
|
|
771
824
|
requestPathParams?: {
|
|
772
|
-
name: string;
|
|
773
825
|
attribution: {
|
|
774
826
|
source: "merchant_challenge" | "external_metadata";
|
|
775
827
|
authority: "authoritative" | "advisory";
|
|
776
828
|
note?: string | undefined;
|
|
777
829
|
};
|
|
830
|
+
name: string;
|
|
778
831
|
type?: string | undefined;
|
|
779
832
|
required?: boolean | undefined;
|
|
780
833
|
description?: string | undefined;
|
|
@@ -1072,14 +1125,14 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1072
1125
|
body: z.ZodOptional<z.ZodString>;
|
|
1073
1126
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
1074
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
url: string;
|
|
1076
1128
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1129
|
+
url: string;
|
|
1077
1130
|
headers?: Record<string, string> | undefined;
|
|
1078
1131
|
body?: string | undefined;
|
|
1079
1132
|
bodyHash?: string | undefined;
|
|
1080
1133
|
}, {
|
|
1081
|
-
url: string;
|
|
1082
1134
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1135
|
+
url: string;
|
|
1083
1136
|
headers?: Record<string, string> | undefined;
|
|
1084
1137
|
body?: string | undefined;
|
|
1085
1138
|
bodyHash?: string | undefined;
|
|
@@ -1197,24 +1250,24 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1197
1250
|
note?: string | undefined;
|
|
1198
1251
|
}>;
|
|
1199
1252
|
}, "strip", z.ZodTypeAny, {
|
|
1200
|
-
name: string;
|
|
1201
1253
|
attribution: {
|
|
1202
1254
|
source: "merchant_challenge" | "external_metadata";
|
|
1203
1255
|
authority: "authoritative" | "advisory";
|
|
1204
1256
|
note?: string | undefined;
|
|
1205
1257
|
};
|
|
1258
|
+
name: string;
|
|
1206
1259
|
type?: string | undefined;
|
|
1207
1260
|
required?: boolean | undefined;
|
|
1208
1261
|
description?: string | undefined;
|
|
1209
1262
|
defaultValue?: unknown;
|
|
1210
1263
|
enumValues?: string[] | undefined;
|
|
1211
1264
|
}, {
|
|
1212
|
-
name: string;
|
|
1213
1265
|
attribution: {
|
|
1214
1266
|
source: "merchant_challenge" | "external_metadata";
|
|
1215
1267
|
authority: "authoritative" | "advisory";
|
|
1216
1268
|
note?: string | undefined;
|
|
1217
1269
|
};
|
|
1270
|
+
name: string;
|
|
1218
1271
|
type?: string | undefined;
|
|
1219
1272
|
required?: boolean | undefined;
|
|
1220
1273
|
description?: string | undefined;
|
|
@@ -1243,24 +1296,24 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1243
1296
|
note?: string | undefined;
|
|
1244
1297
|
}>;
|
|
1245
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1246
|
-
name: string;
|
|
1247
1299
|
attribution: {
|
|
1248
1300
|
source: "merchant_challenge" | "external_metadata";
|
|
1249
1301
|
authority: "authoritative" | "advisory";
|
|
1250
1302
|
note?: string | undefined;
|
|
1251
1303
|
};
|
|
1304
|
+
name: string;
|
|
1252
1305
|
type?: string | undefined;
|
|
1253
1306
|
required?: boolean | undefined;
|
|
1254
1307
|
description?: string | undefined;
|
|
1255
1308
|
defaultValue?: unknown;
|
|
1256
1309
|
enumValues?: string[] | undefined;
|
|
1257
1310
|
}, {
|
|
1258
|
-
name: string;
|
|
1259
1311
|
attribution: {
|
|
1260
1312
|
source: "merchant_challenge" | "external_metadata";
|
|
1261
1313
|
authority: "authoritative" | "advisory";
|
|
1262
1314
|
note?: string | undefined;
|
|
1263
1315
|
};
|
|
1316
|
+
name: string;
|
|
1264
1317
|
type?: string | undefined;
|
|
1265
1318
|
required?: boolean | undefined;
|
|
1266
1319
|
description?: string | undefined;
|
|
@@ -1289,24 +1342,24 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1289
1342
|
note?: string | undefined;
|
|
1290
1343
|
}>;
|
|
1291
1344
|
}, "strip", z.ZodTypeAny, {
|
|
1292
|
-
name: string;
|
|
1293
1345
|
attribution: {
|
|
1294
1346
|
source: "merchant_challenge" | "external_metadata";
|
|
1295
1347
|
authority: "authoritative" | "advisory";
|
|
1296
1348
|
note?: string | undefined;
|
|
1297
1349
|
};
|
|
1350
|
+
name: string;
|
|
1298
1351
|
type?: string | undefined;
|
|
1299
1352
|
required?: boolean | undefined;
|
|
1300
1353
|
description?: string | undefined;
|
|
1301
1354
|
defaultValue?: unknown;
|
|
1302
1355
|
enumValues?: string[] | undefined;
|
|
1303
1356
|
}, {
|
|
1304
|
-
name: string;
|
|
1305
1357
|
attribution: {
|
|
1306
1358
|
source: "merchant_challenge" | "external_metadata";
|
|
1307
1359
|
authority: "authoritative" | "advisory";
|
|
1308
1360
|
note?: string | undefined;
|
|
1309
1361
|
};
|
|
1362
|
+
name: string;
|
|
1310
1363
|
type?: string | undefined;
|
|
1311
1364
|
required?: boolean | undefined;
|
|
1312
1365
|
description?: string | undefined;
|
|
@@ -1345,12 +1398,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1345
1398
|
}>, "many">>;
|
|
1346
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1347
1400
|
requestBodyFields: {
|
|
1348
|
-
name: string;
|
|
1349
1401
|
attribution: {
|
|
1350
1402
|
source: "merchant_challenge" | "external_metadata";
|
|
1351
1403
|
authority: "authoritative" | "advisory";
|
|
1352
1404
|
note?: string | undefined;
|
|
1353
1405
|
};
|
|
1406
|
+
name: string;
|
|
1354
1407
|
type?: string | undefined;
|
|
1355
1408
|
required?: boolean | undefined;
|
|
1356
1409
|
description?: string | undefined;
|
|
@@ -1358,12 +1411,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1358
1411
|
enumValues?: string[] | undefined;
|
|
1359
1412
|
}[];
|
|
1360
1413
|
requestQueryParams: {
|
|
1361
|
-
name: string;
|
|
1362
1414
|
attribution: {
|
|
1363
1415
|
source: "merchant_challenge" | "external_metadata";
|
|
1364
1416
|
authority: "authoritative" | "advisory";
|
|
1365
1417
|
note?: string | undefined;
|
|
1366
1418
|
};
|
|
1419
|
+
name: string;
|
|
1367
1420
|
type?: string | undefined;
|
|
1368
1421
|
required?: boolean | undefined;
|
|
1369
1422
|
description?: string | undefined;
|
|
@@ -1371,12 +1424,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1371
1424
|
enumValues?: string[] | undefined;
|
|
1372
1425
|
}[];
|
|
1373
1426
|
requestPathParams: {
|
|
1374
|
-
name: string;
|
|
1375
1427
|
attribution: {
|
|
1376
1428
|
source: "merchant_challenge" | "external_metadata";
|
|
1377
1429
|
authority: "authoritative" | "advisory";
|
|
1378
1430
|
note?: string | undefined;
|
|
1379
1431
|
};
|
|
1432
|
+
name: string;
|
|
1380
1433
|
type?: string | undefined;
|
|
1381
1434
|
required?: boolean | undefined;
|
|
1382
1435
|
description?: string | undefined;
|
|
@@ -1441,12 +1494,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1441
1494
|
};
|
|
1442
1495
|
} | undefined;
|
|
1443
1496
|
requestBodyFields?: {
|
|
1444
|
-
name: string;
|
|
1445
1497
|
attribution: {
|
|
1446
1498
|
source: "merchant_challenge" | "external_metadata";
|
|
1447
1499
|
authority: "authoritative" | "advisory";
|
|
1448
1500
|
note?: string | undefined;
|
|
1449
1501
|
};
|
|
1502
|
+
name: string;
|
|
1450
1503
|
type?: string | undefined;
|
|
1451
1504
|
required?: boolean | undefined;
|
|
1452
1505
|
description?: string | undefined;
|
|
@@ -1454,12 +1507,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1454
1507
|
enumValues?: string[] | undefined;
|
|
1455
1508
|
}[] | undefined;
|
|
1456
1509
|
requestQueryParams?: {
|
|
1457
|
-
name: string;
|
|
1458
1510
|
attribution: {
|
|
1459
1511
|
source: "merchant_challenge" | "external_metadata";
|
|
1460
1512
|
authority: "authoritative" | "advisory";
|
|
1461
1513
|
note?: string | undefined;
|
|
1462
1514
|
};
|
|
1515
|
+
name: string;
|
|
1463
1516
|
type?: string | undefined;
|
|
1464
1517
|
required?: boolean | undefined;
|
|
1465
1518
|
description?: string | undefined;
|
|
@@ -1467,12 +1520,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1467
1520
|
enumValues?: string[] | undefined;
|
|
1468
1521
|
}[] | undefined;
|
|
1469
1522
|
requestPathParams?: {
|
|
1470
|
-
name: string;
|
|
1471
1523
|
attribution: {
|
|
1472
1524
|
source: "merchant_challenge" | "external_metadata";
|
|
1473
1525
|
authority: "authoritative" | "advisory";
|
|
1474
1526
|
note?: string | undefined;
|
|
1475
1527
|
};
|
|
1528
|
+
name: string;
|
|
1476
1529
|
type?: string | undefined;
|
|
1477
1530
|
required?: boolean | undefined;
|
|
1478
1531
|
description?: string | undefined;
|
|
@@ -1528,23 +1581,23 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1528
1581
|
}>, "many">>;
|
|
1529
1582
|
nextAction: z.ZodEnum<["execute", "revise_request", "treat_as_passthrough"]>;
|
|
1530
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1531
|
-
protocol: "none";
|
|
1532
1584
|
kind: "passthrough";
|
|
1585
|
+
protocol: "none";
|
|
1533
1586
|
request: {
|
|
1534
|
-
url: string;
|
|
1535
1587
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1588
|
+
url: string;
|
|
1536
1589
|
headers?: Record<string, string> | undefined;
|
|
1537
1590
|
body?: string | undefined;
|
|
1538
1591
|
bodyHash?: string | undefined;
|
|
1539
1592
|
};
|
|
1540
1593
|
hints: {
|
|
1541
1594
|
requestBodyFields: {
|
|
1542
|
-
name: string;
|
|
1543
1595
|
attribution: {
|
|
1544
1596
|
source: "merchant_challenge" | "external_metadata";
|
|
1545
1597
|
authority: "authoritative" | "advisory";
|
|
1546
1598
|
note?: string | undefined;
|
|
1547
1599
|
};
|
|
1600
|
+
name: string;
|
|
1548
1601
|
type?: string | undefined;
|
|
1549
1602
|
required?: boolean | undefined;
|
|
1550
1603
|
description?: string | undefined;
|
|
@@ -1552,12 +1605,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1552
1605
|
enumValues?: string[] | undefined;
|
|
1553
1606
|
}[];
|
|
1554
1607
|
requestQueryParams: {
|
|
1555
|
-
name: string;
|
|
1556
1608
|
attribution: {
|
|
1557
1609
|
source: "merchant_challenge" | "external_metadata";
|
|
1558
1610
|
authority: "authoritative" | "advisory";
|
|
1559
1611
|
note?: string | undefined;
|
|
1560
1612
|
};
|
|
1613
|
+
name: string;
|
|
1561
1614
|
type?: string | undefined;
|
|
1562
1615
|
required?: boolean | undefined;
|
|
1563
1616
|
description?: string | undefined;
|
|
@@ -1565,12 +1618,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1565
1618
|
enumValues?: string[] | undefined;
|
|
1566
1619
|
}[];
|
|
1567
1620
|
requestPathParams: {
|
|
1568
|
-
name: string;
|
|
1569
1621
|
attribution: {
|
|
1570
1622
|
source: "merchant_challenge" | "external_metadata";
|
|
1571
1623
|
authority: "authoritative" | "advisory";
|
|
1572
1624
|
note?: string | undefined;
|
|
1573
1625
|
};
|
|
1626
|
+
name: string;
|
|
1574
1627
|
type?: string | undefined;
|
|
1575
1628
|
required?: boolean | undefined;
|
|
1576
1629
|
description?: string | undefined;
|
|
@@ -1626,11 +1679,11 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1626
1679
|
confirmedAt: string;
|
|
1627
1680
|
} | undefined;
|
|
1628
1681
|
}, {
|
|
1629
|
-
protocol: "none";
|
|
1630
1682
|
kind: "passthrough";
|
|
1683
|
+
protocol: "none";
|
|
1631
1684
|
request: {
|
|
1632
|
-
url: string;
|
|
1633
1685
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1686
|
+
url: string;
|
|
1634
1687
|
headers?: Record<string, string> | undefined;
|
|
1635
1688
|
body?: string | undefined;
|
|
1636
1689
|
bodyHash?: string | undefined;
|
|
@@ -1661,12 +1714,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1661
1714
|
};
|
|
1662
1715
|
} | undefined;
|
|
1663
1716
|
requestBodyFields?: {
|
|
1664
|
-
name: string;
|
|
1665
1717
|
attribution: {
|
|
1666
1718
|
source: "merchant_challenge" | "external_metadata";
|
|
1667
1719
|
authority: "authoritative" | "advisory";
|
|
1668
1720
|
note?: string | undefined;
|
|
1669
1721
|
};
|
|
1722
|
+
name: string;
|
|
1670
1723
|
type?: string | undefined;
|
|
1671
1724
|
required?: boolean | undefined;
|
|
1672
1725
|
description?: string | undefined;
|
|
@@ -1674,12 +1727,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1674
1727
|
enumValues?: string[] | undefined;
|
|
1675
1728
|
}[] | undefined;
|
|
1676
1729
|
requestQueryParams?: {
|
|
1677
|
-
name: string;
|
|
1678
1730
|
attribution: {
|
|
1679
1731
|
source: "merchant_challenge" | "external_metadata";
|
|
1680
1732
|
authority: "authoritative" | "advisory";
|
|
1681
1733
|
note?: string | undefined;
|
|
1682
1734
|
};
|
|
1735
|
+
name: string;
|
|
1683
1736
|
type?: string | undefined;
|
|
1684
1737
|
required?: boolean | undefined;
|
|
1685
1738
|
description?: string | undefined;
|
|
@@ -1687,12 +1740,12 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
|
|
|
1687
1740
|
enumValues?: string[] | undefined;
|
|
1688
1741
|
}[] | undefined;
|
|
1689
1742
|
requestPathParams?: {
|
|
1690
|
-
name: string;
|
|
1691
1743
|
attribution: {
|
|
1692
1744
|
source: "merchant_challenge" | "external_metadata";
|
|
1693
1745
|
authority: "authoritative" | "advisory";
|
|
1694
1746
|
note?: string | undefined;
|
|
1695
1747
|
};
|
|
1748
|
+
name: string;
|
|
1696
1749
|
type?: string | undefined;
|
|
1697
1750
|
required?: boolean | undefined;
|
|
1698
1751
|
description?: string | undefined;
|
|
@@ -1736,14 +1789,14 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
1736
1789
|
body: z.ZodOptional<z.ZodString>;
|
|
1737
1790
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
1738
1791
|
}, "strip", z.ZodTypeAny, {
|
|
1739
|
-
url: string;
|
|
1740
1792
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1793
|
+
url: string;
|
|
1741
1794
|
headers?: Record<string, string> | undefined;
|
|
1742
1795
|
body?: string | undefined;
|
|
1743
1796
|
bodyHash?: string | undefined;
|
|
1744
1797
|
}, {
|
|
1745
|
-
url: string;
|
|
1746
1798
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1799
|
+
url: string;
|
|
1747
1800
|
headers?: Record<string, string> | undefined;
|
|
1748
1801
|
body?: string | undefined;
|
|
1749
1802
|
bodyHash?: string | undefined;
|
|
@@ -2032,24 +2085,24 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2032
2085
|
note?: string | undefined;
|
|
2033
2086
|
}>;
|
|
2034
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2035
|
-
name: string;
|
|
2036
2088
|
attribution: {
|
|
2037
2089
|
source: "merchant_challenge" | "external_metadata";
|
|
2038
2090
|
authority: "authoritative" | "advisory";
|
|
2039
2091
|
note?: string | undefined;
|
|
2040
2092
|
};
|
|
2093
|
+
name: string;
|
|
2041
2094
|
type?: string | undefined;
|
|
2042
2095
|
required?: boolean | undefined;
|
|
2043
2096
|
description?: string | undefined;
|
|
2044
2097
|
defaultValue?: unknown;
|
|
2045
2098
|
enumValues?: string[] | undefined;
|
|
2046
2099
|
}, {
|
|
2047
|
-
name: string;
|
|
2048
2100
|
attribution: {
|
|
2049
2101
|
source: "merchant_challenge" | "external_metadata";
|
|
2050
2102
|
authority: "authoritative" | "advisory";
|
|
2051
2103
|
note?: string | undefined;
|
|
2052
2104
|
};
|
|
2105
|
+
name: string;
|
|
2053
2106
|
type?: string | undefined;
|
|
2054
2107
|
required?: boolean | undefined;
|
|
2055
2108
|
description?: string | undefined;
|
|
@@ -2078,24 +2131,24 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2078
2131
|
note?: string | undefined;
|
|
2079
2132
|
}>;
|
|
2080
2133
|
}, "strip", z.ZodTypeAny, {
|
|
2081
|
-
name: string;
|
|
2082
2134
|
attribution: {
|
|
2083
2135
|
source: "merchant_challenge" | "external_metadata";
|
|
2084
2136
|
authority: "authoritative" | "advisory";
|
|
2085
2137
|
note?: string | undefined;
|
|
2086
2138
|
};
|
|
2139
|
+
name: string;
|
|
2087
2140
|
type?: string | undefined;
|
|
2088
2141
|
required?: boolean | undefined;
|
|
2089
2142
|
description?: string | undefined;
|
|
2090
2143
|
defaultValue?: unknown;
|
|
2091
2144
|
enumValues?: string[] | undefined;
|
|
2092
2145
|
}, {
|
|
2093
|
-
name: string;
|
|
2094
2146
|
attribution: {
|
|
2095
2147
|
source: "merchant_challenge" | "external_metadata";
|
|
2096
2148
|
authority: "authoritative" | "advisory";
|
|
2097
2149
|
note?: string | undefined;
|
|
2098
2150
|
};
|
|
2151
|
+
name: string;
|
|
2099
2152
|
type?: string | undefined;
|
|
2100
2153
|
required?: boolean | undefined;
|
|
2101
2154
|
description?: string | undefined;
|
|
@@ -2124,24 +2177,24 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2124
2177
|
note?: string | undefined;
|
|
2125
2178
|
}>;
|
|
2126
2179
|
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
name: string;
|
|
2128
2180
|
attribution: {
|
|
2129
2181
|
source: "merchant_challenge" | "external_metadata";
|
|
2130
2182
|
authority: "authoritative" | "advisory";
|
|
2131
2183
|
note?: string | undefined;
|
|
2132
2184
|
};
|
|
2185
|
+
name: string;
|
|
2133
2186
|
type?: string | undefined;
|
|
2134
2187
|
required?: boolean | undefined;
|
|
2135
2188
|
description?: string | undefined;
|
|
2136
2189
|
defaultValue?: unknown;
|
|
2137
2190
|
enumValues?: string[] | undefined;
|
|
2138
2191
|
}, {
|
|
2139
|
-
name: string;
|
|
2140
2192
|
attribution: {
|
|
2141
2193
|
source: "merchant_challenge" | "external_metadata";
|
|
2142
2194
|
authority: "authoritative" | "advisory";
|
|
2143
2195
|
note?: string | undefined;
|
|
2144
2196
|
};
|
|
2197
|
+
name: string;
|
|
2145
2198
|
type?: string | undefined;
|
|
2146
2199
|
required?: boolean | undefined;
|
|
2147
2200
|
description?: string | undefined;
|
|
@@ -2180,12 +2233,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2180
2233
|
}>, "many">>;
|
|
2181
2234
|
}, "strip", z.ZodTypeAny, {
|
|
2182
2235
|
requestBodyFields: {
|
|
2183
|
-
name: string;
|
|
2184
2236
|
attribution: {
|
|
2185
2237
|
source: "merchant_challenge" | "external_metadata";
|
|
2186
2238
|
authority: "authoritative" | "advisory";
|
|
2187
2239
|
note?: string | undefined;
|
|
2188
2240
|
};
|
|
2241
|
+
name: string;
|
|
2189
2242
|
type?: string | undefined;
|
|
2190
2243
|
required?: boolean | undefined;
|
|
2191
2244
|
description?: string | undefined;
|
|
@@ -2193,12 +2246,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2193
2246
|
enumValues?: string[] | undefined;
|
|
2194
2247
|
}[];
|
|
2195
2248
|
requestQueryParams: {
|
|
2196
|
-
name: string;
|
|
2197
2249
|
attribution: {
|
|
2198
2250
|
source: "merchant_challenge" | "external_metadata";
|
|
2199
2251
|
authority: "authoritative" | "advisory";
|
|
2200
2252
|
note?: string | undefined;
|
|
2201
2253
|
};
|
|
2254
|
+
name: string;
|
|
2202
2255
|
type?: string | undefined;
|
|
2203
2256
|
required?: boolean | undefined;
|
|
2204
2257
|
description?: string | undefined;
|
|
@@ -2206,12 +2259,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2206
2259
|
enumValues?: string[] | undefined;
|
|
2207
2260
|
}[];
|
|
2208
2261
|
requestPathParams: {
|
|
2209
|
-
name: string;
|
|
2210
2262
|
attribution: {
|
|
2211
2263
|
source: "merchant_challenge" | "external_metadata";
|
|
2212
2264
|
authority: "authoritative" | "advisory";
|
|
2213
2265
|
note?: string | undefined;
|
|
2214
2266
|
};
|
|
2267
|
+
name: string;
|
|
2215
2268
|
type?: string | undefined;
|
|
2216
2269
|
required?: boolean | undefined;
|
|
2217
2270
|
description?: string | undefined;
|
|
@@ -2276,12 +2329,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2276
2329
|
};
|
|
2277
2330
|
} | undefined;
|
|
2278
2331
|
requestBodyFields?: {
|
|
2279
|
-
name: string;
|
|
2280
2332
|
attribution: {
|
|
2281
2333
|
source: "merchant_challenge" | "external_metadata";
|
|
2282
2334
|
authority: "authoritative" | "advisory";
|
|
2283
2335
|
note?: string | undefined;
|
|
2284
2336
|
};
|
|
2337
|
+
name: string;
|
|
2285
2338
|
type?: string | undefined;
|
|
2286
2339
|
required?: boolean | undefined;
|
|
2287
2340
|
description?: string | undefined;
|
|
@@ -2289,12 +2342,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2289
2342
|
enumValues?: string[] | undefined;
|
|
2290
2343
|
}[] | undefined;
|
|
2291
2344
|
requestQueryParams?: {
|
|
2292
|
-
name: string;
|
|
2293
2345
|
attribution: {
|
|
2294
2346
|
source: "merchant_challenge" | "external_metadata";
|
|
2295
2347
|
authority: "authoritative" | "advisory";
|
|
2296
2348
|
note?: string | undefined;
|
|
2297
2349
|
};
|
|
2350
|
+
name: string;
|
|
2298
2351
|
type?: string | undefined;
|
|
2299
2352
|
required?: boolean | undefined;
|
|
2300
2353
|
description?: string | undefined;
|
|
@@ -2302,12 +2355,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2302
2355
|
enumValues?: string[] | undefined;
|
|
2303
2356
|
}[] | undefined;
|
|
2304
2357
|
requestPathParams?: {
|
|
2305
|
-
name: string;
|
|
2306
2358
|
attribution: {
|
|
2307
2359
|
source: "merchant_challenge" | "external_metadata";
|
|
2308
2360
|
authority: "authoritative" | "advisory";
|
|
2309
2361
|
note?: string | undefined;
|
|
2310
2362
|
};
|
|
2363
|
+
name: string;
|
|
2311
2364
|
type?: string | undefined;
|
|
2312
2365
|
required?: boolean | undefined;
|
|
2313
2366
|
description?: string | undefined;
|
|
@@ -2363,23 +2416,23 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2363
2416
|
}>, "many">>;
|
|
2364
2417
|
nextAction: z.ZodEnum<["execute", "revise_request", "treat_as_passthrough"]>;
|
|
2365
2418
|
}, "strip", z.ZodTypeAny, {
|
|
2366
|
-
protocol: "x402" | "l402";
|
|
2367
2419
|
kind: "ready";
|
|
2420
|
+
protocol: "x402" | "l402";
|
|
2368
2421
|
request: {
|
|
2369
|
-
url: string;
|
|
2370
2422
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
2423
|
+
url: string;
|
|
2371
2424
|
headers?: Record<string, string> | undefined;
|
|
2372
2425
|
body?: string | undefined;
|
|
2373
2426
|
bodyHash?: string | undefined;
|
|
2374
2427
|
};
|
|
2375
2428
|
hints: {
|
|
2376
2429
|
requestBodyFields: {
|
|
2377
|
-
name: string;
|
|
2378
2430
|
attribution: {
|
|
2379
2431
|
source: "merchant_challenge" | "external_metadata";
|
|
2380
2432
|
authority: "authoritative" | "advisory";
|
|
2381
2433
|
note?: string | undefined;
|
|
2382
2434
|
};
|
|
2435
|
+
name: string;
|
|
2383
2436
|
type?: string | undefined;
|
|
2384
2437
|
required?: boolean | undefined;
|
|
2385
2438
|
description?: string | undefined;
|
|
@@ -2387,12 +2440,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2387
2440
|
enumValues?: string[] | undefined;
|
|
2388
2441
|
}[];
|
|
2389
2442
|
requestQueryParams: {
|
|
2390
|
-
name: string;
|
|
2391
2443
|
attribution: {
|
|
2392
2444
|
source: "merchant_challenge" | "external_metadata";
|
|
2393
2445
|
authority: "authoritative" | "advisory";
|
|
2394
2446
|
note?: string | undefined;
|
|
2395
2447
|
};
|
|
2448
|
+
name: string;
|
|
2396
2449
|
type?: string | undefined;
|
|
2397
2450
|
required?: boolean | undefined;
|
|
2398
2451
|
description?: string | undefined;
|
|
@@ -2400,12 +2453,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2400
2453
|
enumValues?: string[] | undefined;
|
|
2401
2454
|
}[];
|
|
2402
2455
|
requestPathParams: {
|
|
2403
|
-
name: string;
|
|
2404
2456
|
attribution: {
|
|
2405
2457
|
source: "merchant_challenge" | "external_metadata";
|
|
2406
2458
|
authority: "authoritative" | "advisory";
|
|
2407
2459
|
note?: string | undefined;
|
|
2408
2460
|
};
|
|
2461
|
+
name: string;
|
|
2409
2462
|
type?: string | undefined;
|
|
2410
2463
|
required?: boolean | undefined;
|
|
2411
2464
|
description?: string | undefined;
|
|
@@ -2506,11 +2559,11 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2506
2559
|
amountType?: "exact" | "max" | undefined;
|
|
2507
2560
|
} | undefined;
|
|
2508
2561
|
}, {
|
|
2509
|
-
protocol: "x402" | "l402";
|
|
2510
2562
|
kind: "ready";
|
|
2563
|
+
protocol: "x402" | "l402";
|
|
2511
2564
|
request: {
|
|
2512
|
-
url: string;
|
|
2513
2565
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
2566
|
+
url: string;
|
|
2514
2567
|
headers?: Record<string, string> | undefined;
|
|
2515
2568
|
body?: string | undefined;
|
|
2516
2569
|
bodyHash?: string | undefined;
|
|
@@ -2541,12 +2594,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2541
2594
|
};
|
|
2542
2595
|
} | undefined;
|
|
2543
2596
|
requestBodyFields?: {
|
|
2544
|
-
name: string;
|
|
2545
2597
|
attribution: {
|
|
2546
2598
|
source: "merchant_challenge" | "external_metadata";
|
|
2547
2599
|
authority: "authoritative" | "advisory";
|
|
2548
2600
|
note?: string | undefined;
|
|
2549
2601
|
};
|
|
2602
|
+
name: string;
|
|
2550
2603
|
type?: string | undefined;
|
|
2551
2604
|
required?: boolean | undefined;
|
|
2552
2605
|
description?: string | undefined;
|
|
@@ -2554,12 +2607,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2554
2607
|
enumValues?: string[] | undefined;
|
|
2555
2608
|
}[] | undefined;
|
|
2556
2609
|
requestQueryParams?: {
|
|
2557
|
-
name: string;
|
|
2558
2610
|
attribution: {
|
|
2559
2611
|
source: "merchant_challenge" | "external_metadata";
|
|
2560
2612
|
authority: "authoritative" | "advisory";
|
|
2561
2613
|
note?: string | undefined;
|
|
2562
2614
|
};
|
|
2615
|
+
name: string;
|
|
2563
2616
|
type?: string | undefined;
|
|
2564
2617
|
required?: boolean | undefined;
|
|
2565
2618
|
description?: string | undefined;
|
|
@@ -2567,12 +2620,12 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
|
|
|
2567
2620
|
enumValues?: string[] | undefined;
|
|
2568
2621
|
}[] | undefined;
|
|
2569
2622
|
requestPathParams?: {
|
|
2570
|
-
name: string;
|
|
2571
2623
|
attribution: {
|
|
2572
2624
|
source: "merchant_challenge" | "external_metadata";
|
|
2573
2625
|
authority: "authoritative" | "advisory";
|
|
2574
2626
|
note?: string | undefined;
|
|
2575
2627
|
};
|
|
2628
|
+
name: string;
|
|
2576
2629
|
type?: string | undefined;
|
|
2577
2630
|
required?: boolean | undefined;
|
|
2578
2631
|
description?: string | undefined;
|
|
@@ -2661,14 +2714,14 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2661
2714
|
body: z.ZodOptional<z.ZodString>;
|
|
2662
2715
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
2663
2716
|
}, "strip", z.ZodTypeAny, {
|
|
2664
|
-
url: string;
|
|
2665
2717
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
2718
|
+
url: string;
|
|
2666
2719
|
headers?: Record<string, string> | undefined;
|
|
2667
2720
|
body?: string | undefined;
|
|
2668
2721
|
bodyHash?: string | undefined;
|
|
2669
2722
|
}, {
|
|
2670
|
-
url: string;
|
|
2671
2723
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
2724
|
+
url: string;
|
|
2672
2725
|
headers?: Record<string, string> | undefined;
|
|
2673
2726
|
body?: string | undefined;
|
|
2674
2727
|
bodyHash?: string | undefined;
|
|
@@ -2786,24 +2839,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2786
2839
|
note?: string | undefined;
|
|
2787
2840
|
}>;
|
|
2788
2841
|
}, "strip", z.ZodTypeAny, {
|
|
2789
|
-
name: string;
|
|
2790
2842
|
attribution: {
|
|
2791
2843
|
source: "merchant_challenge" | "external_metadata";
|
|
2792
2844
|
authority: "authoritative" | "advisory";
|
|
2793
2845
|
note?: string | undefined;
|
|
2794
2846
|
};
|
|
2847
|
+
name: string;
|
|
2795
2848
|
type?: string | undefined;
|
|
2796
2849
|
required?: boolean | undefined;
|
|
2797
2850
|
description?: string | undefined;
|
|
2798
2851
|
defaultValue?: unknown;
|
|
2799
2852
|
enumValues?: string[] | undefined;
|
|
2800
2853
|
}, {
|
|
2801
|
-
name: string;
|
|
2802
2854
|
attribution: {
|
|
2803
2855
|
source: "merchant_challenge" | "external_metadata";
|
|
2804
2856
|
authority: "authoritative" | "advisory";
|
|
2805
2857
|
note?: string | undefined;
|
|
2806
2858
|
};
|
|
2859
|
+
name: string;
|
|
2807
2860
|
type?: string | undefined;
|
|
2808
2861
|
required?: boolean | undefined;
|
|
2809
2862
|
description?: string | undefined;
|
|
@@ -2832,24 +2885,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2832
2885
|
note?: string | undefined;
|
|
2833
2886
|
}>;
|
|
2834
2887
|
}, "strip", z.ZodTypeAny, {
|
|
2835
|
-
name: string;
|
|
2836
2888
|
attribution: {
|
|
2837
2889
|
source: "merchant_challenge" | "external_metadata";
|
|
2838
2890
|
authority: "authoritative" | "advisory";
|
|
2839
2891
|
note?: string | undefined;
|
|
2840
2892
|
};
|
|
2893
|
+
name: string;
|
|
2841
2894
|
type?: string | undefined;
|
|
2842
2895
|
required?: boolean | undefined;
|
|
2843
2896
|
description?: string | undefined;
|
|
2844
2897
|
defaultValue?: unknown;
|
|
2845
2898
|
enumValues?: string[] | undefined;
|
|
2846
2899
|
}, {
|
|
2847
|
-
name: string;
|
|
2848
2900
|
attribution: {
|
|
2849
2901
|
source: "merchant_challenge" | "external_metadata";
|
|
2850
2902
|
authority: "authoritative" | "advisory";
|
|
2851
2903
|
note?: string | undefined;
|
|
2852
2904
|
};
|
|
2905
|
+
name: string;
|
|
2853
2906
|
type?: string | undefined;
|
|
2854
2907
|
required?: boolean | undefined;
|
|
2855
2908
|
description?: string | undefined;
|
|
@@ -2878,24 +2931,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2878
2931
|
note?: string | undefined;
|
|
2879
2932
|
}>;
|
|
2880
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2881
|
-
name: string;
|
|
2882
2934
|
attribution: {
|
|
2883
2935
|
source: "merchant_challenge" | "external_metadata";
|
|
2884
2936
|
authority: "authoritative" | "advisory";
|
|
2885
2937
|
note?: string | undefined;
|
|
2886
2938
|
};
|
|
2939
|
+
name: string;
|
|
2887
2940
|
type?: string | undefined;
|
|
2888
2941
|
required?: boolean | undefined;
|
|
2889
2942
|
description?: string | undefined;
|
|
2890
2943
|
defaultValue?: unknown;
|
|
2891
2944
|
enumValues?: string[] | undefined;
|
|
2892
2945
|
}, {
|
|
2893
|
-
name: string;
|
|
2894
2946
|
attribution: {
|
|
2895
2947
|
source: "merchant_challenge" | "external_metadata";
|
|
2896
2948
|
authority: "authoritative" | "advisory";
|
|
2897
2949
|
note?: string | undefined;
|
|
2898
2950
|
};
|
|
2951
|
+
name: string;
|
|
2899
2952
|
type?: string | undefined;
|
|
2900
2953
|
required?: boolean | undefined;
|
|
2901
2954
|
description?: string | undefined;
|
|
@@ -2934,12 +2987,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2934
2987
|
}>, "many">>;
|
|
2935
2988
|
}, "strip", z.ZodTypeAny, {
|
|
2936
2989
|
requestBodyFields: {
|
|
2937
|
-
name: string;
|
|
2938
2990
|
attribution: {
|
|
2939
2991
|
source: "merchant_challenge" | "external_metadata";
|
|
2940
2992
|
authority: "authoritative" | "advisory";
|
|
2941
2993
|
note?: string | undefined;
|
|
2942
2994
|
};
|
|
2995
|
+
name: string;
|
|
2943
2996
|
type?: string | undefined;
|
|
2944
2997
|
required?: boolean | undefined;
|
|
2945
2998
|
description?: string | undefined;
|
|
@@ -2947,12 +3000,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2947
3000
|
enumValues?: string[] | undefined;
|
|
2948
3001
|
}[];
|
|
2949
3002
|
requestQueryParams: {
|
|
2950
|
-
name: string;
|
|
2951
3003
|
attribution: {
|
|
2952
3004
|
source: "merchant_challenge" | "external_metadata";
|
|
2953
3005
|
authority: "authoritative" | "advisory";
|
|
2954
3006
|
note?: string | undefined;
|
|
2955
3007
|
};
|
|
3008
|
+
name: string;
|
|
2956
3009
|
type?: string | undefined;
|
|
2957
3010
|
required?: boolean | undefined;
|
|
2958
3011
|
description?: string | undefined;
|
|
@@ -2960,12 +3013,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
2960
3013
|
enumValues?: string[] | undefined;
|
|
2961
3014
|
}[];
|
|
2962
3015
|
requestPathParams: {
|
|
2963
|
-
name: string;
|
|
2964
3016
|
attribution: {
|
|
2965
3017
|
source: "merchant_challenge" | "external_metadata";
|
|
2966
3018
|
authority: "authoritative" | "advisory";
|
|
2967
3019
|
note?: string | undefined;
|
|
2968
3020
|
};
|
|
3021
|
+
name: string;
|
|
2969
3022
|
type?: string | undefined;
|
|
2970
3023
|
required?: boolean | undefined;
|
|
2971
3024
|
description?: string | undefined;
|
|
@@ -3030,12 +3083,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3030
3083
|
};
|
|
3031
3084
|
} | undefined;
|
|
3032
3085
|
requestBodyFields?: {
|
|
3033
|
-
name: string;
|
|
3034
3086
|
attribution: {
|
|
3035
3087
|
source: "merchant_challenge" | "external_metadata";
|
|
3036
3088
|
authority: "authoritative" | "advisory";
|
|
3037
3089
|
note?: string | undefined;
|
|
3038
3090
|
};
|
|
3091
|
+
name: string;
|
|
3039
3092
|
type?: string | undefined;
|
|
3040
3093
|
required?: boolean | undefined;
|
|
3041
3094
|
description?: string | undefined;
|
|
@@ -3043,12 +3096,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3043
3096
|
enumValues?: string[] | undefined;
|
|
3044
3097
|
}[] | undefined;
|
|
3045
3098
|
requestQueryParams?: {
|
|
3046
|
-
name: string;
|
|
3047
3099
|
attribution: {
|
|
3048
3100
|
source: "merchant_challenge" | "external_metadata";
|
|
3049
3101
|
authority: "authoritative" | "advisory";
|
|
3050
3102
|
note?: string | undefined;
|
|
3051
3103
|
};
|
|
3104
|
+
name: string;
|
|
3052
3105
|
type?: string | undefined;
|
|
3053
3106
|
required?: boolean | undefined;
|
|
3054
3107
|
description?: string | undefined;
|
|
@@ -3056,12 +3109,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3056
3109
|
enumValues?: string[] | undefined;
|
|
3057
3110
|
}[] | undefined;
|
|
3058
3111
|
requestPathParams?: {
|
|
3059
|
-
name: string;
|
|
3060
3112
|
attribution: {
|
|
3061
3113
|
source: "merchant_challenge" | "external_metadata";
|
|
3062
3114
|
authority: "authoritative" | "advisory";
|
|
3063
3115
|
note?: string | undefined;
|
|
3064
3116
|
};
|
|
3117
|
+
name: string;
|
|
3065
3118
|
type?: string | undefined;
|
|
3066
3119
|
required?: boolean | undefined;
|
|
3067
3120
|
description?: string | undefined;
|
|
@@ -3117,23 +3170,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3117
3170
|
}>, "many">>;
|
|
3118
3171
|
nextAction: z.ZodEnum<["execute", "revise_request", "treat_as_passthrough"]>;
|
|
3119
3172
|
}, "strip", z.ZodTypeAny, {
|
|
3120
|
-
protocol: "none";
|
|
3121
3173
|
kind: "passthrough";
|
|
3174
|
+
protocol: "none";
|
|
3122
3175
|
request: {
|
|
3123
|
-
url: string;
|
|
3124
3176
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
3177
|
+
url: string;
|
|
3125
3178
|
headers?: Record<string, string> | undefined;
|
|
3126
3179
|
body?: string | undefined;
|
|
3127
3180
|
bodyHash?: string | undefined;
|
|
3128
3181
|
};
|
|
3129
3182
|
hints: {
|
|
3130
3183
|
requestBodyFields: {
|
|
3131
|
-
name: string;
|
|
3132
3184
|
attribution: {
|
|
3133
3185
|
source: "merchant_challenge" | "external_metadata";
|
|
3134
3186
|
authority: "authoritative" | "advisory";
|
|
3135
3187
|
note?: string | undefined;
|
|
3136
3188
|
};
|
|
3189
|
+
name: string;
|
|
3137
3190
|
type?: string | undefined;
|
|
3138
3191
|
required?: boolean | undefined;
|
|
3139
3192
|
description?: string | undefined;
|
|
@@ -3141,12 +3194,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3141
3194
|
enumValues?: string[] | undefined;
|
|
3142
3195
|
}[];
|
|
3143
3196
|
requestQueryParams: {
|
|
3144
|
-
name: string;
|
|
3145
3197
|
attribution: {
|
|
3146
3198
|
source: "merchant_challenge" | "external_metadata";
|
|
3147
3199
|
authority: "authoritative" | "advisory";
|
|
3148
3200
|
note?: string | undefined;
|
|
3149
3201
|
};
|
|
3202
|
+
name: string;
|
|
3150
3203
|
type?: string | undefined;
|
|
3151
3204
|
required?: boolean | undefined;
|
|
3152
3205
|
description?: string | undefined;
|
|
@@ -3154,12 +3207,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3154
3207
|
enumValues?: string[] | undefined;
|
|
3155
3208
|
}[];
|
|
3156
3209
|
requestPathParams: {
|
|
3157
|
-
name: string;
|
|
3158
3210
|
attribution: {
|
|
3159
3211
|
source: "merchant_challenge" | "external_metadata";
|
|
3160
3212
|
authority: "authoritative" | "advisory";
|
|
3161
3213
|
note?: string | undefined;
|
|
3162
3214
|
};
|
|
3215
|
+
name: string;
|
|
3163
3216
|
type?: string | undefined;
|
|
3164
3217
|
required?: boolean | undefined;
|
|
3165
3218
|
description?: string | undefined;
|
|
@@ -3215,11 +3268,11 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3215
3268
|
confirmedAt: string;
|
|
3216
3269
|
} | undefined;
|
|
3217
3270
|
}, {
|
|
3218
|
-
protocol: "none";
|
|
3219
3271
|
kind: "passthrough";
|
|
3272
|
+
protocol: "none";
|
|
3220
3273
|
request: {
|
|
3221
|
-
url: string;
|
|
3222
3274
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
3275
|
+
url: string;
|
|
3223
3276
|
headers?: Record<string, string> | undefined;
|
|
3224
3277
|
body?: string | undefined;
|
|
3225
3278
|
bodyHash?: string | undefined;
|
|
@@ -3250,12 +3303,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3250
3303
|
};
|
|
3251
3304
|
} | undefined;
|
|
3252
3305
|
requestBodyFields?: {
|
|
3253
|
-
name: string;
|
|
3254
3306
|
attribution: {
|
|
3255
3307
|
source: "merchant_challenge" | "external_metadata";
|
|
3256
3308
|
authority: "authoritative" | "advisory";
|
|
3257
3309
|
note?: string | undefined;
|
|
3258
3310
|
};
|
|
3311
|
+
name: string;
|
|
3259
3312
|
type?: string | undefined;
|
|
3260
3313
|
required?: boolean | undefined;
|
|
3261
3314
|
description?: string | undefined;
|
|
@@ -3263,12 +3316,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3263
3316
|
enumValues?: string[] | undefined;
|
|
3264
3317
|
}[] | undefined;
|
|
3265
3318
|
requestQueryParams?: {
|
|
3266
|
-
name: string;
|
|
3267
3319
|
attribution: {
|
|
3268
3320
|
source: "merchant_challenge" | "external_metadata";
|
|
3269
3321
|
authority: "authoritative" | "advisory";
|
|
3270
3322
|
note?: string | undefined;
|
|
3271
3323
|
};
|
|
3324
|
+
name: string;
|
|
3272
3325
|
type?: string | undefined;
|
|
3273
3326
|
required?: boolean | undefined;
|
|
3274
3327
|
description?: string | undefined;
|
|
@@ -3276,12 +3329,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3276
3329
|
enumValues?: string[] | undefined;
|
|
3277
3330
|
}[] | undefined;
|
|
3278
3331
|
requestPathParams?: {
|
|
3279
|
-
name: string;
|
|
3280
3332
|
attribution: {
|
|
3281
3333
|
source: "merchant_challenge" | "external_metadata";
|
|
3282
3334
|
authority: "authoritative" | "advisory";
|
|
3283
3335
|
note?: string | undefined;
|
|
3284
3336
|
};
|
|
3337
|
+
name: string;
|
|
3285
3338
|
type?: string | undefined;
|
|
3286
3339
|
required?: boolean | undefined;
|
|
3287
3340
|
description?: string | undefined;
|
|
@@ -3322,14 +3375,14 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3322
3375
|
body: z.ZodOptional<z.ZodString>;
|
|
3323
3376
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
3324
3377
|
}, "strip", z.ZodTypeAny, {
|
|
3325
|
-
url: string;
|
|
3326
3378
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
3379
|
+
url: string;
|
|
3327
3380
|
headers?: Record<string, string> | undefined;
|
|
3328
3381
|
body?: string | undefined;
|
|
3329
3382
|
bodyHash?: string | undefined;
|
|
3330
3383
|
}, {
|
|
3331
|
-
url: string;
|
|
3332
3384
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
3385
|
+
url: string;
|
|
3333
3386
|
headers?: Record<string, string> | undefined;
|
|
3334
3387
|
body?: string | undefined;
|
|
3335
3388
|
bodyHash?: string | undefined;
|
|
@@ -3618,24 +3671,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3618
3671
|
note?: string | undefined;
|
|
3619
3672
|
}>;
|
|
3620
3673
|
}, "strip", z.ZodTypeAny, {
|
|
3621
|
-
name: string;
|
|
3622
3674
|
attribution: {
|
|
3623
3675
|
source: "merchant_challenge" | "external_metadata";
|
|
3624
3676
|
authority: "authoritative" | "advisory";
|
|
3625
3677
|
note?: string | undefined;
|
|
3626
3678
|
};
|
|
3679
|
+
name: string;
|
|
3627
3680
|
type?: string | undefined;
|
|
3628
3681
|
required?: boolean | undefined;
|
|
3629
3682
|
description?: string | undefined;
|
|
3630
3683
|
defaultValue?: unknown;
|
|
3631
3684
|
enumValues?: string[] | undefined;
|
|
3632
3685
|
}, {
|
|
3633
|
-
name: string;
|
|
3634
3686
|
attribution: {
|
|
3635
3687
|
source: "merchant_challenge" | "external_metadata";
|
|
3636
3688
|
authority: "authoritative" | "advisory";
|
|
3637
3689
|
note?: string | undefined;
|
|
3638
3690
|
};
|
|
3691
|
+
name: string;
|
|
3639
3692
|
type?: string | undefined;
|
|
3640
3693
|
required?: boolean | undefined;
|
|
3641
3694
|
description?: string | undefined;
|
|
@@ -3664,24 +3717,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3664
3717
|
note?: string | undefined;
|
|
3665
3718
|
}>;
|
|
3666
3719
|
}, "strip", z.ZodTypeAny, {
|
|
3667
|
-
name: string;
|
|
3668
3720
|
attribution: {
|
|
3669
3721
|
source: "merchant_challenge" | "external_metadata";
|
|
3670
3722
|
authority: "authoritative" | "advisory";
|
|
3671
3723
|
note?: string | undefined;
|
|
3672
3724
|
};
|
|
3725
|
+
name: string;
|
|
3673
3726
|
type?: string | undefined;
|
|
3674
3727
|
required?: boolean | undefined;
|
|
3675
3728
|
description?: string | undefined;
|
|
3676
3729
|
defaultValue?: unknown;
|
|
3677
3730
|
enumValues?: string[] | undefined;
|
|
3678
3731
|
}, {
|
|
3679
|
-
name: string;
|
|
3680
3732
|
attribution: {
|
|
3681
3733
|
source: "merchant_challenge" | "external_metadata";
|
|
3682
3734
|
authority: "authoritative" | "advisory";
|
|
3683
3735
|
note?: string | undefined;
|
|
3684
3736
|
};
|
|
3737
|
+
name: string;
|
|
3685
3738
|
type?: string | undefined;
|
|
3686
3739
|
required?: boolean | undefined;
|
|
3687
3740
|
description?: string | undefined;
|
|
@@ -3710,24 +3763,24 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3710
3763
|
note?: string | undefined;
|
|
3711
3764
|
}>;
|
|
3712
3765
|
}, "strip", z.ZodTypeAny, {
|
|
3713
|
-
name: string;
|
|
3714
3766
|
attribution: {
|
|
3715
3767
|
source: "merchant_challenge" | "external_metadata";
|
|
3716
3768
|
authority: "authoritative" | "advisory";
|
|
3717
3769
|
note?: string | undefined;
|
|
3718
3770
|
};
|
|
3771
|
+
name: string;
|
|
3719
3772
|
type?: string | undefined;
|
|
3720
3773
|
required?: boolean | undefined;
|
|
3721
3774
|
description?: string | undefined;
|
|
3722
3775
|
defaultValue?: unknown;
|
|
3723
3776
|
enumValues?: string[] | undefined;
|
|
3724
3777
|
}, {
|
|
3725
|
-
name: string;
|
|
3726
3778
|
attribution: {
|
|
3727
3779
|
source: "merchant_challenge" | "external_metadata";
|
|
3728
3780
|
authority: "authoritative" | "advisory";
|
|
3729
3781
|
note?: string | undefined;
|
|
3730
3782
|
};
|
|
3783
|
+
name: string;
|
|
3731
3784
|
type?: string | undefined;
|
|
3732
3785
|
required?: boolean | undefined;
|
|
3733
3786
|
description?: string | undefined;
|
|
@@ -3766,12 +3819,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3766
3819
|
}>, "many">>;
|
|
3767
3820
|
}, "strip", z.ZodTypeAny, {
|
|
3768
3821
|
requestBodyFields: {
|
|
3769
|
-
name: string;
|
|
3770
3822
|
attribution: {
|
|
3771
3823
|
source: "merchant_challenge" | "external_metadata";
|
|
3772
3824
|
authority: "authoritative" | "advisory";
|
|
3773
3825
|
note?: string | undefined;
|
|
3774
3826
|
};
|
|
3827
|
+
name: string;
|
|
3775
3828
|
type?: string | undefined;
|
|
3776
3829
|
required?: boolean | undefined;
|
|
3777
3830
|
description?: string | undefined;
|
|
@@ -3779,12 +3832,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3779
3832
|
enumValues?: string[] | undefined;
|
|
3780
3833
|
}[];
|
|
3781
3834
|
requestQueryParams: {
|
|
3782
|
-
name: string;
|
|
3783
3835
|
attribution: {
|
|
3784
3836
|
source: "merchant_challenge" | "external_metadata";
|
|
3785
3837
|
authority: "authoritative" | "advisory";
|
|
3786
3838
|
note?: string | undefined;
|
|
3787
3839
|
};
|
|
3840
|
+
name: string;
|
|
3788
3841
|
type?: string | undefined;
|
|
3789
3842
|
required?: boolean | undefined;
|
|
3790
3843
|
description?: string | undefined;
|
|
@@ -3792,12 +3845,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3792
3845
|
enumValues?: string[] | undefined;
|
|
3793
3846
|
}[];
|
|
3794
3847
|
requestPathParams: {
|
|
3795
|
-
name: string;
|
|
3796
3848
|
attribution: {
|
|
3797
3849
|
source: "merchant_challenge" | "external_metadata";
|
|
3798
3850
|
authority: "authoritative" | "advisory";
|
|
3799
3851
|
note?: string | undefined;
|
|
3800
3852
|
};
|
|
3853
|
+
name: string;
|
|
3801
3854
|
type?: string | undefined;
|
|
3802
3855
|
required?: boolean | undefined;
|
|
3803
3856
|
description?: string | undefined;
|
|
@@ -3862,12 +3915,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3862
3915
|
};
|
|
3863
3916
|
} | undefined;
|
|
3864
3917
|
requestBodyFields?: {
|
|
3865
|
-
name: string;
|
|
3866
3918
|
attribution: {
|
|
3867
3919
|
source: "merchant_challenge" | "external_metadata";
|
|
3868
3920
|
authority: "authoritative" | "advisory";
|
|
3869
3921
|
note?: string | undefined;
|
|
3870
3922
|
};
|
|
3923
|
+
name: string;
|
|
3871
3924
|
type?: string | undefined;
|
|
3872
3925
|
required?: boolean | undefined;
|
|
3873
3926
|
description?: string | undefined;
|
|
@@ -3875,12 +3928,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3875
3928
|
enumValues?: string[] | undefined;
|
|
3876
3929
|
}[] | undefined;
|
|
3877
3930
|
requestQueryParams?: {
|
|
3878
|
-
name: string;
|
|
3879
3931
|
attribution: {
|
|
3880
3932
|
source: "merchant_challenge" | "external_metadata";
|
|
3881
3933
|
authority: "authoritative" | "advisory";
|
|
3882
3934
|
note?: string | undefined;
|
|
3883
3935
|
};
|
|
3936
|
+
name: string;
|
|
3884
3937
|
type?: string | undefined;
|
|
3885
3938
|
required?: boolean | undefined;
|
|
3886
3939
|
description?: string | undefined;
|
|
@@ -3888,12 +3941,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3888
3941
|
enumValues?: string[] | undefined;
|
|
3889
3942
|
}[] | undefined;
|
|
3890
3943
|
requestPathParams?: {
|
|
3891
|
-
name: string;
|
|
3892
3944
|
attribution: {
|
|
3893
3945
|
source: "merchant_challenge" | "external_metadata";
|
|
3894
3946
|
authority: "authoritative" | "advisory";
|
|
3895
3947
|
note?: string | undefined;
|
|
3896
3948
|
};
|
|
3949
|
+
name: string;
|
|
3897
3950
|
type?: string | undefined;
|
|
3898
3951
|
required?: boolean | undefined;
|
|
3899
3952
|
description?: string | undefined;
|
|
@@ -3949,23 +4002,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3949
4002
|
}>, "many">>;
|
|
3950
4003
|
nextAction: z.ZodEnum<["execute", "revise_request", "treat_as_passthrough"]>;
|
|
3951
4004
|
}, "strip", z.ZodTypeAny, {
|
|
3952
|
-
protocol: "x402" | "l402";
|
|
3953
4005
|
kind: "ready";
|
|
4006
|
+
protocol: "x402" | "l402";
|
|
3954
4007
|
request: {
|
|
3955
|
-
url: string;
|
|
3956
4008
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4009
|
+
url: string;
|
|
3957
4010
|
headers?: Record<string, string> | undefined;
|
|
3958
4011
|
body?: string | undefined;
|
|
3959
4012
|
bodyHash?: string | undefined;
|
|
3960
4013
|
};
|
|
3961
4014
|
hints: {
|
|
3962
4015
|
requestBodyFields: {
|
|
3963
|
-
name: string;
|
|
3964
4016
|
attribution: {
|
|
3965
4017
|
source: "merchant_challenge" | "external_metadata";
|
|
3966
4018
|
authority: "authoritative" | "advisory";
|
|
3967
4019
|
note?: string | undefined;
|
|
3968
4020
|
};
|
|
4021
|
+
name: string;
|
|
3969
4022
|
type?: string | undefined;
|
|
3970
4023
|
required?: boolean | undefined;
|
|
3971
4024
|
description?: string | undefined;
|
|
@@ -3973,12 +4026,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3973
4026
|
enumValues?: string[] | undefined;
|
|
3974
4027
|
}[];
|
|
3975
4028
|
requestQueryParams: {
|
|
3976
|
-
name: string;
|
|
3977
4029
|
attribution: {
|
|
3978
4030
|
source: "merchant_challenge" | "external_metadata";
|
|
3979
4031
|
authority: "authoritative" | "advisory";
|
|
3980
4032
|
note?: string | undefined;
|
|
3981
4033
|
};
|
|
4034
|
+
name: string;
|
|
3982
4035
|
type?: string | undefined;
|
|
3983
4036
|
required?: boolean | undefined;
|
|
3984
4037
|
description?: string | undefined;
|
|
@@ -3986,12 +4039,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
3986
4039
|
enumValues?: string[] | undefined;
|
|
3987
4040
|
}[];
|
|
3988
4041
|
requestPathParams: {
|
|
3989
|
-
name: string;
|
|
3990
4042
|
attribution: {
|
|
3991
4043
|
source: "merchant_challenge" | "external_metadata";
|
|
3992
4044
|
authority: "authoritative" | "advisory";
|
|
3993
4045
|
note?: string | undefined;
|
|
3994
4046
|
};
|
|
4047
|
+
name: string;
|
|
3995
4048
|
type?: string | undefined;
|
|
3996
4049
|
required?: boolean | undefined;
|
|
3997
4050
|
description?: string | undefined;
|
|
@@ -4092,11 +4145,11 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
4092
4145
|
amountType?: "exact" | "max" | undefined;
|
|
4093
4146
|
} | undefined;
|
|
4094
4147
|
}, {
|
|
4095
|
-
protocol: "x402" | "l402";
|
|
4096
4148
|
kind: "ready";
|
|
4149
|
+
protocol: "x402" | "l402";
|
|
4097
4150
|
request: {
|
|
4098
|
-
url: string;
|
|
4099
4151
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4152
|
+
url: string;
|
|
4100
4153
|
headers?: Record<string, string> | undefined;
|
|
4101
4154
|
body?: string | undefined;
|
|
4102
4155
|
bodyHash?: string | undefined;
|
|
@@ -4127,12 +4180,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
4127
4180
|
};
|
|
4128
4181
|
} | undefined;
|
|
4129
4182
|
requestBodyFields?: {
|
|
4130
|
-
name: string;
|
|
4131
4183
|
attribution: {
|
|
4132
4184
|
source: "merchant_challenge" | "external_metadata";
|
|
4133
4185
|
authority: "authoritative" | "advisory";
|
|
4134
4186
|
note?: string | undefined;
|
|
4135
4187
|
};
|
|
4188
|
+
name: string;
|
|
4136
4189
|
type?: string | undefined;
|
|
4137
4190
|
required?: boolean | undefined;
|
|
4138
4191
|
description?: string | undefined;
|
|
@@ -4140,12 +4193,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
4140
4193
|
enumValues?: string[] | undefined;
|
|
4141
4194
|
}[] | undefined;
|
|
4142
4195
|
requestQueryParams?: {
|
|
4143
|
-
name: string;
|
|
4144
4196
|
attribution: {
|
|
4145
4197
|
source: "merchant_challenge" | "external_metadata";
|
|
4146
4198
|
authority: "authoritative" | "advisory";
|
|
4147
4199
|
note?: string | undefined;
|
|
4148
4200
|
};
|
|
4201
|
+
name: string;
|
|
4149
4202
|
type?: string | undefined;
|
|
4150
4203
|
required?: boolean | undefined;
|
|
4151
4204
|
description?: string | undefined;
|
|
@@ -4153,12 +4206,12 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
|
|
|
4153
4206
|
enumValues?: string[] | undefined;
|
|
4154
4207
|
}[] | undefined;
|
|
4155
4208
|
requestPathParams?: {
|
|
4156
|
-
name: string;
|
|
4157
4209
|
attribution: {
|
|
4158
4210
|
source: "merchant_challenge" | "external_metadata";
|
|
4159
4211
|
authority: "authoritative" | "advisory";
|
|
4160
4212
|
note?: string | undefined;
|
|
4161
4213
|
};
|
|
4214
|
+
name: string;
|
|
4162
4215
|
type?: string | undefined;
|
|
4163
4216
|
required?: boolean | undefined;
|
|
4164
4217
|
description?: string | undefined;
|
|
@@ -4243,16 +4296,69 @@ export declare const sdkPaymentDecisionRequestSchema: z.ZodObject<{
|
|
|
4243
4296
|
agent: z.ZodString;
|
|
4244
4297
|
description: z.ZodOptional<z.ZodString>;
|
|
4245
4298
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4299
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
4300
|
+
discoverySource: z.ZodOptional<z.ZodEnum<["coinbase_bazaar", "dexter", "pay_sh", "x402scan", "manual", "direct", "observed", "imported", "unknown"]>>;
|
|
4301
|
+
resourceIdentity: z.ZodOptional<z.ZodObject<{
|
|
4302
|
+
kind: z.ZodLiteral<"http_endpoint">;
|
|
4303
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
4304
|
+
canonicalUrl: z.ZodString;
|
|
4305
|
+
canonicalKey: z.ZodString;
|
|
4306
|
+
}, "strip", z.ZodTypeAny, {
|
|
4307
|
+
kind: "http_endpoint";
|
|
4308
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4309
|
+
canonicalUrl: string;
|
|
4310
|
+
canonicalKey: string;
|
|
4311
|
+
}, {
|
|
4312
|
+
kind: "http_endpoint";
|
|
4313
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4314
|
+
canonicalUrl: string;
|
|
4315
|
+
canonicalKey: string;
|
|
4316
|
+
}>>;
|
|
4317
|
+
}, "strip", z.ZodTypeAny, {
|
|
4318
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4319
|
+
resourceIdentity?: {
|
|
4320
|
+
kind: "http_endpoint";
|
|
4321
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4322
|
+
canonicalUrl: string;
|
|
4323
|
+
canonicalKey: string;
|
|
4324
|
+
} | undefined;
|
|
4325
|
+
}, {
|
|
4326
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4327
|
+
resourceIdentity?: {
|
|
4328
|
+
kind: "http_endpoint";
|
|
4329
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4330
|
+
canonicalUrl: string;
|
|
4331
|
+
canonicalKey: string;
|
|
4332
|
+
} | undefined;
|
|
4333
|
+
}>>;
|
|
4246
4334
|
}, "strip", z.ZodTypeAny, {
|
|
4247
4335
|
organization: string;
|
|
4248
4336
|
agent: string;
|
|
4249
4337
|
description?: string | undefined;
|
|
4250
4338
|
metadata?: Record<string, unknown> | undefined;
|
|
4339
|
+
attribution?: {
|
|
4340
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4341
|
+
resourceIdentity?: {
|
|
4342
|
+
kind: "http_endpoint";
|
|
4343
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4344
|
+
canonicalUrl: string;
|
|
4345
|
+
canonicalKey: string;
|
|
4346
|
+
} | undefined;
|
|
4347
|
+
} | undefined;
|
|
4251
4348
|
}, {
|
|
4252
4349
|
organization: string;
|
|
4253
4350
|
agent: string;
|
|
4254
4351
|
description?: string | undefined;
|
|
4255
4352
|
metadata?: Record<string, unknown> | undefined;
|
|
4353
|
+
attribution?: {
|
|
4354
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4355
|
+
resourceIdentity?: {
|
|
4356
|
+
kind: "http_endpoint";
|
|
4357
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4358
|
+
canonicalUrl: string;
|
|
4359
|
+
canonicalKey: string;
|
|
4360
|
+
} | undefined;
|
|
4361
|
+
} | undefined;
|
|
4256
4362
|
}>;
|
|
4257
4363
|
request: z.ZodObject<{
|
|
4258
4364
|
url: z.ZodString;
|
|
@@ -4261,14 +4367,14 @@ export declare const sdkPaymentDecisionRequestSchema: z.ZodObject<{
|
|
|
4261
4367
|
body: z.ZodOptional<z.ZodString>;
|
|
4262
4368
|
bodyHash: z.ZodOptional<z.ZodString>;
|
|
4263
4369
|
}, "strip", z.ZodTypeAny, {
|
|
4264
|
-
url: string;
|
|
4265
4370
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4371
|
+
url: string;
|
|
4266
4372
|
headers?: Record<string, string> | undefined;
|
|
4267
4373
|
body?: string | undefined;
|
|
4268
4374
|
bodyHash?: string | undefined;
|
|
4269
4375
|
}, {
|
|
4270
|
-
url: string;
|
|
4271
4376
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4377
|
+
url: string;
|
|
4272
4378
|
headers?: Record<string, string> | undefined;
|
|
4273
4379
|
body?: string | undefined;
|
|
4274
4380
|
bodyHash?: string | undefined;
|
|
@@ -4289,8 +4395,8 @@ export declare const sdkPaymentDecisionRequestSchema: z.ZodObject<{
|
|
|
4289
4395
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
4290
4396
|
}, "strip", z.ZodTypeAny, {
|
|
4291
4397
|
request: {
|
|
4292
|
-
url: string;
|
|
4293
4398
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4399
|
+
url: string;
|
|
4294
4400
|
headers?: Record<string, string> | undefined;
|
|
4295
4401
|
body?: string | undefined;
|
|
4296
4402
|
bodyHash?: string | undefined;
|
|
@@ -4305,12 +4411,21 @@ export declare const sdkPaymentDecisionRequestSchema: z.ZodObject<{
|
|
|
4305
4411
|
agent: string;
|
|
4306
4412
|
description?: string | undefined;
|
|
4307
4413
|
metadata?: Record<string, unknown> | undefined;
|
|
4414
|
+
attribution?: {
|
|
4415
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4416
|
+
resourceIdentity?: {
|
|
4417
|
+
kind: "http_endpoint";
|
|
4418
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4419
|
+
canonicalUrl: string;
|
|
4420
|
+
canonicalKey: string;
|
|
4421
|
+
} | undefined;
|
|
4422
|
+
} | undefined;
|
|
4308
4423
|
};
|
|
4309
4424
|
idempotencyKey?: string | undefined;
|
|
4310
4425
|
}, {
|
|
4311
4426
|
request: {
|
|
4312
|
-
url: string;
|
|
4313
4427
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4428
|
+
url: string;
|
|
4314
4429
|
headers?: Record<string, string> | undefined;
|
|
4315
4430
|
body?: string | undefined;
|
|
4316
4431
|
bodyHash?: string | undefined;
|
|
@@ -4325,6 +4440,15 @@ export declare const sdkPaymentDecisionRequestSchema: z.ZodObject<{
|
|
|
4325
4440
|
agent: string;
|
|
4326
4441
|
description?: string | undefined;
|
|
4327
4442
|
metadata?: Record<string, unknown> | undefined;
|
|
4443
|
+
attribution?: {
|
|
4444
|
+
discoverySource?: "coinbase_bazaar" | "dexter" | "pay_sh" | "x402scan" | "manual" | "direct" | "observed" | "imported" | "unknown" | undefined;
|
|
4445
|
+
resourceIdentity?: {
|
|
4446
|
+
kind: "http_endpoint";
|
|
4447
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
4448
|
+
canonicalUrl: string;
|
|
4449
|
+
canonicalKey: string;
|
|
4450
|
+
} | undefined;
|
|
4451
|
+
} | undefined;
|
|
4328
4452
|
};
|
|
4329
4453
|
idempotencyKey?: string | undefined;
|
|
4330
4454
|
}>;
|