@tagsamurai/fats-api-services 1.0.0-alpha.3 → 1.0.0-alpha.30
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 +275 -63
- package/api-services.system.js +1 -1
- package/main.d.ts +20 -4
- package/package.json +1 -1
- package/src/dto/aliasCode.dto.d.ts +4 -0
- package/src/dto/customField.dto.d.ts +16 -0
- package/src/dto/dashboard.dto.d.ts +15 -0
- package/src/dto/groupCategoryService.dto.d.ts +4 -3
- package/src/dto/log.dto.d.ts +63 -0
- package/src/dto/notification.dto.d.ts +8 -0
- package/src/dto/oldAssetService.dto.d.ts +26 -0
- package/src/dto/serviceCenter.dto.d.ts +22 -0
- package/src/dto/user.dto.d.ts +131 -0
- package/src/services/countryState.service.d.ts +7 -0
- package/src/services/groupCategory.service.d.ts +2 -2
- package/src/services/i18n.service.d.ts +32 -0
- package/src/services/notification.service.d.ts +9 -0
- package/src/services/oldAliasCode.service.d.ts +10 -0
- package/src/services/oldAsset.service.d.ts +20 -0
- package/src/services/oldBrand.service.d.ts +7 -0
- package/src/services/oldCustomField.service.d.ts +16 -0
- package/src/services/oldDashboard.service.d.ts +7 -0
- package/src/services/oldGeneralSettings.service.d.ts +6 -0
- package/src/services/oldGroupCategory.service.d.ts +4 -4
- package/src/services/oldLog.service.d.ts +14 -0
- package/src/services/oldMissing.service.d.ts +5 -0
- package/src/services/oldNotification.service.d.ts +7 -0
- package/src/services/oldServiceCenter.service.d.ts +19 -0
- package/src/services/oldSessionLog.service.d.ts +5 -0
- package/src/services/oldTag.service.d.ts +10 -0
- package/src/services/oldTracking.service.d.ts +5 -0
- package/src/services/oldUser.service.d.ts +41 -0
- package/src/types/aliasCode.type.d.ts +16 -0
- package/src/types/customField.type.d.ts +43 -0
- package/src/types/fetchResponse.type.d.ts +7 -0
- package/src/types/group.type.d.ts +5 -0
- package/src/types/groupCategoryData.type.d.ts +1 -3
- package/src/types/i18nService.type.d.ts +22 -0
- package/src/types/{changelog.type.d.ts → log.type.d.ts} +21 -0
- package/src/types/notification.type.d.ts +17 -0
- package/src/types/oldAssetService.type.d.ts +98 -0
- package/src/types/oldTagService.type.d.ts +9 -0
- package/src/types/role.type.d.ts +16 -0
- package/src/types/serviceCenter.type.d.ts +29 -0
- package/src/types/user.type.d.ts +171 -0
- package/src/types/userAsset.type.d.ts +18 -0
- package/src/types/userGlobalRole.type.d.ts +28 -0
- package/src/types/userGroupRole.type.d.ts +30 -0
- package/src/types/userLog.type.d.ts +18 -0
- package/src/types/userSystemRole.type.d.ts +14 -0
- package/src/types/userTransactionRole.type.d.ts +9 -0
- package/src/dto/changelog.dto.d.ts +0 -30
- package/src/services/oldChangelog.service.d.ts +0 -9
package/api-services.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
const { env: r = "APP_API", prefix: o = "", headers:
|
|
4
|
-
return
|
|
5
|
-
...
|
|
6
|
-
baseURL:
|
|
7
|
-
headers: e ?
|
|
1
|
+
import m from "axios";
|
|
2
|
+
const O = { 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_COUNTRY_STATE_API: "https://api.countrystatecity.in", VITE_APP_COUNTRY_STATE_API_KEY: "ZTc5TVc2STlwTkFFNFltYTRjc05sOHR3ODJEYzVMVTZ5UnBJaWU5SA==", VITE_APP_LOGS_NOTIFICATION_API: "https://dev-api-logs-notification.tagsamurai.com", VITE_APP_TAGSAMURAI_API: "https://dev-api.tagsamurai.com" }, A = (t = "APP_API") => O["VITE_" + t], s = (t = {}, e = !1) => {
|
|
3
|
+
const { env: r = "APP_API", prefix: o = "", headers: d = {}, ...T } = t, C = `${A(r)}${o}`, I = JSON.parse(localStorage.getItem("user") ?? "{}"), L = I.jwt ?? I.token ?? "";
|
|
4
|
+
return m.create({
|
|
5
|
+
...T,
|
|
6
|
+
baseURL: C,
|
|
7
|
+
headers: e ? d : {
|
|
8
8
|
"Content-Type": "application/json",
|
|
9
|
-
Authorization: `Bearer ${
|
|
10
|
-
...
|
|
9
|
+
Authorization: `Bearer ${L}`,
|
|
10
|
+
...d
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
},
|
|
13
|
+
}, E = (t) => {
|
|
14
14
|
if (!t || typeof t == "string")
|
|
15
15
|
return;
|
|
16
16
|
const e = {};
|
|
@@ -21,94 +21,306 @@ const I = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_
|
|
|
21
21
|
[r]: t[r]
|
|
22
22
|
});
|
|
23
23
|
}), e;
|
|
24
|
-
},
|
|
24
|
+
}, R = (t) => {
|
|
25
25
|
if (!t) return;
|
|
26
|
-
const
|
|
27
|
-
if (e || r) {
|
|
28
|
-
const g = new URLSearchParams();
|
|
29
|
-
return e && (g.set("width", e.toString()), g.set("height", r ? r == null ? void 0 : r.toString() : e.toString())), `${a}?${g.toString()}`;
|
|
30
|
-
}
|
|
31
|
-
return a;
|
|
32
|
-
}, T = (t) => {
|
|
33
|
-
if (!t) return;
|
|
34
|
-
const e = i("APP_TAGSAMURAI_API");
|
|
26
|
+
const e = A("APP_TAGSAMURAI_API");
|
|
35
27
|
return t.startsWith("http") ? t : `${e}/file-manager/v2/files/${t}`;
|
|
36
|
-
},
|
|
37
|
-
prefix: "/settings-attribute/v2"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return n.get(`/${e}/tree`);
|
|
42
|
-
},
|
|
43
|
-
getGroupCategoryList: (t, e) => {
|
|
28
|
+
}, g = s({
|
|
29
|
+
prefix: "/settings-attribute/v2",
|
|
30
|
+
env: "APP_TAGSAMURAI_API"
|
|
31
|
+
}), x = {
|
|
32
|
+
getGroupCategory: (t, e) => {
|
|
44
33
|
const r = t === "category" ? t : "groups";
|
|
45
|
-
return
|
|
34
|
+
return g.get(`/${r}/tree`, { params: e });
|
|
35
|
+
},
|
|
36
|
+
getGroupCategoryList: (t, e, r) => {
|
|
37
|
+
const o = t === "category" ? t : "groups";
|
|
38
|
+
return g.get(`/${o}/${e}`, { params: r });
|
|
46
39
|
},
|
|
47
40
|
getNames: (t) => {
|
|
48
41
|
const e = t === "category" ? t : "groups";
|
|
49
|
-
return
|
|
42
|
+
return g.get(`/${e}/names`);
|
|
50
43
|
},
|
|
51
44
|
postCreateGroupCategory: (t, e) => {
|
|
52
45
|
const r = t === "category" ? t : "groups";
|
|
53
|
-
return
|
|
46
|
+
return g.post(`/${r}`, e);
|
|
54
47
|
},
|
|
55
48
|
putEditGroupCategory: (t, e, r) => {
|
|
56
49
|
const o = t === "category" ? t : "groups";
|
|
57
|
-
return
|
|
50
|
+
return g.put(`/${o}/${r}`, e);
|
|
58
51
|
},
|
|
52
|
+
putMoveGroup: (t, e) => g.put(`/groups/${e}/move-group`, t),
|
|
53
|
+
putEditBulkGroups: async (t) => g.put("/groups/bulk", t),
|
|
59
54
|
deleteGroupCategory: (t, e, r) => {
|
|
60
55
|
const o = t === "category" ? t : "groups";
|
|
61
|
-
return
|
|
56
|
+
return g.delete(`/${o}/${r}`, { data: e });
|
|
62
57
|
}
|
|
63
|
-
},
|
|
64
|
-
prefix: "/settings-attribute/v2"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return s.get(`/${e}/tree`);
|
|
58
|
+
}, c = s({
|
|
59
|
+
prefix: "/settings-attribute-go/v2"
|
|
60
|
+
}), F = {
|
|
61
|
+
getGroupCategory: (t, e) => {
|
|
62
|
+
const r = t === "category" ? t : "groups";
|
|
63
|
+
return c.get(`/${r}/tree`, { params: e });
|
|
70
64
|
},
|
|
71
65
|
getGroupCategoryList: (t, e) => {
|
|
72
66
|
const r = t === "category" ? t : "groups";
|
|
73
|
-
return
|
|
67
|
+
return c.get(`/${r}/${e}`);
|
|
74
68
|
},
|
|
75
69
|
getNames: (t) => {
|
|
76
70
|
const e = t === "category" ? t : "groups";
|
|
77
|
-
return
|
|
71
|
+
return c.get(`/${e}/names`);
|
|
78
72
|
},
|
|
79
73
|
postCreateGroupCategory: (t, e) => {
|
|
80
74
|
const r = t === "category" ? t : "groups";
|
|
81
|
-
return
|
|
75
|
+
return c.post(`/${r}`, e);
|
|
82
76
|
},
|
|
83
77
|
putEditGroupCategory: (t, e, r) => {
|
|
84
78
|
const o = t === "category" ? t : "groups";
|
|
85
|
-
return
|
|
79
|
+
return c.put(`/${o}/${r}`, e);
|
|
86
80
|
},
|
|
87
|
-
putMoveGroup: (t, e) => s.put(`/groups/${e}/move-group`, t),
|
|
88
|
-
putEditBulkGroups: async (t) => s.put("/bulk", t),
|
|
89
81
|
deleteGroupCategory: (t, e, r) => {
|
|
90
82
|
const o = t === "category" ? t : "groups";
|
|
91
|
-
return
|
|
83
|
+
return c.delete(`/${o}/${r}`, { data: e });
|
|
92
84
|
}
|
|
93
|
-
},
|
|
85
|
+
}, U = s({
|
|
94
86
|
prefix: "/v2",
|
|
95
|
-
|
|
96
|
-
}),
|
|
97
|
-
getTotalApprovals: () =>
|
|
98
|
-
}, p =
|
|
87
|
+
env: "APP_LOGS_NOTIFICATION_API"
|
|
88
|
+
}), k = {
|
|
89
|
+
getTotalApprovals: () => U.get("/approval/count")
|
|
90
|
+
}, p = s({
|
|
99
91
|
prefix: "/v2",
|
|
100
|
-
|
|
101
|
-
}),
|
|
92
|
+
env: "APP_LOGS_NOTIFICATION_API"
|
|
93
|
+
}), w = {
|
|
102
94
|
getActionLog: (t) => p.get("/change-log", { params: t }),
|
|
103
|
-
getActionLogOption: (t) => p.get("/change-log/options", { params: t })
|
|
95
|
+
getActionLogOption: (t) => p.get("/change-log/options", { params: t }),
|
|
96
|
+
getSessionLogList: (t) => p.get("/session-log", { params: t }),
|
|
97
|
+
getUserDetailSystemLogList: (t) => p.get("/change-log", { params: t }),
|
|
98
|
+
getUserDetailSystemLogOption: (t) => p.get("/change-log/options", { params: t })
|
|
99
|
+
}, a = s({
|
|
100
|
+
prefix: "/assets/v2/assets"
|
|
101
|
+
}), M = {
|
|
102
|
+
getScanTag: (t) => a.get("/scan", { params: { tag: t } }),
|
|
103
|
+
getAllAssets: (t) => a.get("/", { params: t }),
|
|
104
|
+
getAvailableAssets: (t) => a.get("/available", { params: t }),
|
|
105
|
+
scanAsset: (t) => a.get("", { params: { tag: t } }),
|
|
106
|
+
getAssetsById: (t, e) => a.get("/by-id", { params: { _id: t, ...e } }),
|
|
107
|
+
getOptions: (t, e) => a.get(t ? `/${t}/options` : "/options", { params: e }),
|
|
108
|
+
getUnlinkedAssets: (t) => a.get("/unlinked", { params: t }),
|
|
109
|
+
getAssetDetail: (t, e) => a.get(`/${t}`, { params: e }),
|
|
110
|
+
getLinkedAssetFamily: (t) => a.get("/family", { params: { id: t } }),
|
|
111
|
+
matchAssetWithTag: (t, e) => {
|
|
112
|
+
const r = {
|
|
113
|
+
_id: JSON.stringify([t]),
|
|
114
|
+
tag: e
|
|
115
|
+
};
|
|
116
|
+
return a.get("/by-id", { params: r });
|
|
117
|
+
}
|
|
118
|
+
}, h = s({
|
|
119
|
+
prefix: "/tracking/v2/missing"
|
|
120
|
+
}), B = {
|
|
121
|
+
putFoundAsset: (t, e) => {
|
|
122
|
+
const r = { ids: [t], serialNumber: e };
|
|
123
|
+
return h.put("/found", r);
|
|
124
|
+
}
|
|
125
|
+
}, S = s({
|
|
126
|
+
prefix: "/v2/notification",
|
|
127
|
+
env: "APP_LOGS_NOTIFICATION_API"
|
|
128
|
+
}), V = {
|
|
129
|
+
getNotifications: (t) => S.get("/", { params: t }),
|
|
130
|
+
readNotification: (t) => S.put(`/${t}`)
|
|
131
|
+
}, f = s({
|
|
132
|
+
prefix: "/utility/v2/notification"
|
|
133
|
+
}), j = {
|
|
134
|
+
getNotifications: (t) => f.get("/", { params: t }),
|
|
135
|
+
readNotification: (t) => f.put(`/${t}`)
|
|
136
|
+
}, G = s({
|
|
137
|
+
prefix: "/v2/session-log",
|
|
138
|
+
env: "APP_LOGS_NOTIFICATION_API"
|
|
139
|
+
}), Y = {
|
|
140
|
+
postLogout: () => G.post("/logout")
|
|
141
|
+
}, v = s({
|
|
142
|
+
prefix: "/tag/v2"
|
|
143
|
+
}), J = {
|
|
144
|
+
getScanQR: (t) => v.get("/qr", { params: { tag: t } }),
|
|
145
|
+
getScanRFID: (t) => v.get("/rfid", { params: { tag: t } }),
|
|
146
|
+
getRFIDQRTAG: (t) => v.get("/rfid-qr/scan", { params: t })
|
|
147
|
+
}, N = s({
|
|
148
|
+
prefix: "/tracking/v2/tracking"
|
|
149
|
+
}), q = {
|
|
150
|
+
putFoundAsset: (t, e, r) => {
|
|
151
|
+
const o = {
|
|
152
|
+
tag: t,
|
|
153
|
+
group: e,
|
|
154
|
+
serialNumber: r,
|
|
155
|
+
type: "Global"
|
|
156
|
+
};
|
|
157
|
+
return N.put("/found", { params: o });
|
|
158
|
+
}
|
|
159
|
+
}, n = s({
|
|
160
|
+
prefix: "/settings-user-role/v2"
|
|
161
|
+
}), K = {
|
|
162
|
+
reLogin: (t) => n.post("/auth/login", t),
|
|
163
|
+
changePassword: (t) => n.put("/users/change-password", t),
|
|
164
|
+
getUserDetail: (t) => n.get(`/users/${t}`),
|
|
165
|
+
putEditUser: (t, e) => {
|
|
166
|
+
const r = { "Content-Type": "multipart/form-data" };
|
|
167
|
+
return n.put(`/users/${t}`, e, { headers: r });
|
|
168
|
+
},
|
|
169
|
+
putDeleteProfilePicture: (t) => n.put(`/users/${t}/delete-profile-picture`),
|
|
170
|
+
putCancelEmailChange: (t, e) => n.put("/auth/confirm-email-change/cancel", {
|
|
171
|
+
user: t,
|
|
172
|
+
companyCode: e
|
|
173
|
+
}),
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @param id {string} User's _id
|
|
177
|
+
* @param type {"Global" | "Group"} Whether the system role's type is global or group
|
|
178
|
+
* @param params {Record<string, unknown>}
|
|
179
|
+
*/
|
|
180
|
+
getUserDetailSystemRoles: (t, e, r) => n.get(`/user-detail/${t}/system-roles`, {
|
|
181
|
+
params: {
|
|
182
|
+
...r,
|
|
183
|
+
type: e
|
|
184
|
+
}
|
|
185
|
+
}),
|
|
186
|
+
// User Detail
|
|
187
|
+
getUserDetailSystemRoleList: (t, e) => n.get(`/user-detail/${t}/system-role-list`, { params: e }),
|
|
188
|
+
getUserDetailSystemRoleOptions: (t, e) => n.get(`/user-detail/${t}/system-role/option`, { params: e }),
|
|
189
|
+
getUserDetailTransactionRoleList: (t, e) => n.get(`/user-detail/${t}/transaction-role-list`, { params: e }),
|
|
190
|
+
getUserDetailUserLogBorrowingList: (t, e) => n.get(`/users-log/${t}/borrowing`, { params: e }),
|
|
191
|
+
getUserDetailUserLogAssignmentList: (t, e) => n.get(`/users-log/${t}/assignment`, { params: e }),
|
|
192
|
+
getUserDetailUserLogBorrowingOption: (t, e) => n.get(`/users-log/${t}/borrowing/option`, { params: e }),
|
|
193
|
+
getUserDetailUserLogAssignmentOption: (t, e) => n.get(`/users-log/${t}/assignment/option`, { params: e }),
|
|
194
|
+
getUserDetailTransactionAdminLogList: (t, e) => n.get(`/users-log/${t}/transaction-log`, { params: e }),
|
|
195
|
+
getUserDetailTransactionAdminLogOption: (t, e) => n.get(`/users-log/${t}/transaction-log/option`, { params: e })
|
|
196
|
+
}, l = s({
|
|
197
|
+
env: "APP_ADMIN_API",
|
|
198
|
+
prefix: "/settings-attribute/languages"
|
|
199
|
+
}), W = {
|
|
200
|
+
/**
|
|
201
|
+
* Fetch all translation messages for a specific locale.
|
|
202
|
+
* @param locale The locale code (e.g., 'en', 'id').
|
|
203
|
+
* @returns A promise resolving to a key-value record of messages.
|
|
204
|
+
*/
|
|
205
|
+
getMessages: (t) => l.get(`/${t}/translations`),
|
|
206
|
+
/**
|
|
207
|
+
* Fetch all available lang options for LanguageDropdown and LanguageSwitcher
|
|
208
|
+
*
|
|
209
|
+
* @returns Promise Array of options
|
|
210
|
+
*/
|
|
211
|
+
getLanguageOptions: async () => {
|
|
212
|
+
const { data: t } = await l.get(
|
|
213
|
+
"/dropdown"
|
|
214
|
+
);
|
|
215
|
+
return t.data;
|
|
216
|
+
},
|
|
217
|
+
/**
|
|
218
|
+
* Fetch single lang option meta data
|
|
219
|
+
*
|
|
220
|
+
* @param isoCode The locale code (e.g., 'en', 'id').
|
|
221
|
+
* @returns Promise LanguageMeta
|
|
222
|
+
*/
|
|
223
|
+
getLanguageOptionMeta: async (t) => {
|
|
224
|
+
const { data: e } = await l.get(
|
|
225
|
+
"/dropdown/" + t
|
|
226
|
+
);
|
|
227
|
+
return e.data;
|
|
228
|
+
},
|
|
229
|
+
/**
|
|
230
|
+
* Translate a specific text to the target locale.
|
|
231
|
+
*
|
|
232
|
+
* @param key Unique translation key.
|
|
233
|
+
* @param locale Target locale code.
|
|
234
|
+
*/
|
|
235
|
+
translateText: async (t, e) => {
|
|
236
|
+
const { data: r } = await l.post("/translate", {
|
|
237
|
+
q: t,
|
|
238
|
+
target: e
|
|
239
|
+
});
|
|
240
|
+
return r.data.translations[t];
|
|
241
|
+
}
|
|
242
|
+
}, y = s({
|
|
243
|
+
prefix: "/dashboard/v2/dashboard"
|
|
244
|
+
}), z = {
|
|
245
|
+
getLatestTask: (t) => y.get("/latest-task", { params: t }),
|
|
246
|
+
getSummary: (t) => y.get("/summary", { params: t })
|
|
247
|
+
}, P = s({
|
|
248
|
+
prefix: "/alias-code/api/alias-code"
|
|
249
|
+
}), Q = {
|
|
250
|
+
getAliasCode: () => P.get("/"),
|
|
251
|
+
postAliasCode: (t) => P.post("/", t),
|
|
252
|
+
getAliasCodeList: (t) => P.get(`/${t.object}/code-list`, { params: t })
|
|
253
|
+
}, _ = s({
|
|
254
|
+
prefix: "/settings-attribute/v2/general-settings"
|
|
255
|
+
}), Z = {
|
|
256
|
+
getGeneralSettings: () => _.get("/"),
|
|
257
|
+
putUpdateGeneralSettings: (t) => _.put("/", t)
|
|
258
|
+
}, u = s({
|
|
259
|
+
prefix: "/settings-attribute/v2/custom-field"
|
|
260
|
+
}), H = {
|
|
261
|
+
getCustomField: async (t) => u.get("/", { params: t }),
|
|
262
|
+
getOptions: async (t) => u.get("/options", { params: t }),
|
|
263
|
+
postCreateCustomField: async (t, e) => u.post("/", e, { params: t }),
|
|
264
|
+
putEditCustomField: async (t, e, r) => u.put(`/${r}`, e, { params: t }),
|
|
265
|
+
putChangeStatus: async (t, e) => u.put("/bulk", e, { params: t }),
|
|
266
|
+
deleteCustomField: async (t) => u.delete("/bulk", { data: t })
|
|
267
|
+
}, $ = ({ headers: t = {}, params: e = {} } = {}) => {
|
|
268
|
+
const r = A("APP_COUNTRY_STATE_API"), o = A("APP_COUNTRY_STATE_API_KEY");
|
|
269
|
+
return m.create({
|
|
270
|
+
baseURL: `${r}/v1`,
|
|
271
|
+
headers: {
|
|
272
|
+
"Content-type": "application/json",
|
|
273
|
+
"X-CSCAPI-KEY": o,
|
|
274
|
+
...t
|
|
275
|
+
},
|
|
276
|
+
params: e
|
|
277
|
+
});
|
|
278
|
+
}, X = {
|
|
279
|
+
getCountry: () => $().get("/countries"),
|
|
280
|
+
getState: (t) => $().get(`/countries/${t}/states`),
|
|
281
|
+
getCity: (t, e) => $().get(`/countries/${t}/states/${e}/cities`)
|
|
282
|
+
}, i = s({
|
|
283
|
+
prefix: "/routine/v2"
|
|
284
|
+
}), tt = {
|
|
285
|
+
getList: (t) => i.get("/service-center", { params: t }),
|
|
286
|
+
postList: (t) => i.post("/service-center", t),
|
|
287
|
+
putList: (t, e) => i.put(`/service-center/${t}`, e),
|
|
288
|
+
putActivate: (t) => i.put("/service-center/bulk", t),
|
|
289
|
+
getDetailList: (t) => i.get(`/service-center/${t}`),
|
|
290
|
+
getListOptions: (t) => i.get("/service-center/options", { params: t }),
|
|
291
|
+
deleteList: (t) => i.delete("/service-center", { params: t }),
|
|
292
|
+
// Activities
|
|
293
|
+
getActivities: (t) => i.get("/service-activities", { params: t }),
|
|
294
|
+
getActivityOptions: (t) => i.get("/service-activities/options", { params: t }),
|
|
295
|
+
getActivityDetail: (t) => i.get(`/service-activities/${t}`),
|
|
296
|
+
getActivityLog: (t) => i.get(`/service-activities/${t}/activity-log`)
|
|
297
|
+
}, b = s({
|
|
298
|
+
prefix: "/settings-attribute/v2/brands"
|
|
299
|
+
}), et = {
|
|
300
|
+
getDropdown: (t) => b.get("/dropdown", { params: t })
|
|
104
301
|
};
|
|
105
302
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
303
|
+
Q as AliasCodeServices,
|
|
304
|
+
M as AssetServices,
|
|
305
|
+
et as BrandServices,
|
|
306
|
+
w as ChangelogServices,
|
|
307
|
+
X as CountryStateServices,
|
|
308
|
+
H as CustomFieldServices,
|
|
309
|
+
z as DashboardServices,
|
|
310
|
+
Z as GeneralSettingsServices,
|
|
311
|
+
x as GroupCategoryServices,
|
|
312
|
+
F as GroupCategoryServicesGo,
|
|
313
|
+
W as I18nService,
|
|
314
|
+
B as MissingServices,
|
|
315
|
+
k as NotificationApprovalServices,
|
|
316
|
+
V as NotificationServices,
|
|
317
|
+
j as NotificationServicesGo,
|
|
318
|
+
tt as ServiceCenterServices,
|
|
319
|
+
Y as SessionLogServices,
|
|
320
|
+
J as TAGServices,
|
|
321
|
+
q as TrackingServices,
|
|
322
|
+
K as UserServices,
|
|
323
|
+
A as getBaseURL,
|
|
324
|
+
R as getImageURL,
|
|
325
|
+
E as queryParamsStringfy
|
|
114
326
|
};
|
package/api-services.system.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["axios"],function(
|
|
1
|
+
System.register(["axios"],function(s,E){"use strict";var d;return{setters:[S=>{d=S.default}],execute:function(){const S={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_COUNTRY_STATE_API:"https://api.countrystatecity.in",VITE_APP_COUNTRY_STATE_API_KEY:"ZTc5TVc2STlwTkFFNFltYTRjc05sOHR3ODJEYzVMVTZ5UnBJaWU5SA==",VITE_APP_LOGS_NOTIFICATION_API:"https://dev-api-logs-notification.tagsamurai.com",VITE_APP_TAGSAMURAI_API:"https://dev-api.tagsamurai.com"},A=s("getBaseURL",(t="APP_API")=>S["VITE_"+t]),n=(t={},e=!1)=>{const{env:r="APP_API",prefix:o="",headers:f={},...N}=t,b=`${A(r)}${o}`,T=JSON.parse(localStorage.getItem("user")??"{}"),D=T.jwt??T.token??"";return d.create({...N,baseURL:b,headers:e?f:{"Content-Type":"application/json",Authorization:`Bearer ${D}`,...f}})},R=s("queryParamsStringfy",t=>{if(!t||typeof t=="string")return;const e={};return Object.keys(t).forEach(r=>{Array.isArray(t[r])?t[r].length>0&&Object.assign(e,{[r]:JSON.stringify(t[r])}):t[r]!==void 0&&Object.assign(e,{[r]:t[r]})}),e}),F=s("getImageURL",t=>{if(!t)return;const e=A("APP_TAGSAMURAI_API");return t.startsWith("http")?t:`${e}/file-manager/v2/files/${t}`}),c=n({prefix:"/settings-attribute/v2",env:"APP_TAGSAMURAI_API"}),k=s("GroupCategoryServices",{getGroupCategory:(t,e)=>{const r=t==="category"?t:"groups";return c.get(`/${r}/tree`,{params:e})},getGroupCategoryList:(t,e,r)=>{const o=t==="category"?t:"groups";return c.get(`/${o}/${e}`,{params:r})},getNames:t=>{const e=t==="category"?t:"groups";return c.get(`/${e}/names`)},postCreateGroupCategory:(t,e)=>{const r=t==="category"?t:"groups";return c.post(`/${r}`,e)},putEditGroupCategory:(t,e,r)=>{const o=t==="category"?t:"groups";return c.put(`/${o}/${r}`,e)},putMoveGroup:(t,e)=>c.put(`/groups/${e}/move-group`,t),putEditBulkGroups:async t=>c.put("/groups/bulk",t),deleteGroupCategory:(t,e,r)=>{const o=t==="category"?t:"groups";return c.delete(`/${o}/${r}`,{data:e})}}),u=n({prefix:"/settings-attribute-go/v2"}),w=s("GroupCategoryServicesGo",{getGroupCategory:(t,e)=>{const r=t==="category"?t:"groups";return u.get(`/${r}/tree`,{params:e})},getGroupCategoryList:(t,e)=>{const r=t==="category"?t:"groups";return u.get(`/${r}/${e}`)},getNames:t=>{const e=t==="category"?t:"groups";return u.get(`/${e}/names`)},postCreateGroupCategory:(t,e)=>{const r=t==="category"?t:"groups";return u.post(`/${r}`,e)},putEditGroupCategory:(t,e,r)=>{const o=t==="category"?t:"groups";return u.put(`/${o}/${r}`,e)},deleteGroupCategory:(t,e,r)=>{const o=t==="category"?t:"groups";return u.delete(`/${o}/${r}`,{data:e})}}),L=n({prefix:"/v2",env:"APP_LOGS_NOTIFICATION_API"}),B=s("NotificationApprovalServices",{getTotalApprovals:()=>L.get("/approval/count")}),l=n({prefix:"/v2",env:"APP_LOGS_NOTIFICATION_API"}),M=s("ChangelogServices",{getActionLog:t=>l.get("/change-log",{params:t}),getActionLogOption:t=>l.get("/change-log/options",{params:t}),getSessionLogList:t=>l.get("/session-log",{params:t}),getUserDetailSystemLogList:t=>l.get("/change-log",{params:t}),getUserDetailSystemLogOption:t=>l.get("/change-log/options",{params:t})}),g=n({prefix:"/assets/v2/assets"}),V=s("AssetServices",{getScanTag:t=>g.get("/scan",{params:{tag:t}}),getAllAssets:t=>g.get("/",{params:t}),getAvailableAssets:t=>g.get("/available",{params:t}),scanAsset:t=>g.get("",{params:{tag:t}}),getAssetsById:(t,e)=>g.get("/by-id",{params:{_id:t,...e}}),getOptions:(t,e)=>g.get(t?`/${t}/options`:"/options",{params:e}),getUnlinkedAssets:t=>g.get("/unlinked",{params:t}),getAssetDetail:(t,e)=>g.get(`/${t}`,{params:e}),getLinkedAssetFamily:t=>g.get("/family",{params:{id:t}}),matchAssetWithTag:(t,e)=>{const r={_id:JSON.stringify([t]),tag:e};return g.get("/by-id",{params:r})}}),O=n({prefix:"/tracking/v2/missing"}),j=s("MissingServices",{putFoundAsset:(t,e)=>{const r={ids:[t],serialNumber:e};return O.put("/found",r)}}),y=n({prefix:"/v2/notification",env:"APP_LOGS_NOTIFICATION_API"}),Y=s("NotificationServices",{getNotifications:t=>y.get("/",{params:t}),readNotification:t=>y.put(`/${t}`)}),_=n({prefix:"/utility/v2/notification"}),q=s("NotificationServicesGo",{getNotifications:t=>_.get("/",{params:t}),readNotification:t=>_.put(`/${t}`)}),U=n({prefix:"/v2/session-log",env:"APP_LOGS_NOTIFICATION_API"}),J=s("SessionLogServices",{postLogout:()=>U.post("/logout")}),P=n({prefix:"/tag/v2"}),K=s("TAGServices",{getScanQR:t=>P.get("/qr",{params:{tag:t}}),getScanRFID:t=>P.get("/rfid",{params:{tag:t}}),getRFIDQRTAG:t=>P.get("/rfid-qr/scan",{params:t})}),h=n({prefix:"/tracking/v2/tracking"}),x=s("TrackingServices",{putFoundAsset:(t,e,r)=>{const o={tag:t,group:e,serialNumber:r,type:"Global"};return h.put("/found",{params:o})}}),i=n({prefix:"/settings-user-role/v2"}),W=s("UserServices",{reLogin:t=>i.post("/auth/login",t),changePassword:t=>i.put("/users/change-password",t),getUserDetail:t=>i.get(`/users/${t}`),putEditUser:(t,e)=>{const r={"Content-Type":"multipart/form-data"};return i.put(`/users/${t}`,e,{headers:r})},putDeleteProfilePicture:t=>i.put(`/users/${t}/delete-profile-picture`),putCancelEmailChange:(t,e)=>i.put("/auth/confirm-email-change/cancel",{user:t,companyCode:e}),getUserDetailSystemRoles:(t,e,r)=>i.get(`/user-detail/${t}/system-roles`,{params:{...r,type:e}}),getUserDetailSystemRoleList:(t,e)=>i.get(`/user-detail/${t}/system-role-list`,{params:e}),getUserDetailSystemRoleOptions:(t,e)=>i.get(`/user-detail/${t}/system-role/option`,{params:e}),getUserDetailTransactionRoleList:(t,e)=>i.get(`/user-detail/${t}/transaction-role-list`,{params:e}),getUserDetailUserLogBorrowingList:(t,e)=>i.get(`/users-log/${t}/borrowing`,{params:e}),getUserDetailUserLogAssignmentList:(t,e)=>i.get(`/users-log/${t}/assignment`,{params:e}),getUserDetailUserLogBorrowingOption:(t,e)=>i.get(`/users-log/${t}/borrowing/option`,{params:e}),getUserDetailUserLogAssignmentOption:(t,e)=>i.get(`/users-log/${t}/assignment/option`,{params:e}),getUserDetailTransactionAdminLogList:(t,e)=>i.get(`/users-log/${t}/transaction-log`,{params:e}),getUserDetailTransactionAdminLogOption:(t,e)=>i.get(`/users-log/${t}/transaction-log/option`,{params:e})}),v=n({env:"APP_ADMIN_API",prefix:"/settings-attribute/languages"}),z=s("I18nService",{getMessages:t=>v.get(`/${t}/translations`),getLanguageOptions:async()=>{const{data:t}=await v.get("/dropdown");return t.data},getLanguageOptionMeta:async t=>{const{data:e}=await v.get("/dropdown/"+t);return e.data},translateText:async(t,e)=>{const{data:r}=await v.post("/translate",{q:t,target:e});return r.data.translations[t]}}),m=n({prefix:"/dashboard/v2/dashboard"}),Q=s("DashboardServices",{getLatestTask:t=>m.get("/latest-task",{params:t}),getSummary:t=>m.get("/summary",{params:t})}),I=n({prefix:"/alias-code/api/alias-code"}),Z=s("AliasCodeServices",{getAliasCode:()=>I.get("/"),postAliasCode:t=>I.post("/",t),getAliasCodeList:t=>I.get(`/${t.object}/code-list`,{params:t})}),C=n({prefix:"/settings-attribute/v2/general-settings"}),H=s("GeneralSettingsServices",{getGeneralSettings:()=>C.get("/"),putUpdateGeneralSettings:t=>C.put("/",t)}),p=n({prefix:"/settings-attribute/v2/custom-field"}),X=s("CustomFieldServices",{getCustomField:async t=>p.get("/",{params:t}),getOptions:async t=>p.get("/options",{params:t}),postCreateCustomField:async(t,e)=>p.post("/",e,{params:t}),putEditCustomField:async(t,e,r)=>p.put(`/${r}`,e,{params:t}),putChangeStatus:async(t,e)=>p.put("/bulk",e,{params:t}),deleteCustomField:async t=>p.delete("/bulk",{data:t})}),$=({headers:t={},params:e={}}={})=>{const r=A("APP_COUNTRY_STATE_API"),o=A("APP_COUNTRY_STATE_API_KEY");return d.create({baseURL:`${r}/v1`,headers:{"Content-type":"application/json","X-CSCAPI-KEY":o,...t},params:e})},tt=s("CountryStateServices",{getCountry:()=>$().get("/countries"),getState:t=>$().get(`/countries/${t}/states`),getCity:(t,e)=>$().get(`/countries/${t}/states/${e}/cities`)}),a=n({prefix:"/routine/v2"}),et=s("ServiceCenterServices",{getList:t=>a.get("/service-center",{params:t}),postList:t=>a.post("/service-center",t),putList:(t,e)=>a.put(`/service-center/${t}`,e),putActivate:t=>a.put("/service-center/bulk",t),getDetailList:t=>a.get(`/service-center/${t}`),getListOptions:t=>a.get("/service-center/options",{params:t}),deleteList:t=>a.delete("/service-center",{params:t}),getActivities:t=>a.get("/service-activities",{params:t}),getActivityOptions:t=>a.get("/service-activities/options",{params:t}),getActivityDetail:t=>a.get(`/service-activities/${t}`),getActivityLog:t=>a.get(`/service-activities/${t}/activity-log`)}),G=n({prefix:"/settings-attribute/v2/brands"}),rt=s("BrandServices",{getDropdown:t=>G.get("/dropdown",{params:t})})}}});
|
package/main.d.ts
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { default as
|
|
1
|
+
export { oldGetImageURL as getImageURL, getBaseURL, queryParamsStringfy, } from './src/utils';
|
|
2
|
+
export { default as GroupCategoryServices } from './src/services/oldGroupCategory.service';
|
|
3
|
+
export { default as GroupCategoryServicesGo } from './src/services/groupCategory.service';
|
|
3
4
|
export { default as NotificationApprovalServices } from './src/services/oldNotificationApproval.service';
|
|
4
|
-
export { default as ChangelogServices } from './src/services/
|
|
5
|
-
export {
|
|
5
|
+
export { default as ChangelogServices } from './src/services/oldLog.service';
|
|
6
|
+
export { default as AssetServices } from './src/services/oldAsset.service';
|
|
7
|
+
export { default as MissingServices } from './src/services/oldMissing.service';
|
|
8
|
+
export { default as NotificationServices } from './src/services/oldNotification.service';
|
|
9
|
+
export { default as NotificationServicesGo } from './src/services/notification.service';
|
|
10
|
+
export { default as SessionLogServices } from './src/services/oldSessionLog.service';
|
|
11
|
+
export { default as TAGServices } from './src/services/oldTag.service';
|
|
12
|
+
export { default as TrackingServices } from './src/services/oldTracking.service';
|
|
13
|
+
export { default as UserServices } from './src/services/oldUser.service';
|
|
14
|
+
export { default as I18nService } from './src/services/i18n.service';
|
|
15
|
+
export { default as DashboardServices } from './src/services/oldDashboard.service';
|
|
16
|
+
export { default as AliasCodeServices } from './src/services/oldAliasCode.service';
|
|
17
|
+
export { default as GeneralSettingsServices } from './src/services/oldGeneralSettings.service';
|
|
18
|
+
export { default as CustomFieldServices } from './src/services/oldCustomField.service';
|
|
19
|
+
export { default as CountryStateServices } from './src/services/countryState.service';
|
|
20
|
+
export { default as ServiceCenterServices } from './src/services/oldServiceCenter.service';
|
|
21
|
+
export { default as BrandServices } from './src/services/oldBrand.service';
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CustomFieldParams } from '../types/customField.type';
|
|
2
|
+
import { QueryParams } from '../types/fetchResponse.type';
|
|
3
|
+
export interface CustomFieldFilterQuery extends QueryParams {
|
|
4
|
+
type?: string;
|
|
5
|
+
category?: string | number[];
|
|
6
|
+
valueOptions?: boolean;
|
|
7
|
+
dataTypeOptions?: boolean;
|
|
8
|
+
nameOptions?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type BodyFiltered = {
|
|
11
|
+
customFieldIds: string[];
|
|
12
|
+
status?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type CustomFieldQuery = {
|
|
15
|
+
type: CustomFieldParams;
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface LatestTaskParams {
|
|
2
|
+
search?: string;
|
|
3
|
+
page?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
sortBy?: string;
|
|
6
|
+
sortOrder?: number;
|
|
7
|
+
type: 'Depreciation Data' | 'Purchase Data' | 'Borrowing/Assignment' | 'Transfer' | 'Audit' | 'Tracking' | 'Maintenance Routine' | 'Repair Ticketing' | 'Disposal';
|
|
8
|
+
}
|
|
9
|
+
export interface SummaryParams {
|
|
10
|
+
search?: string;
|
|
11
|
+
group?: string;
|
|
12
|
+
interval?: string;
|
|
13
|
+
dateFilter?: string;
|
|
14
|
+
type: 'Asset' | 'Depreciation Group' | 'Depreciation Method' | 'User' | 'Role' | 'Group' | 'License' | 'Asset Transactional Policy' | 'TAG' | 'TAG Type' | 'Hardware' | 'Open API' | 'Purchase Information' | 'Purchase Document' | 'Document Deletion' | 'Asset Register' | 'Import' | 'Borrowing' | 'Assignment' | 'Transfer' | 'Audit' | 'Tracking' | 'Missing' | 'Maintenance Routine' | 'Repair Ticketing' | 'Damage' | 'Disposal';
|
|
15
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GroupCategoryData } from '../types/groupCategoryData.type';
|
|
1
|
+
import { FetchListExtendResponse, ShortFetchListResponse } from '../types/fetchResponse.type';
|
|
2
|
+
import { DataDetail, GroupCategoryData } from '../types/groupCategoryData.type';
|
|
3
3
|
export type GroupCategoryResponse = ShortFetchListResponse<GroupCategoryData>;
|
|
4
|
-
export type GroupCategoryTableResponse =
|
|
4
|
+
export type GroupCategoryTableResponse = FetchListExtendResponse<GroupCategoryData, DataDetail>;
|
|
5
|
+
export type GetGroupTreeParams = Record<string, string>;
|
|
5
6
|
export interface CreateGroupCategoryBody {
|
|
6
7
|
code: string;
|
|
7
8
|
name: string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { FetchListResponse, FetchResponse } from '../types/fetchResponse.type';
|
|
2
|
+
import { TableParams } from '../types/groupCategoryData.type';
|
|
3
|
+
import { SessionLog, SystemLog } from '../types/log.type';
|
|
4
|
+
import { MultiSelectOption } from '../types/options.type';
|
|
5
|
+
export type ActionLogParams = {
|
|
6
|
+
object?: string;
|
|
7
|
+
objectId?: string;
|
|
8
|
+
createdAt?: number[];
|
|
9
|
+
action?: string[];
|
|
10
|
+
name?: string[];
|
|
11
|
+
assetName?: string[];
|
|
12
|
+
objectName?: string[];
|
|
13
|
+
field?: string[];
|
|
14
|
+
newValue?: string[];
|
|
15
|
+
oldValue?: string[];
|
|
16
|
+
modifiedBy?: string[];
|
|
17
|
+
};
|
|
18
|
+
export type ActionLogFilterParams = Partial<Record<keyof ActionLogParams, string>>;
|
|
19
|
+
export type ActionLogOptionFilter = {
|
|
20
|
+
actionOptions?: MultiSelectOption[];
|
|
21
|
+
fieldOptions?: MultiSelectOption[];
|
|
22
|
+
modifiedByOptions?: MultiSelectOption[];
|
|
23
|
+
objectNameOptions?: MultiSelectOption[];
|
|
24
|
+
nameOptions?: MultiSelectOption[];
|
|
25
|
+
taskNameOptions?: MultiSelectOption[];
|
|
26
|
+
};
|
|
27
|
+
export type ActionLogOptionParams = {
|
|
28
|
+
object?: string;
|
|
29
|
+
actionOptions?: boolean;
|
|
30
|
+
objectNameOptions?: boolean;
|
|
31
|
+
fieldOptions?: boolean;
|
|
32
|
+
modifiedByOptions?: boolean;
|
|
33
|
+
};
|
|
34
|
+
export type SessionLogFilterParams = {
|
|
35
|
+
createdAt?: string;
|
|
36
|
+
activity?: string;
|
|
37
|
+
};
|
|
38
|
+
export type SessionLogFetchParams = TableParams & SessionLogFilterParams & {
|
|
39
|
+
userId: string;
|
|
40
|
+
};
|
|
41
|
+
export type GetSessionLogListResponse = FetchListResponse<SessionLog>;
|
|
42
|
+
export type GetUserSystemLogListResponse = FetchListResponse<SystemLog>;
|
|
43
|
+
export type GetUserSystemLogOptionsResponse = FetchResponse & {
|
|
44
|
+
data: {
|
|
45
|
+
actionOptions: MultiSelectOption[];
|
|
46
|
+
objectOptions: MultiSelectOption[];
|
|
47
|
+
fieldOptions: MultiSelectOption[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export type SystemLogLoadingFilters = {
|
|
51
|
+
actionOptions?: boolean;
|
|
52
|
+
objectOptions?: boolean;
|
|
53
|
+
fieldOptions?: boolean;
|
|
54
|
+
};
|
|
55
|
+
export type SystemLogFilterParams = {
|
|
56
|
+
createdAt?: string;
|
|
57
|
+
action?: string;
|
|
58
|
+
objects?: string;
|
|
59
|
+
field?: string;
|
|
60
|
+
};
|
|
61
|
+
export type SystemLogFetchParams = TableParams & SystemLogFilterParams & {
|
|
62
|
+
userId: string;
|
|
63
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface DialogSelectAssetFilterModels {
|
|
2
|
+
assetName?: string[];
|
|
3
|
+
name?: string[];
|
|
4
|
+
brands?: string[];
|
|
5
|
+
models?: string[];
|
|
6
|
+
tagType?: string[];
|
|
7
|
+
group?: number[];
|
|
8
|
+
}
|
|
9
|
+
export type DialogSelectAssetFilterQueryParams = Partial<Record<keyof DialogSelectAssetFilterModels, string>>;
|
|
10
|
+
export type GetAllAssetsQueryParams = DialogSelectAssetFilterQueryParams & {
|
|
11
|
+
status?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
excludeId?: string;
|
|
14
|
+
tag?: string;
|
|
15
|
+
};
|
|
16
|
+
export type GetAvailableAssetsQueryParams = DialogSelectAssetFilterQueryParams & {
|
|
17
|
+
search?: string;
|
|
18
|
+
excludeId?: string;
|
|
19
|
+
tag?: string;
|
|
20
|
+
mode?: string;
|
|
21
|
+
asset?: string;
|
|
22
|
+
};
|
|
23
|
+
export type AssetOptionField = 'nameOptions' | 'brandOptions' | 'modelOptions';
|
|
24
|
+
export type GetAssetDetailParams = {
|
|
25
|
+
tag?: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface Region {
|
|
2
|
+
name?: string;
|
|
3
|
+
iso?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PutBody {
|
|
6
|
+
id: string[];
|
|
7
|
+
isActive?: boolean | Event;
|
|
8
|
+
}
|
|
9
|
+
export interface PostBody {
|
|
10
|
+
name: string;
|
|
11
|
+
category: number[];
|
|
12
|
+
brand: number[];
|
|
13
|
+
state: Region;
|
|
14
|
+
country: Region;
|
|
15
|
+
city: string;
|
|
16
|
+
zipCode: string;
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
picName: string;
|
|
19
|
+
address: string;
|
|
20
|
+
picPhoneNumber: string;
|
|
21
|
+
}
|
|
22
|
+
export {};
|