@freelog/tools-lib 0.1.121 → 0.1.124
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/service-API/resources.d.ts +5 -3
- package/dist/service-API/user.d.ts +5 -4
- package/dist/tools-lib.cjs.development.js +11 -3
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +11 -3
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/resources.ts +6 -3
- package/src/service-API/testQualifications.ts +96 -96
- package/src/service-API/user.ts +15 -6
|
@@ -59,14 +59,16 @@ interface ListParamsType {
|
|
|
59
59
|
resourceType?: string;
|
|
60
60
|
omitResourceType?: string;
|
|
61
61
|
isSelf?: 0 | 1;
|
|
62
|
+
userId?: number;
|
|
62
63
|
status?: 0 | 1 | 2;
|
|
63
|
-
startResourceId?: string;
|
|
64
64
|
isLoadPolicyInfo?: 0 | 1;
|
|
65
65
|
isLoadLatestVersionInfo?: 0 | 1;
|
|
66
|
+
isLoadFreezeReason?: 0 | 1;
|
|
66
67
|
projection?: string;
|
|
68
|
+
startCreateDate?: string;
|
|
69
|
+
endCreateDate?: string;
|
|
70
|
+
tags?: string;
|
|
67
71
|
sort?: string;
|
|
68
|
-
userId?: number;
|
|
69
|
-
isLoadFreezeReason?: 0 | 1;
|
|
70
72
|
}
|
|
71
73
|
interface ListReturnType extends CommonReturn {
|
|
72
74
|
data: IResourceInfo[];
|
|
@@ -15,10 +15,6 @@ interface UsersParamsType {
|
|
|
15
15
|
skip?: number;
|
|
16
16
|
limit?: number;
|
|
17
17
|
keywords?: string;
|
|
18
|
-
userId?: number;
|
|
19
|
-
tagIds?: string;
|
|
20
|
-
startRegisteredDate?: string;
|
|
21
|
-
endRegisteredDate?: string;
|
|
22
18
|
}
|
|
23
19
|
export declare function users(params: UsersParamsType): Promise<any>;
|
|
24
20
|
interface BatchUserListParamsType {
|
|
@@ -92,4 +88,9 @@ export declare function thirdPartyUnbind(params: ThirdPartyUnbindParamsType): Pr
|
|
|
92
88
|
interface ThirdPartyListParamsType {
|
|
93
89
|
}
|
|
94
90
|
export declare function thirdPartyList(params?: ThirdPartyListParamsType): Promise<any>;
|
|
91
|
+
interface ThirdPartyIsBindParamsType {
|
|
92
|
+
username: string;
|
|
93
|
+
thirdPartyType: string;
|
|
94
|
+
}
|
|
95
|
+
export declare function thirdPartyIsBind(params: ThirdPartyIsBindParamsType): Promise<any>;
|
|
95
96
|
export {};
|
|
@@ -2211,7 +2211,7 @@ function logout(_temp) {
|
|
|
2211
2211
|
function users(params) {
|
|
2212
2212
|
return FUtil.Request({
|
|
2213
2213
|
method: 'GET',
|
|
2214
|
-
url: "/v2/users",
|
|
2214
|
+
url: "/v2/users/search",
|
|
2215
2215
|
params: params
|
|
2216
2216
|
});
|
|
2217
2217
|
}
|
|
@@ -2339,7 +2339,14 @@ function thirdPartyList(params) {
|
|
|
2339
2339
|
return FUtil.Request({
|
|
2340
2340
|
method: 'GET',
|
|
2341
2341
|
url: "/v2/thirdParty/list",
|
|
2342
|
-
|
|
2342
|
+
params: params
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
function thirdPartyIsBind(params) {
|
|
2346
|
+
return FUtil.Request({
|
|
2347
|
+
method: 'GET',
|
|
2348
|
+
url: "/v2/thirdParty/isBind",
|
|
2349
|
+
params: params
|
|
2343
2350
|
});
|
|
2344
2351
|
}
|
|
2345
2352
|
|
|
@@ -2361,7 +2368,8 @@ var User = {
|
|
|
2361
2368
|
updateMobileOrEmail: updateMobileOrEmail,
|
|
2362
2369
|
registerOrBind: registerOrBind,
|
|
2363
2370
|
thirdPartyUnbind: thirdPartyUnbind,
|
|
2364
|
-
thirdPartyList: thirdPartyList
|
|
2371
|
+
thirdPartyList: thirdPartyList,
|
|
2372
|
+
thirdPartyIsBind: thirdPartyIsBind
|
|
2365
2373
|
};
|
|
2366
2374
|
|
|
2367
2375
|
var _excluded$5 = ["nodeId"],
|