cloud-ide-lms-model 1.0.190 → 1.0.192
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.
|
@@ -34,6 +34,11 @@ export declare class MGeneralMasterType {
|
|
|
34
34
|
constructor(init: Partial<MGeneralMasterType>);
|
|
35
35
|
Validate?(): Partial<Record<keyof MGeneralMasterType, string>>;
|
|
36
36
|
}
|
|
37
|
+
export declare class MGeneralMasterTypeDeletePayload {
|
|
38
|
+
sygmt_id: string;
|
|
39
|
+
constructor(init: MGeneralMasterTypeDeletePayload);
|
|
40
|
+
Validate?(): Partial<Record<keyof MGeneralMasterTypeDeletePayload, string>>;
|
|
41
|
+
}
|
|
37
42
|
export interface ICoreGeneralMaster {
|
|
38
43
|
_id: string;
|
|
39
44
|
sygms_code: string;
|
|
@@ -91,6 +96,11 @@ export declare class MGeneralMaster {
|
|
|
91
96
|
constructor(init: Partial<MGeneralMaster>);
|
|
92
97
|
Validate?(): Partial<Record<keyof MGeneralMaster, string>>;
|
|
93
98
|
}
|
|
99
|
+
export declare class MGeneralMasterTypeGetByIdPayload {
|
|
100
|
+
sygmt_id: string;
|
|
101
|
+
constructor(init: MGeneralMasterTypeGetByIdPayload);
|
|
102
|
+
Validate?(): Partial<Record<keyof MGeneralMasterTypeGetByIdPayload, string>>;
|
|
103
|
+
}
|
|
94
104
|
type IGeneralMasterSelectErrorLogger = {
|
|
95
105
|
[key in keyof MGeneralMasterSelect]: string;
|
|
96
106
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MGeneralMasterSelect = exports.MGeneralMaster = exports.MGeneralMasterType = void 0;
|
|
3
|
+
exports.MGeneralMasterSelect = 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) {
|
|
@@ -21,6 +21,20 @@ class MGeneralMasterType {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
exports.MGeneralMasterType = MGeneralMasterType;
|
|
24
|
+
class MGeneralMasterTypeDeletePayload {
|
|
25
|
+
constructor(init) {
|
|
26
|
+
this.sygmt_id = "";
|
|
27
|
+
Object.assign(this, init);
|
|
28
|
+
}
|
|
29
|
+
Validate() {
|
|
30
|
+
let errorLogger = {};
|
|
31
|
+
if (!this.sygmt_id) {
|
|
32
|
+
errorLogger.sygmt_id = "General master type id is required";
|
|
33
|
+
}
|
|
34
|
+
return errorLogger;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.MGeneralMasterTypeDeletePayload = MGeneralMasterTypeDeletePayload;
|
|
24
38
|
// Model class for General Master operations
|
|
25
39
|
class MGeneralMaster {
|
|
26
40
|
constructor(init) {
|
|
@@ -44,6 +58,20 @@ class MGeneralMaster {
|
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
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;
|
|
47
75
|
/* INTERFACE END */
|
|
48
76
|
/* MODEL START */
|
|
49
77
|
class MGeneralMasterSelect {
|