@orbe-agro/client-core 5.6.61 → 5.6.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts +2 -0
- package/dist/@types/base/@types/api/response/bayer/TFindAllRetencaoResponse.d.ts.map +1 -1
- package/dist/@types/base/@types/api/response/bayer/types.d.ts +14 -0
- package/dist/@types/base/@types/api/response/bayer/types.d.ts.map +1 -1
- package/dist/@types/base/@types/enums/bayer/StatusOrbe.d.ts +6 -0
- package/dist/@types/base/@types/enums/bayer/StatusOrbe.d.ts.map +1 -0
- package/dist/@types/base/@types/enums/bayer/StatusRetencao.d.ts +6 -0
- package/dist/@types/base/@types/enums/bayer/StatusRetencao.d.ts.map +1 -0
- package/dist/@types/base/components/shared/TransferirProcessoDialog.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/bayer/bayer.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/bayer/config/entregaBayer.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +2 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/flux/config/processo.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/flux/config/processo.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/flux/flux.d.ts +1 -0
- package/dist/@types/base/configs/endpoints.config/flux/flux.d.ts.map +1 -1
- package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts +2 -1
- package/dist/@types/base/services/modules/bayer/entregaBayerService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/flux/FluxService.d.ts +1 -0
- package/dist/@types/base/services/modules/flux/FluxService.d.ts.map +1 -1
- package/dist/base/@types/api/response/bayer/types.js +8 -1
- package/dist/base/@types/api/response/bayer/types.js.map +1 -1
- package/dist/base/@types/enums/bayer/StatusOrbe.js +10 -0
- package/dist/base/@types/enums/bayer/StatusOrbe.js.map +1 -0
- package/dist/base/@types/enums/bayer/StatusRetencao.js +10 -0
- package/dist/base/@types/enums/bayer/StatusRetencao.js.map +1 -0
- package/dist/base/components/shared/TransferirProcessoDialog.js +7 -7
- package/dist/base/components/shared/TransferirProcessoDialog.js.map +1 -1
- package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js +1 -0
- package/dist/base/configs/endpoints.config/bayer/config/entregaBayer.js.map +1 -1
- package/dist/base/configs/endpoints.config/flux/config/processo.js +2 -1
- package/dist/base/configs/endpoints.config/flux/config/processo.js.map +1 -1
- package/dist/base/index.js +2 -1
- package/dist/base/services/index.js +2 -1
- package/dist/base/services/modules/bayer/entregaBayerService.js +7 -0
- package/dist/base/services/modules/bayer/entregaBayerService.js.map +1 -1
- package/dist/base/services/modules/bayer/index.js +2 -1
- package/dist/base/services/modules/flux/FluxService.js +7 -0
- package/dist/base/services/modules/flux/FluxService.js.map +1 -1
- package/lib/base/@types/api/response/bayer/TFindAllRetencaoResponse.ts +2 -0
- package/lib/base/@types/api/response/bayer/types.ts +16 -0
- package/lib/base/@types/enums/bayer/StatusOrbe.ts +5 -0
- package/lib/base/@types/enums/bayer/StatusRetencao.ts +5 -0
- package/lib/base/components/shared/TransferirProcessoDialog.tsx +9 -7
- package/lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts +1 -0
- package/lib/base/configs/endpoints.config/flux/config/processo.ts +1 -0
- package/lib/base/services/modules/bayer/entregaBayerService.ts +9 -1
- package/lib/base/services/modules/flux/FluxService.ts +7 -0
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export interface TFindAllRetencaoResponse {
|
|
2
2
|
id: number;
|
|
3
3
|
entregaId: number;
|
|
4
|
+
liquidacaoId: number;
|
|
4
5
|
fixacaoId: string;
|
|
5
6
|
cnpjFilial: string;
|
|
6
7
|
documentoProdutor: string;
|
|
7
8
|
quantidadeRetida: number;
|
|
8
9
|
status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
|
|
10
|
+
statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
|
|
9
11
|
dataCriacao: string;
|
|
10
12
|
}
|
|
11
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,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,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,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;IAC7C,UAAU,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -73,4 +73,18 @@ export interface AtualizarQuantidadesEntregaRequest {
|
|
|
73
73
|
quantidadeRetida: number;
|
|
74
74
|
quantidadeBaixadaConsumida: number;
|
|
75
75
|
}
|
|
76
|
+
export declare enum StatusTransacaoEntrega {
|
|
77
|
+
CONSUMO = "CONSUMO",
|
|
78
|
+
ESTORNO = "ESTORNO"
|
|
79
|
+
}
|
|
80
|
+
export interface TTransacaoEntregaResponse {
|
|
81
|
+
id: number;
|
|
82
|
+
entregaId: number;
|
|
83
|
+
saldoEntradaGraosId: number;
|
|
84
|
+
liquidacaoId: number;
|
|
85
|
+
quantidadeBaixadaConsumida: number;
|
|
86
|
+
quantidadeRetida: number;
|
|
87
|
+
statusTransacaoEntrega: StatusTransacaoEntrega;
|
|
88
|
+
dataTransacao: string;
|
|
89
|
+
}
|
|
76
90
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,WAAW,gCAAgC;IAC/C,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,qCAAqC;IACpD,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,+BAA+B,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAA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,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,2BAA2B,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,kCAAkC;IACjD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/@types/api/response/bayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,WAAW,gCAAgC;IAC/C,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,qCAAqC;IACpD,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,+BAA+B,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,gCAAgC,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,M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3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,0BAA0B,EAAE,MAAM,CAAC;CACpC;AAED,oBAAY,sBAAsB;IAChC,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,0BAA0B,EAAE,MAAM,CAAC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusOrbe.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/bayer/StatusOrbe.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusRetencao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/enums/bayer/StatusRetencao.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACtB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,KAAK,UAAU;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferirProcessoDialog.d.ts","sourceRoot":"","sources":["../../../../../lib/base/components/shared/TransferirProcessoDialog.tsx"],"names":[],"mappings":"AAMA,UAAU,6BAA6B;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,wBAAwB,GAAI,kCAI/B,6BAA6B,
|
|
1
|
+
{"version":3,"file":"TransferirProcessoDialog.d.ts","sourceRoot":"","sources":["../../../../../lib/base/components/shared/TransferirProcessoDialog.tsx"],"names":[],"mappings":"AAMA,UAAU,6BAA6B;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,wBAAwB,GAAI,kCAI/B,6BAA6B,4CAmF/B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -11,6 +11,7 @@ declare const bayer: {
|
|
|
11
11
|
aplicarRetencao: () => string;
|
|
12
12
|
cancelarEntrega: (id: number) => string;
|
|
13
13
|
atualizarQuantidades: (id: number) => string;
|
|
14
|
+
transacoes: (id: number) => string;
|
|
14
15
|
metrics: (params?: string) => string;
|
|
15
16
|
};
|
|
16
17
|
registroEntradaBayer: {
|
|
@@ -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
|
|
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"}
|
|
@@ -10,6 +10,7 @@ declare const entregaBayer: {
|
|
|
10
10
|
aplicarRetencao: () => string;
|
|
11
11
|
cancelarEntrega: (id: number) => string;
|
|
12
12
|
atualizarQuantidades: (id: number) => string;
|
|
13
|
+
transacoes: (id: number) => string;
|
|
13
14
|
metrics: (params?: string) => string;
|
|
14
15
|
};
|
|
15
16
|
export default entregaBayer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entregaBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;uBACK,MAAM;6BACA,MAAM;sBACb,MAAM;;;;;;;0BAOF,MAAM;+BACD,MAAM;
|
|
1
|
+
{"version":3,"file":"entregaBayer.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;uBACK,MAAM;6BACA,MAAM;sBACb,MAAM;;;;;;;0BAOF,MAAM;+BACD,MAAM;qBAChB,MAAM;uBACJ,MAAM;CAC5B,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -1034,6 +1034,7 @@ declare const endpointNavigationConfig: {
|
|
|
1034
1034
|
adicionarHistorico: string;
|
|
1035
1035
|
retornarFluxoAtendimento: string;
|
|
1036
1036
|
reabrir: string;
|
|
1037
|
+
usuariosGrupoAtendimentoAtual: string;
|
|
1037
1038
|
};
|
|
1038
1039
|
baseDeConhecimento: {
|
|
1039
1040
|
findAll: string;
|
|
@@ -2647,6 +2648,7 @@ declare const endpointNavigationConfig: {
|
|
|
2647
2648
|
aplicarRetencao: () => string;
|
|
2648
2649
|
cancelarEntrega: (id: number) => string;
|
|
2649
2650
|
atualizarQuantidades: (id: number) => string;
|
|
2651
|
+
transacoes: (id: number) => string;
|
|
2650
2652
|
metrics: (params?: string) => string;
|
|
2651
2653
|
};
|
|
2652
2654
|
registroEntradaBayer: {
|
|
@@ -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;AAE/B,QAAA,MAAM,wBAAwB
|
|
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;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processo.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/flux/config/processo.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"processo.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/flux/config/processo.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;CAeb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/flux/flux.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/flux/flux.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TFindAllEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllEntregaBayerResponse";
|
|
3
|
-
import { EntregaResponse, FindEntregaFilterRequest, SomatorioEntregaResponse, FindEntregaResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest, QuantidadeASerRetidaPorSaldoResponse, AplicarRetencaoResponse, AtualizarQuantidadesEntregaRequest } from "@base/@types/api/response/bayer/types";
|
|
3
|
+
import { EntregaResponse, FindEntregaFilterRequest, SomatorioEntregaResponse, FindEntregaResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest, QuantidadeASerRetidaPorSaldoResponse, AplicarRetencaoResponse, AtualizarQuantidadesEntregaRequest, TTransacaoEntregaResponse } from "@base/@types/api/response/bayer/types";
|
|
4
4
|
import { TFindAllMetricsEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse";
|
|
5
5
|
export declare function apiFindAllEntregaBayer(params?: string): Promise<TQueryResponse<TFindAllEntregaBayerResponse>>;
|
|
6
6
|
export declare function apiCreateEntrega(saldoId: number): Promise<EntregaResponse>;
|
|
@@ -14,4 +14,5 @@ export declare function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntr
|
|
|
14
14
|
export declare function apiCancelarEntregaBayer(id: number): Promise<void>;
|
|
15
15
|
export declare function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest): Promise<FindEntregaResponse>;
|
|
16
16
|
export declare function apiFindEntregaBayerMetrics(params?: string): Promise<TFindAllMetricsEntregaBayerResponse>;
|
|
17
|
+
export declare function apiGetTransacoesEntrega(id: number): Promise<TTransacaoEntregaResponse[]>;
|
|
17
18
|
//# sourceMappingURL=entregaBayerService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entregaBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,8DAA8D,CAAC;AAE5G,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,8CAA8C,EAC9C,oCAAoC,EACpC,uBAAuB,EACvB,kCAAkC,
|
|
1
|
+
{"version":3,"file":"entregaBayerService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,8DAA8D,CAAC;AAE5G,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,8CAA8C,EAC9C,oCAAoC,EACpC,uBAAuB,EACvB,kCAAkC,EAClC,yBAAyB,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAI1H,wBAAsB,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,yDAK3D;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,4BAKrD;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,iBAKrD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,wBAAwB,qCAMvE;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,wBAAwB,kCAMlE;AAED,wBAAsB,yBAAyB,kBAK9C;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,8CAA8C,iDAM7F;AAED,wBAAsB,wBAAwB,kBAK7C;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,8CAA8C,oCAM5F;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,iBAKvD;AAED,wBAAsB,8BAA8B,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,gCAMxG;AAED,wBAAsB,0BAA0B,CAAC,MAAM,CAAC,EAAE,MAAM,gDAK/D;AAED,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,wCAKvD"}
|
|
@@ -46,5 +46,6 @@ export declare function apiTransferirAtendente(body?: TActionProcesso): Promise<
|
|
|
46
46
|
export declare function apiAdicionarHistorico(body?: TActionProcesso): Promise<TProcesso>;
|
|
47
47
|
export declare function apiRetornarFluxoAtendimento(body?: TActionProcesso): Promise<TProcesso>;
|
|
48
48
|
export declare function apiReabrirProcesso(body?: TActionProcesso): Promise<TProcesso>;
|
|
49
|
+
export declare function apiGetUsuariosGrupoAtendimentoAtual(processoId: number): Promise<any[]>;
|
|
49
50
|
export declare function apiGetBaseDeConhecimento(body?: any): Promise<TBaseDeConhecimento>;
|
|
50
51
|
//# sourceMappingURL=FluxService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/flux/FluxService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAGtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAElF,wBAAsB,kBAAkB,CAAC,IAAI,CAAC,EAAE,aAAa,0CAM5D;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,aAAa,0CAM/D;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,aAAa,0CAM/D;AAED,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,0BAKtD;AAED,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,MAAM,0BAKrD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,CAAC,EAAE,aAAa,8CAMhE;AAED,wBAAsB,yBAAyB,CAAC,IAAI,CAA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BAAsB,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,sCAMvD;AAED,wBAAsB,iBAAiB,CAAC,IAAI,CAAC,EAAE,eAAe,sCAM7D;AAED,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,MAAM,sBAKlD;AAED,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,MAAM,sBAKlD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAM/D;AAED,wBAAsB,mBAAmB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAM/D;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAMjE;AAED,wBAAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAMpE;AAED,wBAAsB,sBAAsB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAMlE;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAMjE;AAED,wBAAsB,2BAA2B,CAAC,IAAI,CAAC,EAAE,eAAe,sBAMvE;AAED,wBAAsB,kBAAkB,CAAC,IAAI,CAAC,EAAE,eAAe,sBAM9D;AAED,wBAAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,GAAG,gCAMxD"}
|
|
1
|
+
{"version":3,"file":"FluxService.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/services/modules/flux/FluxService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,E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AAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,GAAG,gCAMxD"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
var StatusTransacaoEntrega = /* @__PURE__ */ ((StatusTransacaoEntrega2) => {
|
|
2
|
+
StatusTransacaoEntrega2["CONSUMO"] = "CONSUMO";
|
|
3
|
+
StatusTransacaoEntrega2["ESTORNO"] = "ESTORNO";
|
|
4
|
+
return StatusTransacaoEntrega2;
|
|
5
|
+
})(StatusTransacaoEntrega || {});
|
|
6
|
+
export {
|
|
7
|
+
StatusTransacaoEntrega
|
|
8
|
+
};
|
|
2
9
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../../../../lib/base/@types/api/response/bayer/types.ts"],"sourcesContent":["import { TRetornoEntregaResponse } from \"./TRetornoEntregaResponse\";\n\nexport interface RoyaltiesBusinessPartnerResponse {\n codigoBusinessPartner: string;\n}\n\nexport interface CreateRoyaltiesBusinessPartnerRequest {\n codigoBusinessPartner: string;\n}\n\nexport interface EntregaResponse {\n id: number;\n}\n\nexport interface FindEntregaFilterRequest {\n saldoEntradaGraosIdList: number[];\n}\n\nexport interface SomatorioEntregaPorGrupoResponse {\n grupo: string;\n totalQuantidadeEntregue: number;\n totalQuantidadeBaixada: number;\n totalQuantidadePendente: number;\n totalQuantidadeRetida: number;\n totalQuantidadeBaixadaConsumida: number;\n}\n\nexport interface SomatorioEntregaResponse {\n somatorios: SomatorioEntregaPorGrupoResponse[];\n}\n\nexport interface FindEntregaResponse {\n id: number;\n saldoEntradaGraosId: number;\n ticketId: number;\n codigoCentro: string;\n codigoDeposito: string;\n produtoId: number;\n safraId: number;\n produtorId: number;\n transgenia: 'INTACTA' | 'NAO_INTACTA' | 'INTACTA_NAO_DECLARADA' | 'ORIUNDO_PARTICIPANTE' | 'INTACTA_ORIUNDO_PARTICIPANTE' | 'SEM_TRANSGENIA';\n quantidadeEntregue: number;\n quantidadeBaixada: number;\n quantidadePendente: number;\n quantidadeRetida: number;\n quantidadeBaixadaConsumida: number;\n dataEntrega: string;\n status: 'POSITIVE' | 'NEGATIVE' | 'DECLARED' | 'ORIUNDO';\n retornoEntrega: TRetornoEntregaResponse;\n}\n\nexport interface ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest {\n saldoEntradaGraosId: number;\n quantidadeConsumida: number;\n}\n\nexport interface QuantidadeConsumidaPorSaldoEntradaGraosRequest {\n itens: ItemQuantidadeConsumidaPorSaldoEntradaGraosRequest[];\n}\n\nexport interface ItemQuantidadeASerRetidaPorSaldoResponse {\n entregaId: number;\n saldoEntradaGraosId: number;\n quantidadeASerRetida: number;\n}\n\nexport interface QuantidadeASerRetidaPorSaldoResponse {\n businessPartnerRoyalties: string;\n itens: ItemQuantidadeASerRetidaPorSaldoResponse[];\n}\n\nexport interface ItemAplicarRetencaoResponse {\n entregaId: number;\n saldoEntradaGraosId: number;\n quantidadeRetida: number;\n fixacaoId: string;\n}\n\nexport interface AplicarRetencaoResponse {\n itens: ItemAplicarRetencaoResponse[];\n}\n\nexport interface AtualizarQuantidadesEntregaRequest {\n quantidadeEntregue: number;\n quantidadeBaixada: number;\n quantidadePendente: number;\n quantidadeRetida: number;\n quantidadeBaixadaConsumida: number;\n}\n\nexport enum StatusTransacaoEntrega {\n CONSUMO = 'CONSUMO',\n ESTORNO = 'ESTORNO',\n}\n\nexport interface TTransacaoEntregaResponse {\n id: number;\n entregaId: number;\n saldoEntradaGraosId: number;\n liquidacaoId: number;\n quantidadeBaixadaConsumida: number;\n quantidadeRetida: number;\n statusTransacaoEntrega: StatusTransacaoEntrega;\n dataTransacao: string;\n}\n"],"names":["StatusTransacaoEntrega"],"mappings":"AA0FO,IAAK,2CAAAA,4BAAL;AACLA,0BAAA,SAAA,IAAU;AACVA,0BAAA,SAAA,IAAU;AAFA,SAAAA;AAAA,GAAA,0BAAA,CAAA,CAAA;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var StatusOrbe = /* @__PURE__ */ ((StatusOrbe2) => {
|
|
2
|
+
StatusOrbe2["CONCLUIDO"] = "CONCLUIDO";
|
|
3
|
+
StatusOrbe2["CANCELADO"] = "CANCELADO";
|
|
4
|
+
StatusOrbe2["ERRO"] = "ERRO";
|
|
5
|
+
return StatusOrbe2;
|
|
6
|
+
})(StatusOrbe || {});
|
|
7
|
+
export {
|
|
8
|
+
StatusOrbe
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=StatusOrbe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusOrbe.js","sources":["../../../../../lib/base/@types/enums/bayer/StatusOrbe.ts"],"sourcesContent":["export enum StatusOrbe {\n CONCLUIDO = \"CONCLUIDO\",\n CANCELADO = \"CANCELADO\",\n ERRO = \"ERRO\",\n}\n"],"names":["StatusOrbe"],"mappings":"AAAO,IAAK,+BAAAA,gBAAL;AACHA,cAAA,WAAA,IAAY;AACZA,cAAA,WAAA,IAAY;AACZA,cAAA,MAAA,IAAO;AAHC,SAAAA;AAAA,GAAA,cAAA,CAAA,CAAA;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var StatusRetencao = /* @__PURE__ */ ((StatusRetencao2) => {
|
|
2
|
+
StatusRetencao2["SUCCEEDED"] = "SUCCEEDED";
|
|
3
|
+
StatusRetencao2["REGISTERED"] = "REGISTERED";
|
|
4
|
+
StatusRetencao2["ERROR"] = "ERROR";
|
|
5
|
+
return StatusRetencao2;
|
|
6
|
+
})(StatusRetencao || {});
|
|
7
|
+
export {
|
|
8
|
+
StatusRetencao
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=StatusRetencao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusRetencao.js","sources":["../../../../../lib/base/@types/enums/bayer/StatusRetencao.ts"],"sourcesContent":["export enum StatusRetencao {\n SUCCEEDED = \"SUCCEEDED\",\n REGISTERED = \"REGISTERED\",\n ERROR = \"ERROR\",\n}\n"],"names":["StatusRetencao"],"mappings":"AAAO,IAAK,mCAAAA,oBAAL;AACHA,kBAAA,WAAA,IAAY;AACZA,kBAAA,YAAA,IAAa;AACbA,kBAAA,OAAA,IAAQ;AAHA,SAAAA;AAAA,GAAA,kBAAA,CAAA,CAAA;"}
|
|
@@ -2,8 +2,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import "../../../@ecme/components/index.js";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import useTransferirProcesso from "../../hooks/flux/useTransferirProcesso.js";
|
|
5
|
-
import "../../services/
|
|
6
|
-
import { apiGetUsers } from "../../services/modules/AdmService.js";
|
|
5
|
+
import { apiGetUsuariosGrupoAtendimentoAtual } from "../../services/modules/flux/FluxService.js";
|
|
7
6
|
import Button from "../../../@ecme/components/ui/Button/Button.js";
|
|
8
7
|
import Tooltip from "../../../@ecme/components/ui/Tooltip/Tooltip.js";
|
|
9
8
|
import Drawer from "../../../@ecme/components/ui/Drawer/Drawer.js";
|
|
@@ -19,21 +18,22 @@ const TransferirProcessoDialog = ({
|
|
|
19
18
|
const [motivo, setMotivo] = useState("");
|
|
20
19
|
const [usersOptions, setUsersOptions] = useState([]);
|
|
21
20
|
useEffect(() => {
|
|
21
|
+
if (!isOpen || !idProcesso) return;
|
|
22
22
|
async function fetchUsers() {
|
|
23
23
|
try {
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const options =
|
|
24
|
+
const response = await apiGetUsuariosGrupoAtendimentoAtual(idProcesso);
|
|
25
|
+
const users = Array.isArray(response) ? response : response?.content ?? [];
|
|
26
|
+
const options = users.map((item) => ({
|
|
27
27
|
value: item.id,
|
|
28
28
|
label: item.nome
|
|
29
29
|
}));
|
|
30
30
|
setUsersOptions(options);
|
|
31
31
|
} catch (error) {
|
|
32
|
-
console.error("Erro ao carregar
|
|
32
|
+
console.error("Erro ao carregar usuários do grupo de atendimento:", error);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
fetchUsers();
|
|
36
|
-
}, []);
|
|
36
|
+
}, [isOpen, idProcesso]);
|
|
37
37
|
const handleTransferirProcesso = (dados) => {
|
|
38
38
|
transferirProcesso(dados);
|
|
39
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferirProcessoDialog.js","sources":["../../../../lib/base/components/shared/TransferirProcessoDialog.tsx"],"sourcesContent":["import { Button, Drawer, Input, Select, Tooltip } from \"@/components\";\nimport { TActionProcesso } from \"@base/@types/models/flux/processo\";\nimport { useEffect, useState } from \"react\";\nimport useTransferirProcesso from \"@base/hooks/flux/useTransferirProcesso\";\nimport {
|
|
1
|
+
{"version":3,"file":"TransferirProcessoDialog.js","sources":["../../../../lib/base/components/shared/TransferirProcessoDialog.tsx"],"sourcesContent":["import { Button, Drawer, Input, Select, Tooltip } from \"@/components\";\nimport { TActionProcesso } from \"@base/@types/models/flux/processo\";\nimport { useEffect, useState } from \"react\";\nimport useTransferirProcesso from \"@base/hooks/flux/useTransferirProcesso\";\nimport { apiGetUsuariosGrupoAtendimentoAtual } from \"@base/services/modules/flux/FluxService\";\n\ninterface TransferirProcessoDialogProps {\n isOpen: boolean;\n onClose: () => void;\n idProcesso: number;\n}\n\nconst TransferirProcessoDialog = ({\n isOpen,\n onClose,\n idProcesso,\n}: TransferirProcessoDialogProps) => {\n const { mutate: transferirProcesso } = useTransferirProcesso();\n const [idUsuario, setIdUsuario] = useState<any>(null);\n const [motivo, setMotivo] = useState<string>(\"\");\n const [usersOptions, setUsersOptions] = useState<\n { value: number; label: string }[]\n >([]);\n\n useEffect(() => {\n if (!isOpen || !idProcesso) return;\n\n async function fetchUsers() {\n try {\n const response = await apiGetUsuariosGrupoAtendimentoAtual(idProcesso);\n const users = Array.isArray(response) ? response : (response as any)?.content ?? [];\n const options = users.map((item: any) => ({\n value: item.id,\n label: item.nome,\n }));\n setUsersOptions(options);\n } catch (error) {\n console.error(\"Erro ao carregar usuários do grupo de atendimento:\", error);\n }\n }\n fetchUsers();\n }, [isOpen, idProcesso]);\n\n const handleTransferirProcesso = (dados: TActionProcesso) => {\n transferirProcesso(dados);\n };\n const Footer = (\n <div className=\"flex w-full items-start\">\n <Button block className=\"mx-2\" onClick={() => onClose()}>\n Cancelar\n </Button>\n <Tooltip title={!motivo ? \"Motivo obrigatório\" : <></>} placement=\"top\">\n <span>\n <Button\n block\n className=\"mx-2\"\n variant=\"solid\"\n disabled={!motivo}\n onClick={() =>\n handleTransferirProcesso({\n idProcesso,\n idUsuario,\n mensagemInteracao: motivo,\n })\n }\n >\n Confirmar\n </Button>\n </span>\n </Tooltip>\n </div>\n );\n\n return (\n <>\n <Drawer\n title=\"Transferir Processo\"\n isOpen={isOpen}\n onClose={onClose}\n onRequestClose={onClose}\n footer={Footer}\n >\n <div className=\"flex flex-col gap-4 p-4\">\n <Select\n placeholder=\"Selecione um usuário\"\n options={usersOptions}\n onChange={(opt: any) => setIdUsuario(opt?.value)}\n />\n <Input\n textArea\n rows={4}\n placeholder=\"Motivo da transferência\"\n value={motivo}\n onChange={(e: any) => setMotivo(e.target.value)}\n />\n </div>\n </Drawer>\n </>\n );\n};\n\nexport default TransferirProcessoDialog;\n"],"names":[],"mappings":";;;;;;;;;;AAYA,MAAM,2BAA2B,CAAC;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AACF,MAAqC;AACnC,QAAM,EAAE,QAAQ,mBAAA,IAAuB,sBAAA;AACvC,QAAM,CAAC,WAAW,YAAY,IAAI,SAAc,IAAI;AACpD,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAiB,EAAE;AAC/C,QAAM,CAAC,cAAc,eAAe,IAAI,SAEtC,CAAA,CAAE;AAEJ,YAAU,MAAM;AACd,QAAI,CAAC,UAAU,CAAC,WAAY;AAE5B,mBAAe,aAAa;AAC1B,UAAI;AACF,cAAM,WA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SAAS;AAAA,YACT,UAAU,CAAC,QAAa,aAAa,KAAK,KAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,UAAQ;AAAA,YACR,MAAM;AAAA,YACN,aAAY;AAAA,YACZ,OAAO;AAAA,YACP,UAAU,CAAC,MAAW,UAAU,EAAE,OAAO,KAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MAChD,EAAA,CACF;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
@@ -10,6 +10,7 @@ const entregaBayer = {
|
|
|
10
10
|
aplicarRetencao: () => "/bayer/api/entregas/aplicar-retencao",
|
|
11
11
|
cancelarEntrega: (id) => `/bayer/api/entregas/${id}/cancelar`,
|
|
12
12
|
atualizarQuantidades: (id) => `/bayer/api/entregas/${id}/quantidades`,
|
|
13
|
+
transacoes: (id) => `/bayer/api/entregas/${id}/transacoes`,
|
|
13
14
|
metrics: (params) => `/bayer/api/entregas/metrics?${params ?? ""}`
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entregaBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"sourcesContent":["const entregaBayer = {\n findAll: (params?: string) => `/bayer/api/entregas?${params ?? ''}`,\n createEntrega: (saldoId: number) => `/bayer/api/entregas/${saldoId}`,\n enviarBayer: (id: number) => `/bayer/api/entregas/${id}/enviar-bayer`,\n somatorio: () => '/bayer/api/entregas/somatorio',\n find: () => '/bayer/api/entregas/find',\n enviarBayerLote: () => '/bayer/api/entregas/enviar-bayer-lote',\n calcularRetencao: () => '/bayer/api/entregas/calcular-retencao',\n buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',\n aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',\n cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,\n atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,\n metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,\n}\n\nexport default entregaBayer\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAAA,EACjB,SAAS,CAAC,WAAoB,uBAAuB,UAAU,EAAE;AAAA,EACjE,eAAe,CAAC,YAAoB,uBAAuB,OAAO;AAAA,EAClE,aAAa,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACtD,WAAW,MAAM;AAAA,EACjB,MAAM,MAAM;AAAA,EACZ,iBAAiB,MAAM;AAAA,EACvB,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,iBAAiB,MAAM;AAAA,EACvB,iBAAiB,CAAC,OAAe,uBAAuB,EAAE;AAAA,EAC1D,sBAAsB,CAAC,OAAe,uBAAuB,EAAE;AAAA,EAC/D,SAAS,CAAC,WAAoB,+BAA+B,UAAU,EAAE;AAC7E;"}
|
|
1
|
+
{"version":3,"file":"entregaBayer.js","sources":["../../../../../../lib/base/configs/endpoints.config/bayer/config/entregaBayer.ts"],"sourcesContent":["const entregaBayer = {\n findAll: (params?: string) => `/bayer/api/entregas?${params ?? ''}`,\n createEntrega: (saldoId: number) => `/bayer/api/entregas/${saldoId}`,\n enviarBayer: (id: number) => `/bayer/api/entregas/${id}/enviar-bayer`,\n somatorio: () => '/bayer/api/entregas/somatorio',\n find: () => '/bayer/api/entregas/find',\n enviarBayerLote: () => '/bayer/api/entregas/enviar-bayer-lote',\n calcularRetencao: () => '/bayer/api/entregas/calcular-retencao',\n buscarRetorno: () => '/bayer/api/entregas/buscar-retorno',\n aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',\n cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,\n atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,\n transacoes: (id: number) => `/bayer/api/entregas/${id}/transacoes`,\n metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,\n}\n\nexport default entregaBayer\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAAA,EACjB,SAAS,CAAC,WAAoB,uBAAuB,UAAU,EAAE;AAAA,EACjE,eAAe,CAAC,YAAoB,uBAAuB,OAAO;AAAA,EAClE,aAAa,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACtD,WAAW,MAAM;AAAA,EACjB,MAAM,MAAM;AAAA,EACZ,iBAAiB,MAAM;AAAA,EACvB,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,iBAAiB,MAAM;AAAA,EACvB,iBAAiB,CAAC,OAAe,uBAAuB,EAAE;AAAA,EAC1D,sBAAsB,CAAC,OAAe,uBAAuB,EAAE;AAAA,EAC/D,YAAY,CAAC,OAAe,uBAAuB,EAAE;AAAA,EACrD,SAAS,CAAC,WAAoB,+BAA+B,UAAU,EAAE;AAC7E;"}
|
|
@@ -11,7 +11,8 @@ const processo = {
|
|
|
11
11
|
transferirAtendente: "/flux/api/processo/transferir-para-atendente",
|
|
12
12
|
adicionarHistorico: "/flux/api/processo/adicionar-historico",
|
|
13
13
|
retornarFluxoAtendimento: "/flux/api/processo/retornar-fluxo-atendimento",
|
|
14
|
-
reabrir: "/flux/api/processo/reabrir"
|
|
14
|
+
reabrir: "/flux/api/processo/reabrir",
|
|
15
|
+
usuariosGrupoAtendimentoAtual: "/flux/api/processo"
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
18
|
processo as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processo.js","sources":["../../../../../../lib/base/configs/endpoints.config/flux/config/processo.ts"],"sourcesContent":["const processo = {\n add: \"/flux/api/processo/add\",\n findAll: \"/flux/api/processo/find\",\n findOne: \"/flux/api/processo\",\n update: \"/flux/api/processo/update\",\n aceitar: \"/flux/api/processo/aceitar\",\n concluir: \"/flux/api/processo/concluir\",\n cancelar: \"/flux/api/processo/cancelar\",\n transferir: \"/flux/api/processo/transferir\",\n transferirSolicitante: \"/flux/api/processo/transferir-para-solicitante\",\n transferirAtendente: \"/flux/api/processo/transferir-para-atendente\",\n adicionarHistorico: \"/flux/api/processo/adicionar-historico\",\n retornarFluxoAtendimento: \"/flux/api/processo/retornar-fluxo-atendimento\",\n reabrir: \"/flux/api/processo/reabrir\",\n};\n\nexport default processo;\n"],"names":[],"mappings":"AAAA,MAAM,WAAW;AAAA,EACf,KAAK;AAAA,EACL,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,SAAS;
|
|
1
|
+
{"version":3,"file":"processo.js","sources":["../../../../../../lib/base/configs/endpoints.config/flux/config/processo.ts"],"sourcesContent":["const processo = {\n add: \"/flux/api/processo/add\",\n findAll: \"/flux/api/processo/find\",\n findOne: \"/flux/api/processo\",\n update: \"/flux/api/processo/update\",\n aceitar: \"/flux/api/processo/aceitar\",\n concluir: \"/flux/api/processo/concluir\",\n cancelar: \"/flux/api/processo/cancelar\",\n transferir: \"/flux/api/processo/transferir\",\n transferirSolicitante: \"/flux/api/processo/transferir-para-solicitante\",\n transferirAtendente: \"/flux/api/processo/transferir-para-atendente\",\n adicionarHistorico: \"/flux/api/processo/adicionar-historico\",\n retornarFluxoAtendimento: \"/flux/api/processo/retornar-fluxo-atendimento\",\n reabrir: \"/flux/api/processo/reabrir\",\n usuariosGrupoAtendimentoAtual: \"/flux/api/processo\",\n};\n\nexport default processo;\n"],"names":[],"mappings":"AAAA,MAAM,WAAW;AAAA,EACf,KAAK;AAAA,EACL,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,SAAS;AAAA,EACT,+BAA+B;AACjC;"}
|
package/dist/base/index.js
CHANGED
|
@@ -71,7 +71,7 @@ import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural,
|
|
|
71
71
|
import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./services/modules/transportadora/TiposCarga/TipoCargaService.js";
|
|
72
72
|
import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./services/modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
|
|
73
73
|
import { apiAdicionarItensCotacaoEmProcessamento, apiFinalizaRequisicaoAgrupada, apiFindMonitorRequisicaoAgrupadaItem, apiFindMonitorRequisicaoAgrupadaRequisicao } from "./services/modules/compras/requisicaoAgrupada/RequisicaoAgrupadaService.js";
|
|
74
|
-
import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
|
|
74
|
+
import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, apiSomatorioEntrega } from "./services/modules/bayer/entregaBayerService.js";
|
|
75
75
|
import { apiBuscarEntradaGraos } from "./services/modules/bayer/registroEntradaBayerService.js";
|
|
76
76
|
import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./services/modules/bayer/pendenciaBayerService.js";
|
|
77
77
|
import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./services/modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
|
|
@@ -719,6 +719,7 @@ export {
|
|
|
719
719
|
apiGetTermoFundeinfra,
|
|
720
720
|
apiGetTermoFunrural,
|
|
721
721
|
apiGetTipoCarga,
|
|
722
|
+
apiGetTransacoesEntrega,
|
|
722
723
|
apiGetUsers,
|
|
723
724
|
apiGetVolumeProducaoSeloSocial,
|
|
724
725
|
apiGetVolumeProducaoSeloSocialBySafraId,
|
|
@@ -74,7 +74,7 @@ import { apiAddTermoFunrural, apiAprovarTermoFunrural, apiCancelarTermoFunrural,
|
|
|
74
74
|
import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./modules/transportadora/TiposCarga/TipoCargaService.js";
|
|
75
75
|
import { apiAddVolumeProducaoSeloSocial, apiFindMonitorVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocial, apiGetVolumeProducaoSeloSocialBySafraId, apiUpdateVolumeProducaoSeloSocial } from "./modules/originacao/adm/volumeProducaoSeloSocial/VolumeProducaoSeloSocialService.js";
|
|
76
76
|
import { apiAdicionarItensCotacaoEmProcessamento, apiFinalizaRequisicaoAgrupada, apiFindMonitorRequisicaoAgrupadaItem, apiFindMonitorRequisicaoAgrupadaRequisicao } from "./modules/compras/requisicaoAgrupada/RequisicaoAgrupadaService.js";
|
|
77
|
-
import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
|
|
77
|
+
import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiGetTransacoesEntrega, apiSomatorioEntrega } from "./modules/bayer/entregaBayerService.js";
|
|
78
78
|
import { apiBuscarEntradaGraos } from "./modules/bayer/registroEntradaBayerService.js";
|
|
79
79
|
import { apiBuscarPendencias, apiBuscarPendenciasBayer, apiBuscarStatusConsumo, apiBuscarStatusFixacao } from "./modules/bayer/pendenciaBayerService.js";
|
|
80
80
|
import { apiCancelContratoCompraGraos, apiCreateContratoCompraGraos, apiEditContratoCompraGraos, apiFindAllContratoCompraGraos, apiFindByIdContratoCompraGraos, apiFindHistoricoByIdContratoCompraGraos, apiFindSaldoByIdContratoCompraGraos, apiGeneratePdfContratoCompraGraos, apiUpdateStatusContratoCompraGraos, apiUploadContrato } from "./modules/originacao/contratoCompraGraos/contratoCompraGraosService.js";
|
|
@@ -606,6 +606,7 @@ export {
|
|
|
606
606
|
apiGetTermoFundeinfra,
|
|
607
607
|
apiGetTermoFunrural,
|
|
608
608
|
apiGetTipoCarga,
|
|
609
|
+
apiGetTransacoesEntrega,
|
|
609
610
|
apiGetUsers,
|
|
610
611
|
apiGetVolumeProducaoSeloSocial,
|
|
611
612
|
apiGetVolumeProducaoSeloSocialBySafraId,
|
|
@@ -78,6 +78,12 @@ async function apiFindEntregaBayerMetrics(params) {
|
|
|
78
78
|
method: "get"
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
+
async function apiGetTransacoesEntrega(id) {
|
|
82
|
+
return ApiService.fetchDataWithAxios({
|
|
83
|
+
url: ENTREGA_BAYER_ENDPOINT.transacoes(id),
|
|
84
|
+
method: "get"
|
|
85
|
+
});
|
|
86
|
+
}
|
|
81
87
|
export {
|
|
82
88
|
apiAplicarRetencao,
|
|
83
89
|
apiAtualizarQuantidadesEntrega,
|
|
@@ -90,6 +96,7 @@ export {
|
|
|
90
96
|
apiFindAllEntregaBayer,
|
|
91
97
|
apiFindEntrega,
|
|
92
98
|
apiFindEntregaBayerMetrics,
|
|
99
|
+
apiGetTransacoesEntrega,
|
|
93
100
|
apiSomatorioEntrega
|
|
94
101
|
};
|
|
95
102
|
//# sourceMappingURL=entregaBayerService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport {\n EntregaResponse,\n FindEntregaFilterRequest,\n SomatorioEntregaResponse,\n FindEntregaResponse,\n QuantidadeConsumidaPorSaldoEntradaGraosRequest,\n QuantidadeASerRetidaPorSaldoResponse,\n AplicarRetencaoResponse,\n AtualizarQuantidadesEntregaRequest\n} from \"@base/@types/api/response/bayer/types\";\nimport { TFindAllMetricsEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiCreateEntrega(saldoId: number) {\n return ApiService.fetchDataWithAxios<EntregaResponse>({\n url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),\n method: 'post',\n });\n}\n\nexport async function apiEnviarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),\n method: 'post',\n });\n}\n\nexport async function apiSomatorioEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<SomatorioEntregaResponse, FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.somatorio(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiFindEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse[], FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.find(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiEnviarEntregaBayerLote() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),\n method: 'post',\n });\n}\n\nexport async function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<QuantidadeASerRetidaPorSaldoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiBuscarRetornoEntregas() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),\n method: 'post',\n });\n}\n\nexport async function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<AplicarRetencaoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiCancelarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.cancelarEntrega(id),\n method: 'post',\n });\n}\n\nexport async function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse, AtualizarQuantidadesEntregaRequest>({\n url: ENTREGA_BAYER_ENDPOINT.atualizarQuantidades(id),\n method: 'put',\n data,\n });\n}\n\nexport async function apiFindEntregaBayerMetrics(params?: string) {\n return ApiService.fetchDataWithAxios<TFindAllMetricsEntregaBayerResponse>({\n url: ENTREGA_BAYER_ENDPOINT.metrics(params),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"entregaBayerService.js","sources":["../../../../../lib/base/services/modules/bayer/entregaBayerService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { TQueryResponse } from \"@base/@types/api\";\nimport { TFindAllEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllEntregaBayerResponse\";\nimport endpointNavigationConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport {\n EntregaResponse,\n FindEntregaFilterRequest,\n SomatorioEntregaResponse,\n FindEntregaResponse,\n QuantidadeConsumidaPorSaldoEntradaGraosRequest,\n QuantidadeASerRetidaPorSaldoResponse,\n AplicarRetencaoResponse,\n AtualizarQuantidadesEntregaRequest,\n TTransacaoEntregaResponse\n} from \"@base/@types/api/response/bayer/types\";\nimport { TFindAllMetricsEntregaBayerResponse } from \"@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse\";\n\nconst ENTREGA_BAYER_ENDPOINT = endpointNavigationConfig.bayer.entregaBayer;\n\nexport async function apiFindAllEntregaBayer(params?: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindAllEntregaBayerResponse>>({\n url: ENTREGA_BAYER_ENDPOINT.findAll(params),\n method: \"get\",\n });\n}\n\nexport async function apiCreateEntrega(saldoId: number) {\n return ApiService.fetchDataWithAxios<EntregaResponse>({\n url: ENTREGA_BAYER_ENDPOINT.createEntrega(saldoId),\n method: 'post',\n });\n}\n\nexport async function apiEnviarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayer(id),\n method: 'post',\n });\n}\n\nexport async function apiSomatorioEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<SomatorioEntregaResponse, FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.somatorio(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiFindEntrega(data: FindEntregaFilterRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse[], FindEntregaFilterRequest>({\n url: ENTREGA_BAYER_ENDPOINT.find(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiEnviarEntregaBayerLote() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.enviarBayerLote(),\n method: 'post',\n });\n}\n\nexport async function apiCalcularRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<QuantidadeASerRetidaPorSaldoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.calcularRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiBuscarRetornoEntregas() {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.buscarRetorno(),\n method: 'post',\n });\n}\n\nexport async function apiAplicarRetencao(data: QuantidadeConsumidaPorSaldoEntradaGraosRequest) {\n return ApiService.fetchDataWithAxios<AplicarRetencaoResponse, QuantidadeConsumidaPorSaldoEntradaGraosRequest>({\n url: ENTREGA_BAYER_ENDPOINT.aplicarRetencao(),\n method: 'post',\n data,\n });\n}\n\nexport async function apiCancelarEntregaBayer(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: ENTREGA_BAYER_ENDPOINT.cancelarEntrega(id),\n method: 'post',\n });\n}\n\nexport async function apiAtualizarQuantidadesEntrega(id: number, data: AtualizarQuantidadesEntregaRequest) {\n return ApiService.fetchDataWithAxios<FindEntregaResponse, AtualizarQuantidadesEntregaRequest>({\n url: ENTREGA_BAYER_ENDPOINT.atualizarQuantidades(id),\n method: 'put',\n data,\n });\n}\n\nexport async function apiFindEntregaBayerMetrics(params?: string) {\n return ApiService.fetchDataWithAxios<TFindAllMetricsEntregaBayerResponse>({\n url: ENTREGA_BAYER_ENDPOINT.metrics(params),\n method: 'get',\n });\n}\n\nexport async function apiGetTransacoesEntrega(id: number) {\n return ApiService.fetchDataWithAxios<TTransacaoEntregaResponse[]>({\n url: ENTREGA_BAYER_ENDPOINT.transacoes(id),\n method: 'get',\n });\n}\n"],"names":[],"mappings":";;AAiBA,MAAM,yBAAyB,yBAAyB,MAAM;AAE9D,eAAsB,uBAAuB,QAAiB;AAC5D,SAAO,WAAW,mBAAiE;AAAA,IACjF,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,iBAAiB,SAAiB;AACpD,SAAO,WAAW,mBAAoC;AAAA,IAClD,KAAK,uBAAuB,cAAc,OAAO;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,sBAAsB,IAAY;AACpD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,YAAY,EAAE;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAgC;AACtE,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,uBAAuB,UAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,eAAe,MAAgC;AACjE,SAAO,WAAW,mBAAoE;AAAA,IAClF,KAAK,uBAAuB,KAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,4BAA4B;AAC9C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oBAAoB,MAAsD;AAC5F,SAAO,WAAW,mBAAyG;AAAA,IACvH,KAAK,uBAAuB,iBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B;AAC7C,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,cAAA;AAAA,IAC5B,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mBAAmB,MAAsD;AAC3F,SAAO,WAAW,mBAA4F;AAAA,IAC1G,KAAK,uBAAuB,gBAAA;AAAA,IAC5B,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,uBAAuB,gBAAgB,EAAE;AAAA,IAC9C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,+BAA+B,IAAY,MAA0C;AACvG,SAAO,WAAW,mBAA4E;AAAA,IAC1F,KAAK,uBAAuB,qBAAqB,EAAE;AAAA,IACnD,QAAQ;AAAA,IACR;AAAA,EAAA,CACH;AACL;AAEA,eAAsB,2BAA2B,QAAiB;AAC9D,SAAO,WAAW,mBAAwD;AAAA,IACtE,KAAK,uBAAuB,QAAQ,MAAM;AAAA,IAC1C,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAgD;AAAA,IAC9D,KAAK,uBAAuB,WAAW,EAAE;AAAA,IACzC,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { apiBuscarEntradaGraos } from "./registroEntradaBayerService.js";
|
|
2
|
-
import { apiAplicarRetencao, apiAtualizarQuantidadesEntrega, apiBuscarRetornoEntregas, apiCalcularRetencao, apiCancelarEntregaBayer, apiCreateEntrega, apiEnviarEntregaBayer, apiEnviarEntregaBayerLote, apiFindAllEntregaBayer, apiFindEntrega, apiFindEntregaBayerMetrics, apiSomatorioEntrega } from "./entregaBayerService.js";
|
|
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
5
|
import { apiFindAllRetencao } from "./retencaoBayerService.js";
|
|
@@ -25,6 +25,7 @@ export {
|
|
|
25
25
|
apiFindEntrega,
|
|
26
26
|
apiFindEntregaBayerMetrics,
|
|
27
27
|
apiGetRoyaltiesBusinessPartner,
|
|
28
|
+
apiGetTransacoesEntrega,
|
|
28
29
|
apiSomatorioEntrega
|
|
29
30
|
};
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -267,6 +267,12 @@ async function apiReabrirProcesso(body) {
|
|
|
267
267
|
data: body
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
|
+
async function apiGetUsuariosGrupoAtendimentoAtual(processoId) {
|
|
271
|
+
return ApiService.fetchDataWithAxios({
|
|
272
|
+
url: `${endpointNavigationConfig.flux.processo.usuariosGrupoAtendimentoAtual}/${processoId}/usuarios-grupo-atendimento-atual`,
|
|
273
|
+
method: "get"
|
|
274
|
+
});
|
|
275
|
+
}
|
|
270
276
|
async function apiGetBaseDeConhecimento(body) {
|
|
271
277
|
return ApiService.fetchDataWithAxios({
|
|
272
278
|
url: endpointNavigationConfig.flux.baseDeConhecimento.findAll,
|
|
@@ -305,6 +311,7 @@ export {
|
|
|
305
311
|
apiGetProcesso,
|
|
306
312
|
apiGetSubcategoria,
|
|
307
313
|
apiGetTipoProcesso,
|
|
314
|
+
apiGetUsuariosGrupoAtendimentoAtual,
|
|
308
315
|
apiReabrirProcesso,
|
|
309
316
|
apiRetornarFluxoAtendimento,
|
|
310
317
|
apiTransferirAtendente,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxService.js","sources":["../../../../../lib/base/services/modules/flux/FluxService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoProcesso } from \"@base/@types/models/flux/tipoProcesso\";\nimport { TGrupoAtendimento } from \"@base/@types/models/flux/grupoAtendimento\";\nimport { TCategoria } from \"@base/@types/models/flux/categoria\";\nimport { TFormularioBase } from \"@base/@types/models/flux/formularioBase\";\nimport {\n TActionProcesso,\n TProcesso,\n TUpdateProcesso,\n} from \"@base/@types/models/flux/processo\";\nimport { TSubcategoria } from \"@base/@types/models/flux/subcategoria\";\nimport { endpointsConfig } from \"@base/configs\";\nimport ApiService from \"@/services/ApiService\";\nimport { TBaseDeConhecimento } from \"@base/@types/models/flux/baseDeConhecimento\";\n\nexport async function apiGetTipoProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetGrupoAtendimento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiFindCategoriaByTipoProcesso(idTipoProcesso: number) {\n return ApiService.fetchDataWithAxios<TCategoria[]>({\n url: `${endpointsConfig.flux.categoria.findCategoriaByTipoProcesso}/${idTipoProcesso}`,\n method: \"get\",\n });\n}\n\nexport async function apiGetSubcategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindSubategoriaByCategoria(idCategoria: number) {\n return ApiService.fetchDataWithAxios<TSubcategoria[]>({\n url: `${endpointsConfig.flux.subcategoria.findSubcategoriaByCategoria}/${idCategoria}`,\n method: \"get\",\n });\n}\n\nexport async function apiFindOneSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetFormularioBase(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateProcesso(data?: TProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateProcesso(data?: TUpdateProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiAceitarProcesso(id: number) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.aceitar}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiConcluirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.concluir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiCancelarProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.cancelar,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirSolicitante(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirSolicitante,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirAtendente(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirAtendente,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiAdicionarHistorico(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.adicionarHistorico,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiRetornarFluxoAtendimento(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.retornarFluxoAtendimento,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiReabrirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.reabrir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiGetBaseDeConhecimento(body?: any) {\n return ApiService.fetchDataWithAxios<TBaseDeConhecimento>({\n url: endpointsConfig.flux.baseDeConhecimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAeA,eAAsB,mBAAmB,MAAsB;AAC7D,SAAO,WAAW,mBAAkD;AAAA,IAClE,KAAKA,yBAAgB,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ACxD,KAAKA,yBAAgB,KAAK,mBAAmB;AAAA,IAC7C,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACP;AACH;"}
|
|
1
|
+
{"version":3,"file":"FluxService.js","sources":["../../../../../lib/base/services/modules/flux/FluxService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTipoProcesso } from \"@base/@types/models/flux/tipoProcesso\";\nimport { TGrupoAtendimento } from \"@base/@types/models/flux/grupoAtendimento\";\nimport { TCategoria } from \"@base/@types/models/flux/categoria\";\nimport { TFormularioBase } from \"@base/@types/models/flux/formularioBase\";\nimport {\n TActionProcesso,\n TProcesso,\n TUpdateProcesso,\n} from \"@base/@types/models/flux/processo\";\nimport { TSubcategoria } from \"@base/@types/models/flux/subcategoria\";\nimport { endpointsConfig } from \"@base/configs\";\nimport ApiService from \"@/services/ApiService\";\nimport { TBaseDeConhecimento } from \"@base/@types/models/flux/baseDeConhecimento\";\n\nexport async function apiGetTipoProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateTipoProcesso(data?: TTipoProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTipoProcesso>>({\n url: endpointsConfig.flux.tipoProcesso.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteTipoProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TTipoProcesso>({\n url: `${endpointsConfig.flux.tipoProcesso.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetGrupoAtendimento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateGrupoAtendimento(data?: TGrupoAtendimento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGrupoAtendimento>>({\n url: endpointsConfig.flux.grupoAtendimento.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteGrupoAtendimento(id: string) {\n return ApiService.fetchDataWithAxios<TGrupoAtendimento>({\n url: `${endpointsConfig.flux.grupoAtendimento.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCategoria>>({\n url: endpointsConfig.flux.categoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.flux.categoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiFindCategoriaByTipoProcesso(idTipoProcesso: number) {\n return ApiService.fetchDataWithAxios<TCategoria[]>({\n url: `${endpointsConfig.flux.categoria.findCategoriaByTipoProcesso}/${idTipoProcesso}`,\n method: \"get\",\n });\n}\n\nexport async function apiGetSubcategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateSubcategoria(data?: TSubcategoria) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSubcategoria>>({\n url: endpointsConfig.flux.subcategoria.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindSubategoriaByCategoria(idCategoria: number) {\n return ApiService.fetchDataWithAxios<TSubcategoria[]>({\n url: `${endpointsConfig.flux.subcategoria.findSubcategoriaByCategoria}/${idCategoria}`,\n method: \"get\",\n });\n}\n\nexport async function apiFindOneSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteSubcategoria(id: string) {\n return ApiService.fetchDataWithAxios<TSubcategoria>({\n url: `${endpointsConfig.flux.subcategoria.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetFormularioBase(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateFormularioBase(data?: TFormularioBase) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFormularioBase>>({\n url: endpointsConfig.flux.formularioBase.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiDeleteFormularioBase(id: string) {\n return ApiService.fetchDataWithAxios<TFormularioBase>({\n url: `${endpointsConfig.flux.formularioBase.delete}/${id}`,\n method: \"delete\",\n });\n}\n\nexport async function apiGetProcesso(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.findAll,\n method: \"post\",\n data: body,\n });\n}\n\nexport async function apiCreateProcesso(data?: TProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.add,\n method: \"post\",\n data,\n });\n}\n\nexport async function apiUpdateProcesso(data?: TUpdateProcesso) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TProcesso>>({\n url: endpointsConfig.flux.processo.update,\n method: \"patch\",\n data,\n });\n}\n\nexport async function apiFindOneProcesso(id: string) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.findOne}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiAceitarProcesso(id: number) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: `${endpointsConfig.flux.processo.aceitar}/${id}`,\n method: \"get\",\n });\n}\n\nexport async function apiConcluirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.concluir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiCancelarProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.cancelar,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirSolicitante(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirSolicitante,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiTransferirAtendente(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.transferirAtendente,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiAdicionarHistorico(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.adicionarHistorico,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiRetornarFluxoAtendimento(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.retornarFluxoAtendimento,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiReabrirProcesso(body?: TActionProcesso) {\n return ApiService.fetchDataWithAxios<TProcesso>({\n url: endpointsConfig.flux.processo.reabrir,\n method: \"put\",\n data: body,\n });\n}\n\nexport async function apiGetUsuariosGrupoAtendimentoAtual(processoId: number) {\n return ApiService.fetchDataWithAxios<any[]>({\n url: `${endpointsConfig.flux.processo.usuariosGrupoAtendimentoAtual}/${processoId}/usuarios-grupo-atendimento-atual`,\n method: \"get\",\n });\n}\n\nexport async function apiGetBaseDeConhecimento(body?: any) {\n return ApiService.fetchDataWithAxios<TBaseDeConhecimento>({\n url: endpointsConfig.flux.baseDeConhecimento.findAll,\n method: \"post\",\n data: body,\n });\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAeA,eAAsB,m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ACP;AACH;AAEA,eAAsB,oCAAoC,YAAoB;AAC5E,SAAO,WAAW,mBAA0B;AAAA,IAC1C,KAAK,GAAGA,yBAAgB,KAAK,SAAS,6BAA6B,IAAI,UAAU;AAAA,IACjF,QAAQ;AAAA,EAAA,CACT;AACH;AAEA,eAAsB,yBAAyB,MAAY;AACzD,SAAO,WAAW,mBAAwC;AAAA,IACxD,KAAKA,yBAAgB,KAAK,mBAAmB;AAAA,IAC7C,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACP;AACH;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export interface TFindAllRetencaoResponse {
|
|
2
2
|
id: number;
|
|
3
3
|
entregaId: number;
|
|
4
|
+
liquidacaoId: number;
|
|
4
5
|
fixacaoId: string;
|
|
5
6
|
cnpjFilial: string;
|
|
6
7
|
documentoProdutor: string;
|
|
7
8
|
quantidadeRetida: number;
|
|
8
9
|
status: 'SUCCEEDED' | 'REGISTERED' | 'ERROR';
|
|
10
|
+
statusOrbe: 'CONCLUIDO' | 'CANCELADO' | 'ERRO';
|
|
9
11
|
dataCriacao: string;
|
|
10
12
|
}
|
|
@@ -87,3 +87,19 @@ export interface AtualizarQuantidadesEntregaRequest {
|
|
|
87
87
|
quantidadeRetida: number;
|
|
88
88
|
quantidadeBaixadaConsumida: number;
|
|
89
89
|
}
|
|
90
|
+
|
|
91
|
+
export enum StatusTransacaoEntrega {
|
|
92
|
+
CONSUMO = 'CONSUMO',
|
|
93
|
+
ESTORNO = 'ESTORNO',
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface TTransacaoEntregaResponse {
|
|
97
|
+
id: number;
|
|
98
|
+
entregaId: number;
|
|
99
|
+
saldoEntradaGraosId: number;
|
|
100
|
+
liquidacaoId: number;
|
|
101
|
+
quantidadeBaixadaConsumida: number;
|
|
102
|
+
quantidadeRetida: number;
|
|
103
|
+
statusTransacaoEntrega: StatusTransacaoEntrega;
|
|
104
|
+
dataTransacao: string;
|
|
105
|
+
}
|
|
@@ -2,8 +2,8 @@ import { Button, Drawer, Input, Select, Tooltip } from "@/components";
|
|
|
2
2
|
import { TActionProcesso } from "@base/@types/models/flux/processo";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
import useTransferirProcesso from "@base/hooks/flux/useTransferirProcesso";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { apiGetUsuariosGrupoAtendimentoAtual } from "@base/services/modules/flux/FluxService";
|
|
6
|
+
|
|
7
7
|
interface TransferirProcessoDialogProps {
|
|
8
8
|
isOpen: boolean;
|
|
9
9
|
onClose: () => void;
|
|
@@ -23,21 +23,23 @@ const TransferirProcessoDialog = ({
|
|
|
23
23
|
>([]);
|
|
24
24
|
|
|
25
25
|
useEffect(() => {
|
|
26
|
+
if (!isOpen || !idProcesso) return;
|
|
27
|
+
|
|
26
28
|
async function fetchUsers() {
|
|
27
29
|
try {
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const options =
|
|
30
|
+
const response = await apiGetUsuariosGrupoAtendimentoAtual(idProcesso);
|
|
31
|
+
const users = Array.isArray(response) ? response : (response as any)?.content ?? [];
|
|
32
|
+
const options = users.map((item: any) => ({
|
|
31
33
|
value: item.id,
|
|
32
34
|
label: item.nome,
|
|
33
35
|
}));
|
|
34
36
|
setUsersOptions(options);
|
|
35
37
|
} catch (error) {
|
|
36
|
-
console.error("Erro ao carregar
|
|
38
|
+
console.error("Erro ao carregar usuários do grupo de atendimento:", error);
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
fetchUsers();
|
|
40
|
-
}, []);
|
|
42
|
+
}, [isOpen, idProcesso]);
|
|
41
43
|
|
|
42
44
|
const handleTransferirProcesso = (dados: TActionProcesso) => {
|
|
43
45
|
transferirProcesso(dados);
|
|
@@ -10,6 +10,7 @@ const entregaBayer = {
|
|
|
10
10
|
aplicarRetencao: () => '/bayer/api/entregas/aplicar-retencao',
|
|
11
11
|
cancelarEntrega: (id: number) => `/bayer/api/entregas/${id}/cancelar`,
|
|
12
12
|
atualizarQuantidades: (id: number) => `/bayer/api/entregas/${id}/quantidades`,
|
|
13
|
+
transacoes: (id: number) => `/bayer/api/entregas/${id}/transacoes`,
|
|
13
14
|
metrics: (params?: string) => `/bayer/api/entregas/metrics?${params ?? ''}`,
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -12,6 +12,7 @@ const processo = {
|
|
|
12
12
|
adicionarHistorico: "/flux/api/processo/adicionar-historico",
|
|
13
13
|
retornarFluxoAtendimento: "/flux/api/processo/retornar-fluxo-atendimento",
|
|
14
14
|
reabrir: "/flux/api/processo/reabrir",
|
|
15
|
+
usuariosGrupoAtendimentoAtual: "/flux/api/processo",
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
export default processo;
|
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
QuantidadeConsumidaPorSaldoEntradaGraosRequest,
|
|
11
11
|
QuantidadeASerRetidaPorSaldoResponse,
|
|
12
12
|
AplicarRetencaoResponse,
|
|
13
|
-
AtualizarQuantidadesEntregaRequest
|
|
13
|
+
AtualizarQuantidadesEntregaRequest,
|
|
14
|
+
TTransacaoEntregaResponse
|
|
14
15
|
} from "@base/@types/api/response/bayer/types";
|
|
15
16
|
import { TFindAllMetricsEntregaBayerResponse } from "@base/@types/api/response/bayer/TFindAllMetricsEntregaBayerResponse";
|
|
16
17
|
|
|
@@ -104,3 +105,10 @@ export async function apiFindEntregaBayerMetrics(params?: string) {
|
|
|
104
105
|
method: 'get',
|
|
105
106
|
});
|
|
106
107
|
}
|
|
108
|
+
|
|
109
|
+
export async function apiGetTransacoesEntrega(id: number) {
|
|
110
|
+
return ApiService.fetchDataWithAxios<TTransacaoEntregaResponse[]>({
|
|
111
|
+
url: ENTREGA_BAYER_ENDPOINT.transacoes(id),
|
|
112
|
+
method: 'get',
|
|
113
|
+
});
|
|
114
|
+
}
|
|
@@ -319,6 +319,13 @@ export async function apiReabrirProcesso(body?: TActionProcesso) {
|
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
export async function apiGetUsuariosGrupoAtendimentoAtual(processoId: number) {
|
|
323
|
+
return ApiService.fetchDataWithAxios<any[]>({
|
|
324
|
+
url: `${endpointsConfig.flux.processo.usuariosGrupoAtendimentoAtual}/${processoId}/usuarios-grupo-atendimento-atual`,
|
|
325
|
+
method: "get",
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
|
|
322
329
|
export async function apiGetBaseDeConhecimento(body?: any) {
|
|
323
330
|
return ApiService.fetchDataWithAxios<TBaseDeConhecimento>({
|
|
324
331
|
url: endpointsConfig.flux.baseDeConhecimento.findAll,
|