iptdevs-design-system 3.1.928 → 3.1.930
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.
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +1 -1
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +6 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/attendance/attendance.interface.d.ts +20 -5
- package/lib/core/services/attendance-service/attendance.service.d.ts +2 -1
- package/lib/core/services/user-service/user-service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -976,6 +976,11 @@ class UserService extends IPTGeneralService {
|
|
|
976
976
|
this.generateRequestParams(params);
|
|
977
977
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
978
978
|
}
|
|
979
|
+
updateUserAndParentByCode(params) {
|
|
980
|
+
let serviceUrl = this.SERVICE_URL + 'update/user/by/code/and/parent';
|
|
981
|
+
this.generateRequestParams(params);
|
|
982
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
983
|
+
}
|
|
979
984
|
}
|
|
980
985
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
981
986
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -7122,6 +7127,11 @@ class AttendanceService extends IPTGeneralService {
|
|
|
7122
7127
|
this.generateRequestParams(param);
|
|
7123
7128
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
7124
7129
|
}
|
|
7130
|
+
updateOrCreateAttendances(params) {
|
|
7131
|
+
const serviceUrl = `${this.SERVICE_URL}update-or-create-attendances`;
|
|
7132
|
+
this.generateRequestParams(params);
|
|
7133
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
7134
|
+
}
|
|
7125
7135
|
}
|
|
7126
7136
|
AttendanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AttendanceService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7127
7137
|
AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AttendanceService, providedIn: 'root' });
|