@orbe-agro/client-core 5.3.162 → 5.3.164
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/centralNfe/centralNfe.d.ts +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +5 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/transportadora/contratoFrete.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/transportadora/contratoFrete.d.ts.map +1 -1
- package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts +1 -1
- package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts +1 -0
- package/dist/@types/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js +3 -3
- package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js +2 -1
- package/dist/base/configs/endpoints.config/transportadora/contratoFrete.js.map +1 -1
- package/dist/base/index.js +75 -74
- package/dist/base/services/index.js +71 -70
- package/dist/base/services/modules/centralNfe/index.js +15 -15
- package/dist/base/services/modules/centralNfe/nfe/NfeService.js +10 -10
- package/dist/base/services/modules/centralNfe/nfe/NfeService.js.map +1 -1
- package/dist/base/services/modules/index.js +71 -70
- package/dist/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.js +19 -11
- package/dist/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.js.map +1 -1
- package/dist/base/services/modules/transportadora/index.js +63 -62
- package/lib/base/configs/endpoints.config/centralNfe/config/nfe.ts +1 -1
- package/lib/base/configs/endpoints.config/transportadora/contratoFrete.ts +1 -0
- package/lib/base/services/modules/centralNfe/nfe/NfeService.ts +5 -3
- package/lib/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.ts +8 -0
- package/package.json +1 -1
|
@@ -70,23 +70,23 @@ import { apiAddCartaoPortadorFrete as Jr, apiFindAllCartaoPortadorFrete as Qr, a
|
|
|
70
70
|
import { apiAddCertificadoTransportadora as Yr, apiDownloadCertificadoTransportadora as Zr, apiFindAllMonitorCertificadoTransportadora as _r, apiGetCertificadoTransportadora as $r, apiUpdateCertificadoTransportadora as at } from "./transportadora/CertificadoTransportadora/CertificadoTransportadoraService.js";
|
|
71
71
|
import { apiAddCest as it, apiFindAllCest as et, apiGetCest as rt, apiUpdateCest as tt } from "./transportadora/Cest/CestService.js";
|
|
72
72
|
import { apiAddConta as dt, apiFindConta as nt } from "./transportadora/Conta/ContaService.js";
|
|
73
|
-
import { apiAddContratoFrete as mt, apiFindAllContratoFrete as ct, apiFindCalculoFrete as lt, apiFindContratoPorDocumento as Ct, apiFindvalorBrutoContrato as Ft, apiGetContratoFrete as At,
|
|
74
|
-
import { apiAddControleDescarga as
|
|
75
|
-
import { apiFindAllControleEmbarque as
|
|
76
|
-
import { apiAddFavorecido as
|
|
77
|
-
import { apiAddInss as
|
|
78
|
-
import { apiAddIrpf as
|
|
79
|
-
import { apiAddIss as
|
|
80
|
-
import { apiAddItinerario as
|
|
81
|
-
import { apiFindMaterial as
|
|
82
|
-
import { apiGetFornecedor as
|
|
83
|
-
import { apiFindByNomeOrCodigo as
|
|
84
|
-
import { apiFindByNotaFiscal as
|
|
85
|
-
import { apiAddOrdemCarregamento as
|
|
86
|
-
import { apiAddRemetenteDestinatario as
|
|
87
|
-
import { apiAddRota as
|
|
88
|
-
import { apiAddTipoCarga as
|
|
89
|
-
import { apiFindAllveiculo as
|
|
73
|
+
import { apiAddContratoFrete as mt, apiFindAllContratoFrete as ct, apiFindCalculoFrete as lt, apiFindContratoPorDocumento as Ct, apiFindvalorBrutoContrato as Ft, apiGetContratoFrete as At, apiRoteirizar as Dt, apiUpdateContratoFrete as ut, apiUpdateStatusParcela as ft } from "./transportadora/ContratoFrete/ContratoFreteService.js";
|
|
74
|
+
import { apiAddControleDescarga as Pt, apiFindAllControleDescarga as Rt, apiGetCodigoControleDescarga as Mt, apiGetControleDescarga as Gt, apiUpdateControleDescarga as gt } from "./transportadora/ControleDescarga/ControleDescargaService.js";
|
|
75
|
+
import { apiFindAllControleEmbarque as Tt } from "./transportadora/ControleEmbarque/ControleEmbarqueService.js";
|
|
76
|
+
import { apiAddFavorecido as Ut, apiFindAllFavorecido as St, apiFindFavorecidoByTipoBusca as yt } from "./transportadora/Favorecido/FavorecidoService.js";
|
|
77
|
+
import { apiAddInss as Et, apiFindAllInss as Ot, apiGetInss as Lt, apiUpdateInss as bt } from "./transportadora/Inss/InssService.js";
|
|
78
|
+
import { apiAddIrpf as Ht, apiFindAllIrpf as qt, apiGetIrpf as zt, apiUpdateIrpf as ht } from "./transportadora/Irpf/IrpfService.js";
|
|
79
|
+
import { apiAddIss as Nt, apiFindAllIss as kt, apiGeTIss as wt, apiUpdateIss as Kt } from "./transportadora/Iss/IssService.js";
|
|
80
|
+
import { apiAddItinerario as Qt, apiFindAllItinerario as Wt, apiGetItinerario as Xt, apiItinerarioFindRotaAndMaterial as Yt, apiItinerarioFindValorLiquidoFrete as Zt, apiUpdateItinerario as _t } from "./transportadora/Itinerario/ItinerarioService.js";
|
|
81
|
+
import { apiFindMaterial as ap } from "./transportadora/Material/MaterialService.js";
|
|
82
|
+
import { apiGetFornecedor as ip } from "./transportadora/Motorista/MotoristaService.js";
|
|
83
|
+
import { apiFindByNomeOrCodigo as rp } from "./transportadora/NaturezaCarga/NaturezaCargaService.js";
|
|
84
|
+
import { apiFindByNotaFiscal as pp } from "./transportadora/NotaFiscal/NotaFiscalService.js";
|
|
85
|
+
import { apiAddOrdemCarregamento as np, apiFindAllOrdemCarregamento as sp, apiGetCodigoOrdemCarregamento as mp, apiGetOrdemCarregamento as cp, apiUpdateOrdemCarregamento as lp } from "./transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
86
|
+
import { apiAddRemetenteDestinatario as Fp, apiFindAllRemetenteDestinatario as Ap, apiUpdateRemetenteDestinatario as Dp } from "./transportadora/RemetenteDestinatario/RemetenteDestinatarioService.js";
|
|
87
|
+
import { apiAddRota as fp, apiFindAllRota as xp, apiFindRotas as Pp, apiGetRota as Rp, apiUpdateRota as Mp, apiUpdateStatus as Gp } from "./transportadora/Rota/RotaService.js";
|
|
88
|
+
import { apiAddTipoCarga as Bp, apiFindAllTipoCarga as Tp, apiGetCodigoTipoCarga as Vp, apiGetTipoCarga as Up, apiUpdateTipoCarga as Sp } from "./transportadora/TiposCarga/TipoCargaService.js";
|
|
89
|
+
import { apiFindAllveiculo as Ip } from "./transportadora/Veiculo/VeiculoService.js";
|
|
90
90
|
export {
|
|
91
91
|
Ae as apiAddAssistenciaTecnicaSeloSocial,
|
|
92
92
|
Jr as apiAddCartaoPortadorFrete,
|
|
@@ -97,14 +97,14 @@ export {
|
|
|
97
97
|
M as apiAddCommoditiesPedidoVenda,
|
|
98
98
|
dt as apiAddConta,
|
|
99
99
|
mt as apiAddContratoFrete,
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
Pt as apiAddControleDescarga,
|
|
101
|
+
Ut as apiAddFavorecido,
|
|
102
102
|
Ve as apiAddHorarioAprovacao,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
Et as apiAddInss,
|
|
104
|
+
Ht as apiAddIrpf,
|
|
105
|
+
Nt as apiAddIss,
|
|
106
|
+
Qt as apiAddItinerario,
|
|
107
|
+
np as apiAddOrdemCarregamento,
|
|
108
108
|
_o as apiAddRacaoAutorizacaoAtendimentoCliente,
|
|
109
109
|
_i as apiAddRacaoCarga,
|
|
110
110
|
ri as apiAddRacaoGestaoComissaoRepresentante,
|
|
@@ -114,13 +114,13 @@ export {
|
|
|
114
114
|
Di as apiAddRacaoSegmentoProduto,
|
|
115
115
|
Mi as apiAddRacaoTabelaPreco,
|
|
116
116
|
vi as apiAddRacaoVinculoMaterialCentro,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
Fp as apiAddRemetenteDestinatario,
|
|
118
|
+
fp as apiAddRota,
|
|
119
119
|
de as apiAddSeloSocial,
|
|
120
120
|
qe as apiAddTaxaCessaoCredito,
|
|
121
121
|
Wo as apiAddTemplateExample,
|
|
122
122
|
ko as apiAddTemplateExampleObject,
|
|
123
|
-
|
|
123
|
+
Bp as apiAddTipoCarga,
|
|
124
124
|
Ee as apiAddVolumeProducaoSeloSocial,
|
|
125
125
|
ki as apiAprovarRacaoPedidoVenda,
|
|
126
126
|
gr as apiCancelPreContrato,
|
|
@@ -169,38 +169,38 @@ export {
|
|
|
169
169
|
et as apiFindAllCest,
|
|
170
170
|
Cr as apiFindAllContratoCompraGraos,
|
|
171
171
|
ct as apiFindAllContratoFrete,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
Rt as apiFindAllControleDescarga,
|
|
173
|
+
Tt as apiFindAllControleEmbarque,
|
|
174
174
|
Xe as apiFindAllCorretora,
|
|
175
175
|
xr as apiFindAllDocketEstados,
|
|
176
176
|
Ke as apiFindAllEmpresa,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
St as apiFindAllFavorecido,
|
|
178
|
+
Ot as apiFindAllInss,
|
|
179
|
+
qt as apiFindAllIrpf,
|
|
180
|
+
kt as apiFindAllIss,
|
|
181
|
+
Wt as apiFindAllItinerario,
|
|
182
182
|
_r as apiFindAllMonitorCertificadoTransportadora,
|
|
183
183
|
$e as apiFindAllOpcoes,
|
|
184
|
-
|
|
184
|
+
sp as apiFindAllOrdemCarregamento,
|
|
185
185
|
Vr as apiFindAllPreContrato,
|
|
186
186
|
Lr as apiFindAllPrecoDia,
|
|
187
187
|
br as apiFindAllPrecoDiaHistoricos,
|
|
188
188
|
wr as apiFindAllProdutoCommodity,
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
Ap as apiFindAllRemetenteDestinatario,
|
|
190
|
+
xp as apiFindAllRota,
|
|
191
191
|
ne as apiFindAllSeloSocial,
|
|
192
192
|
he as apiFindAllTaxaCessaoCredito,
|
|
193
|
-
|
|
193
|
+
Tp as apiFindAllTipoCarga,
|
|
194
194
|
oo as apiFindAllUfs,
|
|
195
|
-
|
|
195
|
+
Ip as apiFindAllveiculo,
|
|
196
196
|
ar as apiFindByIdCampo,
|
|
197
197
|
Fr as apiFindByIdContratoCompraGraos,
|
|
198
198
|
Je as apiFindByIdEmpresa,
|
|
199
199
|
Ur as apiFindByIdPreContrato,
|
|
200
200
|
vr as apiFindByIdPrecoDia,
|
|
201
201
|
Hr as apiFindByIdPrecoDiaHistoricos,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
rp as apiFindByNomeOrCodigo,
|
|
203
|
+
pp as apiFindByNotaFiscal,
|
|
204
204
|
lt as apiFindCalculoFrete,
|
|
205
205
|
Wr as apiFindCartaoPortadorFreteByTipoBusca,
|
|
206
206
|
nt as apiFindConta,
|
|
@@ -251,7 +251,7 @@ export {
|
|
|
251
251
|
v as apiFindDmVendedoresAKARepresentantesVendas,
|
|
252
252
|
Pr as apiFindDocketCidadesByEstadoId,
|
|
253
253
|
H as apiFindEmpresasIdsByCnpj,
|
|
254
|
-
|
|
254
|
+
yt as apiFindFavorecidoByTipoBusca,
|
|
255
255
|
q as apiFindFornecedorNfeByCnpj,
|
|
256
256
|
bo as apiFindHistoricoAcaoByIdEntidade,
|
|
257
257
|
or as apiFindHistoricoById,
|
|
@@ -259,7 +259,7 @@ export {
|
|
|
259
259
|
Sr as apiFindHistoricoByIdPreContrato,
|
|
260
260
|
Ao as apiFindHistoricosMovimentacao,
|
|
261
261
|
te as apiFindLimiteCredito,
|
|
262
|
-
|
|
262
|
+
ap as apiFindMaterial,
|
|
263
263
|
zo as apiFindMonitorCadastroEstrategiaLiberacaoValor,
|
|
264
264
|
W as apiFindMonitorCentro,
|
|
265
265
|
Y as apiFindMonitorCentroCusto,
|
|
@@ -306,13 +306,13 @@ export {
|
|
|
306
306
|
Eo as apiFindOrdensComprasNfeByIdsFornecedores,
|
|
307
307
|
oe as apiFindOrdensDisponiveisRacaoCarga,
|
|
308
308
|
Ii as apiFindRacaoListaTecnica,
|
|
309
|
-
|
|
309
|
+
Pp as apiFindRotas,
|
|
310
310
|
Dr as apiFindSaldoByIdContratoCompraGraos,
|
|
311
311
|
f as apiFindSaldoCommoditiesContratoBiodiesel,
|
|
312
312
|
ja as apiFindUser,
|
|
313
313
|
aa as apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
314
314
|
Ft as apiFindvalorBrutoContrato,
|
|
315
|
-
|
|
315
|
+
wt as apiGeTIss,
|
|
316
316
|
qr as apiGenerateTemplatePrecoDia,
|
|
317
317
|
ue as apiGetAssistenciaTecnicaSeloSocial,
|
|
318
318
|
fe as apiGetAssistenciaTecnicaSeloSocialHistoricos,
|
|
@@ -321,21 +321,21 @@ export {
|
|
|
321
321
|
Ge as apiGetCessaoDireitoCredito,
|
|
322
322
|
ge as apiGetCessaoDireitoCreditoHistoricos,
|
|
323
323
|
rt as apiGetCest,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
Mt as apiGetCodigoControleDescarga,
|
|
325
|
+
mp as apiGetCodigoOrdemCarregamento,
|
|
326
|
+
Vp as apiGetCodigoTipoCarga,
|
|
327
327
|
x as apiGetCommoditiesContratoBiodiesel,
|
|
328
328
|
B as apiGetCommoditiesPedidoVenda,
|
|
329
329
|
At as apiGetContratoFrete,
|
|
330
|
-
|
|
330
|
+
Gt as apiGetControleDescarga,
|
|
331
331
|
j as apiGetDmBusinessPartner,
|
|
332
332
|
pr as apiGetFileDadosPenhores,
|
|
333
|
-
|
|
333
|
+
ip as apiGetFornecedor,
|
|
334
334
|
Se as apiGetHorarioAprovacao,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
335
|
+
Lt as apiGetInss,
|
|
336
|
+
zt as apiGetIrpf,
|
|
337
|
+
Xt as apiGetItinerario,
|
|
338
|
+
cp as apiGetOrdemCarregamento,
|
|
339
339
|
oi as apiGetRacaoAutorizacaoAtendimentoCliente,
|
|
340
340
|
ie as apiGetRacaoCarga,
|
|
341
341
|
di as apiGetRacaoGestaoComissaoRepresentante,
|
|
@@ -346,20 +346,21 @@ export {
|
|
|
346
346
|
Bi as apiGetRacaoTabelaPreco,
|
|
347
347
|
zi as apiGetRacaoVinculoMaterialCentro,
|
|
348
348
|
l as apiGetRoles,
|
|
349
|
-
|
|
349
|
+
Rp as apiGetRota,
|
|
350
350
|
ce as apiGetSeloSocial,
|
|
351
351
|
le as apiGetSeloSocialHistoricos,
|
|
352
352
|
je as apiGetTaxaCessaoCredito,
|
|
353
353
|
Xo as apiGetTemplateExample,
|
|
354
|
-
|
|
354
|
+
Up as apiGetTipoCarga,
|
|
355
355
|
C as apiGetUsers,
|
|
356
356
|
Le as apiGetVolumeProducaoSeloSocial,
|
|
357
357
|
be as apiGetVolumeProducaoSeloSocialBySafraId,
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
Yt as apiItinerarioFindRotaAndMaterial,
|
|
359
|
+
Zt as apiItinerarioFindValorLiquidoFrete,
|
|
360
360
|
dr as apiLancarPenhores,
|
|
361
361
|
Oi as apiLatestRacaoListaTecnica,
|
|
362
362
|
Xi as apiReprovarRacaoPedidoVenda,
|
|
363
|
+
Dt as apiRoteirizar,
|
|
363
364
|
nr as apiSendMail,
|
|
364
365
|
xe as apiUpdateAssistenciaTecnicaSeloSocial,
|
|
365
366
|
jo as apiUpdateCadastroEstrategiaLiberacaoValor,
|
|
@@ -368,17 +369,17 @@ export {
|
|
|
368
369
|
tt as apiUpdateCest,
|
|
369
370
|
P as apiUpdateCommoditiesContratoBiodiesel,
|
|
370
371
|
T as apiUpdateCommoditiesPedidoVenda,
|
|
371
|
-
|
|
372
|
-
|
|
372
|
+
ut as apiUpdateContratoFrete,
|
|
373
|
+
gt as apiUpdateControleDescarga,
|
|
373
374
|
Vo as apiUpdateCotacao,
|
|
374
375
|
ye as apiUpdateHorarioAprovacao,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
376
|
+
bt as apiUpdateInss,
|
|
377
|
+
ht as apiUpdateIrpf,
|
|
378
|
+
Kt as apiUpdateIss,
|
|
379
|
+
_t as apiUpdateItinerario,
|
|
379
380
|
co as apiUpdateLocalRecepcao,
|
|
380
381
|
ir as apiUpdateOpcao,
|
|
381
|
-
|
|
382
|
+
lp as apiUpdateOrdemCarregamento,
|
|
382
383
|
Oo as apiUpdateOrdemCompra,
|
|
383
384
|
zr as apiUpdatePrecoDia,
|
|
384
385
|
ii as apiUpdateRacaoAutorizacaoAtendimentoCliente,
|
|
@@ -390,19 +391,19 @@ export {
|
|
|
390
391
|
Pi as apiUpdateRacaoSegmentoProduto,
|
|
391
392
|
Ti as apiUpdateRacaoTabelaPreco,
|
|
392
393
|
hi as apiUpdateRacaoVinculoMaterialCentro,
|
|
393
|
-
|
|
394
|
+
Dp as apiUpdateRemetenteDestinatario,
|
|
394
395
|
fo as apiUpdateRequisicaoCompra,
|
|
395
|
-
|
|
396
|
+
Mp as apiUpdateRota,
|
|
396
397
|
Ce as apiUpdateSeloSocial,
|
|
397
|
-
|
|
398
|
+
Gp as apiUpdateStatus,
|
|
398
399
|
ur as apiUpdateStatusContratoCompraGraos,
|
|
399
|
-
|
|
400
|
+
ft as apiUpdateStatusParcela,
|
|
400
401
|
yr as apiUpdateStatusPreContrato,
|
|
401
402
|
hr as apiUpdateStatusPrecoDia,
|
|
402
403
|
Ne as apiUpdateTaxaCessaoCredito,
|
|
403
404
|
Yo as apiUpdateTemplateExample,
|
|
404
405
|
Jo as apiUpdateTemplateExampleObject,
|
|
405
|
-
|
|
406
|
+
Sp as apiUpdateTipoCarga,
|
|
406
407
|
ve as apiUpdateVolumeProducaoSeloSocial,
|
|
407
408
|
sr as apiUploadFileDadosPenhores,
|
|
408
409
|
jr as apiUploadTemplatePrecoDia
|
|
@@ -1,60 +1,67 @@
|
|
|
1
1
|
import i from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
2
|
-
import
|
|
2
|
+
import a from "../../../../../@ecme/services/ApiService.js";
|
|
3
3
|
const t = i.contratoFrete;
|
|
4
4
|
async function u(o) {
|
|
5
|
-
return
|
|
5
|
+
return a.fetchDataWithAxios({
|
|
6
6
|
url: t.findOne.endpoint + `${o}`,
|
|
7
7
|
method: t.findOne.method
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
async function c(o) {
|
|
11
|
-
return
|
|
11
|
+
return a.fetchDataWithAxios({
|
|
12
12
|
url: t.add.endpoint,
|
|
13
13
|
method: t.add.method,
|
|
14
14
|
data: o
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
async function h(o) {
|
|
18
|
-
return
|
|
18
|
+
return a.fetchDataWithAxios({
|
|
19
19
|
url: t.update.endpoint,
|
|
20
20
|
method: t.update.method,
|
|
21
21
|
data: o
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
async function f(o) {
|
|
25
|
-
return
|
|
25
|
+
return a.fetchDataWithAxios({
|
|
26
26
|
url: t.findAll.endpoint,
|
|
27
27
|
method: t.findAll.method,
|
|
28
28
|
data: o
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
async function p(o,
|
|
32
|
-
return
|
|
33
|
-
url: `${t.updateStatusParcela.endpoint}/${o}/${
|
|
31
|
+
async function p(o, n, e) {
|
|
32
|
+
return a.fetchDataWithAxios({
|
|
33
|
+
url: `${t.updateStatusParcela.endpoint}/${o}/${n}`,
|
|
34
34
|
method: t.updateStatusParcela.method,
|
|
35
35
|
data: e
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
async function l(o) {
|
|
39
|
-
return
|
|
39
|
+
return a.fetchDataWithAxios({
|
|
40
40
|
url: `${t.findValorBrutoContrato.endpoint}/${o}`,
|
|
41
41
|
method: t.findValorBrutoContrato.method
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
async function m(o) {
|
|
45
|
-
return
|
|
45
|
+
return a.fetchDataWithAxios({
|
|
46
46
|
url: t.findCalculoFrete.endpoint,
|
|
47
47
|
method: t.findCalculoFrete.method,
|
|
48
48
|
data: o
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
async function s(o) {
|
|
52
|
-
return
|
|
52
|
+
return a.fetchDataWithAxios({
|
|
53
53
|
url: t.findContratoPorDocumento.endpoint,
|
|
54
54
|
method: t.findContratoPorDocumento.method,
|
|
55
55
|
data: o
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
+
async function C(o) {
|
|
59
|
+
return a.fetchDataWithAxios({
|
|
60
|
+
url: t.roteirizar.endpoint,
|
|
61
|
+
method: t.roteirizar.method,
|
|
62
|
+
data: o
|
|
63
|
+
});
|
|
64
|
+
}
|
|
58
65
|
export {
|
|
59
66
|
c as apiAddContratoFrete,
|
|
60
67
|
f as apiFindAllContratoFrete,
|
|
@@ -62,6 +69,7 @@ export {
|
|
|
62
69
|
s as apiFindContratoPorDocumento,
|
|
63
70
|
l as apiFindvalorBrutoContrato,
|
|
64
71
|
u as apiGetContratoFrete,
|
|
72
|
+
C as apiRoteirizar,
|
|
65
73
|
h as apiUpdateContratoFrete,
|
|
66
74
|
p as apiUpdateStatusParcela
|
|
67
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContratoFreteService.js","sources":["../../../../../../lib/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TContratoFrete } from '@base/@types/models/transportadora/contratoFrete';\nimport { TContratoFreteViagemParcela } from '@base/@types/models/transportadora/contratoFreteViagemParcela';\nimport { TValorBrutoContrato } from '@base/@types/models/transportadora/valorBrutoContrato';\nimport { TPageCalculoFreteRequest, TCalculoFreteResponse } from '@base/@types/api';\nimport { TContratoPorDocumentoFilter } from '@base/@types/models/transportadora/contratoPorDocumento';\nimport { TContratoPorDocumentoResponse } from '@base/@types/api/response/transportadora/TContratoPorDocumentoResponse';\n\nconst CONTRATO_FRETE_PROJECT_ENDPOINT = endpointConfig.contratoFrete;\n\nexport async function apiGetContratoFrete(id: string) {\n return ApiService.fetchDataWithAxios<TContratoFrete>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddContratoFrete(body: TContratoFrete) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.add.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateContratoFrete(body: TContratoFrete) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.update.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiFindAllContratoFrete(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findAll.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findAll.method,\n data: body,\n })\n}\n\nexport async function apiUpdateStatusParcela(id: number, statusParcela: string, parcelas: TContratoFreteViagemParcela[]) {\n return ApiService.fetchDataWithAxios<TContratoFrete>({\n url: `${CONTRATO_FRETE_PROJECT_ENDPOINT.updateStatusParcela.endpoint}/${id}/${statusParcela}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.updateStatusParcela.method,\n data: parcelas as any,\n })\n}\n\nexport async function apiFindvalorBrutoContrato(cpf: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TValorBrutoContrato>>({\n url: `${CONTRATO_FRETE_PROJECT_ENDPOINT.findValorBrutoContrato.endpoint}/${cpf}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findValorBrutoContrato.method,\n });\n}\n\nexport async function apiFindCalculoFrete(request: TPageCalculoFreteRequest) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCalculoFreteResponse>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findCalculoFrete.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findCalculoFrete.method,\n data: request,\n })\n}\n\nexport async function apiFindContratoPorDocumento(body: TContratoPorDocumentoFilter) {\n return ApiService.fetchDataWithAxios<TContratoPorDocumentoResponse>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findContratoPorDocumento.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findContratoPorDocumento.method,\n data: body,\n })\n}\n"],"names":["CONTRATO_FRETE_PROJECT_ENDPOINT","endpointConfig","apiGetContratoFrete","id","ApiService","apiAddContratoFrete","body","apiUpdateContratoFrete","apiFindAllContratoFrete","apiUpdateStatusParcela","statusParcela","parcelas","apiFindvalorBrutoContrato","cpf","apiFindCalculoFrete","request","apiFindContratoPorDocumento"],"mappings":";;AAUA,MAAMA,IAAkCC,EAAe;AAEvD,eAAsBC,EAAoBC,GAAY;AAClD,SAAOC,EAAW,mBAAmC;AAAA,IACjD,KAAKJ,EAAgC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC7D,QAAQH,EAAgC,QAAQ;AAAA,EAAA,CACnD;AACL;AAEA,eAAsBK,EAAoBC,GAAsB;AAC5D,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,IAAI;AAAA,IACzC,QAAQA,EAAgC,IAAI;AAAA,IAC5C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAuBD,GAAsB;AAC/D,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,OAAO;AAAA,IAC5C,QAAQA,EAAgC,OAAO;AAAA,IAC/C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAwBF,GAAsB;AAChE,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,QAAQ;AAAA,IAC7C,QAAQA,EAAgC,QAAQ;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEsB,eAAAG,EAAuBN,GAAYO,GAAuBC,GAAyC;AACrH,SAAOP,EAAW,mBAAmC;AAAA,IACjD,KAAK,GAAGJ,EAAgC,oBAAoB,QAAQ,IAAIG,CAAE,IAAIO,CAAa;AAAA,IAC3F,QAAQV,EAAgC,oBAAoB;AAAA,IAC5D,MAAMW;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BC,GAAa;AACzD,SAAOT,EAAW,mBAAwD;AAAA,IACtE,KAAK,GAAGJ,EAAgC,uBAAuB,QAAQ,IAAIa,CAAG;AAAA,IAC9E,QAAQb,EAAgC,uBAAuB;AAAA,EAAA,CAClE;AACL;AAEA,eAAsBc,EAAoBC,GAAmC;AACzE,SAAOX,EAAW,mBAA0D;AAAA,IACxE,KAAKJ,EAAgC,iBAAiB;AAAA,IACtD,QAAQA,EAAgC,iBAAiB;AAAA,IACzD,MAAMe;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA4BV,GAAmC;AACjF,SAAOF,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAgC,yBAAyB;AAAA,IAC9D,QAAQA,EAAgC,yBAAyB;AAAA,IACjE,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"ContratoFreteService.js","sources":["../../../../../../lib/base/services/modules/transportadora/ContratoFrete/ContratoFreteService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TContratoFrete } from '@base/@types/models/transportadora/contratoFrete';\nimport { TContratoFreteViagemParcela } from '@base/@types/models/transportadora/contratoFreteViagemParcela';\nimport { TValorBrutoContrato } from '@base/@types/models/transportadora/valorBrutoContrato';\nimport { TPageCalculoFreteRequest, TCalculoFreteResponse } from '@base/@types/api';\nimport { TContratoPorDocumentoFilter } from '@base/@types/models/transportadora/contratoPorDocumento';\nimport { TContratoPorDocumentoResponse } from '@base/@types/api/response/transportadora/TContratoPorDocumentoResponse';\n\nconst CONTRATO_FRETE_PROJECT_ENDPOINT = endpointConfig.contratoFrete;\n\nexport async function apiGetContratoFrete(id: string) {\n return ApiService.fetchDataWithAxios<TContratoFrete>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddContratoFrete(body: TContratoFrete) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.add.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateContratoFrete(body: TContratoFrete) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.update.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiFindAllContratoFrete(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TContratoFrete>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findAll.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findAll.method,\n data: body,\n })\n}\n\nexport async function apiUpdateStatusParcela(id: number, statusParcela: string, parcelas: TContratoFreteViagemParcela[]) {\n return ApiService.fetchDataWithAxios<TContratoFrete>({\n url: `${CONTRATO_FRETE_PROJECT_ENDPOINT.updateStatusParcela.endpoint}/${id}/${statusParcela}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.updateStatusParcela.method,\n data: parcelas as any,\n })\n}\n\nexport async function apiFindvalorBrutoContrato(cpf: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TValorBrutoContrato>>({\n url: `${CONTRATO_FRETE_PROJECT_ENDPOINT.findValorBrutoContrato.endpoint}/${cpf}`,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findValorBrutoContrato.method,\n });\n}\n\nexport async function apiFindCalculoFrete(request: TPageCalculoFreteRequest) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCalculoFreteResponse>>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findCalculoFrete.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findCalculoFrete.method,\n data: request,\n })\n}\n\nexport async function apiFindContratoPorDocumento(body: TContratoPorDocumentoFilter) {\n return ApiService.fetchDataWithAxios<TContratoPorDocumentoResponse>({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.findContratoPorDocumento.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.findContratoPorDocumento.method,\n data: body,\n })\n}\n\nexport async function apiRoteirizar(body) {\n return ApiService.fetchDataWithAxios({\n url: CONTRATO_FRETE_PROJECT_ENDPOINT.roteirizar.endpoint,\n method: CONTRATO_FRETE_PROJECT_ENDPOINT.roteirizar.method,\n data: body,\n })\n}\n"],"names":["CONTRATO_FRETE_PROJECT_ENDPOINT","endpointConfig","apiGetContratoFrete","id","ApiService","apiAddContratoFrete","body","apiUpdateContratoFrete","apiFindAllContratoFrete","apiUpdateStatusParcela","statusParcela","parcelas","apiFindvalorBrutoContrato","cpf","apiFindCalculoFrete","request","apiFindContratoPorDocumento","apiRoteirizar"],"mappings":";;AAUA,MAAMA,IAAkCC,EAAe;AAEvD,eAAsBC,EAAoBC,GAAY;AAClD,SAAOC,EAAW,mBAAmC;AAAA,IACjD,KAAKJ,EAAgC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC7D,QAAQH,EAAgC,QAAQ;AAAA,EAAA,CACnD;AACL;AAEA,eAAsBK,EAAoBC,GAAsB;AAC5D,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,IAAI;AAAA,IACzC,QAAQA,EAAgC,IAAI;AAAA,IAC5C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAuBD,GAAsB;AAC/D,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,OAAO;AAAA,IAC5C,QAAQA,EAAgC,OAAO;AAAA,IAC/C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAwBF,GAAsB;AAChE,SAAOF,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAgC,QAAQ;AAAA,IAC7C,QAAQA,EAAgC,QAAQ;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEsB,eAAAG,EAAuBN,GAAYO,GAAuBC,GAAyC;AACrH,SAAOP,EAAW,mBAAmC;AAAA,IACjD,KAAK,GAAGJ,EAAgC,oBAAoB,QAAQ,IAAIG,CAAE,IAAIO,CAAa;AAAA,IAC3F,QAAQV,EAAgC,oBAAoB;AAAA,IAC5D,MAAMW;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BC,GAAa;AACzD,SAAOT,EAAW,mBAAwD;AAAA,IACtE,KAAK,GAAGJ,EAAgC,uBAAuB,QAAQ,IAAIa,CAAG;AAAA,IAC9E,QAAQb,EAAgC,uBAAuB;AAAA,EAAA,CAClE;AACL;AAEA,eAAsBc,EAAoBC,GAAmC;AACzE,SAAOX,EAAW,mBAA0D;AAAA,IACxE,KAAKJ,EAAgC,iBAAiB;AAAA,IACtD,QAAQA,EAAgC,iBAAiB;AAAA,IACzD,MAAMe;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA4BV,GAAmC;AACjF,SAAOF,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAgC,yBAAyB;AAAA,IAC9D,QAAQA,EAAgC,yBAAyB;AAAA,IACjE,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBW,EAAcX,GAAM;AACtC,SAAOF,EAAW,mBAAmB;AAAA,IACjC,KAAKJ,EAAgC,WAAW;AAAA,IAChD,QAAQA,EAAgC,WAAW;AAAA,IACnD,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1,97 +1,98 @@
|
|
|
1
|
-
import { apiAddCartaoPortadorFrete as
|
|
1
|
+
import { apiAddCartaoPortadorFrete as r, apiFindAllCartaoPortadorFrete as o, apiFindCartaoPortadorFreteByTipoBusca as t } from "./CartaoPortadorFrete/CartaoPortadorFreteService.js";
|
|
2
2
|
import { apiAddCertificadoTransportadora as p, apiDownloadCertificadoTransportadora as d, apiFindAllMonitorCertificadoTransportadora as n, apiGetCertificadoTransportadora as l, apiUpdateCertificadoTransportadora as F } from "./CertificadoTransportadora/CertificadoTransportadoraService.js";
|
|
3
3
|
import { apiAddCest as s, apiFindAllCest as m, apiGetCest as A, apiUpdateCest as f } from "./Cest/CestService.js";
|
|
4
4
|
import { apiAddConta as x, apiFindConta as g } from "./Conta/ContaService.js";
|
|
5
|
-
import { apiAddContratoFrete as G, apiFindAllContratoFrete as U, apiFindCalculoFrete as T, apiFindContratoPorDocumento as u, apiFindvalorBrutoContrato as D, apiGetContratoFrete as R,
|
|
6
|
-
import { apiAddControleDescarga as
|
|
7
|
-
import { apiFindAllControleEmbarque as
|
|
5
|
+
import { apiAddContratoFrete as G, apiFindAllContratoFrete as U, apiFindCalculoFrete as T, apiFindContratoPorDocumento as u, apiFindvalorBrutoContrato as D, apiGetContratoFrete as R, apiRoteirizar as B, apiUpdateContratoFrete as O, apiUpdateStatusParcela as v } from "./ContratoFrete/ContratoFreteService.js";
|
|
6
|
+
import { apiAddControleDescarga as y, apiFindAllControleDescarga as M, apiGetCodigoControleDescarga as q, apiGetControleDescarga as N, apiUpdateControleDescarga as S } from "./ControleDescarga/ControleDescargaService.js";
|
|
7
|
+
import { apiFindAllControleEmbarque as w } from "./ControleEmbarque/ControleEmbarqueService.js";
|
|
8
8
|
import { apiAddFavorecido as E, apiFindAllFavorecido as L, apiFindFavorecidoByTipoBusca as V } from "./Favorecido/FavorecidoService.js";
|
|
9
|
-
import { apiAddInss as j, apiFindAllInss as k, apiGetInss as
|
|
10
|
-
import { apiAddIrpf as
|
|
11
|
-
import { apiAddIss as
|
|
12
|
-
import { apiAddItinerario as
|
|
13
|
-
import { apiFindMaterial as
|
|
14
|
-
import { apiGetFornecedor as
|
|
15
|
-
import { apiFindByNomeOrCodigo as
|
|
16
|
-
import { apiFindByNotaFiscal as
|
|
17
|
-
import { apiAddOrdemCarregamento as
|
|
18
|
-
import { apiAddRemetenteDestinatario as
|
|
19
|
-
import { apiAddRota as
|
|
20
|
-
import { apiAddTipoCarga as
|
|
9
|
+
import { apiAddInss as j, apiFindAllInss as k, apiGetInss as H, apiUpdateInss as J } from "./Inss/InssService.js";
|
|
10
|
+
import { apiAddIrpf as Q, apiFindAllIrpf as W, apiGetIrpf as X, apiUpdateIrpf as Y } from "./Irpf/IrpfService.js";
|
|
11
|
+
import { apiAddIss as _, apiFindAllIss as $, apiGeTIss as aa, apiUpdateIss as ia } from "./Iss/IssService.js";
|
|
12
|
+
import { apiAddItinerario as oa, apiFindAllItinerario as ta, apiGetItinerario as ea, apiItinerarioFindRotaAndMaterial as pa, apiItinerarioFindValorLiquidoFrete as da, apiUpdateItinerario as na } from "./Itinerario/ItinerarioService.js";
|
|
13
|
+
import { apiFindMaterial as Fa } from "./Material/MaterialService.js";
|
|
14
|
+
import { apiGetFornecedor as sa } from "./Motorista/MotoristaService.js";
|
|
15
|
+
import { apiFindByNomeOrCodigo as Aa } from "./NaturezaCarga/NaturezaCargaService.js";
|
|
16
|
+
import { apiFindByNotaFiscal as ca } from "./NotaFiscal/NotaFiscalService.js";
|
|
17
|
+
import { apiAddOrdemCarregamento as ga, apiFindAllOrdemCarregamento as Ia, apiGetCodigoOrdemCarregamento as Ga, apiGetOrdemCarregamento as Ua, apiUpdateOrdemCarregamento as Ta } from "./OrdemCarregamento/OrdemCarregamentoService.js";
|
|
18
|
+
import { apiAddRemetenteDestinatario as Da, apiFindAllRemetenteDestinatario as Ra, apiUpdateRemetenteDestinatario as Ba } from "./RemetenteDestinatario/RemetenteDestinatarioService.js";
|
|
19
|
+
import { apiAddRota as va, apiFindAllRota as Pa, apiFindRotas as ya, apiGetRota as Ma, apiUpdateRota as qa, apiUpdateStatus as Na } from "./Rota/RotaService.js";
|
|
20
|
+
import { apiAddTipoCarga as ba, apiFindAllTipoCarga as wa, apiGetCodigoTipoCarga as za, apiGetTipoCarga as Ea, apiUpdateTipoCarga as La } from "./TiposCarga/TipoCargaService.js";
|
|
21
21
|
import { apiFindAllveiculo as ha } from "./Veiculo/VeiculoService.js";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
r as apiAddCartaoPortadorFrete,
|
|
24
24
|
p as apiAddCertificadoTransportadora,
|
|
25
25
|
s as apiAddCest,
|
|
26
26
|
x as apiAddConta,
|
|
27
27
|
G as apiAddContratoFrete,
|
|
28
|
-
|
|
28
|
+
y as apiAddControleDescarga,
|
|
29
29
|
E as apiAddFavorecido,
|
|
30
30
|
j as apiAddInss,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
Q as apiAddIrpf,
|
|
32
|
+
_ as apiAddIss,
|
|
33
|
+
oa as apiAddItinerario,
|
|
34
|
+
ga as apiAddOrdemCarregamento,
|
|
35
|
+
Da as apiAddRemetenteDestinatario,
|
|
36
|
+
va as apiAddRota,
|
|
37
|
+
ba as apiAddTipoCarga,
|
|
38
38
|
d as apiDownloadCertificadoTransportadora,
|
|
39
39
|
o as apiFindAllCartaoPortadorFrete,
|
|
40
40
|
m as apiFindAllCest,
|
|
41
41
|
U as apiFindAllContratoFrete,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
M as apiFindAllControleDescarga,
|
|
43
|
+
w as apiFindAllControleEmbarque,
|
|
44
44
|
L as apiFindAllFavorecido,
|
|
45
45
|
k as apiFindAllInss,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
W as apiFindAllIrpf,
|
|
47
|
+
$ as apiFindAllIss,
|
|
48
|
+
ta as apiFindAllItinerario,
|
|
49
49
|
n as apiFindAllMonitorCertificadoTransportadora,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
Ia as apiFindAllOrdemCarregamento,
|
|
51
|
+
Ra as apiFindAllRemetenteDestinatario,
|
|
52
|
+
Pa as apiFindAllRota,
|
|
53
|
+
wa as apiFindAllTipoCarga,
|
|
54
54
|
ha as apiFindAllveiculo,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
Aa as apiFindByNomeOrCodigo,
|
|
56
|
+
ca as apiFindByNotaFiscal,
|
|
57
57
|
T as apiFindCalculoFrete,
|
|
58
58
|
t as apiFindCartaoPortadorFreteByTipoBusca,
|
|
59
59
|
g as apiFindConta,
|
|
60
60
|
u as apiFindContratoPorDocumento,
|
|
61
61
|
V as apiFindFavorecidoByTipoBusca,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
Fa as apiFindMaterial,
|
|
63
|
+
ya as apiFindRotas,
|
|
64
64
|
D as apiFindvalorBrutoContrato,
|
|
65
|
-
|
|
65
|
+
aa as apiGeTIss,
|
|
66
66
|
l as apiGetCertificadoTransportadora,
|
|
67
67
|
A as apiGetCest,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
q as apiGetCodigoControleDescarga,
|
|
69
|
+
Ga as apiGetCodigoOrdemCarregamento,
|
|
70
|
+
za as apiGetCodigoTipoCarga,
|
|
71
71
|
R as apiGetContratoFrete,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
N as apiGetControleDescarga,
|
|
73
|
+
sa as apiGetFornecedor,
|
|
74
|
+
H as apiGetInss,
|
|
75
|
+
X as apiGetIrpf,
|
|
76
|
+
ea as apiGetItinerario,
|
|
77
|
+
Ua as apiGetOrdemCarregamento,
|
|
78
|
+
Ma as apiGetRota,
|
|
79
79
|
Ea as apiGetTipoCarga,
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
pa as apiItinerarioFindRotaAndMaterial,
|
|
81
|
+
da as apiItinerarioFindValorLiquidoFrete,
|
|
82
|
+
B as apiRoteirizar,
|
|
82
83
|
F as apiUpdateCertificadoTransportadora,
|
|
83
84
|
f as apiUpdateCest,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
O as apiUpdateContratoFrete,
|
|
86
|
+
S as apiUpdateControleDescarga,
|
|
87
|
+
J as apiUpdateInss,
|
|
88
|
+
Y as apiUpdateIrpf,
|
|
89
|
+
ia as apiUpdateIss,
|
|
90
|
+
na as apiUpdateItinerario,
|
|
91
|
+
Ta as apiUpdateOrdemCarregamento,
|
|
92
|
+
Ba as apiUpdateRemetenteDestinatario,
|
|
93
|
+
qa as apiUpdateRota,
|
|
94
|
+
Na as apiUpdateStatus,
|
|
95
|
+
v as apiUpdateStatusParcela,
|
|
95
96
|
La as apiUpdateTipoCarga
|
|
96
97
|
};
|
|
97
98
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ const nfe = {
|
|
|
5
5
|
findOne: { endpoint: NFE_BASE_URL, httpMethod: 'get' },
|
|
6
6
|
update: { endpoint: NFE_BASE_URL, httpMethod: 'patch' },
|
|
7
7
|
downloadPdfByChaveAcesso: { endpoint: `${NFE_BASE_URL}/download-pdf`, httpMethod: 'get' },
|
|
8
|
-
|
|
8
|
+
validacaoImposto: { endpoint: `${NFE_BASE_URL}/{id}/{numeroPedido}/validacao-imposto`, httpMethod: 'post' },
|
|
9
9
|
addLancamentoManual: { endpoint: `${NFE_BASE_URL}/add/lancamento-manual`, httpMethod: 'patch' },
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -10,5 +10,6 @@ const contratoFrete = {
|
|
|
10
10
|
findValorBrutoContrato: {endpoint: `${CONTRATO_FRETE_URL}/update/status-parcela/`, method: 'get'},
|
|
11
11
|
findCalculoFrete: {endpoint: `${CONTRATO_FRETE_URL}/find-calculo-frete`, method: 'post'},
|
|
12
12
|
findContratoPorDocumento: {endpoint: `${CONTRATO_FRETE_URL}/contrato-por-documento`, method: 'post'},
|
|
13
|
+
roteirizar: {endpoint: `${CONTRATO_FRETE_URL}/roteirizar`, method: 'post'},
|
|
13
14
|
}
|
|
14
15
|
export default contratoFrete
|
|
@@ -33,10 +33,12 @@ export async function downloadPdfByChaveAcesso(chaveAcesso: string) {
|
|
|
33
33
|
})
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export async function
|
|
36
|
+
export async function buscaValidacaoImposto(id: number, numeroPedido: string) {
|
|
37
37
|
return ApiService.fetchDataWithAxios<any>({
|
|
38
|
-
url:
|
|
39
|
-
|
|
38
|
+
url: NFE_ENDPOINT.validacaoImposto.endpoint
|
|
39
|
+
.replace('{id}', id.toString())
|
|
40
|
+
.replace('{numeroPedido}', numeroPedido),
|
|
41
|
+
method: NFE_ENDPOINT.validacaoImposto.httpMethod
|
|
40
42
|
})
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -71,3 +71,11 @@ export async function apiFindContratoPorDocumento(body: TContratoPorDocumentoFil
|
|
|
71
71
|
data: body,
|
|
72
72
|
})
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
export async function apiRoteirizar(body) {
|
|
76
|
+
return ApiService.fetchDataWithAxios({
|
|
77
|
+
url: CONTRATO_FRETE_PROJECT_ENDPOINT.roteirizar.endpoint,
|
|
78
|
+
method: CONTRATO_FRETE_PROJECT_ENDPOINT.roteirizar.method,
|
|
79
|
+
data: body,
|
|
80
|
+
})
|
|
81
|
+
}
|
package/package.json
CHANGED