@orbe-agro/client-core-prod 5.5.61 → 5.5.62
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/services/modules/Ticket/Automacao/BalancaService.d.ts +1 -1
- package/dist/@types/base/services/modules/Ticket/Automacao/BalancaService.d.ts.map +1 -1
- package/dist/base/services/modules/Ticket/Automacao/BalancaService.js +2 -2
- package/dist/base/services/modules/Ticket/Automacao/BalancaService.js.map +1 -1
- package/lib/base/services/modules/Ticket/Automacao/BalancaService.ts +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function apiGetByCentro(centro: any): Promise<unknown>;
|
|
1
|
+
export declare function apiGetByCentro(centro: any, deposito: any): Promise<unknown>;
|
|
2
2
|
//# sourceMappingURL=BalancaService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalancaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/Ticket/Automacao/BalancaService.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,CAAC,MAAM,KAAA,
|
|
1
|
+
{"version":3,"file":"BalancaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/Ticket/Automacao/BalancaService.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,CAAC,MAAM,KAAA,EAAE,QAAQ,KAAA,oBAKpD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import balancaEndpointConfig from "../../../../configs/endpoints.config/Ticket/Automacao/balanca.endpoint.config.js";
|
|
2
2
|
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
-
async function apiGetByCentro(centro) {
|
|
3
|
+
async function apiGetByCentro(centro, deposito) {
|
|
4
4
|
return ApiService.fetchDataWithAxios({
|
|
5
|
-
url: balancaEndpointConfig.getByCentro + centro
|
|
5
|
+
url: balancaEndpointConfig.getByCentro + `${centro}/${deposito}`,
|
|
6
6
|
method: "get"
|
|
7
7
|
});
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalancaService.js","sources":["../../../../../../lib/base/services/modules/Ticket/Automacao/BalancaService.ts"],"sourcesContent":["import balancaEndpointConfig from '@base/configs/endpoints.config/Ticket/Automacao/balanca.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetByCentro(centro) {\n return ApiService.fetchDataWithAxios({\n url: balancaEndpointConfig.getByCentro + centro
|
|
1
|
+
{"version":3,"file":"BalancaService.js","sources":["../../../../../../lib/base/services/modules/Ticket/Automacao/BalancaService.ts"],"sourcesContent":["import balancaEndpointConfig from '@base/configs/endpoints.config/Ticket/Automacao/balanca.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetByCentro(centro, deposito) {\n return ApiService.fetchDataWithAxios({\n url: balancaEndpointConfig.getByCentro + `${centro}/${deposito}`,\n method: 'get',\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,eAAe,QAAQ,UAAU;AACnD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,sBAAsB,cAAc,GAAG,MAAM,IAAI,QAAQ;AAAA,IAC9D,QAAQ;AAAA,EAAA,CACX;AACL;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import balancaEndpointConfig from '@base/configs/endpoints.config/Ticket/Automacao/balanca.endpoint.config'
|
|
2
2
|
import ApiService from '@/services/ApiService'
|
|
3
3
|
|
|
4
|
-
export async function apiGetByCentro(centro) {
|
|
4
|
+
export async function apiGetByCentro(centro, deposito) {
|
|
5
5
|
return ApiService.fetchDataWithAxios({
|
|
6
|
-
url: balancaEndpointConfig.getByCentro + centro
|
|
6
|
+
url: balancaEndpointConfig.getByCentro + `${centro}/${deposito}`,
|
|
7
7
|
method: 'get',
|
|
8
8
|
})
|
|
9
9
|
}
|
package/package.json
CHANGED