@orbe-agro/client-core 5.6.7 → 5.6.9

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.
Files changed (26) hide show
  1. package/dist/@types/base/configs/endpoints.config/Ticket/ticket.endpoint.config.d.ts +1 -0
  2. package/dist/@types/base/configs/endpoints.config/Ticket/ticket.endpoint.config.d.ts.map +1 -1
  3. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +4 -0
  4. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
  5. package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts +4 -0
  6. package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts.map +1 -1
  7. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
  8. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  9. package/dist/@types/base/services/modules/Ticket/TicketService.d.ts +1 -0
  10. package/dist/@types/base/services/modules/Ticket/TicketService.d.ts.map +1 -1
  11. package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts +1 -0
  12. package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts.map +1 -1
  13. package/dist/base/configs/endpoints.config/Ticket/ticket.endpoint.config.js +2 -1
  14. package/dist/base/configs/endpoints.config/Ticket/ticket.endpoint.config.js.map +1 -1
  15. package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js +2 -1
  16. package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js.map +1 -1
  17. package/dist/base/services/modules/Ticket/TicketService.js +7 -0
  18. package/dist/base/services/modules/Ticket/TicketService.js.map +1 -1
  19. package/dist/base/services/modules/centralNfe/index.js +2 -1
  20. package/dist/base/services/modules/centralNfe/nfe/NfeService.js +11 -0
  21. package/dist/base/services/modules/centralNfe/nfe/NfeService.js.map +1 -1
  22. package/lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts +1 -0
  23. package/lib/base/configs/endpoints.config/centralNfe/config/nfe.ts +1 -0
  24. package/lib/base/services/modules/Ticket/TicketService.ts +7 -0
  25. package/lib/base/services/modules/centralNfe/nfe/NfeService.ts +11 -0
  26. package/package.json +1 -1
@@ -11,6 +11,7 @@ declare const ticketEndpointConfig: {
11
11
  downloadResumoEmbarque: string;
12
12
  getControleTicket: string;
13
13
  getRecebimentoCentroTickets: string;
14
+ bloquear: string;
14
15
  };
15
16
  export default ticketEndpointConfig;
16
17
  //# sourceMappingURL=ticket.endpoint.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ticket.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;CAazB,CAAA;AAED,eAAe,oBAAoB,CAAA"}
1
+ {"version":3,"file":"ticket.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;CAczB,CAAA;AAED,eAAe,oBAAoB,CAAA"}
@@ -112,6 +112,10 @@ declare const centralNfe: {
112
112
  endpoint: string;
113
113
  httpMethod: string;
114
114
  };
115
+ lock: {
116
+ endpoint: string;
117
+ httpMethod: string;
118
+ };
115
119
  };
116
120
  vinculoIva: {
117
121
  findMonitor: {
@@ -1 +1 @@
1
- {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUf,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -39,6 +39,10 @@ declare const nfe: {
39
39
  endpoint: string;
40
40
  httpMethod: string;
41
41
  };
42
+ lock: {
43
+ endpoint: string;
44
+ httpMethod: string;
45
+ };
42
46
  };
43
47
  export default nfe;
44
48
  //# sourceMappingURL=nfe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWR,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"nfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYR,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -1961,6 +1961,10 @@ declare const endpointNavigationConfig: {
1961
1961
  endpoint: string;
1962
1962
  httpMethod: string;
1963
1963
  };
1964
+ lock: {
1965
+ endpoint: string;
1966
+ httpMethod: string;
1967
+ };
1964
1968
  };
1965
1969
  vinculoIva: {
1966
1970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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -11,4 +11,5 @@ export declare function apiGetTicketsMonitorCarregamento(body: any): Promise<unk
11
11
  export declare function apiDownloadResumoEmbarque(id: any): Promise<unknown>;
12
12
  export declare function apiGetControleTicket(body: any): Promise<unknown>;
13
13
  export declare function apiGetRecebimentoCentroTickets(body: any): Promise<unknown>;
14
+ export declare function apiBloquearTicket(id: any, userId: any): Promise<unknown>;
14
15
  //# sourceMappingURL=TicketService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TicketService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/Ticket/TicketService.ts"],"names":[],"mappings":"AAGA,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC;AAED,wBAAsB,aAAa,CAAC,IAAI,KAAA,oBAMvC;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAA,oBAK9B;AAED,wBAAsB,YAAY,CAAC,QAAQ,KAAA,EAAE,IAAI,KAAA,oBAMhD;AAED,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAA,EAAE,eAAe,KAAA,oBAKlD;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAA,oBAKnC;AAED,wBAAsB,4BAA4B,CAAC,IAAI,KAAA,oBAMtD;AAGD,wBAAgB,oBAAoB,CAAC,EAAE,KAAA,EAAE,eAAe,UAAQ,oBAK/D;AAED,wBAAsB,gCAAgC,CAAC,IAAI,KAAA,oBAM1D;AAED,wBAAgB,yBAAyB,CAAC,EAAE,KAAA,oBAK3C;AAED,wBAAsB,oBAAoB,CAAC,IAAI,KAAA,oBAM9C;AAED,wBAAsB,8BAA8B,CAAC,IAAI,KAAA,oBAMxD"}
1
+ {"version":3,"file":"TicketService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/Ticket/TicketService.ts"],"names":[],"mappings":"AAGA,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC;AAED,wBAAsB,aAAa,CAAC,IAAI,KAAA,oBAMvC;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAA,oBAK9B;AAED,wBAAsB,YAAY,CAAC,QAAQ,KAAA,EAAE,IAAI,KAAA,oBAMhD;AAED,wBAAsB,eAAe,CAAC,IAAI,KAAA,oBAMzC;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAA,EAAE,eAAe,KAAA,oBAKlD;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAA,oBAKnC;AAED,wBAAsB,4BAA4B,CAAC,IAAI,KAAA,oBAMtD;AAGD,wBAAgB,oBAAoB,CAAC,EAAE,KAAA,EAAE,eAAe,UAAQ,oBAK/D;AAED,wBAAsB,gCAAgC,CAAC,IAAI,KAAA,oBAM1D;AAED,wBAAgB,yBAAyB,CAAC,EAAE,KAAA,oBAK3C;AAED,wBAAsB,oBAAoB,CAAC,IAAI,KAAA,oBAM9C;AAED,wBAAsB,8BAA8B,CAAC,IAAI,KAAA,oBAMxD;AAED,wBAAsB,iBAAiB,CAAC,EAAE,KAAA,EAAE,MAAM,KAAA,oBAKjD"}
@@ -8,4 +8,5 @@ export declare function addLancamentoManual(body: any): Promise<any>;
8
8
  export declare function apiDesvincularOrdemCompra(body: any): Promise<any>;
9
9
  export declare function apiEstornarPedidoCompra(numeroPedido: string): Promise<any>;
10
10
  export declare function apiEstornarOperacao(id: number): Promise<any>;
11
+ export declare function apiSetNfeLock(idNfe: number, lock: boolean): Promise<any>;
11
12
  //# sourceMappingURL=NfeService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"names":[],"mappings":"AAKA,wBAAsB,iBAAiB,CAAC,IAAI,KAAA,gBAM3C;AAED,wBAAsB,WAAW,CAAC,IAAI,KAAA,gBAMrC;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,MAAM,gBAK7C;AAED,wBAAsB,YAAY,CAAC,IAAI,KAAA,gBAMtC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,gBAKjE;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAO3E;AAED,wBAAsB,mBAAmB,CAAC,IAAI,KAAA,gBAM7C;AAED,wBAAsB,yBAAyB,CAAC,IAAI,KAAA,gBAMnD;AAED,wBAAsB,uBAAuB,CAAC,YAAY,EAAE,MAAM,gBAMjE;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,gBAMnD"}
1
+ {"version":3,"file":"NfeService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"names":[],"mappings":"AAKA,wBAAsB,iBAAiB,CAAC,IAAI,KAAA,gBAM3C;AAED,wBAAsB,WAAW,CAAC,IAAI,KAAA,gBAMrC;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,MAAM,gBAK7C;AAED,wBAAsB,YAAY,CAAC,IAAI,KAAA,gBAMtC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,gBAKjE;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAO3E;AAED,wBAAsB,mBAAmB,CAAC,IAAI,KAAA,gBAM7C;AAED,wBAAsB,yBAAyB,CAAC,IAAI,KAAA,gBAMnD;AAED,wBAAsB,uBAAuB,CAAC,YAAY,EAAE,MAAM,gBAMjE;AAED,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,gBAMnD;AAED,wBAAsB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,gBAS/D"}
@@ -11,7 +11,8 @@ const ticketEndpointConfig = {
11
11
  findMonitorCarregamento: `${TICKET_API_PATH}/find/monitor-carregamento`,
12
12
  downloadResumoEmbarque: `${TICKET_API_PATH}/download/resumo-embarque/`,
13
13
  getControleTicket: `${TICKET_API_PATH}/controle-ticket`,
14
- getRecebimentoCentroTickets: `${TICKET_API_PATH}/recebimento-centro`
14
+ getRecebimentoCentroTickets: `${TICKET_API_PATH}/recebimento-centro`,
15
+ bloquear: `${TICKET_API_PATH}/bloquear/`
15
16
  };
16
17
  export {
17
18
  ticketEndpointConfig as default
@@ -1 +1 @@
1
- {"version":3,"file":"ticket.endpoint.config.js","sources":["../../../../../lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts"],"sourcesContent":["const TICKET_API_PATH = '/ticket/api/ticket'\n\nconst ticketEndpointConfig = {\n add: `${TICKET_API_PATH}/`,\n countAll: `${TICKET_API_PATH}/count`,\n findAll: `${TICKET_API_PATH}/find`,\n findOne: `${TICKET_API_PATH}/`,\n cancel: `${TICKET_API_PATH}/cancel`,\n getPdf: `${TICKET_API_PATH}/pdf/`,\n getNotas: `${TICKET_API_PATH}/notas/`,\n getExtratoProdutorTickets: `${TICKET_API_PATH}/extrato-produtor`,\n findMonitorCarregamento: `${TICKET_API_PATH}/find/monitor-carregamento`,\n downloadResumoEmbarque: `${TICKET_API_PATH}/download/resumo-embarque/`,\n getControleTicket: `${TICKET_API_PATH}/controle-ticket`,\n getRecebimentoCentroTickets: `${TICKET_API_PATH}/recebimento-centro`,\n}\n\nexport default ticketEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,kBAAkB;AAExB,MAAM,uBAAuB;AAAA,EACzB,KAAK,GAAG,eAAe;AAAA,EACvB,UAAU,GAAG,eAAe;AAAA,EAC5B,SAAS,GAAG,eAAe;AAAA,EAC3B,SAAS,GAAG,eAAe;AAAA,EAC3B,QAAQ,GAAG,eAAe;AAAA,EAC1B,QAAQ,GAAG,eAAe;AAAA,EAC1B,UAAU,GAAG,eAAe;AAAA,EAC5B,2BAA2B,GAAG,eAAe;AAAA,EAC7C,yBAAyB,GAAG,eAAe;AAAA,EAC3C,wBAAwB,GAAG,eAAe;AAAA,EAC1C,mBAAmB,GAAG,eAAe;AAAA,EACrC,6BAA6B,GAAG,eAAe;AACnD;"}
1
+ {"version":3,"file":"ticket.endpoint.config.js","sources":["../../../../../lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts"],"sourcesContent":["const TICKET_API_PATH = '/ticket/api/ticket'\n\nconst ticketEndpointConfig = {\n add: `${TICKET_API_PATH}/`,\n countAll: `${TICKET_API_PATH}/count`,\n findAll: `${TICKET_API_PATH}/find`,\n findOne: `${TICKET_API_PATH}/`,\n cancel: `${TICKET_API_PATH}/cancel`,\n getPdf: `${TICKET_API_PATH}/pdf/`,\n getNotas: `${TICKET_API_PATH}/notas/`,\n getExtratoProdutorTickets: `${TICKET_API_PATH}/extrato-produtor`,\n findMonitorCarregamento: `${TICKET_API_PATH}/find/monitor-carregamento`,\n downloadResumoEmbarque: `${TICKET_API_PATH}/download/resumo-embarque/`,\n getControleTicket: `${TICKET_API_PATH}/controle-ticket`,\n getRecebimentoCentroTickets: `${TICKET_API_PATH}/recebimento-centro`,\n bloquear: `${TICKET_API_PATH}/bloquear/`,\n}\n\nexport default ticketEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,kBAAkB;AAExB,MAAM,uBAAuB;AAAA,EACzB,KAAK,GAAG,eAAe;AAAA,EACvB,UAAU,GAAG,eAAe;AAAA,EAC5B,SAAS,GAAG,eAAe;AAAA,EAC3B,SAAS,GAAG,eAAe;AAAA,EAC3B,QAAQ,GAAG,eAAe;AAAA,EAC1B,QAAQ,GAAG,eAAe;AAAA,EAC1B,UAAU,GAAG,eAAe;AAAA,EAC5B,2BAA2B,GAAG,eAAe;AAAA,EAC7C,yBAAyB,GAAG,eAAe;AAAA,EAC3C,wBAAwB,GAAG,eAAe;AAAA,EAC1C,mBAAmB,GAAG,eAAe;AAAA,EACrC,6BAA6B,GAAG,eAAe;AAAA,EAC/C,UAAU,GAAG,eAAe;AAChC;"}
@@ -9,7 +9,8 @@ const nfe = {
9
9
  addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: "patch" },
10
10
  desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: "post" },
11
11
  estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: "post" },
12
- estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: "post" }
12
+ estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: "post" },
13
+ lock: { endpoint: `${NFE_BASE_URL}/lock`, httpMethod: "post" }
13
14
  };
14
15
  export {
15
16
  nfe as default
@@ -1 +1 @@
1
- {"version":3,"file":"nfe.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"sourcesContent":["const NFE_BASE_URL = '/central-nfe/api/nfe'\n\nconst nfe = {\n findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },\n update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },\n count: { endpoint: `${NFE_BASE_URL}/count`, httpMethod: 'post' },\n downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },\n validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },\n addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },\n desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },\n estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: 'post' },\n estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: 'post' },\n}\n\nexport default nfe"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,MAAM;AAAA,EACR,aAAa,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,OAAA;AAAA,EACrE,SAAS,EAAE,UAAU,cAAc,YAAY,MAAA;AAAA,EAC/C,QAAQ,EAAE,UAAU,cAAc,YAAY,QAAA;AAAA,EAC9C,OAAO,EAAE,UAAU,GAAG,YAAY,UAAU,YAAY,OAAA;AAAA,EACxD,0BAA0B,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,MAAA;AAAA,EAClF,kBAAkB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACnG,qBAAqB,EAAE,UAAU,GAAG,YAAY,0BAA0B,YAAY,QAAA;AAAA,EACtF,wBAAwB,EAAE,UAAU,GAAG,YAAY,6BAA6B,YAAY,OAAA;AAAA,EAC5F,sBAAsB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACvG,kBAAkB,EAAE,UAAU,GAAG,YAAY,8BAA8B,YAAY,OAAA;AAC3F;"}
1
+ {"version":3,"file":"nfe.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/nfe.ts"],"sourcesContent":["const NFE_BASE_URL = '/central-nfe/api/nfe'\n\nconst nfe = {\n findMonitor: { endpoint: `${NFE_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },\n update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },\n count: { endpoint: `${NFE_BASE_URL}/count`, httpMethod: 'post' },\n downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },\n validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },\n addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },\n desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },\n estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: 'post' },\n estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: 'post' },\n lock: { endpoint: `${NFE_BASE_URL}/lock`, httpMethod: 'post' },\n}\n\nexport default nfe"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAErB,MAAM,MAAM;AAAA,EACR,aAAa,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,OAAA;AAAA,EACrE,SAAS,EAAE,UAAU,cAAc,YAAY,MAAA;AAAA,EAC/C,QAAQ,EAAE,UAAU,cAAc,YAAY,QAAA;AAAA,EAC9C,OAAO,EAAE,UAAU,GAAG,YAAY,UAAU,YAAY,OAAA;AAAA,EACxD,0BAA0B,EAAE,UAAU,GAAG,YAAY,iBAAiB,YAAY,MAAA;AAAA,EAClF,kBAAkB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACnG,qBAAqB,EAAE,UAAU,GAAG,YAAY,0BAA0B,YAAY,QAAA;AAAA,EACtF,wBAAwB,EAAE,UAAU,GAAG,YAAY,6BAA6B,YAAY,OAAA;AAAA,EAC5F,sBAAsB,EAAE,UAAU,GAAG,YAAY,0CAA0C,YAAY,OAAA;AAAA,EACvG,kBAAkB,EAAE,UAAU,GAAG,YAAY,8BAA8B,YAAY,OAAA;AAAA,EACvF,MAAM,EAAE,UAAU,GAAG,YAAY,SAAS,YAAY,OAAA;AAC1D;"}
@@ -86,8 +86,15 @@ async function apiGetRecebimentoCentroTickets(body) {
86
86
  data: body
87
87
  });
88
88
  }
89
+ async function apiBloquearTicket(id, userId) {
90
+ return ApiService.fetchDataWithAxios({
91
+ url: ticketEndpointConfig.bloquear + `${id}?userId=${userId ?? ""}`,
92
+ method: "post"
93
+ });
94
+ }
89
95
  export {
90
96
  apiAddTicket,
97
+ apiBloquearTicket,
91
98
  apiCancelTicket,
92
99
  apiCountTickets,
93
100
  apiDownloadPdfTicket,
@@ -1 +1 @@
1
- {"version":3,"file":"TicketService.js","sources":["../../../../../lib/base/services/modules/Ticket/TicketService.ts"],"sourcesContent":["import ticketEndpointConfig from '@base/configs/endpoints.config/Ticket/ticket.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiCountTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.countAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetTicket(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findOne + id,\n method: 'get',\n })\n}\n\nexport async function apiAddTicket(operacao, body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.add + operacao,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCancelTicket(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.cancel,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetPdfTicket(id, controleInterno) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getPdf + id + (controleInterno ? '/true' : ''),\n method: 'get',\n })\n}\n\nexport function apiGetNotasTicket(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getNotas + id,\n method: 'put',\n })\n}\n\nexport async function apiGetExtratoProdutorTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getExtratoProdutorTickets,\n method: 'post',\n data: body,\n })\n}\n\n\nexport function apiDownloadPdfTicket(id, controleInterno = false) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getPdf + id + (controleInterno ? '/true' : '/false'),\n method: 'get',\n })\n}\n\nexport async function apiGetTicketsMonitorCarregamento(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findMonitorCarregamento,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiDownloadResumoEmbarque(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.downloadResumoEmbarque + id,\n method: 'get',\n })\n}\n\nexport async function apiGetControleTicket(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getControleTicket,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetRecebimentoCentroTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRecebimentoCentroTickets,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,gBAAgB,MAAM;AACxC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,MAAM;AACtC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,aAAa,IAAI;AAC7B,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,UAAU;AAAA,IACpC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,aAAa,UAAU,MAAM;AAC/C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,MAAM;AAAA,IAChC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gB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AM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"TicketService.js","sources":["../../../../../lib/base/services/modules/Ticket/TicketService.ts"],"sourcesContent":["import ticketEndpointConfig from '@base/configs/endpoints.config/Ticket/ticket.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiCountTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.countAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetTicket(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findOne + id,\n method: 'get',\n })\n}\n\nexport async function apiAddTicket(operacao, body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.add + operacao,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCancelTicket(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.cancel,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetPdfTicket(id, controleInterno) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getPdf + id + (controleInterno ? '/true' : ''),\n method: 'get',\n })\n}\n\nexport function apiGetNotasTicket(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getNotas + id,\n method: 'put',\n })\n}\n\nexport async function apiGetExtratoProdutorTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getExtratoProdutorTickets,\n method: 'post',\n data: body,\n })\n}\n\n\nexport function apiDownloadPdfTicket(id, controleInterno = false) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getPdf + id + (controleInterno ? '/true' : '/false'),\n method: 'get',\n })\n}\n\nexport async function apiGetTicketsMonitorCarregamento(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.findMonitorCarregamento,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiDownloadResumoEmbarque(id) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.downloadResumoEmbarque + id,\n method: 'get',\n })\n}\n\nexport async function apiGetControleTicket(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getControleTicket,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetRecebimentoCentroTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRecebimentoCentroTickets,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiBloquearTicket(id, userId) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.bloquear + `${id}?userId=${userId ?? ''}`,\n method: 'post',\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,gBAAgB,MAAM;AACxC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,MAAM;AACtC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,aAAa,IAAI;AAC7B,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,UAAU;AAAA,IACpC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,aAAa,UAAU,MAAM;AAC/C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,MAAM;AAAA,IAChC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB,MAAM;AACxC,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,gBAAgB,IAAI,iBAAiB;AACjD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,SAAS,MAAM,kBAAkB,UAAU;A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FindMonitorNotificacaoCentralNfe, ap
2
2
  import { apiCreateIntervaloPrecoXml, apiFindMonitorIntervaloPrecoXml, apiFindOneIntervaloPrecoXml, apiUpdateIntervaloPrecoXml } from "./intervaloPrecoXml/IntervaloPrecoXmlService.js";
3
3
  import { apiCreateVinculoUnidadeMedida, apiFindMonitorVinculoUnidadeMedida, apiFindOneVinculoUnidadeMedida, apiUpdateVinculoUnidadeMedida } from "./vinculoUnidadeMedida/VinculoUnidadeMedidaService.js";
4
4
  import { apiCreateCnpjLiberadoNota, apiFindMonitorCnpjLiberadoNota, apiFindOneCnpjLiberadoNota, apiUpdateCnpjLiberadoNota } from "./cnpjLiberadoNota/CnpjLiberadoNotaService.js";
5
- import { addLancamentoManual, apiCountNfe, apiDesvincularOrdemCompra, apiEstornarOperacao, apiEstornarPedidoCompra, apiFindMonitorNfe, apiFindOneNfe, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
5
+ import { addLancamentoManual, apiCountNfe, apiDesvincularOrdemCompra, apiEstornarOperacao, apiEstornarPedidoCompra, apiFindMonitorNfe, apiFindOneNfe, apiSetNfeLock, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
6
6
  export {
7
7
  addLancamentoManual,
8
8
  apiCountNfe,
@@ -23,6 +23,7 @@ export {
23
23
  apiFindOneNfe,
24
24
  apiFindOneNotificacaoCentralNfe,
25
25
  apiFindOneVinculoUnidadeMedida,
26
+ apiSetNfeLock,
26
27
  apiUpdateCnpjLiberadoNota,
27
28
  apiUpdateIntervaloPrecoXml,
28
29
  apiUpdateNfe,
@@ -66,6 +66,16 @@ async function apiEstornarOperacao(id) {
66
66
  method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod
67
67
  });
68
68
  }
69
+ async function apiSetNfeLock(idNfe, lock) {
70
+ return ApiService.fetchDataWithAxios({
71
+ url: NFE_ENDPOINT.lock.endpoint,
72
+ method: NFE_ENDPOINT.lock.httpMethod,
73
+ params: {
74
+ idNfe,
75
+ lock
76
+ }
77
+ });
78
+ }
69
79
  export {
70
80
  addLancamentoManual,
71
81
  apiCountNfe,
@@ -74,6 +84,7 @@ export {
74
84
  apiEstornarPedidoCompra,
75
85
  apiFindMonitorNfe,
76
86
  apiFindOneNfe,
87
+ apiSetNfeLock,
77
88
  apiUpdateNfe,
78
89
  buscaValidacaoImposto,
79
90
  downloadPdfByChaveAcesso
@@ -1 +1 @@
1
- {"version":3,"file":"NfeService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst NFE_ENDPOINT = endpointConfig.centralNfe.nfe;\n\nexport async function apiFindMonitorNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.findMonitor.endpoint,\n method: NFE_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCountNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.count.endpoint,\n method: NFE_ENDPOINT.count.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneNfe(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,\n method: NFE_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.update.endpoint,\n method: NFE_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function downloadPdfByChaveAcesso(chaveAcesso: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.downloadPdfByChaveAcesso.endpoint}/${chaveAcesso}`,\n method: NFE_ENDPOINT.downloadPdfByChaveAcesso.httpMethod\n })\n}\n\nexport async function buscaValidacaoImposto(id: number, numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.validacaoImposto.endpoint\n .replace('{id}', id.toString())\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.validacaoImposto.httpMethod\n })\n}\n\nexport async function addLancamentoManual(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.addLancamentoManual.endpoint,\n method: NFE_ENDPOINT.addLancamentoManual.httpMethod,\n data: body\n })\n}\n\nexport async function apiDesvincularOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,\n method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,\n data: body\n })\n}\n\nexport async function apiEstornarPedidoCompra(numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarPedidoCompra.endpoint\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}\n\nexport async function apiEstornarOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarOperacao.endpoint\n .replace('{id}', id.toString()),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,YAAY,MAAM;AACpC,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,MAAM;AAAA,IACxB,QAAQ,aAAa,MAAM;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,IAAY;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,QAAQ,QAAQ,IAAI,EAAE;AAAA,IAC3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,qBAAqB;AAAA,EAAA,CAC7C;AACL;"}
1
+ {"version":3,"file":"NfeService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst NFE_ENDPOINT = endpointConfig.centralNfe.nfe;\n\nexport async function apiFindMonitorNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.findMonitor.endpoint,\n method: NFE_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCountNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.count.endpoint,\n method: NFE_ENDPOINT.count.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneNfe(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,\n method: NFE_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.update.endpoint,\n method: NFE_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function downloadPdfByChaveAcesso(chaveAcesso: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.downloadPdfByChaveAcesso.endpoint}/${chaveAcesso}`,\n method: NFE_ENDPOINT.downloadPdfByChaveAcesso.httpMethod\n })\n}\n\nexport async function buscaValidacaoImposto(id: number, numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.validacaoImposto.endpoint\n .replace('{id}', id.toString())\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.validacaoImposto.httpMethod\n })\n}\n\nexport async function addLancamentoManual(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.addLancamentoManual.endpoint,\n method: NFE_ENDPOINT.addLancamentoManual.httpMethod,\n data: body\n })\n}\n\nexport async function apiDesvincularOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,\n method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,\n data: body\n })\n}\n\nexport async function apiEstornarPedidoCompra(numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarPedidoCompra.endpoint\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}\n\nexport async function apiEstornarOperacao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.estornarOperacao.endpoint\n .replace('{id}', id.toString()),\n method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod\n })\n}\n\nexport async function apiSetNfeLock(idNfe: number, lock: boolean) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.lock.endpoint,\n method: NFE_ENDPOINT.lock.httpMethod,\n params: {\n idNfe,\n lock\n }\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,YAAY,MAAM;AACpC,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,MAAM;AAAA,IACxB,QAAQ,aAAa,MAAM;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,IAAY;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,QAAQ,QAAQ,IAAI,EAAE;AAAA,IAC3C,QAAQ,aAAa,QAAQ;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,aAAa,MAAM;AACrC,SAAO,WAAW,mBAAwB;A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IACtC,KAAK,aAAa,KAAK;AAAA,IACvB,QAAQ,aAAa,KAAK;AAAA,IAC1B,QAAQ;AAAA,MACJ;AAAA,MACA;AAAA,IAAA;AAAA,EACJ,CACH;AACL;"}
@@ -13,6 +13,7 @@ const ticketEndpointConfig = {
13
13
  downloadResumoEmbarque: `${TICKET_API_PATH}/download/resumo-embarque/`,
14
14
  getControleTicket: `${TICKET_API_PATH}/controle-ticket`,
15
15
  getRecebimentoCentroTickets: `${TICKET_API_PATH}/recebimento-centro`,
16
+ bloquear: `${TICKET_API_PATH}/bloquear/`,
16
17
  }
17
18
 
18
19
  export default ticketEndpointConfig
@@ -11,6 +11,7 @@ const nfe = {
11
11
  desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },
12
12
  estornarPedidoCompra: { endpoint: `${NFE_BASE_URL}/estornar-pedido-compra/{numeroPedido}`, httpMethod: 'post' },
13
13
  estornarOperacao: { endpoint: `${NFE_BASE_URL}/estornar-operacao?id={id}`, httpMethod: 'post' },
14
+ lock: { endpoint: `${NFE_BASE_URL}/lock`, httpMethod: 'post' },
14
15
  }
15
16
 
16
17
  export default nfe
@@ -99,4 +99,11 @@ export async function apiGetRecebimentoCentroTickets(body) {
99
99
  method: 'post',
100
100
  data: body,
101
101
  })
102
+ }
103
+
104
+ export async function apiBloquearTicket(id, userId) {
105
+ return ApiService.fetchDataWithAxios({
106
+ url: ticketEndpointConfig.bloquear + `${id}?userId=${userId ?? ''}`,
107
+ method: 'post',
108
+ })
102
109
  }
@@ -80,4 +80,15 @@ export async function apiEstornarOperacao(id: number) {
80
80
  .replace('{id}', id.toString()),
81
81
  method: NFE_ENDPOINT.estornarPedidoCompra.httpMethod
82
82
  })
83
+ }
84
+
85
+ export async function apiSetNfeLock(idNfe: number, lock: boolean) {
86
+ return ApiService.fetchDataWithAxios<any>({
87
+ url: NFE_ENDPOINT.lock.endpoint,
88
+ method: NFE_ENDPOINT.lock.httpMethod,
89
+ params: {
90
+ idNfe,
91
+ lock
92
+ }
93
+ })
83
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.6.7",
3
+ "version": "5.6.9",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",