sigo-entities 1.2.370 → 1.2.371
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16 -0
- package/dist/index.mjs +16 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9432,6 +9432,8 @@ declare class UserEntity extends BaseEntity {
|
|
|
9432
9432
|
firstNames: string;
|
|
9433
9433
|
identification: string;
|
|
9434
9434
|
company: CodeNameDto;
|
|
9435
|
+
country: CodeNameDto;
|
|
9436
|
+
delegation: CodeNameDto;
|
|
9435
9437
|
}
|
|
9436
9438
|
|
|
9437
9439
|
declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -9432,6 +9432,8 @@ declare class UserEntity extends BaseEntity {
|
|
|
9432
9432
|
firstNames: string;
|
|
9433
9433
|
identification: string;
|
|
9434
9434
|
company: CodeNameDto;
|
|
9435
|
+
country: CodeNameDto;
|
|
9436
|
+
delegation: CodeNameDto;
|
|
9435
9437
|
}
|
|
9436
9438
|
|
|
9437
9439
|
declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;
|
package/dist/index.js
CHANGED
|
@@ -49984,6 +49984,8 @@ var UserEntity = class extends BaseEntity {
|
|
|
49984
49984
|
firstNames;
|
|
49985
49985
|
identification;
|
|
49986
49986
|
company;
|
|
49987
|
+
country = new CodeNameDto();
|
|
49988
|
+
delegation = new CodeNameDto();
|
|
49987
49989
|
};
|
|
49988
49990
|
__decorateClass([
|
|
49989
49991
|
(0, import_class_validator760.IsDefined)({ message: "El correo es requerido" }),
|
|
@@ -50022,6 +50024,20 @@ __decorateClass([
|
|
|
50022
50024
|
(0, import_class_validator760.IsObject)(),
|
|
50023
50025
|
(0, import_class_transformer783.Expose)()
|
|
50024
50026
|
], UserEntity.prototype, "company", 2);
|
|
50027
|
+
__decorateClass([
|
|
50028
|
+
(0, import_class_validator760.IsDefined)({ message: "debe proporcionar el pa\xEDs" }),
|
|
50029
|
+
(0, import_class_validator760.ValidateNested)(),
|
|
50030
|
+
(0, import_class_transformer783.Type)(() => CodeNameDto),
|
|
50031
|
+
(0, import_class_validator760.IsObject)(),
|
|
50032
|
+
(0, import_class_transformer783.Expose)()
|
|
50033
|
+
], UserEntity.prototype, "country", 2);
|
|
50034
|
+
__decorateClass([
|
|
50035
|
+
(0, import_class_validator760.IsDefined)({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50036
|
+
(0, import_class_validator760.ValidateNested)(),
|
|
50037
|
+
(0, import_class_transformer783.Type)(() => CodeNameDto),
|
|
50038
|
+
(0, import_class_validator760.IsObject)(),
|
|
50039
|
+
(0, import_class_transformer783.Expose)()
|
|
50040
|
+
], UserEntity.prototype, "delegation", 2);
|
|
50025
50041
|
|
|
50026
50042
|
// src/v2/utils/validateCustom.ts
|
|
50027
50043
|
var import_class_transformer784 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -49511,6 +49511,8 @@ var UserEntity = class extends BaseEntity {
|
|
|
49511
49511
|
firstNames;
|
|
49512
49512
|
identification;
|
|
49513
49513
|
company;
|
|
49514
|
+
country = new CodeNameDto();
|
|
49515
|
+
delegation = new CodeNameDto();
|
|
49514
49516
|
};
|
|
49515
49517
|
__decorateClass([
|
|
49516
49518
|
IsDefined258({ message: "El correo es requerido" }),
|
|
@@ -49549,6 +49551,20 @@ __decorateClass([
|
|
|
49549
49551
|
IsObject15(),
|
|
49550
49552
|
Expose756()
|
|
49551
49553
|
], UserEntity.prototype, "company", 2);
|
|
49554
|
+
__decorateClass([
|
|
49555
|
+
IsDefined258({ message: "debe proporcionar el pa\xEDs" }),
|
|
49556
|
+
ValidateNested415(),
|
|
49557
|
+
Type475(() => CodeNameDto),
|
|
49558
|
+
IsObject15(),
|
|
49559
|
+
Expose756()
|
|
49560
|
+
], UserEntity.prototype, "country", 2);
|
|
49561
|
+
__decorateClass([
|
|
49562
|
+
IsDefined258({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
49563
|
+
ValidateNested415(),
|
|
49564
|
+
Type475(() => CodeNameDto),
|
|
49565
|
+
IsObject15(),
|
|
49566
|
+
Expose756()
|
|
49567
|
+
], UserEntity.prototype, "delegation", 2);
|
|
49552
49568
|
|
|
49553
49569
|
// src/v2/utils/validateCustom.ts
|
|
49554
49570
|
import { plainToInstance as plainToInstance4 } from "class-transformer";
|