@tachybase/plugin-auth-dingtalk 1.3.18 → 1.3.20

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 (156) hide show
  1. package/dist/externalVersion.js +5 -5
  2. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
  3. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
  4. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
  5. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
  6. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
  7. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
  8. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
  9. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
  10. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
  11. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
  12. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
  13. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
  14. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
  15. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
  16. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
  17. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
  18. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
  19. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
  20. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
  21. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
  22. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
  23. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
  24. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
  25. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
  26. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
  27. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
  28. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
  29. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
  30. package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
  31. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
  32. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
  33. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
  34. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
  35. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
  36. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
  37. package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
  38. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
  39. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
  40. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
  41. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
  42. package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
  43. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
  44. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
  45. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
  46. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
  47. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
  48. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
  49. package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
  50. package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
  51. package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
  52. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
  53. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
  54. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
  55. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
  56. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
  57. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
  58. package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
  59. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
  60. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
  61. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
  62. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
  63. package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
  64. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
  65. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
  66. package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
  67. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
  68. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
  69. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
  70. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
  71. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
  72. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
  73. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
  74. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
  75. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
  76. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
  77. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
  78. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
  79. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
  80. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
  81. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
  82. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
  83. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
  84. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
  85. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
  86. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
  87. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
  88. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
  89. package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
  90. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
  91. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
  92. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
  93. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
  94. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
  95. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
  96. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
  97. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
  98. package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
  99. package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
  100. package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
  101. package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
  102. package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
  103. package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
  104. package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
  105. package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
  106. package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
  107. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
  108. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
  109. package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
  110. package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
  111. package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
  112. package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
  113. package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
  114. package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
  115. package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
  116. package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
  117. package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
  118. package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
  119. package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
  120. package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
  121. package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
  122. package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
  123. package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
  124. package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
  125. package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
  126. package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
  127. package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
  128. package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
  129. package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
  130. package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
  131. package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
  132. package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
  133. package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
  134. package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
  135. package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
  136. package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
  137. package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
  138. package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
  139. package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
  140. package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
  141. package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
  142. package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
  143. package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
  144. package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
  145. package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
  146. package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
  147. package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
  148. package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
  149. package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
  150. package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
  151. package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
  152. package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
  153. package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
  154. package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
  155. package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
  156. package/package.json +8 -8
@@ -31,6 +31,7 @@ export class AppCreateEnterpriseTodoTaskHeaders extends $tea.Model {
31
31
 
32
32
  export class AppCreateEnterpriseTodoTaskRequest extends $tea.Model {
33
33
  bizCategoryId?: string;
34
+ bizCreatedTime?: number;
34
35
  customFields?: AppCreateEnterpriseTodoTaskRequestCustomFields[];
35
36
  description?: string;
36
37
  detailUrl?: AppCreateEnterpriseTodoTaskRequestDetailUrl;
@@ -42,10 +43,12 @@ export class AppCreateEnterpriseTodoTaskRequest extends $tea.Model {
42
43
  sourceId?: string;
43
44
  sourceTitle?: string;
44
45
  subject?: string;
46
+ toolbarTemplateKey?: string;
45
47
  type?: string;
46
48
  static names(): { [key: string]: string } {
47
49
  return {
48
50
  bizCategoryId: 'bizCategoryId',
51
+ bizCreatedTime: 'bizCreatedTime',
49
52
  customFields: 'customFields',
50
53
  description: 'description',
51
54
  detailUrl: 'detailUrl',
@@ -57,6 +60,7 @@ export class AppCreateEnterpriseTodoTaskRequest extends $tea.Model {
57
60
  sourceId: 'sourceId',
58
61
  sourceTitle: 'sourceTitle',
59
62
  subject: 'subject',
63
+ toolbarTemplateKey: 'toolbarTemplateKey',
60
64
  type: 'type',
61
65
  };
62
66
  }
@@ -64,6 +68,7 @@ export class AppCreateEnterpriseTodoTaskRequest extends $tea.Model {
64
68
  static types(): { [key: string]: any } {
65
69
  return {
66
70
  bizCategoryId: 'string',
71
+ bizCreatedTime: 'number',
67
72
  customFields: { 'type': 'array', 'itemType': AppCreateEnterpriseTodoTaskRequestCustomFields },
68
73
  description: 'string',
69
74
  detailUrl: AppCreateEnterpriseTodoTaskRequestDetailUrl,
@@ -75,6 +80,7 @@ export class AppCreateEnterpriseTodoTaskRequest extends $tea.Model {
75
80
  sourceId: 'string',
76
81
  sourceTitle: 'string',
77
82
  subject: 'string',
83
+ toolbarTemplateKey: 'string',
78
84
  type: 'string',
79
85
  };
80
86
  }
@@ -276,12 +282,14 @@ export class AppGetUserTaskListHeaders extends $tea.Model {
276
282
 
277
283
  export class AppGetUserTaskListRequest extends $tea.Model {
278
284
  done?: boolean;
285
+ operatorId?: string;
279
286
  pageNumber?: number;
280
287
  pageSize?: number;
281
288
  type?: string;
282
289
  static names(): { [key: string]: string } {
283
290
  return {
284
291
  done: 'done',
292
+ operatorId: 'operatorId',
285
293
  pageNumber: 'pageNumber',
286
294
  pageSize: 'pageSize',
287
295
  type: 'type',
@@ -291,6 +299,7 @@ export class AppGetUserTaskListRequest extends $tea.Model {
291
299
  static types(): { [key: string]: any } {
292
300
  return {
293
301
  done: 'boolean',
302
+ operatorId: 'string',
294
303
  pageNumber: 'number',
295
304
  pageSize: 'number',
296
305
  type: 'string',
@@ -381,6 +390,7 @@ export class AppUpdateTaskHeaders extends $tea.Model {
381
390
  }
382
391
 
383
392
  export class AppUpdateTaskRequest extends $tea.Model {
393
+ bizCreatedTime?: number;
384
394
  description?: string;
385
395
  done?: boolean;
386
396
  dueTime?: number;
@@ -388,8 +398,10 @@ export class AppUpdateTaskRequest extends $tea.Model {
388
398
  operatorId?: string;
389
399
  subject?: string;
390
400
  taskId?: number;
401
+ toolbarTemplateKey?: string;
391
402
  static names(): { [key: string]: string } {
392
403
  return {
404
+ bizCreatedTime: 'bizCreatedTime',
393
405
  description: 'description',
394
406
  done: 'done',
395
407
  dueTime: 'dueTime',
@@ -397,11 +409,13 @@ export class AppUpdateTaskRequest extends $tea.Model {
397
409
  operatorId: 'operatorId',
398
410
  subject: 'subject',
399
411
  taskId: 'taskId',
412
+ toolbarTemplateKey: 'toolbarTemplateKey',
400
413
  };
401
414
  }
402
415
 
403
416
  static types(): { [key: string]: any } {
404
417
  return {
418
+ bizCreatedTime: 'number',
405
419
  description: 'string',
406
420
  done: 'boolean',
407
421
  dueTime: 'number',
@@ -409,6 +423,7 @@ export class AppUpdateTaskRequest extends $tea.Model {
409
423
  operatorId: 'string',
410
424
  subject: 'string',
411
425
  taskId: 'number',
426
+ toolbarTemplateKey: 'string',
412
427
  };
413
428
  }
414
429
 
@@ -706,6 +721,112 @@ export class CreateEnterpriseTodoTaskResponse extends $tea.Model {
706
721
  }
707
722
  }
708
723
 
724
+ export class CreateStandardTemplateHeaders extends $tea.Model {
725
+ commonHeaders?: { [key: string]: string };
726
+ xAcsDingtalkAccessToken?: string;
727
+ static names(): { [key: string]: string } {
728
+ return {
729
+ commonHeaders: 'commonHeaders',
730
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
731
+ };
732
+ }
733
+
734
+ static types(): { [key: string]: any } {
735
+ return {
736
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
737
+ xAcsDingtalkAccessToken: 'string',
738
+ };
739
+ }
740
+
741
+ constructor(map?: { [key: string]: any }) {
742
+ super(map);
743
+ }
744
+ }
745
+
746
+ export class CreateStandardTemplateRequest extends $tea.Model {
747
+ actions?: CreateStandardTemplateRequestActions[];
748
+ description?: string;
749
+ name?: string;
750
+ operatorId?: string;
751
+ service?: CreateStandardTemplateRequestService;
752
+ static names(): { [key: string]: string } {
753
+ return {
754
+ actions: 'actions',
755
+ description: 'description',
756
+ name: 'name',
757
+ operatorId: 'operatorId',
758
+ service: 'service',
759
+ };
760
+ }
761
+
762
+ static types(): { [key: string]: any } {
763
+ return {
764
+ actions: { 'type': 'array', 'itemType': CreateStandardTemplateRequestActions },
765
+ description: 'string',
766
+ name: 'string',
767
+ operatorId: 'string',
768
+ service: CreateStandardTemplateRequestService,
769
+ };
770
+ }
771
+
772
+ constructor(map?: { [key: string]: any }) {
773
+ super(map);
774
+ }
775
+ }
776
+
777
+ export class CreateStandardTemplateResponseBody extends $tea.Model {
778
+ actions?: CreateStandardTemplateResponseBodyActions[];
779
+ description?: string;
780
+ name?: string;
781
+ templateKey?: string;
782
+ static names(): { [key: string]: string } {
783
+ return {
784
+ actions: 'actions',
785
+ description: 'description',
786
+ name: 'name',
787
+ templateKey: 'templateKey',
788
+ };
789
+ }
790
+
791
+ static types(): { [key: string]: any } {
792
+ return {
793
+ actions: { 'type': 'array', 'itemType': CreateStandardTemplateResponseBodyActions },
794
+ description: 'string',
795
+ name: 'string',
796
+ templateKey: 'string',
797
+ };
798
+ }
799
+
800
+ constructor(map?: { [key: string]: any }) {
801
+ super(map);
802
+ }
803
+ }
804
+
805
+ export class CreateStandardTemplateResponse extends $tea.Model {
806
+ headers?: { [key: string]: string };
807
+ statusCode?: number;
808
+ body?: CreateStandardTemplateResponseBody;
809
+ static names(): { [key: string]: string } {
810
+ return {
811
+ headers: 'headers',
812
+ statusCode: 'statusCode',
813
+ body: 'body',
814
+ };
815
+ }
816
+
817
+ static types(): { [key: string]: any } {
818
+ return {
819
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
820
+ statusCode: 'number',
821
+ body: CreateStandardTemplateResponseBody,
822
+ };
823
+ }
824
+
825
+ constructor(map?: { [key: string]: any }) {
826
+ super(map);
827
+ }
828
+ }
829
+
709
830
  export class DeleteCategorySourceConfigHeaders extends $tea.Model {
710
831
  commonHeaders?: { [key: string]: string };
711
832
  xAcsDingtalkAccessToken?: string;
@@ -906,10 +1027,6 @@ export class GetCategorySourceConfigListHeaders extends $tea.Model {
906
1027
  }
907
1028
 
908
1029
  export class GetCategorySourceConfigListRequest extends $tea.Model {
909
- /**
910
- * @example
911
- * aabcdefe
912
- */
913
1030
  nextToken?: string;
914
1031
  static names(): { [key: string]: string } {
915
1032
  return {
@@ -978,6 +1095,103 @@ export class GetCategorySourceConfigListResponse extends $tea.Model {
978
1095
  }
979
1096
  }
980
1097
 
1098
+ export class GetTemplateListHeaders extends $tea.Model {
1099
+ commonHeaders?: { [key: string]: string };
1100
+ xAcsDingtalkAccessToken?: string;
1101
+ static names(): { [key: string]: string } {
1102
+ return {
1103
+ commonHeaders: 'commonHeaders',
1104
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1105
+ };
1106
+ }
1107
+
1108
+ static types(): { [key: string]: any } {
1109
+ return {
1110
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1111
+ xAcsDingtalkAccessToken: 'string',
1112
+ };
1113
+ }
1114
+
1115
+ constructor(map?: { [key: string]: any }) {
1116
+ super(map);
1117
+ }
1118
+ }
1119
+
1120
+ export class GetTemplateListRequest extends $tea.Model {
1121
+ pageNumber?: number;
1122
+ pageSize?: number;
1123
+ static names(): { [key: string]: string } {
1124
+ return {
1125
+ pageNumber: 'pageNumber',
1126
+ pageSize: 'pageSize',
1127
+ };
1128
+ }
1129
+
1130
+ static types(): { [key: string]: any } {
1131
+ return {
1132
+ pageNumber: 'number',
1133
+ pageSize: 'number',
1134
+ };
1135
+ }
1136
+
1137
+ constructor(map?: { [key: string]: any }) {
1138
+ super(map);
1139
+ }
1140
+ }
1141
+
1142
+ export class GetTemplateListResponseBody extends $tea.Model {
1143
+ data?: GetTemplateListResponseBodyData[];
1144
+ pageNumber?: number;
1145
+ pageSize?: number;
1146
+ totalCount?: number;
1147
+ static names(): { [key: string]: string } {
1148
+ return {
1149
+ data: 'data',
1150
+ pageNumber: 'pageNumber',
1151
+ pageSize: 'pageSize',
1152
+ totalCount: 'totalCount',
1153
+ };
1154
+ }
1155
+
1156
+ static types(): { [key: string]: any } {
1157
+ return {
1158
+ data: { 'type': 'array', 'itemType': GetTemplateListResponseBodyData },
1159
+ pageNumber: 'number',
1160
+ pageSize: 'number',
1161
+ totalCount: 'number',
1162
+ };
1163
+ }
1164
+
1165
+ constructor(map?: { [key: string]: any }) {
1166
+ super(map);
1167
+ }
1168
+ }
1169
+
1170
+ export class GetTemplateListResponse extends $tea.Model {
1171
+ headers?: { [key: string]: string };
1172
+ statusCode?: number;
1173
+ body?: GetTemplateListResponseBody;
1174
+ static names(): { [key: string]: string } {
1175
+ return {
1176
+ headers: 'headers',
1177
+ statusCode: 'statusCode',
1178
+ body: 'body',
1179
+ };
1180
+ }
1181
+
1182
+ static types(): { [key: string]: any } {
1183
+ return {
1184
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1185
+ statusCode: 'number',
1186
+ body: GetTemplateListResponseBody,
1187
+ };
1188
+ }
1189
+
1190
+ constructor(map?: { [key: string]: any }) {
1191
+ super(map);
1192
+ }
1193
+ }
1194
+
981
1195
  export class GetUserTaskListHeaders extends $tea.Model {
982
1196
  commonHeaders?: { [key: string]: string };
983
1197
  xAcsDingtalkAccessToken?: string;
@@ -1081,7 +1295,7 @@ export class GetUserTaskListResponse extends $tea.Model {
1081
1295
  }
1082
1296
  }
1083
1297
 
1084
- export class RegisterCategorySourceConfigHeaders extends $tea.Model {
1298
+ export class QueryTaskExecutionStatusHeaders extends $tea.Model {
1085
1299
  commonHeaders?: { [key: string]: string };
1086
1300
  xAcsDingtalkAccessToken?: string;
1087
1301
  static names(): { [key: string]: string } {
@@ -1103,41 +1317,27 @@ export class RegisterCategorySourceConfigHeaders extends $tea.Model {
1103
1317
  }
1104
1318
  }
1105
1319
 
1106
- export class RegisterCategorySourceConfigRequest extends $tea.Model {
1107
- /**
1108
- * @remarks
1109
- * This parameter is required.
1110
- *
1111
- * @example
1112
- * 1001
1113
- */
1114
- bizCategoryId?: string;
1320
+ export class QueryTaskExecutionStatusRequest extends $tea.Model {
1321
+ pageNumber?: number;
1322
+ pageSize?: number;
1115
1323
  /**
1116
1324
  * @remarks
1117
1325
  * This parameter is required.
1118
- *
1119
- * @example
1120
- * 财务_审批_考勤
1121
1326
  */
1122
- bizCategoryName?: string;
1123
- /**
1124
- * @example
1125
- * 张三
1126
- */
1127
- operatorId?: string;
1327
+ taskId?: string;
1128
1328
  static names(): { [key: string]: string } {
1129
1329
  return {
1130
- bizCategoryId: 'bizCategoryId',
1131
- bizCategoryName: 'bizCategoryName',
1132
- operatorId: 'operatorId',
1330
+ pageNumber: 'pageNumber',
1331
+ pageSize: 'pageSize',
1332
+ taskId: 'taskId',
1133
1333
  };
1134
1334
  }
1135
1335
 
1136
1336
  static types(): { [key: string]: any } {
1137
1337
  return {
1138
- bizCategoryId: 'string',
1139
- bizCategoryName: 'string',
1140
- operatorId: 'string',
1338
+ pageNumber: 'number',
1339
+ pageSize: 'number',
1340
+ taskId: 'string',
1141
1341
  };
1142
1342
  }
1143
1343
 
@@ -1146,17 +1346,29 @@ export class RegisterCategorySourceConfigRequest extends $tea.Model {
1146
1346
  }
1147
1347
  }
1148
1348
 
1149
- export class RegisterCategorySourceConfigResponseBody extends $tea.Model {
1150
- success?: boolean;
1349
+ export class QueryTaskExecutionStatusResponseBody extends $tea.Model {
1350
+ data?: QueryTaskExecutionStatusResponseBodyData[];
1351
+ hasMore?: boolean;
1352
+ pageNumber?: number;
1353
+ pageSize?: number;
1354
+ totalCount?: number;
1151
1355
  static names(): { [key: string]: string } {
1152
1356
  return {
1153
- success: 'success',
1357
+ data: 'data',
1358
+ hasMore: 'hasMore',
1359
+ pageNumber: 'pageNumber',
1360
+ pageSize: 'pageSize',
1361
+ totalCount: 'totalCount',
1154
1362
  };
1155
1363
  }
1156
1364
 
1157
1365
  static types(): { [key: string]: any } {
1158
1366
  return {
1159
- success: 'boolean',
1367
+ data: { 'type': 'array', 'itemType': QueryTaskExecutionStatusResponseBodyData },
1368
+ hasMore: 'boolean',
1369
+ pageNumber: 'number',
1370
+ pageSize: 'number',
1371
+ totalCount: 'number',
1160
1372
  };
1161
1373
  }
1162
1374
 
@@ -1165,10 +1377,10 @@ export class RegisterCategorySourceConfigResponseBody extends $tea.Model {
1165
1377
  }
1166
1378
  }
1167
1379
 
1168
- export class RegisterCategorySourceConfigResponse extends $tea.Model {
1380
+ export class QueryTaskExecutionStatusResponse extends $tea.Model {
1169
1381
  headers?: { [key: string]: string };
1170
1382
  statusCode?: number;
1171
- body?: RegisterCategorySourceConfigResponseBody;
1383
+ body?: QueryTaskExecutionStatusResponseBody;
1172
1384
  static names(): { [key: string]: string } {
1173
1385
  return {
1174
1386
  headers: 'headers',
@@ -1181,7 +1393,7 @@ export class RegisterCategorySourceConfigResponse extends $tea.Model {
1181
1393
  return {
1182
1394
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1183
1395
  statusCode: 'number',
1184
- body: RegisterCategorySourceConfigResponseBody,
1396
+ body: QueryTaskExecutionStatusResponseBody,
1185
1397
  };
1186
1398
  }
1187
1399
 
@@ -1190,7 +1402,7 @@ export class RegisterCategorySourceConfigResponse extends $tea.Model {
1190
1402
  }
1191
1403
  }
1192
1404
 
1193
- export class UpdateCategorySourceConfigHeaders extends $tea.Model {
1405
+ export class RegisterCategorySourceConfigHeaders extends $tea.Model {
1194
1406
  commonHeaders?: { [key: string]: string };
1195
1407
  xAcsDingtalkAccessToken?: string;
1196
1408
  static names(): { [key: string]: string } {
@@ -1212,7 +1424,7 @@ export class UpdateCategorySourceConfigHeaders extends $tea.Model {
1212
1424
  }
1213
1425
  }
1214
1426
 
1215
- export class UpdateCategorySourceConfigRequest extends $tea.Model {
1427
+ export class RegisterCategorySourceConfigRequest extends $tea.Model {
1216
1428
  /**
1217
1429
  * @remarks
1218
1430
  * This parameter is required.
@@ -1226,9 +1438,13 @@ export class UpdateCategorySourceConfigRequest extends $tea.Model {
1226
1438
  * This parameter is required.
1227
1439
  *
1228
1440
  * @example
1229
- * 考勤_财务
1441
+ * 财务_审批_考勤
1230
1442
  */
1231
1443
  bizCategoryName?: string;
1444
+ /**
1445
+ * @example
1446
+ * 张三
1447
+ */
1232
1448
  operatorId?: string;
1233
1449
  static names(): { [key: string]: string } {
1234
1450
  return {
@@ -1251,8 +1467,8 @@ export class UpdateCategorySourceConfigRequest extends $tea.Model {
1251
1467
  }
1252
1468
  }
1253
1469
 
1254
- export class UpdateCategorySourceConfigResponseBody extends $tea.Model {
1255
- success?: string;
1470
+ export class RegisterCategorySourceConfigResponseBody extends $tea.Model {
1471
+ success?: boolean;
1256
1472
  static names(): { [key: string]: string } {
1257
1473
  return {
1258
1474
  success: 'success',
@@ -1261,7 +1477,7 @@ export class UpdateCategorySourceConfigResponseBody extends $tea.Model {
1261
1477
 
1262
1478
  static types(): { [key: string]: any } {
1263
1479
  return {
1264
- success: 'string',
1480
+ success: 'boolean',
1265
1481
  };
1266
1482
  }
1267
1483
 
@@ -1270,10 +1486,10 @@ export class UpdateCategorySourceConfigResponseBody extends $tea.Model {
1270
1486
  }
1271
1487
  }
1272
1488
 
1273
- export class UpdateCategorySourceConfigResponse extends $tea.Model {
1489
+ export class RegisterCategorySourceConfigResponse extends $tea.Model {
1274
1490
  headers?: { [key: string]: string };
1275
1491
  statusCode?: number;
1276
- body?: UpdateCategorySourceConfigResponseBody;
1492
+ body?: RegisterCategorySourceConfigResponseBody;
1277
1493
  static names(): { [key: string]: string } {
1278
1494
  return {
1279
1495
  headers: 'headers',
@@ -1286,7 +1502,7 @@ export class UpdateCategorySourceConfigResponse extends $tea.Model {
1286
1502
  return {
1287
1503
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1288
1504
  statusCode: 'number',
1289
- body: UpdateCategorySourceConfigResponseBody,
1505
+ body: RegisterCategorySourceConfigResponseBody,
1290
1506
  };
1291
1507
  }
1292
1508
 
@@ -1295,7 +1511,7 @@ export class UpdateCategorySourceConfigResponse extends $tea.Model {
1295
1511
  }
1296
1512
  }
1297
1513
 
1298
- export class UpdateTaskHeaders extends $tea.Model {
1514
+ export class UpdateCategorySourceConfigHeaders extends $tea.Model {
1299
1515
  commonHeaders?: { [key: string]: string };
1300
1516
  xAcsDingtalkAccessToken?: string;
1301
1517
  static names(): { [key: string]: string } {
@@ -1317,7 +1533,206 @@ export class UpdateTaskHeaders extends $tea.Model {
1317
1533
  }
1318
1534
  }
1319
1535
 
1320
- export class UpdateTaskRequest extends $tea.Model {
1536
+ export class UpdateCategorySourceConfigRequest extends $tea.Model {
1537
+ /**
1538
+ * @remarks
1539
+ * This parameter is required.
1540
+ *
1541
+ * @example
1542
+ * 1001
1543
+ */
1544
+ bizCategoryId?: string;
1545
+ /**
1546
+ * @remarks
1547
+ * This parameter is required.
1548
+ *
1549
+ * @example
1550
+ * 考勤_财务
1551
+ */
1552
+ bizCategoryName?: string;
1553
+ operatorId?: string;
1554
+ static names(): { [key: string]: string } {
1555
+ return {
1556
+ bizCategoryId: 'bizCategoryId',
1557
+ bizCategoryName: 'bizCategoryName',
1558
+ operatorId: 'operatorId',
1559
+ };
1560
+ }
1561
+
1562
+ static types(): { [key: string]: any } {
1563
+ return {
1564
+ bizCategoryId: 'string',
1565
+ bizCategoryName: 'string',
1566
+ operatorId: 'string',
1567
+ };
1568
+ }
1569
+
1570
+ constructor(map?: { [key: string]: any }) {
1571
+ super(map);
1572
+ }
1573
+ }
1574
+
1575
+ export class UpdateCategorySourceConfigResponseBody extends $tea.Model {
1576
+ success?: string;
1577
+ static names(): { [key: string]: string } {
1578
+ return {
1579
+ success: 'success',
1580
+ };
1581
+ }
1582
+
1583
+ static types(): { [key: string]: any } {
1584
+ return {
1585
+ success: 'string',
1586
+ };
1587
+ }
1588
+
1589
+ constructor(map?: { [key: string]: any }) {
1590
+ super(map);
1591
+ }
1592
+ }
1593
+
1594
+ export class UpdateCategorySourceConfigResponse extends $tea.Model {
1595
+ headers?: { [key: string]: string };
1596
+ statusCode?: number;
1597
+ body?: UpdateCategorySourceConfigResponseBody;
1598
+ static names(): { [key: string]: string } {
1599
+ return {
1600
+ headers: 'headers',
1601
+ statusCode: 'statusCode',
1602
+ body: 'body',
1603
+ };
1604
+ }
1605
+
1606
+ static types(): { [key: string]: any } {
1607
+ return {
1608
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1609
+ statusCode: 'number',
1610
+ body: UpdateCategorySourceConfigResponseBody,
1611
+ };
1612
+ }
1613
+
1614
+ constructor(map?: { [key: string]: any }) {
1615
+ super(map);
1616
+ }
1617
+ }
1618
+
1619
+ export class UpdateStandardTemplateHeaders extends $tea.Model {
1620
+ commonHeaders?: { [key: string]: string };
1621
+ xAcsDingtalkAccessToken?: string;
1622
+ static names(): { [key: string]: string } {
1623
+ return {
1624
+ commonHeaders: 'commonHeaders',
1625
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1626
+ };
1627
+ }
1628
+
1629
+ static types(): { [key: string]: any } {
1630
+ return {
1631
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1632
+ xAcsDingtalkAccessToken: 'string',
1633
+ };
1634
+ }
1635
+
1636
+ constructor(map?: { [key: string]: any }) {
1637
+ super(map);
1638
+ }
1639
+ }
1640
+
1641
+ export class UpdateStandardTemplateRequest extends $tea.Model {
1642
+ actions?: UpdateStandardTemplateRequestActions[];
1643
+ operatorId?: string;
1644
+ service?: UpdateStandardTemplateRequestService;
1645
+ templateKey?: string;
1646
+ static names(): { [key: string]: string } {
1647
+ return {
1648
+ actions: 'actions',
1649
+ operatorId: 'operatorId',
1650
+ service: 'service',
1651
+ templateKey: 'templateKey',
1652
+ };
1653
+ }
1654
+
1655
+ static types(): { [key: string]: any } {
1656
+ return {
1657
+ actions: { 'type': 'array', 'itemType': UpdateStandardTemplateRequestActions },
1658
+ operatorId: 'string',
1659
+ service: UpdateStandardTemplateRequestService,
1660
+ templateKey: 'string',
1661
+ };
1662
+ }
1663
+
1664
+ constructor(map?: { [key: string]: any }) {
1665
+ super(map);
1666
+ }
1667
+ }
1668
+
1669
+ export class UpdateStandardTemplateResponseBody extends $tea.Model {
1670
+ success?: boolean;
1671
+ static names(): { [key: string]: string } {
1672
+ return {
1673
+ success: 'success',
1674
+ };
1675
+ }
1676
+
1677
+ static types(): { [key: string]: any } {
1678
+ return {
1679
+ success: 'boolean',
1680
+ };
1681
+ }
1682
+
1683
+ constructor(map?: { [key: string]: any }) {
1684
+ super(map);
1685
+ }
1686
+ }
1687
+
1688
+ export class UpdateStandardTemplateResponse extends $tea.Model {
1689
+ headers?: { [key: string]: string };
1690
+ statusCode?: number;
1691
+ body?: UpdateStandardTemplateResponseBody;
1692
+ static names(): { [key: string]: string } {
1693
+ return {
1694
+ headers: 'headers',
1695
+ statusCode: 'statusCode',
1696
+ body: 'body',
1697
+ };
1698
+ }
1699
+
1700
+ static types(): { [key: string]: any } {
1701
+ return {
1702
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1703
+ statusCode: 'number',
1704
+ body: UpdateStandardTemplateResponseBody,
1705
+ };
1706
+ }
1707
+
1708
+ constructor(map?: { [key: string]: any }) {
1709
+ super(map);
1710
+ }
1711
+ }
1712
+
1713
+ export class UpdateTaskHeaders extends $tea.Model {
1714
+ commonHeaders?: { [key: string]: string };
1715
+ xAcsDingtalkAccessToken?: string;
1716
+ static names(): { [key: string]: string } {
1717
+ return {
1718
+ commonHeaders: 'commonHeaders',
1719
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1720
+ };
1721
+ }
1722
+
1723
+ static types(): { [key: string]: any } {
1724
+ return {
1725
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1726
+ xAcsDingtalkAccessToken: 'string',
1727
+ };
1728
+ }
1729
+
1730
+ constructor(map?: { [key: string]: any }) {
1731
+ super(map);
1732
+ }
1733
+ }
1734
+
1735
+ export class UpdateTaskRequest extends $tea.Model {
1321
1736
  description?: string;
1322
1737
  done?: boolean;
1323
1738
  dueTime?: number;
@@ -1544,15 +1959,18 @@ export class AppCreateEnterpriseTodoTaskRequestDetailUrl extends $tea.Model {
1544
1959
  }
1545
1960
 
1546
1961
  export class AppCreateEnterpriseTodoTaskRequestNotifyConfigs extends $tea.Model {
1962
+ assistance?: string;
1547
1963
  dingNotify?: string;
1548
1964
  static names(): { [key: string]: string } {
1549
1965
  return {
1966
+ assistance: 'assistance',
1550
1967
  dingNotify: 'dingNotify',
1551
1968
  };
1552
1969
  }
1553
1970
 
1554
1971
  static types(): { [key: string]: any } {
1555
1972
  return {
1973
+ assistance: 'string',
1556
1974
  dingNotify: 'string',
1557
1975
  };
1558
1976
  }
@@ -1584,19 +2002,51 @@ export class AppCreateEnterpriseTodoTaskResponseBodyDetailUrl extends $tea.Model
1584
2002
  }
1585
2003
  }
1586
2004
 
2005
+ export class AppGetUserTaskListResponseBodyDataDetailUrl extends $tea.Model {
2006
+ appUrl?: string;
2007
+ webUrl?: string;
2008
+ static names(): { [key: string]: string } {
2009
+ return {
2010
+ appUrl: 'appUrl',
2011
+ webUrl: 'webUrl',
2012
+ };
2013
+ }
2014
+
2015
+ static types(): { [key: string]: any } {
2016
+ return {
2017
+ appUrl: 'string',
2018
+ webUrl: 'string',
2019
+ };
2020
+ }
2021
+
2022
+ constructor(map?: { [key: string]: any }) {
2023
+ super(map);
2024
+ }
2025
+ }
2026
+
1587
2027
  export class AppGetUserTaskListResponseBodyData extends $tea.Model {
2028
+ bizCategoryId?: string;
1588
2029
  createdTime?: number;
1589
2030
  description?: string;
2031
+ detailUrl?: AppGetUserTaskListResponseBodyDataDetailUrl;
1590
2032
  done?: boolean;
1591
2033
  dueTime?: number;
2034
+ modifiedTime?: number;
2035
+ operatorId?: string;
2036
+ priority?: number;
1592
2037
  subject?: string;
1593
2038
  taskId?: string;
1594
2039
  static names(): { [key: string]: string } {
1595
2040
  return {
2041
+ bizCategoryId: 'bizCategoryId',
1596
2042
  createdTime: 'createdTime',
1597
2043
  description: 'description',
2044
+ detailUrl: 'detailUrl',
1598
2045
  done: 'done',
1599
2046
  dueTime: 'dueTime',
2047
+ modifiedTime: 'modifiedTime',
2048
+ operatorId: 'operatorId',
2049
+ priority: 'priority',
1600
2050
  subject: 'subject',
1601
2051
  taskId: 'taskId',
1602
2052
  };
@@ -1604,10 +2054,15 @@ export class AppGetUserTaskListResponseBodyData extends $tea.Model {
1604
2054
 
1605
2055
  static types(): { [key: string]: any } {
1606
2056
  return {
2057
+ bizCategoryId: 'string',
1607
2058
  createdTime: 'number',
1608
2059
  description: 'string',
2060
+ detailUrl: AppGetUserTaskListResponseBodyDataDetailUrl,
1609
2061
  done: 'boolean',
1610
2062
  dueTime: 'number',
2063
+ modifiedTime: 'number',
2064
+ operatorId: 'string',
2065
+ priority: 'number',
1611
2066
  subject: 'string',
1612
2067
  taskId: 'string',
1613
2068
  };
@@ -1701,13 +2156,258 @@ export class CreateEnterpriseTodoTaskRequestNotifyConfigs extends $tea.Model {
1701
2156
  dingNotify?: string;
1702
2157
  static names(): { [key: string]: string } {
1703
2158
  return {
1704
- dingNotify: 'dingNotify',
2159
+ dingNotify: 'dingNotify',
2160
+ };
2161
+ }
2162
+
2163
+ static types(): { [key: string]: any } {
2164
+ return {
2165
+ dingNotify: 'string',
2166
+ };
2167
+ }
2168
+
2169
+ constructor(map?: { [key: string]: any }) {
2170
+ super(map);
2171
+ }
2172
+ }
2173
+
2174
+ export class CreateEnterpriseTodoTaskResponseBodyDetailUrl extends $tea.Model {
2175
+ appUrl?: string;
2176
+ webUrl?: string;
2177
+ static names(): { [key: string]: string } {
2178
+ return {
2179
+ appUrl: 'appUrl',
2180
+ webUrl: 'webUrl',
2181
+ };
2182
+ }
2183
+
2184
+ static types(): { [key: string]: any } {
2185
+ return {
2186
+ appUrl: 'string',
2187
+ webUrl: 'string',
2188
+ };
2189
+ }
2190
+
2191
+ constructor(map?: { [key: string]: any }) {
2192
+ super(map);
2193
+ }
2194
+ }
2195
+
2196
+ export class CreateStandardTemplateRequestActions extends $tea.Model {
2197
+ actionGroup?: string;
2198
+ name?: string;
2199
+ needReason?: boolean;
2200
+ needReasonRequired?: boolean;
2201
+ order?: number;
2202
+ styleType?: number;
2203
+ static names(): { [key: string]: string } {
2204
+ return {
2205
+ actionGroup: 'actionGroup',
2206
+ name: 'name',
2207
+ needReason: 'needReason',
2208
+ needReasonRequired: 'needReasonRequired',
2209
+ order: 'order',
2210
+ styleType: 'styleType',
2211
+ };
2212
+ }
2213
+
2214
+ static types(): { [key: string]: any } {
2215
+ return {
2216
+ actionGroup: 'string',
2217
+ name: 'string',
2218
+ needReason: 'boolean',
2219
+ needReasonRequired: 'boolean',
2220
+ order: 'number',
2221
+ styleType: 'number',
2222
+ };
2223
+ }
2224
+
2225
+ constructor(map?: { [key: string]: any }) {
2226
+ super(map);
2227
+ }
2228
+ }
2229
+
2230
+ export class CreateStandardTemplateRequestService extends $tea.Model {
2231
+ callbackUrl?: string;
2232
+ static names(): { [key: string]: string } {
2233
+ return {
2234
+ callbackUrl: 'callbackUrl',
2235
+ };
2236
+ }
2237
+
2238
+ static types(): { [key: string]: any } {
2239
+ return {
2240
+ callbackUrl: 'string',
2241
+ };
2242
+ }
2243
+
2244
+ constructor(map?: { [key: string]: any }) {
2245
+ super(map);
2246
+ }
2247
+ }
2248
+
2249
+ export class CreateStandardTemplateResponseBodyActions extends $tea.Model {
2250
+ actionKey?: string;
2251
+ name?: string;
2252
+ needReason?: boolean;
2253
+ needReasonRequired?: boolean;
2254
+ order?: number;
2255
+ styleType?: number;
2256
+ static names(): { [key: string]: string } {
2257
+ return {
2258
+ actionKey: 'actionKey',
2259
+ name: 'name',
2260
+ needReason: 'needReason',
2261
+ needReasonRequired: 'needReasonRequired',
2262
+ order: 'order',
2263
+ styleType: 'styleType',
2264
+ };
2265
+ }
2266
+
2267
+ static types(): { [key: string]: any } {
2268
+ return {
2269
+ actionKey: 'string',
2270
+ name: 'string',
2271
+ needReason: 'boolean',
2272
+ needReasonRequired: 'boolean',
2273
+ order: 'number',
2274
+ styleType: 'number',
2275
+ };
2276
+ }
2277
+
2278
+ constructor(map?: { [key: string]: any }) {
2279
+ super(map);
2280
+ }
2281
+ }
2282
+
2283
+ export class GetCategorySourceConfigListResponseBodyConfigs extends $tea.Model {
2284
+ bizCategoryId?: string;
2285
+ bizCategoryName?: string;
2286
+ configId?: string;
2287
+ static names(): { [key: string]: string } {
2288
+ return {
2289
+ bizCategoryId: 'bizCategoryId',
2290
+ bizCategoryName: 'bizCategoryName',
2291
+ configId: 'configId',
2292
+ };
2293
+ }
2294
+
2295
+ static types(): { [key: string]: any } {
2296
+ return {
2297
+ bizCategoryId: 'string',
2298
+ bizCategoryName: 'string',
2299
+ configId: 'string',
2300
+ };
2301
+ }
2302
+
2303
+ constructor(map?: { [key: string]: any }) {
2304
+ super(map);
2305
+ }
2306
+ }
2307
+
2308
+ export class GetTemplateListResponseBodyDataActions extends $tea.Model {
2309
+ actionKey?: string;
2310
+ description?: string;
2311
+ name?: string;
2312
+ needReason?: boolean;
2313
+ needReasonRequired?: boolean;
2314
+ order?: number;
2315
+ styleType?: number;
2316
+ static names(): { [key: string]: string } {
2317
+ return {
2318
+ actionKey: 'actionKey',
2319
+ description: 'description',
2320
+ name: 'name',
2321
+ needReason: 'needReason',
2322
+ needReasonRequired: 'needReasonRequired',
2323
+ order: 'order',
2324
+ styleType: 'styleType',
2325
+ };
2326
+ }
2327
+
2328
+ static types(): { [key: string]: any } {
2329
+ return {
2330
+ actionKey: 'string',
2331
+ description: 'string',
2332
+ name: 'string',
2333
+ needReason: 'boolean',
2334
+ needReasonRequired: 'boolean',
2335
+ order: 'number',
2336
+ styleType: 'number',
2337
+ };
2338
+ }
2339
+
2340
+ constructor(map?: { [key: string]: any }) {
2341
+ super(map);
2342
+ }
2343
+ }
2344
+
2345
+ export class GetTemplateListResponseBodyData extends $tea.Model {
2346
+ actions?: GetTemplateListResponseBodyDataActions[];
2347
+ createTime?: number;
2348
+ creatorId?: string;
2349
+ description?: string;
2350
+ modifiedTime?: number;
2351
+ modifierId?: string;
2352
+ name?: string;
2353
+ templateKey?: string;
2354
+ static names(): { [key: string]: string } {
2355
+ return {
2356
+ actions: 'actions',
2357
+ createTime: 'createTime',
2358
+ creatorId: 'creatorId',
2359
+ description: 'description',
2360
+ modifiedTime: 'modifiedTime',
2361
+ modifierId: 'modifierId',
2362
+ name: 'name',
2363
+ templateKey: 'templateKey',
2364
+ };
2365
+ }
2366
+
2367
+ static types(): { [key: string]: any } {
2368
+ return {
2369
+ actions: { 'type': 'array', 'itemType': GetTemplateListResponseBodyDataActions },
2370
+ createTime: 'number',
2371
+ creatorId: 'string',
2372
+ description: 'string',
2373
+ modifiedTime: 'number',
2374
+ modifierId: 'string',
2375
+ name: 'string',
2376
+ templateKey: 'string',
2377
+ };
2378
+ }
2379
+
2380
+ constructor(map?: { [key: string]: any }) {
2381
+ super(map);
2382
+ }
2383
+ }
2384
+
2385
+ export class GetUserTaskListResponseBodyData extends $tea.Model {
2386
+ createdTime?: number;
2387
+ description?: string;
2388
+ done?: boolean;
2389
+ dueTime?: number;
2390
+ subject?: string;
2391
+ taskId?: string;
2392
+ static names(): { [key: string]: string } {
2393
+ return {
2394
+ createdTime: 'createdTime',
2395
+ description: 'description',
2396
+ done: 'done',
2397
+ dueTime: 'dueTime',
2398
+ subject: 'subject',
2399
+ taskId: 'taskId',
1705
2400
  };
1706
2401
  }
1707
2402
 
1708
2403
  static types(): { [key: string]: any } {
1709
2404
  return {
1710
- dingNotify: 'string',
2405
+ createdTime: 'number',
2406
+ description: 'string',
2407
+ done: 'boolean',
2408
+ dueTime: 'number',
2409
+ subject: 'string',
2410
+ taskId: 'string',
1711
2411
  };
1712
2412
  }
1713
2413
 
@@ -1716,20 +2416,23 @@ export class CreateEnterpriseTodoTaskRequestNotifyConfigs extends $tea.Model {
1716
2416
  }
1717
2417
  }
1718
2418
 
1719
- export class CreateEnterpriseTodoTaskResponseBodyDetailUrl extends $tea.Model {
1720
- appUrl?: string;
1721
- webUrl?: string;
2419
+ export class QueryTaskExecutionStatusResponseBodyData extends $tea.Model {
2420
+ done?: boolean;
2421
+ executorId?: string;
2422
+ finishDate?: number;
1722
2423
  static names(): { [key: string]: string } {
1723
2424
  return {
1724
- appUrl: 'appUrl',
1725
- webUrl: 'webUrl',
2425
+ done: 'done',
2426
+ executorId: 'executorId',
2427
+ finishDate: 'finishDate',
1726
2428
  };
1727
2429
  }
1728
2430
 
1729
2431
  static types(): { [key: string]: any } {
1730
2432
  return {
1731
- appUrl: 'string',
1732
- webUrl: 'string',
2433
+ done: 'boolean',
2434
+ executorId: 'string',
2435
+ finishDate: 'number',
1733
2436
  };
1734
2437
  }
1735
2438
 
@@ -1738,23 +2441,32 @@ export class CreateEnterpriseTodoTaskResponseBodyDetailUrl extends $tea.Model {
1738
2441
  }
1739
2442
  }
1740
2443
 
1741
- export class GetCategorySourceConfigListResponseBodyConfigs extends $tea.Model {
1742
- bizCategoryId?: string;
1743
- bizCategoryName?: string;
1744
- configId?: string;
2444
+ export class UpdateStandardTemplateRequestActions extends $tea.Model {
2445
+ actionGroup?: string;
2446
+ name?: string;
2447
+ needReason?: boolean;
2448
+ needReasonRequired?: boolean;
2449
+ order?: number;
2450
+ styleType?: number;
1745
2451
  static names(): { [key: string]: string } {
1746
2452
  return {
1747
- bizCategoryId: 'bizCategoryId',
1748
- bizCategoryName: 'bizCategoryName',
1749
- configId: 'configId',
2453
+ actionGroup: 'actionGroup',
2454
+ name: 'name',
2455
+ needReason: 'needReason',
2456
+ needReasonRequired: 'needReasonRequired',
2457
+ order: 'order',
2458
+ styleType: 'styleType',
1750
2459
  };
1751
2460
  }
1752
2461
 
1753
2462
  static types(): { [key: string]: any } {
1754
2463
  return {
1755
- bizCategoryId: 'string',
1756
- bizCategoryName: 'string',
1757
- configId: 'string',
2464
+ actionGroup: 'string',
2465
+ name: 'string',
2466
+ needReason: 'boolean',
2467
+ needReasonRequired: 'boolean',
2468
+ order: 'number',
2469
+ styleType: 'number',
1758
2470
  };
1759
2471
  }
1760
2472
 
@@ -1763,32 +2475,17 @@ export class GetCategorySourceConfigListResponseBodyConfigs extends $tea.Model {
1763
2475
  }
1764
2476
  }
1765
2477
 
1766
- export class GetUserTaskListResponseBodyData extends $tea.Model {
1767
- createdTime?: number;
1768
- description?: string;
1769
- done?: boolean;
1770
- dueTime?: number;
1771
- subject?: string;
1772
- taskId?: string;
2478
+ export class UpdateStandardTemplateRequestService extends $tea.Model {
2479
+ callbackUrl?: string;
1773
2480
  static names(): { [key: string]: string } {
1774
2481
  return {
1775
- createdTime: 'createdTime',
1776
- description: 'description',
1777
- done: 'done',
1778
- dueTime: 'dueTime',
1779
- subject: 'subject',
1780
- taskId: 'taskId',
2482
+ callbackUrl: 'callbackUrl',
1781
2483
  };
1782
2484
  }
1783
2485
 
1784
2486
  static types(): { [key: string]: any } {
1785
2487
  return {
1786
- createdTime: 'number',
1787
- description: 'string',
1788
- done: 'boolean',
1789
- dueTime: 'number',
1790
- subject: 'string',
1791
- taskId: 'string',
2488
+ callbackUrl: 'string',
1792
2489
  };
1793
2490
  }
1794
2491
 
@@ -1849,6 +2546,10 @@ export default class Client extends OpenApi {
1849
2546
  body["bizCategoryId"] = request.bizCategoryId;
1850
2547
  }
1851
2548
 
2549
+ if (!Util.isUnset(request.bizCreatedTime)) {
2550
+ body["bizCreatedTime"] = request.bizCreatedTime;
2551
+ }
2552
+
1852
2553
  if (!Util.isUnset(request.customFields)) {
1853
2554
  body["customFields"] = request.customFields;
1854
2555
  }
@@ -1893,6 +2594,10 @@ export default class Client extends OpenApi {
1893
2594
  body["subject"] = request.subject;
1894
2595
  }
1895
2596
 
2597
+ if (!Util.isUnset(request.toolbarTemplateKey)) {
2598
+ body["toolbarTemplateKey"] = request.toolbarTemplateKey;
2599
+ }
2600
+
1896
2601
  if (!Util.isUnset(request.type)) {
1897
2602
  body["type"] = request.type;
1898
2603
  }
@@ -2009,6 +2714,10 @@ export default class Client extends OpenApi {
2009
2714
  body["done"] = request.done;
2010
2715
  }
2011
2716
 
2717
+ if (!Util.isUnset(request.operatorId)) {
2718
+ body["operatorId"] = request.operatorId;
2719
+ }
2720
+
2012
2721
  if (!Util.isUnset(request.pageNumber)) {
2013
2722
  body["pageNumber"] = request.pageNumber;
2014
2723
  }
@@ -2071,6 +2780,10 @@ export default class Client extends OpenApi {
2071
2780
  async appUpdateTaskWithOptions(request: AppUpdateTaskRequest, headers: AppUpdateTaskHeaders, runtime: $Util.RuntimeOptions): Promise<AppUpdateTaskResponse> {
2072
2781
  Util.validateModel(request);
2073
2782
  let body : {[key: string ]: any} = { };
2783
+ if (!Util.isUnset(request.bizCreatedTime)) {
2784
+ body["bizCreatedTime"] = request.bizCreatedTime;
2785
+ }
2786
+
2074
2787
  if (!Util.isUnset(request.description)) {
2075
2788
  body["description"] = request.description;
2076
2789
  }
@@ -2099,6 +2812,10 @@ export default class Client extends OpenApi {
2099
2812
  body["taskId"] = request.taskId;
2100
2813
  }
2101
2814
 
2815
+ if (!Util.isUnset(request.toolbarTemplateKey)) {
2816
+ body["toolbarTemplateKey"] = request.toolbarTemplateKey;
2817
+ }
2818
+
2102
2819
  let realHeaders : {[key: string ]: string} = { };
2103
2820
  if (!Util.isUnset(headers.commonHeaders)) {
2104
2821
  realHeaders = headers.commonHeaders;
@@ -2302,6 +3019,76 @@ export default class Client extends OpenApi {
2302
3019
  return await this.createEnterpriseTodoTaskWithOptions(request, headers, runtime);
2303
3020
  }
2304
3021
 
3022
+ /**
3023
+ * 创建专属待办模板实例
3024
+ *
3025
+ * @param request - CreateStandardTemplateRequest
3026
+ * @param headers - CreateStandardTemplateHeaders
3027
+ * @param runtime - runtime options for this request RuntimeOptions
3028
+ * @returns CreateStandardTemplateResponse
3029
+ */
3030
+ async createStandardTemplateWithOptions(request: CreateStandardTemplateRequest, headers: CreateStandardTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<CreateStandardTemplateResponse> {
3031
+ Util.validateModel(request);
3032
+ let body : {[key: string ]: any} = { };
3033
+ if (!Util.isUnset(request.actions)) {
3034
+ body["actions"] = request.actions;
3035
+ }
3036
+
3037
+ if (!Util.isUnset(request.description)) {
3038
+ body["description"] = request.description;
3039
+ }
3040
+
3041
+ if (!Util.isUnset(request.name)) {
3042
+ body["name"] = request.name;
3043
+ }
3044
+
3045
+ if (!Util.isUnset(request.operatorId)) {
3046
+ body["operatorId"] = request.operatorId;
3047
+ }
3048
+
3049
+ if (!Util.isUnset(request.service)) {
3050
+ body["service"] = request.service;
3051
+ }
3052
+
3053
+ let realHeaders : {[key: string ]: string} = { };
3054
+ if (!Util.isUnset(headers.commonHeaders)) {
3055
+ realHeaders = headers.commonHeaders;
3056
+ }
3057
+
3058
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
3059
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
3060
+ }
3061
+
3062
+ let req = new $OpenApi.OpenApiRequest({
3063
+ headers: realHeaders,
3064
+ body: OpenApiUtil.parseToMap(body),
3065
+ });
3066
+ let params = new $OpenApi.Params({
3067
+ action: "CreateStandardTemplate",
3068
+ version: "todoEE_1.0",
3069
+ protocol: "HTTP",
3070
+ pathname: `/v1.0/todoEE/standards/templates`,
3071
+ method: "POST",
3072
+ authType: "AK",
3073
+ style: "ROA",
3074
+ reqBodyType: "none",
3075
+ bodyType: "json",
3076
+ });
3077
+ return $tea.cast<CreateStandardTemplateResponse>(await this.execute(params, req, runtime), new CreateStandardTemplateResponse({}));
3078
+ }
3079
+
3080
+ /**
3081
+ * 创建专属待办模板实例
3082
+ *
3083
+ * @param request - CreateStandardTemplateRequest
3084
+ * @returns CreateStandardTemplateResponse
3085
+ */
3086
+ async createStandardTemplate(request: CreateStandardTemplateRequest): Promise<CreateStandardTemplateResponse> {
3087
+ let runtime = new $Util.RuntimeOptions({ });
3088
+ let headers = new CreateStandardTemplateHeaders({ });
3089
+ return await this.createStandardTemplateWithOptions(request, headers, runtime);
3090
+ }
3091
+
2305
3092
  /**
2306
3093
  * 删除应用类目信息
2307
3094
  *
@@ -2420,9 +3207,9 @@ export default class Client extends OpenApi {
2420
3207
  */
2421
3208
  async getCategorySourceConfigListWithOptions(request: GetCategorySourceConfigListRequest, headers: GetCategorySourceConfigListHeaders, runtime: $Util.RuntimeOptions): Promise<GetCategorySourceConfigListResponse> {
2422
3209
  Util.validateModel(request);
2423
- let body : {[key: string ]: any} = { };
3210
+ let query : {[key: string ]: any} = { };
2424
3211
  if (!Util.isUnset(request.nextToken)) {
2425
- body["nextToken"] = request.nextToken;
3212
+ query["nextToken"] = request.nextToken;
2426
3213
  }
2427
3214
 
2428
3215
  let realHeaders : {[key: string ]: string} = { };
@@ -2436,7 +3223,7 @@ export default class Client extends OpenApi {
2436
3223
 
2437
3224
  let req = new $OpenApi.OpenApiRequest({
2438
3225
  headers: realHeaders,
2439
- body: OpenApiUtil.parseToMap(body),
3226
+ query: OpenApiUtil.query(query),
2440
3227
  });
2441
3228
  let params = new $OpenApi.Params({
2442
3229
  action: "GetCategorySourceConfigList",
@@ -2464,6 +3251,64 @@ export default class Client extends OpenApi {
2464
3251
  return await this.getCategorySourceConfigListWithOptions(request, headers, runtime);
2465
3252
  }
2466
3253
 
3254
+ /**
3255
+ * 查询创建的Template列表
3256
+ *
3257
+ * @param request - GetTemplateListRequest
3258
+ * @param headers - GetTemplateListHeaders
3259
+ * @param runtime - runtime options for this request RuntimeOptions
3260
+ * @returns GetTemplateListResponse
3261
+ */
3262
+ async getTemplateListWithOptions(request: GetTemplateListRequest, headers: GetTemplateListHeaders, runtime: $Util.RuntimeOptions): Promise<GetTemplateListResponse> {
3263
+ Util.validateModel(request);
3264
+ let body : {[key: string ]: any} = { };
3265
+ if (!Util.isUnset(request.pageNumber)) {
3266
+ body["pageNumber"] = request.pageNumber;
3267
+ }
3268
+
3269
+ if (!Util.isUnset(request.pageSize)) {
3270
+ body["pageSize"] = request.pageSize;
3271
+ }
3272
+
3273
+ let realHeaders : {[key: string ]: string} = { };
3274
+ if (!Util.isUnset(headers.commonHeaders)) {
3275
+ realHeaders = headers.commonHeaders;
3276
+ }
3277
+
3278
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
3279
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
3280
+ }
3281
+
3282
+ let req = new $OpenApi.OpenApiRequest({
3283
+ headers: realHeaders,
3284
+ body: OpenApiUtil.parseToMap(body),
3285
+ });
3286
+ let params = new $OpenApi.Params({
3287
+ action: "GetTemplateList",
3288
+ version: "todoEE_1.0",
3289
+ protocol: "HTTP",
3290
+ pathname: `/v1.0/todoEE/templates/list`,
3291
+ method: "POST",
3292
+ authType: "AK",
3293
+ style: "ROA",
3294
+ reqBodyType: "none",
3295
+ bodyType: "json",
3296
+ });
3297
+ return $tea.cast<GetTemplateListResponse>(await this.execute(params, req, runtime), new GetTemplateListResponse({}));
3298
+ }
3299
+
3300
+ /**
3301
+ * 查询创建的Template列表
3302
+ *
3303
+ * @param request - GetTemplateListRequest
3304
+ * @returns GetTemplateListResponse
3305
+ */
3306
+ async getTemplateList(request: GetTemplateListRequest): Promise<GetTemplateListResponse> {
3307
+ let runtime = new $Util.RuntimeOptions({ });
3308
+ let headers = new GetTemplateListHeaders({ });
3309
+ return await this.getTemplateListWithOptions(request, headers, runtime);
3310
+ }
3311
+
2467
3312
  /**
2468
3313
  * 查询用户待办列表
2469
3314
  *
@@ -2530,6 +3375,68 @@ export default class Client extends OpenApi {
2530
3375
  return await this.getUserTaskListWithOptions(request, headers, runtime);
2531
3376
  }
2532
3377
 
3378
+ /**
3379
+ * 查询任务所有执行人的完成状态
3380
+ *
3381
+ * @param request - QueryTaskExecutionStatusRequest
3382
+ * @param headers - QueryTaskExecutionStatusHeaders
3383
+ * @param runtime - runtime options for this request RuntimeOptions
3384
+ * @returns QueryTaskExecutionStatusResponse
3385
+ */
3386
+ async queryTaskExecutionStatusWithOptions(request: QueryTaskExecutionStatusRequest, headers: QueryTaskExecutionStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryTaskExecutionStatusResponse> {
3387
+ Util.validateModel(request);
3388
+ let query : {[key: string ]: any} = { };
3389
+ if (!Util.isUnset(request.pageNumber)) {
3390
+ query["pageNumber"] = request.pageNumber;
3391
+ }
3392
+
3393
+ if (!Util.isUnset(request.pageSize)) {
3394
+ query["pageSize"] = request.pageSize;
3395
+ }
3396
+
3397
+ if (!Util.isUnset(request.taskId)) {
3398
+ query["taskId"] = request.taskId;
3399
+ }
3400
+
3401
+ let realHeaders : {[key: string ]: string} = { };
3402
+ if (!Util.isUnset(headers.commonHeaders)) {
3403
+ realHeaders = headers.commonHeaders;
3404
+ }
3405
+
3406
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
3407
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
3408
+ }
3409
+
3410
+ let req = new $OpenApi.OpenApiRequest({
3411
+ headers: realHeaders,
3412
+ query: OpenApiUtil.query(query),
3413
+ });
3414
+ let params = new $OpenApi.Params({
3415
+ action: "QueryTaskExecutionStatus",
3416
+ version: "todoEE_1.0",
3417
+ protocol: "HTTP",
3418
+ pathname: `/v1.0/todoEE/apps/users/tasks/executionStatuses`,
3419
+ method: "POST",
3420
+ authType: "AK",
3421
+ style: "ROA",
3422
+ reqBodyType: "none",
3423
+ bodyType: "json",
3424
+ });
3425
+ return $tea.cast<QueryTaskExecutionStatusResponse>(await this.execute(params, req, runtime), new QueryTaskExecutionStatusResponse({}));
3426
+ }
3427
+
3428
+ /**
3429
+ * 查询任务所有执行人的完成状态
3430
+ *
3431
+ * @param request - QueryTaskExecutionStatusRequest
3432
+ * @returns QueryTaskExecutionStatusResponse
3433
+ */
3434
+ async queryTaskExecutionStatus(request: QueryTaskExecutionStatusRequest): Promise<QueryTaskExecutionStatusResponse> {
3435
+ let runtime = new $Util.RuntimeOptions({ });
3436
+ let headers = new QueryTaskExecutionStatusHeaders({ });
3437
+ return await this.queryTaskExecutionStatusWithOptions(request, headers, runtime);
3438
+ }
3439
+
2533
3440
  /**
2534
3441
  * 注册应用类目信息
2535
3442
  *
@@ -2654,6 +3561,72 @@ export default class Client extends OpenApi {
2654
3561
  return await this.updateCategorySourceConfigWithOptions(request, headers, runtime);
2655
3562
  }
2656
3563
 
3564
+ /**
3565
+ * 更新标准模板
3566
+ *
3567
+ * @param request - UpdateStandardTemplateRequest
3568
+ * @param headers - UpdateStandardTemplateHeaders
3569
+ * @param runtime - runtime options for this request RuntimeOptions
3570
+ * @returns UpdateStandardTemplateResponse
3571
+ */
3572
+ async updateStandardTemplateWithOptions(request: UpdateStandardTemplateRequest, headers: UpdateStandardTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateStandardTemplateResponse> {
3573
+ Util.validateModel(request);
3574
+ let body : {[key: string ]: any} = { };
3575
+ if (!Util.isUnset(request.actions)) {
3576
+ body["actions"] = request.actions;
3577
+ }
3578
+
3579
+ if (!Util.isUnset(request.operatorId)) {
3580
+ body["operatorId"] = request.operatorId;
3581
+ }
3582
+
3583
+ if (!Util.isUnset(request.service)) {
3584
+ body["service"] = request.service;
3585
+ }
3586
+
3587
+ if (!Util.isUnset(request.templateKey)) {
3588
+ body["templateKey"] = request.templateKey;
3589
+ }
3590
+
3591
+ let realHeaders : {[key: string ]: string} = { };
3592
+ if (!Util.isUnset(headers.commonHeaders)) {
3593
+ realHeaders = headers.commonHeaders;
3594
+ }
3595
+
3596
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
3597
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
3598
+ }
3599
+
3600
+ let req = new $OpenApi.OpenApiRequest({
3601
+ headers: realHeaders,
3602
+ body: OpenApiUtil.parseToMap(body),
3603
+ });
3604
+ let params = new $OpenApi.Params({
3605
+ action: "UpdateStandardTemplate",
3606
+ version: "todoEE_1.0",
3607
+ protocol: "HTTP",
3608
+ pathname: `/v1.0/todoEE/standards/templates/infos`,
3609
+ method: "PUT",
3610
+ authType: "AK",
3611
+ style: "ROA",
3612
+ reqBodyType: "none",
3613
+ bodyType: "json",
3614
+ });
3615
+ return $tea.cast<UpdateStandardTemplateResponse>(await this.execute(params, req, runtime), new UpdateStandardTemplateResponse({}));
3616
+ }
3617
+
3618
+ /**
3619
+ * 更新标准模板
3620
+ *
3621
+ * @param request - UpdateStandardTemplateRequest
3622
+ * @returns UpdateStandardTemplateResponse
3623
+ */
3624
+ async updateStandardTemplate(request: UpdateStandardTemplateRequest): Promise<UpdateStandardTemplateResponse> {
3625
+ let runtime = new $Util.RuntimeOptions({ });
3626
+ let headers = new UpdateStandardTemplateHeaders({ });
3627
+ return await this.updateStandardTemplateWithOptions(request, headers, runtime);
3628
+ }
3629
+
2657
3630
  /**
2658
3631
  * 更新待办信息
2659
3632
  *