@satorijs/adapter-lark 3.8.6 → 3.9.1
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/bot.d.ts +1 -1
- package/lib/content.d.ts +433 -0
- package/lib/http.d.ts +1 -1
- package/lib/index.cjs +2792 -1719
- package/lib/index.d.ts +4 -2
- package/lib/internal.d.ts +37 -0
- package/lib/message.d.ts +2 -0
- package/lib/types/acs.d.ts +177 -0
- package/lib/types/admin.d.ts +270 -0
- package/lib/types/aily.d.ts +221 -0
- package/lib/types/apaas.d.ts +499 -0
- package/lib/types/application.d.ts +406 -0
- package/lib/types/approval.d.ts +779 -0
- package/lib/types/attendance.d.ts +957 -0
- package/lib/types/auth.d.ts +86 -0
- package/lib/types/authen.d.ts +191 -0
- package/lib/types/baike.d.ts +239 -0
- package/lib/types/bitable.d.ts +691 -0
- package/lib/types/board.d.ts +19 -0
- package/lib/types/calendar.d.ts +653 -0
- package/lib/types/cardkit.d.ts +139 -0
- package/lib/types/compensation.d.ts +54 -0
- package/lib/types/contact.d.ts +1137 -0
- package/lib/types/corehr.d.ts +4391 -0
- package/lib/types/docs.d.ts +23 -0
- package/lib/types/document_ai.d.ts +257 -0
- package/lib/types/docx.d.ts +380 -0
- package/lib/types/drive.d.ts +1053 -0
- package/lib/types/ehr.d.ts +32 -0
- package/lib/types/event.d.ts +9 -18
- package/lib/types/helpdesk.d.ts +746 -0
- package/lib/types/hire.d.ts +3150 -0
- package/lib/types/human_authentication.d.ts +27 -0
- package/lib/types/im.d.ts +1300 -0
- package/lib/types/index.d.ts +16432 -34
- package/lib/types/lingo.d.ts +254 -0
- package/lib/types/mail.d.ts +680 -0
- package/lib/types/mdm.d.ts +42 -0
- package/lib/types/minutes.d.ts +31 -0
- package/lib/types/moments.d.ts +18 -0
- package/lib/types/okr.d.ts +205 -0
- package/lib/types/optical_char_recognition.d.ts +17 -0
- package/lib/types/passport.d.ts +45 -0
- package/lib/types/payroll.d.ts +50 -0
- package/lib/types/performance.d.ts +413 -0
- package/lib/types/personal_settings.d.ts +87 -0
- package/lib/types/report.d.ts +57 -0
- package/lib/types/search.d.ts +216 -0
- package/lib/types/security_and_compliance.d.ts +24 -0
- package/lib/types/sheets.d.ts +326 -0
- package/lib/types/speech_to_text.d.ts +39 -0
- package/lib/types/task.d.ts +1153 -0
- package/lib/types/tenant.d.ts +23 -0
- package/lib/types/translation.d.ts +37 -0
- package/lib/types/vc.d.ts +948 -0
- package/lib/types/verification.d.ts +14 -0
- package/lib/types/wiki.d.ts +240 -0
- package/lib/types/workplace.d.ts +43 -0
- package/lib/utils.d.ts +143 -7
- package/package.json +6 -4
- package/src/bot.ts +19 -3
- package/src/{types/message/content.ts → content.ts} +1 -0
- package/src/http.ts +1 -3
- package/src/index.ts +4 -2
- package/src/internal.ts +143 -0
- package/src/message.ts +13 -11
- package/src/types/acs.ts +236 -0
- package/src/types/admin.ts +328 -0
- package/src/types/aily.ts +288 -0
- package/src/types/apaas.ts +646 -0
- package/src/types/application.ts +520 -0
- package/src/types/approval.ts +924 -0
- package/src/types/attendance.ts +1153 -0
- package/src/types/auth.ts +114 -0
- package/src/types/authen.ts +220 -0
- package/src/types/baike.ts +306 -0
- package/src/types/bitable.ts +879 -0
- package/src/types/board.ts +31 -0
- package/src/types/calendar.ts +817 -0
- package/src/types/cardkit.ts +182 -0
- package/src/types/compensation.ts +79 -0
- package/src/types/contact.ts +1411 -0
- package/src/types/corehr.ts +5297 -0
- package/src/types/docs.ts +33 -0
- package/src/types/document_ai.ts +352 -0
- package/src/types/docx.ts +471 -0
- package/src/types/drive.ts +1321 -0
- package/src/types/ehr.ts +43 -0
- package/src/types/event.ts +15 -21
- package/src/types/helpdesk.ts +925 -0
- package/src/types/hire.ts +3918 -0
- package/src/types/human_authentication.ts +38 -0
- package/src/types/im.ts +1605 -0
- package/src/types/index.ts +17754 -39
- package/src/types/lingo.ts +321 -0
- package/src/types/mail.ts +851 -0
- package/src/types/mdm.ts +57 -0
- package/src/types/minutes.ts +46 -0
- package/src/types/moments.ts +28 -0
- package/src/types/okr.ts +261 -0
- package/src/types/optical_char_recognition.ts +27 -0
- package/src/types/passport.ts +61 -0
- package/src/types/payroll.ts +69 -0
- package/src/types/performance.ts +524 -0
- package/src/types/personal_settings.ts +116 -0
- package/src/types/report.ts +77 -0
- package/src/types/search.ts +268 -0
- package/src/types/security_and_compliance.ts +33 -0
- package/src/types/sheets.ts +425 -0
- package/src/types/speech_to_text.ts +54 -0
- package/src/types/task.ts +1464 -0
- package/src/types/tenant.ts +36 -0
- package/src/types/translation.ts +52 -0
- package/src/types/vc.ts +1197 -0
- package/src/types/verification.ts +23 -0
- package/src/types/wiki.ts +313 -0
- package/src/types/workplace.ts +59 -0
- package/src/utils.ts +160 -8
- package/src/types/api.ts +0 -30848
- package/src/types/internal.ts +0 -84
- package/src/types/message/index.ts +0 -97
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { Activity, AdditionalInformation, Field, ImportedMetric, Indicator, MetricField, MetricInLibrary, MetricTag, MetricTemplate, Question, Reviewee, RevieweeMetric, ReviewProfile, ReviewTemplate, Semester, SemesterBaseInfo, StageTask, Template, Unit, WriteUserGroupScopeData } from '.';
|
|
2
|
+
import { Pagination } from '../internal';
|
|
3
|
+
declare module '../internal' {
|
|
4
|
+
interface Internal {
|
|
5
|
+
/**
|
|
6
|
+
* 获取周期列表
|
|
7
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v1/semester/list
|
|
8
|
+
*/
|
|
9
|
+
listPerformanceV1Semester(query?: ListPerformanceV1SemesterQuery): Promise<ListPerformanceV1SemesterResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* 获取项目列表
|
|
12
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/activity/query
|
|
13
|
+
*/
|
|
14
|
+
queryPerformanceV2Activity(body: QueryPerformanceV2ActivityRequest, query?: QueryPerformanceV2ActivityQuery): Promise<QueryPerformanceV2ActivityResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* 批量查询补充信息
|
|
17
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/additional_information/query
|
|
18
|
+
*/
|
|
19
|
+
queryPerformanceV2AdditionalInformation(body: QueryPerformanceV2AdditionalInformationRequest, query?: QueryPerformanceV2AdditionalInformationQuery): Paginated<AdditionalInformation, 'additional_informations'>;
|
|
20
|
+
/**
|
|
21
|
+
* 批量导入补充信息
|
|
22
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/additional_information/import
|
|
23
|
+
*/
|
|
24
|
+
importPerformanceV2AdditionalInformation(body: ImportPerformanceV2AdditionalInformationRequest, query?: ImportPerformanceV2AdditionalInformationQuery): Promise<ImportPerformanceV2AdditionalInformationResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 批量删除补充信息
|
|
27
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/additional_informations-batch/delete
|
|
28
|
+
*/
|
|
29
|
+
deletePerformanceV2AdditionalInformationsBatch(body: DeletePerformanceV2AdditionalInformationsBatchRequest, query?: DeletePerformanceV2AdditionalInformationsBatchQuery): Promise<DeletePerformanceV2AdditionalInformationsBatchResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 更新人员组成员
|
|
32
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/user_group_user_rel/write
|
|
33
|
+
*/
|
|
34
|
+
writePerformanceV2UserGroupUserRel(body: WritePerformanceV2UserGroupUserRelRequest, query?: WritePerformanceV2UserGroupUserRelQuery): Promise<WritePerformanceV2UserGroupUserRelResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* 获取被评估人信息
|
|
37
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/reviewee/query
|
|
38
|
+
*/
|
|
39
|
+
queryPerformanceV2Reviewee(body: QueryPerformanceV2RevieweeRequest, query?: QueryPerformanceV2RevieweeQuery): Promise<QueryPerformanceV2RevieweeResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* 获取评估模板配置
|
|
42
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/review_template/query
|
|
43
|
+
*/
|
|
44
|
+
queryPerformanceV2ReviewTemplate(body: QueryPerformanceV2ReviewTemplateRequest, query?: Pagination): Paginated<ReviewTemplate, 'review_templates'>;
|
|
45
|
+
/**
|
|
46
|
+
* 获取评估项列表
|
|
47
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/indicator/query
|
|
48
|
+
*/
|
|
49
|
+
queryPerformanceV2Indicator(body: QueryPerformanceV2IndicatorRequest, query?: Pagination): Paginated<Indicator, 'indicators'>;
|
|
50
|
+
/**
|
|
51
|
+
* 获取标签填写题配置
|
|
52
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/question/query
|
|
53
|
+
*/
|
|
54
|
+
queryPerformanceV2Question(body: QueryPerformanceV2QuestionRequest, query?: Pagination): Paginated<Question, 'tag_based_questions'>;
|
|
55
|
+
/**
|
|
56
|
+
* 获取指标列表
|
|
57
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_lib/query
|
|
58
|
+
*/
|
|
59
|
+
queryPerformanceV2MetricLib(body: QueryPerformanceV2MetricLibRequest, query?: QueryPerformanceV2MetricLibQuery): Paginated<MetricInLibrary>;
|
|
60
|
+
/**
|
|
61
|
+
* 获取指标模板列表
|
|
62
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_template/query
|
|
63
|
+
*/
|
|
64
|
+
queryPerformanceV2MetricTemplate(body: QueryPerformanceV2MetricTemplateRequest, query?: QueryPerformanceV2MetricTemplateQuery): Paginated<MetricTemplate>;
|
|
65
|
+
/**
|
|
66
|
+
* 获取指标字段列表
|
|
67
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_field/query
|
|
68
|
+
*/
|
|
69
|
+
queryPerformanceV2MetricField(body: QueryPerformanceV2MetricFieldRequest): Promise<QueryPerformanceV2MetricFieldResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 获取指标标签列表
|
|
72
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_tag/list
|
|
73
|
+
*/
|
|
74
|
+
listPerformanceV2MetricTag(query?: ListPerformanceV2MetricTagQuery): Paginated<MetricTag>;
|
|
75
|
+
/**
|
|
76
|
+
* 获取周期任务(指定用户)
|
|
77
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v1/stage_task/find_by_user_list
|
|
78
|
+
*/
|
|
79
|
+
findByUserListPerformanceV1StageTask(body: FindByUserListPerformanceV1StageTaskRequest, query?: FindByUserListPerformanceV1StageTaskQuery): Promise<FindByUserListPerformanceV1StageTaskResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* 获取周期任务(全部用户)
|
|
82
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v1/stage_task/find_by_page
|
|
83
|
+
*/
|
|
84
|
+
findByPagePerformanceV1StageTask(body: FindByPagePerformanceV1StageTaskRequest, query?: FindByPagePerformanceV1StageTaskQuery): Promise<FindByPagePerformanceV1StageTaskResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* 获取被评估人关键指标结果
|
|
87
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_detail/query
|
|
88
|
+
*/
|
|
89
|
+
queryPerformanceV2MetricDetail(body: QueryPerformanceV2MetricDetailRequest, query?: QueryPerformanceV2MetricDetailQuery): Promise<QueryPerformanceV2MetricDetailResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 录入被评估人关键指标数据
|
|
92
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/metric_detail/import
|
|
93
|
+
*/
|
|
94
|
+
importPerformanceV2MetricDetail(body: ImportPerformanceV2MetricDetailRequest, query?: ImportPerformanceV2MetricDetailQuery): Promise<ImportPerformanceV2MetricDetailResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* 获取绩效结果
|
|
97
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v1/review_data/query
|
|
98
|
+
*/
|
|
99
|
+
queryPerformanceV1ReviewData(body: QueryPerformanceV1ReviewDataRequest, query?: QueryPerformanceV1ReviewDataQuery): Promise<QueryPerformanceV1ReviewDataResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* 获取绩效详情数据
|
|
102
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/review_data/query
|
|
103
|
+
*/
|
|
104
|
+
queryPerformanceV2ReviewData(body: QueryPerformanceV2ReviewDataRequest, query?: QueryPerformanceV2ReviewDataQuery): Promise<QueryPerformanceV2ReviewDataResponse>;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export interface ListPerformanceV1SemesterQuery {
|
|
108
|
+
/** 周期开始时间 */
|
|
109
|
+
start_time?: string;
|
|
110
|
+
/** 周期结束时间 */
|
|
111
|
+
end_time?: string;
|
|
112
|
+
/** 年份 */
|
|
113
|
+
year?: number;
|
|
114
|
+
/** 周期类型分组 */
|
|
115
|
+
type_group?: 'Annual' | 'Semi-annual' | 'Quarter' | 'Bimonth' | 'Month' | 'Non-standard';
|
|
116
|
+
/** 周期类型 */
|
|
117
|
+
type?: 'Annual' | 'H1' | 'H2' | 'Q1' | 'Q2' | 'Q3' | 'Q4' | 'January-February' | 'March-April' | 'May-June' | 'July-August' | 'September-October' | 'November-December' | 'January' | 'February' | 'March' | 'April' | 'May' | 'June' | 'July' | 'August' | 'September' | 'October' | 'November' | 'December' | 'Custom';
|
|
118
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
119
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
120
|
+
}
|
|
121
|
+
export interface QueryPerformanceV2ActivityRequest {
|
|
122
|
+
/** 评估周期 ID 列表,获取指定评估周期的项目 ID,semester_id 可通过【获取周期】接口获得 */
|
|
123
|
+
semester_ids?: string[];
|
|
124
|
+
/** 项目 ID 列表,如果同时传了「semester_ids」,则优先以「activity_ids」进行查询 */
|
|
125
|
+
activity_ids?: string[];
|
|
126
|
+
}
|
|
127
|
+
export interface QueryPerformanceV2ActivityQuery {
|
|
128
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
129
|
+
}
|
|
130
|
+
export interface QueryPerformanceV2AdditionalInformationRequest {
|
|
131
|
+
/** 评估周期 ID 列表,semester_id 可通过【获取周期】接口获得 */
|
|
132
|
+
semester_id: string;
|
|
133
|
+
/** 事项 ID 列表,获取指定事项 ID 的信息。以下请求参数中「item_ids」、「external_ids」、「reviewee_user_ids」均为空时,返回该评估周期的所有补充信息。若单次请求中多个请求参数有值,按照【item_ids > external_ids > reviewee_user_ids】的顺序只识别第一个有值的请求参数 */
|
|
134
|
+
item_ids?: string[];
|
|
135
|
+
/** 外部系统的事项 ID 列表,获取对应的飞书绩效事项 ID。「item_ids」参数有值时该参数不生效 */
|
|
136
|
+
external_ids?: string[];
|
|
137
|
+
/** 被评估人 ID 列表,获取周期下被评估人的事项信息。「item_ids」、「external_ids」参数有值时该参数不生效 */
|
|
138
|
+
reviewee_user_ids?: string[];
|
|
139
|
+
}
|
|
140
|
+
export interface QueryPerformanceV2AdditionalInformationQuery extends Pagination {
|
|
141
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
142
|
+
}
|
|
143
|
+
export interface ImportPerformanceV2AdditionalInformationRequest {
|
|
144
|
+
/** 评估周期 ID 列表,semester_id 可通过【获取周期】接口获得 */
|
|
145
|
+
semester_id: string;
|
|
146
|
+
/** 补充信息列表,一次最多 1000 个 */
|
|
147
|
+
additional_informations?: AdditionalInformation[];
|
|
148
|
+
/** 导入记录名称,管理员可在补充信息管理的导入记录中查看。不传则默认为 API 导入。 */
|
|
149
|
+
import_record_name?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface ImportPerformanceV2AdditionalInformationQuery {
|
|
152
|
+
/** 根据 client_token 是否一致来判断是否为同一请求 */
|
|
153
|
+
client_token: string;
|
|
154
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
155
|
+
}
|
|
156
|
+
export interface DeletePerformanceV2AdditionalInformationsBatchRequest {
|
|
157
|
+
/** 评估周期 ID 列表,semester_id 可通过【获取周期】接口获得 */
|
|
158
|
+
semester_id: string;
|
|
159
|
+
/** 补充信息列表,一次最多 100 个 */
|
|
160
|
+
additional_informations: string[];
|
|
161
|
+
}
|
|
162
|
+
export interface DeletePerformanceV2AdditionalInformationsBatchQuery {
|
|
163
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
164
|
+
}
|
|
165
|
+
export interface WritePerformanceV2UserGroupUserRelRequest {
|
|
166
|
+
/** 分组id key */
|
|
167
|
+
group_id?: string;
|
|
168
|
+
/** 人员组查看人员名单可见性配置 */
|
|
169
|
+
scope_visible_setting?: 0 | 1;
|
|
170
|
+
/** 人员列表 */
|
|
171
|
+
user_ids?: string[];
|
|
172
|
+
}
|
|
173
|
+
export interface WritePerformanceV2UserGroupUserRelQuery {
|
|
174
|
+
/** 根据 client_token 是否一致来判断是否为同一请求 */
|
|
175
|
+
client_token: string;
|
|
176
|
+
/** 用户ID类型 */
|
|
177
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
178
|
+
}
|
|
179
|
+
export interface QueryPerformanceV2RevieweeRequest {
|
|
180
|
+
/** 周期 ID,1 次只允许查询 1 个周期,semester_id 可通过【获取周期】接口获得 */
|
|
181
|
+
semester_id: string;
|
|
182
|
+
/** 用户 ID,类型需要与查询参数中的user_id_type保持一致。不传则默认返回该周期所有被评估人的信息。 */
|
|
183
|
+
user_ids?: string[];
|
|
184
|
+
/** 项目 ID 列表,查询指定的项目下的被评估人数据 */
|
|
185
|
+
activity_ids?: string[];
|
|
186
|
+
}
|
|
187
|
+
export interface QueryPerformanceV2RevieweeQuery extends Pagination {
|
|
188
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
189
|
+
}
|
|
190
|
+
export interface QueryPerformanceV2ReviewTemplateRequest {
|
|
191
|
+
/** 评估模板 ID 列表,获取指定评估模板的配置数据。如果不传则返回所有 */
|
|
192
|
+
review_template_ids?: string[];
|
|
193
|
+
}
|
|
194
|
+
export interface QueryPerformanceV2IndicatorRequest {
|
|
195
|
+
/** 评估项 ID 列表,获取指定评估项的配置数据 */
|
|
196
|
+
indicator_ids?: string[];
|
|
197
|
+
}
|
|
198
|
+
export interface QueryPerformanceV2QuestionRequest {
|
|
199
|
+
/** 标签填写题 ID 列表,获取指定标签填写题的配置数据。如果不传则返回所有 */
|
|
200
|
+
tag_based_question_ids?: string[];
|
|
201
|
+
}
|
|
202
|
+
export interface QueryPerformanceV2MetricLibRequest {
|
|
203
|
+
/** 状态是否为启用 */
|
|
204
|
+
is_active?: boolean;
|
|
205
|
+
/** 指标所属的标签 ID */
|
|
206
|
+
tag_ids?: string[];
|
|
207
|
+
/** 所属的指标类型 ID */
|
|
208
|
+
type_ids?: string[];
|
|
209
|
+
/** 可用范围 */
|
|
210
|
+
range_of_availability?: 'admins_and_reviewees' | 'only_admins';
|
|
211
|
+
/** 评分设置类型 */
|
|
212
|
+
scoring_setting_type?: 'score_manually' | 'score_by_formula';
|
|
213
|
+
}
|
|
214
|
+
export interface QueryPerformanceV2MetricLibQuery extends Pagination {
|
|
215
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
216
|
+
}
|
|
217
|
+
export interface QueryPerformanceV2MetricTemplateRequest {
|
|
218
|
+
/** 指标模板 ID 列表,metrics_template_id 可以通过指标模板的后台配置详情页的 url 获取,也可通过本接口的返回值获取。不填写则默认返回所有指标模板 */
|
|
219
|
+
metrics_template_ids?: string[];
|
|
220
|
+
/** 状态 */
|
|
221
|
+
status?: 'to_be_configured' | 'to_be_activated' | 'enabled' | 'disabled';
|
|
222
|
+
}
|
|
223
|
+
export interface QueryPerformanceV2MetricTemplateQuery extends Pagination {
|
|
224
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
225
|
+
}
|
|
226
|
+
export interface QueryPerformanceV2MetricFieldRequest {
|
|
227
|
+
/** 指标的字段 ID,不传则默认获取全部字段信息 */
|
|
228
|
+
field_ids?: string[];
|
|
229
|
+
}
|
|
230
|
+
export interface ListPerformanceV2MetricTagQuery extends Pagination {
|
|
231
|
+
/** 指标标签 ID 列表 */
|
|
232
|
+
tag_ids?: string[];
|
|
233
|
+
}
|
|
234
|
+
export interface FindByUserListPerformanceV1StageTaskRequest {
|
|
235
|
+
/** 周期ID,可以通过「查询周期」接口获得 */
|
|
236
|
+
semester_id: string;
|
|
237
|
+
/** 用户ID列表 */
|
|
238
|
+
user_id_lists: string[];
|
|
239
|
+
/** 任务分类(不传默认包含所有) */
|
|
240
|
+
task_option_lists?: number[];
|
|
241
|
+
/** 查询晚于当前时间截止的环节 */
|
|
242
|
+
after_time?: string;
|
|
243
|
+
/** 查询早于当前时间截止的环节 */
|
|
244
|
+
before_time?: string;
|
|
245
|
+
}
|
|
246
|
+
export interface FindByUserListPerformanceV1StageTaskQuery {
|
|
247
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
248
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
249
|
+
}
|
|
250
|
+
export interface FindByPagePerformanceV1StageTaskRequest {
|
|
251
|
+
/** 周期ID,可以通过「查询周期」接口获得 */
|
|
252
|
+
semester_id: string;
|
|
253
|
+
/** 任务分类(不传默认包含所有) */
|
|
254
|
+
task_option_lists?: number[];
|
|
255
|
+
/** 查询晚于当前时间截止的环节 */
|
|
256
|
+
after_time?: string;
|
|
257
|
+
/** 查询早于当前时间截止的环节 */
|
|
258
|
+
before_time?: string;
|
|
259
|
+
/** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果 */
|
|
260
|
+
page_token?: string;
|
|
261
|
+
/** 分页大小 */
|
|
262
|
+
page_size?: number;
|
|
263
|
+
}
|
|
264
|
+
export interface FindByPagePerformanceV1StageTaskQuery {
|
|
265
|
+
/** 调用结果中用户ID的类型 */
|
|
266
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
267
|
+
}
|
|
268
|
+
export interface QueryPerformanceV2MetricDetailRequest {
|
|
269
|
+
/** 周期 ID,1 次只允许查询 1 个周期,semester_id 可通过【获取周期】接口获得 */
|
|
270
|
+
semester_id: string;
|
|
271
|
+
/** 被评估人 ID 列表。如果不传则返回该周期所有参与的被评估人的关键指标详情 */
|
|
272
|
+
reviewee_user_ids: string[];
|
|
273
|
+
}
|
|
274
|
+
export interface QueryPerformanceV2MetricDetailQuery {
|
|
275
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
276
|
+
}
|
|
277
|
+
export interface ImportPerformanceV2MetricDetailRequest {
|
|
278
|
+
/** 周期 ID,semester_id 可通过【获取周期】接口获得 */
|
|
279
|
+
semester_id: string;
|
|
280
|
+
/** 录入记录名称,数据源录入人在录入记录页面可以查看该记录名称。如果不传则默认为「API 录入」 */
|
|
281
|
+
import_record_name?: string;
|
|
282
|
+
/** 指标明细列表,一次最多50个 */
|
|
283
|
+
imported_metrics: ImportedMetric[];
|
|
284
|
+
}
|
|
285
|
+
export interface ImportPerformanceV2MetricDetailQuery {
|
|
286
|
+
/** 根据 client_token 是否一致来判断是否为同一请求 */
|
|
287
|
+
client_token: string;
|
|
288
|
+
/** 用户ID类型 */
|
|
289
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
290
|
+
}
|
|
291
|
+
export interface QueryPerformanceV1ReviewDataRequest {
|
|
292
|
+
/** 查询范围的开始日期,毫秒级时间戳,开始日期不能晚于截止日期 */
|
|
293
|
+
start_time: string;
|
|
294
|
+
/** 查询范围的截止日期,毫秒级时间戳,截止日期不能早于开始日期 */
|
|
295
|
+
end_time: string;
|
|
296
|
+
/** 评估环节类型,目前仅支持上级评估环节和结果沟通环节(不传默认包含所有的环节)**可选值有**:- `leader_review`:上级评估环节- `communication_and_open_result`:结果沟通环节 */
|
|
297
|
+
stage_types: ('leader_review' | 'communication_and_open_result' | 'view_result')[];
|
|
298
|
+
/** 评估环节状态(不传默认包含所有的状态)**可选值有**:- `0`:未开始,任务的开始时间未到达- `1`:待完成,任务的开始时间到达而截止时间未到达,且任务未完成- `2`:已截止,任务的截止时间已到达,且任务未完成- `3`:已完成,任务已完成 */
|
|
299
|
+
stage_progress?: (0 | 1 | 2 | 3 | 4)[];
|
|
300
|
+
/** 评估周期 ID 列表,semester_id 是一个评估周期的唯一标识,可以通过「我的评估」页面 url 获取,也可通过本接口的返回值获取 */
|
|
301
|
+
semester_id_list?: string[];
|
|
302
|
+
/** 被评估人 ID 列表 */
|
|
303
|
+
reviewee_user_id_list: string[];
|
|
304
|
+
/** 环节更新时间晚于,可筛选出在此时间之后,有内容提交的环节数据 */
|
|
305
|
+
updated_later_than?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface QueryPerformanceV1ReviewDataQuery {
|
|
308
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
309
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
310
|
+
}
|
|
311
|
+
export interface QueryPerformanceV2ReviewDataRequest {
|
|
312
|
+
/** 评估周期 ID 列表,semester_id 可通过【获取周期】 */
|
|
313
|
+
semester_ids: string[];
|
|
314
|
+
/** 被评估人 ID 列表 */
|
|
315
|
+
reviewee_user_ids: string[];
|
|
316
|
+
/** 环节类型 */
|
|
317
|
+
stage_types?: ('summarize_key_outputs' | 'review' | 'communication_and_open_result' | 'view_result' | 'reconsideration' | 'leader_review')[];
|
|
318
|
+
/** 评估型环节的执行人角色,不传默认包含所有的执行人角色。当传入的环节类型中有评估型环节时,返回指定执行人角色的评估型环节数据 */
|
|
319
|
+
review_stage_roles?: ('reviewee' | 'invited_reviewer' | 'solid_line_leader' | 'dotted_line_leader' | 'secondary_solid_line_leader' | 'direct_project_leader' | 'custom_review_role' | 'metric_reviewer')[];
|
|
320
|
+
/** 环节 ID,如果同时传了环节 ID 和环节类型,优先返回环节 ID 对应的绩效数据 */
|
|
321
|
+
stage_ids?: string[];
|
|
322
|
+
/** 当要获取的绩效数据的环节类型包含终评环节时,可指定是否需要返回绩效终评数据的具体环节来源。不填则默认不返回 返回的来源枚举值为: 枚举值: review 产生终评结果的评估型环节 calibaration 校准环节 reconsideration 结果复议环节 */
|
|
323
|
+
need_leader_review_data_source?: boolean;
|
|
324
|
+
/** 环节更新时间晚于,可筛选出在此时间之后,有内容提交的环节数据 */
|
|
325
|
+
updated_later_than?: string;
|
|
326
|
+
/** 环节状态,不传默认包含所有状态。各类型的环节分别有以下环节状态: 绩效结果查看环节状态 可选值: 0:已开通,绩效结果已开通,未发起复议也无需确认结果 1:待确认,绩效结果已开通但被评估人还未确认结果,确认的截止时间还未到达 2:已截止,绩效结果已开通但被评估人还未确认结果,确认的截止时间已到达 3:已确认,绩效结果已开通,被评估人已确认结果 4:已复议,绩效结果已开通,且被评估人已发起 绩效结果复议环节状态 可选值: 1:待完成,任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 除上述类型外的其他环节类型状态 可选值: 0:未开始,任务的开始时间未到达 1:待完成,任务的开始时间到达而截止时间未到达,且任务未完成 2:已截止,任务的截止时间已到达,且任务未完成 3:已完成,任务已完成 */
|
|
327
|
+
stage_progresses?: number[];
|
|
328
|
+
}
|
|
329
|
+
export interface QueryPerformanceV2ReviewDataQuery {
|
|
330
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_admin_id';
|
|
331
|
+
}
|
|
332
|
+
export interface ListPerformanceV1SemesterResponse {
|
|
333
|
+
/** 周期meta信息列表 */
|
|
334
|
+
items?: Semester[];
|
|
335
|
+
}
|
|
336
|
+
export interface QueryPerformanceV2ActivityResponse {
|
|
337
|
+
/** 绩效评估项目列表。 */
|
|
338
|
+
activities?: Activity[];
|
|
339
|
+
}
|
|
340
|
+
export interface ImportPerformanceV2AdditionalInformationResponse {
|
|
341
|
+
/** 导入记录 ID */
|
|
342
|
+
import_record_id?: string;
|
|
343
|
+
/** 成功导入后的补充信息列表 */
|
|
344
|
+
additional_informations?: AdditionalInformation[];
|
|
345
|
+
}
|
|
346
|
+
export interface DeletePerformanceV2AdditionalInformationsBatchResponse {
|
|
347
|
+
/** 被删除的补充信息列表 */
|
|
348
|
+
additional_informations?: string[];
|
|
349
|
+
}
|
|
350
|
+
export interface WritePerformanceV2UserGroupUserRelResponse {
|
|
351
|
+
/** 写入员工范围响应 */
|
|
352
|
+
data?: WriteUserGroupScopeData;
|
|
353
|
+
}
|
|
354
|
+
export interface QueryPerformanceV2RevieweeResponse {
|
|
355
|
+
/** 周期ID */
|
|
356
|
+
semester_id?: string;
|
|
357
|
+
/** 被评估人列表 */
|
|
358
|
+
reviewees?: Reviewee[];
|
|
359
|
+
/** 是否还有更多项 */
|
|
360
|
+
has_more?: boolean;
|
|
361
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
362
|
+
page_token?: string;
|
|
363
|
+
}
|
|
364
|
+
export interface QueryPerformanceV2MetricFieldResponse {
|
|
365
|
+
/** 指标字段信息 */
|
|
366
|
+
items?: MetricField[];
|
|
367
|
+
}
|
|
368
|
+
export interface FindByUserListPerformanceV1StageTaskResponse {
|
|
369
|
+
/** 周期基础信息 */
|
|
370
|
+
base?: SemesterBaseInfo;
|
|
371
|
+
/** 周期环节信息列表 */
|
|
372
|
+
items?: StageTask[];
|
|
373
|
+
}
|
|
374
|
+
export interface FindByPagePerformanceV1StageTaskResponse {
|
|
375
|
+
/** 周期基础信息 */
|
|
376
|
+
base?: SemesterBaseInfo;
|
|
377
|
+
/** 周期环节信息列表 */
|
|
378
|
+
items?: StageTask[];
|
|
379
|
+
/** 是否有下一页数据 */
|
|
380
|
+
has_more?: boolean;
|
|
381
|
+
/** 下一页分页的token */
|
|
382
|
+
page_token?: string;
|
|
383
|
+
}
|
|
384
|
+
export interface QueryPerformanceV2MetricDetailResponse {
|
|
385
|
+
/** 周期ID */
|
|
386
|
+
semester_id?: string;
|
|
387
|
+
/** 指标明细列表 */
|
|
388
|
+
reviewee_metrics?: RevieweeMetric[];
|
|
389
|
+
}
|
|
390
|
+
export interface ImportPerformanceV2MetricDetailResponse {
|
|
391
|
+
/** 成功时返回导入记录 ID,失败时则为 null */
|
|
392
|
+
import_record_id?: string;
|
|
393
|
+
}
|
|
394
|
+
export interface QueryPerformanceV1ReviewDataResponse {
|
|
395
|
+
/** 绩效评估周期列表 */
|
|
396
|
+
semesters?: Semester[];
|
|
397
|
+
/** 绩效评估项目列表 */
|
|
398
|
+
activities?: Activity[];
|
|
399
|
+
/** 评估项列表 */
|
|
400
|
+
indicators?: Indicator[];
|
|
401
|
+
/** 评估模板列表 */
|
|
402
|
+
templates?: Template[];
|
|
403
|
+
/** 评估内容列表 */
|
|
404
|
+
units?: Unit[];
|
|
405
|
+
/** 填写项列表 */
|
|
406
|
+
fields?: Field[];
|
|
407
|
+
/** 评估数据列表 */
|
|
408
|
+
datas?: ReviewProfile[];
|
|
409
|
+
}
|
|
410
|
+
export interface QueryPerformanceV2ReviewDataResponse {
|
|
411
|
+
/** 评估数据列表 */
|
|
412
|
+
datas?: ReviewProfile[];
|
|
413
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { SystemStatus, SystemStatusI18nName, SystemStatusSyncSetting, SystemStatusUserCloseResultEntity, SystemStatusUserOpenParam, SystemStatusUserOpenResultEntity } from '.';
|
|
2
|
+
declare module '../internal' {
|
|
3
|
+
interface Internal {
|
|
4
|
+
/**
|
|
5
|
+
* 创建系统状态
|
|
6
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/create
|
|
7
|
+
*/
|
|
8
|
+
createPersonalSettingsSystemStatus(body: CreatePersonalSettingsSystemStatusRequest): Promise<CreatePersonalSettingsSystemStatusResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* 删除系统状态
|
|
11
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/delete
|
|
12
|
+
*/
|
|
13
|
+
deletePersonalSettingsSystemStatus(system_status_id: string): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* 修改系统状态
|
|
16
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/patch
|
|
17
|
+
*/
|
|
18
|
+
patchPersonalSettingsSystemStatus(system_status_id: string, body: PatchPersonalSettingsSystemStatusRequest): Promise<PatchPersonalSettingsSystemStatusResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* 获取系统状态
|
|
21
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/list
|
|
22
|
+
*/
|
|
23
|
+
listPersonalSettingsSystemStatus(query?: Pagination): Paginated<SystemStatus>;
|
|
24
|
+
/**
|
|
25
|
+
* 批量开启系统状态
|
|
26
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/batch_open
|
|
27
|
+
*/
|
|
28
|
+
batchOpenPersonalSettingsSystemStatus(system_status_id: string, body: BatchOpenPersonalSettingsSystemStatusRequest, query?: BatchOpenPersonalSettingsSystemStatusQuery): Promise<BatchOpenPersonalSettingsSystemStatusResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* 批量关闭系统状态
|
|
31
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/personal_settings-v1/system_status/batch_close
|
|
32
|
+
*/
|
|
33
|
+
batchClosePersonalSettingsSystemStatus(system_status_id: string, body: BatchClosePersonalSettingsSystemStatusRequest, query?: BatchClosePersonalSettingsSystemStatusQuery): Promise<BatchClosePersonalSettingsSystemStatusResponse>;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export interface CreatePersonalSettingsSystemStatusRequest {
|
|
37
|
+
/** 系统状态名称,名称字符数要在1到20范围内。 */
|
|
38
|
+
title: string;
|
|
39
|
+
/** 系统状态国际化名称,名称字符数要在1到20范围内。 */
|
|
40
|
+
i18n_title?: SystemStatusI18nName;
|
|
41
|
+
/** 图标 */
|
|
42
|
+
icon_key: 'GeneralDoNotDisturb' | 'GeneralInMeetingBusy' | 'Coffee' | 'GeneralBusinessTrip' | 'GeneralWorkFromHome' | 'StatusEnjoyLife' | 'GeneralTravellingCar' | 'StatusBus' | 'StatusInFlight' | 'Typing' | 'EatingFood' | 'SICK' | 'GeneralSun' | 'GeneralMoonRest' | 'StatusReading' | 'Status_PrivateMessage' | 'StatusFlashOfInspiration' | 'GeneralVacation';
|
|
43
|
+
/** 颜色 */
|
|
44
|
+
color?: 'BLUE' | 'GRAY' | 'INDIGO' | 'WATHET' | 'GREEN' | 'TURQUOISE' | 'YELLOW' | 'LIME' | 'RED' | 'ORANGE' | 'PURPLE' | 'VIOLET' | 'CARMINE';
|
|
45
|
+
/** 优先级,数值越小,客户端展示的优先级越高。不同系统状态的优先级不能一样。 */
|
|
46
|
+
priority?: number;
|
|
47
|
+
/** 同步设置 */
|
|
48
|
+
sync_setting?: SystemStatusSyncSetting;
|
|
49
|
+
}
|
|
50
|
+
export interface PatchPersonalSettingsSystemStatusRequest {
|
|
51
|
+
/** 系统状态 */
|
|
52
|
+
system_status: SystemStatus;
|
|
53
|
+
/** 需要更新的字段 */
|
|
54
|
+
update_fields: ('TITLE' | 'I18N_TITLE' | 'ICON' | 'COLOR' | 'PRIORITY' | 'SYNC_SETTING')[];
|
|
55
|
+
}
|
|
56
|
+
export interface BatchOpenPersonalSettingsSystemStatusRequest {
|
|
57
|
+
/** 开启列表 */
|
|
58
|
+
user_list: SystemStatusUserOpenParam[];
|
|
59
|
+
}
|
|
60
|
+
export interface BatchOpenPersonalSettingsSystemStatusQuery {
|
|
61
|
+
/** 用户id类型 open_id/user_id/union_id */
|
|
62
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
63
|
+
}
|
|
64
|
+
export interface BatchClosePersonalSettingsSystemStatusRequest {
|
|
65
|
+
/** 成员列表 */
|
|
66
|
+
user_list: string[];
|
|
67
|
+
}
|
|
68
|
+
export interface BatchClosePersonalSettingsSystemStatusQuery {
|
|
69
|
+
/** 用户id类型 open_id/user_id/union_id */
|
|
70
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
71
|
+
}
|
|
72
|
+
export interface CreatePersonalSettingsSystemStatusResponse {
|
|
73
|
+
/** 系统状态 */
|
|
74
|
+
system_status?: SystemStatus;
|
|
75
|
+
}
|
|
76
|
+
export interface PatchPersonalSettingsSystemStatusResponse {
|
|
77
|
+
/** 系统状态 */
|
|
78
|
+
system_status?: SystemStatus;
|
|
79
|
+
}
|
|
80
|
+
export interface BatchOpenPersonalSettingsSystemStatusResponse {
|
|
81
|
+
/** 开启结果 */
|
|
82
|
+
result_list: SystemStatusUserOpenResultEntity[];
|
|
83
|
+
}
|
|
84
|
+
export interface BatchClosePersonalSettingsSystemStatusResponse {
|
|
85
|
+
/** 关闭结果 */
|
|
86
|
+
result_list: SystemStatusUserCloseResultEntity[];
|
|
87
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Rule, Task } from '.';
|
|
2
|
+
declare module '../internal' {
|
|
3
|
+
interface Internal {
|
|
4
|
+
/**
|
|
5
|
+
* 查询规则
|
|
6
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/report/report-v1/rule/query
|
|
7
|
+
*/
|
|
8
|
+
queryReportRule(query?: QueryReportRuleQuery): Promise<QueryReportRuleResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* 移除规则看板
|
|
11
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/report/report-v1/rule-view/remove
|
|
12
|
+
*/
|
|
13
|
+
removeReportRuleView(rule_id: string, body: RemoveReportRuleViewRequest, query?: RemoveReportRuleViewQuery): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* 查询任务
|
|
16
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/report/report-v1/task/query
|
|
17
|
+
*/
|
|
18
|
+
queryReportTask(body: QueryReportTaskRequest, query?: QueryReportTaskQuery): Paginated<Task>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export interface QueryReportRuleQuery {
|
|
22
|
+
/** 规则名称 */
|
|
23
|
+
rule_name: string;
|
|
24
|
+
/** 是否包括已删除,默认未删除 */
|
|
25
|
+
include_deleted?: 0 | 1;
|
|
26
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
27
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
28
|
+
}
|
|
29
|
+
export interface RemoveReportRuleViewRequest {
|
|
30
|
+
/** 列表为空删除规则下全用户视图,列表不为空删除指定用户视图,大小限制200。 */
|
|
31
|
+
user_ids?: string[];
|
|
32
|
+
}
|
|
33
|
+
export interface RemoveReportRuleViewQuery {
|
|
34
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
35
|
+
}
|
|
36
|
+
export interface QueryReportTaskRequest {
|
|
37
|
+
/** 提交开始时间时间戳 */
|
|
38
|
+
commit_start_time: number;
|
|
39
|
+
/** 提交结束时间时间戳 */
|
|
40
|
+
commit_end_time: number;
|
|
41
|
+
/** 汇报规则ID */
|
|
42
|
+
rule_id?: string;
|
|
43
|
+
/** 用户ID */
|
|
44
|
+
user_id?: string;
|
|
45
|
+
/** 分页标识符 */
|
|
46
|
+
page_token: string;
|
|
47
|
+
/** 单次分页返回的条数 */
|
|
48
|
+
page_size: number;
|
|
49
|
+
}
|
|
50
|
+
export interface QueryReportTaskQuery {
|
|
51
|
+
/** 此次调用中使用的用户ID的类型 */
|
|
52
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id';
|
|
53
|
+
}
|
|
54
|
+
export interface QueryReportRuleResponse {
|
|
55
|
+
/** 规则列表 */
|
|
56
|
+
rules?: Rule[];
|
|
57
|
+
}
|