@unifiedcommerce/core 0.2.2 → 0.2.3
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/interfaces/rest/schemas/carts.d.ts +20 -10
- package/dist/interfaces/rest/schemas/carts.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/catalog.d.ts +54 -18
- package/dist/interfaces/rest/schemas/catalog.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/customer-portal.d.ts +10 -4
- package/dist/interfaces/rest/schemas/customer-portal.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/orders.d.ts +15 -5
- package/dist/interfaces/rest/schemas/orders.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/responses.d.ts +39 -15
- package/dist/interfaces/rest/schemas/responses.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/responses.js +16 -5
- package/dist/interfaces/rest/schemas/search.d.ts +3 -1
- package/dist/interfaces/rest/schemas/search.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interfaces/rest/schemas/responses.ts +16 -5
|
@@ -176,7 +176,9 @@ export declare const CartResponseSchema: z.ZodObject<{
|
|
|
176
176
|
identity: undefined;
|
|
177
177
|
generated: undefined;
|
|
178
178
|
}, {}, {}>;
|
|
179
|
-
},
|
|
179
|
+
}, {
|
|
180
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
181
|
+
}, undefined>>>;
|
|
180
182
|
id: z.ZodUUID;
|
|
181
183
|
organizationId: z.ZodString;
|
|
182
184
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -189,7 +191,7 @@ export declare const CartResponseSchema: z.ZodObject<{
|
|
|
189
191
|
}>;
|
|
190
192
|
currency: z.ZodString;
|
|
191
193
|
secret: z.ZodNullable<z.ZodString>;
|
|
192
|
-
metadata: z.
|
|
194
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
193
195
|
expiresAt: z.ZodDate;
|
|
194
196
|
createdAt: z.ZodDate;
|
|
195
197
|
updatedAt: z.ZodDate;
|
|
@@ -449,7 +451,9 @@ export declare const getCartRoute: {
|
|
|
449
451
|
identity: undefined;
|
|
450
452
|
generated: undefined;
|
|
451
453
|
}, {}, {}>;
|
|
452
|
-
},
|
|
454
|
+
}, {
|
|
455
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
456
|
+
}, undefined>>>;
|
|
453
457
|
id: z.ZodUUID;
|
|
454
458
|
organizationId: z.ZodString;
|
|
455
459
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -462,7 +466,7 @@ export declare const getCartRoute: {
|
|
|
462
466
|
}>;
|
|
463
467
|
currency: z.ZodString;
|
|
464
468
|
secret: z.ZodNullable<z.ZodString>;
|
|
465
|
-
metadata: z.
|
|
469
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
466
470
|
expiresAt: z.ZodDate;
|
|
467
471
|
createdAt: z.ZodDate;
|
|
468
472
|
updatedAt: z.ZodDate;
|
|
@@ -831,7 +835,9 @@ export declare const createCartRoute: {
|
|
|
831
835
|
identity: undefined;
|
|
832
836
|
generated: undefined;
|
|
833
837
|
}, {}, {}>;
|
|
834
|
-
},
|
|
838
|
+
}, {
|
|
839
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
840
|
+
}, undefined>>>;
|
|
835
841
|
id: z.ZodUUID;
|
|
836
842
|
organizationId: z.ZodString;
|
|
837
843
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -844,7 +850,7 @@ export declare const createCartRoute: {
|
|
|
844
850
|
}>;
|
|
845
851
|
currency: z.ZodString;
|
|
846
852
|
secret: z.ZodNullable<z.ZodString>;
|
|
847
|
-
metadata: z.
|
|
853
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
848
854
|
expiresAt: z.ZodDate;
|
|
849
855
|
createdAt: z.ZodDate;
|
|
850
856
|
updatedAt: z.ZodDate;
|
|
@@ -1124,7 +1130,9 @@ export declare const addCartItemRoute: {
|
|
|
1124
1130
|
identity: undefined;
|
|
1125
1131
|
generated: undefined;
|
|
1126
1132
|
}, {}, {}>;
|
|
1127
|
-
},
|
|
1133
|
+
}, {
|
|
1134
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1135
|
+
}, undefined>>>;
|
|
1128
1136
|
id: z.ZodUUID;
|
|
1129
1137
|
organizationId: z.ZodString;
|
|
1130
1138
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1137,7 +1145,7 @@ export declare const addCartItemRoute: {
|
|
|
1137
1145
|
}>;
|
|
1138
1146
|
currency: z.ZodString;
|
|
1139
1147
|
secret: z.ZodNullable<z.ZodString>;
|
|
1140
|
-
metadata: z.
|
|
1148
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1141
1149
|
expiresAt: z.ZodDate;
|
|
1142
1150
|
createdAt: z.ZodDate;
|
|
1143
1151
|
updatedAt: z.ZodDate;
|
|
@@ -1416,7 +1424,9 @@ export declare const updateCartItemQuantityRoute: {
|
|
|
1416
1424
|
identity: undefined;
|
|
1417
1425
|
generated: undefined;
|
|
1418
1426
|
}, {}, {}>;
|
|
1419
|
-
},
|
|
1427
|
+
}, {
|
|
1428
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1429
|
+
}, undefined>>>;
|
|
1420
1430
|
id: z.ZodUUID;
|
|
1421
1431
|
organizationId: z.ZodString;
|
|
1422
1432
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1429,7 +1439,7 @@ export declare const updateCartItemQuantityRoute: {
|
|
|
1429
1439
|
}>;
|
|
1430
1440
|
currency: z.ZodString;
|
|
1431
1441
|
secret: z.ZodNullable<z.ZodString>;
|
|
1432
|
-
metadata: z.
|
|
1442
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1433
1443
|
expiresAt: z.ZodDate;
|
|
1434
1444
|
createdAt: z.ZodDate;
|
|
1435
1445
|
updatedAt: z.ZodDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/carts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAGnD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,gCAAgC,EACjC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,CAAC;AAIzF,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/carts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAGnD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,gCAAgC,EACjC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,CAAC;AAIzF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAe,CAAC;AAe/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBtC,CAAC"}
|
|
@@ -194,7 +194,9 @@ export declare const listEntitiesRoute: {
|
|
|
194
194
|
identity: undefined;
|
|
195
195
|
generated: undefined;
|
|
196
196
|
}, {}, {}>;
|
|
197
|
-
},
|
|
197
|
+
}, {
|
|
198
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
+
}, undefined>>;
|
|
198
200
|
meta: z.ZodOptional<z.ZodObject<{
|
|
199
201
|
page: z.ZodNumber;
|
|
200
202
|
limit: z.ZodNumber;
|
|
@@ -465,7 +467,9 @@ export declare const getEntityRoute: {
|
|
|
465
467
|
identity: undefined;
|
|
466
468
|
generated: undefined;
|
|
467
469
|
}, {}, {}>;
|
|
468
|
-
},
|
|
470
|
+
}, {
|
|
471
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
472
|
+
}, undefined>;
|
|
469
473
|
}, z.core.$strip>;
|
|
470
474
|
};
|
|
471
475
|
};
|
|
@@ -729,7 +733,9 @@ export declare const getEntityAttributesRoute: {
|
|
|
729
733
|
identity: undefined;
|
|
730
734
|
generated: undefined;
|
|
731
735
|
}, {}, {}>;
|
|
732
|
-
},
|
|
736
|
+
}, {
|
|
737
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
738
|
+
}, undefined>;
|
|
733
739
|
}, z.core.$strip>;
|
|
734
740
|
};
|
|
735
741
|
};
|
|
@@ -922,7 +928,9 @@ export declare const listCategoriesRoute: {
|
|
|
922
928
|
identity: undefined;
|
|
923
929
|
generated: undefined;
|
|
924
930
|
}, {}, {}>;
|
|
925
|
-
},
|
|
931
|
+
}, {
|
|
932
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
933
|
+
}, undefined>;
|
|
926
934
|
}, z.core.$strip>;
|
|
927
935
|
};
|
|
928
936
|
};
|
|
@@ -1115,7 +1123,9 @@ export declare const listBrandsRoute: {
|
|
|
1115
1123
|
identity: undefined;
|
|
1116
1124
|
generated: undefined;
|
|
1117
1125
|
}, {}, {}>;
|
|
1118
|
-
},
|
|
1126
|
+
}, {
|
|
1127
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1128
|
+
}, undefined>;
|
|
1119
1129
|
}, z.core.$strip>;
|
|
1120
1130
|
};
|
|
1121
1131
|
};
|
|
@@ -1840,7 +1850,9 @@ export declare const publishEntityRoute: {
|
|
|
1840
1850
|
identity: undefined;
|
|
1841
1851
|
generated: undefined;
|
|
1842
1852
|
}, {}, {}>;
|
|
1843
|
-
},
|
|
1853
|
+
}, {
|
|
1854
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1855
|
+
}, undefined>;
|
|
1844
1856
|
}, z.core.$strip>;
|
|
1845
1857
|
};
|
|
1846
1858
|
};
|
|
@@ -2103,7 +2115,9 @@ export declare const archiveEntityRoute: {
|
|
|
2103
2115
|
identity: undefined;
|
|
2104
2116
|
generated: undefined;
|
|
2105
2117
|
}, {}, {}>;
|
|
2106
|
-
},
|
|
2118
|
+
}, {
|
|
2119
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2120
|
+
}, undefined>;
|
|
2107
2121
|
}, z.core.$strip>;
|
|
2108
2122
|
};
|
|
2109
2123
|
};
|
|
@@ -2366,7 +2380,9 @@ export declare const discontinueEntityRoute: {
|
|
|
2366
2380
|
identity: undefined;
|
|
2367
2381
|
generated: undefined;
|
|
2368
2382
|
}, {}, {}>;
|
|
2369
|
-
},
|
|
2383
|
+
}, {
|
|
2384
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2385
|
+
}, undefined>;
|
|
2370
2386
|
}, z.core.$strip>;
|
|
2371
2387
|
};
|
|
2372
2388
|
};
|
|
@@ -2837,7 +2853,9 @@ export declare const createEntityRoute: {
|
|
|
2837
2853
|
identity: undefined;
|
|
2838
2854
|
generated: undefined;
|
|
2839
2855
|
}, {}, {}>;
|
|
2840
|
-
},
|
|
2856
|
+
}, {
|
|
2857
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2858
|
+
}, undefined>;
|
|
2841
2859
|
}, z.core.$strip>;
|
|
2842
2860
|
};
|
|
2843
2861
|
};
|
|
@@ -3113,7 +3131,9 @@ export declare const updateEntityRoute: {
|
|
|
3113
3131
|
identity: undefined;
|
|
3114
3132
|
generated: undefined;
|
|
3115
3133
|
}, {}, {}>;
|
|
3116
|
-
},
|
|
3134
|
+
}, {
|
|
3135
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3136
|
+
}, undefined>;
|
|
3117
3137
|
}, z.core.$strip>;
|
|
3118
3138
|
};
|
|
3119
3139
|
};
|
|
@@ -3487,7 +3507,9 @@ export declare const createCategoryRoute: {
|
|
|
3487
3507
|
identity: undefined;
|
|
3488
3508
|
generated: undefined;
|
|
3489
3509
|
}, {}, {}>;
|
|
3490
|
-
},
|
|
3510
|
+
}, {
|
|
3511
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3512
|
+
}, undefined>;
|
|
3491
3513
|
}, z.core.$strip>;
|
|
3492
3514
|
};
|
|
3493
3515
|
};
|
|
@@ -3763,7 +3785,9 @@ export declare const updateCategoryRoute: {
|
|
|
3763
3785
|
identity: undefined;
|
|
3764
3786
|
generated: undefined;
|
|
3765
3787
|
}, {}, {}>;
|
|
3766
|
-
},
|
|
3788
|
+
}, {
|
|
3789
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3790
|
+
}, undefined>;
|
|
3767
3791
|
}, z.core.$strip>;
|
|
3768
3792
|
};
|
|
3769
3793
|
};
|
|
@@ -4035,7 +4059,9 @@ export declare const createBrandRoute: {
|
|
|
4035
4059
|
identity: undefined;
|
|
4036
4060
|
generated: undefined;
|
|
4037
4061
|
}, {}, {}>;
|
|
4038
|
-
},
|
|
4062
|
+
}, {
|
|
4063
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4064
|
+
}, undefined>;
|
|
4039
4065
|
}, z.core.$strip>;
|
|
4040
4066
|
};
|
|
4041
4067
|
};
|
|
@@ -4310,7 +4336,9 @@ export declare const updateBrandRoute: {
|
|
|
4310
4336
|
identity: undefined;
|
|
4311
4337
|
generated: undefined;
|
|
4312
4338
|
}, {}, {}>;
|
|
4313
|
-
},
|
|
4339
|
+
}, {
|
|
4340
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4341
|
+
}, undefined>;
|
|
4314
4342
|
}, z.core.$strip>;
|
|
4315
4343
|
};
|
|
4316
4344
|
};
|
|
@@ -4584,7 +4612,9 @@ export declare const createOptionTypeRoute: {
|
|
|
4584
4612
|
identity: undefined;
|
|
4585
4613
|
generated: undefined;
|
|
4586
4614
|
}, {}, {}>;
|
|
4587
|
-
},
|
|
4615
|
+
}, {
|
|
4616
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4617
|
+
}, undefined>;
|
|
4588
4618
|
}, z.core.$strip>;
|
|
4589
4619
|
};
|
|
4590
4620
|
};
|
|
@@ -4857,7 +4887,9 @@ export declare const createOptionValueRoute: {
|
|
|
4857
4887
|
identity: undefined;
|
|
4858
4888
|
generated: undefined;
|
|
4859
4889
|
}, {}, {}>;
|
|
4860
|
-
},
|
|
4890
|
+
}, {
|
|
4891
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4892
|
+
}, undefined>;
|
|
4861
4893
|
}, z.core.$strip>;
|
|
4862
4894
|
};
|
|
4863
4895
|
};
|
|
@@ -5132,7 +5164,9 @@ export declare const createVariantRoute: {
|
|
|
5132
5164
|
identity: undefined;
|
|
5133
5165
|
generated: undefined;
|
|
5134
5166
|
}, {}, {}>;
|
|
5135
|
-
},
|
|
5167
|
+
}, {
|
|
5168
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5169
|
+
}, undefined>;
|
|
5136
5170
|
}, z.core.$strip>;
|
|
5137
5171
|
};
|
|
5138
5172
|
};
|
|
@@ -5403,7 +5437,9 @@ export declare const generateVariantsRoute: {
|
|
|
5403
5437
|
identity: undefined;
|
|
5404
5438
|
generated: undefined;
|
|
5405
5439
|
}, {}, {}>;
|
|
5406
|
-
},
|
|
5440
|
+
}, {
|
|
5441
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5442
|
+
}, undefined>;
|
|
5407
5443
|
}, z.core.$strip>;
|
|
5408
5444
|
};
|
|
5409
5445
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAyDnD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAyDnD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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-
},
|
|
828
|
+
}, {
|
|
829
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
830
|
+
}, undefined>>;
|
|
829
831
|
meta: z.ZodOptional<z.ZodObject<{
|
|
830
832
|
page: z.ZodNumber;
|
|
831
833
|
limit: z.ZodNumber;
|
|
@@ -1212,7 +1214,9 @@ export declare const getCustomerOrderRoute: {
|
|
|
1212
1214
|
identity: undefined;
|
|
1213
1215
|
generated: undefined;
|
|
1214
1216
|
}, {}, {}>;
|
|
1215
|
-
},
|
|
1217
|
+
}, {
|
|
1218
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1219
|
+
}, undefined>;
|
|
1216
1220
|
}, z.core.$strip>;
|
|
1217
1221
|
};
|
|
1218
1222
|
};
|
|
@@ -1768,7 +1772,9 @@ export declare const reorderRoute: {
|
|
|
1768
1772
|
identity: undefined;
|
|
1769
1773
|
generated: undefined;
|
|
1770
1774
|
}, {}, {}>;
|
|
1771
|
-
},
|
|
1775
|
+
}, {
|
|
1776
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1777
|
+
}, undefined>>>;
|
|
1772
1778
|
id: z.ZodUUID;
|
|
1773
1779
|
organizationId: z.ZodString;
|
|
1774
1780
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1781,7 +1787,7 @@ export declare const reorderRoute: {
|
|
|
1781
1787
|
}>;
|
|
1782
1788
|
currency: z.ZodString;
|
|
1783
1789
|
secret: z.ZodNullable<z.ZodString>;
|
|
1784
|
-
metadata: z.
|
|
1790
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1785
1791
|
expiresAt: z.ZodDate;
|
|
1786
1792
|
createdAt: z.ZodDate;
|
|
1787
1793
|
updatedAt: z.ZodDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-portal.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAQnD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS1B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ7B,CAAC;AAEH,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"customer-portal.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAQnD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC"}
|
|
@@ -296,7 +296,9 @@ export declare const OrderDataResponseSchema: z.ZodObject<{
|
|
|
296
296
|
identity: undefined;
|
|
297
297
|
generated: undefined;
|
|
298
298
|
}, {}, {}>;
|
|
299
|
-
},
|
|
299
|
+
}, {
|
|
300
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
301
|
+
}, undefined>;
|
|
300
302
|
}, z.core.$strip>;
|
|
301
303
|
export declare const listOrdersRoute: {
|
|
302
304
|
method: "get";
|
|
@@ -607,7 +609,9 @@ export declare const listOrdersRoute: {
|
|
|
607
609
|
identity: undefined;
|
|
608
610
|
generated: undefined;
|
|
609
611
|
}, {}, {}>;
|
|
610
|
-
},
|
|
612
|
+
}, {
|
|
613
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
614
|
+
}, undefined>>;
|
|
611
615
|
meta: z.ZodOptional<z.ZodObject<{
|
|
612
616
|
page: z.ZodNumber;
|
|
613
617
|
limit: z.ZodNumber;
|
|
@@ -994,7 +998,9 @@ export declare const getOrderRoute: {
|
|
|
994
998
|
identity: undefined;
|
|
995
999
|
generated: undefined;
|
|
996
1000
|
}, {}, {}>;
|
|
997
|
-
},
|
|
1001
|
+
}, {
|
|
1002
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1003
|
+
}, undefined>;
|
|
998
1004
|
}, z.core.$strip>;
|
|
999
1005
|
};
|
|
1000
1006
|
};
|
|
@@ -1376,7 +1382,9 @@ export declare const getOrderFulfillmentsRoute: {
|
|
|
1376
1382
|
identity: undefined;
|
|
1377
1383
|
generated: undefined;
|
|
1378
1384
|
}, {}, {}>;
|
|
1379
|
-
},
|
|
1385
|
+
}, {
|
|
1386
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1387
|
+
}, undefined>;
|
|
1380
1388
|
}, z.core.$strip>;
|
|
1381
1389
|
};
|
|
1382
1390
|
};
|
|
@@ -1769,7 +1777,9 @@ export declare const changeOrderStatusRoute: {
|
|
|
1769
1777
|
identity: undefined;
|
|
1770
1778
|
generated: undefined;
|
|
1771
1779
|
}, {}, {}>;
|
|
1772
|
-
},
|
|
1780
|
+
}, {
|
|
1781
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1782
|
+
}, undefined>;
|
|
1773
1783
|
}, z.core.$strip>;
|
|
1774
1784
|
};
|
|
1775
1785
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/orders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAMnD,eAAO,MAAM,2BAA2B;;;iBAMF,CAAC;AAIvC,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/orders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAMnD,eAAO,MAAM,2BAA2B;;;iBAMF,CAAC;AAIvC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBjC,CAAC"}
|
|
@@ -299,7 +299,9 @@ export declare const OrderSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
|
299
299
|
identity: undefined;
|
|
300
300
|
generated: undefined;
|
|
301
301
|
}, {}, {}>;
|
|
302
|
-
},
|
|
302
|
+
}, {
|
|
303
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
304
|
+
}, undefined>;
|
|
303
305
|
export declare const OrderLineItemSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
304
306
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
305
307
|
name: "id";
|
|
@@ -541,7 +543,9 @@ export declare const OrderLineItemSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
541
543
|
}, {}, {
|
|
542
544
|
$type: Record<string, unknown>;
|
|
543
545
|
}>;
|
|
544
|
-
},
|
|
546
|
+
}, {
|
|
547
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
548
|
+
}, undefined>;
|
|
545
549
|
export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
546
550
|
lineItems: z.ZodOptional<z.ZodArray<import("drizzle-zod").BuildSchema<"select", {
|
|
547
551
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
@@ -784,7 +788,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
784
788
|
}, {}, {
|
|
785
789
|
$type: Record<string, unknown>;
|
|
786
790
|
}>;
|
|
787
|
-
},
|
|
791
|
+
}, {
|
|
792
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
793
|
+
}, undefined>>>;
|
|
788
794
|
id: z.ZodUUID;
|
|
789
795
|
organizationId: z.ZodString;
|
|
790
796
|
orderNumber: z.ZodString;
|
|
@@ -798,7 +804,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
798
804
|
grandTotal: z.ZodInt;
|
|
799
805
|
paymentIntentId: z.ZodNullable<z.ZodString>;
|
|
800
806
|
paymentMethodId: z.ZodNullable<z.ZodString>;
|
|
801
|
-
metadata: z.
|
|
807
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
802
808
|
placedAt: z.ZodDate;
|
|
803
809
|
fulfilledAt: z.ZodNullable<z.ZodDate>;
|
|
804
810
|
cancelledAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -976,7 +982,9 @@ export declare const CartSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
|
976
982
|
identity: undefined;
|
|
977
983
|
generated: undefined;
|
|
978
984
|
}, {}, {}>;
|
|
979
|
-
},
|
|
985
|
+
}, {
|
|
986
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
987
|
+
}, undefined>;
|
|
980
988
|
export declare const CartLineItemSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
981
989
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
982
990
|
name: "id";
|
|
@@ -1150,7 +1158,9 @@ export declare const CartLineItemSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
1150
1158
|
identity: undefined;
|
|
1151
1159
|
generated: undefined;
|
|
1152
1160
|
}, {}, {}>;
|
|
1153
|
-
},
|
|
1161
|
+
}, {
|
|
1162
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1163
|
+
}, undefined>;
|
|
1154
1164
|
export declare const CartWithItemsSchema: z.ZodObject<{
|
|
1155
1165
|
lineItems: z.ZodOptional<z.ZodArray<import("drizzle-zod").BuildSchema<"select", {
|
|
1156
1166
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
@@ -1325,7 +1335,9 @@ export declare const CartWithItemsSchema: z.ZodObject<{
|
|
|
1325
1335
|
identity: undefined;
|
|
1326
1336
|
generated: undefined;
|
|
1327
1337
|
}, {}, {}>;
|
|
1328
|
-
},
|
|
1338
|
+
}, {
|
|
1339
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1340
|
+
}, undefined>>>;
|
|
1329
1341
|
id: z.ZodUUID;
|
|
1330
1342
|
organizationId: z.ZodString;
|
|
1331
1343
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1338,7 +1350,7 @@ export declare const CartWithItemsSchema: z.ZodObject<{
|
|
|
1338
1350
|
}>;
|
|
1339
1351
|
currency: z.ZodString;
|
|
1340
1352
|
secret: z.ZodNullable<z.ZodString>;
|
|
1341
|
-
metadata: z.
|
|
1353
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1342
1354
|
expiresAt: z.ZodDate;
|
|
1343
1355
|
createdAt: z.ZodDate;
|
|
1344
1356
|
updatedAt: z.ZodDate;
|
|
@@ -1930,7 +1942,9 @@ export declare const CatalogEntitySchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
1930
1942
|
identity: undefined;
|
|
1931
1943
|
generated: undefined;
|
|
1932
1944
|
}, {}, {}>;
|
|
1933
|
-
},
|
|
1945
|
+
}, {
|
|
1946
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1947
|
+
}, undefined>;
|
|
1934
1948
|
export declare const JobSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
1935
1949
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
1936
1950
|
name: "id";
|
|
@@ -2512,7 +2526,9 @@ export declare const OrderResponse: z.ZodObject<{
|
|
|
2512
2526
|
identity: undefined;
|
|
2513
2527
|
generated: undefined;
|
|
2514
2528
|
}, {}, {}>;
|
|
2515
|
-
},
|
|
2529
|
+
}, {
|
|
2530
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2531
|
+
}, undefined>;
|
|
2516
2532
|
}, z.core.$strip>;
|
|
2517
2533
|
export declare const OrderListResponse: z.ZodObject<{
|
|
2518
2534
|
data: z.ZodArray<import("drizzle-zod").BuildSchema<"select", {
|
|
@@ -2807,7 +2823,9 @@ export declare const OrderListResponse: z.ZodObject<{
|
|
|
2807
2823
|
identity: undefined;
|
|
2808
2824
|
generated: undefined;
|
|
2809
2825
|
}, {}, {}>;
|
|
2810
|
-
},
|
|
2826
|
+
}, {
|
|
2827
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2828
|
+
}, undefined>>;
|
|
2811
2829
|
meta: z.ZodOptional<z.ZodObject<{
|
|
2812
2830
|
page: z.ZodNumber;
|
|
2813
2831
|
limit: z.ZodNumber;
|
|
@@ -2989,7 +3007,9 @@ export declare const CartResponse: z.ZodObject<{
|
|
|
2989
3007
|
identity: undefined;
|
|
2990
3008
|
generated: undefined;
|
|
2991
3009
|
}, {}, {}>;
|
|
2992
|
-
},
|
|
3010
|
+
}, {
|
|
3011
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3012
|
+
}, undefined>>>;
|
|
2993
3013
|
id: z.ZodUUID;
|
|
2994
3014
|
organizationId: z.ZodString;
|
|
2995
3015
|
customerId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -3002,7 +3022,7 @@ export declare const CartResponse: z.ZodObject<{
|
|
|
3002
3022
|
}>;
|
|
3003
3023
|
currency: z.ZodString;
|
|
3004
3024
|
secret: z.ZodNullable<z.ZodString>;
|
|
3005
|
-
metadata: z.
|
|
3025
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3006
3026
|
expiresAt: z.ZodDate;
|
|
3007
3027
|
createdAt: z.ZodDate;
|
|
3008
3028
|
updatedAt: z.ZodDate;
|
|
@@ -3600,7 +3620,9 @@ export declare const CatalogEntityResponse: z.ZodObject<{
|
|
|
3600
3620
|
identity: undefined;
|
|
3601
3621
|
generated: undefined;
|
|
3602
3622
|
}, {}, {}>;
|
|
3603
|
-
},
|
|
3623
|
+
}, {
|
|
3624
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3625
|
+
}, undefined>;
|
|
3604
3626
|
}, z.core.$strip>;
|
|
3605
3627
|
export declare const CatalogEntityListResponse: z.ZodObject<{
|
|
3606
3628
|
data: z.ZodArray<import("drizzle-zod").BuildSchema<"select", {
|
|
@@ -3776,7 +3798,9 @@ export declare const CatalogEntityListResponse: z.ZodObject<{
|
|
|
3776
3798
|
identity: undefined;
|
|
3777
3799
|
generated: undefined;
|
|
3778
3800
|
}, {}, {}>;
|
|
3779
|
-
},
|
|
3801
|
+
}, {
|
|
3802
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3803
|
+
}, undefined>>;
|
|
3780
3804
|
meta: z.ZodOptional<z.ZodObject<{
|
|
3781
3805
|
page: z.ZodNumber;
|
|
3782
3806
|
limit: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/responses.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAStC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/responses.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAStC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEL,CAAC;AAEpB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAkD,CAAC"}
|
|
@@ -14,15 +14,23 @@ import { customers, customerAddresses } from "../../../modules/customers/schema.
|
|
|
14
14
|
import { sellableEntities } from "../../../modules/catalog/schema.js";
|
|
15
15
|
import { commerceJobs } from "../../../kernel/jobs/schema.js";
|
|
16
16
|
// ─── Orders ──────────────────────────────────────────────────────────────────
|
|
17
|
-
export const OrderSchema = createSelectSchema(orders
|
|
18
|
-
|
|
17
|
+
export const OrderSchema = createSelectSchema(orders, {
|
|
18
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
19
|
+
}).openapi("Order");
|
|
20
|
+
export const OrderLineItemSchema = createSelectSchema(orderLineItems, {
|
|
21
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
22
|
+
}).openapi("OrderLineItem");
|
|
19
23
|
export const OrderWithItemsSchema = z.object({
|
|
20
24
|
...OrderSchema.shape,
|
|
21
25
|
lineItems: z.array(OrderLineItemSchema).optional(),
|
|
22
26
|
}).openapi("OrderWithItems");
|
|
23
27
|
// ─── Carts ───────────────────────────────────────────────────────────────────
|
|
24
|
-
export const CartSchema = createSelectSchema(carts
|
|
25
|
-
|
|
28
|
+
export const CartSchema = createSelectSchema(carts, {
|
|
29
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
30
|
+
}).openapi("Cart");
|
|
31
|
+
export const CartLineItemSchema = createSelectSchema(cartLineItems, {
|
|
32
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
33
|
+
}).openapi("CartLineItem");
|
|
26
34
|
export const CartWithItemsSchema = z.object({
|
|
27
35
|
...CartSchema.shape,
|
|
28
36
|
lineItems: z.array(CartLineItemSchema).optional(),
|
|
@@ -31,7 +39,10 @@ export const CartWithItemsSchema = z.object({
|
|
|
31
39
|
export const CustomerSchema = createSelectSchema(customers).openapi("Customer");
|
|
32
40
|
export const CustomerAddressSchema = createSelectSchema(customerAddresses).openapi("CustomerAddress");
|
|
33
41
|
// ─── Catalog ─────────────────────────────────────────────────────────────────
|
|
34
|
-
export const CatalogEntitySchema = createSelectSchema(sellableEntities
|
|
42
|
+
export const CatalogEntitySchema = createSelectSchema(sellableEntities, {
|
|
43
|
+
// Override jsonb → narrow to object (drizzle-zod maps jsonb to a wide union)
|
|
44
|
+
metadata: z.record(z.string(), z.unknown()).openapi({ example: { weight: 200, material: "cotton" } }),
|
|
45
|
+
}).openapi("CatalogEntity");
|
|
35
46
|
// ─── Jobs ────────────────────────────────────────────────────────────────────
|
|
36
47
|
export const JobSchema = createSelectSchema(commerceJobs).openapi("Job");
|
|
37
48
|
// ─── Wrapped Response Helpers ────────────────────────────────────────────────
|
|
@@ -194,7 +194,9 @@ export declare const searchRoute: {
|
|
|
194
194
|
identity: undefined;
|
|
195
195
|
generated: undefined;
|
|
196
196
|
}, {}, {}>;
|
|
197
|
-
},
|
|
197
|
+
}, {
|
|
198
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
+
}, undefined>>;
|
|
198
200
|
meta: z.ZodOptional<z.ZodObject<{
|
|
199
201
|
pagination: z.ZodObject<{
|
|
200
202
|
page: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCtB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -17,9 +17,13 @@ import { commerceJobs } from "../../../kernel/jobs/schema.js";
|
|
|
17
17
|
|
|
18
18
|
// ─── Orders ──────────────────────────────────────────────────────────────────
|
|
19
19
|
|
|
20
|
-
export const OrderSchema = createSelectSchema(orders
|
|
20
|
+
export const OrderSchema = createSelectSchema(orders, {
|
|
21
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
22
|
+
}).openapi("Order");
|
|
21
23
|
|
|
22
|
-
export const OrderLineItemSchema = createSelectSchema(orderLineItems
|
|
24
|
+
export const OrderLineItemSchema = createSelectSchema(orderLineItems, {
|
|
25
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
26
|
+
}).openapi("OrderLineItem");
|
|
23
27
|
|
|
24
28
|
export const OrderWithItemsSchema = z.object({
|
|
25
29
|
...OrderSchema.shape,
|
|
@@ -28,9 +32,13 @@ export const OrderWithItemsSchema = z.object({
|
|
|
28
32
|
|
|
29
33
|
// ─── Carts ───────────────────────────────────────────────────────────────────
|
|
30
34
|
|
|
31
|
-
export const CartSchema = createSelectSchema(carts
|
|
35
|
+
export const CartSchema = createSelectSchema(carts, {
|
|
36
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
37
|
+
}).openapi("Cart");
|
|
32
38
|
|
|
33
|
-
export const CartLineItemSchema = createSelectSchema(cartLineItems
|
|
39
|
+
export const CartLineItemSchema = createSelectSchema(cartLineItems, {
|
|
40
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
41
|
+
}).openapi("CartLineItem");
|
|
34
42
|
|
|
35
43
|
export const CartWithItemsSchema = z.object({
|
|
36
44
|
...CartSchema.shape,
|
|
@@ -45,7 +53,10 @@ export const CustomerAddressSchema = createSelectSchema(customerAddresses).opena
|
|
|
45
53
|
|
|
46
54
|
// ─── Catalog ─────────────────────────────────────────────────────────────────
|
|
47
55
|
|
|
48
|
-
export const CatalogEntitySchema = createSelectSchema(sellableEntities
|
|
56
|
+
export const CatalogEntitySchema = createSelectSchema(sellableEntities, {
|
|
57
|
+
// Override jsonb → narrow to object (drizzle-zod maps jsonb to a wide union)
|
|
58
|
+
metadata: z.record(z.string(), z.unknown()).openapi({ example: { weight: 200, material: "cotton" } }),
|
|
59
|
+
}).openapi("CatalogEntity");
|
|
49
60
|
|
|
50
61
|
// ─── Jobs ────────────────────────────────────────────────────────────────────
|
|
51
62
|
|