oxpi-nglib 1.0.25 → 1.0.26

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.
@@ -147,6 +147,7 @@ class CommonWebService {
147
147
  this.FORNECEDOR_BASE_URL = '';
148
148
  this.CLIENTE_BASE_URL = '';
149
149
  this.OPERADOR_BASE_URL = '';
150
+ this.SUITE_BASE_URL = '';
150
151
  }
151
152
  setToken(token) {
152
153
  this.token = token;
@@ -168,6 +169,7 @@ class CommonWebService {
168
169
  this.FORNECEDOR_BASE_URL = this.FINANCAS_URL + 'Fornecedor/';
169
170
  this.CLIENTE_BASE_URL = this.FINANCAS_URL + 'Cliente/';
170
171
  this.OPERADOR_BASE_URL = this.ROOT_URL + "Operador/";
172
+ this.SUITE_BASE_URL = this.ROOT_URL + "SuiteBase/";
171
173
  }
172
174
  getFuncionarios() {
173
175
  const url = this.FUNCIONARIO_BASE_URL;
@@ -387,6 +389,10 @@ class CommonWebService {
387
389
  const url = this.OPERADOR_BASE_URL + id;
388
390
  return this.http.delete(url, this.getHttpOptions()).pipe(map(data => data));
389
391
  }
392
+ getSuites() {
393
+ const url = this.SUITE_BASE_URL;
394
+ return this.http.get(url, this.getHttpOptions()).pipe(map(data => data));
395
+ }
390
396
  getHttpOptions(parameters) {
391
397
  return {
392
398
  headers: new HttpHeaders({