@orbe-agro/client-core 5.3.130 → 5.3.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/@types/base/@types/models/racao/desconto.d.ts +28 -0
  2. package/dist/@types/base/@types/models/racao/desconto.d.ts.map +1 -0
  3. package/dist/@types/base/configs/api.config.d.ts.map +1 -1
  4. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +26 -0
  5. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
  6. package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoIva.d.ts +28 -0
  7. package/dist/@types/base/configs/endpoints.config/centralNfe/config/vinculoIva.d.ts.map +1 -0
  8. package/dist/@types/base/configs/endpoints.config/compras/compras.d.ts +4 -0
  9. package/dist/@types/base/configs/endpoints.config/compras/compras.d.ts.map +1 -1
  10. package/dist/@types/base/configs/endpoints.config/compras/config/ordemCompra.d.ts +4 -0
  11. package/dist/@types/base/configs/endpoints.config/compras/config/ordemCompra.d.ts.map +1 -1
  12. package/dist/@types/base/configs/endpoints.config/dm/config/businessPartner.d.ts +8 -0
  13. package/dist/@types/base/configs/endpoints.config/dm/config/businessPartner.d.ts.map +1 -1
  14. package/dist/@types/base/configs/endpoints.config/dm/config/condicaoPagamento.d.ts +4 -0
  15. package/dist/@types/base/configs/endpoints.config/dm/config/condicaoPagamento.d.ts.map +1 -1
  16. package/dist/@types/base/configs/endpoints.config/dm/config/grupoComprador.d.ts +8 -0
  17. package/dist/@types/base/configs/endpoints.config/dm/config/grupoComprador.d.ts.map +1 -0
  18. package/dist/@types/base/configs/endpoints.config/dm/config/iva.d.ts +8 -0
  19. package/dist/@types/base/configs/endpoints.config/dm/config/iva.d.ts.map +1 -0
  20. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +24 -0
  21. package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
  22. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +76 -0
  23. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  24. package/dist/@types/base/configs/endpoints.config/racao/config/desconto.d.ts +24 -0
  25. package/dist/@types/base/configs/endpoints.config/racao/config/desconto.d.ts.map +1 -0
  26. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +22 -0
  27. package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
  28. package/dist/@types/base/configs/navigation.config/submenu/racao/cadastros.submenu.d.ts.map +1 -1
  29. package/dist/@types/base/configs/navigation.config/submenu/racao/config/desconto.submenu.d.ts +4 -0
  30. package/dist/@types/base/configs/navigation.config/submenu/racao/config/desconto.submenu.d.ts.map +1 -0
  31. package/dist/@types/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.d.ts +7 -0
  32. package/dist/@types/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.d.ts.map +1 -0
  33. package/dist/@types/base/services/modules/compras/ordemCompra/OrdemCompraService.d.ts +1 -0
  34. package/dist/@types/base/services/modules/compras/ordemCompra/OrdemCompraService.d.ts.map +1 -1
  35. package/dist/@types/base/services/modules/dm/businessPartner/BusinessPartnerService.d.ts +2 -0
  36. package/dist/@types/base/services/modules/dm/businessPartner/BusinessPartnerService.d.ts.map +1 -1
  37. package/dist/@types/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.d.ts +1 -0
  38. package/dist/@types/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.d.ts.map +1 -1
  39. package/dist/@types/base/services/modules/dm/grupoComprador/GrupoCompradorService.d.ts +3 -0
  40. package/dist/@types/base/services/modules/dm/grupoComprador/GrupoCompradorService.d.ts.map +1 -0
  41. package/dist/@types/base/services/modules/dm/index.d.ts +3 -1
  42. package/dist/@types/base/services/modules/dm/index.d.ts.map +1 -1
  43. package/dist/@types/base/services/modules/dm/iva/IvaService.d.ts +3 -0
  44. package/dist/@types/base/services/modules/dm/iva/IvaService.d.ts.map +1 -0
  45. package/dist/@types/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.d.ts +2 -2
  46. package/dist/@types/base/services/modules/racao/carga/CargaService.d.ts +2 -2
  47. package/dist/@types/base/services/modules/racao/desconto/DescontoService.d.ts +8 -0
  48. package/dist/@types/base/services/modules/racao/desconto/DescontoService.d.ts.map +1 -0
  49. package/dist/@types/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.d.ts +2 -2
  50. package/dist/@types/base/services/modules/racao/listaTecnica/ListaTecnicaService.d.ts +2 -2
  51. package/dist/@types/base/services/modules/racao/metaMensal/MetaMensalService.d.ts +2 -2
  52. package/dist/@types/base/services/modules/racao/pedidoVenda/PedidoVendaService.d.ts +2 -2
  53. package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts +2 -2
  54. package/dist/@types/base/services/modules/racao/tabelaPreco/TabelaPrecoService.d.ts +2 -2
  55. package/dist/@types/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.d.ts +2 -2
  56. package/dist/base/@types/models/racao/desconto.js +5 -0
  57. package/dist/base/@types/models/racao/desconto.js.map +1 -0
  58. package/dist/base/configs/api.config.js +5 -5
  59. package/dist/base/configs/api.config.js.map +1 -1
  60. package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js +10 -8
  61. package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js.map +1 -1
  62. package/dist/base/configs/endpoints.config/centralNfe/config/vinculoIva.js +12 -0
  63. package/dist/base/configs/endpoints.config/centralNfe/config/vinculoIva.js.map +1 -0
  64. package/dist/base/configs/endpoints.config/compras/config/ordemCompra.js +7 -6
  65. package/dist/base/configs/endpoints.config/compras/config/ordemCompra.js.map +1 -1
  66. package/dist/base/configs/endpoints.config/dm/config/businessPartner.js +2 -0
  67. package/dist/base/configs/endpoints.config/dm/config/businessPartner.js.map +1 -1
  68. package/dist/base/configs/endpoints.config/dm/config/condicaoPagamento.js +2 -1
  69. package/dist/base/configs/endpoints.config/dm/config/condicaoPagamento.js.map +1 -1
  70. package/dist/base/configs/endpoints.config/dm/config/grupoComprador.js +7 -0
  71. package/dist/base/configs/endpoints.config/dm/config/grupoComprador.js.map +1 -0
  72. package/dist/base/configs/endpoints.config/dm/config/iva.js +7 -0
  73. package/dist/base/configs/endpoints.config/dm/config/iva.js.map +1 -0
  74. package/dist/base/configs/endpoints.config/dm/dm.js +16 -12
  75. package/dist/base/configs/endpoints.config/dm/dm.js.map +1 -1
  76. package/dist/base/configs/endpoints.config/racao/config/desconto.js +11 -0
  77. package/dist/base/configs/endpoints.config/racao/config/desconto.js.map +1 -0
  78. package/dist/base/configs/endpoints.config/racao/racao.js +17 -15
  79. package/dist/base/configs/endpoints.config/racao/racao.js.map +1 -1
  80. package/dist/base/configs/navigation.config/submenu/racao/cadastros.submenu.js +5 -3
  81. package/dist/base/configs/navigation.config/submenu/racao/cadastros.submenu.js.map +1 -1
  82. package/dist/base/configs/navigation.config/submenu/racao/config/desconto.submenu.js +16 -0
  83. package/dist/base/configs/navigation.config/submenu/racao/config/desconto.submenu.js.map +1 -0
  84. package/dist/base/index.js +395 -387
  85. package/dist/base/index.js.map +1 -1
  86. package/dist/base/services/index.js +377 -369
  87. package/dist/base/services/index.js.map +1 -1
  88. package/dist/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.js +52 -0
  89. package/dist/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.js.map +1 -0
  90. package/dist/base/services/modules/compras/index.js +18 -17
  91. package/dist/base/services/modules/compras/ordemCompra/OrdemCompraService.js +24 -16
  92. package/dist/base/services/modules/compras/ordemCompra/OrdemCompraService.js.map +1 -1
  93. package/dist/base/services/modules/dm/businessPartner/BusinessPartnerService.js +25 -11
  94. package/dist/base/services/modules/dm/businessPartner/BusinessPartnerService.js.map +1 -1
  95. package/dist/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js +15 -8
  96. package/dist/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.js.map +1 -1
  97. package/dist/base/services/modules/dm/grupoComprador/GrupoCompradorService.js +15 -0
  98. package/dist/base/services/modules/dm/grupoComprador/GrupoCompradorService.js.map +1 -0
  99. package/dist/base/services/modules/dm/index.js +77 -70
  100. package/dist/base/services/modules/dm/index.js.map +1 -1
  101. package/dist/base/services/modules/dm/iva/IvaService.js +15 -0
  102. package/dist/base/services/modules/dm/iva/IvaService.js.map +1 -0
  103. package/dist/base/services/modules/index.js +380 -372
  104. package/dist/base/services/modules/index.js.map +1 -1
  105. package/dist/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.js.map +1 -1
  106. package/dist/base/services/modules/racao/carga/CargaService.js.map +1 -1
  107. package/dist/base/services/modules/racao/desconto/DescontoService.js +44 -0
  108. package/dist/base/services/modules/racao/desconto/DescontoService.js.map +1 -0
  109. package/dist/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.js.map +1 -1
  110. package/dist/base/services/modules/racao/listaTecnica/ListaTecnicaService.js.map +1 -1
  111. package/dist/base/services/modules/racao/metaMensal/MetaMensalService.js.map +1 -1
  112. package/dist/base/services/modules/racao/pedidoVenda/PedidoVendaService.js.map +1 -1
  113. package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js.map +1 -1
  114. package/dist/base/services/modules/racao/tabelaPreco/TabelaPrecoService.js.map +1 -1
  115. package/dist/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js.map +1 -1
  116. package/lib/base/@types/models/racao/desconto.ts +29 -0
  117. package/lib/base/configs/api.config.ts +1 -1
  118. package/lib/base/configs/endpoints.config/centralNfe/centralNfe.ts +3 -1
  119. package/lib/base/configs/endpoints.config/centralNfe/config/vinculoIva.ts +12 -0
  120. package/lib/base/configs/endpoints.config/compras/config/ordemCompra.ts +2 -1
  121. package/lib/base/configs/endpoints.config/dm/config/businessPartner.ts +3 -1
  122. package/lib/base/configs/endpoints.config/dm/config/condicaoPagamento.ts +2 -1
  123. package/lib/base/configs/endpoints.config/dm/config/grupoComprador.ts +7 -0
  124. package/lib/base/configs/endpoints.config/dm/config/iva.ts +7 -0
  125. package/lib/base/configs/endpoints.config/dm/dm.ts +4 -0
  126. package/lib/base/configs/endpoints.config/racao/config/desconto.ts +11 -0
  127. package/lib/base/configs/endpoints.config/racao/racao.ts +2 -0
  128. package/lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts +3 -1
  129. package/lib/base/configs/navigation.config/submenu/racao/config/desconto.submenu.ts +16 -0
  130. package/lib/base/services/modules/centralNfe/vinculoIva/VinculoIvaService.ts +53 -0
  131. package/lib/base/services/modules/compras/ordemCompra/OrdemCompraService.ts +8 -0
  132. package/lib/base/services/modules/dm/businessPartner/BusinessPartnerService.ts +14 -0
  133. package/lib/base/services/modules/dm/condicaoPagamento/CondicaoPagamentoService.ts +7 -0
  134. package/lib/base/services/modules/dm/grupoComprador/GrupoCompradorService.ts +13 -0
  135. package/lib/base/services/modules/dm/index.ts +4 -2
  136. package/lib/base/services/modules/dm/iva/IvaService.ts +13 -0
  137. package/lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts +2 -2
  138. package/lib/base/services/modules/racao/carga/CargaService.ts +2 -2
  139. package/lib/base/services/modules/racao/desconto/DescontoService.ts +44 -0
  140. package/lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts +2 -2
  141. package/lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts +2 -2
  142. package/lib/base/services/modules/racao/metaMensal/MetaMensalService.ts +2 -2
  143. package/lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts +2 -2
  144. package/lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts +2 -2
  145. package/lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts +2 -2
  146. package/lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts +2 -2
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"AutorizacaoAtendimentoClienteService.js","sources":["../../../../../../lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAutorizacaoAtendimentoCliente } from \"@base/@types/models/racao/autorizacaoAtendimentoCliente\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT = endpointConfig.racao.autorizacaoAtendimentoCliente;\n\nexport async function apiGetRacaoAutorizacaoAtendimentoCliente(id: string) {\n return ApiService.fetchDataWithAxios<TAutorizacaoAtendimentoCliente>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoAutorizacaoAtendimentoCliente(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoAutorizacaoAtendimentoCliente(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT","endpointConfig","apiGetRacaoAutorizacaoAtendimentoCliente","id","ApiService","apiAddRacaoAutorizacaoAtendimentoCliente","body","apiUpdateRacaoAutorizacaoAtendimentoCliente","apiDeleteRacaoAutorizacaoAtendimentoCliente","apiFindMonitorRacaoAutorizacaoAtendimentoCliente"],"mappings":";;AAKA,MAAMA,IAA2CC,EAAe,MAAM;AAEtE,eAAsBC,EAAyCC,GAAY;AACvE,SAAOC,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAyC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACtE,QAAQH,EAAyC,QAAQ;AAAA,EAAA,CAC5D;AACL;AAEA,eAAsBK,EAAyCC,GAAsC;AACjG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,IAAI;AAAA,IAClD,QAAQA,EAAyC,IAAI;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA4CD,GAAsC;AACpG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO;AAAA,IACrD,QAAQA,EAAyC,OAAO;AAAA,IACxD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA4CL,GAAY;AAC1E,SAAOC,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACrE,QAAQH,EAAyC,OAAO;AAAA,EAAA,CAC3D;AACL;AAEA,eAAsBS,EAAiDH,GAAsB;AACzF,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,YAAY;AAAA,IAC1D,QAAQA,EAAyC,YAAY;AAAA,IAC7D,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"AutorizacaoAtendimentoClienteService.js","sources":["../../../../../../lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAutorizacaoAtendimentoCliente } from \"@base/@types/models/racao/autorizacaoAtendimentoCliente\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT = endpointConfig.racao.autorizacaoAtendimentoCliente;\n\nexport async function apiGetRacaoAutorizacaoAtendimentoCliente(id: number) {\n return ApiService.fetchDataWithAxios<TAutorizacaoAtendimentoCliente>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoAutorizacaoAtendimentoCliente(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoAutorizacaoAtendimentoCliente(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT","endpointConfig","apiGetRacaoAutorizacaoAtendimentoCliente","id","ApiService","apiAddRacaoAutorizacaoAtendimentoCliente","body","apiUpdateRacaoAutorizacaoAtendimentoCliente","apiDeleteRacaoAutorizacaoAtendimentoCliente","apiFindMonitorRacaoAutorizacaoAtendimentoCliente"],"mappings":";;AAKA,MAAMA,IAA2CC,EAAe,MAAM;AAEtE,eAAsBC,EAAyCC,GAAY;AACvE,SAAOC,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAyC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACtE,QAAQH,EAAyC,QAAQ;AAAA,EAAA,CAC5D;AACL;AAEA,eAAsBK,EAAyCC,GAAsC;AACjG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,IAAI;AAAA,IAClD,QAAQA,EAAyC,IAAI;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA4CD,GAAsC;AACpG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO;AAAA,IACrD,QAAQA,EAAyC,OAAO;AAAA,IACxD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA4CL,GAAY;AAC1E,SAAOC,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACrE,QAAQH,EAAyC,OAAO;AAAA,EAAA,CAC3D;AACL;AAEA,eAAsBS,EAAiDH,GAAsB;AACzF,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,YAAY;AAAA,IAC1D,QAAQA,EAAyC,YAAY;AAAA,IAC7D,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CargaService.js","sources":["../../../../../../lib/base/services/modules/racao/carga/CargaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TCarga } from \"@base/@types/models/racao/carga\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CARGA_ENDPOINT = endpointConfig.racao.carga;\n\nexport async function apiGetRacaoCarga(id: string) {\n return ApiService.fetchDataWithAxios<TCarga>({\n url: CARGA_ENDPOINT.findOne.endpoint + `${id}`,\n method: CARGA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.add.endpoint,\n method: CARGA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.update.endpoint,\n method: CARGA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoCarga(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.delete.endpoint + `${id}`,\n method: CARGA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoCarga(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findMonitor.endpoint,\n method: CARGA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindOrdensDisponiveisRacaoCarga(equipeVendaId: number, centroId: number, incotermsId: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findOrdensDisponiveis.endpoint + `${equipeVendaId}/` + `${centroId}/` + `${incotermsId}`,\n method: CARGA_ENDPOINT.findOrdensDisponiveis.method,\n })\n}\n"],"names":["CARGA_ENDPOINT","endpointConfig","apiGetRacaoCarga","id","ApiService","apiAddRacaoCarga","body","apiUpdateRacaoCarga","apiDeleteRacaoCarga","apiFindMonitorRacaoCarga","apiFindOrdensDisponiveisRacaoCarga","equipeVendaId","centroId","incotermsId"],"mappings":";;AAKA,MAAMA,IAAiBC,EAAe,MAAM;AAE5C,eAAsBC,EAAiBC,GAAY;AAC/C,SAAOC,EAAW,mBAA2B;AAAA,IACzC,KAAKJ,EAAe,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC5C,QAAQH,EAAe,QAAQ;AAAA,EAAA,CAClC;AACL;AAEA,eAAsBK,EAAiBC,GAAc;AACjD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,IAAI;AAAA,IACxB,QAAQA,EAAe,IAAI;AAAA,IAC3B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoBD,GAAc;AACpD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO;AAAA,IAC3B,QAAQA,EAAe,OAAO;AAAA,IAC9B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoBL,GAAY;AAClD,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC3C,QAAQH,EAAe,OAAO;AAAA,EAAA,CACjC;AACL;AAEA,eAAsBS,EAAyBH,GAAsB;AACjE,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,YAAY;AAAA,IAChC,QAAQA,EAAe,YAAY;AAAA,IACnC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBI,EAAmCC,GAAuBC,GAAkBC,GAAqB;AACnH,SAAOT,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,sBAAsB,WAAW,GAAGW,CAAa,IAASC,CAAQ,IAASC,CAAW;AAAA,IAC1G,QAAQb,EAAe,sBAAsB;AAAA,EAAA,CAChD;AACL;"}
1
+ {"version":3,"file":"CargaService.js","sources":["../../../../../../lib/base/services/modules/racao/carga/CargaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TCarga } from \"@base/@types/models/racao/carga\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CARGA_ENDPOINT = endpointConfig.racao.carga;\n\nexport async function apiGetRacaoCarga(id: number) {\n return ApiService.fetchDataWithAxios<TCarga>({\n url: CARGA_ENDPOINT.findOne.endpoint + `${id}`,\n method: CARGA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.add.endpoint,\n method: CARGA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.update.endpoint,\n method: CARGA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoCarga(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.delete.endpoint + `${id}`,\n method: CARGA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoCarga(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findMonitor.endpoint,\n method: CARGA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindOrdensDisponiveisRacaoCarga(equipeVendaId: number, centroId: number, incotermsId: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findOrdensDisponiveis.endpoint + `${equipeVendaId}/` + `${centroId}/` + `${incotermsId}`,\n method: CARGA_ENDPOINT.findOrdensDisponiveis.method,\n })\n}\n"],"names":["CARGA_ENDPOINT","endpointConfig","apiGetRacaoCarga","id","ApiService","apiAddRacaoCarga","body","apiUpdateRacaoCarga","apiDeleteRacaoCarga","apiFindMonitorRacaoCarga","apiFindOrdensDisponiveisRacaoCarga","equipeVendaId","centroId","incotermsId"],"mappings":";;AAKA,MAAMA,IAAiBC,EAAe,MAAM;AAE5C,eAAsBC,EAAiBC,GAAY;AAC/C,SAAOC,EAAW,mBAA2B;AAAA,IACzC,KAAKJ,EAAe,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC5C,QAAQH,EAAe,QAAQ;AAAA,EAAA,CAClC;AACL;AAEA,eAAsBK,EAAiBC,GAAc;AACjD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,IAAI;AAAA,IACxB,QAAQA,EAAe,IAAI;AAAA,IAC3B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoBD,GAAc;AACpD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO;AAAA,IAC3B,QAAQA,EAAe,OAAO;AAAA,IAC9B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoBL,GAAY;AAClD,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC3C,QAAQH,EAAe,OAAO;AAAA,EAAA,CACjC;AACL;AAEA,eAAsBS,EAAyBH,GAAsB;AACjE,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,YAAY;AAAA,IAChC,QAAQA,EAAe,YAAY;AAAA,IACnC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBI,EAAmCC,GAAuBC,GAAkBC,GAAqB;AACnH,SAAOT,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,sBAAsB,WAAW,GAAGW,CAAa,IAASC,CAAQ,IAASC,CAAW;AAAA,IAC1G,QAAQb,EAAe,sBAAsB;AAAA,EAAA,CAChD;AACL;"}
@@ -0,0 +1,44 @@
1
+ import n from "../../../../../@ecme/services/ApiService.js";
2
+ import e from "../../../../configs/endpoints.config/endpoints.navigation.js";
3
+ const t = e.racao.desconto;
4
+ async function d(o) {
5
+ return n.fetchDataWithAxios({
6
+ url: t.findOne.endpoint + `${o}`,
7
+ method: t.findOne.method
8
+ });
9
+ }
10
+ async function c(o) {
11
+ return n.fetchDataWithAxios({
12
+ url: t.add.endpoint,
13
+ method: t.add.method,
14
+ data: o
15
+ });
16
+ }
17
+ async function r(o) {
18
+ return n.fetchDataWithAxios({
19
+ url: t.update.endpoint,
20
+ method: t.update.method,
21
+ data: o
22
+ });
23
+ }
24
+ async function h(o) {
25
+ return n.fetchDataWithAxios({
26
+ url: t.delete.endpoint + `${o}`,
27
+ method: t.delete.method
28
+ });
29
+ }
30
+ async function p(o) {
31
+ return n.fetchDataWithAxios({
32
+ url: t.findMonitor.endpoint,
33
+ method: t.findMonitor.method,
34
+ data: o
35
+ });
36
+ }
37
+ export {
38
+ c as apiAddRacaoDesconto,
39
+ h as apiDeleteRacaoDesconto,
40
+ p as apiFindMonitorRacaoDesconto,
41
+ d as apiGetRacaoDesconto,
42
+ r as apiUpdateRacaoDesconto
43
+ };
44
+ //# sourceMappingURL=DescontoService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescontoService.js","sources":["../../../../../../lib/base/services/modules/racao/desconto/DescontoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TDesconto } from \"@base/@types/models/racao/desconto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst DESCONTO_ENDPOINT = endpointConfig.racao.desconto;\n\nexport async function apiGetRacaoDesconto(id: number) {\n return ApiService.fetchDataWithAxios<TDesconto>({\n url: DESCONTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: DESCONTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoDesconto(body: TDesconto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.add.endpoint,\n method: DESCONTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoDesconto(body: TDesconto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.update.endpoint,\n method: DESCONTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoDesconto(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.delete.endpoint + `${id}`,\n method: DESCONTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoDesconto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.findMonitor.endpoint,\n method: DESCONTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["DESCONTO_ENDPOINT","endpointConfig","apiGetRacaoDesconto","id","ApiService","apiAddRacaoDesconto","body","apiUpdateRacaoDesconto","apiDeleteRacaoDesconto","apiFindMonitorRacaoDesconto"],"mappings":";;AAKA,MAAMA,IAAoBC,EAAe,MAAM;AAE/C,eAAsBC,EAAoBC,GAAY;AAClD,SAAOC,EAAW,mBAA8B;AAAA,IAC5C,KAAKJ,EAAkB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC/C,QAAQH,EAAkB,QAAQ;AAAA,EAAA,CACrC;AACL;AAEA,eAAsBK,EAAoBC,GAAiB;AACvD,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,IAAI;AAAA,IAC3B,QAAQA,EAAkB,IAAI;AAAA,IAC9B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAuBD,GAAiB;AAC1D,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,OAAO;AAAA,IAC9B,QAAQA,EAAkB,OAAO;AAAA,IACjC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAuBL,GAAY;AACrD,SAAOC,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC9C,QAAQH,EAAkB,OAAO;AAAA,EAAA,CACpC;AACL;AAEA,eAAsBS,EAA4BH,GAAsB;AACpE,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,YAAY;AAAA,IACnC,QAAQA,EAAkB,YAAY;AAAA,IACtC,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"GestaoComissaoRepresentanteService.js","sources":["../../../../../../lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TGestaoComissaoRepresentante } from \"@base/@types/models/racao/gestaoComissaoRepresentante\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT = endpointConfig.racao.gestaoComissaoRepresentante;\n\nexport async function apiGetRacaoGestaoComissaoRepresentante(id: string) {\n return ApiService.fetchDataWithAxios<TGestaoComissaoRepresentante>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoGestaoComissaoRepresentante(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoGestaoComissaoRepresentante(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT","endpointConfig","apiGetRacaoGestaoComissaoRepresentante","id","ApiService","apiAddRacaoGestaoComissaoRepresentante","body","apiUpdateRacaoGestaoComissaoRepresentante","apiDeleteRacaoGestaoComissaoRepresentante","apiFindMonitorRacaoGestaoComissaoRepresentante"],"mappings":";;AAKA,MAAMA,IAAyCC,EAAe,MAAM;AAEpE,eAAsBC,EAAuCC,GAAY;AACrE,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAuC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpE,QAAQH,EAAuC,QAAQ;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsBK,EAAuCC,GAAoC;AAC7F,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,IAAI;AAAA,IAChD,QAAQA,EAAuC,IAAI;AAAA,IACnD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0CD,GAAoC;AAChG,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO;AAAA,IACnD,QAAQA,EAAuC,OAAO;AAAA,IACtD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0CL,GAAY;AACxE,SAAOC,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnE,QAAQH,EAAuC,OAAO;AAAA,EAAA,CACzD;AACL;AAEA,eAAsBS,EAA+CH,GAAsB;AACvF,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,YAAY;AAAA,IACxD,QAAQA,EAAuC,YAAY;AAAA,IAC3D,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"GestaoComissaoRepresentanteService.js","sources":["../../../../../../lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TGestaoComissaoRepresentante } from \"@base/@types/models/racao/gestaoComissaoRepresentante\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT = endpointConfig.racao.gestaoComissaoRepresentante;\n\nexport async function apiGetRacaoGestaoComissaoRepresentante(id: number) {\n return ApiService.fetchDataWithAxios<TGestaoComissaoRepresentante>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoGestaoComissaoRepresentante(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoGestaoComissaoRepresentante(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT","endpointConfig","apiGetRacaoGestaoComissaoRepresentante","id","ApiService","apiAddRacaoGestaoComissaoRepresentante","body","apiUpdateRacaoGestaoComissaoRepresentante","apiDeleteRacaoGestaoComissaoRepresentante","apiFindMonitorRacaoGestaoComissaoRepresentante"],"mappings":";;AAKA,MAAMA,IAAyCC,EAAe,MAAM;AAEpE,eAAsBC,EAAuCC,GAAY;AACrE,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAuC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpE,QAAQH,EAAuC,QAAQ;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsBK,EAAuCC,GAAoC;AAC7F,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,IAAI;AAAA,IAChD,QAAQA,EAAuC,IAAI;AAAA,IACnD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0CD,GAAoC;AAChG,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO;AAAA,IACnD,QAAQA,EAAuC,OAAO;AAAA,IACtD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0CL,GAAY;AACxE,SAAOC,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnE,QAAQH,EAAuC,OAAO;AAAA,EAAA,CACzD;AACL;AAEA,eAAsBS,EAA+CH,GAAsB;AACvF,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,YAAY;AAAA,IACxD,QAAQA,EAAuC,YAAY;AAAA,IAC3D,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListaTecnicaService.js","sources":["../../../../../../lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TListaTecnica } from \"@base/@types/models/racao/listaTecnica\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst LISTA_TECNICA_ENDPOINT = endpointConfig.racao.listaTecnica;\n\nexport async function apiGetRacaoListaTecnica(id: string) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.findOne.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiFindRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica[]>({\n url: LISTA_TECNICA_ENDPOINT.find.endpoint,\n method: LISTA_TECNICA_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiLatestRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.latest.endpoint,\n method: LISTA_TECNICA_ENDPOINT.latest.method,\n data,\n })\n}\n\nexport async function apiAddRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.add.endpoint,\n method: LISTA_TECNICA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.update.endpoint,\n method: LISTA_TECNICA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoListaTecnica(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.delete.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoListaTecnica(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.findMonitor.endpoint,\n method: LISTA_TECNICA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["LISTA_TECNICA_ENDPOINT","endpointConfig","apiGetRacaoListaTecnica","id","ApiService","apiFindRacaoListaTecnica","data","apiLatestRacaoListaTecnica","apiAddRacaoListaTecnica","body","apiUpdateRacaoListaTecnica","apiDeleteRacaoListaTecnica","apiFindMonitorRacaoListaTecnica"],"mappings":";;AAKA,MAAMA,IAAyBC,EAAe,MAAM;AAEpD,eAAsBC,EAAwBC,GAAY;AACtD,SAAOC,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAuB,QAAQ;AAAA,EAAA,CAC1C;AACL;AAEA,eAAsBK,EAAyBC,IAAO,IAAI;AACtD,SAAOF,EAAW,mBAAoC;AAAA,IAClD,KAAKJ,EAAuB,KAAK;AAAA,IACjC,QAAQA,EAAuB,KAAK;AAAA,IACpC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBC,EAA2BD,IAAO,IAAI;AACxD,SAAOF,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAwBC,GAAqB;AAC/D,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,IAAI;AAAA,IAChC,QAAQA,EAAuB,IAAI;AAAA,IACnC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA2BD,GAAqB;AAClE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA2BR,GAAY;AACzD,SAAOC,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAuB,OAAO;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBY,EAAgCH,GAAsB;AACxE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,YAAY;AAAA,IACxC,QAAQA,EAAuB,YAAY;AAAA,IAC3C,MAAMS;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"ListaTecnicaService.js","sources":["../../../../../../lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TListaTecnica } from \"@base/@types/models/racao/listaTecnica\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst LISTA_TECNICA_ENDPOINT = endpointConfig.racao.listaTecnica;\n\nexport async function apiGetRacaoListaTecnica(id: number) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.findOne.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiFindRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica[]>({\n url: LISTA_TECNICA_ENDPOINT.find.endpoint,\n method: LISTA_TECNICA_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiLatestRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.latest.endpoint,\n method: LISTA_TECNICA_ENDPOINT.latest.method,\n data,\n })\n}\n\nexport async function apiAddRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.add.endpoint,\n method: LISTA_TECNICA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.update.endpoint,\n method: LISTA_TECNICA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoListaTecnica(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.delete.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoListaTecnica(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.findMonitor.endpoint,\n method: LISTA_TECNICA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["LISTA_TECNICA_ENDPOINT","endpointConfig","apiGetRacaoListaTecnica","id","ApiService","apiFindRacaoListaTecnica","data","apiLatestRacaoListaTecnica","apiAddRacaoListaTecnica","body","apiUpdateRacaoListaTecnica","apiDeleteRacaoListaTecnica","apiFindMonitorRacaoListaTecnica"],"mappings":";;AAKA,MAAMA,IAAyBC,EAAe,MAAM;AAEpD,eAAsBC,EAAwBC,GAAY;AACtD,SAAOC,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAuB,QAAQ;AAAA,EAAA,CAC1C;AACL;AAEA,eAAsBK,EAAyBC,IAAO,IAAI;AACtD,SAAOF,EAAW,mBAAoC;AAAA,IAClD,KAAKJ,EAAuB,KAAK;AAAA,IACjC,QAAQA,EAAuB,KAAK;AAAA,IACpC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBC,EAA2BD,IAAO,IAAI;AACxD,SAAOF,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAwBC,GAAqB;AAC/D,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,IAAI;AAAA,IAChC,QAAQA,EAAuB,IAAI;AAAA,IACnC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA2BD,GAAqB;AAClE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA2BR,GAAY;AACzD,SAAOC,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAuB,OAAO;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBY,EAAgCH,GAAsB;AACxE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,YAAY;AAAA,IACxC,QAAQA,EAAuB,YAAY;AAAA,IAC3C,MAAMS;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"MetaMensalService.js","sources":["../../../../../../lib/base/services/modules/racao/metaMensal/MetaMensalService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TMetaMensal } from \"@base/@types/models/racao/metaMensal\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst META_MENSAL_ENDPOINT = endpointConfig.racao.metaMensal;\n\nexport async function apiGetRacaoMetaMensal(id: string) {\n return ApiService.fetchDataWithAxios<TMetaMensal>({\n url: META_MENSAL_ENDPOINT.findOne.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.add.endpoint,\n method: META_MENSAL_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.update.endpoint,\n method: META_MENSAL_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoMetaMensal(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.delete.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoMetaMensal(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.findMonitor.endpoint,\n method: META_MENSAL_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["META_MENSAL_ENDPOINT","endpointConfig","apiGetRacaoMetaMensal","id","ApiService","apiAddRacaoMetaMensal","body","apiUpdateRacaoMetaMensal","apiDeleteRacaoMetaMensal","apiFindMonitorRacaoMetaMensal"],"mappings":";;AAKA,MAAMA,IAAuBC,EAAe,MAAM;AAElD,eAAsBC,EAAsBC,GAAY;AACpD,SAAOC,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAqB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAqB,QAAQ;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBK,EAAsBC,GAAmB;AAC3D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,IAAI;AAAA,IAC9B,QAAQA,EAAqB,IAAI;AAAA,IACjC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAyBD,GAAmB;AAC9D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO;AAAA,IACjC,QAAQA,EAAqB,OAAO;AAAA,IACpC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAyBL,GAAY;AACvD,SAAOC,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACjD,QAAQH,EAAqB,OAAO;AAAA,EAAA,CACvC;AACL;AAEA,eAAsBS,EAA8BH,GAAsB;AACtE,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"MetaMensalService.js","sources":["../../../../../../lib/base/services/modules/racao/metaMensal/MetaMensalService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TMetaMensal } from \"@base/@types/models/racao/metaMensal\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst META_MENSAL_ENDPOINT = endpointConfig.racao.metaMensal;\n\nexport async function apiGetRacaoMetaMensal(id: number) {\n return ApiService.fetchDataWithAxios<TMetaMensal>({\n url: META_MENSAL_ENDPOINT.findOne.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.add.endpoint,\n method: META_MENSAL_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.update.endpoint,\n method: META_MENSAL_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoMetaMensal(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.delete.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoMetaMensal(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.findMonitor.endpoint,\n method: META_MENSAL_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["META_MENSAL_ENDPOINT","endpointConfig","apiGetRacaoMetaMensal","id","ApiService","apiAddRacaoMetaMensal","body","apiUpdateRacaoMetaMensal","apiDeleteRacaoMetaMensal","apiFindMonitorRacaoMetaMensal"],"mappings":";;AAKA,MAAMA,IAAuBC,EAAe,MAAM;AAElD,eAAsBC,EAAsBC,GAAY;AACpD,SAAOC,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAqB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAqB,QAAQ;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBK,EAAsBC,GAAmB;AAC3D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,IAAI;AAAA,IAC9B,QAAQA,EAAqB,IAAI;AAAA,IACjC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAyBD,GAAmB;AAC9D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO;AAAA,IACjC,QAAQA,EAAqB,OAAO;AAAA,IACpC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAyBL,GAAY;AACvD,SAAOC,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACjD,QAAQH,EAAqB,OAAO;AAAA,EAAA,CACvC;AACL;AAEA,eAAsBS,EAA8BH,GAAsB;AACtE,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PedidoVendaService.js","sources":["../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from \"@base/@types/models/racao/pedidoVenda\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;\n\nexport async function apiGetRacaoPedidoVenda(id: string) {\n return ApiService.fetchDataWithAxios<TPedidoVenda>({\n url: PEDIDO_VENDA_ENDPOINT.findOne.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.add.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.update.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.delete.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiAprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.aprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.aprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiReprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.reprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.reprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.findMonitor.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiGetCalulatePriceRacaoPedidoVenda(produtoId: string) {\n return ApiService.fetchDataWithAxios<TPedidoVendaCalculatePrice>({\n url: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.endpoint + `${produtoId}`,\n method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method,\n })\n}\n"],"names":["PEDIDO_VENDA_ENDPOINT","endpointConfig","apiGetRacaoPedidoVenda","id","ApiService","apiAddRacaoPedidoVenda","body","apiUpdateRacaoPedidoVenda","apiDeleteRacaoPedidoVenda","apiAprovarRacaoPedidoVenda","motivo","apiReprovarRacaoPedidoVenda","apiFindMonitorRacaoPedidoVenda","apiGetCalulatePriceRacaoPedidoVenda","produtoId"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA2BN,GAAYO,GAAgB;AACzE,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,IACtC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBC,EAA4BR,GAAYO,GAAgB;AAC1E,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,SAAS,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBE,EAA+BN,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBO,EAAoCC,GAAmB;AACzE,SAAOV,EAAW,mBAA+C;AAAA,IAC7D,KAAKJ,EAAsB,sBAAsB,WAAW,GAAGc,CAAS;AAAA,IACxE,QAAQd,EAAsB,sBAAsB;AAAA,EAAA,CACvD;AACL;"}
1
+ {"version":3,"file":"PedidoVendaService.js","sources":["../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from \"@base/@types/models/racao/pedidoVenda\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;\n\nexport async function apiGetRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TPedidoVenda>({\n url: PEDIDO_VENDA_ENDPOINT.findOne.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.add.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.update.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.delete.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiAprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.aprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.aprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiReprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.reprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.reprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.findMonitor.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number) {\n return ApiService.fetchDataWithAxios<TPedidoVendaCalculatePrice>({\n url: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.endpoint + `${produtoId}`,\n method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method,\n })\n}\n"],"names":["PEDIDO_VENDA_ENDPOINT","endpointConfig","apiGetRacaoPedidoVenda","id","ApiService","apiAddRacaoPedidoVenda","body","apiUpdateRacaoPedidoVenda","apiDeleteRacaoPedidoVenda","apiAprovarRacaoPedidoVenda","motivo","apiReprovarRacaoPedidoVenda","apiFindMonitorRacaoPedidoVenda","apiGetCalulatePriceRacaoPedidoVenda","produtoId"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA2BN,GAAYO,GAAgB;AACzE,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,IACtC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBC,EAA4BR,GAAYO,GAAgB;AAC1E,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,SAAS,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBE,EAA+BN,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBO,EAAoCC,GAAmB;AACzE,SAAOV,EAAW,mBAA+C;AAAA,IAC7D,KAAKJ,EAAsB,sBAAsB,WAAW,GAAGc,CAAS;AAAA,IACxE,QAAQd,EAAsB,sBAAsB;AAAA,EAAA,CACvD;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentoProdutoService.js","sources":["../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TSegmentoProduto } from \"@base/@types/models/racao/segmentoProduto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst SEGMENTO_PRODUTO_ENDPOINT = endpointConfig.racao.segmentoProduto;\n\nexport async function apiGetRacaoSegmentoProduto(id: string) {\n return ApiService.fetchDataWithAxios<TSegmentoProduto>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.add.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.update.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoSegmentoProduto(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.delete.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoSegmentoProduto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["SEGMENTO_PRODUTO_ENDPOINT","endpointConfig","apiGetRacaoSegmentoProduto","id","ApiService","apiAddRacaoSegmentoProduto","body","apiUpdateRacaoSegmentoProduto","apiDeleteRacaoSegmentoProduto","apiFindMonitorRacaoSegmentoProduto"],"mappings":";;AAKA,MAAMA,IAA4BC,EAAe,MAAM;AAEvD,eAAsBC,EAA2BC,GAAY;AACzD,SAAOC,EAAW,mBAAqC;AAAA,IACnD,KAAKJ,EAA0B,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACvD,QAAQH,EAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsBK,EAA2BC,GAAwB;AACrE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,IAAI;AAAA,IACnC,QAAQA,EAA0B,IAAI;AAAA,IACtC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA8BD,GAAwB;AACxE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO;AAAA,IACtC,QAAQA,EAA0B,OAAO;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA8BL,GAAY;AAC5D,SAAOC,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO,WAAW,GAAGG,CAAE;AAAA,IACtD,QAAQH,EAA0B,OAAO;AAAA,EAAA,CAC5C;AACL;AAEA,eAAsBS,EAAmCH,GAAsB;AAC3E,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,YAAY;AAAA,IAC3C,QAAQA,EAA0B,YAAY;AAAA,IAC9C,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"SegmentoProdutoService.js","sources":["../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TSegmentoProduto } from \"@base/@types/models/racao/segmentoProduto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst SEGMENTO_PRODUTO_ENDPOINT = endpointConfig.racao.segmentoProduto;\n\nexport async function apiGetRacaoSegmentoProduto(id: number) {\n return ApiService.fetchDataWithAxios<TSegmentoProduto>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.add.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.update.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoSegmentoProduto(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.delete.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoSegmentoProduto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["SEGMENTO_PRODUTO_ENDPOINT","endpointConfig","apiGetRacaoSegmentoProduto","id","ApiService","apiAddRacaoSegmentoProduto","body","apiUpdateRacaoSegmentoProduto","apiDeleteRacaoSegmentoProduto","apiFindMonitorRacaoSegmentoProduto"],"mappings":";;AAKA,MAAMA,IAA4BC,EAAe,MAAM;AAEvD,eAAsBC,EAA2BC,GAAY;AACzD,SAAOC,EAAW,mBAAqC;AAAA,IACnD,KAAKJ,EAA0B,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACvD,QAAQH,EAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsBK,EAA2BC,GAAwB;AACrE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,IAAI;AAAA,IACnC,QAAQA,EAA0B,IAAI;AAAA,IACtC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA8BD,GAAwB;AACxE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO;AAAA,IACtC,QAAQA,EAA0B,OAAO;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA8BL,GAAY;AAC5D,SAAOC,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO,WAAW,GAAGG,CAAE;AAAA,IACtD,QAAQH,EAA0B,OAAO;AAAA,EAAA,CAC5C;AACL;AAEA,eAAsBS,EAAmCH,GAAsB;AAC3E,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,YAAY;AAAA,IAC3C,QAAQA,EAA0B,YAAY;AAAA,IAC9C,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTabelaPreco } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id: string) {\n return ApiService.fetchDataWithAxios<TTabelaPreco>({\n url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.add.endpoint,\n method: TABELA_PRECO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.update.endpoint,\n method: TABELA_PRECO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoTabelaPreco(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.findMonitor.endpoint,\n method: TABELA_PRECO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["TABELA_PRECO_ENDPOINT","endpointConfig","apiGetRacaoTabelaPreco","id","ApiService","apiAddRacaoTabelaPreco","body","apiUpdateRacaoTabelaPreco","apiDeleteRacaoTabelaPreco","apiFindMonitorRacaoTabelaPreco"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA+BH,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTabelaPreco } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TTabelaPreco>({\n url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.add.endpoint,\n method: TABELA_PRECO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.update.endpoint,\n method: TABELA_PRECO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.findMonitor.endpoint,\n method: TABELA_PRECO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["TABELA_PRECO_ENDPOINT","endpointConfig","apiGetRacaoTabelaPreco","id","ApiService","apiAddRacaoTabelaPreco","body","apiUpdateRacaoTabelaPreco","apiDeleteRacaoTabelaPreco","apiFindMonitorRacaoTabelaPreco"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA+BH,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -1 +1 @@
1
- {"version":3,"file":"VinculoMaterialCentroService.js","sources":["../../../../../../lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TVinculoMaterialCentro } from \"@base/@types/models/racao/vinculoMaterialCentro\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_MATERIAL_CENTRO_ENDPOINT = endpointConfig.racao.vinculoMaterialCentro;\n\nexport async function apiGetRacaoVinculoMaterialCentro(id: string) {\n return ApiService.fetchDataWithAxios<TVinculoMaterialCentro>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoVinculoMaterialCentro(id: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoVinculoMaterialCentro(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["VINCULO_MATERIAL_CENTRO_ENDPOINT","endpointConfig","apiGetRacaoVinculoMaterialCentro","id","ApiService","apiAddRacaoVinculoMaterialCentro","body","apiUpdateRacaoVinculoMaterialCentro","apiDeleteRacaoVinculoMaterialCentro","apiFindMonitorRacaoVinculoMaterialCentro"],"mappings":";;AAKA,MAAMA,IAAmCC,EAAe,MAAM;AAE9D,eAAsBC,EAAiCC,GAAY;AAC/D,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAiC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC9D,QAAQH,EAAiC,QAAQ;AAAA,EAAA,CACpD;AACL;AAEA,eAAsBK,EAAiCC,GAA8B;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,IAAI;AAAA,IAC1C,QAAQA,EAAiC,IAAI;AAAA,IAC7C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoCD,GAA8B;AACpF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO;AAAA,IAC7C,QAAQA,EAAiC,OAAO;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoCL,GAAY;AAClE,SAAOC,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC7D,QAAQH,EAAiC,OAAO;AAAA,EAAA,CACnD;AACL;AAEA,eAAsBS,EAAyCH,GAAsB;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,YAAY;AAAA,IAClD,QAAQA,EAAiC,YAAY;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;"}
1
+ {"version":3,"file":"VinculoMaterialCentroService.js","sources":["../../../../../../lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TVinculoMaterialCentro } from \"@base/@types/models/racao/vinculoMaterialCentro\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_MATERIAL_CENTRO_ENDPOINT = endpointConfig.racao.vinculoMaterialCentro;\n\nexport async function apiGetRacaoVinculoMaterialCentro(id: number) {\n return ApiService.fetchDataWithAxios<TVinculoMaterialCentro>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoVinculoMaterialCentro(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoVinculoMaterialCentro(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["VINCULO_MATERIAL_CENTRO_ENDPOINT","endpointConfig","apiGetRacaoVinculoMaterialCentro","id","ApiService","apiAddRacaoVinculoMaterialCentro","body","apiUpdateRacaoVinculoMaterialCentro","apiDeleteRacaoVinculoMaterialCentro","apiFindMonitorRacaoVinculoMaterialCentro"],"mappings":";;AAKA,MAAMA,IAAmCC,EAAe,MAAM;AAE9D,eAAsBC,EAAiCC,GAAY;AAC/D,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAiC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC9D,QAAQH,EAAiC,QAAQ;AAAA,EAAA,CACpD;AACL;AAEA,eAAsBK,EAAiCC,GAA8B;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,IAAI;AAAA,IAC1C,QAAQA,EAAiC,IAAI;AAAA,IAC7C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoCD,GAA8B;AACpF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO;AAAA,IAC7C,QAAQA,EAAiC,OAAO;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoCL,GAAY;AAClE,SAAOC,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC7D,QAAQH,EAAiC,OAAO;AAAA,EAAA,CACnD;AACL;AAEA,eAAsBS,EAAyCH,GAAsB;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,YAAY;AAAA,IAClD,QAAQA,EAAiC,YAAY;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;"}
@@ -0,0 +1,29 @@
1
+ export enum TipoDesconto {
2
+ CLIENTE = 'CLIENTE',
3
+ REPRESENTANTE = 'REPRESENTANTE',
4
+ }
5
+
6
+ export type TDescontoColumnDef = {
7
+ id: number
8
+ dataCriacao: string
9
+ usuarioCriacaoId: number
10
+ usuarioCriacaoNome: string
11
+ tipoDesconto: string
12
+ dataValidade: string
13
+ percentual: number
14
+ clienteId: number
15
+ clienteBusinessPartner: number
16
+ clienteNomeCompleto: number
17
+ vendedorId: number
18
+ vendedorBusinessPartner?: number
19
+ vendedorNomeCompleto?: number
20
+ }
21
+
22
+ export type TDesconto = {
23
+ id?: number
24
+ tipoDesconto: TipoDesconto | string
25
+ dataValidade?: string
26
+ percentual: number
27
+ clienteId?: number
28
+ vendedorId?: number
29
+ }
@@ -35,7 +35,7 @@ const BUILD_API_URL = import.meta.env.VITE_APP_API_URL
35
35
  * @desc Endereço atual da API.
36
36
  **/
37
37
 
38
- export const API_URL = NODE_ENV === 'development' || !BUILD_API_URL ? DEV_API_URL : window?.location?.origin?.replace(':31000', ':30001') ?? BUILD_API_URL
38
+ export const API_URL = NODE_ENV === 'development' || !BUILD_API_URL ? DEV_API_URL : window?.location?.origin?.replace(':5173', ':8081').replace(':31000', ':30001') ?? BUILD_API_URL
39
39
 
40
40
  export const GOOGLE_MAP_API_KEY = import.meta.env.VITE_APP_GOOGLE_MAP_API_KEY
41
41
  export const GOOGLE_MAP_MAP_ID = import.meta.env.VITE_APP_GOOGLE_MAP_MAP_ID
@@ -3,13 +3,15 @@ import notificacaoCentralNfe from "./config/notificacaoCentralNfe"
3
3
  import vinculoUnidadeMedida from "./config/vinculoUnidadeMedida"
4
4
  import cnpjLiberadoNota from "./config/cnpjLiberadoNota"
5
5
  import nfe from "./config/nfe"
6
+ import vinculoIva from "./config/vinculoIva"
6
7
 
7
8
  const centralNfe = {
8
9
  notificacaoCentralNfe,
9
10
  intervaloPrecoXml,
10
11
  vinculoUnidadeMedida,
11
12
  cnpjLiberadoNota,
12
- nfe
13
+ nfe,
14
+ vinculoIva
13
15
  }
14
16
 
15
17
  export default centralNfe
@@ -0,0 +1,12 @@
1
+ const VINCULO_IVA_BASE_URL = '/central-nfe/api/vinculo-iva'
2
+
3
+ const vinculoIva = {
4
+ findMonitor: { endpoint: `${VINCULO_IVA_BASE_URL}/find-monitor`, httpMethod: 'post' },
5
+ findOne: { endpoint: VINCULO_IVA_BASE_URL, httpMethod: 'get' },
6
+ update: { endpoint: VINCULO_IVA_BASE_URL, httpMethod: 'patch' },
7
+ create: { endpoint: VINCULO_IVA_BASE_URL, httpMethod: 'post' },
8
+ findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil: { endpoint: `${VINCULO_IVA_BASE_URL}/{nMaterial}/{idFornecedor}/{classificacaoContabil}/id-iva`, httpMethod: 'get' },
9
+ save: { endpoint: `${VINCULO_IVA_BASE_URL}/save`, httpMethod: 'post' },
10
+ }
11
+
12
+ export default vinculoIva
@@ -4,7 +4,8 @@ const ordemCompra = {
4
4
  findMonitor: { endpoint: `${ORDEM_COMPRA_BASE_URL}/find-monitor`, httpMethod: 'post' },
5
5
  findOne: { endpoint: ORDEM_COMPRA_BASE_URL, httpMethod: 'get' },
6
6
  update: { endpoint: ORDEM_COMPRA_BASE_URL, httpMethod: 'put' },
7
- cancelar: { endpoint: `${ORDEM_COMPRA_BASE_URL}/{id}/cancelar`, httpMethod: 'post' }
7
+ cancelar: { endpoint: `${ORDEM_COMPRA_BASE_URL}/{id}/cancelar`, httpMethod: 'post' },
8
+ findOrdensComprasNfeByIdsFornecedores: { endpoint: `${ORDEM_COMPRA_BASE_URL}/find-ordens-compras-by-ids-fornecedores`, httpMethod: 'post' },
8
9
  }
9
10
 
10
11
  export default ordemCompra
@@ -7,12 +7,14 @@ const businessPartner = {
7
7
  findBusinessPartnerFornecedor: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-business-partner-is-fornecedor`, method: 'post' },
8
8
  findMonitorFornecedor: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-monitor-fornecedor`, httpMethod: 'post' },
9
9
  findMonitorTransportadora: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-monitor-transportadora`, httpMethod: 'post' },
10
+ findEmpresasIdsByCnpj: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/{cnpj}/find-empresas-ids`, httpMethod: 'get' },
10
11
  findBusinessPartnerFiliais: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-business-partner-filiais`, method: 'post' },
11
12
  findBusinessPartnerMatrizes: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-business-partner-matrizes`, method: 'post' },
13
+ findFornecedorNfeByCnpj: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/{cnpj}/find-fornecedor-nfe`, httpMethod: 'get' },
12
14
  findBusinessPartnerFuncoesParceirosClientes: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-bp-vinculo-funcao-parceiros-clientes`, method: 'post' },
13
15
  findBusinessPartnerFuncoesParceirosFornecedores: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-bp-vinculo-funcao-parceiros-fornecedores`, method: 'post' },
14
16
  findBusinessPartnerByClientOrSupplierFunction: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-vendedores-aka-representantes-vendas`, method: 'get' },
15
- findSalesAreasByBusinessPartnerAndSetorAtividade: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-sales-areas-client-by-business-partner-and-setor-atividade/`, method: 'get' },
17
+ findSalesAreasByBusinessPartnerAndSetorAtividade: { endpoint: `${BUSINESS_PARTNER_BASE_URL}/find-sales-areas-client-by-business-partner-and-setor-atividade/`, method: 'get' }
16
18
  }
17
19
 
18
20
  export default businessPartner
@@ -2,7 +2,8 @@ const CONDICAO_PAGAMENTO_BASE_URL = '/dados-mestres/api/dm/condicao-pagamento'
2
2
 
3
3
  const condicaoPagamento = {
4
4
  find: { endpoint: `${CONDICAO_PAGAMENTO_BASE_URL}/find`, method: 'post' },
5
- findMonitor: { endpoint: `${CONDICAO_PAGAMENTO_BASE_URL}/find-monitor`, httpMethod: 'post' }
5
+ findMonitor: { endpoint: `${CONDICAO_PAGAMENTO_BASE_URL}/find-monitor`, httpMethod: 'post' },
6
+ verificaCadastroCompletoByCondicaoPagamento: { endpoint: `${CONDICAO_PAGAMENTO_BASE_URL}/{condicaoPagamento}/verifica-cadastro-completo`, httpMethod: 'get' }
6
7
  }
7
8
 
8
9
  export default condicaoPagamento
@@ -0,0 +1,7 @@
1
+ const GRUPO_COMPRADOR_BASE_URL = '/dados-mestres/api/dm/grupo-comprador'
2
+
3
+ const grupoComprador = {
4
+ findMonitor: { endpoint: `${GRUPO_COMPRADOR_BASE_URL}/find-monitor`, httpMethod: 'post' }
5
+ }
6
+
7
+ export default grupoComprador
@@ -0,0 +1,7 @@
1
+ const IVA_BASE_URL = '/dados-mestres/api/dm/iva'
2
+
3
+ const iva = {
4
+ findMonitor: { endpoint: `${IVA_BASE_URL}/find-monitor`, httpMethod: 'post' }
5
+ }
6
+
7
+ export default iva
@@ -17,6 +17,8 @@ import departamento from "./config/departamento.endpoint.config";
17
17
  import tipoDocumentoVenda from "./config/tipoDocumentoVenda";
18
18
  import grupoVenda from "./config/grupoVenda";
19
19
  import tipoOrdemVenda from "./config/tipoOrdemVenda";
20
+ import iva from "./config/iva";
21
+ import grupoComprador from "./config/grupoComprador";
20
22
  import tipoVeiculo from "./config/tipoVeiculo";
21
23
  import municipio from "./config/municipio";
22
24
 
@@ -40,6 +42,8 @@ const dm = {
40
42
  grupoVenda,
41
43
  tipoDocumentoVenda,
42
44
  tipoOrdemVenda,
45
+ iva,
46
+ grupoComprador,
43
47
  tipoVeiculo,
44
48
  municipio
45
49
  }
@@ -0,0 +1,11 @@
1
+ const DESCONTO_BASE_URL = '/racao/api/racao/desconto'
2
+
3
+ const desconto = {
4
+ findOne: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'get' },
5
+ add: { endpoint: `${DESCONTO_BASE_URL}`, method: 'post' },
6
+ update: { endpoint: `${DESCONTO_BASE_URL}`, method: 'put' },
7
+ delete: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'delete' },
8
+ findMonitor: { endpoint: `${DESCONTO_BASE_URL}/find-monitor`, method: 'post' },
9
+ }
10
+
11
+ export default desconto
@@ -1,5 +1,6 @@
1
1
  import autorizacaoAtendimentoCliente from "./config/autorizacaoAtendimentoCliente"
2
2
  import carga from "./config/carga"
3
+ import desconto from "./config/desconto"
3
4
  import gestaoComissaoRepresentante from "./config/gestaoComissaoRepresentante"
4
5
  import listaTecnica from "./config/listaTecnica"
5
6
  import metaMensal from "./config/metaMensal"
@@ -18,6 +19,7 @@ const racao = {
18
19
  tabelaPreco: tabelaPreco,
19
20
  pedidoVenda: pedidoVenda,
20
21
  carga: carga,
22
+ desconto: desconto,
21
23
  }
22
24
 
23
25
  export default racao
@@ -5,6 +5,7 @@ import pedidoVendaSubmenu from "./config/pedidoVenda.submenu"
5
5
  import segmentoProdutoSubmenu from "./config/segmentoProduto.submenu"
6
6
  import tabelaPrecoSubmenu from "./config/tabelaPreco.submenu"
7
7
  import vinculoMaterialCentroSubmenu from "./config/vinculoMaterialCentro.submenu"
8
+ import descontoSubmenu from "./config/desconto.submenu"
8
9
 
9
10
  const cadastrosSubmenu: NavigationTree[] = [
10
11
  segmentoProdutoSubmenu,
@@ -12,7 +13,8 @@ const cadastrosSubmenu: NavigationTree[] = [
12
13
  gestaoComissaoRepresentanteSubmenu,
13
14
  metaMensalSubmenu,
14
15
  tabelaPrecoSubmenu,
15
- pedidoVendaSubmenu
16
+ pedidoVendaSubmenu,
17
+ descontoSubmenu,
16
18
  ]
17
19
 
18
20
  export default cadastrosSubmenu
@@ -0,0 +1,16 @@
1
+ import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
2
+ import { ADMIN } from '@/constants/roles.constant'
3
+ import { NavigationTree } from '@/@types/navigation'
4
+
5
+ const descontoSubmenu: NavigationTree = {
6
+ key: 'modules.racao.desconto',
7
+ path: '/racao/desconto',
8
+ title: 'Desconto',
9
+ translateKey: 'nav.modules.racao.desconto',
10
+ icon: 'desconto',
11
+ type: NAV_ITEM_TYPE_ITEM,
12
+ authority: [ADMIN],
13
+ subMenu: [],
14
+ }
15
+
16
+ export default descontoSubmenu
@@ -0,0 +1,53 @@
1
+ import ApiService from "@/services/ApiService";
2
+ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation";
3
+
4
+ const VINCULO_IVA_ENDPOINT = endpointConfig.centralNfe.vinculoIva;
5
+
6
+ export async function apiFindMonitorVinculoIva(body) {
7
+ return ApiService.fetchDataWithAxios<any>({
8
+ url: VINCULO_IVA_ENDPOINT.findMonitor.endpoint,
9
+ method: VINCULO_IVA_ENDPOINT.findMonitor.httpMethod,
10
+ data: body,
11
+ })
12
+ }
13
+
14
+ export async function apiFindOneVinculoIva(id: number) {
15
+ return ApiService.fetchDataWithAxios<any>({
16
+ url: `${VINCULO_IVA_ENDPOINT.findOne.endpoint}/${id}`,
17
+ method: VINCULO_IVA_ENDPOINT.findOne.httpMethod
18
+ })
19
+ }
20
+
21
+ export async function apiUpdateVinculoIva(body) {
22
+ return ApiService.fetchDataWithAxios<any>({
23
+ url: VINCULO_IVA_ENDPOINT.update.endpoint,
24
+ method: VINCULO_IVA_ENDPOINT.update.httpMethod,
25
+ data: body,
26
+ })
27
+ }
28
+
29
+ export async function apiCreateVinculoIva(values: any) {
30
+ return ApiService.fetchDataWithAxios<any>({
31
+ url: VINCULO_IVA_ENDPOINT.create.endpoint,
32
+ method: VINCULO_IVA_ENDPOINT.create.httpMethod,
33
+ data: values
34
+ })
35
+ }
36
+
37
+ export async function apiFindIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil(material: string, idFornecedor: number, classificacaoContabil: string) {
38
+ return ApiService.fetchDataWithAxios<number>({
39
+ url: VINCULO_IVA_ENDPOINT.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.endpoint
40
+ .replace('{nMaterial}', material)
41
+ .replace('{idFornecedor}', idFornecedor.toString())
42
+ .replace('{classificacaoContabil}', classificacaoContabil),
43
+ method: VINCULO_IVA_ENDPOINT.findIdIvaByMaterialAndIdFornecedorAndClassificacaoContabil.httpMethod
44
+ })
45
+ }
46
+
47
+ export async function apiSaveVinculoIva(data: any) {
48
+ return ApiService.fetchDataWithAxios<number>({
49
+ url: VINCULO_IVA_ENDPOINT.save.endpoint,
50
+ method: VINCULO_IVA_ENDPOINT.save.httpMethod,
51
+ data
52
+ })
53
+ }
@@ -31,4 +31,12 @@ export async function apiCancelarOrdemCompra(id: number) {
31
31
  url: ORDEM_COMPRA_ENDPOINT.cancelar.endpoint.replace("{id}", id.toString()),
32
32
  method: ORDEM_COMPRA_ENDPOINT.cancelar.httpMethod
33
33
  })
34
+ }
35
+
36
+ export async function apiFindOrdensComprasNfeByIdsFornecedores(data) {
37
+ return ApiService.fetchDataWithAxios<any>({
38
+ url: ORDEM_COMPRA_ENDPOINT.findOrdensComprasNfeByIdsFornecedores.endpoint,
39
+ method: ORDEM_COMPRA_ENDPOINT.findOrdensComprasNfeByIdsFornecedores.httpMethod,
40
+ data
41
+ })
34
42
  }
@@ -50,6 +50,13 @@ export async function apiFindMonitorFornecedor(body?: IFilterParams) {
50
50
  })
51
51
  }
52
52
 
53
+ export async function apiFindEmpresasIdsByCnpj(cnpj: string) {
54
+ return ApiService.fetchDataWithAxios<any>({
55
+ url: BUSINESS_PARTNER_ENDPOINT.findEmpresasIdsByCnpj.endpoint.replace('{cnpj}', cnpj),
56
+ method: BUSINESS_PARTNER_ENDPOINT.findEmpresasIdsByCnpj.httpMethod,
57
+ })
58
+ }
59
+
53
60
  export async function apiFindMonitorTransportadora(body?: IFilterParams) {
54
61
  return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
55
62
  url: BUSINESS_PARTNER_ENDPOINT.findMonitorTransportadora.endpoint,
@@ -80,6 +87,13 @@ export async function apiFindDmBusinessPartnerMatrizes(body?: IFilterParams) {
80
87
  })
81
88
  }
82
89
 
90
+ export async function apiFindFornecedorNfeByCnpj(cnpj: string) {
91
+ return ApiService.fetchDataWithAxios<any>({
92
+ url: BUSINESS_PARTNER_ENDPOINT.findFornecedorNfeByCnpj.endpoint.replace('{cnpj}', cnpj),
93
+ method: BUSINESS_PARTNER_ENDPOINT.findFornecedorNfeByCnpj.httpMethod,
94
+ })
95
+ }
96
+
83
97
  export async function apiFindDmBusinessPartnerFuncoesParceirosClientes(body?: IFilterParams) {
84
98
  if (!body || Object.keys(body).length === 0) {
85
99
  return undefined
@@ -20,3 +20,10 @@ export async function apiFindMonitorCondicaoPagamento(body?: IFilterParams) {
20
20
  data: body,
21
21
  })
22
22
  }
23
+
24
+ export async function apiFindVerificaCadastroCompletoByCondicaoPagamento(condicaoPagamento: string) {
25
+ return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
26
+ url: CONDICAO_PAGAMENTO_ENDPOINT.verificaCadastroCompletoByCondicaoPagamento.endpoint.replace('condicaoPagamento', condicaoPagamento),
27
+ method: CONDICAO_PAGAMENTO_ENDPOINT.verificaCadastroCompletoByCondicaoPagamento.httpMethod
28
+ })
29
+ }
@@ -0,0 +1,13 @@
1
+ import ApiService from "@/services/ApiService";
2
+ import { IFilterParams, TQueryResponse } from "@base/@types/api";
3
+ import { endpointsConfig } from "@base/configs";
4
+
5
+ const GRUPO_COMPRADOR_ENDPOINT = endpointsConfig.dm.grupoComprador;
6
+
7
+ export async function apiFindMonitorGrupoComprador(body?: IFilterParams) {
8
+ return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
9
+ url: GRUPO_COMPRADOR_ENDPOINT.findMonitor.endpoint,
10
+ method: GRUPO_COMPRADOR_ENDPOINT.findMonitor.httpMethod,
11
+ data: body,
12
+ })
13
+ }
@@ -15,7 +15,9 @@ export * from './incoterms/IncotermsService';
15
15
  export * from './produto/ProdutoService';
16
16
  export * from './setorAtividade/SetorAtividadeService';
17
17
  export * from './tipoDocumentoVenda/TipoDocumentoVendaService';
18
+ export * from './user/UserService';
19
+ export * from './iva/IvaService';
20
+ export * from './grupoComprador/GrupoCompradorService';
18
21
  export * from './tipoOrdemVenda/TipoOrdemVendaService';
19
22
  export * from './tipoVeiculo/TipoVeiculoService';
20
- export * from './municipio/MunicipioService';
21
- export * from './user/UserService';
23
+ export * from './municipio/MunicipioService';
@@ -0,0 +1,13 @@
1
+ import ApiService from "@/services/ApiService";
2
+ import { IFilterParams, TQueryResponse } from "@base/@types/api";
3
+ import { endpointsConfig } from "@base/configs";
4
+
5
+ const IVA_ENDPOINT = endpointsConfig.dm.iva;
6
+
7
+ export async function apiFindMonitorIva(body?: IFilterParams) {
8
+ return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
9
+ url: IVA_ENDPOINT.findMonitor.endpoint,
10
+ method: IVA_ENDPOINT.findMonitor.httpMethod,
11
+ data: body,
12
+ })
13
+ }