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