@satorijs/adapter-lark 3.11.8 → 3.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +344 -41
- package/lib/types/aily.d.ts +3 -3
- package/lib/types/apaas.d.ts +38 -28
- package/lib/types/board.d.ts +39 -0
- package/lib/types/calendar.d.ts +55 -0
- package/lib/types/cardkit.d.ts +2 -2
- package/lib/types/compensation.d.ts +400 -0
- package/lib/types/corehr.d.ts +598 -2
- package/lib/types/directory.d.ts +3 -41
- package/lib/types/docx.d.ts +23 -0
- package/lib/types/drive.d.ts +88 -88
- package/lib/types/hire.d.ts +49 -0
- package/lib/types/im.d.ts +1 -1
- package/lib/types/index.d.ts +1008 -40
- package/lib/types/payroll.d.ts +117 -81
- package/lib/types/performance.d.ts +1 -1
- package/lib/types/security_and_compliance.d.ts +254 -1
- package/package.json +1 -1
- package/src/types/aily.ts +3 -3
- package/src/types/apaas.ts +52 -38
- package/src/types/board.ts +53 -2
- package/src/types/calendar.ts +72 -0
- package/src/types/cardkit.ts +2 -2
- package/src/types/compensation.ts +485 -0
- package/src/types/corehr.ts +705 -2
- package/src/types/directory.ts +3 -53
- package/src/types/docx.ts +29 -0
- package/src/types/drive.ts +110 -110
- package/src/types/hire.ts +63 -0
- package/src/types/im.ts +1 -1
- package/src/types/index.ts +1063 -42
- package/src/types/payroll.ts +146 -103
- package/src/types/performance.ts +1 -1
- package/src/types/security_and_compliance.ts +292 -1
|
@@ -13,15 +13,59 @@ export declare namespace Compensation {
|
|
|
13
13
|
itemCategory: ItemCategory.Methods;
|
|
14
14
|
plan: Plan.Methods;
|
|
15
15
|
changeReason: ChangeReason.Methods;
|
|
16
|
+
socialInsurance: SocialInsurance.Methods;
|
|
17
|
+
socialPlan: SocialPlan.Methods;
|
|
18
|
+
socialArchiveAdjustRecord: SocialArchiveAdjustRecord.Methods;
|
|
19
|
+
socialArchive: SocialArchive.Methods;
|
|
20
|
+
lumpSumPayment: LumpSumPayment.Methods;
|
|
21
|
+
recurringPayment: RecurringPayment.Methods;
|
|
16
22
|
}
|
|
17
23
|
namespace Archive {
|
|
18
24
|
interface Methods {
|
|
25
|
+
/**
|
|
26
|
+
* 创建薪资档案
|
|
27
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/archive/create
|
|
28
|
+
*/
|
|
29
|
+
create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>;
|
|
19
30
|
/**
|
|
20
31
|
* 批量查询员工薪资档案
|
|
21
32
|
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/archive/query
|
|
22
33
|
*/
|
|
23
34
|
query(body: QueryRequest, query?: QueryQuery): Paginated<Lark.ArchiveDetail>;
|
|
24
35
|
}
|
|
36
|
+
interface CreateRequest {
|
|
37
|
+
/** 外部幂等id,表示操作的唯一标识,避免重复发起,格式为标准的UUIDV4, */
|
|
38
|
+
unique_id: string;
|
|
39
|
+
/** 操作人ID,具体类型由入参中的 user_id_type 指定,选择应用身份鉴权时,该参数不能为空 */
|
|
40
|
+
operator_id?: string;
|
|
41
|
+
/** 员工id,具体类型由入参中的 user_id_type 指定 */
|
|
42
|
+
user_id: string;
|
|
43
|
+
/** 生效时间,日期格式 */
|
|
44
|
+
effective_time: string;
|
|
45
|
+
/** 币种ID,获取来源https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-currency/search?appId=cli_a63f5fc01866100c */
|
|
46
|
+
currency_id: string;
|
|
47
|
+
/** 薪资方案ID,获取来源:https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list */
|
|
48
|
+
plan_id: string;
|
|
49
|
+
/** 薪资方案TID,获取来源:https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list */
|
|
50
|
+
plan_tid: string;
|
|
51
|
+
/** 调薪原因ID,获取来源:https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/change_reason/list */
|
|
52
|
+
change_reason_id: string;
|
|
53
|
+
/** 薪资项值集合 */
|
|
54
|
+
item_value_lists: Lark.ArchiveItemValue[];
|
|
55
|
+
/** 调薪说明 */
|
|
56
|
+
description?: string;
|
|
57
|
+
/** 更正说明,当员工在当天存在调薪记录时,该字段即为更正调薪的说明 */
|
|
58
|
+
edit_remark?: string;
|
|
59
|
+
}
|
|
60
|
+
interface CreateQuery {
|
|
61
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
62
|
+
}
|
|
63
|
+
interface CreateResponse {
|
|
64
|
+
/** 定调薪任务创建的唯一ID */
|
|
65
|
+
unique_id?: string;
|
|
66
|
+
/** 薪档案的TID */
|
|
67
|
+
archive_tid?: string;
|
|
68
|
+
}
|
|
25
69
|
interface QueryRequest {
|
|
26
70
|
/** 用户ID列表 */
|
|
27
71
|
user_id_list: string[];
|
|
@@ -86,4 +130,360 @@ export declare namespace Compensation {
|
|
|
86
130
|
list(query?: Pagination): Paginated<Lark.ChangeReason>;
|
|
87
131
|
}
|
|
88
132
|
}
|
|
133
|
+
namespace SocialInsurance {
|
|
134
|
+
interface Methods {
|
|
135
|
+
/**
|
|
136
|
+
* 获取险种配置列表
|
|
137
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/social_insurance/list
|
|
138
|
+
*/
|
|
139
|
+
list(): Promise<ListResponse>;
|
|
140
|
+
}
|
|
141
|
+
interface ListResponse {
|
|
142
|
+
/** 险种列表 */
|
|
143
|
+
items?: Lark.SocialInsurance[];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
namespace SocialPlan {
|
|
147
|
+
interface Methods {
|
|
148
|
+
/**
|
|
149
|
+
* 根据方案ID和生效日期批量查询参保方案
|
|
150
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/social_plan/query
|
|
151
|
+
*/
|
|
152
|
+
query(body: QueryRequest): Promise<QueryResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 根据生效日期分页查询参保方案
|
|
155
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/social_plan/list
|
|
156
|
+
*/
|
|
157
|
+
list(query?: ListQuery): Paginated<Lark.SocialPlan, 'plans'>;
|
|
158
|
+
}
|
|
159
|
+
interface QueryRequest {
|
|
160
|
+
/** 参保方案ID列表,最大200 */
|
|
161
|
+
plan_ids: string[];
|
|
162
|
+
/** 生效日期,查询在该日期生效的参保方案数据 */
|
|
163
|
+
effective_date: string;
|
|
164
|
+
}
|
|
165
|
+
interface QueryResponse {
|
|
166
|
+
/** 方案列表 */
|
|
167
|
+
plans?: Lark.SocialPlan[];
|
|
168
|
+
}
|
|
169
|
+
interface ListQuery extends Pagination {
|
|
170
|
+
/** 生效日期,查询在该日期生效的参保方案数据 */
|
|
171
|
+
effective_date: string;
|
|
172
|
+
/** 社保方案/公积金方案 */
|
|
173
|
+
insurance_type?: 'social_insurance' | 'provident_fund';
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
namespace SocialArchiveAdjustRecord {
|
|
177
|
+
interface Methods {
|
|
178
|
+
/**
|
|
179
|
+
* 通过员工ID批量获取社保增减员记录
|
|
180
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/social_archive_adjust_record/query
|
|
181
|
+
*/
|
|
182
|
+
query(body: QueryRequest, query?: QueryQuery): Promise<QueryResponse>;
|
|
183
|
+
}
|
|
184
|
+
interface QueryRequest {
|
|
185
|
+
/** lark_user_id列表,用户ID列表,获取方式可参考查询参数中的「user_id_type」字段。最大200个。 */
|
|
186
|
+
user_id_list: string[];
|
|
187
|
+
/** 增减员类型, increase: 增员; attrtion: 减员 */
|
|
188
|
+
record_type: 'increase' | 'attrition';
|
|
189
|
+
}
|
|
190
|
+
interface QueryQuery {
|
|
191
|
+
/** 用户ID类型 */
|
|
192
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
193
|
+
}
|
|
194
|
+
interface QueryResponse {
|
|
195
|
+
/** 待增/减员记录 */
|
|
196
|
+
records?: Lark.SocialArchiveAdjustRecord[];
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
namespace SocialArchive {
|
|
200
|
+
interface Methods {
|
|
201
|
+
/**
|
|
202
|
+
* 批量获取员工参保档案
|
|
203
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/social_archive/query
|
|
204
|
+
*/
|
|
205
|
+
query(body: QueryRequest, query?: QueryQuery): Promise<QueryResponse>;
|
|
206
|
+
}
|
|
207
|
+
interface QueryRequest {
|
|
208
|
+
/** lark_user_id列表,用户ID列表,获取方式可参考查询参数中的「user_id_type」字段。最大200个。 */
|
|
209
|
+
user_id_list: string[];
|
|
210
|
+
/** 生效日志,查询在该日期生效的社保档案 */
|
|
211
|
+
effective_date: string;
|
|
212
|
+
}
|
|
213
|
+
interface QueryQuery {
|
|
214
|
+
/** 用户ID类型 */
|
|
215
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
216
|
+
}
|
|
217
|
+
interface QueryResponse {
|
|
218
|
+
/** 参保档案列表 */
|
|
219
|
+
archives: Lark.SocialArchive[];
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
namespace LumpSumPayment {
|
|
223
|
+
interface Methods {
|
|
224
|
+
/**
|
|
225
|
+
* 批量创建一次性支付记录
|
|
226
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/lump_sum_payment/batch_create
|
|
227
|
+
*/
|
|
228
|
+
batchCreate(body: BatchCreateRequest, query?: BatchCreateQuery): Promise<BatchCreateResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* 批量更正一次性支付记录
|
|
231
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/lump_sum_payment/batch_update
|
|
232
|
+
*/
|
|
233
|
+
batchUpdate(body: BatchUpdateRequest): Promise<BatchUpdateResponse>;
|
|
234
|
+
/**
|
|
235
|
+
* 查询一次性支付授予记录
|
|
236
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/lump_sum_payment/query
|
|
237
|
+
*/
|
|
238
|
+
query(body: QueryRequest, query?: QueryQuery): Paginated<Lark.LumpSumPayment, 'records'>;
|
|
239
|
+
/**
|
|
240
|
+
* 查询一次性支付授予明细
|
|
241
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/lump_sum_payment/query_detail
|
|
242
|
+
*/
|
|
243
|
+
queryDetail(body: QueryDetailRequest, query?: QueryDetailQuery): Paginated<Lark.LumpSumPaymentDetail, 'records'>;
|
|
244
|
+
/**
|
|
245
|
+
* 批量删除一次性支付记录
|
|
246
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/lump_sum_payment/batch_remove
|
|
247
|
+
*/
|
|
248
|
+
batchRemove(body: BatchRemoveRequest): Promise<BatchRemoveResponse>;
|
|
249
|
+
}
|
|
250
|
+
interface BatchCreateRequest {
|
|
251
|
+
/** 要创建的一次性支付信息 */
|
|
252
|
+
records?: Lark.LumpSumPaymentForCreate[];
|
|
253
|
+
}
|
|
254
|
+
interface BatchCreateQuery {
|
|
255
|
+
/** 用户ID类型 */
|
|
256
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
257
|
+
}
|
|
258
|
+
interface BatchCreateResponse {
|
|
259
|
+
/** 每条记录的操作结果。对于创建成功的记录,会返回创建后的一次性支付记录id */
|
|
260
|
+
operate_results?: Lark.LumpSumPaymentOperateResult[];
|
|
261
|
+
}
|
|
262
|
+
interface BatchUpdateRequest {
|
|
263
|
+
/** 要更正的一次性支付记录列表 */
|
|
264
|
+
records?: Lark.LumpSumPaymentForUpdate[];
|
|
265
|
+
}
|
|
266
|
+
interface BatchUpdateResponse {
|
|
267
|
+
/** 每条记录的操作结果 */
|
|
268
|
+
operate_results?: Lark.LumpSumPaymentOperateResult[];
|
|
269
|
+
}
|
|
270
|
+
interface QueryRequest {
|
|
271
|
+
/** id属于 */
|
|
272
|
+
ids?: string[];
|
|
273
|
+
/** unique_id属于 */
|
|
274
|
+
unique_ids?: string[];
|
|
275
|
+
/** 员工id属于 */
|
|
276
|
+
user_ids?: string[];
|
|
277
|
+
/** 薪酬项id属于 */
|
|
278
|
+
item_ids?: string[];
|
|
279
|
+
/** 创建时间大于等于(东八区) */
|
|
280
|
+
create_time_gte?: string;
|
|
281
|
+
/** 创建时间小于等于(东八区) */
|
|
282
|
+
create_time_lte?: string;
|
|
283
|
+
/** 更新时间大于等于(东八区) */
|
|
284
|
+
modify_time_gte?: string;
|
|
285
|
+
/** 更新时间小于等于(东八区) */
|
|
286
|
+
modify_time_lte?: string;
|
|
287
|
+
/** 合同主体id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
288
|
+
company_ids?: string[];
|
|
289
|
+
/** 任职公司id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
290
|
+
service_company_ids?: string[];
|
|
291
|
+
/** 部门id属于(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get 接口进行查询) */
|
|
292
|
+
department_ids?: string[];
|
|
293
|
+
/** 序列id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_family/list 接口进行查询) */
|
|
294
|
+
job_family_ids?: string[];
|
|
295
|
+
/** 职级id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_level/list 接口进行查询) */
|
|
296
|
+
job_level_ids?: string[];
|
|
297
|
+
/** 工作地点id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/location/list 接口进行查询) */
|
|
298
|
+
work_location_ids?: string[];
|
|
299
|
+
/** 员工类型id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/basic-infomation/employee_type/list 接口进行查询) */
|
|
300
|
+
employee_type_ids?: string[];
|
|
301
|
+
/** 入职日期大于等于 */
|
|
302
|
+
onboard_date_gte?: string;
|
|
303
|
+
/** 入职日期小于等于 */
|
|
304
|
+
onboard_date_lte?: string;
|
|
305
|
+
/** 离职日期大于等于 */
|
|
306
|
+
offboard_date_gte?: string;
|
|
307
|
+
/** 离职日期小于等于 */
|
|
308
|
+
offboard_date_lte?: string;
|
|
309
|
+
}
|
|
310
|
+
interface QueryQuery extends Pagination {
|
|
311
|
+
/** 用户ID类型 */
|
|
312
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
313
|
+
}
|
|
314
|
+
interface QueryDetailRequest {
|
|
315
|
+
/** id属于 */
|
|
316
|
+
ids?: string[];
|
|
317
|
+
/** 一次性支付记录id */
|
|
318
|
+
record_ids?: string[];
|
|
319
|
+
/** 一次性支付记录unique id */
|
|
320
|
+
record_unique_ids?: string[];
|
|
321
|
+
/** 发放方式 */
|
|
322
|
+
issuance_ways?: ('with_salary' | 'with_cash' | 'with_physical_distribution' | 'with_year_end_bonus')[];
|
|
323
|
+
/** 发放状态 */
|
|
324
|
+
issuance_statuses?: ('to_be_issued' | 'not_issued')[];
|
|
325
|
+
/** 员工id属于 */
|
|
326
|
+
user_ids?: string[];
|
|
327
|
+
/** 薪酬项id属于 */
|
|
328
|
+
item_ids?: string[];
|
|
329
|
+
/** 发放时间大于等于 */
|
|
330
|
+
issuance_date_gte?: string;
|
|
331
|
+
/** 发放时间小于等于 */
|
|
332
|
+
issuance_date_lte?: string;
|
|
333
|
+
/** 创建时间大于等于(东八区) */
|
|
334
|
+
create_time_gte?: string;
|
|
335
|
+
/** 创建时间小于等于(东八区) */
|
|
336
|
+
create_time_lte?: string;
|
|
337
|
+
/** 更新时间大于等于(东八区) */
|
|
338
|
+
modify_time_gte?: string;
|
|
339
|
+
/** 更新时间小于等于(东八区) */
|
|
340
|
+
modify_time_lte?: string;
|
|
341
|
+
/** 合同主体id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
342
|
+
company_ids?: string[];
|
|
343
|
+
/** 任职公司id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
344
|
+
service_company_ids?: string[];
|
|
345
|
+
/** 部门id属于(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get 接口进行查询) */
|
|
346
|
+
department_ids?: string[];
|
|
347
|
+
/** 序列id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_family/list 接口进行查询) */
|
|
348
|
+
job_family_ids?: string[];
|
|
349
|
+
/** 职级id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_level/list 接口进行查询) */
|
|
350
|
+
job_level_ids?: string[];
|
|
351
|
+
/** 工作地点id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/location/list 接口进行查询) */
|
|
352
|
+
work_location_ids?: string[];
|
|
353
|
+
/** 员工类型id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/basic-infomation/employee_type/list 接口进行查询) */
|
|
354
|
+
employee_type_ids?: string[];
|
|
355
|
+
/** 入职日期大于等于 */
|
|
356
|
+
onboard_date_gte?: string;
|
|
357
|
+
/** 入职日期小于等于 */
|
|
358
|
+
onboard_date_lte?: string;
|
|
359
|
+
/** 离职日期大于等于 */
|
|
360
|
+
offboard_date_gte?: string;
|
|
361
|
+
/** 离职日期小于等于 */
|
|
362
|
+
offboard_date_lte?: string;
|
|
363
|
+
}
|
|
364
|
+
interface QueryDetailQuery extends Pagination {
|
|
365
|
+
/** 用户ID类型 */
|
|
366
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
367
|
+
}
|
|
368
|
+
interface BatchRemoveRequest {
|
|
369
|
+
/** 要删除的一次性支付记录id */
|
|
370
|
+
record_ids?: string[];
|
|
371
|
+
/** 删除原因 */
|
|
372
|
+
reason?: string;
|
|
373
|
+
}
|
|
374
|
+
interface BatchRemoveResponse {
|
|
375
|
+
/** 每条记录的操作结果 */
|
|
376
|
+
operate_results?: Lark.LumpSumPaymentOperateResult[];
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
namespace RecurringPayment {
|
|
380
|
+
interface Methods {
|
|
381
|
+
/**
|
|
382
|
+
* 查询经常性支付记录
|
|
383
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/recurring_payment/query
|
|
384
|
+
*/
|
|
385
|
+
query(body: QueryRequest, query?: QueryQuery): Paginated<Lark.RecurringPayment, 'records'>;
|
|
386
|
+
/**
|
|
387
|
+
* 批量更正经常性支付记录
|
|
388
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/recurring_payment/batch_update
|
|
389
|
+
*/
|
|
390
|
+
batchUpdate(body: BatchUpdateRequest, query?: BatchUpdateQuery): Promise<BatchUpdateResponse>;
|
|
391
|
+
/**
|
|
392
|
+
* 批量删除经常性支付记录
|
|
393
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/recurring_payment/batch_remove
|
|
394
|
+
*/
|
|
395
|
+
batchRemove(body: BatchRemoveRequest): Promise<BatchRemoveResponse>;
|
|
396
|
+
/**
|
|
397
|
+
* 批量创建经常性支付记录
|
|
398
|
+
* @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/recurring_payment/batch_create
|
|
399
|
+
*/
|
|
400
|
+
batchCreate(body: BatchCreateRequest, query?: BatchCreateQuery): Promise<BatchCreateResponse>;
|
|
401
|
+
}
|
|
402
|
+
interface QueryRequest {
|
|
403
|
+
/** id属于 */
|
|
404
|
+
ids?: string[];
|
|
405
|
+
/** unique_id属于 */
|
|
406
|
+
unique_ids?: string[];
|
|
407
|
+
/** 员工id属于 */
|
|
408
|
+
user_ids?: string[];
|
|
409
|
+
/** 薪酬项id属于 */
|
|
410
|
+
item_ids?: string[];
|
|
411
|
+
/** 发放开始日期大于等于 */
|
|
412
|
+
start_date_gte?: string;
|
|
413
|
+
/** 发放开始日期小于等于 */
|
|
414
|
+
start_date_lte?: string;
|
|
415
|
+
/** 发放结束日期大于等于 */
|
|
416
|
+
end_date_gte?: string;
|
|
417
|
+
/** 发放结束日期小于等于 */
|
|
418
|
+
end_date_lte?: string;
|
|
419
|
+
/** 创建时间大于等于(东八区) */
|
|
420
|
+
create_time_gte?: string;
|
|
421
|
+
/** 创建时间小于等于(东八区) */
|
|
422
|
+
create_time_lte?: string;
|
|
423
|
+
/** 更新时间大于等于(东八区) */
|
|
424
|
+
modify_time_gte?: string;
|
|
425
|
+
/** 更新时间小于等于(东八区) */
|
|
426
|
+
modify_time_lte?: string;
|
|
427
|
+
/** 合同主体id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
428
|
+
company_ids?: string[];
|
|
429
|
+
/** 任职公司id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/company/list 接口进行查询) */
|
|
430
|
+
service_company_ids?: string[];
|
|
431
|
+
/** 部门id属于(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get 接口进行查询) */
|
|
432
|
+
department_ids?: string[];
|
|
433
|
+
/** 序列id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_family/list 接口进行查询) */
|
|
434
|
+
job_family_ids?: string[];
|
|
435
|
+
/** 职级id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/job-management/job_level/list 接口进行查询) */
|
|
436
|
+
job_level_ids?: string[];
|
|
437
|
+
/** 工作地点id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/organization-management/location/list 接口进行查询) */
|
|
438
|
+
work_location_ids?: string[];
|
|
439
|
+
/** 员工类型id属于(可通过 https://open.larkoffice.com/document/server-docs/corehr-v1/basic-infomation/employee_type/list 接口进行查询) */
|
|
440
|
+
employee_type_ids?: string[];
|
|
441
|
+
/** 入职日期大于等于 */
|
|
442
|
+
onboard_date_gte?: string;
|
|
443
|
+
/** 入职日期小于等于 */
|
|
444
|
+
onboard_date_lte?: string;
|
|
445
|
+
/** 离职日期大于等于 */
|
|
446
|
+
offboard_date_gte?: string;
|
|
447
|
+
/** 离职日期小于等于 */
|
|
448
|
+
offboard_date_lte?: string;
|
|
449
|
+
}
|
|
450
|
+
interface QueryQuery extends Pagination {
|
|
451
|
+
/** 用户ID类型 */
|
|
452
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
453
|
+
}
|
|
454
|
+
interface BatchUpdateRequest {
|
|
455
|
+
/** 需更正的经常性支付记录 */
|
|
456
|
+
records?: Lark.RecurringPaymentForUpdate[];
|
|
457
|
+
}
|
|
458
|
+
interface BatchUpdateQuery {
|
|
459
|
+
/** 用户ID类型 */
|
|
460
|
+
user_id_type?: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
461
|
+
}
|
|
462
|
+
interface BatchUpdateResponse {
|
|
463
|
+
/** 每条记录的操作结果 */
|
|
464
|
+
operate_results?: Lark.RecurringPaymentOperateResult[];
|
|
465
|
+
}
|
|
466
|
+
interface BatchRemoveRequest {
|
|
467
|
+
/** 需要删除的记录ID */
|
|
468
|
+
record_ids: string[];
|
|
469
|
+
/** 原因 */
|
|
470
|
+
reason?: string;
|
|
471
|
+
}
|
|
472
|
+
interface BatchRemoveResponse {
|
|
473
|
+
/** 每条记录的操作结果 */
|
|
474
|
+
operate_results?: Lark.RecurringPaymentOperateResult[];
|
|
475
|
+
}
|
|
476
|
+
interface BatchCreateRequest {
|
|
477
|
+
/** 要创建的经常性支付记录 */
|
|
478
|
+
records?: Lark.RecurringPaymentForCreate[];
|
|
479
|
+
}
|
|
480
|
+
interface BatchCreateQuery {
|
|
481
|
+
/** 用户ID类型 */
|
|
482
|
+
user_id_type: 'user_id' | 'union_id' | 'open_id' | 'people_corehr_id';
|
|
483
|
+
}
|
|
484
|
+
interface BatchCreateResponse {
|
|
485
|
+
/** 每条记录的操作结果。对于创建成功的记录,会返回创建后的经常性支付记录id */
|
|
486
|
+
operate_results?: Lark.RecurringPaymentOperateResult[];
|
|
487
|
+
}
|
|
488
|
+
}
|
|
89
489
|
}
|