@orbe-agro/client-core 5.3.266 → 5.3.268
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/@types/api/response/bayer/TCreateRoyaltiesBusinessPartnerRequest.d.ts +4 -0
- package/dist/@types/base/@types/api/response/bayer/TCreateRoyaltiesBusinessPartnerRequest.d.ts.map +1 -0
- package/dist/@types/base/@types/api/response/bayer/TFindAllPendenciaResponse.d.ts +10 -0
- package/dist/@types/base/@types/api/response/bayer/TFindAllPendenciaResponse.d.ts.map +1 -0
- package/dist/@types/base/@types/api/response/bayer/TRoyaltiesBusinessPartnerResponse.d.ts +4 -0
- package/dist/@types/base/@types/api/response/bayer/TRoyaltiesBusinessPartnerResponse.d.ts.map +1 -0
- package/dist/@types/base/@types/api/response/bayer/types.d.ts +69 -0
- package/dist/@types/base/@types/api/response/bayer/types.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts +19 -0
- package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts +6 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/bayer/config/pendenciaBayer.d.ts +8 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/pendenciaBayer.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/registroEntradaBayer.d.ts +5 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/registroEntradaBayer.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/royaltiesBayer.d.ts +6 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/royaltiesBayer.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/centralNfe/config/nfe.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +23 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/bayer/bayer.submenu.d.ts.map +1 -1
- package/dist/@types/base/services/index.d.ts +1 -0
- package/dist/@types/base/services/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts +9 -0
- package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/bayer/index.d.ts +5 -0
- package/dist/@types/base/services/modules/bayer/index.d.ts.map +1 -0
- package/dist/@types/base/services/modules/bayer/pendenciaBayerService.d.ts +7 -0
- package/dist/@types/base/services/modules/bayer/pendenciaBayerService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/bayer/registroEntradaBayerService.d.ts +2 -0
- package/dist/@types/base/services/modules/bayer/registroEntradaBayerService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/bayer/royaltiesBayerService.d.ts +4 -0
- package/dist/@types/base/services/modules/bayer/royaltiesBayerService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts +1 -0
- package/dist/@types/base/services/modules/centralNfe/nfe/NfeService.d.ts.map +1 -1
- package/dist/base/@types/api/response/bayer/TCreateRoyaltiesBusinessPartnerRequest.js +2 -0
- package/dist/base/@types/api/response/bayer/TCreateRoyaltiesBusinessPartnerRequest.js.map +1 -0
- package/dist/base/@types/api/response/bayer/TFindAllPendenciaResponse.js +2 -0
- package/dist/base/@types/api/response/bayer/TFindAllPendenciaResponse.js.map +1 -0
- package/dist/base/@types/api/response/bayer/TRoyaltiesBusinessPartnerResponse.js +2 -0
- package/dist/base/@types/api/response/bayer/TRoyaltiesBusinessPartnerResponse.js.map +1 -0
- package/dist/base/@types/api/response/bayer/types.js +2 -0
- package/dist/base/@types/api/response/bayer/types.js.map +1 -0
- package/dist/base/configs/endpoints.config/bayer/bayer.js +7 -1
- package/dist/base/configs/endpoints.config/bayer/bayer.js.map +1 -1
- package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js +8 -2
- package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js.map +1 -1
- package/dist/base/configs/endpoints.config/bayer/config/pendenciaBayer.js +10 -0
- package/dist/base/configs/endpoints.config/bayer/config/pendenciaBayer.js.map +1 -0
- package/dist/base/configs/endpoints.config/bayer/config/registroEntradaBayer.js +7 -0
- package/dist/base/configs/endpoints.config/bayer/config/registroEntradaBayer.js.map +1 -0
- package/dist/base/configs/endpoints.config/bayer/config/royaltiesBayer.js +8 -0
- package/dist/base/configs/endpoints.config/bayer/config/royaltiesBayer.js.map +1 -0
- package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js +2 -1
- package/dist/base/configs/endpoints.config/centralNfe/config/nfe.js.map +1 -1
- package/dist/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.js +16 -0
- package/dist/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/bayer/bayer.submenu.js +3 -1
- package/dist/base/configs/navigation.config/submenu/bayer/bayer.submenu.js.map +1 -1
- package/dist/base/index.js +20 -0
- package/dist/base/index.js.map +1 -1
- package/dist/base/services/index.js +21 -0
- package/dist/base/services/index.js.map +1 -1
- package/dist/base/services/modules/bayer/entregaBayerService.js +61 -1
- package/dist/base/services/modules/bayer/entregaBayerService.js.map +1 -1
- package/dist/base/services/modules/bayer/index.js +23 -0
- package/dist/base/services/modules/bayer/index.js.map +1 -0
- package/dist/base/services/modules/bayer/pendenciaBayerService.js +34 -0
- package/dist/base/services/modules/bayer/pendenciaBayerService.js.map +1 -0
- package/dist/base/services/modules/bayer/registroEntradaBayerService.js +13 -0
- package/dist/base/services/modules/bayer/registroEntradaBayerService.js.map +1 -0
- package/dist/base/services/modules/bayer/royaltiesBayerService.js +21 -0
- package/dist/base/services/modules/bayer/royaltiesBayerService.js.map +1 -0
- package/dist/base/services/modules/centralNfe/index.js +2 -1
- package/dist/base/services/modules/centralNfe/nfe/NfeService.js +8 -0
- package/dist/base/services/modules/centralNfe/nfe/NfeService.js.map +1 -1
- package/lib/base/@types/api/response/bayer/TCreateRoyaltiesBusinessPartnerRequest.ts +3 -0
- package/lib/base/@types/api/response/bayer/TFindAllPendenciaResponse.ts +9 -0
- package/lib/base/@types/api/response/bayer/TRoyaltiesBusinessPartnerResponse.ts +3 -0
- package/lib/base/@types/api/response/bayer/types.ts +81 -0
- package/lib/base/configs/endpoints.config/bayer/bayer.ts +7 -1
- package/lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts +8 -2
- package/lib/base/configs/endpoints.config/bayer/config/pendenciaBayer.ts +8 -0
- package/lib/base/configs/endpoints.config/bayer/config/registroEntradaBayer.ts +5 -0
- package/lib/base/configs/endpoints.config/bayer/config/royaltiesBayer.ts +6 -0
- package/lib/base/configs/endpoints.config/centralNfe/config/nfe.ts +1 -0
- package/lib/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.ts +16 -0
- package/lib/base/configs/navigation.config/submenu/bayer/bayer.submenu.ts +3 -1
- package/lib/base/services/index.ts +2 -0
- package/lib/base/services/modules/bayer/entregaBayerService.ts +70 -1
- package/lib/base/services/modules/bayer/index.ts +4 -0
- package/lib/base/services/modules/bayer/pendenciaBayerService.ts +34 -0
- package/lib/base/services/modules/bayer/registroEntradaBayerService.ts +11 -0
- package/lib/base/services/modules/bayer/royaltiesBayerService.ts +20 -0
- package/lib/base/services/modules/centralNfe/nfe/NfeService.ts +8 -0
- package/package.json +1 -1
package/dist/base/index.js
CHANGED
|
@@ -188,6 +188,10 @@ import { apiAddRota, apiFindAllRota, apiFindRotas, apiGetRota, apiUpdateRota, ap
|
|
|
188
188
|
import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./services/modules/transportadora/TiposCarga/TipoCargaService.js";
|
|
189
189
|
import { apiFindAllveiculo } from "./services/modules/transportadora/Veiculo/VeiculoService.js";
|
|
190
190
|
import { apiAddInsumosEstoque, apiDeleteInsumosEstoque, apiFindMonitorInsumosEstoque, apiGetInsumosEstoque, apiUpdateInsumosEstoque } from "./services/modules/insumos/estoque/EstoqueService.js";
|
|
191
|
+
import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
|
|
192
|
+
import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./services/modules/bayer/pendenciaBayerService.js";
|
|
193
|
+
import { apiBuscarEntradaGraos } from "./services/modules/bayer/registroEntradaBayerService.js";
|
|
194
|
+
import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } from "./services/modules/bayer/royaltiesBayerService.js";
|
|
191
195
|
import { getLogoFilename } from "./utils/logo.js";
|
|
192
196
|
import { validateEmail } from "./utils/validateEmail/validateEmail.js";
|
|
193
197
|
export {
|
|
@@ -237,9 +241,17 @@ export {
|
|
|
237
241
|
apiAddTermoFunrural,
|
|
238
242
|
apiAddTipoCarga,
|
|
239
243
|
apiAddVolumeProducaoSeloSocial,
|
|
244
|
+
apiAplicarRetencao,
|
|
240
245
|
apiAprovarRacaoPedidoVenda,
|
|
241
246
|
apiAprovarTermoFundeinfra,
|
|
242
247
|
apiAprovarTermoFunrural,
|
|
248
|
+
apiBuscarEntradaGraos,
|
|
249
|
+
apiBuscarPendencias,
|
|
250
|
+
apiBuscarPendenciasBayer,
|
|
251
|
+
apiBuscarRetornoEntregas,
|
|
252
|
+
apiBuscarStatusConsumo,
|
|
253
|
+
apiBuscarStatusFixacao,
|
|
254
|
+
apiCalcularRetencao,
|
|
243
255
|
apiCancelPreContrato,
|
|
244
256
|
apiCancelarRacaoPedidoVenda,
|
|
245
257
|
apiCancelarTermoFundeinfra,
|
|
@@ -254,12 +266,14 @@ export {
|
|
|
254
266
|
apiCreateContratoCompraGraos,
|
|
255
267
|
apiCreateCorretora,
|
|
256
268
|
apiCreateEmpresa,
|
|
269
|
+
apiCreateEntrega,
|
|
257
270
|
apiCreateLocalRecepcao,
|
|
258
271
|
apiCreateOpcao,
|
|
259
272
|
apiCreatePreContrato,
|
|
260
273
|
apiCreatePrecoDia,
|
|
261
274
|
apiCreateProdutoCommodity,
|
|
262
275
|
apiCreateRequisicaoCompra,
|
|
276
|
+
apiCreateRoyaltiesBusinessPartner,
|
|
263
277
|
apiDeleteCommoditiesContratoBiodiesel,
|
|
264
278
|
apiDeleteCommoditiesPedidoVenda,
|
|
265
279
|
apiDeleteInsumosEstoque,
|
|
@@ -283,6 +297,8 @@ export {
|
|
|
283
297
|
apiDownloadCertificadoTransportadora,
|
|
284
298
|
apiEditContratoCompraGraos,
|
|
285
299
|
apiEditPreContrato,
|
|
300
|
+
apiEnviarEntregaBayer,
|
|
301
|
+
apiEnviarEntregaBayerLote,
|
|
286
302
|
apiExecuteAcao,
|
|
287
303
|
apiExecuteAcaoCotacao,
|
|
288
304
|
apiExecuteAcaoOrdemCompra,
|
|
@@ -301,6 +317,7 @@ export {
|
|
|
301
317
|
apiFindAllCorretora,
|
|
302
318
|
apiFindAllDocketEstados,
|
|
303
319
|
apiFindAllEmpresa,
|
|
320
|
+
apiFindAllEntregaBayer,
|
|
304
321
|
apiFindAllFavorecido,
|
|
305
322
|
apiFindAllInss,
|
|
306
323
|
apiFindAllIrpf,
|
|
@@ -389,6 +406,7 @@ export {
|
|
|
389
406
|
apiFindDmVendedoresAKARepresentantesVendas,
|
|
390
407
|
apiFindDocketCidadesByEstadoId,
|
|
391
408
|
apiFindEmpresasIdsByCnpj,
|
|
409
|
+
apiFindEntrega,
|
|
392
410
|
apiFindFavorecidoByTipoBusca,
|
|
393
411
|
apiFindFornecedorNfeByCnpj,
|
|
394
412
|
apiFindHistoricoAcaoByIdEntidade,
|
|
@@ -503,6 +521,7 @@ export {
|
|
|
503
521
|
apiGetRacaoVinculoMaterialCentro,
|
|
504
522
|
apiGetRoles,
|
|
505
523
|
apiGetRota,
|
|
524
|
+
apiGetRoyaltiesBusinessPartner,
|
|
506
525
|
apiGetSeloSocial,
|
|
507
526
|
apiGetSeloSocialHistoricos,
|
|
508
527
|
apiGetTarefasAgendadas,
|
|
@@ -524,6 +543,7 @@ export {
|
|
|
524
543
|
apiReprovarTermoFunrural,
|
|
525
544
|
apiRoteirizar,
|
|
526
545
|
apiSendMail,
|
|
546
|
+
apiSomatorioEntrega,
|
|
527
547
|
apiUpdateAssistenciaTecnicaSeloSocial,
|
|
528
548
|
apiUpdateCadastroEstrategiaLiberacaoValor,
|
|
529
549
|
apiUpdateCertificadoTransportadora,
|
package/dist/base/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -10,6 +10,7 @@ import "./modules/sap/index.js";
|
|
|
10
10
|
import "./modules/originacao/index.js";
|
|
11
11
|
import "./modules/transportadora/index.js";
|
|
12
12
|
import "./modules/insumos/index.js";
|
|
13
|
+
import "./modules/bayer/index.js";
|
|
13
14
|
import { apiAddCommoditiesContratoBiodiesel, apiDeleteCommoditiesContratoBiodiesel, apiFindMonitorCommoditiesContratoBiodiesel, apiFindSaldoCommoditiesContratoBiodiesel, apiGetCommoditiesContratoBiodiesel, apiUpdateCommoditiesContratoBiodiesel } from "./modules/commodities/contratoBiodiesel/ContratoBiodieselService.js";
|
|
14
15
|
import { apiAddCommoditiesPedidoVenda, apiDeleteCommoditiesPedidoVenda, apiFindMonitorCommoditiesPedidoVenda, apiGetCommoditiesPedidoVenda, apiUpdateCommoditiesPedidoVenda } from "./modules/commodities/pedidoVenda/PedidoVendaService.js";
|
|
15
16
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./modules/dm/businessPartner/BusinessPartnerService.js";
|
|
@@ -97,6 +98,10 @@ import { apiAddRota, apiFindAllRota, apiFindRotas, apiGetRota, apiUpdateRota, ap
|
|
|
97
98
|
import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./modules/transportadora/TiposCarga/TipoCargaService.js";
|
|
98
99
|
import { apiFindAllveiculo } from "./modules/transportadora/Veiculo/VeiculoService.js";
|
|
99
100
|
import { apiAddInsumosEstoque, apiDeleteInsumosEstoque, apiFindMonitorInsumosEstoque, apiGetInsumosEstoque, apiUpdateInsumosEstoque } from "./modules/insumos/estoque/EstoqueService.js";
|
|
101
|
+
import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
|
|
102
|
+
import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./modules/bayer/pendenciaBayerService.js";
|
|
103
|
+
import { apiBuscarEntradaGraos } from "./modules/bayer/registroEntradaBayerService.js";
|
|
104
|
+
import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } from "./modules/bayer/royaltiesBayerService.js";
|
|
100
105
|
export {
|
|
101
106
|
apiAddAssistenciaTecnicaSeloSocial,
|
|
102
107
|
apiAddCartaoPortadorFrete,
|
|
@@ -138,9 +143,17 @@ export {
|
|
|
138
143
|
apiAddTermoFunrural,
|
|
139
144
|
apiAddTipoCarga,
|
|
140
145
|
apiAddVolumeProducaoSeloSocial,
|
|
146
|
+
apiAplicarRetencao,
|
|
141
147
|
apiAprovarRacaoPedidoVenda,
|
|
142
148
|
apiAprovarTermoFundeinfra,
|
|
143
149
|
apiAprovarTermoFunrural,
|
|
150
|
+
apiBuscarEntradaGraos,
|
|
151
|
+
apiBuscarPendencias,
|
|
152
|
+
apiBuscarPendenciasBayer,
|
|
153
|
+
apiBuscarRetornoEntregas,
|
|
154
|
+
apiBuscarStatusConsumo,
|
|
155
|
+
apiBuscarStatusFixacao,
|
|
156
|
+
apiCalcularRetencao,
|
|
144
157
|
apiCancelPreContrato,
|
|
145
158
|
apiCancelarRacaoPedidoVenda,
|
|
146
159
|
apiCancelarTermoFundeinfra,
|
|
@@ -154,12 +167,14 @@ export {
|
|
|
154
167
|
apiCreateContratoCompraGraos,
|
|
155
168
|
apiCreateCorretora,
|
|
156
169
|
apiCreateEmpresa,
|
|
170
|
+
apiCreateEntrega,
|
|
157
171
|
apiCreateLocalRecepcao,
|
|
158
172
|
apiCreateOpcao,
|
|
159
173
|
apiCreatePreContrato,
|
|
160
174
|
apiCreatePrecoDia,
|
|
161
175
|
apiCreateProdutoCommodity,
|
|
162
176
|
apiCreateRequisicaoCompra,
|
|
177
|
+
apiCreateRoyaltiesBusinessPartner,
|
|
163
178
|
apiDeleteCommoditiesContratoBiodiesel,
|
|
164
179
|
apiDeleteCommoditiesPedidoVenda,
|
|
165
180
|
apiDeleteInsumosEstoque,
|
|
@@ -183,6 +198,8 @@ export {
|
|
|
183
198
|
apiDownloadCertificadoTransportadora,
|
|
184
199
|
apiEditContratoCompraGraos,
|
|
185
200
|
apiEditPreContrato,
|
|
201
|
+
apiEnviarEntregaBayer,
|
|
202
|
+
apiEnviarEntregaBayerLote,
|
|
186
203
|
apiExecuteAcao,
|
|
187
204
|
apiExecuteAcaoCotacao,
|
|
188
205
|
apiExecuteAcaoOrdemCompra,
|
|
@@ -201,6 +218,7 @@ export {
|
|
|
201
218
|
apiFindAllCorretora,
|
|
202
219
|
apiFindAllDocketEstados,
|
|
203
220
|
apiFindAllEmpresa,
|
|
221
|
+
apiFindAllEntregaBayer,
|
|
204
222
|
apiFindAllFavorecido,
|
|
205
223
|
apiFindAllInss,
|
|
206
224
|
apiFindAllIrpf,
|
|
@@ -289,6 +307,7 @@ export {
|
|
|
289
307
|
apiFindDmVendedoresAKARepresentantesVendas,
|
|
290
308
|
apiFindDocketCidadesByEstadoId,
|
|
291
309
|
apiFindEmpresasIdsByCnpj,
|
|
310
|
+
apiFindEntrega,
|
|
292
311
|
apiFindFavorecidoByTipoBusca,
|
|
293
312
|
apiFindFornecedorNfeByCnpj,
|
|
294
313
|
apiFindHistoricoAcaoByIdEntidade,
|
|
@@ -403,6 +422,7 @@ export {
|
|
|
403
422
|
apiGetRacaoVinculoMaterialCentro,
|
|
404
423
|
apiGetRoles,
|
|
405
424
|
apiGetRota,
|
|
425
|
+
apiGetRoyaltiesBusinessPartner,
|
|
406
426
|
apiGetSeloSocial,
|
|
407
427
|
apiGetSeloSocialHistoricos,
|
|
408
428
|
apiGetTarefasAgendadas,
|
|
@@ -424,6 +444,7 @@ export {
|
|
|
424
444
|
apiReprovarTermoFunrural,
|
|
425
445
|
apiRoteirizar,
|
|
426
446
|
apiSendMail,
|
|
447
|
+
apiSomatorioEntrega,
|
|
427
448
|
apiUpdateAssistenciaTecnicaSeloSocial,
|
|
428
449
|
apiUpdateCadastroEstrategiaLiberacaoValor,
|
|
429
450
|
apiUpdateCertificadoTransportadora,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -7,7 +7,67 @@ async function apiFindAllEntregaBayer(params) {
|
|
|
7
7
|
method: "get"
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
+
async function apiCreateEntrega(saldoId) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),
|
|
13
|
+
method: "post"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function apiEnviarEntregaBayer(id) {
|
|
17
|
+
return ApiService.fetchDataWithAxios({
|
|
18
|
+
url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),
|
|
19
|
+
method: "post"
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
async function apiSomatorioEntrega(data) {
|
|
23
|
+
return ApiService.fetchDataWithAxios({
|
|
24
|
+
url: ENTREGA_BAYER_ENDPOINT.somatorio(),
|
|
25
|
+
method: "post",
|
|
26
|
+
data
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
async function apiFindEntrega(data) {
|
|
30
|
+
return ApiService.fetchDataWithAxios({
|
|
31
|
+
url: ENTREGA_BAYER_ENDPOINT.find(),
|
|
32
|
+
method: "post",
|
|
33
|
+
data
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function apiEnviarEntregaBayerLote() {
|
|
37
|
+
return ApiService.fetchDataWithAxios({
|
|
38
|
+
url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),
|
|
39
|
+
method: "post"
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function apiCalcularRetencao(data) {
|
|
43
|
+
return ApiService.fetchDataWithAxios({
|
|
44
|
+
url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),
|
|
45
|
+
method: "post",
|
|
46
|
+
data
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function apiBuscarRetornoEntregas() {
|
|
50
|
+
return ApiService.fetchDataWithAxios({
|
|
51
|
+
url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),
|
|
52
|
+
method: "post"
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
async function apiAplicarRetencao(data) {
|
|
56
|
+
return ApiService.fetchDataWithAxios({
|
|
57
|
+
url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),
|
|
58
|
+
method: "post",
|
|
59
|
+
data
|
|
60
|
+
});
|
|
61
|
+
}
|
|
10
62
|
export {
|
|
11
|
-
|
|
63
|
+
apiAplicarRetencao,
|
|
64
|
+
apiBuscarRetornoEntregas,
|
|
65
|
+
apiCalcularRetencao,
|
|
66
|
+
apiCreateEntrega,
|
|
67
|
+
apiEnviarEntregaBayer,
|
|
68
|
+
apiEnviarEntregaBayerLote,
|
|
69
|
+
apiFindAllEntregaBayer,
|
|
70
|
+
apiFindEntrega,
|
|
71
|
+
apiSomatorioEntrega
|
|
12
72
|
};
|
|
13
73
|
//# sourceMappingURL=entregaBayerService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport {\n EntregaResponse,\n FindEntregaFilterRequest,\n SomatorioEntregaResponse,\n FindEntregaResponse,\n QuantidadeConsumidaPorSaldoEntradaGraosRequest,\n QuantidadeASerRetidaPorSaldoResponse,\n AplicarRetencaoResponse\n} from \"@base/@types/api/response/bayer/types\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiCreateEntrega(saldoId: number) {\n return ApiService.fetchDataWithAxios<EntregaResponse>({\n url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),\n method: 'post',\n });\n}\n\nexport async function apiEnviarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),\n method: 'post',\n });\n}\n\nexport async function apiSomatorioEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<SomatorioEntregaResponse, FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.somatorio(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiFindEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse[], FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.find(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiEnviarEntregaBayerLote() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),\n method: 'post',\n });\n}\n\nexport async function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<QuantidadeASerRetidaPorSaldoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiBuscarRetornoEntregas() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),\n method: 'post',\n });\n}\n\nexport async function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<AplicarRetencaoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),\n method: 'post',\n data,\n });\n}\n"],"names":[],"mappings":";;AAcA,MAAM,yBAAyB,yBAAyB,MAAM;AAE9D,eAAsB,uBAAuB,QAAiB;AAC5D,SAAO,WAAW,mBAAiE;AAAA,IACjF,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,iBAAiB,SAAiB;AACpD,SAAO,WAAW,mBAAoC;AAAA,IAClD,KAAK,uBAAuB,cAAc,OAAO;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,sBAAsB,IAAY;AACpD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,YAAY,EAAE;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAgC;AACtE,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,uBAAuB,UAAU;AAAA,IACtC,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,eAAe,MAAgC;AACjE,SAAO,WAAW,mBAAoE;AAAA,IAClF,KAAK,uBAAuB,KAAK;AAAA,IACjC,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,4BAA4B;AAC9C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAgB;AAAA,IAC5C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAsD;AAC5F,SAAO,WAAW,mBAAyG;AAAA,IACvH,KAAK,uBAAuB,iBAAiB;AAAA,IAC7C,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B;AAC7C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,cAAc;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mBAAmB,MAAsD;AAC3F,SAAO,WAAW,mBAA4F;AAAA,IAC1G,KAAK,uBAAuB,gBAAgB;AAAA,IAC5C,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { apiAplicarRetencao, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiSomatorioEntrega } from "./entregaBayerService.js";
|
|
2
|
+
import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./pendenciaBayerService.js";
|
|
3
|
+
import { apiBuscarEntradaGraos } from "./registroEntradaBayerService.js";
|
|
4
|
+
import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } from "./royaltiesBayerService.js";
|
|
5
|
+
export {
|
|
6
|
+
apiAplicarRetencao,
|
|
7
|
+
apiBuscarEntradaGraos,
|
|
8
|
+
apiBuscarPendencias,
|
|
9
|
+
apiBuscarPendenciasBayer,
|
|
10
|
+
apiBuscarRetornoEntregas,
|
|
11
|
+
apiBuscarStatusConsumo,
|
|
12
|
+
apiBuscarStatusFixacao,
|
|
13
|
+
apiCalcularRetencao,
|
|
14
|
+
apiCreateEntrega,
|
|
15
|
+
apiCreateRoyaltiesBusinessPartner,
|
|
16
|
+
apiEnviarEntregaBayer,
|
|
17
|
+
apiEnviarEntregaBayerLote,
|
|
18
|
+
apiFindAllEntregaBayer,
|
|
19
|
+
apiFindEntrega,
|
|
20
|
+
apiGetRoyaltiesBusinessPartner,
|
|
21
|
+
apiSomatorioEntrega
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import ApiService from "../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const PENDENCIA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.pendenciaBayer;
|
|
4
|
+
async function apiBuscarStatusFixacao() {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: PENDENCIA_BAYER_ENDPOINT.buscarStatusFixacao(),
|
|
7
|
+
method: "post"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiBuscarStatusConsumo() {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: PENDENCIA_BAYER_ENDPOINT.buscarStatusConsumo(),
|
|
13
|
+
method: "post"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function apiBuscarPendenciasBayer() {
|
|
17
|
+
return ApiService.fetchDataWithAxios({
|
|
18
|
+
url: PENDENCIA_BAYER_ENDPOINT.buscarPendenciasBayer(),
|
|
19
|
+
method: "post"
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
async function apiBuscarPendencias(params) {
|
|
23
|
+
return ApiService.fetchDataWithAxios({
|
|
24
|
+
url: PENDENCIA_BAYER_ENDPOINT.buscar(params),
|
|
25
|
+
method: "get"
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
apiBuscarPendencias,
|
|
30
|
+
apiBuscarPendenciasBayer,
|
|
31
|
+
apiBuscarStatusConsumo,
|
|
32
|
+
apiBuscarStatusFixacao
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=pendenciaBayerService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pendenciaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/pendenciaBayerService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService';\nimport { TQueryResponse } from '@base/@types/api';\nimport { TFindAllPendenciaResponse } from '@base/@types/api/response/bayer/TFindAllPendenciaResponse';\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation';\n\nconst PENDENCIA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.pendenciaBayer;\n\nexport async function apiBuscarStatusFixacao() {\n return ApiService.fetchDataWithAxios<void>({\n url: PENDENCIA_BAYER_ENDPOINT.buscarStatusFixacao(),\n method: 'post',\n });\n}\n\nexport async function apiBuscarStatusConsumo() {\n return ApiService.fetchDataWithAxios<void>({\n url: PENDENCIA_BAYER_ENDPOINT.buscarStatusConsumo(),\n method: 'post',\n });\n}\n\nexport async function apiBuscarPendenciasBayer() {\n return ApiService.fetchDataWithAxios<void>({\n url: PENDENCIA_BAYER_ENDPOINT.buscarPendenciasBayer(),\n method: 'post',\n });\n}\n\nexport async function apiBuscarPendencias(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllPendenciaResponse>>({\n url: PENDENCIA_BAYER_ENDPOINT.buscar(params),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;AAKA,MAAM,2BAA2B,yBAAyB,MAAM;AAEhE,eAAsB,yBAAyB;AAC3C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,yBAAyB,oBAAoB;AAAA,IAClD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,yBAAyB;AAC3C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,yBAAyB,oBAAoB;AAAA,IAClD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,2BAA2B;AAC7C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,yBAAyB,sBAAsB;AAAA,IACpD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,QAAiB;AACvD,SAAO,WAAW,mBAA8D;AAAA,IAC5E,KAAK,yBAAyB,OAAO,MAAM;AAAA,IAC3C,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import ApiService from "../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const REGISTRO_ENTRADA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.registroEntradaBayer;
|
|
4
|
+
async function apiBuscarEntradaGraos() {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: REGISTRO_ENTRADA_BAYER_ENDPOINT.buscar(),
|
|
7
|
+
method: "post"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
apiBuscarEntradaGraos
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=registroEntradaBayerService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registroEntradaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/registroEntradaBayerService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService';\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation';\n\nconst REGISTRO_ENTRADA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.registroEntradaBayer;\n\nexport async function apiBuscarEntradaGraos() {\n return ApiService.fetchDataWithAxios<void>({\n url: REGISTRO_ENTRADA_BAYER_ENDPOINT.buscar(),\n method: 'post',\n });\n}\n"],"names":[],"mappings":";;AAGA,MAAM,kCAAkC,yBAAyB,MAAM;AAEvE,eAAsB,wBAAwB;AAC1C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,gCAAgC,OAAO;AAAA,IAC5C,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import ApiService from "../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const ROYALTIES_BAYER_ENDPOINT = endpointNavigationConfig.bayer.royaltiesBayer;
|
|
4
|
+
async function apiGetRoyaltiesBusinessPartner() {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: ROYALTIES_BAYER_ENDPOINT.get(),
|
|
7
|
+
method: "get"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function apiCreateRoyaltiesBusinessPartner(data) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: ROYALTIES_BAYER_ENDPOINT.create(),
|
|
13
|
+
method: "post",
|
|
14
|
+
data
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
apiCreateRoyaltiesBusinessPartner,
|
|
19
|
+
apiGetRoyaltiesBusinessPartner
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=royaltiesBayerService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"royaltiesBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/royaltiesBayerService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService';\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation';\nimport { RoyaltiesBusinessPartnerResponse, CreateRoyaltiesBusinessPartnerRequest } from '@base/@types/api/response/bayer/types';\n\nconst ROYALTIES_BAYER_ENDPOINT = endpointNavigationConfig.bayer.royaltiesBayer;\n\nexport async function apiGetRoyaltiesBusinessPartner() {\n return ApiService.fetchDataWithAxios<RoyaltiesBusinessPartnerResponse>({\n url: ROYALTIES_BAYER_ENDPOINT.get(),\n method: 'get',\n });\n}\n\nexport async function apiCreateRoyaltiesBusinessPartner(data: CreateRoyaltiesBusinessPartnerRequest) {\n return ApiService.fetchDataWithAxios<void, CreateRoyaltiesBusinessPartnerRequest>({\n url: ROYALTIES_BAYER_ENDPOINT.create(),\n method: 'post',\n data,\n });\n}\n"],"names":[],"mappings":";;AAIA,MAAM,2BAA2B,yBAAyB,MAAM;AAEhE,eAAsB,iCAAiC;AACnD,SAAO,WAAW,mBAAqD;AAAA,IACnE,KAAK,yBAAyB,IAAI;AAAA,IAClC,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,kCAAkC,MAA6C;AACjG,SAAO,WAAW,mBAAgE;AAAA,IAC9E,KAAK,yBAAyB,OAAO;AAAA,IACrC,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;"}
|
|
@@ -2,13 +2,14 @@ import { apiCreateNotificacaoCentralNfe, apiFindMonitorNotificacaoCentralNfe, ap
|
|
|
2
2
|
import { apiCreateIntervaloPrecoXml, apiFindMonitorIntervaloPrecoXml, apiFindOneIntervaloPrecoXml, apiUpdateIntervaloPrecoXml } from "./intervaloPrecoXml/IntervaloPrecoXmlService.js";
|
|
3
3
|
import { apiCreateVinculoUnidadeMedida, apiFindMonitorVinculoUnidadeMedida, apiFindOneVinculoUnidadeMedida, apiUpdateVinculoUnidadeMedida } from "./vinculoUnidadeMedida/VinculoUnidadeMedidaService.js";
|
|
4
4
|
import { apiCreateCnpjLiberadoNota, apiFindMonitorCnpjLiberadoNota, apiFindOneCnpjLiberadoNota, apiUpdateCnpjLiberadoNota } from "./cnpjLiberadoNota/CnpjLiberadoNotaService.js";
|
|
5
|
-
import { addLancamentoManual, apiFindMonitorNfe, apiFindOneNfe, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
|
|
5
|
+
import { addLancamentoManual, apiDesvincularOrdemCompra, apiFindMonitorNfe, apiFindOneNfe, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
|
|
6
6
|
export {
|
|
7
7
|
addLancamentoManual,
|
|
8
8
|
apiCreateCnpjLiberadoNota,
|
|
9
9
|
apiCreateIntervaloPrecoXml,
|
|
10
10
|
apiCreateNotificacaoCentralNfe,
|
|
11
11
|
apiCreateVinculoUnidadeMedida,
|
|
12
|
+
apiDesvincularOrdemCompra,
|
|
12
13
|
apiFindMonitorCnpjLiberadoNota,
|
|
13
14
|
apiFindMonitorIntervaloPrecoXml,
|
|
14
15
|
apiFindMonitorNfe,
|
|
@@ -40,8 +40,16 @@ async function addLancamentoManual(body) {
|
|
|
40
40
|
data: body
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
+
async function apiDesvincularOrdemCompra(body) {
|
|
44
|
+
return ApiService.fetchDataWithAxios({
|
|
45
|
+
url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,
|
|
46
|
+
method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,
|
|
47
|
+
data: body
|
|
48
|
+
});
|
|
49
|
+
}
|
|
43
50
|
export {
|
|
44
51
|
addLancamentoManual,
|
|
52
|
+
apiDesvincularOrdemCompra,
|
|
45
53
|
apiFindMonitorNfe,
|
|
46
54
|
apiFindOneNfe,
|
|
47
55
|
apiUpdateNfe,
|
|
@@ -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 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":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,IAAY;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,QAAQ,QAAQ,IAAI,EAAE;AAAA,IAC3C,QAAQ,aAAa,QAAQ;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,aAAa,MAAM;AACrC,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,OAAO;AAAA,IACzB,QAAQ,aAAa,OAAO;AAAA,IAC5B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,aAAqB;AAChE,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,yBAAyB,QAAQ,IAAI,WAAW;AAAA,IACrE,QAAQ,aAAa,yBAAyB;AAAA,EAAA,CACjD;AACL;AAEsB,eAAA,sBAAsB,IAAY,cAAsB;AAC1E,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,iBAAiB,SAC9B,QAAQ,QAAQ,GAAG,SAAA,CAAU,EAC7B,QAAQ,kBAAkB,YAAY;AAAA,IAC3C,QAAQ,aAAa,iBAAiB;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,oBAAoB,MAAM;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,oBAAoB;AAAA,IACtC,QAAQ,aAAa,oBAAoB;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"NfeService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/nfe/NfeService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst NFE_ENDPOINT = endpointConfig.centralNfe.nfe;\n\nexport async function apiFindMonitorNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.findMonitor.endpoint,\n method: NFE_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneNfe(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.findOne.endpoint}/${id}`,\n method: NFE_ENDPOINT.findOne.httpMethod\n })\n}\n\nexport async function apiUpdateNfe(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.update.endpoint,\n method: NFE_ENDPOINT.update.httpMethod,\n data: body,\n })\n}\n\nexport async function downloadPdfByChaveAcesso(chaveAcesso: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${NFE_ENDPOINT.downloadPdfByChaveAcesso.endpoint}/${chaveAcesso}`,\n method: NFE_ENDPOINT.downloadPdfByChaveAcesso.httpMethod\n })\n}\n\nexport async function buscaValidacaoImposto(id: number, numeroPedido: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.validacaoImposto.endpoint\n .replace('{id}', id.toString())\n .replace('{numeroPedido}', numeroPedido),\n method: NFE_ENDPOINT.validacaoImposto.httpMethod\n })\n}\n\nexport async function addLancamentoManual(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.addLancamentoManual.endpoint,\n method: NFE_ENDPOINT.addLancamentoManual.httpMethod,\n data: body\n })\n}\n\nexport async function apiDesvincularOrdemCompra(body) {\n return ApiService.fetchDataWithAxios<any>({\n url: NFE_ENDPOINT.desvincularOrdemCompra.endpoint,\n method: NFE_ENDPOINT.desvincularOrdemCompra.httpMethod,\n data: body\n })\n}"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,eAAeA,yBAAe,WAAW;AAE/C,eAAsB,kBAAkB,MAAM;AAC1C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,YAAY;AAAA,IAC9B,QAAQ,aAAa,YAAY;AAAA,IACjC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,cAAc,IAAY;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,QAAQ,QAAQ,IAAI,EAAE;AAAA,IAC3C,QAAQ,aAAa,QAAQ;AAAA,EAAA,CAChC;AACL;AAEA,eAAsB,aAAa,MAAM;AACrC,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,OAAO;AAAA,IACzB,QAAQ,aAAa,OAAO;AAAA,IAC5B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,yBAAyB,aAAqB;AAChE,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,GAAG,aAAa,yBAAyB,QAAQ,IAAI,WAAW;AAAA,IACrE,QAAQ,aAAa,yBAAyB;AAAA,EAAA,CACjD;AACL;AAEsB,eAAA,sBAAsB,IAAY,cAAsB;AAC1E,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,iBAAiB,SAC9B,QAAQ,QAAQ,GAAG,SAAA,CAAU,EAC7B,QAAQ,kBAAkB,YAAY;AAAA,IAC3C,QAAQ,aAAa,iBAAiB;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,oBAAoB,MAAM;AAC5C,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,oBAAoB;AAAA,IACtC,QAAQ,aAAa,oBAAoB;AAAA,IACzC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAM;AAClD,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,aAAa,uBAAuB;AAAA,IACzC,QAAQ,aAAa,uBAAuB;AAAA,IAC5C,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { TRetornoEntregaResponse } from "./TRetornoEntregaResponse";
|
|
2
|
+
|
|
3
|
+
export interface RoyaltiesBusinessPartnerResponse {
|
|
4
|
+
codigoBusinessPartner: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface CreateRoyaltiesBusinessPartnerRequest {
|
|
8
|
+
codigoBusinessPartner: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface EntregaResponse {
|
|
12
|
+
id: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface FindEntregaFilterRequest {
|
|
16
|
+
saldoEntradaGraosIdList: number[];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface SomatorioEntregaPorGrupoResponse {
|
|
20
|
+
grupo: string;
|
|
21
|
+
totalQuantidadeEntregue: number;
|
|
22
|
+
totalQuantidadeBaixada: number;
|
|
23
|
+
totalQuantidadePendente: number;
|
|
24
|
+
totalQuantidadeRetida: number;
|
|
25
|
+
totalQuantidadeBaixadaConsumida: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface SomatorioEntregaResponse {
|
|
29
|
+
somatorios: SomatorioEntregaPorGrupoResponse[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface FindEntregaResponse {
|
|
33
|
+
id: number;
|
|
34
|
+
saldoEntradaGraosId: number;
|
|
35
|
+
ticketId: number;
|
|
36
|
+
codigoCentro: string;
|
|
37
|
+
codigoDeposito: string;
|
|
38
|
+
produtoId: number;
|
|
39
|
+
safraId: number;
|
|
40
|
+
produtorId: number;
|
|
41
|
+
transgenia: 'INTACTA' | 'NAO_INTACTA' | 'INTACTA_NAO_DECLARADA' | 'ORIUNDO_PARTICIPANTE' | 'INTACTA_ORIUNDO_PARTICIPANTE' | 'SEM_TRANSGENIA';
|
|
42
|
+
quantidadeEntregue: number;
|
|
43
|
+
quantidadeBaixada: number;
|
|
44
|
+
quantidadePendente: number;
|
|
45
|
+
quantidadeRetida: number;
|
|
46
|
+
quantidadeBaixadaConsumida: number;
|
|
47
|
+
dataEntrega: string;
|
|
48
|
+
status: 'POSITIVE' | 'NEGATIVE' | 'DECLARED' | 'ORIUNDO';
|
|
49
|
+
retornoEntrega: TRetornoEntregaResponse;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest {
|
|
53
|
+
saldoEntradaGraosId: number;
|
|
54
|
+
quantidadeConsumida: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface QuantidadeConsumidaPorSaldoEntradaGraosRequest {
|
|
58
|
+
itens: ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest[];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface ItemQuantidadeASerRetidaPorSaldoResponse {
|
|
62
|
+
entregaId: number;
|
|
63
|
+
saldoEntradaGraosId: number;
|
|
64
|
+
quantidadeASerRetida: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface QuantidadeASerRetidaPorSaldoResponse {
|
|
68
|
+
businessPartnerRoyalties: string;
|
|
69
|
+
itens: ItemQuantidadeASerRetidaPorSaldoResponse[];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface ItemAplicarRetencaoResponse {
|
|
73
|
+
entregaId: number;
|
|
74
|
+
saldoEntradaGraosId: number;
|
|
75
|
+
quantidadeRetida: number;
|
|
76
|
+
fixacaoId: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface AplicarRetencaoResponse {
|
|
80
|
+
itens: ItemAplicarRetencaoResponse[];
|
|
81
|
+
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import entregaBayer from "./config/entregaBayer";
|
|
2
|
+
import royaltiesBayer from "./config/royaltiesBayer";
|
|
3
|
+
import registroEntradaBayer from "./config/registroEntradaBayer";
|
|
4
|
+
import pendenciaBayer from "./config/pendenciaBayer";
|
|
2
5
|
|
|
3
6
|
const bayer = {
|
|
4
|
-
entregaBayer
|
|
7
|
+
entregaBayer,
|
|
8
|
+
royaltiesBayer,
|
|
9
|
+
registroEntradaBayer,
|
|
10
|
+
pendenciaBayer,
|
|
5
11
|
}
|
|
6
12
|
|
|
7
13
|
export default bayer;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
const entregaBayer = {
|
|
2
2
|
findAll: (params?: string) => `/bayer/api/entregas?${params ?? ''}`,
|
|
3
|
-
createEntrega: (saldoId: number) => `/bayer/api/entregas
|
|
4
|
-
enviarBayer: (id: number) => `/bayer/api/entregas
|
|
3
|
+
createEntrega: (saldoId: number) => `/bayer/api/entregas/${saldoId}`,
|
|
4
|
+
enviarBayer: (id: number) => `/bayer/api/entregas/${id}/enviar-bayer`,
|
|
5
|
+
somatorio: () => '/bayer/api/entregas/somatorio',
|
|
6
|
+
find: () => '/bayer/api/entregas/find',
|
|
7
|
+
enviarBayerLote: () => '/bayer/api/entregas/enviar-bayer-lote',
|
|
8
|
+
calcularRetencao: () => '/bayer/api/entregas/calcular-retencao',
|
|
9
|
+
buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',
|
|
10
|
+
aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',
|
|
5
11
|
}
|
|
6
12
|
|
|
7
13
|
export default entregaBayer
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const pendenciaBayer = {
|
|
2
|
+
buscarStatusFixacao: () => '/bayer/api/pendencias/buscar-status-fixacao',
|
|
3
|
+
buscarStatusConsumo: () => '/bayer/api/pendencias/buscar-status-consumo',
|
|
4
|
+
buscarPendenciasBayer: () => '/bayer/api/pendencias/buscar-bayer',
|
|
5
|
+
buscar: (params?: string) => `/bayer/api/pendencias${params ? `?${params}` : ''}`,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export default pendenciaBayer
|
|
@@ -7,6 +7,7 @@ const nfe = {
|
|
|
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
|
+
desvincularOrdemCompra: { endpoint: `${NFE_BASE_URL}/desvincular-ordem-compra`, httpMethod: 'post' },
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export default nfe
|
package/lib/base/configs/navigation.config/modules.submenu/bayer/pendencia/submenu.pendencia.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ADMIN } from '@/constants/roles.constant'
|
|
2
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
3
|
+
import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
4
|
+
|
|
5
|
+
const subMenuPendencia: NavigationTree = {
|
|
6
|
+
key: 'modules.bayer.pendencia',
|
|
7
|
+
path: '/bayer/pendencia-bayer',
|
|
8
|
+
title: 'Pendência',
|
|
9
|
+
translateKey: 'nav.modules.bayer.pendencia.title',
|
|
10
|
+
icon: 'form',
|
|
11
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
12
|
+
authority: [ADMIN],
|
|
13
|
+
subMenu: [],
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default subMenuPendencia
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { NavigationTree } from '@/@types/navigation'
|
|
2
2
|
import subMenuEntrega from '../../modules.submenu/bayer/entrega/submenu.entrega';
|
|
3
|
+
import subMenuPendencia from '../../modules.submenu/bayer/pendencia/submenu.pendencia';
|
|
3
4
|
|
|
4
5
|
const bayerSubmenu: NavigationTree[] = [
|
|
5
|
-
subMenuEntrega
|
|
6
|
+
subMenuEntrega,
|
|
7
|
+
subMenuPendencia
|
|
6
8
|
]
|
|
7
9
|
|
|
8
10
|
export default bayerSubmenu;
|