@seniorsistemas/yms-integration 1.27.0 → 1.27.2

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.
@@ -1,4 +1,4 @@
1
- import { IntegrationService } from './../../entities/integration/integration.service';
1
+ import { IntegrationService, ProcessType } from './../../entities/integration/integration.service';
2
2
  import { DocumentService } from '../../entities/document/document.service';
3
3
  import { EventEmitter, OnInit, TemplateRef } from "@angular/core";
4
4
  import { TranslateService } from "@ngx-translate/core";
@@ -25,7 +25,7 @@ export declare class DocumentGridComponent implements OnInit {
25
25
  loading: boolean;
26
26
  document: Document;
27
27
  edit: boolean;
28
- processType: string;
28
+ processType: ProcessType;
29
29
  private readonly ngUnsubscribe;
30
30
  table: Table;
31
31
  customTemplate: TemplateRef<any>;
@@ -41,6 +41,7 @@ export declare class DocumentGridComponent implements OnInit {
41
41
  getProp(obj: any, path: any): any;
42
42
  view(): void;
43
43
  save(): void;
44
+ private updateKeyByWms;
44
45
  onDelete(): void;
45
46
  private removeDocumentIfIdUndfined;
46
47
  listDocuments(): void;
@@ -3,8 +3,16 @@ import { Observable } from 'rxjs';
3
3
  export declare class IntegrationService {
4
4
  readonly httpClient: HttpClient;
5
5
  constructor(httpClient: HttpClient);
6
- getProcessTypeByScheduling(idSchedulingType: string): Observable<ProcessType>;
6
+ getProcessTypeByScheduling(idSchedulingType: string): Observable<GetProcessTypeBySchedulingOutput>;
7
7
  }
8
- export interface ProcessType {
9
- processType: string;
8
+ export interface GetProcessTypeBySchedulingOutput {
9
+ processType: ProcessType;
10
+ }
11
+ export declare enum ProcessType {
12
+ RECEBIMENTO_CONTRATO = "RECEBIMENTO_CONTRATO",
13
+ RECEBIMENTO_ORDEM_COMPRA = "RECEBIMENTO_ORDEM_COMPRA",
14
+ EXPEDICAO = "EXPEDICAO",
15
+ DEVOLUCAO = "DEVOLUCAO",
16
+ PROCESSO_AVULSO = "PROCESSO_AVULSO",
17
+ RECEBIMENTO_WMS = "RECEBIMENTO_WMS"
10
18
  }