cloud-ide-lms-model 1.1.9 → 1.1.11

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.
@@ -17,6 +17,7 @@ type AuthUserMstCreateErrorLogger = {
17
17
  };
18
18
  declare class AuthUserMstListPayload extends MTableQueries {
19
19
  syenm_entity_id_syen?: string;
20
+ syutm_user_type?: string;
20
21
  constructor(init: AuthUserMstListPayload);
21
22
  Validate?(): Partial<AuthUserMstListErrorLogger>;
22
23
  }
@@ -16,6 +16,10 @@ class AuthUserMstListPayload extends common_types_1.MTableQueries {
16
16
  }
17
17
  Validate() {
18
18
  let errorLogger = {};
19
+ // Validate user type if provided
20
+ if (this.syutm_user_type && !['STUDENT', 'EMPLOYEE', 'TEACHER', 'PARENT', 'GUARDIAN', 'ADMIN', 'STAFF', 'OTHER'].includes(this.syutm_user_type.toUpperCase())) {
21
+ errorLogger.syutm_user_type = 'Invalid user type. Must be one of: STUDENT, EMPLOYEE, TEACHER, PARENT, GUARDIAN, ADMIN, STAFF, OTHER';
22
+ }
19
23
  return errorLogger;
20
24
  }
21
25
  }
@@ -63,6 +63,7 @@ declare class MWorkflowCanApprovePayload implements MRequestMiddelware {
63
63
  declare class MWorkflowHistoryPayload implements MRequestMiddelware {
64
64
  workflowId?: string;
65
65
  wfrg_id?: string;
66
+ requestTable?: string;
66
67
  entityId?: string;
67
68
  requestId?: string;
68
69
  maskApprovers?: boolean;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.1.9",
8
+ "version": "1.1.11",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",