@satorijs/adapter-lark 3.9.0 → 3.9.2
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/lib/index.cjs +1091 -27
- package/lib/internal.d.ts +2 -3
- package/lib/types/acs.d.ts +19 -19
- package/lib/types/admin.d.ts +58 -32
- package/lib/types/aily.d.ts +52 -52
- package/lib/types/apaas.d.ts +96 -96
- package/lib/types/api.d.ts +14 -1
- package/lib/types/application.d.ts +153 -69
- package/lib/types/approval.d.ts +186 -154
- package/lib/types/attendance.d.ts +395 -353
- package/lib/types/auth.d.ts +18 -18
- package/lib/types/authen.d.ts +24 -24
- package/lib/types/baike.d.ts +42 -42
- package/lib/types/bitable.d.ts +276 -192
- package/lib/types/calendar.d.ts +144 -144
- package/lib/types/cardkit.d.ts +8 -8
- package/lib/types/contact.d.ts +209 -137
- package/lib/types/corehr.d.ts +761 -613
- package/lib/types/document_ai.d.ts +68 -68
- package/lib/types/docx.d.ts +103 -95
- package/lib/types/drive.d.ts +237 -229
- package/lib/types/ehr.d.ts +26 -2
- package/lib/types/helpdesk.d.ts +156 -148
- package/lib/types/hire.d.ts +954 -510
- package/lib/types/im.d.ts +446 -446
- package/lib/types/index.d.ts +72 -30
- package/lib/types/lingo.d.ts +28 -28
- package/lib/types/mail.d.ts +192 -192
- package/lib/types/minutes.d.ts +4 -4
- package/lib/types/okr.d.ts +86 -58
- package/lib/types/passport.d.ts +13 -5
- package/lib/types/payroll.d.ts +13 -5
- package/lib/types/performance.d.ts +85 -79
- package/lib/types/personal_settings.d.ts +12 -12
- package/lib/types/report.d.ts +11 -5
- package/lib/types/search.d.ts +48 -24
- package/lib/types/sheets.d.ts +64 -64
- package/lib/types/speech_to_text.d.ts +4 -4
- package/lib/types/task.d.ts +191 -185
- package/lib/types/translation.d.ts +4 -4
- package/lib/types/vc.d.ts +335 -155
- package/lib/types/wiki.d.ts +48 -48
- package/package.json +1 -1
- package/src/internal.ts +3 -4
- package/src/types/acs.ts +24 -24
- package/src/types/admin.ts +69 -39
- package/src/types/aily.ts +61 -61
- package/src/types/apaas.ts +113 -113
- package/src/types/application.ts +177 -83
- package/src/types/approval.ts +210 -174
- package/src/types/attendance.ts +466 -421
- package/src/types/auth.ts +20 -20
- package/src/types/authen.ts +28 -28
- package/src/types/baike.ts +55 -55
- package/src/types/bitable.ts +321 -235
- package/src/types/calendar.ts +167 -167
- package/src/types/cardkit.ts +10 -10
- package/src/types/contact.ts +251 -169
- package/src/types/corehr.ts +905 -736
- package/src/types/document_ai.ts +85 -85
- package/src/types/docx.ts +117 -108
- package/src/types/drive.ts +299 -290
- package/src/types/ehr.ts +28 -2
- package/src/types/helpdesk.ts +182 -173
- package/src/types/hire.ts +1081 -591
- package/src/types/im.ts +521 -521
- package/src/types/index.ts +73 -30
- package/src/types/lingo.ts +36 -36
- package/src/types/mail.ts +215 -215
- package/src/types/minutes.ts +5 -5
- package/src/types/okr.ts +98 -66
- package/src/types/passport.ts +15 -6
- package/src/types/payroll.ts +15 -6
- package/src/types/performance.ts +98 -91
- package/src/types/personal_settings.ts +15 -15
- package/src/types/report.ts +13 -6
- package/src/types/search.ts +57 -29
- package/src/types/sheets.ts +80 -80
- package/src/types/speech_to_text.ts +5 -5
- package/src/types/task.ts +238 -231
- package/src/types/translation.ts +5 -5
- package/src/types/vc.ts +386 -186
- package/src/types/wiki.ts +59 -59
- package/src/utils.ts +11 -6
- package/lib/index.cjs.map +0 -6
- package/lib/types/guild.d.ts +0 -59
- package/lib/types/message/asset.d.ts +0 -40
- package/lib/types/user.d.ts +0 -78
- package/lib/types/utils.d.ts +0 -9
package/lib/types/api.d.ts
CHANGED
|
@@ -451,7 +451,7 @@ declare module './internal' {
|
|
|
451
451
|
* 获取指定消息的内容
|
|
452
452
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/get
|
|
453
453
|
*/
|
|
454
|
-
getImMessage(message_id: string): Promise<GetImMessageResponse>;
|
|
454
|
+
getImMessage(message_id: string, query?: GetImMessageQuery): Promise<GetImMessageResponse>;
|
|
455
455
|
/**
|
|
456
456
|
* 发送应用内加急
|
|
457
457
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/urgent_app
|
|
@@ -5426,6 +5426,8 @@ declare module '.' {
|
|
|
5426
5426
|
root_id?: string;
|
|
5427
5427
|
/** 父消息的id open_message_id */
|
|
5428
5428
|
parent_id?: string;
|
|
5429
|
+
/** 消息所属的话题 ID */
|
|
5430
|
+
thread_id?: string;
|
|
5429
5431
|
/** 消息类型 text post card image等等 */
|
|
5430
5432
|
msg_type?: string;
|
|
5431
5433
|
/** 消息生成的时间戳(毫秒) */
|
|
@@ -16732,6 +16734,17 @@ export interface GetImMessageResourceQuery {
|
|
|
16732
16734
|
/** 资源类型,可选"image, file“; image对应消息中的 图片,富文本消息中的图片。 file对应消息中的 文件、音频、视频、(表情包除外) */
|
|
16733
16735
|
type: string;
|
|
16734
16736
|
}
|
|
16737
|
+
export interface GetImMessageQuery {
|
|
16738
|
+
/**
|
|
16739
|
+
* 用户 ID 类型
|
|
16740
|
+
*
|
|
16741
|
+
* - `open_id`:标识一个用户在某个应用中的身份。同一个用户在不同应用中的 Open ID 不同。
|
|
16742
|
+
* - `union_id`:标识一个用户在某个应用开发商下的身份。同一用户在同一开发商下的应用中的 Union ID 是相同的,在不同开发商下的应用中的 Union ID 是不同的。通过 Union ID,应用开发商可以把同个用户在多个应用中的身份关联起来。
|
|
16743
|
+
* - `user_id`:标识一个用户在某个租户内的身份。同一个用户在租户 A 和租户 B 内的 User ID 是不同的。在同一个租户内,一个用户的 User ID 在所有应用(包括商店应用)中都保持一致。User ID 主要用于在不同的应用间打通用户数据。
|
|
16744
|
+
* @default 'open_id'
|
|
16745
|
+
*/
|
|
16746
|
+
user_id_type?: 'open_id' | 'user_id' | 'union_id';
|
|
16747
|
+
}
|
|
16735
16748
|
export interface UrgentAppImMessageRequest {
|
|
16736
16749
|
/** 该字段标识目标用户的id类型 */
|
|
16737
16750
|
user_id_list: string[];
|
|
@@ -36,7 +36,7 @@ declare module '../internal' {
|
|
|
36
36
|
* 获取企业安装的应用
|
|
37
37
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/list
|
|
38
38
|
*/
|
|
39
|
-
listApplication(query?: ListApplicationQuery): Promise<ListApplicationResponse>;
|
|
39
|
+
listApplication(query?: ListApplicationQuery): Promise<ListApplicationResponse> & AsyncIterableIterator<Application>;
|
|
40
40
|
/**
|
|
41
41
|
* 查看待审核的应用列表
|
|
42
42
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/underauditlist
|
|
@@ -111,12 +111,12 @@ declare module '../internal' {
|
|
|
111
111
|
* 获取用户自定义常用的应用
|
|
112
112
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v5/application/favourite
|
|
113
113
|
*/
|
|
114
|
-
favouriteApplication(query?: FavouriteApplicationQuery): Promise<FavouriteApplicationResponse>;
|
|
114
|
+
favouriteApplication(query?: FavouriteApplicationQuery): Promise<FavouriteApplicationResponse> & AsyncIterableIterator<Application>;
|
|
115
115
|
/**
|
|
116
116
|
* 获取管理员推荐的应用
|
|
117
117
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v5/application/recommend
|
|
118
118
|
*/
|
|
119
|
-
recommendApplication(query?: RecommendApplicationQuery): Promise<RecommendApplicationResponse>;
|
|
119
|
+
recommendApplication(query?: RecommendApplicationQuery): Promise<RecommendApplicationResponse> & AsyncIterableIterator<Application>;
|
|
120
120
|
/**
|
|
121
121
|
* 获取当前设置的推荐规则列表
|
|
122
122
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/app_recommend_rule/list
|
|
@@ -130,12 +130,19 @@ export interface GetApplicationQuery {
|
|
|
130
130
|
/** 此次调用中使用的用户ID的类型 */
|
|
131
131
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
132
132
|
}
|
|
133
|
+
export interface GetApplicationResponse {
|
|
134
|
+
/** 应用数据 */
|
|
135
|
+
app?: Application;
|
|
136
|
+
}
|
|
133
137
|
export interface GetApplicationApplicationAppVersionQuery {
|
|
134
138
|
/** 应用信息的语言版本 */
|
|
135
139
|
lang: 'zh_cn' | 'en_us' | 'ja_jp';
|
|
136
140
|
/** 此次调用中使用的用户ID的类型 */
|
|
137
141
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
138
142
|
}
|
|
143
|
+
export interface GetApplicationApplicationAppVersionResponse {
|
|
144
|
+
app_version?: ApplicationAppVersion;
|
|
145
|
+
}
|
|
139
146
|
export interface ListApplicationApplicationAppVersionQuery extends Pagination {
|
|
140
147
|
/** 应用信息的语言版本 */
|
|
141
148
|
lang: 'zh_cn' | 'en_us' | 'ja_jp';
|
|
@@ -150,17 +157,55 @@ export interface ContactsRangeSuggestApplicationApplicationAppVersionQuery {
|
|
|
150
157
|
/** 此次调用中使用的用户ID的类型 */
|
|
151
158
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
152
159
|
}
|
|
160
|
+
export interface ContactsRangeSuggestApplicationApplicationAppVersionResponse {
|
|
161
|
+
contacts_range?: ApplicationAppContactsRange;
|
|
162
|
+
}
|
|
163
|
+
export interface ListApplicationScopeResponse {
|
|
164
|
+
scopes?: Scope[];
|
|
165
|
+
}
|
|
166
|
+
export declare const enum ListApplicationQueryStatus {
|
|
167
|
+
/** 停用 */
|
|
168
|
+
AvailabilityStopped = 0,
|
|
169
|
+
/** 启用 */
|
|
170
|
+
AvailabilityActivated = 1,
|
|
171
|
+
/** 未启用 */
|
|
172
|
+
AvailabilityUnactivated = 2
|
|
173
|
+
}
|
|
174
|
+
export declare const enum ListApplicationQueryPaymentType {
|
|
175
|
+
/** 免费 */
|
|
176
|
+
Free = 0,
|
|
177
|
+
/** 付费 */
|
|
178
|
+
Paid = 1
|
|
179
|
+
}
|
|
180
|
+
export declare const enum ListApplicationQueryOwnerType {
|
|
181
|
+
/** 飞书科技 */
|
|
182
|
+
FeishuTechnology = 0,
|
|
183
|
+
/** 飞书合作伙伴 */
|
|
184
|
+
FeishuThirdParty = 1,
|
|
185
|
+
/** 企业内成员 */
|
|
186
|
+
EnterpriseMember = 2
|
|
187
|
+
}
|
|
153
188
|
export interface ListApplicationQuery extends Pagination {
|
|
154
189
|
/** 用户 ID 类型 */
|
|
155
190
|
user_id_type?: string;
|
|
156
191
|
/** 应用的图标、描述、帮助文档链接是按照应用的主语言返回;其他内容(如应用权限、应用分类)按照该参数设定返回对应的语言。可选值有: zh_cn:中文 en_us:英文 ja_jp:日文 如不填写,则按照应用的主语言返回 */
|
|
157
192
|
lang: string;
|
|
158
193
|
/** 不传入代表全部返回。传入则按照这种应用状态返回。应用状态可选值有:0:停用状态1:启用状态 2:未启用状态 */
|
|
159
|
-
status?:
|
|
194
|
+
status?: ListApplicationQueryStatus;
|
|
160
195
|
/** 不传入代表全部返回。传入则按照这种应用状态返回。 付费类型 可选值: 0:免费 1:付费 */
|
|
161
|
-
payment_type?:
|
|
196
|
+
payment_type?: ListApplicationQueryPaymentType;
|
|
162
197
|
/** 不传入代表全部返回。传入则按照这种应用状态返回。所有者类型,可选值: 0:飞书科技 1:飞书合作伙伴 2:企业内成员 */
|
|
163
|
-
owner_type?:
|
|
198
|
+
owner_type?: ListApplicationQueryOwnerType;
|
|
199
|
+
}
|
|
200
|
+
export interface ListApplicationResponse {
|
|
201
|
+
/** 应用列表 */
|
|
202
|
+
app_list?: Application[];
|
|
203
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
204
|
+
page_token?: string;
|
|
205
|
+
/** 是否还有更多项 */
|
|
206
|
+
has_more?: boolean;
|
|
207
|
+
/** 应用状态=启用的应用总数 */
|
|
208
|
+
total_count?: number;
|
|
164
209
|
}
|
|
165
210
|
export interface UnderauditlistApplicationQuery extends Pagination {
|
|
166
211
|
/** 指定返回的语言 */
|
|
@@ -168,9 +213,21 @@ export interface UnderauditlistApplicationQuery extends Pagination {
|
|
|
168
213
|
/** 此次调用中使用的用户ID的类型 */
|
|
169
214
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
170
215
|
}
|
|
216
|
+
export declare const enum PatchApplicationApplicationAppVersionRequestStatus {
|
|
217
|
+
/** 未知状态 */
|
|
218
|
+
Unknown = 0,
|
|
219
|
+
/** 审核通过 */
|
|
220
|
+
Audited = 1,
|
|
221
|
+
/** 审核拒绝 */
|
|
222
|
+
Reject = 2,
|
|
223
|
+
/** 审核中 */
|
|
224
|
+
UnderAudit = 3,
|
|
225
|
+
/** 未提交审核 */
|
|
226
|
+
Unaudit = 4
|
|
227
|
+
}
|
|
171
228
|
export interface PatchApplicationApplicationAppVersionRequest {
|
|
172
229
|
/** 版本状态 */
|
|
173
|
-
status?:
|
|
230
|
+
status?: PatchApplicationApplicationAppVersionRequestStatus;
|
|
174
231
|
}
|
|
175
232
|
export interface PatchApplicationApplicationAppVersionQuery {
|
|
176
233
|
/** 此次调用中使用的用户ID的类型 */
|
|
@@ -194,6 +251,13 @@ export interface ContactsRangeConfigurationApplicationQuery extends Pagination {
|
|
|
194
251
|
/** 此次调用中使用的用户ID的类型 */
|
|
195
252
|
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
196
253
|
}
|
|
254
|
+
export interface ContactsRangeConfigurationApplicationResponse {
|
|
255
|
+
contacts_range?: ApplicationAppContactsRange;
|
|
256
|
+
/** 是否还有更多项 */
|
|
257
|
+
has_more?: boolean;
|
|
258
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
259
|
+
page_token?: string;
|
|
260
|
+
}
|
|
197
261
|
export interface PatchApplicationApplicationContactsRangeRequest {
|
|
198
262
|
/** 更新范围方式 */
|
|
199
263
|
contacts_range_type: 'equal_to_availability' | 'some' | 'all';
|
|
@@ -222,6 +286,14 @@ export interface CheckWhiteBlackListApplicationApplicationVisibilityQuery {
|
|
|
222
286
|
/** 此次请求传参中的department_id的类型 */
|
|
223
287
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
224
288
|
}
|
|
289
|
+
export interface CheckWhiteBlackListApplicationApplicationVisibilityResponse {
|
|
290
|
+
/** 用户可见性信息列表 */
|
|
291
|
+
user_visibility_list?: ApplicationVisibilityUserWhiteBlackInfo[];
|
|
292
|
+
/** 部门可见性信息列表 */
|
|
293
|
+
department_visibility_list?: ApplicationVisibilityDepartmentWhiteBlackInfo[];
|
|
294
|
+
/** 用户组可见性信息列表 */
|
|
295
|
+
group_visibility_list?: ApplicationVisibilityGroupWhiteBlackInfo[];
|
|
296
|
+
}
|
|
225
297
|
export interface PatchApplicationApplicationVisibilityRequest {
|
|
226
298
|
/** 添加可用人员名单 */
|
|
227
299
|
add_visible_list?: AppVisibilityIdList;
|
|
@@ -244,11 +316,19 @@ export interface UpdateApplicationApplicationManagementRequest {
|
|
|
244
316
|
/** 启用/停用应用 */
|
|
245
317
|
enable?: boolean;
|
|
246
318
|
}
|
|
319
|
+
export declare const enum DepartmentOverviewApplicationApplicationAppUsageRequestCycleType {
|
|
320
|
+
/** 日活 */
|
|
321
|
+
Day = 1,
|
|
322
|
+
/** 周活, date字段应该填自然周周一的日期 */
|
|
323
|
+
Week = 2,
|
|
324
|
+
/** 月活, date字段应该填自然月1号的日期 */
|
|
325
|
+
Month = 3
|
|
326
|
+
}
|
|
247
327
|
export interface DepartmentOverviewApplicationApplicationAppUsageRequest {
|
|
248
328
|
/** 查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号 */
|
|
249
329
|
date: string;
|
|
250
330
|
/** 活跃周期的统计类型 */
|
|
251
|
-
cycle_type:
|
|
331
|
+
cycle_type: DepartmentOverviewApplicationApplicationAppUsageRequestCycleType;
|
|
252
332
|
/** 查询的部门id,获取方法可参考[部门ID概述](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview)- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户) 以及多级子部门的使用数据。- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。- 若不填写则返回整个租户的数据 */
|
|
253
333
|
department_id?: string;
|
|
254
334
|
/** 是否需要查询部门下多层子部门的数据。未设置或为0时,仅查询department_id对应的部门。设置为n时,查询department_id及其n级子部门的数据。仅在department_id参数传递时有效,最大值为4。 */
|
|
@@ -262,11 +342,19 @@ export interface DepartmentOverviewApplicationApplicationAppUsageQuery {
|
|
|
262
342
|
/** 调用中使用的部门ID的类型 */
|
|
263
343
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
264
344
|
}
|
|
345
|
+
export declare const enum MessagePushOverviewApplicationApplicationAppUsageRequestCycleType {
|
|
346
|
+
/** 日活 */
|
|
347
|
+
Day = 1,
|
|
348
|
+
/** 周活, date字段应该填自然周周一的日期 */
|
|
349
|
+
Week = 2,
|
|
350
|
+
/** 月活, date字段应该填自然月1号的日期 */
|
|
351
|
+
Month = 3
|
|
352
|
+
}
|
|
265
353
|
export interface MessagePushOverviewApplicationApplicationAppUsageRequest {
|
|
266
354
|
/** 查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号 */
|
|
267
355
|
date: string;
|
|
268
356
|
/** 枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。month指自然月,返回当前日期所在月的数据。 */
|
|
269
|
-
cycle_type:
|
|
357
|
+
cycle_type: MessagePushOverviewApplicationApplicationAppUsageRequestCycleType;
|
|
270
358
|
/** 需要查询的部门id,获取方法可参考[部门ID概述](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview)- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); - 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。返回当前部门的使用数据; 若不填写,则返回当前租户的使用数据 */
|
|
271
359
|
department_id?: string;
|
|
272
360
|
}
|
|
@@ -274,11 +362,23 @@ export interface MessagePushOverviewApplicationApplicationAppUsageQuery {
|
|
|
274
362
|
/** 调用中使用的部门ID的类型 */
|
|
275
363
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
276
364
|
}
|
|
365
|
+
export interface MessagePushOverviewApplicationApplicationAppUsageResponse {
|
|
366
|
+
/** 消息推送情况 */
|
|
367
|
+
items?: ApplicationAppUsage[];
|
|
368
|
+
}
|
|
369
|
+
export declare const enum OverviewApplicationApplicationAppUsageRequestCycleType {
|
|
370
|
+
/** 日活 */
|
|
371
|
+
Day = 1,
|
|
372
|
+
/** 周活, date字段应该填自然周周一的日期 */
|
|
373
|
+
Week = 2,
|
|
374
|
+
/** 月活, date字段应该填自然月1号的日期 */
|
|
375
|
+
Month = 3
|
|
376
|
+
}
|
|
277
377
|
export interface OverviewApplicationApplicationAppUsageRequest {
|
|
278
378
|
/** 查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号 */
|
|
279
379
|
date: string;
|
|
280
380
|
/** 活跃周期的统计类型 */
|
|
281
|
-
cycle_type:
|
|
381
|
+
cycle_type: OverviewApplicationApplicationAppUsageRequestCycleType;
|
|
282
382
|
/** 查询的部门id,获取方法可参考[部门ID概述](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview)- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); - 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。 */
|
|
283
383
|
department_id?: string;
|
|
284
384
|
/** 能力类型,按能力类型进行筛选,返回对应能力的活跃数据 */
|
|
@@ -288,22 +388,52 @@ export interface OverviewApplicationApplicationAppUsageQuery {
|
|
|
288
388
|
/** 调用中使用的部门ID的类型 */
|
|
289
389
|
department_id_type?: 'department_id' | 'open_department_id';
|
|
290
390
|
}
|
|
391
|
+
export interface OverviewApplicationApplicationAppUsageResponse {
|
|
392
|
+
/** 员工使用应用概览数据 */
|
|
393
|
+
items?: ApplicationAppUsage[];
|
|
394
|
+
}
|
|
395
|
+
export declare const enum PatchApplicationApplicationFeedbackQueryStatus {
|
|
396
|
+
/** 反馈未处理 */
|
|
397
|
+
Unmarked = 0,
|
|
398
|
+
/** 反馈已处理 */
|
|
399
|
+
Marked = 1,
|
|
400
|
+
/** 反馈处理中 */
|
|
401
|
+
Processing = 2,
|
|
402
|
+
/** 反馈已关闭 */
|
|
403
|
+
Closed = 3
|
|
404
|
+
}
|
|
291
405
|
export interface PatchApplicationApplicationFeedbackQuery {
|
|
292
406
|
user_id_type?: 'open_id' | 'union_id' | 'user_id';
|
|
293
407
|
/** 反馈处理状态 */
|
|
294
|
-
status:
|
|
408
|
+
status: PatchApplicationApplicationFeedbackQueryStatus;
|
|
295
409
|
/** 反馈处理人员id,租户内用户的唯一标识, ID值与查询参数中的user_id_type 对应 */
|
|
296
410
|
operator_id: string;
|
|
297
411
|
}
|
|
412
|
+
export declare const enum ListApplicationApplicationFeedbackQueryFeedbackType {
|
|
413
|
+
/** 故障反馈 */
|
|
414
|
+
Fault = 1,
|
|
415
|
+
/** 产品建议 */
|
|
416
|
+
Advice = 2
|
|
417
|
+
}
|
|
418
|
+
export declare const enum ListApplicationApplicationFeedbackQueryStatus {
|
|
419
|
+
/** 反馈未处理 */
|
|
420
|
+
Unmarked = 0,
|
|
421
|
+
/** 反馈已处理 */
|
|
422
|
+
Marked = 1,
|
|
423
|
+
/** 反馈处理中 */
|
|
424
|
+
Processing = 2,
|
|
425
|
+
/** 反馈已关闭 */
|
|
426
|
+
Closed = 3
|
|
427
|
+
}
|
|
298
428
|
export interface ListApplicationApplicationFeedbackQuery extends Pagination {
|
|
299
429
|
/** 查询的起始日期,格式为yyyy-mm-dd。不填则默认为当前日期减去180天。 */
|
|
300
430
|
from_date?: string;
|
|
301
431
|
/** 查询的结束日期,格式为yyyy-mm-dd。不填默认为当前日期。只能查询 180 天内的数据。 */
|
|
302
432
|
to_date?: string;
|
|
303
433
|
/** 反馈类型,不填写则表示查询所有反馈类型。 */
|
|
304
|
-
feedback_type?:
|
|
434
|
+
feedback_type?: ListApplicationApplicationFeedbackQueryFeedbackType;
|
|
305
435
|
/** 反馈处理状态,不填写则表示查询所有处理类型。 */
|
|
306
|
-
status?:
|
|
436
|
+
status?: ListApplicationApplicationFeedbackQueryStatus;
|
|
307
437
|
user_id_type?: 'open_id' | 'union_id' | 'user_id';
|
|
308
438
|
}
|
|
309
439
|
export interface SetApplicationAppBadgeRequest {
|
|
@@ -326,62 +456,6 @@ export interface FavouriteApplicationQuery extends Pagination {
|
|
|
326
456
|
/** 应用信息的语言版本 */
|
|
327
457
|
language?: 'zh_cn' | 'en_us' | 'ja_jp';
|
|
328
458
|
}
|
|
329
|
-
export interface RecommendApplicationQuery extends Pagination {
|
|
330
|
-
/** 应用信息的语言版本 */
|
|
331
|
-
language?: 'zh_cn' | 'en_us' | 'ja_jp';
|
|
332
|
-
/** 推荐应用类型,默认为用户不可移除的推荐应用列表 */
|
|
333
|
-
recommend_type?: 'user_unremovable' | 'user_removable';
|
|
334
|
-
}
|
|
335
|
-
export interface ListApplicationAppRecommendRuleQuery extends Pagination {
|
|
336
|
-
/** 此次调用中使用的用户ID的类型 */
|
|
337
|
-
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
338
|
-
}
|
|
339
|
-
export interface GetApplicationResponse {
|
|
340
|
-
/** 应用数据 */
|
|
341
|
-
app?: Application;
|
|
342
|
-
}
|
|
343
|
-
export interface GetApplicationApplicationAppVersionResponse {
|
|
344
|
-
app_version?: ApplicationAppVersion;
|
|
345
|
-
}
|
|
346
|
-
export interface ContactsRangeSuggestApplicationApplicationAppVersionResponse {
|
|
347
|
-
contacts_range?: ApplicationAppContactsRange;
|
|
348
|
-
}
|
|
349
|
-
export interface ListApplicationScopeResponse {
|
|
350
|
-
scopes?: Scope[];
|
|
351
|
-
}
|
|
352
|
-
export interface ListApplicationResponse {
|
|
353
|
-
/** 应用列表 */
|
|
354
|
-
app_list?: Application[];
|
|
355
|
-
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
356
|
-
page_token?: string;
|
|
357
|
-
/** 是否还有更多项 */
|
|
358
|
-
has_more?: boolean;
|
|
359
|
-
/** 应用状态=启用的应用总数 */
|
|
360
|
-
total_count?: number;
|
|
361
|
-
}
|
|
362
|
-
export interface ContactsRangeConfigurationApplicationResponse {
|
|
363
|
-
contacts_range?: ApplicationAppContactsRange;
|
|
364
|
-
/** 是否还有更多项 */
|
|
365
|
-
has_more?: boolean;
|
|
366
|
-
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
367
|
-
page_token?: string;
|
|
368
|
-
}
|
|
369
|
-
export interface CheckWhiteBlackListApplicationApplicationVisibilityResponse {
|
|
370
|
-
/** 用户可见性信息列表 */
|
|
371
|
-
user_visibility_list?: ApplicationVisibilityUserWhiteBlackInfo[];
|
|
372
|
-
/** 部门可见性信息列表 */
|
|
373
|
-
department_visibility_list?: ApplicationVisibilityDepartmentWhiteBlackInfo[];
|
|
374
|
-
/** 用户组可见性信息列表 */
|
|
375
|
-
group_visibility_list?: ApplicationVisibilityGroupWhiteBlackInfo[];
|
|
376
|
-
}
|
|
377
|
-
export interface MessagePushOverviewApplicationApplicationAppUsageResponse {
|
|
378
|
-
/** 消息推送情况 */
|
|
379
|
-
items?: ApplicationAppUsage[];
|
|
380
|
-
}
|
|
381
|
-
export interface OverviewApplicationApplicationAppUsageResponse {
|
|
382
|
-
/** 员工使用应用概览数据 */
|
|
383
|
-
items?: ApplicationAppUsage[];
|
|
384
|
-
}
|
|
385
459
|
export interface FavouriteApplicationResponse {
|
|
386
460
|
/** 分页的token */
|
|
387
461
|
page_token?: string;
|
|
@@ -392,6 +466,12 @@ export interface FavouriteApplicationResponse {
|
|
|
392
466
|
/** 应用数据列表 */
|
|
393
467
|
app_list?: Application[];
|
|
394
468
|
}
|
|
469
|
+
export interface RecommendApplicationQuery extends Pagination {
|
|
470
|
+
/** 应用信息的语言版本 */
|
|
471
|
+
language?: 'zh_cn' | 'en_us' | 'ja_jp';
|
|
472
|
+
/** 推荐应用类型,默认为用户不可移除的推荐应用列表 */
|
|
473
|
+
recommend_type?: 'user_unremovable' | 'user_removable';
|
|
474
|
+
}
|
|
395
475
|
export interface RecommendApplicationResponse {
|
|
396
476
|
/** 分页的token */
|
|
397
477
|
page_token?: string;
|
|
@@ -404,3 +484,7 @@ export interface RecommendApplicationResponse {
|
|
|
404
484
|
/** 应用数据列表 */
|
|
405
485
|
app_list?: Application[];
|
|
406
486
|
}
|
|
487
|
+
export interface ListApplicationAppRecommendRuleQuery extends Pagination {
|
|
488
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
489
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
490
|
+
}
|