@tagsamurai/gsts-api-services 1.1.0-alpha.22 → 1.1.0-alpha.23
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/api-services.es.js
CHANGED
|
@@ -148,7 +148,10 @@ const C = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
|
|
|
148
148
|
const e = { id: JSON.stringify(t) };
|
|
149
149
|
return d.delete("", { params: e });
|
|
150
150
|
},
|
|
151
|
-
|
|
151
|
+
getAvailableDivision: (t) => {
|
|
152
|
+
const e = { name: t };
|
|
153
|
+
return d.get("/available", { params: e });
|
|
154
|
+
}
|
|
152
155
|
}, g = a({
|
|
153
156
|
prefix: "/global-settings"
|
|
154
157
|
}), q = {
|
|
@@ -242,7 +245,10 @@ const C = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
|
|
|
242
245
|
const e = { id: JSON.stringify(t) };
|
|
243
246
|
return f.delete("", { params: e });
|
|
244
247
|
},
|
|
245
|
-
|
|
248
|
+
getAvailablePosition: (t) => {
|
|
249
|
+
const e = { name: t };
|
|
250
|
+
return f.get("/available", { params: e });
|
|
251
|
+
}
|
|
246
252
|
}, N = a({
|
|
247
253
|
prefix: "/fam/tag/v2"
|
|
248
254
|
}), K = {
|
package/package.json
CHANGED
|
@@ -9,8 +9,6 @@ declare const DivisionServices: {
|
|
|
9
9
|
postCreateDivision: (body: CreateEditMasterDataBody) => Promise<AxiosResponse>;
|
|
10
10
|
putEditDivision: (id: string, body: CreateEditMasterDataBody) => Promise<AxiosResponse>;
|
|
11
11
|
deleteDivisions: (ids: string[]) => Promise<AxiosResponse>;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
}) => Promise<AxiosResponse>;
|
|
12
|
+
getAvailableDivision: (name: string) => Promise<AxiosResponse>;
|
|
15
13
|
};
|
|
16
14
|
export default DivisionServices;
|
|
@@ -9,8 +9,6 @@ declare const PositionServices: {
|
|
|
9
9
|
postCreatePosition: (body: CreateEditMasterDataBody) => Promise<AxiosResponse>;
|
|
10
10
|
putEditPosition: (id: string, body: CreateEditMasterDataBody) => Promise<AxiosResponse>;
|
|
11
11
|
deletePositions: (ids: string[]) => Promise<AxiosResponse>;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
}) => Promise<AxiosResponse>;
|
|
12
|
+
getAvailablePosition: (name: string) => Promise<AxiosResponse>;
|
|
15
13
|
};
|
|
16
14
|
export default PositionServices;
|