sigo-entities 1.2.553 → 1.2.554
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 +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +279 -200
- package/dist/index.mjs +240 -154
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -58036,26 +58036,109 @@ __decorateClass([
|
|
|
58036
58036
|
Expose877()
|
|
58037
58037
|
], SearchDateRangeDto.prototype, "to", 2);
|
|
58038
58038
|
|
|
58039
|
-
// src/v2/
|
|
58039
|
+
// src/v2/dtos/ReportAutoInventory.ts
|
|
58040
|
+
import { Expose as Expose878, Type as Type534 } from "class-transformer";
|
|
58041
|
+
import {
|
|
58042
|
+
ArrayMinSize as ArrayMinSize9,
|
|
58043
|
+
IsArray as IsArray283,
|
|
58044
|
+
IsDefined as IsDefined358,
|
|
58045
|
+
IsInt as IsInt9,
|
|
58046
|
+
IsNumber as IsNumber552,
|
|
58047
|
+
IsString as IsString725,
|
|
58048
|
+
MaxLength as MaxLength18,
|
|
58049
|
+
Min as Min366,
|
|
58050
|
+
ValidateNested as ValidateNested460
|
|
58051
|
+
} from "class-validator";
|
|
58052
|
+
var ReportAutoInventoryLineDto = class {
|
|
58053
|
+
ID_StockPersonal;
|
|
58054
|
+
Cantidad;
|
|
58055
|
+
Observacion = "";
|
|
58056
|
+
Equipos = [];
|
|
58057
|
+
Files = [];
|
|
58058
|
+
};
|
|
58059
|
+
__decorateClass([
|
|
58060
|
+
IsDefined358({ message: "La l\xEDnea de stock es requerida" }),
|
|
58061
|
+
Type534(() => Number),
|
|
58062
|
+
IsInt9({ message: "La l\xEDnea de stock no es v\xE1lida" }),
|
|
58063
|
+
Min366(1, { message: "La l\xEDnea de stock no es v\xE1lida" }),
|
|
58064
|
+
Expose878()
|
|
58065
|
+
], ReportAutoInventoryLineDto.prototype, "ID_StockPersonal", 2);
|
|
58066
|
+
__decorateClass([
|
|
58067
|
+
IsDefined358({ message: "La cantidad es requerida" }),
|
|
58068
|
+
Type534(() => Number),
|
|
58069
|
+
IsNumber552({ maxDecimalPlaces: 2 }, { message: "La cantidad admite hasta 2 decimales" }),
|
|
58070
|
+
Min366(0, { message: "Ingrese una cantidad mayor o igual a 0" }),
|
|
58071
|
+
Expose878()
|
|
58072
|
+
], ReportAutoInventoryLineDto.prototype, "Cantidad", 2);
|
|
58073
|
+
__decorateClass([
|
|
58074
|
+
IsString725({ message: "La observaci\xF3n debe ser texto" }),
|
|
58075
|
+
MaxLength18(200, { message: "La observaci\xF3n admite hasta 200 caracteres" }),
|
|
58076
|
+
Expose878()
|
|
58077
|
+
], ReportAutoInventoryLineDto.prototype, "Observacion", 2);
|
|
58078
|
+
__decorateClass([
|
|
58079
|
+
IsArray283(),
|
|
58080
|
+
ValidateNested460({ each: true }),
|
|
58081
|
+
Type534(() => EquiposAIDTO),
|
|
58082
|
+
Expose878()
|
|
58083
|
+
], ReportAutoInventoryLineDto.prototype, "Equipos", 2);
|
|
58084
|
+
__decorateClass([
|
|
58085
|
+
IsArray283(),
|
|
58086
|
+
ValidateNested460({ each: true }),
|
|
58087
|
+
Type534(() => FilesDocDTO),
|
|
58088
|
+
Expose878()
|
|
58089
|
+
], ReportAutoInventoryLineDto.prototype, "Files", 2);
|
|
58090
|
+
var ReportAutoInventoryDto = class {
|
|
58091
|
+
Lineas = [];
|
|
58092
|
+
};
|
|
58093
|
+
__decorateClass([
|
|
58094
|
+
IsArray283(),
|
|
58095
|
+
ArrayMinSize9(1, { message: "No hay l\xEDneas para reportar" }),
|
|
58096
|
+
ValidateNested460({ each: true }),
|
|
58097
|
+
Type534(() => ReportAutoInventoryLineDto),
|
|
58098
|
+
Expose878()
|
|
58099
|
+
], ReportAutoInventoryDto.prototype, "Lineas", 2);
|
|
58100
|
+
|
|
58101
|
+
// src/v2/dtos/AutoInventoryStatus.ts
|
|
58040
58102
|
import { Expose as Expose879 } from "class-transformer";
|
|
58041
|
-
|
|
58103
|
+
var AutoInventoryStatusDto = class {
|
|
58104
|
+
KeyFecha;
|
|
58105
|
+
mustReport;
|
|
58106
|
+
inSchedule;
|
|
58107
|
+
schedule;
|
|
58108
|
+
};
|
|
58109
|
+
__decorateClass([
|
|
58110
|
+
Expose879()
|
|
58111
|
+
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58112
|
+
__decorateClass([
|
|
58113
|
+
Expose879()
|
|
58114
|
+
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|
|
58115
|
+
__decorateClass([
|
|
58116
|
+
Expose879()
|
|
58117
|
+
], AutoInventoryStatusDto.prototype, "inSchedule", 2);
|
|
58118
|
+
__decorateClass([
|
|
58119
|
+
Expose879()
|
|
58120
|
+
], AutoInventoryStatusDto.prototype, "schedule", 2);
|
|
58121
|
+
|
|
58122
|
+
// src/v2/entities/Delegation.ts
|
|
58123
|
+
import { Expose as Expose881 } from "class-transformer";
|
|
58124
|
+
import { IsDefined as IsDefined360, IsNotEmpty as IsNotEmpty489, IsString as IsString726, IsUUID as IsUUID42 } from "class-validator";
|
|
58042
58125
|
|
|
58043
58126
|
// src/v2/entities/Base.ts
|
|
58044
|
-
import { Expose as
|
|
58045
|
-
import { IsBoolean as IsBoolean89, IsDefined as
|
|
58127
|
+
import { Expose as Expose880 } from "class-transformer";
|
|
58128
|
+
import { IsBoolean as IsBoolean89, IsDefined as IsDefined359, IsUUID as IsUUID41 } from "class-validator";
|
|
58046
58129
|
var BaseEntity = class {
|
|
58047
58130
|
_id;
|
|
58048
58131
|
active;
|
|
58049
58132
|
};
|
|
58050
58133
|
__decorateClass([
|
|
58051
|
-
|
|
58134
|
+
IsDefined359({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
58052
58135
|
IsUUID41("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
58053
|
-
|
|
58136
|
+
Expose880()
|
|
58054
58137
|
], BaseEntity.prototype, "_id", 2);
|
|
58055
58138
|
__decorateClass([
|
|
58056
|
-
|
|
58139
|
+
IsDefined359({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58057
58140
|
IsBoolean89({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58058
|
-
|
|
58141
|
+
Expose880()
|
|
58059
58142
|
], BaseEntity.prototype, "active", 2);
|
|
58060
58143
|
|
|
58061
58144
|
// src/v2/entities/Delegation.ts
|
|
@@ -58065,26 +58148,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
58065
58148
|
name;
|
|
58066
58149
|
};
|
|
58067
58150
|
__decorateClass([
|
|
58068
|
-
|
|
58151
|
+
IsDefined360({ message: "El campo pais es obligatorio" }),
|
|
58069
58152
|
IsUUID42("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
58070
|
-
|
|
58153
|
+
Expose881()
|
|
58071
58154
|
], DelegationEntity.prototype, "countryId", 2);
|
|
58072
58155
|
__decorateClass([
|
|
58073
|
-
|
|
58074
|
-
|
|
58156
|
+
IsDefined360({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58157
|
+
IsString726({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58075
58158
|
IsNotEmpty489({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58076
|
-
|
|
58159
|
+
Expose881()
|
|
58077
58160
|
], DelegationEntity.prototype, "code", 2);
|
|
58078
58161
|
__decorateClass([
|
|
58079
|
-
|
|
58080
|
-
|
|
58162
|
+
IsDefined360({ message: "El campo nombre es obligatorio." }),
|
|
58163
|
+
IsString726({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58081
58164
|
IsNotEmpty489({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58082
|
-
|
|
58165
|
+
Expose881()
|
|
58083
58166
|
], DelegationEntity.prototype, "name", 2);
|
|
58084
58167
|
|
|
58085
58168
|
// src/v2/entities/User.ts
|
|
58086
|
-
import { IsArray as
|
|
58087
|
-
import { Expose as
|
|
58169
|
+
import { IsArray as IsArray284, IsBoolean as IsBoolean90, IsDefined as IsDefined361, IsEmail as IsEmail14, IsString as IsString727, IsUUID as IsUUID43, ValidateNested as ValidateNested461 } from "class-validator";
|
|
58170
|
+
import { Expose as Expose882, Transform as Transform141, Type as Type535 } from "class-transformer";
|
|
58088
58171
|
var UserEntity = class extends BaseEntity {
|
|
58089
58172
|
email;
|
|
58090
58173
|
password;
|
|
@@ -58099,126 +58182,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
58099
58182
|
resourceSystem;
|
|
58100
58183
|
};
|
|
58101
58184
|
__decorateClass([
|
|
58102
|
-
|
|
58185
|
+
IsDefined361({ message: "El correo es requerido" }),
|
|
58103
58186
|
IsEmail14({}, { message: "El correo es invalido" }),
|
|
58104
58187
|
Transform141(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
58105
|
-
|
|
58188
|
+
Expose882()
|
|
58106
58189
|
], UserEntity.prototype, "email", 2);
|
|
58107
58190
|
__decorateClass([
|
|
58108
58191
|
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58109
|
-
|
|
58110
|
-
|
|
58111
|
-
|
|
58192
|
+
IsDefined361({ message: "La contrase\xF1a es requerida" }),
|
|
58193
|
+
IsString727({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
58194
|
+
Expose882()
|
|
58112
58195
|
], UserEntity.prototype, "password", 2);
|
|
58113
58196
|
__decorateClass([
|
|
58114
58197
|
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58115
|
-
|
|
58116
|
-
|
|
58117
|
-
|
|
58198
|
+
IsDefined361({ message: "El apellido paterno es requerido" }),
|
|
58199
|
+
IsString727({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
58200
|
+
Expose882()
|
|
58118
58201
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
58119
58202
|
__decorateClass([
|
|
58120
58203
|
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58121
|
-
|
|
58122
|
-
|
|
58123
|
-
|
|
58204
|
+
IsDefined361({ message: "El apellido materno es requerido" }),
|
|
58205
|
+
IsString727({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
58206
|
+
Expose882()
|
|
58124
58207
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
58125
58208
|
__decorateClass([
|
|
58126
58209
|
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58127
|
-
|
|
58128
|
-
|
|
58129
|
-
|
|
58210
|
+
IsDefined361({ message: "El nombre es requerido" }),
|
|
58211
|
+
IsString727({ message: "El nombre debe ser una cadena de texto" }),
|
|
58212
|
+
Expose882()
|
|
58130
58213
|
], UserEntity.prototype, "firstNames", 2);
|
|
58131
58214
|
__decorateClass([
|
|
58132
58215
|
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58133
|
-
|
|
58134
|
-
|
|
58135
|
-
|
|
58216
|
+
IsDefined361({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
58217
|
+
IsString727({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
58218
|
+
Expose882()
|
|
58136
58219
|
], UserEntity.prototype, "identification", 2);
|
|
58137
58220
|
__decorateClass([
|
|
58138
|
-
|
|
58139
|
-
|
|
58140
|
-
|
|
58141
|
-
|
|
58142
|
-
|
|
58221
|
+
IsDefined361({ message: "El campo empresas es requerido" }),
|
|
58222
|
+
IsArray284({ message: "El campo empresas debe ser un array" }),
|
|
58223
|
+
Type535(() => CompanyDto),
|
|
58224
|
+
ValidateNested461({ each: true }),
|
|
58225
|
+
Expose882()
|
|
58143
58226
|
], UserEntity.prototype, "companies", 2);
|
|
58144
58227
|
__decorateClass([
|
|
58145
|
-
|
|
58146
|
-
|
|
58228
|
+
IsDefined361({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58229
|
+
IsArray284({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58147
58230
|
IsUUID43("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
58148
|
-
|
|
58231
|
+
Expose882()
|
|
58149
58232
|
], UserEntity.prototype, "delegationIds", 2);
|
|
58150
58233
|
__decorateClass([
|
|
58151
|
-
|
|
58234
|
+
IsDefined361({ message: 'La propiedad "root" es obligatoria.' }),
|
|
58152
58235
|
IsBoolean90({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
58153
|
-
|
|
58236
|
+
Expose882()
|
|
58154
58237
|
], UserEntity.prototype, "root", 2);
|
|
58155
58238
|
__decorateClass([
|
|
58156
|
-
|
|
58157
|
-
|
|
58239
|
+
IsDefined361({ message: "El campo Perfiles es obligatorio" }),
|
|
58240
|
+
IsArray284({ message: "El campo Perfiles debe ser un array" }),
|
|
58158
58241
|
IsUUID43("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
58159
|
-
|
|
58242
|
+
Expose882()
|
|
58160
58243
|
], UserEntity.prototype, "profileIds", 2);
|
|
58161
58244
|
__decorateClass([
|
|
58162
|
-
|
|
58163
|
-
|
|
58164
|
-
|
|
58165
|
-
|
|
58166
|
-
|
|
58245
|
+
IsDefined361({ message: "Resurso sistema es obligatoria" }),
|
|
58246
|
+
Type535(() => ResourceSystemDto),
|
|
58247
|
+
ValidateNested461({ each: true }),
|
|
58248
|
+
IsArray284({ message: "Recurso sistema debe ser un array" }),
|
|
58249
|
+
Expose882()
|
|
58167
58250
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
58168
58251
|
|
|
58169
58252
|
// src/v2/entities/Profile.ts
|
|
58170
|
-
import { Expose as
|
|
58171
|
-
import { IsArray as
|
|
58253
|
+
import { Expose as Expose883, Transform as Transform142 } from "class-transformer";
|
|
58254
|
+
import { IsArray as IsArray285, IsDefined as IsDefined362, IsString as IsString728, Length as Length355, MinLength as MinLength65 } from "class-validator";
|
|
58172
58255
|
var ProfileEntity = class extends BaseEntity {
|
|
58173
58256
|
name;
|
|
58174
58257
|
description;
|
|
58175
58258
|
systemOptions;
|
|
58176
58259
|
};
|
|
58177
58260
|
__decorateClass([
|
|
58178
|
-
|
|
58261
|
+
IsDefined362({ message: "El campo nombre es requerido" }),
|
|
58179
58262
|
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58180
|
-
|
|
58263
|
+
IsString728({ message: "debe ser una cadena de texto" }),
|
|
58181
58264
|
Length355(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
58182
|
-
|
|
58265
|
+
Expose883()
|
|
58183
58266
|
], ProfileEntity.prototype, "name", 2);
|
|
58184
58267
|
__decorateClass([
|
|
58185
|
-
|
|
58268
|
+
IsDefined362({ message: "El campo descripci\xF3n es requerido" }),
|
|
58186
58269
|
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58187
|
-
|
|
58270
|
+
IsString728({ message: "debe ser una cadena de texto" }),
|
|
58188
58271
|
Length355(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
58189
|
-
|
|
58272
|
+
Expose883()
|
|
58190
58273
|
], ProfileEntity.prototype, "description", 2);
|
|
58191
58274
|
__decorateClass([
|
|
58192
|
-
|
|
58193
|
-
|
|
58194
|
-
|
|
58275
|
+
IsDefined362({ message: "El campo opciones de sistema es requerido" }),
|
|
58276
|
+
IsArray285({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
58277
|
+
IsString728({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
58195
58278
|
MinLength65(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
58196
|
-
|
|
58279
|
+
Expose883()
|
|
58197
58280
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
58198
58281
|
|
|
58199
58282
|
// src/v2/entities/Country.ts
|
|
58200
|
-
import { Expose as
|
|
58201
|
-
import { IsDefined as
|
|
58283
|
+
import { Expose as Expose884 } from "class-transformer";
|
|
58284
|
+
import { IsDefined as IsDefined363, IsNotEmpty as IsNotEmpty490, IsString as IsString729 } from "class-validator";
|
|
58202
58285
|
var CountryEntity = class extends BaseEntity {
|
|
58203
58286
|
code;
|
|
58204
58287
|
name;
|
|
58205
58288
|
};
|
|
58206
58289
|
__decorateClass([
|
|
58207
|
-
|
|
58208
|
-
|
|
58290
|
+
IsDefined363({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58291
|
+
IsString729({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58209
58292
|
IsNotEmpty490({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58210
|
-
|
|
58293
|
+
Expose884()
|
|
58211
58294
|
], CountryEntity.prototype, "code", 2);
|
|
58212
58295
|
__decorateClass([
|
|
58213
|
-
|
|
58214
|
-
|
|
58296
|
+
IsDefined363({ message: "El campo nombre es obligatorio." }),
|
|
58297
|
+
IsString729({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58215
58298
|
IsNotEmpty490({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58216
|
-
|
|
58299
|
+
Expose884()
|
|
58217
58300
|
], CountryEntity.prototype, "name", 2);
|
|
58218
58301
|
|
|
58219
58302
|
// src/v2/entities/Company.ts
|
|
58220
|
-
import { Expose as
|
|
58221
|
-
import { IsArray as
|
|
58303
|
+
import { Expose as Expose885 } from "class-transformer";
|
|
58304
|
+
import { IsArray as IsArray286, IsBoolean as IsBoolean91, IsDefined as IsDefined364, IsEmail as IsEmail15, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty491, IsString as IsString730, IsUUID as IsUUID44 } from "class-validator";
|
|
58222
58305
|
var CompanyEntity = class extends BaseEntity {
|
|
58223
58306
|
companyType;
|
|
58224
58307
|
identification;
|
|
@@ -58232,87 +58315,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
58232
58315
|
countryId;
|
|
58233
58316
|
};
|
|
58234
58317
|
__decorateClass([
|
|
58235
|
-
|
|
58318
|
+
IsDefined364({ message: "El tipo de empresa es requerido" }),
|
|
58236
58319
|
IsEnum68(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
58237
|
-
|
|
58320
|
+
Expose885()
|
|
58238
58321
|
], CompanyEntity.prototype, "companyType", 2);
|
|
58239
58322
|
__decorateClass([
|
|
58240
|
-
|
|
58241
|
-
|
|
58323
|
+
IsDefined364({ message: "La identificaci\xF3n es requerida" }),
|
|
58324
|
+
IsString730({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
58242
58325
|
IsNotEmpty491({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
58243
|
-
|
|
58326
|
+
Expose885()
|
|
58244
58327
|
], CompanyEntity.prototype, "identification", 2);
|
|
58245
58328
|
__decorateClass([
|
|
58246
|
-
|
|
58247
|
-
|
|
58329
|
+
IsDefined364({ message: "El c\xF3digo es requerido" }),
|
|
58330
|
+
IsString730({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
58248
58331
|
IsNotEmpty491({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
58249
|
-
|
|
58332
|
+
Expose885()
|
|
58250
58333
|
], CompanyEntity.prototype, "code", 2);
|
|
58251
58334
|
__decorateClass([
|
|
58252
|
-
|
|
58253
|
-
|
|
58335
|
+
IsDefined364({ message: "El nombre legal es requerido" }),
|
|
58336
|
+
IsString730({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
58254
58337
|
IsNotEmpty491({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
58255
|
-
|
|
58338
|
+
Expose885()
|
|
58256
58339
|
], CompanyEntity.prototype, "legalName", 2);
|
|
58257
58340
|
__decorateClass([
|
|
58258
|
-
|
|
58259
|
-
|
|
58341
|
+
IsDefined364({ message: "El nombre comercial es requerido" }),
|
|
58342
|
+
IsString730({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
58260
58343
|
IsNotEmpty491({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
58261
|
-
|
|
58344
|
+
Expose885()
|
|
58262
58345
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
58263
58346
|
__decorateClass([
|
|
58264
|
-
|
|
58347
|
+
IsDefined364({ message: "La propiedad es propia es requerida" }),
|
|
58265
58348
|
IsBoolean91({ message: "La propiedad es propia debe ser un booleano" }),
|
|
58266
|
-
|
|
58349
|
+
Expose885()
|
|
58267
58350
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
58268
58351
|
__decorateClass([
|
|
58269
|
-
|
|
58270
|
-
|
|
58352
|
+
IsDefined364({ message: "La direcci\xF3n es requerida" }),
|
|
58353
|
+
IsString730({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
58271
58354
|
IsNotEmpty491({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
58272
|
-
|
|
58355
|
+
Expose885()
|
|
58273
58356
|
], CompanyEntity.prototype, "address", 2);
|
|
58274
58357
|
__decorateClass([
|
|
58275
|
-
|
|
58276
|
-
|
|
58358
|
+
IsDefined364({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
58359
|
+
IsArray286({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
58277
58360
|
IsEmail15({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
58278
|
-
|
|
58361
|
+
Expose885()
|
|
58279
58362
|
], CompanyEntity.prototype, "emails", 2);
|
|
58280
58363
|
__decorateClass([
|
|
58281
|
-
|
|
58282
|
-
|
|
58283
|
-
|
|
58364
|
+
IsDefined364({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
58365
|
+
IsArray286({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
58366
|
+
IsString730({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
58284
58367
|
IsNotEmpty491({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
58285
|
-
|
|
58368
|
+
Expose885()
|
|
58286
58369
|
], CompanyEntity.prototype, "phones", 2);
|
|
58287
58370
|
__decorateClass([
|
|
58288
|
-
|
|
58371
|
+
IsDefined364({ message: "El campo pa\xEDs es requerido" }),
|
|
58289
58372
|
IsUUID44("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
58290
|
-
|
|
58373
|
+
Expose885()
|
|
58291
58374
|
], CompanyEntity.prototype, "countryId", 2);
|
|
58292
58375
|
|
|
58293
58376
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
58294
|
-
import { Expose as
|
|
58295
|
-
import { IsNumber as
|
|
58377
|
+
import { Expose as Expose887, Type as Type536 } from "class-transformer";
|
|
58378
|
+
import { IsNumber as IsNumber553, IsString as IsString732, ValidateNested as ValidateNested462, IsArray as IsArray287 } from "class-validator";
|
|
58296
58379
|
|
|
58297
58380
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
58298
|
-
import { Expose as
|
|
58299
|
-
import { IsString as
|
|
58381
|
+
import { Expose as Expose886 } from "class-transformer";
|
|
58382
|
+
import { IsString as IsString731 } from "class-validator";
|
|
58300
58383
|
var ThemeCountryManualDTO2 = class {
|
|
58301
58384
|
Codigo = "";
|
|
58302
58385
|
Delegacion = "";
|
|
58303
58386
|
Ruta = "";
|
|
58304
58387
|
};
|
|
58305
58388
|
__decorateClass([
|
|
58306
|
-
|
|
58307
|
-
|
|
58389
|
+
IsString731(),
|
|
58390
|
+
Expose886()
|
|
58308
58391
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
58309
58392
|
__decorateClass([
|
|
58310
|
-
|
|
58311
|
-
|
|
58393
|
+
IsString731(),
|
|
58394
|
+
Expose886()
|
|
58312
58395
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
58313
58396
|
__decorateClass([
|
|
58314
|
-
|
|
58315
|
-
|
|
58397
|
+
IsString731(),
|
|
58398
|
+
Expose886()
|
|
58316
58399
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
58317
58400
|
|
|
58318
58401
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -58327,46 +58410,46 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
58327
58410
|
Pais = new CodigoNombreDTO4();
|
|
58328
58411
|
};
|
|
58329
58412
|
__decorateClass([
|
|
58330
|
-
|
|
58331
|
-
|
|
58413
|
+
IsNumber553(),
|
|
58414
|
+
Expose887()
|
|
58332
58415
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
58333
58416
|
__decorateClass([
|
|
58334
|
-
|
|
58335
|
-
|
|
58417
|
+
IsString732(),
|
|
58418
|
+
Expose887()
|
|
58336
58419
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
58337
58420
|
__decorateClass([
|
|
58338
|
-
|
|
58339
|
-
|
|
58421
|
+
IsString732(),
|
|
58422
|
+
Expose887()
|
|
58340
58423
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
58341
58424
|
__decorateClass([
|
|
58342
|
-
|
|
58343
|
-
|
|
58425
|
+
IsString732(),
|
|
58426
|
+
Expose887()
|
|
58344
58427
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
58345
58428
|
__decorateClass([
|
|
58346
|
-
|
|
58347
|
-
|
|
58348
|
-
|
|
58429
|
+
ValidateNested462(),
|
|
58430
|
+
Type536(() => ImgLogoNavBarDTO2),
|
|
58431
|
+
Expose887()
|
|
58349
58432
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
58350
58433
|
__decorateClass([
|
|
58351
|
-
|
|
58352
|
-
|
|
58353
|
-
|
|
58354
|
-
|
|
58434
|
+
IsArray287(),
|
|
58435
|
+
Type536(() => ThemeCountryManualDTO2),
|
|
58436
|
+
ValidateNested462({ each: true }),
|
|
58437
|
+
Expose887()
|
|
58355
58438
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
58356
58439
|
__decorateClass([
|
|
58357
|
-
|
|
58358
|
-
|
|
58359
|
-
|
|
58440
|
+
ValidateNested462(),
|
|
58441
|
+
Type536(() => EstadoDTO2),
|
|
58442
|
+
Expose887()
|
|
58360
58443
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
58361
58444
|
__decorateClass([
|
|
58362
|
-
|
|
58363
|
-
|
|
58364
|
-
|
|
58445
|
+
ValidateNested462(),
|
|
58446
|
+
Type536(() => CodigoNombreDTO4),
|
|
58447
|
+
Expose887()
|
|
58365
58448
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
58366
58449
|
|
|
58367
58450
|
// src/v2/entities/ThemeConfigUser.ts
|
|
58368
|
-
import { Expose as
|
|
58369
|
-
import { IsNumber as
|
|
58451
|
+
import { Expose as Expose888, Type as Type537 } from "class-transformer";
|
|
58452
|
+
import { IsNumber as IsNumber554, IsString as IsString733, ValidateNested as ValidateNested463, IsArray as IsArray288, IsOptional as IsOptional101, IsDefined as IsDefined365, IsBoolean as IsBoolean92 } from "class-validator";
|
|
58370
58453
|
var ThemeConfigUserEntity = class {
|
|
58371
58454
|
_id;
|
|
58372
58455
|
active = true;
|
|
@@ -58379,41 +58462,41 @@ var ThemeConfigUserEntity = class {
|
|
|
58379
58462
|
};
|
|
58380
58463
|
__decorateClass([
|
|
58381
58464
|
IsOptional101(),
|
|
58382
|
-
|
|
58465
|
+
Expose888()
|
|
58383
58466
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
58384
58467
|
__decorateClass([
|
|
58385
|
-
|
|
58468
|
+
IsDefined365({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58386
58469
|
IsBoolean92({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58387
|
-
|
|
58470
|
+
Expose888()
|
|
58388
58471
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
58389
58472
|
__decorateClass([
|
|
58390
|
-
|
|
58391
|
-
|
|
58473
|
+
IsNumber554(),
|
|
58474
|
+
Expose888()
|
|
58392
58475
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
58393
58476
|
__decorateClass([
|
|
58394
|
-
|
|
58395
|
-
|
|
58477
|
+
IsString733(),
|
|
58478
|
+
Expose888()
|
|
58396
58479
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
58397
58480
|
__decorateClass([
|
|
58398
|
-
|
|
58399
|
-
|
|
58481
|
+
IsString733(),
|
|
58482
|
+
Expose888()
|
|
58400
58483
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
58401
58484
|
__decorateClass([
|
|
58402
58485
|
IsOptional101(),
|
|
58403
|
-
|
|
58404
|
-
|
|
58486
|
+
IsString733(),
|
|
58487
|
+
Expose888()
|
|
58405
58488
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
58406
58489
|
__decorateClass([
|
|
58407
|
-
|
|
58408
|
-
|
|
58409
|
-
|
|
58490
|
+
ValidateNested463(),
|
|
58491
|
+
Type537(() => EstadoDTO2),
|
|
58492
|
+
Expose888()
|
|
58410
58493
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
58411
58494
|
__decorateClass([
|
|
58412
58495
|
IsOptional101(),
|
|
58413
|
-
|
|
58414
|
-
|
|
58415
|
-
|
|
58416
|
-
|
|
58496
|
+
IsArray288(),
|
|
58497
|
+
ValidateNested463({ each: true }),
|
|
58498
|
+
Type537(() => FavoritoDTO2),
|
|
58499
|
+
Expose888()
|
|
58417
58500
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
58418
58501
|
|
|
58419
58502
|
// src/v2/utils/validateCustom.ts
|
|
@@ -58555,6 +58638,7 @@ export {
|
|
|
58555
58638
|
AttendanceStatus,
|
|
58556
58639
|
AuthUserDto,
|
|
58557
58640
|
AutoInventarioENTITY,
|
|
58641
|
+
AutoInventoryStatusDto,
|
|
58558
58642
|
BAREMO_SUBCONTRATA_TYPES,
|
|
58559
58643
|
BankVendorDto,
|
|
58560
58644
|
BantelENTITY,
|
|
@@ -59200,6 +59284,8 @@ export {
|
|
|
59200
59284
|
ReplanteoGomRequestBodyDTO,
|
|
59201
59285
|
ReplanteoGuardarRequestBodyDTO,
|
|
59202
59286
|
ReplanteoReservasDTO,
|
|
59287
|
+
ReportAutoInventoryDto,
|
|
59288
|
+
ReportAutoInventoryLineDto,
|
|
59203
59289
|
RepresentanteLegalDTO,
|
|
59204
59290
|
RequeridoEnum,
|
|
59205
59291
|
RequerimientoDto,
|