@experts_hub/shared 1.0.35 → 1.0.37

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
@@ -68,7 +68,7 @@ interface IFetchSubAdminQuery {
68
68
  page_size?: number;
69
69
  page: number;
70
70
  searchText?: string;
71
- subadmin: string;
71
+ username: string;
72
72
  right: string;
73
73
  sortColumn?: string;
74
74
  sortBy?: string;
@@ -89,11 +89,14 @@ interface IFetchSubAdminByIdResponse {
89
89
  data: any;
90
90
  }
91
91
  interface ICreateSubAdminPayload {
92
+ uniqueId: string;
93
+ username: string;
92
94
  firstName: string;
93
95
  lastName: string;
94
96
  email: string;
95
97
  mobile: string;
96
- isActive: boolean;
98
+ accountType: string;
99
+ accountStatus: string;
97
100
  }
98
101
  interface ICreateSubAdminResponse {
99
102
  statusCode: number;
@@ -101,11 +104,14 @@ interface ICreateSubAdminResponse {
101
104
  message: string;
102
105
  }
103
106
  interface IUpdateSubAdminPayload {
107
+ uniqueId: string;
108
+ username: string;
104
109
  firstName: string;
105
110
  lastName: string;
106
111
  email: string;
107
112
  mobile: string;
108
- isActive: boolean;
113
+ accountType: string;
114
+ accountStatus: string;
109
115
  }
110
116
  interface IUpdateSubAdminResponse {
111
117
  statusCode: number;
package/dist/index.d.ts CHANGED
@@ -68,7 +68,7 @@ interface IFetchSubAdminQuery {
68
68
  page_size?: number;
69
69
  page: number;
70
70
  searchText?: string;
71
- subadmin: string;
71
+ username: string;
72
72
  right: string;
73
73
  sortColumn?: string;
74
74
  sortBy?: string;
@@ -89,11 +89,14 @@ interface IFetchSubAdminByIdResponse {
89
89
  data: any;
90
90
  }
91
91
  interface ICreateSubAdminPayload {
92
+ uniqueId: string;
93
+ username: string;
92
94
  firstName: string;
93
95
  lastName: string;
94
96
  email: string;
95
97
  mobile: string;
96
- isActive: boolean;
98
+ accountType: string;
99
+ accountStatus: string;
97
100
  }
98
101
  interface ICreateSubAdminResponse {
99
102
  statusCode: number;
@@ -101,11 +104,14 @@ interface ICreateSubAdminResponse {
101
104
  message: string;
102
105
  }
103
106
  interface IUpdateSubAdminPayload {
107
+ uniqueId: string;
108
+ username: string;
104
109
  firstName: string;
105
110
  lastName: string;
106
111
  email: string;
107
112
  mobile: string;
108
- isActive: boolean;
113
+ accountType: string;
114
+ accountStatus: string;
109
115
  }
110
116
  interface IUpdateSubAdminResponse {
111
117
  statusCode: number;
package/dist/index.js CHANGED
@@ -401,7 +401,7 @@ __decorateClass([
401
401
  (0, import_typeorm3.Column)({ name: "user_id", type: "integer", nullable: true })
402
402
  ], ResumeParserLog.prototype, "userId", 2);
403
403
  __decorateClass([
404
- (0, import_typeorm3.Column)({ name: "end_point", type: "string" })
404
+ (0, import_typeorm3.Column)({ name: "end_point", type: "varchar" })
405
405
  ], ResumeParserLog.prototype, "endpoint", 2);
406
406
  __decorateClass([
407
407
  (0, import_typeorm3.Column)({ name: "success", type: "boolean" })
package/dist/index.mjs CHANGED
@@ -391,7 +391,7 @@ __decorateClass([
391
391
  Column3({ name: "user_id", type: "integer", nullable: true })
392
392
  ], ResumeParserLog.prototype, "userId", 2);
393
393
  __decorateClass([
394
- Column3({ name: "end_point", type: "string" })
394
+ Column3({ name: "end_point", type: "varchar" })
395
395
  ], ResumeParserLog.prototype, "endpoint", 2);
396
396
  __decorateClass([
397
397
  Column3({ name: "success", type: "boolean" })
@@ -2,7 +2,7 @@ export interface IFetchSubAdminQuery {
2
2
  page_size?: number;
3
3
  page: number;
4
4
  searchText?: string;
5
- subadmin: string;
5
+ username: string;
6
6
  right: string;
7
7
  sortColumn?: string;
8
8
  sortBy?: string;
@@ -23,11 +23,14 @@ export interface IFetchSubAdminByIdResponse {
23
23
  data: any;
24
24
  }
25
25
  export interface ICreateSubAdminPayload {
26
+ uniqueId: string;
27
+ username: string;
26
28
  firstName: string;
27
29
  lastName: string;
28
30
  email: string;
29
31
  mobile: string;
30
- isActive: boolean;
32
+ accountType: string;
33
+ accountStatus: string;
31
34
  }
32
35
  export interface ICreateSubAdminResponse {
33
36
  statusCode: number;
@@ -35,11 +38,14 @@ export interface ICreateSubAdminResponse {
35
38
  message: string;
36
39
  }
37
40
  export interface IUpdateSubAdminPayload {
41
+ uniqueId: string;
42
+ username: string;
38
43
  firstName: string;
39
44
  lastName: string;
40
45
  email: string;
41
46
  mobile: string;
42
- isActive: boolean;
47
+ accountType: string;
48
+ accountStatus: string;
43
49
  }
44
50
  export interface IUpdateSubAdminResponse {
45
51
  statusCode: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",