@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/gsts-api-services",
3
- "version": "2.0.1-alpha.38",
3
+ "version": "2.0.1-alpha.39",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Global Settings Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -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;