cloud-ide-lms-model 1.0.192 → 1.0.193

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.
@@ -101,6 +101,11 @@ export declare class MGeneralMasterTypeGetByIdPayload {
101
101
  constructor(init: MGeneralMasterTypeGetByIdPayload);
102
102
  Validate?(): Partial<Record<keyof MGeneralMasterTypeGetByIdPayload, string>>;
103
103
  }
104
+ export declare class MGeneralMasterTypeToggleStatusPayload {
105
+ sygmt_id: string;
106
+ constructor(init: MGeneralMasterTypeToggleStatusPayload);
107
+ Validate?(): Partial<Record<keyof MGeneralMasterTypeToggleStatusPayload, string>>;
108
+ }
104
109
  type IGeneralMasterSelectErrorLogger = {
105
110
  [key in keyof MGeneralMasterSelect]: string;
106
111
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MGeneralMasterSelect = exports.MGeneralMasterTypeGetByIdPayload = exports.MGeneralMaster = exports.MGeneralMasterTypeDeletePayload = exports.MGeneralMasterType = void 0;
3
+ exports.MGeneralMasterSelect = exports.MGeneralMasterTypeToggleStatusPayload = exports.MGeneralMasterTypeGetByIdPayload = exports.MGeneralMaster = exports.MGeneralMasterTypeDeletePayload = exports.MGeneralMasterType = void 0;
4
4
  // Model class for General Master Type operations
5
5
  class MGeneralMasterType {
6
6
  constructor(init) {
@@ -72,6 +72,20 @@ class MGeneralMasterTypeGetByIdPayload {
72
72
  }
73
73
  }
74
74
  exports.MGeneralMasterTypeGetByIdPayload = MGeneralMasterTypeGetByIdPayload;
75
+ class MGeneralMasterTypeToggleStatusPayload {
76
+ constructor(init) {
77
+ this.sygmt_id = "";
78
+ Object.assign(this, init);
79
+ }
80
+ Validate() {
81
+ let errorLogger = {};
82
+ if (!this.sygmt_id) {
83
+ errorLogger.sygmt_id = "General master type id is required";
84
+ }
85
+ return errorLogger;
86
+ }
87
+ }
88
+ exports.MGeneralMasterTypeToggleStatusPayload = MGeneralMasterTypeToggleStatusPayload;
75
89
  /* INTERFACE END */
76
90
  /* MODEL START */
77
91
  class MGeneralMasterSelect {
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.192",
8
+ "version": "1.0.193",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",