automation-lib 5.3.37 → 5.3.39
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 +22 -18
- package/dist/index.d.ts +22 -18
- package/dist/index.js +7 -0
- package/dist/index.mjs +7 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -388,10 +388,16 @@ declare const TIME_RANGE_LIMITS_DASHBOARD: {
|
|
|
388
388
|
readonly Yearly: 10950;
|
|
389
389
|
};
|
|
390
390
|
|
|
391
|
+
declare const CONST_DEFAULT: {
|
|
392
|
+
NA: string;
|
|
393
|
+
NULL: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare const index$k_CONST_DEFAULT: typeof CONST_DEFAULT;
|
|
391
397
|
declare const index$k_CONST_ROLES: typeof CONST_ROLES;
|
|
392
398
|
declare const index$k_TIME_RANGE_LIMITS_DASHBOARD: typeof TIME_RANGE_LIMITS_DASHBOARD;
|
|
393
399
|
declare namespace index$k {
|
|
394
|
-
export { index$k_CONST_ROLES as CONST_ROLES, index$k_TIME_RANGE_LIMITS_DASHBOARD as TIME_RANGE_LIMITS_DASHBOARD };
|
|
400
|
+
export { index$k_CONST_DEFAULT as CONST_DEFAULT, index$k_CONST_ROLES as CONST_ROLES, index$k_TIME_RANGE_LIMITS_DASHBOARD as TIME_RANGE_LIMITS_DASHBOARD };
|
|
395
401
|
}
|
|
396
402
|
|
|
397
403
|
declare namespace index$j {
|
|
@@ -4889,14 +4895,12 @@ declare namespace index$1 {
|
|
|
4889
4895
|
}
|
|
4890
4896
|
|
|
4891
4897
|
interface IFindBaseDto extends IBaseModel {
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
user?: IUser;
|
|
4899
|
-
userName?: string;
|
|
4898
|
+
departmentCreator?: IDepartment;
|
|
4899
|
+
departmentCreatorName?: string;
|
|
4900
|
+
leaderCreator?: IUser;
|
|
4901
|
+
leaderCreatorName?: string;
|
|
4902
|
+
teamCreator?: ITeam;
|
|
4903
|
+
teamCreatorName?: string;
|
|
4900
4904
|
createdByName?: string;
|
|
4901
4905
|
updatedByName?: string;
|
|
4902
4906
|
}
|
|
@@ -4923,10 +4927,9 @@ interface IBaseELSDto extends IBaseModel {
|
|
|
4923
4927
|
};
|
|
4924
4928
|
}
|
|
4925
4929
|
interface IFilterBaseDto {
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
user: string[];
|
|
4930
|
+
departmentCreator: string[];
|
|
4931
|
+
leaderCreator: string[];
|
|
4932
|
+
teamCreator: string[];
|
|
4930
4933
|
createdBy: string[];
|
|
4931
4934
|
updatedBy: string[];
|
|
4932
4935
|
createdAt: [Date, Date];
|
|
@@ -9690,16 +9693,17 @@ interface FindOverviewDeviceLog {
|
|
|
9690
9693
|
};
|
|
9691
9694
|
};
|
|
9692
9695
|
}
|
|
9696
|
+
/** Toàn bộ đều truyền giá trị, không cần truyền ID*/
|
|
9693
9697
|
interface FilterDeviceLogDto extends IFilterBaseDto {
|
|
9694
9698
|
type: ETypeDeviceLog[];
|
|
9695
9699
|
taskID: ETypeTaskID[];
|
|
9696
|
-
|
|
9697
|
-
|
|
9700
|
+
statusStart: EStatusDeviceLog[];
|
|
9701
|
+
statusEnd: EStatusDeviceLog[];
|
|
9698
9702
|
taskType: string[];
|
|
9699
|
-
|
|
9703
|
+
typeSocial: Array<ETypeSocial | keyof typeof CONST_DEFAULT.NA>;
|
|
9700
9704
|
deviceName: string[];
|
|
9701
|
-
deviceOS: ETypeDeviceOS[];
|
|
9702
9705
|
deviceModel: string[];
|
|
9706
|
+
deviceOS: ETypeDeviceOS[];
|
|
9703
9707
|
deviceKey: string[];
|
|
9704
9708
|
pcName: string[];
|
|
9705
9709
|
}
|
|
@@ -10306,7 +10310,7 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
10306
10310
|
user_team?: string;
|
|
10307
10311
|
user_roles?: string[];
|
|
10308
10312
|
}
|
|
10309
|
-
interface FindUserDto extends IFindBaseDto {
|
|
10313
|
+
interface FindUserDto extends IUser, IFindBaseDto {
|
|
10310
10314
|
isLeader: boolean;
|
|
10311
10315
|
departmentOfUser: string[];
|
|
10312
10316
|
teamsOfUser: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -388,10 +388,16 @@ declare const TIME_RANGE_LIMITS_DASHBOARD: {
|
|
|
388
388
|
readonly Yearly: 10950;
|
|
389
389
|
};
|
|
390
390
|
|
|
391
|
+
declare const CONST_DEFAULT: {
|
|
392
|
+
NA: string;
|
|
393
|
+
NULL: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare const index$k_CONST_DEFAULT: typeof CONST_DEFAULT;
|
|
391
397
|
declare const index$k_CONST_ROLES: typeof CONST_ROLES;
|
|
392
398
|
declare const index$k_TIME_RANGE_LIMITS_DASHBOARD: typeof TIME_RANGE_LIMITS_DASHBOARD;
|
|
393
399
|
declare namespace index$k {
|
|
394
|
-
export { index$k_CONST_ROLES as CONST_ROLES, index$k_TIME_RANGE_LIMITS_DASHBOARD as TIME_RANGE_LIMITS_DASHBOARD };
|
|
400
|
+
export { index$k_CONST_DEFAULT as CONST_DEFAULT, index$k_CONST_ROLES as CONST_ROLES, index$k_TIME_RANGE_LIMITS_DASHBOARD as TIME_RANGE_LIMITS_DASHBOARD };
|
|
395
401
|
}
|
|
396
402
|
|
|
397
403
|
declare namespace index$j {
|
|
@@ -4889,14 +4895,12 @@ declare namespace index$1 {
|
|
|
4889
4895
|
}
|
|
4890
4896
|
|
|
4891
4897
|
interface IFindBaseDto extends IBaseModel {
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
user?: IUser;
|
|
4899
|
-
userName?: string;
|
|
4898
|
+
departmentCreator?: IDepartment;
|
|
4899
|
+
departmentCreatorName?: string;
|
|
4900
|
+
leaderCreator?: IUser;
|
|
4901
|
+
leaderCreatorName?: string;
|
|
4902
|
+
teamCreator?: ITeam;
|
|
4903
|
+
teamCreatorName?: string;
|
|
4900
4904
|
createdByName?: string;
|
|
4901
4905
|
updatedByName?: string;
|
|
4902
4906
|
}
|
|
@@ -4923,10 +4927,9 @@ interface IBaseELSDto extends IBaseModel {
|
|
|
4923
4927
|
};
|
|
4924
4928
|
}
|
|
4925
4929
|
interface IFilterBaseDto {
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
user: string[];
|
|
4930
|
+
departmentCreator: string[];
|
|
4931
|
+
leaderCreator: string[];
|
|
4932
|
+
teamCreator: string[];
|
|
4930
4933
|
createdBy: string[];
|
|
4931
4934
|
updatedBy: string[];
|
|
4932
4935
|
createdAt: [Date, Date];
|
|
@@ -9690,16 +9693,17 @@ interface FindOverviewDeviceLog {
|
|
|
9690
9693
|
};
|
|
9691
9694
|
};
|
|
9692
9695
|
}
|
|
9696
|
+
/** Toàn bộ đều truyền giá trị, không cần truyền ID*/
|
|
9693
9697
|
interface FilterDeviceLogDto extends IFilterBaseDto {
|
|
9694
9698
|
type: ETypeDeviceLog[];
|
|
9695
9699
|
taskID: ETypeTaskID[];
|
|
9696
|
-
|
|
9697
|
-
|
|
9700
|
+
statusStart: EStatusDeviceLog[];
|
|
9701
|
+
statusEnd: EStatusDeviceLog[];
|
|
9698
9702
|
taskType: string[];
|
|
9699
|
-
|
|
9703
|
+
typeSocial: Array<ETypeSocial | keyof typeof CONST_DEFAULT.NA>;
|
|
9700
9704
|
deviceName: string[];
|
|
9701
|
-
deviceOS: ETypeDeviceOS[];
|
|
9702
9705
|
deviceModel: string[];
|
|
9706
|
+
deviceOS: ETypeDeviceOS[];
|
|
9703
9707
|
deviceKey: string[];
|
|
9704
9708
|
pcName: string[];
|
|
9705
9709
|
}
|
|
@@ -10306,7 +10310,7 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
10306
10310
|
user_team?: string;
|
|
10307
10311
|
user_roles?: string[];
|
|
10308
10312
|
}
|
|
10309
|
-
interface FindUserDto extends IFindBaseDto {
|
|
10313
|
+
interface FindUserDto extends IUser, IFindBaseDto {
|
|
10310
10314
|
isLeader: boolean;
|
|
10311
10315
|
departmentOfUser: string[];
|
|
10312
10316
|
teamsOfUser: string[];
|
package/dist/index.js
CHANGED
|
@@ -452,6 +452,7 @@ var SERVICE_THREADS = {};
|
|
|
452
452
|
// src/constants/values/index.ts
|
|
453
453
|
var values_exports = {};
|
|
454
454
|
__export(values_exports, {
|
|
455
|
+
CONST_DEFAULT: () => CONST_DEFAULT,
|
|
455
456
|
CONST_ROLES: () => CONST_ROLES,
|
|
456
457
|
TIME_RANGE_LIMITS_DASHBOARD: () => TIME_RANGE_LIMITS_DASHBOARD
|
|
457
458
|
});
|
|
@@ -572,6 +573,12 @@ var TIME_RANGE_LIMITS_DASHBOARD = {
|
|
|
572
573
|
// 30 years
|
|
573
574
|
};
|
|
574
575
|
|
|
576
|
+
// src/constants/values/default.constant.ts
|
|
577
|
+
var CONST_DEFAULT = {
|
|
578
|
+
NA: "N/A",
|
|
579
|
+
NULL: "NULL"
|
|
580
|
+
};
|
|
581
|
+
|
|
575
582
|
// src/enums/index.ts
|
|
576
583
|
var enums_exports = {};
|
|
577
584
|
__export(enums_exports, {
|
package/dist/index.mjs
CHANGED
|
@@ -303,6 +303,7 @@ var SERVICE_THREADS = {};
|
|
|
303
303
|
// src/constants/values/index.ts
|
|
304
304
|
var values_exports = {};
|
|
305
305
|
__export(values_exports, {
|
|
306
|
+
CONST_DEFAULT: () => CONST_DEFAULT,
|
|
306
307
|
CONST_ROLES: () => CONST_ROLES,
|
|
307
308
|
TIME_RANGE_LIMITS_DASHBOARD: () => TIME_RANGE_LIMITS_DASHBOARD
|
|
308
309
|
});
|
|
@@ -423,6 +424,12 @@ var TIME_RANGE_LIMITS_DASHBOARD = {
|
|
|
423
424
|
// 30 years
|
|
424
425
|
};
|
|
425
426
|
|
|
427
|
+
// src/constants/values/default.constant.ts
|
|
428
|
+
var CONST_DEFAULT = {
|
|
429
|
+
NA: "N/A",
|
|
430
|
+
NULL: "NULL"
|
|
431
|
+
};
|
|
432
|
+
|
|
426
433
|
// src/enums/index.ts
|
|
427
434
|
var enums_exports = {};
|
|
428
435
|
__export(enums_exports, {
|