@tagsamurai/gsts-api-services 2.0.1-alpha.38 → 2.0.1-alpha.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/package.json +1 -1
- package/src/types/iam.type.d.ts +10 -0
package/package.json
CHANGED
package/src/types/iam.type.d.ts
CHANGED
|
@@ -86,6 +86,15 @@ export interface GlobalUserOptions {
|
|
|
86
86
|
modifiedByOptions: MultiSelectOption[];
|
|
87
87
|
}
|
|
88
88
|
export type ModuleAccess = 'Global Settings' | 'Fixed Asset' | 'Supply Asset' | 'Admin Console';
|
|
89
|
+
export interface UserCustomField {
|
|
90
|
+
_id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
type: string;
|
|
93
|
+
dataType: string;
|
|
94
|
+
isRequired: boolean;
|
|
95
|
+
optionValue: string[];
|
|
96
|
+
value: string | number | string[] | Date;
|
|
97
|
+
}
|
|
89
98
|
export interface GlobalUserDetail {
|
|
90
99
|
_id: string;
|
|
91
100
|
isActive: boolean;
|
|
@@ -104,6 +113,7 @@ export interface GlobalUserDetail {
|
|
|
104
113
|
employeeId: string | null;
|
|
105
114
|
expiryDate: string | null;
|
|
106
115
|
access: (ModuleAccess | BaseString)[];
|
|
116
|
+
customFields: UserCustomField[];
|
|
107
117
|
}
|
|
108
118
|
export interface LoginModuleResponse extends LoginResponse {
|
|
109
119
|
isTotalControl: boolean;
|