cloud-ide-lms-model 1.1.81 → 1.1.82
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.
|
@@ -59,6 +59,7 @@ declare class MAttendanceReportPayload {
|
|
|
59
59
|
atnr_user_id_auth?: string;
|
|
60
60
|
threshold?: number;
|
|
61
61
|
constructor(init: MAttendanceReportPayload);
|
|
62
|
+
Validate?(): Partial<AttendanceErrorLogger<MAttendanceReportPayload>>;
|
|
62
63
|
}
|
|
63
64
|
declare class MAttendanceException extends MTableQueries {
|
|
64
65
|
atex_id?: string;
|
|
@@ -81,9 +82,11 @@ declare class MAttendanceProviderMaster extends MTableQueries {
|
|
|
81
82
|
}
|
|
82
83
|
declare class MAttendanceProviderInsertUpdatePayload extends AttendanceProviderMaster {
|
|
83
84
|
constructor(init: AttendanceProviderMaster);
|
|
85
|
+
Validate?(): Partial<AttendanceErrorLogger<MAttendanceProviderInsertUpdatePayload>>;
|
|
84
86
|
}
|
|
85
87
|
declare class MAttendanceSchoolIntegrationInsertUpdatePayload extends AttendanceSchoolIntegration {
|
|
86
88
|
constructor(init: AttendanceSchoolIntegration);
|
|
89
|
+
Validate?(): Partial<AttendanceErrorLogger<MAttendanceSchoolIntegrationInsertUpdatePayload>>;
|
|
87
90
|
}
|
|
88
91
|
declare class MAttendanceSchoolIntegrationGetByIdPayload {
|
|
89
92
|
atsi_id?: string;
|
|
@@ -80,6 +80,16 @@ class MAttendanceReportPayload {
|
|
|
80
80
|
constructor(init) {
|
|
81
81
|
Object.assign(this, init);
|
|
82
82
|
}
|
|
83
|
+
Validate() {
|
|
84
|
+
const errorLogger = {};
|
|
85
|
+
if (!this.atnr_entity_id_syen)
|
|
86
|
+
errorLogger.atnr_entity_id_syen = "Entity is required.";
|
|
87
|
+
if (!this.fromDate)
|
|
88
|
+
errorLogger.fromDate = "From date is required.";
|
|
89
|
+
if (!this.toDate)
|
|
90
|
+
errorLogger.toDate = "To date is required.";
|
|
91
|
+
return errorLogger;
|
|
92
|
+
}
|
|
83
93
|
}
|
|
84
94
|
exports.MAttendanceReportPayload = MAttendanceReportPayload;
|
|
85
95
|
class MAttendanceException extends common_1.MTableQueries {
|
|
@@ -113,6 +123,18 @@ class MAttendanceProviderInsertUpdatePayload extends schema_1.AttendanceProvider
|
|
|
113
123
|
super();
|
|
114
124
|
Object.assign(this, init);
|
|
115
125
|
}
|
|
126
|
+
Validate() {
|
|
127
|
+
const errorLogger = {};
|
|
128
|
+
if (!this.atprv_provider_code)
|
|
129
|
+
errorLogger.atprv_provider_code = "Provider code is required.";
|
|
130
|
+
if (!this.atprv_provider_name)
|
|
131
|
+
errorLogger.atprv_provider_name = "Provider name is required.";
|
|
132
|
+
if (!this.atprv_auth_type)
|
|
133
|
+
errorLogger.atprv_auth_type = "Auth type is required.";
|
|
134
|
+
if (!this.atprv_sync_mode)
|
|
135
|
+
errorLogger.atprv_sync_mode = "Sync mode is required.";
|
|
136
|
+
return errorLogger;
|
|
137
|
+
}
|
|
116
138
|
}
|
|
117
139
|
exports.MAttendanceProviderInsertUpdatePayload = MAttendanceProviderInsertUpdatePayload;
|
|
118
140
|
class MAttendanceSchoolIntegrationInsertUpdatePayload extends schema_1.AttendanceSchoolIntegration {
|
|
@@ -120,6 +142,20 @@ class MAttendanceSchoolIntegrationInsertUpdatePayload extends schema_1.Attendanc
|
|
|
120
142
|
super();
|
|
121
143
|
Object.assign(this, init);
|
|
122
144
|
}
|
|
145
|
+
Validate() {
|
|
146
|
+
const errorLogger = {};
|
|
147
|
+
if (!this.atsi_entity_id_syen)
|
|
148
|
+
errorLogger.atsi_entity_id_syen = "Entity is required.";
|
|
149
|
+
if (!this.atsi_provider_id_atprv)
|
|
150
|
+
errorLogger.atsi_provider_id_atprv = "Provider is required.";
|
|
151
|
+
if (!this.atsi_auth_type)
|
|
152
|
+
errorLogger.atsi_auth_type = "Auth type is required.";
|
|
153
|
+
if (!this.atsi_sync_mode)
|
|
154
|
+
errorLogger.atsi_sync_mode = "Sync mode is required.";
|
|
155
|
+
if (!this.atsi_status)
|
|
156
|
+
errorLogger.atsi_status = "Status is required.";
|
|
157
|
+
return errorLogger;
|
|
158
|
+
}
|
|
123
159
|
}
|
|
124
160
|
exports.MAttendanceSchoolIntegrationInsertUpdatePayload = MAttendanceSchoolIntegrationInsertUpdatePayload;
|
|
125
161
|
class MAttendanceSchoolIntegrationGetByIdPayload {
|