sigo-entities 1.2.520 → 1.2.522
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/REPORTE_ESTRUCTURA_2026-08-31.md +215 -215
- package/dist/index.d.mts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +297 -204
- package/dist/index.mjs +264 -177
- package/package.json +1 -1
- package/.claude/CLAUDE.md +0 -70
- package/.claude/settings.json +0 -21
- package/.claude/skills/mdl-administracion/SKILL.md +0 -60
- package/.claude/skills/mdl-configuracion/SKILL.md +0 -49
- package/.claude/skills/ope-im/SKILL.md +0 -71
- package/.claude/skills/ope-logistica/SKILL.md +0 -60
- package/.claude/skills/ope-pex/SKILL.md +0 -106
- package/.claude/skills/shared-dtos/SKILL.md +0 -76
- package/__tests__/asistenciaCuadrilla.test.mjs +0 -67
package/dist/index.mjs
CHANGED
|
@@ -8148,7 +8148,7 @@ __decorateClass([
|
|
|
8148
8148
|
], HomePassDTO.prototype, "StreetName", 2);
|
|
8149
8149
|
__decorateClass([
|
|
8150
8150
|
IsString131({ message: "debe ser un texto" }),
|
|
8151
|
-
Length94(0,
|
|
8151
|
+
Length94(0, 200, { message: "debe tener entre $constraint1 y $constraint2 caracteres" }),
|
|
8152
8152
|
Expose161()
|
|
8153
8153
|
], HomePassDTO.prototype, "HouseNumber", 2);
|
|
8154
8154
|
__decorateClass([
|
|
@@ -10558,14 +10558,12 @@ __decorateClass([
|
|
|
10558
10558
|
], HomePassDTO2.prototype, "StreetName", 2);
|
|
10559
10559
|
__decorateClass([
|
|
10560
10560
|
IsString151({ message: "debe ser un texto" }),
|
|
10561
|
-
|
|
10562
|
-
Length113(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
10561
|
+
Length113(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
10563
10562
|
Expose192()
|
|
10564
10563
|
], HomePassDTO2.prototype, "HouseNumber", 2);
|
|
10565
10564
|
__decorateClass([
|
|
10566
10565
|
IsString151({ message: "debe ser un texto" }),
|
|
10567
|
-
|
|
10568
|
-
Length113(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
10566
|
+
Length113(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
10569
10567
|
Expose192()
|
|
10570
10568
|
], HomePassDTO2.prototype, "HouseNumbreComplement", 2);
|
|
10571
10569
|
|
|
@@ -55488,26 +55486,109 @@ __decorateClass([
|
|
|
55488
55486
|
Expose845()
|
|
55489
55487
|
], UploadFileSomacylOrderDto.prototype, "observacion", 2);
|
|
55490
55488
|
|
|
55489
|
+
// src/v2/dtos/HomePassRef.ts
|
|
55490
|
+
import { Expose as Expose846, Transform as Transform130 } from "class-transformer";
|
|
55491
|
+
import { IsDefined as IsDefined330, IsIn as IsIn9, IsInt as IsInt3, IsNotEmpty as IsNotEmpty478, IsString as IsString707, Min as Min351 } from "class-validator";
|
|
55492
|
+
var HOME_PASS_CLIENT_TYPES = ["Residential", "Business"];
|
|
55493
|
+
var HomePassRefDto = class {
|
|
55494
|
+
ID_AddressList = 0;
|
|
55495
|
+
ClientType = "Residential";
|
|
55496
|
+
Home_ID = "";
|
|
55497
|
+
};
|
|
55498
|
+
__decorateClass([
|
|
55499
|
+
IsDefined330({ message: "El ID de la address list es requerido" }),
|
|
55500
|
+
IsInt3({ message: "El ID de la address list debe ser un n\xFAmero entero" }),
|
|
55501
|
+
Min351(1, { message: "El ID de la address list no es v\xE1lido" }),
|
|
55502
|
+
Expose846()
|
|
55503
|
+
], HomePassRefDto.prototype, "ID_AddressList", 2);
|
|
55504
|
+
__decorateClass([
|
|
55505
|
+
IsDefined330({ message: "El tipo de cliente es requerido" }),
|
|
55506
|
+
IsIn9(HOME_PASS_CLIENT_TYPES, { message: `El tipo de cliente debe ser uno de: ${HOME_PASS_CLIENT_TYPES.join(", ")}` }),
|
|
55507
|
+
Expose846()
|
|
55508
|
+
], HomePassRefDto.prototype, "ClientType", 2);
|
|
55509
|
+
__decorateClass([
|
|
55510
|
+
Transform130(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55511
|
+
IsDefined330({ message: "El Home_ID es requerido" }),
|
|
55512
|
+
IsString707({ message: "El Home_ID debe ser una cadena de texto" }),
|
|
55513
|
+
IsNotEmpty478({ message: "El Home_ID es requerido" }),
|
|
55514
|
+
Expose846()
|
|
55515
|
+
], HomePassRefDto.prototype, "Home_ID", 2);
|
|
55516
|
+
|
|
55517
|
+
// src/v2/dtos/UpdateHomePassAnexos.ts
|
|
55518
|
+
import { Expose as Expose847, Type as Type510 } from "class-transformer";
|
|
55519
|
+
import { IsArray as IsArray266, IsDefined as IsDefined331, IsInt as IsInt4, Min as Min352, ValidateNested as ValidateNested438 } from "class-validator";
|
|
55520
|
+
var UpdateHomePassAnexosDto = class extends HomePassRefDto {
|
|
55521
|
+
ID_Trabajo = 0;
|
|
55522
|
+
Anexos = [];
|
|
55523
|
+
};
|
|
55524
|
+
__decorateClass([
|
|
55525
|
+
IsDefined331({ message: "El ID del trabajo es requerido" }),
|
|
55526
|
+
IsInt4({ message: "El ID del trabajo debe ser un n\xFAmero entero" }),
|
|
55527
|
+
Min352(1, { message: "El ID del trabajo no es v\xE1lido" }),
|
|
55528
|
+
Expose847()
|
|
55529
|
+
], UpdateHomePassAnexosDto.prototype, "ID_Trabajo", 2);
|
|
55530
|
+
__decorateClass([
|
|
55531
|
+
IsDefined331({ message: "Los anexos son requeridos" }),
|
|
55532
|
+
IsArray266({ message: "Los anexos deben ser un arreglo" }),
|
|
55533
|
+
Type510(() => FilesDocDTO),
|
|
55534
|
+
ValidateNested438({ each: true }),
|
|
55535
|
+
Expose847()
|
|
55536
|
+
], UpdateHomePassAnexosDto.prototype, "Anexos", 2);
|
|
55537
|
+
|
|
55538
|
+
// src/v2/dtos/ChangeHomePassState.ts
|
|
55539
|
+
import { Expose as Expose848 } from "class-transformer";
|
|
55540
|
+
import { IsDefined as IsDefined332, IsIn as IsIn10 } from "class-validator";
|
|
55541
|
+
var HOME_PASS_STATE_TYPES = ["OC", "ASPH", "SOP"];
|
|
55542
|
+
var ChangeHomePassStateDto = class extends HomePassRefDto {
|
|
55543
|
+
type = "OC";
|
|
55544
|
+
};
|
|
55545
|
+
__decorateClass([
|
|
55546
|
+
IsDefined332({ message: "El tipo de cierre es requerido" }),
|
|
55547
|
+
IsIn10(HOME_PASS_STATE_TYPES, { message: `El tipo de cierre debe ser uno de: ${HOME_PASS_STATE_TYPES.join(", ")}` }),
|
|
55548
|
+
Expose848()
|
|
55549
|
+
], ChangeHomePassStateDto.prototype, "type", 2);
|
|
55550
|
+
|
|
55551
|
+
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
55552
|
+
import { Expose as Expose849, Type as Type511 } from "class-transformer";
|
|
55553
|
+
import { IsArray as IsArray267, IsDefined as IsDefined333, IsInt as IsInt5, IsOptional as IsOptional83, Min as Min353, ValidateNested as ValidateNested439 } from "class-validator";
|
|
55554
|
+
var CorrectRejectedValuationDto = class {
|
|
55555
|
+
ID_Valorizacion = 0;
|
|
55556
|
+
Anexos;
|
|
55557
|
+
};
|
|
55558
|
+
__decorateClass([
|
|
55559
|
+
IsDefined333({ message: "El ID de la valorizaci\xF3n es requerido" }),
|
|
55560
|
+
IsInt5({ message: "El ID de la valorizaci\xF3n debe ser un n\xFAmero entero" }),
|
|
55561
|
+
Min353(1, { message: "El ID de la valorizaci\xF3n no es v\xE1lido" }),
|
|
55562
|
+
Expose849()
|
|
55563
|
+
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
55564
|
+
__decorateClass([
|
|
55565
|
+
IsOptional83(),
|
|
55566
|
+
IsArray267({ message: "Los anexos deben ser un arreglo" }),
|
|
55567
|
+
Type511(() => FilesDocDTO),
|
|
55568
|
+
ValidateNested439({ each: true }),
|
|
55569
|
+
Expose849()
|
|
55570
|
+
], CorrectRejectedValuationDto.prototype, "Anexos", 2);
|
|
55571
|
+
|
|
55491
55572
|
// src/v2/entities/Delegation.ts
|
|
55492
|
-
import { Expose as
|
|
55493
|
-
import { IsDefined as
|
|
55573
|
+
import { Expose as Expose851 } from "class-transformer";
|
|
55574
|
+
import { IsDefined as IsDefined335, IsNotEmpty as IsNotEmpty479, IsString as IsString708, IsUUID as IsUUID41 } from "class-validator";
|
|
55494
55575
|
|
|
55495
55576
|
// src/v2/entities/Base.ts
|
|
55496
|
-
import { Expose as
|
|
55497
|
-
import { IsBoolean as IsBoolean84, IsDefined as
|
|
55577
|
+
import { Expose as Expose850 } from "class-transformer";
|
|
55578
|
+
import { IsBoolean as IsBoolean84, IsDefined as IsDefined334, IsUUID as IsUUID40 } from "class-validator";
|
|
55498
55579
|
var BaseEntity = class {
|
|
55499
55580
|
_id;
|
|
55500
55581
|
active;
|
|
55501
55582
|
};
|
|
55502
55583
|
__decorateClass([
|
|
55503
|
-
|
|
55584
|
+
IsDefined334({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
55504
55585
|
IsUUID40("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
55505
|
-
|
|
55586
|
+
Expose850()
|
|
55506
55587
|
], BaseEntity.prototype, "_id", 2);
|
|
55507
55588
|
__decorateClass([
|
|
55508
|
-
|
|
55589
|
+
IsDefined334({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
55509
55590
|
IsBoolean84({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
55510
|
-
|
|
55591
|
+
Expose850()
|
|
55511
55592
|
], BaseEntity.prototype, "active", 2);
|
|
55512
55593
|
|
|
55513
55594
|
// src/v2/entities/Delegation.ts
|
|
@@ -55517,26 +55598,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
55517
55598
|
name;
|
|
55518
55599
|
};
|
|
55519
55600
|
__decorateClass([
|
|
55520
|
-
|
|
55601
|
+
IsDefined335({ message: "El campo pais es obligatorio" }),
|
|
55521
55602
|
IsUUID41("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
55522
|
-
|
|
55603
|
+
Expose851()
|
|
55523
55604
|
], DelegationEntity.prototype, "countryId", 2);
|
|
55524
55605
|
__decorateClass([
|
|
55525
|
-
|
|
55526
|
-
|
|
55527
|
-
|
|
55528
|
-
|
|
55606
|
+
IsDefined335({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55607
|
+
IsString708({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
55608
|
+
IsNotEmpty479({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
55609
|
+
Expose851()
|
|
55529
55610
|
], DelegationEntity.prototype, "code", 2);
|
|
55530
55611
|
__decorateClass([
|
|
55531
|
-
|
|
55532
|
-
|
|
55533
|
-
|
|
55534
|
-
|
|
55612
|
+
IsDefined335({ message: "El campo nombre es obligatorio." }),
|
|
55613
|
+
IsString708({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
55614
|
+
IsNotEmpty479({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
55615
|
+
Expose851()
|
|
55535
55616
|
], DelegationEntity.prototype, "name", 2);
|
|
55536
55617
|
|
|
55537
55618
|
// src/v2/entities/User.ts
|
|
55538
|
-
import { IsArray as
|
|
55539
|
-
import { Expose as
|
|
55619
|
+
import { IsArray as IsArray268, IsBoolean as IsBoolean85, IsDefined as IsDefined336, IsEmail as IsEmail13, IsString as IsString709, IsUUID as IsUUID42, ValidateIf as ValidateIf11, ValidateNested as ValidateNested440 } from "class-validator";
|
|
55620
|
+
import { Expose as Expose852, Transform as Transform131, Type as Type512 } from "class-transformer";
|
|
55540
55621
|
var UserEntity = class extends BaseEntity {
|
|
55541
55622
|
email;
|
|
55542
55623
|
password;
|
|
@@ -55551,126 +55632,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
55551
55632
|
resourceSystem;
|
|
55552
55633
|
};
|
|
55553
55634
|
__decorateClass([
|
|
55554
|
-
|
|
55635
|
+
IsDefined336({ message: "El correo es requerido" }),
|
|
55555
55636
|
IsEmail13({}, { message: "El correo es invalido" }),
|
|
55556
|
-
|
|
55557
|
-
|
|
55637
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
55638
|
+
Expose852()
|
|
55558
55639
|
], UserEntity.prototype, "email", 2);
|
|
55559
55640
|
__decorateClass([
|
|
55560
|
-
|
|
55561
|
-
|
|
55562
|
-
|
|
55563
|
-
|
|
55641
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55642
|
+
IsDefined336({ message: "La contrase\xF1a es requerida" }),
|
|
55643
|
+
IsString709({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
55644
|
+
Expose852()
|
|
55564
55645
|
], UserEntity.prototype, "password", 2);
|
|
55565
55646
|
__decorateClass([
|
|
55566
|
-
|
|
55567
|
-
|
|
55568
|
-
|
|
55569
|
-
|
|
55647
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55648
|
+
IsDefined336({ message: "El apellido paterno es requerido" }),
|
|
55649
|
+
IsString709({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
55650
|
+
Expose852()
|
|
55570
55651
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
55571
55652
|
__decorateClass([
|
|
55572
|
-
|
|
55573
|
-
|
|
55574
|
-
|
|
55575
|
-
|
|
55653
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55654
|
+
IsDefined336({ message: "El apellido materno es requerido" }),
|
|
55655
|
+
IsString709({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
55656
|
+
Expose852()
|
|
55576
55657
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
55577
55658
|
__decorateClass([
|
|
55578
|
-
|
|
55579
|
-
|
|
55580
|
-
|
|
55581
|
-
|
|
55659
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55660
|
+
IsDefined336({ message: "El nombre es requerido" }),
|
|
55661
|
+
IsString709({ message: "El nombre debe ser una cadena de texto" }),
|
|
55662
|
+
Expose852()
|
|
55582
55663
|
], UserEntity.prototype, "firstNames", 2);
|
|
55583
55664
|
__decorateClass([
|
|
55584
|
-
|
|
55585
|
-
|
|
55586
|
-
|
|
55587
|
-
|
|
55665
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55666
|
+
IsDefined336({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
55667
|
+
IsString709({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
55668
|
+
Expose852()
|
|
55588
55669
|
], UserEntity.prototype, "identification", 2);
|
|
55589
55670
|
__decorateClass([
|
|
55590
|
-
|
|
55591
|
-
|
|
55592
|
-
|
|
55593
|
-
|
|
55594
|
-
|
|
55671
|
+
IsDefined336({ message: "El campo empresas es requerido" }),
|
|
55672
|
+
IsArray268({ message: "El campo empresas debe ser un array" }),
|
|
55673
|
+
Type512(() => CompanyDto),
|
|
55674
|
+
ValidateNested440({ each: true }),
|
|
55675
|
+
Expose852()
|
|
55595
55676
|
], UserEntity.prototype, "companies", 2);
|
|
55596
55677
|
__decorateClass([
|
|
55597
|
-
|
|
55598
|
-
|
|
55678
|
+
IsDefined336({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55679
|
+
IsArray268({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55599
55680
|
IsUUID42("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
55600
|
-
|
|
55681
|
+
Expose852()
|
|
55601
55682
|
], UserEntity.prototype, "delegationIds", 2);
|
|
55602
55683
|
__decorateClass([
|
|
55603
|
-
|
|
55684
|
+
IsDefined336({ message: 'La propiedad "root" es obligatoria.' }),
|
|
55604
55685
|
IsBoolean85({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
55605
|
-
|
|
55686
|
+
Expose852()
|
|
55606
55687
|
], UserEntity.prototype, "root", 2);
|
|
55607
55688
|
__decorateClass([
|
|
55608
|
-
|
|
55689
|
+
IsDefined336({ message: "El campo Perfil es obligatorio" }),
|
|
55609
55690
|
ValidateIf11((_, value) => value !== ""),
|
|
55610
55691
|
IsUUID42("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
55611
|
-
|
|
55692
|
+
Expose852()
|
|
55612
55693
|
], UserEntity.prototype, "profileId", 2);
|
|
55613
55694
|
__decorateClass([
|
|
55614
|
-
|
|
55615
|
-
|
|
55616
|
-
|
|
55617
|
-
|
|
55618
|
-
|
|
55695
|
+
IsDefined336({ message: "Resurso sistema es obligatoria" }),
|
|
55696
|
+
Type512(() => ResourceSystemDto),
|
|
55697
|
+
ValidateNested440({ each: true }),
|
|
55698
|
+
IsArray268({ message: "Recurso sistema debe ser un array" }),
|
|
55699
|
+
Expose852()
|
|
55619
55700
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
55620
55701
|
|
|
55621
55702
|
// src/v2/entities/Profile.ts
|
|
55622
|
-
import { Expose as
|
|
55623
|
-
import { IsArray as
|
|
55703
|
+
import { Expose as Expose853, Transform as Transform132 } from "class-transformer";
|
|
55704
|
+
import { IsArray as IsArray269, IsDefined as IsDefined337, IsString as IsString710, Length as Length349, MinLength as MinLength63 } from "class-validator";
|
|
55624
55705
|
var ProfileEntity = class extends BaseEntity {
|
|
55625
55706
|
name;
|
|
55626
55707
|
description;
|
|
55627
55708
|
systemOptions;
|
|
55628
55709
|
};
|
|
55629
55710
|
__decorateClass([
|
|
55630
|
-
|
|
55631
|
-
|
|
55632
|
-
|
|
55711
|
+
IsDefined337({ message: "El campo nombre es requerido" }),
|
|
55712
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55713
|
+
IsString710({ message: "debe ser una cadena de texto" }),
|
|
55633
55714
|
Length349(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55634
|
-
|
|
55715
|
+
Expose853()
|
|
55635
55716
|
], ProfileEntity.prototype, "name", 2);
|
|
55636
55717
|
__decorateClass([
|
|
55637
|
-
|
|
55638
|
-
|
|
55639
|
-
|
|
55718
|
+
IsDefined337({ message: "El campo descripci\xF3n es requerido" }),
|
|
55719
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55720
|
+
IsString710({ message: "debe ser una cadena de texto" }),
|
|
55640
55721
|
Length349(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55641
|
-
|
|
55722
|
+
Expose853()
|
|
55642
55723
|
], ProfileEntity.prototype, "description", 2);
|
|
55643
55724
|
__decorateClass([
|
|
55644
|
-
|
|
55645
|
-
|
|
55646
|
-
|
|
55725
|
+
IsDefined337({ message: "El campo opciones de sistema es requerido" }),
|
|
55726
|
+
IsArray269({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
55727
|
+
IsString710({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
55647
55728
|
MinLength63(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
55648
|
-
|
|
55729
|
+
Expose853()
|
|
55649
55730
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
55650
55731
|
|
|
55651
55732
|
// src/v2/entities/Country.ts
|
|
55652
|
-
import { Expose as
|
|
55653
|
-
import { IsDefined as
|
|
55733
|
+
import { Expose as Expose854 } from "class-transformer";
|
|
55734
|
+
import { IsDefined as IsDefined338, IsNotEmpty as IsNotEmpty480, IsString as IsString711 } from "class-validator";
|
|
55654
55735
|
var CountryEntity = class extends BaseEntity {
|
|
55655
55736
|
code;
|
|
55656
55737
|
name;
|
|
55657
55738
|
};
|
|
55658
55739
|
__decorateClass([
|
|
55659
|
-
|
|
55660
|
-
|
|
55661
|
-
|
|
55662
|
-
|
|
55740
|
+
IsDefined338({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55741
|
+
IsString711({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
55742
|
+
IsNotEmpty480({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
55743
|
+
Expose854()
|
|
55663
55744
|
], CountryEntity.prototype, "code", 2);
|
|
55664
55745
|
__decorateClass([
|
|
55665
|
-
|
|
55666
|
-
|
|
55667
|
-
|
|
55668
|
-
|
|
55746
|
+
IsDefined338({ message: "El campo nombre es obligatorio." }),
|
|
55747
|
+
IsString711({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
55748
|
+
IsNotEmpty480({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
55749
|
+
Expose854()
|
|
55669
55750
|
], CountryEntity.prototype, "name", 2);
|
|
55670
55751
|
|
|
55671
55752
|
// src/v2/entities/Company.ts
|
|
55672
|
-
import { Expose as
|
|
55673
|
-
import { IsArray as
|
|
55753
|
+
import { Expose as Expose855 } from "class-transformer";
|
|
55754
|
+
import { IsArray as IsArray270, IsBoolean as IsBoolean86, IsDefined as IsDefined339, IsEmail as IsEmail14, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty481, IsString as IsString712, IsUUID as IsUUID43 } from "class-validator";
|
|
55674
55755
|
var CompanyEntity = class extends BaseEntity {
|
|
55675
55756
|
companyType;
|
|
55676
55757
|
identification;
|
|
@@ -55684,87 +55765,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
55684
55765
|
countryId;
|
|
55685
55766
|
};
|
|
55686
55767
|
__decorateClass([
|
|
55687
|
-
|
|
55768
|
+
IsDefined339({ message: "El tipo de empresa es requerido" }),
|
|
55688
55769
|
IsEnum68(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
55689
|
-
|
|
55770
|
+
Expose855()
|
|
55690
55771
|
], CompanyEntity.prototype, "companyType", 2);
|
|
55691
55772
|
__decorateClass([
|
|
55692
|
-
|
|
55693
|
-
|
|
55694
|
-
|
|
55695
|
-
|
|
55773
|
+
IsDefined339({ message: "La identificaci\xF3n es requerida" }),
|
|
55774
|
+
IsString712({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
55775
|
+
IsNotEmpty481({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
55776
|
+
Expose855()
|
|
55696
55777
|
], CompanyEntity.prototype, "identification", 2);
|
|
55697
55778
|
__decorateClass([
|
|
55698
|
-
|
|
55699
|
-
|
|
55700
|
-
|
|
55701
|
-
|
|
55779
|
+
IsDefined339({ message: "El c\xF3digo es requerido" }),
|
|
55780
|
+
IsString712({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
55781
|
+
IsNotEmpty481({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
55782
|
+
Expose855()
|
|
55702
55783
|
], CompanyEntity.prototype, "code", 2);
|
|
55703
55784
|
__decorateClass([
|
|
55704
|
-
|
|
55705
|
-
|
|
55706
|
-
|
|
55707
|
-
|
|
55785
|
+
IsDefined339({ message: "El nombre legal es requerido" }),
|
|
55786
|
+
IsString712({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
55787
|
+
IsNotEmpty481({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
55788
|
+
Expose855()
|
|
55708
55789
|
], CompanyEntity.prototype, "legalName", 2);
|
|
55709
55790
|
__decorateClass([
|
|
55710
|
-
|
|
55711
|
-
|
|
55712
|
-
|
|
55713
|
-
|
|
55791
|
+
IsDefined339({ message: "El nombre comercial es requerido" }),
|
|
55792
|
+
IsString712({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
55793
|
+
IsNotEmpty481({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
55794
|
+
Expose855()
|
|
55714
55795
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
55715
55796
|
__decorateClass([
|
|
55716
|
-
|
|
55797
|
+
IsDefined339({ message: "La propiedad es propia es requerida" }),
|
|
55717
55798
|
IsBoolean86({ message: "La propiedad es propia debe ser un booleano" }),
|
|
55718
|
-
|
|
55799
|
+
Expose855()
|
|
55719
55800
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
55720
55801
|
__decorateClass([
|
|
55721
|
-
|
|
55722
|
-
|
|
55723
|
-
|
|
55724
|
-
|
|
55802
|
+
IsDefined339({ message: "La direcci\xF3n es requerida" }),
|
|
55803
|
+
IsString712({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
55804
|
+
IsNotEmpty481({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
55805
|
+
Expose855()
|
|
55725
55806
|
], CompanyEntity.prototype, "address", 2);
|
|
55726
55807
|
__decorateClass([
|
|
55727
|
-
|
|
55728
|
-
|
|
55808
|
+
IsDefined339({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
55809
|
+
IsArray270({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
55729
55810
|
IsEmail14({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
55730
|
-
|
|
55811
|
+
Expose855()
|
|
55731
55812
|
], CompanyEntity.prototype, "emails", 2);
|
|
55732
55813
|
__decorateClass([
|
|
55733
|
-
|
|
55734
|
-
|
|
55735
|
-
|
|
55736
|
-
|
|
55737
|
-
|
|
55814
|
+
IsDefined339({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
55815
|
+
IsArray270({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
55816
|
+
IsString712({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
55817
|
+
IsNotEmpty481({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
55818
|
+
Expose855()
|
|
55738
55819
|
], CompanyEntity.prototype, "phones", 2);
|
|
55739
55820
|
__decorateClass([
|
|
55740
|
-
|
|
55821
|
+
IsDefined339({ message: "El campo pa\xEDs es requerido" }),
|
|
55741
55822
|
IsUUID43("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
55742
|
-
|
|
55823
|
+
Expose855()
|
|
55743
55824
|
], CompanyEntity.prototype, "countryId", 2);
|
|
55744
55825
|
|
|
55745
55826
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
55746
|
-
import { Expose as
|
|
55747
|
-
import { IsNumber as IsNumber538, IsString as
|
|
55827
|
+
import { Expose as Expose857, Type as Type513 } from "class-transformer";
|
|
55828
|
+
import { IsNumber as IsNumber538, IsString as IsString714, ValidateNested as ValidateNested441, IsArray as IsArray271 } from "class-validator";
|
|
55748
55829
|
|
|
55749
55830
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
55750
|
-
import { Expose as
|
|
55751
|
-
import { IsString as
|
|
55831
|
+
import { Expose as Expose856 } from "class-transformer";
|
|
55832
|
+
import { IsString as IsString713 } from "class-validator";
|
|
55752
55833
|
var ThemeCountryManualDTO2 = class {
|
|
55753
55834
|
Codigo = "";
|
|
55754
55835
|
Delegacion = "";
|
|
55755
55836
|
Ruta = "";
|
|
55756
55837
|
};
|
|
55757
55838
|
__decorateClass([
|
|
55758
|
-
|
|
55759
|
-
|
|
55839
|
+
IsString713(),
|
|
55840
|
+
Expose856()
|
|
55760
55841
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
55761
55842
|
__decorateClass([
|
|
55762
|
-
|
|
55763
|
-
|
|
55843
|
+
IsString713(),
|
|
55844
|
+
Expose856()
|
|
55764
55845
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
55765
55846
|
__decorateClass([
|
|
55766
|
-
|
|
55767
|
-
|
|
55847
|
+
IsString713(),
|
|
55848
|
+
Expose856()
|
|
55768
55849
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
55769
55850
|
|
|
55770
55851
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -55780,45 +55861,45 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
55780
55861
|
};
|
|
55781
55862
|
__decorateClass([
|
|
55782
55863
|
IsNumber538(),
|
|
55783
|
-
|
|
55864
|
+
Expose857()
|
|
55784
55865
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
55785
55866
|
__decorateClass([
|
|
55786
|
-
|
|
55787
|
-
|
|
55867
|
+
IsString714(),
|
|
55868
|
+
Expose857()
|
|
55788
55869
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
55789
55870
|
__decorateClass([
|
|
55790
|
-
|
|
55791
|
-
|
|
55871
|
+
IsString714(),
|
|
55872
|
+
Expose857()
|
|
55792
55873
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
55793
55874
|
__decorateClass([
|
|
55794
|
-
|
|
55795
|
-
|
|
55875
|
+
IsString714(),
|
|
55876
|
+
Expose857()
|
|
55796
55877
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
55797
55878
|
__decorateClass([
|
|
55798
|
-
|
|
55799
|
-
|
|
55800
|
-
|
|
55879
|
+
ValidateNested441(),
|
|
55880
|
+
Type513(() => ImgLogoNavBarDTO2),
|
|
55881
|
+
Expose857()
|
|
55801
55882
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
55802
55883
|
__decorateClass([
|
|
55803
|
-
|
|
55804
|
-
|
|
55805
|
-
|
|
55806
|
-
|
|
55884
|
+
IsArray271(),
|
|
55885
|
+
Type513(() => ThemeCountryManualDTO2),
|
|
55886
|
+
ValidateNested441({ each: true }),
|
|
55887
|
+
Expose857()
|
|
55807
55888
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
55808
55889
|
__decorateClass([
|
|
55809
|
-
|
|
55810
|
-
|
|
55811
|
-
|
|
55890
|
+
ValidateNested441(),
|
|
55891
|
+
Type513(() => EstadoDTO2),
|
|
55892
|
+
Expose857()
|
|
55812
55893
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
55813
55894
|
__decorateClass([
|
|
55814
|
-
|
|
55815
|
-
|
|
55816
|
-
|
|
55895
|
+
ValidateNested441(),
|
|
55896
|
+
Type513(() => CodigoNombreDTO4),
|
|
55897
|
+
Expose857()
|
|
55817
55898
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
55818
55899
|
|
|
55819
55900
|
// src/v2/entities/ThemeConfigUser.ts
|
|
55820
|
-
import { Expose as
|
|
55821
|
-
import { IsNumber as IsNumber539, IsString as
|
|
55901
|
+
import { Expose as Expose858, Type as Type514 } from "class-transformer";
|
|
55902
|
+
import { IsNumber as IsNumber539, IsString as IsString715, ValidateNested as ValidateNested442, IsArray as IsArray272, IsOptional as IsOptional84, IsDefined as IsDefined340, IsBoolean as IsBoolean87 } from "class-validator";
|
|
55822
55903
|
var ThemeConfigUserEntity = class {
|
|
55823
55904
|
_id;
|
|
55824
55905
|
active = true;
|
|
@@ -55830,42 +55911,42 @@ var ThemeConfigUserEntity = class {
|
|
|
55830
55911
|
Favoritos = [];
|
|
55831
55912
|
};
|
|
55832
55913
|
__decorateClass([
|
|
55833
|
-
|
|
55834
|
-
|
|
55914
|
+
IsOptional84(),
|
|
55915
|
+
Expose858()
|
|
55835
55916
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
55836
55917
|
__decorateClass([
|
|
55837
|
-
|
|
55918
|
+
IsDefined340({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
55838
55919
|
IsBoolean87({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
55839
|
-
|
|
55920
|
+
Expose858()
|
|
55840
55921
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
55841
55922
|
__decorateClass([
|
|
55842
55923
|
IsNumber539(),
|
|
55843
|
-
|
|
55924
|
+
Expose858()
|
|
55844
55925
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
55845
55926
|
__decorateClass([
|
|
55846
|
-
|
|
55847
|
-
|
|
55927
|
+
IsString715(),
|
|
55928
|
+
Expose858()
|
|
55848
55929
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
55849
55930
|
__decorateClass([
|
|
55850
|
-
|
|
55851
|
-
|
|
55931
|
+
IsString715(),
|
|
55932
|
+
Expose858()
|
|
55852
55933
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
55853
55934
|
__decorateClass([
|
|
55854
|
-
|
|
55855
|
-
|
|
55856
|
-
|
|
55935
|
+
IsOptional84(),
|
|
55936
|
+
IsString715(),
|
|
55937
|
+
Expose858()
|
|
55857
55938
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
55858
55939
|
__decorateClass([
|
|
55859
|
-
|
|
55860
|
-
|
|
55861
|
-
|
|
55940
|
+
ValidateNested442(),
|
|
55941
|
+
Type514(() => EstadoDTO2),
|
|
55942
|
+
Expose858()
|
|
55862
55943
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
55863
55944
|
__decorateClass([
|
|
55864
|
-
|
|
55865
|
-
|
|
55866
|
-
|
|
55867
|
-
|
|
55868
|
-
|
|
55945
|
+
IsOptional84(),
|
|
55946
|
+
IsArray272(),
|
|
55947
|
+
ValidateNested442({ each: true }),
|
|
55948
|
+
Type514(() => FavoritoDTO2),
|
|
55949
|
+
Expose858()
|
|
55869
55950
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
55870
55951
|
|
|
55871
55952
|
// src/v2/utils/validateCustom.ts
|
|
@@ -56045,6 +56126,7 @@ export {
|
|
|
56045
56126
|
CentroCostosDTO,
|
|
56046
56127
|
CentroCostosENTITY,
|
|
56047
56128
|
CertificacionDTO,
|
|
56129
|
+
ChangeHomePassStateDto,
|
|
56048
56130
|
ChangeStateBaremosDTO,
|
|
56049
56131
|
Chile9512TOAENTITY,
|
|
56050
56132
|
ChileTdCENTITY,
|
|
@@ -56090,6 +56172,7 @@ export {
|
|
|
56090
56172
|
ConversionLogisticaDTO,
|
|
56091
56173
|
CoordenadasDTO,
|
|
56092
56174
|
CoordenadasTdCDTO,
|
|
56175
|
+
CorrectRejectedValuationDto,
|
|
56093
56176
|
CorteBobinaStockAlmacenDTO,
|
|
56094
56177
|
CosumoMaterialAlemaniaDTO,
|
|
56095
56178
|
CotizacionDto,
|
|
@@ -56312,6 +56395,8 @@ export {
|
|
|
56312
56395
|
GranFamiliaItemDTO,
|
|
56313
56396
|
GranFamiliaItemENTITY,
|
|
56314
56397
|
GrupoEmpresaDTO,
|
|
56398
|
+
HOME_PASS_CLIENT_TYPES,
|
|
56399
|
+
HOME_PASS_STATE_TYPES,
|
|
56315
56400
|
HPListAsignacionDTO,
|
|
56316
56401
|
HPListDTO,
|
|
56317
56402
|
HistorialCubicacionDTO,
|
|
@@ -56323,6 +56408,7 @@ export {
|
|
|
56323
56408
|
HistoricoEmpresasDTO,
|
|
56324
56409
|
HitoDTO,
|
|
56325
56410
|
HomePassDTO,
|
|
56411
|
+
HomePassRefDto,
|
|
56326
56412
|
IDataSheetCoordenadas,
|
|
56327
56413
|
IDataSheetLineasTdC,
|
|
56328
56414
|
IDataSheetMateriales,
|
|
@@ -56791,6 +56877,7 @@ export {
|
|
|
56791
56877
|
UpdateDelegationDto,
|
|
56792
56878
|
UpdateDto,
|
|
56793
56879
|
UpdateEstadoInternoObraRequestDTO,
|
|
56880
|
+
UpdateHomePassAnexosDto,
|
|
56794
56881
|
UpdateProfileDto,
|
|
56795
56882
|
UpdateThemeConfigCountryDto,
|
|
56796
56883
|
UpdateThemeConfigUserDto,
|