iptdevs-design-system 2.7.19 → 2.7.21

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.
@@ -800,6 +800,11 @@ class UserService extends IPTGeneralService {
800
800
  this.generateRequestParams(userToken);
801
801
  return this.http.post(serviceUrl, this.httpOptions);
802
802
  }
803
+ getAllMarketing(userToken) {
804
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/all/user/marketing';
805
+ this.generateRequestParams(userToken);
806
+ return this.http.post(serviceUrl, this.httpOptions);
807
+ }
803
808
  getStudenbyCode(parans) {
804
809
  let serviceUrl = this.SERVICE_URL + 'get/obtain/student/by/code';
805
810
  this.generateRequestParams(parans);
@@ -1303,6 +1308,14 @@ class ParameterService extends IPTGeneralService {
1303
1308
  let serviceUrl = this.SERVICE_URL + 'get/campus/by/code/' + codeCampu;
1304
1309
  return this.http.get(serviceUrl);
1305
1310
  }
1311
+ getGenders() {
1312
+ let serviceUrl = this.SERVICE_URL + 'get/genders';
1313
+ return this.http.get(serviceUrl);
1314
+ }
1315
+ getGenderByCode(code) {
1316
+ let serviceUrl = this.SERVICE_URL + 'get/gender/code/' + code;
1317
+ return this.http.get(serviceUrl);
1318
+ }
1306
1319
  }
1307
1320
  ParameterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ParameterService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1308
1321
  ParameterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ParameterService, providedIn: 'root' });