iptdevs-design-system 3.1.4 → 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' });