sigo-entities 1.2.133 → 1.2.135
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.d.mts +83 -1
- package/dist/index.d.ts +83 -1
- package/dist/index.js +596 -33
- package/dist/index.mjs +593 -28
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -37077,22 +37077,584 @@ __decorateClass([
|
|
|
37077
37077
|
Type377(() => EECCClienteWAOODTO)
|
|
37078
37078
|
], ClienteWAOOENTITY.prototype, "EECC", 2);
|
|
37079
37079
|
|
|
37080
|
+
// src/operativa/procesos/stb_dth_toaperu/shared/index.ts
|
|
37081
|
+
import { Expose as Expose578, Type as Type380 } from "class-transformer";
|
|
37082
|
+
import { IsNumber as IsNumber385, IsString as IsString474, ValidateNested as ValidateNested338, IsEnum as IsEnum29, IsDefined as IsDefined181, IsArray as IsArray204, IsUUID as IsUUID13, IsObject as IsObject12, IsDate as IsDate147 } from "class-validator";
|
|
37083
|
+
|
|
37084
|
+
// src/operativa/procesos/stb_dth_toaperu/shared/dto/stb_dth_toaplanta.ts
|
|
37085
|
+
import { Expose as Expose576, Type as Type378 } from "class-transformer";
|
|
37086
|
+
import { IsDefined as IsDefined179, IsNumber as IsNumber383, IsString as IsString472 } from "class-validator";
|
|
37087
|
+
var STB_DTH_ToaPlanta = class {
|
|
37088
|
+
tap;
|
|
37089
|
+
amplificador;
|
|
37090
|
+
nodo;
|
|
37091
|
+
troba;
|
|
37092
|
+
estado_del_borne;
|
|
37093
|
+
rotulado_del_cto;
|
|
37094
|
+
datos_borne;
|
|
37095
|
+
};
|
|
37096
|
+
__decorateClass([
|
|
37097
|
+
Expose576(),
|
|
37098
|
+
Type378(() => Number),
|
|
37099
|
+
IsDefined179({ message: "El campo tap es obligatorio." }),
|
|
37100
|
+
IsNumber383()
|
|
37101
|
+
], STB_DTH_ToaPlanta.prototype, "tap", 2);
|
|
37102
|
+
__decorateClass([
|
|
37103
|
+
Expose576(),
|
|
37104
|
+
Type378(() => String),
|
|
37105
|
+
IsDefined179({ message: "El campo amplificador es obligatorio." }),
|
|
37106
|
+
IsString472()
|
|
37107
|
+
], STB_DTH_ToaPlanta.prototype, "amplificador", 2);
|
|
37108
|
+
__decorateClass([
|
|
37109
|
+
Expose576(),
|
|
37110
|
+
Type378(() => String),
|
|
37111
|
+
IsDefined179({ message: "El campo nodo es obligatorio." }),
|
|
37112
|
+
IsString472()
|
|
37113
|
+
], STB_DTH_ToaPlanta.prototype, "nodo", 2);
|
|
37114
|
+
__decorateClass([
|
|
37115
|
+
Expose576(),
|
|
37116
|
+
Type378(() => String),
|
|
37117
|
+
IsDefined179({ message: "El campo troba es obligatorio." }),
|
|
37118
|
+
IsString472()
|
|
37119
|
+
], STB_DTH_ToaPlanta.prototype, "troba", 2);
|
|
37120
|
+
__decorateClass([
|
|
37121
|
+
Expose576(),
|
|
37122
|
+
Type378(() => String),
|
|
37123
|
+
IsDefined179({ message: "El campo estado_del_borne es obligatorio." }),
|
|
37124
|
+
IsString472()
|
|
37125
|
+
], STB_DTH_ToaPlanta.prototype, "estado_del_borne", 2);
|
|
37126
|
+
__decorateClass([
|
|
37127
|
+
Expose576(),
|
|
37128
|
+
Type378(() => String),
|
|
37129
|
+
IsDefined179({ message: "El campo rotulado_del_cto es obligatorio." }),
|
|
37130
|
+
IsString472()
|
|
37131
|
+
], STB_DTH_ToaPlanta.prototype, "rotulado_del_cto", 2);
|
|
37132
|
+
__decorateClass([
|
|
37133
|
+
Expose576(),
|
|
37134
|
+
Type378(() => Number),
|
|
37135
|
+
IsDefined179({ message: "El campo datos_borne es obligatorio." }),
|
|
37136
|
+
IsNumber383()
|
|
37137
|
+
], STB_DTH_ToaPlanta.prototype, "datos_borne", 2);
|
|
37138
|
+
|
|
37139
|
+
// src/operativa/procesos/stb_dth_toaperu/shared/dto/stb_dth_toa_ubicacion.ts
|
|
37140
|
+
import { Expose as Expose577, Type as Type379 } from "class-transformer";
|
|
37141
|
+
import {
|
|
37142
|
+
IsArray as IsArray203,
|
|
37143
|
+
IsDefined as IsDefined180,
|
|
37144
|
+
IsNumber as IsNumber384,
|
|
37145
|
+
IsString as IsString473
|
|
37146
|
+
} from "class-validator";
|
|
37147
|
+
import "reflect-metadata";
|
|
37148
|
+
var STB_DTH_ToaUbicacion = class {
|
|
37149
|
+
localidad = "";
|
|
37150
|
+
direccion = [];
|
|
37151
|
+
direccion_polar_x = 0;
|
|
37152
|
+
direccion_polar_y = 0;
|
|
37153
|
+
clave_zona_de_trabajo = "";
|
|
37154
|
+
zona_de_trabajo = "";
|
|
37155
|
+
departamento = "";
|
|
37156
|
+
nombre_de_provincia = "";
|
|
37157
|
+
tipo_de_vivienda = "";
|
|
37158
|
+
direccion_completa_y_referencia = "";
|
|
37159
|
+
nombre_distrito = "";
|
|
37160
|
+
};
|
|
37161
|
+
__decorateClass([
|
|
37162
|
+
Expose577(),
|
|
37163
|
+
Type379(() => String),
|
|
37164
|
+
IsDefined180({ message: "El campo localidad es obligatorio." }),
|
|
37165
|
+
IsString473()
|
|
37166
|
+
], STB_DTH_ToaUbicacion.prototype, "localidad", 2);
|
|
37167
|
+
__decorateClass([
|
|
37168
|
+
Expose577(),
|
|
37169
|
+
IsArray203({ message: "El campo direccion debe ser un arreglo." }),
|
|
37170
|
+
IsString473({ each: true, message: "Cada direcci\xF3n debe ser un texto." })
|
|
37171
|
+
], STB_DTH_ToaUbicacion.prototype, "direccion", 2);
|
|
37172
|
+
__decorateClass([
|
|
37173
|
+
Expose577(),
|
|
37174
|
+
Type379(() => Number),
|
|
37175
|
+
IsDefined180({ message: "El campo direccion_polar_x es obligatorio." }),
|
|
37176
|
+
IsNumber384()
|
|
37177
|
+
], STB_DTH_ToaUbicacion.prototype, "direccion_polar_x", 2);
|
|
37178
|
+
__decorateClass([
|
|
37179
|
+
Expose577(),
|
|
37180
|
+
Type379(() => Number),
|
|
37181
|
+
IsDefined180({ message: "El campo direccion_polar_y es obligatorio." }),
|
|
37182
|
+
IsNumber384()
|
|
37183
|
+
], STB_DTH_ToaUbicacion.prototype, "direccion_polar_y", 2);
|
|
37184
|
+
__decorateClass([
|
|
37185
|
+
Expose577(),
|
|
37186
|
+
Type379(() => String),
|
|
37187
|
+
IsDefined180({ message: "El campo clave_zona_de_trabajo es obligatorio." }),
|
|
37188
|
+
IsString473()
|
|
37189
|
+
], STB_DTH_ToaUbicacion.prototype, "clave_zona_de_trabajo", 2);
|
|
37190
|
+
__decorateClass([
|
|
37191
|
+
Expose577(),
|
|
37192
|
+
Type379(() => String),
|
|
37193
|
+
IsDefined180({ message: "El campo zona_de_trabajo es obligatorio." }),
|
|
37194
|
+
IsString473()
|
|
37195
|
+
], STB_DTH_ToaUbicacion.prototype, "zona_de_trabajo", 2);
|
|
37196
|
+
__decorateClass([
|
|
37197
|
+
Expose577(),
|
|
37198
|
+
Type379(() => String),
|
|
37199
|
+
IsDefined180({ message: "El campo departamento es obligatorio." }),
|
|
37200
|
+
IsString473()
|
|
37201
|
+
], STB_DTH_ToaUbicacion.prototype, "departamento", 2);
|
|
37202
|
+
__decorateClass([
|
|
37203
|
+
Expose577(),
|
|
37204
|
+
Type379(() => String),
|
|
37205
|
+
IsDefined180({ message: "El campo nombre_de_provincia es obligatorio." }),
|
|
37206
|
+
IsString473()
|
|
37207
|
+
], STB_DTH_ToaUbicacion.prototype, "nombre_de_provincia", 2);
|
|
37208
|
+
__decorateClass([
|
|
37209
|
+
Expose577(),
|
|
37210
|
+
Type379(() => String),
|
|
37211
|
+
IsDefined180({ message: "El campo tipo_de_vivienda es obligatorio." }),
|
|
37212
|
+
IsString473()
|
|
37213
|
+
], STB_DTH_ToaUbicacion.prototype, "tipo_de_vivienda", 2);
|
|
37214
|
+
__decorateClass([
|
|
37215
|
+
Expose577(),
|
|
37216
|
+
Type379(() => String),
|
|
37217
|
+
IsDefined180({
|
|
37218
|
+
message: "El campo direccion_completa_y_referencia es obligatorio."
|
|
37219
|
+
}),
|
|
37220
|
+
IsString473()
|
|
37221
|
+
], STB_DTH_ToaUbicacion.prototype, "direccion_completa_y_referencia", 2);
|
|
37222
|
+
__decorateClass([
|
|
37223
|
+
Expose577(),
|
|
37224
|
+
Type379(() => String),
|
|
37225
|
+
IsDefined180({ message: "El campo nombre_distrito es obligatorio." }),
|
|
37226
|
+
IsString473()
|
|
37227
|
+
], STB_DTH_ToaUbicacion.prototype, "nombre_distrito", 2);
|
|
37228
|
+
|
|
37229
|
+
// src/operativa/procesos/stb_dth_toaperu/shared/index.ts
|
|
37230
|
+
var STB_DTH_ToaENTITY = class {
|
|
37231
|
+
_id;
|
|
37232
|
+
tecnico;
|
|
37233
|
+
id_recurso;
|
|
37234
|
+
numero_ot;
|
|
37235
|
+
subtipo_de_actividad;
|
|
37236
|
+
numero_de_peticion;
|
|
37237
|
+
fecha_de_cita;
|
|
37238
|
+
time_slot;
|
|
37239
|
+
ubicacion = new STB_DTH_ToaUbicacion();
|
|
37240
|
+
nombre_cliente;
|
|
37241
|
+
duracion_de_la_actividad;
|
|
37242
|
+
habilidad_del_trabajo;
|
|
37243
|
+
estado_actividad;
|
|
37244
|
+
fecha_de_registro_legados;
|
|
37245
|
+
usuario;
|
|
37246
|
+
tipo_de_cita;
|
|
37247
|
+
observaciones_en_legados;
|
|
37248
|
+
hora_inicio_actividad;
|
|
37249
|
+
hora_fin;
|
|
37250
|
+
codigo_de_cliente;
|
|
37251
|
+
fecha_registro_de_actividad_en_toa;
|
|
37252
|
+
actividad_gpon;
|
|
37253
|
+
tipo_de_tecnologa_legados;
|
|
37254
|
+
velocidad_internet_requerimiento;
|
|
37255
|
+
planta;
|
|
37256
|
+
numero_telefono;
|
|
37257
|
+
segmento;
|
|
37258
|
+
sistema_origen;
|
|
37259
|
+
estado_de_soporte_de_planta_101;
|
|
37260
|
+
observacion_respuesta_de_soporte_de_planta_101;
|
|
37261
|
+
accessid;
|
|
37262
|
+
nombre_de_contrata_final;
|
|
37263
|
+
indicador_de_cambio_de_tecnologia;
|
|
37264
|
+
telefono_contacto_2;
|
|
37265
|
+
tipo_de_actividad;
|
|
37266
|
+
orden_pangea;
|
|
37267
|
+
reiterada_tdi;
|
|
37268
|
+
tecnologia_tv;
|
|
37269
|
+
canal_de_agendamiento;
|
|
37270
|
+
usuario_de_agendamiento;
|
|
37271
|
+
fecha_de_agendamiento;
|
|
37272
|
+
activity_start_time;
|
|
37273
|
+
activity_end_time;
|
|
37274
|
+
franja_de_agendamiento;
|
|
37275
|
+
existe_cobertura_de_fibra_en_la_zona;
|
|
37276
|
+
cliente_acepta_solucion_anticipada_de_reclamo;
|
|
37277
|
+
averia_por_mxa;
|
|
37278
|
+
pedido_recuperado;
|
|
37279
|
+
reprogramado_por_prioridad;
|
|
37280
|
+
inventory = [];
|
|
37281
|
+
productos_servicios_contratado = [];
|
|
37282
|
+
PB = 0;
|
|
37283
|
+
MO = 0;
|
|
37284
|
+
Gasto_EECC = 0;
|
|
37285
|
+
EECC = new EECCDBTOADTO();
|
|
37286
|
+
};
|
|
37287
|
+
__decorateClass([
|
|
37288
|
+
IsDefined181({ message: "El campo _id es obligatorio." }),
|
|
37289
|
+
IsUUID13("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
37290
|
+
Expose578()
|
|
37291
|
+
], STB_DTH_ToaENTITY.prototype, "_id", 2);
|
|
37292
|
+
__decorateClass([
|
|
37293
|
+
Expose578(),
|
|
37294
|
+
Type380(() => String),
|
|
37295
|
+
IsDefined181({ message: "El campo tecnico es obligatorio." }),
|
|
37296
|
+
IsString474()
|
|
37297
|
+
], STB_DTH_ToaENTITY.prototype, "tecnico", 2);
|
|
37298
|
+
__decorateClass([
|
|
37299
|
+
Expose578(),
|
|
37300
|
+
Type380(() => String),
|
|
37301
|
+
IsDefined181({ message: "El campo id_recurso es obligatorio." }),
|
|
37302
|
+
IsString474()
|
|
37303
|
+
], STB_DTH_ToaENTITY.prototype, "id_recurso", 2);
|
|
37304
|
+
__decorateClass([
|
|
37305
|
+
Expose578(),
|
|
37306
|
+
Type380(() => String),
|
|
37307
|
+
IsDefined181({ message: "El campo numero_ot es obligatorio." }),
|
|
37308
|
+
IsString474()
|
|
37309
|
+
], STB_DTH_ToaENTITY.prototype, "numero_ot", 2);
|
|
37310
|
+
__decorateClass([
|
|
37311
|
+
Expose578(),
|
|
37312
|
+
Type380(() => String),
|
|
37313
|
+
IsDefined181({ message: "El campo subtipo_de_actividad es obligatorio." }),
|
|
37314
|
+
IsString474()
|
|
37315
|
+
], STB_DTH_ToaENTITY.prototype, "subtipo_de_actividad", 2);
|
|
37316
|
+
__decorateClass([
|
|
37317
|
+
Expose578(),
|
|
37318
|
+
Type380(() => String),
|
|
37319
|
+
IsDefined181({ message: "El campo numero_de_peticion es obligatorio." }),
|
|
37320
|
+
IsString474()
|
|
37321
|
+
], STB_DTH_ToaENTITY.prototype, "numero_de_peticion", 2);
|
|
37322
|
+
__decorateClass([
|
|
37323
|
+
Expose578(),
|
|
37324
|
+
Type380(() => Date),
|
|
37325
|
+
IsDefined181({ message: "El campo fecha_de_cita es obligatorio." }),
|
|
37326
|
+
IsDate147()
|
|
37327
|
+
], STB_DTH_ToaENTITY.prototype, "fecha_de_cita", 2);
|
|
37328
|
+
__decorateClass([
|
|
37329
|
+
Expose578(),
|
|
37330
|
+
Type380(() => String),
|
|
37331
|
+
IsDefined181({ message: "El campo time_slot es obligatorio." }),
|
|
37332
|
+
IsString474()
|
|
37333
|
+
], STB_DTH_ToaENTITY.prototype, "time_slot", 2);
|
|
37334
|
+
__decorateClass([
|
|
37335
|
+
Expose578(),
|
|
37336
|
+
Type380(() => STB_DTH_ToaUbicacion),
|
|
37337
|
+
IsDefined181({ message: "El campo ubicacion es obligatorio." }),
|
|
37338
|
+
ValidateNested338(),
|
|
37339
|
+
Type380(() => STB_DTH_ToaUbicacion)
|
|
37340
|
+
], STB_DTH_ToaENTITY.prototype, "ubicacion", 2);
|
|
37341
|
+
__decorateClass([
|
|
37342
|
+
Expose578(),
|
|
37343
|
+
Type380(() => String),
|
|
37344
|
+
IsDefined181({ message: "El campo nombre_cliente es obligatorio." }),
|
|
37345
|
+
IsString474()
|
|
37346
|
+
], STB_DTH_ToaENTITY.prototype, "nombre_cliente", 2);
|
|
37347
|
+
__decorateClass([
|
|
37348
|
+
Expose578(),
|
|
37349
|
+
Type380(() => String),
|
|
37350
|
+
IsDefined181({ message: "El campo duracion_de_la_actividad es obligatorio." }),
|
|
37351
|
+
IsString474()
|
|
37352
|
+
], STB_DTH_ToaENTITY.prototype, "duracion_de_la_actividad", 2);
|
|
37353
|
+
__decorateClass([
|
|
37354
|
+
Expose578(),
|
|
37355
|
+
Type380(() => String),
|
|
37356
|
+
IsDefined181({ message: "El campo habilidad_del_trabajo es obligatorio." }),
|
|
37357
|
+
IsString474()
|
|
37358
|
+
], STB_DTH_ToaENTITY.prototype, "habilidad_del_trabajo", 2);
|
|
37359
|
+
__decorateClass([
|
|
37360
|
+
Expose578(),
|
|
37361
|
+
IsDefined181({ message: "El campo estado_actividad es obligatorio." }),
|
|
37362
|
+
IsEnum29(StateInternalOrderTOA, {
|
|
37363
|
+
message: `El campo estado_actividad debe ser uno de: ${Object.values(
|
|
37364
|
+
StateInternalOrderTOA
|
|
37365
|
+
).join(", ")}.`
|
|
37366
|
+
})
|
|
37367
|
+
], STB_DTH_ToaENTITY.prototype, "estado_actividad", 2);
|
|
37368
|
+
__decorateClass([
|
|
37369
|
+
Expose578(),
|
|
37370
|
+
Type380(() => Date),
|
|
37371
|
+
IsDefined181({
|
|
37372
|
+
message: "El campo fecha_de_registro_legados es obligatorio."
|
|
37373
|
+
}),
|
|
37374
|
+
IsDate147()
|
|
37375
|
+
], STB_DTH_ToaENTITY.prototype, "fecha_de_registro_legados", 2);
|
|
37376
|
+
__decorateClass([
|
|
37377
|
+
Expose578(),
|
|
37378
|
+
Type380(() => String),
|
|
37379
|
+
IsDefined181({ message: "El campo usuario es obligatorio." }),
|
|
37380
|
+
IsString474()
|
|
37381
|
+
], STB_DTH_ToaENTITY.prototype, "usuario", 2);
|
|
37382
|
+
__decorateClass([
|
|
37383
|
+
Expose578(),
|
|
37384
|
+
Type380(() => String),
|
|
37385
|
+
IsDefined181({ message: "El campo tipo_de_cita es obligatorio." }),
|
|
37386
|
+
IsString474()
|
|
37387
|
+
], STB_DTH_ToaENTITY.prototype, "tipo_de_cita", 2);
|
|
37388
|
+
__decorateClass([
|
|
37389
|
+
Expose578(),
|
|
37390
|
+
Type380(() => String),
|
|
37391
|
+
IsDefined181({ message: "El campo observaciones_en_legados es obligatorio." }),
|
|
37392
|
+
IsString474()
|
|
37393
|
+
], STB_DTH_ToaENTITY.prototype, "observaciones_en_legados", 2);
|
|
37394
|
+
__decorateClass([
|
|
37395
|
+
Expose578(),
|
|
37396
|
+
Type380(() => String),
|
|
37397
|
+
IsDefined181({ message: "El campo hora_inicio_actividad es obligatorio." }),
|
|
37398
|
+
IsString474()
|
|
37399
|
+
], STB_DTH_ToaENTITY.prototype, "hora_inicio_actividad", 2);
|
|
37400
|
+
__decorateClass([
|
|
37401
|
+
Expose578(),
|
|
37402
|
+
Type380(() => String),
|
|
37403
|
+
IsDefined181({ message: "El campo hora_fin es obligatorio." }),
|
|
37404
|
+
IsString474()
|
|
37405
|
+
], STB_DTH_ToaENTITY.prototype, "hora_fin", 2);
|
|
37406
|
+
__decorateClass([
|
|
37407
|
+
Expose578(),
|
|
37408
|
+
Type380(() => String),
|
|
37409
|
+
IsDefined181({ message: "El campo codigo_de_cliente es obligatorio." }),
|
|
37410
|
+
IsString474()
|
|
37411
|
+
], STB_DTH_ToaENTITY.prototype, "codigo_de_cliente", 2);
|
|
37412
|
+
__decorateClass([
|
|
37413
|
+
Expose578(),
|
|
37414
|
+
Type380(() => Date),
|
|
37415
|
+
IsDefined181({
|
|
37416
|
+
message: "El campo fecha_registro_de_actividad_en_toa es obligatorio."
|
|
37417
|
+
}),
|
|
37418
|
+
IsDate147()
|
|
37419
|
+
], STB_DTH_ToaENTITY.prototype, "fecha_registro_de_actividad_en_toa", 2);
|
|
37420
|
+
__decorateClass([
|
|
37421
|
+
Expose578(),
|
|
37422
|
+
Type380(() => String),
|
|
37423
|
+
IsDefined181({ message: "El campo actividad_gpon es obligatorio." }),
|
|
37424
|
+
IsString474()
|
|
37425
|
+
], STB_DTH_ToaENTITY.prototype, "actividad_gpon", 2);
|
|
37426
|
+
__decorateClass([
|
|
37427
|
+
Expose578(),
|
|
37428
|
+
Type380(() => String),
|
|
37429
|
+
IsDefined181({
|
|
37430
|
+
message: "El campo tipo_de_tecnologa_legados es obligatorio."
|
|
37431
|
+
}),
|
|
37432
|
+
IsString474()
|
|
37433
|
+
], STB_DTH_ToaENTITY.prototype, "tipo_de_tecnologa_legados", 2);
|
|
37434
|
+
__decorateClass([
|
|
37435
|
+
Expose578(),
|
|
37436
|
+
Type380(() => Number),
|
|
37437
|
+
IsDefined181({
|
|
37438
|
+
message: "El campo velocidad_internet_requerimiento es obligatorio."
|
|
37439
|
+
}),
|
|
37440
|
+
IsNumber385()
|
|
37441
|
+
], STB_DTH_ToaENTITY.prototype, "velocidad_internet_requerimiento", 2);
|
|
37442
|
+
__decorateClass([
|
|
37443
|
+
Expose578(),
|
|
37444
|
+
IsDefined181({ message: "El campo planta es obligatorio." }),
|
|
37445
|
+
IsObject12(),
|
|
37446
|
+
ValidateNested338(),
|
|
37447
|
+
Type380(() => STB_DTH_ToaPlanta)
|
|
37448
|
+
], STB_DTH_ToaENTITY.prototype, "planta", 2);
|
|
37449
|
+
__decorateClass([
|
|
37450
|
+
Expose578(),
|
|
37451
|
+
IsDefined181({ message: "El campo numero_telefono es obligatorio." }),
|
|
37452
|
+
Type380(() => String),
|
|
37453
|
+
IsString474()
|
|
37454
|
+
], STB_DTH_ToaENTITY.prototype, "numero_telefono", 2);
|
|
37455
|
+
__decorateClass([
|
|
37456
|
+
Expose578(),
|
|
37457
|
+
IsDefined181({ message: "El campo segmento es obligatorio." }),
|
|
37458
|
+
IsObject12(),
|
|
37459
|
+
ValidateNested338(),
|
|
37460
|
+
Type380(() => ToaSegmentoDTO)
|
|
37461
|
+
], STB_DTH_ToaENTITY.prototype, "segmento", 2);
|
|
37462
|
+
__decorateClass([
|
|
37463
|
+
Expose578(),
|
|
37464
|
+
Type380(() => String),
|
|
37465
|
+
IsDefined181({ message: "El campo sistema_origen es obligatorio." }),
|
|
37466
|
+
IsString474()
|
|
37467
|
+
], STB_DTH_ToaENTITY.prototype, "sistema_origen", 2);
|
|
37468
|
+
__decorateClass([
|
|
37469
|
+
Expose578(),
|
|
37470
|
+
Type380(() => String),
|
|
37471
|
+
IsDefined181({
|
|
37472
|
+
message: "El campo estado_de_soporte_de_planta_101 es obligatorio."
|
|
37473
|
+
}),
|
|
37474
|
+
IsString474()
|
|
37475
|
+
], STB_DTH_ToaENTITY.prototype, "estado_de_soporte_de_planta_101", 2);
|
|
37476
|
+
__decorateClass([
|
|
37477
|
+
Expose578(),
|
|
37478
|
+
Type380(() => String),
|
|
37479
|
+
IsDefined181({
|
|
37480
|
+
message: "El campo observacion_respuesta_de_soporte_de_planta_101 es obligatorio."
|
|
37481
|
+
}),
|
|
37482
|
+
IsString474()
|
|
37483
|
+
], STB_DTH_ToaENTITY.prototype, "observacion_respuesta_de_soporte_de_planta_101", 2);
|
|
37484
|
+
__decorateClass([
|
|
37485
|
+
Expose578(),
|
|
37486
|
+
Type380(() => String),
|
|
37487
|
+
IsDefined181({ message: "El campo accessid es obligatorio." }),
|
|
37488
|
+
IsString474()
|
|
37489
|
+
], STB_DTH_ToaENTITY.prototype, "accessid", 2);
|
|
37490
|
+
__decorateClass([
|
|
37491
|
+
Expose578(),
|
|
37492
|
+
Type380(() => String),
|
|
37493
|
+
IsDefined181({ message: "El campo nombre_de_contrata_final es obligatorio." }),
|
|
37494
|
+
IsString474()
|
|
37495
|
+
], STB_DTH_ToaENTITY.prototype, "nombre_de_contrata_final", 2);
|
|
37496
|
+
__decorateClass([
|
|
37497
|
+
Expose578(),
|
|
37498
|
+
Type380(() => String),
|
|
37499
|
+
IsDefined181({
|
|
37500
|
+
message: "El campo indicador_de_cambio_de_tecnologia es obligatorio."
|
|
37501
|
+
}),
|
|
37502
|
+
IsString474()
|
|
37503
|
+
], STB_DTH_ToaENTITY.prototype, "indicador_de_cambio_de_tecnologia", 2);
|
|
37504
|
+
__decorateClass([
|
|
37505
|
+
Expose578(),
|
|
37506
|
+
Type380(() => String),
|
|
37507
|
+
IsDefined181({ message: "El campo telefono_contacto_2 es obligatorio." }),
|
|
37508
|
+
IsString474()
|
|
37509
|
+
], STB_DTH_ToaENTITY.prototype, "telefono_contacto_2", 2);
|
|
37510
|
+
__decorateClass([
|
|
37511
|
+
Expose578(),
|
|
37512
|
+
Type380(() => String),
|
|
37513
|
+
IsDefined181({ message: "El campo tipo_de_actividad es obligatorio." }),
|
|
37514
|
+
IsString474()
|
|
37515
|
+
], STB_DTH_ToaENTITY.prototype, "tipo_de_actividad", 2);
|
|
37516
|
+
__decorateClass([
|
|
37517
|
+
Expose578(),
|
|
37518
|
+
Type380(() => String),
|
|
37519
|
+
IsDefined181({ message: "El campo orden_pangea es obligatorio." }),
|
|
37520
|
+
IsString474()
|
|
37521
|
+
], STB_DTH_ToaENTITY.prototype, "orden_pangea", 2);
|
|
37522
|
+
__decorateClass([
|
|
37523
|
+
Expose578(),
|
|
37524
|
+
Type380(() => String),
|
|
37525
|
+
IsDefined181({ message: "El campo reiterada_tdi es obligatorio." }),
|
|
37526
|
+
IsString474()
|
|
37527
|
+
], STB_DTH_ToaENTITY.prototype, "reiterada_tdi", 2);
|
|
37528
|
+
__decorateClass([
|
|
37529
|
+
Expose578(),
|
|
37530
|
+
Type380(() => String),
|
|
37531
|
+
IsDefined181({ message: "El campo tecnologia_tv es obligatorio." }),
|
|
37532
|
+
IsString474()
|
|
37533
|
+
], STB_DTH_ToaENTITY.prototype, "tecnologia_tv", 2);
|
|
37534
|
+
__decorateClass([
|
|
37535
|
+
Expose578(),
|
|
37536
|
+
Type380(() => String),
|
|
37537
|
+
IsDefined181({ message: "El campo canal_de_agendamiento es obligatorio." }),
|
|
37538
|
+
IsString474()
|
|
37539
|
+
], STB_DTH_ToaENTITY.prototype, "canal_de_agendamiento", 2);
|
|
37540
|
+
__decorateClass([
|
|
37541
|
+
Expose578(),
|
|
37542
|
+
Type380(() => String),
|
|
37543
|
+
IsDefined181({ message: "El campo usuario_de_agendamiento es obligatorio." }),
|
|
37544
|
+
IsString474()
|
|
37545
|
+
], STB_DTH_ToaENTITY.prototype, "usuario_de_agendamiento", 2);
|
|
37546
|
+
__decorateClass([
|
|
37547
|
+
Expose578(),
|
|
37548
|
+
Type380(() => Date),
|
|
37549
|
+
IsDefined181({ message: "El campo fecha_de_agendamiento es obligatorio." }),
|
|
37550
|
+
IsDate147()
|
|
37551
|
+
], STB_DTH_ToaENTITY.prototype, "fecha_de_agendamiento", 2);
|
|
37552
|
+
__decorateClass([
|
|
37553
|
+
Expose578(),
|
|
37554
|
+
Type380(() => Date),
|
|
37555
|
+
IsDefined181({ message: "El campo activity_start_time es obligatorio." }),
|
|
37556
|
+
IsDate147()
|
|
37557
|
+
], STB_DTH_ToaENTITY.prototype, "activity_start_time", 2);
|
|
37558
|
+
__decorateClass([
|
|
37559
|
+
Expose578(),
|
|
37560
|
+
Type380(() => Date),
|
|
37561
|
+
IsDefined181({ message: "El campo activity_end_time es obligatorio." }),
|
|
37562
|
+
IsDate147()
|
|
37563
|
+
], STB_DTH_ToaENTITY.prototype, "activity_end_time", 2);
|
|
37564
|
+
__decorateClass([
|
|
37565
|
+
Expose578(),
|
|
37566
|
+
Type380(() => String),
|
|
37567
|
+
IsDefined181({ message: "El campo franja_de_agendamiento es obligatorio." }),
|
|
37568
|
+
IsString474()
|
|
37569
|
+
], STB_DTH_ToaENTITY.prototype, "franja_de_agendamiento", 2);
|
|
37570
|
+
__decorateClass([
|
|
37571
|
+
Expose578(),
|
|
37572
|
+
Type380(() => String),
|
|
37573
|
+
IsDefined181({
|
|
37574
|
+
message: "El campo existe_cobertura_de_fibra_en_la_zona es obligatorio."
|
|
37575
|
+
}),
|
|
37576
|
+
IsString474()
|
|
37577
|
+
], STB_DTH_ToaENTITY.prototype, "existe_cobertura_de_fibra_en_la_zona", 2);
|
|
37578
|
+
__decorateClass([
|
|
37579
|
+
Expose578(),
|
|
37580
|
+
Type380(() => String),
|
|
37581
|
+
IsDefined181({
|
|
37582
|
+
message: "El campo cliente_acepta_solucion_anticipada_de_reclamo es obligatorio."
|
|
37583
|
+
}),
|
|
37584
|
+
IsString474()
|
|
37585
|
+
], STB_DTH_ToaENTITY.prototype, "cliente_acepta_solucion_anticipada_de_reclamo", 2);
|
|
37586
|
+
__decorateClass([
|
|
37587
|
+
Expose578(),
|
|
37588
|
+
Type380(() => String),
|
|
37589
|
+
IsDefined181({ message: "El campo averia_por_mxa es obligatorio." }),
|
|
37590
|
+
IsString474()
|
|
37591
|
+
], STB_DTH_ToaENTITY.prototype, "averia_por_mxa", 2);
|
|
37592
|
+
__decorateClass([
|
|
37593
|
+
Expose578(),
|
|
37594
|
+
Type380(() => String),
|
|
37595
|
+
IsDefined181({ message: "El campo pedido_recuperado es obligatorio." }),
|
|
37596
|
+
IsString474()
|
|
37597
|
+
], STB_DTH_ToaENTITY.prototype, "pedido_recuperado", 2);
|
|
37598
|
+
__decorateClass([
|
|
37599
|
+
Expose578(),
|
|
37600
|
+
Type380(() => String),
|
|
37601
|
+
IsDefined181({
|
|
37602
|
+
message: "El campo reprogramado_por_prioridad es obligatorio."
|
|
37603
|
+
}),
|
|
37604
|
+
IsString474()
|
|
37605
|
+
], STB_DTH_ToaENTITY.prototype, "reprogramado_por_prioridad", 2);
|
|
37606
|
+
__decorateClass([
|
|
37607
|
+
Expose578(),
|
|
37608
|
+
IsDefined181({ message: "El campo inventory es obligatorio." }),
|
|
37609
|
+
IsArray204(),
|
|
37610
|
+
ValidateNested338({ each: true }),
|
|
37611
|
+
Type380(() => MaterialestoaDBDTO)
|
|
37612
|
+
], STB_DTH_ToaENTITY.prototype, "inventory", 2);
|
|
37613
|
+
__decorateClass([
|
|
37614
|
+
Expose578(),
|
|
37615
|
+
IsDefined181({ message: "El campo productos_servicios_contratado es obligatorio." }),
|
|
37616
|
+
IsArray204(),
|
|
37617
|
+
ValidateNested338({ each: true }),
|
|
37618
|
+
Type380(() => ProductosServiciosContratadoDBDTO)
|
|
37619
|
+
], STB_DTH_ToaENTITY.prototype, "productos_servicios_contratado", 2);
|
|
37620
|
+
__decorateClass([
|
|
37621
|
+
Expose578(),
|
|
37622
|
+
IsDefined181({ message: "El campo PB es obligatorio." }),
|
|
37623
|
+
IsNumber385()
|
|
37624
|
+
], STB_DTH_ToaENTITY.prototype, "PB", 2);
|
|
37625
|
+
__decorateClass([
|
|
37626
|
+
Expose578(),
|
|
37627
|
+
IsDefined181({ message: "El campo MO es obligatorio." }),
|
|
37628
|
+
IsNumber385()
|
|
37629
|
+
], STB_DTH_ToaENTITY.prototype, "MO", 2);
|
|
37630
|
+
__decorateClass([
|
|
37631
|
+
Expose578(),
|
|
37632
|
+
IsDefined181({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
37633
|
+
IsNumber385()
|
|
37634
|
+
], STB_DTH_ToaENTITY.prototype, "Gasto_EECC", 2);
|
|
37635
|
+
__decorateClass([
|
|
37636
|
+
Expose578(),
|
|
37637
|
+
IsDefined181({ message: "El campo EECC es obligatorio." }),
|
|
37638
|
+
ValidateNested338(),
|
|
37639
|
+
Type380(() => EECCDBTOADTO)
|
|
37640
|
+
], STB_DTH_ToaENTITY.prototype, "EECC", 2);
|
|
37641
|
+
|
|
37080
37642
|
// src/v2/dtos/CodigoNombre.ts
|
|
37081
|
-
import { Expose as
|
|
37082
|
-
import { IsDefined as
|
|
37643
|
+
import { Expose as Expose579 } from "class-transformer";
|
|
37644
|
+
import { IsDefined as IsDefined182, IsString as IsString475, MinLength as MinLength48 } from "class-validator";
|
|
37083
37645
|
var CodigoNombreDto = class {
|
|
37084
37646
|
codigo;
|
|
37085
37647
|
nombre;
|
|
37086
37648
|
};
|
|
37087
37649
|
__decorateClass([
|
|
37088
|
-
|
|
37089
|
-
|
|
37090
|
-
|
|
37650
|
+
IsDefined182({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
37651
|
+
IsString475({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
37652
|
+
Expose579()
|
|
37091
37653
|
], CodigoNombreDto.prototype, "codigo", 2);
|
|
37092
37654
|
__decorateClass([
|
|
37093
|
-
|
|
37094
|
-
|
|
37095
|
-
|
|
37655
|
+
IsDefined182({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
37656
|
+
IsString475({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
37657
|
+
Expose579()
|
|
37096
37658
|
], CodigoNombreDto.prototype, "nombre", 2);
|
|
37097
37659
|
var CodigoNombreMinLengthDto = class extends CodigoNombreDto {
|
|
37098
37660
|
};
|
|
@@ -37104,25 +37666,25 @@ __decorateClass([
|
|
|
37104
37666
|
], CodigoNombreMinLengthDto.prototype, "nombre", 2);
|
|
37105
37667
|
|
|
37106
37668
|
// src/v2/entities/Delegacion.ts
|
|
37107
|
-
import { Expose as
|
|
37108
|
-
import { IsDefined as
|
|
37669
|
+
import { Expose as Expose581, Type as Type381 } from "class-transformer";
|
|
37670
|
+
import { IsDefined as IsDefined184, IsObject as IsObject13, IsString as IsString476, MinLength as MinLength49, ValidateNested as ValidateNested339 } from "class-validator";
|
|
37109
37671
|
|
|
37110
37672
|
// src/v2/entities/Base.ts
|
|
37111
|
-
import { Expose as
|
|
37112
|
-
import { IsBoolean as IsBoolean51, IsDefined as
|
|
37673
|
+
import { Expose as Expose580 } from "class-transformer";
|
|
37674
|
+
import { IsBoolean as IsBoolean51, IsDefined as IsDefined183, IsUUID as IsUUID14 } from "class-validator";
|
|
37113
37675
|
var BaseEntity = class {
|
|
37114
37676
|
_id;
|
|
37115
37677
|
activo;
|
|
37116
37678
|
};
|
|
37117
37679
|
__decorateClass([
|
|
37118
|
-
|
|
37119
|
-
|
|
37120
|
-
|
|
37680
|
+
IsDefined183({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
37681
|
+
IsUUID14("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
37682
|
+
Expose580()
|
|
37121
37683
|
], BaseEntity.prototype, "_id", 2);
|
|
37122
37684
|
__decorateClass([
|
|
37123
|
-
|
|
37685
|
+
IsDefined183({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
37124
37686
|
IsBoolean51({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
37125
|
-
|
|
37687
|
+
Expose580()
|
|
37126
37688
|
], BaseEntity.prototype, "activo", 2);
|
|
37127
37689
|
|
|
37128
37690
|
// src/v2/entities/Delegacion.ts
|
|
@@ -37132,23 +37694,23 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
37132
37694
|
nombre;
|
|
37133
37695
|
};
|
|
37134
37696
|
__decorateClass([
|
|
37135
|
-
|
|
37136
|
-
|
|
37137
|
-
|
|
37138
|
-
|
|
37139
|
-
|
|
37697
|
+
IsDefined184({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
37698
|
+
Type381(() => CodigoNombreMinLengthDto),
|
|
37699
|
+
IsObject13({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
37700
|
+
ValidateNested339({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
37701
|
+
Expose581()
|
|
37140
37702
|
], DelegacionEntity.prototype, "pais", 2);
|
|
37141
37703
|
__decorateClass([
|
|
37142
|
-
|
|
37143
|
-
|
|
37704
|
+
IsDefined184({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
37705
|
+
IsString476({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
37144
37706
|
MinLength49(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
37145
|
-
|
|
37707
|
+
Expose581()
|
|
37146
37708
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
37147
37709
|
__decorateClass([
|
|
37148
|
-
|
|
37149
|
-
|
|
37710
|
+
IsDefined184({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
37711
|
+
IsString476({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
37150
37712
|
MinLength49(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
37151
|
-
|
|
37713
|
+
Expose581()
|
|
37152
37714
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
37153
37715
|
export {
|
|
37154
37716
|
ADM_RM_ZonasActividadENTITY,
|
|
@@ -37601,6 +38163,9 @@ export {
|
|
|
37601
38163
|
RptProduccionCurso_Baremos_FasesENTITY,
|
|
37602
38164
|
SEUpdateAnexosObraRequestBody,
|
|
37603
38165
|
SEUpdateAnexosTrabajoRequestBody,
|
|
38166
|
+
STB_DTH_ToaENTITY,
|
|
38167
|
+
STB_DTH_ToaPlanta,
|
|
38168
|
+
STB_DTH_ToaUbicacion,
|
|
37604
38169
|
SalidaAlmacenENTITY,
|
|
37605
38170
|
ScrapingCredentialENTITY,
|
|
37606
38171
|
SegmentoDBDTO,
|