@orbe-agro/client-core 5.6.136 → 5.6.138

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 (50) hide show
  1. package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts +2 -2
  2. package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts.map +1 -1
  3. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts +1 -0
  4. package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts.map +1 -1
  5. package/dist/@types/base/configs/endpoints.config/bayer/config/retencaoBayer.d.ts +1 -0
  6. package/dist/@types/base/configs/endpoints.config/bayer/config/retencaoBayer.d.ts.map +1 -1
  7. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts +14 -0
  8. package/dist/@types/base/configs/endpoints.config/centralNfe/centralNfe.d.ts.map +1 -1
  9. package/dist/@types/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.d.ts +16 -0
  10. package/dist/@types/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.d.ts.map +1 -0
  11. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +15 -0
  12. package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
  13. package/dist/@types/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.d.ts.map +1 -1
  14. package/dist/@types/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.d.ts +4 -0
  15. package/dist/@types/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.d.ts.map +1 -0
  16. package/dist/@types/base/services/modules/bayer/retencaoBayerService.d.ts +1 -0
  17. package/dist/@types/base/services/modules/bayer/retencaoBayerService.d.ts.map +1 -1
  18. package/dist/@types/base/services/modules/centralNfe/index.d.ts +1 -0
  19. package/dist/@types/base/services/modules/centralNfe/index.d.ts.map +1 -1
  20. package/dist/@types/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.d.ts +7 -0
  21. package/dist/@types/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.d.ts.map +1 -0
  22. package/dist/base/configs/endpoints.config/bayer/config/retencaoBayer.js +2 -1
  23. package/dist/base/configs/endpoints.config/bayer/config/retencaoBayer.js.map +1 -1
  24. package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js +3 -1
  25. package/dist/base/configs/endpoints.config/centralNfe/centralNfe.js.map +1 -1
  26. package/dist/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.js +10 -0
  27. package/dist/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.js.map +1 -0
  28. package/dist/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.js +2 -0
  29. package/dist/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.js.map +1 -1
  30. package/dist/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.js +16 -0
  31. package/dist/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.js.map +1 -0
  32. package/dist/base/index.js +2 -1
  33. package/dist/base/services/index.js +2 -1
  34. package/dist/base/services/modules/bayer/index.js +2 -1
  35. package/dist/base/services/modules/bayer/retencaoBayerService.js +7 -0
  36. package/dist/base/services/modules/bayer/retencaoBayerService.js.map +1 -1
  37. package/dist/base/services/modules/centralNfe/index.js +4 -0
  38. package/dist/base/services/modules/centralNfe/index.js.map +1 -1
  39. package/dist/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.js +31 -0
  40. package/dist/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.js.map +1 -0
  41. package/lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts +2 -2
  42. package/lib/base/configs/endpoints.config/bayer/config/retencaoBayer.ts +1 -0
  43. package/lib/base/configs/endpoints.config/centralNfe/centralNfe.ts +3 -1
  44. package/lib/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.ts +9 -0
  45. package/lib/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.ts +2 -0
  46. package/lib/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.ts +16 -0
  47. package/lib/base/services/modules/bayer/retencaoBayerService.ts +7 -0
  48. package/lib/base/services/modules/centralNfe/index.ts +2 -1
  49. package/lib/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.ts +32 -0
  50. package/package.json +1 -1
@@ -6,8 +6,8 @@ export interface TFindAllRetencaoResponse {
6
6
  cnpjFilial: string;
7
7
  documentoProdutor: string;
8
8
  quantidadeRetida: number;
9
- status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
10
- statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
9
+ status: string;
10
+ statusOrbe: string;
11
11
  dataCriacao: string;
12
12
  }
13
13
  //# sourceMappingURL=TFindAllRetencaoResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TFindAllRetencaoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;IAC7C,UAAU,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"TFindAllRetencaoResponse.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -29,6 +29,7 @@ declare const bayer: {
29
29
  };
30
30
  retencaoBayer: {
31
31
  findAll: (params?: string) => string;
32
+ finalizarCancelamento: (id: number) => string;
32
33
  };
33
34
  consumoPendenciaBayer: {
34
35
  findAll: (params?: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"bayer.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/bayer.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOV,CAAA;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bayer.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/bayer.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOV,CAAA;AAED,eAAe,KAAK,CAAC"}
@@ -1,5 +1,6 @@
1
1
  declare const retencaoBayer: {
2
2
  findAll: (params?: string) => string;
3
+ finalizarCancelamento: (id: number) => string;
3
4
  };
4
5
  export default retencaoBayer;
5
6
  //# sourceMappingURL=retencaoBayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retencaoBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/retencaoBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;uBACI,MAAM;CAC5B,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"retencaoBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/retencaoBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;uBACI,MAAM;gCACG,MAAM;CACrC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -195,6 +195,20 @@ declare const centralNfe: {
195
195
  httpMethod: string;
196
196
  };
197
197
  };
198
+ recepcaoFisica: {
199
+ create: {
200
+ endpoint: string;
201
+ httpMethod: string;
202
+ };
203
+ findMonitor: {
204
+ endpoint: string;
205
+ httpMethod: string;
206
+ };
207
+ findOrdensCompra: {
208
+ endpoint: string;
209
+ httpMethod: string;
210
+ };
211
+ };
198
212
  };
199
213
  export default centralNfe;
200
214
  //# sourceMappingURL=centralNfe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWf,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"names":[],"mappings":"AAYA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,16 @@
1
+ declare const recepcaoFisica: {
2
+ create: {
3
+ endpoint: string;
4
+ httpMethod: string;
5
+ };
6
+ findMonitor: {
7
+ endpoint: string;
8
+ httpMethod: string;
9
+ };
10
+ findOrdensCompra: {
11
+ endpoint: string;
12
+ httpMethod: string;
13
+ };
14
+ };
15
+ export default recepcaoFisica;
16
+ //# sourceMappingURL=recepcaoFisica.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recepcaoFisica.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;;;;;;;;;CAInB,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -2099,6 +2099,20 @@ declare const endpointNavigationConfig: {
2099
2099
  httpMethod: string;
2100
2100
  };
2101
2101
  };
2102
+ recepcaoFisica: {
2103
+ create: {
2104
+ endpoint: string;
2105
+ httpMethod: string;
2106
+ };
2107
+ findMonitor: {
2108
+ endpoint: string;
2109
+ httpMethod: string;
2110
+ };
2111
+ findOrdensCompra: {
2112
+ endpoint: string;
2113
+ httpMethod: string;
2114
+ };
2115
+ };
2102
2116
  };
2103
2117
  qualidade: {
2104
2118
  inspecaoVeiculo: {
@@ -2729,6 +2743,7 @@ declare const endpointNavigationConfig: {
2729
2743
  };
2730
2744
  retencaoBayer: {
2731
2745
  findAll: (params?: string) => string;
2746
+ finalizarCancelamento: (id: number) => string;
2732
2747
  };
2733
2748
  consumoPendenciaBayer: {
2734
2749
  findAll: (params?: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"submenu.centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAIpD,QAAA,MAAM,iBAAiB,EAAE,cAsBxB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"submenu.centralNfe.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAKpD,QAAA,MAAM,iBAAiB,EAAE,cAuBxB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { NavigationTree } from '@/@types/navigation';
2
+ declare const recepcaoFisicaSubmenu: NavigationTree;
3
+ export default recepcaoFisicaSubmenu;
4
+ //# sourceMappingURL=recepcaoFisica.submenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recepcaoFisica.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,QAAA,MAAM,qBAAqB,EAAE,cAS5B,CAAA;AAED,eAAe,qBAAqB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { TQueryResponse } from '@base/@types/api';
2
2
  import { TFindAllRetencaoResponse } from '@base/@types/api/response/bayer/TFindAllRetencaoResponse';
3
3
  export declare function apiFindAllRetencao(params?: string): Promise<TQueryResponse<TFindAllRetencaoResponse>>;
4
+ export declare function apiFinalizarCancelamentoRetencao(id: number): Promise<void>;
4
5
  //# sourceMappingURL=retencaoBayerService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retencaoBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/retencaoBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AAKpG,wBAAsB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,qDAKvD"}
1
+ {"version":3,"file":"retencaoBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/retencaoBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AAKpG,wBAAsB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,qDAKvD;AAED,wBAAsB,gCAAgC,CAAC,EAAE,EAAE,MAAM,iBAKhE"}
@@ -4,4 +4,5 @@ export * from './vinculoUnidadeMedida/VinculoUnidadeMedidaService';
4
4
  export * from './cnpjLiberadoNota/CnpjLiberadoNotaService';
5
5
  export * from './cnpjExcecaoNota/CnpjExcecaoNotaService';
6
6
  export * from './nfe/NfeService';
7
+ export * from './recepcaoFisica/RecepcaoFisicaService';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/centralNfe/index.ts"],"names":[],"mappings":"AAAA,cAAc,sDAAsD,CAAA;AACpE,cAAc,8CAA8C,CAAA;AAC5D,cAAc,oDAAoD,CAAA;AAClE,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/centralNfe/index.ts"],"names":[],"mappings":"AAAA,cAAc,sDAAsD,CAAA;AACpE,cAAc,8CAA8C,CAAA;AAC5D,cAAc,oDAAoD,CAAA;AAClE,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,kBAAkB,CAAA;AAChC,cAAc,wCAAwC,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare function apiCreateRecepcaoFisica(body: {
2
+ chaveAcesso: string;
3
+ ordensCompraPrevisao: string[];
4
+ }, userId: number): Promise<void>;
5
+ export declare function apiFindMonitorRecepcaoFisica(body: any): Promise<any>;
6
+ export declare function apiFindOrdensCompraRecepcaoFisica(cnpj: string): Promise<any[]>;
7
+ //# sourceMappingURL=RecepcaoFisicaService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecepcaoFisicaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.ts"],"names":[],"mappings":"AAKA,wBAAsB,uBAAuB,CACzC,IAAI,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,oBAAoB,EAAE,MAAM,EAAE,CAAA;CAAE,EAC7D,MAAM,EAAE,MAAM,iBAQjB;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,GAAG,gBAM3D;AAED,wBAAsB,iCAAiC,CAAC,IAAI,EAAE,MAAM,kBAMnE"}
@@ -1,5 +1,6 @@
1
1
  const retencaoBayer = {
2
- findAll: (params) => `/bayer/api/retencoes${params ? `?${params}` : ""}`
2
+ findAll: (params) => `/bayer/api/retencoes${params ? `?${params}` : ""}`,
3
+ finalizarCancelamento: (id) => `/bayer/api/retencoes/${id}/finalizar-cancelamento`
3
4
  };
4
5
  export {
5
6
  retencaoBayer as default
@@ -1 +1 @@
1
- {"version":3,"file":"retencaoBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/retencaoBayer.ts"],"sourcesContent":["const retencaoBayer = {\n findAll: (params?: string) => `/bayer/api/retencoes${params ? `?${params}` : ''}`,\n}\n\nexport default retencaoBayer\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAAA,EAClB,SAAS,CAAC,WAAoB,uBAAuB,SAAS,IAAI,MAAM,KAAK,EAAE;AACnF;"}
1
+ {"version":3,"file":"retencaoBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/retencaoBayer.ts"],"sourcesContent":["const retencaoBayer = {\n findAll: (params?: string) => `/bayer/api/retencoes${params ? `?${params}` : ''}`,\n finalizarCancelamento: (id: number) => `/bayer/api/retencoes/${id}/finalizar-cancelamento`,\n}\n\nexport default retencaoBayer\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAAA,EAClB,SAAS,CAAC,WAAoB,uBAAuB,SAAS,IAAI,MAAM,KAAK,EAAE;AAAA,EAC/E,uBAAuB,CAAC,OAAe,wBAAwB,EAAE;AACrE;"}
@@ -8,6 +8,7 @@ import vinculoIva from "./config/vinculoIva.js";
8
8
  import nfeProduto from "./config/nfeProduto.js";
9
9
  import vinculoOperacao from "./config/vinculoOperacao.js";
10
10
  import cfop from "./config/cfop.js";
11
+ import recepcaoFisica from "./config/recepcaoFisica.js";
11
12
  const centralNfe = {
12
13
  notificacaoCentralNfe,
13
14
  intervaloPrecoXml,
@@ -18,7 +19,8 @@ const centralNfe = {
18
19
  vinculoIva,
19
20
  nfeProduto,
20
21
  vinculoOperacao,
21
- cfop
22
+ cfop,
23
+ recepcaoFisica
22
24
  };
23
25
  export {
24
26
  centralNfe as default
@@ -1 +1 @@
1
- {"version":3,"file":"centralNfe.js","sources":["../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"sourcesContent":["import intervaloPrecoXml from \"./config/intervaloPrecoXml\"\nimport notificacaoCentralNfe from \"./config/notificacaoCentralNfe\"\nimport vinculoUnidadeMedida from \"./config/vinculoUnidadeMedida\"\nimport cnpjLiberadoNota from \"./config/cnpjLiberadoNota\"\nimport cnpjExcecaoNota from \"./config/cnpjExcecaoNota\"\nimport nfe from \"./config/nfe\"\nimport vinculoIva from \"./config/vinculoIva\"\nimport nfeProduto from \"./config/nfeProduto\"\nimport vinculoOperacao from \"./config/vinculoOperacao\"\nimport cfop from \"./config/cfop\"\n\nconst centralNfe = {\n notificacaoCentralNfe,\n intervaloPrecoXml,\n vinculoUnidadeMedida,\n cnpjLiberadoNota,\n cnpjExcecaoNota,\n nfe,\n vinculoIva,\n nfeProduto,\n vinculoOperacao,\n cfop\n}\n\nexport default centralNfe"],"names":[],"mappings":";;;;;;;;;;AAWA,MAAM,aAAa;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;"}
1
+ {"version":3,"file":"centralNfe.js","sources":["../../../../../lib/base/configs/endpoints.config/centralNfe/centralNfe.ts"],"sourcesContent":["import intervaloPrecoXml from \"./config/intervaloPrecoXml\"\nimport notificacaoCentralNfe from \"./config/notificacaoCentralNfe\"\nimport vinculoUnidadeMedida from \"./config/vinculoUnidadeMedida\"\nimport cnpjLiberadoNota from \"./config/cnpjLiberadoNota\"\nimport cnpjExcecaoNota from \"./config/cnpjExcecaoNota\"\nimport nfe from \"./config/nfe\"\nimport vinculoIva from \"./config/vinculoIva\"\nimport nfeProduto from \"./config/nfeProduto\"\nimport vinculoOperacao from \"./config/vinculoOperacao\"\nimport cfop from \"./config/cfop\"\nimport recepcaoFisica from \"./config/recepcaoFisica\"\n\nconst centralNfe = {\n notificacaoCentralNfe,\n intervaloPrecoXml,\n vinculoUnidadeMedida,\n cnpjLiberadoNota,\n cnpjExcecaoNota,\n nfe,\n vinculoIva,\n nfeProduto,\n vinculoOperacao,\n cfop,\n recepcaoFisica\n}\n\nexport default centralNfe"],"names":[],"mappings":";;;;;;;;;;;AAYA,MAAM,aAAa;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;"}
@@ -0,0 +1,10 @@
1
+ const RECEPCAO_FISICA_BASE_URL = "/central-nfe/api/recepcao-fisica";
2
+ const recepcaoFisica = {
3
+ create: { endpoint: RECEPCAO_FISICA_BASE_URL, httpMethod: "post" },
4
+ findMonitor: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/find-monitor`, httpMethod: "post" },
5
+ findOrdensCompra: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/ordens-compra`, httpMethod: "get" }
6
+ };
7
+ export {
8
+ recepcaoFisica as default
9
+ };
10
+ //# sourceMappingURL=recepcaoFisica.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recepcaoFisica.js","sources":["../../../../../../lib/base/configs/endpoints.config/centralNfe/config/recepcaoFisica.ts"],"sourcesContent":["const RECEPCAO_FISICA_BASE_URL = '/central-nfe/api/recepcao-fisica'\n\nconst recepcaoFisica = {\n create: { endpoint: RECEPCAO_FISICA_BASE_URL, httpMethod: 'post' },\n findMonitor: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/find-monitor`, httpMethod: 'post' },\n findOrdensCompra: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/ordens-compra`, httpMethod: 'get' },\n}\n\nexport default recepcaoFisica\n"],"names":[],"mappings":"AAAA,MAAM,2BAA2B;AAEjC,MAAM,iBAAiB;AAAA,EACnB,QAAQ,EAAE,UAAU,0BAA0B,YAAY,OAAA;AAAA,EAC1D,aAAa,EAAE,UAAU,GAAG,wBAAwB,iBAAiB,YAAY,OAAA;AAAA,EACjF,kBAAkB,EAAE,UAAU,GAAG,wBAAwB,kBAAkB,YAAY,MAAA;AAC3F;"}
@@ -2,6 +2,7 @@ import { NAV_ITEM_TYPE_COLLAPSE } from "../../../../../@ecme/constants/navigatio
2
2
  import { ADMIN } from "../../../../../@ecme/constants/roles.constant.js";
3
3
  import cadastrosSubmenu from "../../submenu/centralNfe/cadastros.submenu.js";
4
4
  import nfeSubmenu from "../../submenu/centralNfe/config/nfe.submenu.js";
5
+ import recepcaoFisicaSubmenu from "../../submenu/centralNfe/config/recepcaoFisica.submenu.js";
5
6
  const subMenuCentralNfe = {
6
7
  key: "modules.centralNfe",
7
8
  path: "",
@@ -12,6 +13,7 @@ const subMenuCentralNfe = {
12
13
  authority: [ADMIN],
13
14
  subMenu: [
14
15
  nfeSubmenu,
16
+ recepcaoFisicaSubmenu,
15
17
  {
16
18
  key: "modules.centralNfe.cadastros",
17
19
  path: "",
@@ -1 +1 @@
1
- {"version":3,"file":"submenu.centralNfe.js","sources":["../../../../../../lib/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.ts"],"sourcesContent":["import { NAV_ITEM_TYPE_COLLAPSE } from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\nimport { NavigationTree } from '@/@types/navigation'\nimport cadastrosSubmenu from '../../submenu/centralNfe/cadastros.submenu'\nimport nfeSubmenu from '../../submenu/centralNfe/config/nfe.submenu'\n\nconst subMenuCentralNfe: NavigationTree =\n{\n key: 'modules.centralNfe',\n path: '',\n title: 'Central NFe',\n translateKey: 'nav.modules.centralNfe.title',\n icon: 'centralNfe',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: [\n nfeSubmenu,\n {\n key: 'modules.centralNfe.cadastros',\n path: '',\n title: 'Cadastros',\n translateKey: 'nav.modules.centralNfe.cadastros',\n icon: '',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: cadastrosSubmenu,\n }\n ],\n}\n\nexport default subMenuCentralNfe\n"],"names":[],"mappings":";;;;AAMA,MAAM,oBACN;AAAA,EACI,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW,CAAC,KAAK;AAAA,EACjB,SAAS;AAAA,IACL;AAAA,IACA;AAAA,MACI,KAAK;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,MACP,cAAc;AAAA,MACd,MAAM;AAAA,MACN,MAAM;AAAA,MACN,WAAW,CAAC,KAAK;AAAA,MACjB,SAAS;AAAA,IAAA;AAAA,EACb;AAER;"}
1
+ {"version":3,"file":"submenu.centralNfe.js","sources":["../../../../../../lib/base/configs/navigation.config/modules.submenu/centralNfe/submenu.centralNfe.ts"],"sourcesContent":["import { NAV_ITEM_TYPE_COLLAPSE } from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\nimport { NavigationTree } from '@/@types/navigation'\nimport cadastrosSubmenu from '../../submenu/centralNfe/cadastros.submenu'\nimport nfeSubmenu from '../../submenu/centralNfe/config/nfe.submenu'\nimport recepcaoFisicaSubmenu from '../../submenu/centralNfe/config/recepcaoFisica.submenu'\n\nconst subMenuCentralNfe: NavigationTree =\n{\n key: 'modules.centralNfe',\n path: '',\n title: 'Central NFe',\n translateKey: 'nav.modules.centralNfe.title',\n icon: 'centralNfe',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: [\n nfeSubmenu,\n recepcaoFisicaSubmenu,\n {\n key: 'modules.centralNfe.cadastros',\n path: '',\n title: 'Cadastros',\n translateKey: 'nav.modules.centralNfe.cadastros',\n icon: '',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: cadastrosSubmenu,\n }\n ],\n}\n\nexport default subMenuCentralNfe\n"],"names":[],"mappings":";;;;;AAOA,MAAM,oBACN;AAAA,EACI,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW,CAAC,KAAK;AAAA,EACjB,SAAS;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MACI,KAAK;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,MACP,cAAc;AAAA,MACd,MAAM;AAAA,MACN,MAAM;AAAA,MACN,WAAW,CAAC,KAAK;AAAA,MACjB,SAAS;AAAA,IAAA;AAAA,EACb;AAER;"}
@@ -0,0 +1,16 @@
1
+ import { NAV_ITEM_TYPE_ITEM } from "../../../../../../@ecme/constants/navigation.constant.js";
2
+ import { ADMIN } from "../../../../../../@ecme/constants/roles.constant.js";
3
+ const recepcaoFisicaSubmenu = {
4
+ key: "centralNfe.recepcaoFisica.table",
5
+ path: "/central-nfe/recepcao-fisica",
6
+ title: "Monitor - Recepção Física",
7
+ translateKey: "nav.modules.centralNfe.recepcaoFisica",
8
+ icon: "recepcaoFisica",
9
+ type: NAV_ITEM_TYPE_ITEM,
10
+ authority: [ADMIN],
11
+ subMenu: []
12
+ };
13
+ export {
14
+ recepcaoFisicaSubmenu as default
15
+ };
16
+ //# sourceMappingURL=recepcaoFisica.submenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recepcaoFisica.submenu.js","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/centralNfe/config/recepcaoFisica.submenu.ts"],"sourcesContent":["import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\nimport { NavigationTree } from '@/@types/navigation'\n\nconst recepcaoFisicaSubmenu: NavigationTree = {\n key: 'centralNfe.recepcaoFisica.table',\n path: '/central-nfe/recepcao-fisica',\n title: 'Monitor - Recepção Física',\n translateKey: 'nav.modules.centralNfe.recepcaoFisica',\n icon: 'recepcaoFisica',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n}\n\nexport default recepcaoFisicaSubmenu\n"],"names":[],"mappings":";;AAIA,MAAM,wBAAwC;AAAA,EAC1C,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW,CAAC,KAAK;AAAA,EACjB,SAAS,CAAA;AACb;"}
@@ -118,10 +118,10 @@ import { apiDelete, apiGet, apiPost, apiPut } from "./services/http.js";
118
118
  import { apiExecuteAcaoCotacao, apiFindCotacoesEmProcessamento, apiFindMonitorCotacao, apiFindOneCotacao, apiUpdateCotacao } from "./services/modules/compras/cotacao/CotacaoService.js";
119
119
  import { apiExecuteAcaoItemRequisicaoCompra, apiFindDetalhesRecebimentoMercadoria } from "./services/modules/compras/itemRequisicaoCompra/ItemRequisicaoCompraService.js";
120
120
  import { apiExecuteAcaoOrdemCompra, apiFindMonitorOrdemCompra, apiFindOneOrdemCompra, apiFindOrdensComprasNfeByIdsFornecedores, apiUpdateOrdemCompra } from "./services/modules/compras/ordemCompra/OrdemCompraService.js";
121
+ import { apiFinalizarCancelamentoRetencao, apiFindAllRetencao } from "./services/modules/bayer/retencaoBayerService.js";
121
122
  import { apiFindAllCampos } from "./services/modules/originacao/formulario/formularioService.js";
122
123
  import { apiFindAllConsumoPendencia } from "./services/modules/bayer/consumoPendenciaBayerService.js";
123
124
  import { apiFindAllDocketEstados, apiFindDocketCidadesByEstadoId } from "./services/modules/originacao/docket/docketService.js";
124
- import { apiFindAllRetencao } from "./services/modules/bayer/retencaoBayerService.js";
125
125
  import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./services/modules/dm/municipio/MunicipioService.js";
126
126
  import { apiFindAllveiculo } from "./services/modules/transportadora/Veiculo/VeiculoService.js";
127
127
  import { apiFindBoleto } from "./services/modules/sap/boleto/BoletoService.js";
@@ -494,6 +494,7 @@ export {
494
494
  apiFetchUserFuncionalidadesDetail,
495
495
  apiFetchUserVinculosUsuario,
496
496
  apiFinalizaRequisicaoAgrupada,
497
+ apiFinalizarCancelamentoRetencao,
497
498
  apiFindAcessoPatio,
498
499
  apiFindAllAnalisePenhorAlienacao,
499
500
  apiFindAllAssistenciaTecnicaSeloSocial,
@@ -116,10 +116,10 @@ import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } fro
116
116
  import { apiExecuteAcaoCotacao, apiFindCotacoesEmProcessamento, apiFindMonitorCotacao, apiFindOneCotacao, apiUpdateCotacao } from "./modules/compras/cotacao/CotacaoService.js";
117
117
  import { apiExecuteAcaoItemRequisicaoCompra, apiFindDetalhesRecebimentoMercadoria } from "./modules/compras/itemRequisicaoCompra/ItemRequisicaoCompraService.js";
118
118
  import { apiExecuteAcaoOrdemCompra, apiFindMonitorOrdemCompra, apiFindOneOrdemCompra, apiFindOrdensComprasNfeByIdsFornecedores, apiUpdateOrdemCompra } from "./modules/compras/ordemCompra/OrdemCompraService.js";
119
+ import { apiFinalizarCancelamentoRetencao, apiFindAllRetencao } from "./modules/bayer/retencaoBayerService.js";
119
120
  import { apiFindAllCampos } from "./modules/originacao/formulario/formularioService.js";
120
121
  import { apiFindAllConsumoPendencia } from "./modules/bayer/consumoPendenciaBayerService.js";
121
122
  import { apiFindAllDocketEstados, apiFindDocketCidadesByEstadoId } from "./modules/originacao/docket/docketService.js";
122
- import { apiFindAllRetencao } from "./modules/bayer/retencaoBayerService.js";
123
123
  import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindMonitorMunicipio, apiFindMunicipioByUf } from "./modules/dm/municipio/MunicipioService.js";
124
124
  import { apiFindAllveiculo } from "./modules/transportadora/Veiculo/VeiculoService.js";
125
125
  import { apiFindBoleto } from "./modules/sap/boleto/BoletoService.js";
@@ -362,6 +362,7 @@ export {
362
362
  apiFetchUserFuncionalidadesDetail,
363
363
  apiFetchUserVinculosUsuario,
364
364
  apiFinalizaRequisicaoAgrupada,
365
+ apiFinalizarCancelamentoRetencao,
365
366
  apiFindAcessoPatio,
366
367
  apiFindAllAnalisePenhorAlienacao,
367
368
  apiFindAllAssistenciaTecnicaSeloSocial,
@@ -2,7 +2,7 @@ import { apiBuscarEntradaGraos } from "./registroEntradaBayerService.js";
2
2
  import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, apiSomatorioEntrega } from "./entregaBayerService.js";
3
3
  import { apiCreateRoyaltiesBusinessPartner, apiGetRoyaltiesBusinessPartner } from "./royaltiesBayerService.js";
4
4
  import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./pendenciaBayerService.js";
5
- import { apiFindAllRetencao } from "./retencaoBayerService.js";
5
+ import { apiFinalizarCancelamentoRetencao, apiFindAllRetencao } from "./retencaoBayerService.js";
6
6
  import { apiFindAllConsumoPendencia } from "./consumoPendenciaBayerService.js";
7
7
  export {
8
8
  apiAplicarRetencao,
@@ -19,6 +19,7 @@ export {
19
19
  apiCreateRoyaltiesBusinessPartner,
20
20
  apiEnviarEntregaBayer,
21
21
  apiEnviarEntregaBayerLote,
22
+ apiFinalizarCancelamentoRetencao,
22
23
  apiFindAllConsumoPendencia,
23
24
  apiFindAllEntregaBayer,
24
25
  apiFindAllRetencao,
@@ -7,7 +7,14 @@ async function apiFindAllRetencao(params) {
7
7
  method: "get"
8
8
  });
9
9
  }
10
+ async function apiFinalizarCancelamentoRetencao(id) {
11
+ return ApiService.fetchDataWithAxios({
12
+ url: RETENCAO_BAYER_ENDPOINT.finalizarCancelamento(id),
13
+ method: "put"
14
+ });
15
+ }
10
16
  export {
17
+ apiFinalizarCancelamentoRetencao,
11
18
  apiFindAllRetencao
12
19
  };
13
20
  //# sourceMappingURL=retencaoBayerService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"retencaoBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/retencaoBayerService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService';\nimport { TQueryResponse } from '@base/@types/api';\nimport { TFindAllRetencaoResponse } from '@base/@types/api/response/bayer/TFindAllRetencaoResponse';\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation';\n\nconst RETENCAO_BAYER_ENDPOINT = endpointNavigationConfig.bayer.retencaoBayer;\n\nexport async function apiFindAllRetencao(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllRetencaoResponse>>({\n url: RETENCAO_BAYER_ENDPOINT.findAll(params),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;AAKA,MAAM,0BAA0B,yBAAyB,MAAM;AAE/D,eAAsB,mBAAmB,QAAiB;AACtD,SAAO,WAAW,mBAA6D;AAAA,IAC3E,KAAK,wBAAwB,QAAQ,MAAM;AAAA,IAC3C,QAAQ;AAAA,EAAA,CACX;AACL;"}
1
+ {"version":3,"file":"retencaoBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/retencaoBayerService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService';\nimport { TQueryResponse } from '@base/@types/api';\nimport { TFindAllRetencaoResponse } from '@base/@types/api/response/bayer/TFindAllRetencaoResponse';\nimport endpointNavigationConfig from '@base/configs/endpoints.config/endpoints.navigation';\n\nconst RETENCAO_BAYER_ENDPOINT = endpointNavigationConfig.bayer.retencaoBayer;\n\nexport async function apiFindAllRetencao(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllRetencaoResponse>>({\n url: RETENCAO_BAYER_ENDPOINT.findAll(params),\n method: 'get',\n });\n}\n\nexport async function apiFinalizarCancelamentoRetencao(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: RETENCAO_BAYER_ENDPOINT.finalizarCancelamento(id),\n method: 'put',\n });\n}\n"],"names":[],"mappings":";;AAKA,MAAM,0BAA0B,yBAAyB,MAAM;AAE/D,eAAsB,mBAAmB,QAAiB;AACtD,SAAO,WAAW,mBAA6D;AAAA,IAC3E,KAAK,wBAAwB,QAAQ,MAAM;AAAA,IAC3C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,iCAAiC,IAAY;AAC/D,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,wBAAwB,sBAAsB,EAAE;AAAA,IACrD,QAAQ;AAAA,EAAA,CACX;AACL;"}
@@ -4,6 +4,7 @@ import { apiCreateVinculoUnidadeMedida, apiFindMonitorVinculoUnidadeMedida, apiF
4
4
  import { apiCreateCnpjLiberadoNota, apiFindMonitorCnpjLiberadoNota, apiFindOneCnpjLiberadoNota, apiUpdateCnpjLiberadoNota } from "./cnpjLiberadoNota/CnpjLiberadoNotaService.js";
5
5
  import { apiCreateCnpjExcecaoNota, apiFindMonitorCnpjExcecaoNota, apiFindOneCnpjExcecaoNota, apiUpdateCnpjExcecaoNota } from "./cnpjExcecaoNota/CnpjExcecaoNotaService.js";
6
6
  import { addLancamentoManual, apiCountNfe, apiDesvincularOrdemCompra, apiEstornarOperacao, apiEstornarPedidoCompra, apiFinalizarPedido, apiFindMonitorNfe, apiFindOneNfe, apiSetNfeLock, apiUpdateNfe, buscaValidacaoImposto, downloadPdfByChaveAcesso } from "./nfe/NfeService.js";
7
+ import { apiCreateRecepcaoFisica, apiFindMonitorRecepcaoFisica, apiFindOrdensCompraRecepcaoFisica } from "./recepcaoFisica/RecepcaoFisicaService.js";
7
8
  export {
8
9
  addLancamentoManual,
9
10
  apiCountNfe,
@@ -11,6 +12,7 @@ export {
11
12
  apiCreateCnpjLiberadoNota,
12
13
  apiCreateIntervaloPrecoXml,
13
14
  apiCreateNotificacaoCentralNfe,
15
+ apiCreateRecepcaoFisica,
14
16
  apiCreateVinculoUnidadeMedida,
15
17
  apiDesvincularOrdemCompra,
16
18
  apiEstornarOperacao,
@@ -21,6 +23,7 @@ export {
21
23
  apiFindMonitorIntervaloPrecoXml,
22
24
  apiFindMonitorNfe,
23
25
  apiFindMonitorNotificacaoCentralNfe,
26
+ apiFindMonitorRecepcaoFisica,
24
27
  apiFindMonitorVinculoUnidadeMedida,
25
28
  apiFindOneCnpjExcecaoNota,
26
29
  apiFindOneCnpjLiberadoNota,
@@ -28,6 +31,7 @@ export {
28
31
  apiFindOneNfe,
29
32
  apiFindOneNotificacaoCentralNfe,
30
33
  apiFindOneVinculoUnidadeMedida,
34
+ apiFindOrdensCompraRecepcaoFisica,
31
35
  apiSetNfeLock,
32
36
  apiUpdateCnpjExcecaoNota,
33
37
  apiUpdateCnpjLiberadoNota,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,31 @@
1
+ import ApiService from "../../../../../@ecme/services/ApiService.js";
2
+ import endpointNavigationConfig from "../../../../configs/endpoints.config/endpoints.navigation.js";
3
+ const RECEPCAO_FISICA_ENDPOINT = endpointNavigationConfig.centralNfe.recepcaoFisica;
4
+ async function apiCreateRecepcaoFisica(body, userId) {
5
+ return ApiService.fetchDataWithAxios({
6
+ url: RECEPCAO_FISICA_ENDPOINT.create.endpoint,
7
+ method: RECEPCAO_FISICA_ENDPOINT.create.httpMethod,
8
+ data: body,
9
+ headers: { "X-User-Id": userId }
10
+ });
11
+ }
12
+ async function apiFindMonitorRecepcaoFisica(body) {
13
+ return ApiService.fetchDataWithAxios({
14
+ url: RECEPCAO_FISICA_ENDPOINT.findMonitor.endpoint,
15
+ method: RECEPCAO_FISICA_ENDPOINT.findMonitor.httpMethod,
16
+ data: body
17
+ });
18
+ }
19
+ async function apiFindOrdensCompraRecepcaoFisica(cnpj) {
20
+ return ApiService.fetchDataWithAxios({
21
+ url: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.endpoint,
22
+ method: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.httpMethod,
23
+ params: { cnpj }
24
+ });
25
+ }
26
+ export {
27
+ apiCreateRecepcaoFisica,
28
+ apiFindMonitorRecepcaoFisica,
29
+ apiFindOrdensCompraRecepcaoFisica
30
+ };
31
+ //# sourceMappingURL=RecepcaoFisicaService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecepcaoFisicaService.js","sources":["../../../../../../lib/base/services/modules/centralNfe/recepcaoFisica/RecepcaoFisicaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst RECEPCAO_FISICA_ENDPOINT = endpointConfig.centralNfe.recepcaoFisica;\n\nexport async function apiCreateRecepcaoFisica(\n body: { chaveAcesso: string; ordensCompraPrevisao: string[] },\n userId: number,\n) {\n return ApiService.fetchDataWithAxios<void>({\n url: RECEPCAO_FISICA_ENDPOINT.create.endpoint,\n method: RECEPCAO_FISICA_ENDPOINT.create.httpMethod,\n data: body,\n headers: { 'X-User-Id': userId },\n })\n}\n\nexport async function apiFindMonitorRecepcaoFisica(body: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: RECEPCAO_FISICA_ENDPOINT.findMonitor.endpoint,\n method: RECEPCAO_FISICA_ENDPOINT.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOrdensCompraRecepcaoFisica(cnpj: string) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.endpoint,\n method: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.httpMethod,\n params: { cnpj },\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAGA,MAAM,2BAA2BA,yBAAe,WAAW;AAE3D,eAAsB,wBAClB,MACA,QACF;AACE,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,yBAAyB,OAAO;AAAA,IACrC,QAAQ,yBAAyB,OAAO;AAAA,IACxC,MAAM;AAAA,IACN,SAAS,EAAE,aAAa,OAAA;AAAA,EAAO,CAClC;AACL;AAEA,eAAsB,6BAA6B,MAAW;AAC1D,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK,yBAAyB,YAAY;AAAA,IAC1C,QAAQ,yBAAyB,YAAY;AAAA,IAC7C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,kCAAkC,MAAc;AAClE,SAAO,WAAW,mBAA0B;AAAA,IACxC,KAAK,yBAAyB,iBAAiB;AAAA,IAC/C,QAAQ,yBAAyB,iBAAiB;AAAA,IAClD,QAAQ,EAAE,KAAA;AAAA,EAAK,CAClB;AACL;"}
@@ -6,7 +6,7 @@ export interface TFindAllRetencaoResponse {
6
6
  cnpjFilial: string;
7
7
  documentoProdutor: string;
8
8
  quantidadeRetida: number;
9
- status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
10
- statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
9
+ status: string;
10
+ statusOrbe: string;
11
11
  dataCriacao: string;
12
12
  }
@@ -1,5 +1,6 @@
1
1
  const retencaoBayer = {
2
2
  findAll: (params?: string) => `/bayer/api/retencoes${params ? `?${params}` : ''}`,
3
+ finalizarCancelamento: (id: number) => `/bayer/api/retencoes/${id}/finalizar-cancelamento`,
3
4
  }
4
5
 
5
6
  export default retencaoBayer
@@ -8,6 +8,7 @@ import vinculoIva from "./config/vinculoIva"
8
8
  import nfeProduto from "./config/nfeProduto"
9
9
  import vinculoOperacao from "./config/vinculoOperacao"
10
10
  import cfop from "./config/cfop"
11
+ import recepcaoFisica from "./config/recepcaoFisica"
11
12
 
12
13
  const centralNfe = {
13
14
  notificacaoCentralNfe,
@@ -19,7 +20,8 @@ const centralNfe = {
19
20
  vinculoIva,
20
21
  nfeProduto,
21
22
  vinculoOperacao,
22
- cfop
23
+ cfop,
24
+ recepcaoFisica
23
25
  }
24
26
 
25
27
  export default centralNfe
@@ -0,0 +1,9 @@
1
+ const RECEPCAO_FISICA_BASE_URL = '/central-nfe/api/recepcao-fisica'
2
+
3
+ const recepcaoFisica = {
4
+ create: { endpoint: RECEPCAO_FISICA_BASE_URL, httpMethod: 'post' },
5
+ findMonitor: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/find-monitor`, httpMethod: 'post' },
6
+ findOrdensCompra: { endpoint: `${RECEPCAO_FISICA_BASE_URL}/ordens-compra`, httpMethod: 'get' },
7
+ }
8
+
9
+ export default recepcaoFisica
@@ -3,6 +3,7 @@ import { ADMIN } from '@/constants/roles.constant'
3
3
  import { NavigationTree } from '@/@types/navigation'
4
4
  import cadastrosSubmenu from '../../submenu/centralNfe/cadastros.submenu'
5
5
  import nfeSubmenu from '../../submenu/centralNfe/config/nfe.submenu'
6
+ import recepcaoFisicaSubmenu from '../../submenu/centralNfe/config/recepcaoFisica.submenu'
6
7
 
7
8
  const subMenuCentralNfe: NavigationTree =
8
9
  {
@@ -15,6 +16,7 @@ const subMenuCentralNfe: NavigationTree =
15
16
  authority: [ADMIN],
16
17
  subMenu: [
17
18
  nfeSubmenu,
19
+ recepcaoFisicaSubmenu,
18
20
  {
19
21
  key: 'modules.centralNfe.cadastros',
20
22
  path: '',
@@ -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 recepcaoFisicaSubmenu: NavigationTree = {
6
+ key: 'centralNfe.recepcaoFisica.table',
7
+ path: '/central-nfe/recepcao-fisica',
8
+ title: 'Monitor - Recepção Física',
9
+ translateKey: 'nav.modules.centralNfe.recepcaoFisica',
10
+ icon: 'recepcaoFisica',
11
+ type: NAV_ITEM_TYPE_ITEM,
12
+ authority: [ADMIN],
13
+ subMenu: [],
14
+ }
15
+
16
+ export default recepcaoFisicaSubmenu
@@ -11,3 +11,10 @@ export async function apiFindAllRetencao(params?: string) {
11
11
  method: 'get',
12
12
  });
13
13
  }
14
+
15
+ export async function apiFinalizarCancelamentoRetencao(id: number) {
16
+ return ApiService.fetchDataWithAxios<void>({
17
+ url: RETENCAO_BAYER_ENDPOINT.finalizarCancelamento(id),
18
+ method: 'put',
19
+ });
20
+ }
@@ -3,4 +3,5 @@ export * from './intervaloPrecoXml/IntervaloPrecoXmlService'
3
3
  export * from './vinculoUnidadeMedida/VinculoUnidadeMedidaService'
4
4
  export * from './cnpjLiberadoNota/CnpjLiberadoNotaService'
5
5
  export * from './cnpjExcecaoNota/CnpjExcecaoNotaService'
6
- export * from './nfe/NfeService'
6
+ export * from './nfe/NfeService'
7
+ export * from './recepcaoFisica/RecepcaoFisicaService'
@@ -0,0 +1,32 @@
1
+ import ApiService from "@/services/ApiService";
2
+ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation";
3
+
4
+ const RECEPCAO_FISICA_ENDPOINT = endpointConfig.centralNfe.recepcaoFisica;
5
+
6
+ export async function apiCreateRecepcaoFisica(
7
+ body: { chaveAcesso: string; ordensCompraPrevisao: string[] },
8
+ userId: number,
9
+ ) {
10
+ return ApiService.fetchDataWithAxios<void>({
11
+ url: RECEPCAO_FISICA_ENDPOINT.create.endpoint,
12
+ method: RECEPCAO_FISICA_ENDPOINT.create.httpMethod,
13
+ data: body,
14
+ headers: { 'X-User-Id': userId },
15
+ })
16
+ }
17
+
18
+ export async function apiFindMonitorRecepcaoFisica(body: any) {
19
+ return ApiService.fetchDataWithAxios<any>({
20
+ url: RECEPCAO_FISICA_ENDPOINT.findMonitor.endpoint,
21
+ method: RECEPCAO_FISICA_ENDPOINT.findMonitor.httpMethod,
22
+ data: body,
23
+ })
24
+ }
25
+
26
+ export async function apiFindOrdensCompraRecepcaoFisica(cnpj: string) {
27
+ return ApiService.fetchDataWithAxios<any[]>({
28
+ url: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.endpoint,
29
+ method: RECEPCAO_FISICA_ENDPOINT.findOrdensCompra.httpMethod,
30
+ params: { cnpj },
31
+ })
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.6.136",
3
+ "version": "5.6.138",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",