@porulle/core 0.1.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/auth/middleware.d.ts.map +1 -1
- package/dist/auth/middleware.js +17 -1
- package/dist/config/define-config.d.ts.map +1 -1
- package/dist/config/define-config.js +6 -0
- package/dist/config/types.d.ts +12 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/hooks/checkout.d.ts +3 -3
- package/dist/hooks/checkout.js +4 -4
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/interfaces/rest/audit-middleware.d.ts +46 -0
- package/dist/interfaces/rest/audit-middleware.d.ts.map +1 -0
- package/dist/interfaces/rest/audit-middleware.js +82 -0
- package/dist/interfaces/rest/parse-json.d.ts +39 -0
- package/dist/interfaces/rest/parse-json.d.ts.map +1 -0
- package/dist/interfaces/rest/parse-json.js +45 -0
- package/dist/interfaces/rest/routes/catalog.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/catalog.js +17 -2
- package/dist/interfaces/rest/routes/customers.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/customers.js +59 -4
- package/dist/interfaces/rest/routes/inventory.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/inventory.js +4 -2
- package/dist/interfaces/rest/routes/media.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/media.js +6 -0
- package/dist/interfaces/rest/routes/orders.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/orders.js +23 -1
- package/dist/interfaces/rest/routes/promotions.d.ts.map +1 -1
- package/dist/interfaces/rest/routes/promotions.js +21 -1
- package/dist/interfaces/rest/schemas/carts.d.ts +175 -0
- package/dist/interfaces/rest/schemas/carts.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/catalog.d.ts +1410 -0
- package/dist/interfaces/rest/schemas/catalog.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/catalog.js +28 -1
- package/dist/interfaces/rest/schemas/checkout.d.ts +35 -0
- package/dist/interfaces/rest/schemas/checkout.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/customer-portal.d.ts +280 -0
- package/dist/interfaces/rest/schemas/customer-portal.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/customers.d.ts +863 -0
- package/dist/interfaces/rest/schemas/customers.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/customers.js +88 -0
- package/dist/interfaces/rest/schemas/inventory.d.ts +182 -1
- package/dist/interfaces/rest/schemas/inventory.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/media.d.ts +105 -0
- package/dist/interfaces/rest/schemas/media.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/orders.d.ts +136 -0
- package/dist/interfaces/rest/schemas/orders.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/orders.js +20 -0
- package/dist/interfaces/rest/schemas/pricing.d.ts +70 -0
- package/dist/interfaces/rest/schemas/pricing.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/promotions.d.ts +298 -0
- package/dist/interfaces/rest/schemas/promotions.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/promotions.js +25 -1
- package/dist/interfaces/rest/schemas/shared.d.ts +47 -0
- package/dist/interfaces/rest/schemas/shared.d.ts.map +1 -1
- package/dist/interfaces/rest/schemas/shared.js +8 -0
- package/dist/interfaces/rest/schemas/webhooks.d.ts +70 -0
- package/dist/interfaces/rest/schemas/webhooks.d.ts.map +1 -1
- package/dist/kernel/database/adapter.d.ts +6 -0
- package/dist/kernel/database/adapter.d.ts.map +1 -1
- package/dist/kernel/database/adapter.js +62 -1
- package/dist/kernel/database/migrate.d.ts +22 -2
- package/dist/kernel/database/migrate.d.ts.map +1 -1
- package/dist/kernel/database/migrate.js +42 -2
- package/dist/modules/analytics/hooks.d.ts +5 -5
- package/dist/modules/analytics/hooks.js +5 -5
- package/dist/modules/analytics/repository/index.d.ts.map +1 -1
- package/dist/modules/catalog/category-service.d.ts +6 -1
- package/dist/modules/catalog/category-service.d.ts.map +1 -1
- package/dist/modules/catalog/category-service.js +35 -5
- package/dist/modules/catalog/schema.d.ts +17 -0
- package/dist/modules/catalog/schema.d.ts.map +1 -1
- package/dist/modules/catalog/schema.js +2 -0
- package/dist/modules/catalog/service.d.ts +11 -2
- package/dist/modules/catalog/service.d.ts.map +1 -1
- package/dist/modules/catalog/service.js +8 -2
- package/dist/modules/customers/repository/index.d.ts +8 -1
- package/dist/modules/customers/repository/index.d.ts.map +1 -1
- package/dist/modules/customers/repository/index.js +42 -2
- package/dist/modules/customers/schema.d.ts +162 -0
- package/dist/modules/customers/schema.d.ts.map +1 -1
- package/dist/modules/customers/schema.js +18 -0
- package/dist/modules/customers/service.d.ts +32 -2
- package/dist/modules/customers/service.d.ts.map +1 -1
- package/dist/modules/customers/service.js +119 -3
- package/dist/modules/inventory/schemas.d.ts +7 -1
- package/dist/modules/inventory/schemas.d.ts.map +1 -1
- package/dist/modules/inventory/schemas.js +6 -1
- package/dist/modules/inventory/service.d.ts +18 -0
- package/dist/modules/inventory/service.d.ts.map +1 -1
- package/dist/modules/inventory/service.js +58 -21
- package/dist/modules/media/noop-adapter.d.ts +11 -0
- package/dist/modules/media/noop-adapter.d.ts.map +1 -0
- package/dist/modules/media/noop-adapter.js +31 -0
- package/dist/modules/orders/repository/index.d.ts +19 -0
- package/dist/modules/orders/repository/index.d.ts.map +1 -1
- package/dist/modules/orders/repository/index.js +42 -1
- package/dist/modules/orders/service.d.ts +31 -0
- package/dist/modules/orders/service.d.ts.map +1 -1
- package/dist/modules/orders/service.js +52 -2
- package/dist/modules/payments/repository/index.d.ts.map +1 -1
- package/dist/modules/promotions/schemas.d.ts +46 -0
- package/dist/modules/promotions/schemas.d.ts.map +1 -1
- package/dist/modules/promotions/schemas.js +19 -8
- package/dist/modules/promotions/service.d.ts +8 -2
- package/dist/modules/promotions/service.d.ts.map +1 -1
- package/dist/modules/promotions/service.js +74 -9
- package/dist/modules/search/repository/index.d.ts.map +1 -1
- package/dist/modules/shipping/repository/index.d.ts.map +1 -1
- package/dist/modules/tax/repository/index.d.ts.map +1 -1
- package/dist/runtime/client-ip.d.ts +31 -0
- package/dist/runtime/client-ip.d.ts.map +1 -0
- package/dist/runtime/client-ip.js +31 -0
- package/dist/runtime/server.d.ts +4 -0
- package/dist/runtime/server.d.ts.map +1 -1
- package/dist/runtime/server.js +35 -19
- package/dist/test-utils/create-plugin-test-app.d.ts.map +1 -1
- package/dist/test-utils/create-plugin-test-app.js +4 -1
- package/dist/test-utils/test-actors.d.ts +3 -2
- package/dist/test-utils/test-actors.d.ts.map +1 -1
- package/dist/test-utils/test-actors.js +3 -2
- package/package.json +15 -15
- package/src/auth/middleware.ts +18 -1
- package/src/config/define-config.ts +7 -0
- package/src/config/types.ts +12 -0
- package/src/hooks/checkout.ts +4 -4
- package/src/index.ts +18 -1
- package/src/interfaces/rest/audit-middleware.ts +110 -0
- package/src/interfaces/rest/parse-json.ts +81 -0
- package/src/interfaces/rest/routes/catalog.ts +21 -1
- package/src/interfaces/rest/routes/customers.ts +64 -3
- package/src/interfaces/rest/routes/inventory.ts +4 -2
- package/src/interfaces/rest/routes/media.ts +7 -0
- package/src/interfaces/rest/routes/orders.ts +21 -1
- package/src/interfaces/rest/routes/promotions.ts +22 -1
- package/src/interfaces/rest/schemas/catalog.ts +30 -1
- package/src/interfaces/rest/schemas/customers.ts +99 -0
- package/src/interfaces/rest/schemas/orders.ts +21 -0
- package/src/interfaces/rest/schemas/promotions.ts +32 -1
- package/src/interfaces/rest/schemas/shared.ts +9 -0
- package/src/kernel/database/adapter.ts +64 -1
- package/src/kernel/database/migrate.ts +50 -2
- package/src/modules/analytics/hooks.ts +5 -5
- package/src/modules/analytics/repository/index.ts +0 -1
- package/src/modules/catalog/category-service.ts +26 -5
- package/src/modules/catalog/schema.ts +2 -0
- package/src/modules/catalog/service.ts +25 -3
- package/src/modules/customers/repository/index.ts +55 -1
- package/src/modules/customers/schema.ts +19 -0
- package/src/modules/customers/service.ts +137 -2
- package/src/modules/inventory/schemas.ts +6 -1
- package/src/modules/inventory/service.ts +84 -29
- package/src/modules/media/noop-adapter.ts +36 -0
- package/src/modules/orders/repository/index.ts +63 -1
- package/src/modules/orders/service.ts +86 -3
- package/src/modules/payments/repository/index.ts +0 -1
- package/src/modules/promotions/schemas.ts +21 -4
- package/src/modules/promotions/service.ts +90 -18
- package/src/modules/search/repository/index.ts +0 -1
- package/src/modules/shipping/repository/index.ts +0 -1
- package/src/modules/tax/repository/index.ts +0 -1
- package/src/runtime/client-ip.ts +49 -0
- package/src/runtime/server.ts +39 -18
- package/src/test-utils/create-plugin-test-app.ts +3 -1
- package/src/test-utils/test-actors.ts +3 -2
|
@@ -232,6 +232,13 @@ export declare const getEntityRoute: {
|
|
|
232
232
|
error: z.ZodObject<{
|
|
233
233
|
code: z.ZodString;
|
|
234
234
|
message: z.ZodString;
|
|
235
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
|
+
path: z.ZodString;
|
|
238
|
+
message: z.ZodString;
|
|
239
|
+
code: z.ZodString;
|
|
240
|
+
}, z.core.$strip>>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
235
242
|
}, z.core.$strip>;
|
|
236
243
|
}, z.core.$strip>;
|
|
237
244
|
};
|
|
@@ -245,6 +252,13 @@ export declare const getEntityRoute: {
|
|
|
245
252
|
error: z.ZodObject<{
|
|
246
253
|
code: z.ZodString;
|
|
247
254
|
message: z.ZodString;
|
|
255
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
256
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
path: z.ZodString;
|
|
258
|
+
message: z.ZodString;
|
|
259
|
+
code: z.ZodString;
|
|
260
|
+
}, z.core.$strip>>>;
|
|
261
|
+
}, z.core.$strip>>;
|
|
248
262
|
}, z.core.$strip>;
|
|
249
263
|
}, z.core.$strip>;
|
|
250
264
|
};
|
|
@@ -258,6 +272,13 @@ export declare const getEntityRoute: {
|
|
|
258
272
|
error: z.ZodObject<{
|
|
259
273
|
code: z.ZodString;
|
|
260
274
|
message: z.ZodString;
|
|
275
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
277
|
+
path: z.ZodString;
|
|
278
|
+
message: z.ZodString;
|
|
279
|
+
code: z.ZodString;
|
|
280
|
+
}, z.core.$strip>>>;
|
|
281
|
+
}, z.core.$strip>>;
|
|
261
282
|
}, z.core.$strip>;
|
|
262
283
|
}, z.core.$strip>;
|
|
263
284
|
};
|
|
@@ -271,6 +292,13 @@ export declare const getEntityRoute: {
|
|
|
271
292
|
error: z.ZodObject<{
|
|
272
293
|
code: z.ZodString;
|
|
273
294
|
message: z.ZodString;
|
|
295
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
296
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
297
|
+
path: z.ZodString;
|
|
298
|
+
message: z.ZodString;
|
|
299
|
+
code: z.ZodString;
|
|
300
|
+
}, z.core.$strip>>>;
|
|
301
|
+
}, z.core.$strip>>;
|
|
274
302
|
}, z.core.$strip>;
|
|
275
303
|
}, z.core.$strip>;
|
|
276
304
|
};
|
|
@@ -284,6 +312,13 @@ export declare const getEntityRoute: {
|
|
|
284
312
|
error: z.ZodObject<{
|
|
285
313
|
code: z.ZodString;
|
|
286
314
|
message: z.ZodString;
|
|
315
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
path: z.ZodString;
|
|
318
|
+
message: z.ZodString;
|
|
319
|
+
code: z.ZodString;
|
|
320
|
+
}, z.core.$strip>>>;
|
|
321
|
+
}, z.core.$strip>>;
|
|
287
322
|
}, z.core.$strip>;
|
|
288
323
|
}, z.core.$strip>;
|
|
289
324
|
};
|
|
@@ -498,6 +533,13 @@ export declare const getEntityAttributesRoute: {
|
|
|
498
533
|
error: z.ZodObject<{
|
|
499
534
|
code: z.ZodString;
|
|
500
535
|
message: z.ZodString;
|
|
536
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
+
path: z.ZodString;
|
|
539
|
+
message: z.ZodString;
|
|
540
|
+
code: z.ZodString;
|
|
541
|
+
}, z.core.$strip>>>;
|
|
542
|
+
}, z.core.$strip>>;
|
|
501
543
|
}, z.core.$strip>;
|
|
502
544
|
}, z.core.$strip>;
|
|
503
545
|
};
|
|
@@ -511,6 +553,13 @@ export declare const getEntityAttributesRoute: {
|
|
|
511
553
|
error: z.ZodObject<{
|
|
512
554
|
code: z.ZodString;
|
|
513
555
|
message: z.ZodString;
|
|
556
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
558
|
+
path: z.ZodString;
|
|
559
|
+
message: z.ZodString;
|
|
560
|
+
code: z.ZodString;
|
|
561
|
+
}, z.core.$strip>>>;
|
|
562
|
+
}, z.core.$strip>>;
|
|
514
563
|
}, z.core.$strip>;
|
|
515
564
|
}, z.core.$strip>;
|
|
516
565
|
};
|
|
@@ -524,6 +573,13 @@ export declare const getEntityAttributesRoute: {
|
|
|
524
573
|
error: z.ZodObject<{
|
|
525
574
|
code: z.ZodString;
|
|
526
575
|
message: z.ZodString;
|
|
576
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
577
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
578
|
+
path: z.ZodString;
|
|
579
|
+
message: z.ZodString;
|
|
580
|
+
code: z.ZodString;
|
|
581
|
+
}, z.core.$strip>>>;
|
|
582
|
+
}, z.core.$strip>>;
|
|
527
583
|
}, z.core.$strip>;
|
|
528
584
|
}, z.core.$strip>;
|
|
529
585
|
};
|
|
@@ -537,6 +593,13 @@ export declare const getEntityAttributesRoute: {
|
|
|
537
593
|
error: z.ZodObject<{
|
|
538
594
|
code: z.ZodString;
|
|
539
595
|
message: z.ZodString;
|
|
596
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
597
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
598
|
+
path: z.ZodString;
|
|
599
|
+
message: z.ZodString;
|
|
600
|
+
code: z.ZodString;
|
|
601
|
+
}, z.core.$strip>>>;
|
|
602
|
+
}, z.core.$strip>>;
|
|
540
603
|
}, z.core.$strip>;
|
|
541
604
|
}, z.core.$strip>;
|
|
542
605
|
};
|
|
@@ -550,6 +613,13 @@ export declare const getEntityAttributesRoute: {
|
|
|
550
613
|
error: z.ZodObject<{
|
|
551
614
|
code: z.ZodString;
|
|
552
615
|
message: z.ZodString;
|
|
616
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
|
+
path: z.ZodString;
|
|
619
|
+
message: z.ZodString;
|
|
620
|
+
code: z.ZodString;
|
|
621
|
+
}, z.core.$strip>>>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
553
623
|
}, z.core.$strip>;
|
|
554
624
|
}, z.core.$strip>;
|
|
555
625
|
};
|
|
@@ -750,6 +820,11 @@ export declare const listCategoriesRoute: {
|
|
|
750
820
|
path: "/categories";
|
|
751
821
|
tags: string[];
|
|
752
822
|
summary: string;
|
|
823
|
+
request: {
|
|
824
|
+
query: z.ZodObject<{
|
|
825
|
+
includeArchived: z.ZodOptional<z.ZodString>;
|
|
826
|
+
}, z.core.$strip>;
|
|
827
|
+
};
|
|
753
828
|
responses: {
|
|
754
829
|
200: {
|
|
755
830
|
content: {
|
|
@@ -1153,6 +1228,13 @@ export declare const deleteEntityRoute: {
|
|
|
1153
1228
|
error: z.ZodObject<{
|
|
1154
1229
|
code: z.ZodString;
|
|
1155
1230
|
message: z.ZodString;
|
|
1231
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1232
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1233
|
+
path: z.ZodString;
|
|
1234
|
+
message: z.ZodString;
|
|
1235
|
+
code: z.ZodString;
|
|
1236
|
+
}, z.core.$strip>>>;
|
|
1237
|
+
}, z.core.$strip>>;
|
|
1156
1238
|
}, z.core.$strip>;
|
|
1157
1239
|
}, z.core.$strip>;
|
|
1158
1240
|
};
|
|
@@ -1166,6 +1248,13 @@ export declare const deleteEntityRoute: {
|
|
|
1166
1248
|
error: z.ZodObject<{
|
|
1167
1249
|
code: z.ZodString;
|
|
1168
1250
|
message: z.ZodString;
|
|
1251
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1252
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1253
|
+
path: z.ZodString;
|
|
1254
|
+
message: z.ZodString;
|
|
1255
|
+
code: z.ZodString;
|
|
1256
|
+
}, z.core.$strip>>>;
|
|
1257
|
+
}, z.core.$strip>>;
|
|
1169
1258
|
}, z.core.$strip>;
|
|
1170
1259
|
}, z.core.$strip>;
|
|
1171
1260
|
};
|
|
@@ -1179,6 +1268,13 @@ export declare const deleteEntityRoute: {
|
|
|
1179
1268
|
error: z.ZodObject<{
|
|
1180
1269
|
code: z.ZodString;
|
|
1181
1270
|
message: z.ZodString;
|
|
1271
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1272
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1273
|
+
path: z.ZodString;
|
|
1274
|
+
message: z.ZodString;
|
|
1275
|
+
code: z.ZodString;
|
|
1276
|
+
}, z.core.$strip>>>;
|
|
1277
|
+
}, z.core.$strip>>;
|
|
1182
1278
|
}, z.core.$strip>;
|
|
1183
1279
|
}, z.core.$strip>;
|
|
1184
1280
|
};
|
|
@@ -1192,6 +1288,13 @@ export declare const deleteEntityRoute: {
|
|
|
1192
1288
|
error: z.ZodObject<{
|
|
1193
1289
|
code: z.ZodString;
|
|
1194
1290
|
message: z.ZodString;
|
|
1291
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1292
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1293
|
+
path: z.ZodString;
|
|
1294
|
+
message: z.ZodString;
|
|
1295
|
+
code: z.ZodString;
|
|
1296
|
+
}, z.core.$strip>>>;
|
|
1297
|
+
}, z.core.$strip>>;
|
|
1195
1298
|
}, z.core.$strip>;
|
|
1196
1299
|
}, z.core.$strip>;
|
|
1197
1300
|
};
|
|
@@ -1205,6 +1308,13 @@ export declare const deleteEntityRoute: {
|
|
|
1205
1308
|
error: z.ZodObject<{
|
|
1206
1309
|
code: z.ZodString;
|
|
1207
1310
|
message: z.ZodString;
|
|
1311
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1312
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1313
|
+
path: z.ZodString;
|
|
1314
|
+
message: z.ZodString;
|
|
1315
|
+
code: z.ZodString;
|
|
1316
|
+
}, z.core.$strip>>>;
|
|
1317
|
+
}, z.core.$strip>>;
|
|
1208
1318
|
}, z.core.$strip>;
|
|
1209
1319
|
}, z.core.$strip>;
|
|
1210
1320
|
};
|
|
@@ -1245,6 +1355,13 @@ export declare const deleteCategoryRoute: {
|
|
|
1245
1355
|
error: z.ZodObject<{
|
|
1246
1356
|
code: z.ZodString;
|
|
1247
1357
|
message: z.ZodString;
|
|
1358
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1359
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1360
|
+
path: z.ZodString;
|
|
1361
|
+
message: z.ZodString;
|
|
1362
|
+
code: z.ZodString;
|
|
1363
|
+
}, z.core.$strip>>>;
|
|
1364
|
+
}, z.core.$strip>>;
|
|
1248
1365
|
}, z.core.$strip>;
|
|
1249
1366
|
}, z.core.$strip>;
|
|
1250
1367
|
};
|
|
@@ -1258,6 +1375,13 @@ export declare const deleteCategoryRoute: {
|
|
|
1258
1375
|
error: z.ZodObject<{
|
|
1259
1376
|
code: z.ZodString;
|
|
1260
1377
|
message: z.ZodString;
|
|
1378
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1379
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1380
|
+
path: z.ZodString;
|
|
1381
|
+
message: z.ZodString;
|
|
1382
|
+
code: z.ZodString;
|
|
1383
|
+
}, z.core.$strip>>>;
|
|
1384
|
+
}, z.core.$strip>>;
|
|
1261
1385
|
}, z.core.$strip>;
|
|
1262
1386
|
}, z.core.$strip>;
|
|
1263
1387
|
};
|
|
@@ -1271,6 +1395,13 @@ export declare const deleteCategoryRoute: {
|
|
|
1271
1395
|
error: z.ZodObject<{
|
|
1272
1396
|
code: z.ZodString;
|
|
1273
1397
|
message: z.ZodString;
|
|
1398
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1399
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1400
|
+
path: z.ZodString;
|
|
1401
|
+
message: z.ZodString;
|
|
1402
|
+
code: z.ZodString;
|
|
1403
|
+
}, z.core.$strip>>>;
|
|
1404
|
+
}, z.core.$strip>>;
|
|
1274
1405
|
}, z.core.$strip>;
|
|
1275
1406
|
}, z.core.$strip>;
|
|
1276
1407
|
};
|
|
@@ -1284,6 +1415,13 @@ export declare const deleteCategoryRoute: {
|
|
|
1284
1415
|
error: z.ZodObject<{
|
|
1285
1416
|
code: z.ZodString;
|
|
1286
1417
|
message: z.ZodString;
|
|
1418
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1419
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1420
|
+
path: z.ZodString;
|
|
1421
|
+
message: z.ZodString;
|
|
1422
|
+
code: z.ZodString;
|
|
1423
|
+
}, z.core.$strip>>>;
|
|
1424
|
+
}, z.core.$strip>>;
|
|
1287
1425
|
}, z.core.$strip>;
|
|
1288
1426
|
}, z.core.$strip>;
|
|
1289
1427
|
};
|
|
@@ -1297,6 +1435,13 @@ export declare const deleteCategoryRoute: {
|
|
|
1297
1435
|
error: z.ZodObject<{
|
|
1298
1436
|
code: z.ZodString;
|
|
1299
1437
|
message: z.ZodString;
|
|
1438
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1439
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1440
|
+
path: z.ZodString;
|
|
1441
|
+
message: z.ZodString;
|
|
1442
|
+
code: z.ZodString;
|
|
1443
|
+
}, z.core.$strip>>>;
|
|
1444
|
+
}, z.core.$strip>>;
|
|
1300
1445
|
}, z.core.$strip>;
|
|
1301
1446
|
}, z.core.$strip>;
|
|
1302
1447
|
};
|
|
@@ -1337,6 +1482,13 @@ export declare const deleteBrandRoute: {
|
|
|
1337
1482
|
error: z.ZodObject<{
|
|
1338
1483
|
code: z.ZodString;
|
|
1339
1484
|
message: z.ZodString;
|
|
1485
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1486
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1487
|
+
path: z.ZodString;
|
|
1488
|
+
message: z.ZodString;
|
|
1489
|
+
code: z.ZodString;
|
|
1490
|
+
}, z.core.$strip>>>;
|
|
1491
|
+
}, z.core.$strip>>;
|
|
1340
1492
|
}, z.core.$strip>;
|
|
1341
1493
|
}, z.core.$strip>;
|
|
1342
1494
|
};
|
|
@@ -1350,6 +1502,13 @@ export declare const deleteBrandRoute: {
|
|
|
1350
1502
|
error: z.ZodObject<{
|
|
1351
1503
|
code: z.ZodString;
|
|
1352
1504
|
message: z.ZodString;
|
|
1505
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1506
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1507
|
+
path: z.ZodString;
|
|
1508
|
+
message: z.ZodString;
|
|
1509
|
+
code: z.ZodString;
|
|
1510
|
+
}, z.core.$strip>>>;
|
|
1511
|
+
}, z.core.$strip>>;
|
|
1353
1512
|
}, z.core.$strip>;
|
|
1354
1513
|
}, z.core.$strip>;
|
|
1355
1514
|
};
|
|
@@ -1363,6 +1522,13 @@ export declare const deleteBrandRoute: {
|
|
|
1363
1522
|
error: z.ZodObject<{
|
|
1364
1523
|
code: z.ZodString;
|
|
1365
1524
|
message: z.ZodString;
|
|
1525
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1526
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1527
|
+
path: z.ZodString;
|
|
1528
|
+
message: z.ZodString;
|
|
1529
|
+
code: z.ZodString;
|
|
1530
|
+
}, z.core.$strip>>>;
|
|
1531
|
+
}, z.core.$strip>>;
|
|
1366
1532
|
}, z.core.$strip>;
|
|
1367
1533
|
}, z.core.$strip>;
|
|
1368
1534
|
};
|
|
@@ -1376,6 +1542,13 @@ export declare const deleteBrandRoute: {
|
|
|
1376
1542
|
error: z.ZodObject<{
|
|
1377
1543
|
code: z.ZodString;
|
|
1378
1544
|
message: z.ZodString;
|
|
1545
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1546
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1547
|
+
path: z.ZodString;
|
|
1548
|
+
message: z.ZodString;
|
|
1549
|
+
code: z.ZodString;
|
|
1550
|
+
}, z.core.$strip>>>;
|
|
1551
|
+
}, z.core.$strip>>;
|
|
1379
1552
|
}, z.core.$strip>;
|
|
1380
1553
|
}, z.core.$strip>;
|
|
1381
1554
|
};
|
|
@@ -1389,6 +1562,13 @@ export declare const deleteBrandRoute: {
|
|
|
1389
1562
|
error: z.ZodObject<{
|
|
1390
1563
|
code: z.ZodString;
|
|
1391
1564
|
message: z.ZodString;
|
|
1565
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1566
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1567
|
+
path: z.ZodString;
|
|
1568
|
+
message: z.ZodString;
|
|
1569
|
+
code: z.ZodString;
|
|
1570
|
+
}, z.core.$strip>>>;
|
|
1571
|
+
}, z.core.$strip>>;
|
|
1392
1572
|
}, z.core.$strip>;
|
|
1393
1573
|
}, z.core.$strip>;
|
|
1394
1574
|
};
|
|
@@ -1430,6 +1610,13 @@ export declare const removeEntityFromCategoryRoute: {
|
|
|
1430
1610
|
error: z.ZodObject<{
|
|
1431
1611
|
code: z.ZodString;
|
|
1432
1612
|
message: z.ZodString;
|
|
1613
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1614
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1615
|
+
path: z.ZodString;
|
|
1616
|
+
message: z.ZodString;
|
|
1617
|
+
code: z.ZodString;
|
|
1618
|
+
}, z.core.$strip>>>;
|
|
1619
|
+
}, z.core.$strip>>;
|
|
1433
1620
|
}, z.core.$strip>;
|
|
1434
1621
|
}, z.core.$strip>;
|
|
1435
1622
|
};
|
|
@@ -1443,6 +1630,13 @@ export declare const removeEntityFromCategoryRoute: {
|
|
|
1443
1630
|
error: z.ZodObject<{
|
|
1444
1631
|
code: z.ZodString;
|
|
1445
1632
|
message: z.ZodString;
|
|
1633
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1634
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1635
|
+
path: z.ZodString;
|
|
1636
|
+
message: z.ZodString;
|
|
1637
|
+
code: z.ZodString;
|
|
1638
|
+
}, z.core.$strip>>>;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1446
1640
|
}, z.core.$strip>;
|
|
1447
1641
|
}, z.core.$strip>;
|
|
1448
1642
|
};
|
|
@@ -1456,6 +1650,13 @@ export declare const removeEntityFromCategoryRoute: {
|
|
|
1456
1650
|
error: z.ZodObject<{
|
|
1457
1651
|
code: z.ZodString;
|
|
1458
1652
|
message: z.ZodString;
|
|
1653
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1654
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1655
|
+
path: z.ZodString;
|
|
1656
|
+
message: z.ZodString;
|
|
1657
|
+
code: z.ZodString;
|
|
1658
|
+
}, z.core.$strip>>>;
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1459
1660
|
}, z.core.$strip>;
|
|
1460
1661
|
}, z.core.$strip>;
|
|
1461
1662
|
};
|
|
@@ -1469,6 +1670,13 @@ export declare const removeEntityFromCategoryRoute: {
|
|
|
1469
1670
|
error: z.ZodObject<{
|
|
1470
1671
|
code: z.ZodString;
|
|
1471
1672
|
message: z.ZodString;
|
|
1673
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1674
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1675
|
+
path: z.ZodString;
|
|
1676
|
+
message: z.ZodString;
|
|
1677
|
+
code: z.ZodString;
|
|
1678
|
+
}, z.core.$strip>>>;
|
|
1679
|
+
}, z.core.$strip>>;
|
|
1472
1680
|
}, z.core.$strip>;
|
|
1473
1681
|
}, z.core.$strip>;
|
|
1474
1682
|
};
|
|
@@ -1482,6 +1690,13 @@ export declare const removeEntityFromCategoryRoute: {
|
|
|
1482
1690
|
error: z.ZodObject<{
|
|
1483
1691
|
code: z.ZodString;
|
|
1484
1692
|
message: z.ZodString;
|
|
1693
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1694
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1695
|
+
path: z.ZodString;
|
|
1696
|
+
message: z.ZodString;
|
|
1697
|
+
code: z.ZodString;
|
|
1698
|
+
}, z.core.$strip>>>;
|
|
1699
|
+
}, z.core.$strip>>;
|
|
1485
1700
|
}, z.core.$strip>;
|
|
1486
1701
|
}, z.core.$strip>;
|
|
1487
1702
|
};
|
|
@@ -1523,6 +1738,13 @@ export declare const removeEntityFromBrandRoute: {
|
|
|
1523
1738
|
error: z.ZodObject<{
|
|
1524
1739
|
code: z.ZodString;
|
|
1525
1740
|
message: z.ZodString;
|
|
1741
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1742
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1743
|
+
path: z.ZodString;
|
|
1744
|
+
message: z.ZodString;
|
|
1745
|
+
code: z.ZodString;
|
|
1746
|
+
}, z.core.$strip>>>;
|
|
1747
|
+
}, z.core.$strip>>;
|
|
1526
1748
|
}, z.core.$strip>;
|
|
1527
1749
|
}, z.core.$strip>;
|
|
1528
1750
|
};
|
|
@@ -1536,6 +1758,13 @@ export declare const removeEntityFromBrandRoute: {
|
|
|
1536
1758
|
error: z.ZodObject<{
|
|
1537
1759
|
code: z.ZodString;
|
|
1538
1760
|
message: z.ZodString;
|
|
1761
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1762
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1763
|
+
path: z.ZodString;
|
|
1764
|
+
message: z.ZodString;
|
|
1765
|
+
code: z.ZodString;
|
|
1766
|
+
}, z.core.$strip>>>;
|
|
1767
|
+
}, z.core.$strip>>;
|
|
1539
1768
|
}, z.core.$strip>;
|
|
1540
1769
|
}, z.core.$strip>;
|
|
1541
1770
|
};
|
|
@@ -1549,6 +1778,13 @@ export declare const removeEntityFromBrandRoute: {
|
|
|
1549
1778
|
error: z.ZodObject<{
|
|
1550
1779
|
code: z.ZodString;
|
|
1551
1780
|
message: z.ZodString;
|
|
1781
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1782
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1783
|
+
path: z.ZodString;
|
|
1784
|
+
message: z.ZodString;
|
|
1785
|
+
code: z.ZodString;
|
|
1786
|
+
}, z.core.$strip>>>;
|
|
1787
|
+
}, z.core.$strip>>;
|
|
1552
1788
|
}, z.core.$strip>;
|
|
1553
1789
|
}, z.core.$strip>;
|
|
1554
1790
|
};
|
|
@@ -1562,6 +1798,13 @@ export declare const removeEntityFromBrandRoute: {
|
|
|
1562
1798
|
error: z.ZodObject<{
|
|
1563
1799
|
code: z.ZodString;
|
|
1564
1800
|
message: z.ZodString;
|
|
1801
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1802
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1803
|
+
path: z.ZodString;
|
|
1804
|
+
message: z.ZodString;
|
|
1805
|
+
code: z.ZodString;
|
|
1806
|
+
}, z.core.$strip>>>;
|
|
1807
|
+
}, z.core.$strip>>;
|
|
1565
1808
|
}, z.core.$strip>;
|
|
1566
1809
|
}, z.core.$strip>;
|
|
1567
1810
|
};
|
|
@@ -1575,6 +1818,13 @@ export declare const removeEntityFromBrandRoute: {
|
|
|
1575
1818
|
error: z.ZodObject<{
|
|
1576
1819
|
code: z.ZodString;
|
|
1577
1820
|
message: z.ZodString;
|
|
1821
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1822
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1823
|
+
path: z.ZodString;
|
|
1824
|
+
message: z.ZodString;
|
|
1825
|
+
code: z.ZodString;
|
|
1826
|
+
}, z.core.$strip>>>;
|
|
1827
|
+
}, z.core.$strip>>;
|
|
1578
1828
|
}, z.core.$strip>;
|
|
1579
1829
|
}, z.core.$strip>;
|
|
1580
1830
|
};
|
|
@@ -1615,6 +1865,13 @@ export declare const publishEntityRoute: {
|
|
|
1615
1865
|
error: z.ZodObject<{
|
|
1616
1866
|
code: z.ZodString;
|
|
1617
1867
|
message: z.ZodString;
|
|
1868
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1870
|
+
path: z.ZodString;
|
|
1871
|
+
message: z.ZodString;
|
|
1872
|
+
code: z.ZodString;
|
|
1873
|
+
}, z.core.$strip>>>;
|
|
1874
|
+
}, z.core.$strip>>;
|
|
1618
1875
|
}, z.core.$strip>;
|
|
1619
1876
|
}, z.core.$strip>;
|
|
1620
1877
|
};
|
|
@@ -1628,6 +1885,13 @@ export declare const publishEntityRoute: {
|
|
|
1628
1885
|
error: z.ZodObject<{
|
|
1629
1886
|
code: z.ZodString;
|
|
1630
1887
|
message: z.ZodString;
|
|
1888
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1889
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1890
|
+
path: z.ZodString;
|
|
1891
|
+
message: z.ZodString;
|
|
1892
|
+
code: z.ZodString;
|
|
1893
|
+
}, z.core.$strip>>>;
|
|
1894
|
+
}, z.core.$strip>>;
|
|
1631
1895
|
}, z.core.$strip>;
|
|
1632
1896
|
}, z.core.$strip>;
|
|
1633
1897
|
};
|
|
@@ -1641,6 +1905,13 @@ export declare const publishEntityRoute: {
|
|
|
1641
1905
|
error: z.ZodObject<{
|
|
1642
1906
|
code: z.ZodString;
|
|
1643
1907
|
message: z.ZodString;
|
|
1908
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1909
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1910
|
+
path: z.ZodString;
|
|
1911
|
+
message: z.ZodString;
|
|
1912
|
+
code: z.ZodString;
|
|
1913
|
+
}, z.core.$strip>>>;
|
|
1914
|
+
}, z.core.$strip>>;
|
|
1644
1915
|
}, z.core.$strip>;
|
|
1645
1916
|
}, z.core.$strip>;
|
|
1646
1917
|
};
|
|
@@ -1654,6 +1925,13 @@ export declare const publishEntityRoute: {
|
|
|
1654
1925
|
error: z.ZodObject<{
|
|
1655
1926
|
code: z.ZodString;
|
|
1656
1927
|
message: z.ZodString;
|
|
1928
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1929
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1930
|
+
path: z.ZodString;
|
|
1931
|
+
message: z.ZodString;
|
|
1932
|
+
code: z.ZodString;
|
|
1933
|
+
}, z.core.$strip>>>;
|
|
1934
|
+
}, z.core.$strip>>;
|
|
1657
1935
|
}, z.core.$strip>;
|
|
1658
1936
|
}, z.core.$strip>;
|
|
1659
1937
|
};
|
|
@@ -1667,6 +1945,13 @@ export declare const publishEntityRoute: {
|
|
|
1667
1945
|
error: z.ZodObject<{
|
|
1668
1946
|
code: z.ZodString;
|
|
1669
1947
|
message: z.ZodString;
|
|
1948
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
1949
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1950
|
+
path: z.ZodString;
|
|
1951
|
+
message: z.ZodString;
|
|
1952
|
+
code: z.ZodString;
|
|
1953
|
+
}, z.core.$strip>>>;
|
|
1954
|
+
}, z.core.$strip>>;
|
|
1670
1955
|
}, z.core.$strip>;
|
|
1671
1956
|
}, z.core.$strip>;
|
|
1672
1957
|
};
|
|
@@ -1880,6 +2165,13 @@ export declare const archiveEntityRoute: {
|
|
|
1880
2165
|
error: z.ZodObject<{
|
|
1881
2166
|
code: z.ZodString;
|
|
1882
2167
|
message: z.ZodString;
|
|
2168
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2169
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2170
|
+
path: z.ZodString;
|
|
2171
|
+
message: z.ZodString;
|
|
2172
|
+
code: z.ZodString;
|
|
2173
|
+
}, z.core.$strip>>>;
|
|
2174
|
+
}, z.core.$strip>>;
|
|
1883
2175
|
}, z.core.$strip>;
|
|
1884
2176
|
}, z.core.$strip>;
|
|
1885
2177
|
};
|
|
@@ -1893,6 +2185,13 @@ export declare const archiveEntityRoute: {
|
|
|
1893
2185
|
error: z.ZodObject<{
|
|
1894
2186
|
code: z.ZodString;
|
|
1895
2187
|
message: z.ZodString;
|
|
2188
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2189
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2190
|
+
path: z.ZodString;
|
|
2191
|
+
message: z.ZodString;
|
|
2192
|
+
code: z.ZodString;
|
|
2193
|
+
}, z.core.$strip>>>;
|
|
2194
|
+
}, z.core.$strip>>;
|
|
1896
2195
|
}, z.core.$strip>;
|
|
1897
2196
|
}, z.core.$strip>;
|
|
1898
2197
|
};
|
|
@@ -1906,6 +2205,13 @@ export declare const archiveEntityRoute: {
|
|
|
1906
2205
|
error: z.ZodObject<{
|
|
1907
2206
|
code: z.ZodString;
|
|
1908
2207
|
message: z.ZodString;
|
|
2208
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2209
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2210
|
+
path: z.ZodString;
|
|
2211
|
+
message: z.ZodString;
|
|
2212
|
+
code: z.ZodString;
|
|
2213
|
+
}, z.core.$strip>>>;
|
|
2214
|
+
}, z.core.$strip>>;
|
|
1909
2215
|
}, z.core.$strip>;
|
|
1910
2216
|
}, z.core.$strip>;
|
|
1911
2217
|
};
|
|
@@ -1919,6 +2225,13 @@ export declare const archiveEntityRoute: {
|
|
|
1919
2225
|
error: z.ZodObject<{
|
|
1920
2226
|
code: z.ZodString;
|
|
1921
2227
|
message: z.ZodString;
|
|
2228
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2229
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2230
|
+
path: z.ZodString;
|
|
2231
|
+
message: z.ZodString;
|
|
2232
|
+
code: z.ZodString;
|
|
2233
|
+
}, z.core.$strip>>>;
|
|
2234
|
+
}, z.core.$strip>>;
|
|
1922
2235
|
}, z.core.$strip>;
|
|
1923
2236
|
}, z.core.$strip>;
|
|
1924
2237
|
};
|
|
@@ -1932,6 +2245,13 @@ export declare const archiveEntityRoute: {
|
|
|
1932
2245
|
error: z.ZodObject<{
|
|
1933
2246
|
code: z.ZodString;
|
|
1934
2247
|
message: z.ZodString;
|
|
2248
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2249
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2250
|
+
path: z.ZodString;
|
|
2251
|
+
message: z.ZodString;
|
|
2252
|
+
code: z.ZodString;
|
|
2253
|
+
}, z.core.$strip>>>;
|
|
2254
|
+
}, z.core.$strip>>;
|
|
1935
2255
|
}, z.core.$strip>;
|
|
1936
2256
|
}, z.core.$strip>;
|
|
1937
2257
|
};
|
|
@@ -2145,6 +2465,13 @@ export declare const discontinueEntityRoute: {
|
|
|
2145
2465
|
error: z.ZodObject<{
|
|
2146
2466
|
code: z.ZodString;
|
|
2147
2467
|
message: z.ZodString;
|
|
2468
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2469
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2470
|
+
path: z.ZodString;
|
|
2471
|
+
message: z.ZodString;
|
|
2472
|
+
code: z.ZodString;
|
|
2473
|
+
}, z.core.$strip>>>;
|
|
2474
|
+
}, z.core.$strip>>;
|
|
2148
2475
|
}, z.core.$strip>;
|
|
2149
2476
|
}, z.core.$strip>;
|
|
2150
2477
|
};
|
|
@@ -2158,6 +2485,13 @@ export declare const discontinueEntityRoute: {
|
|
|
2158
2485
|
error: z.ZodObject<{
|
|
2159
2486
|
code: z.ZodString;
|
|
2160
2487
|
message: z.ZodString;
|
|
2488
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2489
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2490
|
+
path: z.ZodString;
|
|
2491
|
+
message: z.ZodString;
|
|
2492
|
+
code: z.ZodString;
|
|
2493
|
+
}, z.core.$strip>>>;
|
|
2494
|
+
}, z.core.$strip>>;
|
|
2161
2495
|
}, z.core.$strip>;
|
|
2162
2496
|
}, z.core.$strip>;
|
|
2163
2497
|
};
|
|
@@ -2171,6 +2505,13 @@ export declare const discontinueEntityRoute: {
|
|
|
2171
2505
|
error: z.ZodObject<{
|
|
2172
2506
|
code: z.ZodString;
|
|
2173
2507
|
message: z.ZodString;
|
|
2508
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2509
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2510
|
+
path: z.ZodString;
|
|
2511
|
+
message: z.ZodString;
|
|
2512
|
+
code: z.ZodString;
|
|
2513
|
+
}, z.core.$strip>>>;
|
|
2514
|
+
}, z.core.$strip>>;
|
|
2174
2515
|
}, z.core.$strip>;
|
|
2175
2516
|
}, z.core.$strip>;
|
|
2176
2517
|
};
|
|
@@ -2184,6 +2525,13 @@ export declare const discontinueEntityRoute: {
|
|
|
2184
2525
|
error: z.ZodObject<{
|
|
2185
2526
|
code: z.ZodString;
|
|
2186
2527
|
message: z.ZodString;
|
|
2528
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2529
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2530
|
+
path: z.ZodString;
|
|
2531
|
+
message: z.ZodString;
|
|
2532
|
+
code: z.ZodString;
|
|
2533
|
+
}, z.core.$strip>>>;
|
|
2534
|
+
}, z.core.$strip>>;
|
|
2187
2535
|
}, z.core.$strip>;
|
|
2188
2536
|
}, z.core.$strip>;
|
|
2189
2537
|
};
|
|
@@ -2197,6 +2545,13 @@ export declare const discontinueEntityRoute: {
|
|
|
2197
2545
|
error: z.ZodObject<{
|
|
2198
2546
|
code: z.ZodString;
|
|
2199
2547
|
message: z.ZodString;
|
|
2548
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2549
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2550
|
+
path: z.ZodString;
|
|
2551
|
+
message: z.ZodString;
|
|
2552
|
+
code: z.ZodString;
|
|
2553
|
+
}, z.core.$strip>>>;
|
|
2554
|
+
}, z.core.$strip>>;
|
|
2200
2555
|
}, z.core.$strip>;
|
|
2201
2556
|
}, z.core.$strip>;
|
|
2202
2557
|
};
|
|
@@ -2411,6 +2766,13 @@ export declare const addEntityToCategoryRoute: {
|
|
|
2411
2766
|
error: z.ZodObject<{
|
|
2412
2767
|
code: z.ZodString;
|
|
2413
2768
|
message: z.ZodString;
|
|
2769
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2770
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2771
|
+
path: z.ZodString;
|
|
2772
|
+
message: z.ZodString;
|
|
2773
|
+
code: z.ZodString;
|
|
2774
|
+
}, z.core.$strip>>>;
|
|
2775
|
+
}, z.core.$strip>>;
|
|
2414
2776
|
}, z.core.$strip>;
|
|
2415
2777
|
}, z.core.$strip>;
|
|
2416
2778
|
};
|
|
@@ -2424,6 +2786,13 @@ export declare const addEntityToCategoryRoute: {
|
|
|
2424
2786
|
error: z.ZodObject<{
|
|
2425
2787
|
code: z.ZodString;
|
|
2426
2788
|
message: z.ZodString;
|
|
2789
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2790
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2791
|
+
path: z.ZodString;
|
|
2792
|
+
message: z.ZodString;
|
|
2793
|
+
code: z.ZodString;
|
|
2794
|
+
}, z.core.$strip>>>;
|
|
2795
|
+
}, z.core.$strip>>;
|
|
2427
2796
|
}, z.core.$strip>;
|
|
2428
2797
|
}, z.core.$strip>;
|
|
2429
2798
|
};
|
|
@@ -2437,6 +2806,13 @@ export declare const addEntityToCategoryRoute: {
|
|
|
2437
2806
|
error: z.ZodObject<{
|
|
2438
2807
|
code: z.ZodString;
|
|
2439
2808
|
message: z.ZodString;
|
|
2809
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2810
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2811
|
+
path: z.ZodString;
|
|
2812
|
+
message: z.ZodString;
|
|
2813
|
+
code: z.ZodString;
|
|
2814
|
+
}, z.core.$strip>>>;
|
|
2815
|
+
}, z.core.$strip>>;
|
|
2440
2816
|
}, z.core.$strip>;
|
|
2441
2817
|
}, z.core.$strip>;
|
|
2442
2818
|
};
|
|
@@ -2450,6 +2826,13 @@ export declare const addEntityToCategoryRoute: {
|
|
|
2450
2826
|
error: z.ZodObject<{
|
|
2451
2827
|
code: z.ZodString;
|
|
2452
2828
|
message: z.ZodString;
|
|
2829
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2830
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2831
|
+
path: z.ZodString;
|
|
2832
|
+
message: z.ZodString;
|
|
2833
|
+
code: z.ZodString;
|
|
2834
|
+
}, z.core.$strip>>>;
|
|
2835
|
+
}, z.core.$strip>>;
|
|
2453
2836
|
}, z.core.$strip>;
|
|
2454
2837
|
}, z.core.$strip>;
|
|
2455
2838
|
};
|
|
@@ -2463,6 +2846,13 @@ export declare const addEntityToCategoryRoute: {
|
|
|
2463
2846
|
error: z.ZodObject<{
|
|
2464
2847
|
code: z.ZodString;
|
|
2465
2848
|
message: z.ZodString;
|
|
2849
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2850
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2851
|
+
path: z.ZodString;
|
|
2852
|
+
message: z.ZodString;
|
|
2853
|
+
code: z.ZodString;
|
|
2854
|
+
}, z.core.$strip>>>;
|
|
2855
|
+
}, z.core.$strip>>;
|
|
2466
2856
|
}, z.core.$strip>;
|
|
2467
2857
|
}, z.core.$strip>;
|
|
2468
2858
|
};
|
|
@@ -2504,6 +2894,13 @@ export declare const addEntityToBrandRoute: {
|
|
|
2504
2894
|
error: z.ZodObject<{
|
|
2505
2895
|
code: z.ZodString;
|
|
2506
2896
|
message: z.ZodString;
|
|
2897
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2898
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2899
|
+
path: z.ZodString;
|
|
2900
|
+
message: z.ZodString;
|
|
2901
|
+
code: z.ZodString;
|
|
2902
|
+
}, z.core.$strip>>>;
|
|
2903
|
+
}, z.core.$strip>>;
|
|
2507
2904
|
}, z.core.$strip>;
|
|
2508
2905
|
}, z.core.$strip>;
|
|
2509
2906
|
};
|
|
@@ -2517,6 +2914,13 @@ export declare const addEntityToBrandRoute: {
|
|
|
2517
2914
|
error: z.ZodObject<{
|
|
2518
2915
|
code: z.ZodString;
|
|
2519
2916
|
message: z.ZodString;
|
|
2917
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2918
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2919
|
+
path: z.ZodString;
|
|
2920
|
+
message: z.ZodString;
|
|
2921
|
+
code: z.ZodString;
|
|
2922
|
+
}, z.core.$strip>>>;
|
|
2923
|
+
}, z.core.$strip>>;
|
|
2520
2924
|
}, z.core.$strip>;
|
|
2521
2925
|
}, z.core.$strip>;
|
|
2522
2926
|
};
|
|
@@ -2530,6 +2934,13 @@ export declare const addEntityToBrandRoute: {
|
|
|
2530
2934
|
error: z.ZodObject<{
|
|
2531
2935
|
code: z.ZodString;
|
|
2532
2936
|
message: z.ZodString;
|
|
2937
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2938
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2939
|
+
path: z.ZodString;
|
|
2940
|
+
message: z.ZodString;
|
|
2941
|
+
code: z.ZodString;
|
|
2942
|
+
}, z.core.$strip>>>;
|
|
2943
|
+
}, z.core.$strip>>;
|
|
2533
2944
|
}, z.core.$strip>;
|
|
2534
2945
|
}, z.core.$strip>;
|
|
2535
2946
|
};
|
|
@@ -2543,6 +2954,13 @@ export declare const addEntityToBrandRoute: {
|
|
|
2543
2954
|
error: z.ZodObject<{
|
|
2544
2955
|
code: z.ZodString;
|
|
2545
2956
|
message: z.ZodString;
|
|
2957
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2958
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2959
|
+
path: z.ZodString;
|
|
2960
|
+
message: z.ZodString;
|
|
2961
|
+
code: z.ZodString;
|
|
2962
|
+
}, z.core.$strip>>>;
|
|
2963
|
+
}, z.core.$strip>>;
|
|
2546
2964
|
}, z.core.$strip>;
|
|
2547
2965
|
}, z.core.$strip>;
|
|
2548
2966
|
};
|
|
@@ -2556,6 +2974,13 @@ export declare const addEntityToBrandRoute: {
|
|
|
2556
2974
|
error: z.ZodObject<{
|
|
2557
2975
|
code: z.ZodString;
|
|
2558
2976
|
message: z.ZodString;
|
|
2977
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
2978
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2979
|
+
path: z.ZodString;
|
|
2980
|
+
message: z.ZodString;
|
|
2981
|
+
code: z.ZodString;
|
|
2982
|
+
}, z.core.$strip>>>;
|
|
2983
|
+
}, z.core.$strip>>;
|
|
2559
2984
|
}, z.core.$strip>;
|
|
2560
2985
|
}, z.core.$strip>;
|
|
2561
2986
|
};
|
|
@@ -2618,6 +3043,13 @@ export declare const createEntityRoute: {
|
|
|
2618
3043
|
error: z.ZodObject<{
|
|
2619
3044
|
code: z.ZodString;
|
|
2620
3045
|
message: z.ZodString;
|
|
3046
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3047
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3048
|
+
path: z.ZodString;
|
|
3049
|
+
message: z.ZodString;
|
|
3050
|
+
code: z.ZodString;
|
|
3051
|
+
}, z.core.$strip>>>;
|
|
3052
|
+
}, z.core.$strip>>;
|
|
2621
3053
|
}, z.core.$strip>;
|
|
2622
3054
|
}, z.core.$strip>;
|
|
2623
3055
|
};
|
|
@@ -2631,6 +3063,13 @@ export declare const createEntityRoute: {
|
|
|
2631
3063
|
error: z.ZodObject<{
|
|
2632
3064
|
code: z.ZodString;
|
|
2633
3065
|
message: z.ZodString;
|
|
3066
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3067
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3068
|
+
path: z.ZodString;
|
|
3069
|
+
message: z.ZodString;
|
|
3070
|
+
code: z.ZodString;
|
|
3071
|
+
}, z.core.$strip>>>;
|
|
3072
|
+
}, z.core.$strip>>;
|
|
2634
3073
|
}, z.core.$strip>;
|
|
2635
3074
|
}, z.core.$strip>;
|
|
2636
3075
|
};
|
|
@@ -2644,6 +3083,13 @@ export declare const createEntityRoute: {
|
|
|
2644
3083
|
error: z.ZodObject<{
|
|
2645
3084
|
code: z.ZodString;
|
|
2646
3085
|
message: z.ZodString;
|
|
3086
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3087
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3088
|
+
path: z.ZodString;
|
|
3089
|
+
message: z.ZodString;
|
|
3090
|
+
code: z.ZodString;
|
|
3091
|
+
}, z.core.$strip>>>;
|
|
3092
|
+
}, z.core.$strip>>;
|
|
2647
3093
|
}, z.core.$strip>;
|
|
2648
3094
|
}, z.core.$strip>;
|
|
2649
3095
|
};
|
|
@@ -2657,6 +3103,13 @@ export declare const createEntityRoute: {
|
|
|
2657
3103
|
error: z.ZodObject<{
|
|
2658
3104
|
code: z.ZodString;
|
|
2659
3105
|
message: z.ZodString;
|
|
3106
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3107
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3108
|
+
path: z.ZodString;
|
|
3109
|
+
message: z.ZodString;
|
|
3110
|
+
code: z.ZodString;
|
|
3111
|
+
}, z.core.$strip>>>;
|
|
3112
|
+
}, z.core.$strip>>;
|
|
2660
3113
|
}, z.core.$strip>;
|
|
2661
3114
|
}, z.core.$strip>;
|
|
2662
3115
|
};
|
|
@@ -2670,6 +3123,13 @@ export declare const createEntityRoute: {
|
|
|
2670
3123
|
error: z.ZodObject<{
|
|
2671
3124
|
code: z.ZodString;
|
|
2672
3125
|
message: z.ZodString;
|
|
3126
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3127
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
|
+
path: z.ZodString;
|
|
3129
|
+
message: z.ZodString;
|
|
3130
|
+
code: z.ZodString;
|
|
3131
|
+
}, z.core.$strip>>>;
|
|
3132
|
+
}, z.core.$strip>>;
|
|
2673
3133
|
}, z.core.$strip>;
|
|
2674
3134
|
}, z.core.$strip>;
|
|
2675
3135
|
};
|
|
@@ -2896,6 +3356,13 @@ export declare const updateEntityRoute: {
|
|
|
2896
3356
|
error: z.ZodObject<{
|
|
2897
3357
|
code: z.ZodString;
|
|
2898
3358
|
message: z.ZodString;
|
|
3359
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3360
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3361
|
+
path: z.ZodString;
|
|
3362
|
+
message: z.ZodString;
|
|
3363
|
+
code: z.ZodString;
|
|
3364
|
+
}, z.core.$strip>>>;
|
|
3365
|
+
}, z.core.$strip>>;
|
|
2899
3366
|
}, z.core.$strip>;
|
|
2900
3367
|
}, z.core.$strip>;
|
|
2901
3368
|
};
|
|
@@ -2909,6 +3376,13 @@ export declare const updateEntityRoute: {
|
|
|
2909
3376
|
error: z.ZodObject<{
|
|
2910
3377
|
code: z.ZodString;
|
|
2911
3378
|
message: z.ZodString;
|
|
3379
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3380
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3381
|
+
path: z.ZodString;
|
|
3382
|
+
message: z.ZodString;
|
|
3383
|
+
code: z.ZodString;
|
|
3384
|
+
}, z.core.$strip>>>;
|
|
3385
|
+
}, z.core.$strip>>;
|
|
2912
3386
|
}, z.core.$strip>;
|
|
2913
3387
|
}, z.core.$strip>;
|
|
2914
3388
|
};
|
|
@@ -2922,6 +3396,13 @@ export declare const updateEntityRoute: {
|
|
|
2922
3396
|
error: z.ZodObject<{
|
|
2923
3397
|
code: z.ZodString;
|
|
2924
3398
|
message: z.ZodString;
|
|
3399
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3400
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3401
|
+
path: z.ZodString;
|
|
3402
|
+
message: z.ZodString;
|
|
3403
|
+
code: z.ZodString;
|
|
3404
|
+
}, z.core.$strip>>>;
|
|
3405
|
+
}, z.core.$strip>>;
|
|
2925
3406
|
}, z.core.$strip>;
|
|
2926
3407
|
}, z.core.$strip>;
|
|
2927
3408
|
};
|
|
@@ -2935,6 +3416,13 @@ export declare const updateEntityRoute: {
|
|
|
2935
3416
|
error: z.ZodObject<{
|
|
2936
3417
|
code: z.ZodString;
|
|
2937
3418
|
message: z.ZodString;
|
|
3419
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3420
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3421
|
+
path: z.ZodString;
|
|
3422
|
+
message: z.ZodString;
|
|
3423
|
+
code: z.ZodString;
|
|
3424
|
+
}, z.core.$strip>>>;
|
|
3425
|
+
}, z.core.$strip>>;
|
|
2938
3426
|
}, z.core.$strip>;
|
|
2939
3427
|
}, z.core.$strip>;
|
|
2940
3428
|
};
|
|
@@ -2948,6 +3436,13 @@ export declare const updateEntityRoute: {
|
|
|
2948
3436
|
error: z.ZodObject<{
|
|
2949
3437
|
code: z.ZodString;
|
|
2950
3438
|
message: z.ZodString;
|
|
3439
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3440
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3441
|
+
path: z.ZodString;
|
|
3442
|
+
message: z.ZodString;
|
|
3443
|
+
code: z.ZodString;
|
|
3444
|
+
}, z.core.$strip>>>;
|
|
3445
|
+
}, z.core.$strip>>;
|
|
2951
3446
|
}, z.core.$strip>;
|
|
2952
3447
|
}, z.core.$strip>;
|
|
2953
3448
|
};
|
|
@@ -3170,6 +3665,13 @@ export declare const setEntityAttributesRoute: {
|
|
|
3170
3665
|
error: z.ZodObject<{
|
|
3171
3666
|
code: z.ZodString;
|
|
3172
3667
|
message: z.ZodString;
|
|
3668
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3669
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3670
|
+
path: z.ZodString;
|
|
3671
|
+
message: z.ZodString;
|
|
3672
|
+
code: z.ZodString;
|
|
3673
|
+
}, z.core.$strip>>>;
|
|
3674
|
+
}, z.core.$strip>>;
|
|
3173
3675
|
}, z.core.$strip>;
|
|
3174
3676
|
}, z.core.$strip>;
|
|
3175
3677
|
};
|
|
@@ -3183,6 +3685,13 @@ export declare const setEntityAttributesRoute: {
|
|
|
3183
3685
|
error: z.ZodObject<{
|
|
3184
3686
|
code: z.ZodString;
|
|
3185
3687
|
message: z.ZodString;
|
|
3688
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3689
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3690
|
+
path: z.ZodString;
|
|
3691
|
+
message: z.ZodString;
|
|
3692
|
+
code: z.ZodString;
|
|
3693
|
+
}, z.core.$strip>>>;
|
|
3694
|
+
}, z.core.$strip>>;
|
|
3186
3695
|
}, z.core.$strip>;
|
|
3187
3696
|
}, z.core.$strip>;
|
|
3188
3697
|
};
|
|
@@ -3196,6 +3705,13 @@ export declare const setEntityAttributesRoute: {
|
|
|
3196
3705
|
error: z.ZodObject<{
|
|
3197
3706
|
code: z.ZodString;
|
|
3198
3707
|
message: z.ZodString;
|
|
3708
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3709
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3710
|
+
path: z.ZodString;
|
|
3711
|
+
message: z.ZodString;
|
|
3712
|
+
code: z.ZodString;
|
|
3713
|
+
}, z.core.$strip>>>;
|
|
3714
|
+
}, z.core.$strip>>;
|
|
3199
3715
|
}, z.core.$strip>;
|
|
3200
3716
|
}, z.core.$strip>;
|
|
3201
3717
|
};
|
|
@@ -3209,6 +3725,13 @@ export declare const setEntityAttributesRoute: {
|
|
|
3209
3725
|
error: z.ZodObject<{
|
|
3210
3726
|
code: z.ZodString;
|
|
3211
3727
|
message: z.ZodString;
|
|
3728
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3729
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3730
|
+
path: z.ZodString;
|
|
3731
|
+
message: z.ZodString;
|
|
3732
|
+
code: z.ZodString;
|
|
3733
|
+
}, z.core.$strip>>>;
|
|
3734
|
+
}, z.core.$strip>>;
|
|
3212
3735
|
}, z.core.$strip>;
|
|
3213
3736
|
}, z.core.$strip>;
|
|
3214
3737
|
};
|
|
@@ -3222,6 +3745,13 @@ export declare const setEntityAttributesRoute: {
|
|
|
3222
3745
|
error: z.ZodObject<{
|
|
3223
3746
|
code: z.ZodString;
|
|
3224
3747
|
message: z.ZodString;
|
|
3748
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3749
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3750
|
+
path: z.ZodString;
|
|
3751
|
+
message: z.ZodString;
|
|
3752
|
+
code: z.ZodString;
|
|
3753
|
+
}, z.core.$strip>>>;
|
|
3754
|
+
}, z.core.$strip>>;
|
|
3225
3755
|
}, z.core.$strip>;
|
|
3226
3756
|
}, z.core.$strip>;
|
|
3227
3757
|
};
|
|
@@ -3272,6 +3802,13 @@ export declare const createCategoryRoute: {
|
|
|
3272
3802
|
error: z.ZodObject<{
|
|
3273
3803
|
code: z.ZodString;
|
|
3274
3804
|
message: z.ZodString;
|
|
3805
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3806
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3807
|
+
path: z.ZodString;
|
|
3808
|
+
message: z.ZodString;
|
|
3809
|
+
code: z.ZodString;
|
|
3810
|
+
}, z.core.$strip>>>;
|
|
3811
|
+
}, z.core.$strip>>;
|
|
3275
3812
|
}, z.core.$strip>;
|
|
3276
3813
|
}, z.core.$strip>;
|
|
3277
3814
|
};
|
|
@@ -3285,6 +3822,13 @@ export declare const createCategoryRoute: {
|
|
|
3285
3822
|
error: z.ZodObject<{
|
|
3286
3823
|
code: z.ZodString;
|
|
3287
3824
|
message: z.ZodString;
|
|
3825
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3826
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3827
|
+
path: z.ZodString;
|
|
3828
|
+
message: z.ZodString;
|
|
3829
|
+
code: z.ZodString;
|
|
3830
|
+
}, z.core.$strip>>>;
|
|
3831
|
+
}, z.core.$strip>>;
|
|
3288
3832
|
}, z.core.$strip>;
|
|
3289
3833
|
}, z.core.$strip>;
|
|
3290
3834
|
};
|
|
@@ -3298,6 +3842,13 @@ export declare const createCategoryRoute: {
|
|
|
3298
3842
|
error: z.ZodObject<{
|
|
3299
3843
|
code: z.ZodString;
|
|
3300
3844
|
message: z.ZodString;
|
|
3845
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3846
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3847
|
+
path: z.ZodString;
|
|
3848
|
+
message: z.ZodString;
|
|
3849
|
+
code: z.ZodString;
|
|
3850
|
+
}, z.core.$strip>>>;
|
|
3851
|
+
}, z.core.$strip>>;
|
|
3301
3852
|
}, z.core.$strip>;
|
|
3302
3853
|
}, z.core.$strip>;
|
|
3303
3854
|
};
|
|
@@ -3311,6 +3862,13 @@ export declare const createCategoryRoute: {
|
|
|
3311
3862
|
error: z.ZodObject<{
|
|
3312
3863
|
code: z.ZodString;
|
|
3313
3864
|
message: z.ZodString;
|
|
3865
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3866
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3867
|
+
path: z.ZodString;
|
|
3868
|
+
message: z.ZodString;
|
|
3869
|
+
code: z.ZodString;
|
|
3870
|
+
}, z.core.$strip>>>;
|
|
3871
|
+
}, z.core.$strip>>;
|
|
3314
3872
|
}, z.core.$strip>;
|
|
3315
3873
|
}, z.core.$strip>;
|
|
3316
3874
|
};
|
|
@@ -3324,6 +3882,13 @@ export declare const createCategoryRoute: {
|
|
|
3324
3882
|
error: z.ZodObject<{
|
|
3325
3883
|
code: z.ZodString;
|
|
3326
3884
|
message: z.ZodString;
|
|
3885
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
3886
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3887
|
+
path: z.ZodString;
|
|
3888
|
+
message: z.ZodString;
|
|
3889
|
+
code: z.ZodString;
|
|
3890
|
+
}, z.core.$strip>>>;
|
|
3891
|
+
}, z.core.$strip>>;
|
|
3327
3892
|
}, z.core.$strip>;
|
|
3328
3893
|
}, z.core.$strip>;
|
|
3329
3894
|
};
|
|
@@ -3550,6 +4115,13 @@ export declare const updateCategoryRoute: {
|
|
|
3550
4115
|
error: z.ZodObject<{
|
|
3551
4116
|
code: z.ZodString;
|
|
3552
4117
|
message: z.ZodString;
|
|
4118
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4119
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4120
|
+
path: z.ZodString;
|
|
4121
|
+
message: z.ZodString;
|
|
4122
|
+
code: z.ZodString;
|
|
4123
|
+
}, z.core.$strip>>>;
|
|
4124
|
+
}, z.core.$strip>>;
|
|
3553
4125
|
}, z.core.$strip>;
|
|
3554
4126
|
}, z.core.$strip>;
|
|
3555
4127
|
};
|
|
@@ -3563,6 +4135,13 @@ export declare const updateCategoryRoute: {
|
|
|
3563
4135
|
error: z.ZodObject<{
|
|
3564
4136
|
code: z.ZodString;
|
|
3565
4137
|
message: z.ZodString;
|
|
4138
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4139
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4140
|
+
path: z.ZodString;
|
|
4141
|
+
message: z.ZodString;
|
|
4142
|
+
code: z.ZodString;
|
|
4143
|
+
}, z.core.$strip>>>;
|
|
4144
|
+
}, z.core.$strip>>;
|
|
3566
4145
|
}, z.core.$strip>;
|
|
3567
4146
|
}, z.core.$strip>;
|
|
3568
4147
|
};
|
|
@@ -3576,6 +4155,13 @@ export declare const updateCategoryRoute: {
|
|
|
3576
4155
|
error: z.ZodObject<{
|
|
3577
4156
|
code: z.ZodString;
|
|
3578
4157
|
message: z.ZodString;
|
|
4158
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4159
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4160
|
+
path: z.ZodString;
|
|
4161
|
+
message: z.ZodString;
|
|
4162
|
+
code: z.ZodString;
|
|
4163
|
+
}, z.core.$strip>>>;
|
|
4164
|
+
}, z.core.$strip>>;
|
|
3579
4165
|
}, z.core.$strip>;
|
|
3580
4166
|
}, z.core.$strip>;
|
|
3581
4167
|
};
|
|
@@ -3589,6 +4175,13 @@ export declare const updateCategoryRoute: {
|
|
|
3589
4175
|
error: z.ZodObject<{
|
|
3590
4176
|
code: z.ZodString;
|
|
3591
4177
|
message: z.ZodString;
|
|
4178
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4179
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4180
|
+
path: z.ZodString;
|
|
4181
|
+
message: z.ZodString;
|
|
4182
|
+
code: z.ZodString;
|
|
4183
|
+
}, z.core.$strip>>>;
|
|
4184
|
+
}, z.core.$strip>>;
|
|
3592
4185
|
}, z.core.$strip>;
|
|
3593
4186
|
}, z.core.$strip>;
|
|
3594
4187
|
};
|
|
@@ -3602,6 +4195,13 @@ export declare const updateCategoryRoute: {
|
|
|
3602
4195
|
error: z.ZodObject<{
|
|
3603
4196
|
code: z.ZodString;
|
|
3604
4197
|
message: z.ZodString;
|
|
4198
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4199
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4200
|
+
path: z.ZodString;
|
|
4201
|
+
message: z.ZodString;
|
|
4202
|
+
code: z.ZodString;
|
|
4203
|
+
}, z.core.$strip>>>;
|
|
4204
|
+
}, z.core.$strip>>;
|
|
3605
4205
|
}, z.core.$strip>;
|
|
3606
4206
|
}, z.core.$strip>;
|
|
3607
4207
|
};
|
|
@@ -3797,6 +4397,606 @@ export declare const updateCategoryRoute: {
|
|
|
3797
4397
|
} & {
|
|
3798
4398
|
getRoutingPath(): "/categories/:categoryId";
|
|
3799
4399
|
};
|
|
4400
|
+
export declare const archiveCategoryRoute: {
|
|
4401
|
+
method: "post";
|
|
4402
|
+
path: "/categories/{categoryId}/archive";
|
|
4403
|
+
tags: string[];
|
|
4404
|
+
summary: string;
|
|
4405
|
+
request: {
|
|
4406
|
+
params: z.ZodObject<{
|
|
4407
|
+
categoryId: z.ZodUUID;
|
|
4408
|
+
}, z.core.$strip>;
|
|
4409
|
+
};
|
|
4410
|
+
responses: {
|
|
4411
|
+
400: {
|
|
4412
|
+
readonly content: {
|
|
4413
|
+
readonly "application/json": {
|
|
4414
|
+
readonly schema: z.ZodObject<{
|
|
4415
|
+
error: z.ZodObject<{
|
|
4416
|
+
code: z.ZodString;
|
|
4417
|
+
message: z.ZodString;
|
|
4418
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4419
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4420
|
+
path: z.ZodString;
|
|
4421
|
+
message: z.ZodString;
|
|
4422
|
+
code: z.ZodString;
|
|
4423
|
+
}, z.core.$strip>>>;
|
|
4424
|
+
}, z.core.$strip>>;
|
|
4425
|
+
}, z.core.$strip>;
|
|
4426
|
+
}, z.core.$strip>;
|
|
4427
|
+
};
|
|
4428
|
+
};
|
|
4429
|
+
readonly description: "Business logic error.";
|
|
4430
|
+
};
|
|
4431
|
+
401: {
|
|
4432
|
+
readonly content: {
|
|
4433
|
+
readonly "application/json": {
|
|
4434
|
+
readonly schema: z.ZodObject<{
|
|
4435
|
+
error: z.ZodObject<{
|
|
4436
|
+
code: z.ZodString;
|
|
4437
|
+
message: z.ZodString;
|
|
4438
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4439
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4440
|
+
path: z.ZodString;
|
|
4441
|
+
message: z.ZodString;
|
|
4442
|
+
code: z.ZodString;
|
|
4443
|
+
}, z.core.$strip>>>;
|
|
4444
|
+
}, z.core.$strip>>;
|
|
4445
|
+
}, z.core.$strip>;
|
|
4446
|
+
}, z.core.$strip>;
|
|
4447
|
+
};
|
|
4448
|
+
};
|
|
4449
|
+
readonly description: "Authentication required.";
|
|
4450
|
+
};
|
|
4451
|
+
403: {
|
|
4452
|
+
readonly content: {
|
|
4453
|
+
readonly "application/json": {
|
|
4454
|
+
readonly schema: z.ZodObject<{
|
|
4455
|
+
error: z.ZodObject<{
|
|
4456
|
+
code: z.ZodString;
|
|
4457
|
+
message: z.ZodString;
|
|
4458
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4459
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4460
|
+
path: z.ZodString;
|
|
4461
|
+
message: z.ZodString;
|
|
4462
|
+
code: z.ZodString;
|
|
4463
|
+
}, z.core.$strip>>>;
|
|
4464
|
+
}, z.core.$strip>>;
|
|
4465
|
+
}, z.core.$strip>;
|
|
4466
|
+
}, z.core.$strip>;
|
|
4467
|
+
};
|
|
4468
|
+
};
|
|
4469
|
+
readonly description: "Insufficient permissions.";
|
|
4470
|
+
};
|
|
4471
|
+
404: {
|
|
4472
|
+
readonly content: {
|
|
4473
|
+
readonly "application/json": {
|
|
4474
|
+
readonly schema: z.ZodObject<{
|
|
4475
|
+
error: z.ZodObject<{
|
|
4476
|
+
code: z.ZodString;
|
|
4477
|
+
message: z.ZodString;
|
|
4478
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4479
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4480
|
+
path: z.ZodString;
|
|
4481
|
+
message: z.ZodString;
|
|
4482
|
+
code: z.ZodString;
|
|
4483
|
+
}, z.core.$strip>>>;
|
|
4484
|
+
}, z.core.$strip>>;
|
|
4485
|
+
}, z.core.$strip>;
|
|
4486
|
+
}, z.core.$strip>;
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4489
|
+
readonly description: "Resource not found.";
|
|
4490
|
+
};
|
|
4491
|
+
422: {
|
|
4492
|
+
readonly content: {
|
|
4493
|
+
readonly "application/json": {
|
|
4494
|
+
readonly schema: z.ZodObject<{
|
|
4495
|
+
error: z.ZodObject<{
|
|
4496
|
+
code: z.ZodString;
|
|
4497
|
+
message: z.ZodString;
|
|
4498
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4499
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4500
|
+
path: z.ZodString;
|
|
4501
|
+
message: z.ZodString;
|
|
4502
|
+
code: z.ZodString;
|
|
4503
|
+
}, z.core.$strip>>>;
|
|
4504
|
+
}, z.core.$strip>>;
|
|
4505
|
+
}, z.core.$strip>;
|
|
4506
|
+
}, z.core.$strip>;
|
|
4507
|
+
};
|
|
4508
|
+
};
|
|
4509
|
+
readonly description: "Validation error.";
|
|
4510
|
+
};
|
|
4511
|
+
200: {
|
|
4512
|
+
content: {
|
|
4513
|
+
"application/json": {
|
|
4514
|
+
schema: z.ZodObject<{
|
|
4515
|
+
data: import("drizzle-zod").BuildSchema<"select", {
|
|
4516
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
4517
|
+
name: "id";
|
|
4518
|
+
tableName: "sellable_entities";
|
|
4519
|
+
dataType: "string";
|
|
4520
|
+
columnType: "PgUUID";
|
|
4521
|
+
data: string;
|
|
4522
|
+
driverParam: string;
|
|
4523
|
+
notNull: true;
|
|
4524
|
+
hasDefault: true;
|
|
4525
|
+
isPrimaryKey: true;
|
|
4526
|
+
isAutoincrement: false;
|
|
4527
|
+
hasRuntimeDefault: false;
|
|
4528
|
+
enumValues: undefined;
|
|
4529
|
+
baseColumn: never;
|
|
4530
|
+
identity: undefined;
|
|
4531
|
+
generated: undefined;
|
|
4532
|
+
}, {}, {}>;
|
|
4533
|
+
organizationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4534
|
+
name: "organization_id";
|
|
4535
|
+
tableName: "sellable_entities";
|
|
4536
|
+
dataType: "string";
|
|
4537
|
+
columnType: "PgText";
|
|
4538
|
+
data: string;
|
|
4539
|
+
driverParam: string;
|
|
4540
|
+
notNull: true;
|
|
4541
|
+
hasDefault: false;
|
|
4542
|
+
isPrimaryKey: false;
|
|
4543
|
+
isAutoincrement: false;
|
|
4544
|
+
hasRuntimeDefault: false;
|
|
4545
|
+
enumValues: [string, ...string[]];
|
|
4546
|
+
baseColumn: never;
|
|
4547
|
+
identity: undefined;
|
|
4548
|
+
generated: undefined;
|
|
4549
|
+
}, {}, {}>;
|
|
4550
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
4551
|
+
name: "type";
|
|
4552
|
+
tableName: "sellable_entities";
|
|
4553
|
+
dataType: "string";
|
|
4554
|
+
columnType: "PgText";
|
|
4555
|
+
data: string;
|
|
4556
|
+
driverParam: string;
|
|
4557
|
+
notNull: true;
|
|
4558
|
+
hasDefault: false;
|
|
4559
|
+
isPrimaryKey: false;
|
|
4560
|
+
isAutoincrement: false;
|
|
4561
|
+
hasRuntimeDefault: false;
|
|
4562
|
+
enumValues: [string, ...string[]];
|
|
4563
|
+
baseColumn: never;
|
|
4564
|
+
identity: undefined;
|
|
4565
|
+
generated: undefined;
|
|
4566
|
+
}, {}, {}>;
|
|
4567
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
4568
|
+
name: "slug";
|
|
4569
|
+
tableName: "sellable_entities";
|
|
4570
|
+
dataType: "string";
|
|
4571
|
+
columnType: "PgText";
|
|
4572
|
+
data: string;
|
|
4573
|
+
driverParam: string;
|
|
4574
|
+
notNull: true;
|
|
4575
|
+
hasDefault: false;
|
|
4576
|
+
isPrimaryKey: false;
|
|
4577
|
+
isAutoincrement: false;
|
|
4578
|
+
hasRuntimeDefault: false;
|
|
4579
|
+
enumValues: [string, ...string[]];
|
|
4580
|
+
baseColumn: never;
|
|
4581
|
+
identity: undefined;
|
|
4582
|
+
generated: undefined;
|
|
4583
|
+
}, {}, {}>;
|
|
4584
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
4585
|
+
name: "status";
|
|
4586
|
+
tableName: "sellable_entities";
|
|
4587
|
+
dataType: "string";
|
|
4588
|
+
columnType: "PgText";
|
|
4589
|
+
data: "draft" | "active" | "archived" | "discontinued";
|
|
4590
|
+
driverParam: string;
|
|
4591
|
+
notNull: true;
|
|
4592
|
+
hasDefault: true;
|
|
4593
|
+
isPrimaryKey: false;
|
|
4594
|
+
isAutoincrement: false;
|
|
4595
|
+
hasRuntimeDefault: false;
|
|
4596
|
+
enumValues: ["draft", "active", "archived", "discontinued"];
|
|
4597
|
+
baseColumn: never;
|
|
4598
|
+
identity: undefined;
|
|
4599
|
+
generated: undefined;
|
|
4600
|
+
}, {}, {}>;
|
|
4601
|
+
isVisible: import("drizzle-orm/pg-core").PgColumn<{
|
|
4602
|
+
name: "is_visible";
|
|
4603
|
+
tableName: "sellable_entities";
|
|
4604
|
+
dataType: "boolean";
|
|
4605
|
+
columnType: "PgBoolean";
|
|
4606
|
+
data: boolean;
|
|
4607
|
+
driverParam: boolean;
|
|
4608
|
+
notNull: true;
|
|
4609
|
+
hasDefault: true;
|
|
4610
|
+
isPrimaryKey: false;
|
|
4611
|
+
isAutoincrement: false;
|
|
4612
|
+
hasRuntimeDefault: false;
|
|
4613
|
+
enumValues: undefined;
|
|
4614
|
+
baseColumn: never;
|
|
4615
|
+
identity: undefined;
|
|
4616
|
+
generated: undefined;
|
|
4617
|
+
}, {}, {}>;
|
|
4618
|
+
metadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
4619
|
+
name: "metadata";
|
|
4620
|
+
tableName: "sellable_entities";
|
|
4621
|
+
dataType: "json";
|
|
4622
|
+
columnType: "PgJsonb";
|
|
4623
|
+
data: Record<string, unknown>;
|
|
4624
|
+
driverParam: unknown;
|
|
4625
|
+
notNull: false;
|
|
4626
|
+
hasDefault: true;
|
|
4627
|
+
isPrimaryKey: false;
|
|
4628
|
+
isAutoincrement: false;
|
|
4629
|
+
hasRuntimeDefault: false;
|
|
4630
|
+
enumValues: undefined;
|
|
4631
|
+
baseColumn: never;
|
|
4632
|
+
identity: undefined;
|
|
4633
|
+
generated: undefined;
|
|
4634
|
+
}, {}, {
|
|
4635
|
+
$type: Record<string, unknown>;
|
|
4636
|
+
}>;
|
|
4637
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4638
|
+
name: "created_at";
|
|
4639
|
+
tableName: "sellable_entities";
|
|
4640
|
+
dataType: "date";
|
|
4641
|
+
columnType: "PgTimestamp";
|
|
4642
|
+
data: Date;
|
|
4643
|
+
driverParam: string;
|
|
4644
|
+
notNull: true;
|
|
4645
|
+
hasDefault: true;
|
|
4646
|
+
isPrimaryKey: false;
|
|
4647
|
+
isAutoincrement: false;
|
|
4648
|
+
hasRuntimeDefault: false;
|
|
4649
|
+
enumValues: undefined;
|
|
4650
|
+
baseColumn: never;
|
|
4651
|
+
identity: undefined;
|
|
4652
|
+
generated: undefined;
|
|
4653
|
+
}, {}, {}>;
|
|
4654
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4655
|
+
name: "updated_at";
|
|
4656
|
+
tableName: "sellable_entities";
|
|
4657
|
+
dataType: "date";
|
|
4658
|
+
columnType: "PgTimestamp";
|
|
4659
|
+
data: Date;
|
|
4660
|
+
driverParam: string;
|
|
4661
|
+
notNull: true;
|
|
4662
|
+
hasDefault: true;
|
|
4663
|
+
isPrimaryKey: false;
|
|
4664
|
+
isAutoincrement: false;
|
|
4665
|
+
hasRuntimeDefault: false;
|
|
4666
|
+
enumValues: undefined;
|
|
4667
|
+
baseColumn: never;
|
|
4668
|
+
identity: undefined;
|
|
4669
|
+
generated: undefined;
|
|
4670
|
+
}, {}, {}>;
|
|
4671
|
+
publishedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4672
|
+
name: "published_at";
|
|
4673
|
+
tableName: "sellable_entities";
|
|
4674
|
+
dataType: "date";
|
|
4675
|
+
columnType: "PgTimestamp";
|
|
4676
|
+
data: Date;
|
|
4677
|
+
driverParam: string;
|
|
4678
|
+
notNull: false;
|
|
4679
|
+
hasDefault: false;
|
|
4680
|
+
isPrimaryKey: false;
|
|
4681
|
+
isAutoincrement: false;
|
|
4682
|
+
hasRuntimeDefault: false;
|
|
4683
|
+
enumValues: undefined;
|
|
4684
|
+
baseColumn: never;
|
|
4685
|
+
identity: undefined;
|
|
4686
|
+
generated: undefined;
|
|
4687
|
+
}, {}, {}>;
|
|
4688
|
+
}, {
|
|
4689
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4690
|
+
}, undefined>;
|
|
4691
|
+
}, z.core.$strip>;
|
|
4692
|
+
};
|
|
4693
|
+
};
|
|
4694
|
+
description: string;
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
} & {
|
|
4698
|
+
getRoutingPath(): "/categories/:categoryId/archive";
|
|
4699
|
+
};
|
|
4700
|
+
export declare const restoreCategoryRoute: {
|
|
4701
|
+
method: "post";
|
|
4702
|
+
path: "/categories/{categoryId}/restore";
|
|
4703
|
+
tags: string[];
|
|
4704
|
+
summary: string;
|
|
4705
|
+
request: {
|
|
4706
|
+
params: z.ZodObject<{
|
|
4707
|
+
categoryId: z.ZodUUID;
|
|
4708
|
+
}, z.core.$strip>;
|
|
4709
|
+
};
|
|
4710
|
+
responses: {
|
|
4711
|
+
400: {
|
|
4712
|
+
readonly content: {
|
|
4713
|
+
readonly "application/json": {
|
|
4714
|
+
readonly schema: z.ZodObject<{
|
|
4715
|
+
error: z.ZodObject<{
|
|
4716
|
+
code: z.ZodString;
|
|
4717
|
+
message: z.ZodString;
|
|
4718
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4719
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4720
|
+
path: z.ZodString;
|
|
4721
|
+
message: z.ZodString;
|
|
4722
|
+
code: z.ZodString;
|
|
4723
|
+
}, z.core.$strip>>>;
|
|
4724
|
+
}, z.core.$strip>>;
|
|
4725
|
+
}, z.core.$strip>;
|
|
4726
|
+
}, z.core.$strip>;
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4729
|
+
readonly description: "Business logic error.";
|
|
4730
|
+
};
|
|
4731
|
+
401: {
|
|
4732
|
+
readonly content: {
|
|
4733
|
+
readonly "application/json": {
|
|
4734
|
+
readonly schema: z.ZodObject<{
|
|
4735
|
+
error: z.ZodObject<{
|
|
4736
|
+
code: z.ZodString;
|
|
4737
|
+
message: z.ZodString;
|
|
4738
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4739
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4740
|
+
path: z.ZodString;
|
|
4741
|
+
message: z.ZodString;
|
|
4742
|
+
code: z.ZodString;
|
|
4743
|
+
}, z.core.$strip>>>;
|
|
4744
|
+
}, z.core.$strip>>;
|
|
4745
|
+
}, z.core.$strip>;
|
|
4746
|
+
}, z.core.$strip>;
|
|
4747
|
+
};
|
|
4748
|
+
};
|
|
4749
|
+
readonly description: "Authentication required.";
|
|
4750
|
+
};
|
|
4751
|
+
403: {
|
|
4752
|
+
readonly content: {
|
|
4753
|
+
readonly "application/json": {
|
|
4754
|
+
readonly schema: z.ZodObject<{
|
|
4755
|
+
error: z.ZodObject<{
|
|
4756
|
+
code: z.ZodString;
|
|
4757
|
+
message: z.ZodString;
|
|
4758
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4759
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4760
|
+
path: z.ZodString;
|
|
4761
|
+
message: z.ZodString;
|
|
4762
|
+
code: z.ZodString;
|
|
4763
|
+
}, z.core.$strip>>>;
|
|
4764
|
+
}, z.core.$strip>>;
|
|
4765
|
+
}, z.core.$strip>;
|
|
4766
|
+
}, z.core.$strip>;
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
readonly description: "Insufficient permissions.";
|
|
4770
|
+
};
|
|
4771
|
+
404: {
|
|
4772
|
+
readonly content: {
|
|
4773
|
+
readonly "application/json": {
|
|
4774
|
+
readonly schema: z.ZodObject<{
|
|
4775
|
+
error: z.ZodObject<{
|
|
4776
|
+
code: z.ZodString;
|
|
4777
|
+
message: z.ZodString;
|
|
4778
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4779
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4780
|
+
path: z.ZodString;
|
|
4781
|
+
message: z.ZodString;
|
|
4782
|
+
code: z.ZodString;
|
|
4783
|
+
}, z.core.$strip>>>;
|
|
4784
|
+
}, z.core.$strip>>;
|
|
4785
|
+
}, z.core.$strip>;
|
|
4786
|
+
}, z.core.$strip>;
|
|
4787
|
+
};
|
|
4788
|
+
};
|
|
4789
|
+
readonly description: "Resource not found.";
|
|
4790
|
+
};
|
|
4791
|
+
422: {
|
|
4792
|
+
readonly content: {
|
|
4793
|
+
readonly "application/json": {
|
|
4794
|
+
readonly schema: z.ZodObject<{
|
|
4795
|
+
error: z.ZodObject<{
|
|
4796
|
+
code: z.ZodString;
|
|
4797
|
+
message: z.ZodString;
|
|
4798
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
4799
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4800
|
+
path: z.ZodString;
|
|
4801
|
+
message: z.ZodString;
|
|
4802
|
+
code: z.ZodString;
|
|
4803
|
+
}, z.core.$strip>>>;
|
|
4804
|
+
}, z.core.$strip>>;
|
|
4805
|
+
}, z.core.$strip>;
|
|
4806
|
+
}, z.core.$strip>;
|
|
4807
|
+
};
|
|
4808
|
+
};
|
|
4809
|
+
readonly description: "Validation error.";
|
|
4810
|
+
};
|
|
4811
|
+
200: {
|
|
4812
|
+
content: {
|
|
4813
|
+
"application/json": {
|
|
4814
|
+
schema: z.ZodObject<{
|
|
4815
|
+
data: import("drizzle-zod").BuildSchema<"select", {
|
|
4816
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
4817
|
+
name: "id";
|
|
4818
|
+
tableName: "sellable_entities";
|
|
4819
|
+
dataType: "string";
|
|
4820
|
+
columnType: "PgUUID";
|
|
4821
|
+
data: string;
|
|
4822
|
+
driverParam: string;
|
|
4823
|
+
notNull: true;
|
|
4824
|
+
hasDefault: true;
|
|
4825
|
+
isPrimaryKey: true;
|
|
4826
|
+
isAutoincrement: false;
|
|
4827
|
+
hasRuntimeDefault: false;
|
|
4828
|
+
enumValues: undefined;
|
|
4829
|
+
baseColumn: never;
|
|
4830
|
+
identity: undefined;
|
|
4831
|
+
generated: undefined;
|
|
4832
|
+
}, {}, {}>;
|
|
4833
|
+
organizationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4834
|
+
name: "organization_id";
|
|
4835
|
+
tableName: "sellable_entities";
|
|
4836
|
+
dataType: "string";
|
|
4837
|
+
columnType: "PgText";
|
|
4838
|
+
data: string;
|
|
4839
|
+
driverParam: string;
|
|
4840
|
+
notNull: true;
|
|
4841
|
+
hasDefault: false;
|
|
4842
|
+
isPrimaryKey: false;
|
|
4843
|
+
isAutoincrement: false;
|
|
4844
|
+
hasRuntimeDefault: false;
|
|
4845
|
+
enumValues: [string, ...string[]];
|
|
4846
|
+
baseColumn: never;
|
|
4847
|
+
identity: undefined;
|
|
4848
|
+
generated: undefined;
|
|
4849
|
+
}, {}, {}>;
|
|
4850
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
4851
|
+
name: "type";
|
|
4852
|
+
tableName: "sellable_entities";
|
|
4853
|
+
dataType: "string";
|
|
4854
|
+
columnType: "PgText";
|
|
4855
|
+
data: string;
|
|
4856
|
+
driverParam: string;
|
|
4857
|
+
notNull: true;
|
|
4858
|
+
hasDefault: false;
|
|
4859
|
+
isPrimaryKey: false;
|
|
4860
|
+
isAutoincrement: false;
|
|
4861
|
+
hasRuntimeDefault: false;
|
|
4862
|
+
enumValues: [string, ...string[]];
|
|
4863
|
+
baseColumn: never;
|
|
4864
|
+
identity: undefined;
|
|
4865
|
+
generated: undefined;
|
|
4866
|
+
}, {}, {}>;
|
|
4867
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
4868
|
+
name: "slug";
|
|
4869
|
+
tableName: "sellable_entities";
|
|
4870
|
+
dataType: "string";
|
|
4871
|
+
columnType: "PgText";
|
|
4872
|
+
data: string;
|
|
4873
|
+
driverParam: string;
|
|
4874
|
+
notNull: true;
|
|
4875
|
+
hasDefault: false;
|
|
4876
|
+
isPrimaryKey: false;
|
|
4877
|
+
isAutoincrement: false;
|
|
4878
|
+
hasRuntimeDefault: false;
|
|
4879
|
+
enumValues: [string, ...string[]];
|
|
4880
|
+
baseColumn: never;
|
|
4881
|
+
identity: undefined;
|
|
4882
|
+
generated: undefined;
|
|
4883
|
+
}, {}, {}>;
|
|
4884
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
4885
|
+
name: "status";
|
|
4886
|
+
tableName: "sellable_entities";
|
|
4887
|
+
dataType: "string";
|
|
4888
|
+
columnType: "PgText";
|
|
4889
|
+
data: "draft" | "active" | "archived" | "discontinued";
|
|
4890
|
+
driverParam: string;
|
|
4891
|
+
notNull: true;
|
|
4892
|
+
hasDefault: true;
|
|
4893
|
+
isPrimaryKey: false;
|
|
4894
|
+
isAutoincrement: false;
|
|
4895
|
+
hasRuntimeDefault: false;
|
|
4896
|
+
enumValues: ["draft", "active", "archived", "discontinued"];
|
|
4897
|
+
baseColumn: never;
|
|
4898
|
+
identity: undefined;
|
|
4899
|
+
generated: undefined;
|
|
4900
|
+
}, {}, {}>;
|
|
4901
|
+
isVisible: import("drizzle-orm/pg-core").PgColumn<{
|
|
4902
|
+
name: "is_visible";
|
|
4903
|
+
tableName: "sellable_entities";
|
|
4904
|
+
dataType: "boolean";
|
|
4905
|
+
columnType: "PgBoolean";
|
|
4906
|
+
data: boolean;
|
|
4907
|
+
driverParam: boolean;
|
|
4908
|
+
notNull: true;
|
|
4909
|
+
hasDefault: true;
|
|
4910
|
+
isPrimaryKey: false;
|
|
4911
|
+
isAutoincrement: false;
|
|
4912
|
+
hasRuntimeDefault: false;
|
|
4913
|
+
enumValues: undefined;
|
|
4914
|
+
baseColumn: never;
|
|
4915
|
+
identity: undefined;
|
|
4916
|
+
generated: undefined;
|
|
4917
|
+
}, {}, {}>;
|
|
4918
|
+
metadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
4919
|
+
name: "metadata";
|
|
4920
|
+
tableName: "sellable_entities";
|
|
4921
|
+
dataType: "json";
|
|
4922
|
+
columnType: "PgJsonb";
|
|
4923
|
+
data: Record<string, unknown>;
|
|
4924
|
+
driverParam: unknown;
|
|
4925
|
+
notNull: false;
|
|
4926
|
+
hasDefault: true;
|
|
4927
|
+
isPrimaryKey: false;
|
|
4928
|
+
isAutoincrement: false;
|
|
4929
|
+
hasRuntimeDefault: false;
|
|
4930
|
+
enumValues: undefined;
|
|
4931
|
+
baseColumn: never;
|
|
4932
|
+
identity: undefined;
|
|
4933
|
+
generated: undefined;
|
|
4934
|
+
}, {}, {
|
|
4935
|
+
$type: Record<string, unknown>;
|
|
4936
|
+
}>;
|
|
4937
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4938
|
+
name: "created_at";
|
|
4939
|
+
tableName: "sellable_entities";
|
|
4940
|
+
dataType: "date";
|
|
4941
|
+
columnType: "PgTimestamp";
|
|
4942
|
+
data: Date;
|
|
4943
|
+
driverParam: string;
|
|
4944
|
+
notNull: true;
|
|
4945
|
+
hasDefault: true;
|
|
4946
|
+
isPrimaryKey: false;
|
|
4947
|
+
isAutoincrement: false;
|
|
4948
|
+
hasRuntimeDefault: false;
|
|
4949
|
+
enumValues: undefined;
|
|
4950
|
+
baseColumn: never;
|
|
4951
|
+
identity: undefined;
|
|
4952
|
+
generated: undefined;
|
|
4953
|
+
}, {}, {}>;
|
|
4954
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4955
|
+
name: "updated_at";
|
|
4956
|
+
tableName: "sellable_entities";
|
|
4957
|
+
dataType: "date";
|
|
4958
|
+
columnType: "PgTimestamp";
|
|
4959
|
+
data: Date;
|
|
4960
|
+
driverParam: string;
|
|
4961
|
+
notNull: true;
|
|
4962
|
+
hasDefault: true;
|
|
4963
|
+
isPrimaryKey: false;
|
|
4964
|
+
isAutoincrement: false;
|
|
4965
|
+
hasRuntimeDefault: false;
|
|
4966
|
+
enumValues: undefined;
|
|
4967
|
+
baseColumn: never;
|
|
4968
|
+
identity: undefined;
|
|
4969
|
+
generated: undefined;
|
|
4970
|
+
}, {}, {}>;
|
|
4971
|
+
publishedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4972
|
+
name: "published_at";
|
|
4973
|
+
tableName: "sellable_entities";
|
|
4974
|
+
dataType: "date";
|
|
4975
|
+
columnType: "PgTimestamp";
|
|
4976
|
+
data: Date;
|
|
4977
|
+
driverParam: string;
|
|
4978
|
+
notNull: false;
|
|
4979
|
+
hasDefault: false;
|
|
4980
|
+
isPrimaryKey: false;
|
|
4981
|
+
isAutoincrement: false;
|
|
4982
|
+
hasRuntimeDefault: false;
|
|
4983
|
+
enumValues: undefined;
|
|
4984
|
+
baseColumn: never;
|
|
4985
|
+
identity: undefined;
|
|
4986
|
+
generated: undefined;
|
|
4987
|
+
}, {}, {}>;
|
|
4988
|
+
}, {
|
|
4989
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4990
|
+
}, undefined>;
|
|
4991
|
+
}, z.core.$strip>;
|
|
4992
|
+
};
|
|
4993
|
+
};
|
|
4994
|
+
description: string;
|
|
4995
|
+
};
|
|
4996
|
+
};
|
|
4997
|
+
} & {
|
|
4998
|
+
getRoutingPath(): "/categories/:categoryId/restore";
|
|
4999
|
+
};
|
|
3800
5000
|
export declare const createBrandRoute: {
|
|
3801
5001
|
method: "post";
|
|
3802
5002
|
path: "/brands";
|
|
@@ -3824,6 +5024,13 @@ export declare const createBrandRoute: {
|
|
|
3824
5024
|
error: z.ZodObject<{
|
|
3825
5025
|
code: z.ZodString;
|
|
3826
5026
|
message: z.ZodString;
|
|
5027
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5028
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5029
|
+
path: z.ZodString;
|
|
5030
|
+
message: z.ZodString;
|
|
5031
|
+
code: z.ZodString;
|
|
5032
|
+
}, z.core.$strip>>>;
|
|
5033
|
+
}, z.core.$strip>>;
|
|
3827
5034
|
}, z.core.$strip>;
|
|
3828
5035
|
}, z.core.$strip>;
|
|
3829
5036
|
};
|
|
@@ -3837,6 +5044,13 @@ export declare const createBrandRoute: {
|
|
|
3837
5044
|
error: z.ZodObject<{
|
|
3838
5045
|
code: z.ZodString;
|
|
3839
5046
|
message: z.ZodString;
|
|
5047
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5048
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5049
|
+
path: z.ZodString;
|
|
5050
|
+
message: z.ZodString;
|
|
5051
|
+
code: z.ZodString;
|
|
5052
|
+
}, z.core.$strip>>>;
|
|
5053
|
+
}, z.core.$strip>>;
|
|
3840
5054
|
}, z.core.$strip>;
|
|
3841
5055
|
}, z.core.$strip>;
|
|
3842
5056
|
};
|
|
@@ -3850,6 +5064,13 @@ export declare const createBrandRoute: {
|
|
|
3850
5064
|
error: z.ZodObject<{
|
|
3851
5065
|
code: z.ZodString;
|
|
3852
5066
|
message: z.ZodString;
|
|
5067
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5068
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5069
|
+
path: z.ZodString;
|
|
5070
|
+
message: z.ZodString;
|
|
5071
|
+
code: z.ZodString;
|
|
5072
|
+
}, z.core.$strip>>>;
|
|
5073
|
+
}, z.core.$strip>>;
|
|
3853
5074
|
}, z.core.$strip>;
|
|
3854
5075
|
}, z.core.$strip>;
|
|
3855
5076
|
};
|
|
@@ -3863,6 +5084,13 @@ export declare const createBrandRoute: {
|
|
|
3863
5084
|
error: z.ZodObject<{
|
|
3864
5085
|
code: z.ZodString;
|
|
3865
5086
|
message: z.ZodString;
|
|
5087
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5088
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5089
|
+
path: z.ZodString;
|
|
5090
|
+
message: z.ZodString;
|
|
5091
|
+
code: z.ZodString;
|
|
5092
|
+
}, z.core.$strip>>>;
|
|
5093
|
+
}, z.core.$strip>>;
|
|
3866
5094
|
}, z.core.$strip>;
|
|
3867
5095
|
}, z.core.$strip>;
|
|
3868
5096
|
};
|
|
@@ -3876,6 +5104,13 @@ export declare const createBrandRoute: {
|
|
|
3876
5104
|
error: z.ZodObject<{
|
|
3877
5105
|
code: z.ZodString;
|
|
3878
5106
|
message: z.ZodString;
|
|
5107
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5108
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5109
|
+
path: z.ZodString;
|
|
5110
|
+
message: z.ZodString;
|
|
5111
|
+
code: z.ZodString;
|
|
5112
|
+
}, z.core.$strip>>>;
|
|
5113
|
+
}, z.core.$strip>>;
|
|
3879
5114
|
}, z.core.$strip>;
|
|
3880
5115
|
}, z.core.$strip>;
|
|
3881
5116
|
};
|
|
@@ -4101,6 +5336,13 @@ export declare const updateBrandRoute: {
|
|
|
4101
5336
|
error: z.ZodObject<{
|
|
4102
5337
|
code: z.ZodString;
|
|
4103
5338
|
message: z.ZodString;
|
|
5339
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5340
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5341
|
+
path: z.ZodString;
|
|
5342
|
+
message: z.ZodString;
|
|
5343
|
+
code: z.ZodString;
|
|
5344
|
+
}, z.core.$strip>>>;
|
|
5345
|
+
}, z.core.$strip>>;
|
|
4104
5346
|
}, z.core.$strip>;
|
|
4105
5347
|
}, z.core.$strip>;
|
|
4106
5348
|
};
|
|
@@ -4114,6 +5356,13 @@ export declare const updateBrandRoute: {
|
|
|
4114
5356
|
error: z.ZodObject<{
|
|
4115
5357
|
code: z.ZodString;
|
|
4116
5358
|
message: z.ZodString;
|
|
5359
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5360
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5361
|
+
path: z.ZodString;
|
|
5362
|
+
message: z.ZodString;
|
|
5363
|
+
code: z.ZodString;
|
|
5364
|
+
}, z.core.$strip>>>;
|
|
5365
|
+
}, z.core.$strip>>;
|
|
4117
5366
|
}, z.core.$strip>;
|
|
4118
5367
|
}, z.core.$strip>;
|
|
4119
5368
|
};
|
|
@@ -4127,6 +5376,13 @@ export declare const updateBrandRoute: {
|
|
|
4127
5376
|
error: z.ZodObject<{
|
|
4128
5377
|
code: z.ZodString;
|
|
4129
5378
|
message: z.ZodString;
|
|
5379
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5380
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5381
|
+
path: z.ZodString;
|
|
5382
|
+
message: z.ZodString;
|
|
5383
|
+
code: z.ZodString;
|
|
5384
|
+
}, z.core.$strip>>>;
|
|
5385
|
+
}, z.core.$strip>>;
|
|
4130
5386
|
}, z.core.$strip>;
|
|
4131
5387
|
}, z.core.$strip>;
|
|
4132
5388
|
};
|
|
@@ -4140,6 +5396,13 @@ export declare const updateBrandRoute: {
|
|
|
4140
5396
|
error: z.ZodObject<{
|
|
4141
5397
|
code: z.ZodString;
|
|
4142
5398
|
message: z.ZodString;
|
|
5399
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5400
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5401
|
+
path: z.ZodString;
|
|
5402
|
+
message: z.ZodString;
|
|
5403
|
+
code: z.ZodString;
|
|
5404
|
+
}, z.core.$strip>>>;
|
|
5405
|
+
}, z.core.$strip>>;
|
|
4143
5406
|
}, z.core.$strip>;
|
|
4144
5407
|
}, z.core.$strip>;
|
|
4145
5408
|
};
|
|
@@ -4153,6 +5416,13 @@ export declare const updateBrandRoute: {
|
|
|
4153
5416
|
error: z.ZodObject<{
|
|
4154
5417
|
code: z.ZodString;
|
|
4155
5418
|
message: z.ZodString;
|
|
5419
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5420
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5421
|
+
path: z.ZodString;
|
|
5422
|
+
message: z.ZodString;
|
|
5423
|
+
code: z.ZodString;
|
|
5424
|
+
}, z.core.$strip>>>;
|
|
5425
|
+
}, z.core.$strip>>;
|
|
4156
5426
|
}, z.core.$strip>;
|
|
4157
5427
|
}, z.core.$strip>;
|
|
4158
5428
|
};
|
|
@@ -4377,6 +5647,13 @@ export declare const createOptionTypeRoute: {
|
|
|
4377
5647
|
error: z.ZodObject<{
|
|
4378
5648
|
code: z.ZodString;
|
|
4379
5649
|
message: z.ZodString;
|
|
5650
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5651
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5652
|
+
path: z.ZodString;
|
|
5653
|
+
message: z.ZodString;
|
|
5654
|
+
code: z.ZodString;
|
|
5655
|
+
}, z.core.$strip>>>;
|
|
5656
|
+
}, z.core.$strip>>;
|
|
4380
5657
|
}, z.core.$strip>;
|
|
4381
5658
|
}, z.core.$strip>;
|
|
4382
5659
|
};
|
|
@@ -4390,6 +5667,13 @@ export declare const createOptionTypeRoute: {
|
|
|
4390
5667
|
error: z.ZodObject<{
|
|
4391
5668
|
code: z.ZodString;
|
|
4392
5669
|
message: z.ZodString;
|
|
5670
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5671
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5672
|
+
path: z.ZodString;
|
|
5673
|
+
message: z.ZodString;
|
|
5674
|
+
code: z.ZodString;
|
|
5675
|
+
}, z.core.$strip>>>;
|
|
5676
|
+
}, z.core.$strip>>;
|
|
4393
5677
|
}, z.core.$strip>;
|
|
4394
5678
|
}, z.core.$strip>;
|
|
4395
5679
|
};
|
|
@@ -4403,6 +5687,13 @@ export declare const createOptionTypeRoute: {
|
|
|
4403
5687
|
error: z.ZodObject<{
|
|
4404
5688
|
code: z.ZodString;
|
|
4405
5689
|
message: z.ZodString;
|
|
5690
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5691
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5692
|
+
path: z.ZodString;
|
|
5693
|
+
message: z.ZodString;
|
|
5694
|
+
code: z.ZodString;
|
|
5695
|
+
}, z.core.$strip>>>;
|
|
5696
|
+
}, z.core.$strip>>;
|
|
4406
5697
|
}, z.core.$strip>;
|
|
4407
5698
|
}, z.core.$strip>;
|
|
4408
5699
|
};
|
|
@@ -4416,6 +5707,13 @@ export declare const createOptionTypeRoute: {
|
|
|
4416
5707
|
error: z.ZodObject<{
|
|
4417
5708
|
code: z.ZodString;
|
|
4418
5709
|
message: z.ZodString;
|
|
5710
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5711
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5712
|
+
path: z.ZodString;
|
|
5713
|
+
message: z.ZodString;
|
|
5714
|
+
code: z.ZodString;
|
|
5715
|
+
}, z.core.$strip>>>;
|
|
5716
|
+
}, z.core.$strip>>;
|
|
4419
5717
|
}, z.core.$strip>;
|
|
4420
5718
|
}, z.core.$strip>;
|
|
4421
5719
|
};
|
|
@@ -4429,6 +5727,13 @@ export declare const createOptionTypeRoute: {
|
|
|
4429
5727
|
error: z.ZodObject<{
|
|
4430
5728
|
code: z.ZodString;
|
|
4431
5729
|
message: z.ZodString;
|
|
5730
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5731
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5732
|
+
path: z.ZodString;
|
|
5733
|
+
message: z.ZodString;
|
|
5734
|
+
code: z.ZodString;
|
|
5735
|
+
}, z.core.$strip>>>;
|
|
5736
|
+
}, z.core.$strip>>;
|
|
4432
5737
|
}, z.core.$strip>;
|
|
4433
5738
|
}, z.core.$strip>;
|
|
4434
5739
|
};
|
|
@@ -4652,6 +5957,13 @@ export declare const createOptionValueRoute: {
|
|
|
4652
5957
|
error: z.ZodObject<{
|
|
4653
5958
|
code: z.ZodString;
|
|
4654
5959
|
message: z.ZodString;
|
|
5960
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5961
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5962
|
+
path: z.ZodString;
|
|
5963
|
+
message: z.ZodString;
|
|
5964
|
+
code: z.ZodString;
|
|
5965
|
+
}, z.core.$strip>>>;
|
|
5966
|
+
}, z.core.$strip>>;
|
|
4655
5967
|
}, z.core.$strip>;
|
|
4656
5968
|
}, z.core.$strip>;
|
|
4657
5969
|
};
|
|
@@ -4665,6 +5977,13 @@ export declare const createOptionValueRoute: {
|
|
|
4665
5977
|
error: z.ZodObject<{
|
|
4666
5978
|
code: z.ZodString;
|
|
4667
5979
|
message: z.ZodString;
|
|
5980
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
5981
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5982
|
+
path: z.ZodString;
|
|
5983
|
+
message: z.ZodString;
|
|
5984
|
+
code: z.ZodString;
|
|
5985
|
+
}, z.core.$strip>>>;
|
|
5986
|
+
}, z.core.$strip>>;
|
|
4668
5987
|
}, z.core.$strip>;
|
|
4669
5988
|
}, z.core.$strip>;
|
|
4670
5989
|
};
|
|
@@ -4678,6 +5997,13 @@ export declare const createOptionValueRoute: {
|
|
|
4678
5997
|
error: z.ZodObject<{
|
|
4679
5998
|
code: z.ZodString;
|
|
4680
5999
|
message: z.ZodString;
|
|
6000
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6001
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6002
|
+
path: z.ZodString;
|
|
6003
|
+
message: z.ZodString;
|
|
6004
|
+
code: z.ZodString;
|
|
6005
|
+
}, z.core.$strip>>>;
|
|
6006
|
+
}, z.core.$strip>>;
|
|
4681
6007
|
}, z.core.$strip>;
|
|
4682
6008
|
}, z.core.$strip>;
|
|
4683
6009
|
};
|
|
@@ -4691,6 +6017,13 @@ export declare const createOptionValueRoute: {
|
|
|
4691
6017
|
error: z.ZodObject<{
|
|
4692
6018
|
code: z.ZodString;
|
|
4693
6019
|
message: z.ZodString;
|
|
6020
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6021
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6022
|
+
path: z.ZodString;
|
|
6023
|
+
message: z.ZodString;
|
|
6024
|
+
code: z.ZodString;
|
|
6025
|
+
}, z.core.$strip>>>;
|
|
6026
|
+
}, z.core.$strip>>;
|
|
4694
6027
|
}, z.core.$strip>;
|
|
4695
6028
|
}, z.core.$strip>;
|
|
4696
6029
|
};
|
|
@@ -4704,6 +6037,13 @@ export declare const createOptionValueRoute: {
|
|
|
4704
6037
|
error: z.ZodObject<{
|
|
4705
6038
|
code: z.ZodString;
|
|
4706
6039
|
message: z.ZodString;
|
|
6040
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6041
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6042
|
+
path: z.ZodString;
|
|
6043
|
+
message: z.ZodString;
|
|
6044
|
+
code: z.ZodString;
|
|
6045
|
+
}, z.core.$strip>>>;
|
|
6046
|
+
}, z.core.$strip>>;
|
|
4707
6047
|
}, z.core.$strip>;
|
|
4708
6048
|
}, z.core.$strip>;
|
|
4709
6049
|
};
|
|
@@ -4929,6 +6269,13 @@ export declare const createVariantRoute: {
|
|
|
4929
6269
|
error: z.ZodObject<{
|
|
4930
6270
|
code: z.ZodString;
|
|
4931
6271
|
message: z.ZodString;
|
|
6272
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6273
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6274
|
+
path: z.ZodString;
|
|
6275
|
+
message: z.ZodString;
|
|
6276
|
+
code: z.ZodString;
|
|
6277
|
+
}, z.core.$strip>>>;
|
|
6278
|
+
}, z.core.$strip>>;
|
|
4932
6279
|
}, z.core.$strip>;
|
|
4933
6280
|
}, z.core.$strip>;
|
|
4934
6281
|
};
|
|
@@ -4942,6 +6289,13 @@ export declare const createVariantRoute: {
|
|
|
4942
6289
|
error: z.ZodObject<{
|
|
4943
6290
|
code: z.ZodString;
|
|
4944
6291
|
message: z.ZodString;
|
|
6292
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6293
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6294
|
+
path: z.ZodString;
|
|
6295
|
+
message: z.ZodString;
|
|
6296
|
+
code: z.ZodString;
|
|
6297
|
+
}, z.core.$strip>>>;
|
|
6298
|
+
}, z.core.$strip>>;
|
|
4945
6299
|
}, z.core.$strip>;
|
|
4946
6300
|
}, z.core.$strip>;
|
|
4947
6301
|
};
|
|
@@ -4955,6 +6309,13 @@ export declare const createVariantRoute: {
|
|
|
4955
6309
|
error: z.ZodObject<{
|
|
4956
6310
|
code: z.ZodString;
|
|
4957
6311
|
message: z.ZodString;
|
|
6312
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6313
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6314
|
+
path: z.ZodString;
|
|
6315
|
+
message: z.ZodString;
|
|
6316
|
+
code: z.ZodString;
|
|
6317
|
+
}, z.core.$strip>>>;
|
|
6318
|
+
}, z.core.$strip>>;
|
|
4958
6319
|
}, z.core.$strip>;
|
|
4959
6320
|
}, z.core.$strip>;
|
|
4960
6321
|
};
|
|
@@ -4968,6 +6329,13 @@ export declare const createVariantRoute: {
|
|
|
4968
6329
|
error: z.ZodObject<{
|
|
4969
6330
|
code: z.ZodString;
|
|
4970
6331
|
message: z.ZodString;
|
|
6332
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6333
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6334
|
+
path: z.ZodString;
|
|
6335
|
+
message: z.ZodString;
|
|
6336
|
+
code: z.ZodString;
|
|
6337
|
+
}, z.core.$strip>>>;
|
|
6338
|
+
}, z.core.$strip>>;
|
|
4971
6339
|
}, z.core.$strip>;
|
|
4972
6340
|
}, z.core.$strip>;
|
|
4973
6341
|
};
|
|
@@ -4981,6 +6349,13 @@ export declare const createVariantRoute: {
|
|
|
4981
6349
|
error: z.ZodObject<{
|
|
4982
6350
|
code: z.ZodString;
|
|
4983
6351
|
message: z.ZodString;
|
|
6352
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6353
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6354
|
+
path: z.ZodString;
|
|
6355
|
+
message: z.ZodString;
|
|
6356
|
+
code: z.ZodString;
|
|
6357
|
+
}, z.core.$strip>>>;
|
|
6358
|
+
}, z.core.$strip>>;
|
|
4984
6359
|
}, z.core.$strip>;
|
|
4985
6360
|
}, z.core.$strip>;
|
|
4986
6361
|
};
|
|
@@ -5202,6 +6577,13 @@ export declare const generateVariantsRoute: {
|
|
|
5202
6577
|
error: z.ZodObject<{
|
|
5203
6578
|
code: z.ZodString;
|
|
5204
6579
|
message: z.ZodString;
|
|
6580
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6581
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6582
|
+
path: z.ZodString;
|
|
6583
|
+
message: z.ZodString;
|
|
6584
|
+
code: z.ZodString;
|
|
6585
|
+
}, z.core.$strip>>>;
|
|
6586
|
+
}, z.core.$strip>>;
|
|
5205
6587
|
}, z.core.$strip>;
|
|
5206
6588
|
}, z.core.$strip>;
|
|
5207
6589
|
};
|
|
@@ -5215,6 +6597,13 @@ export declare const generateVariantsRoute: {
|
|
|
5215
6597
|
error: z.ZodObject<{
|
|
5216
6598
|
code: z.ZodString;
|
|
5217
6599
|
message: z.ZodString;
|
|
6600
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6601
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6602
|
+
path: z.ZodString;
|
|
6603
|
+
message: z.ZodString;
|
|
6604
|
+
code: z.ZodString;
|
|
6605
|
+
}, z.core.$strip>>>;
|
|
6606
|
+
}, z.core.$strip>>;
|
|
5218
6607
|
}, z.core.$strip>;
|
|
5219
6608
|
}, z.core.$strip>;
|
|
5220
6609
|
};
|
|
@@ -5228,6 +6617,13 @@ export declare const generateVariantsRoute: {
|
|
|
5228
6617
|
error: z.ZodObject<{
|
|
5229
6618
|
code: z.ZodString;
|
|
5230
6619
|
message: z.ZodString;
|
|
6620
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6621
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6622
|
+
path: z.ZodString;
|
|
6623
|
+
message: z.ZodString;
|
|
6624
|
+
code: z.ZodString;
|
|
6625
|
+
}, z.core.$strip>>>;
|
|
6626
|
+
}, z.core.$strip>>;
|
|
5231
6627
|
}, z.core.$strip>;
|
|
5232
6628
|
}, z.core.$strip>;
|
|
5233
6629
|
};
|
|
@@ -5241,6 +6637,13 @@ export declare const generateVariantsRoute: {
|
|
|
5241
6637
|
error: z.ZodObject<{
|
|
5242
6638
|
code: z.ZodString;
|
|
5243
6639
|
message: z.ZodString;
|
|
6640
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6641
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6642
|
+
path: z.ZodString;
|
|
6643
|
+
message: z.ZodString;
|
|
6644
|
+
code: z.ZodString;
|
|
6645
|
+
}, z.core.$strip>>>;
|
|
6646
|
+
}, z.core.$strip>>;
|
|
5244
6647
|
}, z.core.$strip>;
|
|
5245
6648
|
}, z.core.$strip>;
|
|
5246
6649
|
};
|
|
@@ -5254,6 +6657,13 @@ export declare const generateVariantsRoute: {
|
|
|
5254
6657
|
error: z.ZodObject<{
|
|
5255
6658
|
code: z.ZodString;
|
|
5256
6659
|
message: z.ZodString;
|
|
6660
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
6661
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6662
|
+
path: z.ZodString;
|
|
6663
|
+
message: z.ZodString;
|
|
6664
|
+
code: z.ZodString;
|
|
6665
|
+
}, z.core.$strip>>>;
|
|
6666
|
+
}, z.core.$strip>>;
|
|
5257
6667
|
}, z.core.$strip>;
|
|
5258
6668
|
}, z.core.$strip>;
|
|
5259
6669
|
};
|