@experts_hub/shared 1.0.37 → 1.0.38
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 +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.js +15 -9
- package/dist/index.mjs +15 -9
- package/dist/modules/user/subadmin/dto/create-subadmin.dto.d.ts +1 -0
- package/dist/modules/user/subadmin/dto/index.d.ts +1 -1
- package/dist/modules/user/subadmin/dto/update-subadmin-status.dto.d.ts +3 -0
- package/dist/modules/user/subadmin/dto/update-subadmin.dto.d.ts +1 -0
- package/dist/modules/user/subadmin/pattern/pattern.d.ts +1 -1
- package/dist/modules/user/subadmin/subadmin.interface.d.ts +5 -3
- package/package.json +1 -1
- package/dist/modules/user/subadmin/dto/toggle-subadmin-visibility.dto.d.ts +0 -3
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ declare const SUBADMIN_PATTERN: {
|
|
|
33
33
|
fetchSubAdminDropdown: string;
|
|
34
34
|
findSubAdminById: string;
|
|
35
35
|
createSubAdmin: string;
|
|
36
|
-
|
|
36
|
+
updateSubAdminAccountStatus: string;
|
|
37
37
|
updateSubAdmin: string;
|
|
38
38
|
deleteSubAdmin: string;
|
|
39
39
|
};
|
|
@@ -45,12 +45,13 @@ declare class CreateSubAdminDto {
|
|
|
45
45
|
lastName: string;
|
|
46
46
|
email: string;
|
|
47
47
|
mobile: string;
|
|
48
|
+
password: string;
|
|
48
49
|
accountType: string;
|
|
49
50
|
accountStatus: string;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
declare class
|
|
53
|
-
|
|
53
|
+
declare class UpdateSubAdminAccountStatusDto {
|
|
54
|
+
accountStatus: string;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
declare class UpdateSubAdminDto {
|
|
@@ -60,6 +61,7 @@ declare class UpdateSubAdminDto {
|
|
|
60
61
|
lastName: string;
|
|
61
62
|
email: string;
|
|
62
63
|
mobile: string;
|
|
64
|
+
password: string;
|
|
63
65
|
accountType: string;
|
|
64
66
|
accountStatus: string;
|
|
65
67
|
}
|
|
@@ -95,6 +97,7 @@ interface ICreateSubAdminPayload {
|
|
|
95
97
|
lastName: string;
|
|
96
98
|
email: string;
|
|
97
99
|
mobile: string;
|
|
100
|
+
password: string;
|
|
98
101
|
accountType: string;
|
|
99
102
|
accountStatus: string;
|
|
100
103
|
}
|
|
@@ -110,6 +113,7 @@ interface IUpdateSubAdminPayload {
|
|
|
110
113
|
lastName: string;
|
|
111
114
|
email: string;
|
|
112
115
|
mobile: string;
|
|
116
|
+
password: string;
|
|
113
117
|
accountType: string;
|
|
114
118
|
accountStatus: string;
|
|
115
119
|
}
|
|
@@ -118,10 +122,10 @@ interface IUpdateSubAdminResponse {
|
|
|
118
122
|
status: boolean;
|
|
119
123
|
message: string;
|
|
120
124
|
}
|
|
121
|
-
interface
|
|
122
|
-
|
|
125
|
+
interface IUpdateSubAdminAccountStatusPayload {
|
|
126
|
+
accountSatus: string;
|
|
123
127
|
}
|
|
124
|
-
interface
|
|
128
|
+
interface IUpdateSubAdminAccountStatusResponse {
|
|
125
129
|
statusCode: number;
|
|
126
130
|
status: boolean;
|
|
127
131
|
message: string;
|
|
@@ -214,4 +218,4 @@ declare class User extends BaseEntity {
|
|
|
214
218
|
resumeParserLogs: ResumeParserLog[];
|
|
215
219
|
}
|
|
216
220
|
|
|
217
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type
|
|
221
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, LoginDto, LogoutDto, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ declare const SUBADMIN_PATTERN: {
|
|
|
33
33
|
fetchSubAdminDropdown: string;
|
|
34
34
|
findSubAdminById: string;
|
|
35
35
|
createSubAdmin: string;
|
|
36
|
-
|
|
36
|
+
updateSubAdminAccountStatus: string;
|
|
37
37
|
updateSubAdmin: string;
|
|
38
38
|
deleteSubAdmin: string;
|
|
39
39
|
};
|
|
@@ -45,12 +45,13 @@ declare class CreateSubAdminDto {
|
|
|
45
45
|
lastName: string;
|
|
46
46
|
email: string;
|
|
47
47
|
mobile: string;
|
|
48
|
+
password: string;
|
|
48
49
|
accountType: string;
|
|
49
50
|
accountStatus: string;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
declare class
|
|
53
|
-
|
|
53
|
+
declare class UpdateSubAdminAccountStatusDto {
|
|
54
|
+
accountStatus: string;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
declare class UpdateSubAdminDto {
|
|
@@ -60,6 +61,7 @@ declare class UpdateSubAdminDto {
|
|
|
60
61
|
lastName: string;
|
|
61
62
|
email: string;
|
|
62
63
|
mobile: string;
|
|
64
|
+
password: string;
|
|
63
65
|
accountType: string;
|
|
64
66
|
accountStatus: string;
|
|
65
67
|
}
|
|
@@ -95,6 +97,7 @@ interface ICreateSubAdminPayload {
|
|
|
95
97
|
lastName: string;
|
|
96
98
|
email: string;
|
|
97
99
|
mobile: string;
|
|
100
|
+
password: string;
|
|
98
101
|
accountType: string;
|
|
99
102
|
accountStatus: string;
|
|
100
103
|
}
|
|
@@ -110,6 +113,7 @@ interface IUpdateSubAdminPayload {
|
|
|
110
113
|
lastName: string;
|
|
111
114
|
email: string;
|
|
112
115
|
mobile: string;
|
|
116
|
+
password: string;
|
|
113
117
|
accountType: string;
|
|
114
118
|
accountStatus: string;
|
|
115
119
|
}
|
|
@@ -118,10 +122,10 @@ interface IUpdateSubAdminResponse {
|
|
|
118
122
|
status: boolean;
|
|
119
123
|
message: string;
|
|
120
124
|
}
|
|
121
|
-
interface
|
|
122
|
-
|
|
125
|
+
interface IUpdateSubAdminAccountStatusPayload {
|
|
126
|
+
accountSatus: string;
|
|
123
127
|
}
|
|
124
|
-
interface
|
|
128
|
+
interface IUpdateSubAdminAccountStatusResponse {
|
|
125
129
|
statusCode: number;
|
|
126
130
|
status: boolean;
|
|
127
131
|
message: string;
|
|
@@ -214,4 +218,4 @@ declare class User extends BaseEntity {
|
|
|
214
218
|
resumeParserLogs: ResumeParserLog[];
|
|
215
219
|
}
|
|
216
220
|
|
|
217
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type
|
|
221
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CreateSubAdminDto, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, LoginDto, LogoutDto, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
RefreshToken: () => RefreshToken,
|
|
42
42
|
ResumeParserLog: () => ResumeParserLog,
|
|
43
43
|
SUBADMIN_PATTERN: () => SUBADMIN_PATTERN,
|
|
44
|
-
|
|
44
|
+
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
45
45
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
46
46
|
User: () => User,
|
|
47
47
|
UserRMQAdapter: () => UserRMQAdapter,
|
|
@@ -99,7 +99,7 @@ var SUBADMIN_PATTERN = {
|
|
|
99
99
|
fetchSubAdminDropdown: "fetch.subadmin.dropdown",
|
|
100
100
|
findSubAdminById: "fetch.subadmin.by.id",
|
|
101
101
|
createSubAdmin: "create.subadmin",
|
|
102
|
-
|
|
102
|
+
updateSubAdminAccountStatus: "update.subadmin.account.status",
|
|
103
103
|
updateSubAdmin: "update.subadmin",
|
|
104
104
|
deleteSubAdmin: "delete.subadmin"
|
|
105
105
|
};
|
|
@@ -127,19 +127,22 @@ __decorateClass([
|
|
|
127
127
|
(0, import_class_validator4.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
128
128
|
], CreateSubAdminDto.prototype, "mobile", 2);
|
|
129
129
|
__decorateClass([
|
|
130
|
-
(0, import_class_validator4.IsNotEmpty)({ message: "Please enter
|
|
130
|
+
(0, import_class_validator4.IsNotEmpty)({ message: "Please enter the password." })
|
|
131
|
+
], CreateSubAdminDto.prototype, "password", 2);
|
|
132
|
+
__decorateClass([
|
|
133
|
+
(0, import_class_validator4.IsNotEmpty)({ message: "Please enter account type." })
|
|
131
134
|
], CreateSubAdminDto.prototype, "accountType", 2);
|
|
132
135
|
__decorateClass([
|
|
133
136
|
(0, import_class_validator4.IsNotEmpty)({ message: "Please enter account status." })
|
|
134
137
|
], CreateSubAdminDto.prototype, "accountStatus", 2);
|
|
135
138
|
|
|
136
|
-
// src/modules/user/subadmin/dto/
|
|
139
|
+
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
137
140
|
var import_class_validator5 = require("class-validator");
|
|
138
|
-
var
|
|
141
|
+
var UpdateSubAdminAccountStatusDto = class {
|
|
139
142
|
};
|
|
140
143
|
__decorateClass([
|
|
141
|
-
(0, import_class_validator5.
|
|
142
|
-
],
|
|
144
|
+
(0, import_class_validator5.IsString)()
|
|
145
|
+
], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
|
|
143
146
|
|
|
144
147
|
// src/modules/user/subadmin/dto/update-subadmin.dto.ts
|
|
145
148
|
var import_class_validator6 = require("class-validator");
|
|
@@ -164,7 +167,10 @@ __decorateClass([
|
|
|
164
167
|
(0, import_class_validator6.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
165
168
|
], UpdateSubAdminDto.prototype, "mobile", 2);
|
|
166
169
|
__decorateClass([
|
|
167
|
-
(0, import_class_validator6.IsNotEmpty)({ message: "Please enter
|
|
170
|
+
(0, import_class_validator6.IsNotEmpty)({ message: "Please enter the password." })
|
|
171
|
+
], UpdateSubAdminDto.prototype, "password", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
(0, import_class_validator6.IsNotEmpty)({ message: "Please enter account type." })
|
|
168
174
|
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
169
175
|
__decorateClass([
|
|
170
176
|
(0, import_class_validator6.IsNotEmpty)({ message: "Please enter account status." })
|
|
@@ -526,7 +532,7 @@ User = __decorateClass([
|
|
|
526
532
|
RefreshToken,
|
|
527
533
|
ResumeParserLog,
|
|
528
534
|
SUBADMIN_PATTERN,
|
|
529
|
-
|
|
535
|
+
UpdateSubAdminAccountStatusDto,
|
|
530
536
|
UpdateSubAdminDto,
|
|
531
537
|
User,
|
|
532
538
|
UserRMQAdapter,
|
package/dist/index.mjs
CHANGED
|
@@ -65,7 +65,7 @@ var SUBADMIN_PATTERN = {
|
|
|
65
65
|
fetchSubAdminDropdown: "fetch.subadmin.dropdown",
|
|
66
66
|
findSubAdminById: "fetch.subadmin.by.id",
|
|
67
67
|
createSubAdmin: "create.subadmin",
|
|
68
|
-
|
|
68
|
+
updateSubAdminAccountStatus: "update.subadmin.account.status",
|
|
69
69
|
updateSubAdmin: "update.subadmin",
|
|
70
70
|
deleteSubAdmin: "delete.subadmin"
|
|
71
71
|
};
|
|
@@ -95,19 +95,22 @@ __decorateClass([
|
|
|
95
95
|
IsNotEmpty4({ message: "Please enter mobile number." })
|
|
96
96
|
], CreateSubAdminDto.prototype, "mobile", 2);
|
|
97
97
|
__decorateClass([
|
|
98
|
-
IsNotEmpty4({ message: "Please enter
|
|
98
|
+
IsNotEmpty4({ message: "Please enter the password." })
|
|
99
|
+
], CreateSubAdminDto.prototype, "password", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
IsNotEmpty4({ message: "Please enter account type." })
|
|
99
102
|
], CreateSubAdminDto.prototype, "accountType", 2);
|
|
100
103
|
__decorateClass([
|
|
101
104
|
IsNotEmpty4({ message: "Please enter account status." })
|
|
102
105
|
], CreateSubAdminDto.prototype, "accountStatus", 2);
|
|
103
106
|
|
|
104
|
-
// src/modules/user/subadmin/dto/
|
|
105
|
-
import {
|
|
106
|
-
var
|
|
107
|
+
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
108
|
+
import { IsString } from "class-validator";
|
|
109
|
+
var UpdateSubAdminAccountStatusDto = class {
|
|
107
110
|
};
|
|
108
111
|
__decorateClass([
|
|
109
|
-
|
|
110
|
-
],
|
|
112
|
+
IsString()
|
|
113
|
+
], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
|
|
111
114
|
|
|
112
115
|
// src/modules/user/subadmin/dto/update-subadmin.dto.ts
|
|
113
116
|
import { IsNotEmpty as IsNotEmpty5 } from "class-validator";
|
|
@@ -132,7 +135,10 @@ __decorateClass([
|
|
|
132
135
|
IsNotEmpty5({ message: "Please enter mobile number." })
|
|
133
136
|
], UpdateSubAdminDto.prototype, "mobile", 2);
|
|
134
137
|
__decorateClass([
|
|
135
|
-
IsNotEmpty5({ message: "Please enter
|
|
138
|
+
IsNotEmpty5({ message: "Please enter the password." })
|
|
139
|
+
], UpdateSubAdminDto.prototype, "password", 2);
|
|
140
|
+
__decorateClass([
|
|
141
|
+
IsNotEmpty5({ message: "Please enter account type." })
|
|
136
142
|
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
137
143
|
__decorateClass([
|
|
138
144
|
IsNotEmpty5({ message: "Please enter account status." })
|
|
@@ -515,7 +521,7 @@ export {
|
|
|
515
521
|
RefreshToken,
|
|
516
522
|
ResumeParserLog,
|
|
517
523
|
SUBADMIN_PATTERN,
|
|
518
|
-
|
|
524
|
+
UpdateSubAdminAccountStatusDto,
|
|
519
525
|
UpdateSubAdminDto,
|
|
520
526
|
User,
|
|
521
527
|
UserRMQAdapter,
|
|
@@ -29,6 +29,7 @@ export interface ICreateSubAdminPayload {
|
|
|
29
29
|
lastName: string;
|
|
30
30
|
email: string;
|
|
31
31
|
mobile: string;
|
|
32
|
+
password: string;
|
|
32
33
|
accountType: string;
|
|
33
34
|
accountStatus: string;
|
|
34
35
|
}
|
|
@@ -44,6 +45,7 @@ export interface IUpdateSubAdminPayload {
|
|
|
44
45
|
lastName: string;
|
|
45
46
|
email: string;
|
|
46
47
|
mobile: string;
|
|
48
|
+
password: string;
|
|
47
49
|
accountType: string;
|
|
48
50
|
accountStatus: string;
|
|
49
51
|
}
|
|
@@ -52,10 +54,10 @@ export interface IUpdateSubAdminResponse {
|
|
|
52
54
|
status: boolean;
|
|
53
55
|
message: string;
|
|
54
56
|
}
|
|
55
|
-
export interface
|
|
56
|
-
|
|
57
|
+
export interface IUpdateSubAdminAccountStatusPayload {
|
|
58
|
+
accountSatus: string;
|
|
57
59
|
}
|
|
58
|
-
export interface
|
|
60
|
+
export interface IUpdateSubAdminAccountStatusResponse {
|
|
59
61
|
statusCode: number;
|
|
60
62
|
status: boolean;
|
|
61
63
|
message: string;
|
package/package.json
CHANGED