sigo-entities 1.2.515 → 1.2.516
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +135 -127
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10385,6 +10385,7 @@ declare class BtAlpPluzOrderStockENTITY {
|
|
|
10385
10385
|
state_consumption: StateInventory;
|
|
10386
10386
|
state_replacement: StateInventory;
|
|
10387
10387
|
ID_StockPersonal: number;
|
|
10388
|
+
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
10388
10389
|
}
|
|
10389
10390
|
|
|
10390
10391
|
declare class CodeNameDto {
|
package/dist/index.d.ts
CHANGED
|
@@ -10385,6 +10385,7 @@ declare class BtAlpPluzOrderStockENTITY {
|
|
|
10385
10385
|
state_consumption: StateInventory;
|
|
10386
10386
|
state_replacement: StateInventory;
|
|
10387
10387
|
ID_StockPersonal: number;
|
|
10388
|
+
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
10388
10389
|
}
|
|
10389
10390
|
|
|
10390
10391
|
declare class CodeNameDto {
|
package/dist/index.js
CHANGED
|
@@ -54383,6 +54383,7 @@ var BtAlpPluzOrderStockENTITY = class {
|
|
|
54383
54383
|
state_consumption = "Pendiente" /* PENDIENTE */;
|
|
54384
54384
|
state_replacement = "Pendiente" /* PENDIENTE */;
|
|
54385
54385
|
ID_StockPersonal = 0;
|
|
54386
|
+
stock_quantity_employee = [];
|
|
54386
54387
|
};
|
|
54387
54388
|
__decorateClass([
|
|
54388
54389
|
(0, import_class_validator810.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
@@ -54436,6 +54437,13 @@ __decorateClass([
|
|
|
54436
54437
|
(0, import_class_validator810.IsDefined)({ message: "El campo ID_StockPersonal es obligatorio." }),
|
|
54437
54438
|
(0, import_class_validator810.IsNumber)()
|
|
54438
54439
|
], BtAlpPluzOrderStockENTITY.prototype, "ID_StockPersonal", 2);
|
|
54440
|
+
__decorateClass([
|
|
54441
|
+
(0, import_class_validator810.IsDefined)({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
54442
|
+
(0, import_class_validator810.IsArray)({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
54443
|
+
(0, import_class_validator810.ValidateNested)({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
54444
|
+
(0, import_class_transformer833.Type)(() => StockQuantityEmployeeDTO),
|
|
54445
|
+
(0, import_class_transformer833.Expose)()
|
|
54446
|
+
], BtAlpPluzOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
54439
54447
|
|
|
54440
54448
|
// src/v2/dtos/CodeName.ts
|
|
54441
54449
|
var import_class_transformer834 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -53836,8 +53836,8 @@ __decorateClass([
|
|
|
53836
53836
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_id_asistencia", 2);
|
|
53837
53837
|
|
|
53838
53838
|
// src/operativa/procesos/btalppluz_order_stock/shared/index.ts
|
|
53839
|
-
import { Expose as Expose806 } from "class-transformer";
|
|
53840
|
-
import { IsDefined as IsDefined296, IsEnum as IsEnum59, IsNotEmpty as IsNotEmpty463, IsNumber as IsNumber528, IsString as IsString671, IsUUID as IsUUID23, MaxLength as MaxLength9 } from "class-validator";
|
|
53839
|
+
import { Expose as Expose806, Type as Type494 } from "class-transformer";
|
|
53840
|
+
import { IsArray as IsArray252, IsDefined as IsDefined296, IsEnum as IsEnum59, IsNotEmpty as IsNotEmpty463, IsNumber as IsNumber528, IsString as IsString671, IsUUID as IsUUID23, MaxLength as MaxLength9, ValidateNested as ValidateNested426 } from "class-validator";
|
|
53841
53841
|
var BtAlpPluzOrderStockENTITY = class {
|
|
53842
53842
|
_id;
|
|
53843
53843
|
id_recurso;
|
|
@@ -53849,6 +53849,7 @@ var BtAlpPluzOrderStockENTITY = class {
|
|
|
53849
53849
|
state_consumption = "Pendiente" /* PENDIENTE */;
|
|
53850
53850
|
state_replacement = "Pendiente" /* PENDIENTE */;
|
|
53851
53851
|
ID_StockPersonal = 0;
|
|
53852
|
+
stock_quantity_employee = [];
|
|
53852
53853
|
};
|
|
53853
53854
|
__decorateClass([
|
|
53854
53855
|
IsDefined296({ message: "El campo _id es obligatorio." }),
|
|
@@ -53902,6 +53903,13 @@ __decorateClass([
|
|
|
53902
53903
|
IsDefined296({ message: "El campo ID_StockPersonal es obligatorio." }),
|
|
53903
53904
|
IsNumber528()
|
|
53904
53905
|
], BtAlpPluzOrderStockENTITY.prototype, "ID_StockPersonal", 2);
|
|
53906
|
+
__decorateClass([
|
|
53907
|
+
IsDefined296({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
53908
|
+
IsArray252({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
53909
|
+
ValidateNested426({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
53910
|
+
Type494(() => StockQuantityEmployeeDTO),
|
|
53911
|
+
Expose806()
|
|
53912
|
+
], BtAlpPluzOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
53905
53913
|
|
|
53906
53914
|
// src/v2/dtos/CodeName.ts
|
|
53907
53915
|
import { Expose as Expose807, Transform as Transform112 } from "class-transformer";
|
|
@@ -53952,8 +53960,8 @@ __decorateClass([
|
|
|
53952
53960
|
], LoginDto.prototype, "password", 2);
|
|
53953
53961
|
|
|
53954
53962
|
// src/v2/dtos/PayloadToken.ts
|
|
53955
|
-
import { IsDefined as IsDefined301, IsEnum as IsEnum60, IsObject as IsObject15, ValidateNested as
|
|
53956
|
-
import { Expose as Expose811, Type as
|
|
53963
|
+
import { IsDefined as IsDefined301, IsEnum as IsEnum60, IsObject as IsObject15, ValidateNested as ValidateNested428 } from "class-validator";
|
|
53964
|
+
import { Expose as Expose811, Type as Type496 } from "class-transformer";
|
|
53957
53965
|
|
|
53958
53966
|
// src/v2/dtos/AuthUser.ts
|
|
53959
53967
|
import { IsBoolean as IsBoolean73, IsDefined as IsDefined299, IsEmail as IsEmail6, IsString as IsString673, IsUUID as IsUUID24, ValidateIf as ValidateIf7 } from "class-validator";
|
|
@@ -54050,47 +54058,47 @@ var PayloadTokenDto = class {
|
|
|
54050
54058
|
employmentType;
|
|
54051
54059
|
};
|
|
54052
54060
|
__decorateClass([
|
|
54053
|
-
|
|
54054
|
-
|
|
54061
|
+
ValidateNested428(),
|
|
54062
|
+
Type496(() => AuthUserDto),
|
|
54055
54063
|
Expose811()
|
|
54056
54064
|
], PayloadTokenDto.prototype, "user", 2);
|
|
54057
54065
|
__decorateClass([
|
|
54058
|
-
|
|
54059
|
-
|
|
54066
|
+
ValidateNested428(),
|
|
54067
|
+
Type496(() => ProfileDto),
|
|
54060
54068
|
Expose811()
|
|
54061
54069
|
], PayloadTokenDto.prototype, "profile", 2);
|
|
54062
54070
|
__decorateClass([
|
|
54063
54071
|
IsDefined301({ message: "La empresa es requerida" }),
|
|
54064
|
-
|
|
54065
|
-
|
|
54072
|
+
Type496(() => CodeNameDto),
|
|
54073
|
+
ValidateNested428(),
|
|
54066
54074
|
IsObject15(),
|
|
54067
54075
|
Expose811()
|
|
54068
54076
|
], PayloadTokenDto.prototype, "company", 2);
|
|
54069
54077
|
__decorateClass([
|
|
54070
54078
|
IsDefined301({ message: "La bodega es requerido" }),
|
|
54071
|
-
|
|
54072
|
-
|
|
54079
|
+
Type496(() => CodeNameDto),
|
|
54080
|
+
ValidateNested428(),
|
|
54073
54081
|
IsObject15(),
|
|
54074
54082
|
Expose811()
|
|
54075
54083
|
], PayloadTokenDto.prototype, "stockroom", 2);
|
|
54076
54084
|
__decorateClass([
|
|
54077
54085
|
IsDefined301({ message: "El almac\xE9n es requerido" }),
|
|
54078
|
-
|
|
54079
|
-
|
|
54086
|
+
Type496(() => CodeNameDto),
|
|
54087
|
+
ValidateNested428(),
|
|
54080
54088
|
IsObject15(),
|
|
54081
54089
|
Expose811()
|
|
54082
54090
|
], PayloadTokenDto.prototype, "warehouse", 2);
|
|
54083
54091
|
__decorateClass([
|
|
54084
54092
|
IsDefined301({ message: "debe proporcionar el pa\xEDs" }),
|
|
54085
|
-
|
|
54086
|
-
|
|
54093
|
+
ValidateNested428(),
|
|
54094
|
+
Type496(() => CodeNameMinLengthDto),
|
|
54087
54095
|
IsObject15(),
|
|
54088
54096
|
Expose811()
|
|
54089
54097
|
], PayloadTokenDto.prototype, "country", 2);
|
|
54090
54098
|
__decorateClass([
|
|
54091
54099
|
IsDefined301({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
54092
|
-
|
|
54093
|
-
|
|
54100
|
+
ValidateNested428(),
|
|
54101
|
+
Type496(() => CodeNameMinLengthDto),
|
|
54094
54102
|
IsObject15(),
|
|
54095
54103
|
Expose811()
|
|
54096
54104
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
@@ -54101,8 +54109,8 @@ __decorateClass([
|
|
|
54101
54109
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
54102
54110
|
|
|
54103
54111
|
// src/v2/dtos/ResponseSignIn.ts
|
|
54104
|
-
import { IsArray as
|
|
54105
|
-
import { Expose as Expose813, Type as
|
|
54112
|
+
import { IsArray as IsArray255, IsDefined as IsDefined303, IsObject as IsObject16, IsString as IsString676, MinLength as MinLength58, ValidateNested as ValidateNested429 } from "class-validator";
|
|
54113
|
+
import { Expose as Expose813, Type as Type497 } from "class-transformer";
|
|
54106
54114
|
|
|
54107
54115
|
// src/v2/entities/SystemOption.ts
|
|
54108
54116
|
import { Expose as Expose812 } from "class-transformer";
|
|
@@ -54162,18 +54170,18 @@ var ResponseSignInDto = class {
|
|
|
54162
54170
|
__decorateClass([
|
|
54163
54171
|
IsDefined303({ message: "El usuario es requerido" }),
|
|
54164
54172
|
IsObject16({ message: "El usuario debe ser un objeto" }),
|
|
54165
|
-
|
|
54166
|
-
|
|
54173
|
+
ValidateNested429(),
|
|
54174
|
+
Type497(() => PayloadTokenDto),
|
|
54167
54175
|
Expose813()
|
|
54168
54176
|
], ResponseSignInDto.prototype, "auth", 2);
|
|
54169
54177
|
__decorateClass([
|
|
54170
|
-
|
|
54171
|
-
|
|
54172
|
-
|
|
54178
|
+
IsArray255({ message: "La propiedad debe ser un arreglo" }),
|
|
54179
|
+
ValidateNested429({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
|
|
54180
|
+
Type497(() => SystemOptionEntity),
|
|
54173
54181
|
Expose813()
|
|
54174
54182
|
], ResponseSignInDto.prototype, "dataSystemOptions", 2);
|
|
54175
54183
|
__decorateClass([
|
|
54176
|
-
|
|
54184
|
+
IsArray255({ message: "Tags debe ser un arreglo" }),
|
|
54177
54185
|
IsString676({ each: true, message: "Cada elemento de tags debe ser una cadena de texto v\xE1lida" }),
|
|
54178
54186
|
MinLength58(1, { each: true, message: "Cada tag debe tener al menos un car\xE1cter" }),
|
|
54179
54187
|
Expose813()
|
|
@@ -54224,7 +54232,7 @@ __decorateClass([
|
|
|
54224
54232
|
|
|
54225
54233
|
// src/v2/dtos/CreateProfile.ts
|
|
54226
54234
|
import { Expose as Expose816, Transform as Transform117 } from "class-transformer";
|
|
54227
|
-
import { IsArray as
|
|
54235
|
+
import { IsArray as IsArray256, IsDefined as IsDefined305, IsString as IsString678, Length as Length344, MinLength as MinLength60, IsUUID as IsUUID27 } from "class-validator";
|
|
54228
54236
|
var CreateProfileDto = class {
|
|
54229
54237
|
_id;
|
|
54230
54238
|
name;
|
|
@@ -54252,7 +54260,7 @@ __decorateClass([
|
|
|
54252
54260
|
], CreateProfileDto.prototype, "description", 2);
|
|
54253
54261
|
__decorateClass([
|
|
54254
54262
|
IsDefined305({ message: "El campo opciones de sistema es requerido" }),
|
|
54255
|
-
|
|
54263
|
+
IsArray256({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
54256
54264
|
IsString678({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
54257
54265
|
MinLength60(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
54258
54266
|
Expose816()
|
|
@@ -54260,7 +54268,7 @@ __decorateClass([
|
|
|
54260
54268
|
|
|
54261
54269
|
// src/v2/dtos/UpdateProfile.ts
|
|
54262
54270
|
import { Expose as Expose817, Transform as Transform118 } from "class-transformer";
|
|
54263
|
-
import { IsArray as
|
|
54271
|
+
import { IsArray as IsArray257, IsDefined as IsDefined306, IsString as IsString679, Length as Length345, MinLength as MinLength61, IsBoolean as IsBoolean77 } from "class-validator";
|
|
54264
54272
|
var UpdateProfileDto = class {
|
|
54265
54273
|
active;
|
|
54266
54274
|
name;
|
|
@@ -54288,7 +54296,7 @@ __decorateClass([
|
|
|
54288
54296
|
], UpdateProfileDto.prototype, "description", 2);
|
|
54289
54297
|
__decorateClass([
|
|
54290
54298
|
IsDefined306({ message: "El campo opciones de sistema es requerido" }),
|
|
54291
|
-
|
|
54299
|
+
IsArray257({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
54292
54300
|
IsString679({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
54293
54301
|
MinLength61(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
54294
54302
|
Expose817()
|
|
@@ -54326,9 +54334,9 @@ __decorateClass([
|
|
|
54326
54334
|
], UpdateUserDto.prototype, "profileId", 2);
|
|
54327
54335
|
|
|
54328
54336
|
// src/v2/dtos/DocumentRequirement.ts
|
|
54329
|
-
import { Expose as Expose820, Type as
|
|
54337
|
+
import { Expose as Expose820, Type as Type499 } from "class-transformer";
|
|
54330
54338
|
import {
|
|
54331
|
-
IsArray as
|
|
54339
|
+
IsArray as IsArray260,
|
|
54332
54340
|
IsBoolean as IsBoolean80,
|
|
54333
54341
|
IsDefined as IsDefined309,
|
|
54334
54342
|
IsEnum as IsEnum62,
|
|
@@ -54336,7 +54344,7 @@ import {
|
|
|
54336
54344
|
IsNumber as IsNumber529,
|
|
54337
54345
|
IsString as IsString682,
|
|
54338
54346
|
Min as Min348,
|
|
54339
|
-
ValidateNested as
|
|
54347
|
+
ValidateNested as ValidateNested431
|
|
54340
54348
|
} from "class-validator";
|
|
54341
54349
|
|
|
54342
54350
|
// src/v2/enums/FileExtension.ts
|
|
@@ -54373,7 +54381,7 @@ __decorateClass([
|
|
|
54373
54381
|
], _DocumentRequirementDto.prototype, "label", 2);
|
|
54374
54382
|
__decorateClass([
|
|
54375
54383
|
IsDefined309({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
54376
|
-
|
|
54384
|
+
IsArray260({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
54377
54385
|
IsEnum62(FileExtension, {
|
|
54378
54386
|
each: true,
|
|
54379
54387
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
@@ -54382,9 +54390,9 @@ __decorateClass([
|
|
|
54382
54390
|
], _DocumentRequirementDto.prototype, "acceptedFileExtensions", 2);
|
|
54383
54391
|
__decorateClass([
|
|
54384
54392
|
IsDefined309({ message: "Los hijos son requeridos" }),
|
|
54385
|
-
|
|
54386
|
-
|
|
54387
|
-
|
|
54393
|
+
IsArray260({ message: "Los hijos deben ser un arreglo" }),
|
|
54394
|
+
Type499(() => _DocumentRequirementDto),
|
|
54395
|
+
ValidateNested431({ each: true }),
|
|
54388
54396
|
Expose820()
|
|
54389
54397
|
], _DocumentRequirementDto.prototype, "children", 2);
|
|
54390
54398
|
__decorateClass([
|
|
@@ -54537,7 +54545,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
54537
54545
|
|
|
54538
54546
|
// src/v2/dtos/CreateCompany.ts
|
|
54539
54547
|
import { Expose as Expose825 } from "class-transformer";
|
|
54540
|
-
import { IsArray as
|
|
54548
|
+
import { IsArray as IsArray261, IsBoolean as IsBoolean81, IsDefined as IsDefined314, IsEmail as IsEmail10, IsEnum as IsEnum63, IsNotEmpty as IsNotEmpty471, IsString as IsString687, IsUUID as IsUUID35 } from "class-validator";
|
|
54541
54549
|
var CreateCompanyDto = class {
|
|
54542
54550
|
_id;
|
|
54543
54551
|
companyType;
|
|
@@ -54598,13 +54606,13 @@ __decorateClass([
|
|
|
54598
54606
|
], CreateCompanyDto.prototype, "address", 2);
|
|
54599
54607
|
__decorateClass([
|
|
54600
54608
|
IsDefined314({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
54601
|
-
|
|
54609
|
+
IsArray261({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
54602
54610
|
IsEmail10({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
54603
54611
|
Expose825()
|
|
54604
54612
|
], CreateCompanyDto.prototype, "emails", 2);
|
|
54605
54613
|
__decorateClass([
|
|
54606
54614
|
IsDefined314({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
54607
|
-
|
|
54615
|
+
IsArray261({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
54608
54616
|
IsString687({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
54609
54617
|
IsNotEmpty471({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
54610
54618
|
Expose825()
|
|
@@ -54617,7 +54625,7 @@ __decorateClass([
|
|
|
54617
54625
|
|
|
54618
54626
|
// src/v2/dtos/UpdateCompany.ts
|
|
54619
54627
|
import { Expose as Expose826 } from "class-transformer";
|
|
54620
|
-
import { IsArray as
|
|
54628
|
+
import { IsArray as IsArray262, IsBoolean as IsBoolean82, IsDefined as IsDefined315, IsEmail as IsEmail11, IsEnum as IsEnum64, IsNotEmpty as IsNotEmpty472, IsString as IsString688, IsUUID as IsUUID36 } from "class-validator";
|
|
54621
54629
|
var UpdateCompanyDto = class {
|
|
54622
54630
|
_id;
|
|
54623
54631
|
companyType;
|
|
@@ -54678,13 +54686,13 @@ __decorateClass([
|
|
|
54678
54686
|
], UpdateCompanyDto.prototype, "address", 2);
|
|
54679
54687
|
__decorateClass([
|
|
54680
54688
|
IsDefined315({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
54681
|
-
|
|
54689
|
+
IsArray262({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
54682
54690
|
IsEmail11({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
54683
54691
|
Expose826()
|
|
54684
54692
|
], UpdateCompanyDto.prototype, "emails", 2);
|
|
54685
54693
|
__decorateClass([
|
|
54686
54694
|
IsDefined315({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
54687
|
-
|
|
54695
|
+
IsArray262({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
54688
54696
|
IsString688({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
54689
54697
|
IsNotEmpty472({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
54690
54698
|
Expose826()
|
|
@@ -54696,11 +54704,11 @@ __decorateClass([
|
|
|
54696
54704
|
], UpdateCompanyDto.prototype, "countryId", 2);
|
|
54697
54705
|
|
|
54698
54706
|
// src/v2/dtos/CreateUser.ts
|
|
54699
|
-
import { IsArray as
|
|
54700
|
-
import { Expose as Expose828, Transform as Transform122, Type as
|
|
54707
|
+
import { IsArray as IsArray263, IsBoolean as IsBoolean83, IsDefined as IsDefined317, IsEmail as IsEmail12, IsString as IsString690, IsUUID as IsUUID37, ValidateIf as ValidateIf9, ValidateNested as ValidateNested432 } from "class-validator";
|
|
54708
|
+
import { Expose as Expose828, Transform as Transform122, Type as Type501 } from "class-transformer";
|
|
54701
54709
|
|
|
54702
54710
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
54703
|
-
import { Expose as Expose827, Type as
|
|
54711
|
+
import { Expose as Expose827, Type as Type500 } from "class-transformer";
|
|
54704
54712
|
import { IsDate as IsDate193, IsDefined as IsDefined316, IsEnum as IsEnum65, IsString as IsString689, MinLength as MinLength62 } from "class-validator";
|
|
54705
54713
|
|
|
54706
54714
|
// src/v2/enums/SystemResource.ts
|
|
@@ -54741,7 +54749,7 @@ __decorateClass([
|
|
|
54741
54749
|
__decorateClass([
|
|
54742
54750
|
IsDefined316({ message: "Fecha inicio actividad es obligatoria" }),
|
|
54743
54751
|
IsDate193({ message: "Fecha inicio actividad debe ser una fecha" }),
|
|
54744
|
-
|
|
54752
|
+
Type500(() => Date),
|
|
54745
54753
|
Expose827()
|
|
54746
54754
|
], ResourceSystemDto.prototype, "startDateActivity", 2);
|
|
54747
54755
|
|
|
@@ -54803,14 +54811,14 @@ __decorateClass([
|
|
|
54803
54811
|
], CreateUserDto.prototype, "identification", 2);
|
|
54804
54812
|
__decorateClass([
|
|
54805
54813
|
IsDefined317({ message: "El campo empresas es requerido" }),
|
|
54806
|
-
|
|
54807
|
-
|
|
54808
|
-
|
|
54814
|
+
IsArray263({ message: "El campo empresas debe ser un array" }),
|
|
54815
|
+
Type501(() => CompanyDto),
|
|
54816
|
+
ValidateNested432({ each: true }),
|
|
54809
54817
|
Expose828()
|
|
54810
54818
|
], CreateUserDto.prototype, "companies", 2);
|
|
54811
54819
|
__decorateClass([
|
|
54812
54820
|
IsDefined317({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
54813
|
-
|
|
54821
|
+
IsArray263({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
54814
54822
|
IsUUID37("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
54815
54823
|
Expose828()
|
|
54816
54824
|
], CreateUserDto.prototype, "delegationIds", 2);
|
|
@@ -54827,15 +54835,15 @@ __decorateClass([
|
|
|
54827
54835
|
], CreateUserDto.prototype, "profileId", 2);
|
|
54828
54836
|
__decorateClass([
|
|
54829
54837
|
IsDefined317({ message: "Resurso sistema es obligatoria" }),
|
|
54830
|
-
|
|
54831
|
-
|
|
54832
|
-
|
|
54838
|
+
Type501(() => ResourceSystemDto),
|
|
54839
|
+
ValidateNested432({ each: true }),
|
|
54840
|
+
IsArray263({ message: "Recurso sistema debe ser un array" }),
|
|
54833
54841
|
Expose828()
|
|
54834
54842
|
], CreateUserDto.prototype, "resourceSystem", 2);
|
|
54835
54843
|
|
|
54836
54844
|
// src/v2/dtos/CreateThemeConfigCountry.ts
|
|
54837
|
-
import { Expose as Expose833, Type as
|
|
54838
|
-
import { IsDefined as IsDefined318, IsNumber as IsNumber531, IsString as IsString695, IsUUID as IsUUID38, ValidateNested as
|
|
54845
|
+
import { Expose as Expose833, Type as Type503 } from "class-transformer";
|
|
54846
|
+
import { IsDefined as IsDefined318, IsNumber as IsNumber531, IsString as IsString695, IsUUID as IsUUID38, ValidateNested as ValidateNested434 } from "class-validator";
|
|
54839
54847
|
|
|
54840
54848
|
// src/v2/shared-dto/EstadoDTO.ts
|
|
54841
54849
|
import { Expose as Expose829 } from "class-transformer";
|
|
@@ -54876,7 +54884,7 @@ __decorateClass([
|
|
|
54876
54884
|
|
|
54877
54885
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
54878
54886
|
import { Expose as Expose832 } from "class-transformer";
|
|
54879
|
-
import { IsString as IsString694, ValidateNested as
|
|
54887
|
+
import { IsString as IsString694, ValidateNested as ValidateNested433 } from "class-validator";
|
|
54880
54888
|
|
|
54881
54889
|
// src/v2/shared-dto/CoordenadasDTO.ts
|
|
54882
54890
|
import { Expose as Expose831 } from "class-transformer";
|
|
@@ -54897,7 +54905,7 @@ __decorateClass([
|
|
|
54897
54905
|
], CoordenadasDTO2.prototype, "Y", 2);
|
|
54898
54906
|
|
|
54899
54907
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
54900
|
-
import { Type as
|
|
54908
|
+
import { Type as Type502 } from "class-transformer";
|
|
54901
54909
|
var ImgLogoNavBarDTO2 = class {
|
|
54902
54910
|
Coordenadas = new CoordenadasDTO2();
|
|
54903
54911
|
Estado = "";
|
|
@@ -54906,8 +54914,8 @@ var ImgLogoNavBarDTO2 = class {
|
|
|
54906
54914
|
img = "";
|
|
54907
54915
|
};
|
|
54908
54916
|
__decorateClass([
|
|
54909
|
-
|
|
54910
|
-
|
|
54917
|
+
ValidateNested433(),
|
|
54918
|
+
Type502(() => CoordenadasDTO2),
|
|
54911
54919
|
Expose832()
|
|
54912
54920
|
], ImgLogoNavBarDTO2.prototype, "Coordenadas", 2);
|
|
54913
54921
|
__decorateClass([
|
|
@@ -54966,8 +54974,8 @@ __decorateClass([
|
|
|
54966
54974
|
], CreateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
54967
54975
|
__decorateClass([
|
|
54968
54976
|
IsDefined318({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
54969
|
-
|
|
54970
|
-
|
|
54977
|
+
ValidateNested434(),
|
|
54978
|
+
Type503(() => ImgLogoNavBarDTO2),
|
|
54971
54979
|
Expose833()
|
|
54972
54980
|
], CreateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
54973
54981
|
__decorateClass([
|
|
@@ -54976,20 +54984,20 @@ __decorateClass([
|
|
|
54976
54984
|
], CreateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
54977
54985
|
__decorateClass([
|
|
54978
54986
|
IsDefined318({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
54979
|
-
|
|
54980
|
-
|
|
54987
|
+
ValidateNested434(),
|
|
54988
|
+
Type503(() => EstadoDTO2),
|
|
54981
54989
|
Expose833()
|
|
54982
54990
|
], CreateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
54983
54991
|
__decorateClass([
|
|
54984
54992
|
IsDefined318({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
54985
|
-
|
|
54986
|
-
|
|
54993
|
+
ValidateNested434(),
|
|
54994
|
+
Type503(() => CodigoNombreDTO4),
|
|
54987
54995
|
Expose833()
|
|
54988
54996
|
], CreateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
54989
54997
|
|
|
54990
54998
|
// src/v2/dtos/UpdateThemeConfigCountry.ts
|
|
54991
|
-
import { Expose as Expose834, Type as
|
|
54992
|
-
import { IsDefined as IsDefined319, IsNumber as IsNumber532, IsString as IsString696, IsUUID as IsUUID39, ValidateNested as
|
|
54999
|
+
import { Expose as Expose834, Type as Type504 } from "class-transformer";
|
|
55000
|
+
import { IsDefined as IsDefined319, IsNumber as IsNumber532, IsString as IsString696, IsUUID as IsUUID39, ValidateNested as ValidateNested435 } from "class-validator";
|
|
54993
55001
|
var UpdateThemeConfigCountryDto = class {
|
|
54994
55002
|
_id;
|
|
54995
55003
|
ID_TemeCountry;
|
|
@@ -55028,8 +55036,8 @@ __decorateClass([
|
|
|
55028
55036
|
], UpdateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
55029
55037
|
__decorateClass([
|
|
55030
55038
|
IsDefined319({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
55031
|
-
|
|
55032
|
-
|
|
55039
|
+
ValidateNested435(),
|
|
55040
|
+
Type504(() => ImgLogoNavBarDTO2),
|
|
55033
55041
|
Expose834()
|
|
55034
55042
|
], UpdateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
55035
55043
|
__decorateClass([
|
|
@@ -55038,20 +55046,20 @@ __decorateClass([
|
|
|
55038
55046
|
], UpdateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
55039
55047
|
__decorateClass([
|
|
55040
55048
|
IsDefined319({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
55041
|
-
|
|
55042
|
-
|
|
55049
|
+
ValidateNested435(),
|
|
55050
|
+
Type504(() => EstadoDTO2),
|
|
55043
55051
|
Expose834()
|
|
55044
55052
|
], UpdateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
55045
55053
|
__decorateClass([
|
|
55046
55054
|
IsDefined319({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
55047
|
-
|
|
55048
|
-
|
|
55055
|
+
ValidateNested435(),
|
|
55056
|
+
Type504(() => CodigoNombreDTO4),
|
|
55049
55057
|
Expose834()
|
|
55050
55058
|
], UpdateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
55051
55059
|
|
|
55052
55060
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
55053
|
-
import { Expose as Expose836, Type as
|
|
55054
|
-
import { IsArray as
|
|
55061
|
+
import { Expose as Expose836, Type as Type505 } from "class-transformer";
|
|
55062
|
+
import { IsArray as IsArray264, IsDefined as IsDefined320, IsNumber as IsNumber534, IsOptional as IsOptional75, IsString as IsString698, ValidateNested as ValidateNested436 } from "class-validator";
|
|
55055
55063
|
|
|
55056
55064
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
55057
55065
|
import { Expose as Expose835 } from "class-transformer";
|
|
@@ -55116,21 +55124,21 @@ __decorateClass([
|
|
|
55116
55124
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
55117
55125
|
__decorateClass([
|
|
55118
55126
|
IsDefined320({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
55119
|
-
|
|
55120
|
-
|
|
55127
|
+
ValidateNested436(),
|
|
55128
|
+
Type505(() => EstadoDTO2),
|
|
55121
55129
|
Expose836()
|
|
55122
55130
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
55123
55131
|
__decorateClass([
|
|
55124
55132
|
IsOptional75(),
|
|
55125
|
-
|
|
55126
|
-
|
|
55127
|
-
|
|
55133
|
+
IsArray264({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
55134
|
+
ValidateNested436({ each: true }),
|
|
55135
|
+
Type505(() => FavoritoDTO2),
|
|
55128
55136
|
Expose836()
|
|
55129
55137
|
], CreateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
55130
55138
|
|
|
55131
55139
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
55132
|
-
import { Expose as Expose837, Type as
|
|
55133
|
-
import { IsArray as
|
|
55140
|
+
import { Expose as Expose837, Type as Type506 } from "class-transformer";
|
|
55141
|
+
import { IsArray as IsArray265, IsDefined as IsDefined321, IsNumber as IsNumber535, IsOptional as IsOptional76, IsString as IsString699, ValidateNested as ValidateNested437 } from "class-validator";
|
|
55134
55142
|
var UpdateThemeConfigUserDto = class {
|
|
55135
55143
|
ID_Theme;
|
|
55136
55144
|
Identificacion;
|
|
@@ -55161,15 +55169,15 @@ __decorateClass([
|
|
|
55161
55169
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
55162
55170
|
__decorateClass([
|
|
55163
55171
|
IsDefined321({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
55164
|
-
|
|
55165
|
-
|
|
55172
|
+
ValidateNested437(),
|
|
55173
|
+
Type506(() => EstadoDTO2),
|
|
55166
55174
|
Expose837()
|
|
55167
55175
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
55168
55176
|
__decorateClass([
|
|
55169
55177
|
IsOptional76(),
|
|
55170
|
-
|
|
55171
|
-
|
|
55172
|
-
|
|
55178
|
+
IsArray265({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
55179
|
+
ValidateNested437({ each: true }),
|
|
55180
|
+
Type506(() => FavoritoDTO2),
|
|
55173
55181
|
Expose837()
|
|
55174
55182
|
], UpdateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
55175
55183
|
|
|
@@ -55225,7 +55233,7 @@ __decorateClass([
|
|
|
55225
55233
|
], CreateWarehouseExitATCDto.prototype, "observations", 2);
|
|
55226
55234
|
|
|
55227
55235
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
55228
|
-
import { Expose as Expose839, Transform as Transform124, Type as
|
|
55236
|
+
import { Expose as Expose839, Transform as Transform124, Type as Type507 } from "class-transformer";
|
|
55229
55237
|
import { IsDefined as IsDefined323, IsNotEmpty as IsNotEmpty475, IsNumber as IsNumber536, IsOptional as IsOptional78, IsString as IsString701, MaxLength as MaxLength11, Min as Min349 } from "class-validator";
|
|
55230
55238
|
var AddDetailWarehouseExitATCDto = class {
|
|
55231
55239
|
keyCode;
|
|
@@ -55247,7 +55255,7 @@ __decorateClass([
|
|
|
55247
55255
|
], AddDetailWarehouseExitATCDto.prototype, "searchCode", 2);
|
|
55248
55256
|
__decorateClass([
|
|
55249
55257
|
IsDefined323({ message: "La cantidad es requerida" }),
|
|
55250
|
-
|
|
55258
|
+
Type507(() => Number),
|
|
55251
55259
|
IsNumber536({ maxDecimalPlaces: 2 }, { message: "La cantidad debe ser un n\xFAmero con m\xE1ximo 2 decimales" }),
|
|
55252
55260
|
Min349(0.01, { message: "La cantidad debe ser mayor a 0" }),
|
|
55253
55261
|
Expose839()
|
|
@@ -55261,7 +55269,7 @@ __decorateClass([
|
|
|
55261
55269
|
], AddDetailWarehouseExitATCDto.prototype, "notes", 2);
|
|
55262
55270
|
|
|
55263
55271
|
// src/v2/dtos/AddInventorySomacylOrder.ts
|
|
55264
|
-
import { Expose as Expose840, Transform as Transform125, Type as
|
|
55272
|
+
import { Expose as Expose840, Transform as Transform125, Type as Type508 } from "class-transformer";
|
|
55265
55273
|
import {
|
|
55266
55274
|
IsDefined as IsDefined324,
|
|
55267
55275
|
IsInt,
|
|
@@ -55280,7 +55288,7 @@ var AddInventorySomacylOrderDto = class {
|
|
|
55280
55288
|
};
|
|
55281
55289
|
__decorateClass([
|
|
55282
55290
|
IsDefined324({ message: "El ID_Stock es requerido" }),
|
|
55283
|
-
|
|
55291
|
+
Type508(() => Number),
|
|
55284
55292
|
IsInt({ message: "El ID_Stock debe ser un n\xFAmero entero" }),
|
|
55285
55293
|
Expose840()
|
|
55286
55294
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
@@ -55292,7 +55300,7 @@ __decorateClass([
|
|
|
55292
55300
|
], AddInventorySomacylOrderDto.prototype, "invsn", 2);
|
|
55293
55301
|
__decorateClass([
|
|
55294
55302
|
IsDefined324({ message: "La cantidad es requerida" }),
|
|
55295
|
-
|
|
55303
|
+
Type508(() => Number),
|
|
55296
55304
|
IsNumber537({ maxDecimalPlaces: 2 }, { message: "La cantidad debe ser un n\xFAmero con m\xE1ximo 2 decimales" }),
|
|
55297
55305
|
Min350(1, { message: "La cantidad debe ser mayor o igual a 1" }),
|
|
55298
55306
|
Expose840()
|
|
@@ -55331,7 +55339,7 @@ __decorateClass([
|
|
|
55331
55339
|
], DeleteFileSomacylOrderDto.prototype, "posicion", 2);
|
|
55332
55340
|
|
|
55333
55341
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
55334
|
-
import { Expose as Expose842, Transform as Transform126, Type as
|
|
55342
|
+
import { Expose as Expose842, Transform as Transform126, Type as Type509 } from "class-transformer";
|
|
55335
55343
|
import { IsDefined as IsDefined326, IsInt as IsInt2, IsOptional as IsOptional80, IsString as IsString703 } from "class-validator";
|
|
55336
55344
|
var DeleteInventorySomacylOrderDto = class {
|
|
55337
55345
|
ID_Stock;
|
|
@@ -55339,7 +55347,7 @@ var DeleteInventorySomacylOrderDto = class {
|
|
|
55339
55347
|
};
|
|
55340
55348
|
__decorateClass([
|
|
55341
55349
|
IsDefined326({ message: "El ID_Stock es requerido" }),
|
|
55342
|
-
|
|
55350
|
+
Type509(() => Number),
|
|
55343
55351
|
IsInt2({ message: "El ID_Stock debe ser un n\xFAmero entero" }),
|
|
55344
55352
|
Expose842()
|
|
55345
55353
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
@@ -55490,8 +55498,8 @@ __decorateClass([
|
|
|
55490
55498
|
], DelegationEntity.prototype, "name", 2);
|
|
55491
55499
|
|
|
55492
55500
|
// src/v2/entities/User.ts
|
|
55493
|
-
import { IsArray as
|
|
55494
|
-
import { Expose as Expose847, Transform as Transform129, Type as
|
|
55501
|
+
import { IsArray as IsArray266, IsBoolean as IsBoolean85, IsDefined as IsDefined331, IsEmail as IsEmail13, IsString as IsString707, IsUUID as IsUUID42, ValidateIf as ValidateIf11, ValidateNested as ValidateNested438 } from "class-validator";
|
|
55502
|
+
import { Expose as Expose847, Transform as Transform129, Type as Type510 } from "class-transformer";
|
|
55495
55503
|
var UserEntity = class extends BaseEntity {
|
|
55496
55504
|
email;
|
|
55497
55505
|
password;
|
|
@@ -55543,14 +55551,14 @@ __decorateClass([
|
|
|
55543
55551
|
], UserEntity.prototype, "identification", 2);
|
|
55544
55552
|
__decorateClass([
|
|
55545
55553
|
IsDefined331({ message: "El campo empresas es requerido" }),
|
|
55546
|
-
|
|
55547
|
-
|
|
55548
|
-
|
|
55554
|
+
IsArray266({ message: "El campo empresas debe ser un array" }),
|
|
55555
|
+
Type510(() => CompanyDto),
|
|
55556
|
+
ValidateNested438({ each: true }),
|
|
55549
55557
|
Expose847()
|
|
55550
55558
|
], UserEntity.prototype, "companies", 2);
|
|
55551
55559
|
__decorateClass([
|
|
55552
55560
|
IsDefined331({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55553
|
-
|
|
55561
|
+
IsArray266({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55554
55562
|
IsUUID42("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
55555
55563
|
Expose847()
|
|
55556
55564
|
], UserEntity.prototype, "delegationIds", 2);
|
|
@@ -55567,15 +55575,15 @@ __decorateClass([
|
|
|
55567
55575
|
], UserEntity.prototype, "profileId", 2);
|
|
55568
55576
|
__decorateClass([
|
|
55569
55577
|
IsDefined331({ message: "Resurso sistema es obligatoria" }),
|
|
55570
|
-
|
|
55571
|
-
|
|
55572
|
-
|
|
55578
|
+
Type510(() => ResourceSystemDto),
|
|
55579
|
+
ValidateNested438({ each: true }),
|
|
55580
|
+
IsArray266({ message: "Recurso sistema debe ser un array" }),
|
|
55573
55581
|
Expose847()
|
|
55574
55582
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
55575
55583
|
|
|
55576
55584
|
// src/v2/entities/Profile.ts
|
|
55577
55585
|
import { Expose as Expose848, Transform as Transform130 } from "class-transformer";
|
|
55578
|
-
import { IsArray as
|
|
55586
|
+
import { IsArray as IsArray267, IsDefined as IsDefined332, IsString as IsString708, Length as Length349, MinLength as MinLength63 } from "class-validator";
|
|
55579
55587
|
var ProfileEntity = class extends BaseEntity {
|
|
55580
55588
|
name;
|
|
55581
55589
|
description;
|
|
@@ -55597,7 +55605,7 @@ __decorateClass([
|
|
|
55597
55605
|
], ProfileEntity.prototype, "description", 2);
|
|
55598
55606
|
__decorateClass([
|
|
55599
55607
|
IsDefined332({ message: "El campo opciones de sistema es requerido" }),
|
|
55600
|
-
|
|
55608
|
+
IsArray267({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
55601
55609
|
IsString708({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
55602
55610
|
MinLength63(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
55603
55611
|
Expose848()
|
|
@@ -55625,7 +55633,7 @@ __decorateClass([
|
|
|
55625
55633
|
|
|
55626
55634
|
// src/v2/entities/Company.ts
|
|
55627
55635
|
import { Expose as Expose850 } from "class-transformer";
|
|
55628
|
-
import { IsArray as
|
|
55636
|
+
import { IsArray as IsArray268, IsBoolean as IsBoolean86, IsDefined as IsDefined334, IsEmail as IsEmail14, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty479, IsString as IsString710, IsUUID as IsUUID43 } from "class-validator";
|
|
55629
55637
|
var CompanyEntity = class extends BaseEntity {
|
|
55630
55638
|
companyType;
|
|
55631
55639
|
identification;
|
|
@@ -55680,13 +55688,13 @@ __decorateClass([
|
|
|
55680
55688
|
], CompanyEntity.prototype, "address", 2);
|
|
55681
55689
|
__decorateClass([
|
|
55682
55690
|
IsDefined334({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
55683
|
-
|
|
55691
|
+
IsArray268({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
55684
55692
|
IsEmail14({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
55685
55693
|
Expose850()
|
|
55686
55694
|
], CompanyEntity.prototype, "emails", 2);
|
|
55687
55695
|
__decorateClass([
|
|
55688
55696
|
IsDefined334({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
55689
|
-
|
|
55697
|
+
IsArray268({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
55690
55698
|
IsString710({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
55691
55699
|
IsNotEmpty479({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
55692
55700
|
Expose850()
|
|
@@ -55698,8 +55706,8 @@ __decorateClass([
|
|
|
55698
55706
|
], CompanyEntity.prototype, "countryId", 2);
|
|
55699
55707
|
|
|
55700
55708
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
55701
|
-
import { Expose as Expose852, Type as
|
|
55702
|
-
import { IsNumber as IsNumber538, IsString as IsString712, ValidateNested as
|
|
55709
|
+
import { Expose as Expose852, Type as Type511 } from "class-transformer";
|
|
55710
|
+
import { IsNumber as IsNumber538, IsString as IsString712, ValidateNested as ValidateNested439, IsArray as IsArray269 } from "class-validator";
|
|
55703
55711
|
|
|
55704
55712
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
55705
55713
|
import { Expose as Expose851 } from "class-transformer";
|
|
@@ -55750,30 +55758,30 @@ __decorateClass([
|
|
|
55750
55758
|
Expose852()
|
|
55751
55759
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
55752
55760
|
__decorateClass([
|
|
55753
|
-
|
|
55754
|
-
|
|
55761
|
+
ValidateNested439(),
|
|
55762
|
+
Type511(() => ImgLogoNavBarDTO2),
|
|
55755
55763
|
Expose852()
|
|
55756
55764
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
55757
55765
|
__decorateClass([
|
|
55758
|
-
|
|
55759
|
-
|
|
55760
|
-
|
|
55766
|
+
IsArray269(),
|
|
55767
|
+
Type511(() => ThemeCountryManualDTO2),
|
|
55768
|
+
ValidateNested439({ each: true }),
|
|
55761
55769
|
Expose852()
|
|
55762
55770
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
55763
55771
|
__decorateClass([
|
|
55764
|
-
|
|
55765
|
-
|
|
55772
|
+
ValidateNested439(),
|
|
55773
|
+
Type511(() => EstadoDTO2),
|
|
55766
55774
|
Expose852()
|
|
55767
55775
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
55768
55776
|
__decorateClass([
|
|
55769
|
-
|
|
55770
|
-
|
|
55777
|
+
ValidateNested439(),
|
|
55778
|
+
Type511(() => CodigoNombreDTO4),
|
|
55771
55779
|
Expose852()
|
|
55772
55780
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
55773
55781
|
|
|
55774
55782
|
// src/v2/entities/ThemeConfigUser.ts
|
|
55775
|
-
import { Expose as Expose853, Type as
|
|
55776
|
-
import { IsNumber as IsNumber539, IsString as IsString713, ValidateNested as
|
|
55783
|
+
import { Expose as Expose853, Type as Type512 } from "class-transformer";
|
|
55784
|
+
import { IsNumber as IsNumber539, IsString as IsString713, ValidateNested as ValidateNested440, IsArray as IsArray270, IsOptional as IsOptional82, IsDefined as IsDefined335, IsBoolean as IsBoolean87 } from "class-validator";
|
|
55777
55785
|
var ThemeConfigUserEntity = class {
|
|
55778
55786
|
_id;
|
|
55779
55787
|
active = true;
|
|
@@ -55811,15 +55819,15 @@ __decorateClass([
|
|
|
55811
55819
|
Expose853()
|
|
55812
55820
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
55813
55821
|
__decorateClass([
|
|
55814
|
-
|
|
55815
|
-
|
|
55822
|
+
ValidateNested440(),
|
|
55823
|
+
Type512(() => EstadoDTO2),
|
|
55816
55824
|
Expose853()
|
|
55817
55825
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
55818
55826
|
__decorateClass([
|
|
55819
55827
|
IsOptional82(),
|
|
55820
|
-
|
|
55821
|
-
|
|
55822
|
-
|
|
55828
|
+
IsArray270(),
|
|
55829
|
+
ValidateNested440({ each: true }),
|
|
55830
|
+
Type512(() => FavoritoDTO2),
|
|
55823
55831
|
Expose853()
|
|
55824
55832
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
55825
55833
|
|