controlresell 0.0.22 → 0.0.24
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.
|
@@ -44,6 +44,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
44
44
|
updatedAt?: Date | null | undefined;
|
|
45
45
|
itemCount?: number | null | undefined;
|
|
46
46
|
}, unknown>>>;
|
|
47
|
+
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
48
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
49
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
50
|
size: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -424,6 +425,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
424
425
|
categoryId?: number | null | undefined;
|
|
425
426
|
category?: any;
|
|
426
427
|
brandId?: number | null | undefined;
|
|
428
|
+
sex?: string | null | undefined;
|
|
427
429
|
state?: number | null | undefined;
|
|
428
430
|
size?: {
|
|
429
431
|
id: string | number;
|
|
@@ -531,6 +533,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
531
533
|
categoryId?: number | null | undefined;
|
|
532
534
|
category?: any;
|
|
533
535
|
brandId?: number | null | undefined;
|
|
536
|
+
sex?: string | null | undefined;
|
|
534
537
|
state?: number | null | undefined;
|
|
535
538
|
size?: {
|
|
536
539
|
id: string | number;
|
|
@@ -587,6 +590,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
587
590
|
categoryId?: number | null | undefined;
|
|
588
591
|
category?: any;
|
|
589
592
|
brandId?: number | null | undefined;
|
|
593
|
+
sex?: string | null | undefined;
|
|
590
594
|
state?: number | null | undefined;
|
|
591
595
|
size?: {
|
|
592
596
|
id: string | number;
|
|
@@ -701,6 +705,7 @@ export declare const ItemSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
701
705
|
categoryId?: number | null | undefined;
|
|
702
706
|
category?: any;
|
|
703
707
|
brandId?: number | null | undefined;
|
|
708
|
+
sex?: string | null | undefined;
|
|
704
709
|
state?: number | null | undefined;
|
|
705
710
|
size?: {
|
|
706
711
|
id: string | number;
|
|
@@ -23,6 +23,7 @@ exports.ItemSchema = (0, legacy_1.legacy)(zod_1.z.object({
|
|
|
23
23
|
category: zod_1.z.any().nullish(), // Catalog
|
|
24
24
|
brandId: zod_1.z.number().nullish(),
|
|
25
25
|
brand: brand_1.BrandSchema.nullish(),
|
|
26
|
+
sex: zod_1.z.string().nullish(),
|
|
26
27
|
state: zod_1.z.number().nullish(),
|
|
27
28
|
sizeId: zod_1.z.number().nullish(),
|
|
28
29
|
size: size_1.SizeSchema.nullish(),
|
|
@@ -58,3 +58,11 @@ export declare const UpdateItemOnPlatformPayloadSchema: z.ZodObject<{
|
|
|
58
58
|
platformPrice?: number | null | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type UpdateItemOnPlatformPayload = z.infer<typeof UpdateItemOnPlatformPayloadSchema>;
|
|
61
|
+
export declare const ItemOnPlatformsRequestSchema: z.ZodObject<{
|
|
62
|
+
accountsId: z.ZodArray<z.ZodString, "many">;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
accountsId: string[];
|
|
65
|
+
}, {
|
|
66
|
+
accountsId: string[];
|
|
67
|
+
}>;
|
|
68
|
+
export type ItemOnPlatformsRequest = z.infer<typeof ItemOnPlatformsRequestSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateItemOnPlatformPayloadSchema = exports.CreateItemOnPlatformPayloadSchema = exports.ItemOnPlatformSchema = exports.ItemOnPlatformStatusSchema = void 0;
|
|
3
|
+
exports.ItemOnPlatformsRequestSchema = exports.UpdateItemOnPlatformPayloadSchema = exports.CreateItemOnPlatformPayloadSchema = exports.ItemOnPlatformSchema = exports.ItemOnPlatformStatusSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const primitives_1 = require("../primitives");
|
|
6
6
|
exports.ItemOnPlatformStatusSchema = zod_1.z.enum([
|
|
@@ -26,3 +26,6 @@ exports.UpdateItemOnPlatformPayloadSchema = zod_1.z.object({
|
|
|
26
26
|
status: exports.ItemOnPlatformStatusSchema.nullish(),
|
|
27
27
|
platformPrice: zod_1.z.number().nullish(),
|
|
28
28
|
});
|
|
29
|
+
exports.ItemOnPlatformsRequestSchema = zod_1.z.object({
|
|
30
|
+
accountsId: zod_1.z.array(zod_1.z.string().uuid()),
|
|
31
|
+
});
|