cloud-ide-lms-model 1.0.193 → 1.0.194
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.
|
@@ -68,6 +68,21 @@ export interface IGeneralMasterCreateUpdatePayload {
|
|
|
68
68
|
sygms_configuration: Record<string, any>;
|
|
69
69
|
sygms_entity_id_syen?: string;
|
|
70
70
|
}
|
|
71
|
+
export declare class MGeneralMasterDeletePayload {
|
|
72
|
+
sygms_id: string;
|
|
73
|
+
constructor(init: MGeneralMasterDeletePayload);
|
|
74
|
+
Validate?(): Partial<Record<keyof MGeneralMasterDeletePayload, string>>;
|
|
75
|
+
}
|
|
76
|
+
export declare class MGeneralMasterGetByIdPayload {
|
|
77
|
+
sygms_id: string;
|
|
78
|
+
constructor(init: MGeneralMasterGetByIdPayload);
|
|
79
|
+
Validate?(): Partial<Record<keyof MGeneralMasterGetByIdPayload, string>>;
|
|
80
|
+
}
|
|
81
|
+
export declare class MGeneralMasterToggleStatusPayload {
|
|
82
|
+
sygms_id: string;
|
|
83
|
+
constructor(init: MGeneralMasterToggleStatusPayload);
|
|
84
|
+
Validate?(): Partial<Record<keyof MGeneralMasterToggleStatusPayload, string>>;
|
|
85
|
+
}
|
|
71
86
|
export interface IGeneralMasterListRequest {
|
|
72
87
|
pageIndex: number;
|
|
73
88
|
pageSize: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MGeneralMasterSelect = exports.MGeneralMasterTypeToggleStatusPayload = exports.MGeneralMasterTypeGetByIdPayload = exports.MGeneralMaster = exports.MGeneralMasterTypeDeletePayload = exports.MGeneralMasterType = void 0;
|
|
3
|
+
exports.MGeneralMasterSelect = exports.MGeneralMasterTypeToggleStatusPayload = exports.MGeneralMasterTypeGetByIdPayload = exports.MGeneralMaster = exports.MGeneralMasterToggleStatusPayload = exports.MGeneralMasterGetByIdPayload = exports.MGeneralMasterDeletePayload = exports.MGeneralMasterTypeDeletePayload = exports.MGeneralMasterType = void 0;
|
|
4
4
|
// Model class for General Master Type operations
|
|
5
5
|
class MGeneralMasterType {
|
|
6
6
|
constructor(init) {
|
|
@@ -35,6 +35,48 @@ class MGeneralMasterTypeDeletePayload {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
exports.MGeneralMasterTypeDeletePayload = MGeneralMasterTypeDeletePayload;
|
|
38
|
+
class MGeneralMasterDeletePayload {
|
|
39
|
+
constructor(init) {
|
|
40
|
+
this.sygms_id = "";
|
|
41
|
+
Object.assign(this, init);
|
|
42
|
+
}
|
|
43
|
+
Validate() {
|
|
44
|
+
let errorLogger = {};
|
|
45
|
+
if (!this.sygms_id) {
|
|
46
|
+
errorLogger.sygms_id = "General master id is required";
|
|
47
|
+
}
|
|
48
|
+
return errorLogger;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MGeneralMasterDeletePayload = MGeneralMasterDeletePayload;
|
|
52
|
+
class MGeneralMasterGetByIdPayload {
|
|
53
|
+
constructor(init) {
|
|
54
|
+
this.sygms_id = "";
|
|
55
|
+
Object.assign(this, init);
|
|
56
|
+
}
|
|
57
|
+
Validate() {
|
|
58
|
+
let errorLogger = {};
|
|
59
|
+
if (!this.sygms_id) {
|
|
60
|
+
errorLogger.sygms_id = "General master id is required";
|
|
61
|
+
}
|
|
62
|
+
return errorLogger;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.MGeneralMasterGetByIdPayload = MGeneralMasterGetByIdPayload;
|
|
66
|
+
class MGeneralMasterToggleStatusPayload {
|
|
67
|
+
constructor(init) {
|
|
68
|
+
this.sygms_id = "";
|
|
69
|
+
Object.assign(this, init);
|
|
70
|
+
}
|
|
71
|
+
Validate() {
|
|
72
|
+
let errorLogger = {};
|
|
73
|
+
if (!this.sygms_id) {
|
|
74
|
+
errorLogger.sygms_id = "General master id is required";
|
|
75
|
+
}
|
|
76
|
+
return errorLogger;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.MGeneralMasterToggleStatusPayload = MGeneralMasterToggleStatusPayload;
|
|
38
80
|
// Model class for General Master operations
|
|
39
81
|
class MGeneralMaster {
|
|
40
82
|
constructor(init) {
|