cloud-ide-lms-model 1.0.270 → 1.0.271

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.
@@ -4,6 +4,7 @@ import { CoreUserAttributes } from "../../schema/core/core_user_attributes";
4
4
  import { CoreUserContactAddresses, CoreUserContactAddressesBase } from "../../schema/core/core_user_contact_addresses";
5
5
  import { CoreUserDocuments, CoreUserDocumentsBase } from "../../schema/core/core_user_documents";
6
6
  import { CoreUserFamilyDetails, CoreUserFamilyDetailsBase } from "../../schema/core/core_user_family_details";
7
+ import { CoreUserRoleExceptions } from "../../schema/core/core_user_role_exceptions";
7
8
  import { controllerResponse } from "../../utilities";
8
9
  type AuthUserMstListErrorLogger = {
9
10
  [key in keyof AuthUserMstListPayload]: string;
@@ -26,9 +27,7 @@ declare class AuthUserMstCreatePayload {
26
27
  core_user_family_details: CoreUserFamilyDetails[];
27
28
  core_user_attributes: CoreUserAttributes[];
28
29
  core_entity_mapping?: any[];
29
- menu_rights?: {
30
- [mappingIndex: string]: any[];
31
- };
30
+ core_user_role_exceptions?: CoreUserRoleExceptions[];
32
31
  constructor(init?: Partial<AuthUserMstCreatePayload>);
33
32
  Validate?(): Partial<AuthUserMstCreateErrorLogger>;
34
33
  }
@@ -27,7 +27,7 @@ class AuthUserMstCreatePayload {
27
27
  this.core_user_family_details = [];
28
28
  this.core_user_attributes = [];
29
29
  this.core_entity_mapping = [];
30
- this.menu_rights = {};
30
+ this.core_user_role_exceptions = [];
31
31
  if (init) {
32
32
  Object.assign(this, init);
33
33
  // Ensure arrays are properly initialized
@@ -36,7 +36,7 @@ class AuthUserMstCreatePayload {
36
36
  this.core_user_family_details = init.core_user_family_details || [];
37
37
  this.core_user_attributes = init.core_user_attributes || [];
38
38
  this.core_entity_mapping = init.core_entity_mapping || [];
39
- this.menu_rights = init.menu_rights || {};
39
+ this.core_user_role_exceptions = init.core_user_role_exceptions || [];
40
40
  // Initialize auth_user_mst if provided
41
41
  if (init.auth_user_mst) {
42
42
  this.auth_user_mst = Object.assign(Object.assign({}, new schema_1.AuthUserMst()), init.auth_user_mst);
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.0.270",
8
+ "version": "1.0.271",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",