controlresell 0.0.31 → 0.0.32

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.
@@ -3113,6 +3113,14 @@ export declare const UpdatedItemSchema: z.ZodObject<{
3113
3113
  item?: unknown;
3114
3114
  }>;
3115
3115
  export type UpdatedItem = z.infer<typeof UpdatedItemSchema>;
3116
+ export declare const ImageAnalysisRequestSchema: z.ZodObject<{
3117
+ filesId: z.ZodArray<z.ZodString, "many">;
3118
+ }, "strip", z.ZodTypeAny, {
3119
+ filesId: string[];
3120
+ }, {
3121
+ filesId: string[];
3122
+ }>;
3123
+ export type ImageAnalysisRequest = z.infer<typeof ImageAnalysisRequestSchema>;
3116
3124
  export declare const ImageAnalysisCompletionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3117
3125
  brand: z.ZodString;
3118
3126
  catalogId: z.ZodNumber;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemsWithFiltersSchema = exports.ItemFiltersContextSchema = exports.GettingStartedStepsSchema = exports.ImageAnalysisCompletionSchema = exports.UpdatedItemSchema = exports.CreatedItemsSchema = exports.ItemPayloadSchema = exports.ItemSchema = exports.ItemSortSchema = void 0;
3
+ exports.ItemsWithFiltersSchema = exports.ItemFiltersContextSchema = exports.GettingStartedStepsSchema = exports.ImageAnalysisCompletionSchema = exports.ImageAnalysisRequestSchema = exports.UpdatedItemSchema = exports.CreatedItemsSchema = exports.ItemPayloadSchema = exports.ItemSchema = exports.ItemSortSchema = void 0;
4
4
  const legacy_1 = require("../../helpers/legacy");
5
5
  const zod_1 = require("zod");
6
6
  const primitives_1 = require("../primitives");
@@ -100,6 +100,9 @@ exports.UpdatedItemSchema = zod_1.z.object({
100
100
  item: exports.ItemSchema,
101
101
  newUserLabels: zod_1.z.array(itemLabel_1.LabelSchema),
102
102
  });
103
+ exports.ImageAnalysisRequestSchema = zod_1.z.object({
104
+ filesId: zod_1.z.array(zod_1.z.string().uuid()),
105
+ });
103
106
  exports.ImageAnalysisCompletionSchema = (0, legacy_1.legacy)(zod_1.z.object({
104
107
  brand: zod_1.z.string(),
105
108
  catalogId: zod_1.z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.js",