@floristcloud/api-lib 1.2.53 → 1.2.54
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetProductImageDeletionImpactContractQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const ProductImageDeletionImpactEntityRefSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
});
|
|
9
|
+
const ProductImageDeletionImpactSchema = zod_1.z.object({
|
|
10
|
+
productImageUUID: zod_1.z.string(),
|
|
11
|
+
name: zod_1.z.string(),
|
|
12
|
+
products: zod_1.z.array(ProductImageDeletionImpactEntityRefSchema),
|
|
13
|
+
preOrderCollectionItems: zod_1.z.array(ProductImageDeletionImpactEntityRefSchema),
|
|
14
|
+
aliasesCount: zod_1.z.number(),
|
|
15
|
+
willDeleteFile: zod_1.z.boolean(),
|
|
16
|
+
});
|
|
17
|
+
const GetProductImageDeletionImpactResponseSchema = zod_1.z.object({
|
|
18
|
+
data: ProductImageDeletionImpactSchema,
|
|
19
|
+
});
|
|
20
|
+
var GetProductImageDeletionImpactContractQuery;
|
|
21
|
+
(function (GetProductImageDeletionImpactContractQuery) {
|
|
22
|
+
GetProductImageDeletionImpactContractQuery.Schema = ProductImageDeletionImpactSchema;
|
|
23
|
+
GetProductImageDeletionImpactContractQuery.ResponseSchema = GetProductImageDeletionImpactResponseSchema;
|
|
24
|
+
})(GetProductImageDeletionImpactContractQuery || (exports.GetProductImageDeletionImpactContractQuery = GetProductImageDeletionImpactContractQuery = {}));
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./create-product-image.command"), exports);
|
|
|
18
18
|
__exportStar(require("./update-product-image.command"), exports);
|
|
19
19
|
__exportStar(require("./delete-product-image.command"), exports);
|
|
20
20
|
__exportStar(require("./get-product-image.query"), exports);
|
|
21
|
+
__exportStar(require("./get-product-image-deletion-impact.query"), exports);
|
|
21
22
|
__exportStar(require("./get-product-image-list.query"), exports);
|
|
22
23
|
__exportStar(require("./sync-product-image.command"), exports);
|
|
23
24
|
__exportStar(require("./group/delete-group-product-image.command"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
const ProductImageDeletionImpactEntityRefSchema = z.object({
|
|
4
|
+
uuid: z.string(),
|
|
5
|
+
name: z.string(),
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
const ProductImageDeletionImpactSchema = z.object({
|
|
9
|
+
productImageUUID: z.string(),
|
|
10
|
+
name: z.string(),
|
|
11
|
+
products: z.array(ProductImageDeletionImpactEntityRefSchema),
|
|
12
|
+
preOrderCollectionItems: z.array(ProductImageDeletionImpactEntityRefSchema),
|
|
13
|
+
aliasesCount: z.number(),
|
|
14
|
+
willDeleteFile: z.boolean(),
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const GetProductImageDeletionImpactResponseSchema = z.object({
|
|
18
|
+
data: ProductImageDeletionImpactSchema,
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export namespace GetProductImageDeletionImpactContractQuery {
|
|
22
|
+
export const Schema = ProductImageDeletionImpactSchema;
|
|
23
|
+
export const ResponseSchema = GetProductImageDeletionImpactResponseSchema;
|
|
24
|
+
export type Response = z.infer<typeof ResponseSchema>;
|
|
25
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from './create-product-image.command';
|
|
|
2
2
|
export * from './update-product-image.command';
|
|
3
3
|
export * from './delete-product-image.command';
|
|
4
4
|
export * from './get-product-image.query';
|
|
5
|
+
export * from './get-product-image-deletion-impact.query';
|
|
5
6
|
export * from './get-product-image-list.query';
|
|
6
7
|
export * from './sync-product-image.command';
|
|
7
8
|
export * from './group/delete-group-product-image.command';
|