sigo-entities 1.2.71 → 1.2.73
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 +17 -0
- package/dist/index.mjs +80 -62
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24569,6 +24569,7 @@ __decorateClass([
|
|
|
24569
24569
|
(0, import_class_transformer426.Expose)()
|
|
24570
24570
|
], DevolucionAlmacenENTITY.prototype, "NroGuia", 2);
|
|
24571
24571
|
__decorateClass([
|
|
24572
|
+
(0, import_class_transformer426.Transform)(({ value }) => typeof value === "string" && value.length > 100 ? value.slice(0, 100) : value),
|
|
24572
24573
|
(0, import_class_validator427.IsString)({ message: "debe ser un texto" }),
|
|
24573
24574
|
(0, import_class_validator427.Length)(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
24574
24575
|
(0, import_class_transformer426.Expose)()
|
|
@@ -35069,66 +35070,79 @@ __decorateClass([
|
|
|
35069
35070
|
], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
|
|
35070
35071
|
__decorateClass([
|
|
35071
35072
|
(0, import_class_transformer562.Expose)({ name: "T\xE9cnico" }),
|
|
35073
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35072
35074
|
(0, import_class_validator563.IsDefined)({ message: "El campo T\xE9cnico es obligatorio." }),
|
|
35073
35075
|
(0, import_class_validator563.IsString)()
|
|
35074
35076
|
], TOAOrdenLiquidacionENTITY.prototype, "tecnico", 2);
|
|
35075
35077
|
__decorateClass([
|
|
35076
35078
|
(0, import_class_transformer562.Expose)({ name: "ID Recurso" }),
|
|
35079
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35077
35080
|
(0, import_class_validator563.IsDefined)({ message: "El campo ID Recurso es obligatorio." }),
|
|
35078
35081
|
(0, import_class_validator563.IsString)()
|
|
35079
35082
|
], TOAOrdenLiquidacionENTITY.prototype, "id_recurso", 2);
|
|
35080
35083
|
__decorateClass([
|
|
35081
35084
|
(0, import_class_transformer562.Expose)({ name: "N\xFAmero OT" }),
|
|
35085
|
+
(0, import_class_transformer562.Type)(() => Number),
|
|
35082
35086
|
(0, import_class_validator563.IsDefined)({ message: "El campo N\xFAmero OT es obligatorio." }),
|
|
35083
35087
|
(0, import_class_validator563.IsNumber)()
|
|
35084
35088
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_ot", 2);
|
|
35085
35089
|
__decorateClass([
|
|
35086
35090
|
(0, import_class_transformer562.Expose)({ name: "Subtipo de Actividad" }),
|
|
35091
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35087
35092
|
(0, import_class_validator563.IsDefined)({ message: "El campo Subtipo de Actividad es obligatorio." }),
|
|
35088
35093
|
(0, import_class_validator563.IsString)()
|
|
35089
35094
|
], TOAOrdenLiquidacionENTITY.prototype, "subtipo_de_actividad", 2);
|
|
35090
35095
|
__decorateClass([
|
|
35091
35096
|
(0, import_class_transformer562.Expose)({ name: "N\xFAmero de Petici\xF3n" }),
|
|
35097
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35092
35098
|
(0, import_class_validator563.IsDefined)({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
35093
35099
|
(0, import_class_validator563.IsString)()
|
|
35094
35100
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_de_peticion", 2);
|
|
35095
35101
|
__decorateClass([
|
|
35096
35102
|
(0, import_class_transformer562.Expose)({ name: "Localidad" }),
|
|
35103
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35097
35104
|
(0, import_class_validator563.IsDefined)({ message: "El campo Localidad es obligatorio." }),
|
|
35098
35105
|
(0, import_class_validator563.IsString)()
|
|
35099
35106
|
], TOAOrdenLiquidacionENTITY.prototype, "localidad", 2);
|
|
35100
35107
|
__decorateClass([
|
|
35101
35108
|
(0, import_class_transformer562.Expose)({ name: "Direcci\xF3n" }),
|
|
35109
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35102
35110
|
(0, import_class_validator563.IsDefined)({ message: "El campo Direcci\xF3n es obligatorio." }),
|
|
35103
35111
|
(0, import_class_validator563.IsString)()
|
|
35104
35112
|
], TOAOrdenLiquidacionENTITY.prototype, "direccion", 2);
|
|
35105
35113
|
__decorateClass([
|
|
35106
35114
|
(0, import_class_transformer562.Expose)({ name: "Zona de Trabajo" }),
|
|
35115
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35107
35116
|
(0, import_class_validator563.IsDefined)({ message: "El campo Zona de Trabajo es obligatorio." }),
|
|
35108
35117
|
(0, import_class_validator563.IsString)()
|
|
35109
35118
|
], TOAOrdenLiquidacionENTITY.prototype, "zona_de_trabajo", 2);
|
|
35110
35119
|
__decorateClass([
|
|
35111
35120
|
(0, import_class_transformer562.Expose)({ name: "Nombre Cliente" }),
|
|
35121
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35112
35122
|
(0, import_class_validator563.IsDefined)({ message: "El campo Nombre Cliente es obligatorio." }),
|
|
35113
35123
|
(0, import_class_validator563.IsString)()
|
|
35114
35124
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_cliente", 2);
|
|
35115
35125
|
__decorateClass([
|
|
35116
35126
|
(0, import_class_transformer562.Expose)({ name: "Estado actividad" }),
|
|
35127
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35117
35128
|
(0, import_class_validator563.IsDefined)({ message: "El campo Estado actividad es obligatorio." }),
|
|
35118
35129
|
(0, import_class_validator563.IsString)()
|
|
35119
35130
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
|
|
35120
35131
|
__decorateClass([
|
|
35121
35132
|
(0, import_class_transformer562.Expose)({ name: "C\xF3digo de Cliente" }),
|
|
35133
|
+
(0, import_class_transformer562.Type)(() => Number),
|
|
35122
35134
|
(0, import_class_validator563.IsDefined)({ message: "El campo C\xF3digo de Cliente es obligatorio." }),
|
|
35123
35135
|
(0, import_class_validator563.IsNumber)()
|
|
35124
35136
|
], TOAOrdenLiquidacionENTITY.prototype, "codigo_de_cliente", 2);
|
|
35125
35137
|
__decorateClass([
|
|
35126
35138
|
(0, import_class_transformer562.Expose)({ name: "Actividad Gpon" }),
|
|
35139
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35127
35140
|
(0, import_class_validator563.IsDefined)({ message: "El campo Actividad Gpon es obligatorio." }),
|
|
35128
35141
|
(0, import_class_validator563.IsString)()
|
|
35129
35142
|
], TOAOrdenLiquidacionENTITY.prototype, "actividad_gpon", 2);
|
|
35130
35143
|
__decorateClass([
|
|
35131
35144
|
(0, import_class_transformer562.Expose)({ name: "Nombre Distrito" }),
|
|
35145
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35132
35146
|
(0, import_class_validator563.IsDefined)({ message: "El campo Nombre Distrito es obligatorio." }),
|
|
35133
35147
|
(0, import_class_validator563.IsString)()
|
|
35134
35148
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_distrito", 2);
|
|
@@ -35147,16 +35161,19 @@ __decorateClass([
|
|
|
35147
35161
|
], TOAOrdenLiquidacionENTITY.prototype, "segmento", 2);
|
|
35148
35162
|
__decorateClass([
|
|
35149
35163
|
(0, import_class_transformer562.Expose)({ name: "Nombre de Provincia" }),
|
|
35164
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35150
35165
|
(0, import_class_validator563.IsDefined)({ message: "El campo Nombre de Provincia es obligatorio." }),
|
|
35151
35166
|
(0, import_class_validator563.IsString)()
|
|
35152
35167
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_de_provincia", 2);
|
|
35153
35168
|
__decorateClass([
|
|
35154
35169
|
(0, import_class_transformer562.Expose)({ name: "Departamento" }),
|
|
35170
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35155
35171
|
(0, import_class_validator563.IsDefined)({ message: "El campo Departamento es obligatorio." }),
|
|
35156
35172
|
(0, import_class_validator563.IsString)()
|
|
35157
35173
|
], TOAOrdenLiquidacionENTITY.prototype, "departamento", 2);
|
|
35158
35174
|
__decorateClass([
|
|
35159
35175
|
(0, import_class_transformer562.Expose)({ name: "Reiterada TDI" }),
|
|
35176
|
+
(0, import_class_transformer562.Type)(() => String),
|
|
35160
35177
|
(0, import_class_validator563.IsDefined)({ message: "El campo Reiterada TDI es obligatorio." }),
|
|
35161
35178
|
(0, import_class_validator563.IsString)()
|
|
35162
35179
|
], TOAOrdenLiquidacionENTITY.prototype, "reiterada_tdi", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -23985,6 +23985,7 @@ __decorateClass([
|
|
|
23985
23985
|
// src/logistica/devolucion almacen/shared/index.ts
|
|
23986
23986
|
import {
|
|
23987
23987
|
Expose as Expose424,
|
|
23988
|
+
Transform as Transform52,
|
|
23988
23989
|
Type as Type284
|
|
23989
23990
|
} from "class-transformer";
|
|
23990
23991
|
import {
|
|
@@ -24108,6 +24109,7 @@ __decorateClass([
|
|
|
24108
24109
|
Expose424()
|
|
24109
24110
|
], DevolucionAlmacenENTITY.prototype, "NroGuia", 2);
|
|
24110
24111
|
__decorateClass([
|
|
24112
|
+
Transform52(({ value }) => typeof value === "string" && value.length > 100 ? value.slice(0, 100) : value),
|
|
24111
24113
|
IsString329({ message: "debe ser un texto" }),
|
|
24112
24114
|
Length226(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
24113
24115
|
Expose424()
|
|
@@ -24174,7 +24176,7 @@ __decorateClass([
|
|
|
24174
24176
|
], DevolucionAlmacenENTITY.prototype, "Estado", 2);
|
|
24175
24177
|
|
|
24176
24178
|
// src/logistica/items/shared/index.ts
|
|
24177
|
-
import { Expose as Expose430, Transform as
|
|
24179
|
+
import { Expose as Expose430, Transform as Transform53, Type as Type288 } from "class-transformer";
|
|
24178
24180
|
import { IsArray as IsArray149, IsNotEmpty as IsNotEmpty296, IsNumber as IsNumber284, IsString as IsString335, Length as Length232, Min as Min216, ValidateNested as ValidateNested261, IsBoolean as IsBoolean39 } from "class-validator";
|
|
24179
24181
|
|
|
24180
24182
|
// src/logistica/items/shared/dto/cliente-dto.ts
|
|
@@ -24504,14 +24506,14 @@ __decorateClass([
|
|
|
24504
24506
|
], ItemENTITY.prototype, "Tipo", 2);
|
|
24505
24507
|
__decorateClass([
|
|
24506
24508
|
Expose430(),
|
|
24507
|
-
|
|
24509
|
+
Transform53(({ value }) => Number(value)),
|
|
24508
24510
|
IsNumber284({}, { message: "debe ser un numero" }),
|
|
24509
24511
|
IsNotEmpty296({ message: "es requerido" }),
|
|
24510
24512
|
Min216(0, { message: "el valor m\xEDnimo es 0" })
|
|
24511
24513
|
], ItemENTITY.prototype, "Valor", 2);
|
|
24512
24514
|
__decorateClass([
|
|
24513
24515
|
Expose430(),
|
|
24514
|
-
|
|
24516
|
+
Transform53(({ value }) => Number(value)),
|
|
24515
24517
|
IsNumber284({}, { message: "debe ser un numero" }),
|
|
24516
24518
|
IsNotEmpty296({ message: "es requerido" }),
|
|
24517
24519
|
Min216(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -24884,7 +24886,7 @@ __decorateClass([
|
|
|
24884
24886
|
], StockAlmacenEquiposENTITY.prototype, "Equipos", 2);
|
|
24885
24887
|
|
|
24886
24888
|
// src/logistica/transaccion folios/shared/index.ts
|
|
24887
|
-
import { Transform as
|
|
24889
|
+
import { Transform as Transform54, Expose as Expose437, Type as Type292 } from "class-transformer";
|
|
24888
24890
|
|
|
24889
24891
|
// src/logistica/transaccion folios/shared/dto/transacciones-dto.ts
|
|
24890
24892
|
import { Expose as Expose436 } from "class-transformer";
|
|
@@ -24966,21 +24968,21 @@ __decorateClass([
|
|
|
24966
24968
|
Expose437()
|
|
24967
24969
|
], TransaccionFoliosENTITY.prototype, "Vigencia_Final", 2);
|
|
24968
24970
|
__decorateClass([
|
|
24969
|
-
|
|
24971
|
+
Transform54(({ value }) => Number(value)),
|
|
24970
24972
|
IsDefined128({ message: "El campo FolioInicial es obligatorio" }),
|
|
24971
24973
|
Expose437(),
|
|
24972
24974
|
IsNumber290({}, { message: "debe ser un numero" }),
|
|
24973
24975
|
Min222(1, { message: "el valor m\xEDnimo es 1" })
|
|
24974
24976
|
], TransaccionFoliosENTITY.prototype, "FolioInicial", 2);
|
|
24975
24977
|
__decorateClass([
|
|
24976
|
-
|
|
24978
|
+
Transform54(({ value }) => Number(value)),
|
|
24977
24979
|
IsDefined128({ message: "El campo FolioFinal es obligatorio" }),
|
|
24978
24980
|
Expose437(),
|
|
24979
24981
|
IsNumber290({}, { message: "debe ser un numero" }),
|
|
24980
24982
|
Min222(1, { message: "el valor m\xEDnimo es 1" })
|
|
24981
24983
|
], TransaccionFoliosENTITY.prototype, "FolioFinal", 2);
|
|
24982
24984
|
__decorateClass([
|
|
24983
|
-
|
|
24985
|
+
Transform54(({ value }) => Number(value)),
|
|
24984
24986
|
IsDefined128({ message: "El campo NumeroInterno es obligatorio" }),
|
|
24985
24987
|
Expose437(),
|
|
24986
24988
|
IsNumber290({}, { message: "debe ser un numero" }),
|
|
@@ -25310,7 +25312,7 @@ __decorateClass([
|
|
|
25310
25312
|
], BodegaENTITY.prototype, "Bitacora", 2);
|
|
25311
25313
|
|
|
25312
25314
|
// src/logistica/autoinventario/shared/index.ts
|
|
25313
|
-
import { Expose as Expose446, Transform as
|
|
25315
|
+
import { Expose as Expose446, Transform as Transform55, Type as Type298 } from "class-transformer";
|
|
25314
25316
|
|
|
25315
25317
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
25316
25318
|
import { Expose as Expose445 } from "class-transformer";
|
|
@@ -25415,7 +25417,7 @@ __decorateClass([
|
|
|
25415
25417
|
Expose446()
|
|
25416
25418
|
], AutoInventarioENTITY.prototype, "Observacion", 2);
|
|
25417
25419
|
__decorateClass([
|
|
25418
|
-
|
|
25420
|
+
Transform55(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
25419
25421
|
IsDate106({ message: "debe ser una fecha" }),
|
|
25420
25422
|
IsNotEmpty310({ message: "es requerido" }),
|
|
25421
25423
|
Expose446()
|
|
@@ -25635,7 +25637,7 @@ __decorateClass([
|
|
|
25635
25637
|
], TipoStockENTITY.prototype, "Delegacion", 2);
|
|
25636
25638
|
|
|
25637
25639
|
// src/logistica/almacen extra/shared/index.ts
|
|
25638
|
-
import { Expose as Expose451, Transform as
|
|
25640
|
+
import { Expose as Expose451, Transform as Transform56, Type as Type303 } from "class-transformer";
|
|
25639
25641
|
import { IsNotEmpty as IsNotEmpty315, IsNumber as IsNumber301, IsString as IsString353, Length as Length248, Min as Min233, ValidateNested as ValidateNested276 } from "class-validator";
|
|
25640
25642
|
var AlmacenExtraENTITY = class {
|
|
25641
25643
|
ID_AlmacenExtra = 0;
|
|
@@ -25708,13 +25710,13 @@ __decorateClass([
|
|
|
25708
25710
|
Expose451()
|
|
25709
25711
|
], AlmacenExtraENTITY.prototype, "Country", 2);
|
|
25710
25712
|
__decorateClass([
|
|
25711
|
-
|
|
25713
|
+
Transform56(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
25712
25714
|
IsNumber301({}, { message: "debe ser una coordenada" }),
|
|
25713
25715
|
IsNotEmpty315({ message: "es requerido" }),
|
|
25714
25716
|
Expose451()
|
|
25715
25717
|
], AlmacenExtraENTITY.prototype, "Latitude", 2);
|
|
25716
25718
|
__decorateClass([
|
|
25717
|
-
|
|
25719
|
+
Transform56(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
25718
25720
|
IsNumber301({}, { message: "debe ser una coordenada" }),
|
|
25719
25721
|
IsNotEmpty315({ message: "es requerido" }),
|
|
25720
25722
|
Expose451()
|
|
@@ -26010,7 +26012,7 @@ __decorateClass([
|
|
|
26010
26012
|
], RecursosPersonalDTO.prototype, "InicioActividad", 2);
|
|
26011
26013
|
|
|
26012
26014
|
// src/configuracion/personal/shared/index.ts
|
|
26013
|
-
import { Expose as Expose460, Transform as
|
|
26015
|
+
import { Expose as Expose460, Transform as Transform57, Type as Type309 } from "class-transformer";
|
|
26014
26016
|
import {
|
|
26015
26017
|
ArrayNotEmpty as ArrayNotEmpty5,
|
|
26016
26018
|
IsArray as IsArray161,
|
|
@@ -26113,7 +26115,7 @@ __decorateClass([
|
|
|
26113
26115
|
ValidateNested281()
|
|
26114
26116
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
26115
26117
|
__decorateClass([
|
|
26116
|
-
|
|
26118
|
+
Transform57(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
26117
26119
|
IsString361({ message: "debe ser un texto" }),
|
|
26118
26120
|
IsNotEmpty321({ message: "es requerido" }),
|
|
26119
26121
|
Length253(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
@@ -27193,7 +27195,7 @@ __decorateClass([
|
|
|
27193
27195
|
], ContratistasDTO.prototype, "Estado", 2);
|
|
27194
27196
|
|
|
27195
27197
|
// src/configuracion/usuarios/shared/index.ts
|
|
27196
|
-
import { Expose as Expose483, Transform as
|
|
27198
|
+
import { Expose as Expose483, Transform as Transform58, Type as Type325 } from "class-transformer";
|
|
27197
27199
|
import { IsArray as IsArray168, IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty341, IsNumber as IsNumber321, IsString as IsString383, Length as Length274, Min as Min250, ValidateNested as ValidateNested291, IsEmail as IsEmail3, IsEnum as IsEnum10 } from "class-validator";
|
|
27198
27200
|
var UsuarioENTITY = class {
|
|
27199
27201
|
IdUsuario = 0;
|
|
@@ -27271,7 +27273,7 @@ __decorateClass([
|
|
|
27271
27273
|
ValidateNested291()
|
|
27272
27274
|
], UsuarioENTITY.prototype, "TipoDocumento", 2);
|
|
27273
27275
|
__decorateClass([
|
|
27274
|
-
|
|
27276
|
+
Transform58(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
27275
27277
|
IsString383({ message: "debe ser un texto" }),
|
|
27276
27278
|
IsNotEmpty341({ message: "es requerido" }),
|
|
27277
27279
|
Length274(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
@@ -27421,7 +27423,7 @@ __decorateClass([
|
|
|
27421
27423
|
], UsuarioENTITY.prototype, "Contratistas", 2);
|
|
27422
27424
|
|
|
27423
27425
|
// src/configuracion/tipo opcion sistema/shared/index.ts
|
|
27424
|
-
import { Expose as Expose484, Transform as
|
|
27426
|
+
import { Expose as Expose484, Transform as Transform59, Type as Type326 } from "class-transformer";
|
|
27425
27427
|
import { IsDefined as IsDefined133, IsNumber as IsNumber322, IsString as IsString384, Length as Length275, Min as Min251, ValidateNested as ValidateNested292 } from "class-validator";
|
|
27426
27428
|
var TipoOpcionSistemaENTITY = class {
|
|
27427
27429
|
IdTipoOpcion = 0;
|
|
@@ -27450,7 +27452,7 @@ __decorateClass([
|
|
|
27450
27452
|
], TipoOpcionSistemaENTITY.prototype, "Descripcion", 2);
|
|
27451
27453
|
__decorateClass([
|
|
27452
27454
|
IsDefined133({ message: "El campo Padre es obligatorio" }),
|
|
27453
|
-
|
|
27455
|
+
Transform59(({ value }) => Number(value)),
|
|
27454
27456
|
Expose484(),
|
|
27455
27457
|
IsNumber322({}, { message: "debe ser un numero" }),
|
|
27456
27458
|
Min251(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -27549,7 +27551,7 @@ __decorateClass([
|
|
|
27549
27551
|
import { IsDate as IsDate116, IsEnum as IsEnum12, IsNotEmpty as IsNotEmpty345, IsString as IsString388, Length as Length279, ValidateNested as ValidateNested294 } from "class-validator";
|
|
27550
27552
|
|
|
27551
27553
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
27552
|
-
import { Expose as Expose487, Transform as
|
|
27554
|
+
import { Expose as Expose487, Transform as Transform60 } from "class-transformer";
|
|
27553
27555
|
import { IsDate as IsDate115, IsEnum as IsEnum11, IsNotEmpty as IsNotEmpty344, IsString as IsString387, Length as Length278 } from "class-validator";
|
|
27554
27556
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
27555
27557
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -27580,7 +27582,7 @@ __decorateClass([
|
|
|
27580
27582
|
Expose487()
|
|
27581
27583
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
27582
27584
|
__decorateClass([
|
|
27583
|
-
|
|
27585
|
+
Transform60(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
27584
27586
|
IsDate115({ message: "debe ser una fecha" }),
|
|
27585
27587
|
IsNotEmpty344({ message: "es requerido" }),
|
|
27586
27588
|
Expose487()
|
|
@@ -27592,7 +27594,7 @@ __decorateClass([
|
|
|
27592
27594
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
27593
27595
|
|
|
27594
27596
|
// src/configuracion/notificaciones/shared/index.ts
|
|
27595
|
-
import { Expose as Expose488, Transform as
|
|
27597
|
+
import { Expose as Expose488, Transform as Transform61, Type as Type328 } from "class-transformer";
|
|
27596
27598
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
27597
27599
|
TipoNotificacion2["INFO"] = "info";
|
|
27598
27600
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -27635,7 +27637,7 @@ __decorateClass([
|
|
|
27635
27637
|
Expose488()
|
|
27636
27638
|
], NotificacionesENTITY.prototype, "titulo", 2);
|
|
27637
27639
|
__decorateClass([
|
|
27638
|
-
|
|
27640
|
+
Transform61(({ value }) => typeof value === "string" ? value.substring(0, 400) : value),
|
|
27639
27641
|
IsString388({ message: "debe ser un texto" }),
|
|
27640
27642
|
Length279(1, 400, { message: "debe tener entre 1 y 400 caracteres" }),
|
|
27641
27643
|
Expose488()
|
|
@@ -27657,13 +27659,13 @@ __decorateClass([
|
|
|
27657
27659
|
ValidateNested294()
|
|
27658
27660
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
27659
27661
|
__decorateClass([
|
|
27660
|
-
|
|
27662
|
+
Transform61(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
27661
27663
|
IsDate116({ message: "debe ser una fecha" }),
|
|
27662
27664
|
IsNotEmpty345({ message: "es requerido" }),
|
|
27663
27665
|
Expose488()
|
|
27664
27666
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
27665
27667
|
__decorateClass([
|
|
27666
|
-
|
|
27668
|
+
Transform61(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
27667
27669
|
IsDate116({ message: "debe ser una fecha" }),
|
|
27668
27670
|
IsNotEmpty345({ message: "es requerido" }),
|
|
27669
27671
|
Expose488()
|
|
@@ -28027,7 +28029,7 @@ __decorateClass([
|
|
|
28027
28029
|
], EmpresaValDTO.prototype, "TipoEmpresa", 2);
|
|
28028
28030
|
|
|
28029
28031
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
28030
|
-
import { Expose as Expose497, Transform as
|
|
28032
|
+
import { Expose as Expose497, Transform as Transform62 } from "class-transformer";
|
|
28031
28033
|
import { IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty351, IsNumber as IsNumber328, IsOptional as IsOptional20, IsString as IsString397, Length as Length286, Min as Min257 } from "class-validator";
|
|
28032
28034
|
var InventarioValDTO = class {
|
|
28033
28035
|
Descripcion = "";
|
|
@@ -28066,7 +28068,7 @@ __decorateClass([
|
|
|
28066
28068
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
28067
28069
|
__decorateClass([
|
|
28068
28070
|
IsString397({ message: "debe ser un texto" }),
|
|
28069
|
-
|
|
28071
|
+
Transform62(({ value }) => value ? String(value) : value),
|
|
28070
28072
|
Length286(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
28071
28073
|
Expose497(),
|
|
28072
28074
|
IsOptional20()
|
|
@@ -28508,7 +28510,7 @@ __decorateClass([
|
|
|
28508
28510
|
], ProductosServiciosLiqDTO.prototype, "Cantidad", 2);
|
|
28509
28511
|
|
|
28510
28512
|
// src/operativa/procesos/liquidadas_toa/shared/dto/inventario-liq-dto.ts
|
|
28511
|
-
import { Expose as Expose502, Transform as
|
|
28513
|
+
import { Expose as Expose502, Transform as Transform63 } from "class-transformer";
|
|
28512
28514
|
import { IsEnum as IsEnum15, IsNotEmpty as IsNotEmpty356, IsNumber as IsNumber333, IsString as IsString402, Length as Length291, Min as Min262 } from "class-validator";
|
|
28513
28515
|
var InventarioLiqDTO = class {
|
|
28514
28516
|
Descripcion = "";
|
|
@@ -28545,7 +28547,7 @@ __decorateClass([
|
|
|
28545
28547
|
], InventarioLiqDTO.prototype, "CodigoSAP", 2);
|
|
28546
28548
|
__decorateClass([
|
|
28547
28549
|
IsString402({ message: "debe ser un texto" }),
|
|
28548
|
-
|
|
28550
|
+
Transform63(({ value }) => value ? String(value) : value),
|
|
28549
28551
|
Length291(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
28550
28552
|
Expose502()
|
|
28551
28553
|
], InventarioLiqDTO.prototype, "NumeroSerie", 2);
|
|
@@ -29991,7 +29993,7 @@ var ISheetsJsonChileTdC = class {
|
|
|
29991
29993
|
};
|
|
29992
29994
|
|
|
29993
29995
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
29994
|
-
import { Expose as Expose531, Transform as
|
|
29996
|
+
import { Expose as Expose531, Transform as Transform65, Type as Type346 } from "class-transformer";
|
|
29995
29997
|
import { IsNotEmpty as IsNotEmpty371, IsNumber as IsNumber346, IsString as IsString428, Length as Length315, Min as Min272, IsDate as IsDate124, ValidateNested as ValidateNested307, IsEnum as IsEnum17, IsDefined as IsDefined139, IsArray as IsArray174 } from "class-validator";
|
|
29996
29998
|
|
|
29997
29999
|
// src/operativa/procesos/toa_claro/shared/dto/direccion toa dto.ts
|
|
@@ -30331,7 +30333,7 @@ __decorateClass([
|
|
|
30331
30333
|
Expose531()
|
|
30332
30334
|
], ToaClaroENTITY.prototype, "ID_ToaClaro", 2);
|
|
30333
30335
|
__decorateClass([
|
|
30334
|
-
|
|
30336
|
+
Transform65(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
30335
30337
|
IsEnum17(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
|
30336
30338
|
Expose531()
|
|
30337
30339
|
], ToaClaroENTITY.prototype, "Sistema", 2);
|
|
@@ -30668,7 +30670,7 @@ import { IsArray as IsArray175, IsDefined as IsDefined142, IsString as IsString4
|
|
|
30668
30670
|
import { Expose as Expose534, Type as Type347 } from "class-transformer";
|
|
30669
30671
|
|
|
30670
30672
|
// src/operativa/procesos/toa_claro/data_scraper/dto/items-orden-scraper-claro-vtr-dto.ts
|
|
30671
|
-
import { Expose as Expose532, Transform as
|
|
30673
|
+
import { Expose as Expose532, Transform as Transform66 } from "class-transformer";
|
|
30672
30674
|
import { IsDefined as IsDefined140, IsNumber as IsNumber347, IsString as IsString429 } from "class-validator";
|
|
30673
30675
|
var ItemsOrdenScraperClaroVTRDTO = class {
|
|
30674
30676
|
id = "";
|
|
@@ -30712,7 +30714,7 @@ __decorateClass([
|
|
|
30712
30714
|
IsNumber347({}, { message: "El campo cantidad debe ser un n\xFAmero" })
|
|
30713
30715
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "cantidad", 2);
|
|
30714
30716
|
__decorateClass([
|
|
30715
|
-
|
|
30717
|
+
Transform66(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
30716
30718
|
Expose532(),
|
|
30717
30719
|
IsDefined140({ message: "El campo ServiceId es requerido" }),
|
|
30718
30720
|
IsString429({ message: "El campo ServiceId debe ser una cadena de texto" })
|
|
@@ -30723,7 +30725,7 @@ __decorateClass([
|
|
|
30723
30725
|
IsString429({ message: "El campo estado debe ser una cadena de texto" })
|
|
30724
30726
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "estado", 2);
|
|
30725
30727
|
__decorateClass([
|
|
30726
|
-
|
|
30728
|
+
Transform66(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
30727
30729
|
Expose532(),
|
|
30728
30730
|
IsDefined140({ message: "El campo serial es requerido" }),
|
|
30729
30731
|
IsString429({ message: "El campo serial debe ser una cadena de texto" })
|
|
@@ -32350,10 +32352,10 @@ __decorateClass([
|
|
|
32350
32352
|
], Peru9112TOAENTITY.prototype, "EECC", 2);
|
|
32351
32353
|
|
|
32352
32354
|
// src/operativa/procesos/onnet_fibra/shared/index.ts
|
|
32353
|
-
import { Expose as Expose547, Transform as
|
|
32355
|
+
import { Expose as Expose547, Transform as Transform71, Type as Type353 } from "class-transformer";
|
|
32354
32356
|
|
|
32355
32357
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
32356
|
-
import { Expose as Expose539, Transform as
|
|
32358
|
+
import { Expose as Expose539, Transform as Transform67 } from "class-transformer";
|
|
32357
32359
|
import { IsDate as IsDate128, IsDefined as IsDefined147, IsNumber as IsNumber353, IsOptional as IsOptional23, IsString as IsString436 } from "class-validator";
|
|
32358
32360
|
|
|
32359
32361
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
@@ -32421,14 +32423,14 @@ __decorateClass([
|
|
|
32421
32423
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
32422
32424
|
__decorateClass([
|
|
32423
32425
|
IsOptional23(),
|
|
32424
|
-
|
|
32426
|
+
Transform67(({ value }) => value ? String(value) : ""),
|
|
32425
32427
|
IsString436({ message: "El campo lt debe ser una cadena de texto" }),
|
|
32426
32428
|
Expose539()
|
|
32427
32429
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
32428
32430
|
__decorateClass([
|
|
32429
32431
|
IsOptional23(),
|
|
32430
32432
|
IsNumber353({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
32431
|
-
|
|
32433
|
+
Transform67(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
32432
32434
|
Expose539()
|
|
32433
32435
|
], BitacoraDeOrdenesDTO.prototype, "id_orden_mantenimiento_anexo", 2);
|
|
32434
32436
|
__decorateClass([
|
|
@@ -32439,7 +32441,7 @@ __decorateClass([
|
|
|
32439
32441
|
__decorateClass([
|
|
32440
32442
|
IsOptional23(),
|
|
32441
32443
|
IsNumber353({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
32442
|
-
|
|
32444
|
+
Transform67(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
32443
32445
|
Expose539()
|
|
32444
32446
|
], BitacoraDeOrdenesDTO.prototype, "cantidad_clientes_afectados", 2);
|
|
32445
32447
|
__decorateClass([
|
|
@@ -32475,13 +32477,13 @@ __decorateClass([
|
|
|
32475
32477
|
__decorateClass([
|
|
32476
32478
|
IsOptional23(),
|
|
32477
32479
|
IsString436({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
32478
|
-
|
|
32480
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32479
32481
|
Expose539()
|
|
32480
32482
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
32481
32483
|
__decorateClass([
|
|
32482
32484
|
IsOptional23(),
|
|
32483
32485
|
IsString436({ message: "El campo olt debe ser una cadena de texto" }),
|
|
32484
|
-
|
|
32486
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32485
32487
|
Expose539()
|
|
32486
32488
|
], BitacoraDeOrdenesDTO.prototype, "olt", 2);
|
|
32487
32489
|
__decorateClass([
|
|
@@ -32536,7 +32538,7 @@ __decorateClass([
|
|
|
32536
32538
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
32537
32539
|
__decorateClass([
|
|
32538
32540
|
IsOptional23(),
|
|
32539
|
-
|
|
32541
|
+
Transform67(({ value }) => formatDateOnnetFibra(value)),
|
|
32540
32542
|
IsDate128({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
32541
32543
|
Expose539()
|
|
32542
32544
|
], BitacoraDeOrdenesDTO.prototype, "fecha_instalacion", 2);
|
|
@@ -32558,7 +32560,7 @@ __decorateClass([
|
|
|
32558
32560
|
__decorateClass([
|
|
32559
32561
|
IsOptional23(),
|
|
32560
32562
|
IsString436({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
32561
|
-
|
|
32563
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32562
32564
|
Expose539()
|
|
32563
32565
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
32564
32566
|
__decorateClass([
|
|
@@ -32568,20 +32570,20 @@ __decorateClass([
|
|
|
32568
32570
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
32569
32571
|
__decorateClass([
|
|
32570
32572
|
IsOptional23({ message: "El campo cliente es opcional" }),
|
|
32571
|
-
|
|
32573
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32572
32574
|
IsString436({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
32573
32575
|
Expose539()
|
|
32574
32576
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
32575
32577
|
__decorateClass([
|
|
32576
32578
|
IsOptional23({ message: "El campo comuna es opcional" }),
|
|
32577
|
-
|
|
32579
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32578
32580
|
IsString436({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
32579
32581
|
Expose539()
|
|
32580
32582
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
32581
32583
|
__decorateClass([
|
|
32582
32584
|
IsOptional23({ message: "El campo pep es opcional" }),
|
|
32583
32585
|
IsString436({ message: "El campo pep debe ser una cadena de texto" }),
|
|
32584
|
-
|
|
32586
|
+
Transform67(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32585
32587
|
Expose539()
|
|
32586
32588
|
], BitacoraDeOrdenesDTO.prototype, "pep", 2);
|
|
32587
32589
|
__decorateClass([
|
|
@@ -32611,7 +32613,7 @@ __decorateClass([
|
|
|
32611
32613
|
__decorateClass([
|
|
32612
32614
|
IsOptional23(),
|
|
32613
32615
|
IsNumber353({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
32614
|
-
|
|
32616
|
+
Transform67(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
32615
32617
|
Expose539()
|
|
32616
32618
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
32617
32619
|
__decorateClass([
|
|
@@ -32626,7 +32628,7 @@ __decorateClass([
|
|
|
32626
32628
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
32627
32629
|
|
|
32628
32630
|
// src/operativa/procesos/onnet_fibra/shared/dto/estado_de_pago.ts
|
|
32629
|
-
import { Expose as Expose540, Transform as
|
|
32631
|
+
import { Expose as Expose540, Transform as Transform68 } from "class-transformer";
|
|
32630
32632
|
import { IsDate as IsDate129, IsDefined as IsDefined148, IsNumber as IsNumber354, IsString as IsString437 } from "class-validator";
|
|
32631
32633
|
var EstadoDePagoDTO = class {
|
|
32632
32634
|
capacidad_cable = "";
|
|
@@ -32654,7 +32656,7 @@ __decorateClass([
|
|
|
32654
32656
|
Expose540()
|
|
32655
32657
|
], EstadoDePagoDTO.prototype, "estado", 2);
|
|
32656
32658
|
__decorateClass([
|
|
32657
|
-
|
|
32659
|
+
Transform68(({ value }) => formatDateOnnetFibra(value)),
|
|
32658
32660
|
IsDate129({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
32659
32661
|
Expose540()
|
|
32660
32662
|
], EstadoDePagoDTO.prototype, "fecha_crea", 2);
|
|
@@ -32669,7 +32671,7 @@ __decorateClass([
|
|
|
32669
32671
|
Expose540()
|
|
32670
32672
|
], EstadoDePagoDTO.prototype, "id_orden_mantenimiento", 2);
|
|
32671
32673
|
__decorateClass([
|
|
32672
|
-
|
|
32674
|
+
Transform68(({ value }) => formatDateOnnetFibra(value)),
|
|
32673
32675
|
IsDate129({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
32674
32676
|
Expose540()
|
|
32675
32677
|
], EstadoDePagoDTO.prototype, "fecha_validador", 2);
|
|
@@ -32774,7 +32776,7 @@ import { Expose as Expose545, Type as Type352 } from "class-transformer";
|
|
|
32774
32776
|
import { IsArray as IsArray179, IsDefined as IsDefined153, IsString as IsString442, ValidateNested as ValidateNested313 } from "class-validator";
|
|
32775
32777
|
|
|
32776
32778
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
32777
|
-
import { Expose as Expose542, Transform as
|
|
32779
|
+
import { Expose as Expose542, Transform as Transform69, Type as Type351 } from "class-transformer";
|
|
32778
32780
|
import { IsDefined as IsDefined150, IsNumber as IsNumber356, IsOptional as IsOptional24, IsString as IsString439 } from "class-validator";
|
|
32779
32781
|
var DetalleOrdenRealDTO = class {
|
|
32780
32782
|
descripcion = "";
|
|
@@ -32792,25 +32794,25 @@ var DetalleOrdenRealDTO = class {
|
|
|
32792
32794
|
__decorateClass([
|
|
32793
32795
|
IsDefined150({ message: "El campo descripcion es requerido" }),
|
|
32794
32796
|
IsString439({ message: "El campo descripcion debe ser una cadena de texto" }),
|
|
32795
|
-
|
|
32797
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32796
32798
|
Expose542()
|
|
32797
32799
|
], DetalleOrdenRealDTO.prototype, "descripcion", 2);
|
|
32798
32800
|
__decorateClass([
|
|
32799
32801
|
IsDefined150({ message: "El campo tipo es requerido" }),
|
|
32800
32802
|
IsString439({ message: "El campo tipo debe ser una cadena de texto" }),
|
|
32801
|
-
|
|
32803
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32802
32804
|
Expose542()
|
|
32803
32805
|
], DetalleOrdenRealDTO.prototype, "tipo", 2);
|
|
32804
32806
|
__decorateClass([
|
|
32805
32807
|
IsDefined150({ message: "El campo tipo_material es requerido" }),
|
|
32806
32808
|
IsString439({ message: "El campo tipo_material debe ser una cadena de texto" }),
|
|
32807
|
-
|
|
32809
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32808
32810
|
Expose542()
|
|
32809
32811
|
], DetalleOrdenRealDTO.prototype, "tipo_material", 2);
|
|
32810
32812
|
__decorateClass([
|
|
32811
32813
|
IsDefined150({ message: "El campo codigo es requerido" }),
|
|
32812
32814
|
IsString439({ message: "El campo codigo debe ser una cadena de texto" }),
|
|
32813
|
-
|
|
32815
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32814
32816
|
Expose542()
|
|
32815
32817
|
], DetalleOrdenRealDTO.prototype, "codigo", 2);
|
|
32816
32818
|
__decorateClass([
|
|
@@ -32824,12 +32826,12 @@ __decorateClass([
|
|
|
32824
32826
|
__decorateClass([
|
|
32825
32827
|
IsOptional24({ message: "El campo tecnico es requerido" }),
|
|
32826
32828
|
IsString439({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
32827
|
-
|
|
32829
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32828
32830
|
Expose542()
|
|
32829
32831
|
], DetalleOrdenRealDTO.prototype, "tecnico", 2);
|
|
32830
32832
|
__decorateClass([
|
|
32831
32833
|
IsString439({ message: "El campo unidad debe ser una cadena de texto" }),
|
|
32832
|
-
|
|
32834
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32833
32835
|
Expose542()
|
|
32834
32836
|
], DetalleOrdenRealDTO.prototype, "unidad", 2);
|
|
32835
32837
|
__decorateClass([
|
|
@@ -32839,18 +32841,18 @@ __decorateClass([
|
|
|
32839
32841
|
__decorateClass([
|
|
32840
32842
|
IsOptional24({ message: "El campo contrato es opcional" }),
|
|
32841
32843
|
IsString439({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
32842
|
-
|
|
32844
|
+
Transform69(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
32843
32845
|
Expose542()
|
|
32844
32846
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
32845
32847
|
__decorateClass([
|
|
32846
32848
|
Type351(() => CodigoNombreDTO),
|
|
32847
32849
|
IsOptional24(),
|
|
32848
|
-
|
|
32850
|
+
Transform69(({ value }) => value ?? new CodigoNombreDTO()),
|
|
32849
32851
|
Expose542()
|
|
32850
32852
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
32851
32853
|
|
|
32852
32854
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/orden_detail_maintenance.ts
|
|
32853
|
-
import { Expose as Expose543, Transform as
|
|
32855
|
+
import { Expose as Expose543, Transform as Transform70 } from "class-transformer";
|
|
32854
32856
|
import { IsDate as IsDate130, IsDefined as IsDefined151, IsNumber as IsNumber357, IsString as IsString440 } from "class-validator";
|
|
32855
32857
|
var OrdenDetailMaintenanceDTO = class {
|
|
32856
32858
|
tipo = "";
|
|
@@ -32901,7 +32903,7 @@ __decorateClass([
|
|
|
32901
32903
|
Expose543()
|
|
32902
32904
|
], OrdenDetailMaintenanceDTO.prototype, "estado", 2);
|
|
32903
32905
|
__decorateClass([
|
|
32904
|
-
|
|
32906
|
+
Transform70(({ value }) => formatDateOnnetFibra(value)),
|
|
32905
32907
|
IsDate130({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
32906
32908
|
Expose543()
|
|
32907
32909
|
], OrdenDetailMaintenanceDTO.prototype, "fecha_crea", 2);
|
|
@@ -33256,12 +33258,12 @@ __decorateClass([
|
|
|
33256
33258
|
Expose547()
|
|
33257
33259
|
], OnnetFibraENTITY.prototype, "LlaveRegla", 2);
|
|
33258
33260
|
__decorateClass([
|
|
33259
|
-
|
|
33261
|
+
Transform71(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
33260
33262
|
IsNumber360({}, { message: "El campo MO debe ser numero" }),
|
|
33261
33263
|
Expose547()
|
|
33262
33264
|
], OnnetFibraENTITY.prototype, "MO", 2);
|
|
33263
33265
|
__decorateClass([
|
|
33264
|
-
|
|
33266
|
+
Transform71(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
33265
33267
|
IsNumber360({}, { message: "El campo PB debe ser numero" }),
|
|
33266
33268
|
Expose547()
|
|
33267
33269
|
], OnnetFibraENTITY.prototype, "PB", 2);
|
|
@@ -34718,66 +34720,79 @@ __decorateClass([
|
|
|
34718
34720
|
], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
|
|
34719
34721
|
__decorateClass([
|
|
34720
34722
|
Expose560({ name: "T\xE9cnico" }),
|
|
34723
|
+
Type365(() => String),
|
|
34721
34724
|
IsDefined168({ message: "El campo T\xE9cnico es obligatorio." }),
|
|
34722
34725
|
IsString456()
|
|
34723
34726
|
], TOAOrdenLiquidacionENTITY.prototype, "tecnico", 2);
|
|
34724
34727
|
__decorateClass([
|
|
34725
34728
|
Expose560({ name: "ID Recurso" }),
|
|
34729
|
+
Type365(() => String),
|
|
34726
34730
|
IsDefined168({ message: "El campo ID Recurso es obligatorio." }),
|
|
34727
34731
|
IsString456()
|
|
34728
34732
|
], TOAOrdenLiquidacionENTITY.prototype, "id_recurso", 2);
|
|
34729
34733
|
__decorateClass([
|
|
34730
34734
|
Expose560({ name: "N\xFAmero OT" }),
|
|
34735
|
+
Type365(() => Number),
|
|
34731
34736
|
IsDefined168({ message: "El campo N\xFAmero OT es obligatorio." }),
|
|
34732
34737
|
IsNumber372()
|
|
34733
34738
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_ot", 2);
|
|
34734
34739
|
__decorateClass([
|
|
34735
34740
|
Expose560({ name: "Subtipo de Actividad" }),
|
|
34741
|
+
Type365(() => String),
|
|
34736
34742
|
IsDefined168({ message: "El campo Subtipo de Actividad es obligatorio." }),
|
|
34737
34743
|
IsString456()
|
|
34738
34744
|
], TOAOrdenLiquidacionENTITY.prototype, "subtipo_de_actividad", 2);
|
|
34739
34745
|
__decorateClass([
|
|
34740
34746
|
Expose560({ name: "N\xFAmero de Petici\xF3n" }),
|
|
34747
|
+
Type365(() => String),
|
|
34741
34748
|
IsDefined168({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
34742
34749
|
IsString456()
|
|
34743
34750
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_de_peticion", 2);
|
|
34744
34751
|
__decorateClass([
|
|
34745
34752
|
Expose560({ name: "Localidad" }),
|
|
34753
|
+
Type365(() => String),
|
|
34746
34754
|
IsDefined168({ message: "El campo Localidad es obligatorio." }),
|
|
34747
34755
|
IsString456()
|
|
34748
34756
|
], TOAOrdenLiquidacionENTITY.prototype, "localidad", 2);
|
|
34749
34757
|
__decorateClass([
|
|
34750
34758
|
Expose560({ name: "Direcci\xF3n" }),
|
|
34759
|
+
Type365(() => String),
|
|
34751
34760
|
IsDefined168({ message: "El campo Direcci\xF3n es obligatorio." }),
|
|
34752
34761
|
IsString456()
|
|
34753
34762
|
], TOAOrdenLiquidacionENTITY.prototype, "direccion", 2);
|
|
34754
34763
|
__decorateClass([
|
|
34755
34764
|
Expose560({ name: "Zona de Trabajo" }),
|
|
34765
|
+
Type365(() => String),
|
|
34756
34766
|
IsDefined168({ message: "El campo Zona de Trabajo es obligatorio." }),
|
|
34757
34767
|
IsString456()
|
|
34758
34768
|
], TOAOrdenLiquidacionENTITY.prototype, "zona_de_trabajo", 2);
|
|
34759
34769
|
__decorateClass([
|
|
34760
34770
|
Expose560({ name: "Nombre Cliente" }),
|
|
34771
|
+
Type365(() => String),
|
|
34761
34772
|
IsDefined168({ message: "El campo Nombre Cliente es obligatorio." }),
|
|
34762
34773
|
IsString456()
|
|
34763
34774
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_cliente", 2);
|
|
34764
34775
|
__decorateClass([
|
|
34765
34776
|
Expose560({ name: "Estado actividad" }),
|
|
34777
|
+
Type365(() => String),
|
|
34766
34778
|
IsDefined168({ message: "El campo Estado actividad es obligatorio." }),
|
|
34767
34779
|
IsString456()
|
|
34768
34780
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
|
|
34769
34781
|
__decorateClass([
|
|
34770
34782
|
Expose560({ name: "C\xF3digo de Cliente" }),
|
|
34783
|
+
Type365(() => Number),
|
|
34771
34784
|
IsDefined168({ message: "El campo C\xF3digo de Cliente es obligatorio." }),
|
|
34772
34785
|
IsNumber372()
|
|
34773
34786
|
], TOAOrdenLiquidacionENTITY.prototype, "codigo_de_cliente", 2);
|
|
34774
34787
|
__decorateClass([
|
|
34775
34788
|
Expose560({ name: "Actividad Gpon" }),
|
|
34789
|
+
Type365(() => String),
|
|
34776
34790
|
IsDefined168({ message: "El campo Actividad Gpon es obligatorio." }),
|
|
34777
34791
|
IsString456()
|
|
34778
34792
|
], TOAOrdenLiquidacionENTITY.prototype, "actividad_gpon", 2);
|
|
34779
34793
|
__decorateClass([
|
|
34780
34794
|
Expose560({ name: "Nombre Distrito" }),
|
|
34795
|
+
Type365(() => String),
|
|
34781
34796
|
IsDefined168({ message: "El campo Nombre Distrito es obligatorio." }),
|
|
34782
34797
|
IsString456()
|
|
34783
34798
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_distrito", 2);
|
|
@@ -34796,16 +34811,19 @@ __decorateClass([
|
|
|
34796
34811
|
], TOAOrdenLiquidacionENTITY.prototype, "segmento", 2);
|
|
34797
34812
|
__decorateClass([
|
|
34798
34813
|
Expose560({ name: "Nombre de Provincia" }),
|
|
34814
|
+
Type365(() => String),
|
|
34799
34815
|
IsDefined168({ message: "El campo Nombre de Provincia es obligatorio." }),
|
|
34800
34816
|
IsString456()
|
|
34801
34817
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_de_provincia", 2);
|
|
34802
34818
|
__decorateClass([
|
|
34803
34819
|
Expose560({ name: "Departamento" }),
|
|
34820
|
+
Type365(() => String),
|
|
34804
34821
|
IsDefined168({ message: "El campo Departamento es obligatorio." }),
|
|
34805
34822
|
IsString456()
|
|
34806
34823
|
], TOAOrdenLiquidacionENTITY.prototype, "departamento", 2);
|
|
34807
34824
|
__decorateClass([
|
|
34808
34825
|
Expose560({ name: "Reiterada TDI" }),
|
|
34826
|
+
Type365(() => String),
|
|
34809
34827
|
IsDefined168({ message: "El campo Reiterada TDI es obligatorio." }),
|
|
34810
34828
|
IsString456()
|
|
34811
34829
|
], TOAOrdenLiquidacionENTITY.prototype, "reiterada_tdi", 2);
|