@senior-gestao-pessoas/payroll-core 9.6.0 → 9.6.1-feature-hcmgdp-12319-c14f3ab7

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.
@@ -1289,6 +1289,9 @@
1289
1289
  EmployeeSummaryService.prototype.findEmployeeAutoComplete = function (path, terms) {
1290
1290
  return this.http.post("hcm/payroll/queries/" + path, { valueSearch: terms });
1291
1291
  };
1292
+ EmployeeSummaryService.prototype.getEmployeeDocuments = function (path, employeeId) {
1293
+ return this.http.post("hcm/payroll/queries/" + path, { employeeId: employeeId });
1294
+ };
1292
1295
  EmployeeSummaryService.prototype.blobServiceRequestAccess = function (path, body) {
1293
1296
  return this.http.post("hcm/payroll/actions/" + path, body);
1294
1297
  };
@@ -3017,6 +3020,12 @@
3017
3020
  })
3018
3021
  .subscribe(function (payload) { return _this.formaterResponce(payload.result); });
3019
3022
  }
3023
+ else if (this.isSituationDefinition) {
3024
+ var params = { searchText: query };
3025
+ return this.service
3026
+ .query('autocompleteSituationDefinitionQuery', params, exports.ServiceType.ORGANIZATION_REGISTER)
3027
+ .subscribe(function (payload) { return _this.formaterResponce(payload.result); });
3028
+ }
3020
3029
  else if (this.isWagetype) {
3021
3030
  var params = { searchText: query, companyId: this.companyId };
3022
3031
  return this.service
@@ -3248,6 +3257,9 @@
3248
3257
  __decorate([
3249
3258
  core.Input()
3250
3259
  ], InputRestAutoCompleteComponent.prototype, "isWagetype", void 0);
3260
+ __decorate([
3261
+ core.Input()
3262
+ ], InputRestAutoCompleteComponent.prototype, "isSituationDefinition", void 0);
3251
3263
  __decorate([
3252
3264
  core.Input()
3253
3265
  ], InputRestAutoCompleteComponent.prototype, "multiple", void 0);