@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
|
@@ -64,23 +64,23 @@ import { apiAddCartaoPortadorFrete as kr, apiFindAllCartaoPortadorFrete as wr, a
|
|
|
64
64
|
import { apiAddCertificadoTransportadora as Wr, apiDownloadCertificadoTransportadora as Xr, apiFindAllMonitorCertificadoTransportadora as Yr, apiGetCertificadoTransportadora as Zr, apiUpdateCertificadoTransportadora as _r } from "./modules/transportadora/CertificadoTransportadora/CertificadoTransportadoraService.js";
|
|
65
65
|
import { apiAddCest as at, apiFindAllCest as ot, apiGetCest as it, apiUpdateCest as et } from "./modules/transportadora/Cest/CestService.js";
|
|
66
66
|
import { apiAddConta as tt, apiFindConta as pt } from "./modules/transportadora/Conta/ContaService.js";
|
|
67
|
-
import { apiAddContratoFrete as nt, apiFindAllContratoFrete as st, apiFindCalculoFrete as ct, apiFindContratoPorDocumento as mt, apiFindvalorBrutoContrato as lt, apiGetContratoFrete as Ct,
|
|
68
|
-
import { apiAddControleDescarga as
|
|
69
|
-
import { apiFindAllControleEmbarque as
|
|
70
|
-
import { apiAddFavorecido as
|
|
71
|
-
import { apiAddInss as
|
|
72
|
-
import { apiAddIrpf as
|
|
73
|
-
import { apiAddIss as
|
|
74
|
-
import { apiAddItinerario as
|
|
75
|
-
import { apiFindMaterial as
|
|
76
|
-
import { apiGetFornecedor as
|
|
77
|
-
import { apiFindByNomeOrCodigo as
|
|
78
|
-
import { apiFindByNotaFiscal as
|
|
79
|
-
import { apiAddOrdemCarregamento as
|
|
80
|
-
import { apiAddRemetenteDestinatario as
|
|
81
|
-
import { apiAddRota as
|
|
82
|
-
import { apiAddTipoCarga as
|
|
83
|
-
import { apiFindAllveiculo as
|
|
67
|
+
import { apiAddContratoFrete as nt, apiFindAllContratoFrete as st, apiFindCalculoFrete as ct, apiFindContratoPorDocumento as mt, apiFindvalorBrutoContrato as lt, apiGetContratoFrete as Ct, apiRoteirizar as Ft, apiUpdateContratoFrete as ut, apiUpdateStatusParcela as At } from "./modules/transportadora/ContratoFrete/ContratoFreteService.js";
|
|
68
|
+
import { apiAddControleDescarga as ft, apiFindAllControleDescarga as xt, apiGetCodigoControleDescarga as Pt, apiGetControleDescarga as Rt, apiUpdateControleDescarga as gt } from "./modules/transportadora/ControleDescarga/ControleDescargaService.js";
|
|
69
|
+
import { apiFindAllControleEmbarque as Gt } from "./modules/transportadora/ControleEmbarque/ControleEmbarqueService.js";
|
|
70
|
+
import { apiAddFavorecido as Tt, apiFindAllFavorecido as Vt, apiFindFavorecidoByTipoBusca as St } from "./modules/transportadora/Favorecido/FavorecidoService.js";
|
|
71
|
+
import { apiAddInss as yt, apiFindAllInss as It, apiGetInss as Et, apiUpdateInss as Ot } from "./modules/transportadora/Inss/InssService.js";
|
|
72
|
+
import { apiAddIrpf as Lt, apiFindAllIrpf as vt, apiGetIrpf as Ht, apiUpdateIrpf as qt } from "./modules/transportadora/Irpf/IrpfService.js";
|
|
73
|
+
import { apiAddIss as ht, apiFindAllIss as jt, apiGeTIss as Nt, apiUpdateIss as Qt } from "./modules/transportadora/Iss/IssService.js";
|
|
74
|
+
import { apiAddItinerario as wt, apiFindAllItinerario as Kt, apiGetItinerario as Jt, apiItinerarioFindRotaAndMaterial as Wt, apiItinerarioFindValorLiquidoFrete as Xt, apiUpdateItinerario as Yt } from "./modules/transportadora/Itinerario/ItinerarioService.js";
|
|
75
|
+
import { apiFindMaterial as _t } from "./modules/transportadora/Material/MaterialService.js";
|
|
76
|
+
import { apiGetFornecedor as ap } from "./modules/transportadora/Motorista/MotoristaService.js";
|
|
77
|
+
import { apiFindByNomeOrCodigo as ip } from "./modules/transportadora/NaturezaCarga/NaturezaCargaService.js";
|
|
78
|
+
import { apiFindByNotaFiscal as rp } from "./modules/transportadora/NotaFiscal/NotaFiscalService.js";
|
|
79
|
+
import { apiAddOrdemCarregamento as pp, apiFindAllOrdemCarregamento as dp, apiGetCodigoOrdemCarregamento as np, apiGetOrdemCarregamento as sp, apiUpdateOrdemCarregamento as cp } from "./modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
80
|
+
import { apiAddRemetenteDestinatario as lp, apiFindAllRemetenteDestinatario as Cp, apiUpdateRemetenteDestinatario as Fp } from "./modules/transportadora/RemetenteDestinatario/RemetenteDestinatarioService.js";
|
|
81
|
+
import { apiAddRota as Ap, apiFindAllRota as Dp, apiFindRotas as fp, apiGetRota as xp, apiUpdateRota as Pp, apiUpdateStatus as Rp } from "./modules/transportadora/Rota/RotaService.js";
|
|
82
|
+
import { apiAddTipoCarga as Mp, apiFindAllTipoCarga as Gp, apiGetCodigoTipoCarga as Bp, apiGetTipoCarga as Tp, apiUpdateTipoCarga as Vp } from "./modules/transportadora/TiposCarga/TipoCargaService.js";
|
|
83
|
+
import { apiFindAllveiculo as Up } from "./modules/transportadora/Veiculo/VeiculoService.js";
|
|
84
84
|
export {
|
|
85
85
|
Ce as apiAddAssistenciaTecnicaSeloSocial,
|
|
86
86
|
kr as apiAddCartaoPortadorFrete,
|
|
@@ -91,14 +91,14 @@ export {
|
|
|
91
91
|
P as apiAddCommoditiesPedidoVenda,
|
|
92
92
|
tt as apiAddConta,
|
|
93
93
|
nt as apiAddContratoFrete,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
ft as apiAddControleDescarga,
|
|
95
|
+
Tt as apiAddFavorecido,
|
|
96
96
|
Be as apiAddHorarioAprovacao,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
yt as apiAddInss,
|
|
98
|
+
Lt as apiAddIrpf,
|
|
99
|
+
ht as apiAddIss,
|
|
100
|
+
wt as apiAddItinerario,
|
|
101
|
+
pp as apiAddOrdemCarregamento,
|
|
102
102
|
Yo as apiAddRacaoAutorizacaoAtendimentoCliente,
|
|
103
103
|
Yi as apiAddRacaoCarga,
|
|
104
104
|
ii as apiAddRacaoGestaoComissaoRepresentante,
|
|
@@ -108,13 +108,13 @@ export {
|
|
|
108
108
|
Fi as apiAddRacaoSegmentoProduto,
|
|
109
109
|
Pi as apiAddRacaoTabelaPreco,
|
|
110
110
|
bi as apiAddRacaoVinculoMaterialCentro,
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
lp as apiAddRemetenteDestinatario,
|
|
112
|
+
Ap as apiAddRota,
|
|
113
113
|
te as apiAddSeloSocial,
|
|
114
114
|
ve as apiAddTaxaCessaoCredito,
|
|
115
115
|
Ko as apiAddTemplateExample,
|
|
116
116
|
jo as apiAddTemplateExampleObject,
|
|
117
|
-
|
|
117
|
+
Mp as apiAddTipoCarga,
|
|
118
118
|
ye as apiAddVolumeProducaoSeloSocial,
|
|
119
119
|
ji as apiAprovarRacaoPedidoVenda,
|
|
120
120
|
gr as apiCancelPreContrato,
|
|
@@ -163,38 +163,38 @@ export {
|
|
|
163
163
|
ot as apiFindAllCest,
|
|
164
164
|
mr as apiFindAllContratoCompraGraos,
|
|
165
165
|
st as apiFindAllContratoFrete,
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
xt as apiFindAllControleDescarga,
|
|
167
|
+
Gt as apiFindAllControleEmbarque,
|
|
168
168
|
Je as apiFindAllCorretora,
|
|
169
169
|
Dr as apiFindAllDocketEstados,
|
|
170
170
|
Qe as apiFindAllEmpresa,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
Vt as apiFindAllFavorecido,
|
|
172
|
+
It as apiFindAllInss,
|
|
173
|
+
vt as apiFindAllIrpf,
|
|
174
|
+
jt as apiFindAllIss,
|
|
175
|
+
Kt as apiFindAllItinerario,
|
|
176
176
|
Yr as apiFindAllMonitorCertificadoTransportadora,
|
|
177
177
|
Ze as apiFindAllOpcoes,
|
|
178
|
-
|
|
178
|
+
dp as apiFindAllOrdemCarregamento,
|
|
179
179
|
Br as apiFindAllPreContrato,
|
|
180
180
|
Er as apiFindAllPrecoDia,
|
|
181
181
|
Or as apiFindAllPrecoDiaHistoricos,
|
|
182
182
|
Nr as apiFindAllProdutoCommodity,
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
Cp as apiFindAllRemetenteDestinatario,
|
|
184
|
+
Dp as apiFindAllRota,
|
|
185
185
|
pe as apiFindAllSeloSocial,
|
|
186
186
|
qe as apiFindAllTaxaCessaoCredito,
|
|
187
|
-
|
|
187
|
+
Gp as apiFindAllTipoCarga,
|
|
188
188
|
$a as apiFindAllUfs,
|
|
189
|
-
|
|
189
|
+
Up as apiFindAllveiculo,
|
|
190
190
|
_e as apiFindByIdCampo,
|
|
191
191
|
lr as apiFindByIdContratoCompraGraos,
|
|
192
192
|
ke as apiFindByIdEmpresa,
|
|
193
193
|
Tr as apiFindByIdPreContrato,
|
|
194
194
|
br as apiFindByIdPrecoDia,
|
|
195
195
|
Lr as apiFindByIdPrecoDiaHistoricos,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
ip as apiFindByNomeOrCodigo,
|
|
197
|
+
rp as apiFindByNotaFiscal,
|
|
198
198
|
ct as apiFindCalculoFrete,
|
|
199
199
|
Kr as apiFindCartaoPortadorFreteByTipoBusca,
|
|
200
200
|
pt as apiFindConta,
|
|
@@ -245,7 +245,7 @@ export {
|
|
|
245
245
|
b as apiFindDmVendedoresAKARepresentantesVendas,
|
|
246
246
|
fr as apiFindDocketCidadesByEstadoId,
|
|
247
247
|
L as apiFindEmpresasIdsByCnpj,
|
|
248
|
-
|
|
248
|
+
St as apiFindFavorecidoByTipoBusca,
|
|
249
249
|
v as apiFindFornecedorNfeByCnpj,
|
|
250
250
|
Oo as apiFindHistoricoAcaoByIdEntidade,
|
|
251
251
|
$e as apiFindHistoricoById,
|
|
@@ -253,7 +253,7 @@ export {
|
|
|
253
253
|
Vr as apiFindHistoricoByIdPreContrato,
|
|
254
254
|
Co as apiFindHistoricosMovimentacao,
|
|
255
255
|
ee as apiFindLimiteCredito,
|
|
256
|
-
|
|
256
|
+
_t as apiFindMaterial,
|
|
257
257
|
Ho as apiFindMonitorCadastroEstrategiaLiberacaoValor,
|
|
258
258
|
K as apiFindMonitorCentro,
|
|
259
259
|
W as apiFindMonitorCentroCusto,
|
|
@@ -300,13 +300,13 @@ export {
|
|
|
300
300
|
yo as apiFindOrdensComprasNfeByIdsFornecedores,
|
|
301
301
|
$i as apiFindOrdensDisponiveisRacaoCarga,
|
|
302
302
|
Ui as apiFindRacaoListaTecnica,
|
|
303
|
-
|
|
303
|
+
fp as apiFindRotas,
|
|
304
304
|
Fr as apiFindSaldoByIdContratoCompraGraos,
|
|
305
305
|
A as apiFindSaldoCommoditiesContratoBiodiesel,
|
|
306
306
|
za as apiFindUser,
|
|
307
307
|
_ as apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
308
308
|
lt as apiFindvalorBrutoContrato,
|
|
309
|
-
|
|
309
|
+
Nt as apiGeTIss,
|
|
310
310
|
vr as apiGenerateTemplatePrecoDia,
|
|
311
311
|
ue as apiGetAssistenciaTecnicaSeloSocial,
|
|
312
312
|
Ae as apiGetAssistenciaTecnicaSeloSocialHistoricos,
|
|
@@ -315,21 +315,21 @@ export {
|
|
|
315
315
|
Re as apiGetCessaoDireitoCredito,
|
|
316
316
|
ge as apiGetCessaoDireitoCreditoHistoricos,
|
|
317
317
|
it as apiGetCest,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
Pt as apiGetCodigoControleDescarga,
|
|
319
|
+
np as apiGetCodigoOrdemCarregamento,
|
|
320
|
+
Bp as apiGetCodigoTipoCarga,
|
|
321
321
|
D as apiGetCommoditiesContratoBiodiesel,
|
|
322
322
|
M as apiGetCommoditiesPedidoVenda,
|
|
323
323
|
Ct as apiGetContratoFrete,
|
|
324
|
-
|
|
324
|
+
Rt as apiGetControleDescarga,
|
|
325
325
|
z as apiGetDmBusinessPartner,
|
|
326
326
|
rr as apiGetFileDadosPenhores,
|
|
327
|
-
|
|
327
|
+
ap as apiGetFornecedor,
|
|
328
328
|
Ve as apiGetHorarioAprovacao,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
329
|
+
Et as apiGetInss,
|
|
330
|
+
Ht as apiGetIrpf,
|
|
331
|
+
Jt as apiGetItinerario,
|
|
332
|
+
sp as apiGetOrdemCarregamento,
|
|
333
333
|
$o as apiGetRacaoAutorizacaoAtendimentoCliente,
|
|
334
334
|
ae as apiGetRacaoCarga,
|
|
335
335
|
ti as apiGetRacaoGestaoComissaoRepresentante,
|
|
@@ -340,20 +340,21 @@ export {
|
|
|
340
340
|
Mi as apiGetRacaoTabelaPreco,
|
|
341
341
|
Hi as apiGetRacaoVinculoMaterialCentro,
|
|
342
342
|
c as apiGetRoles,
|
|
343
|
-
|
|
343
|
+
xp as apiGetRota,
|
|
344
344
|
se as apiGetSeloSocial,
|
|
345
345
|
ce as apiGetSeloSocialHistoricos,
|
|
346
346
|
ze as apiGetTaxaCessaoCredito,
|
|
347
347
|
Jo as apiGetTemplateExample,
|
|
348
|
-
|
|
348
|
+
Tp as apiGetTipoCarga,
|
|
349
349
|
m as apiGetUsers,
|
|
350
350
|
Ee as apiGetVolumeProducaoSeloSocial,
|
|
351
351
|
Oe as apiGetVolumeProducaoSeloSocialBySafraId,
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
Wt as apiItinerarioFindRotaAndMaterial,
|
|
353
|
+
Xt as apiItinerarioFindValorLiquidoFrete,
|
|
354
354
|
tr as apiLancarPenhores,
|
|
355
355
|
Ii as apiLatestRacaoListaTecnica,
|
|
356
356
|
Ji as apiReprovarRacaoPedidoVenda,
|
|
357
|
+
Ft as apiRoteirizar,
|
|
357
358
|
pr as apiSendMail,
|
|
358
359
|
De as apiUpdateAssistenciaTecnicaSeloSocial,
|
|
359
360
|
zo as apiUpdateCadastroEstrategiaLiberacaoValor,
|
|
@@ -362,17 +363,17 @@ export {
|
|
|
362
363
|
et as apiUpdateCest,
|
|
363
364
|
f as apiUpdateCommoditiesContratoBiodiesel,
|
|
364
365
|
G as apiUpdateCommoditiesPedidoVenda,
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
ut as apiUpdateContratoFrete,
|
|
367
|
+
gt as apiUpdateControleDescarga,
|
|
367
368
|
Bo as apiUpdateCotacao,
|
|
368
369
|
Se as apiUpdateHorarioAprovacao,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
370
|
+
Ot as apiUpdateInss,
|
|
371
|
+
qt as apiUpdateIrpf,
|
|
372
|
+
Qt as apiUpdateIss,
|
|
373
|
+
Yt as apiUpdateItinerario,
|
|
373
374
|
so as apiUpdateLocalRecepcao,
|
|
374
375
|
ar as apiUpdateOpcao,
|
|
375
|
-
|
|
376
|
+
cp as apiUpdateOrdemCarregamento,
|
|
376
377
|
Io as apiUpdateOrdemCompra,
|
|
377
378
|
Hr as apiUpdatePrecoDia,
|
|
378
379
|
ai as apiUpdateRacaoAutorizacaoAtendimentoCliente,
|
|
@@ -384,19 +385,19 @@ export {
|
|
|
384
385
|
fi as apiUpdateRacaoSegmentoProduto,
|
|
385
386
|
Gi as apiUpdateRacaoTabelaPreco,
|
|
386
387
|
qi as apiUpdateRacaoVinculoMaterialCentro,
|
|
387
|
-
|
|
388
|
+
Fp as apiUpdateRemetenteDestinatario,
|
|
388
389
|
Ao as apiUpdateRequisicaoCompra,
|
|
389
|
-
|
|
390
|
+
Pp as apiUpdateRota,
|
|
390
391
|
me as apiUpdateSeloSocial,
|
|
391
|
-
|
|
392
|
+
Rp as apiUpdateStatus,
|
|
392
393
|
ur as apiUpdateStatusContratoCompraGraos,
|
|
393
|
-
|
|
394
|
+
At as apiUpdateStatusParcela,
|
|
394
395
|
Sr as apiUpdateStatusPreContrato,
|
|
395
396
|
qr as apiUpdateStatusPrecoDia,
|
|
396
397
|
he as apiUpdateTaxaCessaoCredito,
|
|
397
398
|
Wo as apiUpdateTemplateExample,
|
|
398
399
|
ko as apiUpdateTemplateExampleObject,
|
|
399
|
-
|
|
400
|
+
Vp as apiUpdateTipoCarga,
|
|
400
401
|
be as apiUpdateVolumeProducaoSeloSocial,
|
|
401
402
|
dr as apiUploadFileDadosPenhores,
|
|
402
403
|
zr as apiUploadTemplatePrecoDia,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { apiCreateNotificacaoCentralNfe as
|
|
2
|
-
import { apiCreateIntervaloPrecoXml as r, apiFindMonitorIntervaloPrecoXml as p, apiFindOneIntervaloPrecoXml as
|
|
1
|
+
import { apiCreateNotificacaoCentralNfe as e, apiFindMonitorNotificacaoCentralNfe as o, apiFindOneNotificacaoCentralNfe as n, apiUpdateNotificacaoCentralNfe as d } from "./notificacaoCentralNfe/NotificacaoCentralNfeService.js";
|
|
2
|
+
import { apiCreateIntervaloPrecoXml as r, apiFindMonitorIntervaloPrecoXml as p, apiFindOneIntervaloPrecoXml as c, apiUpdateIntervaloPrecoXml as l } from "./intervaloPrecoXml/IntervaloPrecoXmlService.js";
|
|
3
3
|
import { apiCreateVinculoUnidadeMedida as N, apiFindMonitorVinculoUnidadeMedida as C, apiFindOneVinculoUnidadeMedida as m, apiUpdateVinculoUnidadeMedida as F } from "./vinculoUnidadeMedida/VinculoUnidadeMedidaService.js";
|
|
4
|
-
import { apiCreateCnpjLiberadoNota as U, apiFindMonitorCnpjLiberadoNota as u, apiFindOneCnpjLiberadoNota as
|
|
5
|
-
import { addLancamentoManual as
|
|
4
|
+
import { apiCreateCnpjLiberadoNota as U, apiFindMonitorCnpjLiberadoNota as u, apiFindOneCnpjLiberadoNota as b, apiUpdateCnpjLiberadoNota as v } from "./cnpjLiberadoNota/CnpjLiberadoNotaService.js";
|
|
5
|
+
import { addLancamentoManual as I, apiFindMonitorNfe as L, apiFindOneNfe as O, apiUpdateNfe as P, buscaValidacaoImposto as V, downloadPdfByChaveAcesso as j } from "./nfe/NfeService.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
I as addLancamentoManual,
|
|
8
8
|
U as apiCreateCnpjLiberadoNota,
|
|
9
9
|
r as apiCreateIntervaloPrecoXml,
|
|
10
|
-
|
|
10
|
+
e as apiCreateNotificacaoCentralNfe,
|
|
11
11
|
N as apiCreateVinculoUnidadeMedida,
|
|
12
12
|
u as apiFindMonitorCnpjLiberadoNota,
|
|
13
13
|
p as apiFindMonitorIntervaloPrecoXml,
|
|
14
|
-
|
|
14
|
+
L as apiFindMonitorNfe,
|
|
15
15
|
o as apiFindMonitorNotificacaoCentralNfe,
|
|
16
16
|
C as apiFindMonitorVinculoUnidadeMedida,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
b as apiFindOneCnpjLiberadoNota,
|
|
18
|
+
c as apiFindOneIntervaloPrecoXml,
|
|
19
|
+
O as apiFindOneNfe,
|
|
20
20
|
n as apiFindOneNotificacaoCentralNfe,
|
|
21
21
|
m as apiFindOneVinculoUnidadeMedida,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
v as apiUpdateCnpjLiberadoNota,
|
|
23
|
+
l as apiUpdateIntervaloPrecoXml,
|
|
24
|
+
P as apiUpdateNfe,
|
|
25
25
|
d as apiUpdateNotificacaoCentralNfe,
|
|
26
26
|
F as apiUpdateVinculoUnidadeMedida,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
V as buscaValidacaoImposto,
|
|
28
|
+
j as downloadPdfByChaveAcesso
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "../../../../../@ecme/services/ApiService.js";
|
|
2
2
|
import e from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
3
|
const t = e.centralNfe.nfe;
|
|
4
|
-
async function
|
|
4
|
+
async function c(n) {
|
|
5
5
|
return o.fetchDataWithAxios({
|
|
6
6
|
url: t.findMonitor.endpoint,
|
|
7
7
|
method: t.findMonitor.httpMethod,
|
|
@@ -21,19 +21,19 @@ async function r(n) {
|
|
|
21
21
|
data: n
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
async function
|
|
24
|
+
async function p(n) {
|
|
25
25
|
return o.fetchDataWithAxios({
|
|
26
26
|
url: `${t.downloadPdfByChaveAcesso.endpoint}/${n}`,
|
|
27
27
|
method: t.downloadPdfByChaveAcesso.httpMethod
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
async function f(n) {
|
|
30
|
+
async function f(n, a) {
|
|
31
31
|
return o.fetchDataWithAxios({
|
|
32
|
-
url:
|
|
33
|
-
method: t.
|
|
32
|
+
url: t.validacaoImposto.endpoint.replace("{id}", n.toString()).replace("{numeroPedido}", a),
|
|
33
|
+
method: t.validacaoImposto.httpMethod
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
async function
|
|
36
|
+
async function u(n) {
|
|
37
37
|
return o.fetchDataWithAxios({
|
|
38
38
|
url: t.addLancamentoManual.endpoint,
|
|
39
39
|
method: t.addLancamentoManual.httpMethod,
|
|
@@ -41,11 +41,11 @@ async function p(n) {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
u as addLancamentoManual,
|
|
45
|
+
c as apiFindMonitorNfe,
|
|
46
46
|
h as apiFindOneNfe,
|
|
47
47
|
r as apiUpdateNfe,
|
|
48
|
-
f as
|
|
49
|
-
|
|
48
|
+
f as buscaValidacaoImposto,
|
|
49
|
+
p as downloadPdfByChaveAcesso
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=NfeService.js.map
|
|
@@ -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 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
|
|
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 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}"],"names":["NFE_ENDPOINT","endpointConfig","apiFindMonitorNfe","body","ApiService","apiFindOneNfe","id","apiUpdateNfe","downloadPdfByChaveAcesso","chaveAcesso","buscaValidacaoImposto","numeroPedido","addLancamentoManual"],"mappings":";;AAGA,MAAMA,IAAeC,EAAe,WAAW;AAE/C,eAAsBC,EAAkBC,GAAM;AAC1C,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAa,YAAY;AAAA,IAC9B,QAAQA,EAAa,YAAY;AAAA,IACjC,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAcC,GAAY;AAC5C,SAAOF,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGJ,EAAa,QAAQ,QAAQ,IAAIM,CAAE;AAAA,IAC3C,QAAQN,EAAa,QAAQ;AAAA,EAAA,CAChC;AACL;AAEA,eAAsBO,EAAaJ,GAAM;AACrC,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAa,OAAO;AAAA,IACzB,QAAQA,EAAa,OAAO;AAAA,IAC5B,MAAMG;AAAA,EAAA,CACT;AACL;AAEA,eAAsBK,EAAyBC,GAAqB;AAChE,SAAOL,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGJ,EAAa,yBAAyB,QAAQ,IAAIS,CAAW;AAAA,IACrE,QAAQT,EAAa,yBAAyB;AAAA,EAAA,CACjD;AACL;AAEsB,eAAAU,EAAsBJ,GAAYK,GAAsB;AAC1E,SAAOP,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAa,iBAAiB,SAC9B,QAAQ,QAAQM,EAAG,SAAA,CAAU,EAC7B,QAAQ,kBAAkBK,CAAY;AAAA,IAC3C,QAAQX,EAAa,iBAAiB;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBY,EAAoBT,GAAM;AAC5C,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAKJ,EAAa,oBAAoB;AAAA,IACtC,QAAQA,EAAa,oBAAoB;AAAA,IACzC,MAAMG;AAAA,EAAA,CACT;AACL;"}
|