iptdevs-design-system 3.1.3 → 3.1.5

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.
@@ -847,6 +847,11 @@ class UserService extends IPTGeneralService {
847
847
  this.generateRequestParams(userToken);
848
848
  return this.http.post(serviceUrl, this.httpOptions);
849
849
  }
850
+ getAllUserByRoleValidate(token) {
851
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/by/rol/all/user/validated';
852
+ this.generateRequestParams(token);
853
+ return this.http.post(serviceUrl, this.httpOptions);
854
+ }
850
855
  }
851
856
  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 });
852
857
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
@@ -1408,6 +1413,22 @@ class ParameterService extends IPTGeneralService {
1408
1413
  let serviceUrl = this.SERVICE_URL + 'get/all/cities';
1409
1414
  return this.http.get(serviceUrl);
1410
1415
  }
1416
+ getDataCityByCode(code) {
1417
+ let serviceUrl = this.SERVICE_URL + 'get/city/code/' + code;
1418
+ return this.http.get(serviceUrl);
1419
+ }
1420
+ getDataCityByCountry(code) {
1421
+ let serviceUrl = this.SERVICE_URL + 'get/city/country/' + code;
1422
+ return this.http.get(serviceUrl);
1423
+ }
1424
+ getDataCityByName(name) {
1425
+ let serviceUrl = this.SERVICE_URL + 'get/city/name/' + name;
1426
+ return this.http.get(serviceUrl);
1427
+ }
1428
+ getDataCityByState(name) {
1429
+ let serviceUrl = this.SERVICE_URL + 'get/cities/state/' + name;
1430
+ return this.http.get(serviceUrl);
1431
+ }
1411
1432
  }
1412
1433
  ParameterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ParameterService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1413
1434
  ParameterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ParameterService, providedIn: 'root' });
@@ -2561,6 +2582,11 @@ class CommercialService extends IPTGeneralService {
2561
2582
  this.generateRequestParams(params);
2562
2583
  return this.http.post(serviceUrl, this.httpOptions);
2563
2584
  }
2585
+ obtainCodByAdvisorAndCourse(params) {
2586
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/student/by/course/and/advisor';
2587
+ this.generateRequestParams(params);
2588
+ return this.http.post(serviceUrl, this.httpOptions);
2589
+ }
2564
2590
  }
2565
2591
  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 });
2566
2592
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });