cloud-ide-lms-model 1.0.191 → 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.
@@ -96,6 +96,16 @@ export declare class MGeneralMaster {
96
96
  constructor(init: Partial<MGeneralMaster>);
97
97
  Validate?(): Partial<Record<keyof MGeneralMaster, string>>;
98
98
  }
99
+ export declare class MGeneralMasterTypeGetByIdPayload {
100
+ sygmt_id: string;
101
+ constructor(init: MGeneralMasterTypeGetByIdPayload);
102
+ Validate?(): Partial<Record<keyof MGeneralMasterTypeGetByIdPayload, string>>;
103
+ }
104
+ export declare class MGeneralMasterTypeToggleStatusPayload {
105
+ sygmt_id: string;
106
+ constructor(init: MGeneralMasterTypeToggleStatusPayload);
107
+ Validate?(): Partial<Record<keyof MGeneralMasterTypeToggleStatusPayload, string>>;
108
+ }
99
109
  type IGeneralMasterSelectErrorLogger = {
100
110
  [key in keyof MGeneralMasterSelect]: string;
101
111
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MGeneralMasterSelect = 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) {
@@ -58,6 +58,34 @@ class MGeneralMaster {
58
58
  }
59
59
  }
60
60
  exports.MGeneralMaster = MGeneralMaster;
61
+ class MGeneralMasterTypeGetByIdPayload {
62
+ constructor(init) {
63
+ this.sygmt_id = "";
64
+ Object.assign(this, init);
65
+ }
66
+ Validate() {
67
+ let errorLogger = {};
68
+ if (!this.sygmt_id) {
69
+ errorLogger.sygmt_id = "General master type id is required";
70
+ }
71
+ return errorLogger;
72
+ }
73
+ }
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;
61
89
  /* INTERFACE END */
62
90
  /* MODEL START */
63
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.191",
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",