sigo-entities 1.2.356 → 1.2.358

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/dist/index.js CHANGED
@@ -47618,7 +47618,7 @@ var SomacylOrderENTITY = class {
47618
47618
  };
47619
47619
  __decorateClass([
47620
47620
  (0, import_class_validator744.IsDefined)(),
47621
- (0, import_class_validator744.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
47621
+ (0, import_class_validator744.IsString)(),
47622
47622
  (0, import_class_transformer767.Expose)()
47623
47623
  ], SomacylOrderENTITY.prototype, "_id", 2);
47624
47624
  __decorateClass([
@@ -47685,7 +47685,7 @@ __decorateClass([
47685
47685
  __decorateClass([
47686
47686
  (0, import_class_transformer767.Expose)(),
47687
47687
  (0, import_class_validator744.IsDefined)(),
47688
- (0, import_class_validator744.IsEnum)(ReasonNoFinalizedSomacyl, { message: `El campo estado_interno debe ser uno de: ${Object.values(ReasonNoFinalizedSomacyl).join(", ")}.` })
47688
+ (0, import_class_validator744.IsEnum)(ReasonNoFinalizedSomacyl, { message: `El campo motivo_no_finalizado debe ser uno de: ${Object.values(ReasonNoFinalizedSomacyl).join(", ")}.` })
47689
47689
  ], SomacylOrderENTITY.prototype, "motivo_no_finalizado", 2);
47690
47690
  __decorateClass([
47691
47691
  (0, import_class_transformer767.Expose)(),
package/dist/index.mjs CHANGED
@@ -46661,7 +46661,6 @@ import {
46661
46661
  ValidateNested as ValidateNested408,
46662
46662
  IsArray as IsArray241,
46663
46663
  IsDate as IsDate175,
46664
- IsUUID as IsUUID17,
46665
46664
  IsEnum as IsEnum36
46666
46665
  } from "class-validator";
46667
46666
  import "reflect-metadata";
@@ -47128,7 +47127,7 @@ var SomacylOrderENTITY = class {
47128
47127
  };
47129
47128
  __decorateClass([
47130
47129
  IsDefined248(),
47131
- IsUUID17("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
47130
+ IsString612(),
47132
47131
  Expose740()
47133
47132
  ], SomacylOrderENTITY.prototype, "_id", 2);
47134
47133
  __decorateClass([
@@ -47195,7 +47194,7 @@ __decorateClass([
47195
47194
  __decorateClass([
47196
47195
  Expose740(),
47197
47196
  IsDefined248(),
47198
- IsEnum36(ReasonNoFinalizedSomacyl, { message: `El campo estado_interno debe ser uno de: ${Object.values(ReasonNoFinalizedSomacyl).join(", ")}.` })
47197
+ IsEnum36(ReasonNoFinalizedSomacyl, { message: `El campo motivo_no_finalizado debe ser uno de: ${Object.values(ReasonNoFinalizedSomacyl).join(", ")}.` })
47199
47198
  ], SomacylOrderENTITY.prototype, "motivo_no_finalizado", 2);
47200
47199
  __decorateClass([
47201
47200
  Expose740(),
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
- "name": "sigo-entities",
3
- "version": "1.2.356",
4
- "description": "Desarrollo de modelos de datos SIGO",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "scripts": {
9
- "build": "tsup && tsc-alias",
10
- "prepare": "npm run build"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
15
- },
16
- "keywords": [],
17
- "author": "usuario088",
18
- "license": "ISC",
19
- "devDependencies": {
20
- "@types/express": "^5.0.1",
21
- "sigo-package": "^1.2.132",
22
- "tsc-alias": "^1.8.15",
23
- "tsconfig-paths": "^4.2.0",
24
- "tsup": "^8.1.0",
25
- "typescript": "^5.4.5"
26
- },
27
- "dependencies": {
28
- "class-transformer": "^0.5.1",
29
- "class-validator": "^0.14.1"
30
- },
31
- "peerDependencies": {
32
- "reflect-metadata": "^0.2.2"
33
- }
34
- }
2
+ "name": "sigo-entities",
3
+ "version": "1.2.358",
4
+ "description": "Desarrollo de modelos de datos SIGO",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup && tsc-alias",
10
+ "prepare": "npm run build"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
15
+ },
16
+ "keywords": [],
17
+ "author": "usuario088",
18
+ "license": "ISC",
19
+ "devDependencies": {
20
+ "@types/express": "^5.0.1",
21
+ "sigo-package": "^1.2.132",
22
+ "tsc-alias": "^1.8.15",
23
+ "tsconfig-paths": "^4.2.0",
24
+ "tsup": "^8.1.0",
25
+ "typescript": "^5.4.5"
26
+ },
27
+ "dependencies": {
28
+ "class-transformer": "^0.5.1",
29
+ "class-validator": "^0.14.1"
30
+ },
31
+ "peerDependencies": {
32
+ "reflect-metadata": "^0.2.2"
33
+ }
34
+ }