@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.
Files changed (89) hide show
  1. package/lib/index.cjs +1091 -27
  2. package/lib/internal.d.ts +2 -3
  3. package/lib/types/acs.d.ts +19 -19
  4. package/lib/types/admin.d.ts +58 -32
  5. package/lib/types/aily.d.ts +52 -52
  6. package/lib/types/apaas.d.ts +96 -96
  7. package/lib/types/api.d.ts +14 -1
  8. package/lib/types/application.d.ts +153 -69
  9. package/lib/types/approval.d.ts +186 -154
  10. package/lib/types/attendance.d.ts +395 -353
  11. package/lib/types/auth.d.ts +18 -18
  12. package/lib/types/authen.d.ts +24 -24
  13. package/lib/types/baike.d.ts +42 -42
  14. package/lib/types/bitable.d.ts +276 -192
  15. package/lib/types/calendar.d.ts +144 -144
  16. package/lib/types/cardkit.d.ts +8 -8
  17. package/lib/types/contact.d.ts +209 -137
  18. package/lib/types/corehr.d.ts +761 -613
  19. package/lib/types/document_ai.d.ts +68 -68
  20. package/lib/types/docx.d.ts +103 -95
  21. package/lib/types/drive.d.ts +237 -229
  22. package/lib/types/ehr.d.ts +26 -2
  23. package/lib/types/helpdesk.d.ts +156 -148
  24. package/lib/types/hire.d.ts +954 -510
  25. package/lib/types/im.d.ts +446 -446
  26. package/lib/types/index.d.ts +72 -30
  27. package/lib/types/lingo.d.ts +28 -28
  28. package/lib/types/mail.d.ts +192 -192
  29. package/lib/types/minutes.d.ts +4 -4
  30. package/lib/types/okr.d.ts +86 -58
  31. package/lib/types/passport.d.ts +13 -5
  32. package/lib/types/payroll.d.ts +13 -5
  33. package/lib/types/performance.d.ts +85 -79
  34. package/lib/types/personal_settings.d.ts +12 -12
  35. package/lib/types/report.d.ts +11 -5
  36. package/lib/types/search.d.ts +48 -24
  37. package/lib/types/sheets.d.ts +64 -64
  38. package/lib/types/speech_to_text.d.ts +4 -4
  39. package/lib/types/task.d.ts +191 -185
  40. package/lib/types/translation.d.ts +4 -4
  41. package/lib/types/vc.d.ts +335 -155
  42. package/lib/types/wiki.d.ts +48 -48
  43. package/package.json +1 -1
  44. package/src/internal.ts +3 -4
  45. package/src/types/acs.ts +24 -24
  46. package/src/types/admin.ts +69 -39
  47. package/src/types/aily.ts +61 -61
  48. package/src/types/apaas.ts +113 -113
  49. package/src/types/application.ts +177 -83
  50. package/src/types/approval.ts +210 -174
  51. package/src/types/attendance.ts +466 -421
  52. package/src/types/auth.ts +20 -20
  53. package/src/types/authen.ts +28 -28
  54. package/src/types/baike.ts +55 -55
  55. package/src/types/bitable.ts +321 -235
  56. package/src/types/calendar.ts +167 -167
  57. package/src/types/cardkit.ts +10 -10
  58. package/src/types/contact.ts +251 -169
  59. package/src/types/corehr.ts +905 -736
  60. package/src/types/document_ai.ts +85 -85
  61. package/src/types/docx.ts +117 -108
  62. package/src/types/drive.ts +299 -290
  63. package/src/types/ehr.ts +28 -2
  64. package/src/types/helpdesk.ts +182 -173
  65. package/src/types/hire.ts +1081 -591
  66. package/src/types/im.ts +521 -521
  67. package/src/types/index.ts +73 -30
  68. package/src/types/lingo.ts +36 -36
  69. package/src/types/mail.ts +215 -215
  70. package/src/types/minutes.ts +5 -5
  71. package/src/types/okr.ts +98 -66
  72. package/src/types/passport.ts +15 -6
  73. package/src/types/payroll.ts +15 -6
  74. package/src/types/performance.ts +98 -91
  75. package/src/types/personal_settings.ts +15 -15
  76. package/src/types/report.ts +13 -6
  77. package/src/types/search.ts +57 -29
  78. package/src/types/sheets.ts +80 -80
  79. package/src/types/speech_to_text.ts +5 -5
  80. package/src/types/task.ts +238 -231
  81. package/src/types/translation.ts +5 -5
  82. package/src/types/vc.ts +386 -186
  83. package/src/types/wiki.ts +59 -59
  84. package/src/utils.ts +11 -6
  85. package/lib/index.cjs.map +0 -6
  86. package/lib/types/guild.d.ts +0 -59
  87. package/lib/types/message/asset.d.ts +0 -40
  88. package/lib/types/user.d.ts +0 -78
  89. package/lib/types/utils.d.ts +0 -9
@@ -191,11 +191,23 @@ export interface AuditLogListApaasApplicationAuditLogQuery {
191
191
  app_type?: string
192
192
  }
193
193
 
194
+ export interface AuditLogListApaasApplicationAuditLogResponse {
195
+ /** 审计日志查询结果列表详情信息 */
196
+ items?: AuditLogEsField[]
197
+ /** 审计日志查询总条数 */
198
+ total?: string
199
+ }
200
+
194
201
  export interface GetApaasApplicationAuditLogQuery {
195
202
  /** 审计日志ID信息 */
196
203
  log_id: string
197
204
  }
198
205
 
206
+ export interface GetApaasApplicationAuditLogResponse {
207
+ /** 审计日志详情信息 */
208
+ data?: AuditLogDetail
209
+ }
210
+
199
211
  export interface BatchRemoveAuthorizationApaasApplicationRoleMemberRequest {
200
212
  /** 需要删除的用户 ID 列表 */
201
213
  user_ids?: string[]
@@ -217,6 +229,11 @@ export interface GetApaasApplicationRoleMemberQuery {
217
229
  use_api_id?: boolean
218
230
  }
219
231
 
232
+ export interface GetApaasApplicationRoleMemberResponse {
233
+ /** 角色成员 */
234
+ role_member?: RoleMember
235
+ }
236
+
220
237
  export interface BatchRemoveAuthorizationApaasApplicationRecordPermissionMemberRequest {
221
238
  /** 需要删除的用户 ID 列表 */
222
239
  user_ids?: string[]
@@ -236,6 +253,13 @@ export interface OqlQueryApaasApplicationObjectRequest {
236
253
  named_args?: string
237
254
  }
238
255
 
256
+ export interface OqlQueryApaasApplicationObjectResponse {
257
+ /** 每一列的标题 */
258
+ columns: string[]
259
+ /** 每一行的值,以「key-value」的形式返回 */
260
+ rows: string
261
+ }
262
+
239
263
  export interface SearchApaasApplicationObjectRequest {
240
264
  /** 搜索词 */
241
265
  q?: string
@@ -249,11 +273,27 @@ export interface SearchApaasApplicationObjectRequest {
249
273
  metadata?: 'Label' | 'SearchLayout'
250
274
  }
251
275
 
276
+ export interface SearchApaasApplicationObjectResponse {
277
+ /** 搜索结果列表 */
278
+ records?: string
279
+ /** 是否还有更多数据 */
280
+ has_more?: boolean
281
+ /** 分页标记,当 HasMore 为 true 时,会同时返回新的 NextPageToken */
282
+ next_page_token?: string
283
+ /** 对象信息 */
284
+ objects?: ObjectMeta[]
285
+ }
286
+
252
287
  export interface QueryApaasApplicationObjectRecordRequest {
253
288
  /** 需要获取的字段,使用字段唯一标识符进行查询,关联字段可使用 . 进行下钻 */
254
289
  select?: string[]
255
290
  }
256
291
 
292
+ export interface QueryApaasApplicationObjectRecordResponse {
293
+ /** 记录详情,格式为 Map<string, ANY> */
294
+ item: string
295
+ }
296
+
257
297
  export interface PatchApaasApplicationObjectRecordRequest {
258
298
  /** 创建对象使用的数据,键为字段 API 名称,值为字段值,格式可参考字段值格式 */
259
299
  record: string
@@ -264,11 +304,21 @@ export interface CreateApaasApplicationObjectRecordRequest {
264
304
  record: string
265
305
  }
266
306
 
307
+ export interface CreateApaasApplicationObjectRecordResponse {
308
+ /** 记录 ID */
309
+ id?: string
310
+ }
311
+
267
312
  export interface BatchUpdateApaasApplicationObjectRecordRequest {
268
313
  /** 记录详情列表,格式为 List<Map<string, ANY>>,操作记录数上限为 500 条 */
269
314
  records: string
270
315
  }
271
316
 
317
+ export interface BatchUpdateApaasApplicationObjectRecordResponse {
318
+ /** 处理结果 */
319
+ items?: RecordResult[]
320
+ }
321
+
272
322
  export interface BatchQueryApaasApplicationObjectRecordRequest {
273
323
  /** 需要获取的字段,使用字段唯一标识符进行查询,关联字段可使用「.」进行下钻 */
274
324
  select: string[]
@@ -290,21 +340,47 @@ export interface BatchQueryApaasApplicationObjectRecordRequest {
290
340
  need_total_count?: boolean
291
341
  }
292
342
 
343
+ export interface BatchQueryApaasApplicationObjectRecordResponse {
344
+ /** 符合条件的记录列表 */
345
+ items: string
346
+ /** 符合条件的记录数 */
347
+ total?: number
348
+ /** 下一页的起始位置 Token ,访问至末尾时不返回 */
349
+ next_page_token?: string
350
+ /** 是否还有数据 */
351
+ has_more?: boolean
352
+ }
353
+
293
354
  export interface BatchDeleteApaasApplicationObjectRecordRequest {
294
355
  /** 记录 ID 列表,操作记录数上限为 500 */
295
356
  ids: string[]
296
357
  }
297
358
 
359
+ export interface BatchDeleteApaasApplicationObjectRecordResponse {
360
+ /** 处理结果 */
361
+ items?: RecordResult[]
362
+ }
363
+
298
364
  export interface BatchCreateApaasApplicationObjectRecordRequest {
299
365
  /** 记录详情列表,格式为 List<Map<string, ANY>>,操作记录数上限为 500 条 */
300
366
  records: string
301
367
  }
302
368
 
369
+ export interface BatchCreateApaasApplicationObjectRecordResponse {
370
+ /** 处理结果 */
371
+ items?: RecordResult[]
372
+ }
373
+
303
374
  export interface InvokeApaasApplicationFunctionRequest {
304
375
  /** 函数输入参数(JSON 序列化后的字符串) */
305
376
  params?: string
306
377
  }
307
378
 
379
+ export interface InvokeApaasApplicationFunctionResponse {
380
+ /** 函数执行的返回结果(JSON 序列化后的字符串) */
381
+ result?: string
382
+ }
383
+
308
384
  export interface QueryApaasApplicationEnvironmentVariableRequest {
309
385
  /** 过滤条件 */
310
386
  filter?: EnvironmentVariableFilter
@@ -314,6 +390,18 @@ export interface QueryApaasApplicationEnvironmentVariableRequest {
314
390
  offset?: number
315
391
  }
316
392
 
393
+ export interface QueryApaasApplicationEnvironmentVariableResponse {
394
+ /** 环境变量列表 */
395
+ items?: EnvironmentVariable[]
396
+ /** 符合查询条件的环境变量的总数 */
397
+ total: number
398
+ }
399
+
400
+ export interface GetApaasApplicationEnvironmentVariableResponse {
401
+ /** 环境变量详情 */
402
+ item?: EnvironmentVariable
403
+ }
404
+
317
405
  export interface ExecuteApaasApplicationFlowRequest {
318
406
  /** 是否异步执行 */
319
407
  is_async?: boolean
@@ -327,6 +415,19 @@ export interface ExecuteApaasApplicationFlowRequest {
327
415
  operator: string
328
416
  }
329
417
 
418
+ export interface ExecuteApaasApplicationFlowResponse {
419
+ /** 状态 */
420
+ status?: string
421
+ /** 输出参数 */
422
+ out_params?: string
423
+ /** 执行id */
424
+ execution_id?: string
425
+ /** 错误信息 */
426
+ error_msg?: string
427
+ /** code */
428
+ code?: string
429
+ }
430
+
330
431
  export interface QueryApaasUserTaskRequest {
331
432
  /** 类型 */
332
433
  type?: string
@@ -346,6 +447,13 @@ export interface QueryApaasUserTaskRequest {
346
447
  kunlun_user_id: string
347
448
  }
348
449
 
450
+ export interface QueryApaasUserTaskResponse {
451
+ /** 总任务条数 */
452
+ count?: string
453
+ /** 任务信息 */
454
+ tasks?: UserTask[]
455
+ }
456
+
349
457
  export interface AgreeApaasApprovalTaskRequest {
350
458
  /** 操作人id */
351
459
  user_id: string
@@ -410,6 +518,11 @@ export interface RollbackPointsApaasUserTaskRequest {
410
518
  operator_user_id: string
411
519
  }
412
520
 
521
+ export interface RollbackPointsApaasUserTaskResponse {
522
+ /** 任务列表 */
523
+ tasks?: AllowedRollbaclkTaskItemType[]
524
+ }
525
+
413
526
  export interface RollbackApaasUserTaskRequest {
414
527
  /** 操作人kunlunUserID */
415
528
  operator_user_id: string
@@ -430,119 +543,6 @@ export interface ChatGroupApaasUserTaskRequest {
430
543
  chat_name?: string
431
544
  }
432
545
 
433
- export interface AuditLogListApaasApplicationAuditLogResponse {
434
- /** 审计日志查询结果列表详情信息 */
435
- items?: AuditLogEsField[]
436
- /** 审计日志查询总条数 */
437
- total?: string
438
- }
439
-
440
- export interface GetApaasApplicationAuditLogResponse {
441
- /** 审计日志详情信息 */
442
- data?: AuditLogDetail
443
- }
444
-
445
- export interface GetApaasApplicationRoleMemberResponse {
446
- /** 角色成员 */
447
- role_member?: RoleMember
448
- }
449
-
450
- export interface OqlQueryApaasApplicationObjectResponse {
451
- /** 每一列的标题 */
452
- columns: string[]
453
- /** 每一行的值,以「key-value」的形式返回 */
454
- rows: string
455
- }
456
-
457
- export interface SearchApaasApplicationObjectResponse {
458
- /** 搜索结果列表 */
459
- records?: string
460
- /** 是否还有更多数据 */
461
- has_more?: boolean
462
- /** 分页标记,当 HasMore 为 true 时,会同时返回新的 NextPageToken */
463
- next_page_token?: string
464
- /** 对象信息 */
465
- objects?: ObjectMeta[]
466
- }
467
-
468
- export interface QueryApaasApplicationObjectRecordResponse {
469
- /** 记录详情,格式为 Map<string, ANY> */
470
- item: string
471
- }
472
-
473
- export interface CreateApaasApplicationObjectRecordResponse {
474
- /** 记录 ID */
475
- id?: string
476
- }
477
-
478
- export interface BatchUpdateApaasApplicationObjectRecordResponse {
479
- /** 处理结果 */
480
- items?: RecordResult[]
481
- }
482
-
483
- export interface BatchQueryApaasApplicationObjectRecordResponse {
484
- /** 符合条件的记录列表 */
485
- items: string
486
- /** 符合条件的记录数 */
487
- total?: number
488
- /** 下一页的起始位置 Token ,访问至末尾时不返回 */
489
- next_page_token?: string
490
- /** 是否还有数据 */
491
- has_more?: boolean
492
- }
493
-
494
- export interface BatchDeleteApaasApplicationObjectRecordResponse {
495
- /** 处理结果 */
496
- items?: RecordResult[]
497
- }
498
-
499
- export interface BatchCreateApaasApplicationObjectRecordResponse {
500
- /** 处理结果 */
501
- items?: RecordResult[]
502
- }
503
-
504
- export interface InvokeApaasApplicationFunctionResponse {
505
- /** 函数执行的返回结果(JSON 序列化后的字符串) */
506
- result?: string
507
- }
508
-
509
- export interface QueryApaasApplicationEnvironmentVariableResponse {
510
- /** 环境变量列表 */
511
- items?: EnvironmentVariable[]
512
- /** 符合查询条件的环境变量的总数 */
513
- total: number
514
- }
515
-
516
- export interface GetApaasApplicationEnvironmentVariableResponse {
517
- /** 环境变量详情 */
518
- item?: EnvironmentVariable
519
- }
520
-
521
- export interface ExecuteApaasApplicationFlowResponse {
522
- /** 状态 */
523
- status?: string
524
- /** 输出参数 */
525
- out_params?: string
526
- /** 执行id */
527
- execution_id?: string
528
- /** 错误信息 */
529
- error_msg?: string
530
- /** code */
531
- code?: string
532
- }
533
-
534
- export interface QueryApaasUserTaskResponse {
535
- /** 总任务条数 */
536
- count?: string
537
- /** 任务信息 */
538
- tasks?: UserTask[]
539
- }
540
-
541
- export interface RollbackPointsApaasUserTaskResponse {
542
- /** 任务列表 */
543
- tasks?: AllowedRollbaclkTaskItemType[]
544
- }
545
-
546
546
  export interface ChatGroupApaasUserTaskResponse {
547
547
  /** 创建的群聊ID */
548
548
  chat_id?: string