qeai-sdk 2.1.8 → 2.1.10

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.
@@ -1,4 +1,4 @@
1
- import { ProductImageItemDto } from "./product-image-item.dto";
1
+ import { ProductImageItemDto } from "./product-image-item.dto.js";
2
2
  /**
3
3
  * DTO for creating a new product image.
4
4
  *
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsUUID, } from "class-validator";
11
- import { ProductImageItemDto } from "./product-image-item.dto";
10
+ import { IsString, IsNotEmpty, IsUUID } from "class-validator";
11
+ import { ProductImageItemDto } from "./product-image-item.dto.js";
12
12
  /**
13
13
  * DTO for creating a new product image.
14
14
  *
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsUUID, } from "class-validator";
10
+ import { IsString, IsNotEmpty, IsUUID } from "class-validator";
11
11
  import { ProductQuestionItemDto } from "./product-question-item.dto.js";
12
12
  /**
13
13
  * DTO for creating a new product-question relationship.
@@ -1,4 +1,4 @@
1
- import { QuestionProductType } from "../../../../enums";
1
+ import { QuestionProductType } from "../../../../enums/index.js";
2
2
  export declare class ProductQuestionItemDto {
3
3
  /**
4
4
  * Unique identifier of the question.
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, IsUUID, Min, } from "class-validator";
11
- import { QuestionProductType } from "../../../../enums";
11
+ import { QuestionProductType } from "../../../../enums/index.js";
12
12
  import { Type } from "class-transformer";
13
13
  export class ProductQuestionItemDto {
14
14
  /**
@@ -1,4 +1,4 @@
1
- import { ProductRecipeItemDto } from "./product-recipe-item.dto";
1
+ import { ProductRecipeItemDto } from "./product-recipe-item.dto.js";
2
2
  /**
3
3
  * DTO for creating a new product recipe entry.
4
4
  *
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsUUID, } from "class-validator";
11
- import { ProductRecipeItemDto } from "./product-recipe-item.dto";
10
+ import { IsString, IsNotEmpty, IsUUID } from "class-validator";
11
+ import { ProductRecipeItemDto } from "./product-recipe-item.dto.js";
12
12
  /**
13
13
  * DTO for creating a new product recipe entry.
14
14
  *
@@ -1,4 +1,4 @@
1
- import { ProductScheduleItemDto } from "./product-schedule-item.dto";
1
+ import { ProductScheduleItemDto } from "./product-schedule-item.dto.js";
2
2
  /**
3
3
  * DTO for creating a new product schedule.
4
4
  *
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsUUID, } from "class-validator";
11
- import { ProductScheduleItemDto } from "./product-schedule-item.dto";
10
+ import { IsString, IsNotEmpty, IsUUID } from "class-validator";
11
+ import { ProductScheduleItemDto } from "./product-schedule-item.dto.js";
12
12
  /**
13
13
  * DTO for creating a new product schedule.
14
14
  *
@@ -1,4 +1,4 @@
1
- import { ProductSizeDataDto } from './product-size-data.dto.js';
1
+ import { ProductSizeDataDto } from "./product-size-data.dto.js";
2
2
  /**
3
3
  * DTO for replacing all product sizes.
4
4
  *
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsString, IsNotEmpty, IsArray, ValidateNested, ArrayMinSize, IsUUID } from 'class-validator';
11
- import { Type } from 'class-transformer';
12
- import { ProductSizeDataDto } from './product-size-data.dto.js';
10
+ import { IsString, IsNotEmpty, IsArray, ValidateNested, ArrayMinSize, IsUUID, } from "class-validator";
11
+ import { Type } from "class-transformer";
12
+ import { ProductSizeDataDto } from "./product-size-data.dto.js";
13
13
  /**
14
14
  * DTO for replacing all product sizes.
15
15
  *
@@ -38,13 +38,13 @@ export class ReplaceProductSizesByProductIdDto {
38
38
  }
39
39
  __decorate([
40
40
  IsString(),
41
- IsNotEmpty({ message: 'Product ID is required' }),
41
+ IsNotEmpty({ message: "Product ID is required" }),
42
42
  IsUUID(),
43
43
  __metadata("design:type", String)
44
44
  ], ReplaceProductSizesByProductIdDto.prototype, "productId", void 0);
45
45
  __decorate([
46
46
  IsArray(),
47
- ArrayMinSize(0, { message: 'Sizes array can be empty' }),
47
+ ArrayMinSize(0, { message: "Sizes array can be empty" }),
48
48
  ValidateNested({ each: true }),
49
49
  Type(() => ProductSizeDataDto),
50
50
  __metadata("design:type", Array)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qeai-sdk",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "In this version we have added the interfaces for the qhay sdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {