iptdevs-design-system 3.2.44 → 3.2.46

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.
@@ -1002,6 +1002,10 @@ class UserService extends IPTGeneralService {
1002
1002
  let serviceUrl = this.SERVICE_URL + 'search/student/by/code/' + codeUser;
1003
1003
  return this.http.get(serviceUrl);
1004
1004
  }
1005
+ searchStudentByIdcard(id_card) {
1006
+ let serviceUrl = this.SERVICE_URL + 'search/student/by/idcard/' + id_card;
1007
+ return this.http.get(serviceUrl);
1008
+ }
1005
1009
  }
1006
1010
  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 });
1007
1011
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
@@ -4322,6 +4326,21 @@ class CommercialService extends IPTGeneralService {
4322
4326
  this.generateRequestParams(code);
4323
4327
  return this.http.get(serviceUrl);
4324
4328
  }
4329
+ createCondition(request) {
4330
+ const serviceUrl = this.SERVICE_URL + 'commission-conditions';
4331
+ this.generateRequestParams(request);
4332
+ return this.http.post(serviceUrl, this.httpOptions);
4333
+ }
4334
+ updateCondition(request, code) {
4335
+ const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
4336
+ this.generateRequestParams(request);
4337
+ return this.http.put(serviceUrl, this.httpOptions);
4338
+ }
4339
+ deleteCondition(request, code) {
4340
+ const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
4341
+ this.generateRequestParams(request);
4342
+ return this.http.delete(serviceUrl, this.httpOptions);
4343
+ }
4325
4344
  }
4326
4345
  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 });
4327
4346
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });