controlresell 2.2.10 → 2.2.12
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/package.json +1 -1
- package/src/com/controlresell/models/catalogs/SizeGroup.d.ts +0 -3
- package/src/com/controlresell/models/catalogs/SizeGroup.js +0 -1
- package/src/com/controlresell/models/catalogs/SizeGroup.ts +0 -1
- package/src/com/controlresell/models/catalogs/SizeRoot.d.ts +0 -5
- package/src/com/controlresell/models/items/ItemPayload.d.ts +0 -3
- package/src/com/controlresell/models/items/ItemPayload.js +0 -1
- package/src/com/controlresell/models/items/ItemPayload.ts +0 -1
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +2163 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.js +8 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.js +1 -1
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.ts +1 -1
- package/src/index.d.ts +1 -2
- package/src/index.js +6 -8
- package/src/index.ts +1 -2
- package/src/com/controlresell/models/application/ControlResellEnvironment.d.ts +0 -3
- package/src/com/controlresell/models/application/ControlResellEnvironment.js +0 -7
- package/src/com/controlresell/models/application/ControlResellEnvironment.ts +0 -6
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.d.ts +0 -3
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.js +0 -7
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.ts +0 -6
package/package.json
CHANGED
|
@@ -15,11 +15,9 @@ export declare const SizeGroupSchema: z.ZodObject<{
|
|
|
15
15
|
title: string;
|
|
16
16
|
itemCount?: number | null | undefined;
|
|
17
17
|
}>, "many">>>;
|
|
18
|
-
title: z.ZodString;
|
|
19
18
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
19
|
}, "strip", z.ZodTypeAny, {
|
|
21
20
|
id: number;
|
|
22
|
-
title: string;
|
|
23
21
|
description: string;
|
|
24
22
|
itemCount?: number | null | undefined;
|
|
25
23
|
sizes?: {
|
|
@@ -29,7 +27,6 @@ export declare const SizeGroupSchema: z.ZodObject<{
|
|
|
29
27
|
}[] | null | undefined;
|
|
30
28
|
}, {
|
|
31
29
|
id: number;
|
|
32
|
-
title: string;
|
|
33
30
|
description: string;
|
|
34
31
|
itemCount?: number | null | undefined;
|
|
35
32
|
sizes?: {
|
|
@@ -16,11 +16,9 @@ export declare const SizeRootSchema: z.ZodObject<{
|
|
|
16
16
|
title: string;
|
|
17
17
|
itemCount?: number | null | undefined;
|
|
18
18
|
}>, "many">>>;
|
|
19
|
-
title: z.ZodString;
|
|
20
19
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
20
|
}, "strip", z.ZodTypeAny, {
|
|
22
21
|
id: number;
|
|
23
|
-
title: string;
|
|
24
22
|
description: string;
|
|
25
23
|
itemCount?: number | null | undefined;
|
|
26
24
|
sizes?: {
|
|
@@ -30,7 +28,6 @@ export declare const SizeRootSchema: z.ZodObject<{
|
|
|
30
28
|
}[] | null | undefined;
|
|
31
29
|
}, {
|
|
32
30
|
id: number;
|
|
33
|
-
title: string;
|
|
34
31
|
description: string;
|
|
35
32
|
itemCount?: number | null | undefined;
|
|
36
33
|
sizes?: {
|
|
@@ -42,7 +39,6 @@ export declare const SizeRootSchema: z.ZodObject<{
|
|
|
42
39
|
}, "strip", z.ZodTypeAny, {
|
|
43
40
|
sizeGroups: {
|
|
44
41
|
id: number;
|
|
45
|
-
title: string;
|
|
46
42
|
description: string;
|
|
47
43
|
itemCount?: number | null | undefined;
|
|
48
44
|
sizes?: {
|
|
@@ -54,7 +50,6 @@ export declare const SizeRootSchema: z.ZodObject<{
|
|
|
54
50
|
}, {
|
|
55
51
|
sizeGroups: {
|
|
56
52
|
id: number;
|
|
57
|
-
title: string;
|
|
58
53
|
description: string;
|
|
59
54
|
itemCount?: number | null | undefined;
|
|
60
55
|
sizes?: {
|
|
@@ -8,7 +8,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
8
8
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
sizeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
11
|
purchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
12
|
purchaseDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
14
13
|
purchasePlaceId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
@@ -68,7 +67,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
68
67
|
value: string;
|
|
69
68
|
fieldId: string | number;
|
|
70
69
|
}[] | null | undefined;
|
|
71
|
-
sizeType?: string | null | undefined;
|
|
72
70
|
quantity?: number | null | undefined;
|
|
73
71
|
batchId?: string | number | null | undefined;
|
|
74
72
|
}, {
|
|
@@ -101,7 +99,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
101
99
|
value: string;
|
|
102
100
|
fieldId: string | number;
|
|
103
101
|
}[] | null | undefined;
|
|
104
|
-
sizeType?: string | null | undefined;
|
|
105
102
|
quantity?: number | null | undefined;
|
|
106
103
|
batchId?: string | number | null | undefined;
|
|
107
104
|
}>;
|
|
@@ -13,7 +13,6 @@ exports.ItemPayloadSchema = zod_1.z.object({
|
|
|
13
13
|
sex: zod_1.z.string().nullish(),
|
|
14
14
|
state: zod_1.z.number().nullish(),
|
|
15
15
|
sizeId: zod_1.z.number().nullish(),
|
|
16
|
-
sizeType: zod_1.z.string().nullish(),
|
|
17
16
|
purchasePrice: zod_1.z.number().nullish(),
|
|
18
17
|
purchaseDate: zod_1.z.coerce.date().nullish(),
|
|
19
18
|
purchasePlaceId: zodable_idschema_1.IdSchema.nullish(),
|
|
@@ -11,7 +11,6 @@ export const ItemPayloadSchema = z.object({
|
|
|
11
11
|
sex: z.string().nullish(),
|
|
12
12
|
state: z.number().nullish(),
|
|
13
13
|
sizeId: z.number().nullish(),
|
|
14
|
-
sizeType: z.string().nullish(),
|
|
15
14
|
purchasePrice: z.number().nullish(),
|
|
16
15
|
purchaseDate: z.coerce.date().nullish(),
|
|
17
16
|
purchasePlaceId: IdSchema.nullish(),
|