@strimz/shared-types 0.3.0 → 0.3.2

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/events.d.cts CHANGED
@@ -912,7 +912,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
912
912
  amount: z.ZodEffects<z.ZodString, string, string>;
913
913
  currency: z.ZodEnum<["USDC", "EURC"]>;
914
914
  status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
915
- outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "skipped"]>>;
915
+ outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
916
916
  attemptNumber: z.ZodNumber;
917
917
  scheduledAt: z.ZodString;
918
918
  executedAt: z.ZodNullable<z.ZodString>;
@@ -933,7 +933,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
933
933
  chargeAttemptId: string;
934
934
  periodStartAt: string;
935
935
  periodEndAt: string;
936
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
936
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
937
937
  attemptNumber: number;
938
938
  scheduledAt: string;
939
939
  executedAt: string | null;
@@ -951,7 +951,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
951
951
  chargeAttemptId: string;
952
952
  periodStartAt: string;
953
953
  periodEndAt: string;
954
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
954
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
955
955
  attemptNumber: number;
956
956
  scheduledAt: string;
957
957
  executedAt: string | null;
@@ -1075,7 +1075,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
1075
1075
  chargeAttemptId: string;
1076
1076
  periodStartAt: string;
1077
1077
  periodEndAt: string;
1078
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1078
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1079
1079
  attemptNumber: number;
1080
1080
  scheduledAt: string;
1081
1081
  executedAt: string | null;
@@ -1138,7 +1138,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
1138
1138
  chargeAttemptId: string;
1139
1139
  periodStartAt: string;
1140
1140
  periodEndAt: string;
1141
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1141
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1142
1142
  attemptNumber: number;
1143
1143
  scheduledAt: string;
1144
1144
  executedAt: string | null;
@@ -1207,7 +1207,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
1207
1207
  chargeAttemptId: string;
1208
1208
  periodStartAt: string;
1209
1209
  periodEndAt: string;
1210
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1210
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1211
1211
  attemptNumber: number;
1212
1212
  scheduledAt: string;
1213
1213
  executedAt: string | null;
@@ -1277,7 +1277,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
1277
1277
  chargeAttemptId: string;
1278
1278
  periodStartAt: string;
1279
1279
  periodEndAt: string;
1280
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1280
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1281
1281
  attemptNumber: number;
1282
1282
  scheduledAt: string;
1283
1283
  executedAt: string | null;
@@ -1367,7 +1367,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1367
1367
  amount: z.ZodEffects<z.ZodString, string, string>;
1368
1368
  currency: z.ZodEnum<["USDC", "EURC"]>;
1369
1369
  status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
1370
- outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "skipped"]>>;
1370
+ outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
1371
1371
  attemptNumber: z.ZodNumber;
1372
1372
  scheduledAt: z.ZodString;
1373
1373
  executedAt: z.ZodNullable<z.ZodString>;
@@ -1388,7 +1388,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1388
1388
  chargeAttemptId: string;
1389
1389
  periodStartAt: string;
1390
1390
  periodEndAt: string;
1391
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1391
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1392
1392
  attemptNumber: number;
1393
1393
  scheduledAt: string;
1394
1394
  executedAt: string | null;
@@ -1406,7 +1406,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1406
1406
  chargeAttemptId: string;
1407
1407
  periodStartAt: string;
1408
1408
  periodEndAt: string;
1409
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1409
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1410
1410
  attemptNumber: number;
1411
1411
  scheduledAt: string;
1412
1412
  executedAt: string | null;
@@ -1448,7 +1448,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1448
1448
  chargeAttemptId: string;
1449
1449
  periodStartAt: string;
1450
1450
  periodEndAt: string;
1451
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1451
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1452
1452
  attemptNumber: number;
1453
1453
  scheduledAt: string;
1454
1454
  executedAt: string | null;
@@ -1490,7 +1490,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1490
1490
  chargeAttemptId: string;
1491
1491
  periodStartAt: string;
1492
1492
  periodEndAt: string;
1493
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1493
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1494
1494
  attemptNumber: number;
1495
1495
  scheduledAt: string;
1496
1496
  executedAt: string | null;
@@ -1538,7 +1538,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1538
1538
  chargeAttemptId: string;
1539
1539
  periodStartAt: string;
1540
1540
  periodEndAt: string;
1541
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1541
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1542
1542
  attemptNumber: number;
1543
1543
  scheduledAt: string;
1544
1544
  executedAt: string | null;
@@ -1587,7 +1587,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
1587
1587
  chargeAttemptId: string;
1588
1588
  periodStartAt: string;
1589
1589
  periodEndAt: string;
1590
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
1590
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
1591
1591
  attemptNumber: number;
1592
1592
  scheduledAt: string;
1593
1593
  executedAt: string | null;
@@ -3505,7 +3505,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
3505
3505
  description: z.ZodString;
3506
3506
  amount: z.ZodEffects<z.ZodString, string, string>;
3507
3507
  currency: z.ZodEnum<["USDC", "EURC"]>;
3508
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
3508
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
3509
3509
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
3510
3510
  deliverableHash: z.ZodNullable<z.ZodString>;
3511
3511
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -3513,7 +3513,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
3513
3513
  createdAt: z.ZodString;
3514
3514
  completedAt: z.ZodNullable<z.ZodString>;
3515
3515
  }, "strip", z.ZodTypeAny, {
3516
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3516
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3517
3517
  id: string;
3518
3518
  merchantId: string;
3519
3519
  createdAt: string;
@@ -3528,7 +3528,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
3528
3528
  escrowTxHash: string | null;
3529
3529
  releaseTxHash: string | null;
3530
3530
  }, {
3531
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3531
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3532
3532
  id: string;
3533
3533
  merchantId: string;
3534
3534
  createdAt: string;
@@ -3549,7 +3549,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
3549
3549
  mode: "test" | "live";
3550
3550
  createdAt: string;
3551
3551
  data: {
3552
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3552
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3553
3553
  id: string;
3554
3554
  merchantId: string;
3555
3555
  createdAt: string;
@@ -3571,7 +3571,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
3571
3571
  mode: "test" | "live";
3572
3572
  createdAt: string;
3573
3573
  data: {
3574
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3574
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3575
3575
  id: string;
3576
3576
  merchantId: string;
3577
3577
  createdAt: string;
@@ -3602,7 +3602,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
3602
3602
  description: z.ZodString;
3603
3603
  amount: z.ZodEffects<z.ZodString, string, string>;
3604
3604
  currency: z.ZodEnum<["USDC", "EURC"]>;
3605
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
3605
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
3606
3606
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
3607
3607
  deliverableHash: z.ZodNullable<z.ZodString>;
3608
3608
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -3610,7 +3610,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
3610
3610
  createdAt: z.ZodString;
3611
3611
  completedAt: z.ZodNullable<z.ZodString>;
3612
3612
  }, "strip", z.ZodTypeAny, {
3613
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3613
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3614
3614
  id: string;
3615
3615
  merchantId: string;
3616
3616
  createdAt: string;
@@ -3625,7 +3625,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
3625
3625
  escrowTxHash: string | null;
3626
3626
  releaseTxHash: string | null;
3627
3627
  }, {
3628
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3628
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3629
3629
  id: string;
3630
3630
  merchantId: string;
3631
3631
  createdAt: string;
@@ -3646,7 +3646,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
3646
3646
  mode: "test" | "live";
3647
3647
  createdAt: string;
3648
3648
  data: {
3649
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3649
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3650
3650
  id: string;
3651
3651
  merchantId: string;
3652
3652
  createdAt: string;
@@ -3668,7 +3668,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
3668
3668
  mode: "test" | "live";
3669
3669
  createdAt: string;
3670
3670
  data: {
3671
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3671
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3672
3672
  id: string;
3673
3673
  merchantId: string;
3674
3674
  createdAt: string;
@@ -3699,7 +3699,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
3699
3699
  description: z.ZodString;
3700
3700
  amount: z.ZodEffects<z.ZodString, string, string>;
3701
3701
  currency: z.ZodEnum<["USDC", "EURC"]>;
3702
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
3702
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
3703
3703
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
3704
3704
  deliverableHash: z.ZodNullable<z.ZodString>;
3705
3705
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -3707,7 +3707,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
3707
3707
  createdAt: z.ZodString;
3708
3708
  completedAt: z.ZodNullable<z.ZodString>;
3709
3709
  }, "strip", z.ZodTypeAny, {
3710
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3710
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3711
3711
  id: string;
3712
3712
  merchantId: string;
3713
3713
  createdAt: string;
@@ -3722,7 +3722,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
3722
3722
  escrowTxHash: string | null;
3723
3723
  releaseTxHash: string | null;
3724
3724
  }, {
3725
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3725
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3726
3726
  id: string;
3727
3727
  merchantId: string;
3728
3728
  createdAt: string;
@@ -3743,7 +3743,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
3743
3743
  mode: "test" | "live";
3744
3744
  createdAt: string;
3745
3745
  data: {
3746
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3746
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3747
3747
  id: string;
3748
3748
  merchantId: string;
3749
3749
  createdAt: string;
@@ -3765,7 +3765,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
3765
3765
  mode: "test" | "live";
3766
3766
  createdAt: string;
3767
3767
  data: {
3768
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
3768
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
3769
3769
  id: string;
3770
3770
  merchantId: string;
3771
3771
  createdAt: string;
@@ -4852,7 +4852,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4852
4852
  amount: z.ZodEffects<z.ZodString, string, string>;
4853
4853
  currency: z.ZodEnum<["USDC", "EURC"]>;
4854
4854
  status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
4855
- outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "skipped"]>>;
4855
+ outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
4856
4856
  attemptNumber: z.ZodNumber;
4857
4857
  scheduledAt: z.ZodString;
4858
4858
  executedAt: z.ZodNullable<z.ZodString>;
@@ -4873,7 +4873,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4873
4873
  chargeAttemptId: string;
4874
4874
  periodStartAt: string;
4875
4875
  periodEndAt: string;
4876
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
4876
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
4877
4877
  attemptNumber: number;
4878
4878
  scheduledAt: string;
4879
4879
  executedAt: string | null;
@@ -4891,7 +4891,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4891
4891
  chargeAttemptId: string;
4892
4892
  periodStartAt: string;
4893
4893
  periodEndAt: string;
4894
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
4894
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
4895
4895
  attemptNumber: number;
4896
4896
  scheduledAt: string;
4897
4897
  executedAt: string | null;
@@ -5015,7 +5015,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5015
5015
  chargeAttemptId: string;
5016
5016
  periodStartAt: string;
5017
5017
  periodEndAt: string;
5018
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5018
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5019
5019
  attemptNumber: number;
5020
5020
  scheduledAt: string;
5021
5021
  executedAt: string | null;
@@ -5078,7 +5078,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5078
5078
  chargeAttemptId: string;
5079
5079
  periodStartAt: string;
5080
5080
  periodEndAt: string;
5081
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5081
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5082
5082
  attemptNumber: number;
5083
5083
  scheduledAt: string;
5084
5084
  executedAt: string | null;
@@ -5147,7 +5147,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5147
5147
  chargeAttemptId: string;
5148
5148
  periodStartAt: string;
5149
5149
  periodEndAt: string;
5150
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5150
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5151
5151
  attemptNumber: number;
5152
5152
  scheduledAt: string;
5153
5153
  executedAt: string | null;
@@ -5217,7 +5217,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5217
5217
  chargeAttemptId: string;
5218
5218
  periodStartAt: string;
5219
5219
  periodEndAt: string;
5220
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5220
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5221
5221
  attemptNumber: number;
5222
5222
  scheduledAt: string;
5223
5223
  executedAt: string | null;
@@ -5306,7 +5306,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5306
5306
  amount: z.ZodEffects<z.ZodString, string, string>;
5307
5307
  currency: z.ZodEnum<["USDC", "EURC"]>;
5308
5308
  status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
5309
- outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "skipped"]>>;
5309
+ outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
5310
5310
  attemptNumber: z.ZodNumber;
5311
5311
  scheduledAt: z.ZodString;
5312
5312
  executedAt: z.ZodNullable<z.ZodString>;
@@ -5327,7 +5327,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5327
5327
  chargeAttemptId: string;
5328
5328
  periodStartAt: string;
5329
5329
  periodEndAt: string;
5330
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5330
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5331
5331
  attemptNumber: number;
5332
5332
  scheduledAt: string;
5333
5333
  executedAt: string | null;
@@ -5345,7 +5345,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5345
5345
  chargeAttemptId: string;
5346
5346
  periodStartAt: string;
5347
5347
  periodEndAt: string;
5348
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5348
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5349
5349
  attemptNumber: number;
5350
5350
  scheduledAt: string;
5351
5351
  executedAt: string | null;
@@ -5387,7 +5387,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5387
5387
  chargeAttemptId: string;
5388
5388
  periodStartAt: string;
5389
5389
  periodEndAt: string;
5390
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5390
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5391
5391
  attemptNumber: number;
5392
5392
  scheduledAt: string;
5393
5393
  executedAt: string | null;
@@ -5429,7 +5429,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5429
5429
  chargeAttemptId: string;
5430
5430
  periodStartAt: string;
5431
5431
  periodEndAt: string;
5432
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5432
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5433
5433
  attemptNumber: number;
5434
5434
  scheduledAt: string;
5435
5435
  executedAt: string | null;
@@ -5477,7 +5477,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5477
5477
  chargeAttemptId: string;
5478
5478
  periodStartAt: string;
5479
5479
  periodEndAt: string;
5480
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5480
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5481
5481
  attemptNumber: number;
5482
5482
  scheduledAt: string;
5483
5483
  executedAt: string | null;
@@ -5526,7 +5526,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5526
5526
  chargeAttemptId: string;
5527
5527
  periodStartAt: string;
5528
5528
  periodEndAt: string;
5529
- outcome: "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "skipped" | null;
5529
+ outcome: "unknown" | "cancelled" | "charged" | "insufficient_funds" | "revoked_approval" | "not_due" | "ended" | "duplicate" | "merchant_inactive" | "transfer_failed" | "skipped" | null;
5530
5530
  attemptNumber: number;
5531
5531
  scheduledAt: string;
5532
5532
  executedAt: string | null;
@@ -7432,7 +7432,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7432
7432
  description: z.ZodString;
7433
7433
  amount: z.ZodEffects<z.ZodString, string, string>;
7434
7434
  currency: z.ZodEnum<["USDC", "EURC"]>;
7435
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
7435
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
7436
7436
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
7437
7437
  deliverableHash: z.ZodNullable<z.ZodString>;
7438
7438
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -7440,7 +7440,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7440
7440
  createdAt: z.ZodString;
7441
7441
  completedAt: z.ZodNullable<z.ZodString>;
7442
7442
  }, "strip", z.ZodTypeAny, {
7443
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7443
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7444
7444
  id: string;
7445
7445
  merchantId: string;
7446
7446
  createdAt: string;
@@ -7455,7 +7455,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7455
7455
  escrowTxHash: string | null;
7456
7456
  releaseTxHash: string | null;
7457
7457
  }, {
7458
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7458
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7459
7459
  id: string;
7460
7460
  merchantId: string;
7461
7461
  createdAt: string;
@@ -7476,7 +7476,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7476
7476
  mode: "test" | "live";
7477
7477
  createdAt: string;
7478
7478
  data: {
7479
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7479
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7480
7480
  id: string;
7481
7481
  merchantId: string;
7482
7482
  createdAt: string;
@@ -7498,7 +7498,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7498
7498
  mode: "test" | "live";
7499
7499
  createdAt: string;
7500
7500
  data: {
7501
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7501
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7502
7502
  id: string;
7503
7503
  merchantId: string;
7504
7504
  createdAt: string;
@@ -7528,7 +7528,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7528
7528
  description: z.ZodString;
7529
7529
  amount: z.ZodEffects<z.ZodString, string, string>;
7530
7530
  currency: z.ZodEnum<["USDC", "EURC"]>;
7531
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
7531
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
7532
7532
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
7533
7533
  deliverableHash: z.ZodNullable<z.ZodString>;
7534
7534
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -7536,7 +7536,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7536
7536
  createdAt: z.ZodString;
7537
7537
  completedAt: z.ZodNullable<z.ZodString>;
7538
7538
  }, "strip", z.ZodTypeAny, {
7539
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7539
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7540
7540
  id: string;
7541
7541
  merchantId: string;
7542
7542
  createdAt: string;
@@ -7551,7 +7551,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7551
7551
  escrowTxHash: string | null;
7552
7552
  releaseTxHash: string | null;
7553
7553
  }, {
7554
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7554
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7555
7555
  id: string;
7556
7556
  merchantId: string;
7557
7557
  createdAt: string;
@@ -7572,7 +7572,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7572
7572
  mode: "test" | "live";
7573
7573
  createdAt: string;
7574
7574
  data: {
7575
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7575
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7576
7576
  id: string;
7577
7577
  merchantId: string;
7578
7578
  createdAt: string;
@@ -7594,7 +7594,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7594
7594
  mode: "test" | "live";
7595
7595
  createdAt: string;
7596
7596
  data: {
7597
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7597
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7598
7598
  id: string;
7599
7599
  merchantId: string;
7600
7600
  createdAt: string;
@@ -7624,7 +7624,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7624
7624
  description: z.ZodString;
7625
7625
  amount: z.ZodEffects<z.ZodString, string, string>;
7626
7626
  currency: z.ZodEnum<["USDC", "EURC"]>;
7627
- status: z.ZodEnum<["proposed", "accepted", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled"]>;
7627
+ status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
7628
7628
  assessorAddress: z.ZodEffects<z.ZodString, string, string>;
7629
7629
  deliverableHash: z.ZodNullable<z.ZodString>;
7630
7630
  escrowTxHash: z.ZodNullable<z.ZodString>;
@@ -7632,7 +7632,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7632
7632
  createdAt: z.ZodString;
7633
7633
  completedAt: z.ZodNullable<z.ZodString>;
7634
7634
  }, "strip", z.ZodTypeAny, {
7635
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7635
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7636
7636
  id: string;
7637
7637
  merchantId: string;
7638
7638
  createdAt: string;
@@ -7647,7 +7647,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7647
7647
  escrowTxHash: string | null;
7648
7648
  releaseTxHash: string | null;
7649
7649
  }, {
7650
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7650
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7651
7651
  id: string;
7652
7652
  merchantId: string;
7653
7653
  createdAt: string;
@@ -7668,7 +7668,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7668
7668
  mode: "test" | "live";
7669
7669
  createdAt: string;
7670
7670
  data: {
7671
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7671
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7672
7672
  id: string;
7673
7673
  merchantId: string;
7674
7674
  createdAt: string;
@@ -7690,7 +7690,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7690
7690
  mode: "test" | "live";
7691
7691
  createdAt: string;
7692
7692
  data: {
7693
- status: "cancelled" | "completed" | "proposed" | "accepted" | "in_progress" | "delivered" | "approved" | "disputed";
7693
+ status: "cancelled" | "completed" | "proposed" | "accepted" | "funded" | "in_progress" | "delivered" | "approved" | "disputed" | "resolved" | "reclaimed";
7694
7694
  id: string;
7695
7695
  merchantId: string;
7696
7696
  createdAt: string;