@heavybit/ecommerce-contracts 0.3.16 → 0.3.21

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.
@@ -129,6 +129,13 @@ export declare const ROUTING_KEYS: Readonly<{
129
129
  readonly replied: "order.issue.replied";
130
130
  readonly escalated: "order.issue.escalated";
131
131
  readonly resolved: "order.issue.resolved";
132
+ readonly decided: "order.issue.decided";
133
+ };
134
+ readonly return: {
135
+ readonly requested: "order.return.requested";
136
+ readonly approved: "order.return.approved";
137
+ readonly rejected: "order.return.rejected";
138
+ readonly received: "order.return.received";
132
139
  };
133
140
  };
134
141
  readonly payment: {
@@ -172,6 +179,9 @@ export declare const ROUTING_KEYS: Readonly<{
172
179
  readonly customer: {
173
180
  readonly created: "engagement.customer.created";
174
181
  };
182
+ readonly cart: {
183
+ readonly abandoned: "engagement.cart.abandoned";
184
+ };
175
185
  readonly consent: {
176
186
  readonly changed: "engagement.consent.changed";
177
187
  };
@@ -937,6 +947,34 @@ export declare const EVENT_SCHEMAS: Readonly<{
937
947
  customerId: z.ZodString;
938
948
  userId: z.ZodString;
939
949
  }, z.ZodTypeAny, "passthrough">>;
950
+ "engagement.cart.abandoned": z.ZodObject<{
951
+ companyId: z.ZodString;
952
+ } & {
953
+ abandonedCartId: z.ZodString;
954
+ cartId: z.ZodString;
955
+ userId: z.ZodString;
956
+ itemCount: z.ZodNumber;
957
+ subtotal: z.ZodString;
958
+ currency: z.ZodLiteral<"KES">;
959
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
960
+ companyId: z.ZodString;
961
+ } & {
962
+ abandonedCartId: z.ZodString;
963
+ cartId: z.ZodString;
964
+ userId: z.ZodString;
965
+ itemCount: z.ZodNumber;
966
+ subtotal: z.ZodString;
967
+ currency: z.ZodLiteral<"KES">;
968
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
969
+ companyId: z.ZodString;
970
+ } & {
971
+ abandonedCartId: z.ZodString;
972
+ cartId: z.ZodString;
973
+ userId: z.ZodString;
974
+ itemCount: z.ZodNumber;
975
+ subtotal: z.ZodString;
976
+ currency: z.ZodLiteral<"KES">;
977
+ }, z.ZodTypeAny, "passthrough">>;
940
978
  "engagement.consent.changed": z.ZodObject<{
941
979
  companyId: z.ZodString;
942
980
  } & {
@@ -1273,11 +1311,11 @@ export declare const EVENT_SCHEMAS: Readonly<{
1273
1311
  orderItemId: z.ZodString;
1274
1312
  quantity: z.ZodNumber;
1275
1313
  }, "strip", z.ZodTypeAny, {
1276
- orderItemId: string;
1277
1314
  quantity: number;
1278
- }, {
1279
1315
  orderItemId: string;
1316
+ }, {
1280
1317
  quantity: number;
1318
+ orderItemId: string;
1281
1319
  }>, "many">>;
1282
1320
  includesShipping: z.ZodOptional<z.ZodBoolean>;
1283
1321
  amount: z.ZodString;
@@ -1293,11 +1331,11 @@ export declare const EVENT_SCHEMAS: Readonly<{
1293
1331
  orderItemId: z.ZodString;
1294
1332
  quantity: z.ZodNumber;
1295
1333
  }, "strip", z.ZodTypeAny, {
1296
- orderItemId: string;
1297
1334
  quantity: number;
1298
- }, {
1299
1335
  orderItemId: string;
1336
+ }, {
1300
1337
  quantity: number;
1338
+ orderItemId: string;
1301
1339
  }>, "many">>;
1302
1340
  includesShipping: z.ZodOptional<z.ZodBoolean>;
1303
1341
  amount: z.ZodString;
@@ -1313,11 +1351,11 @@ export declare const EVENT_SCHEMAS: Readonly<{
1313
1351
  orderItemId: z.ZodString;
1314
1352
  quantity: z.ZodNumber;
1315
1353
  }, "strip", z.ZodTypeAny, {
1316
- orderItemId: string;
1317
1354
  quantity: number;
1318
- }, {
1319
1355
  orderItemId: string;
1356
+ }, {
1320
1357
  quantity: number;
1358
+ orderItemId: string;
1321
1359
  }>, "many">>;
1322
1360
  includesShipping: z.ZodOptional<z.ZodBoolean>;
1323
1361
  amount: z.ZodString;
@@ -1712,6 +1750,146 @@ export declare const EVENT_SCHEMAS: Readonly<{
1712
1750
  orderId: z.ZodString;
1713
1751
  resolution: z.ZodString;
1714
1752
  }, z.ZodTypeAny, "passthrough">>;
1753
+ "order.issue.decided": z.ZodObject<{
1754
+ companyId: z.ZodString;
1755
+ } & {
1756
+ issueId: z.ZodString;
1757
+ orderId: z.ZodString;
1758
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
1759
+ suspendRequested: z.ZodBoolean;
1760
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1761
+ companyId: z.ZodString;
1762
+ } & {
1763
+ issueId: z.ZodString;
1764
+ orderId: z.ZodString;
1765
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
1766
+ suspendRequested: z.ZodBoolean;
1767
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1768
+ companyId: z.ZodString;
1769
+ } & {
1770
+ issueId: z.ZodString;
1771
+ orderId: z.ZodString;
1772
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
1773
+ suspendRequested: z.ZodBoolean;
1774
+ }, z.ZodTypeAny, "passthrough">>;
1775
+ "order.return.requested": z.ZodObject<{
1776
+ companyId: z.ZodString;
1777
+ } & {
1778
+ returnId: z.ZodString;
1779
+ orderId: z.ZodString;
1780
+ userId: z.ZodString;
1781
+ itemCount: z.ZodNumber;
1782
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1783
+ companyId: z.ZodString;
1784
+ } & {
1785
+ returnId: z.ZodString;
1786
+ orderId: z.ZodString;
1787
+ userId: z.ZodString;
1788
+ itemCount: z.ZodNumber;
1789
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1790
+ companyId: z.ZodString;
1791
+ } & {
1792
+ returnId: z.ZodString;
1793
+ orderId: z.ZodString;
1794
+ userId: z.ZodString;
1795
+ itemCount: z.ZodNumber;
1796
+ }, z.ZodTypeAny, "passthrough">>;
1797
+ "order.return.approved": z.ZodObject<{
1798
+ companyId: z.ZodString;
1799
+ } & {
1800
+ returnId: z.ZodString;
1801
+ orderId: z.ZodString;
1802
+ userId: z.ZodString;
1803
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1804
+ companyId: z.ZodString;
1805
+ } & {
1806
+ returnId: z.ZodString;
1807
+ orderId: z.ZodString;
1808
+ userId: z.ZodString;
1809
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1810
+ companyId: z.ZodString;
1811
+ } & {
1812
+ returnId: z.ZodString;
1813
+ orderId: z.ZodString;
1814
+ userId: z.ZodString;
1815
+ }, z.ZodTypeAny, "passthrough">>;
1816
+ "order.return.rejected": z.ZodObject<{
1817
+ companyId: z.ZodString;
1818
+ } & {
1819
+ returnId: z.ZodString;
1820
+ orderId: z.ZodString;
1821
+ userId: z.ZodString;
1822
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1823
+ companyId: z.ZodString;
1824
+ } & {
1825
+ returnId: z.ZodString;
1826
+ orderId: z.ZodString;
1827
+ userId: z.ZodString;
1828
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1829
+ companyId: z.ZodString;
1830
+ } & {
1831
+ returnId: z.ZodString;
1832
+ orderId: z.ZodString;
1833
+ userId: z.ZodString;
1834
+ }, z.ZodTypeAny, "passthrough">>;
1835
+ "order.return.received": z.ZodObject<{
1836
+ companyId: z.ZodString;
1837
+ } & {
1838
+ returnId: z.ZodString;
1839
+ orderId: z.ZodString;
1840
+ userId: z.ZodString;
1841
+ lines: z.ZodArray<z.ZodObject<{
1842
+ variantId: z.ZodString;
1843
+ quantity: z.ZodNumber;
1844
+ disposition: z.ZodEnum<["restock", "write_off"]>;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ variantId: string;
1847
+ quantity: number;
1848
+ disposition: "restock" | "write_off";
1849
+ }, {
1850
+ variantId: string;
1851
+ quantity: number;
1852
+ disposition: "restock" | "write_off";
1853
+ }>, "many">;
1854
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1855
+ companyId: z.ZodString;
1856
+ } & {
1857
+ returnId: z.ZodString;
1858
+ orderId: z.ZodString;
1859
+ userId: z.ZodString;
1860
+ lines: z.ZodArray<z.ZodObject<{
1861
+ variantId: z.ZodString;
1862
+ quantity: z.ZodNumber;
1863
+ disposition: z.ZodEnum<["restock", "write_off"]>;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ variantId: string;
1866
+ quantity: number;
1867
+ disposition: "restock" | "write_off";
1868
+ }, {
1869
+ variantId: string;
1870
+ quantity: number;
1871
+ disposition: "restock" | "write_off";
1872
+ }>, "many">;
1873
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1874
+ companyId: z.ZodString;
1875
+ } & {
1876
+ returnId: z.ZodString;
1877
+ orderId: z.ZodString;
1878
+ userId: z.ZodString;
1879
+ lines: z.ZodArray<z.ZodObject<{
1880
+ variantId: z.ZodString;
1881
+ quantity: z.ZodNumber;
1882
+ disposition: z.ZodEnum<["restock", "write_off"]>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ variantId: string;
1885
+ quantity: number;
1886
+ disposition: "restock" | "write_off";
1887
+ }, {
1888
+ variantId: string;
1889
+ quantity: number;
1890
+ disposition: "restock" | "write_off";
1891
+ }>, "many">;
1892
+ }, z.ZodTypeAny, "passthrough">>;
1715
1893
  "cart.cart.updated": z.ZodObject<{
1716
1894
  companyId: z.ZodString;
1717
1895
  } & {
@@ -2616,7 +2794,7 @@ export declare const COMMAND_SCHEMAS: Readonly<{
2616
2794
  companyId: z.ZodNullable<z.ZodString>;
2617
2795
  }, z.ZodTypeAny, "passthrough">>, z.ZodEffects<z.ZodObject<{
2618
2796
  template: z.ZodString;
2619
- category: z.ZodEnum<["security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing", ...("security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing")[]]>;
2797
+ category: z.ZodEnum<["security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing", ...("security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing")[]]>;
2620
2798
  recipient: z.ZodObject<{
2621
2799
  email: z.ZodString;
2622
2800
  name: z.ZodOptional<z.ZodString>;
@@ -2643,7 +2821,7 @@ export declare const COMMAND_SCHEMAS: Readonly<{
2643
2821
  targetPermission: z.ZodOptional<z.ZodString>;
2644
2822
  }, "strip", z.ZodTypeAny, {
2645
2823
  template: string;
2646
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2824
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2647
2825
  recipient: {
2648
2826
  email: string;
2649
2827
  name?: string | undefined;
@@ -2658,7 +2836,7 @@ export declare const COMMAND_SCHEMAS: Readonly<{
2658
2836
  targetPermission?: string | undefined;
2659
2837
  }, {
2660
2838
  template: string;
2661
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2839
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2662
2840
  recipient: {
2663
2841
  email: string;
2664
2842
  name?: string | undefined;
@@ -2673,7 +2851,7 @@ export declare const COMMAND_SCHEMAS: Readonly<{
2673
2851
  targetPermission?: string | undefined;
2674
2852
  }>, {
2675
2853
  template: string;
2676
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2854
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2677
2855
  recipient: {
2678
2856
  email: string;
2679
2857
  name?: string | undefined;
@@ -2688,7 +2866,7 @@ export declare const COMMAND_SCHEMAS: Readonly<{
2688
2866
  targetPermission?: string | undefined;
2689
2867
  }, {
2690
2868
  template: string;
2691
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2869
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2692
2870
  recipient: {
2693
2871
  email: string;
2694
2872
  name?: string | undefined;
@@ -2713,7 +2891,7 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
2713
2891
  companyId: z.ZodNullable<z.ZodString>;
2714
2892
  }, z.ZodTypeAny, "passthrough">>, z.ZodEffects<z.ZodObject<{
2715
2893
  template: z.ZodString;
2716
- category: z.ZodEnum<["security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing", ...("security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing")[]]>;
2894
+ category: z.ZodEnum<["security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing", ...("security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing")[]]>;
2717
2895
  recipient: z.ZodObject<{
2718
2896
  email: z.ZodString;
2719
2897
  name: z.ZodOptional<z.ZodString>;
@@ -2740,7 +2918,7 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
2740
2918
  targetPermission: z.ZodOptional<z.ZodString>;
2741
2919
  }, "strip", z.ZodTypeAny, {
2742
2920
  template: string;
2743
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2921
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2744
2922
  recipient: {
2745
2923
  email: string;
2746
2924
  name?: string | undefined;
@@ -2755,7 +2933,7 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
2755
2933
  targetPermission?: string | undefined;
2756
2934
  }, {
2757
2935
  template: string;
2758
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2936
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2759
2937
  recipient: {
2760
2938
  email: string;
2761
2939
  name?: string | undefined;
@@ -2770,7 +2948,7 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
2770
2948
  targetPermission?: string | undefined;
2771
2949
  }>, {
2772
2950
  template: string;
2773
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2951
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2774
2952
  recipient: {
2775
2953
  email: string;
2776
2954
  name?: string | undefined;
@@ -2785,7 +2963,7 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
2785
2963
  targetPermission?: string | undefined;
2786
2964
  }, {
2787
2965
  template: string;
2788
- category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing";
2966
+ category: "security" | "account" | "order" | "payment" | "shipping" | "support" | "staff" | "store" | "billing" | "marketing";
2789
2967
  recipient: {
2790
2968
  email: string;
2791
2969
  name?: string | undefined;
@@ -3496,6 +3674,34 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
3496
3674
  customerId: z.ZodString;
3497
3675
  userId: z.ZodString;
3498
3676
  }, z.ZodTypeAny, "passthrough">>;
3677
+ "engagement.cart.abandoned": z.ZodObject<{
3678
+ companyId: z.ZodString;
3679
+ } & {
3680
+ abandonedCartId: z.ZodString;
3681
+ cartId: z.ZodString;
3682
+ userId: z.ZodString;
3683
+ itemCount: z.ZodNumber;
3684
+ subtotal: z.ZodString;
3685
+ currency: z.ZodLiteral<"KES">;
3686
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3687
+ companyId: z.ZodString;
3688
+ } & {
3689
+ abandonedCartId: z.ZodString;
3690
+ cartId: z.ZodString;
3691
+ userId: z.ZodString;
3692
+ itemCount: z.ZodNumber;
3693
+ subtotal: z.ZodString;
3694
+ currency: z.ZodLiteral<"KES">;
3695
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3696
+ companyId: z.ZodString;
3697
+ } & {
3698
+ abandonedCartId: z.ZodString;
3699
+ cartId: z.ZodString;
3700
+ userId: z.ZodString;
3701
+ itemCount: z.ZodNumber;
3702
+ subtotal: z.ZodString;
3703
+ currency: z.ZodLiteral<"KES">;
3704
+ }, z.ZodTypeAny, "passthrough">>;
3499
3705
  "engagement.consent.changed": z.ZodObject<{
3500
3706
  companyId: z.ZodString;
3501
3707
  } & {
@@ -3832,11 +4038,11 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
3832
4038
  orderItemId: z.ZodString;
3833
4039
  quantity: z.ZodNumber;
3834
4040
  }, "strip", z.ZodTypeAny, {
3835
- orderItemId: string;
3836
4041
  quantity: number;
3837
- }, {
3838
4042
  orderItemId: string;
4043
+ }, {
3839
4044
  quantity: number;
4045
+ orderItemId: string;
3840
4046
  }>, "many">>;
3841
4047
  includesShipping: z.ZodOptional<z.ZodBoolean>;
3842
4048
  amount: z.ZodString;
@@ -3852,11 +4058,11 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
3852
4058
  orderItemId: z.ZodString;
3853
4059
  quantity: z.ZodNumber;
3854
4060
  }, "strip", z.ZodTypeAny, {
3855
- orderItemId: string;
3856
4061
  quantity: number;
3857
- }, {
3858
4062
  orderItemId: string;
4063
+ }, {
3859
4064
  quantity: number;
4065
+ orderItemId: string;
3860
4066
  }>, "many">>;
3861
4067
  includesShipping: z.ZodOptional<z.ZodBoolean>;
3862
4068
  amount: z.ZodString;
@@ -3872,11 +4078,11 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
3872
4078
  orderItemId: z.ZodString;
3873
4079
  quantity: z.ZodNumber;
3874
4080
  }, "strip", z.ZodTypeAny, {
3875
- orderItemId: string;
3876
4081
  quantity: number;
3877
- }, {
3878
4082
  orderItemId: string;
4083
+ }, {
3879
4084
  quantity: number;
4085
+ orderItemId: string;
3880
4086
  }>, "many">>;
3881
4087
  includesShipping: z.ZodOptional<z.ZodBoolean>;
3882
4088
  amount: z.ZodString;
@@ -4271,6 +4477,146 @@ export declare const MESSAGE_SCHEMAS: Readonly<{
4271
4477
  orderId: z.ZodString;
4272
4478
  resolution: z.ZodString;
4273
4479
  }, z.ZodTypeAny, "passthrough">>;
4480
+ "order.issue.decided": z.ZodObject<{
4481
+ companyId: z.ZodString;
4482
+ } & {
4483
+ issueId: z.ZodString;
4484
+ orderId: z.ZodString;
4485
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
4486
+ suspendRequested: z.ZodBoolean;
4487
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4488
+ companyId: z.ZodString;
4489
+ } & {
4490
+ issueId: z.ZodString;
4491
+ orderId: z.ZodString;
4492
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
4493
+ suspendRequested: z.ZodBoolean;
4494
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4495
+ companyId: z.ZodString;
4496
+ } & {
4497
+ issueId: z.ZodString;
4498
+ orderId: z.ZodString;
4499
+ outcome: z.ZodEnum<["refund", "no_action", "instruct"]>;
4500
+ suspendRequested: z.ZodBoolean;
4501
+ }, z.ZodTypeAny, "passthrough">>;
4502
+ "order.return.requested": z.ZodObject<{
4503
+ companyId: z.ZodString;
4504
+ } & {
4505
+ returnId: z.ZodString;
4506
+ orderId: z.ZodString;
4507
+ userId: z.ZodString;
4508
+ itemCount: z.ZodNumber;
4509
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4510
+ companyId: z.ZodString;
4511
+ } & {
4512
+ returnId: z.ZodString;
4513
+ orderId: z.ZodString;
4514
+ userId: z.ZodString;
4515
+ itemCount: z.ZodNumber;
4516
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4517
+ companyId: z.ZodString;
4518
+ } & {
4519
+ returnId: z.ZodString;
4520
+ orderId: z.ZodString;
4521
+ userId: z.ZodString;
4522
+ itemCount: z.ZodNumber;
4523
+ }, z.ZodTypeAny, "passthrough">>;
4524
+ "order.return.approved": z.ZodObject<{
4525
+ companyId: z.ZodString;
4526
+ } & {
4527
+ returnId: z.ZodString;
4528
+ orderId: z.ZodString;
4529
+ userId: z.ZodString;
4530
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4531
+ companyId: z.ZodString;
4532
+ } & {
4533
+ returnId: z.ZodString;
4534
+ orderId: z.ZodString;
4535
+ userId: z.ZodString;
4536
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4537
+ companyId: z.ZodString;
4538
+ } & {
4539
+ returnId: z.ZodString;
4540
+ orderId: z.ZodString;
4541
+ userId: z.ZodString;
4542
+ }, z.ZodTypeAny, "passthrough">>;
4543
+ "order.return.rejected": z.ZodObject<{
4544
+ companyId: z.ZodString;
4545
+ } & {
4546
+ returnId: z.ZodString;
4547
+ orderId: z.ZodString;
4548
+ userId: z.ZodString;
4549
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4550
+ companyId: z.ZodString;
4551
+ } & {
4552
+ returnId: z.ZodString;
4553
+ orderId: z.ZodString;
4554
+ userId: z.ZodString;
4555
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4556
+ companyId: z.ZodString;
4557
+ } & {
4558
+ returnId: z.ZodString;
4559
+ orderId: z.ZodString;
4560
+ userId: z.ZodString;
4561
+ }, z.ZodTypeAny, "passthrough">>;
4562
+ "order.return.received": z.ZodObject<{
4563
+ companyId: z.ZodString;
4564
+ } & {
4565
+ returnId: z.ZodString;
4566
+ orderId: z.ZodString;
4567
+ userId: z.ZodString;
4568
+ lines: z.ZodArray<z.ZodObject<{
4569
+ variantId: z.ZodString;
4570
+ quantity: z.ZodNumber;
4571
+ disposition: z.ZodEnum<["restock", "write_off"]>;
4572
+ }, "strip", z.ZodTypeAny, {
4573
+ variantId: string;
4574
+ quantity: number;
4575
+ disposition: "restock" | "write_off";
4576
+ }, {
4577
+ variantId: string;
4578
+ quantity: number;
4579
+ disposition: "restock" | "write_off";
4580
+ }>, "many">;
4581
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4582
+ companyId: z.ZodString;
4583
+ } & {
4584
+ returnId: z.ZodString;
4585
+ orderId: z.ZodString;
4586
+ userId: z.ZodString;
4587
+ lines: z.ZodArray<z.ZodObject<{
4588
+ variantId: z.ZodString;
4589
+ quantity: z.ZodNumber;
4590
+ disposition: z.ZodEnum<["restock", "write_off"]>;
4591
+ }, "strip", z.ZodTypeAny, {
4592
+ variantId: string;
4593
+ quantity: number;
4594
+ disposition: "restock" | "write_off";
4595
+ }, {
4596
+ variantId: string;
4597
+ quantity: number;
4598
+ disposition: "restock" | "write_off";
4599
+ }>, "many">;
4600
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4601
+ companyId: z.ZodString;
4602
+ } & {
4603
+ returnId: z.ZodString;
4604
+ orderId: z.ZodString;
4605
+ userId: z.ZodString;
4606
+ lines: z.ZodArray<z.ZodObject<{
4607
+ variantId: z.ZodString;
4608
+ quantity: z.ZodNumber;
4609
+ disposition: z.ZodEnum<["restock", "write_off"]>;
4610
+ }, "strip", z.ZodTypeAny, {
4611
+ variantId: string;
4612
+ quantity: number;
4613
+ disposition: "restock" | "write_off";
4614
+ }, {
4615
+ variantId: string;
4616
+ quantity: number;
4617
+ disposition: "restock" | "write_off";
4618
+ }>, "many">;
4619
+ }, z.ZodTypeAny, "passthrough">>;
4274
4620
  "cart.cart.updated": z.ZodObject<{
4275
4621
  companyId: z.ZodString;
4276
4622
  } & {
@@ -5180,7 +5526,7 @@ export type EventPayload<K extends RoutingKey> = z.output<(typeof MESSAGE_SCHEMA
5180
5526
  /** What a producer passes for a routing key (before defaults). */
5181
5527
  export type EventPayloadInput<K extends RoutingKey> = z.input<(typeof MESSAGE_SCHEMAS)[K]>;
5182
5528
  /** Every catalogued routing key. */
5183
- export declare const ALL_ROUTING_KEYS: readonly ("order.audit.recorded" | "payment.audit.recorded" | "shipping.audit.recorded" | "store.audit.recorded" | "auth.audit.recorded" | "gateway.audit.recorded" | "catalog.audit.recorded" | "media.audit.recorded" | "cart.audit.recorded" | "notification.audit.recorded" | "reporting.audit.recorded" | "promotion.audit.recorded" | "engagement.audit.recorded" | "auth.user.registered" | "auth.user.verified" | "auth.user.password_reset_requested" | "auth.user.password_changed" | "auth.user.email_changed" | "auth.user.deleted" | "auth.user.data_export_requested" | "auth.user.authz_changed" | "auth.company.created" | "auth.company.updated" | "auth.company.suspended" | "auth.company.reactivated" | "auth.company.closed" | "auth.staff.invited" | "auth.staff.joined" | "auth.staff.removed" | "auth.membership.changed" | "auth.role.changed" | "auth.approval.requested" | "auth.approval.approved" | "auth.approval.rejected" | "auth.approval.expired" | "auth.approval.executed" | "auth.approval.failed" | "cart.cart.updated" | "catalog.product.created" | "catalog.product.updated" | "catalog.product.deleted" | "catalog.category.updated" | "catalog.inventory.adjusted" | "catalog.inventory.low_stock" | "engagement.customer.created" | "engagement.consent.changed" | "engagement.report.decided" | "engagement.review.created" | "engagement.review.hidden" | "engagement.review.rating_changed" | "gateway.security.access_denied" | "gateway.security.rate_limited" | "gateway.security.bad_signature" | "media.file.uploaded" | "media.file.processed" | "notification.send.requested" | "notification.email.suppressed" | "notification.email.unsubscribed" | "order.security.socket_rejected" | "payment.security.socket_rejected" | "shipping.security.socket_rejected" | "store.security.socket_rejected" | "auth.security.socket_rejected" | "gateway.security.socket_rejected" | "catalog.security.socket_rejected" | "media.security.socket_rejected" | "cart.security.socket_rejected" | "notification.security.socket_rejected" | "reporting.security.socket_rejected" | "promotion.security.socket_rejected" | "engagement.security.socket_rejected" | "order.order.created" | "order.order.paid" | "order.order.status_changed" | "order.order.shipped" | "order.order.delivered" | "order.order.cancelled" | "order.order.expired" | "order.order.refund_requested" | "order.issue.opened" | "order.issue.replied" | "order.issue.escalated" | "order.issue.resolved" | "payment.payment.initiated" | "payment.payment.succeeded" | "payment.payment.failed" | "payment.payment.expired" | "payment.refund.completed" | "payment.refund.failed" | "payment.billing.state_changed" | "payment.payout.scheduled" | "payment.payout.paid" | "payment.payout.failed" | "promotion.coupon.redeemed" | "promotion.campaign.started" | "promotion.campaign.ended" | "auth.security.login_succeeded" | "auth.security.login_failed" | "auth.security.otp_failed" | "auth.security.step_up" | "auth.security.account_locked" | "auth.security.sessions_revoked" | "auth.security.session_revoked" | "auth.security.role_changed" | "auth.security.login_risky" | "auth.security.login_unrecognized" | "auth.security.alert_raised" | "shipping.shipment.created" | "shipping.shipment.dispatched" | "shipping.shipment.delivered" | "shipping.shipment.failed" | "store.shop.provisioned" | "store.settings.changed" | "store.theme.published" | "store.domain.changed" | "store.domain.verified" | "store.domain.failed" | "usage.sms.sent" | "usage.delivery.booked")[];
5529
+ export declare const ALL_ROUTING_KEYS: readonly ("order.audit.recorded" | "payment.audit.recorded" | "shipping.audit.recorded" | "store.audit.recorded" | "auth.audit.recorded" | "gateway.audit.recorded" | "catalog.audit.recorded" | "media.audit.recorded" | "cart.audit.recorded" | "notification.audit.recorded" | "reporting.audit.recorded" | "promotion.audit.recorded" | "engagement.audit.recorded" | "auth.user.registered" | "auth.user.verified" | "auth.user.password_reset_requested" | "auth.user.password_changed" | "auth.user.email_changed" | "auth.user.deleted" | "auth.user.data_export_requested" | "auth.user.authz_changed" | "auth.company.created" | "auth.company.updated" | "auth.company.suspended" | "auth.company.reactivated" | "auth.company.closed" | "auth.staff.invited" | "auth.staff.joined" | "auth.staff.removed" | "auth.membership.changed" | "auth.role.changed" | "auth.approval.requested" | "auth.approval.approved" | "auth.approval.rejected" | "auth.approval.expired" | "auth.approval.executed" | "auth.approval.failed" | "cart.cart.updated" | "catalog.product.created" | "catalog.product.updated" | "catalog.product.deleted" | "catalog.category.updated" | "catalog.inventory.adjusted" | "catalog.inventory.low_stock" | "engagement.customer.created" | "engagement.cart.abandoned" | "engagement.consent.changed" | "engagement.report.decided" | "engagement.review.created" | "engagement.review.hidden" | "engagement.review.rating_changed" | "gateway.security.access_denied" | "gateway.security.rate_limited" | "gateway.security.bad_signature" | "media.file.uploaded" | "media.file.processed" | "notification.send.requested" | "notification.email.suppressed" | "notification.email.unsubscribed" | "order.security.socket_rejected" | "payment.security.socket_rejected" | "shipping.security.socket_rejected" | "store.security.socket_rejected" | "auth.security.socket_rejected" | "gateway.security.socket_rejected" | "catalog.security.socket_rejected" | "media.security.socket_rejected" | "cart.security.socket_rejected" | "notification.security.socket_rejected" | "reporting.security.socket_rejected" | "promotion.security.socket_rejected" | "engagement.security.socket_rejected" | "order.order.created" | "order.order.paid" | "order.order.status_changed" | "order.order.shipped" | "order.order.delivered" | "order.order.cancelled" | "order.order.expired" | "order.order.refund_requested" | "order.issue.opened" | "order.issue.replied" | "order.issue.escalated" | "order.issue.resolved" | "order.issue.decided" | "order.return.requested" | "order.return.approved" | "order.return.rejected" | "order.return.received" | "payment.payment.initiated" | "payment.payment.succeeded" | "payment.payment.failed" | "payment.payment.expired" | "payment.refund.completed" | "payment.refund.failed" | "payment.billing.state_changed" | "payment.payout.scheduled" | "payment.payout.paid" | "payment.payout.failed" | "promotion.coupon.redeemed" | "promotion.campaign.started" | "promotion.campaign.ended" | "auth.security.login_succeeded" | "auth.security.login_failed" | "auth.security.otp_failed" | "auth.security.step_up" | "auth.security.account_locked" | "auth.security.sessions_revoked" | "auth.security.session_revoked" | "auth.security.role_changed" | "auth.security.login_risky" | "auth.security.login_unrecognized" | "auth.security.alert_raised" | "shipping.shipment.created" | "shipping.shipment.dispatched" | "shipping.shipment.delivered" | "shipping.shipment.failed" | "store.shop.provisioned" | "store.settings.changed" | "store.theme.published" | "store.domain.changed" | "store.domain.verified" | "store.domain.failed" | "usage.sms.sent" | "usage.delivery.booked")[];
5184
5530
  /**
5185
5531
  * True when `key` is in the catalogue.
5186
5532
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAC;AA0B9C,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC9F,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,Y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