@lark-apaas/client-toolkit 1.2.54-alpha.8 → 1.2.54-alpha.9
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.
|
@@ -6,15 +6,6 @@ export type I18nText = {
|
|
|
6
6
|
export type DepartmentBasic = {
|
|
7
7
|
departmentID: string;
|
|
8
8
|
name: I18nText;
|
|
9
|
-
/** 飞书部门 open id(od- 开头),调飞书部门能力时使用 */
|
|
10
|
-
openDepartmentID?: string;
|
|
11
|
-
};
|
|
12
|
-
/** 直属上级 / 虚线上级,仅在 needFullFields 时返回 */
|
|
13
|
-
export type LeaderUser = {
|
|
14
|
-
/** 飞书企业内 user_id */
|
|
15
|
-
employeeID?: string;
|
|
16
|
-
/** 妙搭用户全局唯一 ID */
|
|
17
|
-
miaodaUserID?: string;
|
|
18
9
|
};
|
|
19
10
|
export type UserInfo = {
|
|
20
11
|
userID: string;
|
|
@@ -25,32 +16,11 @@ export type UserInfo = {
|
|
|
25
16
|
department: DepartmentBasic;
|
|
26
17
|
email?: string;
|
|
27
18
|
tenantName?: string;
|
|
28
|
-
/** 妙搭用户全局唯一 ID(来源同 userID,向前兼容别名) */
|
|
29
|
-
miaodaUserID?: string;
|
|
30
|
-
/** 飞书企业内 user_id,仅内部飞书用户;调飞书开放平台能力时使用 */
|
|
31
|
-
employeeID?: string;
|
|
32
|
-
/** 飞书用户全局唯一 ID(来源同 larkUserID 别名) */
|
|
33
|
-
larkID?: string;
|
|
34
|
-
nickname?: string;
|
|
35
|
-
mobile?: string;
|
|
36
|
-
gender?: number;
|
|
37
|
-
country?: string;
|
|
38
|
-
workStation?: string;
|
|
39
|
-
employeeNo?: string;
|
|
40
|
-
city?: string;
|
|
41
|
-
jobTitle?: string;
|
|
42
|
-
employeeType?: number;
|
|
43
|
-
/** 直属上级 */
|
|
44
|
-
leader?: LeaderUser;
|
|
45
|
-
/** 虚线上级 */
|
|
46
|
-
dottedLineLeaders?: LeaderUser[];
|
|
47
19
|
};
|
|
48
20
|
export type DepartmentInfo = {
|
|
49
21
|
departmentID: string;
|
|
50
22
|
larkDepartmentID: string;
|
|
51
23
|
name: I18nText;
|
|
52
|
-
/** 飞书部门 open id(od- 开头) */
|
|
53
|
-
openDepartmentID?: string;
|
|
54
24
|
};
|
|
55
25
|
export type AccountType = 'apaas' | 'lark';
|
|
56
26
|
export type SearchAvatar = {
|
|
@@ -65,8 +35,6 @@ export type SearchUsersParams = {
|
|
|
65
35
|
offset?: number;
|
|
66
36
|
pageSize?: number;
|
|
67
37
|
searchExternalContact?: boolean;
|
|
68
|
-
/** 是否返回 full 字段(手机号/职位/上级等),默认 false */
|
|
69
|
-
needFullFields?: boolean;
|
|
70
38
|
};
|
|
71
39
|
export type SearchUsersResponse = {
|
|
72
40
|
data: {
|
|
@@ -107,8 +75,6 @@ export type SearchDepartmentsResponse = {
|
|
|
107
75
|
export type ChatInfo = {
|
|
108
76
|
/** 群组 ID */
|
|
109
77
|
chatID: string;
|
|
110
|
-
/** 飞书群组 open id(oc_ 开头),调飞书群组能力时使用 */
|
|
111
|
-
openChatID?: string;
|
|
112
78
|
/** 群组名称(国际化文本) */
|
|
113
79
|
name: I18nText;
|
|
114
80
|
/** 头像:URL 或 16 进制 RGB 颜色 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/client-toolkit",
|
|
3
|
-
"version": "1.2.54-alpha.
|
|
3
|
+
"version": "1.2.54-alpha.9",
|
|
4
4
|
"types": "./lib/index.d.ts",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"@ant-design/colors": "^7.2.1",
|
|
101
101
|
"@ant-design/cssinjs": "^1.24.0",
|
|
102
102
|
"@lark-apaas/aily-web-sdk": "^0.0.11",
|
|
103
|
-
"@lark-apaas/auth-sdk": "0.1.
|
|
103
|
+
"@lark-apaas/auth-sdk": "^0.1.5",
|
|
104
104
|
"@lark-apaas/client-capability": "^0.1.7",
|
|
105
105
|
"@lark-apaas/dataloom": "^0.1.3",
|
|
106
106
|
"@lark-apaas/internal-slardar": "^0.0.3",
|
|
107
107
|
"@lark-apaas/miaoda-inspector": "^1.0.23",
|
|
108
|
-
"@lark-apaas/observable-web": "
|
|
108
|
+
"@lark-apaas/observable-web": "1.0.7-alpha.1",
|
|
109
109
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
110
110
|
"@radix-ui/react-popover": "^1.1.15",
|
|
111
111
|
"@radix-ui/react-slot": "^1.2.3",
|