@orbe-agro/client-core 5.6.110 → 5.6.112
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.
- package/dist/@types/base/configs/endpoints.config/Ticket/ticket.endpoint.config.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/Ticket/ticket.endpoint.config.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/config/centro.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/centro.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/services/modules/Ticket/TicketService.d.ts +1 -0
- package/dist/@types/base/services/modules/Ticket/TicketService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/dm/centro/CentroService.d.ts +1 -0
- package/dist/@types/base/services/modules/dm/centro/CentroService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/Ticket/ticket.endpoint.config.js +1 -0
- package/dist/base/configs/endpoints.config/Ticket/ticket.endpoint.config.js.map +1 -1
- package/dist/base/configs/endpoints.config/dm/config/centro.js +1 -0
- package/dist/base/configs/endpoints.config/dm/config/centro.js.map +1 -1
- package/dist/base/index.js +2 -1
- package/dist/base/services/index.js +2 -1
- package/dist/base/services/modules/Ticket/TicketService.js +8 -0
- package/dist/base/services/modules/Ticket/TicketService.js.map +1 -1
- package/dist/base/services/modules/dm/centro/CentroService.js +8 -0
- package/dist/base/services/modules/dm/centro/CentroService.js.map +1 -1
- package/dist/base/services/modules/dm/index.js +2 -1
- package/dist/base/services/modules/index.js +2 -1
- package/lib/base/configs/endpoints.config/Ticket/ticket.endpoint.config.ts +1 -0
- package/lib/base/configs/endpoints.config/dm/config/centro.ts +1 -0
- package/lib/base/services/modules/Ticket/TicketService.ts +8 -0
- package/lib/base/services/modules/dm/centro/CentroService.ts +8 -0
- package/package.json +1 -1
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;CAiBzB,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"centro.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/centro.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"centro.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/centro.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;CAKX,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare function apiCountTickets(body: any): Promise<unknown>;
|
|
2
2
|
export declare function apiGetTickets(body: any): Promise<unknown>;
|
|
3
|
+
export declare function apiExportExcel(body: any): Promise<unknown>;
|
|
3
4
|
export declare function apiGetTicket(id: any): Promise<unknown>;
|
|
4
5
|
export declare function apiAddTicket(operacao: any, body: any): Promise<unknown>;
|
|
5
6
|
export declare function apiCancelTicket(body: any): Promise<unknown>;
|
|
@@ -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;AAED,wBAAsB,iBAAiB,CAAC,EAAE,KAAA,EAAE,MAAM,KAAA,oBAKjD;AAED,wBAAsB,kCAAkC,CAAC,IAAI,KAAA,oBAM5D;AAED,wBAAsB,oCAAoC,CAAC,IAAI,KAAA,oBAM9D"}
|
|
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,wBAAsB,cAAc,CAAC,IAAI,KAAA,oBAMxC;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;AAED,wBAAsB,kCAAkC,CAAC,IAAI,KAAA,oBAM5D;AAED,wBAAsB,oCAAoC,CAAC,IAAI,KAAA,oBAM9D"}
|
|
@@ -2,5 +2,6 @@ import { IFilterParams, TQueryResponse } from "@base/@types";
|
|
|
2
2
|
import { TCentro } from "@base/@types/models/dm/centro";
|
|
3
3
|
export declare function apiFindDmCentro(data?: {}): Promise<TCentro[]>;
|
|
4
4
|
export declare function apiFindDmCentroByCodigo(codigo: string): Promise<TCentro>;
|
|
5
|
+
export declare function apiFindDmCentroByCodigos(data: any): Promise<unknown>;
|
|
5
6
|
export declare function apiFindMonitorCentro(body?: IFilterParams): Promise<TQueryResponse<any>>;
|
|
6
7
|
//# sourceMappingURL=CentroService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CentroService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/centro/CentroService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAKxD,wBAAsB,eAAe,CAAC,IAAI,KAAK,sBAM9C;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,MAAM,oBAK3D;AAED,wBAAsB,oBAAoB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAM9D"}
|
|
1
|
+
{"version":3,"file":"CentroService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/centro/CentroService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAKxD,wBAAsB,eAAe,CAAC,IAAI,KAAK,sBAM9C;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,MAAM,oBAK3D;AAED,wBAAsB,wBAAwB,CAAC,IAAI,KAAA,oBAMlD;AAED,wBAAsB,oBAAoB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAM9D"}
|
|
@@ -3,6 +3,7 @@ const ticketEndpointConfig = {
|
|
|
3
3
|
add: `${TICKET_API_PATH}/`,
|
|
4
4
|
countAll: `${TICKET_API_PATH}/count`,
|
|
5
5
|
findAll: `${TICKET_API_PATH}/find`,
|
|
6
|
+
exportExcel: `${TICKET_API_PATH}/export-excel`,
|
|
6
7
|
findOne: `${TICKET_API_PATH}/`,
|
|
7
8
|
cancel: `${TICKET_API_PATH}/cancel`,
|
|
8
9
|
getPdf: `${TICKET_API_PATH}/pdf/`,
|
|
@@ -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 bloquear: `${TICKET_API_PATH}/bloquear/`,\n getRelatorioFisicoFiscalTickets: `${TICKET_API_PATH}/relatorio-fisico-fiscal`,\n getRelatorioMediaPonderadaTickets: `${TICKET_API_PATH}/relatorio-media-ponderada`,\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;AAAA,EAC5B,iCAAiC,GAAG,eAAe;AAAA,EACnD,mCAAmC,GAAG,eAAe;AACzD;"}
|
|
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 exportExcel: `${TICKET_API_PATH}/export-excel`,\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 getRelatorioFisicoFiscalTickets: `${TICKET_API_PATH}/relatorio-fisico-fiscal`,\n getRelatorioMediaPonderadaTickets: `${TICKET_API_PATH}/relatorio-media-ponderada`,\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,aAAa,GAAG,eAAe;AAAA,EAC/B,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;AAAA,EAC5B,iCAAiC,GAAG,eAAe;AAAA,EACnD,mCAAmC,GAAG,eAAe;AACzD;"}
|
|
@@ -2,6 +2,7 @@ const CENTRO_BASE_URL = "/dados-mestres/api/dm/centro";
|
|
|
2
2
|
const centro = {
|
|
3
3
|
find: { endpoint: `${CENTRO_BASE_URL}/find`, method: "post" },
|
|
4
4
|
findCentroByCodigo: { endpoint: `${CENTRO_BASE_URL}/find/`, method: "post" },
|
|
5
|
+
findCentroByCodigos: { endpoint: `${CENTRO_BASE_URL}/find-by-codigos`, method: "post" },
|
|
5
6
|
findMonitor: { endpoint: `${CENTRO_BASE_URL}/find-monitor`, httpMethod: "post" }
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"centro.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/centro.ts"],"sourcesContent":["const CENTRO_BASE_URL = '/dados-mestres/api/dm/centro'\n\nconst centro = {\n find: { endpoint: `${CENTRO_BASE_URL}/find`, method: 'post' },\n findCentroByCodigo: { endpoint: `${CENTRO_BASE_URL}/find/`, method: 'post' },\n findMonitor: { endpoint: `${CENTRO_BASE_URL}/find-monitor`, httpMethod: 'post' }\n}\n\nexport default centro"],"names":[],"mappings":"AAAA,MAAM,kBAAkB;AAExB,MAAM,SAAS;AAAA,EACX,MAAM,EAAE,UAAU,GAAG,eAAe,SAAS,QAAQ,OAAA;AAAA,EACrD,oBAAoB,EAAE,UAAU,GAAG,eAAe,UAAU,QAAQ,OAAA;AAAA,EACpE,aAAa,EAAE,UAAU,GAAG,eAAe,iBAAiB,YAAY,OAAA;AAC5E;"}
|
|
1
|
+
{"version":3,"file":"centro.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/centro.ts"],"sourcesContent":["const CENTRO_BASE_URL = '/dados-mestres/api/dm/centro'\n\nconst centro = {\n find: { endpoint: `${CENTRO_BASE_URL}/find`, method: 'post' },\n findCentroByCodigo: { endpoint: `${CENTRO_BASE_URL}/find/`, method: 'post' },\n findCentroByCodigos: { endpoint: `${CENTRO_BASE_URL}/find-by-codigos`, method: 'post' },\n findMonitor: { endpoint: `${CENTRO_BASE_URL}/find-monitor`, httpMethod: 'post' }\n}\n\nexport default centro"],"names":[],"mappings":"AAAA,MAAM,kBAAkB;AAExB,MAAM,SAAS;AAAA,EACX,MAAM,EAAE,UAAU,GAAG,eAAe,SAAS,QAAQ,OAAA;AAAA,EACrD,oBAAoB,EAAE,UAAU,GAAG,eAAe,UAAU,QAAQ,OAAA;AAAA,EACpE,qBAAqB,EAAE,UAAU,GAAG,eAAe,oBAAoB,QAAQ,OAAA;AAAA,EAC/E,aAAa,EAAE,UAAU,GAAG,eAAe,iBAAiB,YAAY,OAAA;AAC5E;"}
|
package/dist/base/index.js
CHANGED
|
@@ -129,7 +129,7 @@ import { apiFindByNomeOrCodigo } from "./services/modules/transportadora/Naturez
|
|
|
129
129
|
import { apiFindByNotaFiscal } from "./services/modules/transportadora/NotaFiscal/NotaFiscalService.js";
|
|
130
130
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetBusinessPartnerByCnpjWithOptionalIe, apiGetDmBusinessPartner } from "./services/modules/dm/businessPartner/BusinessPartnerService.js";
|
|
131
131
|
import { apiFindDmCanalDistribuicao, apiFindDmCanalDistribuicaoByCodigo } from "./services/modules/dm/canalDistribuicao/CanalDistribuicaoService.js";
|
|
132
|
-
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindMonitorCentro } from "./services/modules/dm/centro/CentroService.js";
|
|
132
|
+
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindDmCentroByCodigos, apiFindMonitorCentro } from "./services/modules/dm/centro/CentroService.js";
|
|
133
133
|
import { apiFindDmCondicaoPagamento, apiFindMonitorCondicaoPagamento, apiFindVerificaCadastroCompletoByCondicaoPagamento } from "./services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js";
|
|
134
134
|
import { apiFindDmDeposito, apiFindDmDepositoByCodigo, apiFindDmDepositosByCodigoCentro, apiFindMonitorDeposito } from "./services/modules/dm/deposito/DepositoService.js";
|
|
135
135
|
import { apiFindDmEquipeVenda, apiFindDmEquipeVendaByCodigo } from "./services/modules/dm/equipeVenda/EquipeVendaService.js";
|
|
@@ -563,6 +563,7 @@ export {
|
|
|
563
563
|
apiFindDmCanalDistribuicaoByCodigo,
|
|
564
564
|
apiFindDmCentro,
|
|
565
565
|
apiFindDmCentroByCodigo,
|
|
566
|
+
apiFindDmCentroByCodigos,
|
|
566
567
|
apiFindDmCondicaoPagamento,
|
|
567
568
|
apiFindDmDeposito,
|
|
568
569
|
apiFindDmDepositoByCodigo,
|
|
@@ -129,7 +129,7 @@ import { apiFindByNomeOrCodigo } from "./modules/transportadora/NaturezaCarga/Na
|
|
|
129
129
|
import { apiFindByNotaFiscal } from "./modules/transportadora/NotaFiscal/NotaFiscalService.js";
|
|
130
130
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetBusinessPartnerByCnpjWithOptionalIe, apiGetDmBusinessPartner } from "./modules/dm/businessPartner/BusinessPartnerService.js";
|
|
131
131
|
import { apiFindDmCanalDistribuicao, apiFindDmCanalDistribuicaoByCodigo } from "./modules/dm/canalDistribuicao/CanalDistribuicaoService.js";
|
|
132
|
-
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindMonitorCentro } from "./modules/dm/centro/CentroService.js";
|
|
132
|
+
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindDmCentroByCodigos, apiFindMonitorCentro } from "./modules/dm/centro/CentroService.js";
|
|
133
133
|
import { apiFindDmCondicaoPagamento, apiFindMonitorCondicaoPagamento, apiFindVerificaCadastroCompletoByCondicaoPagamento } from "./modules/dm/condicaoPagamento/CondicaoPagamentoService.js";
|
|
134
134
|
import { apiFindDmDeposito, apiFindDmDepositoByCodigo, apiFindDmDepositosByCodigoCentro, apiFindMonitorDeposito } from "./modules/dm/deposito/DepositoService.js";
|
|
135
135
|
import { apiFindDmEquipeVenda, apiFindDmEquipeVendaByCodigo } from "./modules/dm/equipeVenda/EquipeVendaService.js";
|
|
@@ -437,6 +437,7 @@ export {
|
|
|
437
437
|
apiFindDmCanalDistribuicaoByCodigo,
|
|
438
438
|
apiFindDmCentro,
|
|
439
439
|
apiFindDmCentroByCodigo,
|
|
440
|
+
apiFindDmCentroByCodigos,
|
|
440
441
|
apiFindDmCondicaoPagamento,
|
|
441
442
|
apiFindDmDeposito,
|
|
442
443
|
apiFindDmDepositoByCodigo,
|
|
@@ -14,6 +14,13 @@ async function apiGetTickets(body) {
|
|
|
14
14
|
data: body
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
async function apiExportExcel(body) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: ticketEndpointConfig.exportExcel,
|
|
20
|
+
method: "post",
|
|
21
|
+
data: body
|
|
22
|
+
});
|
|
23
|
+
}
|
|
17
24
|
function apiGetTicket(id) {
|
|
18
25
|
return ApiService.fetchDataWithAxios({
|
|
19
26
|
url: ticketEndpointConfig.findOne + id,
|
|
@@ -113,6 +120,7 @@ export {
|
|
|
113
120
|
apiCountTickets,
|
|
114
121
|
apiDownloadPdfTicket,
|
|
115
122
|
apiDownloadResumoEmbarque,
|
|
123
|
+
apiExportExcel,
|
|
116
124
|
apiGetControleTicket,
|
|
117
125
|
apiGetExtratoProdutorTickets,
|
|
118
126
|
apiGetNotasTicket,
|
|
@@ -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}\n\nexport async function apiBloquearTicket(id, userId) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.bloquear + `${id}?userId=${userId ?? ''}`,\n method: 'post',\n })\n}\n\nexport async function apiGetRelatorioFisicoFiscalTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRelatorioFisicoFiscalTickets,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetRelatorioMediaPonderadaTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRelatorioMediaPonderadaTickets,\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,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,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,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qCAAqC,MAAM;AAC7D,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;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 async function apiExportExcel(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.exportExcel,\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}\n\nexport async function apiGetRelatorioFisicoFiscalTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRelatorioFisicoFiscalTickets,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetRelatorioMediaPonderadaTickets(body) {\n return ApiService.fetchDataWithAxios({\n url: ticketEndpointConfig.getRelatorioMediaPonderadaTickets,\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,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B;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,0BAA0B,IAAI;AAC1C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,yBAAyB;AAAA,IACnD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,qBAAqB,MAAM;AAC7C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,+BAA+B,MAAM;AACvD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,kBAAkB,IAAI,QAAQ;AAChD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB,WAAW,GAAG,EAAE,WAAW,UAAU,EAAE;AAAA,IACjE,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mCAAmC,MAAM;AAC3D,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,qCAAqC,MAAM;AAC7D,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,qBAAqB;AAAA,IAC1B,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -15,6 +15,13 @@ async function apiFindDmCentroByCodigo(codigo) {
|
|
|
15
15
|
method: CENTRO_ENDPOINT.findCentroByCodigo.method
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
async function apiFindDmCentroByCodigos(data) {
|
|
19
|
+
return ApiService.fetchDataWithAxios({
|
|
20
|
+
url: CENTRO_ENDPOINT.findCentroByCodigos.endpoint,
|
|
21
|
+
method: CENTRO_ENDPOINT.findCentroByCodigos.method,
|
|
22
|
+
data
|
|
23
|
+
});
|
|
24
|
+
}
|
|
18
25
|
async function apiFindMonitorCentro(body) {
|
|
19
26
|
return ApiService.fetchDataWithAxios({
|
|
20
27
|
url: CENTRO_ENDPOINT.findMonitor.endpoint,
|
|
@@ -25,6 +32,7 @@ async function apiFindMonitorCentro(body) {
|
|
|
25
32
|
export {
|
|
26
33
|
apiFindDmCentro,
|
|
27
34
|
apiFindDmCentroByCodigo,
|
|
35
|
+
apiFindDmCentroByCodigos,
|
|
28
36
|
apiFindMonitorCentro
|
|
29
37
|
};
|
|
30
38
|
//# sourceMappingURL=CentroService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CentroService.js","sources":["../../../../../../lib/base/services/modules/dm/centro/CentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types\";\nimport { TCentro } from \"@base/@types/models/dm/centro\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CENTRO_ENDPOINT = endpointsConfig.dm.centro;\n\nexport async function apiFindDmCentro(data = {}) {\n return ApiService.fetchDataWithAxios<TCentro[]>({\n url: CENTRO_ENDPOINT.find.endpoint,\n method: CENTRO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmCentroByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TCentro>({\n url: CENTRO_ENDPOINT.findCentroByCodigo.endpoint + `${codigo}`,\n method: CENTRO_ENDPOINT.findCentroByCodigo.method,\n })\n}\n\nexport async function apiFindMonitorCentro(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CENTRO_ENDPOINT.findMonitor.endpoint,\n method: CENTRO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,kBAAkBA,yBAAgB,GAAG;AAE3C,eAAsB,gBAAgB,OAAO,IAAI;AAC7C,SAAO,WAAW,mBAA8B;AAAA,IAC5C,KAAK,gBAAgB,KAAK;AAAA,IAC1B,QAAQ,gBAAgB,KAAK;AAAA,IAC7B;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,QAAgB;AAC1D,SAAO,WAAW,mBAA4B;AAAA,IAC1C,KAAK,gBAAgB,mBAAmB,WAAW,GAAG,MAAM;AAAA,IAC5D,QAAQ,gBAAgB,mBAAmB;AAAA,EAAA,CAC9C;AACL;AAEA,eAAsB,qBAAqB,MAAsB;AAC7D,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,gBAAgB,YAAY;AAAA,IACjC,QAAQ,gBAAgB,YAAY;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"CentroService.js","sources":["../../../../../../lib/base/services/modules/dm/centro/CentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types\";\nimport { TCentro } from \"@base/@types/models/dm/centro\";\nimport { endpointsConfig } from \"@base/configs\";\n\nconst CENTRO_ENDPOINT = endpointsConfig.dm.centro;\n\nexport async function apiFindDmCentro(data = {}) {\n return ApiService.fetchDataWithAxios<TCentro[]>({\n url: CENTRO_ENDPOINT.find.endpoint,\n method: CENTRO_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiFindDmCentroByCodigo(codigo: string) {\n return ApiService.fetchDataWithAxios<TCentro>({\n url: CENTRO_ENDPOINT.findCentroByCodigo.endpoint + `${codigo}`,\n method: CENTRO_ENDPOINT.findCentroByCodigo.method,\n })\n}\n\nexport async function apiFindDmCentroByCodigos(data) {\n return ApiService.fetchDataWithAxios({\n url: CENTRO_ENDPOINT.findCentroByCodigos.endpoint,\n method: CENTRO_ENDPOINT.findCentroByCodigos.method,\n data,\n })\n}\n\nexport async function apiFindMonitorCentro(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: CENTRO_ENDPOINT.findMonitor.endpoint,\n method: CENTRO_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,kBAAkBA,yBAAgB,GAAG;AAE3C,eAAsB,gBAAgB,OAAO,IAAI;AAC7C,SAAO,WAAW,mBAA8B;AAAA,IAC5C,KAAK,gBAAgB,KAAK;AAAA,IAC1B,QAAQ,gBAAgB,KAAK;AAAA,IAC7B;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,QAAgB;AAC1D,SAAO,WAAW,mBAA4B;AAAA,IAC1C,KAAK,gBAAgB,mBAAmB,WAAW,GAAG,MAAM;AAAA,IAC5D,QAAQ,gBAAgB,mBAAmB;AAAA,EAAA,CAC9C;AACL;AAEA,eAAsB,yBAAyB,MAAM;AACjD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,gBAAgB,oBAAoB;AAAA,IACzC,QAAQ,gBAAgB,oBAAoB;AAAA,IAC5C;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,qBAAqB,MAAsB;AAC7D,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,gBAAgB,YAAY;AAAA,IACjC,QAAQ,gBAAgB,YAAY;AAAA,IACpC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetBusinessPartnerByCnpjWithOptionalIe, apiGetDmBusinessPartner } from "./businessPartner/BusinessPartnerService.js";
|
|
2
2
|
import { apiFindDmCanalDistribuicao, apiFindDmCanalDistribuicaoByCodigo } from "./canalDistribuicao/CanalDistribuicaoService.js";
|
|
3
|
-
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindMonitorCentro } from "./centro/CentroService.js";
|
|
3
|
+
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindDmCentroByCodigos, apiFindMonitorCentro } from "./centro/CentroService.js";
|
|
4
4
|
import { apiFindMonitorCentroCusto } from "./centroCusto/CentroCustoService.js";
|
|
5
5
|
import { apiFindDmCondicaoPagamento, apiFindMonitorCondicaoPagamento, apiFindVerificaCadastroCompletoByCondicaoPagamento } from "./condicaoPagamento/CondicaoPagamentoService.js";
|
|
6
6
|
import { apiFindMonitorContaContabil } from "./contaContabil/ContaContabilService.js";
|
|
@@ -42,6 +42,7 @@ export {
|
|
|
42
42
|
apiFindDmCanalDistribuicaoByCodigo,
|
|
43
43
|
apiFindDmCentro,
|
|
44
44
|
apiFindDmCentroByCodigo,
|
|
45
|
+
apiFindDmCentroByCodigos,
|
|
45
46
|
apiFindDmCondicaoPagamento,
|
|
46
47
|
apiFindDmDeposito,
|
|
47
48
|
apiFindDmDepositoByCodigo,
|
|
@@ -120,7 +120,7 @@ import { apiFindByNomeOrCodigo } from "./transportadora/NaturezaCarga/NaturezaCa
|
|
|
120
120
|
import { apiFindByNotaFiscal } from "./transportadora/NotaFiscal/NotaFiscalService.js";
|
|
121
121
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetBusinessPartnerByCnpjWithOptionalIe, apiGetDmBusinessPartner } from "./dm/businessPartner/BusinessPartnerService.js";
|
|
122
122
|
import { apiFindDmCanalDistribuicao, apiFindDmCanalDistribuicaoByCodigo } from "./dm/canalDistribuicao/CanalDistribuicaoService.js";
|
|
123
|
-
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindMonitorCentro } from "./dm/centro/CentroService.js";
|
|
123
|
+
import { apiFindDmCentro, apiFindDmCentroByCodigo, apiFindDmCentroByCodigos, apiFindMonitorCentro } from "./dm/centro/CentroService.js";
|
|
124
124
|
import { apiFindDmCondicaoPagamento, apiFindMonitorCondicaoPagamento, apiFindVerificaCadastroCompletoByCondicaoPagamento } from "./dm/condicaoPagamento/CondicaoPagamentoService.js";
|
|
125
125
|
import { apiFindDmDeposito, apiFindDmDepositoByCodigo, apiFindDmDepositosByCodigoCentro, apiFindMonitorDeposito } from "./dm/deposito/DepositoService.js";
|
|
126
126
|
import { apiFindDmEquipeVenda, apiFindDmEquipeVendaByCodigo } from "./dm/equipeVenda/EquipeVendaService.js";
|
|
@@ -410,6 +410,7 @@ export {
|
|
|
410
410
|
apiFindDmCanalDistribuicaoByCodigo,
|
|
411
411
|
apiFindDmCentro,
|
|
412
412
|
apiFindDmCentroByCodigo,
|
|
413
|
+
apiFindDmCentroByCodigos,
|
|
413
414
|
apiFindDmCondicaoPagamento,
|
|
414
415
|
apiFindDmDeposito,
|
|
415
416
|
apiFindDmDepositoByCodigo,
|
|
@@ -4,6 +4,7 @@ const ticketEndpointConfig = {
|
|
|
4
4
|
add: `${TICKET_API_PATH}/`,
|
|
5
5
|
countAll: `${TICKET_API_PATH}/count`,
|
|
6
6
|
findAll: `${TICKET_API_PATH}/find`,
|
|
7
|
+
exportExcel: `${TICKET_API_PATH}/export-excel`,
|
|
7
8
|
findOne: `${TICKET_API_PATH}/`,
|
|
8
9
|
cancel: `${TICKET_API_PATH}/cancel`,
|
|
9
10
|
getPdf: `${TICKET_API_PATH}/pdf/`,
|
|
@@ -3,6 +3,7 @@ const CENTRO_BASE_URL = '/dados-mestres/api/dm/centro'
|
|
|
3
3
|
const centro = {
|
|
4
4
|
find: { endpoint: `${CENTRO_BASE_URL}/find`, method: 'post' },
|
|
5
5
|
findCentroByCodigo: { endpoint: `${CENTRO_BASE_URL}/find/`, method: 'post' },
|
|
6
|
+
findCentroByCodigos: { endpoint: `${CENTRO_BASE_URL}/find-by-codigos`, method: 'post' },
|
|
6
7
|
findMonitor: { endpoint: `${CENTRO_BASE_URL}/find-monitor`, httpMethod: 'post' }
|
|
7
8
|
}
|
|
8
9
|
|
|
@@ -17,6 +17,14 @@ export async function apiGetTickets(body) {
|
|
|
17
17
|
})
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
export async function apiExportExcel(body) {
|
|
21
|
+
return ApiService.fetchDataWithAxios({
|
|
22
|
+
url: ticketEndpointConfig.exportExcel,
|
|
23
|
+
method: 'post',
|
|
24
|
+
data: body,
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
|
|
20
28
|
export function apiGetTicket(id) {
|
|
21
29
|
return ApiService.fetchDataWithAxios({
|
|
22
30
|
url: ticketEndpointConfig.findOne + id,
|
|
@@ -20,6 +20,14 @@ export async function apiFindDmCentroByCodigo(codigo: string) {
|
|
|
20
20
|
})
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export async function apiFindDmCentroByCodigos(data) {
|
|
24
|
+
return ApiService.fetchDataWithAxios({
|
|
25
|
+
url: CENTRO_ENDPOINT.findCentroByCodigos.endpoint,
|
|
26
|
+
method: CENTRO_ENDPOINT.findCentroByCodigos.method,
|
|
27
|
+
data,
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
export async function apiFindMonitorCentro(body?: IFilterParams) {
|
|
24
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
|
|
25
33
|
url: CENTRO_ENDPOINT.findMonitor.endpoint,
|
package/package.json
CHANGED