@orbe-agro/client-core 5.3.130 → 5.3.131
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/models/racao/desconto.d.ts +28 -0
- package/dist/@types/base/@types/models/racao/desconto.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +22 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/racao/config/desconto.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/racao/config/desconto.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts +22 -0
- package/dist/@types/base/configs/endpoints.config/racao/racao.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/racao/cadastros.submenu.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/racao/config/desconto.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/racao/config/desconto.submenu.d.ts.map +1 -0
- package/dist/@types/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/carga/CargaService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/desconto/DescontoService.d.ts +8 -0
- package/dist/@types/base/services/modules/racao/desconto/DescontoService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/listaTecnica/ListaTecnicaService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/metaMensal/MetaMensalService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/pedidoVenda/PedidoVendaService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/tabelaPreco/TabelaPrecoService.d.ts +2 -2
- package/dist/@types/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.d.ts +2 -2
- package/dist/base/@types/models/racao/desconto.js +5 -0
- package/dist/base/@types/models/racao/desconto.js.map +1 -0
- package/dist/base/configs/endpoints.config/racao/config/desconto.js +11 -0
- package/dist/base/configs/endpoints.config/racao/config/desconto.js.map +1 -0
- package/dist/base/configs/endpoints.config/racao/racao.js +17 -15
- package/dist/base/configs/endpoints.config/racao/racao.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/racao/cadastros.submenu.js +5 -3
- package/dist/base/configs/navigation.config/submenu/racao/cadastros.submenu.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/racao/config/desconto.submenu.js +16 -0
- package/dist/base/configs/navigation.config/submenu/racao/config/desconto.submenu.js.map +1 -0
- package/dist/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.js.map +1 -1
- package/dist/base/services/modules/racao/carga/CargaService.js.map +1 -1
- package/dist/base/services/modules/racao/desconto/DescontoService.js +44 -0
- package/dist/base/services/modules/racao/desconto/DescontoService.js.map +1 -0
- package/dist/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.js.map +1 -1
- package/dist/base/services/modules/racao/listaTecnica/ListaTecnicaService.js.map +1 -1
- package/dist/base/services/modules/racao/metaMensal/MetaMensalService.js.map +1 -1
- package/dist/base/services/modules/racao/pedidoVenda/PedidoVendaService.js.map +1 -1
- package/dist/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.js.map +1 -1
- package/dist/base/services/modules/racao/tabelaPreco/TabelaPrecoService.js.map +1 -1
- package/dist/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js.map +1 -1
- package/lib/base/@types/models/racao/desconto.ts +29 -0
- package/lib/base/configs/endpoints.config/racao/config/desconto.ts +11 -0
- package/lib/base/configs/endpoints.config/racao/racao.ts +2 -0
- package/lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts +3 -1
- package/lib/base/configs/navigation.config/submenu/racao/config/desconto.submenu.ts +16 -0
- package/lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts +2 -2
- package/lib/base/services/modules/racao/carga/CargaService.ts +2 -2
- package/lib/base/services/modules/racao/desconto/DescontoService.ts +44 -0
- package/lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts +2 -2
- package/lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts +2 -2
- package/lib/base/services/modules/racao/metaMensal/MetaMensalService.ts +2 -2
- package/lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts +2 -2
- package/lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts +2 -2
- package/lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts +2 -2
- package/lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum TipoDesconto {
|
|
2
|
+
CLIENTE = "CLIENTE",
|
|
3
|
+
REPRESENTANTE = "REPRESENTANTE"
|
|
4
|
+
}
|
|
5
|
+
export type TDescontoColumnDef = {
|
|
6
|
+
id: number;
|
|
7
|
+
dataCriacao: string;
|
|
8
|
+
usuarioCriacaoId: number;
|
|
9
|
+
usuarioCriacaoNome: string;
|
|
10
|
+
tipoDesconto: string;
|
|
11
|
+
dataValidade: string;
|
|
12
|
+
percentual: number;
|
|
13
|
+
clienteId: number;
|
|
14
|
+
clienteBusinessPartner: number;
|
|
15
|
+
clienteNomeCompleto: number;
|
|
16
|
+
vendedorId: number;
|
|
17
|
+
vendedorBusinessPartner?: number;
|
|
18
|
+
vendedorNomeCompleto?: number;
|
|
19
|
+
};
|
|
20
|
+
export type TDesconto = {
|
|
21
|
+
id?: number;
|
|
22
|
+
tipoDesconto: TipoDesconto | string;
|
|
23
|
+
dataValidade?: string;
|
|
24
|
+
percentual: number;
|
|
25
|
+
clienteId?: number;
|
|
26
|
+
vendedorId?: number;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=desconto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/racao/desconto.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,OAAO,YAAY;IACnB,aAAa,kBAAkB;CAClC;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,UAAU,EAAE,MAAM,CAAA;IAClB,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,YAAY,EAAE,YAAY,GAAG,MAAM,CAAA;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA"}
|
|
@@ -245,6 +245,28 @@ declare const endpointNavigationConfig: {
|
|
|
245
245
|
method: string;
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
+
desconto: {
|
|
249
|
+
findOne: {
|
|
250
|
+
endpoint: string;
|
|
251
|
+
method: string;
|
|
252
|
+
};
|
|
253
|
+
add: {
|
|
254
|
+
endpoint: string;
|
|
255
|
+
method: string;
|
|
256
|
+
};
|
|
257
|
+
update: {
|
|
258
|
+
endpoint: string;
|
|
259
|
+
method: string;
|
|
260
|
+
};
|
|
261
|
+
delete: {
|
|
262
|
+
endpoint: string;
|
|
263
|
+
method: string;
|
|
264
|
+
};
|
|
265
|
+
findMonitor: {
|
|
266
|
+
endpoint: string;
|
|
267
|
+
method: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
248
270
|
};
|
|
249
271
|
roles: {
|
|
250
272
|
add: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const desconto: {
|
|
2
|
+
findOne: {
|
|
3
|
+
endpoint: string;
|
|
4
|
+
method: string;
|
|
5
|
+
};
|
|
6
|
+
add: {
|
|
7
|
+
endpoint: string;
|
|
8
|
+
method: string;
|
|
9
|
+
};
|
|
10
|
+
update: {
|
|
11
|
+
endpoint: string;
|
|
12
|
+
method: string;
|
|
13
|
+
};
|
|
14
|
+
delete: {
|
|
15
|
+
endpoint: string;
|
|
16
|
+
method: string;
|
|
17
|
+
};
|
|
18
|
+
findMonitor: {
|
|
19
|
+
endpoint: string;
|
|
20
|
+
method: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default desconto;
|
|
24
|
+
//# sourceMappingURL=desconto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/racao/config/desconto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAMb,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -225,6 +225,28 @@ declare const racao: {
|
|
|
225
225
|
method: string;
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
|
+
desconto: {
|
|
229
|
+
findOne: {
|
|
230
|
+
endpoint: string;
|
|
231
|
+
method: string;
|
|
232
|
+
};
|
|
233
|
+
add: {
|
|
234
|
+
endpoint: string;
|
|
235
|
+
method: string;
|
|
236
|
+
};
|
|
237
|
+
update: {
|
|
238
|
+
endpoint: string;
|
|
239
|
+
method: string;
|
|
240
|
+
};
|
|
241
|
+
delete: {
|
|
242
|
+
endpoint: string;
|
|
243
|
+
method: string;
|
|
244
|
+
};
|
|
245
|
+
findMonitor: {
|
|
246
|
+
endpoint: string;
|
|
247
|
+
method: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
228
250
|
};
|
|
229
251
|
export default racao;
|
|
230
252
|
//# sourceMappingURL=racao.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"racao.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWV,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cadastros.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"cadastros.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AASpD,QAAA,MAAM,gBAAgB,EAAE,cAAc,EAQrC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
package/dist/@types/base/configs/navigation.config/submenu/racao/config/desconto.submenu.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.submenu.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/base/configs/navigation.config/submenu/racao/config/desconto.submenu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,QAAA,MAAM,eAAe,EAAE,cAStB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TAutorizacaoAtendimentoCliente } from "@base/@types/models/racao/autorizacaoAtendimentoCliente";
|
|
3
|
-
export declare function apiGetRacaoAutorizacaoAtendimentoCliente(id:
|
|
3
|
+
export declare function apiGetRacaoAutorizacaoAtendimentoCliente(id: number): Promise<TAutorizacaoAtendimentoCliente>;
|
|
4
4
|
export declare function apiAddRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente): Promise<TQueryResponse<TAutorizacaoAtendimentoCliente>>;
|
|
5
5
|
export declare function apiUpdateRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente): Promise<TQueryResponse<TAutorizacaoAtendimentoCliente>>;
|
|
6
|
-
export declare function apiDeleteRacaoAutorizacaoAtendimentoCliente(id:
|
|
6
|
+
export declare function apiDeleteRacaoAutorizacaoAtendimentoCliente(id: number): Promise<TQueryResponse<TAutorizacaoAtendimentoCliente>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoAutorizacaoAtendimentoCliente(body?: IFilterParams): Promise<TQueryResponse<TAutorizacaoAtendimentoCliente>>;
|
|
8
8
|
//# sourceMappingURL=AutorizacaoAtendimentoClienteService.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TCarga } from "@base/@types/models/racao/carga";
|
|
3
|
-
export declare function apiGetRacaoCarga(id:
|
|
3
|
+
export declare function apiGetRacaoCarga(id: number): Promise<TCarga>;
|
|
4
4
|
export declare function apiAddRacaoCarga(body: TCarga): Promise<TQueryResponse<TCarga>>;
|
|
5
5
|
export declare function apiUpdateRacaoCarga(body: TCarga): Promise<TQueryResponse<TCarga>>;
|
|
6
|
-
export declare function apiDeleteRacaoCarga(id:
|
|
6
|
+
export declare function apiDeleteRacaoCarga(id: number): Promise<TQueryResponse<TCarga>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoCarga(body?: IFilterParams): Promise<TQueryResponse<TCarga>>;
|
|
8
8
|
export declare function apiFindOrdensDisponiveisRacaoCarga(equipeVendaId: number, centroId: number, incotermsId: number): Promise<TQueryResponse<TCarga>>;
|
|
9
9
|
//# sourceMappingURL=CargaService.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
|
+
import { TDesconto } from "@base/@types/models/racao/desconto";
|
|
3
|
+
export declare function apiGetRacaoDesconto(id: number): Promise<TDesconto>;
|
|
4
|
+
export declare function apiAddRacaoDesconto(body: TDesconto): Promise<TQueryResponse<TDesconto>>;
|
|
5
|
+
export declare function apiUpdateRacaoDesconto(body: TDesconto): Promise<TQueryResponse<TDesconto>>;
|
|
6
|
+
export declare function apiDeleteRacaoDesconto(id: number): Promise<TQueryResponse<TDesconto>>;
|
|
7
|
+
export declare function apiFindMonitorRacaoDesconto(body?: IFilterParams): Promise<TQueryResponse<TDesconto>>;
|
|
8
|
+
//# sourceMappingURL=DescontoService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescontoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/desconto/DescontoService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAK/D,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,MAAM,sBAKnD;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,SAAS,sCAMxD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,SAAS,sCAM3D;AAED,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,sCAKtD;AAED,wBAAsB,2BAA2B,CAAC,IAAI,CAAC,EAAE,aAAa,sCAMrE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TGestaoComissaoRepresentante } from "@base/@types/models/racao/gestaoComissaoRepresentante";
|
|
3
|
-
export declare function apiGetRacaoGestaoComissaoRepresentante(id:
|
|
3
|
+
export declare function apiGetRacaoGestaoComissaoRepresentante(id: number): Promise<TGestaoComissaoRepresentante>;
|
|
4
4
|
export declare function apiAddRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante): Promise<TQueryResponse<TGestaoComissaoRepresentante>>;
|
|
5
5
|
export declare function apiUpdateRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante): Promise<TQueryResponse<TGestaoComissaoRepresentante>>;
|
|
6
|
-
export declare function apiDeleteRacaoGestaoComissaoRepresentante(id:
|
|
6
|
+
export declare function apiDeleteRacaoGestaoComissaoRepresentante(id: number): Promise<TQueryResponse<TGestaoComissaoRepresentante>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoGestaoComissaoRepresentante(body?: IFilterParams): Promise<TQueryResponse<TGestaoComissaoRepresentante>>;
|
|
8
8
|
//# sourceMappingURL=GestaoComissaoRepresentanteService.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TListaTecnica } from "@base/@types/models/racao/listaTecnica";
|
|
3
|
-
export declare function apiGetRacaoListaTecnica(id:
|
|
3
|
+
export declare function apiGetRacaoListaTecnica(id: number): Promise<TListaTecnica>;
|
|
4
4
|
export declare function apiFindRacaoListaTecnica(data?: {}): Promise<TListaTecnica[]>;
|
|
5
5
|
export declare function apiLatestRacaoListaTecnica(data?: {}): Promise<TListaTecnica>;
|
|
6
6
|
export declare function apiAddRacaoListaTecnica(body: TListaTecnica): Promise<TQueryResponse<TListaTecnica>>;
|
|
7
7
|
export declare function apiUpdateRacaoListaTecnica(body: TListaTecnica): Promise<TQueryResponse<TListaTecnica>>;
|
|
8
|
-
export declare function apiDeleteRacaoListaTecnica(id:
|
|
8
|
+
export declare function apiDeleteRacaoListaTecnica(id: number): Promise<TQueryResponse<TListaTecnica>>;
|
|
9
9
|
export declare function apiFindMonitorRacaoListaTecnica(body?: IFilterParams): Promise<TQueryResponse<TListaTecnica>>;
|
|
10
10
|
//# sourceMappingURL=ListaTecnicaService.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TMetaMensal } from "@base/@types/models/racao/metaMensal";
|
|
3
|
-
export declare function apiGetRacaoMetaMensal(id:
|
|
3
|
+
export declare function apiGetRacaoMetaMensal(id: number): Promise<TMetaMensal>;
|
|
4
4
|
export declare function apiAddRacaoMetaMensal(body: TMetaMensal): Promise<TQueryResponse<TMetaMensal>>;
|
|
5
5
|
export declare function apiUpdateRacaoMetaMensal(body: TMetaMensal): Promise<TQueryResponse<TMetaMensal>>;
|
|
6
|
-
export declare function apiDeleteRacaoMetaMensal(id:
|
|
6
|
+
export declare function apiDeleteRacaoMetaMensal(id: number): Promise<TQueryResponse<TMetaMensal>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoMetaMensal(body?: IFilterParams): Promise<TQueryResponse<TMetaMensal>>;
|
|
8
8
|
//# sourceMappingURL=MetaMensalService.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from "@base/@types/models/racao/pedidoVenda";
|
|
3
|
-
export declare function apiGetRacaoPedidoVenda(id:
|
|
3
|
+
export declare function apiGetRacaoPedidoVenda(id: number): Promise<TPedidoVenda>;
|
|
4
4
|
export declare function apiAddRacaoPedidoVenda(body: TPedidoVenda): Promise<TQueryResponse<TPedidoVenda>>;
|
|
5
5
|
export declare function apiUpdateRacaoPedidoVenda(body: TPedidoVenda): Promise<TQueryResponse<TPedidoVenda>>;
|
|
6
6
|
export declare function apiDeleteRacaoPedidoVenda(id: number): Promise<TQueryResponse<TPedidoVenda>>;
|
|
7
7
|
export declare function apiAprovarRacaoPedidoVenda(id: number, motivo: string): Promise<TQueryResponse<TAcoesPedidoVenda>>;
|
|
8
8
|
export declare function apiReprovarRacaoPedidoVenda(id: number, motivo: string): Promise<TQueryResponse<TAcoesPedidoVenda>>;
|
|
9
9
|
export declare function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams): Promise<TQueryResponse<TPedidoVenda>>;
|
|
10
|
-
export declare function apiGetCalulatePriceRacaoPedidoVenda(produtoId:
|
|
10
|
+
export declare function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number): Promise<TPedidoVendaCalculatePrice>;
|
|
11
11
|
//# sourceMappingURL=PedidoVendaService.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TSegmentoProduto } from "@base/@types/models/racao/segmentoProduto";
|
|
3
|
-
export declare function apiGetRacaoSegmentoProduto(id:
|
|
3
|
+
export declare function apiGetRacaoSegmentoProduto(id: number): Promise<TSegmentoProduto>;
|
|
4
4
|
export declare function apiAddRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
5
5
|
export declare function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
6
|
-
export declare function apiDeleteRacaoSegmentoProduto(id:
|
|
6
|
+
export declare function apiDeleteRacaoSegmentoProduto(id: number): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoSegmentoProduto(body?: IFilterParams): Promise<TQueryResponse<TSegmentoProduto>>;
|
|
8
8
|
//# sourceMappingURL=SegmentoProdutoService.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TTabelaPreco } from "@base/@types/models/racao/tabelaPreco";
|
|
3
|
-
export declare function apiGetRacaoTabelaPreco(id:
|
|
3
|
+
export declare function apiGetRacaoTabelaPreco(id: number): Promise<TTabelaPreco>;
|
|
4
4
|
export declare function apiAddRacaoTabelaPreco(body: TTabelaPreco): Promise<TQueryResponse<TTabelaPreco>>;
|
|
5
5
|
export declare function apiUpdateRacaoTabelaPreco(body: TTabelaPreco): Promise<TQueryResponse<TTabelaPreco>>;
|
|
6
|
-
export declare function apiDeleteRacaoTabelaPreco(id:
|
|
6
|
+
export declare function apiDeleteRacaoTabelaPreco(id: number): Promise<TQueryResponse<TTabelaPreco>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams): Promise<TQueryResponse<TTabelaPreco>>;
|
|
8
8
|
//# sourceMappingURL=TabelaPrecoService.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
2
2
|
import { TVinculoMaterialCentro } from "@base/@types/models/racao/vinculoMaterialCentro";
|
|
3
|
-
export declare function apiGetRacaoVinculoMaterialCentro(id:
|
|
3
|
+
export declare function apiGetRacaoVinculoMaterialCentro(id: number): Promise<TVinculoMaterialCentro>;
|
|
4
4
|
export declare function apiAddRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro): Promise<TQueryResponse<TVinculoMaterialCentro>>;
|
|
5
5
|
export declare function apiUpdateRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro): Promise<TQueryResponse<TVinculoMaterialCentro>>;
|
|
6
|
-
export declare function apiDeleteRacaoVinculoMaterialCentro(id:
|
|
6
|
+
export declare function apiDeleteRacaoVinculoMaterialCentro(id: number): Promise<TQueryResponse<TVinculoMaterialCentro>>;
|
|
7
7
|
export declare function apiFindMonitorRacaoVinculoMaterialCentro(body?: IFilterParams): Promise<TQueryResponse<TVinculoMaterialCentro>>;
|
|
8
8
|
//# sourceMappingURL=VinculoMaterialCentroService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.js","sources":["../../../../../lib/base/@types/models/racao/desconto.ts"],"sourcesContent":["export enum TipoDesconto {\n CLIENTE = 'CLIENTE',\n REPRESENTANTE = 'REPRESENTANTE',\n}\n\nexport type TDescontoColumnDef = {\n id: number\n dataCriacao: string\n usuarioCriacaoId: number\n usuarioCriacaoNome: string\n tipoDesconto: string\n dataValidade: string\n percentual: number\n clienteId: number\n clienteBusinessPartner: number\n clienteNomeCompleto: number\n vendedorId: number\n vendedorBusinessPartner?: number\n vendedorNomeCompleto?: number\n}\n\nexport type TDesconto = {\n id?: number\n tipoDesconto: TipoDesconto | string\n dataValidade?: string\n percentual: number\n clienteId?: number\n vendedorId?: number\n}"],"names":["TipoDesconto"],"mappings":"AAAO,IAAKA,sBAAAA,OACRA,EAAA,UAAU,WACVA,EAAA,gBAAgB,iBAFRA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const o = "/racao/api/racao/desconto", t = {
|
|
2
|
+
findOne: { endpoint: `${o}/`, method: "get" },
|
|
3
|
+
add: { endpoint: `${o}`, method: "post" },
|
|
4
|
+
update: { endpoint: `${o}`, method: "put" },
|
|
5
|
+
delete: { endpoint: `${o}/`, method: "delete" },
|
|
6
|
+
findMonitor: { endpoint: `${o}/find-monitor`, method: "post" }
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
t as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=desconto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/desconto.ts"],"sourcesContent":["const DESCONTO_BASE_URL = '/racao/api/racao/desconto'\n\nconst desconto = {\n findOne: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${DESCONTO_BASE_URL}`, method: 'post' },\n update: { endpoint: `${DESCONTO_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'delete' },\n findMonitor: { endpoint: `${DESCONTO_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default desconto"],"names":["DESCONTO_BASE_URL","desconto"],"mappings":"AAAA,MAAMA,IAAoB,6BAEpBC,IAAW;AAAA,EACb,SAAS,EAAE,UAAU,GAAGD,CAAiB,KAAK,QAAQ,MAAA;AAAA,EACtD,KAAK,EAAE,UAAU,GAAGA,CAAiB,IAAI,QAAQ,OAAA;AAAA,EACjD,QAAQ,EAAE,UAAU,GAAGA,CAAiB,IAAI,QAAQ,MAAA;AAAA,EACpD,QAAQ,EAAE,UAAU,GAAGA,CAAiB,KAAK,QAAQ,SAAA;AAAA,EACrD,aAAa,EAAE,UAAU,GAAGA,CAAiB,iBAAiB,QAAQ,OAAA;AAC1E;"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import o from "./config/autorizacaoAtendimentoCliente.js";
|
|
2
2
|
import r from "./config/carga.js";
|
|
3
|
-
import t from "./config/
|
|
3
|
+
import t from "./config/desconto.js";
|
|
4
|
+
import m from "./config/gestaoComissaoRepresentante.js";
|
|
4
5
|
import e from "./config/listaTecnica.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
segmentoProduto:
|
|
12
|
-
vinculoMaterialCentro:
|
|
13
|
-
gestaoComissaoRepresentante:
|
|
14
|
-
metaMensal:
|
|
6
|
+
import a from "./config/metaMensal.js";
|
|
7
|
+
import i from "./config/pedidoVenda.js";
|
|
8
|
+
import n from "./config/segmentoProduto.js";
|
|
9
|
+
import p from "./config/tabelaPreco.js";
|
|
10
|
+
import f from "./config/vinculoMaterialCentro.js";
|
|
11
|
+
const v = {
|
|
12
|
+
segmentoProduto: n,
|
|
13
|
+
vinculoMaterialCentro: f,
|
|
14
|
+
gestaoComissaoRepresentante: m,
|
|
15
|
+
metaMensal: a,
|
|
15
16
|
autorizacaoAtendimentoCliente: o,
|
|
16
17
|
listaTecnica: e,
|
|
17
|
-
tabelaPreco:
|
|
18
|
-
pedidoVenda:
|
|
19
|
-
carga: r
|
|
18
|
+
tabelaPreco: p,
|
|
19
|
+
pedidoVenda: i,
|
|
20
|
+
carga: r,
|
|
21
|
+
desconto: t
|
|
20
22
|
};
|
|
21
23
|
export {
|
|
22
|
-
|
|
24
|
+
v as default
|
|
23
25
|
};
|
|
24
26
|
//# sourceMappingURL=racao.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"racao.js","sources":["../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"sourcesContent":["import autorizacaoAtendimentoCliente from \"./config/autorizacaoAtendimentoCliente\"\nimport carga from \"./config/carga\"\nimport gestaoComissaoRepresentante from \"./config/gestaoComissaoRepresentante\"\nimport listaTecnica from \"./config/listaTecnica\"\nimport metaMensal from \"./config/metaMensal\"\nimport pedidoVenda from \"./config/pedidoVenda\"\nimport segmentoProduto from \"./config/segmentoProduto\"\nimport tabelaPreco from \"./config/tabelaPreco\"\nimport vinculoMaterialCentro from \"./config/vinculoMaterialCentro\"\n\nconst racao = {\n segmentoProduto: segmentoProduto,\n vinculoMaterialCentro: vinculoMaterialCentro,\n gestaoComissaoRepresentante: gestaoComissaoRepresentante,\n metaMensal: metaMensal,\n autorizacaoAtendimentoCliente: autorizacaoAtendimentoCliente,\n listaTecnica: listaTecnica,\n tabelaPreco: tabelaPreco,\n pedidoVenda: pedidoVenda,\n carga: carga,\n}\n\nexport default racao"],"names":["racao","segmentoProduto","vinculoMaterialCentro","gestaoComissaoRepresentante","metaMensal","autorizacaoAtendimentoCliente","listaTecnica","tabelaPreco","pedidoVenda","carga"],"mappings":"
|
|
1
|
+
{"version":3,"file":"racao.js","sources":["../../../../../lib/base/configs/endpoints.config/racao/racao.ts"],"sourcesContent":["import autorizacaoAtendimentoCliente from \"./config/autorizacaoAtendimentoCliente\"\nimport carga from \"./config/carga\"\nimport desconto from \"./config/desconto\"\nimport gestaoComissaoRepresentante from \"./config/gestaoComissaoRepresentante\"\nimport listaTecnica from \"./config/listaTecnica\"\nimport metaMensal from \"./config/metaMensal\"\nimport pedidoVenda from \"./config/pedidoVenda\"\nimport segmentoProduto from \"./config/segmentoProduto\"\nimport tabelaPreco from \"./config/tabelaPreco\"\nimport vinculoMaterialCentro from \"./config/vinculoMaterialCentro\"\n\nconst racao = {\n segmentoProduto: segmentoProduto,\n vinculoMaterialCentro: vinculoMaterialCentro,\n gestaoComissaoRepresentante: gestaoComissaoRepresentante,\n metaMensal: metaMensal,\n autorizacaoAtendimentoCliente: autorizacaoAtendimentoCliente,\n listaTecnica: listaTecnica,\n tabelaPreco: tabelaPreco,\n pedidoVenda: pedidoVenda,\n carga: carga,\n desconto: desconto,\n}\n\nexport default racao"],"names":["racao","segmentoProduto","vinculoMaterialCentro","gestaoComissaoRepresentante","metaMensal","autorizacaoAtendimentoCliente","listaTecnica","tabelaPreco","pedidoVenda","carga","desconto"],"mappings":";;;;;;;;;;AAWA,MAAMA,IAAQ;AAAA,EACV,iBAAAC;AAAA,EACA,uBAAAC;AAAA,EACA,6BAAAC;AAAA,EACA,YAAAC;AAAA,EACA,+BAAAC;AAAA,EACA,cAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AACJ;"}
|
|
@@ -4,15 +4,17 @@ import m from "./config/pedidoVenda.submenu.js";
|
|
|
4
4
|
import r from "./config/segmentoProduto.submenu.js";
|
|
5
5
|
import t from "./config/tabelaPreco.submenu.js";
|
|
6
6
|
import u from "./config/vinculoMaterialCentro.submenu.js";
|
|
7
|
-
|
|
7
|
+
import n from "./config/desconto.submenu.js";
|
|
8
|
+
const d = [
|
|
8
9
|
r,
|
|
9
10
|
u,
|
|
10
11
|
o,
|
|
11
12
|
e,
|
|
12
13
|
t,
|
|
13
|
-
m
|
|
14
|
+
m,
|
|
15
|
+
n
|
|
14
16
|
];
|
|
15
17
|
export {
|
|
16
|
-
|
|
18
|
+
d as default
|
|
17
19
|
};
|
|
18
20
|
//# sourceMappingURL=cadastros.submenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cadastros.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts"],"sourcesContent":["import { NavigationTree } from \"@/@types/navigation\"\nimport gestaoComissaoRepresentanteSubmenu from \"./config/gestaoComissaoRepresentante.submenu\"\nimport metaMensalSubmenu from \"./config/metaMensal.submenu\"\nimport pedidoVendaSubmenu from \"./config/pedidoVenda.submenu\"\nimport segmentoProdutoSubmenu from \"./config/segmentoProduto.submenu\"\nimport tabelaPrecoSubmenu from \"./config/tabelaPreco.submenu\"\nimport vinculoMaterialCentroSubmenu from \"./config/vinculoMaterialCentro.submenu\"\n\nconst cadastrosSubmenu: NavigationTree[] = [\n segmentoProdutoSubmenu,\n vinculoMaterialCentroSubmenu,\n gestaoComissaoRepresentanteSubmenu,\n metaMensalSubmenu,\n tabelaPrecoSubmenu,\n pedidoVendaSubmenu
|
|
1
|
+
{"version":3,"file":"cadastros.submenu.js","sources":["../../../../../../lib/base/configs/navigation.config/submenu/racao/cadastros.submenu.ts"],"sourcesContent":["import { NavigationTree } from \"@/@types/navigation\"\nimport gestaoComissaoRepresentanteSubmenu from \"./config/gestaoComissaoRepresentante.submenu\"\nimport metaMensalSubmenu from \"./config/metaMensal.submenu\"\nimport pedidoVendaSubmenu from \"./config/pedidoVenda.submenu\"\nimport segmentoProdutoSubmenu from \"./config/segmentoProduto.submenu\"\nimport tabelaPrecoSubmenu from \"./config/tabelaPreco.submenu\"\nimport vinculoMaterialCentroSubmenu from \"./config/vinculoMaterialCentro.submenu\"\nimport descontoSubmenu from \"./config/desconto.submenu\"\n\nconst cadastrosSubmenu: NavigationTree[] = [\n segmentoProdutoSubmenu,\n vinculoMaterialCentroSubmenu,\n gestaoComissaoRepresentanteSubmenu,\n metaMensalSubmenu,\n tabelaPrecoSubmenu,\n pedidoVendaSubmenu,\n descontoSubmenu,\n]\n\nexport default cadastrosSubmenu"],"names":["cadastrosSubmenu","segmentoProdutoSubmenu","vinculoMaterialCentroSubmenu","gestaoComissaoRepresentanteSubmenu","metaMensalSubmenu","tabelaPrecoSubmenu","pedidoVendaSubmenu","descontoSubmenu"],"mappings":";;;;;;;AASA,MAAMA,IAAqC;AAAA,EACvCC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AACJ;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM as o } from "../../../../../../@ecme/constants/navigation.constant.js";
|
|
2
|
+
import { ADMIN as t } from "../../../../../../@ecme/constants/roles.constant.js";
|
|
3
|
+
const n = {
|
|
4
|
+
key: "modules.racao.desconto",
|
|
5
|
+
path: "/racao/desconto",
|
|
6
|
+
title: "Desconto",
|
|
7
|
+
translateKey: "nav.modules.racao.desconto",
|
|
8
|
+
icon: "desconto",
|
|
9
|
+
type: o,
|
|
10
|
+
authority: [t],
|
|
11
|
+
subMenu: []
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
n as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=desconto.submenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desconto.submenu.js","sources":["../../../../../../../lib/base/configs/navigation.config/submenu/racao/config/desconto.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 descontoSubmenu: NavigationTree = {\n key: 'modules.racao.desconto',\n path: '/racao/desconto',\n title: 'Desconto',\n translateKey: 'nav.modules.racao.desconto',\n icon: 'desconto',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n}\n\nexport default descontoSubmenu"],"names":["descontoSubmenu","NAV_ITEM_TYPE_ITEM","ADMIN"],"mappings":";;AAIA,MAAMA,IAAkC;AAAA,EACpC,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAc;AAAA,EACd,MAAM;AAAA,EACN,MAAMC;AAAA,EACN,WAAW,CAACC,CAAK;AAAA,EACjB,SAAS,CAAA;AACb;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutorizacaoAtendimentoClienteService.js","sources":["../../../../../../lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAutorizacaoAtendimentoCliente } from \"@base/@types/models/racao/autorizacaoAtendimentoCliente\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT = endpointConfig.racao.autorizacaoAtendimentoCliente;\n\nexport async function apiGetRacaoAutorizacaoAtendimentoCliente(id:
|
|
1
|
+
{"version":3,"file":"AutorizacaoAtendimentoClienteService.js","sources":["../../../../../../lib/base/services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAutorizacaoAtendimentoCliente } from \"@base/@types/models/racao/autorizacaoAtendimentoCliente\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT = endpointConfig.racao.autorizacaoAtendimentoCliente;\n\nexport async function apiGetRacaoAutorizacaoAtendimentoCliente(id: number) {\n return ApiService.fetchDataWithAxios<TAutorizacaoAtendimentoCliente>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoAutorizacaoAtendimentoCliente(body: TAutorizacaoAtendimentoCliente) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoAutorizacaoAtendimentoCliente(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.endpoint + `${id}`,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoAutorizacaoAtendimentoCliente(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({\n url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.endpoint,\n method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT","endpointConfig","apiGetRacaoAutorizacaoAtendimentoCliente","id","ApiService","apiAddRacaoAutorizacaoAtendimentoCliente","body","apiUpdateRacaoAutorizacaoAtendimentoCliente","apiDeleteRacaoAutorizacaoAtendimentoCliente","apiFindMonitorRacaoAutorizacaoAtendimentoCliente"],"mappings":";;AAKA,MAAMA,IAA2CC,EAAe,MAAM;AAEtE,eAAsBC,EAAyCC,GAAY;AACvE,SAAOC,EAAW,mBAAmD;AAAA,IACjE,KAAKJ,EAAyC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACtE,QAAQH,EAAyC,QAAQ;AAAA,EAAA,CAC5D;AACL;AAEA,eAAsBK,EAAyCC,GAAsC;AACjG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,IAAI;AAAA,IAClD,QAAQA,EAAyC,IAAI;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA4CD,GAAsC;AACpG,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO;AAAA,IACrD,QAAQA,EAAyC,OAAO;AAAA,IACxD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA4CL,GAAY;AAC1E,SAAOC,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACrE,QAAQH,EAAyC,OAAO;AAAA,EAAA,CAC3D;AACL;AAEA,eAAsBS,EAAiDH,GAAsB;AACzF,SAAOF,EAAW,mBAAmE;AAAA,IACjF,KAAKJ,EAAyC,YAAY;AAAA,IAC1D,QAAQA,EAAyC,YAAY;AAAA,IAC7D,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CargaService.js","sources":["../../../../../../lib/base/services/modules/racao/carga/CargaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TCarga } from \"@base/@types/models/racao/carga\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CARGA_ENDPOINT = endpointConfig.racao.carga;\n\nexport async function apiGetRacaoCarga(id:
|
|
1
|
+
{"version":3,"file":"CargaService.js","sources":["../../../../../../lib/base/services/modules/racao/carga/CargaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TCarga } from \"@base/@types/models/racao/carga\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst CARGA_ENDPOINT = endpointConfig.racao.carga;\n\nexport async function apiGetRacaoCarga(id: number) {\n return ApiService.fetchDataWithAxios<TCarga>({\n url: CARGA_ENDPOINT.findOne.endpoint + `${id}`,\n method: CARGA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.add.endpoint,\n method: CARGA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoCarga(body: TCarga) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.update.endpoint,\n method: CARGA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoCarga(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.delete.endpoint + `${id}`,\n method: CARGA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoCarga(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findMonitor.endpoint,\n method: CARGA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiFindOrdensDisponiveisRacaoCarga(equipeVendaId: number, centroId: number, incotermsId: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({\n url: CARGA_ENDPOINT.findOrdensDisponiveis.endpoint + `${equipeVendaId}/` + `${centroId}/` + `${incotermsId}`,\n method: CARGA_ENDPOINT.findOrdensDisponiveis.method,\n })\n}\n"],"names":["CARGA_ENDPOINT","endpointConfig","apiGetRacaoCarga","id","ApiService","apiAddRacaoCarga","body","apiUpdateRacaoCarga","apiDeleteRacaoCarga","apiFindMonitorRacaoCarga","apiFindOrdensDisponiveisRacaoCarga","equipeVendaId","centroId","incotermsId"],"mappings":";;AAKA,MAAMA,IAAiBC,EAAe,MAAM;AAE5C,eAAsBC,EAAiBC,GAAY;AAC/C,SAAOC,EAAW,mBAA2B;AAAA,IACzC,KAAKJ,EAAe,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC5C,QAAQH,EAAe,QAAQ;AAAA,EAAA,CAClC;AACL;AAEA,eAAsBK,EAAiBC,GAAc;AACjD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,IAAI;AAAA,IACxB,QAAQA,EAAe,IAAI;AAAA,IAC3B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoBD,GAAc;AACpD,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO;AAAA,IAC3B,QAAQA,EAAe,OAAO;AAAA,IAC9B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoBL,GAAY;AAClD,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC3C,QAAQH,EAAe,OAAO;AAAA,EAAA,CACjC;AACL;AAEA,eAAsBS,EAAyBH,GAAsB;AACjE,SAAOF,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,YAAY;AAAA,IAChC,QAAQA,EAAe,YAAY;AAAA,IACnC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBI,EAAmCC,GAAuBC,GAAkBC,GAAqB;AACnH,SAAOT,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAe,sBAAsB,WAAW,GAAGW,CAAa,IAASC,CAAQ,IAASC,CAAW;AAAA,IAC1G,QAAQb,EAAe,sBAAsB;AAAA,EAAA,CAChD;AACL;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import n from "../../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import e from "../../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const t = e.racao.desconto;
|
|
4
|
+
async function d(o) {
|
|
5
|
+
return n.fetchDataWithAxios({
|
|
6
|
+
url: t.findOne.endpoint + `${o}`,
|
|
7
|
+
method: t.findOne.method
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
async function c(o) {
|
|
11
|
+
return n.fetchDataWithAxios({
|
|
12
|
+
url: t.add.endpoint,
|
|
13
|
+
method: t.add.method,
|
|
14
|
+
data: o
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function r(o) {
|
|
18
|
+
return n.fetchDataWithAxios({
|
|
19
|
+
url: t.update.endpoint,
|
|
20
|
+
method: t.update.method,
|
|
21
|
+
data: o
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function h(o) {
|
|
25
|
+
return n.fetchDataWithAxios({
|
|
26
|
+
url: t.delete.endpoint + `${o}`,
|
|
27
|
+
method: t.delete.method
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async function p(o) {
|
|
31
|
+
return n.fetchDataWithAxios({
|
|
32
|
+
url: t.findMonitor.endpoint,
|
|
33
|
+
method: t.findMonitor.method,
|
|
34
|
+
data: o
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
c as apiAddRacaoDesconto,
|
|
39
|
+
h as apiDeleteRacaoDesconto,
|
|
40
|
+
p as apiFindMonitorRacaoDesconto,
|
|
41
|
+
d as apiGetRacaoDesconto,
|
|
42
|
+
r as apiUpdateRacaoDesconto
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=DescontoService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescontoService.js","sources":["../../../../../../lib/base/services/modules/racao/desconto/DescontoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TDesconto } from \"@base/@types/models/racao/desconto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst DESCONTO_ENDPOINT = endpointConfig.racao.desconto;\n\nexport async function apiGetRacaoDesconto(id: number) {\n return ApiService.fetchDataWithAxios<TDesconto>({\n url: DESCONTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: DESCONTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoDesconto(body: TDesconto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.add.endpoint,\n method: DESCONTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoDesconto(body: TDesconto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.update.endpoint,\n method: DESCONTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoDesconto(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.delete.endpoint + `${id}`,\n method: DESCONTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoDesconto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({\n url: DESCONTO_ENDPOINT.findMonitor.endpoint,\n method: DESCONTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n"],"names":["DESCONTO_ENDPOINT","endpointConfig","apiGetRacaoDesconto","id","ApiService","apiAddRacaoDesconto","body","apiUpdateRacaoDesconto","apiDeleteRacaoDesconto","apiFindMonitorRacaoDesconto"],"mappings":";;AAKA,MAAMA,IAAoBC,EAAe,MAAM;AAE/C,eAAsBC,EAAoBC,GAAY;AAClD,SAAOC,EAAW,mBAA8B;AAAA,IAC5C,KAAKJ,EAAkB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC/C,QAAQH,EAAkB,QAAQ;AAAA,EAAA,CACrC;AACL;AAEA,eAAsBK,EAAoBC,GAAiB;AACvD,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,IAAI;AAAA,IAC3B,QAAQA,EAAkB,IAAI;AAAA,IAC9B,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAuBD,GAAiB;AAC1D,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,OAAO;AAAA,IAC9B,QAAQA,EAAkB,OAAO;AAAA,IACjC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAuBL,GAAY;AACrD,SAAOC,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC9C,QAAQH,EAAkB,OAAO;AAAA,EAAA,CACpC;AACL;AAEA,eAAsBS,EAA4BH,GAAsB;AACpE,SAAOF,EAAW,mBAA8C;AAAA,IAC5D,KAAKJ,EAAkB,YAAY;AAAA,IACnC,QAAQA,EAAkB,YAAY;AAAA,IACtC,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestaoComissaoRepresentanteService.js","sources":["../../../../../../lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TGestaoComissaoRepresentante } from \"@base/@types/models/racao/gestaoComissaoRepresentante\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT = endpointConfig.racao.gestaoComissaoRepresentante;\n\nexport async function apiGetRacaoGestaoComissaoRepresentante(id:
|
|
1
|
+
{"version":3,"file":"GestaoComissaoRepresentanteService.js","sources":["../../../../../../lib/base/services/modules/racao/gestaoComissaoRepresentante/GestaoComissaoRepresentanteService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TGestaoComissaoRepresentante } from \"@base/@types/models/racao/gestaoComissaoRepresentante\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT = endpointConfig.racao.gestaoComissaoRepresentante;\n\nexport async function apiGetRacaoGestaoComissaoRepresentante(id: number) {\n return ApiService.fetchDataWithAxios<TGestaoComissaoRepresentante>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoGestaoComissaoRepresentante(body: TGestaoComissaoRepresentante) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoGestaoComissaoRepresentante(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.endpoint + `${id}`,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoGestaoComissaoRepresentante(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({\n url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.endpoint,\n method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT","endpointConfig","apiGetRacaoGestaoComissaoRepresentante","id","ApiService","apiAddRacaoGestaoComissaoRepresentante","body","apiUpdateRacaoGestaoComissaoRepresentante","apiDeleteRacaoGestaoComissaoRepresentante","apiFindMonitorRacaoGestaoComissaoRepresentante"],"mappings":";;AAKA,MAAMA,IAAyCC,EAAe,MAAM;AAEpE,eAAsBC,EAAuCC,GAAY;AACrE,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAuC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpE,QAAQH,EAAuC,QAAQ;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsBK,EAAuCC,GAAoC;AAC7F,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,IAAI;AAAA,IAChD,QAAQA,EAAuC,IAAI;AAAA,IACnD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0CD,GAAoC;AAChG,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO;AAAA,IACnD,QAAQA,EAAuC,OAAO;AAAA,IACtD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0CL,GAAY;AACxE,SAAOC,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnE,QAAQH,EAAuC,OAAO;AAAA,EAAA,CACzD;AACL;AAEA,eAAsBS,EAA+CH,GAAsB;AACvF,SAAOF,EAAW,mBAAiE;AAAA,IAC/E,KAAKJ,EAAuC,YAAY;AAAA,IACxD,QAAQA,EAAuC,YAAY;AAAA,IAC3D,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListaTecnicaService.js","sources":["../../../../../../lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TListaTecnica } from \"@base/@types/models/racao/listaTecnica\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst LISTA_TECNICA_ENDPOINT = endpointConfig.racao.listaTecnica;\n\nexport async function apiGetRacaoListaTecnica(id:
|
|
1
|
+
{"version":3,"file":"ListaTecnicaService.js","sources":["../../../../../../lib/base/services/modules/racao/listaTecnica/ListaTecnicaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TListaTecnica } from \"@base/@types/models/racao/listaTecnica\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst LISTA_TECNICA_ENDPOINT = endpointConfig.racao.listaTecnica;\n\nexport async function apiGetRacaoListaTecnica(id: number) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.findOne.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiFindRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica[]>({\n url: LISTA_TECNICA_ENDPOINT.find.endpoint,\n method: LISTA_TECNICA_ENDPOINT.find.method,\n data,\n })\n}\n\nexport async function apiLatestRacaoListaTecnica(data = {}) {\n return ApiService.fetchDataWithAxios<TListaTecnica>({\n url: LISTA_TECNICA_ENDPOINT.latest.endpoint,\n method: LISTA_TECNICA_ENDPOINT.latest.method,\n data,\n })\n}\n\nexport async function apiAddRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.add.endpoint,\n method: LISTA_TECNICA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoListaTecnica(body: TListaTecnica) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.update.endpoint,\n method: LISTA_TECNICA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoListaTecnica(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.delete.endpoint + `${id}`,\n method: LISTA_TECNICA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoListaTecnica(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({\n url: LISTA_TECNICA_ENDPOINT.findMonitor.endpoint,\n method: LISTA_TECNICA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["LISTA_TECNICA_ENDPOINT","endpointConfig","apiGetRacaoListaTecnica","id","ApiService","apiFindRacaoListaTecnica","data","apiLatestRacaoListaTecnica","apiAddRacaoListaTecnica","body","apiUpdateRacaoListaTecnica","apiDeleteRacaoListaTecnica","apiFindMonitorRacaoListaTecnica"],"mappings":";;AAKA,MAAMA,IAAyBC,EAAe,MAAM;AAEpD,eAAsBC,EAAwBC,GAAY;AACtD,SAAOC,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAuB,QAAQ;AAAA,EAAA,CAC1C;AACL;AAEA,eAAsBK,EAAyBC,IAAO,IAAI;AACtD,SAAOF,EAAW,mBAAoC;AAAA,IAClD,KAAKJ,EAAuB,KAAK;AAAA,IACjC,QAAQA,EAAuB,KAAK;AAAA,IACpC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBC,EAA2BD,IAAO,IAAI;AACxD,SAAOF,EAAW,mBAAkC;AAAA,IAChD,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAAM;AAAA,EAAA,CACH;AACL;AAEA,eAAsBE,EAAwBC,GAAqB;AAC/D,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,IAAI;AAAA,IAChC,QAAQA,EAAuB,IAAI;AAAA,IACnC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA2BD,GAAqB;AAClE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO;AAAA,IACnC,QAAQA,EAAuB,OAAO;AAAA,IACtC,MAAMS;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA2BR,GAAY;AACzD,SAAOC,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAuB,OAAO;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBY,EAAgCH,GAAsB;AACxE,SAAOL,EAAW,mBAAkD;AAAA,IAChE,KAAKJ,EAAuB,YAAY;AAAA,IACxC,QAAQA,EAAuB,YAAY;AAAA,IAC3C,MAAMS;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetaMensalService.js","sources":["../../../../../../lib/base/services/modules/racao/metaMensal/MetaMensalService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TMetaMensal } from \"@base/@types/models/racao/metaMensal\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst META_MENSAL_ENDPOINT = endpointConfig.racao.metaMensal;\n\nexport async function apiGetRacaoMetaMensal(id:
|
|
1
|
+
{"version":3,"file":"MetaMensalService.js","sources":["../../../../../../lib/base/services/modules/racao/metaMensal/MetaMensalService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TMetaMensal } from \"@base/@types/models/racao/metaMensal\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst META_MENSAL_ENDPOINT = endpointConfig.racao.metaMensal;\n\nexport async function apiGetRacaoMetaMensal(id: number) {\n return ApiService.fetchDataWithAxios<TMetaMensal>({\n url: META_MENSAL_ENDPOINT.findOne.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.add.endpoint,\n method: META_MENSAL_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoMetaMensal(body: TMetaMensal) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.update.endpoint,\n method: META_MENSAL_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoMetaMensal(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.delete.endpoint + `${id}`,\n method: META_MENSAL_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoMetaMensal(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({\n url: META_MENSAL_ENDPOINT.findMonitor.endpoint,\n method: META_MENSAL_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["META_MENSAL_ENDPOINT","endpointConfig","apiGetRacaoMetaMensal","id","ApiService","apiAddRacaoMetaMensal","body","apiUpdateRacaoMetaMensal","apiDeleteRacaoMetaMensal","apiFindMonitorRacaoMetaMensal"],"mappings":";;AAKA,MAAMA,IAAuBC,EAAe,MAAM;AAElD,eAAsBC,EAAsBC,GAAY;AACpD,SAAOC,EAAW,mBAAgC;AAAA,IAC9C,KAAKJ,EAAqB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAqB,QAAQ;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBK,EAAsBC,GAAmB;AAC3D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,IAAI;AAAA,IAC9B,QAAQA,EAAqB,IAAI;AAAA,IACjC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAyBD,GAAmB;AAC9D,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO;AAAA,IACjC,QAAQA,EAAqB,OAAO;AAAA,IACpC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAyBL,GAAY;AACvD,SAAOC,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,OAAO,WAAW,GAAGG,CAAE;AAAA,IACjD,QAAQH,EAAqB,OAAO;AAAA,EAAA,CACvC;AACL;AAEA,eAAsBS,EAA8BH,GAAsB;AACtE,SAAOF,EAAW,mBAAgD;AAAA,IAC9D,KAAKJ,EAAqB,YAAY;AAAA,IACtC,QAAQA,EAAqB,YAAY;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PedidoVendaService.js","sources":["../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from \"@base/@types/models/racao/pedidoVenda\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;\n\nexport async function apiGetRacaoPedidoVenda(id:
|
|
1
|
+
{"version":3,"file":"PedidoVendaService.js","sources":["../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from \"@base/@types/models/racao/pedidoVenda\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;\n\nexport async function apiGetRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TPedidoVenda>({\n url: PEDIDO_VENDA_ENDPOINT.findOne.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.add.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.update.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.delete.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiAprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.aprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.aprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiReprovarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.reprovar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.reprovar.method,\n data: { motivo: motivo }\n })\n}\n\nexport async function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.findMonitor.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.findMonitor.method,\n data: body,\n })\n}\n\nexport async function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number) {\n return ApiService.fetchDataWithAxios<TPedidoVendaCalculatePrice>({\n url: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.endpoint + `${produtoId}`,\n method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method,\n })\n}\n"],"names":["PEDIDO_VENDA_ENDPOINT","endpointConfig","apiGetRacaoPedidoVenda","id","ApiService","apiAddRacaoPedidoVenda","body","apiUpdateRacaoPedidoVenda","apiDeleteRacaoPedidoVenda","apiAprovarRacaoPedidoVenda","motivo","apiReprovarRacaoPedidoVenda","apiFindMonitorRacaoPedidoVenda","apiGetCalulatePriceRacaoPedidoVenda","produtoId"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA2BN,GAAYO,GAAgB;AACzE,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,IACtC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBC,EAA4BR,GAAYO,GAAgB;AAC1E,SAAON,EAAW,mBAAsD;AAAA,IACpE,KAAKJ,EAAsB,SAAS,WAAW,GAAGG,CAAE;AAAA,IACpD,QAAQH,EAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,QAAAU,EAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsBE,EAA+BN,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBO,EAAoCC,GAAmB;AACzE,SAAOV,EAAW,mBAA+C;AAAA,IAC7D,KAAKJ,EAAsB,sBAAsB,WAAW,GAAGc,CAAS;AAAA,IACxE,QAAQd,EAAsB,sBAAsB;AAAA,EAAA,CACvD;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentoProdutoService.js","sources":["../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TSegmentoProduto } from \"@base/@types/models/racao/segmentoProduto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst SEGMENTO_PRODUTO_ENDPOINT = endpointConfig.racao.segmentoProduto;\n\nexport async function apiGetRacaoSegmentoProduto(id:
|
|
1
|
+
{"version":3,"file":"SegmentoProdutoService.js","sources":["../../../../../../lib/base/services/modules/racao/segmentoProduto/SegmentoProdutoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TSegmentoProduto } from \"@base/@types/models/racao/segmentoProduto\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst SEGMENTO_PRODUTO_ENDPOINT = endpointConfig.racao.segmentoProduto;\n\nexport async function apiGetRacaoSegmentoProduto(id: number) {\n return ApiService.fetchDataWithAxios<TSegmentoProduto>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findOne.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.add.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.update.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoSegmentoProduto(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.delete.endpoint + `${id}`,\n method: SEGMENTO_PRODUTO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoSegmentoProduto(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({\n url: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.endpoint,\n method: SEGMENTO_PRODUTO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["SEGMENTO_PRODUTO_ENDPOINT","endpointConfig","apiGetRacaoSegmentoProduto","id","ApiService","apiAddRacaoSegmentoProduto","body","apiUpdateRacaoSegmentoProduto","apiDeleteRacaoSegmentoProduto","apiFindMonitorRacaoSegmentoProduto"],"mappings":";;AAKA,MAAMA,IAA4BC,EAAe,MAAM;AAEvD,eAAsBC,EAA2BC,GAAY;AACzD,SAAOC,EAAW,mBAAqC;AAAA,IACnD,KAAKJ,EAA0B,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACvD,QAAQH,EAA0B,QAAQ;AAAA,EAAA,CAC7C;AACL;AAEA,eAAsBK,EAA2BC,GAAwB;AACrE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,IAAI;AAAA,IACnC,QAAQA,EAA0B,IAAI;AAAA,IACtC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA8BD,GAAwB;AACxE,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO;AAAA,IACtC,QAAQA,EAA0B,OAAO;AAAA,IACzC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA8BL,GAAY;AAC5D,SAAOC,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,OAAO,WAAW,GAAGG,CAAE;AAAA,IACtD,QAAQH,EAA0B,OAAO;AAAA,EAAA,CAC5C;AACL;AAEA,eAAsBS,EAAmCH,GAAsB;AAC3E,SAAOF,EAAW,mBAAqD;AAAA,IACnE,KAAKJ,EAA0B,YAAY;AAAA,IAC3C,QAAQA,EAA0B,YAAY;AAAA,IAC9C,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTabelaPreco } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id:
|
|
1
|
+
{"version":3,"file":"TabelaPrecoService.js","sources":["../../../../../../lib/base/services/modules/racao/tabelaPreco/TabelaPrecoService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TTabelaPreco } from \"@base/@types/models/racao/tabelaPreco\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;\n\nexport async function apiGetRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TTabelaPreco>({\n url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.add.endpoint,\n method: TABELA_PRECO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.update.endpoint,\n method: TABELA_PRECO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoTabelaPreco(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,\n method: TABELA_PRECO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoTabelaPreco(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({\n url: TABELA_PRECO_ENDPOINT.findMonitor.endpoint,\n method: TABELA_PRECO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["TABELA_PRECO_ENDPOINT","endpointConfig","apiGetRacaoTabelaPreco","id","ApiService","apiAddRacaoTabelaPreco","body","apiUpdateRacaoTabelaPreco","apiDeleteRacaoTabelaPreco","apiFindMonitorRacaoTabelaPreco"],"mappings":";;AAKA,MAAMA,IAAwBC,EAAe,MAAM;AAEnD,eAAsBC,EAAuBC,GAAY;AACrD,SAAOC,EAAW,mBAAiC;AAAA,IAC/C,KAAKJ,EAAsB,QAAQ,WAAW,GAAGG,CAAE;AAAA,IACnD,QAAQH,EAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsBK,EAAuBC,GAAoB;AAC7D,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,IAAI;AAAA,IAC/B,QAAQA,EAAsB,IAAI;AAAA,IAClC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAA0BD,GAAoB;AAChE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO;AAAA,IAClC,QAAQA,EAAsB,OAAO;AAAA,IACrC,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAA0BL,GAAY;AACxD,SAAOC,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,OAAO,WAAW,GAAGG,CAAE;AAAA,IAClD,QAAQH,EAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsBS,EAA+BH,GAAsB;AACvE,SAAOF,EAAW,mBAAiD;AAAA,IAC/D,KAAKJ,EAAsB,YAAY;AAAA,IACvC,QAAQA,EAAsB,YAAY;AAAA,IAC1C,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
package/dist/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VinculoMaterialCentroService.js","sources":["../../../../../../lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TVinculoMaterialCentro } from \"@base/@types/models/racao/vinculoMaterialCentro\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_MATERIAL_CENTRO_ENDPOINT = endpointConfig.racao.vinculoMaterialCentro;\n\nexport async function apiGetRacaoVinculoMaterialCentro(id:
|
|
1
|
+
{"version":3,"file":"VinculoMaterialCentroService.js","sources":["../../../../../../lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TVinculoMaterialCentro } from \"@base/@types/models/racao/vinculoMaterialCentro\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst VINCULO_MATERIAL_CENTRO_ENDPOINT = endpointConfig.racao.vinculoMaterialCentro;\n\nexport async function apiGetRacaoVinculoMaterialCentro(id: number) {\n return ApiService.fetchDataWithAxios<TVinculoMaterialCentro>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoVinculoMaterialCentro(body: TVinculoMaterialCentro) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoVinculoMaterialCentro(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.endpoint + `${id}`,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiFindMonitorRacaoVinculoMaterialCentro(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({\n url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.endpoint,\n method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findMonitor.method,\n data: body,\n })\n}"],"names":["VINCULO_MATERIAL_CENTRO_ENDPOINT","endpointConfig","apiGetRacaoVinculoMaterialCentro","id","ApiService","apiAddRacaoVinculoMaterialCentro","body","apiUpdateRacaoVinculoMaterialCentro","apiDeleteRacaoVinculoMaterialCentro","apiFindMonitorRacaoVinculoMaterialCentro"],"mappings":";;AAKA,MAAMA,IAAmCC,EAAe,MAAM;AAE9D,eAAsBC,EAAiCC,GAAY;AAC/D,SAAOC,EAAW,mBAA2C;AAAA,IACzD,KAAKJ,EAAiC,QAAQ,WAAW,GAAGG,CAAE;AAAA,IAC9D,QAAQH,EAAiC,QAAQ;AAAA,EAAA,CACpD;AACL;AAEA,eAAsBK,EAAiCC,GAA8B;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,IAAI;AAAA,IAC1C,QAAQA,EAAiC,IAAI;AAAA,IAC7C,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBC,EAAoCD,GAA8B;AACpF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO;AAAA,IAC7C,QAAQA,EAAiC,OAAO;AAAA,IAChD,MAAMM;AAAA,EAAA,CACT;AACL;AAEA,eAAsBE,EAAoCL,GAAY;AAClE,SAAOC,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,OAAO,WAAW,GAAGG,CAAE;AAAA,IAC7D,QAAQH,EAAiC,OAAO;AAAA,EAAA,CACnD;AACL;AAEA,eAAsBS,EAAyCH,GAAsB;AACjF,SAAOF,EAAW,mBAA2D;AAAA,IACzE,KAAKJ,EAAiC,YAAY;AAAA,IAClD,QAAQA,EAAiC,YAAY;AAAA,IACrD,MAAMM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export enum TipoDesconto {
|
|
2
|
+
CLIENTE = 'CLIENTE',
|
|
3
|
+
REPRESENTANTE = 'REPRESENTANTE',
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export type TDescontoColumnDef = {
|
|
7
|
+
id: number
|
|
8
|
+
dataCriacao: string
|
|
9
|
+
usuarioCriacaoId: number
|
|
10
|
+
usuarioCriacaoNome: string
|
|
11
|
+
tipoDesconto: string
|
|
12
|
+
dataValidade: string
|
|
13
|
+
percentual: number
|
|
14
|
+
clienteId: number
|
|
15
|
+
clienteBusinessPartner: number
|
|
16
|
+
clienteNomeCompleto: number
|
|
17
|
+
vendedorId: number
|
|
18
|
+
vendedorBusinessPartner?: number
|
|
19
|
+
vendedorNomeCompleto?: number
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type TDesconto = {
|
|
23
|
+
id?: number
|
|
24
|
+
tipoDesconto: TipoDesconto | string
|
|
25
|
+
dataValidade?: string
|
|
26
|
+
percentual: number
|
|
27
|
+
clienteId?: number
|
|
28
|
+
vendedorId?: number
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const DESCONTO_BASE_URL = '/racao/api/racao/desconto'
|
|
2
|
+
|
|
3
|
+
const desconto = {
|
|
4
|
+
findOne: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'get' },
|
|
5
|
+
add: { endpoint: `${DESCONTO_BASE_URL}`, method: 'post' },
|
|
6
|
+
update: { endpoint: `${DESCONTO_BASE_URL}`, method: 'put' },
|
|
7
|
+
delete: { endpoint: `${DESCONTO_BASE_URL}/`, method: 'delete' },
|
|
8
|
+
findMonitor: { endpoint: `${DESCONTO_BASE_URL}/find-monitor`, method: 'post' },
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default desconto
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import autorizacaoAtendimentoCliente from "./config/autorizacaoAtendimentoCliente"
|
|
2
2
|
import carga from "./config/carga"
|
|
3
|
+
import desconto from "./config/desconto"
|
|
3
4
|
import gestaoComissaoRepresentante from "./config/gestaoComissaoRepresentante"
|
|
4
5
|
import listaTecnica from "./config/listaTecnica"
|
|
5
6
|
import metaMensal from "./config/metaMensal"
|
|
@@ -18,6 +19,7 @@ const racao = {
|
|
|
18
19
|
tabelaPreco: tabelaPreco,
|
|
19
20
|
pedidoVenda: pedidoVenda,
|
|
20
21
|
carga: carga,
|
|
22
|
+
desconto: desconto,
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
export default racao
|
|
@@ -5,6 +5,7 @@ import pedidoVendaSubmenu from "./config/pedidoVenda.submenu"
|
|
|
5
5
|
import segmentoProdutoSubmenu from "./config/segmentoProduto.submenu"
|
|
6
6
|
import tabelaPrecoSubmenu from "./config/tabelaPreco.submenu"
|
|
7
7
|
import vinculoMaterialCentroSubmenu from "./config/vinculoMaterialCentro.submenu"
|
|
8
|
+
import descontoSubmenu from "./config/desconto.submenu"
|
|
8
9
|
|
|
9
10
|
const cadastrosSubmenu: NavigationTree[] = [
|
|
10
11
|
segmentoProdutoSubmenu,
|
|
@@ -12,7 +13,8 @@ const cadastrosSubmenu: NavigationTree[] = [
|
|
|
12
13
|
gestaoComissaoRepresentanteSubmenu,
|
|
13
14
|
metaMensalSubmenu,
|
|
14
15
|
tabelaPrecoSubmenu,
|
|
15
|
-
pedidoVendaSubmenu
|
|
16
|
+
pedidoVendaSubmenu,
|
|
17
|
+
descontoSubmenu,
|
|
16
18
|
]
|
|
17
19
|
|
|
18
20
|
export default cadastrosSubmenu
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
2
|
+
import { ADMIN } from '@/constants/roles.constant'
|
|
3
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
4
|
+
|
|
5
|
+
const descontoSubmenu: NavigationTree = {
|
|
6
|
+
key: 'modules.racao.desconto',
|
|
7
|
+
path: '/racao/desconto',
|
|
8
|
+
title: 'Desconto',
|
|
9
|
+
translateKey: 'nav.modules.racao.desconto',
|
|
10
|
+
icon: 'desconto',
|
|
11
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
12
|
+
authority: [ADMIN],
|
|
13
|
+
subMenu: [],
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default descontoSubmenu
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT = endpointConfig.racao.autorizacaoAtendimentoCliente;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoAutorizacaoAtendimentoCliente(id:
|
|
8
|
+
export async function apiGetRacaoAutorizacaoAtendimentoCliente(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TAutorizacaoAtendimentoCliente>({
|
|
10
10
|
url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoAutorizacaoAtendimentoCliente(body: TAutoriz
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoAutorizacaoAtendimentoCliente(id:
|
|
31
|
+
export async function apiDeleteRacaoAutorizacaoAtendimentoCliente(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TAutorizacaoAtendimentoCliente>>({
|
|
33
33
|
url: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: AUTORIZACAO_ATENDIMENTO_CLIENTE_ENDPOINT.delete.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const CARGA_ENDPOINT = endpointConfig.racao.carga;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoCarga(id:
|
|
8
|
+
export async function apiGetRacaoCarga(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TCarga>({
|
|
10
10
|
url: CARGA_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: CARGA_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoCarga(body: TCarga) {
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoCarga(id:
|
|
31
|
+
export async function apiDeleteRacaoCarga(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TCarga>>({
|
|
33
33
|
url: CARGA_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: CARGA_ENDPOINT.delete.method,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import ApiService from "@/services/ApiService";
|
|
2
|
+
import { IFilterParams, TQueryResponse } from "@base/@types/api";
|
|
3
|
+
import { TDesconto } from "@base/@types/models/racao/desconto";
|
|
4
|
+
import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation";
|
|
5
|
+
|
|
6
|
+
const DESCONTO_ENDPOINT = endpointConfig.racao.desconto;
|
|
7
|
+
|
|
8
|
+
export async function apiGetRacaoDesconto(id: number) {
|
|
9
|
+
return ApiService.fetchDataWithAxios<TDesconto>({
|
|
10
|
+
url: DESCONTO_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
|
+
method: DESCONTO_ENDPOINT.findOne.method,
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export async function apiAddRacaoDesconto(body: TDesconto) {
|
|
16
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({
|
|
17
|
+
url: DESCONTO_ENDPOINT.add.endpoint,
|
|
18
|
+
method: DESCONTO_ENDPOINT.add.method,
|
|
19
|
+
data: body,
|
|
20
|
+
})
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export async function apiUpdateRacaoDesconto(body: TDesconto) {
|
|
24
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({
|
|
25
|
+
url: DESCONTO_ENDPOINT.update.endpoint,
|
|
26
|
+
method: DESCONTO_ENDPOINT.update.method,
|
|
27
|
+
data: body,
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export async function apiDeleteRacaoDesconto(id: number) {
|
|
32
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({
|
|
33
|
+
url: DESCONTO_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
|
+
method: DESCONTO_ENDPOINT.delete.method,
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export async function apiFindMonitorRacaoDesconto(body?: IFilterParams) {
|
|
39
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<TDesconto>>({
|
|
40
|
+
url: DESCONTO_ENDPOINT.findMonitor.endpoint,
|
|
41
|
+
method: DESCONTO_ENDPOINT.findMonitor.method,
|
|
42
|
+
data: body,
|
|
43
|
+
})
|
|
44
|
+
}
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT = endpointConfig.racao.gestaoComissaoRepresentante;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoGestaoComissaoRepresentante(id:
|
|
8
|
+
export async function apiGetRacaoGestaoComissaoRepresentante(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TGestaoComissaoRepresentante>({
|
|
10
10
|
url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoGestaoComissaoRepresentante(body: TGestaoCom
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoGestaoComissaoRepresentante(id:
|
|
31
|
+
export async function apiDeleteRacaoGestaoComissaoRepresentante(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TGestaoComissaoRepresentante>>({
|
|
33
33
|
url: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: GESTAO_COMISSAO_REPRESENTANTE_ENDPOINT.delete.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const LISTA_TECNICA_ENDPOINT = endpointConfig.racao.listaTecnica;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoListaTecnica(id:
|
|
8
|
+
export async function apiGetRacaoListaTecnica(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TListaTecnica>({
|
|
10
10
|
url: LISTA_TECNICA_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: LISTA_TECNICA_ENDPOINT.findOne.method,
|
|
@@ -44,7 +44,7 @@ export async function apiUpdateRacaoListaTecnica(body: TListaTecnica) {
|
|
|
44
44
|
})
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export async function apiDeleteRacaoListaTecnica(id:
|
|
47
|
+
export async function apiDeleteRacaoListaTecnica(id: number) {
|
|
48
48
|
return ApiService.fetchDataWithAxios<TQueryResponse<TListaTecnica>>({
|
|
49
49
|
url: LISTA_TECNICA_ENDPOINT.delete.endpoint + `${id}`,
|
|
50
50
|
method: LISTA_TECNICA_ENDPOINT.delete.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const META_MENSAL_ENDPOINT = endpointConfig.racao.metaMensal;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoMetaMensal(id:
|
|
8
|
+
export async function apiGetRacaoMetaMensal(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TMetaMensal>({
|
|
10
10
|
url: META_MENSAL_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: META_MENSAL_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoMetaMensal(body: TMetaMensal) {
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoMetaMensal(id:
|
|
31
|
+
export async function apiDeleteRacaoMetaMensal(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TMetaMensal>>({
|
|
33
33
|
url: META_MENSAL_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: META_MENSAL_ENDPOINT.delete.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoPedidoVenda(id:
|
|
8
|
+
export async function apiGetRacaoPedidoVenda(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TPedidoVenda>({
|
|
10
10
|
url: PEDIDO_VENDA_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: PEDIDO_VENDA_ENDPOINT.findOne.method,
|
|
@@ -59,7 +59,7 @@ export async function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams) {
|
|
|
59
59
|
})
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export async function apiGetCalulatePriceRacaoPedidoVenda(produtoId:
|
|
62
|
+
export async function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number) {
|
|
63
63
|
return ApiService.fetchDataWithAxios<TPedidoVendaCalculatePrice>({
|
|
64
64
|
url: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.endpoint + `${produtoId}`,
|
|
65
65
|
method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const SEGMENTO_PRODUTO_ENDPOINT = endpointConfig.racao.segmentoProduto;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoSegmentoProduto(id:
|
|
8
|
+
export async function apiGetRacaoSegmentoProduto(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TSegmentoProduto>({
|
|
10
10
|
url: SEGMENTO_PRODUTO_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: SEGMENTO_PRODUTO_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoSegmentoProduto(body: TSegmentoProduto) {
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoSegmentoProduto(id:
|
|
31
|
+
export async function apiDeleteRacaoSegmentoProduto(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TSegmentoProduto>>({
|
|
33
33
|
url: SEGMENTO_PRODUTO_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: SEGMENTO_PRODUTO_ENDPOINT.delete.method,
|
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const TABELA_PRECO_ENDPOINT = endpointConfig.racao.tabelaPreco;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoTabelaPreco(id:
|
|
8
|
+
export async function apiGetRacaoTabelaPreco(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TTabelaPreco>({
|
|
10
10
|
url: TABELA_PRECO_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: TABELA_PRECO_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoTabelaPreco(body: TTabelaPreco) {
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoTabelaPreco(id:
|
|
31
|
+
export async function apiDeleteRacaoTabelaPreco(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TTabelaPreco>>({
|
|
33
33
|
url: TABELA_PRECO_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: TABELA_PRECO_ENDPOINT.delete.method,
|
package/lib/base/services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.ts
CHANGED
|
@@ -5,7 +5,7 @@ import endpointConfig from "@base/configs/endpoints.config/endpoints.navigation"
|
|
|
5
5
|
|
|
6
6
|
const VINCULO_MATERIAL_CENTRO_ENDPOINT = endpointConfig.racao.vinculoMaterialCentro;
|
|
7
7
|
|
|
8
|
-
export async function apiGetRacaoVinculoMaterialCentro(id:
|
|
8
|
+
export async function apiGetRacaoVinculoMaterialCentro(id: number) {
|
|
9
9
|
return ApiService.fetchDataWithAxios<TVinculoMaterialCentro>({
|
|
10
10
|
url: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.endpoint + `${id}`,
|
|
11
11
|
method: VINCULO_MATERIAL_CENTRO_ENDPOINT.findOne.method,
|
|
@@ -28,7 +28,7 @@ export async function apiUpdateRacaoVinculoMaterialCentro(body: TVinculoMaterial
|
|
|
28
28
|
})
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export async function apiDeleteRacaoVinculoMaterialCentro(id:
|
|
31
|
+
export async function apiDeleteRacaoVinculoMaterialCentro(id: number) {
|
|
32
32
|
return ApiService.fetchDataWithAxios<TQueryResponse<TVinculoMaterialCentro>>({
|
|
33
33
|
url: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.endpoint + `${id}`,
|
|
34
34
|
method: VINCULO_MATERIAL_CENTRO_ENDPOINT.delete.method,
|
package/package.json
CHANGED