sigo-entities 1.2.486 → 1.2.488
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/.claude/CLAUDE.md +70 -0
- package/.claude/settings.json +21 -0
- package/.claude/skills/mdl-administracion/SKILL.md +60 -0
- package/.claude/skills/mdl-configuracion/SKILL.md +49 -0
- package/.claude/skills/ope-im/SKILL.md +71 -0
- package/.claude/skills/ope-logistica/SKILL.md +60 -0
- package/.claude/skills/ope-pex/SKILL.md +106 -0
- package/.claude/skills/shared-dtos/SKILL.md +76 -0
- package/REPORTE_ESTRUCTURA_2026-08-31.md +215 -215
- package/dist/index.d.mts +120 -1
- package/dist/index.d.ts +120 -1
- package/dist/index.js +1503 -797
- package/dist/index.mjs +1320 -615
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -53031,24 +53031,728 @@ __decorateClass([
|
|
|
53031
53031
|
Expose799()
|
|
53032
53032
|
], BtAlpPluzOrderENTITY.prototype, "estado_de_ejecucion", 2);
|
|
53033
53033
|
|
|
53034
|
+
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
53035
|
+
import { Expose as Expose800, Type as Type492 } from "class-transformer";
|
|
53036
|
+
import { IsDefined as IsDefined290, IsString as IsString665, IsNumber as IsNumber525, IsDate as IsDate191, ValidateNested as ValidateNested424 } from "class-validator";
|
|
53037
|
+
import "reflect-metadata";
|
|
53038
|
+
var BtAlpPluzOrder2ENTITY = class {
|
|
53039
|
+
_id = "";
|
|
53040
|
+
id_recurso = "";
|
|
53041
|
+
orden = "";
|
|
53042
|
+
asunto_orden_mantenimiento = "";
|
|
53043
|
+
estado_llamada_servicio = "";
|
|
53044
|
+
service_call_remarks = "";
|
|
53045
|
+
prioridad = "";
|
|
53046
|
+
clase_de_orden = "";
|
|
53047
|
+
referencia_pedido_llamada_servicio = "";
|
|
53048
|
+
id_externo_llamada_servicio = "";
|
|
53049
|
+
numero_cliente = "";
|
|
53050
|
+
cliente = "";
|
|
53051
|
+
nombre_completo_contacto_actividad = "";
|
|
53052
|
+
nombre_completo_contacto_llamada_servicio = "";
|
|
53053
|
+
codigo_operacion = "";
|
|
53054
|
+
descripcion_operacion = "";
|
|
53055
|
+
id_externo_actividad = "";
|
|
53056
|
+
estado_actividad_tecnica = "";
|
|
53057
|
+
estado_actividad = "";
|
|
53058
|
+
estado_ejecucion = "";
|
|
53059
|
+
estimacion_original = "";
|
|
53060
|
+
duracion_estimada = "";
|
|
53061
|
+
duracion_planificada = "";
|
|
53062
|
+
inicio_actividad_mas_temprano = /* @__PURE__ */ new Date();
|
|
53063
|
+
motivo_cancelacion = "";
|
|
53064
|
+
huso_horario_actividad = "";
|
|
53065
|
+
duracion_trayecto_desde = "";
|
|
53066
|
+
duracion_trayecto_hasta = "";
|
|
53067
|
+
calle = "";
|
|
53068
|
+
numero_calle = "";
|
|
53069
|
+
codigo_postal = "";
|
|
53070
|
+
ciudad = "";
|
|
53071
|
+
nombre_direccion = "";
|
|
53072
|
+
estado = "";
|
|
53073
|
+
pais_region = "";
|
|
53074
|
+
codigo_equipo = "";
|
|
53075
|
+
nombre_equipo = "";
|
|
53076
|
+
numero_serie_equipo = "";
|
|
53077
|
+
numero_serie_fabricante_equipo = "";
|
|
53078
|
+
estado_equipo_actividad = "";
|
|
53079
|
+
tecnico = "";
|
|
53080
|
+
paso_workflow = "";
|
|
53081
|
+
fecha_vencimiento = /* @__PURE__ */ new Date();
|
|
53082
|
+
fecha_finalizacion_prevista = /* @__PURE__ */ new Date();
|
|
53083
|
+
codigo_proyecto = "";
|
|
53084
|
+
asunto_proyecto = "";
|
|
53085
|
+
responsable_llamada_servicio = "";
|
|
53086
|
+
origen_llamada_servicio = "";
|
|
53087
|
+
tipo_problema = "";
|
|
53088
|
+
territorios = "";
|
|
53089
|
+
activity_remarks = "";
|
|
53090
|
+
fecha_inicio_planificada = /* @__PURE__ */ new Date();
|
|
53091
|
+
palabra_indicadora = "";
|
|
53092
|
+
email_contacto_actividad = "";
|
|
53093
|
+
telefono_movil_contacto_actividad = "";
|
|
53094
|
+
telefono_trabajo_contacto_actividad = "";
|
|
53095
|
+
puesto_trabajo = "";
|
|
53096
|
+
equipo = "";
|
|
53097
|
+
habilidades_actividad = "";
|
|
53098
|
+
service_call_skills = "";
|
|
53099
|
+
fecha_creacion_llamada_servicio = /* @__PURE__ */ new Date();
|
|
53100
|
+
fecha_inicio_mas_temprana_llamada_servicio = /* @__PURE__ */ new Date();
|
|
53101
|
+
fecha_finalizacion_llamada_servicio = /* @__PURE__ */ new Date();
|
|
53102
|
+
fecha_vencimiento_llamada_servicio = /* @__PURE__ */ new Date();
|
|
53103
|
+
direccion_servicio = "";
|
|
53104
|
+
numero_clientes_afectados_sc_udf = 0;
|
|
53105
|
+
codigo_tarifa_sc_udf = "";
|
|
53106
|
+
cadena_electrica_sc_udf = "";
|
|
53107
|
+
observacion_primer_reclamo_sc_udf = "";
|
|
53108
|
+
nombre_cliente_sc_udf = "";
|
|
53109
|
+
condicion_agravante_sc_udf = "";
|
|
53110
|
+
prioridad_oms_sc_udf = "";
|
|
53111
|
+
fecha_inicio_primer_reclamo_sc_udf = /* @__PURE__ */ new Date();
|
|
53112
|
+
energia_total_no_suministrada_sc_udf = 0;
|
|
53113
|
+
codigo_tema_sc_udf = "";
|
|
53114
|
+
direccion_sc_udf = "";
|
|
53115
|
+
descripcion_motivos_submotivos_sc_udf = "";
|
|
53116
|
+
descripcion_hora_ruta_sc_udf = "";
|
|
53117
|
+
codigo_distrito_sc_udf = "";
|
|
53118
|
+
codigo_clase_actividad_sc_udf = "";
|
|
53119
|
+
numero_aviso_comercial_sc_udf = "";
|
|
53120
|
+
numero_orden_venta_sc_udf = "";
|
|
53121
|
+
potencia_acumulada_no_suministrada_sc_udf = 0;
|
|
53122
|
+
tema_sc_udf = "";
|
|
53123
|
+
tipo_cliente_sc_udf = "";
|
|
53124
|
+
ticket_averia_sc_udf = "";
|
|
53125
|
+
ubicacion_tecnica_superior_sc_udf = "";
|
|
53126
|
+
numero_celular_reportador_sc_udf = "";
|
|
53127
|
+
hoja_ruta_orden_sc_udf = "";
|
|
53128
|
+
tarifa_sc_udf = "";
|
|
53129
|
+
descripcion_condicion_agravante_sc_udf = "";
|
|
53130
|
+
codigo_tipo_cliente_sc_udf = "";
|
|
53131
|
+
coordenadas_xy_sc_udf = "";
|
|
53132
|
+
codigo_hoja_ruta_sc_udf = "";
|
|
53133
|
+
motivo_submotivo_sc_udf = "";
|
|
53134
|
+
nivel_tension_averia_sc_udf = "";
|
|
53135
|
+
prioridad_sc_udf = "";
|
|
53136
|
+
numero_suministros_llamantes_sc_udf = "";
|
|
53137
|
+
parametros_sc_udf = "";
|
|
53138
|
+
codigo_clase_orden_sc_udf = "";
|
|
53139
|
+
deuda_cliente_sc_udf = "";
|
|
53140
|
+
grupo_hoja_ruta_sc_udf = "";
|
|
53141
|
+
codigo_hoja_ruta_orden_sc_udf = "";
|
|
53142
|
+
reiterativo_sc_udf = "";
|
|
53143
|
+
deuda_cliente_sc_udf_alt = /* @__PURE__ */ new Date();
|
|
53144
|
+
distrito_sc_udf = "";
|
|
53145
|
+
grupo_planificacion_act_udf = "";
|
|
53146
|
+
estado_orden_act_udf = "";
|
|
53147
|
+
hoja_ruta_operacion_act_udf = "";
|
|
53148
|
+
criticidad_act_udf = "";
|
|
53149
|
+
sed_act_udf = "";
|
|
53150
|
+
codigo_hoja_ruta_operacion_act_udf = "";
|
|
53151
|
+
grupo_hoja_ruta_act_udf = "";
|
|
53152
|
+
alimentador_act_udf = "";
|
|
53153
|
+
en_ejecucion_por_tecnico_act_udf = "";
|
|
53154
|
+
EECC = new EECCBtAlpPluzDTO();
|
|
53155
|
+
};
|
|
53156
|
+
__decorateClass([
|
|
53157
|
+
IsDefined290(),
|
|
53158
|
+
IsString665(),
|
|
53159
|
+
Expose800()
|
|
53160
|
+
], BtAlpPluzOrder2ENTITY.prototype, "_id", 2);
|
|
53161
|
+
__decorateClass([
|
|
53162
|
+
Expose800(),
|
|
53163
|
+
IsDefined290(),
|
|
53164
|
+
IsString665()
|
|
53165
|
+
], BtAlpPluzOrder2ENTITY.prototype, "id_recurso", 2);
|
|
53166
|
+
__decorateClass([
|
|
53167
|
+
Expose800(),
|
|
53168
|
+
IsDefined290(),
|
|
53169
|
+
IsString665()
|
|
53170
|
+
], BtAlpPluzOrder2ENTITY.prototype, "orden", 2);
|
|
53171
|
+
__decorateClass([
|
|
53172
|
+
Expose800(),
|
|
53173
|
+
IsDefined290(),
|
|
53174
|
+
IsString665()
|
|
53175
|
+
], BtAlpPluzOrder2ENTITY.prototype, "asunto_orden_mantenimiento", 2);
|
|
53176
|
+
__decorateClass([
|
|
53177
|
+
Expose800(),
|
|
53178
|
+
IsDefined290(),
|
|
53179
|
+
IsString665()
|
|
53180
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_llamada_servicio", 2);
|
|
53181
|
+
__decorateClass([
|
|
53182
|
+
Expose800(),
|
|
53183
|
+
IsDefined290(),
|
|
53184
|
+
IsString665()
|
|
53185
|
+
], BtAlpPluzOrder2ENTITY.prototype, "service_call_remarks", 2);
|
|
53186
|
+
__decorateClass([
|
|
53187
|
+
Expose800(),
|
|
53188
|
+
IsDefined290(),
|
|
53189
|
+
IsString665()
|
|
53190
|
+
], BtAlpPluzOrder2ENTITY.prototype, "prioridad", 2);
|
|
53191
|
+
__decorateClass([
|
|
53192
|
+
Expose800(),
|
|
53193
|
+
IsDefined290(),
|
|
53194
|
+
IsString665()
|
|
53195
|
+
], BtAlpPluzOrder2ENTITY.prototype, "clase_de_orden", 2);
|
|
53196
|
+
__decorateClass([
|
|
53197
|
+
Expose800(),
|
|
53198
|
+
IsDefined290(),
|
|
53199
|
+
IsString665()
|
|
53200
|
+
], BtAlpPluzOrder2ENTITY.prototype, "referencia_pedido_llamada_servicio", 2);
|
|
53201
|
+
__decorateClass([
|
|
53202
|
+
Expose800(),
|
|
53203
|
+
IsDefined290(),
|
|
53204
|
+
IsString665()
|
|
53205
|
+
], BtAlpPluzOrder2ENTITY.prototype, "id_externo_llamada_servicio", 2);
|
|
53206
|
+
__decorateClass([
|
|
53207
|
+
Expose800(),
|
|
53208
|
+
IsDefined290(),
|
|
53209
|
+
IsString665()
|
|
53210
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_cliente", 2);
|
|
53211
|
+
__decorateClass([
|
|
53212
|
+
Expose800(),
|
|
53213
|
+
IsDefined290(),
|
|
53214
|
+
IsString665()
|
|
53215
|
+
], BtAlpPluzOrder2ENTITY.prototype, "cliente", 2);
|
|
53216
|
+
__decorateClass([
|
|
53217
|
+
Expose800(),
|
|
53218
|
+
IsDefined290(),
|
|
53219
|
+
IsString665()
|
|
53220
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nombre_completo_contacto_actividad", 2);
|
|
53221
|
+
__decorateClass([
|
|
53222
|
+
Expose800(),
|
|
53223
|
+
IsDefined290(),
|
|
53224
|
+
IsString665()
|
|
53225
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nombre_completo_contacto_llamada_servicio", 2);
|
|
53226
|
+
__decorateClass([
|
|
53227
|
+
Expose800(),
|
|
53228
|
+
IsDefined290(),
|
|
53229
|
+
IsString665()
|
|
53230
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_operacion", 2);
|
|
53231
|
+
__decorateClass([
|
|
53232
|
+
Expose800(),
|
|
53233
|
+
IsDefined290(),
|
|
53234
|
+
IsString665()
|
|
53235
|
+
], BtAlpPluzOrder2ENTITY.prototype, "descripcion_operacion", 2);
|
|
53236
|
+
__decorateClass([
|
|
53237
|
+
Expose800(),
|
|
53238
|
+
IsDefined290(),
|
|
53239
|
+
IsString665()
|
|
53240
|
+
], BtAlpPluzOrder2ENTITY.prototype, "id_externo_actividad", 2);
|
|
53241
|
+
__decorateClass([
|
|
53242
|
+
Expose800(),
|
|
53243
|
+
IsDefined290(),
|
|
53244
|
+
IsString665()
|
|
53245
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_actividad_tecnica", 2);
|
|
53246
|
+
__decorateClass([
|
|
53247
|
+
Expose800(),
|
|
53248
|
+
IsDefined290(),
|
|
53249
|
+
IsString665()
|
|
53250
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_actividad", 2);
|
|
53251
|
+
__decorateClass([
|
|
53252
|
+
Expose800(),
|
|
53253
|
+
IsDefined290(),
|
|
53254
|
+
IsString665()
|
|
53255
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_ejecucion", 2);
|
|
53256
|
+
__decorateClass([
|
|
53257
|
+
Expose800(),
|
|
53258
|
+
IsDefined290(),
|
|
53259
|
+
IsString665()
|
|
53260
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estimacion_original", 2);
|
|
53261
|
+
__decorateClass([
|
|
53262
|
+
Expose800(),
|
|
53263
|
+
IsDefined290(),
|
|
53264
|
+
IsString665()
|
|
53265
|
+
], BtAlpPluzOrder2ENTITY.prototype, "duracion_estimada", 2);
|
|
53266
|
+
__decorateClass([
|
|
53267
|
+
Expose800(),
|
|
53268
|
+
IsDefined290(),
|
|
53269
|
+
IsString665()
|
|
53270
|
+
], BtAlpPluzOrder2ENTITY.prototype, "duracion_planificada", 2);
|
|
53271
|
+
__decorateClass([
|
|
53272
|
+
Expose800(),
|
|
53273
|
+
IsDefined290(),
|
|
53274
|
+
IsDate191({ message: "El campo inicio_actividad_mas_temprano debe ser una fecha" })
|
|
53275
|
+
], BtAlpPluzOrder2ENTITY.prototype, "inicio_actividad_mas_temprano", 2);
|
|
53276
|
+
__decorateClass([
|
|
53277
|
+
Expose800(),
|
|
53278
|
+
IsDefined290(),
|
|
53279
|
+
IsString665()
|
|
53280
|
+
], BtAlpPluzOrder2ENTITY.prototype, "motivo_cancelacion", 2);
|
|
53281
|
+
__decorateClass([
|
|
53282
|
+
Expose800(),
|
|
53283
|
+
IsDefined290(),
|
|
53284
|
+
IsString665()
|
|
53285
|
+
], BtAlpPluzOrder2ENTITY.prototype, "huso_horario_actividad", 2);
|
|
53286
|
+
__decorateClass([
|
|
53287
|
+
Expose800(),
|
|
53288
|
+
IsDefined290(),
|
|
53289
|
+
IsString665()
|
|
53290
|
+
], BtAlpPluzOrder2ENTITY.prototype, "duracion_trayecto_desde", 2);
|
|
53291
|
+
__decorateClass([
|
|
53292
|
+
Expose800(),
|
|
53293
|
+
IsDefined290(),
|
|
53294
|
+
IsString665()
|
|
53295
|
+
], BtAlpPluzOrder2ENTITY.prototype, "duracion_trayecto_hasta", 2);
|
|
53296
|
+
__decorateClass([
|
|
53297
|
+
Expose800(),
|
|
53298
|
+
IsDefined290(),
|
|
53299
|
+
IsString665()
|
|
53300
|
+
], BtAlpPluzOrder2ENTITY.prototype, "calle", 2);
|
|
53301
|
+
__decorateClass([
|
|
53302
|
+
Expose800(),
|
|
53303
|
+
IsDefined290(),
|
|
53304
|
+
IsString665()
|
|
53305
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_calle", 2);
|
|
53306
|
+
__decorateClass([
|
|
53307
|
+
Expose800(),
|
|
53308
|
+
IsDefined290(),
|
|
53309
|
+
IsString665()
|
|
53310
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_postal", 2);
|
|
53311
|
+
__decorateClass([
|
|
53312
|
+
Expose800(),
|
|
53313
|
+
IsDefined290(),
|
|
53314
|
+
IsString665()
|
|
53315
|
+
], BtAlpPluzOrder2ENTITY.prototype, "ciudad", 2);
|
|
53316
|
+
__decorateClass([
|
|
53317
|
+
Expose800(),
|
|
53318
|
+
IsDefined290(),
|
|
53319
|
+
IsString665()
|
|
53320
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nombre_direccion", 2);
|
|
53321
|
+
__decorateClass([
|
|
53322
|
+
Expose800(),
|
|
53323
|
+
IsDefined290(),
|
|
53324
|
+
IsString665()
|
|
53325
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado", 2);
|
|
53326
|
+
__decorateClass([
|
|
53327
|
+
Expose800(),
|
|
53328
|
+
IsDefined290(),
|
|
53329
|
+
IsString665()
|
|
53330
|
+
], BtAlpPluzOrder2ENTITY.prototype, "pais_region", 2);
|
|
53331
|
+
__decorateClass([
|
|
53332
|
+
Expose800(),
|
|
53333
|
+
IsDefined290(),
|
|
53334
|
+
IsString665()
|
|
53335
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_equipo", 2);
|
|
53336
|
+
__decorateClass([
|
|
53337
|
+
Expose800(),
|
|
53338
|
+
IsDefined290(),
|
|
53339
|
+
IsString665()
|
|
53340
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nombre_equipo", 2);
|
|
53341
|
+
__decorateClass([
|
|
53342
|
+
Expose800(),
|
|
53343
|
+
IsDefined290(),
|
|
53344
|
+
IsString665()
|
|
53345
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_serie_equipo", 2);
|
|
53346
|
+
__decorateClass([
|
|
53347
|
+
Expose800(),
|
|
53348
|
+
IsDefined290(),
|
|
53349
|
+
IsString665()
|
|
53350
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_serie_fabricante_equipo", 2);
|
|
53351
|
+
__decorateClass([
|
|
53352
|
+
Expose800(),
|
|
53353
|
+
IsDefined290(),
|
|
53354
|
+
IsString665()
|
|
53355
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_equipo_actividad", 2);
|
|
53356
|
+
__decorateClass([
|
|
53357
|
+
Expose800(),
|
|
53358
|
+
IsDefined290(),
|
|
53359
|
+
IsString665()
|
|
53360
|
+
], BtAlpPluzOrder2ENTITY.prototype, "tecnico", 2);
|
|
53361
|
+
__decorateClass([
|
|
53362
|
+
Expose800(),
|
|
53363
|
+
IsDefined290(),
|
|
53364
|
+
IsString665()
|
|
53365
|
+
], BtAlpPluzOrder2ENTITY.prototype, "paso_workflow", 2);
|
|
53366
|
+
__decorateClass([
|
|
53367
|
+
Expose800(),
|
|
53368
|
+
IsDefined290(),
|
|
53369
|
+
IsDate191({ message: "El campo fecha_vencimiento debe ser una fecha" })
|
|
53370
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_vencimiento", 2);
|
|
53371
|
+
__decorateClass([
|
|
53372
|
+
Expose800(),
|
|
53373
|
+
IsDefined290(),
|
|
53374
|
+
IsDate191({ message: "El campo fecha_finalizacion_prevista debe ser una fecha" })
|
|
53375
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_finalizacion_prevista", 2);
|
|
53376
|
+
__decorateClass([
|
|
53377
|
+
Expose800(),
|
|
53378
|
+
IsDefined290(),
|
|
53379
|
+
IsString665()
|
|
53380
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_proyecto", 2);
|
|
53381
|
+
__decorateClass([
|
|
53382
|
+
Expose800(),
|
|
53383
|
+
IsDefined290(),
|
|
53384
|
+
IsString665()
|
|
53385
|
+
], BtAlpPluzOrder2ENTITY.prototype, "asunto_proyecto", 2);
|
|
53386
|
+
__decorateClass([
|
|
53387
|
+
Expose800(),
|
|
53388
|
+
IsDefined290(),
|
|
53389
|
+
IsString665()
|
|
53390
|
+
], BtAlpPluzOrder2ENTITY.prototype, "responsable_llamada_servicio", 2);
|
|
53391
|
+
__decorateClass([
|
|
53392
|
+
Expose800(),
|
|
53393
|
+
IsDefined290(),
|
|
53394
|
+
IsString665()
|
|
53395
|
+
], BtAlpPluzOrder2ENTITY.prototype, "origen_llamada_servicio", 2);
|
|
53396
|
+
__decorateClass([
|
|
53397
|
+
Expose800(),
|
|
53398
|
+
IsDefined290(),
|
|
53399
|
+
IsString665()
|
|
53400
|
+
], BtAlpPluzOrder2ENTITY.prototype, "tipo_problema", 2);
|
|
53401
|
+
__decorateClass([
|
|
53402
|
+
Expose800(),
|
|
53403
|
+
IsDefined290(),
|
|
53404
|
+
IsString665()
|
|
53405
|
+
], BtAlpPluzOrder2ENTITY.prototype, "territorios", 2);
|
|
53406
|
+
__decorateClass([
|
|
53407
|
+
Expose800(),
|
|
53408
|
+
IsDefined290(),
|
|
53409
|
+
IsString665()
|
|
53410
|
+
], BtAlpPluzOrder2ENTITY.prototype, "activity_remarks", 2);
|
|
53411
|
+
__decorateClass([
|
|
53412
|
+
Expose800(),
|
|
53413
|
+
IsDefined290(),
|
|
53414
|
+
IsDate191({ message: "El campo fecha_inicio_planificada debe ser una fecha" })
|
|
53415
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_inicio_planificada", 2);
|
|
53416
|
+
__decorateClass([
|
|
53417
|
+
Expose800(),
|
|
53418
|
+
IsDefined290(),
|
|
53419
|
+
IsString665()
|
|
53420
|
+
], BtAlpPluzOrder2ENTITY.prototype, "palabra_indicadora", 2);
|
|
53421
|
+
__decorateClass([
|
|
53422
|
+
Expose800(),
|
|
53423
|
+
IsDefined290(),
|
|
53424
|
+
IsString665()
|
|
53425
|
+
], BtAlpPluzOrder2ENTITY.prototype, "email_contacto_actividad", 2);
|
|
53426
|
+
__decorateClass([
|
|
53427
|
+
Expose800(),
|
|
53428
|
+
IsDefined290(),
|
|
53429
|
+
IsString665()
|
|
53430
|
+
], BtAlpPluzOrder2ENTITY.prototype, "telefono_movil_contacto_actividad", 2);
|
|
53431
|
+
__decorateClass([
|
|
53432
|
+
Expose800(),
|
|
53433
|
+
IsDefined290(),
|
|
53434
|
+
IsString665()
|
|
53435
|
+
], BtAlpPluzOrder2ENTITY.prototype, "telefono_trabajo_contacto_actividad", 2);
|
|
53436
|
+
__decorateClass([
|
|
53437
|
+
Expose800(),
|
|
53438
|
+
IsDefined290(),
|
|
53439
|
+
IsString665()
|
|
53440
|
+
], BtAlpPluzOrder2ENTITY.prototype, "puesto_trabajo", 2);
|
|
53441
|
+
__decorateClass([
|
|
53442
|
+
Expose800(),
|
|
53443
|
+
IsDefined290(),
|
|
53444
|
+
IsString665()
|
|
53445
|
+
], BtAlpPluzOrder2ENTITY.prototype, "equipo", 2);
|
|
53446
|
+
__decorateClass([
|
|
53447
|
+
Expose800(),
|
|
53448
|
+
IsDefined290(),
|
|
53449
|
+
IsString665()
|
|
53450
|
+
], BtAlpPluzOrder2ENTITY.prototype, "habilidades_actividad", 2);
|
|
53451
|
+
__decorateClass([
|
|
53452
|
+
Expose800(),
|
|
53453
|
+
IsDefined290(),
|
|
53454
|
+
IsString665()
|
|
53455
|
+
], BtAlpPluzOrder2ENTITY.prototype, "service_call_skills", 2);
|
|
53456
|
+
__decorateClass([
|
|
53457
|
+
Expose800(),
|
|
53458
|
+
IsDefined290(),
|
|
53459
|
+
IsDate191({ message: "El campo fecha_creacion_llamada_servicio debe ser una fecha" })
|
|
53460
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_creacion_llamada_servicio", 2);
|
|
53461
|
+
__decorateClass([
|
|
53462
|
+
Expose800(),
|
|
53463
|
+
IsDefined290(),
|
|
53464
|
+
IsDate191({ message: "El campo fecha_inicio_mas_temprana_llamada_servicio debe ser una fecha" })
|
|
53465
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_inicio_mas_temprana_llamada_servicio", 2);
|
|
53466
|
+
__decorateClass([
|
|
53467
|
+
Expose800(),
|
|
53468
|
+
IsDefined290(),
|
|
53469
|
+
IsDate191({ message: "El campo fecha_finalizacion_llamada_servicio debe ser una fecha" })
|
|
53470
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_finalizacion_llamada_servicio", 2);
|
|
53471
|
+
__decorateClass([
|
|
53472
|
+
Expose800(),
|
|
53473
|
+
IsDefined290(),
|
|
53474
|
+
IsDate191({ message: "El campo fecha_vencimiento_llamada_servicio debe ser una fecha" })
|
|
53475
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_vencimiento_llamada_servicio", 2);
|
|
53476
|
+
__decorateClass([
|
|
53477
|
+
Expose800(),
|
|
53478
|
+
IsDefined290(),
|
|
53479
|
+
IsString665()
|
|
53480
|
+
], BtAlpPluzOrder2ENTITY.prototype, "direccion_servicio", 2);
|
|
53481
|
+
__decorateClass([
|
|
53482
|
+
Expose800(),
|
|
53483
|
+
IsDefined290(),
|
|
53484
|
+
IsNumber525()
|
|
53485
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_clientes_afectados_sc_udf", 2);
|
|
53486
|
+
__decorateClass([
|
|
53487
|
+
Expose800(),
|
|
53488
|
+
IsDefined290(),
|
|
53489
|
+
IsString665()
|
|
53490
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_tarifa_sc_udf", 2);
|
|
53491
|
+
__decorateClass([
|
|
53492
|
+
Expose800(),
|
|
53493
|
+
IsDefined290(),
|
|
53494
|
+
IsString665()
|
|
53495
|
+
], BtAlpPluzOrder2ENTITY.prototype, "cadena_electrica_sc_udf", 2);
|
|
53496
|
+
__decorateClass([
|
|
53497
|
+
Expose800(),
|
|
53498
|
+
IsDefined290(),
|
|
53499
|
+
IsString665()
|
|
53500
|
+
], BtAlpPluzOrder2ENTITY.prototype, "observacion_primer_reclamo_sc_udf", 2);
|
|
53501
|
+
__decorateClass([
|
|
53502
|
+
Expose800(),
|
|
53503
|
+
IsDefined290(),
|
|
53504
|
+
IsString665()
|
|
53505
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nombre_cliente_sc_udf", 2);
|
|
53506
|
+
__decorateClass([
|
|
53507
|
+
Expose800(),
|
|
53508
|
+
IsDefined290(),
|
|
53509
|
+
IsString665()
|
|
53510
|
+
], BtAlpPluzOrder2ENTITY.prototype, "condicion_agravante_sc_udf", 2);
|
|
53511
|
+
__decorateClass([
|
|
53512
|
+
Expose800(),
|
|
53513
|
+
IsDefined290(),
|
|
53514
|
+
IsString665()
|
|
53515
|
+
], BtAlpPluzOrder2ENTITY.prototype, "prioridad_oms_sc_udf", 2);
|
|
53516
|
+
__decorateClass([
|
|
53517
|
+
Expose800(),
|
|
53518
|
+
IsDefined290(),
|
|
53519
|
+
IsDate191({ message: "El campo fecha_inicio_primer_reclamo_sc_udf debe ser una fecha" })
|
|
53520
|
+
], BtAlpPluzOrder2ENTITY.prototype, "fecha_inicio_primer_reclamo_sc_udf", 2);
|
|
53521
|
+
__decorateClass([
|
|
53522
|
+
Expose800(),
|
|
53523
|
+
IsDefined290(),
|
|
53524
|
+
IsNumber525()
|
|
53525
|
+
], BtAlpPluzOrder2ENTITY.prototype, "energia_total_no_suministrada_sc_udf", 2);
|
|
53526
|
+
__decorateClass([
|
|
53527
|
+
Expose800(),
|
|
53528
|
+
IsDefined290(),
|
|
53529
|
+
IsString665()
|
|
53530
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_tema_sc_udf", 2);
|
|
53531
|
+
__decorateClass([
|
|
53532
|
+
Expose800(),
|
|
53533
|
+
IsDefined290(),
|
|
53534
|
+
IsString665()
|
|
53535
|
+
], BtAlpPluzOrder2ENTITY.prototype, "direccion_sc_udf", 2);
|
|
53536
|
+
__decorateClass([
|
|
53537
|
+
Expose800(),
|
|
53538
|
+
IsDefined290(),
|
|
53539
|
+
IsString665()
|
|
53540
|
+
], BtAlpPluzOrder2ENTITY.prototype, "descripcion_motivos_submotivos_sc_udf", 2);
|
|
53541
|
+
__decorateClass([
|
|
53542
|
+
Expose800(),
|
|
53543
|
+
IsDefined290(),
|
|
53544
|
+
IsString665()
|
|
53545
|
+
], BtAlpPluzOrder2ENTITY.prototype, "descripcion_hora_ruta_sc_udf", 2);
|
|
53546
|
+
__decorateClass([
|
|
53547
|
+
Expose800(),
|
|
53548
|
+
IsDefined290(),
|
|
53549
|
+
IsString665()
|
|
53550
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_distrito_sc_udf", 2);
|
|
53551
|
+
__decorateClass([
|
|
53552
|
+
Expose800(),
|
|
53553
|
+
IsDefined290(),
|
|
53554
|
+
IsString665()
|
|
53555
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_clase_actividad_sc_udf", 2);
|
|
53556
|
+
__decorateClass([
|
|
53557
|
+
Expose800(),
|
|
53558
|
+
IsDefined290(),
|
|
53559
|
+
IsString665()
|
|
53560
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_aviso_comercial_sc_udf", 2);
|
|
53561
|
+
__decorateClass([
|
|
53562
|
+
Expose800(),
|
|
53563
|
+
IsDefined290(),
|
|
53564
|
+
IsString665()
|
|
53565
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_orden_venta_sc_udf", 2);
|
|
53566
|
+
__decorateClass([
|
|
53567
|
+
Expose800(),
|
|
53568
|
+
IsDefined290(),
|
|
53569
|
+
IsNumber525()
|
|
53570
|
+
], BtAlpPluzOrder2ENTITY.prototype, "potencia_acumulada_no_suministrada_sc_udf", 2);
|
|
53571
|
+
__decorateClass([
|
|
53572
|
+
Expose800(),
|
|
53573
|
+
IsDefined290(),
|
|
53574
|
+
IsString665()
|
|
53575
|
+
], BtAlpPluzOrder2ENTITY.prototype, "tema_sc_udf", 2);
|
|
53576
|
+
__decorateClass([
|
|
53577
|
+
Expose800(),
|
|
53578
|
+
IsDefined290(),
|
|
53579
|
+
IsString665()
|
|
53580
|
+
], BtAlpPluzOrder2ENTITY.prototype, "tipo_cliente_sc_udf", 2);
|
|
53581
|
+
__decorateClass([
|
|
53582
|
+
Expose800(),
|
|
53583
|
+
IsDefined290(),
|
|
53584
|
+
IsString665()
|
|
53585
|
+
], BtAlpPluzOrder2ENTITY.prototype, "ticket_averia_sc_udf", 2);
|
|
53586
|
+
__decorateClass([
|
|
53587
|
+
Expose800(),
|
|
53588
|
+
IsDefined290(),
|
|
53589
|
+
IsString665()
|
|
53590
|
+
], BtAlpPluzOrder2ENTITY.prototype, "ubicacion_tecnica_superior_sc_udf", 2);
|
|
53591
|
+
__decorateClass([
|
|
53592
|
+
Expose800(),
|
|
53593
|
+
IsDefined290(),
|
|
53594
|
+
IsString665()
|
|
53595
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_celular_reportador_sc_udf", 2);
|
|
53596
|
+
__decorateClass([
|
|
53597
|
+
Expose800(),
|
|
53598
|
+
IsDefined290(),
|
|
53599
|
+
IsString665()
|
|
53600
|
+
], BtAlpPluzOrder2ENTITY.prototype, "hoja_ruta_orden_sc_udf", 2);
|
|
53601
|
+
__decorateClass([
|
|
53602
|
+
Expose800(),
|
|
53603
|
+
IsDefined290(),
|
|
53604
|
+
IsString665()
|
|
53605
|
+
], BtAlpPluzOrder2ENTITY.prototype, "tarifa_sc_udf", 2);
|
|
53606
|
+
__decorateClass([
|
|
53607
|
+
Expose800(),
|
|
53608
|
+
IsDefined290(),
|
|
53609
|
+
IsString665()
|
|
53610
|
+
], BtAlpPluzOrder2ENTITY.prototype, "descripcion_condicion_agravante_sc_udf", 2);
|
|
53611
|
+
__decorateClass([
|
|
53612
|
+
Expose800(),
|
|
53613
|
+
IsDefined290(),
|
|
53614
|
+
IsString665()
|
|
53615
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_tipo_cliente_sc_udf", 2);
|
|
53616
|
+
__decorateClass([
|
|
53617
|
+
Expose800(),
|
|
53618
|
+
IsDefined290(),
|
|
53619
|
+
IsString665()
|
|
53620
|
+
], BtAlpPluzOrder2ENTITY.prototype, "coordenadas_xy_sc_udf", 2);
|
|
53621
|
+
__decorateClass([
|
|
53622
|
+
Expose800(),
|
|
53623
|
+
IsDefined290(),
|
|
53624
|
+
IsString665()
|
|
53625
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_hoja_ruta_sc_udf", 2);
|
|
53626
|
+
__decorateClass([
|
|
53627
|
+
Expose800(),
|
|
53628
|
+
IsDefined290(),
|
|
53629
|
+
IsString665()
|
|
53630
|
+
], BtAlpPluzOrder2ENTITY.prototype, "motivo_submotivo_sc_udf", 2);
|
|
53631
|
+
__decorateClass([
|
|
53632
|
+
Expose800(),
|
|
53633
|
+
IsDefined290(),
|
|
53634
|
+
IsString665()
|
|
53635
|
+
], BtAlpPluzOrder2ENTITY.prototype, "nivel_tension_averia_sc_udf", 2);
|
|
53636
|
+
__decorateClass([
|
|
53637
|
+
Expose800(),
|
|
53638
|
+
IsDefined290(),
|
|
53639
|
+
IsString665()
|
|
53640
|
+
], BtAlpPluzOrder2ENTITY.prototype, "prioridad_sc_udf", 2);
|
|
53641
|
+
__decorateClass([
|
|
53642
|
+
Expose800(),
|
|
53643
|
+
IsDefined290(),
|
|
53644
|
+
IsString665()
|
|
53645
|
+
], BtAlpPluzOrder2ENTITY.prototype, "numero_suministros_llamantes_sc_udf", 2);
|
|
53646
|
+
__decorateClass([
|
|
53647
|
+
Expose800(),
|
|
53648
|
+
IsDefined290(),
|
|
53649
|
+
IsString665()
|
|
53650
|
+
], BtAlpPluzOrder2ENTITY.prototype, "parametros_sc_udf", 2);
|
|
53651
|
+
__decorateClass([
|
|
53652
|
+
Expose800(),
|
|
53653
|
+
IsDefined290(),
|
|
53654
|
+
IsString665()
|
|
53655
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_clase_orden_sc_udf", 2);
|
|
53656
|
+
__decorateClass([
|
|
53657
|
+
Expose800(),
|
|
53658
|
+
IsDefined290(),
|
|
53659
|
+
IsString665()
|
|
53660
|
+
], BtAlpPluzOrder2ENTITY.prototype, "deuda_cliente_sc_udf", 2);
|
|
53661
|
+
__decorateClass([
|
|
53662
|
+
Expose800(),
|
|
53663
|
+
IsDefined290(),
|
|
53664
|
+
IsString665()
|
|
53665
|
+
], BtAlpPluzOrder2ENTITY.prototype, "grupo_hoja_ruta_sc_udf", 2);
|
|
53666
|
+
__decorateClass([
|
|
53667
|
+
Expose800(),
|
|
53668
|
+
IsDefined290(),
|
|
53669
|
+
IsString665()
|
|
53670
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_hoja_ruta_orden_sc_udf", 2);
|
|
53671
|
+
__decorateClass([
|
|
53672
|
+
Expose800(),
|
|
53673
|
+
IsDefined290(),
|
|
53674
|
+
IsString665()
|
|
53675
|
+
], BtAlpPluzOrder2ENTITY.prototype, "reiterativo_sc_udf", 2);
|
|
53676
|
+
__decorateClass([
|
|
53677
|
+
Expose800(),
|
|
53678
|
+
IsDefined290(),
|
|
53679
|
+
IsDate191({ message: "El campo deuda_cliente_sc_udf_alt debe ser una fecha" })
|
|
53680
|
+
], BtAlpPluzOrder2ENTITY.prototype, "deuda_cliente_sc_udf_alt", 2);
|
|
53681
|
+
__decorateClass([
|
|
53682
|
+
Expose800(),
|
|
53683
|
+
IsDefined290(),
|
|
53684
|
+
IsString665()
|
|
53685
|
+
], BtAlpPluzOrder2ENTITY.prototype, "distrito_sc_udf", 2);
|
|
53686
|
+
__decorateClass([
|
|
53687
|
+
Expose800(),
|
|
53688
|
+
IsDefined290(),
|
|
53689
|
+
IsString665()
|
|
53690
|
+
], BtAlpPluzOrder2ENTITY.prototype, "grupo_planificacion_act_udf", 2);
|
|
53691
|
+
__decorateClass([
|
|
53692
|
+
Expose800(),
|
|
53693
|
+
IsDefined290(),
|
|
53694
|
+
IsString665()
|
|
53695
|
+
], BtAlpPluzOrder2ENTITY.prototype, "estado_orden_act_udf", 2);
|
|
53696
|
+
__decorateClass([
|
|
53697
|
+
Expose800(),
|
|
53698
|
+
IsDefined290(),
|
|
53699
|
+
IsString665()
|
|
53700
|
+
], BtAlpPluzOrder2ENTITY.prototype, "hoja_ruta_operacion_act_udf", 2);
|
|
53701
|
+
__decorateClass([
|
|
53702
|
+
Expose800(),
|
|
53703
|
+
IsDefined290(),
|
|
53704
|
+
IsString665()
|
|
53705
|
+
], BtAlpPluzOrder2ENTITY.prototype, "criticidad_act_udf", 2);
|
|
53706
|
+
__decorateClass([
|
|
53707
|
+
Expose800(),
|
|
53708
|
+
IsDefined290(),
|
|
53709
|
+
IsString665()
|
|
53710
|
+
], BtAlpPluzOrder2ENTITY.prototype, "sed_act_udf", 2);
|
|
53711
|
+
__decorateClass([
|
|
53712
|
+
Expose800(),
|
|
53713
|
+
IsDefined290(),
|
|
53714
|
+
IsString665()
|
|
53715
|
+
], BtAlpPluzOrder2ENTITY.prototype, "codigo_hoja_ruta_operacion_act_udf", 2);
|
|
53716
|
+
__decorateClass([
|
|
53717
|
+
Expose800(),
|
|
53718
|
+
IsDefined290(),
|
|
53719
|
+
IsString665()
|
|
53720
|
+
], BtAlpPluzOrder2ENTITY.prototype, "grupo_hoja_ruta_act_udf", 2);
|
|
53721
|
+
__decorateClass([
|
|
53722
|
+
Expose800(),
|
|
53723
|
+
IsDefined290(),
|
|
53724
|
+
IsString665()
|
|
53725
|
+
], BtAlpPluzOrder2ENTITY.prototype, "alimentador_act_udf", 2);
|
|
53726
|
+
__decorateClass([
|
|
53727
|
+
Expose800(),
|
|
53728
|
+
IsDefined290(),
|
|
53729
|
+
IsString665()
|
|
53730
|
+
], BtAlpPluzOrder2ENTITY.prototype, "en_ejecucion_por_tecnico_act_udf", 2);
|
|
53731
|
+
__decorateClass([
|
|
53732
|
+
Expose800(),
|
|
53733
|
+
IsDefined290(),
|
|
53734
|
+
ValidateNested424(),
|
|
53735
|
+
Type492(() => EECCBtAlpPluzDTO)
|
|
53736
|
+
], BtAlpPluzOrder2ENTITY.prototype, "EECC", 2);
|
|
53737
|
+
|
|
53034
53738
|
// src/v2/dtos/CodeName.ts
|
|
53035
|
-
import { Expose as
|
|
53036
|
-
import { IsDefined as
|
|
53739
|
+
import { Expose as Expose801, Transform as Transform112 } from "class-transformer";
|
|
53740
|
+
import { IsDefined as IsDefined291, IsString as IsString666, MinLength as MinLength56 } from "class-validator";
|
|
53037
53741
|
var CodeNameDto = class {
|
|
53038
53742
|
code;
|
|
53039
53743
|
name;
|
|
53040
53744
|
};
|
|
53041
53745
|
__decorateClass([
|
|
53042
53746
|
Transform112(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53043
|
-
|
|
53044
|
-
|
|
53045
|
-
|
|
53747
|
+
IsDefined291({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
53748
|
+
IsString666({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
53749
|
+
Expose801()
|
|
53046
53750
|
], CodeNameDto.prototype, "code", 2);
|
|
53047
53751
|
__decorateClass([
|
|
53048
53752
|
Transform112(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53049
|
-
|
|
53050
|
-
|
|
53051
|
-
|
|
53753
|
+
IsDefined291({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
53754
|
+
IsString666({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
53755
|
+
Expose801()
|
|
53052
53756
|
], CodeNameDto.prototype, "name", 2);
|
|
53053
53757
|
var CodeNameMinLengthDto = class extends CodeNameDto {
|
|
53054
53758
|
};
|
|
@@ -53060,32 +53764,32 @@ __decorateClass([
|
|
|
53060
53764
|
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
53061
53765
|
|
|
53062
53766
|
// src/v2/dtos/Login.ts
|
|
53063
|
-
import { Expose as
|
|
53064
|
-
import { IsDefined as
|
|
53767
|
+
import { Expose as Expose802, Transform as Transform113 } from "class-transformer";
|
|
53768
|
+
import { IsDefined as IsDefined292, IsEmail as IsEmail5, Length as Length341 } from "class-validator";
|
|
53065
53769
|
var LoginDto = class {
|
|
53066
53770
|
email = "";
|
|
53067
53771
|
password = "";
|
|
53068
53772
|
};
|
|
53069
53773
|
__decorateClass([
|
|
53070
53774
|
Transform113(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
53071
|
-
|
|
53775
|
+
IsDefined292({ message: "Debe proporcionar un email" }),
|
|
53072
53776
|
IsEmail5({}, { message: "El email es inv\xE1lido" }),
|
|
53073
|
-
|
|
53777
|
+
Expose802()
|
|
53074
53778
|
], LoginDto.prototype, "email", 2);
|
|
53075
53779
|
__decorateClass([
|
|
53076
53780
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53077
|
-
|
|
53781
|
+
IsDefined292({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
53078
53782
|
Length341(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
53079
|
-
|
|
53783
|
+
Expose802()
|
|
53080
53784
|
], LoginDto.prototype, "password", 2);
|
|
53081
53785
|
|
|
53082
53786
|
// src/v2/dtos/PayloadToken.ts
|
|
53083
|
-
import { IsDefined as
|
|
53084
|
-
import { Expose as
|
|
53787
|
+
import { IsDefined as IsDefined295, IsEnum as IsEnum57, IsObject as IsObject15, ValidateNested as ValidateNested426 } from "class-validator";
|
|
53788
|
+
import { Expose as Expose805, Type as Type494 } from "class-transformer";
|
|
53085
53789
|
|
|
53086
53790
|
// src/v2/dtos/AuthUser.ts
|
|
53087
|
-
import { IsBoolean as IsBoolean70, IsDefined as
|
|
53088
|
-
import { Expose as
|
|
53791
|
+
import { IsBoolean as IsBoolean70, IsDefined as IsDefined293, IsEmail as IsEmail6, IsString as IsString667, IsUUID as IsUUID23, ValidateIf as ValidateIf7 } from "class-validator";
|
|
53792
|
+
import { Expose as Expose803, Transform as Transform114 } from "class-transformer";
|
|
53089
53793
|
var AuthUserDto = class {
|
|
53090
53794
|
email;
|
|
53091
53795
|
paternalLastName;
|
|
@@ -53096,67 +53800,67 @@ var AuthUserDto = class {
|
|
|
53096
53800
|
profileId;
|
|
53097
53801
|
};
|
|
53098
53802
|
__decorateClass([
|
|
53099
|
-
|
|
53803
|
+
IsDefined293({ message: "El correo es requerido" }),
|
|
53100
53804
|
IsEmail6({}, { message: "El correo es invalido" }),
|
|
53101
53805
|
Transform114(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
53102
|
-
|
|
53806
|
+
Expose803()
|
|
53103
53807
|
], AuthUserDto.prototype, "email", 2);
|
|
53104
53808
|
__decorateClass([
|
|
53105
53809
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53106
|
-
|
|
53107
|
-
|
|
53108
|
-
|
|
53810
|
+
IsDefined293({ message: "El apellido paterno es requerido" }),
|
|
53811
|
+
IsString667({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
53812
|
+
Expose803()
|
|
53109
53813
|
], AuthUserDto.prototype, "paternalLastName", 2);
|
|
53110
53814
|
__decorateClass([
|
|
53111
53815
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53112
|
-
|
|
53113
|
-
|
|
53114
|
-
|
|
53816
|
+
IsDefined293({ message: "El apellido materno es requerido" }),
|
|
53817
|
+
IsString667({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
53818
|
+
Expose803()
|
|
53115
53819
|
], AuthUserDto.prototype, "maternalLastName", 2);
|
|
53116
53820
|
__decorateClass([
|
|
53117
53821
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53118
|
-
|
|
53119
|
-
|
|
53120
|
-
|
|
53822
|
+
IsDefined293({ message: "El nombre es requerido" }),
|
|
53823
|
+
IsString667({ message: "El nombre debe ser una cadena de texto" }),
|
|
53824
|
+
Expose803()
|
|
53121
53825
|
], AuthUserDto.prototype, "firstNames", 2);
|
|
53122
53826
|
__decorateClass([
|
|
53123
53827
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53124
|
-
|
|
53125
|
-
|
|
53126
|
-
|
|
53828
|
+
IsDefined293({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
53829
|
+
IsString667({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
53830
|
+
Expose803()
|
|
53127
53831
|
], AuthUserDto.prototype, "identification", 2);
|
|
53128
53832
|
__decorateClass([
|
|
53129
|
-
|
|
53833
|
+
IsDefined293({ message: 'La propiedad "root" es obligatoria.' }),
|
|
53130
53834
|
IsBoolean70({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
53131
|
-
|
|
53835
|
+
Expose803()
|
|
53132
53836
|
], AuthUserDto.prototype, "root", 2);
|
|
53133
53837
|
__decorateClass([
|
|
53134
|
-
|
|
53838
|
+
IsDefined293({ message: "El campo Perfil es obligatorio" }),
|
|
53135
53839
|
ValidateIf7((_, value) => value !== ""),
|
|
53136
53840
|
IsUUID23("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
53137
|
-
|
|
53841
|
+
Expose803()
|
|
53138
53842
|
], AuthUserDto.prototype, "profileId", 2);
|
|
53139
53843
|
|
|
53140
53844
|
// src/v2/dtos/Profile.ts
|
|
53141
|
-
import { Expose as
|
|
53142
|
-
import { IsDefined as
|
|
53845
|
+
import { Expose as Expose804, Transform as Transform115 } from "class-transformer";
|
|
53846
|
+
import { IsDefined as IsDefined294, IsString as IsString668, Length as Length342 } from "class-validator";
|
|
53143
53847
|
var ProfileDto = class {
|
|
53144
53848
|
name;
|
|
53145
53849
|
description;
|
|
53146
53850
|
};
|
|
53147
53851
|
__decorateClass([
|
|
53148
|
-
|
|
53852
|
+
IsDefined294({ message: "El campo nombre es requerido" }),
|
|
53149
53853
|
Transform115(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53150
|
-
|
|
53854
|
+
IsString668({ message: "debe ser una cadena de texto" }),
|
|
53151
53855
|
Length342(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53152
|
-
|
|
53856
|
+
Expose804()
|
|
53153
53857
|
], ProfileDto.prototype, "name", 2);
|
|
53154
53858
|
__decorateClass([
|
|
53155
|
-
|
|
53859
|
+
IsDefined294({ message: "El campo descripci\xF3n es requerido" }),
|
|
53156
53860
|
Transform115(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53157
|
-
|
|
53861
|
+
IsString668({ message: "debe ser una cadena de texto" }),
|
|
53158
53862
|
Length342(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53159
|
-
|
|
53863
|
+
Expose804()
|
|
53160
53864
|
], ProfileDto.prototype, "description", 2);
|
|
53161
53865
|
|
|
53162
53866
|
// src/v2/enums/EmploymentType.ts
|
|
@@ -53178,63 +53882,63 @@ var PayloadTokenDto = class {
|
|
|
53178
53882
|
employmentType;
|
|
53179
53883
|
};
|
|
53180
53884
|
__decorateClass([
|
|
53181
|
-
|
|
53182
|
-
|
|
53183
|
-
|
|
53885
|
+
ValidateNested426(),
|
|
53886
|
+
Type494(() => AuthUserDto),
|
|
53887
|
+
Expose805()
|
|
53184
53888
|
], PayloadTokenDto.prototype, "user", 2);
|
|
53185
53889
|
__decorateClass([
|
|
53186
|
-
|
|
53187
|
-
|
|
53188
|
-
|
|
53890
|
+
ValidateNested426(),
|
|
53891
|
+
Type494(() => ProfileDto),
|
|
53892
|
+
Expose805()
|
|
53189
53893
|
], PayloadTokenDto.prototype, "profile", 2);
|
|
53190
53894
|
__decorateClass([
|
|
53191
|
-
|
|
53192
|
-
|
|
53193
|
-
|
|
53895
|
+
IsDefined295({ message: "La empresa es requerida" }),
|
|
53896
|
+
Type494(() => CodeNameDto),
|
|
53897
|
+
ValidateNested426(),
|
|
53194
53898
|
IsObject15(),
|
|
53195
|
-
|
|
53899
|
+
Expose805()
|
|
53196
53900
|
], PayloadTokenDto.prototype, "company", 2);
|
|
53197
53901
|
__decorateClass([
|
|
53198
|
-
|
|
53199
|
-
|
|
53200
|
-
|
|
53902
|
+
IsDefined295({ message: "La bodega es requerido" }),
|
|
53903
|
+
Type494(() => CodeNameDto),
|
|
53904
|
+
ValidateNested426(),
|
|
53201
53905
|
IsObject15(),
|
|
53202
|
-
|
|
53906
|
+
Expose805()
|
|
53203
53907
|
], PayloadTokenDto.prototype, "stockroom", 2);
|
|
53204
53908
|
__decorateClass([
|
|
53205
|
-
|
|
53206
|
-
|
|
53207
|
-
|
|
53909
|
+
IsDefined295({ message: "El almac\xE9n es requerido" }),
|
|
53910
|
+
Type494(() => CodeNameDto),
|
|
53911
|
+
ValidateNested426(),
|
|
53208
53912
|
IsObject15(),
|
|
53209
|
-
|
|
53913
|
+
Expose805()
|
|
53210
53914
|
], PayloadTokenDto.prototype, "warehouse", 2);
|
|
53211
53915
|
__decorateClass([
|
|
53212
|
-
|
|
53213
|
-
|
|
53214
|
-
|
|
53916
|
+
IsDefined295({ message: "debe proporcionar el pa\xEDs" }),
|
|
53917
|
+
ValidateNested426(),
|
|
53918
|
+
Type494(() => CodeNameMinLengthDto),
|
|
53215
53919
|
IsObject15(),
|
|
53216
|
-
|
|
53920
|
+
Expose805()
|
|
53217
53921
|
], PayloadTokenDto.prototype, "country", 2);
|
|
53218
53922
|
__decorateClass([
|
|
53219
|
-
|
|
53220
|
-
|
|
53221
|
-
|
|
53923
|
+
IsDefined295({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
53924
|
+
ValidateNested426(),
|
|
53925
|
+
Type494(() => CodeNameMinLengthDto),
|
|
53222
53926
|
IsObject15(),
|
|
53223
|
-
|
|
53927
|
+
Expose805()
|
|
53224
53928
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
53225
53929
|
__decorateClass([
|
|
53226
|
-
|
|
53930
|
+
IsDefined295({ message: "Debe proporcionar el tipo de empleado" }),
|
|
53227
53931
|
IsEnum57(EmploymentType, { message: "El tipo de empleado no es v\xE1lido" }),
|
|
53228
|
-
|
|
53932
|
+
Expose805()
|
|
53229
53933
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
53230
53934
|
|
|
53231
53935
|
// src/v2/dtos/ResponseSignIn.ts
|
|
53232
|
-
import { IsArray as IsArray253, IsDefined as
|
|
53233
|
-
import { Expose as
|
|
53936
|
+
import { IsArray as IsArray253, IsDefined as IsDefined297, IsObject as IsObject16, IsString as IsString670, MinLength as MinLength58, ValidateNested as ValidateNested427 } from "class-validator";
|
|
53937
|
+
import { Expose as Expose807, Type as Type495 } from "class-transformer";
|
|
53234
53938
|
|
|
53235
53939
|
// src/v2/entities/SystemOption.ts
|
|
53236
|
-
import { Expose as
|
|
53237
|
-
import { IsBoolean as IsBoolean72, IsDefined as
|
|
53940
|
+
import { Expose as Expose806 } from "class-transformer";
|
|
53941
|
+
import { IsBoolean as IsBoolean72, IsDefined as IsDefined296, IsNotEmpty as IsNotEmpty463, IsString as IsString669, IsUUID as IsUUID25 } from "class-validator";
|
|
53238
53942
|
var SystemOptionEntity = class {
|
|
53239
53943
|
_id;
|
|
53240
53944
|
key;
|
|
@@ -53246,39 +53950,39 @@ var SystemOptionEntity = class {
|
|
|
53246
53950
|
root;
|
|
53247
53951
|
};
|
|
53248
53952
|
__decorateClass([
|
|
53249
|
-
|
|
53953
|
+
IsDefined296({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53250
53954
|
IsUUID25("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53251
|
-
|
|
53955
|
+
Expose806()
|
|
53252
53956
|
], SystemOptionEntity.prototype, "_id", 2);
|
|
53253
53957
|
__decorateClass([
|
|
53254
53958
|
IsNotEmpty463({ message: "Key no puede estar vac\xEDo" }),
|
|
53255
|
-
|
|
53256
|
-
|
|
53959
|
+
IsString669({ message: "Key debe ser una cadena de texto" }),
|
|
53960
|
+
Expose806()
|
|
53257
53961
|
], SystemOptionEntity.prototype, "key", 2);
|
|
53258
53962
|
__decorateClass([
|
|
53259
|
-
|
|
53260
|
-
|
|
53963
|
+
IsString669({ message: "Nombre debe ser una cadena de texto" }),
|
|
53964
|
+
Expose806()
|
|
53261
53965
|
], SystemOptionEntity.prototype, "name", 2);
|
|
53262
53966
|
__decorateClass([
|
|
53263
53967
|
IsNotEmpty463({ message: "Prefijo no puede estar vac\xEDo" }),
|
|
53264
|
-
|
|
53265
|
-
|
|
53968
|
+
IsString669({ message: "Prefijo debe ser una cadena de texto" }),
|
|
53969
|
+
Expose806()
|
|
53266
53970
|
], SystemOptionEntity.prototype, "prefix", 2);
|
|
53267
53971
|
__decorateClass([
|
|
53268
|
-
|
|
53269
|
-
|
|
53972
|
+
IsString669({ message: "M\xE9todo debe ser una cadena de texto" }),
|
|
53973
|
+
Expose806()
|
|
53270
53974
|
], SystemOptionEntity.prototype, "method", 2);
|
|
53271
53975
|
__decorateClass([
|
|
53272
|
-
|
|
53273
|
-
|
|
53976
|
+
IsString669({ message: "Padre debe ser una cadena de texto" }),
|
|
53977
|
+
Expose806()
|
|
53274
53978
|
], SystemOptionEntity.prototype, "father", 2);
|
|
53275
53979
|
__decorateClass([
|
|
53276
|
-
|
|
53277
|
-
|
|
53980
|
+
IsString669({ message: "Padre debe ser una cadena de texto" }),
|
|
53981
|
+
Expose806()
|
|
53278
53982
|
], SystemOptionEntity.prototype, "route", 2);
|
|
53279
53983
|
__decorateClass([
|
|
53280
53984
|
IsBoolean72({ message: "Root debe ser booleano" }),
|
|
53281
|
-
|
|
53985
|
+
Expose806()
|
|
53282
53986
|
], SystemOptionEntity.prototype, "root", 2);
|
|
53283
53987
|
|
|
53284
53988
|
// src/v2/dtos/ResponseSignIn.ts
|
|
@@ -53288,42 +53992,42 @@ var ResponseSignInDto = class {
|
|
|
53288
53992
|
tags = [];
|
|
53289
53993
|
};
|
|
53290
53994
|
__decorateClass([
|
|
53291
|
-
|
|
53995
|
+
IsDefined297({ message: "El usuario es requerido" }),
|
|
53292
53996
|
IsObject16({ message: "El usuario debe ser un objeto" }),
|
|
53293
|
-
|
|
53294
|
-
|
|
53295
|
-
|
|
53997
|
+
ValidateNested427(),
|
|
53998
|
+
Type495(() => PayloadTokenDto),
|
|
53999
|
+
Expose807()
|
|
53296
54000
|
], ResponseSignInDto.prototype, "auth", 2);
|
|
53297
54001
|
__decorateClass([
|
|
53298
54002
|
IsArray253({ message: "La propiedad debe ser un arreglo" }),
|
|
53299
|
-
|
|
53300
|
-
|
|
53301
|
-
|
|
54003
|
+
ValidateNested427({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
|
|
54004
|
+
Type495(() => SystemOptionEntity),
|
|
54005
|
+
Expose807()
|
|
53302
54006
|
], ResponseSignInDto.prototype, "dataSystemOptions", 2);
|
|
53303
54007
|
__decorateClass([
|
|
53304
54008
|
IsArray253({ message: "Tags debe ser un arreglo" }),
|
|
53305
|
-
|
|
54009
|
+
IsString670({ each: true, message: "Cada elemento de tags debe ser una cadena de texto v\xE1lida" }),
|
|
53306
54010
|
MinLength58(1, { each: true, message: "Cada tag debe tener al menos un car\xE1cter" }),
|
|
53307
|
-
|
|
54011
|
+
Expose807()
|
|
53308
54012
|
], ResponseSignInDto.prototype, "tags", 2);
|
|
53309
54013
|
|
|
53310
54014
|
// src/v2/dtos/ForgotPassword.ts
|
|
53311
|
-
import { Expose as
|
|
53312
|
-
import { IsDefined as
|
|
54015
|
+
import { Expose as Expose808, Transform as Transform116 } from "class-transformer";
|
|
54016
|
+
import { IsDefined as IsDefined298, IsEmail as IsEmail7 } from "class-validator";
|
|
53313
54017
|
var ForgotPasswordDto = class {
|
|
53314
54018
|
email = "";
|
|
53315
54019
|
};
|
|
53316
54020
|
__decorateClass([
|
|
53317
54021
|
Transform116(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
53318
|
-
|
|
54022
|
+
IsDefined298({ message: "Debe proporcionar un email" }),
|
|
53319
54023
|
IsEmail7({}, { message: "El email es inv\xE1lido" }),
|
|
53320
|
-
|
|
54024
|
+
Expose808()
|
|
53321
54025
|
], ForgotPasswordDto.prototype, "email", 2);
|
|
53322
54026
|
|
|
53323
54027
|
// src/v2/dtos/ResetPassword.ts
|
|
53324
|
-
import { Expose as
|
|
54028
|
+
import { Expose as Expose809 } from "class-transformer";
|
|
53325
54029
|
import {
|
|
53326
|
-
IsString as
|
|
54030
|
+
IsString as IsString671,
|
|
53327
54031
|
MinLength as MinLength59,
|
|
53328
54032
|
IsStrongPassword
|
|
53329
54033
|
} from "class-validator";
|
|
@@ -53333,26 +54037,26 @@ var ResetPasswordDto = class {
|
|
|
53333
54037
|
token = "";
|
|
53334
54038
|
};
|
|
53335
54039
|
__decorateClass([
|
|
53336
|
-
|
|
54040
|
+
IsString671(),
|
|
53337
54041
|
MinLength59(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
53338
54042
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
53339
|
-
|
|
54043
|
+
Expose809()
|
|
53340
54044
|
], ResetPasswordDto.prototype, "password", 2);
|
|
53341
54045
|
__decorateClass([
|
|
53342
|
-
|
|
54046
|
+
IsString671(),
|
|
53343
54047
|
MinLength59(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
53344
54048
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
53345
|
-
|
|
54049
|
+
Expose809()
|
|
53346
54050
|
], ResetPasswordDto.prototype, "confirmPassword", 2);
|
|
53347
54051
|
__decorateClass([
|
|
53348
|
-
|
|
54052
|
+
IsString671(),
|
|
53349
54053
|
MinLength59(50),
|
|
53350
|
-
|
|
54054
|
+
Expose809()
|
|
53351
54055
|
], ResetPasswordDto.prototype, "token", 2);
|
|
53352
54056
|
|
|
53353
54057
|
// src/v2/dtos/CreateProfile.ts
|
|
53354
|
-
import { Expose as
|
|
53355
|
-
import { IsArray as IsArray254, IsDefined as
|
|
54058
|
+
import { Expose as Expose810, Transform as Transform117 } from "class-transformer";
|
|
54059
|
+
import { IsArray as IsArray254, IsDefined as IsDefined299, IsString as IsString672, Length as Length344, MinLength as MinLength60, IsUUID as IsUUID26 } from "class-validator";
|
|
53356
54060
|
var CreateProfileDto = class {
|
|
53357
54061
|
_id;
|
|
53358
54062
|
name;
|
|
@@ -53360,35 +54064,35 @@ var CreateProfileDto = class {
|
|
|
53360
54064
|
systemOptions;
|
|
53361
54065
|
};
|
|
53362
54066
|
__decorateClass([
|
|
53363
|
-
|
|
54067
|
+
IsDefined299({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53364
54068
|
IsUUID26("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53365
|
-
|
|
54069
|
+
Expose810()
|
|
53366
54070
|
], CreateProfileDto.prototype, "_id", 2);
|
|
53367
54071
|
__decorateClass([
|
|
53368
|
-
|
|
54072
|
+
IsDefined299({ message: "El campo nombre es requerido" }),
|
|
53369
54073
|
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53370
|
-
|
|
54074
|
+
IsString672({ message: "debe ser una cadena de texto" }),
|
|
53371
54075
|
Length344(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53372
|
-
|
|
54076
|
+
Expose810()
|
|
53373
54077
|
], CreateProfileDto.prototype, "name", 2);
|
|
53374
54078
|
__decorateClass([
|
|
53375
|
-
|
|
54079
|
+
IsDefined299({ message: "El campo descripci\xF3n es requerido" }),
|
|
53376
54080
|
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53377
|
-
|
|
54081
|
+
IsString672({ message: "debe ser una cadena de texto" }),
|
|
53378
54082
|
Length344(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53379
|
-
|
|
54083
|
+
Expose810()
|
|
53380
54084
|
], CreateProfileDto.prototype, "description", 2);
|
|
53381
54085
|
__decorateClass([
|
|
53382
|
-
|
|
54086
|
+
IsDefined299({ message: "El campo opciones de sistema es requerido" }),
|
|
53383
54087
|
IsArray254({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
53384
|
-
|
|
54088
|
+
IsString672({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
53385
54089
|
MinLength60(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
53386
|
-
|
|
54090
|
+
Expose810()
|
|
53387
54091
|
], CreateProfileDto.prototype, "systemOptions", 2);
|
|
53388
54092
|
|
|
53389
54093
|
// src/v2/dtos/UpdateProfile.ts
|
|
53390
|
-
import { Expose as
|
|
53391
|
-
import { IsArray as IsArray255, IsDefined as
|
|
54094
|
+
import { Expose as Expose811, Transform as Transform118 } from "class-transformer";
|
|
54095
|
+
import { IsArray as IsArray255, IsDefined as IsDefined300, IsString as IsString673, Length as Length345, MinLength as MinLength61, IsBoolean as IsBoolean74 } from "class-validator";
|
|
53392
54096
|
var UpdateProfileDto = class {
|
|
53393
54097
|
active;
|
|
53394
54098
|
name;
|
|
@@ -53396,75 +54100,75 @@ var UpdateProfileDto = class {
|
|
|
53396
54100
|
systemOptions;
|
|
53397
54101
|
};
|
|
53398
54102
|
__decorateClass([
|
|
53399
|
-
|
|
54103
|
+
IsDefined300({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
53400
54104
|
IsBoolean74({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
53401
|
-
|
|
54105
|
+
Expose811()
|
|
53402
54106
|
], UpdateProfileDto.prototype, "active", 2);
|
|
53403
54107
|
__decorateClass([
|
|
53404
|
-
|
|
54108
|
+
IsDefined300({ message: "El campo nombre es requerido" }),
|
|
53405
54109
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53406
|
-
|
|
54110
|
+
IsString673({ message: "debe ser una cadena de texto" }),
|
|
53407
54111
|
Length345(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53408
|
-
|
|
54112
|
+
Expose811()
|
|
53409
54113
|
], UpdateProfileDto.prototype, "name", 2);
|
|
53410
54114
|
__decorateClass([
|
|
53411
|
-
|
|
54115
|
+
IsDefined300({ message: "El campo descripci\xF3n es requerido" }),
|
|
53412
54116
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53413
|
-
|
|
54117
|
+
IsString673({ message: "debe ser una cadena de texto" }),
|
|
53414
54118
|
Length345(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
53415
|
-
|
|
54119
|
+
Expose811()
|
|
53416
54120
|
], UpdateProfileDto.prototype, "description", 2);
|
|
53417
54121
|
__decorateClass([
|
|
53418
|
-
|
|
54122
|
+
IsDefined300({ message: "El campo opciones de sistema es requerido" }),
|
|
53419
54123
|
IsArray255({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
53420
|
-
|
|
54124
|
+
IsString673({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
53421
54125
|
MinLength61(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
53422
|
-
|
|
54126
|
+
Expose811()
|
|
53423
54127
|
], UpdateProfileDto.prototype, "systemOptions", 2);
|
|
53424
54128
|
|
|
53425
54129
|
// src/v2/dtos/Company.ts
|
|
53426
|
-
import { Expose as
|
|
53427
|
-
import { IsDefined as
|
|
54130
|
+
import { Expose as Expose812 } from "class-transformer";
|
|
54131
|
+
import { IsDefined as IsDefined301, IsUUID as IsUUID28 } from "class-validator";
|
|
53428
54132
|
var CompanyDto = class {
|
|
53429
54133
|
_id;
|
|
53430
54134
|
countryId;
|
|
53431
54135
|
};
|
|
53432
54136
|
__decorateClass([
|
|
53433
|
-
|
|
54137
|
+
IsDefined301({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53434
54138
|
IsUUID28("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53435
|
-
|
|
54139
|
+
Expose812()
|
|
53436
54140
|
], CompanyDto.prototype, "_id", 2);
|
|
53437
54141
|
__decorateClass([
|
|
53438
|
-
|
|
54142
|
+
IsDefined301({ message: "El campo pa\xEDs es requerido" }),
|
|
53439
54143
|
IsUUID28("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
53440
|
-
|
|
54144
|
+
Expose812()
|
|
53441
54145
|
], CompanyDto.prototype, "countryId", 2);
|
|
53442
54146
|
|
|
53443
54147
|
// src/v2/dtos/UpdateUser.ts
|
|
53444
|
-
import { IsDefined as
|
|
53445
|
-
import { Expose as
|
|
54148
|
+
import { IsDefined as IsDefined302, IsUUID as IsUUID29, ValidateIf as ValidateIf8 } from "class-validator";
|
|
54149
|
+
import { Expose as Expose813 } from "class-transformer";
|
|
53446
54150
|
var UpdateUserDto = class {
|
|
53447
54151
|
profileId;
|
|
53448
54152
|
};
|
|
53449
54153
|
__decorateClass([
|
|
53450
|
-
|
|
54154
|
+
IsDefined302({ message: "El campo Perfil es obligatorio" }),
|
|
53451
54155
|
ValidateIf8((_, value) => value !== ""),
|
|
53452
54156
|
IsUUID29("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
53453
|
-
|
|
54157
|
+
Expose813()
|
|
53454
54158
|
], UpdateUserDto.prototype, "profileId", 2);
|
|
53455
54159
|
|
|
53456
54160
|
// src/v2/dtos/DocumentRequirement.ts
|
|
53457
|
-
import { Expose as
|
|
54161
|
+
import { Expose as Expose814, Type as Type497 } from "class-transformer";
|
|
53458
54162
|
import {
|
|
53459
54163
|
IsArray as IsArray258,
|
|
53460
54164
|
IsBoolean as IsBoolean77,
|
|
53461
|
-
IsDefined as
|
|
54165
|
+
IsDefined as IsDefined303,
|
|
53462
54166
|
IsEnum as IsEnum59,
|
|
53463
54167
|
IsNotEmpty as IsNotEmpty465,
|
|
53464
|
-
IsNumber as
|
|
53465
|
-
IsString as
|
|
54168
|
+
IsNumber as IsNumber526,
|
|
54169
|
+
IsString as IsString676,
|
|
53466
54170
|
Min as Min348,
|
|
53467
|
-
ValidateNested as
|
|
54171
|
+
ValidateNested as ValidateNested429
|
|
53468
54172
|
} from "class-validator";
|
|
53469
54173
|
|
|
53470
54174
|
// src/v2/enums/FileExtension.ts
|
|
@@ -53488,61 +54192,61 @@ var _DocumentRequirementDto = class _DocumentRequirementDto {
|
|
|
53488
54192
|
maxFileSize;
|
|
53489
54193
|
};
|
|
53490
54194
|
__decorateClass([
|
|
53491
|
-
|
|
53492
|
-
|
|
54195
|
+
IsDefined303({ message: "El id es requerido" }),
|
|
54196
|
+
IsString676({ message: "El id debe ser una cadena de texto" }),
|
|
53493
54197
|
IsNotEmpty465({ message: "El id no debe estar vac\xEDo" }),
|
|
53494
|
-
|
|
54198
|
+
Expose814()
|
|
53495
54199
|
], _DocumentRequirementDto.prototype, "id", 2);
|
|
53496
54200
|
__decorateClass([
|
|
53497
|
-
|
|
53498
|
-
|
|
54201
|
+
IsDefined303({ message: "La etiqueta es requerida" }),
|
|
54202
|
+
IsString676({ message: "La etiqueta debe ser una cadena de texto" }),
|
|
53499
54203
|
IsNotEmpty465({ message: "La etiqueta no debe estar vac\xEDa" }),
|
|
53500
|
-
|
|
54204
|
+
Expose814()
|
|
53501
54205
|
], _DocumentRequirementDto.prototype, "label", 2);
|
|
53502
54206
|
__decorateClass([
|
|
53503
|
-
|
|
54207
|
+
IsDefined303({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
53504
54208
|
IsArray258({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
53505
54209
|
IsEnum59(FileExtension, {
|
|
53506
54210
|
each: true,
|
|
53507
54211
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
53508
54212
|
}),
|
|
53509
|
-
|
|
54213
|
+
Expose814()
|
|
53510
54214
|
], _DocumentRequirementDto.prototype, "acceptedFileExtensions", 2);
|
|
53511
54215
|
__decorateClass([
|
|
53512
|
-
|
|
54216
|
+
IsDefined303({ message: "Los hijos son requeridos" }),
|
|
53513
54217
|
IsArray258({ message: "Los hijos deben ser un arreglo" }),
|
|
53514
|
-
|
|
53515
|
-
|
|
53516
|
-
|
|
54218
|
+
Type497(() => _DocumentRequirementDto),
|
|
54219
|
+
ValidateNested429({ each: true }),
|
|
54220
|
+
Expose814()
|
|
53517
54221
|
], _DocumentRequirementDto.prototype, "children", 2);
|
|
53518
54222
|
__decorateClass([
|
|
53519
|
-
|
|
53520
|
-
|
|
54223
|
+
IsDefined303({ message: "El n\xFAmero m\xEDnimo de archivos es requerido" }),
|
|
54224
|
+
IsNumber526({}, { message: "El n\xFAmero m\xEDnimo de archivos debe ser un n\xFAmero" }),
|
|
53521
54225
|
Min348(0, { message: "El n\xFAmero m\xEDnimo de archivos debe ser mayor o igual a $constraint1" }),
|
|
53522
|
-
|
|
54226
|
+
Expose814()
|
|
53523
54227
|
], _DocumentRequirementDto.prototype, "minFiles", 2);
|
|
53524
54228
|
__decorateClass([
|
|
53525
|
-
|
|
53526
|
-
|
|
54229
|
+
IsDefined303({ message: "El n\xFAmero m\xE1ximo de archivos es requerido" }),
|
|
54230
|
+
IsNumber526({}, { message: "El n\xFAmero m\xE1ximo de archivos debe ser un n\xFAmero" }),
|
|
53527
54231
|
Min348(1, { message: "El n\xFAmero m\xE1ximo de archivos debe ser mayor o igual a $constraint1" }),
|
|
53528
|
-
|
|
54232
|
+
Expose814()
|
|
53529
54233
|
], _DocumentRequirementDto.prototype, "maxFiles", 2);
|
|
53530
54234
|
__decorateClass([
|
|
53531
|
-
|
|
54235
|
+
IsDefined303({ message: "La propiedad de requiere metadatos es requerida" }),
|
|
53532
54236
|
IsBoolean77({ message: "La propiedad de requiere metadatos debe ser un booleano" }),
|
|
53533
|
-
|
|
54237
|
+
Expose814()
|
|
53534
54238
|
], _DocumentRequirementDto.prototype, "requiresMetadata", 2);
|
|
53535
54239
|
__decorateClass([
|
|
53536
|
-
|
|
53537
|
-
|
|
54240
|
+
IsDefined303({ message: "El tama\xF1o m\xE1ximo de archivo es requerido" }),
|
|
54241
|
+
IsNumber526({}, { message: "El tama\xF1o m\xE1ximo de archivo debe ser un n\xFAmero" }),
|
|
53538
54242
|
Min348(0, { message: "El tama\xF1o m\xE1ximo de archivo debe ser mayor o igual a $constraint1" }),
|
|
53539
|
-
|
|
54243
|
+
Expose814()
|
|
53540
54244
|
], _DocumentRequirementDto.prototype, "maxFileSize", 2);
|
|
53541
54245
|
var DocumentRequirementDto = _DocumentRequirementDto;
|
|
53542
54246
|
|
|
53543
54247
|
// src/v2/dtos/CreateDelegation.ts
|
|
53544
|
-
import { Expose as
|
|
53545
|
-
import { IsDefined as
|
|
54248
|
+
import { Expose as Expose815 } from "class-transformer";
|
|
54249
|
+
import { IsDefined as IsDefined304, IsNotEmpty as IsNotEmpty466, IsString as IsString677, IsUUID as IsUUID30 } from "class-validator";
|
|
53546
54250
|
var CreateDelegationDto = class {
|
|
53547
54251
|
_id;
|
|
53548
54252
|
countryId;
|
|
@@ -53550,31 +54254,31 @@ var CreateDelegationDto = class {
|
|
|
53550
54254
|
name;
|
|
53551
54255
|
};
|
|
53552
54256
|
__decorateClass([
|
|
53553
|
-
|
|
54257
|
+
IsDefined304({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53554
54258
|
IsUUID30("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53555
|
-
|
|
54259
|
+
Expose815()
|
|
53556
54260
|
], CreateDelegationDto.prototype, "_id", 2);
|
|
53557
54261
|
__decorateClass([
|
|
53558
|
-
|
|
54262
|
+
IsDefined304({ message: "El campo pa\xEDs es obligatorio" }),
|
|
53559
54263
|
IsUUID30("4", { message: "El campo pa\xEDs debe ser un UUID v4 v\xE1lido." }),
|
|
53560
|
-
|
|
54264
|
+
Expose815()
|
|
53561
54265
|
], CreateDelegationDto.prototype, "countryId", 2);
|
|
53562
54266
|
__decorateClass([
|
|
53563
|
-
|
|
53564
|
-
|
|
54267
|
+
IsDefined304({ message: "El campo c\xF3digo es obligatorio." }),
|
|
54268
|
+
IsString677({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
53565
54269
|
IsNotEmpty466({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
53566
|
-
|
|
54270
|
+
Expose815()
|
|
53567
54271
|
], CreateDelegationDto.prototype, "code", 2);
|
|
53568
54272
|
__decorateClass([
|
|
53569
|
-
|
|
53570
|
-
|
|
54273
|
+
IsDefined304({ message: "El campo nombre es obligatorio." }),
|
|
54274
|
+
IsString677({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
53571
54275
|
IsNotEmpty466({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
53572
|
-
|
|
54276
|
+
Expose815()
|
|
53573
54277
|
], CreateDelegationDto.prototype, "name", 2);
|
|
53574
54278
|
|
|
53575
54279
|
// src/v2/dtos/UpdateDelegation.ts
|
|
53576
|
-
import { Expose as
|
|
53577
|
-
import { IsDefined as
|
|
54280
|
+
import { Expose as Expose816 } from "class-transformer";
|
|
54281
|
+
import { IsDefined as IsDefined305, IsNotEmpty as IsNotEmpty467, IsString as IsString678, IsUUID as IsUUID31 } from "class-validator";
|
|
53578
54282
|
var UpdateDelegationDto = class {
|
|
53579
54283
|
_id;
|
|
53580
54284
|
countryId;
|
|
@@ -53582,78 +54286,78 @@ var UpdateDelegationDto = class {
|
|
|
53582
54286
|
name;
|
|
53583
54287
|
};
|
|
53584
54288
|
__decorateClass([
|
|
53585
|
-
|
|
54289
|
+
IsDefined305({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53586
54290
|
IsUUID31("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53587
|
-
|
|
54291
|
+
Expose816()
|
|
53588
54292
|
], UpdateDelegationDto.prototype, "_id", 2);
|
|
53589
54293
|
__decorateClass([
|
|
53590
|
-
|
|
54294
|
+
IsDefined305({ message: "El campo pa\xEDs es obligatorio" }),
|
|
53591
54295
|
IsUUID31("4", { message: "El campo pa\xEDs debe ser un UUID v4 v\xE1lido." }),
|
|
53592
|
-
|
|
54296
|
+
Expose816()
|
|
53593
54297
|
], UpdateDelegationDto.prototype, "countryId", 2);
|
|
53594
54298
|
__decorateClass([
|
|
53595
|
-
|
|
53596
|
-
|
|
54299
|
+
IsDefined305({ message: "El campo c\xF3digo es obligatorio." }),
|
|
54300
|
+
IsString678({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
53597
54301
|
IsNotEmpty467({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
53598
|
-
|
|
54302
|
+
Expose816()
|
|
53599
54303
|
], UpdateDelegationDto.prototype, "code", 2);
|
|
53600
54304
|
__decorateClass([
|
|
53601
|
-
|
|
53602
|
-
|
|
54305
|
+
IsDefined305({ message: "El campo nombre es obligatorio." }),
|
|
54306
|
+
IsString678({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
53603
54307
|
IsNotEmpty467({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
53604
|
-
|
|
54308
|
+
Expose816()
|
|
53605
54309
|
], UpdateDelegationDto.prototype, "name", 2);
|
|
53606
54310
|
|
|
53607
54311
|
// src/v2/dtos/CreateCountry.ts
|
|
53608
|
-
import { Expose as
|
|
53609
|
-
import { IsDefined as
|
|
54312
|
+
import { Expose as Expose817 } from "class-transformer";
|
|
54313
|
+
import { IsDefined as IsDefined306, IsNotEmpty as IsNotEmpty468, IsString as IsString679, IsUUID as IsUUID32 } from "class-validator";
|
|
53610
54314
|
var CreateCountryDto = class {
|
|
53611
54315
|
_id;
|
|
53612
54316
|
code;
|
|
53613
54317
|
name;
|
|
53614
54318
|
};
|
|
53615
54319
|
__decorateClass([
|
|
53616
|
-
|
|
54320
|
+
IsDefined306({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53617
54321
|
IsUUID32("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53618
|
-
|
|
54322
|
+
Expose817()
|
|
53619
54323
|
], CreateCountryDto.prototype, "_id", 2);
|
|
53620
54324
|
__decorateClass([
|
|
53621
|
-
|
|
53622
|
-
|
|
54325
|
+
IsDefined306({ message: "El campo c\xF3digo es obligatorio." }),
|
|
54326
|
+
IsString679({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
53623
54327
|
IsNotEmpty468({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
53624
|
-
|
|
54328
|
+
Expose817()
|
|
53625
54329
|
], CreateCountryDto.prototype, "code", 2);
|
|
53626
54330
|
__decorateClass([
|
|
53627
|
-
|
|
53628
|
-
|
|
54331
|
+
IsDefined306({ message: "El campo nombre es obligatorio." }),
|
|
54332
|
+
IsString679({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
53629
54333
|
IsNotEmpty468({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
53630
|
-
|
|
54334
|
+
Expose817()
|
|
53631
54335
|
], CreateCountryDto.prototype, "name", 2);
|
|
53632
54336
|
|
|
53633
54337
|
// src/v2/dtos/UpdateCountry.ts
|
|
53634
|
-
import { Expose as
|
|
53635
|
-
import { IsDefined as
|
|
54338
|
+
import { Expose as Expose818 } from "class-transformer";
|
|
54339
|
+
import { IsDefined as IsDefined307, IsNotEmpty as IsNotEmpty469, IsString as IsString680, IsUUID as IsUUID33 } from "class-validator";
|
|
53636
54340
|
var UpdateCountryDto = class {
|
|
53637
54341
|
_id;
|
|
53638
54342
|
code;
|
|
53639
54343
|
name;
|
|
53640
54344
|
};
|
|
53641
54345
|
__decorateClass([
|
|
53642
|
-
|
|
54346
|
+
IsDefined307({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53643
54347
|
IsUUID33("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53644
|
-
|
|
54348
|
+
Expose818()
|
|
53645
54349
|
], UpdateCountryDto.prototype, "_id", 2);
|
|
53646
54350
|
__decorateClass([
|
|
53647
|
-
|
|
53648
|
-
|
|
54351
|
+
IsDefined307({ message: "El campo c\xF3digo es obligatorio." }),
|
|
54352
|
+
IsString680({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
53649
54353
|
IsNotEmpty469({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
53650
|
-
|
|
54354
|
+
Expose818()
|
|
53651
54355
|
], UpdateCountryDto.prototype, "code", 2);
|
|
53652
54356
|
__decorateClass([
|
|
53653
|
-
|
|
53654
|
-
|
|
54357
|
+
IsDefined307({ message: "El campo nombre es obligatorio." }),
|
|
54358
|
+
IsString680({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
53655
54359
|
IsNotEmpty469({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
53656
|
-
|
|
54360
|
+
Expose818()
|
|
53657
54361
|
], UpdateCountryDto.prototype, "name", 2);
|
|
53658
54362
|
|
|
53659
54363
|
// src/v2/enums/CompanyType.ts
|
|
@@ -53664,8 +54368,8 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
53664
54368
|
})(CompanyType || {});
|
|
53665
54369
|
|
|
53666
54370
|
// src/v2/dtos/CreateCompany.ts
|
|
53667
|
-
import { Expose as
|
|
53668
|
-
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as
|
|
54371
|
+
import { Expose as Expose819 } from "class-transformer";
|
|
54372
|
+
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as IsDefined308, IsEmail as IsEmail10, IsEnum as IsEnum60, IsNotEmpty as IsNotEmpty470, IsString as IsString681, IsUUID as IsUUID34 } from "class-validator";
|
|
53669
54373
|
var CreateCompanyDto = class {
|
|
53670
54374
|
_id;
|
|
53671
54375
|
companyType;
|
|
@@ -53680,72 +54384,72 @@ var CreateCompanyDto = class {
|
|
|
53680
54384
|
countryId;
|
|
53681
54385
|
};
|
|
53682
54386
|
__decorateClass([
|
|
53683
|
-
|
|
54387
|
+
IsDefined308({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53684
54388
|
IsUUID34("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53685
|
-
|
|
54389
|
+
Expose819()
|
|
53686
54390
|
], CreateCompanyDto.prototype, "_id", 2);
|
|
53687
54391
|
__decorateClass([
|
|
53688
|
-
|
|
54392
|
+
IsDefined308({ message: "El tipo de empresa es requerido" }),
|
|
53689
54393
|
IsEnum60(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
53690
|
-
|
|
54394
|
+
Expose819()
|
|
53691
54395
|
], CreateCompanyDto.prototype, "companyType", 2);
|
|
53692
54396
|
__decorateClass([
|
|
53693
|
-
|
|
53694
|
-
|
|
54397
|
+
IsDefined308({ message: "La identificaci\xF3n es requerida" }),
|
|
54398
|
+
IsString681({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
53695
54399
|
IsNotEmpty470({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
53696
|
-
|
|
54400
|
+
Expose819()
|
|
53697
54401
|
], CreateCompanyDto.prototype, "identification", 2);
|
|
53698
54402
|
__decorateClass([
|
|
53699
|
-
|
|
53700
|
-
|
|
54403
|
+
IsDefined308({ message: "El c\xF3digo es requerido" }),
|
|
54404
|
+
IsString681({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
53701
54405
|
IsNotEmpty470({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
53702
|
-
|
|
54406
|
+
Expose819()
|
|
53703
54407
|
], CreateCompanyDto.prototype, "code", 2);
|
|
53704
54408
|
__decorateClass([
|
|
53705
|
-
|
|
53706
|
-
|
|
54409
|
+
IsDefined308({ message: "El nombre legal es requerido" }),
|
|
54410
|
+
IsString681({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
53707
54411
|
IsNotEmpty470({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
53708
|
-
|
|
54412
|
+
Expose819()
|
|
53709
54413
|
], CreateCompanyDto.prototype, "legalName", 2);
|
|
53710
54414
|
__decorateClass([
|
|
53711
|
-
|
|
53712
|
-
|
|
54415
|
+
IsDefined308({ message: "El nombre comercial es requerido" }),
|
|
54416
|
+
IsString681({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
53713
54417
|
IsNotEmpty470({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
53714
|
-
|
|
54418
|
+
Expose819()
|
|
53715
54419
|
], CreateCompanyDto.prototype, "tradeName", 2);
|
|
53716
54420
|
__decorateClass([
|
|
53717
|
-
|
|
54421
|
+
IsDefined308({ message: "La propiedad es propia es requerida" }),
|
|
53718
54422
|
IsBoolean78({ message: "La propiedad es propia debe ser un booleano" }),
|
|
53719
|
-
|
|
54423
|
+
Expose819()
|
|
53720
54424
|
], CreateCompanyDto.prototype, "isOwn", 2);
|
|
53721
54425
|
__decorateClass([
|
|
53722
|
-
|
|
53723
|
-
|
|
54426
|
+
IsDefined308({ message: "La direcci\xF3n es requerida" }),
|
|
54427
|
+
IsString681({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
53724
54428
|
IsNotEmpty470({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
53725
|
-
|
|
54429
|
+
Expose819()
|
|
53726
54430
|
], CreateCompanyDto.prototype, "address", 2);
|
|
53727
54431
|
__decorateClass([
|
|
53728
|
-
|
|
54432
|
+
IsDefined308({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
53729
54433
|
IsArray259({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
53730
54434
|
IsEmail10({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
53731
|
-
|
|
54435
|
+
Expose819()
|
|
53732
54436
|
], CreateCompanyDto.prototype, "emails", 2);
|
|
53733
54437
|
__decorateClass([
|
|
53734
|
-
|
|
54438
|
+
IsDefined308({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
53735
54439
|
IsArray259({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
53736
|
-
|
|
54440
|
+
IsString681({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
53737
54441
|
IsNotEmpty470({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
53738
|
-
|
|
54442
|
+
Expose819()
|
|
53739
54443
|
], CreateCompanyDto.prototype, "phones", 2);
|
|
53740
54444
|
__decorateClass([
|
|
53741
|
-
|
|
54445
|
+
IsDefined308({ message: "El campo pa\xEDs es requerido" }),
|
|
53742
54446
|
IsUUID34("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
53743
|
-
|
|
54447
|
+
Expose819()
|
|
53744
54448
|
], CreateCompanyDto.prototype, "countryId", 2);
|
|
53745
54449
|
|
|
53746
54450
|
// src/v2/dtos/UpdateCompany.ts
|
|
53747
|
-
import { Expose as
|
|
53748
|
-
import { IsArray as IsArray260, IsBoolean as IsBoolean79, IsDefined as
|
|
54451
|
+
import { Expose as Expose820 } from "class-transformer";
|
|
54452
|
+
import { IsArray as IsArray260, IsBoolean as IsBoolean79, IsDefined as IsDefined309, IsEmail as IsEmail11, IsEnum as IsEnum61, IsNotEmpty as IsNotEmpty471, IsString as IsString682, IsUUID as IsUUID35 } from "class-validator";
|
|
53749
54453
|
var UpdateCompanyDto = class {
|
|
53750
54454
|
_id;
|
|
53751
54455
|
companyType;
|
|
@@ -53760,76 +54464,76 @@ var UpdateCompanyDto = class {
|
|
|
53760
54464
|
countryId;
|
|
53761
54465
|
};
|
|
53762
54466
|
__decorateClass([
|
|
53763
|
-
|
|
54467
|
+
IsDefined309({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53764
54468
|
IsUUID35("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53765
|
-
|
|
54469
|
+
Expose820()
|
|
53766
54470
|
], UpdateCompanyDto.prototype, "_id", 2);
|
|
53767
54471
|
__decorateClass([
|
|
53768
|
-
|
|
54472
|
+
IsDefined309({ message: "El tipo de empresa es requerido" }),
|
|
53769
54473
|
IsEnum61(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
53770
|
-
|
|
54474
|
+
Expose820()
|
|
53771
54475
|
], UpdateCompanyDto.prototype, "companyType", 2);
|
|
53772
54476
|
__decorateClass([
|
|
53773
|
-
|
|
53774
|
-
|
|
54477
|
+
IsDefined309({ message: "La identificaci\xF3n es requerida" }),
|
|
54478
|
+
IsString682({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
53775
54479
|
IsNotEmpty471({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
53776
|
-
|
|
54480
|
+
Expose820()
|
|
53777
54481
|
], UpdateCompanyDto.prototype, "identification", 2);
|
|
53778
54482
|
__decorateClass([
|
|
53779
|
-
|
|
53780
|
-
|
|
54483
|
+
IsDefined309({ message: "El c\xF3digo es requerido" }),
|
|
54484
|
+
IsString682({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
53781
54485
|
IsNotEmpty471({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
53782
|
-
|
|
54486
|
+
Expose820()
|
|
53783
54487
|
], UpdateCompanyDto.prototype, "code", 2);
|
|
53784
54488
|
__decorateClass([
|
|
53785
|
-
|
|
53786
|
-
|
|
54489
|
+
IsDefined309({ message: "El nombre legal es requerido" }),
|
|
54490
|
+
IsString682({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
53787
54491
|
IsNotEmpty471({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
53788
|
-
|
|
54492
|
+
Expose820()
|
|
53789
54493
|
], UpdateCompanyDto.prototype, "legalName", 2);
|
|
53790
54494
|
__decorateClass([
|
|
53791
|
-
|
|
53792
|
-
|
|
54495
|
+
IsDefined309({ message: "El nombre comercial es requerido" }),
|
|
54496
|
+
IsString682({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
53793
54497
|
IsNotEmpty471({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
53794
|
-
|
|
54498
|
+
Expose820()
|
|
53795
54499
|
], UpdateCompanyDto.prototype, "tradeName", 2);
|
|
53796
54500
|
__decorateClass([
|
|
53797
|
-
|
|
54501
|
+
IsDefined309({ message: "La propiedad es propia es requerida" }),
|
|
53798
54502
|
IsBoolean79({ message: "La propiedad es propia debe ser un booleano" }),
|
|
53799
|
-
|
|
54503
|
+
Expose820()
|
|
53800
54504
|
], UpdateCompanyDto.prototype, "isOwn", 2);
|
|
53801
54505
|
__decorateClass([
|
|
53802
|
-
|
|
53803
|
-
|
|
54506
|
+
IsDefined309({ message: "La direcci\xF3n es requerida" }),
|
|
54507
|
+
IsString682({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
53804
54508
|
IsNotEmpty471({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
53805
|
-
|
|
54509
|
+
Expose820()
|
|
53806
54510
|
], UpdateCompanyDto.prototype, "address", 2);
|
|
53807
54511
|
__decorateClass([
|
|
53808
|
-
|
|
54512
|
+
IsDefined309({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
53809
54513
|
IsArray260({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
53810
54514
|
IsEmail11({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
53811
|
-
|
|
54515
|
+
Expose820()
|
|
53812
54516
|
], UpdateCompanyDto.prototype, "emails", 2);
|
|
53813
54517
|
__decorateClass([
|
|
53814
|
-
|
|
54518
|
+
IsDefined309({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
53815
54519
|
IsArray260({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
53816
|
-
|
|
54520
|
+
IsString682({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
53817
54521
|
IsNotEmpty471({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
53818
|
-
|
|
54522
|
+
Expose820()
|
|
53819
54523
|
], UpdateCompanyDto.prototype, "phones", 2);
|
|
53820
54524
|
__decorateClass([
|
|
53821
|
-
|
|
54525
|
+
IsDefined309({ message: "El campo pa\xEDs es requerido" }),
|
|
53822
54526
|
IsUUID35("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
53823
|
-
|
|
54527
|
+
Expose820()
|
|
53824
54528
|
], UpdateCompanyDto.prototype, "countryId", 2);
|
|
53825
54529
|
|
|
53826
54530
|
// src/v2/dtos/CreateUser.ts
|
|
53827
|
-
import { IsArray as IsArray261, IsBoolean as IsBoolean80, IsDefined as
|
|
53828
|
-
import { Expose as
|
|
54531
|
+
import { IsArray as IsArray261, IsBoolean as IsBoolean80, IsDefined as IsDefined311, IsEmail as IsEmail12, IsString as IsString684, IsUUID as IsUUID36, ValidateIf as ValidateIf9, ValidateNested as ValidateNested430 } from "class-validator";
|
|
54532
|
+
import { Expose as Expose822, Transform as Transform122, Type as Type499 } from "class-transformer";
|
|
53829
54533
|
|
|
53830
54534
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
53831
|
-
import { Expose as
|
|
53832
|
-
import { IsDate as
|
|
54535
|
+
import { Expose as Expose821, Type as Type498 } from "class-transformer";
|
|
54536
|
+
import { IsDate as IsDate192, IsDefined as IsDefined310, IsEnum as IsEnum62, IsString as IsString683, MinLength as MinLength62 } from "class-validator";
|
|
53833
54537
|
|
|
53834
54538
|
// src/v2/enums/SystemResource.ts
|
|
53835
54539
|
var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
|
|
@@ -53855,21 +54559,21 @@ var ResourceSystemDto = class {
|
|
|
53855
54559
|
startDateActivity;
|
|
53856
54560
|
};
|
|
53857
54561
|
__decorateClass([
|
|
53858
|
-
|
|
53859
|
-
|
|
54562
|
+
IsDefined310({ message: "ID Recurso es obligatoria" }),
|
|
54563
|
+
IsString683({ message: "ID Recurso debe ser una cadena de texto" }),
|
|
53860
54564
|
MinLength62(1, { message: "La longitud ID Recurso debe ser m\xEDnimo 1" }),
|
|
53861
|
-
|
|
54565
|
+
Expose821()
|
|
53862
54566
|
], ResourceSystemDto.prototype, "resource_id", 2);
|
|
53863
54567
|
__decorateClass([
|
|
53864
|
-
|
|
54568
|
+
IsDefined310({ message: "Sistema es obligatoria" }),
|
|
53865
54569
|
IsEnum62(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
|
|
53866
|
-
|
|
54570
|
+
Expose821()
|
|
53867
54571
|
], ResourceSystemDto.prototype, "system", 2);
|
|
53868
54572
|
__decorateClass([
|
|
53869
|
-
|
|
53870
|
-
|
|
53871
|
-
|
|
53872
|
-
|
|
54573
|
+
IsDefined310({ message: "Fecha inicio actividad es obligatoria" }),
|
|
54574
|
+
IsDate192({ message: "Fecha inicio actividad debe ser una fecha" }),
|
|
54575
|
+
Type498(() => Date),
|
|
54576
|
+
Expose821()
|
|
53873
54577
|
], ResourceSystemDto.prototype, "startDateActivity", 2);
|
|
53874
54578
|
|
|
53875
54579
|
// src/v2/dtos/CreateUser.ts
|
|
@@ -53888,143 +54592,143 @@ var CreateUserDto = class {
|
|
|
53888
54592
|
resourceSystem;
|
|
53889
54593
|
};
|
|
53890
54594
|
__decorateClass([
|
|
53891
|
-
|
|
54595
|
+
IsDefined311({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53892
54596
|
IsUUID36("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53893
|
-
|
|
54597
|
+
Expose822()
|
|
53894
54598
|
], CreateUserDto.prototype, "_id", 2);
|
|
53895
54599
|
__decorateClass([
|
|
53896
|
-
|
|
54600
|
+
IsDefined311({ message: "El correo es requerido" }),
|
|
53897
54601
|
IsEmail12({}, { message: "El correo es invalido" }),
|
|
53898
54602
|
Transform122(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
53899
|
-
|
|
54603
|
+
Expose822()
|
|
53900
54604
|
], CreateUserDto.prototype, "email", 2);
|
|
53901
54605
|
__decorateClass([
|
|
53902
54606
|
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53903
|
-
|
|
53904
|
-
|
|
53905
|
-
|
|
54607
|
+
IsDefined311({ message: "La contrase\xF1a es requerida" }),
|
|
54608
|
+
IsString684({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
54609
|
+
Expose822()
|
|
53906
54610
|
], CreateUserDto.prototype, "password", 2);
|
|
53907
54611
|
__decorateClass([
|
|
53908
54612
|
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53909
|
-
|
|
53910
|
-
|
|
53911
|
-
|
|
54613
|
+
IsDefined311({ message: "El apellido paterno es requerido" }),
|
|
54614
|
+
IsString684({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
54615
|
+
Expose822()
|
|
53912
54616
|
], CreateUserDto.prototype, "paternalLastName", 2);
|
|
53913
54617
|
__decorateClass([
|
|
53914
54618
|
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53915
|
-
|
|
53916
|
-
|
|
53917
|
-
|
|
54619
|
+
IsDefined311({ message: "El apellido materno es requerido" }),
|
|
54620
|
+
IsString684({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
54621
|
+
Expose822()
|
|
53918
54622
|
], CreateUserDto.prototype, "maternalLastName", 2);
|
|
53919
54623
|
__decorateClass([
|
|
53920
54624
|
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53921
|
-
|
|
53922
|
-
|
|
53923
|
-
|
|
54625
|
+
IsDefined311({ message: "El nombre es requerido" }),
|
|
54626
|
+
IsString684({ message: "El nombre debe ser una cadena de texto" }),
|
|
54627
|
+
Expose822()
|
|
53924
54628
|
], CreateUserDto.prototype, "firstNames", 2);
|
|
53925
54629
|
__decorateClass([
|
|
53926
54630
|
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
53927
|
-
|
|
53928
|
-
|
|
53929
|
-
|
|
54631
|
+
IsDefined311({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
54632
|
+
IsString684({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
54633
|
+
Expose822()
|
|
53930
54634
|
], CreateUserDto.prototype, "identification", 2);
|
|
53931
54635
|
__decorateClass([
|
|
53932
|
-
|
|
54636
|
+
IsDefined311({ message: "El campo empresas es requerido" }),
|
|
53933
54637
|
IsArray261({ message: "El campo empresas debe ser un array" }),
|
|
53934
|
-
|
|
53935
|
-
|
|
53936
|
-
|
|
54638
|
+
Type499(() => CompanyDto),
|
|
54639
|
+
ValidateNested430({ each: true }),
|
|
54640
|
+
Expose822()
|
|
53937
54641
|
], CreateUserDto.prototype, "companies", 2);
|
|
53938
54642
|
__decorateClass([
|
|
53939
|
-
|
|
54643
|
+
IsDefined311({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
53940
54644
|
IsArray261({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
53941
54645
|
IsUUID36("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
53942
|
-
|
|
54646
|
+
Expose822()
|
|
53943
54647
|
], CreateUserDto.prototype, "delegationIds", 2);
|
|
53944
54648
|
__decorateClass([
|
|
53945
|
-
|
|
54649
|
+
IsDefined311({ message: 'La propiedad "root" es obligatoria.' }),
|
|
53946
54650
|
IsBoolean80({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
53947
|
-
|
|
54651
|
+
Expose822()
|
|
53948
54652
|
], CreateUserDto.prototype, "root", 2);
|
|
53949
54653
|
__decorateClass([
|
|
53950
|
-
|
|
54654
|
+
IsDefined311({ message: "El campo Perfil es obligatorio" }),
|
|
53951
54655
|
ValidateIf9((_, value) => value !== ""),
|
|
53952
54656
|
IsUUID36("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
53953
|
-
|
|
54657
|
+
Expose822()
|
|
53954
54658
|
], CreateUserDto.prototype, "profileId", 2);
|
|
53955
54659
|
__decorateClass([
|
|
53956
|
-
|
|
53957
|
-
|
|
53958
|
-
|
|
54660
|
+
IsDefined311({ message: "Resurso sistema es obligatoria" }),
|
|
54661
|
+
Type499(() => ResourceSystemDto),
|
|
54662
|
+
ValidateNested430({ each: true }),
|
|
53959
54663
|
IsArray261({ message: "Recurso sistema debe ser un array" }),
|
|
53960
|
-
|
|
54664
|
+
Expose822()
|
|
53961
54665
|
], CreateUserDto.prototype, "resourceSystem", 2);
|
|
53962
54666
|
|
|
53963
54667
|
// src/v2/dtos/CreateThemeConfigCountry.ts
|
|
53964
|
-
import { Expose as
|
|
53965
|
-
import { IsDefined as
|
|
54668
|
+
import { Expose as Expose827, Type as Type501 } from "class-transformer";
|
|
54669
|
+
import { IsDefined as IsDefined312, IsNumber as IsNumber528, IsString as IsString689, IsUUID as IsUUID37, ValidateNested as ValidateNested432 } from "class-validator";
|
|
53966
54670
|
|
|
53967
54671
|
// src/v2/shared-dto/EstadoDTO.ts
|
|
53968
|
-
import { Expose as
|
|
53969
|
-
import { IsNumber as
|
|
54672
|
+
import { Expose as Expose823 } from "class-transformer";
|
|
54673
|
+
import { IsNumber as IsNumber527, IsString as IsString685, IsNotEmpty as IsNotEmpty472, Length as Length346 } from "class-validator";
|
|
53970
54674
|
var EstadoDTO2 = class {
|
|
53971
54675
|
ID_Estado = 1;
|
|
53972
54676
|
Nombre = "ACTIVO";
|
|
53973
54677
|
};
|
|
53974
54678
|
__decorateClass([
|
|
53975
|
-
|
|
54679
|
+
IsNumber527({}, { message: "debe ser un numero" }),
|
|
53976
54680
|
IsNotEmpty472({ message: "es requerido" }),
|
|
53977
|
-
|
|
54681
|
+
Expose823()
|
|
53978
54682
|
], EstadoDTO2.prototype, "ID_Estado", 2);
|
|
53979
54683
|
__decorateClass([
|
|
53980
|
-
|
|
54684
|
+
IsString685({ message: "debe ser un texto" }),
|
|
53981
54685
|
IsNotEmpty472({ message: "es requerido" }),
|
|
53982
54686
|
Length346(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
53983
|
-
|
|
54687
|
+
Expose823()
|
|
53984
54688
|
], EstadoDTO2.prototype, "Nombre", 2);
|
|
53985
54689
|
|
|
53986
54690
|
// src/v2/shared-dto/CodigoNombreDTO.ts
|
|
53987
|
-
import { Expose as
|
|
53988
|
-
import { IsString as
|
|
54691
|
+
import { Expose as Expose824 } from "class-transformer";
|
|
54692
|
+
import { IsString as IsString686, Length as Length347 } from "class-validator";
|
|
53989
54693
|
var CodigoNombreDTO4 = class {
|
|
53990
54694
|
Codigo = "";
|
|
53991
54695
|
Nombre = "";
|
|
53992
54696
|
};
|
|
53993
54697
|
__decorateClass([
|
|
53994
|
-
|
|
54698
|
+
IsString686({ message: "debe ser un texto" }),
|
|
53995
54699
|
Length347(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
53996
|
-
|
|
54700
|
+
Expose824()
|
|
53997
54701
|
], CodigoNombreDTO4.prototype, "Codigo", 2);
|
|
53998
54702
|
__decorateClass([
|
|
53999
|
-
|
|
54703
|
+
IsString686({ message: "debe ser un texto" }),
|
|
54000
54704
|
Length347(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
54001
|
-
|
|
54705
|
+
Expose824()
|
|
54002
54706
|
], CodigoNombreDTO4.prototype, "Nombre", 2);
|
|
54003
54707
|
|
|
54004
54708
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
54005
|
-
import { Expose as
|
|
54006
|
-
import { IsString as
|
|
54709
|
+
import { Expose as Expose826 } from "class-transformer";
|
|
54710
|
+
import { IsString as IsString688, ValidateNested as ValidateNested431 } from "class-validator";
|
|
54007
54711
|
|
|
54008
54712
|
// src/v2/shared-dto/CoordenadasDTO.ts
|
|
54009
|
-
import { Expose as
|
|
54010
|
-
import { IsString as
|
|
54713
|
+
import { Expose as Expose825 } from "class-transformer";
|
|
54714
|
+
import { IsString as IsString687, Length as Length348 } from "class-validator";
|
|
54011
54715
|
var CoordenadasDTO2 = class {
|
|
54012
54716
|
X = "";
|
|
54013
54717
|
Y = "";
|
|
54014
54718
|
};
|
|
54015
54719
|
__decorateClass([
|
|
54016
|
-
|
|
54720
|
+
IsString687({ message: "debe ser un texto" }),
|
|
54017
54721
|
Length348(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
54018
|
-
|
|
54722
|
+
Expose825()
|
|
54019
54723
|
], CoordenadasDTO2.prototype, "X", 2);
|
|
54020
54724
|
__decorateClass([
|
|
54021
|
-
|
|
54725
|
+
IsString687({ message: "debe ser un texto" }),
|
|
54022
54726
|
Length348(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
54023
|
-
|
|
54727
|
+
Expose825()
|
|
54024
54728
|
], CoordenadasDTO2.prototype, "Y", 2);
|
|
54025
54729
|
|
|
54026
54730
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
54027
|
-
import { Type as
|
|
54731
|
+
import { Type as Type500 } from "class-transformer";
|
|
54028
54732
|
var ImgLogoNavBarDTO2 = class {
|
|
54029
54733
|
Coordenadas = new CoordenadasDTO2();
|
|
54030
54734
|
Estado = "";
|
|
@@ -54033,25 +54737,25 @@ var ImgLogoNavBarDTO2 = class {
|
|
|
54033
54737
|
img = "";
|
|
54034
54738
|
};
|
|
54035
54739
|
__decorateClass([
|
|
54036
|
-
|
|
54037
|
-
|
|
54038
|
-
|
|
54740
|
+
ValidateNested431(),
|
|
54741
|
+
Type500(() => CoordenadasDTO2),
|
|
54742
|
+
Expose826()
|
|
54039
54743
|
], ImgLogoNavBarDTO2.prototype, "Coordenadas", 2);
|
|
54040
54744
|
__decorateClass([
|
|
54041
|
-
|
|
54042
|
-
|
|
54745
|
+
IsString688(),
|
|
54746
|
+
Expose826()
|
|
54043
54747
|
], ImgLogoNavBarDTO2.prototype, "Estado", 2);
|
|
54044
54748
|
__decorateClass([
|
|
54045
|
-
|
|
54046
|
-
|
|
54749
|
+
IsString688(),
|
|
54750
|
+
Expose826()
|
|
54047
54751
|
], ImgLogoNavBarDTO2.prototype, "Fecha", 2);
|
|
54048
54752
|
__decorateClass([
|
|
54049
|
-
|
|
54050
|
-
|
|
54753
|
+
IsString688(),
|
|
54754
|
+
Expose826()
|
|
54051
54755
|
], ImgLogoNavBarDTO2.prototype, "Ruta", 2);
|
|
54052
54756
|
__decorateClass([
|
|
54053
|
-
|
|
54054
|
-
|
|
54757
|
+
IsString688(),
|
|
54758
|
+
Expose826()
|
|
54055
54759
|
], ImgLogoNavBarDTO2.prototype, "img", 2);
|
|
54056
54760
|
|
|
54057
54761
|
// src/v2/dtos/CreateThemeConfigCountry.ts
|
|
@@ -54067,56 +54771,56 @@ var CreateThemeConfigCountryDto = class {
|
|
|
54067
54771
|
Pais;
|
|
54068
54772
|
};
|
|
54069
54773
|
__decorateClass([
|
|
54070
|
-
|
|
54774
|
+
IsDefined312({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
54071
54775
|
IsUUID37("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
54072
|
-
|
|
54776
|
+
Expose827()
|
|
54073
54777
|
], CreateThemeConfigCountryDto.prototype, "_id", 2);
|
|
54074
54778
|
__decorateClass([
|
|
54075
|
-
|
|
54076
|
-
|
|
54077
|
-
|
|
54779
|
+
IsDefined312({ message: 'La propiedad "ID_TemeCountry" es obligatoria.' }),
|
|
54780
|
+
IsNumber528({}, { message: 'La propiedad "ID_TemeCountry" debe ser un n\xFAmero.' }),
|
|
54781
|
+
Expose827()
|
|
54078
54782
|
], CreateThemeConfigCountryDto.prototype, "ID_TemeCountry", 2);
|
|
54079
54783
|
__decorateClass([
|
|
54080
|
-
|
|
54081
|
-
|
|
54082
|
-
|
|
54784
|
+
IsDefined312({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
54785
|
+
IsString689({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
54786
|
+
Expose827()
|
|
54083
54787
|
], CreateThemeConfigCountryDto.prototype, "Color", 2);
|
|
54084
54788
|
__decorateClass([
|
|
54085
|
-
|
|
54086
|
-
|
|
54087
|
-
|
|
54789
|
+
IsDefined312({ message: 'La propiedad "TextFooterLeft" es obligatoria.' }),
|
|
54790
|
+
IsString689({ message: 'La propiedad "TextFooterLeft" debe ser una cadena de texto.' }),
|
|
54791
|
+
Expose827()
|
|
54088
54792
|
], CreateThemeConfigCountryDto.prototype, "TextFooterLeft", 2);
|
|
54089
54793
|
__decorateClass([
|
|
54090
|
-
|
|
54091
|
-
|
|
54092
|
-
|
|
54794
|
+
IsDefined312({ message: 'La propiedad "TextFooterRight" es obligatoria.' }),
|
|
54795
|
+
IsString689({ message: 'La propiedad "TextFooterRight" debe ser una cadena de texto.' }),
|
|
54796
|
+
Expose827()
|
|
54093
54797
|
], CreateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
54094
54798
|
__decorateClass([
|
|
54095
|
-
|
|
54096
|
-
|
|
54097
|
-
|
|
54098
|
-
|
|
54799
|
+
IsDefined312({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
54800
|
+
ValidateNested432(),
|
|
54801
|
+
Type501(() => ImgLogoNavBarDTO2),
|
|
54802
|
+
Expose827()
|
|
54099
54803
|
], CreateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
54100
54804
|
__decorateClass([
|
|
54101
|
-
|
|
54102
|
-
|
|
54805
|
+
IsDefined312({ message: 'La propiedad "Manuales" es obligatoria.' }),
|
|
54806
|
+
Expose827()
|
|
54103
54807
|
], CreateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
54104
54808
|
__decorateClass([
|
|
54105
|
-
|
|
54106
|
-
|
|
54107
|
-
|
|
54108
|
-
|
|
54809
|
+
IsDefined312({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
54810
|
+
ValidateNested432(),
|
|
54811
|
+
Type501(() => EstadoDTO2),
|
|
54812
|
+
Expose827()
|
|
54109
54813
|
], CreateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
54110
54814
|
__decorateClass([
|
|
54111
|
-
|
|
54112
|
-
|
|
54113
|
-
|
|
54114
|
-
|
|
54815
|
+
IsDefined312({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
54816
|
+
ValidateNested432(),
|
|
54817
|
+
Type501(() => CodigoNombreDTO4),
|
|
54818
|
+
Expose827()
|
|
54115
54819
|
], CreateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
54116
54820
|
|
|
54117
54821
|
// src/v2/dtos/UpdateThemeConfigCountry.ts
|
|
54118
|
-
import { Expose as
|
|
54119
|
-
import { IsDefined as
|
|
54822
|
+
import { Expose as Expose828, Type as Type502 } from "class-transformer";
|
|
54823
|
+
import { IsDefined as IsDefined313, IsNumber as IsNumber529, IsString as IsString690, IsUUID as IsUUID38, ValidateNested as ValidateNested433 } from "class-validator";
|
|
54120
54824
|
var UpdateThemeConfigCountryDto = class {
|
|
54121
54825
|
_id;
|
|
54122
54826
|
ID_TemeCountry;
|
|
@@ -54129,60 +54833,60 @@ var UpdateThemeConfigCountryDto = class {
|
|
|
54129
54833
|
Pais;
|
|
54130
54834
|
};
|
|
54131
54835
|
__decorateClass([
|
|
54132
|
-
|
|
54836
|
+
IsDefined313({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
54133
54837
|
IsUUID38("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
54134
|
-
|
|
54838
|
+
Expose828()
|
|
54135
54839
|
], UpdateThemeConfigCountryDto.prototype, "_id", 2);
|
|
54136
54840
|
__decorateClass([
|
|
54137
|
-
|
|
54138
|
-
|
|
54139
|
-
|
|
54841
|
+
IsDefined313({ message: 'La propiedad "ID_TemeCountry" es obligatoria.' }),
|
|
54842
|
+
IsNumber529({}, { message: 'La propiedad "ID_TemeCountry" debe ser un n\xFAmero.' }),
|
|
54843
|
+
Expose828()
|
|
54140
54844
|
], UpdateThemeConfigCountryDto.prototype, "ID_TemeCountry", 2);
|
|
54141
54845
|
__decorateClass([
|
|
54142
|
-
|
|
54143
|
-
|
|
54144
|
-
|
|
54846
|
+
IsDefined313({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
54847
|
+
IsString690({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
54848
|
+
Expose828()
|
|
54145
54849
|
], UpdateThemeConfigCountryDto.prototype, "Color", 2);
|
|
54146
54850
|
__decorateClass([
|
|
54147
|
-
|
|
54148
|
-
|
|
54149
|
-
|
|
54851
|
+
IsDefined313({ message: 'La propiedad "TextFooterLeft" es obligatoria.' }),
|
|
54852
|
+
IsString690({ message: 'La propiedad "TextFooterLeft" debe ser una cadena de texto.' }),
|
|
54853
|
+
Expose828()
|
|
54150
54854
|
], UpdateThemeConfigCountryDto.prototype, "TextFooterLeft", 2);
|
|
54151
54855
|
__decorateClass([
|
|
54152
|
-
|
|
54153
|
-
|
|
54154
|
-
|
|
54856
|
+
IsDefined313({ message: 'La propiedad "TextFooterRight" es obligatoria.' }),
|
|
54857
|
+
IsString690({ message: 'La propiedad "TextFooterRight" debe ser una cadena de texto.' }),
|
|
54858
|
+
Expose828()
|
|
54155
54859
|
], UpdateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
54156
54860
|
__decorateClass([
|
|
54157
|
-
|
|
54158
|
-
|
|
54159
|
-
|
|
54160
|
-
|
|
54861
|
+
IsDefined313({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
54862
|
+
ValidateNested433(),
|
|
54863
|
+
Type502(() => ImgLogoNavBarDTO2),
|
|
54864
|
+
Expose828()
|
|
54161
54865
|
], UpdateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
54162
54866
|
__decorateClass([
|
|
54163
|
-
|
|
54164
|
-
|
|
54867
|
+
IsDefined313({ message: 'La propiedad "Manuales" es obligatoria.' }),
|
|
54868
|
+
Expose828()
|
|
54165
54869
|
], UpdateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
54166
54870
|
__decorateClass([
|
|
54167
|
-
|
|
54168
|
-
|
|
54169
|
-
|
|
54170
|
-
|
|
54871
|
+
IsDefined313({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
54872
|
+
ValidateNested433(),
|
|
54873
|
+
Type502(() => EstadoDTO2),
|
|
54874
|
+
Expose828()
|
|
54171
54875
|
], UpdateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
54172
54876
|
__decorateClass([
|
|
54173
|
-
|
|
54174
|
-
|
|
54175
|
-
|
|
54176
|
-
|
|
54877
|
+
IsDefined313({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
54878
|
+
ValidateNested433(),
|
|
54879
|
+
Type502(() => CodigoNombreDTO4),
|
|
54880
|
+
Expose828()
|
|
54177
54881
|
], UpdateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
54178
54882
|
|
|
54179
54883
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
54180
|
-
import { Expose as
|
|
54181
|
-
import { IsArray as IsArray262, IsDefined as
|
|
54884
|
+
import { Expose as Expose830, Type as Type503 } from "class-transformer";
|
|
54885
|
+
import { IsArray as IsArray262, IsDefined as IsDefined314, IsNumber as IsNumber531, IsOptional as IsOptional72, IsString as IsString692, ValidateNested as ValidateNested434 } from "class-validator";
|
|
54182
54886
|
|
|
54183
54887
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
54184
|
-
import { Expose as
|
|
54185
|
-
import { IsString as
|
|
54888
|
+
import { Expose as Expose829 } from "class-transformer";
|
|
54889
|
+
import { IsString as IsString691, IsNumber as IsNumber530, IsOptional as IsOptional71 } from "class-validator";
|
|
54186
54890
|
var FavoritoDTO2 = class {
|
|
54187
54891
|
id = "";
|
|
54188
54892
|
titulo = "";
|
|
@@ -54191,25 +54895,25 @@ var FavoritoDTO2 = class {
|
|
|
54191
54895
|
orden = 0;
|
|
54192
54896
|
};
|
|
54193
54897
|
__decorateClass([
|
|
54194
|
-
|
|
54195
|
-
|
|
54898
|
+
IsString691(),
|
|
54899
|
+
Expose829()
|
|
54196
54900
|
], FavoritoDTO2.prototype, "id", 2);
|
|
54197
54901
|
__decorateClass([
|
|
54198
|
-
|
|
54199
|
-
|
|
54902
|
+
IsString691(),
|
|
54903
|
+
Expose829()
|
|
54200
54904
|
], FavoritoDTO2.prototype, "titulo", 2);
|
|
54201
54905
|
__decorateClass([
|
|
54202
|
-
|
|
54203
|
-
|
|
54906
|
+
IsString691(),
|
|
54907
|
+
Expose829()
|
|
54204
54908
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
54205
54909
|
__decorateClass([
|
|
54206
54910
|
IsOptional71(),
|
|
54207
|
-
|
|
54208
|
-
|
|
54911
|
+
IsString691(),
|
|
54912
|
+
Expose829()
|
|
54209
54913
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
54210
54914
|
__decorateClass([
|
|
54211
|
-
|
|
54212
|
-
|
|
54915
|
+
IsNumber530(),
|
|
54916
|
+
Expose829()
|
|
54213
54917
|
], FavoritoDTO2.prototype, "orden", 2);
|
|
54214
54918
|
|
|
54215
54919
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
@@ -54222,42 +54926,42 @@ var CreateThemeConfigUserDto = class {
|
|
|
54222
54926
|
Favoritos;
|
|
54223
54927
|
};
|
|
54224
54928
|
__decorateClass([
|
|
54225
|
-
|
|
54226
|
-
|
|
54227
|
-
|
|
54929
|
+
IsDefined314({ message: 'La propiedad "ID_Theme" es obligatoria.' }),
|
|
54930
|
+
IsNumber531({}, { message: 'La propiedad "ID_Theme" debe ser un n\xFAmero.' }),
|
|
54931
|
+
Expose830()
|
|
54228
54932
|
], CreateThemeConfigUserDto.prototype, "ID_Theme", 2);
|
|
54229
54933
|
__decorateClass([
|
|
54230
|
-
|
|
54231
|
-
|
|
54232
|
-
|
|
54934
|
+
IsDefined314({ message: 'La propiedad "Identificacion" es obligatoria.' }),
|
|
54935
|
+
IsString692({ message: 'La propiedad "Identificacion" debe ser una cadena de texto.' }),
|
|
54936
|
+
Expose830()
|
|
54233
54937
|
], CreateThemeConfigUserDto.prototype, "Identificacion", 2);
|
|
54234
54938
|
__decorateClass([
|
|
54235
|
-
|
|
54236
|
-
|
|
54237
|
-
|
|
54939
|
+
IsDefined314({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
54940
|
+
IsString692({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
54941
|
+
Expose830()
|
|
54238
54942
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
54239
54943
|
__decorateClass([
|
|
54240
54944
|
IsOptional72(),
|
|
54241
|
-
|
|
54242
|
-
|
|
54945
|
+
IsString692({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
54946
|
+
Expose830()
|
|
54243
54947
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
54244
54948
|
__decorateClass([
|
|
54245
|
-
|
|
54246
|
-
|
|
54247
|
-
|
|
54248
|
-
|
|
54949
|
+
IsDefined314({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
54950
|
+
ValidateNested434(),
|
|
54951
|
+
Type503(() => EstadoDTO2),
|
|
54952
|
+
Expose830()
|
|
54249
54953
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
54250
54954
|
__decorateClass([
|
|
54251
54955
|
IsOptional72(),
|
|
54252
54956
|
IsArray262({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
54253
|
-
|
|
54254
|
-
|
|
54255
|
-
|
|
54957
|
+
ValidateNested434({ each: true }),
|
|
54958
|
+
Type503(() => FavoritoDTO2),
|
|
54959
|
+
Expose830()
|
|
54256
54960
|
], CreateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
54257
54961
|
|
|
54258
54962
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
54259
|
-
import { Expose as
|
|
54260
|
-
import { IsArray as IsArray263, IsDefined as
|
|
54963
|
+
import { Expose as Expose831, Type as Type504 } from "class-transformer";
|
|
54964
|
+
import { IsArray as IsArray263, IsDefined as IsDefined315, IsNumber as IsNumber532, IsOptional as IsOptional73, IsString as IsString693, ValidateNested as ValidateNested435 } from "class-validator";
|
|
54261
54965
|
var UpdateThemeConfigUserDto = class {
|
|
54262
54966
|
ID_Theme;
|
|
54263
54967
|
Identificacion;
|
|
@@ -54267,59 +54971,59 @@ var UpdateThemeConfigUserDto = class {
|
|
|
54267
54971
|
Favoritos;
|
|
54268
54972
|
};
|
|
54269
54973
|
__decorateClass([
|
|
54270
|
-
|
|
54271
|
-
|
|
54272
|
-
|
|
54974
|
+
IsDefined315({ message: 'La propiedad "ID_Theme" es obligatoria.' }),
|
|
54975
|
+
IsNumber532({}, { message: 'La propiedad "ID_Theme" debe ser un n\xFAmero.' }),
|
|
54976
|
+
Expose831()
|
|
54273
54977
|
], UpdateThemeConfigUserDto.prototype, "ID_Theme", 2);
|
|
54274
54978
|
__decorateClass([
|
|
54275
|
-
|
|
54276
|
-
|
|
54277
|
-
|
|
54979
|
+
IsDefined315({ message: 'La propiedad "Identificacion" es obligatoria.' }),
|
|
54980
|
+
IsString693({ message: 'La propiedad "Identificacion" debe ser una cadena de texto.' }),
|
|
54981
|
+
Expose831()
|
|
54278
54982
|
], UpdateThemeConfigUserDto.prototype, "Identificacion", 2);
|
|
54279
54983
|
__decorateClass([
|
|
54280
|
-
|
|
54281
|
-
|
|
54282
|
-
|
|
54984
|
+
IsDefined315({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
54985
|
+
IsString693({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
54986
|
+
Expose831()
|
|
54283
54987
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
54284
54988
|
__decorateClass([
|
|
54285
54989
|
IsOptional73(),
|
|
54286
|
-
|
|
54287
|
-
|
|
54990
|
+
IsString693({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
54991
|
+
Expose831()
|
|
54288
54992
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
54289
54993
|
__decorateClass([
|
|
54290
|
-
|
|
54291
|
-
|
|
54292
|
-
|
|
54293
|
-
|
|
54994
|
+
IsDefined315({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
54995
|
+
ValidateNested435(),
|
|
54996
|
+
Type504(() => EstadoDTO2),
|
|
54997
|
+
Expose831()
|
|
54294
54998
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
54295
54999
|
__decorateClass([
|
|
54296
55000
|
IsOptional73(),
|
|
54297
55001
|
IsArray263({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
54298
|
-
|
|
54299
|
-
|
|
54300
|
-
|
|
55002
|
+
ValidateNested435({ each: true }),
|
|
55003
|
+
Type504(() => FavoritoDTO2),
|
|
55004
|
+
Expose831()
|
|
54301
55005
|
], UpdateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
54302
55006
|
|
|
54303
55007
|
// src/v2/entities/Delegation.ts
|
|
54304
|
-
import { Expose as
|
|
54305
|
-
import { IsDefined as
|
|
55008
|
+
import { Expose as Expose833 } from "class-transformer";
|
|
55009
|
+
import { IsDefined as IsDefined317, IsNotEmpty as IsNotEmpty473, IsString as IsString694, IsUUID as IsUUID40 } from "class-validator";
|
|
54306
55010
|
|
|
54307
55011
|
// src/v2/entities/Base.ts
|
|
54308
|
-
import { Expose as
|
|
54309
|
-
import { IsBoolean as IsBoolean81, IsDefined as
|
|
55012
|
+
import { Expose as Expose832 } from "class-transformer";
|
|
55013
|
+
import { IsBoolean as IsBoolean81, IsDefined as IsDefined316, IsUUID as IsUUID39 } from "class-validator";
|
|
54310
55014
|
var BaseEntity = class {
|
|
54311
55015
|
_id;
|
|
54312
55016
|
active;
|
|
54313
55017
|
};
|
|
54314
55018
|
__decorateClass([
|
|
54315
|
-
|
|
55019
|
+
IsDefined316({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
54316
55020
|
IsUUID39("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
54317
|
-
|
|
55021
|
+
Expose832()
|
|
54318
55022
|
], BaseEntity.prototype, "_id", 2);
|
|
54319
55023
|
__decorateClass([
|
|
54320
|
-
|
|
55024
|
+
IsDefined316({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
54321
55025
|
IsBoolean81({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
54322
|
-
|
|
55026
|
+
Expose832()
|
|
54323
55027
|
], BaseEntity.prototype, "active", 2);
|
|
54324
55028
|
|
|
54325
55029
|
// src/v2/entities/Delegation.ts
|
|
@@ -54329,26 +55033,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
54329
55033
|
name;
|
|
54330
55034
|
};
|
|
54331
55035
|
__decorateClass([
|
|
54332
|
-
|
|
55036
|
+
IsDefined317({ message: "El campo pais es obligatorio" }),
|
|
54333
55037
|
IsUUID40("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
54334
|
-
|
|
55038
|
+
Expose833()
|
|
54335
55039
|
], DelegationEntity.prototype, "countryId", 2);
|
|
54336
55040
|
__decorateClass([
|
|
54337
|
-
|
|
54338
|
-
|
|
55041
|
+
IsDefined317({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55042
|
+
IsString694({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
54339
55043
|
IsNotEmpty473({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
54340
|
-
|
|
55044
|
+
Expose833()
|
|
54341
55045
|
], DelegationEntity.prototype, "code", 2);
|
|
54342
55046
|
__decorateClass([
|
|
54343
|
-
|
|
54344
|
-
|
|
55047
|
+
IsDefined317({ message: "El campo nombre es obligatorio." }),
|
|
55048
|
+
IsString694({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
54345
55049
|
IsNotEmpty473({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
54346
|
-
|
|
55050
|
+
Expose833()
|
|
54347
55051
|
], DelegationEntity.prototype, "name", 2);
|
|
54348
55052
|
|
|
54349
55053
|
// src/v2/entities/User.ts
|
|
54350
|
-
import { IsArray as IsArray264, IsBoolean as IsBoolean82, IsDefined as
|
|
54351
|
-
import { Expose as
|
|
55054
|
+
import { IsArray as IsArray264, IsBoolean as IsBoolean82, IsDefined as IsDefined318, IsEmail as IsEmail13, IsString as IsString695, IsUUID as IsUUID41, ValidateIf as ValidateIf10, ValidateNested as ValidateNested436 } from "class-validator";
|
|
55055
|
+
import { Expose as Expose834, Transform as Transform123, Type as Type505 } from "class-transformer";
|
|
54352
55056
|
var UserEntity = class extends BaseEntity {
|
|
54353
55057
|
email;
|
|
54354
55058
|
password;
|
|
@@ -54363,126 +55067,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
54363
55067
|
resourceSystem;
|
|
54364
55068
|
};
|
|
54365
55069
|
__decorateClass([
|
|
54366
|
-
|
|
55070
|
+
IsDefined318({ message: "El correo es requerido" }),
|
|
54367
55071
|
IsEmail13({}, { message: "El correo es invalido" }),
|
|
54368
55072
|
Transform123(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
54369
|
-
|
|
55073
|
+
Expose834()
|
|
54370
55074
|
], UserEntity.prototype, "email", 2);
|
|
54371
55075
|
__decorateClass([
|
|
54372
55076
|
Transform123(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54373
|
-
|
|
54374
|
-
|
|
54375
|
-
|
|
55077
|
+
IsDefined318({ message: "La contrase\xF1a es requerida" }),
|
|
55078
|
+
IsString695({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
55079
|
+
Expose834()
|
|
54376
55080
|
], UserEntity.prototype, "password", 2);
|
|
54377
55081
|
__decorateClass([
|
|
54378
55082
|
Transform123(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54379
|
-
|
|
54380
|
-
|
|
54381
|
-
|
|
55083
|
+
IsDefined318({ message: "El apellido paterno es requerido" }),
|
|
55084
|
+
IsString695({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
55085
|
+
Expose834()
|
|
54382
55086
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
54383
55087
|
__decorateClass([
|
|
54384
55088
|
Transform123(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54385
|
-
|
|
54386
|
-
|
|
54387
|
-
|
|
55089
|
+
IsDefined318({ message: "El apellido materno es requerido" }),
|
|
55090
|
+
IsString695({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
55091
|
+
Expose834()
|
|
54388
55092
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
54389
55093
|
__decorateClass([
|
|
54390
55094
|
Transform123(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54391
|
-
|
|
54392
|
-
|
|
54393
|
-
|
|
55095
|
+
IsDefined318({ message: "El nombre es requerido" }),
|
|
55096
|
+
IsString695({ message: "El nombre debe ser una cadena de texto" }),
|
|
55097
|
+
Expose834()
|
|
54394
55098
|
], UserEntity.prototype, "firstNames", 2);
|
|
54395
55099
|
__decorateClass([
|
|
54396
55100
|
Transform123(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54397
|
-
|
|
54398
|
-
|
|
54399
|
-
|
|
55101
|
+
IsDefined318({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
55102
|
+
IsString695({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
55103
|
+
Expose834()
|
|
54400
55104
|
], UserEntity.prototype, "identification", 2);
|
|
54401
55105
|
__decorateClass([
|
|
54402
|
-
|
|
55106
|
+
IsDefined318({ message: "El campo empresas es requerido" }),
|
|
54403
55107
|
IsArray264({ message: "El campo empresas debe ser un array" }),
|
|
54404
|
-
|
|
54405
|
-
|
|
54406
|
-
|
|
55108
|
+
Type505(() => CompanyDto),
|
|
55109
|
+
ValidateNested436({ each: true }),
|
|
55110
|
+
Expose834()
|
|
54407
55111
|
], UserEntity.prototype, "companies", 2);
|
|
54408
55112
|
__decorateClass([
|
|
54409
|
-
|
|
55113
|
+
IsDefined318({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
54410
55114
|
IsArray264({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
54411
55115
|
IsUUID41("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
54412
|
-
|
|
55116
|
+
Expose834()
|
|
54413
55117
|
], UserEntity.prototype, "delegationIds", 2);
|
|
54414
55118
|
__decorateClass([
|
|
54415
|
-
|
|
55119
|
+
IsDefined318({ message: 'La propiedad "root" es obligatoria.' }),
|
|
54416
55120
|
IsBoolean82({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
54417
|
-
|
|
55121
|
+
Expose834()
|
|
54418
55122
|
], UserEntity.prototype, "root", 2);
|
|
54419
55123
|
__decorateClass([
|
|
54420
|
-
|
|
55124
|
+
IsDefined318({ message: "El campo Perfil es obligatorio" }),
|
|
54421
55125
|
ValidateIf10((_, value) => value !== ""),
|
|
54422
55126
|
IsUUID41("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
54423
|
-
|
|
55127
|
+
Expose834()
|
|
54424
55128
|
], UserEntity.prototype, "profileId", 2);
|
|
54425
55129
|
__decorateClass([
|
|
54426
|
-
|
|
54427
|
-
|
|
54428
|
-
|
|
55130
|
+
IsDefined318({ message: "Resurso sistema es obligatoria" }),
|
|
55131
|
+
Type505(() => ResourceSystemDto),
|
|
55132
|
+
ValidateNested436({ each: true }),
|
|
54429
55133
|
IsArray264({ message: "Recurso sistema debe ser un array" }),
|
|
54430
|
-
|
|
55134
|
+
Expose834()
|
|
54431
55135
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
54432
55136
|
|
|
54433
55137
|
// src/v2/entities/Profile.ts
|
|
54434
|
-
import { Expose as
|
|
54435
|
-
import { IsArray as IsArray265, IsDefined as
|
|
55138
|
+
import { Expose as Expose835, Transform as Transform124 } from "class-transformer";
|
|
55139
|
+
import { IsArray as IsArray265, IsDefined as IsDefined319, IsString as IsString696, Length as Length349, MinLength as MinLength63 } from "class-validator";
|
|
54436
55140
|
var ProfileEntity = class extends BaseEntity {
|
|
54437
55141
|
name;
|
|
54438
55142
|
description;
|
|
54439
55143
|
systemOptions;
|
|
54440
55144
|
};
|
|
54441
55145
|
__decorateClass([
|
|
54442
|
-
|
|
55146
|
+
IsDefined319({ message: "El campo nombre es requerido" }),
|
|
54443
55147
|
Transform124(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54444
|
-
|
|
55148
|
+
IsString696({ message: "debe ser una cadena de texto" }),
|
|
54445
55149
|
Length349(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54446
|
-
|
|
55150
|
+
Expose835()
|
|
54447
55151
|
], ProfileEntity.prototype, "name", 2);
|
|
54448
55152
|
__decorateClass([
|
|
54449
|
-
|
|
55153
|
+
IsDefined319({ message: "El campo descripci\xF3n es requerido" }),
|
|
54450
55154
|
Transform124(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54451
|
-
|
|
55155
|
+
IsString696({ message: "debe ser una cadena de texto" }),
|
|
54452
55156
|
Length349(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54453
|
-
|
|
55157
|
+
Expose835()
|
|
54454
55158
|
], ProfileEntity.prototype, "description", 2);
|
|
54455
55159
|
__decorateClass([
|
|
54456
|
-
|
|
55160
|
+
IsDefined319({ message: "El campo opciones de sistema es requerido" }),
|
|
54457
55161
|
IsArray265({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
54458
|
-
|
|
55162
|
+
IsString696({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
54459
55163
|
MinLength63(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
54460
|
-
|
|
55164
|
+
Expose835()
|
|
54461
55165
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
54462
55166
|
|
|
54463
55167
|
// src/v2/entities/Country.ts
|
|
54464
|
-
import { Expose as
|
|
54465
|
-
import { IsDefined as
|
|
55168
|
+
import { Expose as Expose836 } from "class-transformer";
|
|
55169
|
+
import { IsDefined as IsDefined320, IsNotEmpty as IsNotEmpty474, IsString as IsString697 } from "class-validator";
|
|
54466
55170
|
var CountryEntity = class extends BaseEntity {
|
|
54467
55171
|
code;
|
|
54468
55172
|
name;
|
|
54469
55173
|
};
|
|
54470
55174
|
__decorateClass([
|
|
54471
|
-
|
|
54472
|
-
|
|
55175
|
+
IsDefined320({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55176
|
+
IsString697({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
54473
55177
|
IsNotEmpty474({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
54474
|
-
|
|
55178
|
+
Expose836()
|
|
54475
55179
|
], CountryEntity.prototype, "code", 2);
|
|
54476
55180
|
__decorateClass([
|
|
54477
|
-
|
|
54478
|
-
|
|
55181
|
+
IsDefined320({ message: "El campo nombre es obligatorio." }),
|
|
55182
|
+
IsString697({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
54479
55183
|
IsNotEmpty474({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
54480
|
-
|
|
55184
|
+
Expose836()
|
|
54481
55185
|
], CountryEntity.prototype, "name", 2);
|
|
54482
55186
|
|
|
54483
55187
|
// src/v2/entities/Company.ts
|
|
54484
|
-
import { Expose as
|
|
54485
|
-
import { IsArray as IsArray266, IsBoolean as IsBoolean83, IsDefined as
|
|
55188
|
+
import { Expose as Expose837 } from "class-transformer";
|
|
55189
|
+
import { IsArray as IsArray266, IsBoolean as IsBoolean83, IsDefined as IsDefined321, IsEmail as IsEmail14, IsEnum as IsEnum63, IsNotEmpty as IsNotEmpty475, IsString as IsString698, IsUUID as IsUUID42 } from "class-validator";
|
|
54486
55190
|
var CompanyEntity = class extends BaseEntity {
|
|
54487
55191
|
companyType;
|
|
54488
55192
|
identification;
|
|
@@ -54496,87 +55200,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
54496
55200
|
countryId;
|
|
54497
55201
|
};
|
|
54498
55202
|
__decorateClass([
|
|
54499
|
-
|
|
55203
|
+
IsDefined321({ message: "El tipo de empresa es requerido" }),
|
|
54500
55204
|
IsEnum63(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
54501
|
-
|
|
55205
|
+
Expose837()
|
|
54502
55206
|
], CompanyEntity.prototype, "companyType", 2);
|
|
54503
55207
|
__decorateClass([
|
|
54504
|
-
|
|
54505
|
-
|
|
55208
|
+
IsDefined321({ message: "La identificaci\xF3n es requerida" }),
|
|
55209
|
+
IsString698({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
54506
55210
|
IsNotEmpty475({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
54507
|
-
|
|
55211
|
+
Expose837()
|
|
54508
55212
|
], CompanyEntity.prototype, "identification", 2);
|
|
54509
55213
|
__decorateClass([
|
|
54510
|
-
|
|
54511
|
-
|
|
55214
|
+
IsDefined321({ message: "El c\xF3digo es requerido" }),
|
|
55215
|
+
IsString698({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
54512
55216
|
IsNotEmpty475({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
54513
|
-
|
|
55217
|
+
Expose837()
|
|
54514
55218
|
], CompanyEntity.prototype, "code", 2);
|
|
54515
55219
|
__decorateClass([
|
|
54516
|
-
|
|
54517
|
-
|
|
55220
|
+
IsDefined321({ message: "El nombre legal es requerido" }),
|
|
55221
|
+
IsString698({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
54518
55222
|
IsNotEmpty475({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
54519
|
-
|
|
55223
|
+
Expose837()
|
|
54520
55224
|
], CompanyEntity.prototype, "legalName", 2);
|
|
54521
55225
|
__decorateClass([
|
|
54522
|
-
|
|
54523
|
-
|
|
55226
|
+
IsDefined321({ message: "El nombre comercial es requerido" }),
|
|
55227
|
+
IsString698({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
54524
55228
|
IsNotEmpty475({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
54525
|
-
|
|
55229
|
+
Expose837()
|
|
54526
55230
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
54527
55231
|
__decorateClass([
|
|
54528
|
-
|
|
55232
|
+
IsDefined321({ message: "La propiedad es propia es requerida" }),
|
|
54529
55233
|
IsBoolean83({ message: "La propiedad es propia debe ser un booleano" }),
|
|
54530
|
-
|
|
55234
|
+
Expose837()
|
|
54531
55235
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
54532
55236
|
__decorateClass([
|
|
54533
|
-
|
|
54534
|
-
|
|
55237
|
+
IsDefined321({ message: "La direcci\xF3n es requerida" }),
|
|
55238
|
+
IsString698({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
54535
55239
|
IsNotEmpty475({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
54536
|
-
|
|
55240
|
+
Expose837()
|
|
54537
55241
|
], CompanyEntity.prototype, "address", 2);
|
|
54538
55242
|
__decorateClass([
|
|
54539
|
-
|
|
55243
|
+
IsDefined321({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
54540
55244
|
IsArray266({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
54541
55245
|
IsEmail14({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
54542
|
-
|
|
55246
|
+
Expose837()
|
|
54543
55247
|
], CompanyEntity.prototype, "emails", 2);
|
|
54544
55248
|
__decorateClass([
|
|
54545
|
-
|
|
55249
|
+
IsDefined321({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
54546
55250
|
IsArray266({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
54547
|
-
|
|
55251
|
+
IsString698({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
54548
55252
|
IsNotEmpty475({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
54549
|
-
|
|
55253
|
+
Expose837()
|
|
54550
55254
|
], CompanyEntity.prototype, "phones", 2);
|
|
54551
55255
|
__decorateClass([
|
|
54552
|
-
|
|
55256
|
+
IsDefined321({ message: "El campo pa\xEDs es requerido" }),
|
|
54553
55257
|
IsUUID42("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
54554
|
-
|
|
55258
|
+
Expose837()
|
|
54555
55259
|
], CompanyEntity.prototype, "countryId", 2);
|
|
54556
55260
|
|
|
54557
55261
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
54558
|
-
import { Expose as
|
|
54559
|
-
import { IsNumber as
|
|
55262
|
+
import { Expose as Expose839, Type as Type506 } from "class-transformer";
|
|
55263
|
+
import { IsNumber as IsNumber533, IsString as IsString700, ValidateNested as ValidateNested437, IsArray as IsArray267 } from "class-validator";
|
|
54560
55264
|
|
|
54561
55265
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
54562
|
-
import { Expose as
|
|
54563
|
-
import { IsString as
|
|
55266
|
+
import { Expose as Expose838 } from "class-transformer";
|
|
55267
|
+
import { IsString as IsString699 } from "class-validator";
|
|
54564
55268
|
var ThemeCountryManualDTO2 = class {
|
|
54565
55269
|
Codigo = "";
|
|
54566
55270
|
Delegacion = "";
|
|
54567
55271
|
Ruta = "";
|
|
54568
55272
|
};
|
|
54569
55273
|
__decorateClass([
|
|
54570
|
-
|
|
54571
|
-
|
|
55274
|
+
IsString699(),
|
|
55275
|
+
Expose838()
|
|
54572
55276
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
54573
55277
|
__decorateClass([
|
|
54574
|
-
|
|
54575
|
-
|
|
55278
|
+
IsString699(),
|
|
55279
|
+
Expose838()
|
|
54576
55280
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
54577
55281
|
__decorateClass([
|
|
54578
|
-
|
|
54579
|
-
|
|
55282
|
+
IsString699(),
|
|
55283
|
+
Expose838()
|
|
54580
55284
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
54581
55285
|
|
|
54582
55286
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -54591,46 +55295,46 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
54591
55295
|
Pais = new CodigoNombreDTO4();
|
|
54592
55296
|
};
|
|
54593
55297
|
__decorateClass([
|
|
54594
|
-
|
|
54595
|
-
|
|
55298
|
+
IsNumber533(),
|
|
55299
|
+
Expose839()
|
|
54596
55300
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
54597
55301
|
__decorateClass([
|
|
54598
|
-
|
|
54599
|
-
|
|
55302
|
+
IsString700(),
|
|
55303
|
+
Expose839()
|
|
54600
55304
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
54601
55305
|
__decorateClass([
|
|
54602
|
-
|
|
54603
|
-
|
|
55306
|
+
IsString700(),
|
|
55307
|
+
Expose839()
|
|
54604
55308
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
54605
55309
|
__decorateClass([
|
|
54606
|
-
|
|
54607
|
-
|
|
55310
|
+
IsString700(),
|
|
55311
|
+
Expose839()
|
|
54608
55312
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
54609
55313
|
__decorateClass([
|
|
54610
|
-
|
|
54611
|
-
|
|
54612
|
-
|
|
55314
|
+
ValidateNested437(),
|
|
55315
|
+
Type506(() => ImgLogoNavBarDTO2),
|
|
55316
|
+
Expose839()
|
|
54613
55317
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
54614
55318
|
__decorateClass([
|
|
54615
55319
|
IsArray267(),
|
|
54616
|
-
|
|
54617
|
-
|
|
54618
|
-
|
|
55320
|
+
Type506(() => ThemeCountryManualDTO2),
|
|
55321
|
+
ValidateNested437({ each: true }),
|
|
55322
|
+
Expose839()
|
|
54619
55323
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
54620
55324
|
__decorateClass([
|
|
54621
|
-
|
|
54622
|
-
|
|
54623
|
-
|
|
55325
|
+
ValidateNested437(),
|
|
55326
|
+
Type506(() => EstadoDTO2),
|
|
55327
|
+
Expose839()
|
|
54624
55328
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
54625
55329
|
__decorateClass([
|
|
54626
|
-
|
|
54627
|
-
|
|
54628
|
-
|
|
55330
|
+
ValidateNested437(),
|
|
55331
|
+
Type506(() => CodigoNombreDTO4),
|
|
55332
|
+
Expose839()
|
|
54629
55333
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
54630
55334
|
|
|
54631
55335
|
// src/v2/entities/ThemeConfigUser.ts
|
|
54632
|
-
import { Expose as
|
|
54633
|
-
import { IsNumber as
|
|
55336
|
+
import { Expose as Expose840, Type as Type507 } from "class-transformer";
|
|
55337
|
+
import { IsNumber as IsNumber534, IsString as IsString701, ValidateNested as ValidateNested438, IsArray as IsArray268, IsOptional as IsOptional74, IsDefined as IsDefined322, IsBoolean as IsBoolean84 } from "class-validator";
|
|
54634
55338
|
var ThemeConfigUserEntity = class {
|
|
54635
55339
|
_id;
|
|
54636
55340
|
active = true;
|
|
@@ -54643,41 +55347,41 @@ var ThemeConfigUserEntity = class {
|
|
|
54643
55347
|
};
|
|
54644
55348
|
__decorateClass([
|
|
54645
55349
|
IsOptional74(),
|
|
54646
|
-
|
|
55350
|
+
Expose840()
|
|
54647
55351
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
54648
55352
|
__decorateClass([
|
|
54649
|
-
|
|
55353
|
+
IsDefined322({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
54650
55354
|
IsBoolean84({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
54651
|
-
|
|
55355
|
+
Expose840()
|
|
54652
55356
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
54653
55357
|
__decorateClass([
|
|
54654
|
-
|
|
54655
|
-
|
|
55358
|
+
IsNumber534(),
|
|
55359
|
+
Expose840()
|
|
54656
55360
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
54657
55361
|
__decorateClass([
|
|
54658
|
-
|
|
54659
|
-
|
|
55362
|
+
IsString701(),
|
|
55363
|
+
Expose840()
|
|
54660
55364
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
54661
55365
|
__decorateClass([
|
|
54662
|
-
|
|
54663
|
-
|
|
55366
|
+
IsString701(),
|
|
55367
|
+
Expose840()
|
|
54664
55368
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
54665
55369
|
__decorateClass([
|
|
54666
55370
|
IsOptional74(),
|
|
54667
|
-
|
|
54668
|
-
|
|
55371
|
+
IsString701(),
|
|
55372
|
+
Expose840()
|
|
54669
55373
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
54670
55374
|
__decorateClass([
|
|
54671
|
-
|
|
54672
|
-
|
|
54673
|
-
|
|
55375
|
+
ValidateNested438(),
|
|
55376
|
+
Type507(() => EstadoDTO2),
|
|
55377
|
+
Expose840()
|
|
54674
55378
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
54675
55379
|
__decorateClass([
|
|
54676
55380
|
IsOptional74(),
|
|
54677
55381
|
IsArray268(),
|
|
54678
|
-
|
|
54679
|
-
|
|
54680
|
-
|
|
55382
|
+
ValidateNested438({ each: true }),
|
|
55383
|
+
Type507(() => FavoritoDTO2),
|
|
55384
|
+
Expose840()
|
|
54681
55385
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
54682
55386
|
|
|
54683
55387
|
// src/v2/utils/validateCustom.ts
|
|
@@ -54830,6 +55534,7 @@ export {
|
|
|
54830
55534
|
BodegaENTITY,
|
|
54831
55535
|
BodyUpdateFasesDTO,
|
|
54832
55536
|
BodyUpdateOne,
|
|
55537
|
+
BtAlpPluzOrder2ENTITY,
|
|
54833
55538
|
BtAlpPluzOrderENTITY,
|
|
54834
55539
|
CHILE_9512_PaquetizadoManoObraENTITY,
|
|
54835
55540
|
CHILE_9512_PaquetizadoMaterialENTITY,
|