sigo-entities 1.2.81 → 1.2.82
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 +3 -3
- package/dist/index.mjs +12 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29789,17 +29789,17 @@ var ClienteTdCDTO = class {
|
|
|
29789
29789
|
};
|
|
29790
29790
|
__decorateClass([
|
|
29791
29791
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29792
|
-
(0, import_class_validator514.
|
|
29792
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29793
29793
|
(0, import_class_transformer513.Expose)()
|
|
29794
29794
|
], ClienteTdCDTO.prototype, "Codigo", 2);
|
|
29795
29795
|
__decorateClass([
|
|
29796
29796
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29797
|
-
(0, import_class_validator514.
|
|
29797
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29798
29798
|
(0, import_class_transformer513.Expose)()
|
|
29799
29799
|
], ClienteTdCDTO.prototype, "Cliente", 2);
|
|
29800
29800
|
__decorateClass([
|
|
29801
29801
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29802
|
-
(0, import_class_validator514.
|
|
29802
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29803
29803
|
(0, import_class_transformer513.Expose)()
|
|
29804
29804
|
], ClienteTdCDTO.prototype, "Centro_Operativo", 2);
|
|
29805
29805
|
|
package/dist/index.mjs
CHANGED
|
@@ -29348,7 +29348,7 @@ import { Expose as Expose526, Type as Type343 } from "class-transformer";
|
|
|
29348
29348
|
|
|
29349
29349
|
// src/operativa/procesos/tdc/chile/dto/cliente-tdc-dto.ts
|
|
29350
29350
|
import { Expose as Expose511 } from "class-transformer";
|
|
29351
|
-
import { IsString as IsString410,
|
|
29351
|
+
import { IsString as IsString410, MinLength as MinLength45 } from "class-validator";
|
|
29352
29352
|
var ClienteTdCDTO = class {
|
|
29353
29353
|
Codigo = "";
|
|
29354
29354
|
Cliente = "";
|
|
@@ -29356,17 +29356,17 @@ var ClienteTdCDTO = class {
|
|
|
29356
29356
|
};
|
|
29357
29357
|
__decorateClass([
|
|
29358
29358
|
IsString410({ message: "debe ser un texto" }),
|
|
29359
|
-
|
|
29359
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29360
29360
|
Expose511()
|
|
29361
29361
|
], ClienteTdCDTO.prototype, "Codigo", 2);
|
|
29362
29362
|
__decorateClass([
|
|
29363
29363
|
IsString410({ message: "debe ser un texto" }),
|
|
29364
|
-
|
|
29364
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29365
29365
|
Expose511()
|
|
29366
29366
|
], ClienteTdCDTO.prototype, "Cliente", 2);
|
|
29367
29367
|
__decorateClass([
|
|
29368
29368
|
IsString410({ message: "debe ser un texto" }),
|
|
29369
|
-
|
|
29369
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29370
29370
|
Expose511()
|
|
29371
29371
|
], ClienteTdCDTO.prototype, "Centro_Operativo", 2);
|
|
29372
29372
|
|
|
@@ -33549,7 +33549,7 @@ import { Expose as Expose552, Type as Type357 } from "class-transformer";
|
|
|
33549
33549
|
import {
|
|
33550
33550
|
IsString as IsString448,
|
|
33551
33551
|
IsDefined as IsDefined160,
|
|
33552
|
-
MinLength as
|
|
33552
|
+
MinLength as MinLength46,
|
|
33553
33553
|
IsUUID as IsUUID3,
|
|
33554
33554
|
IsDate as IsDate131
|
|
33555
33555
|
} from "class-validator";
|
|
@@ -33566,7 +33566,7 @@ __decorateClass([
|
|
|
33566
33566
|
__decorateClass([
|
|
33567
33567
|
IsDefined160({ message: "numero_de_peticion es obligatorio" }),
|
|
33568
33568
|
IsString448({ message: "numero_de_peticion debe ser una cadena de texto v\xE1lida" }),
|
|
33569
|
-
|
|
33569
|
+
MinLength46(1, { message: "numero_de_peticion no puede estar vacio" }),
|
|
33570
33570
|
Expose552({ name: "numero_de_peticion" })
|
|
33571
33571
|
], RequestNumberTTLENTITY.prototype, "numero_de_peticion", 2);
|
|
33572
33572
|
__decorateClass([
|
|
@@ -35007,7 +35007,7 @@ __decorateClass([
|
|
|
35007
35007
|
|
|
35008
35008
|
// src/v2/dtos/CodigoNombre.ts
|
|
35009
35009
|
import { Expose as Expose563 } from "class-transformer";
|
|
35010
|
-
import { IsDefined as IsDefined171, IsString as IsString459, MinLength as
|
|
35010
|
+
import { IsDefined as IsDefined171, IsString as IsString459, MinLength as MinLength47 } from "class-validator";
|
|
35011
35011
|
var CodigoNombreDto = class {
|
|
35012
35012
|
codigo;
|
|
35013
35013
|
nombre;
|
|
@@ -35025,15 +35025,15 @@ __decorateClass([
|
|
|
35025
35025
|
var CodigoNombreMinLengthDto = class extends CodigoNombreDto {
|
|
35026
35026
|
};
|
|
35027
35027
|
__decorateClass([
|
|
35028
|
-
|
|
35028
|
+
MinLength47(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' })
|
|
35029
35029
|
], CodigoNombreMinLengthDto.prototype, "codigo", 2);
|
|
35030
35030
|
__decorateClass([
|
|
35031
|
-
|
|
35031
|
+
MinLength47(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
|
|
35032
35032
|
], CodigoNombreMinLengthDto.prototype, "nombre", 2);
|
|
35033
35033
|
|
|
35034
35034
|
// src/v2/entities/Delegacion.ts
|
|
35035
35035
|
import { Expose as Expose565, Type as Type368 } from "class-transformer";
|
|
35036
|
-
import { IsDefined as IsDefined173, IsObject as IsObject13, IsString as IsString460, MinLength as
|
|
35036
|
+
import { IsDefined as IsDefined173, IsObject as IsObject13, IsString as IsString460, MinLength as MinLength48, ValidateNested as ValidateNested326 } from "class-validator";
|
|
35037
35037
|
|
|
35038
35038
|
// src/v2/entities/Base.ts
|
|
35039
35039
|
import { Expose as Expose564 } from "class-transformer";
|
|
@@ -35069,13 +35069,13 @@ __decorateClass([
|
|
|
35069
35069
|
__decorateClass([
|
|
35070
35070
|
IsDefined173({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
35071
35071
|
IsString460({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
35072
|
-
|
|
35072
|
+
MinLength48(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
35073
35073
|
Expose565()
|
|
35074
35074
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
35075
35075
|
__decorateClass([
|
|
35076
35076
|
IsDefined173({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
35077
35077
|
IsString460({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
35078
|
-
|
|
35078
|
+
MinLength48(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
35079
35079
|
Expose565()
|
|
35080
35080
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
35081
35081
|
export {
|