@larksuiteoapi/node-sdk 1.7.0 → 1.8.0
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/README.md +9 -9
- package/README.zh.md +9 -9
- package/es/index.js +279 -240
- package/lib/index.js +279 -240
- package/package.json +2 -2
- package/types/index.d.ts +765 -412
package/types/index.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ declare abstract class Client$1 {
|
|
|
95
95
|
*/
|
|
96
96
|
acs: {
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* access_record.access_photo
|
|
99
99
|
*/
|
|
100
100
|
accessRecordAccessPhoto: {
|
|
101
101
|
/**
|
|
@@ -103,9 +103,9 @@ declare abstract class Client$1 {
|
|
|
103
103
|
*
|
|
104
104
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/access_record-access_photo/get document }
|
|
105
105
|
*
|
|
106
|
-
*
|
|
106
|
+
* 下载开门时的人脸识别图片
|
|
107
107
|
*
|
|
108
|
-
*
|
|
108
|
+
* 用户在门禁考勤机上成功开门或打卡后,智能门禁应用都会生成一条门禁记录,对于使用人脸识别方式进行开门的识别记录,还会有抓拍图。;;可以用该接口下载开门时的人脸识别照片。
|
|
109
109
|
*/
|
|
110
110
|
get: (payload?: {
|
|
111
111
|
path?: {
|
|
@@ -149,7 +149,7 @@ declare abstract class Client$1 {
|
|
|
149
149
|
*
|
|
150
150
|
* 获取门禁记录列表
|
|
151
151
|
*
|
|
152
|
-
*
|
|
152
|
+
* 用户在门禁考勤机上成功开门或打卡后,智能门禁应用都会生成一条门禁记录。;;该接口返回满足查询参数的识别记录。
|
|
153
153
|
*/
|
|
154
154
|
list: (payload?: {
|
|
155
155
|
params: {
|
|
@@ -188,9 +188,9 @@ declare abstract class Client$1 {
|
|
|
188
188
|
*
|
|
189
189
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/device/list document }
|
|
190
190
|
*
|
|
191
|
-
*
|
|
191
|
+
* 获取门禁设备列表
|
|
192
192
|
*
|
|
193
|
-
*
|
|
193
|
+
* 使用该接口获取租户内所有门禁设备。
|
|
194
194
|
*/
|
|
195
195
|
list: (payload?: {}, options?: IRequestOptions$1) => Promise<{
|
|
196
196
|
code?: number | undefined;
|
|
@@ -205,7 +205,7 @@ declare abstract class Client$1 {
|
|
|
205
205
|
}>;
|
|
206
206
|
};
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* user.face
|
|
209
209
|
*/
|
|
210
210
|
userFace: {
|
|
211
211
|
/**
|
|
@@ -215,7 +215,7 @@ declare abstract class Client$1 {
|
|
|
215
215
|
*
|
|
216
216
|
* 下载人脸图片
|
|
217
217
|
*
|
|
218
|
-
*
|
|
218
|
+
* 对于已经录入人脸图片的用户,可以使用该接口下载用户人脸图片。
|
|
219
219
|
*/
|
|
220
220
|
get: (payload?: {
|
|
221
221
|
params?: {
|
|
@@ -252,7 +252,7 @@ declare abstract class Client$1 {
|
|
|
252
252
|
}, options?: IRequestOptions$1) => Promise<{} | {}>;
|
|
253
253
|
};
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* 用户管理
|
|
256
256
|
*/
|
|
257
257
|
user: {
|
|
258
258
|
/**
|
|
@@ -310,9 +310,9 @@ declare abstract class Client$1 {
|
|
|
310
310
|
*
|
|
311
311
|
* 获取用户列表
|
|
312
312
|
*
|
|
313
|
-
*
|
|
313
|
+
* 使用该接口获取智能门禁中所有用户信息。
|
|
314
314
|
*
|
|
315
|
-
*
|
|
315
|
+
* 只能获取已加入智能门禁权限组的用户。
|
|
316
316
|
*/
|
|
317
317
|
list: (payload?: {
|
|
318
318
|
params?: {
|
|
@@ -980,7 +980,7 @@ declare abstract class Client$1 {
|
|
|
980
980
|
} | {}>;
|
|
981
981
|
};
|
|
982
982
|
/**
|
|
983
|
-
*
|
|
983
|
+
* 登录密码管理
|
|
984
984
|
*/
|
|
985
985
|
password: {
|
|
986
986
|
/**
|
|
@@ -1014,7 +1014,7 @@ declare abstract class Client$1 {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
application: {
|
|
1016
1016
|
/**
|
|
1017
|
-
*
|
|
1017
|
+
* 我的常用推荐规则
|
|
1018
1018
|
*/
|
|
1019
1019
|
appRecommendRule: {
|
|
1020
1020
|
listWithIterator: (payload?: {
|
|
@@ -1191,7 +1191,7 @@ declare abstract class Client$1 {
|
|
|
1191
1191
|
*
|
|
1192
1192
|
* 获取应用版本信息
|
|
1193
1193
|
*
|
|
1194
|
-
*
|
|
1194
|
+
* 根据应用 ID 和应用版本 ID 来获取同租户下的应用版本的信息
|
|
1195
1195
|
*/
|
|
1196
1196
|
get: (payload?: {
|
|
1197
1197
|
params: {
|
|
@@ -1852,7 +1852,7 @@ declare abstract class Client$1 {
|
|
|
1852
1852
|
approval_name: string;
|
|
1853
1853
|
approval_code?: string;
|
|
1854
1854
|
description?: string;
|
|
1855
|
-
viewers
|
|
1855
|
+
viewers: Array<{
|
|
1856
1856
|
viewer_type?: "TENANT" | "DEPARTMENT" | "USER" | "NONE";
|
|
1857
1857
|
viewer_user_id?: string;
|
|
1858
1858
|
viewer_department_id?: string;
|
|
@@ -1925,6 +1925,8 @@ declare abstract class Client$1 {
|
|
|
1925
1925
|
get: (payload?: {
|
|
1926
1926
|
params?: {
|
|
1927
1927
|
locale?: "zh-CN" | "en-US" | "ja-JP";
|
|
1928
|
+
with_admin_id?: boolean;
|
|
1929
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1928
1930
|
};
|
|
1929
1931
|
path: {
|
|
1930
1932
|
approval_code: string;
|
|
@@ -1953,6 +1955,7 @@ declare abstract class Client$1 {
|
|
|
1953
1955
|
id?: string;
|
|
1954
1956
|
user_id?: string;
|
|
1955
1957
|
}>;
|
|
1958
|
+
approval_admin_ids?: string[] | undefined;
|
|
1956
1959
|
} | undefined;
|
|
1957
1960
|
}>;
|
|
1958
1961
|
listWithIterator: (payload?: {
|
|
@@ -2472,7 +2475,7 @@ declare abstract class Client$1 {
|
|
|
2472
2475
|
data: {
|
|
2473
2476
|
approval_code: string;
|
|
2474
2477
|
user_id?: string;
|
|
2475
|
-
open_id
|
|
2478
|
+
open_id?: string;
|
|
2476
2479
|
department_id?: string;
|
|
2477
2480
|
form: string;
|
|
2478
2481
|
node_approver_user_id_list?: Array<{
|
|
@@ -3044,7 +3047,7 @@ declare abstract class Client$1 {
|
|
|
3044
3047
|
}>;
|
|
3045
3048
|
};
|
|
3046
3049
|
/**
|
|
3047
|
-
*
|
|
3050
|
+
* 原生审批任务
|
|
3048
3051
|
*/
|
|
3049
3052
|
task: {
|
|
3050
3053
|
/**
|
|
@@ -6191,6 +6194,31 @@ declare abstract class Client$1 {
|
|
|
6191
6194
|
* 仪表盘
|
|
6192
6195
|
*/
|
|
6193
6196
|
appDashboard: {
|
|
6197
|
+
/**
|
|
6198
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.dashboard&apiName=copy&version=v1 click to debug }
|
|
6199
|
+
*
|
|
6200
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-dashboard/copy document }
|
|
6201
|
+
*
|
|
6202
|
+
* 复制仪表盘
|
|
6203
|
+
*
|
|
6204
|
+
* 该接口用于根据现有仪表盘复制出新的仪表盘
|
|
6205
|
+
*/
|
|
6206
|
+
copy: (payload?: {
|
|
6207
|
+
data: {
|
|
6208
|
+
name: string;
|
|
6209
|
+
};
|
|
6210
|
+
path: {
|
|
6211
|
+
app_token: string;
|
|
6212
|
+
block_id: string;
|
|
6213
|
+
};
|
|
6214
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
6215
|
+
code?: number | undefined;
|
|
6216
|
+
msg?: string | undefined;
|
|
6217
|
+
data?: {
|
|
6218
|
+
block_id?: string | undefined;
|
|
6219
|
+
name?: string | undefined;
|
|
6220
|
+
} | undefined;
|
|
6221
|
+
}>;
|
|
6194
6222
|
listWithIterator: (payload?: {
|
|
6195
6223
|
params?: {
|
|
6196
6224
|
page_size?: number;
|
|
@@ -8118,6 +8146,46 @@ declare abstract class Client$1 {
|
|
|
8118
8146
|
msg?: string | undefined;
|
|
8119
8147
|
data?: {} | undefined;
|
|
8120
8148
|
}>;
|
|
8149
|
+
/**
|
|
8150
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=get&version=v1 click to debug }
|
|
8151
|
+
*
|
|
8152
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-view/get document }
|
|
8153
|
+
*
|
|
8154
|
+
* 检索视图
|
|
8155
|
+
*
|
|
8156
|
+
* 该接口根据 view_id 检索现有视图
|
|
8157
|
+
*/
|
|
8158
|
+
get: (payload?: {
|
|
8159
|
+
path?: {
|
|
8160
|
+
app_token?: string;
|
|
8161
|
+
table_id?: string;
|
|
8162
|
+
view_id?: string;
|
|
8163
|
+
};
|
|
8164
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
8165
|
+
code?: number | undefined;
|
|
8166
|
+
msg?: string | undefined;
|
|
8167
|
+
data?: {
|
|
8168
|
+
view?: {
|
|
8169
|
+
view_id?: string | undefined;
|
|
8170
|
+
view_name?: string | undefined;
|
|
8171
|
+
view_type?: string | undefined;
|
|
8172
|
+
property?: {
|
|
8173
|
+
filter_info?: {
|
|
8174
|
+
conjunction: "and" | "or";
|
|
8175
|
+
conditions: Array<{
|
|
8176
|
+
field_id: string;
|
|
8177
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8178
|
+
value?: string;
|
|
8179
|
+
condition_id?: string;
|
|
8180
|
+
field_type?: string;
|
|
8181
|
+
}>;
|
|
8182
|
+
condition_omitted?: boolean | undefined;
|
|
8183
|
+
} | undefined;
|
|
8184
|
+
hidden_fields?: string[] | undefined;
|
|
8185
|
+
} | undefined;
|
|
8186
|
+
} | undefined;
|
|
8187
|
+
} | undefined;
|
|
8188
|
+
}>;
|
|
8121
8189
|
listWithIterator: (payload?: {
|
|
8122
8190
|
params?: {
|
|
8123
8191
|
page_size?: number;
|
|
@@ -8199,6 +8267,60 @@ declare abstract class Client$1 {
|
|
|
8199
8267
|
total?: number | undefined;
|
|
8200
8268
|
} | undefined;
|
|
8201
8269
|
}>;
|
|
8270
|
+
/**
|
|
8271
|
+
* {@link https://open.feishu.cn/api-explorer?project=bitable&resource=app.table.view&apiName=patch&version=v1 click to debug }
|
|
8272
|
+
*
|
|
8273
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-view/patch document }
|
|
8274
|
+
*
|
|
8275
|
+
* 更新视图
|
|
8276
|
+
*
|
|
8277
|
+
* 该接口用于增量修改视图信息
|
|
8278
|
+
*/
|
|
8279
|
+
patch: (payload?: {
|
|
8280
|
+
data?: {
|
|
8281
|
+
view_name?: string;
|
|
8282
|
+
property?: {
|
|
8283
|
+
filter_info?: {
|
|
8284
|
+
conjunction: "and" | "or";
|
|
8285
|
+
conditions: Array<{
|
|
8286
|
+
field_id: string;
|
|
8287
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8288
|
+
value?: string;
|
|
8289
|
+
}>;
|
|
8290
|
+
};
|
|
8291
|
+
hidden_fields?: Array<string>;
|
|
8292
|
+
};
|
|
8293
|
+
};
|
|
8294
|
+
path: {
|
|
8295
|
+
app_token: string;
|
|
8296
|
+
table_id: string;
|
|
8297
|
+
view_id: string;
|
|
8298
|
+
};
|
|
8299
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
8300
|
+
code?: number | undefined;
|
|
8301
|
+
msg?: string | undefined;
|
|
8302
|
+
data?: {
|
|
8303
|
+
view?: {
|
|
8304
|
+
view_id?: string | undefined;
|
|
8305
|
+
view_name?: string | undefined;
|
|
8306
|
+
view_type?: string | undefined;
|
|
8307
|
+
property?: {
|
|
8308
|
+
filter_info?: {
|
|
8309
|
+
conjunction: "and" | "or";
|
|
8310
|
+
conditions: Array<{
|
|
8311
|
+
field_id: string;
|
|
8312
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8313
|
+
value?: string;
|
|
8314
|
+
condition_id?: string;
|
|
8315
|
+
field_type?: string;
|
|
8316
|
+
}>;
|
|
8317
|
+
condition_omitted?: boolean | undefined;
|
|
8318
|
+
} | undefined;
|
|
8319
|
+
hidden_fields?: string[] | undefined;
|
|
8320
|
+
} | undefined;
|
|
8321
|
+
} | undefined;
|
|
8322
|
+
} | undefined;
|
|
8323
|
+
}>;
|
|
8202
8324
|
};
|
|
8203
8325
|
};
|
|
8204
8326
|
/**
|
|
@@ -8320,7 +8442,7 @@ declare abstract class Client$1 {
|
|
|
8320
8442
|
*/
|
|
8321
8443
|
calendar: {
|
|
8322
8444
|
/**
|
|
8323
|
-
*
|
|
8445
|
+
* 日历访问控制
|
|
8324
8446
|
*/
|
|
8325
8447
|
calendarAcl: {
|
|
8326
8448
|
/**
|
|
@@ -8480,7 +8602,7 @@ declare abstract class Client$1 {
|
|
|
8480
8602
|
}>;
|
|
8481
8603
|
};
|
|
8482
8604
|
/**
|
|
8483
|
-
*
|
|
8605
|
+
* 日历管理
|
|
8484
8606
|
*/
|
|
8485
8607
|
calendar: {
|
|
8486
8608
|
/**
|
|
@@ -8488,7 +8610,7 @@ declare abstract class Client$1 {
|
|
|
8488
8610
|
*
|
|
8489
8611
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/create document }
|
|
8490
8612
|
*
|
|
8491
|
-
*
|
|
8613
|
+
* 创建共享日历
|
|
8492
8614
|
*
|
|
8493
8615
|
* 该接口用于为当前身份(应用 / 用户)创建一个共享日历。;;身份由 Header Authorization 的 Token 类型决定。
|
|
8494
8616
|
*/
|
|
@@ -8523,7 +8645,7 @@ declare abstract class Client$1 {
|
|
|
8523
8645
|
*
|
|
8524
8646
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/delete document }
|
|
8525
8647
|
*
|
|
8526
|
-
*
|
|
8648
|
+
* 删除共享日历
|
|
8527
8649
|
*
|
|
8528
8650
|
* 该接口用于以当前身份(应用 / 用户)删除一个共享日历。;;身份由 Header Authorization 的 Token 类型决定。
|
|
8529
8651
|
*
|
|
@@ -8543,7 +8665,7 @@ declare abstract class Client$1 {
|
|
|
8543
8665
|
*
|
|
8544
8666
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get document }
|
|
8545
8667
|
*
|
|
8546
|
-
*
|
|
8668
|
+
* 查询日历信息
|
|
8547
8669
|
*
|
|
8548
8670
|
* 该接口用于以当前身份(应用 / 用户)根据日历 ID 获取日历信息。;;身份由 Header Authorization 的 Token 类型决定。
|
|
8549
8671
|
*
|
|
@@ -8574,7 +8696,7 @@ declare abstract class Client$1 {
|
|
|
8574
8696
|
*
|
|
8575
8697
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/list document }
|
|
8576
8698
|
*
|
|
8577
|
-
*
|
|
8699
|
+
* 查询日历列表
|
|
8578
8700
|
*
|
|
8579
8701
|
* 该接口用于分页获得当前身份(应用 / 用户)的日历列表。;;身份由 Header Authorization 的 Token 类型决定。
|
|
8580
8702
|
*
|
|
@@ -8612,7 +8734,7 @@ declare abstract class Client$1 {
|
|
|
8612
8734
|
*
|
|
8613
8735
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/patch document }
|
|
8614
8736
|
*
|
|
8615
|
-
*
|
|
8737
|
+
* 更新日历信息
|
|
8616
8738
|
*
|
|
8617
8739
|
* 该接口用于以当前身份(应用 / 用户)修改日历信息。;;身份由 Header Authorization 的 Token 类型决定。
|
|
8618
8740
|
*
|
|
@@ -8652,7 +8774,7 @@ declare abstract class Client$1 {
|
|
|
8652
8774
|
*
|
|
8653
8775
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/primary document }
|
|
8654
8776
|
*
|
|
8655
|
-
*
|
|
8777
|
+
* 查询主日历信息
|
|
8656
8778
|
*
|
|
8657
8779
|
* 获取当前身份的主日历信息。
|
|
8658
8780
|
*/
|
|
@@ -9788,7 +9910,7 @@ declare abstract class Client$1 {
|
|
|
9788
9910
|
}>;
|
|
9789
9911
|
};
|
|
9790
9912
|
/**
|
|
9791
|
-
*
|
|
9913
|
+
* freebusy
|
|
9792
9914
|
*/
|
|
9793
9915
|
freebusy: {
|
|
9794
9916
|
/**
|
|
@@ -9796,7 +9918,7 @@ declare abstract class Client$1 {
|
|
|
9796
9918
|
*
|
|
9797
9919
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/freebusy/list document }
|
|
9798
9920
|
*
|
|
9799
|
-
*
|
|
9921
|
+
* 查询主日历忙闲信息
|
|
9800
9922
|
*
|
|
9801
9923
|
* 查询用户主日历或会议室的忙闲信息。
|
|
9802
9924
|
*/
|
|
@@ -10159,9 +10281,9 @@ declare abstract class Client$1 {
|
|
|
10159
10281
|
*
|
|
10160
10282
|
* 删除部门
|
|
10161
10283
|
*
|
|
10162
|
-
*
|
|
10284
|
+
* 该接口用于从通讯录中删除部门。
|
|
10163
10285
|
*
|
|
10164
|
-
*
|
|
10286
|
+
* 应用需要同时拥有待删除部门及其父部门的通讯录授权。
|
|
10165
10287
|
*/
|
|
10166
10288
|
delete: (payload?: {
|
|
10167
10289
|
params?: {
|
|
@@ -10401,9 +10523,9 @@ declare abstract class Client$1 {
|
|
|
10401
10523
|
*
|
|
10402
10524
|
* 修改部门部分信息
|
|
10403
10525
|
*
|
|
10404
|
-
*
|
|
10526
|
+
* 该接口用于更新通讯录中部门的信息。
|
|
10405
10527
|
*
|
|
10406
|
-
*
|
|
10528
|
+
* 调用该接口需要具有该部门以及更新操作涉及的部门的通讯录权限。
|
|
10407
10529
|
*/
|
|
10408
10530
|
patch: (payload?: {
|
|
10409
10531
|
data?: {
|
|
@@ -10558,7 +10680,7 @@ declare abstract class Client$1 {
|
|
|
10558
10680
|
*
|
|
10559
10681
|
* 该接口用于更新当前部门所有信息。
|
|
10560
10682
|
*
|
|
10561
|
-
* -
|
|
10683
|
+
* - 调用该接口需要具有该部门与更新部门信息涉及的通讯录权限。;; - 没有填写的字段会被置为空值(order字段除外)。
|
|
10562
10684
|
*/
|
|
10563
10685
|
update: (payload?: {
|
|
10564
10686
|
data: {
|
|
@@ -11126,7 +11248,7 @@ declare abstract class Client$1 {
|
|
|
11126
11248
|
*
|
|
11127
11249
|
* 建立部门与单位的绑定关系
|
|
11128
11250
|
*
|
|
11129
|
-
*
|
|
11251
|
+
* 通过该接口建立部门与单位的绑定关系。由于单位是旗舰版付费功能,企业需开通相关版本,否则会绑定失败,不同版本请参考[飞书版本对比](https://www.feishu.cn/service)
|
|
11130
11252
|
*/
|
|
11131
11253
|
bindDepartment: (payload?: {
|
|
11132
11254
|
data: {
|
|
@@ -11146,7 +11268,7 @@ declare abstract class Client$1 {
|
|
|
11146
11268
|
*
|
|
11147
11269
|
* 创建单位
|
|
11148
11270
|
*
|
|
11149
|
-
*
|
|
11271
|
+
* 该接口用于创建单位。注意:单位功能属于旗舰版付费功能,企业需开通对应版本才可以创建单位,不同版本请参考[飞书版本对比](https://www.feishu.cn/service)。
|
|
11150
11272
|
*/
|
|
11151
11273
|
create: (payload?: {
|
|
11152
11274
|
data: {
|
|
@@ -11186,7 +11308,7 @@ declare abstract class Client$1 {
|
|
|
11186
11308
|
*
|
|
11187
11309
|
* 获取单位信息
|
|
11188
11310
|
*
|
|
11189
|
-
*
|
|
11311
|
+
* 该接口用于获取单位信息
|
|
11190
11312
|
*/
|
|
11191
11313
|
get: (payload?: {
|
|
11192
11314
|
path: {
|
|
@@ -11497,9 +11619,9 @@ declare abstract class Client$1 {
|
|
|
11497
11619
|
*
|
|
11498
11620
|
* 删除用户
|
|
11499
11621
|
*
|
|
11500
|
-
*
|
|
11622
|
+
* 该接口用于从通讯录删除一个用户信息,可以理解为员工离职。
|
|
11501
11623
|
*
|
|
11502
|
-
* - 若用户归属部门A、部门B,应用的通讯录权限范围必须包括部门A和部门B才可以删除用户。;-
|
|
11624
|
+
* - 若用户归属部门A、部门B,应用的通讯录权限范围必须包括部门A和部门B才可以删除用户。;- 用户可以在删除员工时设置删除员工数据(如文档)的接收者,如果不设置则由其leader接收,如果该员工没有leader,则会将该员工的数据删除。
|
|
11503
11625
|
*/
|
|
11504
11626
|
delete: (payload?: {
|
|
11505
11627
|
data?: {
|
|
@@ -12139,7 +12261,7 @@ declare abstract class Client$1 {
|
|
|
12139
12261
|
*
|
|
12140
12262
|
* 该接口用于更新通讯录中用户的字段。
|
|
12141
12263
|
*
|
|
12142
|
-
*
|
|
12264
|
+
* 应用需要拥有待更新用户的通讯录授权,如果涉及到用户部门变更,还需要同时拥有变更前、后所有新部门的通讯录授权。
|
|
12143
12265
|
*/
|
|
12144
12266
|
update: (payload?: {
|
|
12145
12267
|
data: {
|
|
@@ -12294,9 +12416,73 @@ declare abstract class Client$1 {
|
|
|
12294
12416
|
*/
|
|
12295
12417
|
contract: {};
|
|
12296
12418
|
/**
|
|
12297
|
-
|
|
12419
|
+
* CoreHR
|
|
12420
|
+
*/
|
|
12421
|
+
corehr: {
|
|
12422
|
+
/**
|
|
12423
|
+
* 休假管理
|
|
12298
12424
|
*/
|
|
12299
|
-
|
|
12425
|
+
leave: {
|
|
12426
|
+
/**
|
|
12427
|
+
* {@link https://open.feishu.cn/api-explorer?project=corehr&resource=leave&apiName=leave_request_history&version=v1 click to debug }
|
|
12428
|
+
*
|
|
12429
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/leave_request_history document }
|
|
12430
|
+
*
|
|
12431
|
+
* 批量查询员工请假记录
|
|
12432
|
+
*
|
|
12433
|
+
* 批量获取员工的请假记录数据
|
|
12434
|
+
*/
|
|
12435
|
+
leaveRequestHistory: (payload?: {
|
|
12436
|
+
params: {
|
|
12437
|
+
page_token?: string;
|
|
12438
|
+
page_size: string;
|
|
12439
|
+
employment_id_list?: number;
|
|
12440
|
+
initiator_id_list?: number;
|
|
12441
|
+
leave_request_status?: number;
|
|
12442
|
+
leave_type_id_list?: number;
|
|
12443
|
+
leave_start_date_min?: string;
|
|
12444
|
+
leave_start_date_max?: string;
|
|
12445
|
+
leave_end_date_min?: string;
|
|
12446
|
+
leave_end_date_max?: string;
|
|
12447
|
+
leave_submit_date_min?: string;
|
|
12448
|
+
leave_submit_date_max?: string;
|
|
12449
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_corehr_id";
|
|
12450
|
+
leave_update_time_min?: string;
|
|
12451
|
+
leave_update_time_max?: string;
|
|
12452
|
+
};
|
|
12453
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12454
|
+
code?: number | undefined;
|
|
12455
|
+
msg?: string | undefined;
|
|
12456
|
+
data?: {
|
|
12457
|
+
leave_request_list?: {
|
|
12458
|
+
leave_request_id: string;
|
|
12459
|
+
employment_id: string;
|
|
12460
|
+
employment_name: Array<{
|
|
12461
|
+
lang: string;
|
|
12462
|
+
value: string;
|
|
12463
|
+
}>;
|
|
12464
|
+
leave_type_id: string;
|
|
12465
|
+
leave_type_name: Array<{
|
|
12466
|
+
lang: string;
|
|
12467
|
+
value: string;
|
|
12468
|
+
}>;
|
|
12469
|
+
start_time: string;
|
|
12470
|
+
end_time: string;
|
|
12471
|
+
leave_duration: string;
|
|
12472
|
+
leave_duration_unit: number;
|
|
12473
|
+
leave_request_status: number;
|
|
12474
|
+
grant_source: string;
|
|
12475
|
+
return_time: string;
|
|
12476
|
+
submitted_at: string;
|
|
12477
|
+
submitted_by: string;
|
|
12478
|
+
notes: string;
|
|
12479
|
+
}[] | undefined;
|
|
12480
|
+
has_more?: boolean | undefined;
|
|
12481
|
+
page_token?: string | undefined;
|
|
12482
|
+
} | undefined;
|
|
12483
|
+
}>;
|
|
12484
|
+
};
|
|
12485
|
+
};
|
|
12300
12486
|
/**
|
|
12301
12487
|
|
|
12302
12488
|
*/
|
|
@@ -36688,7 +36874,7 @@ declare abstract class Client$1 {
|
|
|
36688
36874
|
is_whole?: boolean;
|
|
36689
36875
|
is_solved?: boolean;
|
|
36690
36876
|
page_token?: string;
|
|
36691
|
-
page_size?:
|
|
36877
|
+
page_size?: number;
|
|
36692
36878
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
36693
36879
|
};
|
|
36694
36880
|
path: {
|
|
@@ -36751,7 +36937,7 @@ declare abstract class Client$1 {
|
|
|
36751
36937
|
is_whole?: boolean;
|
|
36752
36938
|
is_solved?: boolean;
|
|
36753
36939
|
page_token?: string;
|
|
36754
|
-
page_size?:
|
|
36940
|
+
page_size?: number;
|
|
36755
36941
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
36756
36942
|
};
|
|
36757
36943
|
path: {
|
|
@@ -36898,7 +37084,7 @@ declare abstract class Client$1 {
|
|
|
36898
37084
|
}>;
|
|
36899
37085
|
};
|
|
36900
37086
|
/**
|
|
36901
|
-
*
|
|
37087
|
+
* 下载
|
|
36902
37088
|
*/
|
|
36903
37089
|
file: {
|
|
36904
37090
|
/**
|
|
@@ -37097,7 +37283,7 @@ declare abstract class Client$1 {
|
|
|
37097
37283
|
*
|
|
37098
37284
|
* 订阅云文档事件
|
|
37099
37285
|
*
|
|
37100
|
-
* 该接口仅支持**文档拥有者**订阅自己文档的通知事件,可订阅的文档类型为**旧版文档**、**新版文档**、**电子表格**和**多维表格**。在调用该接口之前请确保正确[配置事件回调网址和订阅事件类型](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM#2eb3504a),事件类型参考[事件列表](https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-list)。
|
|
37286
|
+
* 该接口仅支持**文档拥有者**订阅自己文档的通知事件,可订阅的文档类型为**旧版文档**、**新版文档**、**电子表格**和**多维表格**。在调用该接口之前请确保正确[配置事件回调网址和订阅事件类型](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM#2eb3504a)(暂不支持单独订阅文档维度的某类事件),事件类型参考[事件列表](https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-list)。
|
|
37101
37287
|
*/
|
|
37102
37288
|
subscribe: (payload?: {
|
|
37103
37289
|
params: {
|
|
@@ -37423,7 +37609,7 @@ declare abstract class Client$1 {
|
|
|
37423
37609
|
}>;
|
|
37424
37610
|
};
|
|
37425
37611
|
/**
|
|
37426
|
-
*
|
|
37612
|
+
* 分片上传
|
|
37427
37613
|
*/
|
|
37428
37614
|
media: {
|
|
37429
37615
|
/**
|
|
@@ -37638,7 +37824,7 @@ declare abstract class Client$1 {
|
|
|
37638
37824
|
perm: "view" | "edit" | "full_access";
|
|
37639
37825
|
};
|
|
37640
37826
|
params: {
|
|
37641
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote";
|
|
37827
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote" | "minutes";
|
|
37642
37828
|
need_notification?: boolean;
|
|
37643
37829
|
};
|
|
37644
37830
|
path: {
|
|
@@ -37666,7 +37852,7 @@ declare abstract class Client$1 {
|
|
|
37666
37852
|
*/
|
|
37667
37853
|
delete: (payload?: {
|
|
37668
37854
|
params: {
|
|
37669
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote";
|
|
37855
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "folder" | "mindnote" | "minutes";
|
|
37670
37856
|
member_type: "email" | "openid" | "openchat" | "opendepartmentid" | "userid";
|
|
37671
37857
|
};
|
|
37672
37858
|
path: {
|
|
@@ -37691,7 +37877,7 @@ declare abstract class Client$1 {
|
|
|
37691
37877
|
*/
|
|
37692
37878
|
list: (payload?: {
|
|
37693
37879
|
params: {
|
|
37694
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote";
|
|
37880
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
|
|
37695
37881
|
fields?: string;
|
|
37696
37882
|
};
|
|
37697
37883
|
path: {
|
|
@@ -37730,7 +37916,7 @@ declare abstract class Client$1 {
|
|
|
37730
37916
|
};
|
|
37731
37917
|
params: {
|
|
37732
37918
|
need_notification?: boolean;
|
|
37733
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote";
|
|
37919
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
|
|
37734
37920
|
};
|
|
37735
37921
|
path: {
|
|
37736
37922
|
token: string;
|
|
@@ -37763,7 +37949,7 @@ declare abstract class Client$1 {
|
|
|
37763
37949
|
*/
|
|
37764
37950
|
get: (payload?: {
|
|
37765
37951
|
params: {
|
|
37766
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
|
|
37952
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
|
|
37767
37953
|
};
|
|
37768
37954
|
path: {
|
|
37769
37955
|
token: string;
|
|
@@ -37802,7 +37988,7 @@ declare abstract class Client$1 {
|
|
|
37802
37988
|
invite_external?: boolean;
|
|
37803
37989
|
};
|
|
37804
37990
|
params: {
|
|
37805
|
-
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx";
|
|
37991
|
+
type: "doc" | "sheet" | "file" | "wiki" | "bitable" | "docx" | "mindnote" | "minutes";
|
|
37806
37992
|
};
|
|
37807
37993
|
path: {
|
|
37808
37994
|
token: string;
|
|
@@ -37833,7 +38019,7 @@ declare abstract class Client$1 {
|
|
|
37833
38019
|
*/
|
|
37834
38020
|
ehr: {
|
|
37835
38021
|
/**
|
|
37836
|
-
*
|
|
38022
|
+
* 飞书人事(标准版)
|
|
37837
38023
|
*/
|
|
37838
38024
|
attachment: {
|
|
37839
38025
|
/**
|
|
@@ -37856,7 +38042,7 @@ declare abstract class Client$1 {
|
|
|
37856
38042
|
}>;
|
|
37857
38043
|
};
|
|
37858
38044
|
/**
|
|
37859
|
-
*
|
|
38045
|
+
* 飞书人事(标准版)
|
|
37860
38046
|
*/
|
|
37861
38047
|
employee: {
|
|
37862
38048
|
listWithIterator: (payload?: {
|
|
@@ -40941,6 +41127,34 @@ declare abstract class Client$1 {
|
|
|
40941
41127
|
} | undefined;
|
|
40942
41128
|
}>;
|
|
40943
41129
|
};
|
|
41130
|
+
/**
|
|
41131
|
+
* 导入 e-HR
|
|
41132
|
+
*/
|
|
41133
|
+
ehrImportTask: {
|
|
41134
|
+
/**
|
|
41135
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=ehr_import_task&apiName=patch&version=v1 click to debug }
|
|
41136
|
+
*
|
|
41137
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/ehr_import_task/patch document }
|
|
41138
|
+
*
|
|
41139
|
+
* 更新 e-HR 导入任务结果
|
|
41140
|
+
*
|
|
41141
|
+
* 在处理完导入 e-HR 事件后,可调用该接口,更新 e-HR 导入任务结果
|
|
41142
|
+
*/
|
|
41143
|
+
patch: (payload?: {
|
|
41144
|
+
data: {
|
|
41145
|
+
fail_reason?: string;
|
|
41146
|
+
redirect_url?: string;
|
|
41147
|
+
state: number;
|
|
41148
|
+
};
|
|
41149
|
+
path: {
|
|
41150
|
+
ehr_import_task_id: string;
|
|
41151
|
+
};
|
|
41152
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
41153
|
+
code?: number | undefined;
|
|
41154
|
+
msg?: string | undefined;
|
|
41155
|
+
data?: {} | undefined;
|
|
41156
|
+
}>;
|
|
41157
|
+
};
|
|
40944
41158
|
/**
|
|
40945
41159
|
* 入职
|
|
40946
41160
|
*/
|
|
@@ -41078,6 +41292,284 @@ declare abstract class Client$1 {
|
|
|
41078
41292
|
* 职位
|
|
41079
41293
|
*/
|
|
41080
41294
|
job: {
|
|
41295
|
+
/**
|
|
41296
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=combined_create&version=v1 click to debug }
|
|
41297
|
+
*
|
|
41298
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/combined_create document }
|
|
41299
|
+
*
|
|
41300
|
+
* 新建职位
|
|
41301
|
+
*
|
|
41302
|
+
* 新建职位,字段的是否必填,以系统中的「职位字段管理」中的设置为准。
|
|
41303
|
+
*/
|
|
41304
|
+
combinedCreate: (payload?: {
|
|
41305
|
+
data: {
|
|
41306
|
+
code?: string;
|
|
41307
|
+
experience?: number;
|
|
41308
|
+
expiry_time: number;
|
|
41309
|
+
customized_data_list?: Array<{
|
|
41310
|
+
object_id?: string;
|
|
41311
|
+
value?: string;
|
|
41312
|
+
}>;
|
|
41313
|
+
min_level_id?: string;
|
|
41314
|
+
min_salary?: number;
|
|
41315
|
+
title: string;
|
|
41316
|
+
job_managers: {
|
|
41317
|
+
id?: string;
|
|
41318
|
+
recruiter_id: string;
|
|
41319
|
+
hiring_manager_id_list: Array<string>;
|
|
41320
|
+
assistant_id_list?: Array<string>;
|
|
41321
|
+
};
|
|
41322
|
+
job_process_id: string;
|
|
41323
|
+
process_type: number;
|
|
41324
|
+
subject_id?: string;
|
|
41325
|
+
job_function_id?: string;
|
|
41326
|
+
department_id: string;
|
|
41327
|
+
head_count?: number;
|
|
41328
|
+
is_never_expired: boolean;
|
|
41329
|
+
max_salary?: number;
|
|
41330
|
+
requirement?: string;
|
|
41331
|
+
address_id?: string;
|
|
41332
|
+
description?: string;
|
|
41333
|
+
highlight_list?: Array<string>;
|
|
41334
|
+
job_type_id: string;
|
|
41335
|
+
max_level_id?: string;
|
|
41336
|
+
recruitment_type_id: string;
|
|
41337
|
+
required_degree?: number;
|
|
41338
|
+
job_category_id?: string;
|
|
41339
|
+
address_id_list?: Array<string>;
|
|
41340
|
+
job_attribute?: number;
|
|
41341
|
+
};
|
|
41342
|
+
params?: {
|
|
41343
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
41344
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
41345
|
+
};
|
|
41346
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
41347
|
+
code?: number | undefined;
|
|
41348
|
+
msg?: string | undefined;
|
|
41349
|
+
data?: {
|
|
41350
|
+
default_job_post?: {
|
|
41351
|
+
id?: string | undefined;
|
|
41352
|
+
} | undefined;
|
|
41353
|
+
job?: {
|
|
41354
|
+
id?: string | undefined;
|
|
41355
|
+
title?: string | undefined;
|
|
41356
|
+
description?: string | undefined;
|
|
41357
|
+
code?: string | undefined;
|
|
41358
|
+
requirement?: string | undefined;
|
|
41359
|
+
recruitment_type?: {
|
|
41360
|
+
id?: string | undefined;
|
|
41361
|
+
zh_name?: string | undefined;
|
|
41362
|
+
en_name?: string | undefined;
|
|
41363
|
+
active_status?: number | undefined;
|
|
41364
|
+
} | undefined;
|
|
41365
|
+
department?: {
|
|
41366
|
+
id?: string | undefined;
|
|
41367
|
+
zh_name?: string | undefined;
|
|
41368
|
+
en_name?: string | undefined;
|
|
41369
|
+
} | undefined;
|
|
41370
|
+
city?: {
|
|
41371
|
+
city_code?: string | undefined;
|
|
41372
|
+
zh_name?: string | undefined;
|
|
41373
|
+
en_name?: string | undefined;
|
|
41374
|
+
} | undefined;
|
|
41375
|
+
min_job_level?: {
|
|
41376
|
+
id?: string | undefined;
|
|
41377
|
+
zh_name?: string | undefined;
|
|
41378
|
+
en_name?: string | undefined;
|
|
41379
|
+
active_status?: number | undefined;
|
|
41380
|
+
} | undefined;
|
|
41381
|
+
max_job_level?: {
|
|
41382
|
+
id?: string | undefined;
|
|
41383
|
+
zh_name?: string | undefined;
|
|
41384
|
+
en_name?: string | undefined;
|
|
41385
|
+
active_status?: number | undefined;
|
|
41386
|
+
} | undefined;
|
|
41387
|
+
highlight_list?: {
|
|
41388
|
+
id?: string | undefined;
|
|
41389
|
+
zh_name?: string | undefined;
|
|
41390
|
+
en_name?: string | undefined;
|
|
41391
|
+
}[] | undefined;
|
|
41392
|
+
job_category?: {
|
|
41393
|
+
id?: string | undefined;
|
|
41394
|
+
zh_name?: string | undefined;
|
|
41395
|
+
en_name?: string | undefined;
|
|
41396
|
+
active_status?: number | undefined;
|
|
41397
|
+
} | undefined;
|
|
41398
|
+
job_type?: {
|
|
41399
|
+
id?: string | undefined;
|
|
41400
|
+
zh_name?: string | undefined;
|
|
41401
|
+
en_name?: string | undefined;
|
|
41402
|
+
} | undefined;
|
|
41403
|
+
active_status?: number | undefined;
|
|
41404
|
+
create_user_id?: string | undefined;
|
|
41405
|
+
create_time?: number | undefined;
|
|
41406
|
+
update_time?: number | undefined;
|
|
41407
|
+
process_type?: number | undefined;
|
|
41408
|
+
process_id?: string | undefined;
|
|
41409
|
+
process_name?: string | undefined;
|
|
41410
|
+
process_en_name?: string | undefined;
|
|
41411
|
+
customized_data_list?: {
|
|
41412
|
+
object_id?: string | undefined;
|
|
41413
|
+
name?: {
|
|
41414
|
+
zh_cn?: string | undefined;
|
|
41415
|
+
en_us?: string | undefined;
|
|
41416
|
+
} | undefined;
|
|
41417
|
+
object_type?: number | undefined;
|
|
41418
|
+
value?: {
|
|
41419
|
+
content?: string | undefined;
|
|
41420
|
+
option?: {
|
|
41421
|
+
key?: string | undefined;
|
|
41422
|
+
name?: {
|
|
41423
|
+
zh_cn?: string | undefined;
|
|
41424
|
+
en_us?: string | undefined;
|
|
41425
|
+
} | undefined;
|
|
41426
|
+
} | undefined;
|
|
41427
|
+
option_list?: {
|
|
41428
|
+
key?: string | undefined;
|
|
41429
|
+
name?: {
|
|
41430
|
+
zh_cn?: string | undefined;
|
|
41431
|
+
en_us?: string | undefined;
|
|
41432
|
+
} | undefined;
|
|
41433
|
+
}[] | undefined;
|
|
41434
|
+
time_range?: {
|
|
41435
|
+
start_time?: string | undefined;
|
|
41436
|
+
end_time?: string | undefined;
|
|
41437
|
+
} | undefined;
|
|
41438
|
+
time?: string | undefined;
|
|
41439
|
+
number?: string | undefined;
|
|
41440
|
+
} | undefined;
|
|
41441
|
+
}[] | undefined;
|
|
41442
|
+
job_function?: {
|
|
41443
|
+
id?: string | undefined;
|
|
41444
|
+
name?: {
|
|
41445
|
+
zh_cn?: string | undefined;
|
|
41446
|
+
en_us?: string | undefined;
|
|
41447
|
+
} | undefined;
|
|
41448
|
+
} | undefined;
|
|
41449
|
+
subject?: {
|
|
41450
|
+
id?: string | undefined;
|
|
41451
|
+
name?: {
|
|
41452
|
+
zh_cn?: string | undefined;
|
|
41453
|
+
en_us?: string | undefined;
|
|
41454
|
+
} | undefined;
|
|
41455
|
+
} | undefined;
|
|
41456
|
+
head_count?: number | undefined;
|
|
41457
|
+
experience?: number | undefined;
|
|
41458
|
+
expiry_time?: number | undefined;
|
|
41459
|
+
min_salary?: number | undefined;
|
|
41460
|
+
max_salary?: number | undefined;
|
|
41461
|
+
required_degree?: number | undefined;
|
|
41462
|
+
city_list?: {
|
|
41463
|
+
code?: string | undefined;
|
|
41464
|
+
name?: {
|
|
41465
|
+
zh_cn?: string | undefined;
|
|
41466
|
+
en_us?: string | undefined;
|
|
41467
|
+
} | undefined;
|
|
41468
|
+
}[] | undefined;
|
|
41469
|
+
job_attribute?: number | undefined;
|
|
41470
|
+
} | undefined;
|
|
41471
|
+
job_manager?: {
|
|
41472
|
+
id?: string | undefined;
|
|
41473
|
+
recruiter_id: string;
|
|
41474
|
+
hiring_manager_id_list: Array<string>;
|
|
41475
|
+
assistant_id_list?: string[] | undefined;
|
|
41476
|
+
} | undefined;
|
|
41477
|
+
} | undefined;
|
|
41478
|
+
}>;
|
|
41479
|
+
/**
|
|
41480
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=config&version=v1 click to debug }
|
|
41481
|
+
*
|
|
41482
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/config document }
|
|
41483
|
+
*
|
|
41484
|
+
* 获取职位设置
|
|
41485
|
+
*
|
|
41486
|
+
* 获取职位设置
|
|
41487
|
+
*/
|
|
41488
|
+
config: (payload?: {
|
|
41489
|
+
params?: {
|
|
41490
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
41491
|
+
};
|
|
41492
|
+
path: {
|
|
41493
|
+
job_id: string;
|
|
41494
|
+
};
|
|
41495
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
41496
|
+
code?: number | undefined;
|
|
41497
|
+
msg?: string | undefined;
|
|
41498
|
+
data?: {
|
|
41499
|
+
job_config?: {
|
|
41500
|
+
offer_apply_schema?: {
|
|
41501
|
+
id?: string | undefined;
|
|
41502
|
+
name?: {
|
|
41503
|
+
zh_cn?: string | undefined;
|
|
41504
|
+
en_us?: string | undefined;
|
|
41505
|
+
} | undefined;
|
|
41506
|
+
} | undefined;
|
|
41507
|
+
offer_process_conf?: {
|
|
41508
|
+
id?: string | undefined;
|
|
41509
|
+
name?: {
|
|
41510
|
+
zh_cn?: string | undefined;
|
|
41511
|
+
en_us?: string | undefined;
|
|
41512
|
+
} | undefined;
|
|
41513
|
+
} | undefined;
|
|
41514
|
+
recommended_evaluator_list?: {
|
|
41515
|
+
id?: string | undefined;
|
|
41516
|
+
name?: {
|
|
41517
|
+
zh_cn?: string | undefined;
|
|
41518
|
+
en_us?: string | undefined;
|
|
41519
|
+
} | undefined;
|
|
41520
|
+
}[] | undefined;
|
|
41521
|
+
assessment_template?: {
|
|
41522
|
+
id?: string | undefined;
|
|
41523
|
+
name?: {
|
|
41524
|
+
zh_cn?: string | undefined;
|
|
41525
|
+
en_us?: string | undefined;
|
|
41526
|
+
} | undefined;
|
|
41527
|
+
} | undefined;
|
|
41528
|
+
id?: string | undefined;
|
|
41529
|
+
interview_round_list?: {
|
|
41530
|
+
interviewer_list?: {
|
|
41531
|
+
id?: string | undefined;
|
|
41532
|
+
name?: {
|
|
41533
|
+
zh_cn?: string | undefined;
|
|
41534
|
+
en_us?: string | undefined;
|
|
41535
|
+
} | undefined;
|
|
41536
|
+
}[] | undefined;
|
|
41537
|
+
round?: number | undefined;
|
|
41538
|
+
}[] | undefined;
|
|
41539
|
+
job_requirement_list?: {
|
|
41540
|
+
id?: string | undefined;
|
|
41541
|
+
name?: {
|
|
41542
|
+
zh_cn?: string | undefined;
|
|
41543
|
+
en_us?: string | undefined;
|
|
41544
|
+
} | undefined;
|
|
41545
|
+
}[] | undefined;
|
|
41546
|
+
interview_round_type_list?: {
|
|
41547
|
+
assessment_round?: {
|
|
41548
|
+
id?: string | undefined;
|
|
41549
|
+
name?: {
|
|
41550
|
+
zh_cn?: string | undefined;
|
|
41551
|
+
en_us?: string | undefined;
|
|
41552
|
+
} | undefined;
|
|
41553
|
+
} | undefined;
|
|
41554
|
+
assessment_template?: {
|
|
41555
|
+
id?: string | undefined;
|
|
41556
|
+
name?: {
|
|
41557
|
+
zh_cn?: string | undefined;
|
|
41558
|
+
en_us?: string | undefined;
|
|
41559
|
+
} | undefined;
|
|
41560
|
+
} | undefined;
|
|
41561
|
+
}[] | undefined;
|
|
41562
|
+
related_job_list?: {
|
|
41563
|
+
id?: string | undefined;
|
|
41564
|
+
name?: {
|
|
41565
|
+
zh_cn?: string | undefined;
|
|
41566
|
+
en_us?: string | undefined;
|
|
41567
|
+
} | undefined;
|
|
41568
|
+
}[] | undefined;
|
|
41569
|
+
job_attribute?: number | undefined;
|
|
41570
|
+
} | undefined;
|
|
41571
|
+
} | undefined;
|
|
41572
|
+
}>;
|
|
41081
41573
|
/**
|
|
41082
41574
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=get&version=v1 click to debug }
|
|
41083
41575
|
*
|
|
@@ -41219,6 +41711,134 @@ declare abstract class Client$1 {
|
|
|
41219
41711
|
} | undefined;
|
|
41220
41712
|
} | undefined;
|
|
41221
41713
|
}>;
|
|
41714
|
+
/**
|
|
41715
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=update_config&version=v1 click to debug }
|
|
41716
|
+
*
|
|
41717
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/update_config document }
|
|
41718
|
+
*
|
|
41719
|
+
* 更新职位设置
|
|
41720
|
+
*
|
|
41721
|
+
* 更新职位设置,包括面试评价表、Offer 申请表等。接口将按照所选择的「更新选项」进行设置参数校验和更新。
|
|
41722
|
+
*/
|
|
41723
|
+
updateConfig: (payload?: {
|
|
41724
|
+
data: {
|
|
41725
|
+
offer_apply_schema_id?: string;
|
|
41726
|
+
offer_process_conf?: string;
|
|
41727
|
+
recommended_evaluator_id_list?: Array<string>;
|
|
41728
|
+
update_option_list: Array<number>;
|
|
41729
|
+
assessment_template_biz_id?: string;
|
|
41730
|
+
interview_round_conf_list?: Array<{
|
|
41731
|
+
interviewer_id_list?: Array<string>;
|
|
41732
|
+
round?: number;
|
|
41733
|
+
}>;
|
|
41734
|
+
jr_id_list?: Array<string>;
|
|
41735
|
+
interview_round_type_conf_list?: Array<{
|
|
41736
|
+
round_biz_id?: string;
|
|
41737
|
+
assessment_template_biz_id?: string;
|
|
41738
|
+
}>;
|
|
41739
|
+
related_job_id_list?: Array<string>;
|
|
41740
|
+
interview_appointment_config?: {
|
|
41741
|
+
enable_interview_appointment_by_interviewer?: boolean;
|
|
41742
|
+
config?: {
|
|
41743
|
+
interview_type?: number;
|
|
41744
|
+
talent_timezone_code?: string;
|
|
41745
|
+
contact_user_id?: string;
|
|
41746
|
+
contact_mobile?: string;
|
|
41747
|
+
contact_email?: string;
|
|
41748
|
+
address_id?: string;
|
|
41749
|
+
video_type?: number;
|
|
41750
|
+
cc?: Array<string>;
|
|
41751
|
+
remark?: string;
|
|
41752
|
+
interview_notification_template_id?: string;
|
|
41753
|
+
appointment_notification_template_id?: string;
|
|
41754
|
+
cancel_interview_notification_template_id?: string;
|
|
41755
|
+
};
|
|
41756
|
+
};
|
|
41757
|
+
};
|
|
41758
|
+
params?: {
|
|
41759
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
41760
|
+
};
|
|
41761
|
+
path: {
|
|
41762
|
+
job_id: string;
|
|
41763
|
+
};
|
|
41764
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
41765
|
+
code?: number | undefined;
|
|
41766
|
+
msg?: string | undefined;
|
|
41767
|
+
data?: {
|
|
41768
|
+
job_config?: {
|
|
41769
|
+
offer_apply_schema?: {
|
|
41770
|
+
id?: string | undefined;
|
|
41771
|
+
name?: {
|
|
41772
|
+
zh_cn?: string | undefined;
|
|
41773
|
+
en_us?: string | undefined;
|
|
41774
|
+
} | undefined;
|
|
41775
|
+
} | undefined;
|
|
41776
|
+
offer_process_conf?: {
|
|
41777
|
+
id?: string | undefined;
|
|
41778
|
+
name?: {
|
|
41779
|
+
zh_cn?: string | undefined;
|
|
41780
|
+
en_us?: string | undefined;
|
|
41781
|
+
} | undefined;
|
|
41782
|
+
} | undefined;
|
|
41783
|
+
recommended_evaluator_list?: {
|
|
41784
|
+
id?: string | undefined;
|
|
41785
|
+
name?: {
|
|
41786
|
+
zh_cn?: string | undefined;
|
|
41787
|
+
en_us?: string | undefined;
|
|
41788
|
+
} | undefined;
|
|
41789
|
+
}[] | undefined;
|
|
41790
|
+
assessment_template?: {
|
|
41791
|
+
id?: string | undefined;
|
|
41792
|
+
name?: {
|
|
41793
|
+
zh_cn?: string | undefined;
|
|
41794
|
+
en_us?: string | undefined;
|
|
41795
|
+
} | undefined;
|
|
41796
|
+
} | undefined;
|
|
41797
|
+
id?: string | undefined;
|
|
41798
|
+
interview_round_list?: {
|
|
41799
|
+
interviewer_list?: {
|
|
41800
|
+
id?: string | undefined;
|
|
41801
|
+
name?: {
|
|
41802
|
+
zh_cn?: string | undefined;
|
|
41803
|
+
en_us?: string | undefined;
|
|
41804
|
+
} | undefined;
|
|
41805
|
+
}[] | undefined;
|
|
41806
|
+
round?: number | undefined;
|
|
41807
|
+
}[] | undefined;
|
|
41808
|
+
job_requirement_list?: {
|
|
41809
|
+
id?: string | undefined;
|
|
41810
|
+
name?: {
|
|
41811
|
+
zh_cn?: string | undefined;
|
|
41812
|
+
en_us?: string | undefined;
|
|
41813
|
+
} | undefined;
|
|
41814
|
+
}[] | undefined;
|
|
41815
|
+
interview_round_type_list?: {
|
|
41816
|
+
assessment_round?: {
|
|
41817
|
+
id?: string | undefined;
|
|
41818
|
+
name?: {
|
|
41819
|
+
zh_cn?: string | undefined;
|
|
41820
|
+
en_us?: string | undefined;
|
|
41821
|
+
} | undefined;
|
|
41822
|
+
} | undefined;
|
|
41823
|
+
assessment_template?: {
|
|
41824
|
+
id?: string | undefined;
|
|
41825
|
+
name?: {
|
|
41826
|
+
zh_cn?: string | undefined;
|
|
41827
|
+
en_us?: string | undefined;
|
|
41828
|
+
} | undefined;
|
|
41829
|
+
} | undefined;
|
|
41830
|
+
}[] | undefined;
|
|
41831
|
+
related_job_list?: {
|
|
41832
|
+
id?: string | undefined;
|
|
41833
|
+
name?: {
|
|
41834
|
+
zh_cn?: string | undefined;
|
|
41835
|
+
en_us?: string | undefined;
|
|
41836
|
+
} | undefined;
|
|
41837
|
+
}[] | undefined;
|
|
41838
|
+
job_attribute?: number | undefined;
|
|
41839
|
+
} | undefined;
|
|
41840
|
+
} | undefined;
|
|
41841
|
+
}>;
|
|
41222
41842
|
};
|
|
41223
41843
|
/**
|
|
41224
41844
|
* job.manager
|
|
@@ -41567,6 +42187,37 @@ declare abstract class Client$1 {
|
|
|
41567
42187
|
* 人才
|
|
41568
42188
|
*/
|
|
41569
42189
|
talent: {
|
|
42190
|
+
/**
|
|
42191
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=batch_get_id&version=v1 click to debug }
|
|
42192
|
+
*
|
|
42193
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/batch_get_id document }
|
|
42194
|
+
*
|
|
42195
|
+
* 通过人才信息获取人才 ID
|
|
42196
|
+
*
|
|
42197
|
+
* 通过人才信息获取人才 ID
|
|
42198
|
+
*/
|
|
42199
|
+
batchGetId: (payload?: {
|
|
42200
|
+
data?: {
|
|
42201
|
+
mobile_code?: string;
|
|
42202
|
+
mobile_number_list?: Array<string>;
|
|
42203
|
+
email_list?: Array<string>;
|
|
42204
|
+
identification_type?: number;
|
|
42205
|
+
identification_number_list?: Array<string>;
|
|
42206
|
+
};
|
|
42207
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
42208
|
+
code?: number | undefined;
|
|
42209
|
+
msg?: string | undefined;
|
|
42210
|
+
data?: {
|
|
42211
|
+
talent?: {
|
|
42212
|
+
talent_id?: string | undefined;
|
|
42213
|
+
mobile_code?: string | undefined;
|
|
42214
|
+
mobile_number?: string | undefined;
|
|
42215
|
+
email?: string | undefined;
|
|
42216
|
+
identification_type?: number | undefined;
|
|
42217
|
+
identification_number?: string | undefined;
|
|
42218
|
+
}[] | undefined;
|
|
42219
|
+
} | undefined;
|
|
42220
|
+
}>;
|
|
41570
42221
|
/**
|
|
41571
42222
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=get&version=v1 click to debug }
|
|
41572
42223
|
*
|
|
@@ -42046,7 +42697,7 @@ declare abstract class Client$1 {
|
|
|
42046
42697
|
*/
|
|
42047
42698
|
human_authentication: {
|
|
42048
42699
|
/**
|
|
42049
|
-
*
|
|
42700
|
+
* 实名认证
|
|
42050
42701
|
*/
|
|
42051
42702
|
identity: {
|
|
42052
42703
|
/**
|
|
@@ -42080,7 +42731,7 @@ declare abstract class Client$1 {
|
|
|
42080
42731
|
};
|
|
42081
42732
|
};
|
|
42082
42733
|
/**
|
|
42083
|
-
*
|
|
42734
|
+
* 消息与群组
|
|
42084
42735
|
*/
|
|
42085
42736
|
im: {
|
|
42086
42737
|
/**
|
|
@@ -42310,8 +42961,8 @@ declare abstract class Client$1 {
|
|
|
42310
42961
|
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 如果使用tenant_access_token,需要机器人符合以下任一情况才可解散群:; - 机器人是群主; - 机器人是群的创建者且具备==更新应用所创建群的群信息==权限;- 如果使用user_access_token,需要对应的用户是群主才可解散群
|
|
42311
42962
|
*/
|
|
42312
42963
|
delete: (payload?: {
|
|
42313
|
-
path
|
|
42314
|
-
chat_id
|
|
42964
|
+
path: {
|
|
42965
|
+
chat_id: string;
|
|
42315
42966
|
};
|
|
42316
42967
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42317
42968
|
code?: number | undefined;
|
|
@@ -42333,8 +42984,8 @@ declare abstract class Client$1 {
|
|
|
42333
42984
|
params?: {
|
|
42334
42985
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
42335
42986
|
};
|
|
42336
|
-
path
|
|
42337
|
-
chat_id
|
|
42987
|
+
path: {
|
|
42988
|
+
chat_id: string;
|
|
42338
42989
|
};
|
|
42339
42990
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42340
42991
|
code?: number | undefined;
|
|
@@ -42378,7 +43029,7 @@ declare abstract class Client$1 {
|
|
|
42378
43029
|
*
|
|
42379
43030
|
* 获取指定群的分享链接。
|
|
42380
43031
|
*
|
|
42381
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); -
|
|
43032
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - access_token所对应的 **机器人** 或 **授权用户** 必须在`chat_id`参数指定的群组中;- 单聊、密聊、团队群不支持分享群链接;- 当Bot被停用或Bot退出群组时,Bot生成的群链接也将停用;- 当群聊开启了 ==仅群主和群管理员可添加群成员/分享群== 设置时,仅**群主**和**群管理员**可以获取群分享链接;- 获取内部群分享链接时,操作者须与群组在同一租户下
|
|
42382
43033
|
*/
|
|
42383
43034
|
link: (payload?: {
|
|
42384
43035
|
data?: {
|
|
@@ -42548,8 +43199,8 @@ declare abstract class Client$1 {
|
|
|
42548
43199
|
params?: {
|
|
42549
43200
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
42550
43201
|
};
|
|
42551
|
-
path
|
|
42552
|
-
chat_id
|
|
43202
|
+
path: {
|
|
43203
|
+
chat_id: string;
|
|
42553
43204
|
};
|
|
42554
43205
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42555
43206
|
code?: number | undefined;
|
|
@@ -42579,8 +43230,8 @@ declare abstract class Client$1 {
|
|
|
42579
43230
|
params?: {
|
|
42580
43231
|
member_id_type?: "user_id" | "union_id" | "open_id" | "app_id";
|
|
42581
43232
|
};
|
|
42582
|
-
path
|
|
42583
|
-
chat_id
|
|
43233
|
+
path: {
|
|
43234
|
+
chat_id: string;
|
|
42584
43235
|
};
|
|
42585
43236
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42586
43237
|
code?: number | undefined;
|
|
@@ -42608,8 +43259,8 @@ declare abstract class Client$1 {
|
|
|
42608
43259
|
params?: {
|
|
42609
43260
|
member_id_type?: "user_id" | "union_id" | "open_id" | "app_id";
|
|
42610
43261
|
};
|
|
42611
|
-
path
|
|
42612
|
-
chat_id
|
|
43262
|
+
path: {
|
|
43263
|
+
chat_id: string;
|
|
42613
43264
|
};
|
|
42614
43265
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42615
43266
|
code?: number | undefined;
|
|
@@ -42643,8 +43294,8 @@ declare abstract class Client$1 {
|
|
|
42643
43294
|
member_id_type?: "user_id" | "union_id" | "open_id" | "app_id";
|
|
42644
43295
|
succeed_type?: number;
|
|
42645
43296
|
};
|
|
42646
|
-
path
|
|
42647
|
-
chat_id
|
|
43297
|
+
path: {
|
|
43298
|
+
chat_id: string;
|
|
42648
43299
|
};
|
|
42649
43300
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42650
43301
|
code?: number | undefined;
|
|
@@ -42672,8 +43323,8 @@ declare abstract class Client$1 {
|
|
|
42672
43323
|
params?: {
|
|
42673
43324
|
member_id_type?: "user_id" | "union_id" | "open_id" | "app_id";
|
|
42674
43325
|
};
|
|
42675
|
-
path
|
|
42676
|
-
chat_id
|
|
43326
|
+
path: {
|
|
43327
|
+
chat_id: string;
|
|
42677
43328
|
};
|
|
42678
43329
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42679
43330
|
code?: number | undefined;
|
|
@@ -42688,8 +43339,8 @@ declare abstract class Client$1 {
|
|
|
42688
43339
|
page_token?: string;
|
|
42689
43340
|
page_size?: number;
|
|
42690
43341
|
};
|
|
42691
|
-
path
|
|
42692
|
-
chat_id
|
|
43342
|
+
path: {
|
|
43343
|
+
chat_id: string;
|
|
42693
43344
|
};
|
|
42694
43345
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42695
43346
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -42719,8 +43370,8 @@ declare abstract class Client$1 {
|
|
|
42719
43370
|
page_token?: string;
|
|
42720
43371
|
page_size?: number;
|
|
42721
43372
|
};
|
|
42722
|
-
path
|
|
42723
|
-
chat_id
|
|
43373
|
+
path: {
|
|
43374
|
+
chat_id: string;
|
|
42724
43375
|
};
|
|
42725
43376
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42726
43377
|
code?: number | undefined;
|
|
@@ -42749,8 +43400,8 @@ declare abstract class Client$1 {
|
|
|
42749
43400
|
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42750
43401
|
*/
|
|
42751
43402
|
isInChat: (payload?: {
|
|
42752
|
-
path
|
|
42753
|
-
chat_id
|
|
43403
|
+
path: {
|
|
43404
|
+
chat_id: string;
|
|
42754
43405
|
};
|
|
42755
43406
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42756
43407
|
code?: number | undefined;
|
|
@@ -42771,8 +43422,8 @@ declare abstract class Client$1 {
|
|
|
42771
43422
|
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 目前仅支持加入公开群;- 操作内部群时,操作者须与群组在同一租户下
|
|
42772
43423
|
*/
|
|
42773
43424
|
meJoin: (payload?: {
|
|
42774
|
-
path
|
|
42775
|
-
chat_id
|
|
43425
|
+
path: {
|
|
43426
|
+
chat_id: string;
|
|
42776
43427
|
};
|
|
42777
43428
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42778
43429
|
code?: number | undefined;
|
|
@@ -42790,8 +43441,8 @@ declare abstract class Client$1 {
|
|
|
42790
43441
|
page_token?: string;
|
|
42791
43442
|
page_size?: number;
|
|
42792
43443
|
};
|
|
42793
|
-
path
|
|
42794
|
-
chat_id
|
|
43444
|
+
path: {
|
|
43445
|
+
chat_id: string;
|
|
42795
43446
|
};
|
|
42796
43447
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42797
43448
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -42820,8 +43471,8 @@ declare abstract class Client$1 {
|
|
|
42820
43471
|
page_token?: string;
|
|
42821
43472
|
page_size?: number;
|
|
42822
43473
|
};
|
|
42823
|
-
path
|
|
42824
|
-
chat_id
|
|
43474
|
+
path: {
|
|
43475
|
+
chat_id: string;
|
|
42825
43476
|
};
|
|
42826
43477
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42827
43478
|
code?: number | undefined;
|
|
@@ -42857,8 +43508,8 @@ declare abstract class Client$1 {
|
|
|
42857
43508
|
params?: {
|
|
42858
43509
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
42859
43510
|
};
|
|
42860
|
-
path
|
|
42861
|
-
chat_id
|
|
43511
|
+
path: {
|
|
43512
|
+
chat_id: string;
|
|
42862
43513
|
};
|
|
42863
43514
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42864
43515
|
code?: number | undefined;
|
|
@@ -42897,8 +43548,8 @@ declare abstract class Client$1 {
|
|
|
42897
43548
|
};
|
|
42898
43549
|
}>;
|
|
42899
43550
|
};
|
|
42900
|
-
path
|
|
42901
|
-
chat_id
|
|
43551
|
+
path: {
|
|
43552
|
+
chat_id: string;
|
|
42902
43553
|
};
|
|
42903
43554
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42904
43555
|
code?: number | undefined;
|
|
@@ -42935,8 +43586,8 @@ declare abstract class Client$1 {
|
|
|
42935
43586
|
data: {
|
|
42936
43587
|
tab_ids: Array<string>;
|
|
42937
43588
|
};
|
|
42938
|
-
path
|
|
42939
|
-
chat_id
|
|
43589
|
+
path: {
|
|
43590
|
+
chat_id: string;
|
|
42940
43591
|
};
|
|
42941
43592
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42942
43593
|
code?: number | undefined;
|
|
@@ -42970,8 +43621,8 @@ declare abstract class Client$1 {
|
|
|
42970
43621
|
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 操作内部群时,操作者须与群组在同一租户下
|
|
42971
43622
|
*/
|
|
42972
43623
|
listTabs: (payload?: {
|
|
42973
|
-
path
|
|
42974
|
-
chat_id
|
|
43624
|
+
path: {
|
|
43625
|
+
chat_id: string;
|
|
42975
43626
|
};
|
|
42976
43627
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42977
43628
|
code?: number | undefined;
|
|
@@ -43008,8 +43659,8 @@ declare abstract class Client$1 {
|
|
|
43008
43659
|
data?: {
|
|
43009
43660
|
tab_ids?: Array<string>;
|
|
43010
43661
|
};
|
|
43011
|
-
path
|
|
43012
|
-
chat_id
|
|
43662
|
+
path: {
|
|
43663
|
+
chat_id: string;
|
|
43013
43664
|
};
|
|
43014
43665
|
}, options?: IRequestOptions$1) => Promise<{
|
|
43015
43666
|
code?: number | undefined;
|
|
@@ -43059,8 +43710,8 @@ declare abstract class Client$1 {
|
|
|
43059
43710
|
};
|
|
43060
43711
|
}>;
|
|
43061
43712
|
};
|
|
43062
|
-
path
|
|
43063
|
-
chat_id
|
|
43713
|
+
path: {
|
|
43714
|
+
chat_id: string;
|
|
43064
43715
|
};
|
|
43065
43716
|
}, options?: IRequestOptions$1) => Promise<{
|
|
43066
43717
|
code?: number | undefined;
|
|
@@ -43221,7 +43872,7 @@ declare abstract class Client$1 {
|
|
|
43221
43872
|
}>;
|
|
43222
43873
|
};
|
|
43223
43874
|
/**
|
|
43224
|
-
*
|
|
43875
|
+
* 消息
|
|
43225
43876
|
*/
|
|
43226
43877
|
message: {
|
|
43227
43878
|
/**
|
|
@@ -43352,8 +44003,8 @@ declare abstract class Client$1 {
|
|
|
43352
44003
|
container_id: string;
|
|
43353
44004
|
start_time?: string;
|
|
43354
44005
|
end_time?: string;
|
|
43355
|
-
page_token?: string;
|
|
43356
44006
|
page_size?: number;
|
|
44007
|
+
page_token?: string;
|
|
43357
44008
|
};
|
|
43358
44009
|
}, options?: IRequestOptions$1) => Promise<{
|
|
43359
44010
|
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
@@ -43406,8 +44057,8 @@ declare abstract class Client$1 {
|
|
|
43406
44057
|
container_id: string;
|
|
43407
44058
|
start_time?: string;
|
|
43408
44059
|
end_time?: string;
|
|
43409
|
-
page_token?: string;
|
|
43410
44060
|
page_size?: number;
|
|
44061
|
+
page_token?: string;
|
|
43411
44062
|
};
|
|
43412
44063
|
}, options?: IRequestOptions$1) => Promise<{
|
|
43413
44064
|
code?: number | undefined;
|
|
@@ -45034,267 +45685,6 @@ declare abstract class Client$1 {
|
|
|
45034
45685
|
url?: string | undefined;
|
|
45035
45686
|
} | {}>;
|
|
45036
45687
|
};
|
|
45037
|
-
/**
|
|
45038
|
-
* 指标库
|
|
45039
|
-
*/
|
|
45040
|
-
metricSource: {
|
|
45041
|
-
/**
|
|
45042
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source&apiName=list&version=v1 click to debug }
|
|
45043
|
-
*
|
|
45044
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source/list document }
|
|
45045
|
-
*
|
|
45046
|
-
* 获取指标库
|
|
45047
|
-
*
|
|
45048
|
-
* 获取租户下全部 OKR 指标库(仅限 OKR 企业版使用)
|
|
45049
|
-
*/
|
|
45050
|
-
list: (payload?: {
|
|
45051
|
-
params?: {
|
|
45052
|
-
page_token?: string;
|
|
45053
|
-
page_size?: string;
|
|
45054
|
-
};
|
|
45055
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45056
|
-
code?: number | undefined;
|
|
45057
|
-
msg?: string | undefined;
|
|
45058
|
-
data?: {
|
|
45059
|
-
total: number;
|
|
45060
|
-
has_more: boolean;
|
|
45061
|
-
page_token?: string | undefined;
|
|
45062
|
-
items?: {
|
|
45063
|
-
metric_source_id: string;
|
|
45064
|
-
metric_source_name: string;
|
|
45065
|
-
metric_name: string;
|
|
45066
|
-
metric_unit: {
|
|
45067
|
-
zh_cn: string;
|
|
45068
|
-
en_us: string;
|
|
45069
|
-
ja_jp: string;
|
|
45070
|
-
};
|
|
45071
|
-
}[] | undefined;
|
|
45072
|
-
} | undefined;
|
|
45073
|
-
}>;
|
|
45074
|
-
};
|
|
45075
|
-
/**
|
|
45076
|
-
* 指标项
|
|
45077
|
-
*/
|
|
45078
|
-
metricSourceTableItem: {
|
|
45079
|
-
/**
|
|
45080
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=batch_update&version=v1 click to debug }
|
|
45081
|
-
*
|
|
45082
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/batch_update document }
|
|
45083
|
-
*
|
|
45084
|
-
* 批量更新指标项
|
|
45085
|
-
*
|
|
45086
|
-
* - 该接口用于批量更新多项指标,单次调用最多更新 100 条记录。接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
|
|
45087
|
-
*/
|
|
45088
|
-
batchUpdate: (payload?: {
|
|
45089
|
-
data: {
|
|
45090
|
-
items: Array<{
|
|
45091
|
-
metric_item_id: string;
|
|
45092
|
-
metric_initial_value?: number;
|
|
45093
|
-
metric_target_value?: number;
|
|
45094
|
-
metric_current_value?: number;
|
|
45095
|
-
supported_user_id?: string;
|
|
45096
|
-
}>;
|
|
45097
|
-
};
|
|
45098
|
-
params?: {
|
|
45099
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45100
|
-
};
|
|
45101
|
-
path: {
|
|
45102
|
-
metric_source_id: string;
|
|
45103
|
-
metric_table_id: string;
|
|
45104
|
-
};
|
|
45105
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45106
|
-
code?: number | undefined;
|
|
45107
|
-
msg?: string | undefined;
|
|
45108
|
-
data?: {
|
|
45109
|
-
items?: {
|
|
45110
|
-
metric_item_id: string;
|
|
45111
|
-
user_id: string;
|
|
45112
|
-
period_id: string;
|
|
45113
|
-
metric_unit: {
|
|
45114
|
-
zh_cn: string;
|
|
45115
|
-
en_us: string;
|
|
45116
|
-
ja_jp: string;
|
|
45117
|
-
};
|
|
45118
|
-
metric_initial_value: number;
|
|
45119
|
-
metric_target_value?: number | undefined;
|
|
45120
|
-
metric_current_value: number;
|
|
45121
|
-
supported_user_id?: string | undefined;
|
|
45122
|
-
kr_id?: string | undefined;
|
|
45123
|
-
updated_at: string;
|
|
45124
|
-
updated_by?: string | undefined;
|
|
45125
|
-
}[] | undefined;
|
|
45126
|
-
failed_items?: {
|
|
45127
|
-
metric_item_id: string;
|
|
45128
|
-
reason: string;
|
|
45129
|
-
}[] | undefined;
|
|
45130
|
-
} | undefined;
|
|
45131
|
-
}>;
|
|
45132
|
-
/**
|
|
45133
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=get&version=v1 click to debug }
|
|
45134
|
-
*
|
|
45135
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/get document }
|
|
45136
|
-
*
|
|
45137
|
-
* 获取指标项详情
|
|
45138
|
-
*
|
|
45139
|
-
* 获取某项指标的具体内容(仅限 OKR 企业版使用)
|
|
45140
|
-
*/
|
|
45141
|
-
get: (payload?: {
|
|
45142
|
-
params?: {
|
|
45143
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45144
|
-
};
|
|
45145
|
-
path: {
|
|
45146
|
-
metric_source_id: string;
|
|
45147
|
-
metric_table_id: string;
|
|
45148
|
-
metric_item_id: string;
|
|
45149
|
-
};
|
|
45150
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45151
|
-
code?: number | undefined;
|
|
45152
|
-
msg?: string | undefined;
|
|
45153
|
-
data?: {
|
|
45154
|
-
metric_item_id: string;
|
|
45155
|
-
user_id: string;
|
|
45156
|
-
period_id: string;
|
|
45157
|
-
metric_unit: {
|
|
45158
|
-
zh_cn: string;
|
|
45159
|
-
en_us: string;
|
|
45160
|
-
ja_jp: string;
|
|
45161
|
-
};
|
|
45162
|
-
metric_initial_value: number;
|
|
45163
|
-
metric_target_value?: number | undefined;
|
|
45164
|
-
metric_current_value: number;
|
|
45165
|
-
supported_user_id?: string | undefined;
|
|
45166
|
-
kr_id?: string | undefined;
|
|
45167
|
-
updated_at: string;
|
|
45168
|
-
updated_by?: string | undefined;
|
|
45169
|
-
} | undefined;
|
|
45170
|
-
}>;
|
|
45171
|
-
/**
|
|
45172
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=list&version=v1 click to debug }
|
|
45173
|
-
*
|
|
45174
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/list document }
|
|
45175
|
-
*
|
|
45176
|
-
* 获取指标项
|
|
45177
|
-
*
|
|
45178
|
-
* 获取指定指标表下的所有指标项(仅限 OKR 企业版使用)
|
|
45179
|
-
*/
|
|
45180
|
-
list: (payload?: {
|
|
45181
|
-
params?: {
|
|
45182
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45183
|
-
page_token?: string;
|
|
45184
|
-
page_size?: string;
|
|
45185
|
-
};
|
|
45186
|
-
path: {
|
|
45187
|
-
metric_source_id: string;
|
|
45188
|
-
metric_table_id: string;
|
|
45189
|
-
};
|
|
45190
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45191
|
-
code?: number | undefined;
|
|
45192
|
-
msg?: string | undefined;
|
|
45193
|
-
data?: {
|
|
45194
|
-
total: number;
|
|
45195
|
-
has_more: boolean;
|
|
45196
|
-
page_token?: string | undefined;
|
|
45197
|
-
items?: {
|
|
45198
|
-
metric_item_id: string;
|
|
45199
|
-
user_id: string;
|
|
45200
|
-
period_id: string;
|
|
45201
|
-
metric_unit: {
|
|
45202
|
-
zh_cn: string;
|
|
45203
|
-
en_us: string;
|
|
45204
|
-
ja_jp: string;
|
|
45205
|
-
};
|
|
45206
|
-
metric_initial_value: number;
|
|
45207
|
-
metric_target_value?: number | undefined;
|
|
45208
|
-
metric_current_value: number;
|
|
45209
|
-
supported_user_id?: string | undefined;
|
|
45210
|
-
kr_id?: string | undefined;
|
|
45211
|
-
updated_at: string;
|
|
45212
|
-
updated_by?: string | undefined;
|
|
45213
|
-
}[] | undefined;
|
|
45214
|
-
} | undefined;
|
|
45215
|
-
}>;
|
|
45216
|
-
/**
|
|
45217
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=patch&version=v1 click to debug }
|
|
45218
|
-
*
|
|
45219
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/patch document }
|
|
45220
|
-
*
|
|
45221
|
-
* 更新指标项
|
|
45222
|
-
*
|
|
45223
|
-
* - 该接口用于更新某项指标,接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
|
|
45224
|
-
*/
|
|
45225
|
-
patch: (payload?: {
|
|
45226
|
-
data?: {
|
|
45227
|
-
metric_initial_value?: number;
|
|
45228
|
-
metric_target_value?: number;
|
|
45229
|
-
metric_current_value?: number;
|
|
45230
|
-
supported_user_id?: string;
|
|
45231
|
-
};
|
|
45232
|
-
params?: {
|
|
45233
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45234
|
-
};
|
|
45235
|
-
path: {
|
|
45236
|
-
metric_source_id: string;
|
|
45237
|
-
metric_table_id: string;
|
|
45238
|
-
metric_item_id: string;
|
|
45239
|
-
};
|
|
45240
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45241
|
-
code?: number | undefined;
|
|
45242
|
-
msg?: string | undefined;
|
|
45243
|
-
data?: {
|
|
45244
|
-
metric_item_id: string;
|
|
45245
|
-
user_id: string;
|
|
45246
|
-
period_id: string;
|
|
45247
|
-
metric_unit: {
|
|
45248
|
-
zh_cn: string;
|
|
45249
|
-
en_us: string;
|
|
45250
|
-
ja_jp: string;
|
|
45251
|
-
};
|
|
45252
|
-
metric_initial_value: number;
|
|
45253
|
-
metric_target_value?: number | undefined;
|
|
45254
|
-
metric_current_value: number;
|
|
45255
|
-
supported_user_id?: string | undefined;
|
|
45256
|
-
kr_id?: string | undefined;
|
|
45257
|
-
updated_at: string;
|
|
45258
|
-
updated_by?: string | undefined;
|
|
45259
|
-
} | undefined;
|
|
45260
|
-
}>;
|
|
45261
|
-
};
|
|
45262
|
-
/**
|
|
45263
|
-
* 指标表
|
|
45264
|
-
*/
|
|
45265
|
-
metricSourceTable: {
|
|
45266
|
-
/**
|
|
45267
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table&apiName=list&version=v1 click to debug }
|
|
45268
|
-
*
|
|
45269
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table/list document }
|
|
45270
|
-
*
|
|
45271
|
-
* 获取指标表
|
|
45272
|
-
*
|
|
45273
|
-
* 获取指定指标库下有哪些指标表(仅限 OKR 企业版使用)
|
|
45274
|
-
*/
|
|
45275
|
-
list: (payload?: {
|
|
45276
|
-
params?: {
|
|
45277
|
-
page_token?: string;
|
|
45278
|
-
page_size?: string;
|
|
45279
|
-
};
|
|
45280
|
-
path: {
|
|
45281
|
-
metric_source_id: string;
|
|
45282
|
-
};
|
|
45283
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45284
|
-
code?: number | undefined;
|
|
45285
|
-
msg?: string | undefined;
|
|
45286
|
-
data?: {
|
|
45287
|
-
total: number;
|
|
45288
|
-
has_more: boolean;
|
|
45289
|
-
page_token?: string | undefined;
|
|
45290
|
-
items?: {
|
|
45291
|
-
metric_table_id: string;
|
|
45292
|
-
metric_table_name: string;
|
|
45293
|
-
period_id: string;
|
|
45294
|
-
}[] | undefined;
|
|
45295
|
-
} | undefined;
|
|
45296
|
-
}>;
|
|
45297
|
-
};
|
|
45298
45688
|
/**
|
|
45299
45689
|
* OKR
|
|
45300
45690
|
*/
|
|
@@ -45800,49 +46190,6 @@ declare abstract class Client$1 {
|
|
|
45800
46190
|
} | undefined;
|
|
45801
46191
|
}>;
|
|
45802
46192
|
};
|
|
45803
|
-
/**
|
|
45804
|
-
* 复盘(灰度租户可见)
|
|
45805
|
-
*/
|
|
45806
|
-
review: {
|
|
45807
|
-
/**
|
|
45808
|
-
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=review&apiName=query&version=v1 click to debug }
|
|
45809
|
-
*
|
|
45810
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/review/query document }
|
|
45811
|
-
*
|
|
45812
|
-
* 查询复盘信息
|
|
45813
|
-
*
|
|
45814
|
-
* 根据周期和用户查询复盘信息。
|
|
45815
|
-
*/
|
|
45816
|
-
query: (payload?: {
|
|
45817
|
-
params: {
|
|
45818
|
-
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
45819
|
-
user_ids: number;
|
|
45820
|
-
period_ids: number;
|
|
45821
|
-
};
|
|
45822
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
45823
|
-
code?: number | undefined;
|
|
45824
|
-
msg?: string | undefined;
|
|
45825
|
-
data?: {
|
|
45826
|
-
review_list?: {
|
|
45827
|
-
user_id?: {
|
|
45828
|
-
open_id?: string | undefined;
|
|
45829
|
-
user_id?: string | undefined;
|
|
45830
|
-
} | undefined;
|
|
45831
|
-
review_period_list?: {
|
|
45832
|
-
period_id?: string | undefined;
|
|
45833
|
-
cycle_review_list?: {
|
|
45834
|
-
url?: string | undefined;
|
|
45835
|
-
create_time?: string | undefined;
|
|
45836
|
-
}[] | undefined;
|
|
45837
|
-
progress_report_list?: {
|
|
45838
|
-
url?: string | undefined;
|
|
45839
|
-
create_time?: string | undefined;
|
|
45840
|
-
}[] | undefined;
|
|
45841
|
-
}[] | undefined;
|
|
45842
|
-
}[] | undefined;
|
|
45843
|
-
} | undefined;
|
|
45844
|
-
}>;
|
|
45845
|
-
};
|
|
45846
46193
|
/**
|
|
45847
46194
|
* 用户OKR
|
|
45848
46195
|
*/
|
|
@@ -46416,7 +46763,7 @@ declare abstract class Client$1 {
|
|
|
46416
46763
|
*
|
|
46417
46764
|
* 创建数据范式
|
|
46418
46765
|
*
|
|
46419
|
-
*
|
|
46766
|
+
* 创建一个数据范式
|
|
46420
46767
|
*/
|
|
46421
46768
|
create: (payload?: {
|
|
46422
46769
|
data: {
|
|
@@ -47134,7 +47481,7 @@ declare abstract class Client$1 {
|
|
|
47134
47481
|
}>;
|
|
47135
47482
|
};
|
|
47136
47483
|
/**
|
|
47137
|
-
*
|
|
47484
|
+
* 单元格
|
|
47138
47485
|
*/
|
|
47139
47486
|
spreadsheetSheet: {
|
|
47140
47487
|
/**
|
|
@@ -48518,7 +48865,7 @@ declare abstract class Client$1 {
|
|
|
48518
48865
|
*/
|
|
48519
48866
|
tenant: {
|
|
48520
48867
|
/**
|
|
48521
|
-
*
|
|
48868
|
+
* 企业信息
|
|
48522
48869
|
*/
|
|
48523
48870
|
tenant: {
|
|
48524
48871
|
/**
|
|
@@ -50889,7 +51236,7 @@ declare abstract class Client$1 {
|
|
|
50889
51236
|
*
|
|
50890
51237
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move document }
|
|
50891
51238
|
*
|
|
50892
|
-
*
|
|
51239
|
+
* 移动知识空间节点
|
|
50893
51240
|
*
|
|
50894
51241
|
* 此方法用于在Wiki内移动节点,支持跨知识空间移动。如果有子节点,会携带子节点一起移动。
|
|
50895
51242
|
*
|
|
@@ -50964,7 +51311,7 @@ declare abstract class Client$1 {
|
|
|
50964
51311
|
*
|
|
50965
51312
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/update_title document }
|
|
50966
51313
|
*
|
|
50967
|
-
*
|
|
51314
|
+
* 更新知识空间节点标题
|
|
50968
51315
|
*
|
|
50969
51316
|
* 此接口用于更新节点标题
|
|
50970
51317
|
*
|
|
@@ -51607,9 +51954,9 @@ interface IHandles extends IOtherEventHandles {
|
|
|
51607
51954
|
/**
|
|
51608
51955
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/access_record/events/created document }
|
|
51609
51956
|
*
|
|
51610
|
-
*
|
|
51957
|
+
* 新增门禁访问记录
|
|
51611
51958
|
*
|
|
51612
|
-
*
|
|
51959
|
+
* 门禁设备识别用户成功后发送该事件给订阅应用。
|
|
51613
51960
|
*/
|
|
51614
51961
|
"acs.access_record.created_v1"?: (data: {
|
|
51615
51962
|
event_id?: string;
|
|
@@ -51635,9 +51982,9 @@ interface IHandles extends IOtherEventHandles {
|
|
|
51635
51982
|
/**
|
|
51636
51983
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user/events/updated document }
|
|
51637
51984
|
*
|
|
51638
|
-
*
|
|
51985
|
+
* 用户信息变更
|
|
51639
51986
|
*
|
|
51640
|
-
*
|
|
51987
|
+
* 智能门禁用户特征值变化时,发送此事件。
|
|
51641
51988
|
*/
|
|
51642
51989
|
"acs.user.updated_v1"?: (data: {
|
|
51643
51990
|
event_id?: string;
|
|
@@ -54122,8 +54469,14 @@ interface IHandles extends IOtherEventHandles {
|
|
|
54122
54469
|
room_id?: string;
|
|
54123
54470
|
}) => Promise<any> | any;
|
|
54124
54471
|
/**
|
|
54125
|
-
|
|
54126
|
-
|
|
54472
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/meeting_room-v1/meeting_room/events/status_changed document }
|
|
54473
|
+
*
|
|
54474
|
+
* 会议室状态信息变更
|
|
54475
|
+
*
|
|
54476
|
+
* 会议室状态信息变更将触发此事件。
|
|
54477
|
+
*
|
|
54478
|
+
* 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)
|
|
54479
|
+
*/
|
|
54127
54480
|
"meeting_room.meeting_room.status_changed_v1"?: (data: {
|
|
54128
54481
|
event_id?: string;
|
|
54129
54482
|
token?: string;
|