@tagsamurai/fats-api-services 1.0.0-alpha.55 → 1.0.0-alpha.57

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.
@@ -1,16 +1,16 @@
1
- import E from "axios";
2
- const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_ADMIN_API: "https://dev-admin-api.tagsamurai.com", VITE_APP_API: "https://dev-api.tagsamurai.com", VITE_APP_ASSETS_URL: "https://assets.tagsamurai.com", VITE_APP_COUNTRY_STATE_API: "https://api.countrystatecity.in", VITE_APP_COUNTRY_STATE_API_KEY: "ZTc5TVc2STlwTkFFNFltYTRjc05sOHR3ODJEYzVMVTZ5UnBJaWU5SA==", VITE_APP_GLOBAL_SETTINGS_API: "https://dev-api.global-settings.tagsamurai.com", VITE_APP_LOGS_NOTIFICATION_API: "https://dev-api-logs-notification.tagsamurai.com", VITE_APP_TAGSAMURAI_API: "https://dev-api.tagsamurai.com" }, S = (t = "APP_API") => k["VITE_" + t], s = (t = {}, e = !1) => {
3
- const { env: r = "APP_API", prefix: i = "", headers: $ = {}, ...y } = t, x = `${S(r)}${i}`, G = JSON.parse(localStorage.getItem("user") ?? "{}"), N = G.jwt ?? G.token ?? "";
4
- return E.create({
5
- ...y,
6
- baseURL: x,
7
- headers: e ? $ : {
1
+ import x from "axios";
2
+ const w = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_ADMIN_API: "https://dev-admin-api.tagsamurai.com", VITE_APP_API: "https://dev-api.tagsamurai.com", VITE_APP_ASSETS_URL: "https://assets.tagsamurai.com", VITE_APP_COUNTRY_STATE_API: "https://api.countrystatecity.in", VITE_APP_COUNTRY_STATE_API_KEY: "ZTc5TVc2STlwTkFFNFltYTRjc05sOHR3ODJEYzVMVTZ5UnBJaWU5SA==", VITE_APP_GLOBAL_SETTINGS_API: "https://dev-api.global-settings.tagsamurai.com", VITE_APP_LOGS_NOTIFICATION_API: "https://dev-api-logs-notification.tagsamurai.com", VITE_APP_TAGSAMURAI_API: "https://dev-api.tagsamurai.com" }, y = (t = "APP_API") => w["VITE_" + t], n = (t = {}, e = !1) => {
3
+ const { env: r = "APP_API", prefix: i = "", headers: v = {}, ...f } = t, N = `${y(r)}${i}`, b = JSON.parse(localStorage.getItem("user") ?? "{}"), k = b.jwt ?? b.token ?? "";
4
+ return x.create({
5
+ ...f,
6
+ baseURL: N,
7
+ headers: e ? v : {
8
8
  "Content-Type": "application/json",
9
- Authorization: `Bearer ${N}`,
10
- ...$
9
+ Authorization: `Bearer ${k}`,
10
+ ...v
11
11
  }
12
12
  });
13
- }, Y = (t) => {
13
+ }, Q = (t) => {
14
14
  if (!t || typeof t == "string")
15
15
  return;
16
16
  const e = {};
@@ -21,176 +21,180 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
21
21
  [r]: t[r]
22
22
  });
23
23
  }), e;
24
- }, Q = (t, e, r) => {
24
+ }, J = (t, e, r) => {
25
25
  if (!t) return;
26
- const i = S("APP_API"), $ = t.startsWith("http") ? t : `${i}/utility/v2/files/${t.replace(/^\/+/, "")}`;
26
+ const i = y("APP_API"), v = t.startsWith("http") ? t : `${i}/utility/v2/files/${t.replace(/^\/+/, "")}`;
27
27
  if (e || r) {
28
- const y = new URLSearchParams();
29
- return e && (y.set("width", e.toString()), y.set("height", r ? r == null ? void 0 : r.toString() : e.toString())), `${$}?${y.toString()}`;
28
+ const f = new URLSearchParams();
29
+ return e && (f.set("width", e.toString()), f.set("height", r ? r == null ? void 0 : r.toString() : e.toString())), `${v}?${f.toString()}`;
30
30
  }
31
- return $;
32
- }, J = (t) => {
31
+ return v;
32
+ }, H = (t) => {
33
33
  if (!t) return;
34
- const e = S("APP_TAGSAMURAI_API");
34
+ const e = y("APP_TAGSAMURAI_API");
35
35
  return t.startsWith("http") ? t : `${e}/file-manager/v2/files/${t}`;
36
- }, H = async (t, e = "excel") => await fetch(
37
- `${S("APP_ASSETS_URL")}/${e}/${t}`
38
- ), c = s({
36
+ }, K = async (t, e = "excel") => await fetch(
37
+ `${y("APP_ASSETS_URL")}/${e}/${t}`
38
+ ), p = n({
39
39
  prefix: "/settings-attribute/v2",
40
40
  env: "APP_TAGSAMURAI_API"
41
- }), K = {
41
+ }), W = {
42
42
  getGroupCategory: (t, e) => {
43
43
  const r = t === "category" ? t : "groups";
44
- return c.get(`/${r}/tree`, { params: e });
44
+ return p.get(`/${r}/tree`, { params: e });
45
45
  },
46
46
  getGroupCategoryList: (t, e, r) => {
47
47
  const i = t === "category" ? t : "groups";
48
- return c.get(`/${i}/${e}`, { params: r });
48
+ return p.get(`/${i}/${e}`, { params: r });
49
49
  },
50
50
  getNames: (t) => {
51
51
  const e = t === "category" ? t : "groups";
52
- return c.get(`/${e}/names`);
52
+ return p.get(`/${e}/names`);
53
53
  },
54
54
  getCodes: (t) => {
55
55
  const e = t === "category" ? t : "groups";
56
- return c.get(`/${e}/codes`);
56
+ return p.get(`/${e}/codes`);
57
57
  },
58
58
  postCreateGroupCategory: (t, e) => {
59
59
  const r = t === "category" ? t : "groups";
60
- return c.post(`/${r}`, e);
60
+ return p.post(`/${r}`, e);
61
61
  },
62
62
  putEditGroupCategory: (t, e, r) => {
63
63
  const i = t === "category" ? t : "groups";
64
- return c.put(`/${i}/${r}`, e);
64
+ return p.put(`/${i}/${r}`, e);
65
65
  },
66
- putMoveGroup: (t, e) => c.put(`/groups/${e}/move-group`, t),
67
- putEditBulkGroups: async (t) => c.put("/groups/bulk", t),
66
+ putMoveGroup: (t, e) => p.put(`/groups/${e}/move-group`, t),
67
+ putEditBulkGroups: async (t) => p.put("/groups/bulk", t),
68
68
  deleteGroupCategory: (t, e, r) => {
69
69
  const i = t === "category" ? t : "groups";
70
- return c.delete(`/${i}/${r}`, { data: e });
70
+ return p.delete(`/${i}/${r}`, { data: e });
71
71
  }
72
- }, l = s({
72
+ }, d = n({
73
73
  prefix: "/settings-attribute-go/v2"
74
- }), W = {
74
+ }), z = {
75
75
  getGroupCategory: (t, e) => {
76
76
  const r = t === "category" ? t : "groups";
77
- return l.get(`/${r}/tree`, { params: e });
77
+ return d.get(`/${r}/tree`, { params: e });
78
78
  },
79
79
  getGroupCategoryList: (t, e) => {
80
80
  const r = t === "category" ? t : "groups";
81
- return l.get(`/${r}/${e}`);
81
+ return d.get(`/${r}/${e}`);
82
82
  },
83
83
  getNames: (t) => {
84
84
  const e = t === "category" ? t : "groups";
85
- return l.get(`/${e}/names`);
85
+ return d.get(`/${e}/names`);
86
86
  },
87
87
  getCodes: (t) => {
88
88
  const e = t === "category" ? t : "groups";
89
- return l.get(`/${e}/codes`);
89
+ return d.get(`/${e}/codes`);
90
90
  },
91
91
  postCreateGroupCategory: (t, e) => {
92
92
  const r = t === "category" ? t : "groups";
93
- return l.post(`/${r}`, e);
93
+ return d.post(`/${r}`, e);
94
94
  },
95
95
  putEditGroupCategory: (t, e, r) => {
96
96
  const i = t === "category" ? t : "groups";
97
- return l.put(`/${i}/${r}`, e);
97
+ return d.put(`/${i}/${r}`, e);
98
98
  },
99
99
  deleteGroupCategory: (t, e, r) => {
100
100
  const i = t === "category" ? t : "groups";
101
- return l.delete(`/${i}/${r}`, { data: e });
101
+ return d.delete(`/${i}/${r}`, { data: e });
102
102
  }
103
- }, M = s({
103
+ }, B = n({
104
104
  prefix: "/v2",
105
105
  env: "APP_LOGS_NOTIFICATION_API"
106
- }), z = {
107
- getTotalApprovals: () => M.get("/approval/count")
108
- }, f = s({
106
+ }), Z = {
107
+ getTotalApprovals: () => B.get("/approval/count")
108
+ }, C = n({
109
109
  prefix: "/v2",
110
110
  env: "APP_LOGS_NOTIFICATION_API"
111
- }), Z = {
112
- getActionLog: (t) => f.get("/change-log", { params: t }),
113
- getActionLogOption: (t) => f.get("/change-log/options", { params: t }),
114
- getSessionLogList: (t) => f.get("/session-log", { params: t }),
115
- getUserDetailSystemLogList: (t) => f.get("/change-log", { params: t }),
116
- getUserDetailSystemLogOption: (t) => f.get("/change-log/options", { params: t })
117
- }, u = s({
118
- prefix: "/assets/v2/assets"
119
111
  }), X = {
120
- getScanTag: (t) => u.get("/scan", { params: { tag: t } }),
121
- getAllAssets: (t) => u.get("/", { params: t }),
122
- getAvailableAssets: (t) => u.get("/available", { params: t }),
123
- scanAsset: (t) => u.get("", { params: { tag: t } }),
124
- getAssetsById: (t, e) => u.get("/by-id", { params: { _id: t, ...e } }),
125
- getOptions: (t, e) => u.get(t ? `/${t}/options` : "/options", { params: e }),
126
- getUnlinkedAssets: (t) => u.get("/unlinked", { params: t }),
127
- getAssetDetail: (t, e) => u.get(`/${t}`, { params: e }),
128
- getLinkedAssetFamily: (t) => u.get("/family", { params: { id: t } }),
112
+ getActionLog: (t) => C.get("/change-log", { params: t }),
113
+ getActionLogOption: (t) => C.get("/change-log/options", { params: t }),
114
+ getSessionLogList: (t) => C.get("/session-log", { params: t }),
115
+ getUserDetailSystemLogList: (t) => C.get("/change-log", { params: t }),
116
+ getUserDetailSystemLogOption: (t) => C.get("/change-log/options", { params: t })
117
+ }, g = n({
118
+ prefix: "/assets/v2/assets"
119
+ }), tt = {
120
+ getScanTag: (t) => g.get("/scan", { params: { tag: t } }),
121
+ getAllAssets: (t) => g.get("/", { params: t }),
122
+ getAvailableAssets: (t) => g.get("/available", { params: t }),
123
+ scanAsset: (t) => g.get("", { params: { tag: t } }),
124
+ getAssetsById: (t, e) => g.get("/by-id", { params: { _id: t, ...e } }),
125
+ getOptions: (t, e) => g.get(t ? `/${t}/options` : "/options", { params: e }),
126
+ getUnlinkedAssets: (t) => g.get("/unlinked", { params: t }),
127
+ getAssetDetail: (t, e) => g.get(`/${t}`, { params: e }),
128
+ getLinkedAssetFamily: (t) => g.get("/family", { params: { id: t } }),
129
129
  matchAssetWithTag: (t, e) => {
130
130
  const r = {
131
131
  _id: JSON.stringify([t]),
132
132
  tag: e
133
133
  };
134
- return u.get("/by-id", { params: r });
134
+ return g.get("/by-id", { params: r });
135
135
  }
136
- }, w = s({
136
+ }, M = n({
137
137
  prefix: "/tracking/v2/missing"
138
- }), tt = {
138
+ }), et = {
139
139
  putFoundAsset: (t, e) => {
140
140
  const r = { ids: [t], serialNumber: e };
141
- return w.put("/found", r);
141
+ return M.put("/found", r);
142
142
  }
143
- }, R = s({
143
+ }, R = n({
144
144
  prefix: "/v2/notification",
145
145
  env: "APP_LOGS_NOTIFICATION_API"
146
- }), et = {
146
+ }), rt = {
147
147
  getNotifications: (t) => R.get("/", { params: t }),
148
148
  readNotification: (t) => R.put(`/${t}`)
149
- }, F = s({
149
+ }, D = n({
150
150
  prefix: "/utility/v2/notification"
151
- }), rt = {
152
- getNotifications: (t) => F.get("/", { params: t }),
153
- readNotification: (t) => F.put(`/${t}`)
154
- }, q = s({
151
+ }), st = {
152
+ getNotifications: (t) => D.get("/", { params: t }),
153
+ readNotification: (t) => D.put(`/${t}`)
154
+ }, q = n({
155
155
  prefix: "/v2/session-log",
156
156
  env: "APP_LOGS_NOTIFICATION_API"
157
- }), st = {
157
+ }), nt = {
158
158
  postLogout: () => q.post("/logout")
159
- }, n = s({
159
+ }, o = n({
160
160
  prefix: "/tag/v2"
161
- }), nt = {
162
- getScanQR: (t) => n.get("/qr", { params: { tag: t } }),
163
- getScanRFID: (t) => n.get("/rfid", { params: { tag: t } }),
164
- getRFIDQRTAG: (t) => n.get("/rfid-qr/scan", { params: t }),
165
- getEventLog: (t) => n.get("/tag-transaction/event-log", { params: t }),
161
+ }), ot = {
162
+ getScanQR: (t) => o.get("/qr", { params: { tag: t } }),
163
+ getScanRFID: (t) => o.get("/rfid", { params: { tag: t } }),
164
+ getRFIDQRTAG: (t) => o.get("/rfid-qr/scan", { params: t }),
165
+ getEventLog: (t) => o.get("/tag-transaction/event-log", { params: t }),
166
166
  // Tab All
167
- getRfidQrAll: (t, e) => n.get(`/${t}`, { params: e }),
167
+ getRfidQrAll: (t, e) => o.get(`/${t}`, { params: e }),
168
168
  // Tab Paired
169
- getRfidQrPaired: (t, e, r) => n.get(`/${t}/paired/${e}`, { params: r }),
170
- postAddTAGtoPrelist: (t, e) => n.post(`/prelist/${e}/asset-name`, { body: t }),
171
- postAddTAGToPrelistUnpair: (t) => n.post("/prelist/unpair-tag", { body: t }),
172
- postAddTAGtoPending: (t) => n.post("/pending-changes", { body: t }),
169
+ getRfidQrPaired: (t, e, r) => o.get(`/${t}/paired/${e}`, { params: r }),
170
+ postAddTAGtoPrelist: (t, e) => o.post(`/prelist/${e}/asset-name`, { body: t }),
171
+ postAddTAGToPrelistUnpair: (t) => o.post("/prelist/unpair-tag", { body: t }),
172
+ postAddTAGtoPending: (t) => o.post("/pending-changes", { body: t }),
173
173
  // Available Tab
174
- getRFIDQrAvailable: (t, e) => n.get(`/${t}/available`, { params: e }),
174
+ getRFIDQrAvailable: (t, e) => o.get(`/${t}/available`, { params: e }),
175
175
  // Damaged TAB
176
- getRFIDQrDamaged: (t, e) => n.get(`/${t}/damaged`, { params: e }),
176
+ getRFIDQrDamaged: (t, e) => o.get(`/${t}/damaged`, { params: e }),
177
177
  // RFID and QR Module
178
- getRFIDandQRList: (t) => n.get("/rfid-qr", { params: t }),
179
- deleteUnpairTAG: (t) => n.delete("/rfid-qr", { data: { data: t } }),
180
- postPairTAG: (t) => n.post("/rfid-qr", { body: { data: t } }),
178
+ getRFIDandQRList: (t) => o.get("/rfid-qr", { params: t }),
179
+ deleteUnpairTAG: (t) => o.delete("/rfid-qr", { data: { data: t } }),
180
+ postPairTAG: (t) => o.post("/rfid-qr", { body: { data: t } }),
181
181
  // RFID To Be Returned
182
- getToBeReturnedTAGList: (t) => n.get("/rfid/to-be-returned", { params: t }),
182
+ getToBeReturnedTAGList: (t) => o.get("/rfid/to-be-returned", { params: t }),
183
183
  // Handover TAG
184
- putHandoverTAG: (t) => n.put("/rfid/handover", { body: { data: t } }),
184
+ putHandoverTAG: (t) => o.put("/rfid/handover", { body: { data: t } }),
185
185
  // Table Filter
186
- getFilterOptions: (t, e) => n.get(`/${t}/options`, { params: e }),
187
- getHolderListOptions: (t) => n.get("/rfid/holder-list/options", { params: t }),
188
- getHolderList: (t) => n.get("/rfid/holder-list", { params: t }),
189
- putAuditTAG: (t, e) => n.put(`/${e}/audit`, { body: t }),
190
- postLogAudit: (t) => n.post("/tag-transaction/log-audit", { body: t })
191
- }, B = s({
186
+ getFilterOptions: (t, e) => o.get(`/${t}/options`, { params: e }),
187
+ getHolderListOptions: (t) => o.get("/rfid/holder-list/options", { params: t }),
188
+ getHolderList: (t) => o.get("/rfid/holder-list", { params: t }),
189
+ putAuditTAG: (t, e) => o.put(`/${e}/audit`, { body: t }),
190
+ postLogAudit: (t) => o.post("/tag-transaction/log-audit", { body: t }),
191
+ postCreateQr: (t) => {
192
+ const e = { amount: t };
193
+ return o.post("/qr", { body: e });
194
+ }
195
+ }, V = n({
192
196
  prefix: "/tracking/v2/tracking"
193
- }), ot = {
197
+ }), it = {
194
198
  putFoundAsset: (t, e, r) => {
195
199
  const i = {
196
200
  tag: t,
@@ -198,27 +202,29 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
198
202
  serialNumber: r,
199
203
  type: "Global"
200
204
  };
201
- return B.put("/found", { params: i });
205
+ return V.put("/found", { params: i });
202
206
  }
203
- }, o = s({
207
+ }, s = n({
204
208
  prefix: "/settings-user-role/v2"
205
- }), it = {
206
- reLogin: (t) => o.post("/auth/login", t),
207
- changePassword: (t) => o.put("/users/change-password", t),
209
+ }), at = {
210
+ reLogin: (t) => s.post("/auth/login", t),
211
+ changePassword: (t) => s.put("/users/change-password", t),
208
212
  /**
209
213
  * Retrieves the user list as dropdown options.
210
214
  * @returns {Promise<AxiosResponse>} - A promise that resolves to the response from the API.
211
215
  */
212
- getUserDropdown: (t) => o.get("/users/dropdown", { params: t }),
213
- getUserOptions: (t) => o.get("/users/options", { params: t }),
214
- getUserList: (t) => o.get("/users", { params: t }),
215
- getUserDetail: (t) => o.get(`/users/${t}`),
216
+ getUserDropdown: (t) => s.get("/users/dropdown", { params: t }),
217
+ getUserOptions: (t) => s.get("/users/options", { params: t }),
218
+ getUserList: (t) => s.get("/users", { params: t }),
219
+ getUserDetail: (t) => s.get(`/users/${t}`),
216
220
  putEditUser: (t, e) => {
217
221
  const r = { "Content-Type": "multipart/form-data" };
218
- return o.put(`/users/${t}`, e, { headers: r });
222
+ return s.put(`/users/${t}`, e, { headers: r });
219
223
  },
220
- putDeleteProfilePicture: (t) => o.put(`/users/${t}/delete-profile-picture`),
221
- putCancelEmailChange: (t, e) => o.put("/auth/confirm-email-change/cancel", {
224
+ putSetActiveBulk: (t) => s.put("/users/set-active-bulk", t),
225
+ deleteUser: (t) => s.delete("/users/bulk", { data: { userIds: t } }),
226
+ putDeleteProfilePicture: (t) => s.put(`/users/${t}/delete-profile-picture`),
227
+ putCancelEmailChange: (t, e) => s.put("/auth/confirm-email-change/cancel", {
222
228
  user: t,
223
229
  companyCode: e
224
230
  }),
@@ -228,39 +234,83 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
228
234
  * @param type {"Global" | "Group"} Whether the system role's type is global or group
229
235
  * @param params {Record<string, unknown>}
230
236
  */
231
- getUserDetailSystemRoles: (t, e, r) => o.get(`/user-detail/${t}/system-roles`, {
237
+ getUserDetailSystemRoles: (t, e, r) => s.get(`/user-detail/${t}/system-roles`, {
232
238
  params: {
233
239
  ...r,
234
240
  type: e
235
241
  }
236
242
  }),
237
243
  // User Detail
238
- getUserDetailSystemRoleList: (t, e) => o.get(`/user-detail/${t}/system-role-list`, { params: e }),
239
- getUserDetailSystemRoleOptions: (t, e) => o.get(`/user-detail/${t}/system-role/option`, { params: e }),
240
- getUserDetailTransactionRoleList: (t, e) => o.get(`/user-detail/${t}/transaction-role-list`, { params: e }),
241
- getUserDetailUserLogBorrowingList: (t, e) => o.get(`/users-log/${t}/borrowing`, { params: e }),
242
- getUserDetailUserLogAssignmentList: (t, e) => o.get(`/users-log/${t}/assignment`, { params: e }),
243
- getUserDetailUserLogBorrowingOption: (t, e) => o.get(`/users-log/${t}/borrowing/option`, { params: e }),
244
- getUserDetailUserLogAssignmentOption: (t, e) => o.get(`/users-log/${t}/assignment/option`, { params: e }),
245
- getUserDetailTransactionAdminLogList: (t, e) => o.get(`/users-log/${t}/transaction-log`, { params: e }),
246
- getUserDetailTransactionAdminLogOption: (t, e) => o.get(`/users-log/${t}/transaction-log/option`, { params: e })
247
- }, _ = s({
244
+ getUserDetailSystemRoleList: (t, e) => s.get(`/user-detail/${t}/system-role-list`, { params: e }),
245
+ getUserDetailSystemRoleOptions: (t, e) => s.get(`/user-detail/${t}/system-role/option`, { params: e }),
246
+ getUserDetailTransactionRoleList: (t, e) => s.get(`/user-detail/${t}/transaction-role-list`, { params: e }),
247
+ putUserDetailTransactionRoleSetActiveStatus: (t, e) => s.put(
248
+ `/user-detail/${t}/transaction-role/set-active-status`,
249
+ e
250
+ ),
251
+ postUserDetailAddTransactionRole: (t, e) => s.post(`/user-detail/${t}/add-transaction-role`, e),
252
+ deleteUserDetailTransactionRole: (t, e) => s.delete(`/user-detail/${t}/delete-transaction-role`, {
253
+ data: e
254
+ }),
255
+ putUserDetailEditTransactionRole: (t, e) => s.put(`/user-detail/${t}/edit-transaction-role`, e),
256
+ postAddSystemRoleBulk: (t, e) => s.post(`/user-detail/${t}/add-system-role`, e),
257
+ putAssignGroup: (t, e, r) => s.put(`/user-detail/${r}/system-roles/${e}`, t),
258
+ putEditPermissionEachGroup: (t, e, r, i) => s.put(
259
+ `/user-detail/${r}/system-roles/${e}/${i}`,
260
+ t
261
+ ),
262
+ putSetActiveEachGroup: (t, e, r) => s.put(
263
+ `/user-detail/${r}/system-roles/${e}/is-active`,
264
+ t
265
+ ),
266
+ deleteRemoveGroup: (t, e) => s.delete(`/user-detail/${e}/system-roles`, {
267
+ data: t
268
+ }),
269
+ getUserDetailUserLogBorrowingList: (t, e) => s.get(`/users-log/${t}/borrowing`, { params: e }),
270
+ getUserDetailUserLogAssignmentList: (t, e) => s.get(`/users-log/${t}/assignment`, { params: e }),
271
+ getUserDetailUserLogBorrowingOption: (t, e) => s.get(`/users-log/${t}/borrowing/option`, { params: e }),
272
+ getUserDetailUserLogAssignmentOption: (t, e) => s.get(`/users-log/${t}/assignment/option`, { params: e }),
273
+ getUserDetailTransactionAdminLogList: (t, e) => s.get(`/users-log/${t}/transaction-log`, { params: e }),
274
+ getUserDetailTransactionAdminLogOption: (t, e) => s.get(`/users-log/${t}/transaction-log/option`, { params: e }),
275
+ getUserDetailUserAssetBorrowedList: (t, e) => s.get(`/user-detail/${t}/assets/borrowed`, { params: e }),
276
+ getUserDetailUserAssetAssignedList: (t, e) => s.get(`/user-detail/${t}/assets/assigned`, { params: e }),
277
+ getUserDetailUserAssetBorrowedOption: (t, e) => s.get(`/user-detail/${t}/assets/borrowed/option`, { params: e }),
278
+ getUserDetailUserAssetAssignedOption: (t, e) => s.get(`/user-detail/${t}/assets/assigned/option`, { params: e })
279
+ }, c = n({
280
+ prefix: "/settings-user-role/v2/sub-users"
281
+ }), ut = {
282
+ // Sub User
283
+ getSubUserList: (t, e) => c.get(`/${t}`, { params: e }),
284
+ getSubUserOptions: (t, e) => c.get(`/${t}/option`, { params: e }),
285
+ postCreateSubUser: (t, e) => {
286
+ const r = { "Content-Type": "multipart/form-data" };
287
+ return c.post(`sub-users/${t}`, e, { headers: r });
288
+ },
289
+ putSubUserSetActiveBulk: (t) => c.put("/set-active-bulk", t),
290
+ deleteSubUser: (t) => c.delete("/bulk", { data: { subUserIds: t } }),
291
+ putEditSubUser: (t, e) => {
292
+ const r = { "Content-Type": "multipart/form-data" };
293
+ return c.put(`/${t}`, e, { headers: r });
294
+ },
295
+ getBorrowedAsset: (t, e) => c.get(`/sub-users/${t}/borrowed-asset`, { params: e }),
296
+ getBorrowedAssetOptions: (t, e) => c.get(`/sub-users/${t}/borrowed-asset/options`, { params: e })
297
+ }, T = n({
248
298
  env: "APP_ADMIN_API",
249
299
  prefix: "/settings-attribute/languages"
250
- }), at = {
300
+ }), gt = {
251
301
  /**
252
302
  * Fetch all translation messages for a specific locale.
253
303
  * @param locale The locale code (e.g., 'en', 'id').
254
304
  * @returns A promise resolving to a key-value record of messages.
255
305
  */
256
- getMessages: (t) => _.get(`/${t}/translations`),
306
+ getMessages: (t) => T.get(`/${t}/translations`),
257
307
  /**
258
308
  * Fetch all available lang options for LanguageDropdown and LanguageSwitcher
259
309
  *
260
310
  * @returns Promise Array of options
261
311
  */
262
312
  getLanguageOptions: async () => {
263
- const { data: t } = await _.get(
313
+ const { data: t } = await T.get(
264
314
  "/dropdown"
265
315
  );
266
316
  return t.data;
@@ -272,7 +322,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
272
322
  * @returns Promise LanguageMeta
273
323
  */
274
324
  getLanguageOptionMeta: async (t) => {
275
- const { data: e } = await _.get(
325
+ const { data: e } = await T.get(
276
326
  "/dropdown/" + t
277
327
  );
278
328
  return e.data;
@@ -284,60 +334,60 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
284
334
  * @param locale Target locale code.
285
335
  */
286
336
  translateText: async (t, e) => {
287
- const { data: r } = await _.post("/translate", {
337
+ const { data: r } = await T.post("/translate", {
288
338
  q: t,
289
339
  target: e
290
340
  });
291
341
  return r.data.translations[t];
292
342
  }
293
- }, b = s({
343
+ }, h = n({
294
344
  prefix: "/dashboard/v2/dashboard"
295
- }), gt = {
296
- getLatestTask: (t) => b.get("/latest-task", { params: t }),
297
- getSummary: (t) => b.get("/summary", { params: t })
298
- }, L = s({
345
+ }), pt = {
346
+ getLatestTask: (t) => h.get("/latest-task", { params: t }),
347
+ getSummary: (t) => h.get("/summary", { params: t })
348
+ }, L = n({
299
349
  prefix: "/alias-code/api/alias-code"
300
- }), ut = {
350
+ }), ct = {
301
351
  getAliasCode: () => L.get("/"),
302
352
  postAliasCode: (t) => L.post("/", t),
303
353
  getAliasCodeList: (t) => L.get(`/${t.object}/code-list`, { params: t })
304
- }, O = s({
354
+ }, O = n({
305
355
  prefix: "/settings-attribute-go/v2/alias-code"
306
- }), ct = {
356
+ }), lt = {
307
357
  getAliasCode: () => O.get("/"),
308
358
  postAliasCode: (t) => O.post("/", t),
309
359
  getAliasCodeList: (t) => O.get(`/${t.object}/code-list`, { params: t })
310
- }, D = s({
360
+ }, E = n({
311
361
  prefix: "/settings-attribute/v2/general-settings"
312
- }), pt = {
313
- getGeneralSettings: () => D.get("/"),
314
- putUpdateGeneralSettings: (t) => D.put("/", t)
315
- }, h = s({
362
+ }), dt = {
363
+ getGeneralSettings: () => E.get("/"),
364
+ putUpdateGeneralSettings: (t) => E.put("/", t)
365
+ }, F = n({
316
366
  prefix: "/settings-attribute-go/v2/general-settings"
317
- }), lt = {
318
- getGeneralSettings: () => h.get("/"),
319
- putUpdateGeneralSettings: (t) => h.put("/", t)
320
- }, v = s({
367
+ }), At = {
368
+ getGeneralSettings: () => F.get("/"),
369
+ putUpdateGeneralSettings: (t) => F.put("/", t)
370
+ }, m = n({
321
371
  prefix: "/settings-attribute/v2/custom-field"
322
- }), dt = {
323
- getCustomField: async (t) => v.get("/", { params: t }),
324
- getOptions: async (t) => v.get("/options", { params: t }),
325
- postCreateCustomField: async (t, e) => v.post("/", e, { params: t }),
326
- putEditCustomField: async (t, e, r) => v.put(`/${r}`, e, { params: t }),
327
- putChangeStatus: async (t, e) => v.put("/bulk", e, { params: t }),
328
- deleteCustomField: async (t) => v.delete("/bulk", { data: t })
329
- }, I = s({
372
+ }), $t = {
373
+ getCustomField: async (t) => m.get("/", { params: t }),
374
+ getOptions: async (t) => m.get("/options", { params: t }),
375
+ postCreateCustomField: async (t, e) => m.post("/", e, { params: t }),
376
+ putEditCustomField: async (t, e, r) => m.put(`/${r}`, e, { params: t }),
377
+ putChangeStatus: async (t, e) => m.put("/bulk", e, { params: t }),
378
+ deleteCustomField: async (t) => m.delete("/bulk", { data: t })
379
+ }, S = n({
330
380
  prefix: "/settings-attribute-go/v2/custom-field"
331
- }), At = {
332
- getCustomField: async (t) => I.get("/", { params: t }),
333
- getOptions: async (t) => I.get("/options", { params: t }),
334
- postCreateCustomField: async (t, e) => I.post("/", e, { params: t }),
335
- putEditCustomField: async (t, e, r) => I.put(`/${r}`, e, { params: t }),
336
- putChangeStatus: async (t, e) => I.put("/bulk", e, { params: t }),
337
- deleteCustomField: async (t) => I.delete("/bulk", { params: t })
338
- }, U = ({ headers: t = {}, params: e = {} } = {}) => {
339
- const r = S("APP_COUNTRY_STATE_API"), i = S("APP_COUNTRY_STATE_API_KEY");
340
- return E.create({
381
+ }), vt = {
382
+ getCustomField: async (t) => S.get("/", { params: t }),
383
+ getOptions: async (t) => S.get("/options", { params: t }),
384
+ postCreateCustomField: async (t, e) => S.post("/", e, { params: t }),
385
+ putEditCustomField: async (t, e, r) => S.put(`/${r}`, e, { params: t }),
386
+ putChangeStatus: async (t, e) => S.put("/bulk", e, { params: t }),
387
+ deleteCustomField: async (t) => S.delete("/bulk", { params: t })
388
+ }, G = ({ headers: t = {}, params: e = {} } = {}) => {
389
+ const r = y("APP_COUNTRY_STATE_API"), i = y("APP_COUNTRY_STATE_API_KEY");
390
+ return x.create({
341
391
  baseURL: `${r}/v1`,
342
392
  headers: {
343
393
  "Content-type": "application/json",
@@ -346,30 +396,30 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
346
396
  },
347
397
  params: e
348
398
  });
349
- }, $t = {
350
- getCountry: () => U().get("/countries"),
351
- getState: (t) => U().get(`/countries/${t}/states`),
352
- getCity: (t, e) => U().get(`/countries/${t}/states/${e}/cities`)
353
- }, g = s({
399
+ }, mt = {
400
+ getCountry: () => G().get("/countries"),
401
+ getState: (t) => G().get(`/countries/${t}/states`),
402
+ getCity: (t, e) => G().get(`/countries/${t}/states/${e}/cities`)
403
+ }, u = n({
354
404
  prefix: "/routine/v2"
355
- }), vt = {
356
- getList: (t) => g.get("/service-center", { params: t }),
357
- postList: (t) => g.post("/service-center", t),
358
- putList: (t, e) => g.put(`/service-center/${t}`, e),
359
- putActivate: (t) => g.put("/service-center/bulk", t),
360
- getDetailList: (t) => g.get(`/service-center/${t}`),
361
- getListOptions: (t) => g.get("/service-center/options", { params: t }),
362
- deleteList: (t) => g.delete("/service-center", { params: t }),
405
+ }), St = {
406
+ getList: (t) => u.get("/service-center", { params: t }),
407
+ postList: (t) => u.post("/service-center", t),
408
+ putList: (t, e) => u.put(`/service-center/${t}`, e),
409
+ putActivate: (t) => u.put("/service-center/bulk", t),
410
+ getDetailList: (t) => u.get(`/service-center/${t}`),
411
+ getListOptions: (t) => u.get("/service-center/options", { params: t }),
412
+ deleteList: (t) => u.delete("/service-center", { params: t }),
363
413
  // Activities
364
- getActivities: (t) => g.get("/service-activities", { params: t }),
365
- getActivityOptions: (t) => g.get("/service-activities/options", { params: t }),
366
- getActivityDetail: (t) => g.get(`/service-activities/${t}`),
367
- getActivityLog: (t) => g.get(`/service-activities/${t}/activity-log`)
368
- }, V = s({
414
+ getActivities: (t) => u.get("/service-activities", { params: t }),
415
+ getActivityOptions: (t) => u.get("/service-activities/options", { params: t }),
416
+ getActivityDetail: (t) => u.get(`/service-activities/${t}`),
417
+ getActivityLog: (t) => u.get(`/service-activities/${t}/activity-log`)
418
+ }, j = n({
369
419
  prefix: "/settings-attribute/v2/brands"
370
420
  }), It = {
371
- getDropdown: (t) => V.get("/dropdown", { params: t })
372
- }, P = s({
421
+ getDropdown: (t) => j.get("/dropdown", { params: t })
422
+ }, I = n({
373
423
  prefix: "/file-manager/v2"
374
424
  }), Pt = {
375
425
  /**
@@ -377,7 +427,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
377
427
  *
378
428
  * @returns {Promise<AxiosResponse>} The Axios Response.
379
429
  */
380
- getStorageInformation: () => P.get("/files/storage"),
430
+ getStorageInformation: () => I.get("/files/storage"),
381
431
  /**
382
432
  * Get file manager data.
383
433
  *
@@ -385,7 +435,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
385
435
  * @param {FileManagerFilterParams} [params] - The parameters for filtering.
386
436
  * @returns {Promise<AxiosResponse>} The Axios Response.
387
437
  */
388
- getFileManager: (t, e) => P.get(`/${t}`, { params: e }),
438
+ getFileManager: (t, e) => I.get(`/${t}`, { params: e }),
389
439
  /**
390
440
  * Get file manager options.
391
441
  *
@@ -393,7 +443,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
393
443
  * @param {FileManagerOptionBoolean} [params] - The parameters for options.
394
444
  * @returns {Promise<AxiosResponse>} The Axios Response.
395
445
  */
396
- getFileManagerOption: (t, e) => P.get(`/${t}/options`, { params: e }),
446
+ getFileManagerOption: (t, e) => I.get(`/${t}/options`, { params: e }),
397
447
  /**
398
448
  * Recover files.
399
449
  *
@@ -401,7 +451,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
401
451
  * @param {object} body - The body of the request.
402
452
  * @returns {Promise<AxiosResponse>} The Axios Response.
403
453
  */
404
- recoverFiles: (t, e) => P.put(`/${t}/recover`, e),
454
+ recoverFiles: (t, e) => I.put(`/${t}/recover`, e),
405
455
  /**
406
456
  * Delete files.
407
457
  *
@@ -409,7 +459,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
409
459
  * @param {DeleteFileManagerDto} params - The params of the request.
410
460
  * @returns {Promise<AxiosResponse>} The Axios Response.
411
461
  */
412
- deleteFiles: (t, e) => P.delete(`/${t}`, { params: e }),
462
+ deleteFiles: (t, e) => I.delete(`/${t}`, { params: e }),
413
463
  /**
414
464
  * Delete files permanently.
415
465
  *
@@ -417,16 +467,16 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
417
467
  * @param {object} body - The body of the request.
418
468
  * @returns {Promise<AxiosResponse>} The Axios Response.
419
469
  */
420
- deletePermanently: (t, e) => P.delete(`/${t}/delete-permanent`, { params: e })
421
- }, m = s({
470
+ deletePermanently: (t, e) => I.delete(`/${t}/delete-permanent`, { params: e })
471
+ }, P = n({
422
472
  prefix: "/utility/v2"
423
- }), mt = {
473
+ }), yt = {
424
474
  /**
425
475
  * Get storage information.
426
476
  *
427
477
  * @returns {Promise<AxiosResponse>} The Axios Response.
428
478
  */
429
- getStorageInformation: () => m.get("/files/storage"),
479
+ getStorageInformation: () => P.get("/files/storage"),
430
480
  /**
431
481
  * Get file manager data.
432
482
  *
@@ -434,7 +484,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
434
484
  * @param {FileManagerFilterParams} [params] - The parameters for filtering.
435
485
  * @returns {Promise<AxiosResponse>} The Axios Response.
436
486
  */
437
- getFileManager: (t, e) => m.get(`/${t}`, { params: e }),
487
+ getFileManager: (t, e) => P.get(`/${t}`, { params: e }),
438
488
  /**
439
489
  * Get file manager options.
440
490
  *
@@ -442,7 +492,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
442
492
  * @param {FileManagerOptionBoolean} [params] - The parameters for options.
443
493
  * @returns {Promise<AxiosResponse>} The Axios Response.
444
494
  */
445
- getFileManagerOption: (t, e) => m.get(`/${t}/options`, { params: e }),
495
+ getFileManagerOption: (t, e) => P.get(`/${t}/options`, { params: e }),
446
496
  /**
447
497
  * Recover files.
448
498
  *
@@ -450,7 +500,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
450
500
  * @param {object} body - The body of the request.
451
501
  * @returns {Promise<AxiosResponse>} The Axios Response.
452
502
  */
453
- recoverFiles: (t, e) => m.put(`/${t}/recover`, e),
503
+ recoverFiles: (t, e) => P.put(`/${t}/recover`, e),
454
504
  /**
455
505
  * Delete files.
456
506
  *
@@ -458,7 +508,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
458
508
  * @param {DeleteFileManagerDto} params - The params of the request.
459
509
  * @returns {Promise<AxiosResponse>} The Axios Response.
460
510
  */
461
- deleteFiles: (t, e) => m.delete(`/${t}`, { params: e }),
511
+ deleteFiles: (t, e) => P.delete(`/${t}`, { params: e }),
462
512
  /**
463
513
  * Delete files permanently.
464
514
  *
@@ -466,21 +516,21 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
466
516
  * @param {object} body - The body of the request.
467
517
  * @returns {Promise<AxiosResponse>} The Axios Response.
468
518
  */
469
- deletePermanently: (t, e) => m.delete(`/${t}/delete-permanent`, { params: e })
470
- }, p = s({
519
+ deletePermanently: (t, e) => P.delete(`/${t}/delete-permanent`, { params: e })
520
+ }, l = n({
471
521
  prefix: "/iot/v2/reader"
472
- }), St = {
473
- getData: (t) => p.get("/", { params: t }),
474
- getDataOptions: (t) => p.get("/options", { params: t }),
475
- getActivityLogData: (t) => p.get("/activity-log", { params: t }),
476
- getActivityLogOptions: (t) => p.get("/activity-log/options", { params: t }),
477
- getDataById: (t) => p.get(`/${t}`),
478
- getChangeLog: (t) => p.get(`/${t.id}/change-log`, { params: t }),
479
- getChangeLogOptions: (t) => p.get(`/${t.id}/change-log/options`, { params: t }),
480
- putData: (t, e) => p.put(`/${t}`, e)
481
- }, a = s({
522
+ }), ft = {
523
+ getData: (t) => l.get("/", { params: t }),
524
+ getDataOptions: (t) => l.get("/options", { params: t }),
525
+ getActivityLogData: (t) => l.get("/activity-log", { params: t }),
526
+ getActivityLogOptions: (t) => l.get("/activity-log/options", { params: t }),
527
+ getDataById: (t) => l.get(`/${t}`),
528
+ getChangeLog: (t) => l.get(`/${t.id}/change-log`, { params: t }),
529
+ getChangeLogOptions: (t) => l.get(`/${t.id}/change-log/options`, { params: t }),
530
+ putData: (t, e) => l.put(`/${t}`, e)
531
+ }, a = n({
482
532
  prefix: "/settings-user-role/v2"
483
- }), yt = {
533
+ }), Ct = {
484
534
  /**
485
535
  * Retrieves the transaction role for the given group and transaction name.
486
536
  * @param {string} groupId - The ID of the group to retrieve the transaction role for.
@@ -521,6 +571,7 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
521
571
  `/transaction-roles/${t}/${e}/update-manage-by-parent`,
522
572
  r
523
573
  ),
574
+ getUserAssignedSystemRole: (t) => a.get(`/system-roles/user/${t}`),
524
575
  getAssignedUserAmounts: () => a.get("/system-roles/amounts"),
525
576
  getPermissionUser: (t, e) => {
526
577
  if (["totalControl", "readOnly"].includes(t ?? "")) {
@@ -569,85 +620,86 @@ const k = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
569
620
  }
570
621
  return a.delete("/system-roles", { data: t });
571
622
  }
572
- }, C = s({
623
+ }, U = n({
573
624
  prefix: "/settings-attribute/v2/open-api"
574
- }), ft = {
575
- getOpenAPIDocs: (t) => C.get(`/${t.doc}`),
576
- putGenerateToken: () => C.put("/generate"),
625
+ }), Ut = {
626
+ getOpenAPIDocs: (t) => U.get(`/${t.doc}`),
627
+ putGenerateToken: () => U.put("/generate"),
577
628
  // This is if the dummy was not dummy
578
- getToken: () => C.get(""),
579
- putRequestOpenAPI: () => C.put("/request"),
580
- putCancelRequestOpenAPI: () => C.put("/cancel-request")
581
- }, T = s({
629
+ getToken: () => U.get(""),
630
+ putRequestOpenAPI: () => U.put("/request"),
631
+ putCancelRequestOpenAPI: () => U.put("/cancel-request")
632
+ }, _ = n({
582
633
  prefix: "/settings-attribute-go/v2/open-api"
583
- }), Ct = {
584
- putGenerateToken: () => T.put("/generate"),
634
+ }), Tt = {
635
+ putGenerateToken: () => _.put("/generate"),
585
636
  // This is if the dummy was not dummy
586
- getToken: () => T.get(""),
587
- putRequestOpenAPI: () => T.put("/request"),
588
- putCancelRequestOpenAPI: () => T.put("/cancel-request")
589
- }, d = s({
637
+ getToken: () => _.get(""),
638
+ putRequestOpenAPI: () => _.put("/request"),
639
+ putCancelRequestOpenAPI: () => _.put("/cancel-request")
640
+ }, A = n({
590
641
  prefix: "/import/v2"
591
642
  }), _t = {
592
- getImport: (t, e) => d.get(`/${t}`, { params: e }),
593
- postImportTemporary: (t, e) => {
594
- const r = { "Content-Type": "multipart/form-data" };
595
- return d.post(`/${t}/temporary`, e, { headers: r });
596
- },
597
- deleteImportTemporary: (t, e) => d.delete(`/${t}/temporary`, { data: e }),
598
- postDuplicateImport: (t, e) => d.post(`/${t}/duplicate`, e),
599
- putEditImport: (t, e) => d.put(`/${t}`, e),
600
- postImport: (t, e, r) => d.post(t, r, { signal: e.signal }),
601
- putImportCancelProgress: (t) => d.put(`/${t}/cancel-progress`)
602
- }, A = s({
603
- prefix: "/import-go/v2"
604
- }), Tt = {
605
643
  getImport: (t, e) => A.get(`/${t}`, { params: e }),
606
644
  postImportTemporary: (t, e) => {
607
645
  const r = { "Content-Type": "multipart/form-data" };
608
646
  return A.post(`/${t}/temporary`, e, { headers: r });
609
647
  },
610
- deleteImportTemporary: (t, e) => A.delete(`/${t}/temporary`, { params: e }),
648
+ deleteImportTemporary: (t, e) => A.delete(`/${t}/temporary`, { data: e }),
611
649
  postDuplicateImport: (t, e) => A.post(`/${t}/duplicate`, e),
612
650
  putEditImport: (t, e) => A.put(`/${t}`, e),
613
651
  postImport: (t, e, r) => A.post(t, r, { signal: e.signal }),
614
652
  putImportCancelProgress: (t) => A.put(`/${t}/cancel-progress`)
653
+ }, $ = n({
654
+ prefix: "/import-go/v2"
655
+ }), Lt = {
656
+ getImport: (t, e) => $.get(`/${t}`, { params: e }),
657
+ postImportTemporary: (t, e) => {
658
+ const r = { "Content-Type": "multipart/form-data" };
659
+ return $.post(`/${t}/temporary`, e, { headers: r });
660
+ },
661
+ deleteImportTemporary: (t, e) => $.delete(`/${t}/temporary`, { params: e }),
662
+ postDuplicateImport: (t, e) => $.post(`/${t}/duplicate`, e),
663
+ putEditImport: (t, e) => $.put(`/${t}`, e),
664
+ postImport: (t, e, r) => $.post(t, r, { signal: e.signal }),
665
+ putImportCancelProgress: (t) => $.put(`/${t}/cancel-progress`)
615
666
  };
616
667
  export {
617
- ut as AliasCodeServices,
618
- ct as AliasCodeServicesGo,
619
- X as AssetServices,
668
+ ct as AliasCodeServices,
669
+ lt as AliasCodeServicesGo,
670
+ tt as AssetServices,
620
671
  It as BrandServices,
621
- Z as ChangelogServices,
622
- $t as CountryStateServices,
623
- dt as CustomFieldServices,
624
- At as CustomFieldServicesGo,
625
- gt as DashboardServices,
672
+ X as ChangelogServices,
673
+ mt as CountryStateServices,
674
+ $t as CustomFieldServices,
675
+ vt as CustomFieldServicesGo,
676
+ pt as DashboardServices,
626
677
  Pt as FileManagerServices,
627
- mt as FileManagerServicesGo,
628
- pt as GeneralSettingsServices,
629
- lt as GeneralSettingsServicesGo,
630
- K as GroupCategoryServices,
631
- W as GroupCategoryServicesGo,
632
- at as I18nService,
678
+ yt as FileManagerServicesGo,
679
+ dt as GeneralSettingsServices,
680
+ At as GeneralSettingsServicesGo,
681
+ W as GroupCategoryServices,
682
+ z as GroupCategoryServicesGo,
683
+ gt as I18nService,
633
684
  _t as ImportServices,
634
- Tt as ImportServicesGo,
635
- tt as MissingServices,
636
- z as NotificationApprovalServices,
637
- et as NotificationServices,
638
- rt as NotificationServicesGo,
639
- ft as OpenAPIServices,
640
- Ct as OpenAPIServicesGo,
641
- St as ReaderServices,
642
- yt as RoleServices,
643
- vt as ServiceCenterServices,
644
- st as SessionLogServices,
645
- nt as TAGServices,
646
- ot as TrackingServices,
647
- it as UserServices,
648
- H as getAssetsFile,
649
- S as getBaseURL,
650
- J as getImageURL,
651
- Q as getImageURLGo,
652
- Y as queryParamsStringfy
685
+ Lt as ImportServicesGo,
686
+ et as MissingServices,
687
+ Z as NotificationApprovalServices,
688
+ rt as NotificationServices,
689
+ st as NotificationServicesGo,
690
+ Ut as OpenAPIServices,
691
+ Tt as OpenAPIServicesGo,
692
+ ft as ReaderServices,
693
+ Ct as RoleServices,
694
+ St as ServiceCenterServices,
695
+ nt as SessionLogServices,
696
+ ut as SubUserServices,
697
+ ot as TAGServices,
698
+ it as TrackingServices,
699
+ at as UserServices,
700
+ K as getAssetsFile,
701
+ y as getBaseURL,
702
+ H as getImageURL,
703
+ J as getImageURLGo,
704
+ Q as queryParamsStringfy
653
705
  };