sigo-entities 1.2.370 → 1.2.372

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 CHANGED
@@ -759,21 +759,6 @@ declare class PermisosAppDTO {
759
759
  Nombre: string;
760
760
  }
761
761
 
762
- declare class PayloadTokenDto {
763
- user: string;
764
- names: string;
765
- email: string;
766
- lastNameP: string;
767
- lastNameM: string;
768
- identification: string;
769
- superUser: boolean;
770
- country: CodigoNombreDTO;
771
- delegation: CodigoNombreDTO;
772
- }
773
- declare class ResponseSignInDto {
774
- user: PayloadTokenDto;
775
- }
776
-
777
762
  declare enum SistemaRecurso {
778
763
  TOA_MOVISTAR = "TOA_MOVISTAR",
779
764
  TOA_CLARO = "TOA_CLARO",
@@ -9413,6 +9398,22 @@ declare class LoginDto {
9413
9398
  password: string;
9414
9399
  }
9415
9400
 
9401
+ declare class PayloadTokenDto {
9402
+ user: string;
9403
+ names: string;
9404
+ email: string;
9405
+ lastNameP: string;
9406
+ lastNameM: string;
9407
+ identification: string;
9408
+ superUser: boolean;
9409
+ country: CodeNameMinLengthDto;
9410
+ delegation: CodeNameMinLengthDto;
9411
+ }
9412
+
9413
+ declare class ResponseSignInDto {
9414
+ user: PayloadTokenDto;
9415
+ }
9416
+
9416
9417
  declare class BaseEntity {
9417
9418
  _id: string;
9418
9419
  active: boolean;
@@ -9432,6 +9433,8 @@ declare class UserEntity extends BaseEntity {
9432
9433
  firstNames: string;
9433
9434
  identification: string;
9434
9435
  company: CodeNameDto;
9436
+ country: CodeNameDto;
9437
+ delegation: CodeNameDto;
9435
9438
  }
9436
9439
 
9437
9440
  declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;
package/dist/index.d.ts CHANGED
@@ -759,21 +759,6 @@ declare class PermisosAppDTO {
759
759
  Nombre: string;
760
760
  }
761
761
 
762
- declare class PayloadTokenDto {
763
- user: string;
764
- names: string;
765
- email: string;
766
- lastNameP: string;
767
- lastNameM: string;
768
- identification: string;
769
- superUser: boolean;
770
- country: CodigoNombreDTO;
771
- delegation: CodigoNombreDTO;
772
- }
773
- declare class ResponseSignInDto {
774
- user: PayloadTokenDto;
775
- }
776
-
777
762
  declare enum SistemaRecurso {
778
763
  TOA_MOVISTAR = "TOA_MOVISTAR",
779
764
  TOA_CLARO = "TOA_CLARO",
@@ -9413,6 +9398,22 @@ declare class LoginDto {
9413
9398
  password: string;
9414
9399
  }
9415
9400
 
9401
+ declare class PayloadTokenDto {
9402
+ user: string;
9403
+ names: string;
9404
+ email: string;
9405
+ lastNameP: string;
9406
+ lastNameM: string;
9407
+ identification: string;
9408
+ superUser: boolean;
9409
+ country: CodeNameMinLengthDto;
9410
+ delegation: CodeNameMinLengthDto;
9411
+ }
9412
+
9413
+ declare class ResponseSignInDto {
9414
+ user: PayloadTokenDto;
9415
+ }
9416
+
9416
9417
  declare class BaseEntity {
9417
9418
  _id: string;
9418
9419
  active: boolean;
@@ -9432,6 +9433,8 @@ declare class UserEntity extends BaseEntity {
9432
9433
  firstNames: string;
9433
9434
  identification: string;
9434
9435
  company: CodeNameDto;
9436
+ country: CodeNameDto;
9437
+ delegation: CodeNameDto;
9435
9438
  }
9436
9439
 
9437
9440
  declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;