@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
@@ -1143,7 +1143,6 @@ export default class Client extends OpenApi {
1143
1143
  super(config);
1144
1144
  let gatewayClient = new GatewayClient();
1145
1145
  this._spi = gatewayClient;
1146
- this._signatureAlgorithm = "v2";
1147
1146
  this._endpointRule = "";
1148
1147
  if (Util.empty(this._endpoint)) {
1149
1148
  this._endpoint = "api.dingtalk.com";
@@ -167,6 +167,7 @@ export class PediaWordsApproveHeaders extends $tea.Model {
167
167
  }
168
168
 
169
169
  export class PediaWordsApproveRequest extends $tea.Model {
170
+ aliDocHighLight?: boolean;
170
171
  /**
171
172
  * @example
172
173
  * 拒绝
@@ -208,6 +209,7 @@ export class PediaWordsApproveRequest extends $tea.Model {
208
209
  uuid?: number;
209
210
  static names(): { [key: string]: string } {
210
211
  return {
212
+ aliDocHighLight: 'aliDocHighLight',
211
213
  approveReason: 'approveReason',
212
214
  approveStatus: 'approveStatus',
213
215
  imHighLight: 'imHighLight',
@@ -219,6 +221,7 @@ export class PediaWordsApproveRequest extends $tea.Model {
219
221
 
220
222
  static types(): { [key: string]: any } {
221
223
  return {
224
+ aliDocHighLight: 'boolean',
222
225
  approveReason: 'string',
223
226
  approveStatus: 'string',
224
227
  imHighLight: 'boolean',
@@ -1768,6 +1771,10 @@ export default class Client extends OpenApi {
1768
1771
  async pediaWordsApproveWithOptions(request: PediaWordsApproveRequest, headers: PediaWordsApproveHeaders, runtime: $Util.RuntimeOptions): Promise<PediaWordsApproveResponse> {
1769
1772
  Util.validateModel(request);
1770
1773
  let body : {[key: string ]: any} = { };
1774
+ if (!Util.isUnset(request.aliDocHighLight)) {
1775
+ body["aliDocHighLight"] = request.aliDocHighLight;
1776
+ }
1777
+
1771
1778
  if (!Util.isUnset(request.approveReason)) {
1772
1779
  body["approveReason"] = request.approveReason;
1773
1780
  }
@@ -679,6 +679,16 @@ export class CreateProjectByTemplateHeaders extends $tea.Model {
679
679
  }
680
680
 
681
681
  export class CreateProjectByTemplateRequest extends $tea.Model {
682
+ /**
683
+ * @example
684
+ * 这是项目描述
685
+ */
686
+ description?: string;
687
+ /**
688
+ * @example
689
+ * 2021-08-13T07:36:50.318Z
690
+ */
691
+ endDate?: string;
682
692
  /**
683
693
  * @remarks
684
694
  * This parameter is required.
@@ -687,6 +697,16 @@ export class CreateProjectByTemplateRequest extends $tea.Model {
687
697
  * 项目1
688
698
  */
689
699
  name?: string;
700
+ /**
701
+ * @example
702
+ * 578cae9dbf83e5xxxx
703
+ */
704
+ programId?: string;
705
+ /**
706
+ * @example
707
+ * 2021-08-13T07:36:50.318Z
708
+ */
709
+ startDate?: string;
690
710
  /**
691
711
  * @remarks
692
712
  * This parameter is required.
@@ -695,17 +715,32 @@ export class CreateProjectByTemplateRequest extends $tea.Model {
695
715
  * 578cae9dbf83e5xxxx
696
716
  */
697
717
  templateId?: string;
718
+ /**
719
+ * @example
720
+ * project
721
+ */
722
+ visibility?: string;
698
723
  static names(): { [key: string]: string } {
699
724
  return {
725
+ description: 'description',
726
+ endDate: 'endDate',
700
727
  name: 'name',
728
+ programId: 'programId',
729
+ startDate: 'startDate',
701
730
  templateId: 'templateId',
731
+ visibility: 'visibility',
702
732
  };
703
733
  }
704
734
 
705
735
  static types(): { [key: string]: any } {
706
736
  return {
737
+ description: 'string',
738
+ endDate: 'string',
707
739
  name: 'string',
740
+ programId: 'string',
741
+ startDate: 'string',
708
742
  templateId: 'string',
743
+ visibility: 'string',
709
744
  };
710
745
  }
711
746
 
@@ -910,6 +945,7 @@ export class CreateTaskRequest extends $tea.Model {
910
945
  * 173xxxx
911
946
  */
912
947
  executorId?: string;
948
+ involveMembers?: string[];
913
949
  /**
914
950
  * @example
915
951
  * 我是一条任务备注
@@ -938,6 +974,11 @@ export class CreateTaskRequest extends $tea.Model {
938
974
  * 62c25e3b376exxxxxx
939
975
  */
940
976
  scenariofieldconfigId?: string;
977
+ /**
978
+ * @example
979
+ * 62c25e3b376exxxxxx
980
+ */
981
+ sprintId?: string;
941
982
  /**
942
983
  * @example
943
984
  * 62c25e3b376exxxxxx
@@ -948,6 +989,17 @@ export class CreateTaskRequest extends $tea.Model {
948
989
  * 2022-06-13T07:36:50.318Z
949
990
  */
950
991
  startDate?: string;
992
+ /**
993
+ * @example
994
+ * 1
995
+ */
996
+ storyPoint?: string;
997
+ tagIds?: string[];
998
+ /**
999
+ * @example
1000
+ * 62c25e3b376exxxxxx
1001
+ */
1002
+ tasklistId?: string;
951
1003
  /**
952
1004
  * @example
953
1005
  * members
@@ -959,13 +1011,18 @@ export class CreateTaskRequest extends $tea.Model {
959
1011
  customfields: 'customfields',
960
1012
  dueDate: 'dueDate',
961
1013
  executorId: 'executorId',
1014
+ involveMembers: 'involveMembers',
962
1015
  note: 'note',
963
1016
  parentTaskId: 'parentTaskId',
964
1017
  priority: 'priority',
965
1018
  projectId: 'projectId',
966
1019
  scenariofieldconfigId: 'scenariofieldconfigId',
1020
+ sprintId: 'sprintId',
967
1021
  stageId: 'stageId',
968
1022
  startDate: 'startDate',
1023
+ storyPoint: 'storyPoint',
1024
+ tagIds: 'tagIds',
1025
+ tasklistId: 'tasklistId',
969
1026
  visible: 'visible',
970
1027
  };
971
1028
  }
@@ -976,13 +1033,18 @@ export class CreateTaskRequest extends $tea.Model {
976
1033
  customfields: { 'type': 'array', 'itemType': CreateTaskRequestCustomfields },
977
1034
  dueDate: 'string',
978
1035
  executorId: 'string',
1036
+ involveMembers: { 'type': 'array', 'itemType': 'string' },
979
1037
  note: 'string',
980
1038
  parentTaskId: 'string',
981
1039
  priority: 'number',
982
1040
  projectId: 'string',
983
1041
  scenariofieldconfigId: 'string',
1042
+ sprintId: 'string',
984
1043
  stageId: 'string',
985
1044
  startDate: 'string',
1045
+ storyPoint: 'string',
1046
+ tagIds: { 'type': 'array', 'itemType': 'string' },
1047
+ tasklistId: 'string',
986
1048
  visible: 'string',
987
1049
  };
988
1050
  }
@@ -6731,6 +6793,16 @@ export class CreateProjectByTemplateResponseBodyResult extends $tea.Model {
6731
6793
  * 2022-08-01T09:50:31.275Z
6732
6794
  */
6733
6795
  created?: string;
6796
+ /**
6797
+ * @example
6798
+ * 这是项目描述
6799
+ */
6800
+ description?: string;
6801
+ /**
6802
+ * @example
6803
+ * 2021-08-13T07:36:50.318Z
6804
+ */
6805
+ endDate?: string;
6734
6806
  /**
6735
6807
  * @example
6736
6808
  * 62e7a1e721d20b5aexxx
@@ -6746,21 +6818,46 @@ export class CreateProjectByTemplateResponseBodyResult extends $tea.Model {
6746
6818
  * 项目1
6747
6819
  */
6748
6820
  name?: string;
6821
+ /**
6822
+ * @example
6823
+ * 578cae9dbf83e5xxxx
6824
+ */
6825
+ programId?: string;
6826
+ /**
6827
+ * @example
6828
+ * 2021-08-13T07:36:50.318Z
6829
+ */
6830
+ startDate?: string;
6831
+ /**
6832
+ * @example
6833
+ * project
6834
+ */
6835
+ visibility?: string;
6749
6836
  static names(): { [key: string]: string } {
6750
6837
  return {
6751
6838
  created: 'created',
6839
+ description: 'description',
6840
+ endDate: 'endDate',
6752
6841
  id: 'id',
6753
6842
  logo: 'logo',
6754
6843
  name: 'name',
6844
+ programId: 'programId',
6845
+ startDate: 'startDate',
6846
+ visibility: 'visibility',
6755
6847
  };
6756
6848
  }
6757
6849
 
6758
6850
  static types(): { [key: string]: any } {
6759
6851
  return {
6760
6852
  created: 'string',
6853
+ description: 'string',
6854
+ endDate: 'string',
6761
6855
  id: 'string',
6762
6856
  logo: 'string',
6763
6857
  name: 'string',
6858
+ programId: 'string',
6859
+ startDate: 'string',
6860
+ visibility: 'string',
6764
6861
  };
6765
6862
  }
6766
6863
 
@@ -7053,11 +7150,27 @@ export class CreateTaskResponseBodyResult extends $tea.Model {
7053
7150
  * 62c25e3b376ecxxxxxx
7054
7151
  */
7055
7152
  projectId?: string;
7153
+ /**
7154
+ * @example
7155
+ * 62c25e3b376exxxxxx
7156
+ */
7157
+ sprintId?: string;
7158
+ /**
7159
+ * @example
7160
+ * 1
7161
+ */
7162
+ storyPoint?: string;
7163
+ tagIds?: string[];
7056
7164
  /**
7057
7165
  * @example
7058
7166
  * 62a697c053c2ef5xxxxxx
7059
7167
  */
7060
7168
  taskId?: string;
7169
+ /**
7170
+ * @example
7171
+ * 62c25e3b376exxxxxx
7172
+ */
7173
+ tasklistId?: string;
7061
7174
  /**
7062
7175
  * @example
7063
7176
  * 2021-08-13T07:36:50.318Z
@@ -7075,7 +7188,11 @@ export class CreateTaskResponseBodyResult extends $tea.Model {
7075
7188
  note: 'note',
7076
7189
  priority: 'priority',
7077
7190
  projectId: 'projectId',
7191
+ sprintId: 'sprintId',
7192
+ storyPoint: 'storyPoint',
7193
+ tagIds: 'tagIds',
7078
7194
  taskId: 'taskId',
7195
+ tasklistId: 'tasklistId',
7079
7196
  updated: 'updated',
7080
7197
  };
7081
7198
  }
@@ -7092,7 +7209,11 @@ export class CreateTaskResponseBodyResult extends $tea.Model {
7092
7209
  note: 'string',
7093
7210
  priority: 'number',
7094
7211
  projectId: 'string',
7212
+ sprintId: 'string',
7213
+ storyPoint: 'string',
7214
+ tagIds: { 'type': 'array', 'itemType': 'string' },
7095
7215
  taskId: 'string',
7216
+ tasklistId: 'string',
7096
7217
  updated: 'string',
7097
7218
  };
7098
7219
  }
@@ -10743,14 +10864,34 @@ export default class Client extends OpenApi {
10743
10864
  async createProjectByTemplateWithOptions(userId: string, request: CreateProjectByTemplateRequest, headers: CreateProjectByTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<CreateProjectByTemplateResponse> {
10744
10865
  Util.validateModel(request);
10745
10866
  let body : {[key: string ]: any} = { };
10867
+ if (!Util.isUnset(request.description)) {
10868
+ body["description"] = request.description;
10869
+ }
10870
+
10871
+ if (!Util.isUnset(request.endDate)) {
10872
+ body["endDate"] = request.endDate;
10873
+ }
10874
+
10746
10875
  if (!Util.isUnset(request.name)) {
10747
10876
  body["name"] = request.name;
10748
10877
  }
10749
10878
 
10879
+ if (!Util.isUnset(request.programId)) {
10880
+ body["programId"] = request.programId;
10881
+ }
10882
+
10883
+ if (!Util.isUnset(request.startDate)) {
10884
+ body["startDate"] = request.startDate;
10885
+ }
10886
+
10750
10887
  if (!Util.isUnset(request.templateId)) {
10751
10888
  body["templateId"] = request.templateId;
10752
10889
  }
10753
10890
 
10891
+ if (!Util.isUnset(request.visibility)) {
10892
+ body["visibility"] = request.visibility;
10893
+ }
10894
+
10754
10895
  let realHeaders : {[key: string ]: string} = { };
10755
10896
  if (!Util.isUnset(headers.commonHeaders)) {
10756
10897
  realHeaders = headers.commonHeaders;
@@ -10883,6 +11024,10 @@ export default class Client extends OpenApi {
10883
11024
  body["executorId"] = request.executorId;
10884
11025
  }
10885
11026
 
11027
+ if (!Util.isUnset(request.involveMembers)) {
11028
+ body["involveMembers"] = request.involveMembers;
11029
+ }
11030
+
10886
11031
  if (!Util.isUnset(request.note)) {
10887
11032
  body["note"] = request.note;
10888
11033
  }
@@ -10903,6 +11048,10 @@ export default class Client extends OpenApi {
10903
11048
  body["scenariofieldconfigId"] = request.scenariofieldconfigId;
10904
11049
  }
10905
11050
 
11051
+ if (!Util.isUnset(request.sprintId)) {
11052
+ body["sprintId"] = request.sprintId;
11053
+ }
11054
+
10906
11055
  if (!Util.isUnset(request.stageId)) {
10907
11056
  body["stageId"] = request.stageId;
10908
11057
  }
@@ -10911,6 +11060,18 @@ export default class Client extends OpenApi {
10911
11060
  body["startDate"] = request.startDate;
10912
11061
  }
10913
11062
 
11063
+ if (!Util.isUnset(request.storyPoint)) {
11064
+ body["storyPoint"] = request.storyPoint;
11065
+ }
11066
+
11067
+ if (!Util.isUnset(request.tagIds)) {
11068
+ body["tagIds"] = request.tagIds;
11069
+ }
11070
+
11071
+ if (!Util.isUnset(request.tasklistId)) {
11072
+ body["tasklistId"] = request.tasklistId;
11073
+ }
11074
+
10914
11075
  if (!Util.isUnset(request.visible)) {
10915
11076
  body["visible"] = request.visible;
10916
11077
  }
@@ -341,6 +341,7 @@ export class CreateMeetingRoomRequest extends $tea.Model {
341
341
  * xxxIsvRoomId
342
342
  */
343
343
  isvRoomId?: string;
344
+ openReservation?: boolean;
344
345
  reservationAuthority?: CreateMeetingRoomRequestReservationAuthority;
345
346
  /**
346
347
  * @example
@@ -383,6 +384,7 @@ export class CreateMeetingRoomRequest extends $tea.Model {
383
384
  enableCycleReservation: 'enableCycleReservation',
384
385
  groupId: 'groupId',
385
386
  isvRoomId: 'isvRoomId',
387
+ openReservation: 'openReservation',
386
388
  reservationAuthority: 'reservationAuthority',
387
389
  roomCapacity: 'roomCapacity',
388
390
  roomLabelIds: 'roomLabelIds',
@@ -399,6 +401,7 @@ export class CreateMeetingRoomRequest extends $tea.Model {
399
401
  enableCycleReservation: 'boolean',
400
402
  groupId: 'number',
401
403
  isvRoomId: 'string',
404
+ openReservation: 'boolean',
402
405
  reservationAuthority: CreateMeetingRoomRequestReservationAuthority,
403
406
  roomCapacity: 'number',
404
407
  roomLabelIds: { 'type': 'array', 'itemType': 'number' },
@@ -2597,6 +2600,7 @@ export class UpdateMeetingRoomRequest extends $tea.Model {
2597
2600
  * xxxIsvRoomId
2598
2601
  */
2599
2602
  isvRoomId?: string;
2603
+ openReservation?: boolean;
2600
2604
  reservationAuthority?: UpdateMeetingRoomRequestReservationAuthority;
2601
2605
  /**
2602
2606
  * @example
@@ -2641,6 +2645,7 @@ export class UpdateMeetingRoomRequest extends $tea.Model {
2641
2645
  enableCycleReservation: 'enableCycleReservation',
2642
2646
  groupId: 'groupId',
2643
2647
  isvRoomId: 'isvRoomId',
2648
+ openReservation: 'openReservation',
2644
2649
  reservationAuthority: 'reservationAuthority',
2645
2650
  roomCapacity: 'roomCapacity',
2646
2651
  roomId: 'roomId',
@@ -2658,6 +2663,7 @@ export class UpdateMeetingRoomRequest extends $tea.Model {
2658
2663
  enableCycleReservation: 'boolean',
2659
2664
  groupId: 'number',
2660
2665
  isvRoomId: 'string',
2666
+ openReservation: 'boolean',
2661
2667
  reservationAuthority: UpdateMeetingRoomRequestReservationAuthority,
2662
2668
  roomCapacity: 'number',
2663
2669
  roomId: 'string',
@@ -3416,6 +3422,136 @@ export class QueryDevicePropertiesResponseBodyResult extends $tea.Model {
3416
3422
  }
3417
3423
  }
3418
3424
 
3425
+ export class QueryMeetingRoomResponseBodyResultExtensionConfigAdvanceReservation extends $tea.Model {
3426
+ /**
3427
+ * @example
3428
+ * 09:00
3429
+ */
3430
+ advanceBookTimeFormat?: string;
3431
+ /**
3432
+ * @example
3433
+ * 3
3434
+ */
3435
+ advanceReservationTime?: number;
3436
+ /**
3437
+ * @example
3438
+ * days
3439
+ */
3440
+ advanceReservationTimeUnit?: string;
3441
+ static names(): { [key: string]: string } {
3442
+ return {
3443
+ advanceBookTimeFormat: 'advanceBookTimeFormat',
3444
+ advanceReservationTime: 'advanceReservationTime',
3445
+ advanceReservationTimeUnit: 'advanceReservationTimeUnit',
3446
+ };
3447
+ }
3448
+
3449
+ static types(): { [key: string]: any } {
3450
+ return {
3451
+ advanceBookTimeFormat: 'string',
3452
+ advanceReservationTime: 'number',
3453
+ advanceReservationTimeUnit: 'string',
3454
+ };
3455
+ }
3456
+
3457
+ constructor(map?: { [key: string]: any }) {
3458
+ super(map);
3459
+ }
3460
+ }
3461
+
3462
+ export class QueryMeetingRoomResponseBodyResultExtensionConfigReservationCloseDetail extends $tea.Model {
3463
+ /**
3464
+ * @example
3465
+ * 因为装修临时关闭预定
3466
+ */
3467
+ closeReason?: string;
3468
+ /**
3469
+ * @example
3470
+ * nick
3471
+ */
3472
+ contactNick?: string;
3473
+ /**
3474
+ * @example
3475
+ * 2iPOLbpxxxxuwggiiqiPwiEiF
3476
+ */
3477
+ contactUnionId?: string;
3478
+ sendNotify?: boolean;
3479
+ /**
3480
+ * @example
3481
+ * 1740045030000
3482
+ */
3483
+ taskEndTime?: number;
3484
+ /**
3485
+ * @example
3486
+ * 1740463800000
3487
+ */
3488
+ taskStartTime?: number;
3489
+ static names(): { [key: string]: string } {
3490
+ return {
3491
+ closeReason: 'closeReason',
3492
+ contactNick: 'contactNick',
3493
+ contactUnionId: 'contactUnionId',
3494
+ sendNotify: 'sendNotify',
3495
+ taskEndTime: 'taskEndTime',
3496
+ taskStartTime: 'taskStartTime',
3497
+ };
3498
+ }
3499
+
3500
+ static types(): { [key: string]: any } {
3501
+ return {
3502
+ closeReason: 'string',
3503
+ contactNick: 'string',
3504
+ contactUnionId: 'string',
3505
+ sendNotify: 'boolean',
3506
+ taskEndTime: 'number',
3507
+ taskStartTime: 'number',
3508
+ };
3509
+ }
3510
+
3511
+ constructor(map?: { [key: string]: any }) {
3512
+ super(map);
3513
+ }
3514
+ }
3515
+
3516
+ export class QueryMeetingRoomResponseBodyResultExtensionConfig extends $tea.Model {
3517
+ advanceReservation?: QueryMeetingRoomResponseBodyResultExtensionConfigAdvanceReservation;
3518
+ /**
3519
+ * @example
3520
+ * 60
3521
+ */
3522
+ maxReservationTimeInterval?: number;
3523
+ /**
3524
+ * @example
3525
+ * 15
3526
+ */
3527
+ minReservationTimeInterval?: number;
3528
+ openReservation?: boolean;
3529
+ reservationCloseDetail?: QueryMeetingRoomResponseBodyResultExtensionConfigReservationCloseDetail;
3530
+ static names(): { [key: string]: string } {
3531
+ return {
3532
+ advanceReservation: 'advanceReservation',
3533
+ maxReservationTimeInterval: 'maxReservationTimeInterval',
3534
+ minReservationTimeInterval: 'minReservationTimeInterval',
3535
+ openReservation: 'openReservation',
3536
+ reservationCloseDetail: 'reservationCloseDetail',
3537
+ };
3538
+ }
3539
+
3540
+ static types(): { [key: string]: any } {
3541
+ return {
3542
+ advanceReservation: QueryMeetingRoomResponseBodyResultExtensionConfigAdvanceReservation,
3543
+ maxReservationTimeInterval: 'number',
3544
+ minReservationTimeInterval: 'number',
3545
+ openReservation: 'boolean',
3546
+ reservationCloseDetail: QueryMeetingRoomResponseBodyResultExtensionConfigReservationCloseDetail,
3547
+ };
3548
+ }
3549
+
3550
+ constructor(map?: { [key: string]: any }) {
3551
+ super(map);
3552
+ }
3553
+ }
3554
+
3419
3555
  export class QueryMeetingRoomResponseBodyResultReservationAuthorityAuthorizedMembers extends $tea.Model {
3420
3556
  /**
3421
3557
  * @example
@@ -3569,6 +3705,7 @@ export class QueryMeetingRoomResponseBodyResult extends $tea.Model {
3569
3705
  corpId?: string;
3570
3706
  deviceUnionIds?: string[];
3571
3707
  enableCycleReservation?: boolean;
3708
+ extensionConfig?: QueryMeetingRoomResponseBodyResultExtensionConfig;
3572
3709
  /**
3573
3710
  * @example
3574
3711
  * xxxIsvRoomId
@@ -3618,6 +3755,7 @@ export class QueryMeetingRoomResponseBodyResult extends $tea.Model {
3618
3755
  corpId: 'corpId',
3619
3756
  deviceUnionIds: 'deviceUnionIds',
3620
3757
  enableCycleReservation: 'enableCycleReservation',
3758
+ extensionConfig: 'extensionConfig',
3621
3759
  isvRoomId: 'isvRoomId',
3622
3760
  reservationAuthority: 'reservationAuthority',
3623
3761
  roomCapacity: 'roomCapacity',
@@ -3638,6 +3776,7 @@ export class QueryMeetingRoomResponseBodyResult extends $tea.Model {
3638
3776
  corpId: 'string',
3639
3777
  deviceUnionIds: { 'type': 'array', 'itemType': 'string' },
3640
3778
  enableCycleReservation: 'boolean',
3779
+ extensionConfig: QueryMeetingRoomResponseBodyResultExtensionConfig,
3641
3780
  isvRoomId: 'string',
3642
3781
  reservationAuthority: QueryMeetingRoomResponseBodyResultReservationAuthority,
3643
3782
  roomCapacity: 'number',
@@ -4573,6 +4712,10 @@ export default class Client extends OpenApi {
4573
4712
  body["isvRoomId"] = request.isvRoomId;
4574
4713
  }
4575
4714
 
4715
+ if (!Util.isUnset(request.openReservation)) {
4716
+ body["openReservation"] = request.openReservation;
4717
+ }
4718
+
4576
4719
  if (!Util.isUnset(request.reservationAuthority)) {
4577
4720
  body["reservationAuthority"] = request.reservationAuthority;
4578
4721
  }
@@ -5889,6 +6032,10 @@ export default class Client extends OpenApi {
5889
6032
  body["isvRoomId"] = request.isvRoomId;
5890
6033
  }
5891
6034
 
6035
+ if (!Util.isUnset(request.openReservation)) {
6036
+ body["openReservation"] = request.openReservation;
6037
+ }
6038
+
5892
6039
  if (!Util.isUnset(request.reservationAuthority)) {
5893
6040
  body["reservationAuthority"] = request.reservationAuthority;
5894
6041
  }