@satorijs/adapter-lark 3.9.1 → 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 (82) hide show
  1. package/lib/index.cjs +1077 -13
  2. package/lib/types/acs.d.ts +19 -19
  3. package/lib/types/admin.d.ts +58 -32
  4. package/lib/types/aily.d.ts +52 -52
  5. package/lib/types/apaas.d.ts +96 -96
  6. package/lib/types/application.d.ts +151 -67
  7. package/lib/types/approval.d.ts +182 -150
  8. package/lib/types/attendance.d.ts +395 -353
  9. package/lib/types/auth.d.ts +18 -18
  10. package/lib/types/authen.d.ts +24 -24
  11. package/lib/types/baike.d.ts +42 -42
  12. package/lib/types/bitable.d.ts +268 -184
  13. package/lib/types/calendar.d.ts +144 -144
  14. package/lib/types/cardkit.d.ts +8 -8
  15. package/lib/types/contact.d.ts +209 -137
  16. package/lib/types/corehr.d.ts +760 -620
  17. package/lib/types/document_ai.d.ts +68 -68
  18. package/lib/types/docx.d.ts +103 -95
  19. package/lib/types/drive.d.ts +236 -236
  20. package/lib/types/ehr.d.ts +26 -2
  21. package/lib/types/helpdesk.d.ts +155 -155
  22. package/lib/types/hire.d.ts +954 -510
  23. package/lib/types/im.d.ts +446 -446
  24. package/lib/types/index.d.ts +72 -30
  25. package/lib/types/lingo.d.ts +28 -28
  26. package/lib/types/mail.d.ts +192 -192
  27. package/lib/types/minutes.d.ts +4 -4
  28. package/lib/types/okr.d.ts +86 -58
  29. package/lib/types/passport.d.ts +13 -5
  30. package/lib/types/payroll.d.ts +13 -5
  31. package/lib/types/performance.d.ts +85 -79
  32. package/lib/types/personal_settings.d.ts +12 -12
  33. package/lib/types/report.d.ts +11 -5
  34. package/lib/types/search.d.ts +48 -24
  35. package/lib/types/sheets.d.ts +64 -64
  36. package/lib/types/speech_to_text.d.ts +4 -4
  37. package/lib/types/task.d.ts +191 -185
  38. package/lib/types/translation.d.ts +4 -4
  39. package/lib/types/vc.d.ts +335 -155
  40. package/lib/types/wiki.d.ts +48 -48
  41. package/package.json +1 -1
  42. package/src/internal.ts +1 -1
  43. package/src/types/acs.ts +24 -24
  44. package/src/types/admin.ts +69 -39
  45. package/src/types/aily.ts +61 -61
  46. package/src/types/apaas.ts +113 -113
  47. package/src/types/application.ts +173 -79
  48. package/src/types/approval.ts +202 -166
  49. package/src/types/attendance.ts +466 -421
  50. package/src/types/auth.ts +20 -20
  51. package/src/types/authen.ts +28 -28
  52. package/src/types/baike.ts +55 -55
  53. package/src/types/bitable.ts +305 -219
  54. package/src/types/calendar.ts +167 -167
  55. package/src/types/cardkit.ts +10 -10
  56. package/src/types/contact.ts +251 -169
  57. package/src/types/corehr.ts +903 -743
  58. package/src/types/document_ai.ts +85 -85
  59. package/src/types/docx.ts +117 -108
  60. package/src/types/drive.ts +298 -298
  61. package/src/types/ehr.ts +28 -2
  62. package/src/types/helpdesk.ts +181 -181
  63. package/src/types/hire.ts +1081 -591
  64. package/src/types/im.ts +521 -521
  65. package/src/types/index.ts +73 -30
  66. package/src/types/lingo.ts +36 -36
  67. package/src/types/mail.ts +215 -215
  68. package/src/types/minutes.ts +5 -5
  69. package/src/types/okr.ts +98 -66
  70. package/src/types/passport.ts +15 -6
  71. package/src/types/payroll.ts +15 -6
  72. package/src/types/performance.ts +98 -91
  73. package/src/types/personal_settings.ts +15 -15
  74. package/src/types/report.ts +13 -6
  75. package/src/types/search.ts +57 -29
  76. package/src/types/sheets.ts +80 -80
  77. package/src/types/speech_to_text.ts +5 -5
  78. package/src/types/task.ts +238 -231
  79. package/src/types/translation.ts +5 -5
  80. package/src/types/vc.ts +386 -186
  81. package/src/types/wiki.ts +59 -59
  82. package/src/utils.ts +11 -6
package/src/types/task.ts CHANGED
@@ -423,11 +423,21 @@ export interface CreateTaskV2Query {
423
423
  user_id_type?: string
424
424
  }
425
425
 
426
+ export interface CreateTaskV2Response {
427
+ /** 产生的任务 */
428
+ task?: Task
429
+ }
430
+
426
431
  export interface GetTaskV2Query {
427
432
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
428
433
  user_id_type?: string
429
434
  }
430
435
 
436
+ export interface GetTaskV2Response {
437
+ /** 获得的任务实体 */
438
+ task?: Task
439
+ }
440
+
431
441
  export interface PatchTaskV2Request {
432
442
  /** 要更新的任务数据,只需要写明要更新的字段 */
433
443
  task?: InputTask
@@ -440,6 +450,11 @@ export interface PatchTaskV2Query {
440
450
  user_id_type?: string
441
451
  }
442
452
 
453
+ export interface PatchTaskV2Response {
454
+ /** 更新后的任务 */
455
+ task?: Task
456
+ }
457
+
443
458
  export interface AddMembersTaskV2Request {
444
459
  /** 要添加的members列表 */
445
460
  members: Member[]
@@ -452,6 +467,11 @@ export interface AddMembersTaskV2Query {
452
467
  user_id_type?: string
453
468
  }
454
469
 
470
+ export interface AddMembersTaskV2Response {
471
+ /** 更新完成后的任务实体数据 */
472
+ task?: Task
473
+ }
474
+
455
475
  export interface RemoveMembersTaskV2Request {
456
476
  /** 要移除的member列表 */
457
477
  members: Member[]
@@ -462,6 +482,11 @@ export interface RemoveMembersTaskV2Query {
462
482
  user_id_type?: string
463
483
  }
464
484
 
485
+ export interface RemoveMembersTaskV2Response {
486
+ /** 移除成员后的任务数据 */
487
+ task?: Task
488
+ }
489
+
465
490
  export interface ListTaskV2Query extends Pagination {
466
491
  /** 是否按任务完成进行过滤。不填写表示不过滤。 */
467
492
  completed?: boolean
@@ -471,6 +496,11 @@ export interface ListTaskV2Query extends Pagination {
471
496
  user_id_type?: string
472
497
  }
473
498
 
499
+ export interface TasklistsTaskV2Response {
500
+ /** 任务所在清单的摘要信息 */
501
+ tasklists?: TaskInTasklistInfo[]
502
+ }
503
+
474
504
  export interface AddTasklistTaskV2Request {
475
505
  /** 要添加到的清单的全局唯一ID */
476
506
  tasklist_guid: string
@@ -483,6 +513,11 @@ export interface AddTasklistTaskV2Query {
483
513
  user_id_type?: string
484
514
  }
485
515
 
516
+ export interface AddTasklistTaskV2Response {
517
+ /** 添加后的任务详情 */
518
+ task?: Task
519
+ }
520
+
486
521
  export interface RemoveTasklistTaskV2Request {
487
522
  /** 要移除的清单的全局唯一ID */
488
523
  tasklist_guid: string
@@ -493,6 +528,11 @@ export interface RemoveTasklistTaskV2Query {
493
528
  user_id_type?: string
494
529
  }
495
530
 
531
+ export interface RemoveTasklistTaskV2Response {
532
+ /** 添加后的任务详情 */
533
+ task?: Task
534
+ }
535
+
496
536
  export interface AddRemindersTaskV2Request {
497
537
  /** 要添加的reminder的列表 */
498
538
  reminders: Reminder[]
@@ -503,6 +543,11 @@ export interface AddRemindersTaskV2Query {
503
543
  user_id_type?: string
504
544
  }
505
545
 
546
+ export interface AddRemindersTaskV2Response {
547
+ /** 更新完成后的任务实体 */
548
+ task?: Task
549
+ }
550
+
506
551
  export interface RemoveRemindersTaskV2Request {
507
552
  /** 要移除的reminder的id列表 */
508
553
  reminder_ids: string[]
@@ -513,16 +558,31 @@ export interface RemoveRemindersTaskV2Query {
513
558
  user_id_type?: string
514
559
  }
515
560
 
561
+ export interface RemoveRemindersTaskV2Response {
562
+ /** 移除提醒后的任务详情 */
563
+ task?: Task
564
+ }
565
+
516
566
  export interface AddDependenciesTaskV2Request {
517
567
  /** 要添加的依赖 */
518
568
  dependencies?: TaskDependency[]
519
569
  }
520
570
 
571
+ export interface AddDependenciesTaskV2Response {
572
+ /** 被添加后任务的所有依赖 */
573
+ dependencies?: TaskDependency[]
574
+ }
575
+
521
576
  export interface RemoveDependenciesTaskV2Request {
522
577
  /** 要移除的依赖 */
523
578
  dependencies: TaskDependency[]
524
579
  }
525
580
 
581
+ export interface RemoveDependenciesTaskV2Response {
582
+ /** 移除之后的任务GUID */
583
+ dependencies?: TaskDependency[]
584
+ }
585
+
526
586
  export interface CreateTaskV2TaskSubtaskRequest {
527
587
  /** 任务标题 */
528
588
  summary: string
@@ -565,6 +625,11 @@ export interface CreateTaskV2TaskSubtaskQuery {
565
625
  user_id_type?: string
566
626
  }
567
627
 
628
+ export interface CreateTaskV2TaskSubtaskResponse {
629
+ /** 创建的任务 */
630
+ subtask?: Task
631
+ }
632
+
568
633
  export interface ListTaskV2TaskSubtaskQuery extends Pagination {
569
634
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
570
635
  user_id_type?: string
@@ -582,11 +647,21 @@ export interface CreateTaskV2TasklistQuery {
582
647
  user_id_type?: string
583
648
  }
584
649
 
650
+ export interface CreateTaskV2TasklistResponse {
651
+ /** 创建的清单数据 */
652
+ tasklist?: Tasklist
653
+ }
654
+
585
655
  export interface GetTaskV2TasklistQuery {
586
656
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
587
657
  user_id_type?: string
588
658
  }
589
659
 
660
+ export interface GetTaskV2TasklistResponse {
661
+ /** 清单详情 */
662
+ tasklist?: Tasklist
663
+ }
664
+
590
665
  export interface PatchTaskV2TasklistRequest {
591
666
  /** 要更新清单的数据 */
592
667
  tasklist: InputTasklist
@@ -601,6 +676,11 @@ export interface PatchTaskV2TasklistQuery {
601
676
  user_id_type?: string
602
677
  }
603
678
 
679
+ export interface PatchTaskV2TasklistResponse {
680
+ /** 修改后的任务清单 */
681
+ tasklist?: Tasklist
682
+ }
683
+
604
684
  export interface AddMembersTaskV2TasklistRequest {
605
685
  /** 要添加的成员列表 */
606
686
  members: Member[]
@@ -611,6 +691,11 @@ export interface AddMembersTaskV2TasklistQuery {
611
691
  user_id_type?: string
612
692
  }
613
693
 
694
+ export interface AddMembersTaskV2TasklistResponse {
695
+ /** 完成更新后的清单实体 */
696
+ tasklist?: Tasklist
697
+ }
698
+
614
699
  export interface RemoveMembersTaskV2TasklistRequest {
615
700
  /** 要移除的member列表 */
616
701
  members: Member[]
@@ -621,6 +706,11 @@ export interface RemoveMembersTaskV2TasklistQuery {
621
706
  user_id_type?: string
622
707
  }
623
708
 
709
+ export interface RemoveMembersTaskV2TasklistResponse {
710
+ /** 修改完成后的清单实体 */
711
+ tasklist?: Tasklist
712
+ }
713
+
624
714
  export interface TasksTaskV2TasklistQuery extends Pagination {
625
715
  /** 只查看特定完成状态的任务,不填写表示不按完成状态过滤 */
626
716
  completed?: boolean
@@ -653,11 +743,21 @@ export interface CreateTaskV2TasklistActivitySubscriptionQuery {
653
743
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
654
744
  }
655
745
 
746
+ export interface CreateTaskV2TasklistActivitySubscriptionResponse {
747
+ /** 清单动态订阅 */
748
+ activity_subscription?: TasklistActivitySubscription
749
+ }
750
+
656
751
  export interface GetTaskV2TasklistActivitySubscriptionQuery {
657
752
  /** 用户ID类型 */
658
753
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
659
754
  }
660
755
 
756
+ export interface GetTaskV2TasklistActivitySubscriptionResponse {
757
+ /** 订阅详情 */
758
+ activity_subscription?: TasklistActivitySubscription
759
+ }
760
+
661
761
  export interface ListTaskV2TasklistActivitySubscriptionQuery {
662
762
  /** 返回结果的最大数量 */
663
763
  limit?: number
@@ -665,6 +765,11 @@ export interface ListTaskV2TasklistActivitySubscriptionQuery {
665
765
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
666
766
  }
667
767
 
768
+ export interface ListTaskV2TasklistActivitySubscriptionResponse {
769
+ /** 清单的动态订阅数据 */
770
+ items?: TasklistActivitySubscription[]
771
+ }
772
+
668
773
  export interface PatchTaskV2TasklistActivitySubscriptionRequest {
669
774
  /** 要更新的订阅数据 */
670
775
  activity_subscription: TasklistActivitySubscription
@@ -677,6 +782,11 @@ export interface PatchTaskV2TasklistActivitySubscriptionQuery {
677
782
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
678
783
  }
679
784
 
785
+ export interface PatchTaskV2TasklistActivitySubscriptionResponse {
786
+ /** 更新后的订阅 */
787
+ activity_subscription?: TasklistActivitySubscription
788
+ }
789
+
680
790
  export interface CreateTaskV2CommentRequest {
681
791
  /** 评论内容 */
682
792
  content: string
@@ -693,11 +803,21 @@ export interface CreateTaskV2CommentQuery {
693
803
  user_id_type?: string
694
804
  }
695
805
 
806
+ export interface CreateTaskV2CommentResponse {
807
+ /** 创建的评论详情 */
808
+ comment?: Comment
809
+ }
810
+
696
811
  export interface GetTaskV2CommentQuery {
697
812
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
698
813
  user_id_type?: string
699
814
  }
700
815
 
816
+ export interface GetTaskV2CommentResponse {
817
+ /** 评论详情 */
818
+ comment?: Comment
819
+ }
820
+
701
821
  export interface PatchTaskV2CommentRequest {
702
822
  /** 要更新的评论数据,支持更新content, md_content */
703
823
  comment: InputComment
@@ -710,6 +830,11 @@ export interface PatchTaskV2CommentQuery {
710
830
  user_id_type?: string
711
831
  }
712
832
 
833
+ export interface PatchTaskV2CommentResponse {
834
+ /** 更新后的评论 */
835
+ comment?: Comment
836
+ }
837
+
713
838
  export interface ListTaskV2CommentQuery extends Pagination {
714
839
  /** 要获取评论列表的资源类型 */
715
840
  resource_type?: string
@@ -735,6 +860,11 @@ export interface UploadTaskV2AttachmentQuery {
735
860
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
736
861
  }
737
862
 
863
+ export interface UploadTaskV2AttachmentResponse {
864
+ /** 上传的附件列表 */
865
+ items?: Attachment[]
866
+ }
867
+
738
868
  export interface ListTaskV2AttachmentQuery extends Pagination {
739
869
  /** 附件归属的资源类型 */
740
870
  resource_type?: string
@@ -749,6 +879,11 @@ export interface GetTaskV2AttachmentQuery {
749
879
  user_id_type?: string
750
880
  }
751
881
 
882
+ export interface GetTaskV2AttachmentResponse {
883
+ /** 附件详情 */
884
+ attachment?: Attachment
885
+ }
886
+
752
887
  export interface CreateTaskV2SectionRequest {
753
888
  /** 自定义分组名称 */
754
889
  name: string
@@ -767,11 +902,21 @@ export interface CreateTaskV2SectionQuery {
767
902
  user_id_type?: string
768
903
  }
769
904
 
905
+ export interface CreateTaskV2SectionResponse {
906
+ /** 创建的自定义分组数据 */
907
+ section?: Section
908
+ }
909
+
770
910
  export interface GetTaskV2SectionQuery {
771
911
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
772
912
  user_id_type?: string
773
913
  }
774
914
 
915
+ export interface GetTaskV2SectionResponse {
916
+ /** 获取的自定义分组详情 */
917
+ section?: Section
918
+ }
919
+
775
920
  export interface PatchTaskV2SectionRequest {
776
921
  /** 要更新的自定义分组的数据,仅支持name, insert_after, insert_before */
777
922
  section: InputSection
@@ -784,6 +929,11 @@ export interface PatchTaskV2SectionQuery {
784
929
  user_id_type?: string
785
930
  }
786
931
 
932
+ export interface PatchTaskV2SectionResponse {
933
+ /** 更新后的自定义分组 */
934
+ section?: Section
935
+ }
936
+
787
937
  export interface ListTaskV2SectionQuery extends Pagination {
788
938
  /** 自定义分组所属的资源类型。支持"my_tasks"(我负责的)和"tasklist"(清单)。当使用"tasklist"时,需要用resource_id提供清单GUID。 */
789
939
  resource_type: string
@@ -832,11 +982,21 @@ export interface CreateTaskV2CustomFieldQuery {
832
982
  user_id_type?: 'open_id' | 'user_id' | 'union_id'
833
983
  }
834
984
 
985
+ export interface CreateTaskV2CustomFieldResponse {
986
+ /** 创建的自定义字段 */
987
+ custom_field?: CustomField
988
+ }
989
+
835
990
  export interface GetTaskV2CustomFieldQuery {
836
991
  /** 表示user的ID的类型,支持open_id, user_id, union_id */
837
992
  user_id_type?: 'open_id' | 'user_id' | 'union_id'
838
993
  }
839
994
 
995
+ export interface GetTaskV2CustomFieldResponse {
996
+ /** 获取的自定义字段数据 */
997
+ custom_field?: CustomField
998
+ }
999
+
840
1000
  export interface PatchTaskV2CustomFieldRequest {
841
1001
  /** 要修改的自定义字段数据 */
842
1002
  custom_field?: InputCustomField
@@ -849,6 +1009,11 @@ export interface PatchTaskV2CustomFieldQuery {
849
1009
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
850
1010
  }
851
1011
 
1012
+ export interface PatchTaskV2CustomFieldResponse {
1013
+ /** 修改后的自定义字段设置 */
1014
+ custom_field?: CustomField
1015
+ }
1016
+
852
1017
  export interface ListTaskV2CustomFieldQuery extends Pagination {
853
1018
  /** 用户ID格式,支持open_id, user_id, union_id */
854
1019
  user_id_type?: 'open_id' | 'user_id' | 'union_id'
@@ -885,6 +1050,11 @@ export interface CreateTaskV2CustomFieldOptionRequest {
885
1050
  is_hidden?: boolean
886
1051
  }
887
1052
 
1053
+ export interface CreateTaskV2CustomFieldOptionResponse {
1054
+ /** 创建的选项 */
1055
+ option?: Option
1056
+ }
1057
+
888
1058
  export interface PatchTaskV2CustomFieldOptionRequest {
889
1059
  /** 要更新的option数据 */
890
1060
  option?: InputOption
@@ -892,6 +1062,11 @@ export interface PatchTaskV2CustomFieldOptionRequest {
892
1062
  update_fields?: string[]
893
1063
  }
894
1064
 
1065
+ export interface PatchTaskV2CustomFieldOptionResponse {
1066
+ /** 更新后的option数据 */
1067
+ option?: Option
1068
+ }
1069
+
895
1070
  export interface CreateTaskV1Request {
896
1071
  /** 任务标题。创建任务时,如果没有标题填充,将其视为无主题的任务。 */
897
1072
  summary?: string
@@ -924,6 +1099,11 @@ export interface CreateTaskV1Query {
924
1099
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
925
1100
  }
926
1101
 
1102
+ export interface CreateTaskV1Response {
1103
+ /** 返回创建好的任务 */
1104
+ task?: Task
1105
+ }
1106
+
927
1107
  export interface PatchTaskV1Request {
928
1108
  /** 被更新的任务实体基础信息 */
929
1109
  task: Task
@@ -936,11 +1116,21 @@ export interface PatchTaskV1Query {
936
1116
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
937
1117
  }
938
1118
 
1119
+ export interface PatchTaskV1Response {
1120
+ /** 返回修改后的任务详情 */
1121
+ task?: Task
1122
+ }
1123
+
939
1124
  export interface GetTaskV1Query {
940
1125
  /** 此次调用中使用的用户ID的类型 */
941
1126
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
942
1127
  }
943
1128
 
1129
+ export interface GetTaskV1Response {
1130
+ /** 返回任务资源详情 */
1131
+ task?: Task
1132
+ }
1133
+
944
1134
  export interface ListTaskV1Query extends Pagination {
945
1135
  /** 范围查询任务时,查询的起始时间。不填时默认起始时间为第一个任务的创建时间。 */
946
1136
  start_create_time?: string
@@ -957,6 +1147,11 @@ export interface CreateTaskV1TaskReminderRequest {
957
1147
  relative_fire_minute: number
958
1148
  }
959
1149
 
1150
+ export interface CreateTaskV1TaskReminderResponse {
1151
+ /** 返回创建成功的提醒时间 */
1152
+ reminder?: Reminder
1153
+ }
1154
+
960
1155
  export interface CreateTaskV1TaskCommentRequest {
961
1156
  /** 评论内容 */
962
1157
  content?: string
@@ -973,6 +1168,11 @@ export interface CreateTaskV1TaskCommentQuery {
973
1168
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
974
1169
  }
975
1170
 
1171
+ export interface CreateTaskV1TaskCommentResponse {
1172
+ /** 返回创建好的任务评论 */
1173
+ comment?: Comment
1174
+ }
1175
+
976
1176
  export interface UpdateTaskV1TaskCommentRequest {
977
1177
  /** 新的评论内容 */
978
1178
  content?: string
@@ -985,14 +1185,31 @@ export interface UpdateTaskV1TaskCommentQuery {
985
1185
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
986
1186
  }
987
1187
 
1188
+ export interface UpdateTaskV1TaskCommentResponse {
1189
+ /** 返回修改后的任务评论详情 */
1190
+ comment?: Comment
1191
+ }
1192
+
988
1193
  export interface GetTaskV1TaskCommentQuery {
989
1194
  /** 此次调用中使用的用户ID的类型 */
990
1195
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
991
1196
  }
992
1197
 
1198
+ export interface GetTaskV1TaskCommentResponse {
1199
+ /** 返回新的任务评论详情 */
1200
+ comment?: Comment
1201
+ }
1202
+
1203
+ export const enum ListTaskV1TaskCommentQueryListDirection {
1204
+ /** 按照回复时间从小到大查询 */
1205
+ Down = 0,
1206
+ /** 按照回复时间从大到小查询 */
1207
+ Up = 1,
1208
+ }
1209
+
993
1210
  export interface ListTaskV1TaskCommentQuery extends Pagination {
994
1211
  /** 评论排序标记,可按照评论时间从小到大查询,或者评论时间从大到小查询,不填默认按照从小到大 */
995
- list_direction?: 0 | 1
1212
+ list_direction?: ListTaskV1TaskCommentQueryListDirection
996
1213
  /** 此次调用中使用的用户ID的类型 */
997
1214
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
998
1215
  }
@@ -1009,6 +1226,11 @@ export interface CreateTaskV1TaskFollowerQuery {
1009
1226
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1010
1227
  }
1011
1228
 
1229
+ export interface CreateTaskV1TaskFollowerResponse {
1230
+ /** 创建后的任务关注者 */
1231
+ follower: Follower
1232
+ }
1233
+
1012
1234
  export interface DeleteTaskV1TaskFollowerQuery {
1013
1235
  /** 此次调用中使用的用户ID的类型 */
1014
1236
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -1024,6 +1246,11 @@ export interface BatchDeleteFollowerTaskV1Query {
1024
1246
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1025
1247
  }
1026
1248
 
1249
+ export interface BatchDeleteFollowerTaskV1Response {
1250
+ /** 实际删除的关注人用户ID列表 */
1251
+ followers?: string[]
1252
+ }
1253
+
1027
1254
  export interface ListTaskV1TaskFollowerQuery extends Pagination {
1028
1255
  /** 此次调用中使用的用户ID的类型 */
1029
1256
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -1041,6 +1268,11 @@ export interface CreateTaskV1TaskCollaboratorQuery {
1041
1268
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1042
1269
  }
1043
1270
 
1271
+ export interface CreateTaskV1TaskCollaboratorResponse {
1272
+ /** 返回创建成功后的任务协作者 */
1273
+ collaborator: Collaborator
1274
+ }
1275
+
1044
1276
  export interface DeleteTaskV1TaskCollaboratorQuery {
1045
1277
  /** 此次调用中使用的用户ID的类型 */
1046
1278
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -1056,241 +1288,16 @@ export interface BatchDeleteCollaboratorTaskV1Query {
1056
1288
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
1057
1289
  }
1058
1290
 
1059
- export interface ListTaskV1TaskCollaboratorQuery extends Pagination {
1060
- /** 此次调用中使用的用户ID的类型 */
1061
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
1062
- }
1063
-
1064
- export interface CreateTaskV2Response {
1065
- /** 产生的任务 */
1066
- task?: Task
1067
- }
1068
-
1069
- export interface GetTaskV2Response {
1070
- /** 获得的任务实体 */
1071
- task?: Task
1072
- }
1073
-
1074
- export interface PatchTaskV2Response {
1075
- /** 更新后的任务 */
1076
- task?: Task
1077
- }
1078
-
1079
- export interface AddMembersTaskV2Response {
1080
- /** 更新完成后的任务实体数据 */
1081
- task?: Task
1082
- }
1083
-
1084
- export interface RemoveMembersTaskV2Response {
1085
- /** 移除成员后的任务数据 */
1086
- task?: Task
1087
- }
1088
-
1089
- export interface TasklistsTaskV2Response {
1090
- /** 任务所在清单的摘要信息 */
1091
- tasklists?: TaskInTasklistInfo[]
1092
- }
1093
-
1094
- export interface AddTasklistTaskV2Response {
1095
- /** 添加后的任务详情 */
1096
- task?: Task
1097
- }
1098
-
1099
- export interface RemoveTasklistTaskV2Response {
1100
- /** 添加后的任务详情 */
1101
- task?: Task
1102
- }
1103
-
1104
- export interface AddRemindersTaskV2Response {
1105
- /** 更新完成后的任务实体 */
1106
- task?: Task
1107
- }
1108
-
1109
- export interface RemoveRemindersTaskV2Response {
1110
- /** 移除提醒后的任务详情 */
1111
- task?: Task
1112
- }
1113
-
1114
- export interface AddDependenciesTaskV2Response {
1115
- /** 被添加后任务的所有依赖 */
1116
- dependencies?: TaskDependency[]
1117
- }
1118
-
1119
- export interface RemoveDependenciesTaskV2Response {
1120
- /** 移除之后的任务GUID */
1121
- dependencies?: TaskDependency[]
1122
- }
1123
-
1124
- export interface CreateTaskV2TaskSubtaskResponse {
1125
- /** 创建的任务 */
1126
- subtask?: Task
1127
- }
1128
-
1129
- export interface CreateTaskV2TasklistResponse {
1130
- /** 创建的清单数据 */
1131
- tasklist?: Tasklist
1132
- }
1133
-
1134
- export interface GetTaskV2TasklistResponse {
1135
- /** 清单详情 */
1136
- tasklist?: Tasklist
1137
- }
1138
-
1139
- export interface PatchTaskV2TasklistResponse {
1140
- /** 修改后的任务清单 */
1141
- tasklist?: Tasklist
1142
- }
1143
-
1144
- export interface AddMembersTaskV2TasklistResponse {
1145
- /** 完成更新后的清单实体 */
1146
- tasklist?: Tasklist
1147
- }
1148
-
1149
- export interface RemoveMembersTaskV2TasklistResponse {
1150
- /** 修改完成后的清单实体 */
1151
- tasklist?: Tasklist
1152
- }
1153
-
1154
- export interface CreateTaskV2TasklistActivitySubscriptionResponse {
1155
- /** 清单动态订阅 */
1156
- activity_subscription?: TasklistActivitySubscription
1157
- }
1158
-
1159
- export interface GetTaskV2TasklistActivitySubscriptionResponse {
1160
- /** 订阅详情 */
1161
- activity_subscription?: TasklistActivitySubscription
1162
- }
1163
-
1164
- export interface ListTaskV2TasklistActivitySubscriptionResponse {
1165
- /** 清单的动态订阅数据 */
1166
- items?: TasklistActivitySubscription[]
1167
- }
1168
-
1169
- export interface PatchTaskV2TasklistActivitySubscriptionResponse {
1170
- /** 更新后的订阅 */
1171
- activity_subscription?: TasklistActivitySubscription
1172
- }
1173
-
1174
- export interface CreateTaskV2CommentResponse {
1175
- /** 创建的评论详情 */
1176
- comment?: Comment
1177
- }
1178
-
1179
- export interface GetTaskV2CommentResponse {
1180
- /** 评论详情 */
1181
- comment?: Comment
1182
- }
1183
-
1184
- export interface PatchTaskV2CommentResponse {
1185
- /** 更新后的评论 */
1186
- comment?: Comment
1187
- }
1188
-
1189
- export interface UploadTaskV2AttachmentResponse {
1190
- /** 上传的附件列表 */
1191
- items?: Attachment[]
1192
- }
1193
-
1194
- export interface GetTaskV2AttachmentResponse {
1195
- /** 附件详情 */
1196
- attachment?: Attachment
1197
- }
1198
-
1199
- export interface CreateTaskV2SectionResponse {
1200
- /** 创建的自定义分组数据 */
1201
- section?: Section
1202
- }
1203
-
1204
- export interface GetTaskV2SectionResponse {
1205
- /** 获取的自定义分组详情 */
1206
- section?: Section
1207
- }
1208
-
1209
- export interface PatchTaskV2SectionResponse {
1210
- /** 更新后的自定义分组 */
1211
- section?: Section
1212
- }
1213
-
1214
- export interface CreateTaskV2CustomFieldResponse {
1215
- /** 创建的自定义字段 */
1216
- custom_field?: CustomField
1217
- }
1218
-
1219
- export interface GetTaskV2CustomFieldResponse {
1220
- /** 获取的自定义字段数据 */
1221
- custom_field?: CustomField
1222
- }
1223
-
1224
- export interface PatchTaskV2CustomFieldResponse {
1225
- /** 修改后的自定义字段设置 */
1226
- custom_field?: CustomField
1227
- }
1228
-
1229
- export interface CreateTaskV2CustomFieldOptionResponse {
1230
- /** 创建的选项 */
1231
- option?: Option
1232
- }
1233
-
1234
- export interface PatchTaskV2CustomFieldOptionResponse {
1235
- /** 更新后的option数据 */
1236
- option?: Option
1237
- }
1238
-
1239
- export interface CreateTaskV1Response {
1240
- /** 返回创建好的任务 */
1241
- task?: Task
1242
- }
1243
-
1244
- export interface PatchTaskV1Response {
1245
- /** 返回修改后的任务详情 */
1246
- task?: Task
1247
- }
1248
-
1249
- export interface GetTaskV1Response {
1250
- /** 返回任务资源详情 */
1251
- task?: Task
1252
- }
1253
-
1254
- export interface CreateTaskV1TaskReminderResponse {
1255
- /** 返回创建成功的提醒时间 */
1256
- reminder?: Reminder
1257
- }
1258
-
1259
- export interface CreateTaskV1TaskCommentResponse {
1260
- /** 返回创建好的任务评论 */
1261
- comment?: Comment
1262
- }
1263
-
1264
- export interface UpdateTaskV1TaskCommentResponse {
1265
- /** 返回修改后的任务评论详情 */
1266
- comment?: Comment
1267
- }
1268
-
1269
- export interface GetTaskV1TaskCommentResponse {
1270
- /** 返回新的任务评论详情 */
1271
- comment?: Comment
1272
- }
1273
-
1274
- export interface CreateTaskV1TaskFollowerResponse {
1275
- /** 创建后的任务关注者 */
1276
- follower: Follower
1277
- }
1278
-
1279
- export interface BatchDeleteFollowerTaskV1Response {
1280
- /** 实际删除的关注人用户ID列表 */
1281
- followers?: string[]
1282
- }
1283
-
1284
- export interface CreateTaskV1TaskCollaboratorResponse {
1285
- /** 返回创建成功后的任务协作者 */
1286
- collaborator: Collaborator
1287
- }
1288
-
1289
1291
  export interface BatchDeleteCollaboratorTaskV1Response {
1290
1292
  /** 实际删除的执行人用户ID列表 */
1291
1293
  collaborators?: string[]
1292
1294
  }
1293
1295
 
1296
+ export interface ListTaskV1TaskCollaboratorQuery extends Pagination {
1297
+ /** 此次调用中使用的用户ID的类型 */
1298
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1299
+ }
1300
+
1294
1301
  Internal.define({
1295
1302
  '/task/v2/tasks': {
1296
1303
  POST: 'createTaskV2',