@orbe-agro/client-core 5.3.228 → 5.3.230
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/@ecme/services/axios/AxiosBase.js +1 -1
- package/dist/@ecme/services/axios/AxiosBase.js.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/config/produto.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/produto.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.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/services/modules/dm/produto/ProdutoService.d.ts +1 -0
- package/dist/@types/base/services/modules/dm/produto/ProdutoService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/dm/config/produto.js +2 -1
- package/dist/base/configs/endpoints.config/dm/config/produto.js.map +1 -1
- package/dist/base/index.js +345 -344
- package/dist/base/services/index.js +341 -340
- package/dist/base/services/modules/dm/index.js +34 -33
- package/dist/base/services/modules/dm/produto/ProdutoService.js +18 -8
- package/dist/base/services/modules/dm/produto/ProdutoService.js.map +1 -1
- package/dist/base/services/modules/index.js +346 -345
- package/lib/@ecme/services/axios/AxiosBase.ts +1 -1
- package/lib/base/configs/endpoints.config/dm/config/produto.ts +1 -0
- package/lib/base/services/modules/dm/produto/ProdutoService.ts +10 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import l from "./AxiosResponseIntrceptorErrorCallback.js";
|
|
|
7
7
|
import { getCurrentMicrofrontendId as n, useLoadingConfigStore as i } from "../../../base/store/loadingConfigStore.js";
|
|
8
8
|
import { useThemeStore as a } from "../../store/themeStore.js";
|
|
9
9
|
const g = s.create({
|
|
10
|
-
timeout:
|
|
10
|
+
timeout: 6e5,
|
|
11
11
|
baseURL: f
|
|
12
12
|
});
|
|
13
13
|
let t = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AxiosBase.js","sources":["../../../../lib/@ecme/services/axios/AxiosBase.ts"],"sourcesContent":["import type { AxiosError } from \"axios\";\nimport axios from \"axios\";\nimport { API_URL } from \"~/base/configs/api.config\";\nimport { useThemeStore } from \"@/store\";\nimport { useLoadingConfigStore, getCurrentMicrofrontendId } from \"@base/store\";\nimport AxiosRequestIntrceptorConfigCallback from \"./AxiosRequestIntrceptorConfigCallback\";\nimport AxiosResponseIntrceptorErrorCallback from \"./AxiosResponseIntrceptorErrorCallback\";\n\nconst AxiosBase = axios.create({\n timeout:
|
|
1
|
+
{"version":3,"file":"AxiosBase.js","sources":["../../../../lib/@ecme/services/axios/AxiosBase.ts"],"sourcesContent":["import type { AxiosError } from \"axios\";\nimport axios from \"axios\";\nimport { API_URL } from \"~/base/configs/api.config\";\nimport { useThemeStore } from \"@/store\";\nimport { useLoadingConfigStore, getCurrentMicrofrontendId } from \"@base/store\";\nimport AxiosRequestIntrceptorConfigCallback from \"./AxiosRequestIntrceptorConfigCallback\";\nimport AxiosResponseIntrceptorErrorCallback from \"./AxiosResponseIntrceptorErrorCallback\";\n\nconst AxiosBase = axios.create({\n timeout: 600000,\n baseURL: API_URL,\n});\n\nlet activeRequests = 0;\n\nAxiosBase.interceptors.request.use(\n (config) => {\n activeRequests++;\n if (activeRequests === 1) {\n const microfrontendId = getCurrentMicrofrontendId();\n const loadingConfig = useLoadingConfigStore.getState();\n if (loadingConfig.getGlobalLoadingEnabled(microfrontendId)) {\n useThemeStore.getState().setLoading(true);\n }\n }\n return AxiosRequestIntrceptorConfigCallback(config);\n },\n (error) => {\n activeRequests = Math.max(0, activeRequests - 1);\n if (activeRequests === 0) {\n const microfrontendId = getCurrentMicrofrontendId();\n const loadingConfig = useLoadingConfigStore.getState();\n if (loadingConfig.getGlobalLoadingEnabled(microfrontendId)) {\n useThemeStore.getState().setLoading(false);\n }\n }\n return Promise.reject(error);\n }\n);\n\nAxiosBase.interceptors.response.use(\n (response) => {\n activeRequests = Math.max(0, activeRequests - 1);\n if (activeRequests === 0) {\n const microfrontendId = getCurrentMicrofrontendId();\n const loadingConfig = useLoadingConfigStore.getState();\n if (loadingConfig.getGlobalLoadingEnabled(microfrontendId)) {\n useThemeStore.getState().setLoading(false);\n }\n }\n return response;\n },\n (error: AxiosError) => {\n activeRequests = Math.max(0, activeRequests - 1);\n if (activeRequests === 0) {\n const microfrontendId = getCurrentMicrofrontendId();\n const loadingConfig = useLoadingConfigStore.getState();\n if (loadingConfig.getGlobalLoadingEnabled(microfrontendId)) {\n useThemeStore.getState().setLoading(false);\n }\n }\n AxiosResponseIntrceptorErrorCallback(error);\n return Promise.reject(error);\n }\n);\n\nexport default AxiosBase;\n"],"names":["AxiosBase","axios","API_URL","activeRequests","config","microfrontendId","getCurrentMicrofrontendId","useLoadingConfigStore","useThemeStore","AxiosRequestIntrceptorConfigCallback","error","response","AxiosResponseIntrceptorErrorCallback"],"mappings":";;;;;;;;AAQM,MAAAA,IAAYC,EAAM,OAAO;AAAA,EAC7B,SAAS;AAAA,EACT,SAASC;AACX,CAAC;AAED,IAAIC,IAAiB;AAErBH,EAAU,aAAa,QAAQ;AAAA,EAC7B,CAACI,MAAW;AAEV,QADAD,KACIA,MAAmB,GAAG;AACxB,YAAME,IAAkBC,EAA0B;AAE9C,MADkBC,EAAsB,SAAS,EACnC,wBAAwBF,CAAe,KACzCG,EAAA,SAAA,EAAW,WAAW,EAAI;AAAA,IAC1C;AAEF,WAAOC,EAAqCL,CAAM;AAAA,EACpD;AAAA,EACA,CAACM,MAAU;AAET,QADAP,IAAiB,KAAK,IAAI,GAAGA,IAAiB,CAAC,GAC3CA,MAAmB,GAAG;AACxB,YAAME,IAAkBC,EAA0B;AAE9C,MADkBC,EAAsB,SAAS,EACnC,wBAAwBF,CAAe,KACzCG,EAAA,SAAA,EAAW,WAAW,EAAK;AAAA,IAC3C;AAEK,WAAA,QAAQ,OAAOE,CAAK;AAAA,EAAA;AAE/B;AAEAV,EAAU,aAAa,SAAS;AAAA,EAC9B,CAACW,MAAa;AAEZ,QADAR,IAAiB,KAAK,IAAI,GAAGA,IAAiB,CAAC,GAC3CA,MAAmB,GAAG;AACxB,YAAME,IAAkBC,EAA0B;AAE9C,MADkBC,EAAsB,SAAS,EACnC,wBAAwBF,CAAe,KACzCG,EAAA,SAAA,EAAW,WAAW,EAAK;AAAA,IAC3C;AAEK,WAAAG;AAAA,EACT;AAAA,EACA,CAACD,MAAsB;AAErB,QADAP,IAAiB,KAAK,IAAI,GAAGA,IAAiB,CAAC,GAC3CA,MAAmB,GAAG;AACxB,YAAME,IAAkBC,EAA0B;AAE9C,MADkBC,EAAsB,SAAS,EACnC,wBAAwBF,CAAe,KACzCG,EAAA,SAAA,EAAW,WAAW,EAAK;AAAA,IAC3C;AAEF,WAAAI,EAAqCF,CAAK,GACnC,QAAQ,OAAOA,CAAK;AAAA,EAAA;AAE/B;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"produto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/produto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"produto.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/produto.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaZ,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS,SAAS,CAAC;AAEhC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -20,4 +20,5 @@ export declare function apiFindDescricaoById(idProduto: number): Promise<string>
|
|
|
20
20
|
export declare function apiFindByIdsProduto(ids: number[]): Promise<TProduto[]>;
|
|
21
21
|
export declare function apiFindByCodigosProduto(codigos: string[]): Promise<TProduto[]>;
|
|
22
22
|
export declare function apiUpdateProduto(payload: any): Promise<unknown>;
|
|
23
|
+
export declare function apiGetMultiplicadorUnidadeMedida(unidadeMedidaXml: string, idProduto: number): Promise<unknown>;
|
|
23
24
|
//# sourceMappingURL=ProdutoService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/produto/ProdutoService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,MAAM,sBAAsB,GAAG;IACjC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAA;IAC3B,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG,iBAAiB,GAAG,yBAAyB,GAAG,UAAU,CAAA;IACzF,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAsB,gBAAgB,CAAC,IAAI,KAAK,uBAM/C;AAED,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,MAAM,qBAK5D;AAED,wBAAsB,kCAAkC,wCAMvD;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE;IACxD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB,mCAeA;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAM/D;AAED,wBAAsB,0CAA0C,CAAC,gBAAgB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,mCAKtI;AAED,wBAAsB,2DAA2D,CAAC,IAAI,CAAC,EAAE,aAAa,mCASrG;AAED,wBAAsB,oBAAoB,CAAC,SAAS,EAAE,MAAM,mBAK3D;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,uBAMtD;AAED,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,uBAM9D;AAED,wBAAsB,gBAAgB,CAAC,OAAO,KAAA,oBAM7C"}
|
|
1
|
+
{"version":3,"file":"ProdutoService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/produto/ProdutoService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,MAAM,sBAAsB,GAAG;IACjC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAA;IAC3B,IAAI,EAAE,IAAI,GAAG,eAAe,GAAG,iBAAiB,GAAG,yBAAyB,GAAG,UAAU,CAAA;IACzF,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAsB,gBAAgB,CAAC,IAAI,KAAK,uBAM/C;AAED,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,MAAM,qBAK5D;AAED,wBAAsB,kCAAkC,wCAMvD;AAED,wBAAsB,8BAA8B,CAAC,IAAI,CAAC,EAAE;IACxD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB,mCAeA;AAED,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE,aAAa,gCAM/D;AAED,wBAAsB,0CAA0C,CAAC,gBAAgB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,mCAKtI;AAED,wBAAsB,2DAA2D,CAAC,IAAI,CAAC,EAAE,aAAa,mCASrG;AAED,wBAAsB,oBAAoB,CAAC,SAAS,EAAE,MAAM,mBAK3D;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,uBAMtD;AAED,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,uBAM9D;AAED,wBAAsB,gBAAgB,CAAC,OAAO,KAAA,oBAM7C;AAED,wBAAsB,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,oBAQjG"}
|
|
@@ -9,7 +9,8 @@ const o = "/dados-mestres/api/dm/produto", d = {
|
|
|
9
9
|
findDescricaoById: { endpoint: `${o}/{id}/descricao`, method: "get" },
|
|
10
10
|
findByIds: { endpoint: `${o}/find-by-ids`, method: "post" },
|
|
11
11
|
findByCodigos: { endpoint: `${o}/find-by-codigos`, method: "post" },
|
|
12
|
-
update: { endpoint: o, method: "patch" }
|
|
12
|
+
update: { endpoint: o, method: "patch" },
|
|
13
|
+
getMultiplicadorUnidadeMedida: { endpoint: `${o}/{idProduto}/multiplicador`, method: "get" }
|
|
13
14
|
};
|
|
14
15
|
export {
|
|
15
16
|
d as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"produto.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/produto.ts"],"sourcesContent":["const PRODUTO_BASE_URL = '/dados-mestres/api/dm/produto'\n\nconst produto = {\n find: { endpoint: `${PRODUTO_BASE_URL}/find`, method: 'post' },\n findProdutoByCodigo: { endpoint: `${PRODUTO_BASE_URL}/find/`, method: 'post' },\n findProdutosIsPrecificadoRacao: { endpoint: `${PRODUTO_BASE_URL}/find-produto-is-precificado-racao`, method: 'post' },\n findProdutosByGrupoProduto: { endpoint: `${PRODUTO_BASE_URL}/find-produtos-by-grupo-produto`, method: 'post' },\n findMonitor: { endpoint: `${PRODUTO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n validaProdutoByEmissorPedidoVenda: { endpoint: `${PRODUTO_BASE_URL}/valida-produto-by-emissor-pedido-venda/`, method: 'get' },\n findProdutosByCanalDistribuicaoAndOrganizacaoVenda: { endpoint: `${PRODUTO_BASE_URL}/find-produtos-by-canal-distribuicao-and-organizacao-venda`, method: 'post' },\n findDescricaoById: { endpoint: `${PRODUTO_BASE_URL}/{id}/descricao`, method: 'get' },\n findByIds: { endpoint: `${PRODUTO_BASE_URL}/find-by-ids`, method: 'post' },\n findByCodigos: { endpoint: `${PRODUTO_BASE_URL}/find-by-codigos`, method: 'post' },\n update: { endpoint: PRODUTO_BASE_URL, method: 'patch' },\n}\n\nexport default produto"],"names":["PRODUTO_BASE_URL","produto"],"mappings":"AAAA,MAAMA,IAAmB,iCAEnBC,IAAU;AAAA,EACZ,MAAM,EAAE,UAAU,GAAGD,CAAgB,SAAS,QAAQ,OAAO;AAAA,EAC7D,qBAAqB,EAAE,UAAU,GAAGA,CAAgB,UAAU,QAAQ,OAAO;AAAA,EAC7E,gCAAgC,EAAE,UAAU,GAAGA,CAAgB,sCAAsC,QAAQ,OAAO;AAAA,EACpH,4BAA4B,EAAE,UAAU,GAAGA,CAAgB,mCAAmC,QAAQ,OAAO;AAAA,EAC7G,aAAa,EAAE,UAAU,GAAGA,CAAgB,iBAAiB,YAAY,OAAO;AAAA,EAChF,mCAAmC,EAAE,UAAU,GAAGA,CAAgB,4CAA4C,QAAQ,MAAM;AAAA,EAC5H,oDAAoD,EAAE,UAAU,GAAGA,CAAgB,8DAA8D,QAAQ,OAAO;AAAA,EAChK,mBAAmB,EAAE,UAAU,GAAGA,CAAgB,mBAAmB,QAAQ,MAAM;AAAA,EACnF,WAAW,EAAE,UAAU,GAAGA,CAAgB,gBAAgB,QAAQ,OAAO;AAAA,EACzE,eAAe,EAAE,UAAU,GAAGA,CAAgB,oBAAoB,QAAQ,OAAO;AAAA,EACjF,QAAQ,EAAE,UAAUA,GAAkB,QAAQ,QAAQ;
|
|
1
|
+
{"version":3,"file":"produto.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/produto.ts"],"sourcesContent":["const PRODUTO_BASE_URL = '/dados-mestres/api/dm/produto'\n\nconst produto = {\n find: { endpoint: `${PRODUTO_BASE_URL}/find`, method: 'post' },\n findProdutoByCodigo: { endpoint: `${PRODUTO_BASE_URL}/find/`, method: 'post' },\n findProdutosIsPrecificadoRacao: { endpoint: `${PRODUTO_BASE_URL}/find-produto-is-precificado-racao`, method: 'post' },\n findProdutosByGrupoProduto: { endpoint: `${PRODUTO_BASE_URL}/find-produtos-by-grupo-produto`, method: 'post' },\n findMonitor: { endpoint: `${PRODUTO_BASE_URL}/find-monitor`, httpMethod: 'post' },\n validaProdutoByEmissorPedidoVenda: { endpoint: `${PRODUTO_BASE_URL}/valida-produto-by-emissor-pedido-venda/`, method: 'get' },\n findProdutosByCanalDistribuicaoAndOrganizacaoVenda: { endpoint: `${PRODUTO_BASE_URL}/find-produtos-by-canal-distribuicao-and-organizacao-venda`, method: 'post' },\n findDescricaoById: { endpoint: `${PRODUTO_BASE_URL}/{id}/descricao`, method: 'get' },\n findByIds: { endpoint: `${PRODUTO_BASE_URL}/find-by-ids`, method: 'post' },\n findByCodigos: { endpoint: `${PRODUTO_BASE_URL}/find-by-codigos`, method: 'post' },\n update: { endpoint: PRODUTO_BASE_URL, method: 'patch' },\n getMultiplicadorUnidadeMedida: { endpoint: `${PRODUTO_BASE_URL}/{idProduto}/multiplicador`, method: 'get' },\n}\n\nexport default produto"],"names":["PRODUTO_BASE_URL","produto"],"mappings":"AAAA,MAAMA,IAAmB,iCAEnBC,IAAU;AAAA,EACZ,MAAM,EAAE,UAAU,GAAGD,CAAgB,SAAS,QAAQ,OAAO;AAAA,EAC7D,qBAAqB,EAAE,UAAU,GAAGA,CAAgB,UAAU,QAAQ,OAAO;AAAA,EAC7E,gCAAgC,EAAE,UAAU,GAAGA,CAAgB,sCAAsC,QAAQ,OAAO;AAAA,EACpH,4BAA4B,EAAE,UAAU,GAAGA,CAAgB,mCAAmC,QAAQ,OAAO;AAAA,EAC7G,aAAa,EAAE,UAAU,GAAGA,CAAgB,iBAAiB,YAAY,OAAO;AAAA,EAChF,mCAAmC,EAAE,UAAU,GAAGA,CAAgB,4CAA4C,QAAQ,MAAM;AAAA,EAC5H,oDAAoD,EAAE,UAAU,GAAGA,CAAgB,8DAA8D,QAAQ,OAAO;AAAA,EAChK,mBAAmB,EAAE,UAAU,GAAGA,CAAgB,mBAAmB,QAAQ,MAAM;AAAA,EACnF,WAAW,EAAE,UAAU,GAAGA,CAAgB,gBAAgB,QAAQ,OAAO;AAAA,EACzE,eAAe,EAAE,UAAU,GAAGA,CAAgB,oBAAoB,QAAQ,OAAO;AAAA,EACjF,QAAQ,EAAE,UAAUA,GAAkB,QAAQ,QAAQ;AAAA,EACtD,+BAA+B,EAAE,UAAU,GAAGA,CAAgB,8BAA8B,QAAQ,MAAM;AAC9G;"}
|