@strimz/shared-types 0.5.0 → 0.6.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/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/api-keys.cjs +5 -1
- package/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.d.cts +18 -18
- package/dist/api-keys.d.ts +18 -18
- package/dist/api-keys.js +5 -1
- package/dist/api-keys.js.map +1 -1
- package/dist/compliance.d.cts +4 -4
- package/dist/compliance.d.ts +4 -4
- package/dist/customers.d.cts +2 -2
- package/dist/customers.d.ts +2 -2
- package/dist/events.d.cts +276 -276
- package/dist/events.d.ts +276 -276
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/invoices.d.cts +2 -2
- package/dist/invoices.d.ts +2 -2
- package/dist/merchants.d.cts +6 -6
- package/dist/merchants.d.ts +6 -6
- package/dist/storefronts.d.cts +4 -4
- package/dist/storefronts.d.ts +4 -4
- package/dist/subscriptions.d.cts +4 -4
- package/dist/subscriptions.d.ts +4 -4
- package/dist/transactions.d.cts +4 -4
- package/dist/transactions.d.ts +4 -4
- package/dist/webhooks.d.cts +6 -6
- package/dist/webhooks.d.ts +6 -6
- package/package.json +1 -1
- package/src/api-keys.ts +4 -0
package/dist/events.d.cts
CHANGED
|
@@ -94,7 +94,6 @@ declare const paymentCreatedEventSchema: z.ZodObject<{
|
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
type: "payment.created";
|
|
96
96
|
id: string;
|
|
97
|
-
mode: "test" | "live";
|
|
98
97
|
createdAt: string;
|
|
99
98
|
data: {
|
|
100
99
|
status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
|
|
@@ -121,11 +120,11 @@ declare const paymentCreatedEventSchema: z.ZodObject<{
|
|
|
121
120
|
expiresAt: string;
|
|
122
121
|
updatedAt: string;
|
|
123
122
|
};
|
|
123
|
+
mode: "test" | "live";
|
|
124
124
|
apiVersion: string;
|
|
125
125
|
}, {
|
|
126
126
|
type: "payment.created";
|
|
127
127
|
id: string;
|
|
128
|
-
mode: "test" | "live";
|
|
129
128
|
createdAt: string;
|
|
130
129
|
data: {
|
|
131
130
|
status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
|
|
@@ -152,6 +151,7 @@ declare const paymentCreatedEventSchema: z.ZodObject<{
|
|
|
152
151
|
updatedAt: string;
|
|
153
152
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
154
153
|
};
|
|
154
|
+
mode: "test" | "live";
|
|
155
155
|
apiVersion: string;
|
|
156
156
|
}>;
|
|
157
157
|
declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
@@ -258,10 +258,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
258
258
|
status: "confirmed" | "failed" | "pending";
|
|
259
259
|
id: string;
|
|
260
260
|
merchantId: string;
|
|
261
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
262
|
-
createdAt: string;
|
|
263
261
|
sessionId: string | null;
|
|
264
262
|
subscriptionId: string | null;
|
|
263
|
+
createdAt: string;
|
|
264
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
265
265
|
customerId: string | null;
|
|
266
266
|
amount: string;
|
|
267
267
|
currency: "USDC" | "EURC";
|
|
@@ -278,10 +278,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
278
278
|
status: "confirmed" | "failed" | "pending";
|
|
279
279
|
id: string;
|
|
280
280
|
merchantId: string;
|
|
281
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
282
|
-
createdAt: string;
|
|
283
281
|
sessionId: string | null;
|
|
284
282
|
subscriptionId: string | null;
|
|
283
|
+
createdAt: string;
|
|
284
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
285
285
|
customerId: string | null;
|
|
286
286
|
amount: string;
|
|
287
287
|
currency: "USDC" | "EURC";
|
|
@@ -325,10 +325,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
325
325
|
status: "confirmed" | "failed" | "pending";
|
|
326
326
|
id: string;
|
|
327
327
|
merchantId: string;
|
|
328
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
329
|
-
createdAt: string;
|
|
330
328
|
sessionId: string | null;
|
|
331
329
|
subscriptionId: string | null;
|
|
330
|
+
createdAt: string;
|
|
331
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
332
332
|
customerId: string | null;
|
|
333
333
|
amount: string;
|
|
334
334
|
currency: "USDC" | "EURC";
|
|
@@ -372,10 +372,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
372
372
|
status: "confirmed" | "failed" | "pending";
|
|
373
373
|
id: string;
|
|
374
374
|
merchantId: string;
|
|
375
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
376
|
-
createdAt: string;
|
|
377
375
|
sessionId: string | null;
|
|
378
376
|
subscriptionId: string | null;
|
|
377
|
+
createdAt: string;
|
|
378
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
379
379
|
customerId: string | null;
|
|
380
380
|
amount: string;
|
|
381
381
|
currency: "USDC" | "EURC";
|
|
@@ -393,7 +393,6 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
394
|
type: "payment.completed";
|
|
395
395
|
id: string;
|
|
396
|
-
mode: "test" | "live";
|
|
397
396
|
createdAt: string;
|
|
398
397
|
data: {
|
|
399
398
|
session: {
|
|
@@ -425,10 +424,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
425
424
|
status: "confirmed" | "failed" | "pending";
|
|
426
425
|
id: string;
|
|
427
426
|
merchantId: string;
|
|
428
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
429
|
-
createdAt: string;
|
|
430
427
|
sessionId: string | null;
|
|
431
428
|
subscriptionId: string | null;
|
|
429
|
+
createdAt: string;
|
|
430
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
432
431
|
customerId: string | null;
|
|
433
432
|
amount: string;
|
|
434
433
|
currency: "USDC" | "EURC";
|
|
@@ -443,11 +442,11 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
443
442
|
blockTimestamp: string;
|
|
444
443
|
};
|
|
445
444
|
};
|
|
445
|
+
mode: "test" | "live";
|
|
446
446
|
apiVersion: string;
|
|
447
447
|
}, {
|
|
448
448
|
type: "payment.completed";
|
|
449
449
|
id: string;
|
|
450
|
-
mode: "test" | "live";
|
|
451
450
|
createdAt: string;
|
|
452
451
|
data: {
|
|
453
452
|
session: {
|
|
@@ -479,10 +478,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
479
478
|
status: "confirmed" | "failed" | "pending";
|
|
480
479
|
id: string;
|
|
481
480
|
merchantId: string;
|
|
482
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
483
|
-
createdAt: string;
|
|
484
481
|
sessionId: string | null;
|
|
485
482
|
subscriptionId: string | null;
|
|
483
|
+
createdAt: string;
|
|
484
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
486
485
|
customerId: string | null;
|
|
487
486
|
amount: string;
|
|
488
487
|
currency: "USDC" | "EURC";
|
|
@@ -497,6 +496,7 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
497
496
|
blockTimestamp: string;
|
|
498
497
|
};
|
|
499
498
|
};
|
|
499
|
+
mode: "test" | "live";
|
|
500
500
|
apiVersion: string;
|
|
501
501
|
}>;
|
|
502
502
|
declare const paymentFailedEventSchema: z.ZodObject<{
|
|
@@ -638,7 +638,6 @@ declare const paymentFailedEventSchema: z.ZodObject<{
|
|
|
638
638
|
}, "strip", z.ZodTypeAny, {
|
|
639
639
|
type: "payment.failed";
|
|
640
640
|
id: string;
|
|
641
|
-
mode: "test" | "live";
|
|
642
641
|
createdAt: string;
|
|
643
642
|
data: {
|
|
644
643
|
reason: string;
|
|
@@ -668,11 +667,11 @@ declare const paymentFailedEventSchema: z.ZodObject<{
|
|
|
668
667
|
updatedAt: string;
|
|
669
668
|
};
|
|
670
669
|
};
|
|
670
|
+
mode: "test" | "live";
|
|
671
671
|
apiVersion: string;
|
|
672
672
|
}, {
|
|
673
673
|
type: "payment.failed";
|
|
674
674
|
id: string;
|
|
675
|
-
mode: "test" | "live";
|
|
676
675
|
createdAt: string;
|
|
677
676
|
data: {
|
|
678
677
|
reason: string;
|
|
@@ -702,6 +701,7 @@ declare const paymentFailedEventSchema: z.ZodObject<{
|
|
|
702
701
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
703
702
|
};
|
|
704
703
|
};
|
|
704
|
+
mode: "test" | "live";
|
|
705
705
|
apiVersion: string;
|
|
706
706
|
}>;
|
|
707
707
|
declare const subscriptionCreatedEventSchema: z.ZodObject<{
|
|
@@ -777,7 +777,6 @@ declare const subscriptionCreatedEventSchema: z.ZodObject<{
|
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
778
|
type: "subscription.created";
|
|
779
779
|
id: string;
|
|
780
|
-
mode: "test" | "live";
|
|
781
780
|
createdAt: string;
|
|
782
781
|
data: {
|
|
783
782
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -801,11 +800,11 @@ declare const subscriptionCreatedEventSchema: z.ZodObject<{
|
|
|
801
800
|
gracePeriodHours: number;
|
|
802
801
|
cancelledAt: string | null;
|
|
803
802
|
};
|
|
803
|
+
mode: "test" | "live";
|
|
804
804
|
apiVersion: string;
|
|
805
805
|
}, {
|
|
806
806
|
type: "subscription.created";
|
|
807
807
|
id: string;
|
|
808
|
-
mode: "test" | "live";
|
|
809
808
|
createdAt: string;
|
|
810
809
|
data: {
|
|
811
810
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -829,6 +828,7 @@ declare const subscriptionCreatedEventSchema: z.ZodObject<{
|
|
|
829
828
|
cancelledAt: string | null;
|
|
830
829
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
831
830
|
};
|
|
831
|
+
mode: "test" | "live";
|
|
832
832
|
apiVersion: string;
|
|
833
833
|
}>;
|
|
834
834
|
declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
@@ -924,8 +924,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
924
924
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
925
925
|
id: string;
|
|
926
926
|
merchantId: string;
|
|
927
|
-
createdAt: string;
|
|
928
927
|
subscriptionId: string;
|
|
928
|
+
createdAt: string;
|
|
929
929
|
amount: string;
|
|
930
930
|
currency: "USDC" | "EURC";
|
|
931
931
|
onchainTxHash: string | null;
|
|
@@ -942,8 +942,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
942
942
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
943
943
|
id: string;
|
|
944
944
|
merchantId: string;
|
|
945
|
-
createdAt: string;
|
|
946
945
|
subscriptionId: string;
|
|
946
|
+
createdAt: string;
|
|
947
947
|
amount: string;
|
|
948
948
|
currency: "USDC" | "EURC";
|
|
949
949
|
onchainTxHash: string | null;
|
|
@@ -981,10 +981,10 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
981
981
|
status: "confirmed" | "failed" | "pending";
|
|
982
982
|
id: string;
|
|
983
983
|
merchantId: string;
|
|
984
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
985
|
-
createdAt: string;
|
|
986
984
|
sessionId: string | null;
|
|
987
985
|
subscriptionId: string | null;
|
|
986
|
+
createdAt: string;
|
|
987
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
988
988
|
customerId: string | null;
|
|
989
989
|
amount: string;
|
|
990
990
|
currency: "USDC" | "EURC";
|
|
@@ -1001,10 +1001,10 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1001
1001
|
status: "confirmed" | "failed" | "pending";
|
|
1002
1002
|
id: string;
|
|
1003
1003
|
merchantId: string;
|
|
1004
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1005
|
-
createdAt: string;
|
|
1006
1004
|
sessionId: string | null;
|
|
1007
1005
|
subscriptionId: string | null;
|
|
1006
|
+
createdAt: string;
|
|
1007
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1008
1008
|
customerId: string | null;
|
|
1009
1009
|
amount: string;
|
|
1010
1010
|
currency: "USDC" | "EURC";
|
|
@@ -1023,10 +1023,10 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1023
1023
|
status: "confirmed" | "failed" | "pending";
|
|
1024
1024
|
id: string;
|
|
1025
1025
|
merchantId: string;
|
|
1026
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1027
|
-
createdAt: string;
|
|
1028
1026
|
sessionId: string | null;
|
|
1029
1027
|
subscriptionId: string | null;
|
|
1028
|
+
createdAt: string;
|
|
1029
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1030
1030
|
customerId: string | null;
|
|
1031
1031
|
amount: string;
|
|
1032
1032
|
currency: "USDC" | "EURC";
|
|
@@ -1066,8 +1066,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1066
1066
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1067
1067
|
id: string;
|
|
1068
1068
|
merchantId: string;
|
|
1069
|
-
createdAt: string;
|
|
1070
1069
|
subscriptionId: string;
|
|
1070
|
+
createdAt: string;
|
|
1071
1071
|
amount: string;
|
|
1072
1072
|
currency: "USDC" | "EURC";
|
|
1073
1073
|
onchainTxHash: string | null;
|
|
@@ -1086,10 +1086,10 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1086
1086
|
status: "confirmed" | "failed" | "pending";
|
|
1087
1087
|
id: string;
|
|
1088
1088
|
merchantId: string;
|
|
1089
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1090
|
-
createdAt: string;
|
|
1091
1089
|
sessionId: string | null;
|
|
1092
1090
|
subscriptionId: string | null;
|
|
1091
|
+
createdAt: string;
|
|
1092
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1093
1093
|
customerId: string | null;
|
|
1094
1094
|
amount: string;
|
|
1095
1095
|
currency: "USDC" | "EURC";
|
|
@@ -1129,8 +1129,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1129
1129
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1130
1130
|
id: string;
|
|
1131
1131
|
merchantId: string;
|
|
1132
|
-
createdAt: string;
|
|
1133
1132
|
subscriptionId: string;
|
|
1133
|
+
createdAt: string;
|
|
1134
1134
|
amount: string;
|
|
1135
1135
|
currency: "USDC" | "EURC";
|
|
1136
1136
|
onchainTxHash: string | null;
|
|
@@ -1148,17 +1148,16 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1148
1148
|
}, "strip", z.ZodTypeAny, {
|
|
1149
1149
|
type: "subscription.charged";
|
|
1150
1150
|
id: string;
|
|
1151
|
-
mode: "test" | "live";
|
|
1152
1151
|
createdAt: string;
|
|
1153
1152
|
data: {
|
|
1154
1153
|
transaction: {
|
|
1155
1154
|
status: "confirmed" | "failed" | "pending";
|
|
1156
1155
|
id: string;
|
|
1157
1156
|
merchantId: string;
|
|
1158
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1159
|
-
createdAt: string;
|
|
1160
1157
|
sessionId: string | null;
|
|
1161
1158
|
subscriptionId: string | null;
|
|
1159
|
+
createdAt: string;
|
|
1160
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1162
1161
|
customerId: string | null;
|
|
1163
1162
|
amount: string;
|
|
1164
1163
|
currency: "USDC" | "EURC";
|
|
@@ -1198,8 +1197,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1198
1197
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1199
1198
|
id: string;
|
|
1200
1199
|
merchantId: string;
|
|
1201
|
-
createdAt: string;
|
|
1202
1200
|
subscriptionId: string;
|
|
1201
|
+
createdAt: string;
|
|
1203
1202
|
amount: string;
|
|
1204
1203
|
currency: "USDC" | "EURC";
|
|
1205
1204
|
onchainTxHash: string | null;
|
|
@@ -1214,21 +1213,21 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1214
1213
|
failureReason: string | null;
|
|
1215
1214
|
};
|
|
1216
1215
|
};
|
|
1216
|
+
mode: "test" | "live";
|
|
1217
1217
|
apiVersion: string;
|
|
1218
1218
|
}, {
|
|
1219
1219
|
type: "subscription.charged";
|
|
1220
1220
|
id: string;
|
|
1221
|
-
mode: "test" | "live";
|
|
1222
1221
|
createdAt: string;
|
|
1223
1222
|
data: {
|
|
1224
1223
|
transaction: {
|
|
1225
1224
|
status: "confirmed" | "failed" | "pending";
|
|
1226
1225
|
id: string;
|
|
1227
1226
|
merchantId: string;
|
|
1228
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1229
|
-
createdAt: string;
|
|
1230
1227
|
sessionId: string | null;
|
|
1231
1228
|
subscriptionId: string | null;
|
|
1229
|
+
createdAt: string;
|
|
1230
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
1232
1231
|
customerId: string | null;
|
|
1233
1232
|
amount: string;
|
|
1234
1233
|
currency: "USDC" | "EURC";
|
|
@@ -1268,8 +1267,8 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1268
1267
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1269
1268
|
id: string;
|
|
1270
1269
|
merchantId: string;
|
|
1271
|
-
createdAt: string;
|
|
1272
1270
|
subscriptionId: string;
|
|
1271
|
+
createdAt: string;
|
|
1273
1272
|
amount: string;
|
|
1274
1273
|
currency: "USDC" | "EURC";
|
|
1275
1274
|
onchainTxHash: string | null;
|
|
@@ -1284,6 +1283,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
1284
1283
|
failureReason: string | null;
|
|
1285
1284
|
};
|
|
1286
1285
|
};
|
|
1286
|
+
mode: "test" | "live";
|
|
1287
1287
|
apiVersion: string;
|
|
1288
1288
|
}>;
|
|
1289
1289
|
declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
@@ -1379,8 +1379,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1379
1379
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1380
1380
|
id: string;
|
|
1381
1381
|
merchantId: string;
|
|
1382
|
-
createdAt: string;
|
|
1383
1382
|
subscriptionId: string;
|
|
1383
|
+
createdAt: string;
|
|
1384
1384
|
amount: string;
|
|
1385
1385
|
currency: "USDC" | "EURC";
|
|
1386
1386
|
onchainTxHash: string | null;
|
|
@@ -1397,8 +1397,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1397
1397
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1398
1398
|
id: string;
|
|
1399
1399
|
merchantId: string;
|
|
1400
|
-
createdAt: string;
|
|
1401
1400
|
subscriptionId: string;
|
|
1401
|
+
createdAt: string;
|
|
1402
1402
|
amount: string;
|
|
1403
1403
|
currency: "USDC" | "EURC";
|
|
1404
1404
|
onchainTxHash: string | null;
|
|
@@ -1439,8 +1439,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1439
1439
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1440
1440
|
id: string;
|
|
1441
1441
|
merchantId: string;
|
|
1442
|
-
createdAt: string;
|
|
1443
1442
|
subscriptionId: string;
|
|
1443
|
+
createdAt: string;
|
|
1444
1444
|
amount: string;
|
|
1445
1445
|
currency: "USDC" | "EURC";
|
|
1446
1446
|
onchainTxHash: string | null;
|
|
@@ -1481,8 +1481,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1481
1481
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1482
1482
|
id: string;
|
|
1483
1483
|
merchantId: string;
|
|
1484
|
-
createdAt: string;
|
|
1485
1484
|
subscriptionId: string;
|
|
1485
|
+
createdAt: string;
|
|
1486
1486
|
amount: string;
|
|
1487
1487
|
currency: "USDC" | "EURC";
|
|
1488
1488
|
onchainTxHash: string | null;
|
|
@@ -1500,7 +1500,6 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1500
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1501
1501
|
type: "subscription.charge_failed";
|
|
1502
1502
|
id: string;
|
|
1503
|
-
mode: "test" | "live";
|
|
1504
1503
|
createdAt: string;
|
|
1505
1504
|
data: {
|
|
1506
1505
|
subscription: {
|
|
@@ -1529,8 +1528,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1529
1528
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1530
1529
|
id: string;
|
|
1531
1530
|
merchantId: string;
|
|
1532
|
-
createdAt: string;
|
|
1533
1531
|
subscriptionId: string;
|
|
1532
|
+
createdAt: string;
|
|
1534
1533
|
amount: string;
|
|
1535
1534
|
currency: "USDC" | "EURC";
|
|
1536
1535
|
onchainTxHash: string | null;
|
|
@@ -1545,11 +1544,11 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1545
1544
|
failureReason: string | null;
|
|
1546
1545
|
};
|
|
1547
1546
|
};
|
|
1547
|
+
mode: "test" | "live";
|
|
1548
1548
|
apiVersion: string;
|
|
1549
1549
|
}, {
|
|
1550
1550
|
type: "subscription.charge_failed";
|
|
1551
1551
|
id: string;
|
|
1552
|
-
mode: "test" | "live";
|
|
1553
1552
|
createdAt: string;
|
|
1554
1553
|
data: {
|
|
1555
1554
|
subscription: {
|
|
@@ -1578,8 +1577,8 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1578
1577
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
1579
1578
|
id: string;
|
|
1580
1579
|
merchantId: string;
|
|
1581
|
-
createdAt: string;
|
|
1582
1580
|
subscriptionId: string;
|
|
1581
|
+
createdAt: string;
|
|
1583
1582
|
amount: string;
|
|
1584
1583
|
currency: "USDC" | "EURC";
|
|
1585
1584
|
onchainTxHash: string | null;
|
|
@@ -1594,6 +1593,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1594
1593
|
failureReason: string | null;
|
|
1595
1594
|
};
|
|
1596
1595
|
};
|
|
1596
|
+
mode: "test" | "live";
|
|
1597
1597
|
apiVersion: string;
|
|
1598
1598
|
}>;
|
|
1599
1599
|
declare const subscriptionRecoveryAttemptEventSchema: z.ZodObject<{
|
|
@@ -1720,7 +1720,6 @@ declare const subscriptionRecoveryAttemptEventSchema: z.ZodObject<{
|
|
|
1720
1720
|
}, "strip", z.ZodTypeAny, {
|
|
1721
1721
|
type: "subscription.recovery_attempt";
|
|
1722
1722
|
id: string;
|
|
1723
|
-
mode: "test" | "live";
|
|
1724
1723
|
createdAt: string;
|
|
1725
1724
|
data: {
|
|
1726
1725
|
attemptNumber: number;
|
|
@@ -1747,11 +1746,11 @@ declare const subscriptionRecoveryAttemptEventSchema: z.ZodObject<{
|
|
|
1747
1746
|
cancelledAt: string | null;
|
|
1748
1747
|
};
|
|
1749
1748
|
};
|
|
1749
|
+
mode: "test" | "live";
|
|
1750
1750
|
apiVersion: string;
|
|
1751
1751
|
}, {
|
|
1752
1752
|
type: "subscription.recovery_attempt";
|
|
1753
1753
|
id: string;
|
|
1754
|
-
mode: "test" | "live";
|
|
1755
1754
|
createdAt: string;
|
|
1756
1755
|
data: {
|
|
1757
1756
|
attemptNumber: number;
|
|
@@ -1778,6 +1777,7 @@ declare const subscriptionRecoveryAttemptEventSchema: z.ZodObject<{
|
|
|
1778
1777
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
1779
1778
|
};
|
|
1780
1779
|
};
|
|
1780
|
+
mode: "test" | "live";
|
|
1781
1781
|
apiVersion: string;
|
|
1782
1782
|
}>;
|
|
1783
1783
|
declare const subscriptionRecoveryOutcomeEventSchema: z.ZodObject<{
|
|
@@ -1904,7 +1904,6 @@ declare const subscriptionRecoveryOutcomeEventSchema: z.ZodObject<{
|
|
|
1904
1904
|
}, "strip", z.ZodTypeAny, {
|
|
1905
1905
|
type: "subscription.recovery_outcome";
|
|
1906
1906
|
id: string;
|
|
1907
|
-
mode: "test" | "live";
|
|
1908
1907
|
createdAt: string;
|
|
1909
1908
|
data: {
|
|
1910
1909
|
outcome: "recovered" | "churned";
|
|
@@ -1931,11 +1930,11 @@ declare const subscriptionRecoveryOutcomeEventSchema: z.ZodObject<{
|
|
|
1931
1930
|
cancelledAt: string | null;
|
|
1932
1931
|
};
|
|
1933
1932
|
};
|
|
1933
|
+
mode: "test" | "live";
|
|
1934
1934
|
apiVersion: string;
|
|
1935
1935
|
}, {
|
|
1936
1936
|
type: "subscription.recovery_outcome";
|
|
1937
1937
|
id: string;
|
|
1938
|
-
mode: "test" | "live";
|
|
1939
1938
|
createdAt: string;
|
|
1940
1939
|
data: {
|
|
1941
1940
|
outcome: "recovered" | "churned";
|
|
@@ -1962,6 +1961,7 @@ declare const subscriptionRecoveryOutcomeEventSchema: z.ZodObject<{
|
|
|
1962
1961
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
1963
1962
|
};
|
|
1964
1963
|
};
|
|
1964
|
+
mode: "test" | "live";
|
|
1965
1965
|
apiVersion: string;
|
|
1966
1966
|
}>;
|
|
1967
1967
|
declare const subscriptionCancelledEventSchema: z.ZodObject<{
|
|
@@ -2037,7 +2037,6 @@ declare const subscriptionCancelledEventSchema: z.ZodObject<{
|
|
|
2037
2037
|
}, "strip", z.ZodTypeAny, {
|
|
2038
2038
|
type: "subscription.cancelled";
|
|
2039
2039
|
id: string;
|
|
2040
|
-
mode: "test" | "live";
|
|
2041
2040
|
createdAt: string;
|
|
2042
2041
|
data: {
|
|
2043
2042
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -2061,11 +2060,11 @@ declare const subscriptionCancelledEventSchema: z.ZodObject<{
|
|
|
2061
2060
|
gracePeriodHours: number;
|
|
2062
2061
|
cancelledAt: string | null;
|
|
2063
2062
|
};
|
|
2063
|
+
mode: "test" | "live";
|
|
2064
2064
|
apiVersion: string;
|
|
2065
2065
|
}, {
|
|
2066
2066
|
type: "subscription.cancelled";
|
|
2067
2067
|
id: string;
|
|
2068
|
-
mode: "test" | "live";
|
|
2069
2068
|
createdAt: string;
|
|
2070
2069
|
data: {
|
|
2071
2070
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -2089,6 +2088,7 @@ declare const subscriptionCancelledEventSchema: z.ZodObject<{
|
|
|
2089
2088
|
cancelledAt: string | null;
|
|
2090
2089
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
2091
2090
|
};
|
|
2091
|
+
mode: "test" | "live";
|
|
2092
2092
|
apiVersion: string;
|
|
2093
2093
|
}>;
|
|
2094
2094
|
declare const subscriptionLapsedEventSchema: z.ZodObject<{
|
|
@@ -2164,7 +2164,6 @@ declare const subscriptionLapsedEventSchema: z.ZodObject<{
|
|
|
2164
2164
|
}, "strip", z.ZodTypeAny, {
|
|
2165
2165
|
type: "subscription.lapsed";
|
|
2166
2166
|
id: string;
|
|
2167
|
-
mode: "test" | "live";
|
|
2168
2167
|
createdAt: string;
|
|
2169
2168
|
data: {
|
|
2170
2169
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -2188,11 +2187,11 @@ declare const subscriptionLapsedEventSchema: z.ZodObject<{
|
|
|
2188
2187
|
gracePeriodHours: number;
|
|
2189
2188
|
cancelledAt: string | null;
|
|
2190
2189
|
};
|
|
2190
|
+
mode: "test" | "live";
|
|
2191
2191
|
apiVersion: string;
|
|
2192
2192
|
}, {
|
|
2193
2193
|
type: "subscription.lapsed";
|
|
2194
2194
|
id: string;
|
|
2195
|
-
mode: "test" | "live";
|
|
2196
2195
|
createdAt: string;
|
|
2197
2196
|
data: {
|
|
2198
2197
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -2216,6 +2215,7 @@ declare const subscriptionLapsedEventSchema: z.ZodObject<{
|
|
|
2216
2215
|
cancelledAt: string | null;
|
|
2217
2216
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
2218
2217
|
};
|
|
2218
|
+
mode: "test" | "live";
|
|
2219
2219
|
apiVersion: string;
|
|
2220
2220
|
}>;
|
|
2221
2221
|
declare const refundCreatedEventSchema: z.ZodObject<{
|
|
@@ -2273,7 +2273,6 @@ declare const refundCreatedEventSchema: z.ZodObject<{
|
|
|
2273
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2274
2274
|
type: "refund.created";
|
|
2275
2275
|
id: string;
|
|
2276
|
-
mode: "test" | "live";
|
|
2277
2276
|
createdAt: string;
|
|
2278
2277
|
data: {
|
|
2279
2278
|
status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
|
|
@@ -2291,11 +2290,11 @@ declare const refundCreatedEventSchema: z.ZodObject<{
|
|
|
2291
2290
|
initiatedBy: string;
|
|
2292
2291
|
completedAt: string | null;
|
|
2293
2292
|
};
|
|
2293
|
+
mode: "test" | "live";
|
|
2294
2294
|
apiVersion: string;
|
|
2295
2295
|
}, {
|
|
2296
2296
|
type: "refund.created";
|
|
2297
2297
|
id: string;
|
|
2298
|
-
mode: "test" | "live";
|
|
2299
2298
|
createdAt: string;
|
|
2300
2299
|
data: {
|
|
2301
2300
|
status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
|
|
@@ -2313,6 +2312,7 @@ declare const refundCreatedEventSchema: z.ZodObject<{
|
|
|
2313
2312
|
initiatedBy: string;
|
|
2314
2313
|
completedAt: string | null;
|
|
2315
2314
|
};
|
|
2315
|
+
mode: "test" | "live";
|
|
2316
2316
|
apiVersion: string;
|
|
2317
2317
|
}>;
|
|
2318
2318
|
declare const refundCompletedEventSchema: z.ZodObject<{
|
|
@@ -2392,10 +2392,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2392
2392
|
status: "confirmed" | "failed" | "pending";
|
|
2393
2393
|
id: string;
|
|
2394
2394
|
merchantId: string;
|
|
2395
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2396
|
-
createdAt: string;
|
|
2397
2395
|
sessionId: string | null;
|
|
2398
2396
|
subscriptionId: string | null;
|
|
2397
|
+
createdAt: string;
|
|
2398
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2399
2399
|
customerId: string | null;
|
|
2400
2400
|
amount: string;
|
|
2401
2401
|
currency: "USDC" | "EURC";
|
|
@@ -2412,10 +2412,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2412
2412
|
status: "confirmed" | "failed" | "pending";
|
|
2413
2413
|
id: string;
|
|
2414
2414
|
merchantId: string;
|
|
2415
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2416
|
-
createdAt: string;
|
|
2417
2415
|
sessionId: string | null;
|
|
2418
2416
|
subscriptionId: string | null;
|
|
2417
|
+
createdAt: string;
|
|
2418
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2419
2419
|
customerId: string | null;
|
|
2420
2420
|
amount: string;
|
|
2421
2421
|
currency: "USDC" | "EURC";
|
|
@@ -2450,10 +2450,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2450
2450
|
status: "confirmed" | "failed" | "pending";
|
|
2451
2451
|
id: string;
|
|
2452
2452
|
merchantId: string;
|
|
2453
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2454
|
-
createdAt: string;
|
|
2455
2453
|
sessionId: string | null;
|
|
2456
2454
|
subscriptionId: string | null;
|
|
2455
|
+
createdAt: string;
|
|
2456
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2457
2457
|
customerId: string | null;
|
|
2458
2458
|
amount: string;
|
|
2459
2459
|
currency: "USDC" | "EURC";
|
|
@@ -2488,10 +2488,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2488
2488
|
status: "confirmed" | "failed" | "pending";
|
|
2489
2489
|
id: string;
|
|
2490
2490
|
merchantId: string;
|
|
2491
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2492
|
-
createdAt: string;
|
|
2493
2491
|
sessionId: string | null;
|
|
2494
2492
|
subscriptionId: string | null;
|
|
2493
|
+
createdAt: string;
|
|
2494
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2495
2495
|
customerId: string | null;
|
|
2496
2496
|
amount: string;
|
|
2497
2497
|
currency: "USDC" | "EURC";
|
|
@@ -2509,7 +2509,6 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2509
2509
|
}, "strip", z.ZodTypeAny, {
|
|
2510
2510
|
type: "refund.completed";
|
|
2511
2511
|
id: string;
|
|
2512
|
-
mode: "test" | "live";
|
|
2513
2512
|
createdAt: string;
|
|
2514
2513
|
data: {
|
|
2515
2514
|
refund: {
|
|
@@ -2532,10 +2531,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2532
2531
|
status: "confirmed" | "failed" | "pending";
|
|
2533
2532
|
id: string;
|
|
2534
2533
|
merchantId: string;
|
|
2535
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2536
|
-
createdAt: string;
|
|
2537
2534
|
sessionId: string | null;
|
|
2538
2535
|
subscriptionId: string | null;
|
|
2536
|
+
createdAt: string;
|
|
2537
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2539
2538
|
customerId: string | null;
|
|
2540
2539
|
amount: string;
|
|
2541
2540
|
currency: "USDC" | "EURC";
|
|
@@ -2550,11 +2549,11 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2550
2549
|
blockTimestamp: string;
|
|
2551
2550
|
};
|
|
2552
2551
|
};
|
|
2552
|
+
mode: "test" | "live";
|
|
2553
2553
|
apiVersion: string;
|
|
2554
2554
|
}, {
|
|
2555
2555
|
type: "refund.completed";
|
|
2556
2556
|
id: string;
|
|
2557
|
-
mode: "test" | "live";
|
|
2558
2557
|
createdAt: string;
|
|
2559
2558
|
data: {
|
|
2560
2559
|
refund: {
|
|
@@ -2577,10 +2576,10 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2577
2576
|
status: "confirmed" | "failed" | "pending";
|
|
2578
2577
|
id: string;
|
|
2579
2578
|
merchantId: string;
|
|
2580
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2581
|
-
createdAt: string;
|
|
2582
2579
|
sessionId: string | null;
|
|
2583
2580
|
subscriptionId: string | null;
|
|
2581
|
+
createdAt: string;
|
|
2582
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
2584
2583
|
customerId: string | null;
|
|
2585
2584
|
amount: string;
|
|
2586
2585
|
currency: "USDC" | "EURC";
|
|
@@ -2595,6 +2594,7 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2595
2594
|
blockTimestamp: string;
|
|
2596
2595
|
};
|
|
2597
2596
|
};
|
|
2597
|
+
mode: "test" | "live";
|
|
2598
2598
|
apiVersion: string;
|
|
2599
2599
|
}>;
|
|
2600
2600
|
declare const refundFailedEventSchema: z.ZodObject<{
|
|
@@ -2691,7 +2691,6 @@ declare const refundFailedEventSchema: z.ZodObject<{
|
|
|
2691
2691
|
}, "strip", z.ZodTypeAny, {
|
|
2692
2692
|
type: "refund.failed";
|
|
2693
2693
|
id: string;
|
|
2694
|
-
mode: "test" | "live";
|
|
2695
2694
|
createdAt: string;
|
|
2696
2695
|
data: {
|
|
2697
2696
|
refund: {
|
|
@@ -2712,11 +2711,11 @@ declare const refundFailedEventSchema: z.ZodObject<{
|
|
|
2712
2711
|
};
|
|
2713
2712
|
reason: string;
|
|
2714
2713
|
};
|
|
2714
|
+
mode: "test" | "live";
|
|
2715
2715
|
apiVersion: string;
|
|
2716
2716
|
}, {
|
|
2717
2717
|
type: "refund.failed";
|
|
2718
2718
|
id: string;
|
|
2719
|
-
mode: "test" | "live";
|
|
2720
2719
|
createdAt: string;
|
|
2721
2720
|
data: {
|
|
2722
2721
|
refund: {
|
|
@@ -2737,6 +2736,7 @@ declare const refundFailedEventSchema: z.ZodObject<{
|
|
|
2737
2736
|
};
|
|
2738
2737
|
reason: string;
|
|
2739
2738
|
};
|
|
2739
|
+
mode: "test" | "live";
|
|
2740
2740
|
apiVersion: string;
|
|
2741
2741
|
}>;
|
|
2742
2742
|
declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
@@ -2780,8 +2780,8 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2780
2780
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2781
2781
|
id: string;
|
|
2782
2782
|
merchantId: string;
|
|
2783
|
-
createdAt: string;
|
|
2784
2783
|
sessionId: string | null;
|
|
2784
|
+
createdAt: string;
|
|
2785
2785
|
currency: "USDC" | "EURC";
|
|
2786
2786
|
updatedAt: string;
|
|
2787
2787
|
note: string | null;
|
|
@@ -2806,8 +2806,8 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2806
2806
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2807
2807
|
id: string;
|
|
2808
2808
|
merchantId: string;
|
|
2809
|
-
createdAt: string;
|
|
2810
2809
|
sessionId: string | null;
|
|
2810
|
+
createdAt: string;
|
|
2811
2811
|
currency: "USDC" | "EURC";
|
|
2812
2812
|
updatedAt: string;
|
|
2813
2813
|
note: string | null;
|
|
@@ -2831,15 +2831,14 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2831
2831
|
}, "strip", z.ZodTypeAny, {
|
|
2832
2832
|
type: "invoice.created";
|
|
2833
2833
|
id: string;
|
|
2834
|
-
mode: "test" | "live";
|
|
2835
2834
|
createdAt: string;
|
|
2836
2835
|
data: {
|
|
2837
2836
|
number: string;
|
|
2838
2837
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2839
2838
|
id: string;
|
|
2840
2839
|
merchantId: string;
|
|
2841
|
-
createdAt: string;
|
|
2842
2840
|
sessionId: string | null;
|
|
2841
|
+
createdAt: string;
|
|
2843
2842
|
currency: "USDC" | "EURC";
|
|
2844
2843
|
updatedAt: string;
|
|
2845
2844
|
note: string | null;
|
|
@@ -2860,19 +2859,19 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2860
2859
|
paidAt: string | null;
|
|
2861
2860
|
sentAt: string | null;
|
|
2862
2861
|
};
|
|
2862
|
+
mode: "test" | "live";
|
|
2863
2863
|
apiVersion: string;
|
|
2864
2864
|
}, {
|
|
2865
2865
|
type: "invoice.created";
|
|
2866
2866
|
id: string;
|
|
2867
|
-
mode: "test" | "live";
|
|
2868
2867
|
createdAt: string;
|
|
2869
2868
|
data: {
|
|
2870
2869
|
number: string;
|
|
2871
2870
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2872
2871
|
id: string;
|
|
2873
2872
|
merchantId: string;
|
|
2874
|
-
createdAt: string;
|
|
2875
2873
|
sessionId: string | null;
|
|
2874
|
+
createdAt: string;
|
|
2876
2875
|
currency: "USDC" | "EURC";
|
|
2877
2876
|
updatedAt: string;
|
|
2878
2877
|
note: string | null;
|
|
@@ -2893,6 +2892,7 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2893
2892
|
paidAt: string | null;
|
|
2894
2893
|
sentAt: string | null;
|
|
2895
2894
|
};
|
|
2895
|
+
mode: "test" | "live";
|
|
2896
2896
|
apiVersion: string;
|
|
2897
2897
|
}>;
|
|
2898
2898
|
declare const invoicePaidEventSchema: z.ZodObject<{
|
|
@@ -2937,8 +2937,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
2937
2937
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2938
2938
|
id: string;
|
|
2939
2939
|
merchantId: string;
|
|
2940
|
-
createdAt: string;
|
|
2941
2940
|
sessionId: string | null;
|
|
2941
|
+
createdAt: string;
|
|
2942
2942
|
currency: "USDC" | "EURC";
|
|
2943
2943
|
updatedAt: string;
|
|
2944
2944
|
note: string | null;
|
|
@@ -2963,8 +2963,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
2963
2963
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
2964
2964
|
id: string;
|
|
2965
2965
|
merchantId: string;
|
|
2966
|
-
createdAt: string;
|
|
2967
2966
|
sessionId: string | null;
|
|
2967
|
+
createdAt: string;
|
|
2968
2968
|
currency: "USDC" | "EURC";
|
|
2969
2969
|
updatedAt: string;
|
|
2970
2970
|
note: string | null;
|
|
@@ -3009,10 +3009,10 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3009
3009
|
status: "confirmed" | "failed" | "pending";
|
|
3010
3010
|
id: string;
|
|
3011
3011
|
merchantId: string;
|
|
3012
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3013
|
-
createdAt: string;
|
|
3014
3012
|
sessionId: string | null;
|
|
3015
3013
|
subscriptionId: string | null;
|
|
3014
|
+
createdAt: string;
|
|
3015
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3016
3016
|
customerId: string | null;
|
|
3017
3017
|
amount: string;
|
|
3018
3018
|
currency: "USDC" | "EURC";
|
|
@@ -3029,10 +3029,10 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3029
3029
|
status: "confirmed" | "failed" | "pending";
|
|
3030
3030
|
id: string;
|
|
3031
3031
|
merchantId: string;
|
|
3032
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3033
|
-
createdAt: string;
|
|
3034
3032
|
sessionId: string | null;
|
|
3035
3033
|
subscriptionId: string | null;
|
|
3034
|
+
createdAt: string;
|
|
3035
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3036
3036
|
customerId: string | null;
|
|
3037
3037
|
amount: string;
|
|
3038
3038
|
currency: "USDC" | "EURC";
|
|
@@ -3051,10 +3051,10 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3051
3051
|
status: "confirmed" | "failed" | "pending";
|
|
3052
3052
|
id: string;
|
|
3053
3053
|
merchantId: string;
|
|
3054
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3055
|
-
createdAt: string;
|
|
3056
3054
|
sessionId: string | null;
|
|
3057
3055
|
subscriptionId: string | null;
|
|
3056
|
+
createdAt: string;
|
|
3057
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3058
3058
|
customerId: string | null;
|
|
3059
3059
|
amount: string;
|
|
3060
3060
|
currency: "USDC" | "EURC";
|
|
@@ -3073,8 +3073,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3073
3073
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3074
3074
|
id: string;
|
|
3075
3075
|
merchantId: string;
|
|
3076
|
-
createdAt: string;
|
|
3077
3076
|
sessionId: string | null;
|
|
3077
|
+
createdAt: string;
|
|
3078
3078
|
currency: "USDC" | "EURC";
|
|
3079
3079
|
updatedAt: string;
|
|
3080
3080
|
note: string | null;
|
|
@@ -3100,10 +3100,10 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3100
3100
|
status: "confirmed" | "failed" | "pending";
|
|
3101
3101
|
id: string;
|
|
3102
3102
|
merchantId: string;
|
|
3103
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3104
|
-
createdAt: string;
|
|
3105
3103
|
sessionId: string | null;
|
|
3106
3104
|
subscriptionId: string | null;
|
|
3105
|
+
createdAt: string;
|
|
3106
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3107
3107
|
customerId: string | null;
|
|
3108
3108
|
amount: string;
|
|
3109
3109
|
currency: "USDC" | "EURC";
|
|
@@ -3122,8 +3122,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3122
3122
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3123
3123
|
id: string;
|
|
3124
3124
|
merchantId: string;
|
|
3125
|
-
createdAt: string;
|
|
3126
3125
|
sessionId: string | null;
|
|
3126
|
+
createdAt: string;
|
|
3127
3127
|
currency: "USDC" | "EURC";
|
|
3128
3128
|
updatedAt: string;
|
|
3129
3129
|
note: string | null;
|
|
@@ -3148,17 +3148,16 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3148
3148
|
}, "strip", z.ZodTypeAny, {
|
|
3149
3149
|
type: "invoice.paid";
|
|
3150
3150
|
id: string;
|
|
3151
|
-
mode: "test" | "live";
|
|
3152
3151
|
createdAt: string;
|
|
3153
3152
|
data: {
|
|
3154
3153
|
transaction: {
|
|
3155
3154
|
status: "confirmed" | "failed" | "pending";
|
|
3156
3155
|
id: string;
|
|
3157
3156
|
merchantId: string;
|
|
3158
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3159
|
-
createdAt: string;
|
|
3160
3157
|
sessionId: string | null;
|
|
3161
3158
|
subscriptionId: string | null;
|
|
3159
|
+
createdAt: string;
|
|
3160
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3162
3161
|
customerId: string | null;
|
|
3163
3162
|
amount: string;
|
|
3164
3163
|
currency: "USDC" | "EURC";
|
|
@@ -3177,8 +3176,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3177
3176
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3178
3177
|
id: string;
|
|
3179
3178
|
merchantId: string;
|
|
3180
|
-
createdAt: string;
|
|
3181
3179
|
sessionId: string | null;
|
|
3180
|
+
createdAt: string;
|
|
3182
3181
|
currency: "USDC" | "EURC";
|
|
3183
3182
|
updatedAt: string;
|
|
3184
3183
|
note: string | null;
|
|
@@ -3200,21 +3199,21 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3200
3199
|
sentAt: string | null;
|
|
3201
3200
|
};
|
|
3202
3201
|
};
|
|
3202
|
+
mode: "test" | "live";
|
|
3203
3203
|
apiVersion: string;
|
|
3204
3204
|
}, {
|
|
3205
3205
|
type: "invoice.paid";
|
|
3206
3206
|
id: string;
|
|
3207
|
-
mode: "test" | "live";
|
|
3208
3207
|
createdAt: string;
|
|
3209
3208
|
data: {
|
|
3210
3209
|
transaction: {
|
|
3211
3210
|
status: "confirmed" | "failed" | "pending";
|
|
3212
3211
|
id: string;
|
|
3213
3212
|
merchantId: string;
|
|
3214
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3215
|
-
createdAt: string;
|
|
3216
3213
|
sessionId: string | null;
|
|
3217
3214
|
subscriptionId: string | null;
|
|
3215
|
+
createdAt: string;
|
|
3216
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
3218
3217
|
customerId: string | null;
|
|
3219
3218
|
amount: string;
|
|
3220
3219
|
currency: "USDC" | "EURC";
|
|
@@ -3233,8 +3232,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3233
3232
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3234
3233
|
id: string;
|
|
3235
3234
|
merchantId: string;
|
|
3236
|
-
createdAt: string;
|
|
3237
3235
|
sessionId: string | null;
|
|
3236
|
+
createdAt: string;
|
|
3238
3237
|
currency: "USDC" | "EURC";
|
|
3239
3238
|
updatedAt: string;
|
|
3240
3239
|
note: string | null;
|
|
@@ -3256,6 +3255,7 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
3256
3255
|
sentAt: string | null;
|
|
3257
3256
|
};
|
|
3258
3257
|
};
|
|
3258
|
+
mode: "test" | "live";
|
|
3259
3259
|
apiVersion: string;
|
|
3260
3260
|
}>;
|
|
3261
3261
|
declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
@@ -3299,8 +3299,8 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3299
3299
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3300
3300
|
id: string;
|
|
3301
3301
|
merchantId: string;
|
|
3302
|
-
createdAt: string;
|
|
3303
3302
|
sessionId: string | null;
|
|
3303
|
+
createdAt: string;
|
|
3304
3304
|
currency: "USDC" | "EURC";
|
|
3305
3305
|
updatedAt: string;
|
|
3306
3306
|
note: string | null;
|
|
@@ -3325,8 +3325,8 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3325
3325
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3326
3326
|
id: string;
|
|
3327
3327
|
merchantId: string;
|
|
3328
|
-
createdAt: string;
|
|
3329
3328
|
sessionId: string | null;
|
|
3329
|
+
createdAt: string;
|
|
3330
3330
|
currency: "USDC" | "EURC";
|
|
3331
3331
|
updatedAt: string;
|
|
3332
3332
|
note: string | null;
|
|
@@ -3350,15 +3350,14 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3350
3350
|
}, "strip", z.ZodTypeAny, {
|
|
3351
3351
|
type: "invoice.overdue";
|
|
3352
3352
|
id: string;
|
|
3353
|
-
mode: "test" | "live";
|
|
3354
3353
|
createdAt: string;
|
|
3355
3354
|
data: {
|
|
3356
3355
|
number: string;
|
|
3357
3356
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3358
3357
|
id: string;
|
|
3359
3358
|
merchantId: string;
|
|
3360
|
-
createdAt: string;
|
|
3361
3359
|
sessionId: string | null;
|
|
3360
|
+
createdAt: string;
|
|
3362
3361
|
currency: "USDC" | "EURC";
|
|
3363
3362
|
updatedAt: string;
|
|
3364
3363
|
note: string | null;
|
|
@@ -3379,19 +3378,19 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3379
3378
|
paidAt: string | null;
|
|
3380
3379
|
sentAt: string | null;
|
|
3381
3380
|
};
|
|
3381
|
+
mode: "test" | "live";
|
|
3382
3382
|
apiVersion: string;
|
|
3383
3383
|
}, {
|
|
3384
3384
|
type: "invoice.overdue";
|
|
3385
3385
|
id: string;
|
|
3386
|
-
mode: "test" | "live";
|
|
3387
3386
|
createdAt: string;
|
|
3388
3387
|
data: {
|
|
3389
3388
|
number: string;
|
|
3390
3389
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
3391
3390
|
id: string;
|
|
3392
3391
|
merchantId: string;
|
|
3393
|
-
createdAt: string;
|
|
3394
3392
|
sessionId: string | null;
|
|
3393
|
+
createdAt: string;
|
|
3395
3394
|
currency: "USDC" | "EURC";
|
|
3396
3395
|
updatedAt: string;
|
|
3397
3396
|
note: string | null;
|
|
@@ -3412,6 +3411,7 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3412
3411
|
paidAt: string | null;
|
|
3413
3412
|
sentAt: string | null;
|
|
3414
3413
|
};
|
|
3414
|
+
mode: "test" | "live";
|
|
3415
3415
|
apiVersion: string;
|
|
3416
3416
|
}>;
|
|
3417
3417
|
declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
@@ -3434,8 +3434,8 @@ declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
|
3434
3434
|
}, "strip", z.ZodTypeAny, {
|
|
3435
3435
|
id: string;
|
|
3436
3436
|
merchantId: string;
|
|
3437
|
-
createdAt: string;
|
|
3438
3437
|
subscriptionId: string | null;
|
|
3438
|
+
createdAt: string;
|
|
3439
3439
|
metadata: Record<string, string | number | boolean | null>;
|
|
3440
3440
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
3441
3441
|
transactionId: string | null;
|
|
@@ -3445,8 +3445,8 @@ declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
|
3445
3445
|
}, {
|
|
3446
3446
|
id: string;
|
|
3447
3447
|
merchantId: string;
|
|
3448
|
-
createdAt: string;
|
|
3449
3448
|
subscriptionId: string | null;
|
|
3449
|
+
createdAt: string;
|
|
3450
3450
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
3451
3451
|
transactionId: string | null;
|
|
3452
3452
|
capability: "identity" | "recovery" | "routing" | "cashflow" | "commerce" | "pricing_intelligence";
|
|
@@ -3457,13 +3457,12 @@ declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
|
3457
3457
|
}, "strip", z.ZodTypeAny, {
|
|
3458
3458
|
type: "agent.action_executed";
|
|
3459
3459
|
id: string;
|
|
3460
|
-
mode: "test" | "live";
|
|
3461
3460
|
createdAt: string;
|
|
3462
3461
|
data: {
|
|
3463
3462
|
id: string;
|
|
3464
3463
|
merchantId: string;
|
|
3465
|
-
createdAt: string;
|
|
3466
3464
|
subscriptionId: string | null;
|
|
3465
|
+
createdAt: string;
|
|
3467
3466
|
metadata: Record<string, string | number | boolean | null>;
|
|
3468
3467
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
3469
3468
|
transactionId: string | null;
|
|
@@ -3471,17 +3470,17 @@ declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
|
3471
3470
|
actionType: "recovery_notification_sent" | "recovery_retry_scheduled" | "recovery_retry_executed" | "recovery_abandoned" | "routing_bridge_initiated" | "routing_payment_completed" | "cashflow_digest_sent" | "cashflow_anomaly_flagged" | "cashflow_yield_converted" | "commerce_job_created" | "commerce_job_approved" | "commerce_job_completed" | "commerce_job_disputed";
|
|
3472
3471
|
jobId: string | null;
|
|
3473
3472
|
};
|
|
3473
|
+
mode: "test" | "live";
|
|
3474
3474
|
apiVersion: string;
|
|
3475
3475
|
}, {
|
|
3476
3476
|
type: "agent.action_executed";
|
|
3477
3477
|
id: string;
|
|
3478
|
-
mode: "test" | "live";
|
|
3479
3478
|
createdAt: string;
|
|
3480
3479
|
data: {
|
|
3481
3480
|
id: string;
|
|
3482
3481
|
merchantId: string;
|
|
3483
|
-
createdAt: string;
|
|
3484
3482
|
subscriptionId: string | null;
|
|
3483
|
+
createdAt: string;
|
|
3485
3484
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
3486
3485
|
transactionId: string | null;
|
|
3487
3486
|
capability: "identity" | "recovery" | "routing" | "cashflow" | "commerce" | "pricing_intelligence";
|
|
@@ -3489,6 +3488,7 @@ declare const agentActionExecutedEventSchema: z.ZodObject<{
|
|
|
3489
3488
|
jobId: string | null;
|
|
3490
3489
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
3491
3490
|
};
|
|
3491
|
+
mode: "test" | "live";
|
|
3492
3492
|
apiVersion: string;
|
|
3493
3493
|
}>;
|
|
3494
3494
|
declare const agentJobProposedEventSchema: z.ZodObject<{
|
|
@@ -3546,7 +3546,6 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
|
|
|
3546
3546
|
}, "strip", z.ZodTypeAny, {
|
|
3547
3547
|
type: "agent.job_proposed";
|
|
3548
3548
|
id: string;
|
|
3549
|
-
mode: "test" | "live";
|
|
3550
3549
|
createdAt: string;
|
|
3551
3550
|
data: {
|
|
3552
3551
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3564,11 +3563,11 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
|
|
|
3564
3563
|
escrowTxHash: string | null;
|
|
3565
3564
|
releaseTxHash: string | null;
|
|
3566
3565
|
};
|
|
3566
|
+
mode: "test" | "live";
|
|
3567
3567
|
apiVersion: string;
|
|
3568
3568
|
}, {
|
|
3569
3569
|
type: "agent.job_proposed";
|
|
3570
3570
|
id: string;
|
|
3571
|
-
mode: "test" | "live";
|
|
3572
3571
|
createdAt: string;
|
|
3573
3572
|
data: {
|
|
3574
3573
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3586,6 +3585,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
|
|
|
3586
3585
|
escrowTxHash: string | null;
|
|
3587
3586
|
releaseTxHash: string | null;
|
|
3588
3587
|
};
|
|
3588
|
+
mode: "test" | "live";
|
|
3589
3589
|
apiVersion: string;
|
|
3590
3590
|
}>;
|
|
3591
3591
|
declare const agentJobCompletedEventSchema: z.ZodObject<{
|
|
@@ -3643,7 +3643,6 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
|
|
|
3643
3643
|
}, "strip", z.ZodTypeAny, {
|
|
3644
3644
|
type: "agent.job_completed";
|
|
3645
3645
|
id: string;
|
|
3646
|
-
mode: "test" | "live";
|
|
3647
3646
|
createdAt: string;
|
|
3648
3647
|
data: {
|
|
3649
3648
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3661,11 +3660,11 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
|
|
|
3661
3660
|
escrowTxHash: string | null;
|
|
3662
3661
|
releaseTxHash: string | null;
|
|
3663
3662
|
};
|
|
3663
|
+
mode: "test" | "live";
|
|
3664
3664
|
apiVersion: string;
|
|
3665
3665
|
}, {
|
|
3666
3666
|
type: "agent.job_completed";
|
|
3667
3667
|
id: string;
|
|
3668
|
-
mode: "test" | "live";
|
|
3669
3668
|
createdAt: string;
|
|
3670
3669
|
data: {
|
|
3671
3670
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3683,6 +3682,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
|
|
|
3683
3682
|
escrowTxHash: string | null;
|
|
3684
3683
|
releaseTxHash: string | null;
|
|
3685
3684
|
};
|
|
3685
|
+
mode: "test" | "live";
|
|
3686
3686
|
apiVersion: string;
|
|
3687
3687
|
}>;
|
|
3688
3688
|
declare const agentJobDisputedEventSchema: z.ZodObject<{
|
|
@@ -3740,7 +3740,6 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
|
|
|
3740
3740
|
}, "strip", z.ZodTypeAny, {
|
|
3741
3741
|
type: "agent.job_disputed";
|
|
3742
3742
|
id: string;
|
|
3743
|
-
mode: "test" | "live";
|
|
3744
3743
|
createdAt: string;
|
|
3745
3744
|
data: {
|
|
3746
3745
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3758,11 +3757,11 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
|
|
|
3758
3757
|
escrowTxHash: string | null;
|
|
3759
3758
|
releaseTxHash: string | null;
|
|
3760
3759
|
};
|
|
3760
|
+
mode: "test" | "live";
|
|
3761
3761
|
apiVersion: string;
|
|
3762
3762
|
}, {
|
|
3763
3763
|
type: "agent.job_disputed";
|
|
3764
3764
|
id: string;
|
|
3765
|
-
mode: "test" | "live";
|
|
3766
3765
|
createdAt: string;
|
|
3767
3766
|
data: {
|
|
3768
3767
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -3780,6 +3779,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
|
|
|
3780
3779
|
escrowTxHash: string | null;
|
|
3781
3780
|
releaseTxHash: string | null;
|
|
3782
3781
|
};
|
|
3782
|
+
mode: "test" | "live";
|
|
3783
3783
|
apiVersion: string;
|
|
3784
3784
|
}>;
|
|
3785
3785
|
declare const complianceWalletFlaggedEventSchema: z.ZodObject<{
|
|
@@ -3804,69 +3804,69 @@ declare const complianceWalletFlaggedEventSchema: z.ZodObject<{
|
|
|
3804
3804
|
}, "strip", z.ZodTypeAny, {
|
|
3805
3805
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3806
3806
|
id: string;
|
|
3807
|
-
merchantId: string | null;
|
|
3808
|
-
createdAt: string;
|
|
3809
3807
|
walletAddress: string;
|
|
3810
3808
|
provider: "trm" | "elliptic" | "disabled";
|
|
3811
3809
|
riskScore: number | null;
|
|
3812
3810
|
flags: string[];
|
|
3813
3811
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3812
|
+
merchantId: string | null;
|
|
3814
3813
|
sessionId: string | null;
|
|
3815
3814
|
subscriptionId: string | null;
|
|
3816
3815
|
providerRequestId: string | null;
|
|
3816
|
+
createdAt: string;
|
|
3817
3817
|
}, {
|
|
3818
3818
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3819
3819
|
id: string;
|
|
3820
|
-
merchantId: string | null;
|
|
3821
|
-
createdAt: string;
|
|
3822
3820
|
walletAddress: string;
|
|
3823
3821
|
provider: "trm" | "elliptic" | "disabled";
|
|
3824
3822
|
riskScore: number | null;
|
|
3825
3823
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3824
|
+
merchantId: string | null;
|
|
3826
3825
|
sessionId: string | null;
|
|
3827
3826
|
subscriptionId: string | null;
|
|
3828
3827
|
providerRequestId: string | null;
|
|
3828
|
+
createdAt: string;
|
|
3829
3829
|
flags?: string[] | undefined;
|
|
3830
3830
|
}>;
|
|
3831
3831
|
}, "strip", z.ZodTypeAny, {
|
|
3832
3832
|
type: "compliance.wallet_flagged";
|
|
3833
3833
|
id: string;
|
|
3834
|
-
mode: "test" | "live";
|
|
3835
3834
|
createdAt: string;
|
|
3836
3835
|
data: {
|
|
3837
3836
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3838
3837
|
id: string;
|
|
3839
|
-
merchantId: string | null;
|
|
3840
|
-
createdAt: string;
|
|
3841
3838
|
walletAddress: string;
|
|
3842
3839
|
provider: "trm" | "elliptic" | "disabled";
|
|
3843
3840
|
riskScore: number | null;
|
|
3844
3841
|
flags: string[];
|
|
3845
3842
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3843
|
+
merchantId: string | null;
|
|
3846
3844
|
sessionId: string | null;
|
|
3847
3845
|
subscriptionId: string | null;
|
|
3848
3846
|
providerRequestId: string | null;
|
|
3847
|
+
createdAt: string;
|
|
3849
3848
|
};
|
|
3849
|
+
mode: "test" | "live";
|
|
3850
3850
|
apiVersion: string;
|
|
3851
3851
|
}, {
|
|
3852
3852
|
type: "compliance.wallet_flagged";
|
|
3853
3853
|
id: string;
|
|
3854
|
-
mode: "test" | "live";
|
|
3855
3854
|
createdAt: string;
|
|
3856
3855
|
data: {
|
|
3857
3856
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3858
3857
|
id: string;
|
|
3859
|
-
merchantId: string | null;
|
|
3860
|
-
createdAt: string;
|
|
3861
3858
|
walletAddress: string;
|
|
3862
3859
|
provider: "trm" | "elliptic" | "disabled";
|
|
3863
3860
|
riskScore: number | null;
|
|
3864
3861
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3862
|
+
merchantId: string | null;
|
|
3865
3863
|
sessionId: string | null;
|
|
3866
3864
|
subscriptionId: string | null;
|
|
3867
3865
|
providerRequestId: string | null;
|
|
3866
|
+
createdAt: string;
|
|
3868
3867
|
flags?: string[] | undefined;
|
|
3869
3868
|
};
|
|
3869
|
+
mode: "test" | "live";
|
|
3870
3870
|
apiVersion: string;
|
|
3871
3871
|
}>;
|
|
3872
3872
|
declare const complianceWalletBlockedEventSchema: z.ZodObject<{
|
|
@@ -3891,69 +3891,69 @@ declare const complianceWalletBlockedEventSchema: z.ZodObject<{
|
|
|
3891
3891
|
}, "strip", z.ZodTypeAny, {
|
|
3892
3892
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3893
3893
|
id: string;
|
|
3894
|
-
merchantId: string | null;
|
|
3895
|
-
createdAt: string;
|
|
3896
3894
|
walletAddress: string;
|
|
3897
3895
|
provider: "trm" | "elliptic" | "disabled";
|
|
3898
3896
|
riskScore: number | null;
|
|
3899
3897
|
flags: string[];
|
|
3900
3898
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3899
|
+
merchantId: string | null;
|
|
3901
3900
|
sessionId: string | null;
|
|
3902
3901
|
subscriptionId: string | null;
|
|
3903
3902
|
providerRequestId: string | null;
|
|
3903
|
+
createdAt: string;
|
|
3904
3904
|
}, {
|
|
3905
3905
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3906
3906
|
id: string;
|
|
3907
|
-
merchantId: string | null;
|
|
3908
|
-
createdAt: string;
|
|
3909
3907
|
walletAddress: string;
|
|
3910
3908
|
provider: "trm" | "elliptic" | "disabled";
|
|
3911
3909
|
riskScore: number | null;
|
|
3912
3910
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3911
|
+
merchantId: string | null;
|
|
3913
3912
|
sessionId: string | null;
|
|
3914
3913
|
subscriptionId: string | null;
|
|
3915
3914
|
providerRequestId: string | null;
|
|
3915
|
+
createdAt: string;
|
|
3916
3916
|
flags?: string[] | undefined;
|
|
3917
3917
|
}>;
|
|
3918
3918
|
}, "strip", z.ZodTypeAny, {
|
|
3919
3919
|
type: "compliance.wallet_blocked";
|
|
3920
3920
|
id: string;
|
|
3921
|
-
mode: "test" | "live";
|
|
3922
3921
|
createdAt: string;
|
|
3923
3922
|
data: {
|
|
3924
3923
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3925
3924
|
id: string;
|
|
3926
|
-
merchantId: string | null;
|
|
3927
|
-
createdAt: string;
|
|
3928
3925
|
walletAddress: string;
|
|
3929
3926
|
provider: "trm" | "elliptic" | "disabled";
|
|
3930
3927
|
riskScore: number | null;
|
|
3931
3928
|
flags: string[];
|
|
3932
3929
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3930
|
+
merchantId: string | null;
|
|
3933
3931
|
sessionId: string | null;
|
|
3934
3932
|
subscriptionId: string | null;
|
|
3935
3933
|
providerRequestId: string | null;
|
|
3934
|
+
createdAt: string;
|
|
3936
3935
|
};
|
|
3936
|
+
mode: "test" | "live";
|
|
3937
3937
|
apiVersion: string;
|
|
3938
3938
|
}, {
|
|
3939
3939
|
type: "compliance.wallet_blocked";
|
|
3940
3940
|
id: string;
|
|
3941
|
-
mode: "test" | "live";
|
|
3942
3941
|
createdAt: string;
|
|
3943
3942
|
data: {
|
|
3944
3943
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
3945
3944
|
id: string;
|
|
3946
|
-
merchantId: string | null;
|
|
3947
|
-
createdAt: string;
|
|
3948
3945
|
walletAddress: string;
|
|
3949
3946
|
provider: "trm" | "elliptic" | "disabled";
|
|
3950
3947
|
riskScore: number | null;
|
|
3951
3948
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
3949
|
+
merchantId: string | null;
|
|
3952
3950
|
sessionId: string | null;
|
|
3953
3951
|
subscriptionId: string | null;
|
|
3954
3952
|
providerRequestId: string | null;
|
|
3953
|
+
createdAt: string;
|
|
3955
3954
|
flags?: string[] | undefined;
|
|
3956
3955
|
};
|
|
3956
|
+
mode: "test" | "live";
|
|
3957
3957
|
apiVersion: string;
|
|
3958
3958
|
}>;
|
|
3959
3959
|
declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -4038,7 +4038,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4038
4038
|
}, "strip", z.ZodTypeAny, {
|
|
4039
4039
|
type: "payment.created";
|
|
4040
4040
|
id: string;
|
|
4041
|
-
mode: "test" | "live";
|
|
4042
4041
|
createdAt: string;
|
|
4043
4042
|
data: {
|
|
4044
4043
|
status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
|
|
@@ -4065,11 +4064,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4065
4064
|
expiresAt: string;
|
|
4066
4065
|
updatedAt: string;
|
|
4067
4066
|
};
|
|
4067
|
+
mode: "test" | "live";
|
|
4068
4068
|
apiVersion: string;
|
|
4069
4069
|
}, {
|
|
4070
4070
|
type: "payment.created";
|
|
4071
4071
|
id: string;
|
|
4072
|
-
mode: "test" | "live";
|
|
4073
4072
|
createdAt: string;
|
|
4074
4073
|
data: {
|
|
4075
4074
|
status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
|
|
@@ -4096,6 +4095,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4096
4095
|
updatedAt: string;
|
|
4097
4096
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
4098
4097
|
};
|
|
4098
|
+
mode: "test" | "live";
|
|
4099
4099
|
apiVersion: string;
|
|
4100
4100
|
}>, z.ZodObject<{
|
|
4101
4101
|
id: z.ZodString;
|
|
@@ -4201,10 +4201,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4201
4201
|
status: "confirmed" | "failed" | "pending";
|
|
4202
4202
|
id: string;
|
|
4203
4203
|
merchantId: string;
|
|
4204
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4205
|
-
createdAt: string;
|
|
4206
4204
|
sessionId: string | null;
|
|
4207
4205
|
subscriptionId: string | null;
|
|
4206
|
+
createdAt: string;
|
|
4207
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4208
4208
|
customerId: string | null;
|
|
4209
4209
|
amount: string;
|
|
4210
4210
|
currency: "USDC" | "EURC";
|
|
@@ -4221,10 +4221,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4221
4221
|
status: "confirmed" | "failed" | "pending";
|
|
4222
4222
|
id: string;
|
|
4223
4223
|
merchantId: string;
|
|
4224
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4225
|
-
createdAt: string;
|
|
4226
4224
|
sessionId: string | null;
|
|
4227
4225
|
subscriptionId: string | null;
|
|
4226
|
+
createdAt: string;
|
|
4227
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4228
4228
|
customerId: string | null;
|
|
4229
4229
|
amount: string;
|
|
4230
4230
|
currency: "USDC" | "EURC";
|
|
@@ -4268,10 +4268,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4268
4268
|
status: "confirmed" | "failed" | "pending";
|
|
4269
4269
|
id: string;
|
|
4270
4270
|
merchantId: string;
|
|
4271
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4272
|
-
createdAt: string;
|
|
4273
4271
|
sessionId: string | null;
|
|
4274
4272
|
subscriptionId: string | null;
|
|
4273
|
+
createdAt: string;
|
|
4274
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4275
4275
|
customerId: string | null;
|
|
4276
4276
|
amount: string;
|
|
4277
4277
|
currency: "USDC" | "EURC";
|
|
@@ -4315,10 +4315,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4315
4315
|
status: "confirmed" | "failed" | "pending";
|
|
4316
4316
|
id: string;
|
|
4317
4317
|
merchantId: string;
|
|
4318
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4319
|
-
createdAt: string;
|
|
4320
4318
|
sessionId: string | null;
|
|
4321
4319
|
subscriptionId: string | null;
|
|
4320
|
+
createdAt: string;
|
|
4321
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4322
4322
|
customerId: string | null;
|
|
4323
4323
|
amount: string;
|
|
4324
4324
|
currency: "USDC" | "EURC";
|
|
@@ -4336,7 +4336,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4336
4336
|
}, "strip", z.ZodTypeAny, {
|
|
4337
4337
|
type: "payment.completed";
|
|
4338
4338
|
id: string;
|
|
4339
|
-
mode: "test" | "live";
|
|
4340
4339
|
createdAt: string;
|
|
4341
4340
|
data: {
|
|
4342
4341
|
session: {
|
|
@@ -4368,10 +4367,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4368
4367
|
status: "confirmed" | "failed" | "pending";
|
|
4369
4368
|
id: string;
|
|
4370
4369
|
merchantId: string;
|
|
4371
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4372
|
-
createdAt: string;
|
|
4373
4370
|
sessionId: string | null;
|
|
4374
4371
|
subscriptionId: string | null;
|
|
4372
|
+
createdAt: string;
|
|
4373
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4375
4374
|
customerId: string | null;
|
|
4376
4375
|
amount: string;
|
|
4377
4376
|
currency: "USDC" | "EURC";
|
|
@@ -4386,11 +4385,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4386
4385
|
blockTimestamp: string;
|
|
4387
4386
|
};
|
|
4388
4387
|
};
|
|
4388
|
+
mode: "test" | "live";
|
|
4389
4389
|
apiVersion: string;
|
|
4390
4390
|
}, {
|
|
4391
4391
|
type: "payment.completed";
|
|
4392
4392
|
id: string;
|
|
4393
|
-
mode: "test" | "live";
|
|
4394
4393
|
createdAt: string;
|
|
4395
4394
|
data: {
|
|
4396
4395
|
session: {
|
|
@@ -4422,10 +4421,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4422
4421
|
status: "confirmed" | "failed" | "pending";
|
|
4423
4422
|
id: string;
|
|
4424
4423
|
merchantId: string;
|
|
4425
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4426
|
-
createdAt: string;
|
|
4427
4424
|
sessionId: string | null;
|
|
4428
4425
|
subscriptionId: string | null;
|
|
4426
|
+
createdAt: string;
|
|
4427
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4429
4428
|
customerId: string | null;
|
|
4430
4429
|
amount: string;
|
|
4431
4430
|
currency: "USDC" | "EURC";
|
|
@@ -4440,6 +4439,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4440
4439
|
blockTimestamp: string;
|
|
4441
4440
|
};
|
|
4442
4441
|
};
|
|
4442
|
+
mode: "test" | "live";
|
|
4443
4443
|
apiVersion: string;
|
|
4444
4444
|
}>, z.ZodObject<{
|
|
4445
4445
|
id: z.ZodString;
|
|
@@ -4580,7 +4580,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4580
4580
|
}, "strip", z.ZodTypeAny, {
|
|
4581
4581
|
type: "payment.failed";
|
|
4582
4582
|
id: string;
|
|
4583
|
-
mode: "test" | "live";
|
|
4584
4583
|
createdAt: string;
|
|
4585
4584
|
data: {
|
|
4586
4585
|
reason: string;
|
|
@@ -4610,11 +4609,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4610
4609
|
updatedAt: string;
|
|
4611
4610
|
};
|
|
4612
4611
|
};
|
|
4612
|
+
mode: "test" | "live";
|
|
4613
4613
|
apiVersion: string;
|
|
4614
4614
|
}, {
|
|
4615
4615
|
type: "payment.failed";
|
|
4616
4616
|
id: string;
|
|
4617
|
-
mode: "test" | "live";
|
|
4618
4617
|
createdAt: string;
|
|
4619
4618
|
data: {
|
|
4620
4619
|
reason: string;
|
|
@@ -4644,6 +4643,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4644
4643
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
4645
4644
|
};
|
|
4646
4645
|
};
|
|
4646
|
+
mode: "test" | "live";
|
|
4647
4647
|
apiVersion: string;
|
|
4648
4648
|
}>, z.ZodObject<{
|
|
4649
4649
|
id: z.ZodString;
|
|
@@ -4718,7 +4718,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4718
4718
|
}, "strip", z.ZodTypeAny, {
|
|
4719
4719
|
type: "subscription.created";
|
|
4720
4720
|
id: string;
|
|
4721
|
-
mode: "test" | "live";
|
|
4722
4721
|
createdAt: string;
|
|
4723
4722
|
data: {
|
|
4724
4723
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -4742,11 +4741,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4742
4741
|
gracePeriodHours: number;
|
|
4743
4742
|
cancelledAt: string | null;
|
|
4744
4743
|
};
|
|
4744
|
+
mode: "test" | "live";
|
|
4745
4745
|
apiVersion: string;
|
|
4746
4746
|
}, {
|
|
4747
4747
|
type: "subscription.created";
|
|
4748
4748
|
id: string;
|
|
4749
|
-
mode: "test" | "live";
|
|
4750
4749
|
createdAt: string;
|
|
4751
4750
|
data: {
|
|
4752
4751
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -4770,6 +4769,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4770
4769
|
cancelledAt: string | null;
|
|
4771
4770
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
4772
4771
|
};
|
|
4772
|
+
mode: "test" | "live";
|
|
4773
4773
|
apiVersion: string;
|
|
4774
4774
|
}>, z.ZodObject<{
|
|
4775
4775
|
id: z.ZodString;
|
|
@@ -4864,8 +4864,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4864
4864
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
4865
4865
|
id: string;
|
|
4866
4866
|
merchantId: string;
|
|
4867
|
-
createdAt: string;
|
|
4868
4867
|
subscriptionId: string;
|
|
4868
|
+
createdAt: string;
|
|
4869
4869
|
amount: string;
|
|
4870
4870
|
currency: "USDC" | "EURC";
|
|
4871
4871
|
onchainTxHash: string | null;
|
|
@@ -4882,8 +4882,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4882
4882
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
4883
4883
|
id: string;
|
|
4884
4884
|
merchantId: string;
|
|
4885
|
-
createdAt: string;
|
|
4886
4885
|
subscriptionId: string;
|
|
4886
|
+
createdAt: string;
|
|
4887
4887
|
amount: string;
|
|
4888
4888
|
currency: "USDC" | "EURC";
|
|
4889
4889
|
onchainTxHash: string | null;
|
|
@@ -4921,10 +4921,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4921
4921
|
status: "confirmed" | "failed" | "pending";
|
|
4922
4922
|
id: string;
|
|
4923
4923
|
merchantId: string;
|
|
4924
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4925
|
-
createdAt: string;
|
|
4926
4924
|
sessionId: string | null;
|
|
4927
4925
|
subscriptionId: string | null;
|
|
4926
|
+
createdAt: string;
|
|
4927
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4928
4928
|
customerId: string | null;
|
|
4929
4929
|
amount: string;
|
|
4930
4930
|
currency: "USDC" | "EURC";
|
|
@@ -4941,10 +4941,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4941
4941
|
status: "confirmed" | "failed" | "pending";
|
|
4942
4942
|
id: string;
|
|
4943
4943
|
merchantId: string;
|
|
4944
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4945
|
-
createdAt: string;
|
|
4946
4944
|
sessionId: string | null;
|
|
4947
4945
|
subscriptionId: string | null;
|
|
4946
|
+
createdAt: string;
|
|
4947
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4948
4948
|
customerId: string | null;
|
|
4949
4949
|
amount: string;
|
|
4950
4950
|
currency: "USDC" | "EURC";
|
|
@@ -4963,10 +4963,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4963
4963
|
status: "confirmed" | "failed" | "pending";
|
|
4964
4964
|
id: string;
|
|
4965
4965
|
merchantId: string;
|
|
4966
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4967
|
-
createdAt: string;
|
|
4968
4966
|
sessionId: string | null;
|
|
4969
4967
|
subscriptionId: string | null;
|
|
4968
|
+
createdAt: string;
|
|
4969
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
4970
4970
|
customerId: string | null;
|
|
4971
4971
|
amount: string;
|
|
4972
4972
|
currency: "USDC" | "EURC";
|
|
@@ -5006,8 +5006,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5006
5006
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5007
5007
|
id: string;
|
|
5008
5008
|
merchantId: string;
|
|
5009
|
-
createdAt: string;
|
|
5010
5009
|
subscriptionId: string;
|
|
5010
|
+
createdAt: string;
|
|
5011
5011
|
amount: string;
|
|
5012
5012
|
currency: "USDC" | "EURC";
|
|
5013
5013
|
onchainTxHash: string | null;
|
|
@@ -5026,10 +5026,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5026
5026
|
status: "confirmed" | "failed" | "pending";
|
|
5027
5027
|
id: string;
|
|
5028
5028
|
merchantId: string;
|
|
5029
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5030
|
-
createdAt: string;
|
|
5031
5029
|
sessionId: string | null;
|
|
5032
5030
|
subscriptionId: string | null;
|
|
5031
|
+
createdAt: string;
|
|
5032
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5033
5033
|
customerId: string | null;
|
|
5034
5034
|
amount: string;
|
|
5035
5035
|
currency: "USDC" | "EURC";
|
|
@@ -5069,8 +5069,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5069
5069
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5070
5070
|
id: string;
|
|
5071
5071
|
merchantId: string;
|
|
5072
|
-
createdAt: string;
|
|
5073
5072
|
subscriptionId: string;
|
|
5073
|
+
createdAt: string;
|
|
5074
5074
|
amount: string;
|
|
5075
5075
|
currency: "USDC" | "EURC";
|
|
5076
5076
|
onchainTxHash: string | null;
|
|
@@ -5088,17 +5088,16 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5088
5088
|
}, "strip", z.ZodTypeAny, {
|
|
5089
5089
|
type: "subscription.charged";
|
|
5090
5090
|
id: string;
|
|
5091
|
-
mode: "test" | "live";
|
|
5092
5091
|
createdAt: string;
|
|
5093
5092
|
data: {
|
|
5094
5093
|
transaction: {
|
|
5095
5094
|
status: "confirmed" | "failed" | "pending";
|
|
5096
5095
|
id: string;
|
|
5097
5096
|
merchantId: string;
|
|
5098
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5099
|
-
createdAt: string;
|
|
5100
5097
|
sessionId: string | null;
|
|
5101
5098
|
subscriptionId: string | null;
|
|
5099
|
+
createdAt: string;
|
|
5100
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5102
5101
|
customerId: string | null;
|
|
5103
5102
|
amount: string;
|
|
5104
5103
|
currency: "USDC" | "EURC";
|
|
@@ -5138,8 +5137,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5138
5137
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5139
5138
|
id: string;
|
|
5140
5139
|
merchantId: string;
|
|
5141
|
-
createdAt: string;
|
|
5142
5140
|
subscriptionId: string;
|
|
5141
|
+
createdAt: string;
|
|
5143
5142
|
amount: string;
|
|
5144
5143
|
currency: "USDC" | "EURC";
|
|
5145
5144
|
onchainTxHash: string | null;
|
|
@@ -5154,21 +5153,21 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5154
5153
|
failureReason: string | null;
|
|
5155
5154
|
};
|
|
5156
5155
|
};
|
|
5156
|
+
mode: "test" | "live";
|
|
5157
5157
|
apiVersion: string;
|
|
5158
5158
|
}, {
|
|
5159
5159
|
type: "subscription.charged";
|
|
5160
5160
|
id: string;
|
|
5161
|
-
mode: "test" | "live";
|
|
5162
5161
|
createdAt: string;
|
|
5163
5162
|
data: {
|
|
5164
5163
|
transaction: {
|
|
5165
5164
|
status: "confirmed" | "failed" | "pending";
|
|
5166
5165
|
id: string;
|
|
5167
5166
|
merchantId: string;
|
|
5168
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5169
|
-
createdAt: string;
|
|
5170
5167
|
sessionId: string | null;
|
|
5171
5168
|
subscriptionId: string | null;
|
|
5169
|
+
createdAt: string;
|
|
5170
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
5172
5171
|
customerId: string | null;
|
|
5173
5172
|
amount: string;
|
|
5174
5173
|
currency: "USDC" | "EURC";
|
|
@@ -5208,8 +5207,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5208
5207
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5209
5208
|
id: string;
|
|
5210
5209
|
merchantId: string;
|
|
5211
|
-
createdAt: string;
|
|
5212
5210
|
subscriptionId: string;
|
|
5211
|
+
createdAt: string;
|
|
5213
5212
|
amount: string;
|
|
5214
5213
|
currency: "USDC" | "EURC";
|
|
5215
5214
|
onchainTxHash: string | null;
|
|
@@ -5224,6 +5223,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5224
5223
|
failureReason: string | null;
|
|
5225
5224
|
};
|
|
5226
5225
|
};
|
|
5226
|
+
mode: "test" | "live";
|
|
5227
5227
|
apiVersion: string;
|
|
5228
5228
|
}>, z.ZodObject<{
|
|
5229
5229
|
id: z.ZodString;
|
|
@@ -5318,8 +5318,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5318
5318
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5319
5319
|
id: string;
|
|
5320
5320
|
merchantId: string;
|
|
5321
|
-
createdAt: string;
|
|
5322
5321
|
subscriptionId: string;
|
|
5322
|
+
createdAt: string;
|
|
5323
5323
|
amount: string;
|
|
5324
5324
|
currency: "USDC" | "EURC";
|
|
5325
5325
|
onchainTxHash: string | null;
|
|
@@ -5336,8 +5336,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5336
5336
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5337
5337
|
id: string;
|
|
5338
5338
|
merchantId: string;
|
|
5339
|
-
createdAt: string;
|
|
5340
5339
|
subscriptionId: string;
|
|
5340
|
+
createdAt: string;
|
|
5341
5341
|
amount: string;
|
|
5342
5342
|
currency: "USDC" | "EURC";
|
|
5343
5343
|
onchainTxHash: string | null;
|
|
@@ -5378,8 +5378,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5378
5378
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5379
5379
|
id: string;
|
|
5380
5380
|
merchantId: string;
|
|
5381
|
-
createdAt: string;
|
|
5382
5381
|
subscriptionId: string;
|
|
5382
|
+
createdAt: string;
|
|
5383
5383
|
amount: string;
|
|
5384
5384
|
currency: "USDC" | "EURC";
|
|
5385
5385
|
onchainTxHash: string | null;
|
|
@@ -5420,8 +5420,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5420
5420
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5421
5421
|
id: string;
|
|
5422
5422
|
merchantId: string;
|
|
5423
|
-
createdAt: string;
|
|
5424
5423
|
subscriptionId: string;
|
|
5424
|
+
createdAt: string;
|
|
5425
5425
|
amount: string;
|
|
5426
5426
|
currency: "USDC" | "EURC";
|
|
5427
5427
|
onchainTxHash: string | null;
|
|
@@ -5439,7 +5439,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5439
5439
|
}, "strip", z.ZodTypeAny, {
|
|
5440
5440
|
type: "subscription.charge_failed";
|
|
5441
5441
|
id: string;
|
|
5442
|
-
mode: "test" | "live";
|
|
5443
5442
|
createdAt: string;
|
|
5444
5443
|
data: {
|
|
5445
5444
|
subscription: {
|
|
@@ -5468,8 +5467,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5468
5467
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5469
5468
|
id: string;
|
|
5470
5469
|
merchantId: string;
|
|
5471
|
-
createdAt: string;
|
|
5472
5470
|
subscriptionId: string;
|
|
5471
|
+
createdAt: string;
|
|
5473
5472
|
amount: string;
|
|
5474
5473
|
currency: "USDC" | "EURC";
|
|
5475
5474
|
onchainTxHash: string | null;
|
|
@@ -5484,11 +5483,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5484
5483
|
failureReason: string | null;
|
|
5485
5484
|
};
|
|
5486
5485
|
};
|
|
5486
|
+
mode: "test" | "live";
|
|
5487
5487
|
apiVersion: string;
|
|
5488
5488
|
}, {
|
|
5489
5489
|
type: "subscription.charge_failed";
|
|
5490
5490
|
id: string;
|
|
5491
|
-
mode: "test" | "live";
|
|
5492
5491
|
createdAt: string;
|
|
5493
5492
|
data: {
|
|
5494
5493
|
subscription: {
|
|
@@ -5517,8 +5516,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5517
5516
|
status: "failed" | "pending" | "in_flight" | "succeeded" | "retrying" | "abandoned";
|
|
5518
5517
|
id: string;
|
|
5519
5518
|
merchantId: string;
|
|
5520
|
-
createdAt: string;
|
|
5521
5519
|
subscriptionId: string;
|
|
5520
|
+
createdAt: string;
|
|
5522
5521
|
amount: string;
|
|
5523
5522
|
currency: "USDC" | "EURC";
|
|
5524
5523
|
onchainTxHash: string | null;
|
|
@@ -5533,6 +5532,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5533
5532
|
failureReason: string | null;
|
|
5534
5533
|
};
|
|
5535
5534
|
};
|
|
5535
|
+
mode: "test" | "live";
|
|
5536
5536
|
apiVersion: string;
|
|
5537
5537
|
}>, z.ZodObject<{
|
|
5538
5538
|
id: z.ZodString;
|
|
@@ -5658,7 +5658,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5658
5658
|
}, "strip", z.ZodTypeAny, {
|
|
5659
5659
|
type: "subscription.recovery_attempt";
|
|
5660
5660
|
id: string;
|
|
5661
|
-
mode: "test" | "live";
|
|
5662
5661
|
createdAt: string;
|
|
5663
5662
|
data: {
|
|
5664
5663
|
attemptNumber: number;
|
|
@@ -5685,11 +5684,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5685
5684
|
cancelledAt: string | null;
|
|
5686
5685
|
};
|
|
5687
5686
|
};
|
|
5687
|
+
mode: "test" | "live";
|
|
5688
5688
|
apiVersion: string;
|
|
5689
5689
|
}, {
|
|
5690
5690
|
type: "subscription.recovery_attempt";
|
|
5691
5691
|
id: string;
|
|
5692
|
-
mode: "test" | "live";
|
|
5693
5692
|
createdAt: string;
|
|
5694
5693
|
data: {
|
|
5695
5694
|
attemptNumber: number;
|
|
@@ -5716,6 +5715,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5716
5715
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
5717
5716
|
};
|
|
5718
5717
|
};
|
|
5718
|
+
mode: "test" | "live";
|
|
5719
5719
|
apiVersion: string;
|
|
5720
5720
|
}>, z.ZodObject<{
|
|
5721
5721
|
id: z.ZodString;
|
|
@@ -5841,7 +5841,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5841
5841
|
}, "strip", z.ZodTypeAny, {
|
|
5842
5842
|
type: "subscription.recovery_outcome";
|
|
5843
5843
|
id: string;
|
|
5844
|
-
mode: "test" | "live";
|
|
5845
5844
|
createdAt: string;
|
|
5846
5845
|
data: {
|
|
5847
5846
|
outcome: "recovered" | "churned";
|
|
@@ -5868,11 +5867,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5868
5867
|
cancelledAt: string | null;
|
|
5869
5868
|
};
|
|
5870
5869
|
};
|
|
5870
|
+
mode: "test" | "live";
|
|
5871
5871
|
apiVersion: string;
|
|
5872
5872
|
}, {
|
|
5873
5873
|
type: "subscription.recovery_outcome";
|
|
5874
5874
|
id: string;
|
|
5875
|
-
mode: "test" | "live";
|
|
5876
5875
|
createdAt: string;
|
|
5877
5876
|
data: {
|
|
5878
5877
|
outcome: "recovered" | "churned";
|
|
@@ -5899,6 +5898,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5899
5898
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
5900
5899
|
};
|
|
5901
5900
|
};
|
|
5901
|
+
mode: "test" | "live";
|
|
5902
5902
|
apiVersion: string;
|
|
5903
5903
|
}>, z.ZodObject<{
|
|
5904
5904
|
id: z.ZodString;
|
|
@@ -5973,7 +5973,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5973
5973
|
}, "strip", z.ZodTypeAny, {
|
|
5974
5974
|
type: "subscription.cancelled";
|
|
5975
5975
|
id: string;
|
|
5976
|
-
mode: "test" | "live";
|
|
5977
5976
|
createdAt: string;
|
|
5978
5977
|
data: {
|
|
5979
5978
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -5997,11 +5996,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5997
5996
|
gracePeriodHours: number;
|
|
5998
5997
|
cancelledAt: string | null;
|
|
5999
5998
|
};
|
|
5999
|
+
mode: "test" | "live";
|
|
6000
6000
|
apiVersion: string;
|
|
6001
6001
|
}, {
|
|
6002
6002
|
type: "subscription.cancelled";
|
|
6003
6003
|
id: string;
|
|
6004
|
-
mode: "test" | "live";
|
|
6005
6004
|
createdAt: string;
|
|
6006
6005
|
data: {
|
|
6007
6006
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -6025,6 +6024,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6025
6024
|
cancelledAt: string | null;
|
|
6026
6025
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
6027
6026
|
};
|
|
6027
|
+
mode: "test" | "live";
|
|
6028
6028
|
apiVersion: string;
|
|
6029
6029
|
}>, z.ZodObject<{
|
|
6030
6030
|
id: z.ZodString;
|
|
@@ -6099,7 +6099,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6099
6099
|
}, "strip", z.ZodTypeAny, {
|
|
6100
6100
|
type: "subscription.lapsed";
|
|
6101
6101
|
id: string;
|
|
6102
|
-
mode: "test" | "live";
|
|
6103
6102
|
createdAt: string;
|
|
6104
6103
|
data: {
|
|
6105
6104
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -6123,11 +6122,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6123
6122
|
gracePeriodHours: number;
|
|
6124
6123
|
cancelledAt: string | null;
|
|
6125
6124
|
};
|
|
6125
|
+
mode: "test" | "live";
|
|
6126
6126
|
apiVersion: string;
|
|
6127
6127
|
}, {
|
|
6128
6128
|
type: "subscription.lapsed";
|
|
6129
6129
|
id: string;
|
|
6130
|
-
mode: "test" | "live";
|
|
6131
6130
|
createdAt: string;
|
|
6132
6131
|
data: {
|
|
6133
6132
|
status: "cancelled" | "active" | "trialing" | "at_risk" | "paused" | "lapsed";
|
|
@@ -6151,6 +6150,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6151
6150
|
cancelledAt: string | null;
|
|
6152
6151
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
6153
6152
|
};
|
|
6153
|
+
mode: "test" | "live";
|
|
6154
6154
|
apiVersion: string;
|
|
6155
6155
|
}>, z.ZodObject<{
|
|
6156
6156
|
id: z.ZodString;
|
|
@@ -6207,7 +6207,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6207
6207
|
}, "strip", z.ZodTypeAny, {
|
|
6208
6208
|
type: "refund.created";
|
|
6209
6209
|
id: string;
|
|
6210
|
-
mode: "test" | "live";
|
|
6211
6210
|
createdAt: string;
|
|
6212
6211
|
data: {
|
|
6213
6212
|
status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
|
|
@@ -6225,11 +6224,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6225
6224
|
initiatedBy: string;
|
|
6226
6225
|
completedAt: string | null;
|
|
6227
6226
|
};
|
|
6227
|
+
mode: "test" | "live";
|
|
6228
6228
|
apiVersion: string;
|
|
6229
6229
|
}, {
|
|
6230
6230
|
type: "refund.created";
|
|
6231
6231
|
id: string;
|
|
6232
|
-
mode: "test" | "live";
|
|
6233
6232
|
createdAt: string;
|
|
6234
6233
|
data: {
|
|
6235
6234
|
status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
|
|
@@ -6247,6 +6246,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6247
6246
|
initiatedBy: string;
|
|
6248
6247
|
completedAt: string | null;
|
|
6249
6248
|
};
|
|
6249
|
+
mode: "test" | "live";
|
|
6250
6250
|
apiVersion: string;
|
|
6251
6251
|
}>, z.ZodObject<{
|
|
6252
6252
|
id: z.ZodString;
|
|
@@ -6325,10 +6325,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6325
6325
|
status: "confirmed" | "failed" | "pending";
|
|
6326
6326
|
id: string;
|
|
6327
6327
|
merchantId: string;
|
|
6328
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6329
|
-
createdAt: string;
|
|
6330
6328
|
sessionId: string | null;
|
|
6331
6329
|
subscriptionId: string | null;
|
|
6330
|
+
createdAt: string;
|
|
6331
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6332
6332
|
customerId: string | null;
|
|
6333
6333
|
amount: string;
|
|
6334
6334
|
currency: "USDC" | "EURC";
|
|
@@ -6345,10 +6345,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6345
6345
|
status: "confirmed" | "failed" | "pending";
|
|
6346
6346
|
id: string;
|
|
6347
6347
|
merchantId: string;
|
|
6348
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6349
|
-
createdAt: string;
|
|
6350
6348
|
sessionId: string | null;
|
|
6351
6349
|
subscriptionId: string | null;
|
|
6350
|
+
createdAt: string;
|
|
6351
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6352
6352
|
customerId: string | null;
|
|
6353
6353
|
amount: string;
|
|
6354
6354
|
currency: "USDC" | "EURC";
|
|
@@ -6383,10 +6383,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6383
6383
|
status: "confirmed" | "failed" | "pending";
|
|
6384
6384
|
id: string;
|
|
6385
6385
|
merchantId: string;
|
|
6386
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6387
|
-
createdAt: string;
|
|
6388
6386
|
sessionId: string | null;
|
|
6389
6387
|
subscriptionId: string | null;
|
|
6388
|
+
createdAt: string;
|
|
6389
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6390
6390
|
customerId: string | null;
|
|
6391
6391
|
amount: string;
|
|
6392
6392
|
currency: "USDC" | "EURC";
|
|
@@ -6421,10 +6421,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6421
6421
|
status: "confirmed" | "failed" | "pending";
|
|
6422
6422
|
id: string;
|
|
6423
6423
|
merchantId: string;
|
|
6424
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6425
|
-
createdAt: string;
|
|
6426
6424
|
sessionId: string | null;
|
|
6427
6425
|
subscriptionId: string | null;
|
|
6426
|
+
createdAt: string;
|
|
6427
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6428
6428
|
customerId: string | null;
|
|
6429
6429
|
amount: string;
|
|
6430
6430
|
currency: "USDC" | "EURC";
|
|
@@ -6442,7 +6442,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6442
6442
|
}, "strip", z.ZodTypeAny, {
|
|
6443
6443
|
type: "refund.completed";
|
|
6444
6444
|
id: string;
|
|
6445
|
-
mode: "test" | "live";
|
|
6446
6445
|
createdAt: string;
|
|
6447
6446
|
data: {
|
|
6448
6447
|
refund: {
|
|
@@ -6465,10 +6464,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6465
6464
|
status: "confirmed" | "failed" | "pending";
|
|
6466
6465
|
id: string;
|
|
6467
6466
|
merchantId: string;
|
|
6468
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6469
|
-
createdAt: string;
|
|
6470
6467
|
sessionId: string | null;
|
|
6471
6468
|
subscriptionId: string | null;
|
|
6469
|
+
createdAt: string;
|
|
6470
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6472
6471
|
customerId: string | null;
|
|
6473
6472
|
amount: string;
|
|
6474
6473
|
currency: "USDC" | "EURC";
|
|
@@ -6483,11 +6482,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6483
6482
|
blockTimestamp: string;
|
|
6484
6483
|
};
|
|
6485
6484
|
};
|
|
6485
|
+
mode: "test" | "live";
|
|
6486
6486
|
apiVersion: string;
|
|
6487
6487
|
}, {
|
|
6488
6488
|
type: "refund.completed";
|
|
6489
6489
|
id: string;
|
|
6490
|
-
mode: "test" | "live";
|
|
6491
6490
|
createdAt: string;
|
|
6492
6491
|
data: {
|
|
6493
6492
|
refund: {
|
|
@@ -6510,10 +6509,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6510
6509
|
status: "confirmed" | "failed" | "pending";
|
|
6511
6510
|
id: string;
|
|
6512
6511
|
merchantId: string;
|
|
6513
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6514
|
-
createdAt: string;
|
|
6515
6512
|
sessionId: string | null;
|
|
6516
6513
|
subscriptionId: string | null;
|
|
6514
|
+
createdAt: string;
|
|
6515
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6517
6516
|
customerId: string | null;
|
|
6518
6517
|
amount: string;
|
|
6519
6518
|
currency: "USDC" | "EURC";
|
|
@@ -6528,6 +6527,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6528
6527
|
blockTimestamp: string;
|
|
6529
6528
|
};
|
|
6530
6529
|
};
|
|
6530
|
+
mode: "test" | "live";
|
|
6531
6531
|
apiVersion: string;
|
|
6532
6532
|
}>, z.ZodObject<{
|
|
6533
6533
|
id: z.ZodString;
|
|
@@ -6623,7 +6623,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6623
6623
|
}, "strip", z.ZodTypeAny, {
|
|
6624
6624
|
type: "refund.failed";
|
|
6625
6625
|
id: string;
|
|
6626
|
-
mode: "test" | "live";
|
|
6627
6626
|
createdAt: string;
|
|
6628
6627
|
data: {
|
|
6629
6628
|
refund: {
|
|
@@ -6644,11 +6643,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6644
6643
|
};
|
|
6645
6644
|
reason: string;
|
|
6646
6645
|
};
|
|
6646
|
+
mode: "test" | "live";
|
|
6647
6647
|
apiVersion: string;
|
|
6648
6648
|
}, {
|
|
6649
6649
|
type: "refund.failed";
|
|
6650
6650
|
id: string;
|
|
6651
|
-
mode: "test" | "live";
|
|
6652
6651
|
createdAt: string;
|
|
6653
6652
|
data: {
|
|
6654
6653
|
refund: {
|
|
@@ -6669,6 +6668,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6669
6668
|
};
|
|
6670
6669
|
reason: string;
|
|
6671
6670
|
};
|
|
6671
|
+
mode: "test" | "live";
|
|
6672
6672
|
apiVersion: string;
|
|
6673
6673
|
}>, z.ZodObject<{
|
|
6674
6674
|
id: z.ZodString;
|
|
@@ -6711,8 +6711,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6711
6711
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6712
6712
|
id: string;
|
|
6713
6713
|
merchantId: string;
|
|
6714
|
-
createdAt: string;
|
|
6715
6714
|
sessionId: string | null;
|
|
6715
|
+
createdAt: string;
|
|
6716
6716
|
currency: "USDC" | "EURC";
|
|
6717
6717
|
updatedAt: string;
|
|
6718
6718
|
note: string | null;
|
|
@@ -6737,8 +6737,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6737
6737
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6738
6738
|
id: string;
|
|
6739
6739
|
merchantId: string;
|
|
6740
|
-
createdAt: string;
|
|
6741
6740
|
sessionId: string | null;
|
|
6741
|
+
createdAt: string;
|
|
6742
6742
|
currency: "USDC" | "EURC";
|
|
6743
6743
|
updatedAt: string;
|
|
6744
6744
|
note: string | null;
|
|
@@ -6762,15 +6762,14 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6762
6762
|
}, "strip", z.ZodTypeAny, {
|
|
6763
6763
|
type: "invoice.created";
|
|
6764
6764
|
id: string;
|
|
6765
|
-
mode: "test" | "live";
|
|
6766
6765
|
createdAt: string;
|
|
6767
6766
|
data: {
|
|
6768
6767
|
number: string;
|
|
6769
6768
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6770
6769
|
id: string;
|
|
6771
6770
|
merchantId: string;
|
|
6772
|
-
createdAt: string;
|
|
6773
6771
|
sessionId: string | null;
|
|
6772
|
+
createdAt: string;
|
|
6774
6773
|
currency: "USDC" | "EURC";
|
|
6775
6774
|
updatedAt: string;
|
|
6776
6775
|
note: string | null;
|
|
@@ -6791,19 +6790,19 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6791
6790
|
paidAt: string | null;
|
|
6792
6791
|
sentAt: string | null;
|
|
6793
6792
|
};
|
|
6793
|
+
mode: "test" | "live";
|
|
6794
6794
|
apiVersion: string;
|
|
6795
6795
|
}, {
|
|
6796
6796
|
type: "invoice.created";
|
|
6797
6797
|
id: string;
|
|
6798
|
-
mode: "test" | "live";
|
|
6799
6798
|
createdAt: string;
|
|
6800
6799
|
data: {
|
|
6801
6800
|
number: string;
|
|
6802
6801
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6803
6802
|
id: string;
|
|
6804
6803
|
merchantId: string;
|
|
6805
|
-
createdAt: string;
|
|
6806
6804
|
sessionId: string | null;
|
|
6805
|
+
createdAt: string;
|
|
6807
6806
|
currency: "USDC" | "EURC";
|
|
6808
6807
|
updatedAt: string;
|
|
6809
6808
|
note: string | null;
|
|
@@ -6824,6 +6823,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6824
6823
|
paidAt: string | null;
|
|
6825
6824
|
sentAt: string | null;
|
|
6826
6825
|
};
|
|
6826
|
+
mode: "test" | "live";
|
|
6827
6827
|
apiVersion: string;
|
|
6828
6828
|
}>, z.ZodObject<{
|
|
6829
6829
|
id: z.ZodString;
|
|
@@ -6867,8 +6867,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6867
6867
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6868
6868
|
id: string;
|
|
6869
6869
|
merchantId: string;
|
|
6870
|
-
createdAt: string;
|
|
6871
6870
|
sessionId: string | null;
|
|
6871
|
+
createdAt: string;
|
|
6872
6872
|
currency: "USDC" | "EURC";
|
|
6873
6873
|
updatedAt: string;
|
|
6874
6874
|
note: string | null;
|
|
@@ -6893,8 +6893,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6893
6893
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
6894
6894
|
id: string;
|
|
6895
6895
|
merchantId: string;
|
|
6896
|
-
createdAt: string;
|
|
6897
6896
|
sessionId: string | null;
|
|
6897
|
+
createdAt: string;
|
|
6898
6898
|
currency: "USDC" | "EURC";
|
|
6899
6899
|
updatedAt: string;
|
|
6900
6900
|
note: string | null;
|
|
@@ -6939,10 +6939,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6939
6939
|
status: "confirmed" | "failed" | "pending";
|
|
6940
6940
|
id: string;
|
|
6941
6941
|
merchantId: string;
|
|
6942
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6943
|
-
createdAt: string;
|
|
6944
6942
|
sessionId: string | null;
|
|
6945
6943
|
subscriptionId: string | null;
|
|
6944
|
+
createdAt: string;
|
|
6945
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6946
6946
|
customerId: string | null;
|
|
6947
6947
|
amount: string;
|
|
6948
6948
|
currency: "USDC" | "EURC";
|
|
@@ -6959,10 +6959,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6959
6959
|
status: "confirmed" | "failed" | "pending";
|
|
6960
6960
|
id: string;
|
|
6961
6961
|
merchantId: string;
|
|
6962
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6963
|
-
createdAt: string;
|
|
6964
6962
|
sessionId: string | null;
|
|
6965
6963
|
subscriptionId: string | null;
|
|
6964
|
+
createdAt: string;
|
|
6965
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6966
6966
|
customerId: string | null;
|
|
6967
6967
|
amount: string;
|
|
6968
6968
|
currency: "USDC" | "EURC";
|
|
@@ -6981,10 +6981,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6981
6981
|
status: "confirmed" | "failed" | "pending";
|
|
6982
6982
|
id: string;
|
|
6983
6983
|
merchantId: string;
|
|
6984
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6985
|
-
createdAt: string;
|
|
6986
6984
|
sessionId: string | null;
|
|
6987
6985
|
subscriptionId: string | null;
|
|
6986
|
+
createdAt: string;
|
|
6987
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
6988
6988
|
customerId: string | null;
|
|
6989
6989
|
amount: string;
|
|
6990
6990
|
currency: "USDC" | "EURC";
|
|
@@ -7003,8 +7003,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7003
7003
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7004
7004
|
id: string;
|
|
7005
7005
|
merchantId: string;
|
|
7006
|
-
createdAt: string;
|
|
7007
7006
|
sessionId: string | null;
|
|
7007
|
+
createdAt: string;
|
|
7008
7008
|
currency: "USDC" | "EURC";
|
|
7009
7009
|
updatedAt: string;
|
|
7010
7010
|
note: string | null;
|
|
@@ -7030,10 +7030,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7030
7030
|
status: "confirmed" | "failed" | "pending";
|
|
7031
7031
|
id: string;
|
|
7032
7032
|
merchantId: string;
|
|
7033
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7034
|
-
createdAt: string;
|
|
7035
7033
|
sessionId: string | null;
|
|
7036
7034
|
subscriptionId: string | null;
|
|
7035
|
+
createdAt: string;
|
|
7036
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7037
7037
|
customerId: string | null;
|
|
7038
7038
|
amount: string;
|
|
7039
7039
|
currency: "USDC" | "EURC";
|
|
@@ -7052,8 +7052,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7052
7052
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7053
7053
|
id: string;
|
|
7054
7054
|
merchantId: string;
|
|
7055
|
-
createdAt: string;
|
|
7056
7055
|
sessionId: string | null;
|
|
7056
|
+
createdAt: string;
|
|
7057
7057
|
currency: "USDC" | "EURC";
|
|
7058
7058
|
updatedAt: string;
|
|
7059
7059
|
note: string | null;
|
|
@@ -7078,17 +7078,16 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7078
7078
|
}, "strip", z.ZodTypeAny, {
|
|
7079
7079
|
type: "invoice.paid";
|
|
7080
7080
|
id: string;
|
|
7081
|
-
mode: "test" | "live";
|
|
7082
7081
|
createdAt: string;
|
|
7083
7082
|
data: {
|
|
7084
7083
|
transaction: {
|
|
7085
7084
|
status: "confirmed" | "failed" | "pending";
|
|
7086
7085
|
id: string;
|
|
7087
7086
|
merchantId: string;
|
|
7088
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7089
|
-
createdAt: string;
|
|
7090
7087
|
sessionId: string | null;
|
|
7091
7088
|
subscriptionId: string | null;
|
|
7089
|
+
createdAt: string;
|
|
7090
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7092
7091
|
customerId: string | null;
|
|
7093
7092
|
amount: string;
|
|
7094
7093
|
currency: "USDC" | "EURC";
|
|
@@ -7107,8 +7106,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7107
7106
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7108
7107
|
id: string;
|
|
7109
7108
|
merchantId: string;
|
|
7110
|
-
createdAt: string;
|
|
7111
7109
|
sessionId: string | null;
|
|
7110
|
+
createdAt: string;
|
|
7112
7111
|
currency: "USDC" | "EURC";
|
|
7113
7112
|
updatedAt: string;
|
|
7114
7113
|
note: string | null;
|
|
@@ -7130,21 +7129,21 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7130
7129
|
sentAt: string | null;
|
|
7131
7130
|
};
|
|
7132
7131
|
};
|
|
7132
|
+
mode: "test" | "live";
|
|
7133
7133
|
apiVersion: string;
|
|
7134
7134
|
}, {
|
|
7135
7135
|
type: "invoice.paid";
|
|
7136
7136
|
id: string;
|
|
7137
|
-
mode: "test" | "live";
|
|
7138
7137
|
createdAt: string;
|
|
7139
7138
|
data: {
|
|
7140
7139
|
transaction: {
|
|
7141
7140
|
status: "confirmed" | "failed" | "pending";
|
|
7142
7141
|
id: string;
|
|
7143
7142
|
merchantId: string;
|
|
7144
|
-
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7145
|
-
createdAt: string;
|
|
7146
7143
|
sessionId: string | null;
|
|
7147
7144
|
subscriptionId: string | null;
|
|
7145
|
+
createdAt: string;
|
|
7146
|
+
kind: "one_shot" | "subscription_charge" | "refund" | "invoice_payment" | "storefront_purchase";
|
|
7148
7147
|
customerId: string | null;
|
|
7149
7148
|
amount: string;
|
|
7150
7149
|
currency: "USDC" | "EURC";
|
|
@@ -7163,8 +7162,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7163
7162
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7164
7163
|
id: string;
|
|
7165
7164
|
merchantId: string;
|
|
7166
|
-
createdAt: string;
|
|
7167
7165
|
sessionId: string | null;
|
|
7166
|
+
createdAt: string;
|
|
7168
7167
|
currency: "USDC" | "EURC";
|
|
7169
7168
|
updatedAt: string;
|
|
7170
7169
|
note: string | null;
|
|
@@ -7186,6 +7185,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7186
7185
|
sentAt: string | null;
|
|
7187
7186
|
};
|
|
7188
7187
|
};
|
|
7188
|
+
mode: "test" | "live";
|
|
7189
7189
|
apiVersion: string;
|
|
7190
7190
|
}>, z.ZodObject<{
|
|
7191
7191
|
id: z.ZodString;
|
|
@@ -7228,8 +7228,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7228
7228
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7229
7229
|
id: string;
|
|
7230
7230
|
merchantId: string;
|
|
7231
|
-
createdAt: string;
|
|
7232
7231
|
sessionId: string | null;
|
|
7232
|
+
createdAt: string;
|
|
7233
7233
|
currency: "USDC" | "EURC";
|
|
7234
7234
|
updatedAt: string;
|
|
7235
7235
|
note: string | null;
|
|
@@ -7254,8 +7254,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7254
7254
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7255
7255
|
id: string;
|
|
7256
7256
|
merchantId: string;
|
|
7257
|
-
createdAt: string;
|
|
7258
7257
|
sessionId: string | null;
|
|
7258
|
+
createdAt: string;
|
|
7259
7259
|
currency: "USDC" | "EURC";
|
|
7260
7260
|
updatedAt: string;
|
|
7261
7261
|
note: string | null;
|
|
@@ -7279,15 +7279,14 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7279
7279
|
}, "strip", z.ZodTypeAny, {
|
|
7280
7280
|
type: "invoice.overdue";
|
|
7281
7281
|
id: string;
|
|
7282
|
-
mode: "test" | "live";
|
|
7283
7282
|
createdAt: string;
|
|
7284
7283
|
data: {
|
|
7285
7284
|
number: string;
|
|
7286
7285
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7287
7286
|
id: string;
|
|
7288
7287
|
merchantId: string;
|
|
7289
|
-
createdAt: string;
|
|
7290
7288
|
sessionId: string | null;
|
|
7289
|
+
createdAt: string;
|
|
7291
7290
|
currency: "USDC" | "EURC";
|
|
7292
7291
|
updatedAt: string;
|
|
7293
7292
|
note: string | null;
|
|
@@ -7308,19 +7307,19 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7308
7307
|
paidAt: string | null;
|
|
7309
7308
|
sentAt: string | null;
|
|
7310
7309
|
};
|
|
7310
|
+
mode: "test" | "live";
|
|
7311
7311
|
apiVersion: string;
|
|
7312
7312
|
}, {
|
|
7313
7313
|
type: "invoice.overdue";
|
|
7314
7314
|
id: string;
|
|
7315
|
-
mode: "test" | "live";
|
|
7316
7315
|
createdAt: string;
|
|
7317
7316
|
data: {
|
|
7318
7317
|
number: string;
|
|
7319
7318
|
status: "void" | "draft" | "sent" | "paid" | "overdue";
|
|
7320
7319
|
id: string;
|
|
7321
7320
|
merchantId: string;
|
|
7322
|
-
createdAt: string;
|
|
7323
7321
|
sessionId: string | null;
|
|
7322
|
+
createdAt: string;
|
|
7324
7323
|
currency: "USDC" | "EURC";
|
|
7325
7324
|
updatedAt: string;
|
|
7326
7325
|
note: string | null;
|
|
@@ -7341,6 +7340,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7341
7340
|
paidAt: string | null;
|
|
7342
7341
|
sentAt: string | null;
|
|
7343
7342
|
};
|
|
7343
|
+
mode: "test" | "live";
|
|
7344
7344
|
apiVersion: string;
|
|
7345
7345
|
}>, z.ZodObject<{
|
|
7346
7346
|
id: z.ZodString;
|
|
@@ -7362,8 +7362,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7362
7362
|
}, "strip", z.ZodTypeAny, {
|
|
7363
7363
|
id: string;
|
|
7364
7364
|
merchantId: string;
|
|
7365
|
-
createdAt: string;
|
|
7366
7365
|
subscriptionId: string | null;
|
|
7366
|
+
createdAt: string;
|
|
7367
7367
|
metadata: Record<string, string | number | boolean | null>;
|
|
7368
7368
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
7369
7369
|
transactionId: string | null;
|
|
@@ -7373,8 +7373,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7373
7373
|
}, {
|
|
7374
7374
|
id: string;
|
|
7375
7375
|
merchantId: string;
|
|
7376
|
-
createdAt: string;
|
|
7377
7376
|
subscriptionId: string | null;
|
|
7377
|
+
createdAt: string;
|
|
7378
7378
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
7379
7379
|
transactionId: string | null;
|
|
7380
7380
|
capability: "identity" | "recovery" | "routing" | "cashflow" | "commerce" | "pricing_intelligence";
|
|
@@ -7385,13 +7385,12 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7385
7385
|
}, "strip", z.ZodTypeAny, {
|
|
7386
7386
|
type: "agent.action_executed";
|
|
7387
7387
|
id: string;
|
|
7388
|
-
mode: "test" | "live";
|
|
7389
7388
|
createdAt: string;
|
|
7390
7389
|
data: {
|
|
7391
7390
|
id: string;
|
|
7392
7391
|
merchantId: string;
|
|
7393
|
-
createdAt: string;
|
|
7394
7392
|
subscriptionId: string | null;
|
|
7393
|
+
createdAt: string;
|
|
7395
7394
|
metadata: Record<string, string | number | boolean | null>;
|
|
7396
7395
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
7397
7396
|
transactionId: string | null;
|
|
@@ -7399,17 +7398,17 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7399
7398
|
actionType: "recovery_notification_sent" | "recovery_retry_scheduled" | "recovery_retry_executed" | "recovery_abandoned" | "routing_bridge_initiated" | "routing_payment_completed" | "cashflow_digest_sent" | "cashflow_anomaly_flagged" | "cashflow_yield_converted" | "commerce_job_created" | "commerce_job_approved" | "commerce_job_completed" | "commerce_job_disputed";
|
|
7400
7399
|
jobId: string | null;
|
|
7401
7400
|
};
|
|
7401
|
+
mode: "test" | "live";
|
|
7402
7402
|
apiVersion: string;
|
|
7403
7403
|
}, {
|
|
7404
7404
|
type: "agent.action_executed";
|
|
7405
7405
|
id: string;
|
|
7406
|
-
mode: "test" | "live";
|
|
7407
7406
|
createdAt: string;
|
|
7408
7407
|
data: {
|
|
7409
7408
|
id: string;
|
|
7410
7409
|
merchantId: string;
|
|
7411
|
-
createdAt: string;
|
|
7412
7410
|
subscriptionId: string | null;
|
|
7411
|
+
createdAt: string;
|
|
7413
7412
|
outcome: "pending" | "skipped" | "success" | "failure";
|
|
7414
7413
|
transactionId: string | null;
|
|
7415
7414
|
capability: "identity" | "recovery" | "routing" | "cashflow" | "commerce" | "pricing_intelligence";
|
|
@@ -7417,6 +7416,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7417
7416
|
jobId: string | null;
|
|
7418
7417
|
metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
7419
7418
|
};
|
|
7419
|
+
mode: "test" | "live";
|
|
7420
7420
|
apiVersion: string;
|
|
7421
7421
|
}>, z.ZodObject<{
|
|
7422
7422
|
id: z.ZodString;
|
|
@@ -7473,7 +7473,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7473
7473
|
}, "strip", z.ZodTypeAny, {
|
|
7474
7474
|
type: "agent.job_proposed";
|
|
7475
7475
|
id: string;
|
|
7476
|
-
mode: "test" | "live";
|
|
7477
7476
|
createdAt: string;
|
|
7478
7477
|
data: {
|
|
7479
7478
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7491,11 +7490,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7491
7490
|
escrowTxHash: string | null;
|
|
7492
7491
|
releaseTxHash: string | null;
|
|
7493
7492
|
};
|
|
7493
|
+
mode: "test" | "live";
|
|
7494
7494
|
apiVersion: string;
|
|
7495
7495
|
}, {
|
|
7496
7496
|
type: "agent.job_proposed";
|
|
7497
7497
|
id: string;
|
|
7498
|
-
mode: "test" | "live";
|
|
7499
7498
|
createdAt: string;
|
|
7500
7499
|
data: {
|
|
7501
7500
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7513,6 +7512,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7513
7512
|
escrowTxHash: string | null;
|
|
7514
7513
|
releaseTxHash: string | null;
|
|
7515
7514
|
};
|
|
7515
|
+
mode: "test" | "live";
|
|
7516
7516
|
apiVersion: string;
|
|
7517
7517
|
}>, z.ZodObject<{
|
|
7518
7518
|
id: z.ZodString;
|
|
@@ -7569,7 +7569,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7569
7569
|
}, "strip", z.ZodTypeAny, {
|
|
7570
7570
|
type: "agent.job_completed";
|
|
7571
7571
|
id: string;
|
|
7572
|
-
mode: "test" | "live";
|
|
7573
7572
|
createdAt: string;
|
|
7574
7573
|
data: {
|
|
7575
7574
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7587,11 +7586,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7587
7586
|
escrowTxHash: string | null;
|
|
7588
7587
|
releaseTxHash: string | null;
|
|
7589
7588
|
};
|
|
7589
|
+
mode: "test" | "live";
|
|
7590
7590
|
apiVersion: string;
|
|
7591
7591
|
}, {
|
|
7592
7592
|
type: "agent.job_completed";
|
|
7593
7593
|
id: string;
|
|
7594
|
-
mode: "test" | "live";
|
|
7595
7594
|
createdAt: string;
|
|
7596
7595
|
data: {
|
|
7597
7596
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7609,6 +7608,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7609
7608
|
escrowTxHash: string | null;
|
|
7610
7609
|
releaseTxHash: string | null;
|
|
7611
7610
|
};
|
|
7611
|
+
mode: "test" | "live";
|
|
7612
7612
|
apiVersion: string;
|
|
7613
7613
|
}>, z.ZodObject<{
|
|
7614
7614
|
id: z.ZodString;
|
|
@@ -7665,7 +7665,6 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7665
7665
|
}, "strip", z.ZodTypeAny, {
|
|
7666
7666
|
type: "agent.job_disputed";
|
|
7667
7667
|
id: string;
|
|
7668
|
-
mode: "test" | "live";
|
|
7669
7668
|
createdAt: string;
|
|
7670
7669
|
data: {
|
|
7671
7670
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7683,11 +7682,11 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7683
7682
|
escrowTxHash: string | null;
|
|
7684
7683
|
releaseTxHash: string | null;
|
|
7685
7684
|
};
|
|
7685
|
+
mode: "test" | "live";
|
|
7686
7686
|
apiVersion: string;
|
|
7687
7687
|
}, {
|
|
7688
7688
|
type: "agent.job_disputed";
|
|
7689
7689
|
id: string;
|
|
7690
|
-
mode: "test" | "live";
|
|
7691
7690
|
createdAt: string;
|
|
7692
7691
|
data: {
|
|
7693
7692
|
status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
|
|
@@ -7705,6 +7704,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7705
7704
|
escrowTxHash: string | null;
|
|
7706
7705
|
releaseTxHash: string | null;
|
|
7707
7706
|
};
|
|
7707
|
+
mode: "test" | "live";
|
|
7708
7708
|
apiVersion: string;
|
|
7709
7709
|
}>, z.ZodObject<{
|
|
7710
7710
|
id: z.ZodString;
|
|
@@ -7728,69 +7728,69 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7728
7728
|
}, "strip", z.ZodTypeAny, {
|
|
7729
7729
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7730
7730
|
id: string;
|
|
7731
|
-
merchantId: string | null;
|
|
7732
|
-
createdAt: string;
|
|
7733
7731
|
walletAddress: string;
|
|
7734
7732
|
provider: "trm" | "elliptic" | "disabled";
|
|
7735
7733
|
riskScore: number | null;
|
|
7736
7734
|
flags: string[];
|
|
7737
7735
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7736
|
+
merchantId: string | null;
|
|
7738
7737
|
sessionId: string | null;
|
|
7739
7738
|
subscriptionId: string | null;
|
|
7740
7739
|
providerRequestId: string | null;
|
|
7740
|
+
createdAt: string;
|
|
7741
7741
|
}, {
|
|
7742
7742
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7743
7743
|
id: string;
|
|
7744
|
-
merchantId: string | null;
|
|
7745
|
-
createdAt: string;
|
|
7746
7744
|
walletAddress: string;
|
|
7747
7745
|
provider: "trm" | "elliptic" | "disabled";
|
|
7748
7746
|
riskScore: number | null;
|
|
7749
7747
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7748
|
+
merchantId: string | null;
|
|
7750
7749
|
sessionId: string | null;
|
|
7751
7750
|
subscriptionId: string | null;
|
|
7752
7751
|
providerRequestId: string | null;
|
|
7752
|
+
createdAt: string;
|
|
7753
7753
|
flags?: string[] | undefined;
|
|
7754
7754
|
}>;
|
|
7755
7755
|
}, "strip", z.ZodTypeAny, {
|
|
7756
7756
|
type: "compliance.wallet_flagged";
|
|
7757
7757
|
id: string;
|
|
7758
|
-
mode: "test" | "live";
|
|
7759
7758
|
createdAt: string;
|
|
7760
7759
|
data: {
|
|
7761
7760
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7762
7761
|
id: string;
|
|
7763
|
-
merchantId: string | null;
|
|
7764
|
-
createdAt: string;
|
|
7765
7762
|
walletAddress: string;
|
|
7766
7763
|
provider: "trm" | "elliptic" | "disabled";
|
|
7767
7764
|
riskScore: number | null;
|
|
7768
7765
|
flags: string[];
|
|
7769
7766
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7767
|
+
merchantId: string | null;
|
|
7770
7768
|
sessionId: string | null;
|
|
7771
7769
|
subscriptionId: string | null;
|
|
7772
7770
|
providerRequestId: string | null;
|
|
7771
|
+
createdAt: string;
|
|
7773
7772
|
};
|
|
7773
|
+
mode: "test" | "live";
|
|
7774
7774
|
apiVersion: string;
|
|
7775
7775
|
}, {
|
|
7776
7776
|
type: "compliance.wallet_flagged";
|
|
7777
7777
|
id: string;
|
|
7778
|
-
mode: "test" | "live";
|
|
7779
7778
|
createdAt: string;
|
|
7780
7779
|
data: {
|
|
7781
7780
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7782
7781
|
id: string;
|
|
7783
|
-
merchantId: string | null;
|
|
7784
|
-
createdAt: string;
|
|
7785
7782
|
walletAddress: string;
|
|
7786
7783
|
provider: "trm" | "elliptic" | "disabled";
|
|
7787
7784
|
riskScore: number | null;
|
|
7788
7785
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7786
|
+
merchantId: string | null;
|
|
7789
7787
|
sessionId: string | null;
|
|
7790
7788
|
subscriptionId: string | null;
|
|
7791
7789
|
providerRequestId: string | null;
|
|
7790
|
+
createdAt: string;
|
|
7792
7791
|
flags?: string[] | undefined;
|
|
7793
7792
|
};
|
|
7793
|
+
mode: "test" | "live";
|
|
7794
7794
|
apiVersion: string;
|
|
7795
7795
|
}>, z.ZodObject<{
|
|
7796
7796
|
id: z.ZodString;
|
|
@@ -7814,69 +7814,69 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7814
7814
|
}, "strip", z.ZodTypeAny, {
|
|
7815
7815
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7816
7816
|
id: string;
|
|
7817
|
-
merchantId: string | null;
|
|
7818
|
-
createdAt: string;
|
|
7819
7817
|
walletAddress: string;
|
|
7820
7818
|
provider: "trm" | "elliptic" | "disabled";
|
|
7821
7819
|
riskScore: number | null;
|
|
7822
7820
|
flags: string[];
|
|
7823
7821
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7822
|
+
merchantId: string | null;
|
|
7824
7823
|
sessionId: string | null;
|
|
7825
7824
|
subscriptionId: string | null;
|
|
7826
7825
|
providerRequestId: string | null;
|
|
7826
|
+
createdAt: string;
|
|
7827
7827
|
}, {
|
|
7828
7828
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7829
7829
|
id: string;
|
|
7830
|
-
merchantId: string | null;
|
|
7831
|
-
createdAt: string;
|
|
7832
7830
|
walletAddress: string;
|
|
7833
7831
|
provider: "trm" | "elliptic" | "disabled";
|
|
7834
7832
|
riskScore: number | null;
|
|
7835
7833
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7834
|
+
merchantId: string | null;
|
|
7836
7835
|
sessionId: string | null;
|
|
7837
7836
|
subscriptionId: string | null;
|
|
7838
7837
|
providerRequestId: string | null;
|
|
7838
|
+
createdAt: string;
|
|
7839
7839
|
flags?: string[] | undefined;
|
|
7840
7840
|
}>;
|
|
7841
7841
|
}, "strip", z.ZodTypeAny, {
|
|
7842
7842
|
type: "compliance.wallet_blocked";
|
|
7843
7843
|
id: string;
|
|
7844
|
-
mode: "test" | "live";
|
|
7845
7844
|
createdAt: string;
|
|
7846
7845
|
data: {
|
|
7847
7846
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7848
7847
|
id: string;
|
|
7849
|
-
merchantId: string | null;
|
|
7850
|
-
createdAt: string;
|
|
7851
7848
|
walletAddress: string;
|
|
7852
7849
|
provider: "trm" | "elliptic" | "disabled";
|
|
7853
7850
|
riskScore: number | null;
|
|
7854
7851
|
flags: string[];
|
|
7855
7852
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7853
|
+
merchantId: string | null;
|
|
7856
7854
|
sessionId: string | null;
|
|
7857
7855
|
subscriptionId: string | null;
|
|
7858
7856
|
providerRequestId: string | null;
|
|
7857
|
+
createdAt: string;
|
|
7859
7858
|
};
|
|
7859
|
+
mode: "test" | "live";
|
|
7860
7860
|
apiVersion: string;
|
|
7861
7861
|
}, {
|
|
7862
7862
|
type: "compliance.wallet_blocked";
|
|
7863
7863
|
id: string;
|
|
7864
|
-
mode: "test" | "live";
|
|
7865
7864
|
createdAt: string;
|
|
7866
7865
|
data: {
|
|
7867
7866
|
status: "clear" | "flagged" | "blocked" | "error";
|
|
7868
7867
|
id: string;
|
|
7869
|
-
merchantId: string | null;
|
|
7870
|
-
createdAt: string;
|
|
7871
7868
|
walletAddress: string;
|
|
7872
7869
|
provider: "trm" | "elliptic" | "disabled";
|
|
7873
7870
|
riskScore: number | null;
|
|
7874
7871
|
context: "merchant_onboarding" | "payer_checkout" | "subscriber_signup" | "refund_recipient";
|
|
7872
|
+
merchantId: string | null;
|
|
7875
7873
|
sessionId: string | null;
|
|
7876
7874
|
subscriptionId: string | null;
|
|
7877
7875
|
providerRequestId: string | null;
|
|
7876
|
+
createdAt: string;
|
|
7878
7877
|
flags?: string[] | undefined;
|
|
7879
7878
|
};
|
|
7879
|
+
mode: "test" | "live";
|
|
7880
7880
|
apiVersion: string;
|
|
7881
7881
|
}>]>;
|
|
7882
7882
|
type StrimzWebhookEvent = z.infer<typeof webhookEventSchema>;
|