controlresell 0.0.39 → 0.0.40
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/fields/SpotConfig.d.ts +15 -0
- package/src/com/controlresell/models/fields/SpotConfig.js +9 -0
- package/src/com/controlresell/models/fields/SpotConfig.ts +8 -0
- package/src/com/controlresell/models/fields/SpotDefaultValue.d.ts +15 -0
- package/src/com/controlresell/models/fields/SpotDefaultValue.js +9 -0
- package/src/com/controlresell/models/fields/SpotDefaultValue.ts +8 -0
- package/src/com/controlresell/models/fields/SpotValue.d.ts +12 -0
- package/src/com/controlresell/models/fields/SpotValue.js +8 -0
- package/src/com/controlresell/models/fields/SpotValue.ts +7 -0
- package/src/com/controlresell/models/items/ImageAnalysisCompletion.d.ts +30 -0
- package/src/com/controlresell/models/items/ImageAnalysisCompletion.js +14 -0
- package/src/com/controlresell/models/items/ImageAnalysisCompletion.ts +13 -0
- package/src/com/controlresell/models/users/fields/FieldPayload.d.ts +21 -0
- package/src/com/controlresell/models/users/fields/FieldPayload.js +12 -0
- package/src/com/controlresell/models/users/fields/FieldPayload.ts +11 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +5 -0
- package/src/index.ts +5 -0
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SpotConfigSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
start: z.ZodNumber;
|
|
5
|
+
end: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name: string;
|
|
8
|
+
start: number;
|
|
9
|
+
end: number;
|
|
10
|
+
}, {
|
|
11
|
+
name: string;
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
}>;
|
|
15
|
+
export type SpotConfig = z.infer<typeof SpotConfigSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpotConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SpotConfigSchema = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string(),
|
|
7
|
+
start: zod_1.z.number(),
|
|
8
|
+
end: zod_1.z.number()
|
|
9
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SpotDefaultValueSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
fill: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
fill?: boolean | null | undefined;
|
|
8
|
+
name?: string | null | undefined;
|
|
9
|
+
index?: number | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
fill?: boolean | null | undefined;
|
|
12
|
+
name?: string | null | undefined;
|
|
13
|
+
index?: number | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type SpotDefaultValue = z.infer<typeof SpotDefaultValueSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpotDefaultValueSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SpotDefaultValueSchema = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string().nullish(),
|
|
7
|
+
index: zod_1.z.number().int().nullish(),
|
|
8
|
+
fill: zod_1.z.boolean().nullish()
|
|
9
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SpotValueSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
name?: string | null | undefined;
|
|
7
|
+
index?: number | null | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
name?: string | null | undefined;
|
|
10
|
+
index?: number | null | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type SpotValue = z.infer<typeof SpotValueSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpotValueSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SpotValueSchema = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string().nullish(),
|
|
7
|
+
index: zod_1.z.number().int().nullish()
|
|
8
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ImageAnalysisCompletionSchema: z.ZodObject<{
|
|
3
|
+
brand: z.ZodString;
|
|
4
|
+
catalogId: z.ZodNumber;
|
|
5
|
+
description: z.ZodString;
|
|
6
|
+
packageSizeId: z.ZodNumber;
|
|
7
|
+
statusId: z.ZodNumber;
|
|
8
|
+
title: z.ZodString;
|
|
9
|
+
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
10
|
+
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
brand: string;
|
|
15
|
+
catalogId: number;
|
|
16
|
+
packageSizeId: number;
|
|
17
|
+
statusId: number;
|
|
18
|
+
colorIds?: number[] | null | undefined;
|
|
19
|
+
sizeId?: number | null | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
title: string;
|
|
22
|
+
description: string;
|
|
23
|
+
brand: string;
|
|
24
|
+
catalogId: number;
|
|
25
|
+
packageSizeId: number;
|
|
26
|
+
statusId: number;
|
|
27
|
+
colorIds?: number[] | null | undefined;
|
|
28
|
+
sizeId?: number | null | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type ImageAnalysisCompletion = z.infer<typeof ImageAnalysisCompletionSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImageAnalysisCompletionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.ImageAnalysisCompletionSchema = zod_1.z.object({
|
|
6
|
+
brand: zod_1.z.string(),
|
|
7
|
+
catalogId: zod_1.z.number(),
|
|
8
|
+
description: zod_1.z.string(),
|
|
9
|
+
packageSizeId: zod_1.z.number(),
|
|
10
|
+
statusId: zod_1.z.number(),
|
|
11
|
+
title: zod_1.z.string(),
|
|
12
|
+
colorIds: zod_1.z.array(zod_1.z.number()).nullish(),
|
|
13
|
+
sizeId: zod_1.z.number().nullish()
|
|
14
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
|
|
3
|
+
export const ImageAnalysisCompletionSchema = z.object({
|
|
4
|
+
brand: z.string(),
|
|
5
|
+
catalogId: z.number(),
|
|
6
|
+
description: z.string(),
|
|
7
|
+
packageSizeId: z.number(),
|
|
8
|
+
statusId: z.number(),
|
|
9
|
+
title: z.string(),
|
|
10
|
+
colorIds: z.array(z.number()).nullish(),
|
|
11
|
+
sizeId: z.number().nullish()
|
|
12
|
+
})
|
|
13
|
+
export type ImageAnalysisCompletion = z.infer<typeof ImageAnalysisCompletionSchema>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const FieldPayloadSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
type: z.ZodEnum<["TEXT", "SPOT"]>;
|
|
5
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
section: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
type: "TEXT" | "SPOT";
|
|
10
|
+
name: string;
|
|
11
|
+
section: string;
|
|
12
|
+
config?: string | null | undefined;
|
|
13
|
+
defaultValue?: string | null | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
type: "TEXT" | "SPOT";
|
|
16
|
+
name: string;
|
|
17
|
+
section: string;
|
|
18
|
+
config?: string | null | undefined;
|
|
19
|
+
defaultValue?: string | null | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type FieldPayload = z.infer<typeof FieldPayloadSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FieldPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const FieldType_1 = require("./FieldType");
|
|
6
|
+
exports.FieldPayloadSchema = zod_1.z.object({
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
type: FieldType_1.FieldTypeSchema,
|
|
9
|
+
config: zod_1.z.string().nullish(),
|
|
10
|
+
defaultValue: zod_1.z.string().nullish(),
|
|
11
|
+
section: zod_1.z.string()
|
|
12
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {FieldTypeSchema} from "./FieldType"
|
|
3
|
+
|
|
4
|
+
export const FieldPayloadSchema = z.object({
|
|
5
|
+
name: z.string(),
|
|
6
|
+
type: FieldTypeSchema,
|
|
7
|
+
config: z.string().nullish(),
|
|
8
|
+
defaultValue: z.string().nullish(),
|
|
9
|
+
section: z.string()
|
|
10
|
+
})
|
|
11
|
+
export type FieldPayload = z.infer<typeof FieldPayloadSchema>
|
package/src/index.d.ts
CHANGED
|
@@ -9,7 +9,11 @@ export * from "./com/controlresell/models/connector/UserOnPlatformRequest";
|
|
|
9
9
|
export * from "./com/controlresell/models/customers/Customer";
|
|
10
10
|
export * from "./com/controlresell/models/fees/Fee";
|
|
11
11
|
export * from "./com/controlresell/models/fees/FeeRecurrence";
|
|
12
|
+
export * from "./com/controlresell/models/fields/SpotConfig";
|
|
13
|
+
export * from "./com/controlresell/models/fields/SpotDefaultValue";
|
|
14
|
+
export * from "./com/controlresell/models/fields/SpotValue";
|
|
12
15
|
export * from "./com/controlresell/models/items/CreatedItems";
|
|
16
|
+
export * from "./com/controlresell/models/items/ImageAnalysisCompletion";
|
|
13
17
|
export * from "./com/controlresell/models/items/Item";
|
|
14
18
|
export * from "./com/controlresell/models/items/ItemFiltersContext";
|
|
15
19
|
export * from "./com/controlresell/models/items/ItemPayload";
|
|
@@ -45,6 +49,7 @@ export * from "./com/controlresell/models/users/GettingStartedSteps";
|
|
|
45
49
|
export * from "./com/controlresell/models/users/User";
|
|
46
50
|
export * from "./com/controlresell/models/users/UserContext";
|
|
47
51
|
export * from "./com/controlresell/models/users/fields/Field";
|
|
52
|
+
export * from "./com/controlresell/models/users/fields/FieldPayload";
|
|
48
53
|
export * from "./com/controlresell/models/users/fields/FieldType";
|
|
49
54
|
export * from "./com/controlresell/models/users/files/CreateFilePayload";
|
|
50
55
|
export * from "./com/controlresell/models/users/files/File";
|
package/src/index.js
CHANGED
|
@@ -25,7 +25,11 @@ __exportStar(require("./com/controlresell/models/connector/UserOnPlatformRequest
|
|
|
25
25
|
__exportStar(require("./com/controlresell/models/customers/Customer"), exports);
|
|
26
26
|
__exportStar(require("./com/controlresell/models/fees/Fee"), exports);
|
|
27
27
|
__exportStar(require("./com/controlresell/models/fees/FeeRecurrence"), exports);
|
|
28
|
+
__exportStar(require("./com/controlresell/models/fields/SpotConfig"), exports);
|
|
29
|
+
__exportStar(require("./com/controlresell/models/fields/SpotDefaultValue"), exports);
|
|
30
|
+
__exportStar(require("./com/controlresell/models/fields/SpotValue"), exports);
|
|
28
31
|
__exportStar(require("./com/controlresell/models/items/CreatedItems"), exports);
|
|
32
|
+
__exportStar(require("./com/controlresell/models/items/ImageAnalysisCompletion"), exports);
|
|
29
33
|
__exportStar(require("./com/controlresell/models/items/Item"), exports);
|
|
30
34
|
__exportStar(require("./com/controlresell/models/items/ItemFiltersContext"), exports);
|
|
31
35
|
__exportStar(require("./com/controlresell/models/items/ItemPayload"), exports);
|
|
@@ -61,6 +65,7 @@ __exportStar(require("./com/controlresell/models/users/GettingStartedSteps"), ex
|
|
|
61
65
|
__exportStar(require("./com/controlresell/models/users/User"), exports);
|
|
62
66
|
__exportStar(require("./com/controlresell/models/users/UserContext"), exports);
|
|
63
67
|
__exportStar(require("./com/controlresell/models/users/fields/Field"), exports);
|
|
68
|
+
__exportStar(require("./com/controlresell/models/users/fields/FieldPayload"), exports);
|
|
64
69
|
__exportStar(require("./com/controlresell/models/users/fields/FieldType"), exports);
|
|
65
70
|
__exportStar(require("./com/controlresell/models/users/files/CreateFilePayload"), exports);
|
|
66
71
|
__exportStar(require("./com/controlresell/models/users/files/File"), exports);
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,11 @@ export * from "./com/controlresell/models/connector/UserOnPlatformRequest"
|
|
|
9
9
|
export * from "./com/controlresell/models/customers/Customer"
|
|
10
10
|
export * from "./com/controlresell/models/fees/Fee"
|
|
11
11
|
export * from "./com/controlresell/models/fees/FeeRecurrence"
|
|
12
|
+
export * from "./com/controlresell/models/fields/SpotConfig"
|
|
13
|
+
export * from "./com/controlresell/models/fields/SpotDefaultValue"
|
|
14
|
+
export * from "./com/controlresell/models/fields/SpotValue"
|
|
12
15
|
export * from "./com/controlresell/models/items/CreatedItems"
|
|
16
|
+
export * from "./com/controlresell/models/items/ImageAnalysisCompletion"
|
|
13
17
|
export * from "./com/controlresell/models/items/Item"
|
|
14
18
|
export * from "./com/controlresell/models/items/ItemFiltersContext"
|
|
15
19
|
export * from "./com/controlresell/models/items/ItemPayload"
|
|
@@ -45,6 +49,7 @@ export * from "./com/controlresell/models/users/GettingStartedSteps"
|
|
|
45
49
|
export * from "./com/controlresell/models/users/User"
|
|
46
50
|
export * from "./com/controlresell/models/users/UserContext"
|
|
47
51
|
export * from "./com/controlresell/models/users/fields/Field"
|
|
52
|
+
export * from "./com/controlresell/models/users/fields/FieldPayload"
|
|
48
53
|
export * from "./com/controlresell/models/users/fields/FieldType"
|
|
49
54
|
export * from "./com/controlresell/models/users/files/CreateFilePayload"
|
|
50
55
|
export * from "./com/controlresell/models/users/files/File"
|