iptdevs-design-system 3.2.57 → 3.2.59
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/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +35 -7
- package/fesm2015/iptdevs-design-system.mjs +31 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +34 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +17 -4
- package/lib/core/services/commercial-service/comercial.service.d.ts +9 -4
- package/package.json +1 -1
|
@@ -4212,8 +4212,8 @@ class CommercialService extends IPTGeneralService {
|
|
|
4212
4212
|
this.generateRequestParams(params);
|
|
4213
4213
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4214
4214
|
}
|
|
4215
|
-
getCodStudentDetailsByAdviser(request) {
|
|
4216
|
-
const serviceUrl = this.SERVICE_URL +
|
|
4215
|
+
getCodStudentDetailsByAdviser(request, adviserCode) {
|
|
4216
|
+
const serviceUrl = this.SERVICE_URL + `get/cod/student/details/by/adviser/${adviserCode}`;
|
|
4217
4217
|
const options = { ...this.httpOptions, params: request };
|
|
4218
4218
|
return this.http.get(serviceUrl, options);
|
|
4219
4219
|
}
|
|
@@ -4262,13 +4262,13 @@ class CommercialService extends IPTGeneralService {
|
|
|
4262
4262
|
this.generateRequestParams(request);
|
|
4263
4263
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4264
4264
|
}
|
|
4265
|
-
|
|
4266
|
-
const serviceUrl = this.SERVICE_URL + 'post/assign/
|
|
4265
|
+
assignCommissionModelToUser(params) {
|
|
4266
|
+
const serviceUrl = this.SERVICE_URL + 'post/assign/model/to/user';
|
|
4267
4267
|
this.generateRequestParams(params);
|
|
4268
4268
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4269
4269
|
}
|
|
4270
|
-
|
|
4271
|
-
const serviceUrl = this.SERVICE_URL +
|
|
4270
|
+
getActiveCommissionModelForUser(request, userCode) {
|
|
4271
|
+
const serviceUrl = this.SERVICE_URL + `get/active/model/for/user/${userCode}`;
|
|
4272
4272
|
this.generateRequestParams(request);
|
|
4273
4273
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4274
4274
|
}
|
|
@@ -4360,6 +4360,34 @@ class CommercialService extends IPTGeneralService {
|
|
|
4360
4360
|
this.generateRequestParams(idcard_student);
|
|
4361
4361
|
return this.http.get(serviceUrl);
|
|
4362
4362
|
}
|
|
4363
|
+
exportPosibleStudentAllFourModelsByDate(params) {
|
|
4364
|
+
let serviceUrl = this.SERVICE_URL + 'get/posible/students/all/four/models/by/date/for/export';
|
|
4365
|
+
this.generateRequestParams(params);
|
|
4366
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4367
|
+
}
|
|
4368
|
+
getAllGoalsForCommissionModels(request) {
|
|
4369
|
+
const serviceUrl = this.SERVICE_URL + 'get/helpers/goals';
|
|
4370
|
+
this.generateRequestParams(request);
|
|
4371
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
4372
|
+
}
|
|
4373
|
+
getTeamByManager(request, managerCode) {
|
|
4374
|
+
const serviceUrl = this.SERVICE_URL + `get/team/by/manager/${managerCode}`;
|
|
4375
|
+
this.generateRequestParams(request);
|
|
4376
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
4377
|
+
}
|
|
4378
|
+
assignSubordinateToManager(params) {
|
|
4379
|
+
const serviceUrl = this.SERVICE_URL + 'post/team/member';
|
|
4380
|
+
this.generateRequestParams(params);
|
|
4381
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4382
|
+
}
|
|
4383
|
+
removeSubordinateFromManager(params) {
|
|
4384
|
+
const serviceUrl = this.SERVICE_URL + 'delete/team/member';
|
|
4385
|
+
const options = {
|
|
4386
|
+
...this.httpOptions,
|
|
4387
|
+
body: { params }
|
|
4388
|
+
};
|
|
4389
|
+
return this.http.delete(serviceUrl, options);
|
|
4390
|
+
}
|
|
4363
4391
|
}
|
|
4364
4392
|
CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4365
4393
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|