@orbe-agro/client-core-prod 5.5.40 → 5.5.41
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/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.d.ts +2 -1
- package/dist/@types/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.d.ts.map +1 -1
- package/dist/@types/base/components/forms/GenericForms/GenericNumberFormSection.d.ts +2 -1
- package/dist/@types/base/components/forms/GenericForms/GenericNumberFormSection.d.ts.map +1 -1
- package/dist/@types/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.d.ts +2 -1
- package/dist/@types/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/transportadora/ordemCarregamento.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/transportadora/ordemCarregamento.d.ts.map +1 -1
- package/dist/@types/base/services/modules/racao/pedidoVenda/PedidoVendaService.d.ts +1 -0
- package/dist/@types/base/services/modules/racao/pedidoVenda/PedidoVendaService.d.ts.map +1 -1
- package/dist/@types/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.d.ts +1 -0
- package/dist/@types/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.d.ts.map +1 -1
- package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js +3 -2
- package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js.map +1 -1
- package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js +3 -2
- package/dist/base/components/forms/GenericForms/GenericNumberFormSection.js.map +1 -1
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js +3 -2
- package/dist/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.js.map +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/termoFunrural.js +1 -1
- package/dist/base/configs/endpoints.config/originacao/config/termoFunrural.js.map +1 -1
- package/dist/base/configs/endpoints.config/racao/config/pedidoVenda.js +1 -1
- package/dist/base/configs/endpoints.config/racao/config/pedidoVenda.js.map +1 -1
- package/dist/base/configs/endpoints.config/transportadora/ordemCarregamento.js +2 -1
- package/dist/base/configs/endpoints.config/transportadora/ordemCarregamento.js.map +1 -1
- package/dist/base/index.js +4 -2
- package/dist/base/services/index.js +4 -2
- package/dist/base/services/modules/index.js +4 -2
- package/dist/base/services/modules/originacao/termoFunrural/termoFunruralService.js +1 -1
- package/dist/base/services/modules/originacao/termoFunrural/termoFunruralService.js.map +1 -1
- package/dist/base/services/modules/racao/index.js +2 -1
- package/dist/base/services/modules/racao/pedidoVenda/PedidoVendaService.js +8 -0
- package/dist/base/services/modules/racao/pedidoVenda/PedidoVendaService.js.map +1 -1
- package/dist/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js +12 -1
- package/dist/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js.map +1 -1
- package/dist/base/services/modules/transportadora/index.js +2 -1
- package/lib/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.tsx +4 -2
- package/lib/base/components/forms/GenericForms/GenericNumberFormSection.tsx +4 -2
- package/lib/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.tsx +3 -1
- package/lib/base/configs/endpoints.config/originacao/config/termoFunrural.ts +1 -1
- package/lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts +1 -1
- package/lib/base/configs/endpoints.config/transportadora/ordemCarregamento.ts +1 -0
- package/lib/base/services/modules/originacao/termoFunrural/termoFunruralService.ts +1 -1
- package/lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts +8 -0
- package/lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts +11 -0
- package/package.json +1 -1
package/dist/@types/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ type GeneralFormSectionProps<T extends FieldValues> = IFormSectionBaseProps<T> &
|
|
|
5
5
|
name: Path<T>;
|
|
6
6
|
label: string;
|
|
7
7
|
placeholder: string;
|
|
8
|
+
decimalScale?: number;
|
|
8
9
|
};
|
|
9
|
-
declare function GenericNumberFormSectionPrice<T extends FieldValues>({ control, errors, isView, name, label, placeholder, value }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function GenericNumberFormSectionPrice<T extends FieldValues>({ control, errors, isView, name, label, placeholder, value, decimalScale, }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default GenericNumberFormSectionPrice;
|
|
11
12
|
//# sourceMappingURL=GenericNumberFormSectionPrice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSectionPrice.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSectionPrice.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAEL,iBAAS,6BAA6B,CAAC,CAAC,SAAS,WAAW,EAAE,EAC1D,OAAO,EACP,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,WAAW,EACX,KAAK,EACL,YAAgB,GACnB,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CAqC5B;AAED,eAAe,6BAA6B,CAAA"}
|
|
@@ -4,7 +4,8 @@ type GeneralFormSectionProps<T extends FieldValues> = IFormSectionBaseProps<T> &
|
|
|
4
4
|
name: Path<T>;
|
|
5
5
|
label: string;
|
|
6
6
|
placeholder: string;
|
|
7
|
+
decimalScale?: number;
|
|
7
8
|
};
|
|
8
|
-
declare function GenericNumberFormSection<T extends FieldValues>({ control, errors, isView, name, label, placeholder, }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function GenericNumberFormSection<T extends FieldValues>({ control, errors, isView, name, label, placeholder, decimalScale, }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default GenericNumberFormSection;
|
|
10
11
|
//# sourceMappingURL=GenericNumberFormSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSection.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/GenericForms/GenericNumberFormSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSection.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/GenericForms/GenericNumberFormSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAEL,iBAAS,wBAAwB,CAAC,CAAC,SAAS,WAAW,EAAE,EACrD,OAAO,EACP,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,WAAW,EACX,YAAgB,GACnB,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CA6B5B;AAED,eAAe,wBAAwB,CAAA"}
|
package/dist/@types/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ type GeneralFormSectionProps<T extends FieldValues> = IFormSectionBaseProps<T> &
|
|
|
4
4
|
name: Path<T>;
|
|
5
5
|
label: string;
|
|
6
6
|
placeholder: string;
|
|
7
|
+
decimalScale?: number;
|
|
7
8
|
};
|
|
8
|
-
declare function GenericNumberFormSectionPrice<T extends FieldValues>({ control, errors, isView, name, label, placeholder, }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function GenericNumberFormSectionPrice<T extends FieldValues>({ control, errors, isView, name, label, placeholder, decimalScale, }: GeneralFormSectionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default GenericNumberFormSectionPrice;
|
|
10
11
|
//# sourceMappingURL=GenericNumberFormSectionPrice.d.ts.map
|
package/dist/@types/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSectionPrice.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSectionPrice.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAc,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE/D,KAAK,uBAAuB,CAAC,CAAC,SAAS,WAAW,IAC9C,qBAAqB,CAAC,CAAC,CAAC,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAEL,iBAAS,6BAA6B,CAAC,CAAC,SAAS,WAAW,EAAE,EAC1D,OAAO,EACP,MAAM,EACN,MAAM,EACN,IAAI,EACJ,KAAK,EACL,WAAW,EACX,YAAgB,GACnB,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CAgC5B;AAED,eAAe,6BAA6B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAoDA,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":"AAoDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD7B,CAAA;AAED,eAAe,wBAAwB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ordemCarregamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/transportadora/ordemCarregamento.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"ordemCarregamento.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/transportadora/ordemCarregamento.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAStB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -9,4 +9,5 @@ export declare function apiAprovarRacaoPedidoVenda(id: number, motivo: string):
|
|
|
9
9
|
export declare function apiReprovarRacaoPedidoVenda(id: number, motivo: string): Promise<TQueryResponse<TAcoesPedidoVenda>>;
|
|
10
10
|
export declare function apiFindMonitorRacaoPedidoVenda(body?: IFilterParams): Promise<TQueryResponse<TPedidoVenda>>;
|
|
11
11
|
export declare function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number): Promise<TPedidoVendaCalculatePrice>;
|
|
12
|
+
export declare function apiCountRacaoPedidoVenda(body?: IFilterParams): Promise<unknown>;
|
|
12
13
|
//# sourceMappingURL=PedidoVendaService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PedidoVendaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAKpH,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,yBAKtD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,YAAY,yCAM9D;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,YAAY,yCAMjE;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,yCAKzD;AAED,wBAAsB,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM3E;AAED,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM1E;AAED,wBAAsB,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM3E;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE,aAAa,yCAMxE;AAED,wBAAsB,mCAAmC,CAAC,SAAS,EAAE,MAAM,uCAK1E"}
|
|
1
|
+
{"version":3,"file":"PedidoVendaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAKpH,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,MAAM,yBAKtD;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,YAAY,yCAM9D;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,YAAY,yCAMjE;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,yCAKzD;AAED,wBAAsB,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM3E;AAED,wBAAsB,0BAA0B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM1E;AAED,wBAAsB,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,8CAM3E;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE,aAAa,yCAMxE;AAED,wBAAsB,mCAAmC,CAAC,SAAS,EAAE,MAAM,uCAK1E;AAED,wBAAsB,wBAAwB,CAAC,IAAI,CAAC,EAAE,aAAa,oBAMlE"}
|
|
@@ -7,4 +7,5 @@ export declare function apiUpdateOrdemCarregamento(body: TOrdemCarregamento): Pr
|
|
|
7
7
|
export declare function apiGetCodigoOrdemCarregamento(codigo: string): Promise<TQueryResponse<TOrdemCarregamento>>;
|
|
8
8
|
export declare function apiGetOrdemCarregamentoFromTicketId(ticketId: any): Promise<TOrdemCarregamento>;
|
|
9
9
|
export declare function apiFindOrdemCarregamentoNaoUsadasEmContratos(body?: IFilterParams): Promise<TQueryResponse<TOrdemCarregamento>>;
|
|
10
|
+
export declare function apiUploadComprovanteDescarga(ordemCarregamentoId: string | number, formData: FormData): Promise<TOrdemCarregamento>;
|
|
10
11
|
//# sourceMappingURL=OrdemCarregamentoService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrdemCarregamentoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAG1F,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,+BAKvD;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,+CAMrE;AAED,wBAAsB,2BAA2B,CAAC,IAAI,CAAC,EAAE,aAAa,+CAMrE;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,kBAAkB,+CAMxE;AAED,wBAAsB,6BAA6B,CAAC,MAAM,EAAE,MAAM,+CAKjE;AAED,wBAAsB,mCAAmC,CAAC,QAAQ,KAAA,+BAKjE;AAED,wBAAsB,4CAA4C,CAAC,IAAI,CAAC,EAAE,aAAa,+CAMtF"}
|
|
1
|
+
{"version":3,"file":"OrdemCarregamentoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAG1F,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,MAAM,+BAKvD;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,+CAMrE;AAED,wBAAsB,2BAA2B,CAAC,IAAI,CAAC,EAAE,aAAa,+CAMrE;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,kBAAkB,+CAMxE;AAED,wBAAsB,6BAA6B,CAAC,MAAM,EAAE,MAAM,+CAKjE;AAED,wBAAsB,mCAAmC,CAAC,QAAQ,KAAA,+BAKjE;AAED,wBAAsB,4CAA4C,CAAC,IAAI,CAAC,EAAE,aAAa,+CAMtF;AAED,wBAAsB,4BAA4B,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,QAAQ,+BAS1G"}
|
|
@@ -11,7 +11,8 @@ function GenericNumberFormSectionPrice({
|
|
|
11
11
|
name,
|
|
12
12
|
label,
|
|
13
13
|
placeholder,
|
|
14
|
-
value
|
|
14
|
+
value,
|
|
15
|
+
decimalScale = 2
|
|
15
16
|
}) {
|
|
16
17
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
17
18
|
FormItem,
|
|
@@ -35,7 +36,7 @@ function GenericNumberFormSectionPrice({
|
|
|
35
36
|
placeholder: "R$ 0,00",
|
|
36
37
|
displayType: "input",
|
|
37
38
|
disabled: isView,
|
|
38
|
-
decimalScale
|
|
39
|
+
decimalScale,
|
|
39
40
|
fixedDecimalScale: true,
|
|
40
41
|
value: field.value ?? 0,
|
|
41
42
|
onValueChange: (values) => {
|
package/dist/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSectionPrice.js","sources":["../../../../../lib/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.tsx"],"sourcesContent":["import { NumericInput } from '@/components/shared'\nimport { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n value: number\n name: Path<T>\n label: string\n placeholder: string\n }\n\nfunction GenericNumberFormSectionPrice<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n value
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSectionPrice.js","sources":["../../../../../lib/base/components/forms/GenericFomrsSetValue/GenericNumberFormSectionPrice.tsx"],"sourcesContent":["import { NumericInput } from '@/components/shared'\nimport { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n value: number\n name: Path<T>\n label: string\n placeholder: string\n decimalScale?: number\n }\n\nfunction GenericNumberFormSectionPrice<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n value,\n decimalScale = 2,\n}: GeneralFormSectionProps<T>) {\n return (\n <>\n <FormItem\n label={label}\n invalid={Boolean(errors?.[name])}\n errorMessage={errors?.[name]?.message as string}\n >\n <Controller\n name={name}\n control={control}\n render={({ field }) => (\n <NumericInput\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n prefix=\"R$ \"\n type=\"text\"\n autoComplete=\"off\"\n placeholder=\"R$ 0,00\"\n displayType=\"input\"\n disabled={isView}\n decimalScale={decimalScale}\n fixedDecimalScale\n // importante: não espalhar {...field}, porque ele injeta onChange errado\n value={field.value ?? 0}\n onValueChange={(values) => {\n field.onChange(values.floatValue ?? 0) // só o float vai para o form\n }}\n // se precisar de blur/focus, pega manualmente\n onBlur={field.onBlur}\n name={field.name}\n />\n )}\n />\n </FormItem>\n </>\n )\n}\n\nexport default GenericNumberFormSectionPrice\n"],"names":[],"mappings":";;;;;;AAcA,SAAS,8BAAqD;AAAA,EAC1D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACnB,GAA+B;AAC3B,SACI,oBAAA,UAAA,EACI,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA,SAAS,QAAQ,SAAS,IAAI,CAAC;AAAA,MAC/B,cAAc,SAAS,IAAI,GAAG;AAAA,MAE9B,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACG;AAAA,UACA;AAAA,UACA,QAAQ,CAAC,EAAE,MAAA,MACP;AAAA,YAAC;AAAA,YAAA;AAAA,cACG,mBAAkB;AAAA,cAClB,kBAAiB;AAAA,cACjB,QAAO;AAAA,cACP,MAAK;AAAA,cACL,cAAa;AAAA,cACb,aAAY;AAAA,cACZ,aAAY;AAAA,cACZ,UAAU;AAAA,cACV;AAAA,cACA,mBAAiB;AAAA,cAEjB,OAAO,MAAM,SAAS;AAAA,cACtB,eAAe,CAAC,WAAW;AACvB,sBAAM,SAAS,OAAO,cAAc,CAAC;AAAA,cACzC;AAAA,cAEA,QAAQ,MAAM;AAAA,cACd,MAAM,MAAM;AAAA,YAAA;AAAA,UAAA;AAAA,QAChB;AAAA,MAAA;AAAA,IAER;AAAA,EAAA,GAER;AAER;"}
|
|
@@ -10,7 +10,8 @@ function GenericNumberFormSection({
|
|
|
10
10
|
isView,
|
|
11
11
|
name,
|
|
12
12
|
label,
|
|
13
|
-
placeholder
|
|
13
|
+
placeholder,
|
|
14
|
+
decimalScale = 2
|
|
14
15
|
}) {
|
|
15
16
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
16
17
|
FormItem,
|
|
@@ -34,7 +35,7 @@ function GenericNumberFormSection({
|
|
|
34
35
|
displayType: "input",
|
|
35
36
|
value: field.value,
|
|
36
37
|
disabled: isView,
|
|
37
|
-
decimalScale
|
|
38
|
+
decimalScale,
|
|
38
39
|
onValueChange: (e) => field.onChange(e.floatValue ?? 0)
|
|
39
40
|
}
|
|
40
41
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSection.js","sources":["../../../../../lib/base/components/forms/GenericForms/GenericNumberFormSection.tsx"],"sourcesContent":["import { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { NumericInput } from '@/components/shared'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n name: Path<T>\n label: string\n placeholder: string\n }\n\nfunction GenericNumberFormSection<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n}: GeneralFormSectionProps<T>) {\n return (\n <>\n <FormItem\n label={label}\n invalid={Boolean(errors?.[name])}\n errorMessage={errors?.[name]?.message as string}\n >\n <Controller\n name={name}\n control={control}\n render={({ field }) => (\n <NumericInput\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n type=\"text\"\n autoComplete=\"off\"\n placeholder={placeholder}\n displayType=\"input\"\n value={field.value}\n disabled={isView}\n decimalScale={
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSection.js","sources":["../../../../../lib/base/components/forms/GenericForms/GenericNumberFormSection.tsx"],"sourcesContent":["import { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { NumericInput } from '@/components/shared'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n name: Path<T>\n label: string\n placeholder: string\n decimalScale?: number\n }\n\nfunction GenericNumberFormSection<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n decimalScale = 2,\n}: GeneralFormSectionProps<T>) {\n return (\n <>\n <FormItem\n label={label}\n invalid={Boolean(errors?.[name])}\n errorMessage={errors?.[name]?.message as string}\n >\n <Controller\n name={name}\n control={control}\n render={({ field }) => (\n <NumericInput\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n type=\"text\"\n autoComplete=\"off\"\n placeholder={placeholder}\n displayType=\"input\"\n value={field.value}\n disabled={isView}\n decimalScale={decimalScale}\n onValueChange={(e) => field.onChange(e.floatValue ?? 0)}\n />\n )}\n />\n </FormItem>\n </>\n )\n}\n\nexport default GenericNumberFormSection"],"names":[],"mappings":";;;;;;AAaA,SAAS,yBAAgD;AAAA,EACrD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACnB,GAA+B;AAC3B,SACI,oBAAA,UAAA,EACI,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA,SAAS,QAAQ,SAAS,IAAI,CAAC;AAAA,MAC/B,cAAc,SAAS,IAAI,GAAG;AAAA,MAE9B,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACG;AAAA,UACA;AAAA,UACA,QAAQ,CAAC,EAAE,MAAA,MACP;AAAA,YAAC;AAAA,YAAA;AAAA,cACG,mBAAkB;AAAA,cAClB,kBAAiB;AAAA,cACjB,MAAK;AAAA,cACL,cAAa;AAAA,cACb;AAAA,cACA,aAAY;AAAA,cACZ,OAAO,MAAM;AAAA,cACb,UAAU;AAAA,cACV;AAAA,cACA,eAAe,CAAC,MAAM,MAAM,SAAS,EAAE,cAAc,CAAC;AAAA,YAAA;AAAA,UAAA;AAAA,QAC1D;AAAA,MAAA;AAAA,IAER;AAAA,EAAA,GAER;AAER;"}
|
|
@@ -10,7 +10,8 @@ function GenericNumberFormSectionPrice({
|
|
|
10
10
|
isView,
|
|
11
11
|
name,
|
|
12
12
|
label,
|
|
13
|
-
placeholder
|
|
13
|
+
placeholder,
|
|
14
|
+
decimalScale = 2
|
|
14
15
|
}) {
|
|
15
16
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
16
17
|
FormItem,
|
|
@@ -35,7 +36,7 @@ function GenericNumberFormSectionPrice({
|
|
|
35
36
|
displayType: "input",
|
|
36
37
|
value: field.value,
|
|
37
38
|
disabled: isView,
|
|
38
|
-
decimalScale
|
|
39
|
+
decimalScale,
|
|
39
40
|
onValueChange: (e) => field.onChange(e.floatValue ?? 0)
|
|
40
41
|
}
|
|
41
42
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericNumberFormSectionPrice.js","sources":["../../../../../lib/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.tsx"],"sourcesContent":["import { NumericInput } from '@/components/shared'\nimport { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n name: Path<T>\n label: string\n placeholder: string\n }\n\nfunction GenericNumberFormSectionPrice<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n}: GeneralFormSectionProps<T>) {\n return (\n <>\n <FormItem\n label={label}\n invalid={Boolean(errors?.[name])}\n errorMessage={errors?.[name]?.message as string}\n >\n <Controller\n name={name}\n control={control}\n render={({ field }) => (\n <NumericInput\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n prefix=\"R$ \"\n type=\"text\"\n autoComplete=\"off\"\n placeholder={placeholder}\n displayType=\"input\"\n value={field.value}\n disabled={isView}\n decimalScale={
|
|
1
|
+
{"version":3,"file":"GenericNumberFormSectionPrice.js","sources":["../../../../../lib/base/components/forms/NumberFormVariant/GenericNumberFormSectionPrice.tsx"],"sourcesContent":["import { NumericInput } from '@/components/shared'\nimport { FormItem } from '@/components/ui'\nimport { IFormSectionBaseProps } from '@base/@types/forms'\nimport { Controller, FieldValues, Path } from 'react-hook-form'\n\ntype GeneralFormSectionProps<T extends FieldValues> =\n IFormSectionBaseProps<T> & {\n name: Path<T>\n label: string\n placeholder: string\n decimalScale?: number\n }\n\nfunction GenericNumberFormSectionPrice<T extends FieldValues>({\n control,\n errors,\n isView,\n name,\n label,\n placeholder,\n decimalScale = 2,\n}: GeneralFormSectionProps<T>) {\n return (\n <>\n <FormItem\n label={label}\n invalid={Boolean(errors?.[name])}\n errorMessage={errors?.[name]?.message as string}\n >\n <Controller\n name={name}\n control={control}\n render={({ field }) => (\n <NumericInput\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n prefix=\"R$ \"\n type=\"text\"\n autoComplete=\"off\"\n placeholder={placeholder}\n displayType=\"input\"\n value={field.value}\n disabled={isView}\n decimalScale={decimalScale}\n onValueChange={(e) =>\n field.onChange(e.floatValue ?? 0)\n }\n />\n )}\n />\n </FormItem>\n </>\n )\n}\n\nexport default GenericNumberFormSectionPrice\n"],"names":[],"mappings":";;;;;;AAaA,SAAS,8BAAqD;AAAA,EAC1D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACnB,GAA+B;AAC3B,SACI,oBAAA,UAAA,EACI,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA,SAAS,QAAQ,SAAS,IAAI,CAAC;AAAA,MAC/B,cAAc,SAAS,IAAI,GAAG;AAAA,MAE9B,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACG;AAAA,UACA;AAAA,UACA,QAAQ,CAAC,EAAE,MAAA,MACP;AAAA,YAAC;AAAA,YAAA;AAAA,cACG,mBAAkB;AAAA,cAClB,kBAAiB;AAAA,cACjB,QAAO;AAAA,cACP,MAAK;AAAA,cACL,cAAa;AAAA,cACb;AAAA,cACA,aAAY;AAAA,cACZ,OAAO,MAAM;AAAA,cACb,UAAU;AAAA,cACV;AAAA,cACA,eAAe,CAAC,MACZ,MAAM,SAAS,EAAE,cAAc,CAAC;AAAA,YAAA;AAAA,UAAA;AAAA,QAExC;AAAA,MAAA;AAAA,IAER;AAAA,EAAA,GAER;AAER;"}
|
|
@@ -6,7 +6,7 @@ const termoFunrural = {
|
|
|
6
6
|
cancelar: { endpoint: `${TERMO_FUNRURAL_URL}/cancelar/`, method: "post" },
|
|
7
7
|
reprovar: { endpoint: `${TERMO_FUNRURAL_URL}/reprovar/`, method: "post" },
|
|
8
8
|
aprovar: { endpoint: `${TERMO_FUNRURAL_URL}/aprovar`, method: "post" },
|
|
9
|
-
reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: "
|
|
9
|
+
reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: "get" },
|
|
10
10
|
uploadArquivo: { endpoint: `${TERMO_FUNRURAL_URL}/upload-arquivo/{id}`, method: "post" }
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"termoFunrural.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/termoFunrural.ts"],"sourcesContent":["const TERMO_FUNRURAL_URL = '/originacao/api/termo-funrural'\n\nconst termoFunrural = {\n add: { endpoint: `${TERMO_FUNRURAL_URL}`, method: 'post' },\n findOne: { endpoint: `${TERMO_FUNRURAL_URL}`, method: 'get' },\n findMonitor: { endpoint: `${TERMO_FUNRURAL_URL}/find-monitor`, method: 'get' },\n cancelar: { endpoint: `${TERMO_FUNRURAL_URL}/cancelar/`, method: 'post' },\n reprovar: { endpoint: `${TERMO_FUNRURAL_URL}/reprovar/`, method: 'post' },\n aprovar: { endpoint: `${TERMO_FUNRURAL_URL}/aprovar`, method: 'post' },\n reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: '
|
|
1
|
+
{"version":3,"file":"termoFunrural.js","sources":["../../../../../../lib/base/configs/endpoints.config/originacao/config/termoFunrural.ts"],"sourcesContent":["const TERMO_FUNRURAL_URL = '/originacao/api/termo-funrural'\n\nconst termoFunrural = {\n add: { endpoint: `${TERMO_FUNRURAL_URL}`, method: 'post' },\n findOne: { endpoint: `${TERMO_FUNRURAL_URL}`, method: 'get' },\n findMonitor: { endpoint: `${TERMO_FUNRURAL_URL}/find-monitor`, method: 'get' },\n cancelar: { endpoint: `${TERMO_FUNRURAL_URL}/cancelar/`, method: 'post' },\n reprovar: { endpoint: `${TERMO_FUNRURAL_URL}/reprovar/`, method: 'post' },\n aprovar: { endpoint: `${TERMO_FUNRURAL_URL}/aprovar`, method: 'post' },\n reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: 'get' },\n uploadArquivo: { endpoint: `${TERMO_FUNRURAL_URL}/upload-arquivo/{id}`, method: 'post' },\n}\n\nexport default termoFunrural"],"names":[],"mappings":"AAAA,MAAM,qBAAqB;AAE3B,MAAM,gBAAgB;AAAA,EAClB,KAAK,EAAE,UAAU,GAAG,kBAAkB,IAAI,QAAQ,OAAA;AAAA,EAClD,SAAS,EAAE,UAAU,GAAG,kBAAkB,IAAI,QAAQ,MAAA;AAAA,EACtD,aAAa,EAAE,UAAU,GAAG,kBAAkB,iBAAiB,QAAQ,MAAA;AAAA,EACvE,UAAU,EAAE,UAAU,GAAG,kBAAkB,cAAc,QAAQ,OAAA;AAAA,EACjE,UAAU,EAAE,UAAU,GAAG,kBAAkB,cAAc,QAAQ,OAAA;AAAA,EACjE,SAAS,EAAE,UAAU,GAAG,kBAAkB,YAAY,QAAQ,OAAA;AAAA,EAC9D,SAAS,EAAE,UAAU,GAAG,kBAAkB,YAAY,QAAQ,MAAA;AAAA,EAC9D,eAAe,EAAE,UAAU,GAAG,kBAAkB,wBAAwB,QAAQ,OAAA;AACpF;"}
|
|
@@ -7,7 +7,7 @@ const pedidoVenda = {
|
|
|
7
7
|
cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: "post" },
|
|
8
8
|
aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: "post" },
|
|
9
9
|
reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: "post" },
|
|
10
|
-
findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/
|
|
10
|
+
findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count`, method: "get" },
|
|
11
11
|
findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: "post" },
|
|
12
12
|
calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: "get" }
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pedidoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts"],"sourcesContent":["const PEDIDO_VENDA_BASE_URL = '/racao/api/racao/pedido-venda'\n\nconst pedidoVenda = {\n findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'post' },\n update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'delete' },\n cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: 'post' },\n aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: 'post' },\n reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },\n findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/
|
|
1
|
+
{"version":3,"file":"pedidoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/racao/config/pedidoVenda.ts"],"sourcesContent":["const PEDIDO_VENDA_BASE_URL = '/racao/api/racao/pedido-venda'\n\nconst pedidoVenda = {\n findOne: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'post' },\n update: { endpoint: `${PEDIDO_VENDA_BASE_URL}`, method: 'put' },\n delete: { endpoint: `${PEDIDO_VENDA_BASE_URL}/`, method: 'delete' },\n cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: 'post' },\n aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: 'post' },\n reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },\n findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count`, method: 'get' },\n findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: 'post' },\n calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: 'get' },\n}\n\nexport default pedidoVenda"],"names":[],"mappings":"AAAA,MAAM,wBAAwB;AAE9B,MAAM,cAAc;AAAA,EAChB,SAAS,EAAE,UAAU,GAAG,qBAAqB,KAAK,QAAQ,MAAA;AAAA,EAC1D,KAAK,EAAE,UAAU,GAAG,qBAAqB,IAAI,QAAQ,OAAA;AAAA,EACrD,QAAQ,EAAE,UAAU,GAAG,qBAAqB,IAAI,QAAQ,MAAA;AAAA,EACxD,QAAQ,EAAE,UAAU,GAAG,qBAAqB,KAAK,QAAQ,SAAA;AAAA,EACzD,UAAU,EAAE,UAAU,GAAG,qBAAqB,cAAc,QAAQ,OAAA;AAAA,EACpE,SAAS,EAAE,UAAU,GAAG,qBAAqB,aAAa,QAAQ,OAAA;AAAA,EAClE,UAAU,EAAE,UAAU,GAAG,qBAAqB,cAAc,QAAQ,OAAA;AAAA,EACpE,oBAAoB,EAAE,UAAU,GAAG,qBAAqB,UAAU,QAAQ,MAAA;AAAA,EAC1E,aAAa,EAAE,UAAU,GAAG,qBAAqB,iBAAiB,QAAQ,OAAA;AAAA,EAC1E,uBAAuB,EAAE,UAAU,GAAG,qBAAqB,qBAAqB,QAAQ,MAAA;AAC5F;"}
|
|
@@ -6,7 +6,8 @@ const ordemCarregamento = {
|
|
|
6
6
|
findAll: { endpoint: `${ORDEM_CARREGAMENTO_URL}/find-monitor`, method: "post" },
|
|
7
7
|
findCodigo: { endpoint: `${ORDEM_CARREGAMENTO_URL}/find-codigo`, method: "get" },
|
|
8
8
|
findOneByTicketId: { endpoint: `${ORDEM_CARREGAMENTO_URL}/ticket/`, method: "get" },
|
|
9
|
-
findNaoUsadasEmContratosfindAll: { endpoint: `${ORDEM_CARREGAMENTO_URL}/find-nao-usadas-em-contratos`, method: "post" }
|
|
9
|
+
findNaoUsadasEmContratosfindAll: { endpoint: `${ORDEM_CARREGAMENTO_URL}/find-nao-usadas-em-contratos`, method: "post" },
|
|
10
|
+
uploadComprovanteDescarga: { endpoint: `${ORDEM_CARREGAMENTO_URL}/upload-comprovante-descarga`, method: "post" }
|
|
10
11
|
};
|
|
11
12
|
export {
|
|
12
13
|
ordemCarregamento as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ordemCarregamento.js","sources":["../../../../../lib/base/configs/endpoints.config/transportadora/ordemCarregamento.ts"],"sourcesContent":["const ORDEM_CARREGAMENTO_URL = '/transportadora/api/ordem-carregamento'\n\nconst ordemCarregamento = {\n findOne: {endpoint: `${ORDEM_CARREGAMENTO_URL}/`, method: 'get'},\n add: {endpoint: `${ORDEM_CARREGAMENTO_URL}`, method: 'post'},\n update: {endpoint: `${ORDEM_CARREGAMENTO_URL}`, method: 'put'},\n findAll: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-monitor`, method: 'post'},\n findCodigo: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-codigo`, method: 'get'},\n findOneByTicketId: {endpoint: `${ORDEM_CARREGAMENTO_URL}/ticket/`, method: 'get'},\n findNaoUsadasEmContratosfindAll: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-nao-usadas-em-contratos`, method: 'post'},\n}\n\nexport default ordemCarregamento"],"names":[],"mappings":"AAAA,MAAM,yBAAyB;AAE/B,MAAM,oBAAoB;AAAA,EACtB,SAAS,EAAC,UAAU,GAAG,sBAAsB,KAAK,QAAQ,MAAA;AAAA,EAC1D,KAAK,EAAC,UAAU,GAAG,sBAAsB,IAAI,QAAQ,OAAA;AAAA,EACrD,QAAQ,EAAC,UAAU,GAAG,sBAAsB,IAAI,QAAQ,MAAA;AAAA,EACxD,SAAS,EAAC,UAAU,GAAG,sBAAsB,iBAAiB,QAAQ,OAAA;AAAA,EACtE,YAAY,EAAC,UAAU,GAAG,sBAAsB,gBAAgB,QAAQ,MAAA;AAAA,EACxE,mBAAmB,EAAC,UAAU,GAAG,sBAAsB,YAAY,QAAQ,MAAA;AAAA,EAC3E,iCAAiC,EAAC,UAAU,GAAG,sBAAsB,iCAAiC,QAAQ,OAAA;
|
|
1
|
+
{"version":3,"file":"ordemCarregamento.js","sources":["../../../../../lib/base/configs/endpoints.config/transportadora/ordemCarregamento.ts"],"sourcesContent":["const ORDEM_CARREGAMENTO_URL = '/transportadora/api/ordem-carregamento'\n\nconst ordemCarregamento = {\n findOne: {endpoint: `${ORDEM_CARREGAMENTO_URL}/`, method: 'get'},\n add: {endpoint: `${ORDEM_CARREGAMENTO_URL}`, method: 'post'},\n update: {endpoint: `${ORDEM_CARREGAMENTO_URL}`, method: 'put'},\n findAll: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-monitor`, method: 'post'},\n findCodigo: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-codigo`, method: 'get'},\n findOneByTicketId: {endpoint: `${ORDEM_CARREGAMENTO_URL}/ticket/`, method: 'get'},\n findNaoUsadasEmContratosfindAll: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-nao-usadas-em-contratos`, method: 'post'},\n uploadComprovanteDescarga: {endpoint: `${ORDEM_CARREGAMENTO_URL}/upload-comprovante-descarga`, method: 'post'},\n}\n\nexport default ordemCarregamento"],"names":[],"mappings":"AAAA,MAAM,yBAAyB;AAE/B,MAAM,oBAAoB;AAAA,EACtB,SAAS,EAAC,UAAU,GAAG,sBAAsB,KAAK,QAAQ,MAAA;AAAA,EAC1D,KAAK,EAAC,UAAU,GAAG,sBAAsB,IAAI,QAAQ,OAAA;AAAA,EACrD,QAAQ,EAAC,UAAU,GAAG,sBAAsB,IAAI,QAAQ,MAAA;AAAA,EACxD,SAAS,EAAC,UAAU,GAAG,sBAAsB,iBAAiB,QAAQ,OAAA;AAAA,EACtE,YAAY,EAAC,UAAU,GAAG,sBAAsB,gBAAgB,QAAQ,MAAA;AAAA,EACxE,mBAAmB,EAAC,UAAU,GAAG,sBAAsB,YAAY,QAAQ,MAAA;AAAA,EAC3E,iCAAiC,EAAC,UAAU,GAAG,sBAAsB,iCAAiC,QAAQ,OAAA;AAAA,EAC9G,2BAA2B,EAAC,UAAU,GAAG,sBAAsB,gCAAgC,QAAQ,OAAA;AAC3G;"}
|
package/dist/base/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import { apiAddInsumosVendas, apiAprovarInsumosVendas, apiCalculoVendaInsumosVen
|
|
|
40
40
|
import { apiAddIrpf, apiFindAllIrpf, apiGetIrpf, apiUpdateIrpf } from "./services/modules/transportadora/Irpf/IrpfService.js";
|
|
41
41
|
import { apiAddIss, apiFindAllIss, apiGeTIss, apiUpdateIss } from "./services/modules/transportadora/Iss/IssService.js";
|
|
42
42
|
import { apiAddItinerario, apiFindAllItinerario, apiGetItinerario, apiItinerarioFindRotaAndProduto, apiItinerarioFindValorLiquidoFrete, apiUpdateItinerario } from "./services/modules/transportadora/Itinerario/ItinerarioService.js";
|
|
43
|
-
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento } from "./services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
43
|
+
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento, apiUploadComprovanteDescarga } from "./services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
44
44
|
import { apiAddRacaoAutorizacaoAtendimentoCliente, apiDeleteRacaoAutorizacaoAtendimentoCliente, apiFindMonitorRacaoAutorizacaoAtendimentoCliente, apiGetRacaoAutorizacaoAtendimentoCliente, apiUpdateRacaoAutorizacaoAtendimentoCliente, apiUploadRacaoAutorizacaoAtendimentoCliente } from "./services/modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.js";
|
|
45
45
|
import { apiAddRacaoCarga, apiDeleteRacaoCarga, apiFindMonitorRacaoCarga, apiFindOrdensDisponiveisRacaoCarga, apiGetRacaoCarga, apiUpdateRacaoCarga } from "./services/modules/racao/carga/CargaService.js";
|
|
46
46
|
import { apiAddRacaoContratoCredito, apiConvertAssinaturaRacaoContratoCredito, apiDeleteRacaoContratoCredito, apiFindMonitorRacaoContratoCredito, apiGetRacaoContratoCredito, apiUpdateRacaoContratoCredito, apiUploadRacaoContratoCredito } from "./services/modules/racao/contratoCredito/ContratoCreditoService.js";
|
|
@@ -49,7 +49,7 @@ import { apiAddRacaoGestaoComissaoRepresentante, apiDeleteRacaoGestaoComissaoRep
|
|
|
49
49
|
import { apiAddRacaoJurosCompostos, apiDeleteRacaoJurosCompostos, apiFindMonitorRacaoJurosCompostos, apiGetRacaoJurosCompostos, apiUpdateRacaoJurosCompostos } from "./services/modules/racao/jurosCompostos/JurosCompostosService.js";
|
|
50
50
|
import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMetaMensal, apiGetRacaoMetaMensal, apiUpdateRacaoMetaMensal } from "./services/modules/racao/metaMensal/MetaMensalService.js";
|
|
51
51
|
import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./services/modules/racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
|
|
52
|
-
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./services/modules/racao/pedidoVenda/PedidoVendaService.js";
|
|
52
|
+
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiCountRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./services/modules/racao/pedidoVenda/PedidoVendaService.js";
|
|
53
53
|
import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./services/modules/racao/segmentoProduto/SegmentoProdutoService.js";
|
|
54
54
|
import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./services/modules/racao/tabelaPreco/TabelaPrecoService.js";
|
|
55
55
|
import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./services/modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
|
|
@@ -303,6 +303,7 @@ export {
|
|
|
303
303
|
default6 as apiConfig,
|
|
304
304
|
apiConvertAssinaturaRacaoContratoCredito,
|
|
305
305
|
apiCountPartidasVencidas,
|
|
306
|
+
apiCountRacaoPedidoVenda,
|
|
306
307
|
apiCreateAnalisePenhorAlienacao,
|
|
307
308
|
apiCreateCadastroEstrategiaLiberacaoValor,
|
|
308
309
|
apiCreateContratoCompraGraos,
|
|
@@ -711,6 +712,7 @@ export {
|
|
|
711
712
|
apiUploadArquivoFundeinfra,
|
|
712
713
|
apiUploadAssinaturaFisica,
|
|
713
714
|
apiUploadAssinaturaServicoAssistenciaFisica,
|
|
715
|
+
apiUploadComprovanteDescarga,
|
|
714
716
|
apiUploadContrato,
|
|
715
717
|
apiUploadFileDadosPenhores,
|
|
716
718
|
apiUploadRacaoAutorizacaoAtendimentoCliente,
|
|
@@ -40,7 +40,7 @@ import { apiAddInsumosVendas, apiAprovarInsumosVendas, apiCalculoVendaInsumosVen
|
|
|
40
40
|
import { apiAddIrpf, apiFindAllIrpf, apiGetIrpf, apiUpdateIrpf } from "./modules/transportadora/Irpf/IrpfService.js";
|
|
41
41
|
import { apiAddIss, apiFindAllIss, apiGeTIss, apiUpdateIss } from "./modules/transportadora/Iss/IssService.js";
|
|
42
42
|
import { apiAddItinerario, apiFindAllItinerario, apiGetItinerario, apiItinerarioFindRotaAndProduto, apiItinerarioFindValorLiquidoFrete, apiUpdateItinerario } from "./modules/transportadora/Itinerario/ItinerarioService.js";
|
|
43
|
-
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento } from "./modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
43
|
+
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento, apiUploadComprovanteDescarga } from "./modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
44
44
|
import { apiAddRacaoAutorizacaoAtendimentoCliente, apiDeleteRacaoAutorizacaoAtendimentoCliente, apiFindMonitorRacaoAutorizacaoAtendimentoCliente, apiGetRacaoAutorizacaoAtendimentoCliente, apiUpdateRacaoAutorizacaoAtendimentoCliente, apiUploadRacaoAutorizacaoAtendimentoCliente } from "./modules/racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.js";
|
|
45
45
|
import { apiAddRacaoCarga, apiDeleteRacaoCarga, apiFindMonitorRacaoCarga, apiFindOrdensDisponiveisRacaoCarga, apiGetRacaoCarga, apiUpdateRacaoCarga } from "./modules/racao/carga/CargaService.js";
|
|
46
46
|
import { apiAddRacaoContratoCredito, apiConvertAssinaturaRacaoContratoCredito, apiDeleteRacaoContratoCredito, apiFindMonitorRacaoContratoCredito, apiGetRacaoContratoCredito, apiUpdateRacaoContratoCredito, apiUploadRacaoContratoCredito } from "./modules/racao/contratoCredito/ContratoCreditoService.js";
|
|
@@ -49,7 +49,7 @@ import { apiAddRacaoGestaoComissaoRepresentante, apiDeleteRacaoGestaoComissaoRep
|
|
|
49
49
|
import { apiAddRacaoJurosCompostos, apiDeleteRacaoJurosCompostos, apiFindMonitorRacaoJurosCompostos, apiGetRacaoJurosCompostos, apiUpdateRacaoJurosCompostos } from "./modules/racao/jurosCompostos/JurosCompostosService.js";
|
|
50
50
|
import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMetaMensal, apiGetRacaoMetaMensal, apiUpdateRacaoMetaMensal } from "./modules/racao/metaMensal/MetaMensalService.js";
|
|
51
51
|
import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./modules/racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
|
|
52
|
-
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./modules/racao/pedidoVenda/PedidoVendaService.js";
|
|
52
|
+
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiCountRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./modules/racao/pedidoVenda/PedidoVendaService.js";
|
|
53
53
|
import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./modules/racao/segmentoProduto/SegmentoProdutoService.js";
|
|
54
54
|
import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./modules/racao/tabelaPreco/TabelaPrecoService.js";
|
|
55
55
|
import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./modules/racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
|
|
@@ -195,6 +195,7 @@ export {
|
|
|
195
195
|
apiChangeToAssinaturaServicoAssistenciaFisica,
|
|
196
196
|
apiConvertAssinaturaRacaoContratoCredito,
|
|
197
197
|
apiCountPartidasVencidas,
|
|
198
|
+
apiCountRacaoPedidoVenda,
|
|
198
199
|
apiCreateAnalisePenhorAlienacao,
|
|
199
200
|
apiCreateCadastroEstrategiaLiberacaoValor,
|
|
200
201
|
apiCreateContratoCompraGraos,
|
|
@@ -603,6 +604,7 @@ export {
|
|
|
603
604
|
apiUploadArquivoFundeinfra,
|
|
604
605
|
apiUploadAssinaturaFisica,
|
|
605
606
|
apiUploadAssinaturaServicoAssistenciaFisica,
|
|
607
|
+
apiUploadComprovanteDescarga,
|
|
606
608
|
apiUploadContrato,
|
|
607
609
|
apiUploadFileDadosPenhores,
|
|
608
610
|
apiUploadRacaoAutorizacaoAtendimentoCliente,
|
|
@@ -38,7 +38,7 @@ import { apiAddInsumosVendas, apiAprovarInsumosVendas, apiCalculoVendaInsumosVen
|
|
|
38
38
|
import { apiAddIrpf, apiFindAllIrpf, apiGetIrpf, apiUpdateIrpf } from "./transportadora/Irpf/IrpfService.js";
|
|
39
39
|
import { apiAddIss, apiFindAllIss, apiGeTIss, apiUpdateIss } from "./transportadora/Iss/IssService.js";
|
|
40
40
|
import { apiAddItinerario, apiFindAllItinerario, apiGetItinerario, apiItinerarioFindRotaAndProduto, apiItinerarioFindValorLiquidoFrete, apiUpdateItinerario } from "./transportadora/Itinerario/ItinerarioService.js";
|
|
41
|
-
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento } from "./transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
41
|
+
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento, apiUploadComprovanteDescarga } from "./transportadora/OrdemCarregamento/OrdemCarregamentoService.js";
|
|
42
42
|
import { apiAddRacaoAutorizacaoAtendimentoCliente, apiDeleteRacaoAutorizacaoAtendimentoCliente, apiFindMonitorRacaoAutorizacaoAtendimentoCliente, apiGetRacaoAutorizacaoAtendimentoCliente, apiUpdateRacaoAutorizacaoAtendimentoCliente, apiUploadRacaoAutorizacaoAtendimentoCliente } from "./racao/autorizacaoAtendimentoCliente/AutorizacaoAtendimentoClienteService.js";
|
|
43
43
|
import { apiAddRacaoCarga, apiDeleteRacaoCarga, apiFindMonitorRacaoCarga, apiFindOrdensDisponiveisRacaoCarga, apiGetRacaoCarga, apiUpdateRacaoCarga } from "./racao/carga/CargaService.js";
|
|
44
44
|
import { apiAddRacaoContratoCredito, apiConvertAssinaturaRacaoContratoCredito, apiDeleteRacaoContratoCredito, apiFindMonitorRacaoContratoCredito, apiGetRacaoContratoCredito, apiUpdateRacaoContratoCredito, apiUploadRacaoContratoCredito } from "./racao/contratoCredito/ContratoCreditoService.js";
|
|
@@ -47,7 +47,7 @@ import { apiAddRacaoGestaoComissaoRepresentante, apiDeleteRacaoGestaoComissaoRep
|
|
|
47
47
|
import { apiAddRacaoJurosCompostos, apiDeleteRacaoJurosCompostos, apiFindMonitorRacaoJurosCompostos, apiGetRacaoJurosCompostos, apiUpdateRacaoJurosCompostos } from "./racao/jurosCompostos/JurosCompostosService.js";
|
|
48
48
|
import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMetaMensal, apiGetRacaoMetaMensal, apiUpdateRacaoMetaMensal } from "./racao/metaMensal/MetaMensalService.js";
|
|
49
49
|
import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./racao/metaVendaRepresentante/MetaVendaRepresentanteService.js";
|
|
50
|
-
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./racao/pedidoVenda/PedidoVendaService.js";
|
|
50
|
+
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiCountRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./racao/pedidoVenda/PedidoVendaService.js";
|
|
51
51
|
import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./racao/segmentoProduto/SegmentoProdutoService.js";
|
|
52
52
|
import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./racao/tabelaPreco/TabelaPrecoService.js";
|
|
53
53
|
import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./racao/vinculoMaterialCentro/VinculoMaterialCentroService.js";
|
|
@@ -178,6 +178,7 @@ export {
|
|
|
178
178
|
apiChangeToAssinaturaServicoAssistenciaFisica,
|
|
179
179
|
apiConvertAssinaturaRacaoContratoCredito,
|
|
180
180
|
apiCountPartidasVencidas,
|
|
181
|
+
apiCountRacaoPedidoVenda,
|
|
181
182
|
apiCreateAnalisePenhorAlienacao,
|
|
182
183
|
apiCreateCadastroEstrategiaLiberacaoValor,
|
|
183
184
|
apiCreateContratoCompraGraos,
|
|
@@ -576,6 +577,7 @@ export {
|
|
|
576
577
|
apiUploadArquivoFundeinfra,
|
|
577
578
|
apiUploadAssinaturaFisica,
|
|
578
579
|
apiUploadAssinaturaServicoAssistenciaFisica,
|
|
580
|
+
apiUploadComprovanteDescarga,
|
|
579
581
|
apiUploadContrato,
|
|
580
582
|
apiUploadFileDadosPenhores,
|
|
581
583
|
apiUploadRacaoAutorizacaoAtendimentoCliente,
|
|
@@ -36,7 +36,7 @@ async function apiReprovarTermoFunrural(id, motivo) {
|
|
|
36
36
|
}
|
|
37
37
|
async function apiAprovarTermoFunrural(id) {
|
|
38
38
|
return ApiService.fetchDataWithAxios({
|
|
39
|
-
url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
39
|
+
url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,
|
|
40
40
|
method: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.method,
|
|
41
41
|
data: { id }
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"termoFunruralService.js","sources":["../../../../../../lib/base/services/modules/originacao/termoFunrural/termoFunruralService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TTermoFunrural } from '@base/@types/models/originacao/termoFunrural';\n\nconst TERMO_FUNRURAL_PROJECT_ENDPOINT = endpointConfig.originacao.termoFunrural;\n\nexport async function apiAddTermoFunrural(body: TTermoFunrural) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFunrural>>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.add.endpoint,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiGetTermoFunrural(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFunrural>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.findOne.method,\n });\n}\n\nexport async function apiFindMonitorTermoFunrural(params: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFunrural>>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.findMonitor.endpoint + `?${params}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.findMonitor.method,\n });\n}\n\nexport async function apiCancelarTermoFunrural(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.cancelar.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.cancelar.method,\n data: { motivo },\n });\n}\n\nexport async function apiReprovarTermoFunrural(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.reprovar.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.reprovar.method,\n data: { motivo },\n });\n}\n\nexport async function apiAprovarTermoFunrural(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFunrural>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
1
|
+
{"version":3,"file":"termoFunruralService.js","sources":["../../../../../../lib/base/services/modules/originacao/termoFunrural/termoFunruralService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\nimport ApiService from '@/services/ApiService'\nimport { TTermoFunrural } from '@base/@types/models/originacao/termoFunrural';\n\nconst TERMO_FUNRURAL_PROJECT_ENDPOINT = endpointConfig.originacao.termoFunrural;\n\nexport async function apiAddTermoFunrural(body: TTermoFunrural) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFunrural>>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.add.endpoint,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiGetTermoFunrural(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFunrural>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.findOne.method,\n });\n}\n\nexport async function apiFindMonitorTermoFunrural(params: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TTermoFunrural>>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.findMonitor.endpoint + `?${params}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.findMonitor.method,\n });\n}\n\nexport async function apiCancelarTermoFunrural(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.cancelar.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.cancelar.method,\n data: { motivo },\n });\n}\n\nexport async function apiReprovarTermoFunrural(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.reprovar.endpoint + `${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.reprovar.method,\n data: { motivo },\n });\n}\n\nexport async function apiAprovarTermoFunrural(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFunrural>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.method,\n data: { id },\n });\n}\n\nexport async function apiReabrirTermoFunrural(id: number) {\n return ApiService.fetchDataWithAxios<TTermoFunrural>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.reabrir.endpoint + `/${id}`,\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.reabrir.method,\n data: { id },\n });\n}\n\nexport async function apiUploadArquivoAssinado(id: number, formData: FormData) {\n return ApiService.fetchDataWithAxios<void>({\n url: TERMO_FUNRURAL_PROJECT_ENDPOINT.uploadArquivo.endpoint.replace('{id}', id.toString()),\n method: TERMO_FUNRURAL_PROJECT_ENDPOINT.uploadArquivo.method,\n data: formData as any,\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n });\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,kCAAkCA,yBAAe,WAAW;AAElE,eAAsB,oBAAoB,MAAsB;AAC5D,SAAO,WAAW,mBAAmD;AAAA,IACjE,KAAK,gCAAgC,IAAI;AAAA,IACzC,QAAQ,gCAAgC,IAAI;AAAA,IAC5C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oBAAoB,IAAY;AAClD,SAAO,WAAW,mBAAmC;AAAA,IACjD,KAAK,gCAAgC,QAAQ,WAAW,GAAG,EAAE;AAAA,IAC7D,QAAQ,gCAAgC,QAAQ;AAAA,EAAA,CACnD;AACL;AAEA,eAAsB,4BAA4B,QAAgB;AAC9D,SAAO,WAAW,mBAAmD;AAAA,IACjE,KAAK,gCAAgC,YAAY,WAAW,IAAI,MAAM;AAAA,IACtE,QAAQ,gCAAgC,YAAY;AAAA,EAAA,CACvD;AACL;AAEA,eAAsB,yBAAyB,IAAY,QAAgB;AACvE,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,gCAAgC,SAAS,WAAW,GAAG,EAAE;AAAA,IAC9D,QAAQ,gCAAgC,SAAS;AAAA,IACjD,MAAM,EAAE,OAAA;AAAA,EAAO,CAClB;AACL;AAEA,eAAsB,yBAAyB,IAAY,QAAgB;AACvE,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,gCAAgC,SAAS,WAAW,GAAG,EAAE;AAAA,IAC9D,QAAQ,gCAAgC,SAAS;AAAA,IACjD,MAAM,EAAE,OAAA;AAAA,EAAO,CAClB;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAmC;AAAA,IACjD,KAAK,gCAAgC,QAAQ,WAAW,IAAI,EAAE;AAAA,IAC9D,QAAQ,gCAAgC,QAAQ;AAAA,IAChD,MAAM,EAAE,GAAA;AAAA,EAAG,CACd;AACL;AAEA,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAmC;AAAA,IACjD,KAAK,gCAAgC,QAAQ,WAAW,IAAI,EAAE;AAAA,IAC9D,QAAQ,gCAAgC,QAAQ;AAAA,IAChD,MAAM,EAAE,GAAA;AAAA,EAAG,CACd;AACL;AAEA,eAAsB,yBAAyB,IAAY,UAAoB;AAC3E,SAAO,WAAW,mBAAyB;AAAA,IACvC,KAAK,gCAAgC,cAAc,SAAS,QAAQ,QAAQ,GAAG,UAAU;AAAA,IACzF,QAAQ,gCAAgC,cAAc;AAAA,IACtD,MAAM;AAAA,IACN,SAAS;AAAA,MACL,gBAAgB;AAAA,IAAA;AAAA,EACpB,CACH;AACL;"}
|
|
@@ -6,7 +6,7 @@ import { apiAddRacaoGestaoComissaoRepresentante, apiDeleteRacaoGestaoComissaoRep
|
|
|
6
6
|
import { apiAddRacaoJurosCompostos, apiDeleteRacaoJurosCompostos, apiFindMonitorRacaoJurosCompostos, apiGetRacaoJurosCompostos, apiUpdateRacaoJurosCompostos } from "./jurosCompostos/JurosCompostosService.js";
|
|
7
7
|
import { apiAddRacaoMetaMensal, apiDeleteRacaoMetaMensal, apiFindMonitorRacaoMetaMensal, apiGetRacaoMetaMensal, apiUpdateRacaoMetaMensal } from "./metaMensal/MetaMensalService.js";
|
|
8
8
|
import { apiAddRacaoMetaVendaRepresentante, apiDeleteRacaoMetaVendaRepresentante, apiFindMonitorRacaoMetaVendaRepresentante, apiGetRacaoMetaVendaRepresentante, apiUpdateRacaoMetaVendaRepresentante } from "./metaVendaRepresentante/MetaVendaRepresentanteService.js";
|
|
9
|
-
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./pedidoVenda/PedidoVendaService.js";
|
|
9
|
+
import { apiAddRacaoPedidoVenda, apiAprovarRacaoPedidoVenda, apiCancelarRacaoPedidoVenda, apiCountRacaoPedidoVenda, apiDeleteRacaoPedidoVenda, apiFindMonitorRacaoPedidoVenda, apiGetCalulatePriceRacaoPedidoVenda, apiGetRacaoPedidoVenda, apiReprovarRacaoPedidoVenda, apiUpdateRacaoPedidoVenda } from "./pedidoVenda/PedidoVendaService.js";
|
|
10
10
|
import { apiAddRacaoSegmentoProduto, apiDeleteRacaoSegmentoProduto, apiFindMonitorRacaoSegmentoProduto, apiGetRacaoSegmentoProduto, apiUpdateRacaoSegmentoProduto } from "./segmentoProduto/SegmentoProdutoService.js";
|
|
11
11
|
import { apiAddRacaoTabelaPreco, apiDeleteRacaoTabelaPreco, apiFindMonitorRacaoTabelaPreco, apiFindRacaoProdutosListaTecnica, apiFindRacaoTabelaPrecoLatest, apiGetRacaoTabelaPreco, apiUpdateRacaoTabelaPreco } from "./tabelaPreco/TabelaPrecoService.js";
|
|
12
12
|
import { apiAddRacaoVinculoMaterialCentro, apiDeleteRacaoVinculoMaterialCentro, apiFindMonitorRacaoVinculoMaterialCentro, apiGetRacaoVinculoMaterialCentro, apiUpdateRacaoVinculoMaterialCentro } from "./vinculoMaterialCentro/VinculoMaterialCentroService.js";
|
|
@@ -26,6 +26,7 @@ export {
|
|
|
26
26
|
apiAprovarRacaoPedidoVenda,
|
|
27
27
|
apiCancelarRacaoPedidoVenda,
|
|
28
28
|
apiConvertAssinaturaRacaoContratoCredito,
|
|
29
|
+
apiCountRacaoPedidoVenda,
|
|
29
30
|
apiDeleteRacaoAutorizacaoAtendimentoCliente,
|
|
30
31
|
apiDeleteRacaoCarga,
|
|
31
32
|
apiDeleteRacaoContratoCredito,
|
|
@@ -61,10 +61,18 @@ async function apiGetCalulatePriceRacaoPedidoVenda(produtoId) {
|
|
|
61
61
|
method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
+
async function apiCountRacaoPedidoVenda(body) {
|
|
65
|
+
return ApiService.fetchDataWithAxios({
|
|
66
|
+
url: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.endpoint,
|
|
67
|
+
method: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.method,
|
|
68
|
+
params: body
|
|
69
|
+
});
|
|
70
|
+
}
|
|
64
71
|
export {
|
|
65
72
|
apiAddRacaoPedidoVenda,
|
|
66
73
|
apiAprovarRacaoPedidoVenda,
|
|
67
74
|
apiCancelarRacaoPedidoVenda,
|
|
75
|
+
apiCountRacaoPedidoVenda,
|
|
68
76
|
apiDeleteRacaoPedidoVenda,
|
|
69
77
|
apiFindMonitorRacaoPedidoVenda,
|
|
70
78
|
apiGetCalulatePriceRacaoPedidoVenda,
|
|
@@ -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: 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 apiCancelarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.cancelar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.cancelar.method,\n data: { motivo: motivo }\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":["endpointConfig"],"mappings":";;AAKA,MAAM,wBAAwBA,yBAAe,MAAM;AAEnD,eAAsB,uBAAuB,IAAY;AACrD,SAAO,WAAW,mBAAiC;AAAA,IAC/C,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,uBAAuB,MAAoB;AAC7D,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,IAAI;AAAA,IAC/B,QAAQ,sBAAsB,IAAI;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAoB;AAChE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO;AAAA,IAClC,QAAQ,sBAAsB,OAAO;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO,WAAW,GAAG,EAAE;AAAA,IAClD,QAAQ,sBAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsB,4BAA4B,IAAY,QAAgB;AAC1E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,SAAS,WAAW,GAAG,EAAE;AAAA,IACpD,QAAQ,sBAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,2BAA2B,IAAY,QAAgB;AACzE,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,IACtC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,4BAA4B,IAAY,QAAgB;AAC1E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,SAAS,WAAW,GAAG,EAAE;AAAA,IACpD,QAAQ,sBAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,+BAA+B,MAAsB;AACvE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,YAAY;AAAA,IACvC,QAAQ,sBAAsB,YAAY;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oCAAoC,WAAmB;AACzE,SAAO,WAAW,mBAA+C;AAAA,IAC7D,KAAK,sBAAsB,sBAAsB,WAAW,GAAG,SAAS;AAAA,IACxE,QAAQ,sBAAsB,sBAAsB;AAAA,EAAA,CACvD;AACL;"}
|
|
1
|
+
{"version":3,"file":"PedidoVendaService.js","sources":["../../../../../../lib/base/services/modules/racao/pedidoVenda/PedidoVendaService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { IFilterParams, TQueryResponse } from \"@base/@types/api\";\nimport { TAcoesPedidoVenda, TPedidoVenda, TPedidoVendaCalculatePrice } from \"@base/@types/models/racao/pedidoVenda\";\nimport endpointConfig from \"@base/configs/endpoints.config/endpoints.navigation\";\n\nconst PEDIDO_VENDA_ENDPOINT = endpointConfig.racao.pedidoVenda;\n\nexport async function apiGetRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TPedidoVenda>({\n url: PEDIDO_VENDA_ENDPOINT.findOne.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.add.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiUpdateRacaoPedidoVenda(body: TPedidoVenda) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.update.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiDeleteRacaoPedidoVenda(id: number) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.delete.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.delete.method,\n })\n}\n\nexport async function apiCancelarRacaoPedidoVenda(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TAcoesPedidoVenda>>({\n url: PEDIDO_VENDA_ENDPOINT.cancelar.endpoint + `${id}`,\n method: PEDIDO_VENDA_ENDPOINT.cancelar.method,\n data: { motivo: motivo }\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\nexport async function apiCountRacaoPedidoVenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios({\n url: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.endpoint,\n method: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.method,\n params: body,\n })\n}\n"],"names":["endpointConfig"],"mappings":";;AAKA,MAAM,wBAAwBA,yBAAe,MAAM;AAEnD,eAAsB,uBAAuB,IAAY;AACrD,SAAO,WAAW,mBAAiC;AAAA,IAC/C,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,EAAA,CACzC;AACL;AAEA,eAAsB,uBAAuB,MAAoB;AAC7D,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,IAAI;AAAA,IAC/B,QAAQ,sBAAsB,IAAI;AAAA,IAClC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,MAAoB;AAChE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO;AAAA,IAClC,QAAQ,sBAAsB,OAAO;AAAA,IACrC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,0BAA0B,IAAY;AACxD,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,OAAO,WAAW,GAAG,EAAE;AAAA,IAClD,QAAQ,sBAAsB,OAAO;AAAA,EAAA,CACxC;AACL;AAEA,eAAsB,4BAA4B,IAAY,QAAgB;AAC1E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,SAAS,WAAW,GAAG,EAAE;AAAA,IACpD,QAAQ,sBAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,2BAA2B,IAAY,QAAgB;AACzE,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,QAAQ,WAAW,GAAG,EAAE;AAAA,IACnD,QAAQ,sBAAsB,QAAQ;AAAA,IACtC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,4BAA4B,IAAY,QAAgB;AAC1E,SAAO,WAAW,mBAAsD;AAAA,IACpE,KAAK,sBAAsB,SAAS,WAAW,GAAG,EAAE;AAAA,IACpD,QAAQ,sBAAsB,SAAS;AAAA,IACvC,MAAM,EAAE,OAAA;AAAA,EAAe,CAC1B;AACL;AAEA,eAAsB,+BAA+B,MAAsB;AACvE,SAAO,WAAW,mBAAiD;AAAA,IAC/D,KAAK,sBAAsB,YAAY;AAAA,IACvC,QAAQ,sBAAsB,YAAY;AAAA,IAC1C,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,oCAAoC,WAAmB;AACzE,SAAO,WAAW,mBAA+C;AAAA,IAC7D,KAAK,sBAAsB,sBAAsB,WAAW,GAAG,SAAS;AAAA,IACxE,QAAQ,sBAAsB,sBAAsB;AAAA,EAAA,CACvD;AACL;AAEA,eAAsB,yBAAyB,MAAsB;AACjE,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB,mBAAmB;AAAA,IAC9C,QAAQ,sBAAsB,mBAAmB;AAAA,IACjD,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
package/dist/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js
CHANGED
|
@@ -47,6 +47,16 @@ async function apiFindOrdemCarregamentoNaoUsadasEmContratos(body) {
|
|
|
47
47
|
data: body
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
+
async function apiUploadComprovanteDescarga(ordemCarregamentoId, formData) {
|
|
51
|
+
return ApiService.fetchDataWithAxios({
|
|
52
|
+
url: `${ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.endpoint}/${ordemCarregamentoId}`,
|
|
53
|
+
method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.method,
|
|
54
|
+
data: formData,
|
|
55
|
+
headers: {
|
|
56
|
+
"Content-Type": "multipart/form-data"
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
50
60
|
export {
|
|
51
61
|
apiAddOrdemCarregamento,
|
|
52
62
|
apiFindAllOrdemCarregamento,
|
|
@@ -54,6 +64,7 @@ export {
|
|
|
54
64
|
apiGetCodigoOrdemCarregamento,
|
|
55
65
|
apiGetOrdemCarregamento,
|
|
56
66
|
apiGetOrdemCarregamentoFromTicketId,
|
|
57
|
-
apiUpdateOrdemCarregamento
|
|
67
|
+
apiUpdateOrdemCarregamento,
|
|
68
|
+
apiUploadComprovanteDescarga
|
|
58
69
|
};
|
|
59
70
|
//# sourceMappingURL=OrdemCarregamentoService.js.map
|
package/dist/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrdemCarregamentoService.js","sources":["../../../../../../lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from '@base/configs/endpoints.config/endpoints.navigation'\nimport ApiService from '@/services/ApiService'\nimport { TOrdemCarregamento } from '@base/@types/models/transportadora/ordemCarregamento';\nconst ORDEM_CARREGAMENTO_PROJECT_ENDPOINT = endpointConfig.ordemCarregamento;\n\nexport async function apiGetOrdemCarregamento(id: string) {\n return ApiService.fetchDataWithAxios<TOrdemCarregamento>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddOrdemCarregamento(body: TOrdemCarregamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.add.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiFindAllOrdemCarregamento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findAll.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findAll.method,\n data: body,\n })\n}\n\nexport async function apiUpdateOrdemCarregamento(body: TOrdemCarregamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.update.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiGetCodigoOrdemCarregamento(codigo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: `${ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findCodigo.endpoint}/${encodeURIComponent(codigo)}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findCodigo.method,\n })\n}\n\nexport async function apiGetOrdemCarregamentoFromTicketId(ticketId) {\n return ApiService.fetchDataWithAxios<TOrdemCarregamento>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOneByTicketId.endpoint + `${ticketId}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOneByTicketId.method,\n })\n}\n\nexport async function apiFindOrdemCarregamentoNaoUsadasEmContratos(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findNaoUsadasEmContratosfindAll.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findNaoUsadasEmContratosfindAll.method,\n data: body,\n })\n}"],"names":["endpointConfig"],"mappings":";;AAIA,MAAM,sCAAsCA,yBAAe;AAE3D,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,oCAAoC,QAAQ,WAAW,GAAG,EAAE;AAAA,IACjE,QAAQ,oCAAoC,QAAQ;AAAA,EAAA,CACvD;AACL;AAEA,eAAsB,wBAAwB,MAA0B;AACpE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,IAAI;AAAA,IAC7C,QAAQ,oCAAoC,IAAI;AAAA,IAChD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,4BAA4B,MAAsB;AACpE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,QAAQ;AAAA,IACjD,QAAQ,oCAAoC,QAAQ;AAAA,IACpD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAA0B;AACvE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,OAAO;AAAA,IAChD,QAAQ,oCAAoC,OAAO;AAAA,IACnD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,8BAA8B,QAAgB;AAChE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,GAAG,oCAAoC,WAAW,QAAQ,IAAI,mBAAmB,MAAM,CAAC;AAAA,IAC7F,QAAQ,oCAAoC,WAAW;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsB,oCAAoC,UAAU;AAChE,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,oCAAoC,kBAAkB,WAAW,GAAG,QAAQ;AAAA,IACjF,QAAQ,oCAAoC,kBAAkB;AAAA,EAAA,CACjE;AACL;AAEA,eAAsB,6CAA6C,MAAsB;AACrF,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,gCAAgC;AAAA,IACzE,QAAQ,oCAAoC,gCAAgC;AAAA,IAC5E,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
1
|
+
{"version":3,"file":"OrdemCarregamentoService.js","sources":["../../../../../../lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from '@base/configs/endpoints.config/endpoints.navigation'\nimport ApiService from '@/services/ApiService'\nimport { TOrdemCarregamento } from '@base/@types/models/transportadora/ordemCarregamento';\nconst ORDEM_CARREGAMENTO_PROJECT_ENDPOINT = endpointConfig.ordemCarregamento;\n\nexport async function apiGetOrdemCarregamento(id: string) {\n return ApiService.fetchDataWithAxios<TOrdemCarregamento>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOne.endpoint + `${id}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOne.method,\n })\n}\n\nexport async function apiAddOrdemCarregamento(body: TOrdemCarregamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.add.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.add.method,\n data: body,\n })\n}\n\nexport async function apiFindAllOrdemCarregamento(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findAll.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findAll.method,\n data: body,\n })\n}\n\nexport async function apiUpdateOrdemCarregamento(body: TOrdemCarregamento) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.update.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.update.method,\n data: body,\n })\n}\n\nexport async function apiGetCodigoOrdemCarregamento(codigo: string) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: `${ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findCodigo.endpoint}/${encodeURIComponent(codigo)}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findCodigo.method,\n })\n}\n\nexport async function apiGetOrdemCarregamentoFromTicketId(ticketId) {\n return ApiService.fetchDataWithAxios<TOrdemCarregamento>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOneByTicketId.endpoint + `${ticketId}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findOneByTicketId.method,\n })\n}\n\nexport async function apiFindOrdemCarregamentoNaoUsadasEmContratos(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TOrdemCarregamento>>({\n url: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findNaoUsadasEmContratosfindAll.endpoint,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findNaoUsadasEmContratosfindAll.method,\n data: body,\n })\n}\n\nexport async function apiUploadComprovanteDescarga(ordemCarregamentoId: string | number, formData: FormData) {\n return ApiService.fetchDataWithAxios<TOrdemCarregamento>({\n url: `${ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.endpoint}/${ordemCarregamentoId}`,\n method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.method,\n data: formData as any,\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n })\n}"],"names":["endpointConfig"],"mappings":";;AAIA,MAAM,sCAAsCA,yBAAe;AAE3D,eAAsB,wBAAwB,IAAY;AACtD,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,oCAAoC,QAAQ,WAAW,GAAG,EAAE;AAAA,IACjE,QAAQ,oCAAoC,QAAQ;AAAA,EAAA,CACvD;AACL;AAEA,eAAsB,wBAAwB,MAA0B;AACpE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,IAAI;AAAA,IAC7C,QAAQ,oCAAoC,IAAI;AAAA,IAChD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,4BAA4B,MAAsB;AACpE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,QAAQ;AAAA,IACjD,QAAQ,oCAAoC,QAAQ;AAAA,IACpD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,2BAA2B,MAA0B;AACvE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,OAAO;AAAA,IAChD,QAAQ,oCAAoC,OAAO;AAAA,IACnD,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,8BAA8B,QAAgB;AAChE,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,GAAG,oCAAoC,WAAW,QAAQ,IAAI,mBAAmB,MAAM,CAAC;AAAA,IAC7F,QAAQ,oCAAoC,WAAW;AAAA,EAAA,CAC1D;AACL;AAEA,eAAsB,oCAAoC,UAAU;AAChE,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,oCAAoC,kBAAkB,WAAW,GAAG,QAAQ;AAAA,IACjF,QAAQ,oCAAoC,kBAAkB;AAAA,EAAA,CACjE;AACL;AAEA,eAAsB,6CAA6C,MAAsB;AACrF,SAAO,WAAW,mBAAuD;AAAA,IACrE,KAAK,oCAAoC,gCAAgC;AAAA,IACzE,QAAQ,oCAAoC,gCAAgC;AAAA,IAC5E,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,6BAA6B,qBAAsC,UAAoB;AACzG,SAAO,WAAW,mBAAuC;AAAA,IACrD,KAAK,GAAG,oCAAoC,0BAA0B,QAAQ,IAAI,mBAAmB;AAAA,IACrG,QAAQ,oCAAoC,0BAA0B;AAAA,IACtE,MAAM;AAAA,IACN,SAAS;AAAA,MACL,gBAAgB;AAAA,IAAA;AAAA,EACpB,CACH;AACL;"}
|
|
@@ -12,7 +12,7 @@ import { apiAddItinerario, apiFindAllItinerario, apiGetItinerario, apiItinerario
|
|
|
12
12
|
import { apiGetFornecedor } from "./Motorista/MotoristaService.js";
|
|
13
13
|
import { apiFindByNomeOrCodigo } from "./NaturezaCarga/NaturezaCargaService.js";
|
|
14
14
|
import { apiFindByNotaFiscal } from "./NotaFiscal/NotaFiscalService.js";
|
|
15
|
-
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento } from "./OrdemCarregamento/OrdemCarregamentoService.js";
|
|
15
|
+
import { apiAddOrdemCarregamento, apiFindAllOrdemCarregamento, apiFindOrdemCarregamentoNaoUsadasEmContratos, apiGetCodigoOrdemCarregamento, apiGetOrdemCarregamento, apiGetOrdemCarregamentoFromTicketId, apiUpdateOrdemCarregamento, apiUploadComprovanteDescarga } from "./OrdemCarregamento/OrdemCarregamentoService.js";
|
|
16
16
|
import { apiAddRemetenteDestinatario, apiFindAllRemetenteDestinatario, apiUpdateRemetenteDestinatario } from "./RemetenteDestinatario/RemetenteDestinatarioService.js";
|
|
17
17
|
import { apiAddRota, apiFindAllRota, apiFindRotas, apiGetRota, apiUpdateRota, apiUpdateStatus } from "./Rota/RotaService.js";
|
|
18
18
|
import { apiAddTipoCarga, apiFindAllTipoCarga, apiGetCodigoTipoCarga, apiGetTipoCarga, apiUpdateTipoCarga } from "./TiposCarga/TipoCargaService.js";
|
|
@@ -94,6 +94,7 @@ export {
|
|
|
94
94
|
apiUpdateStatus,
|
|
95
95
|
apiUpdateStatusParcela,
|
|
96
96
|
apiUpdateTipoCarga,
|
|
97
|
+
apiUploadComprovanteDescarga,
|
|
97
98
|
apiVerificaContratoFreteByOrdemCarregamentoId
|
|
98
99
|
};
|
|
99
100
|
//# sourceMappingURL=index.js.map
|
|
@@ -9,6 +9,7 @@ type GeneralFormSectionProps<T extends FieldValues> =
|
|
|
9
9
|
name: Path<T>
|
|
10
10
|
label: string
|
|
11
11
|
placeholder: string
|
|
12
|
+
decimalScale?: number
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
@@ -18,7 +19,8 @@ function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
|
18
19
|
name,
|
|
19
20
|
label,
|
|
20
21
|
placeholder,
|
|
21
|
-
value
|
|
22
|
+
value,
|
|
23
|
+
decimalScale = 2,
|
|
22
24
|
}: GeneralFormSectionProps<T>) {
|
|
23
25
|
return (
|
|
24
26
|
<>
|
|
@@ -40,7 +42,7 @@ function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
|
40
42
|
placeholder="R$ 0,00"
|
|
41
43
|
displayType="input"
|
|
42
44
|
disabled={isView}
|
|
43
|
-
decimalScale={
|
|
45
|
+
decimalScale={decimalScale}
|
|
44
46
|
fixedDecimalScale
|
|
45
47
|
// importante: não espalhar {...field}, porque ele injeta onChange errado
|
|
46
48
|
value={field.value ?? 0}
|
|
@@ -8,6 +8,7 @@ type GeneralFormSectionProps<T extends FieldValues> =
|
|
|
8
8
|
name: Path<T>
|
|
9
9
|
label: string
|
|
10
10
|
placeholder: string
|
|
11
|
+
decimalScale?: number
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
function GenericNumberFormSection<T extends FieldValues>({
|
|
@@ -17,6 +18,7 @@ function GenericNumberFormSection<T extends FieldValues>({
|
|
|
17
18
|
name,
|
|
18
19
|
label,
|
|
19
20
|
placeholder,
|
|
21
|
+
decimalScale = 2,
|
|
20
22
|
}: GeneralFormSectionProps<T>) {
|
|
21
23
|
return (
|
|
22
24
|
<>
|
|
@@ -38,7 +40,7 @@ function GenericNumberFormSection<T extends FieldValues>({
|
|
|
38
40
|
displayType="input"
|
|
39
41
|
value={field.value}
|
|
40
42
|
disabled={isView}
|
|
41
|
-
decimalScale={
|
|
43
|
+
decimalScale={decimalScale}
|
|
42
44
|
onValueChange={(e) => field.onChange(e.floatValue ?? 0)}
|
|
43
45
|
/>
|
|
44
46
|
)}
|
|
@@ -48,4 +50,4 @@ function GenericNumberFormSection<T extends FieldValues>({
|
|
|
48
50
|
)
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
export default GenericNumberFormSection
|
|
53
|
+
export default GenericNumberFormSection
|
|
@@ -8,6 +8,7 @@ type GeneralFormSectionProps<T extends FieldValues> =
|
|
|
8
8
|
name: Path<T>
|
|
9
9
|
label: string
|
|
10
10
|
placeholder: string
|
|
11
|
+
decimalScale?: number
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
@@ -17,6 +18,7 @@ function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
|
17
18
|
name,
|
|
18
19
|
label,
|
|
19
20
|
placeholder,
|
|
21
|
+
decimalScale = 2,
|
|
20
22
|
}: GeneralFormSectionProps<T>) {
|
|
21
23
|
return (
|
|
22
24
|
<>
|
|
@@ -39,7 +41,7 @@ function GenericNumberFormSectionPrice<T extends FieldValues>({
|
|
|
39
41
|
displayType="input"
|
|
40
42
|
value={field.value}
|
|
41
43
|
disabled={isView}
|
|
42
|
-
decimalScale={
|
|
44
|
+
decimalScale={decimalScale}
|
|
43
45
|
onValueChange={(e) =>
|
|
44
46
|
field.onChange(e.floatValue ?? 0)
|
|
45
47
|
}
|
|
@@ -7,7 +7,7 @@ const termoFunrural = {
|
|
|
7
7
|
cancelar: { endpoint: `${TERMO_FUNRURAL_URL}/cancelar/`, method: 'post' },
|
|
8
8
|
reprovar: { endpoint: `${TERMO_FUNRURAL_URL}/reprovar/`, method: 'post' },
|
|
9
9
|
aprovar: { endpoint: `${TERMO_FUNRURAL_URL}/aprovar`, method: 'post' },
|
|
10
|
-
reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: '
|
|
10
|
+
reabrir: { endpoint: `${TERMO_FUNRURAL_URL}/reabrir`, method: 'get' },
|
|
11
11
|
uploadArquivo: { endpoint: `${TERMO_FUNRURAL_URL}/upload-arquivo/{id}`, method: 'post' },
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ const pedidoVenda = {
|
|
|
8
8
|
cancelar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/cancelar/`, method: 'post' },
|
|
9
9
|
aprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/aprovar/`, method: 'post' },
|
|
10
10
|
reprovar: { endpoint: `${PEDIDO_VENDA_BASE_URL}/reprovar/`, method: 'post' },
|
|
11
|
-
findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/
|
|
11
|
+
findQuantityOrders: { endpoint: `${PEDIDO_VENDA_BASE_URL}/count`, method: 'get' },
|
|
12
12
|
findMonitor: { endpoint: `${PEDIDO_VENDA_BASE_URL}/find-monitor`, method: 'post' },
|
|
13
13
|
calculateProductPrice: { endpoint: `${PEDIDO_VENDA_BASE_URL}/calculate-price/`, method: 'get' },
|
|
14
14
|
}
|
|
@@ -8,6 +8,7 @@ const ordemCarregamento = {
|
|
|
8
8
|
findCodigo: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-codigo`, method: 'get'},
|
|
9
9
|
findOneByTicketId: {endpoint: `${ORDEM_CARREGAMENTO_URL}/ticket/`, method: 'get'},
|
|
10
10
|
findNaoUsadasEmContratosfindAll: {endpoint: `${ORDEM_CARREGAMENTO_URL}/find-nao-usadas-em-contratos`, method: 'post'},
|
|
11
|
+
uploadComprovanteDescarga: {endpoint: `${ORDEM_CARREGAMENTO_URL}/upload-comprovante-descarga`, method: 'post'},
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export default ordemCarregamento
|
|
@@ -45,7 +45,7 @@ export async function apiReprovarTermoFunrural(id: number, motivo: string) {
|
|
|
45
45
|
|
|
46
46
|
export async function apiAprovarTermoFunrural(id: number) {
|
|
47
47
|
return ApiService.fetchDataWithAxios<TTermoFunrural>({
|
|
48
|
-
url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint +
|
|
48
|
+
url: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.endpoint + `/${id}`,
|
|
49
49
|
method: TERMO_FUNRURAL_PROJECT_ENDPOINT.aprovar.method,
|
|
50
50
|
data: { id },
|
|
51
51
|
});
|
|
@@ -73,3 +73,11 @@ export async function apiGetCalulatePriceRacaoPedidoVenda(produtoId: number) {
|
|
|
73
73
|
method: PEDIDO_VENDA_ENDPOINT.calculateProductPrice.method,
|
|
74
74
|
})
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
export async function apiCountRacaoPedidoVenda(body?: IFilterParams) {
|
|
78
|
+
return ApiService.fetchDataWithAxios({
|
|
79
|
+
url: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.endpoint,
|
|
80
|
+
method: PEDIDO_VENDA_ENDPOINT.findQuantityOrders.method,
|
|
81
|
+
params: body,
|
|
82
|
+
})
|
|
83
|
+
}
|
package/lib/base/services/modules/transportadora/OrdemCarregamento/OrdemCarregamentoService.ts
CHANGED
|
@@ -55,4 +55,15 @@ export async function apiFindOrdemCarregamentoNaoUsadasEmContratos(body?: IFilte
|
|
|
55
55
|
method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.findNaoUsadasEmContratosfindAll.method,
|
|
56
56
|
data: body,
|
|
57
57
|
})
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export async function apiUploadComprovanteDescarga(ordemCarregamentoId: string | number, formData: FormData) {
|
|
61
|
+
return ApiService.fetchDataWithAxios<TOrdemCarregamento>({
|
|
62
|
+
url: `${ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.endpoint}/${ordemCarregamentoId}`,
|
|
63
|
+
method: ORDEM_CARREGAMENTO_PROJECT_ENDPOINT.uploadComprovanteDescarga.method,
|
|
64
|
+
data: formData as any,
|
|
65
|
+
headers: {
|
|
66
|
+
'Content-Type': 'multipart/form-data',
|
|
67
|
+
},
|
|
68
|
+
})
|
|
58
69
|
}
|
package/package.json
CHANGED