@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21

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
@@ -0,0 +1,1871 @@
1
+ // This file is auto-generated, don't edit it
2
+ /**
3
+ */
4
+ import Util, * as $Util from '@alicloud/tea-util';
5
+ import GatewayClient from '@alicloud/gateway-dingtalk';
6
+ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
7
+ import OpenApiUtil from '@alicloud/openapi-util';
8
+ import * as $tea from '@alicloud/tea-typescript';
9
+
10
+ export class BatchGetMinutesDetailsHeaders extends $tea.Model {
11
+ commonHeaders?: { [key: string]: string };
12
+ xAcsDingtalkAccessToken?: string;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ commonHeaders: 'commonHeaders',
16
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23
+ xAcsDingtalkAccessToken: 'string',
24
+ };
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class BatchGetMinutesDetailsRequest extends $tea.Model {
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ */
37
+ taskUuids?: string[];
38
+ /**
39
+ * @remarks
40
+ * This parameter is required.
41
+ */
42
+ unionId?: string;
43
+ static names(): { [key: string]: string } {
44
+ return {
45
+ taskUuids: 'taskUuids',
46
+ unionId: 'unionId',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ taskUuids: { 'type': 'array', 'itemType': 'string' },
53
+ unionId: 'string',
54
+ };
55
+ }
56
+
57
+ constructor(map?: { [key: string]: any }) {
58
+ super(map);
59
+ }
60
+ }
61
+
62
+ export class BatchGetMinutesDetailsResponseBody extends $tea.Model {
63
+ minutesDetails?: BatchGetMinutesDetailsResponseBodyMinutesDetails[];
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ minutesDetails: 'minutesDetails',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ minutesDetails: { 'type': 'array', 'itemType': BatchGetMinutesDetailsResponseBodyMinutesDetails },
73
+ };
74
+ }
75
+
76
+ constructor(map?: { [key: string]: any }) {
77
+ super(map);
78
+ }
79
+ }
80
+
81
+ export class BatchGetMinutesDetailsResponse extends $tea.Model {
82
+ headers?: { [key: string]: string };
83
+ statusCode?: number;
84
+ body?: BatchGetMinutesDetailsResponseBody;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ headers: 'headers',
88
+ statusCode: 'statusCode',
89
+ body: 'body',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
96
+ statusCode: 'number',
97
+ body: BatchGetMinutesDetailsResponseBody,
98
+ };
99
+ }
100
+
101
+ constructor(map?: { [key: string]: any }) {
102
+ super(map);
103
+ }
104
+ }
105
+
106
+ export class DeleteMinutesHeaders extends $tea.Model {
107
+ commonHeaders?: { [key: string]: string };
108
+ xAcsDingtalkAccessToken?: string;
109
+ static names(): { [key: string]: string } {
110
+ return {
111
+ commonHeaders: 'commonHeaders',
112
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
113
+ };
114
+ }
115
+
116
+ static types(): { [key: string]: any } {
117
+ return {
118
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
119
+ xAcsDingtalkAccessToken: 'string',
120
+ };
121
+ }
122
+
123
+ constructor(map?: { [key: string]: any }) {
124
+ super(map);
125
+ }
126
+ }
127
+
128
+ export class DeleteMinutesRequest extends $tea.Model {
129
+ /**
130
+ * @remarks
131
+ * This parameter is required.
132
+ */
133
+ unionId?: string;
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ unionId: 'unionId',
137
+ };
138
+ }
139
+
140
+ static types(): { [key: string]: any } {
141
+ return {
142
+ unionId: 'string',
143
+ };
144
+ }
145
+
146
+ constructor(map?: { [key: string]: any }) {
147
+ super(map);
148
+ }
149
+ }
150
+
151
+ export class DeleteMinutesResponseBody extends $tea.Model {
152
+ taskUuid?: string;
153
+ static names(): { [key: string]: string } {
154
+ return {
155
+ taskUuid: 'taskUuid',
156
+ };
157
+ }
158
+
159
+ static types(): { [key: string]: any } {
160
+ return {
161
+ taskUuid: 'string',
162
+ };
163
+ }
164
+
165
+ constructor(map?: { [key: string]: any }) {
166
+ super(map);
167
+ }
168
+ }
169
+
170
+ export class DeleteMinutesResponse extends $tea.Model {
171
+ headers?: { [key: string]: string };
172
+ statusCode?: number;
173
+ body?: DeleteMinutesResponseBody;
174
+ static names(): { [key: string]: string } {
175
+ return {
176
+ headers: 'headers',
177
+ statusCode: 'statusCode',
178
+ body: 'body',
179
+ };
180
+ }
181
+
182
+ static types(): { [key: string]: any } {
183
+ return {
184
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
185
+ statusCode: 'number',
186
+ body: DeleteMinutesResponseBody,
187
+ };
188
+ }
189
+
190
+ constructor(map?: { [key: string]: any }) {
191
+ super(map);
192
+ }
193
+ }
194
+
195
+ export class OpenQueryMinutesSummaryHeaders extends $tea.Model {
196
+ commonHeaders?: { [key: string]: string };
197
+ xAcsDingtalkAccessToken?: string;
198
+ static names(): { [key: string]: string } {
199
+ return {
200
+ commonHeaders: 'commonHeaders',
201
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
202
+ };
203
+ }
204
+
205
+ static types(): { [key: string]: any } {
206
+ return {
207
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
208
+ xAcsDingtalkAccessToken: 'string',
209
+ };
210
+ }
211
+
212
+ constructor(map?: { [key: string]: any }) {
213
+ super(map);
214
+ }
215
+ }
216
+
217
+ export class OpenQueryMinutesSummaryRequest extends $tea.Model {
218
+ /**
219
+ * @remarks
220
+ * This parameter is required.
221
+ */
222
+ taskUuid?: string;
223
+ /**
224
+ * @remarks
225
+ * This parameter is required.
226
+ */
227
+ unionId?: string;
228
+ static names(): { [key: string]: string } {
229
+ return {
230
+ taskUuid: 'taskUuid',
231
+ unionId: 'unionId',
232
+ };
233
+ }
234
+
235
+ static types(): { [key: string]: any } {
236
+ return {
237
+ taskUuid: 'string',
238
+ unionId: 'string',
239
+ };
240
+ }
241
+
242
+ constructor(map?: { [key: string]: any }) {
243
+ super(map);
244
+ }
245
+ }
246
+
247
+ export class OpenQueryMinutesSummaryResponseBody extends $tea.Model {
248
+ fullSummary?: string;
249
+ static names(): { [key: string]: string } {
250
+ return {
251
+ fullSummary: 'fullSummary',
252
+ };
253
+ }
254
+
255
+ static types(): { [key: string]: any } {
256
+ return {
257
+ fullSummary: 'string',
258
+ };
259
+ }
260
+
261
+ constructor(map?: { [key: string]: any }) {
262
+ super(map);
263
+ }
264
+ }
265
+
266
+ export class OpenQueryMinutesSummaryResponse extends $tea.Model {
267
+ headers?: { [key: string]: string };
268
+ statusCode?: number;
269
+ body?: OpenQueryMinutesSummaryResponseBody;
270
+ static names(): { [key: string]: string } {
271
+ return {
272
+ headers: 'headers',
273
+ statusCode: 'statusCode',
274
+ body: 'body',
275
+ };
276
+ }
277
+
278
+ static types(): { [key: string]: any } {
279
+ return {
280
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
281
+ statusCode: 'number',
282
+ body: OpenQueryMinutesSummaryResponseBody,
283
+ };
284
+ }
285
+
286
+ constructor(map?: { [key: string]: any }) {
287
+ super(map);
288
+ }
289
+ }
290
+
291
+ export class QueryCreateMinutesListHeaders extends $tea.Model {
292
+ commonHeaders?: { [key: string]: string };
293
+ xAcsDingtalkAccessToken?: string;
294
+ static names(): { [key: string]: string } {
295
+ return {
296
+ commonHeaders: 'commonHeaders',
297
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
298
+ };
299
+ }
300
+
301
+ static types(): { [key: string]: any } {
302
+ return {
303
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
304
+ xAcsDingtalkAccessToken: 'string',
305
+ };
306
+ }
307
+
308
+ constructor(map?: { [key: string]: any }) {
309
+ super(map);
310
+ }
311
+ }
312
+
313
+ export class QueryCreateMinutesListRequest extends $tea.Model {
314
+ /**
315
+ * @remarks
316
+ * This parameter is required.
317
+ */
318
+ maxResults?: number;
319
+ nextToken?: string;
320
+ /**
321
+ * @remarks
322
+ * This parameter is required.
323
+ */
324
+ unionId?: string;
325
+ static names(): { [key: string]: string } {
326
+ return {
327
+ maxResults: 'maxResults',
328
+ nextToken: 'nextToken',
329
+ unionId: 'unionId',
330
+ };
331
+ }
332
+
333
+ static types(): { [key: string]: any } {
334
+ return {
335
+ maxResults: 'number',
336
+ nextToken: 'string',
337
+ unionId: 'string',
338
+ };
339
+ }
340
+
341
+ constructor(map?: { [key: string]: any }) {
342
+ super(map);
343
+ }
344
+ }
345
+
346
+ export class QueryCreateMinutesListResponseBody extends $tea.Model {
347
+ hasNext?: boolean;
348
+ minutesDetails?: QueryCreateMinutesListResponseBodyMinutesDetails[];
349
+ nextToken?: string;
350
+ static names(): { [key: string]: string } {
351
+ return {
352
+ hasNext: 'hasNext',
353
+ minutesDetails: 'minutesDetails',
354
+ nextToken: 'nextToken',
355
+ };
356
+ }
357
+
358
+ static types(): { [key: string]: any } {
359
+ return {
360
+ hasNext: 'boolean',
361
+ minutesDetails: { 'type': 'array', 'itemType': QueryCreateMinutesListResponseBodyMinutesDetails },
362
+ nextToken: 'string',
363
+ };
364
+ }
365
+
366
+ constructor(map?: { [key: string]: any }) {
367
+ super(map);
368
+ }
369
+ }
370
+
371
+ export class QueryCreateMinutesListResponse extends $tea.Model {
372
+ headers?: { [key: string]: string };
373
+ statusCode?: number;
374
+ body?: QueryCreateMinutesListResponseBody;
375
+ static names(): { [key: string]: string } {
376
+ return {
377
+ headers: 'headers',
378
+ statusCode: 'statusCode',
379
+ body: 'body',
380
+ };
381
+ }
382
+
383
+ static types(): { [key: string]: any } {
384
+ return {
385
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
386
+ statusCode: 'number',
387
+ body: QueryCreateMinutesListResponseBody,
388
+ };
389
+ }
390
+
391
+ constructor(map?: { [key: string]: any }) {
392
+ super(map);
393
+ }
394
+ }
395
+
396
+ export class QueryMinutesPlayInfoHeaders extends $tea.Model {
397
+ commonHeaders?: { [key: string]: string };
398
+ xAcsDingtalkAccessToken?: string;
399
+ static names(): { [key: string]: string } {
400
+ return {
401
+ commonHeaders: 'commonHeaders',
402
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
403
+ };
404
+ }
405
+
406
+ static types(): { [key: string]: any } {
407
+ return {
408
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
409
+ xAcsDingtalkAccessToken: 'string',
410
+ };
411
+ }
412
+
413
+ constructor(map?: { [key: string]: any }) {
414
+ super(map);
415
+ }
416
+ }
417
+
418
+ export class QueryMinutesPlayInfoRequest extends $tea.Model {
419
+ /**
420
+ * @remarks
421
+ * This parameter is required.
422
+ */
423
+ unionId?: string;
424
+ static names(): { [key: string]: string } {
425
+ return {
426
+ unionId: 'unionId',
427
+ };
428
+ }
429
+
430
+ static types(): { [key: string]: any } {
431
+ return {
432
+ unionId: 'string',
433
+ };
434
+ }
435
+
436
+ constructor(map?: { [key: string]: any }) {
437
+ super(map);
438
+ }
439
+ }
440
+
441
+ export class QueryMinutesPlayInfoResponseBody extends $tea.Model {
442
+ playInfo?: QueryMinutesPlayInfoResponseBodyPlayInfo;
443
+ static names(): { [key: string]: string } {
444
+ return {
445
+ playInfo: 'playInfo',
446
+ };
447
+ }
448
+
449
+ static types(): { [key: string]: any } {
450
+ return {
451
+ playInfo: QueryMinutesPlayInfoResponseBodyPlayInfo,
452
+ };
453
+ }
454
+
455
+ constructor(map?: { [key: string]: any }) {
456
+ super(map);
457
+ }
458
+ }
459
+
460
+ export class QueryMinutesPlayInfoResponse extends $tea.Model {
461
+ headers?: { [key: string]: string };
462
+ statusCode?: number;
463
+ body?: QueryMinutesPlayInfoResponseBody;
464
+ static names(): { [key: string]: string } {
465
+ return {
466
+ headers: 'headers',
467
+ statusCode: 'statusCode',
468
+ body: 'body',
469
+ };
470
+ }
471
+
472
+ static types(): { [key: string]: any } {
473
+ return {
474
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
475
+ statusCode: 'number',
476
+ body: QueryMinutesPlayInfoResponseBody,
477
+ };
478
+ }
479
+
480
+ constructor(map?: { [key: string]: any }) {
481
+ super(map);
482
+ }
483
+ }
484
+
485
+ export class QueryMinutesShareListHeaders extends $tea.Model {
486
+ commonHeaders?: { [key: string]: string };
487
+ xAcsDingtalkAccessToken?: string;
488
+ static names(): { [key: string]: string } {
489
+ return {
490
+ commonHeaders: 'commonHeaders',
491
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
492
+ };
493
+ }
494
+
495
+ static types(): { [key: string]: any } {
496
+ return {
497
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
498
+ xAcsDingtalkAccessToken: 'string',
499
+ };
500
+ }
501
+
502
+ constructor(map?: { [key: string]: any }) {
503
+ super(map);
504
+ }
505
+ }
506
+
507
+ export class QueryMinutesShareListRequest extends $tea.Model {
508
+ /**
509
+ * @remarks
510
+ * This parameter is required.
511
+ */
512
+ maxResults?: number;
513
+ nextToken?: string;
514
+ scene?: string;
515
+ /**
516
+ * @remarks
517
+ * This parameter is required.
518
+ */
519
+ unionId?: string;
520
+ static names(): { [key: string]: string } {
521
+ return {
522
+ maxResults: 'maxResults',
523
+ nextToken: 'nextToken',
524
+ scene: 'scene',
525
+ unionId: 'unionId',
526
+ };
527
+ }
528
+
529
+ static types(): { [key: string]: any } {
530
+ return {
531
+ maxResults: 'number',
532
+ nextToken: 'string',
533
+ scene: 'string',
534
+ unionId: 'string',
535
+ };
536
+ }
537
+
538
+ constructor(map?: { [key: string]: any }) {
539
+ super(map);
540
+ }
541
+ }
542
+
543
+ export class QueryMinutesShareListResponseBody extends $tea.Model {
544
+ hasNext?: boolean;
545
+ minutesDetails?: QueryMinutesShareListResponseBodyMinutesDetails[];
546
+ nextToken?: string;
547
+ static names(): { [key: string]: string } {
548
+ return {
549
+ hasNext: 'hasNext',
550
+ minutesDetails: 'minutesDetails',
551
+ nextToken: 'nextToken',
552
+ };
553
+ }
554
+
555
+ static types(): { [key: string]: any } {
556
+ return {
557
+ hasNext: 'boolean',
558
+ minutesDetails: { 'type': 'array', 'itemType': QueryMinutesShareListResponseBodyMinutesDetails },
559
+ nextToken: 'string',
560
+ };
561
+ }
562
+
563
+ constructor(map?: { [key: string]: any }) {
564
+ super(map);
565
+ }
566
+ }
567
+
568
+ export class QueryMinutesShareListResponse extends $tea.Model {
569
+ headers?: { [key: string]: string };
570
+ statusCode?: number;
571
+ body?: QueryMinutesShareListResponseBody;
572
+ static names(): { [key: string]: string } {
573
+ return {
574
+ headers: 'headers',
575
+ statusCode: 'statusCode',
576
+ body: 'body',
577
+ };
578
+ }
579
+
580
+ static types(): { [key: string]: any } {
581
+ return {
582
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
583
+ statusCode: 'number',
584
+ body: QueryMinutesShareListResponseBody,
585
+ };
586
+ }
587
+
588
+ constructor(map?: { [key: string]: any }) {
589
+ super(map);
590
+ }
591
+ }
592
+
593
+ export class QueryMinutesStatusHeaders extends $tea.Model {
594
+ commonHeaders?: { [key: string]: string };
595
+ xAcsDingtalkAccessToken?: string;
596
+ static names(): { [key: string]: string } {
597
+ return {
598
+ commonHeaders: 'commonHeaders',
599
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
600
+ };
601
+ }
602
+
603
+ static types(): { [key: string]: any } {
604
+ return {
605
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
606
+ xAcsDingtalkAccessToken: 'string',
607
+ };
608
+ }
609
+
610
+ constructor(map?: { [key: string]: any }) {
611
+ super(map);
612
+ }
613
+ }
614
+
615
+ export class QueryMinutesStatusRequest extends $tea.Model {
616
+ /**
617
+ * @remarks
618
+ * This parameter is required.
619
+ */
620
+ unionId?: string;
621
+ static names(): { [key: string]: string } {
622
+ return {
623
+ unionId: 'unionId',
624
+ };
625
+ }
626
+
627
+ static types(): { [key: string]: any } {
628
+ return {
629
+ unionId: 'string',
630
+ };
631
+ }
632
+
633
+ constructor(map?: { [key: string]: any }) {
634
+ super(map);
635
+ }
636
+ }
637
+
638
+ export class QueryMinutesStatusResponseBody extends $tea.Model {
639
+ status?: number;
640
+ static names(): { [key: string]: string } {
641
+ return {
642
+ status: 'status',
643
+ };
644
+ }
645
+
646
+ static types(): { [key: string]: any } {
647
+ return {
648
+ status: 'number',
649
+ };
650
+ }
651
+
652
+ constructor(map?: { [key: string]: any }) {
653
+ super(map);
654
+ }
655
+ }
656
+
657
+ export class QueryMinutesStatusResponse extends $tea.Model {
658
+ headers?: { [key: string]: string };
659
+ statusCode?: number;
660
+ body?: QueryMinutesStatusResponseBody;
661
+ static names(): { [key: string]: string } {
662
+ return {
663
+ headers: 'headers',
664
+ statusCode: 'statusCode',
665
+ body: 'body',
666
+ };
667
+ }
668
+
669
+ static types(): { [key: string]: any } {
670
+ return {
671
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
672
+ statusCode: 'number',
673
+ body: QueryMinutesStatusResponseBody,
674
+ };
675
+ }
676
+
677
+ constructor(map?: { [key: string]: any }) {
678
+ super(map);
679
+ }
680
+ }
681
+
682
+ export class QueryMinutesTextHeaders extends $tea.Model {
683
+ commonHeaders?: { [key: string]: string };
684
+ xAcsDingtalkAccessToken?: string;
685
+ static names(): { [key: string]: string } {
686
+ return {
687
+ commonHeaders: 'commonHeaders',
688
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
689
+ };
690
+ }
691
+
692
+ static types(): { [key: string]: any } {
693
+ return {
694
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
695
+ xAcsDingtalkAccessToken: 'string',
696
+ };
697
+ }
698
+
699
+ constructor(map?: { [key: string]: any }) {
700
+ super(map);
701
+ }
702
+ }
703
+
704
+ export class QueryMinutesTextRequest extends $tea.Model {
705
+ direction?: number;
706
+ maxResults?: number;
707
+ nextToken?: string;
708
+ /**
709
+ * @remarks
710
+ * This parameter is required.
711
+ */
712
+ unionId?: string;
713
+ static names(): { [key: string]: string } {
714
+ return {
715
+ direction: 'direction',
716
+ maxResults: 'maxResults',
717
+ nextToken: 'nextToken',
718
+ unionId: 'unionId',
719
+ };
720
+ }
721
+
722
+ static types(): { [key: string]: any } {
723
+ return {
724
+ direction: 'number',
725
+ maxResults: 'number',
726
+ nextToken: 'string',
727
+ unionId: 'string',
728
+ };
729
+ }
730
+
731
+ constructor(map?: { [key: string]: any }) {
732
+ super(map);
733
+ }
734
+ }
735
+
736
+ export class QueryMinutesTextResponseBody extends $tea.Model {
737
+ hasNext?: boolean;
738
+ nextToken?: string;
739
+ paragraphList?: QueryMinutesTextResponseBodyParagraphList[];
740
+ static names(): { [key: string]: string } {
741
+ return {
742
+ hasNext: 'hasNext',
743
+ nextToken: 'nextToken',
744
+ paragraphList: 'paragraphList',
745
+ };
746
+ }
747
+
748
+ static types(): { [key: string]: any } {
749
+ return {
750
+ hasNext: 'boolean',
751
+ nextToken: 'string',
752
+ paragraphList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphList },
753
+ };
754
+ }
755
+
756
+ constructor(map?: { [key: string]: any }) {
757
+ super(map);
758
+ }
759
+ }
760
+
761
+ export class QueryMinutesTextResponse extends $tea.Model {
762
+ headers?: { [key: string]: string };
763
+ statusCode?: number;
764
+ body?: QueryMinutesTextResponseBody;
765
+ static names(): { [key: string]: string } {
766
+ return {
767
+ headers: 'headers',
768
+ statusCode: 'statusCode',
769
+ body: 'body',
770
+ };
771
+ }
772
+
773
+ static types(): { [key: string]: any } {
774
+ return {
775
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
776
+ statusCode: 'number',
777
+ body: QueryMinutesTextResponseBody,
778
+ };
779
+ }
780
+
781
+ constructor(map?: { [key: string]: any }) {
782
+ super(map);
783
+ }
784
+ }
785
+
786
+ export class QueryUploadVideoPlayInfoHeaders extends $tea.Model {
787
+ commonHeaders?: { [key: string]: string };
788
+ xAcsDingtalkAccessToken?: string;
789
+ static names(): { [key: string]: string } {
790
+ return {
791
+ commonHeaders: 'commonHeaders',
792
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
793
+ };
794
+ }
795
+
796
+ static types(): { [key: string]: any } {
797
+ return {
798
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
799
+ xAcsDingtalkAccessToken: 'string',
800
+ };
801
+ }
802
+
803
+ constructor(map?: { [key: string]: any }) {
804
+ super(map);
805
+ }
806
+ }
807
+
808
+ export class QueryUploadVideoPlayInfoRequest extends $tea.Model {
809
+ /**
810
+ * @remarks
811
+ * This parameter is required.
812
+ */
813
+ unionId?: string;
814
+ static names(): { [key: string]: string } {
815
+ return {
816
+ unionId: 'unionId',
817
+ };
818
+ }
819
+
820
+ static types(): { [key: string]: any } {
821
+ return {
822
+ unionId: 'string',
823
+ };
824
+ }
825
+
826
+ constructor(map?: { [key: string]: any }) {
827
+ super(map);
828
+ }
829
+ }
830
+
831
+ export class QueryUploadVideoPlayInfoResponseBody extends $tea.Model {
832
+ playInfo?: QueryUploadVideoPlayInfoResponseBodyPlayInfo;
833
+ static names(): { [key: string]: string } {
834
+ return {
835
+ playInfo: 'playInfo',
836
+ };
837
+ }
838
+
839
+ static types(): { [key: string]: any } {
840
+ return {
841
+ playInfo: QueryUploadVideoPlayInfoResponseBodyPlayInfo,
842
+ };
843
+ }
844
+
845
+ constructor(map?: { [key: string]: any }) {
846
+ super(map);
847
+ }
848
+ }
849
+
850
+ export class QueryUploadVideoPlayInfoResponse extends $tea.Model {
851
+ headers?: { [key: string]: string };
852
+ statusCode?: number;
853
+ body?: QueryUploadVideoPlayInfoResponseBody;
854
+ static names(): { [key: string]: string } {
855
+ return {
856
+ headers: 'headers',
857
+ statusCode: 'statusCode',
858
+ body: 'body',
859
+ };
860
+ }
861
+
862
+ static types(): { [key: string]: any } {
863
+ return {
864
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
865
+ statusCode: 'number',
866
+ body: QueryUploadVideoPlayInfoResponseBody,
867
+ };
868
+ }
869
+
870
+ constructor(map?: { [key: string]: any }) {
871
+ super(map);
872
+ }
873
+ }
874
+
875
+ export class UpdateMinutesTitleHeaders extends $tea.Model {
876
+ commonHeaders?: { [key: string]: string };
877
+ xAcsDingtalkAccessToken?: string;
878
+ static names(): { [key: string]: string } {
879
+ return {
880
+ commonHeaders: 'commonHeaders',
881
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
882
+ };
883
+ }
884
+
885
+ static types(): { [key: string]: any } {
886
+ return {
887
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
888
+ xAcsDingtalkAccessToken: 'string',
889
+ };
890
+ }
891
+
892
+ constructor(map?: { [key: string]: any }) {
893
+ super(map);
894
+ }
895
+ }
896
+
897
+ export class UpdateMinutesTitleRequest extends $tea.Model {
898
+ /**
899
+ * @remarks
900
+ * This parameter is required.
901
+ */
902
+ title?: string;
903
+ /**
904
+ * @remarks
905
+ * This parameter is required.
906
+ */
907
+ unionId?: string;
908
+ static names(): { [key: string]: string } {
909
+ return {
910
+ title: 'title',
911
+ unionId: 'unionId',
912
+ };
913
+ }
914
+
915
+ static types(): { [key: string]: any } {
916
+ return {
917
+ title: 'string',
918
+ unionId: 'string',
919
+ };
920
+ }
921
+
922
+ constructor(map?: { [key: string]: any }) {
923
+ super(map);
924
+ }
925
+ }
926
+
927
+ export class UpdateMinutesTitleResponseBody extends $tea.Model {
928
+ taskUuid?: string;
929
+ title?: string;
930
+ static names(): { [key: string]: string } {
931
+ return {
932
+ taskUuid: 'taskUuid',
933
+ title: 'title',
934
+ };
935
+ }
936
+
937
+ static types(): { [key: string]: any } {
938
+ return {
939
+ taskUuid: 'string',
940
+ title: 'string',
941
+ };
942
+ }
943
+
944
+ constructor(map?: { [key: string]: any }) {
945
+ super(map);
946
+ }
947
+ }
948
+
949
+ export class UpdateMinutesTitleResponse extends $tea.Model {
950
+ headers?: { [key: string]: string };
951
+ statusCode?: number;
952
+ body?: UpdateMinutesTitleResponseBody;
953
+ static names(): { [key: string]: string } {
954
+ return {
955
+ headers: 'headers',
956
+ statusCode: 'statusCode',
957
+ body: 'body',
958
+ };
959
+ }
960
+
961
+ static types(): { [key: string]: any } {
962
+ return {
963
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
964
+ statusCode: 'number',
965
+ body: UpdateMinutesTitleResponseBody,
966
+ };
967
+ }
968
+
969
+ constructor(map?: { [key: string]: any }) {
970
+ super(map);
971
+ }
972
+ }
973
+
974
+ export class BatchGetMinutesDetailsResponseBodyMinutesDetails extends $tea.Model {
975
+ bizType?: number;
976
+ creatorNick?: string;
977
+ creatorUnionId?: string;
978
+ durationMicros?: number;
979
+ isDeleted?: number;
980
+ size?: number;
981
+ startTime?: number;
982
+ status?: number;
983
+ taskUuid?: string;
984
+ title?: string;
985
+ static names(): { [key: string]: string } {
986
+ return {
987
+ bizType: 'bizType',
988
+ creatorNick: 'creatorNick',
989
+ creatorUnionId: 'creatorUnionId',
990
+ durationMicros: 'durationMicros',
991
+ isDeleted: 'isDeleted',
992
+ size: 'size',
993
+ startTime: 'startTime',
994
+ status: 'status',
995
+ taskUuid: 'taskUuid',
996
+ title: 'title',
997
+ };
998
+ }
999
+
1000
+ static types(): { [key: string]: any } {
1001
+ return {
1002
+ bizType: 'number',
1003
+ creatorNick: 'string',
1004
+ creatorUnionId: 'string',
1005
+ durationMicros: 'number',
1006
+ isDeleted: 'number',
1007
+ size: 'number',
1008
+ startTime: 'number',
1009
+ status: 'number',
1010
+ taskUuid: 'string',
1011
+ title: 'string',
1012
+ };
1013
+ }
1014
+
1015
+ constructor(map?: { [key: string]: any }) {
1016
+ super(map);
1017
+ }
1018
+ }
1019
+
1020
+ export class QueryCreateMinutesListResponseBodyMinutesDetails extends $tea.Model {
1021
+ bizType?: number;
1022
+ creatorNick?: string;
1023
+ creatorUnionId?: string;
1024
+ durationMicros?: number;
1025
+ isDeleted?: number;
1026
+ size?: number;
1027
+ startTime?: number;
1028
+ status?: number;
1029
+ taskUuid?: string;
1030
+ title?: string;
1031
+ static names(): { [key: string]: string } {
1032
+ return {
1033
+ bizType: 'bizType',
1034
+ creatorNick: 'creatorNick',
1035
+ creatorUnionId: 'creatorUnionId',
1036
+ durationMicros: 'durationMicros',
1037
+ isDeleted: 'isDeleted',
1038
+ size: 'size',
1039
+ startTime: 'startTime',
1040
+ status: 'status',
1041
+ taskUuid: 'taskUuid',
1042
+ title: 'title',
1043
+ };
1044
+ }
1045
+
1046
+ static types(): { [key: string]: any } {
1047
+ return {
1048
+ bizType: 'number',
1049
+ creatorNick: 'string',
1050
+ creatorUnionId: 'string',
1051
+ durationMicros: 'number',
1052
+ isDeleted: 'number',
1053
+ size: 'number',
1054
+ startTime: 'number',
1055
+ status: 'number',
1056
+ taskUuid: 'string',
1057
+ title: 'string',
1058
+ };
1059
+ }
1060
+
1061
+ constructor(map?: { [key: string]: any }) {
1062
+ super(map);
1063
+ }
1064
+ }
1065
+
1066
+ export class QueryMinutesPlayInfoResponseBodyPlayInfo extends $tea.Model {
1067
+ downloadUrl?: string;
1068
+ duration?: string;
1069
+ mediaType?: string;
1070
+ playUrl?: string;
1071
+ size?: string;
1072
+ status?: string;
1073
+ static names(): { [key: string]: string } {
1074
+ return {
1075
+ downloadUrl: 'downloadUrl',
1076
+ duration: 'duration',
1077
+ mediaType: 'mediaType',
1078
+ playUrl: 'playUrl',
1079
+ size: 'size',
1080
+ status: 'status',
1081
+ };
1082
+ }
1083
+
1084
+ static types(): { [key: string]: any } {
1085
+ return {
1086
+ downloadUrl: 'string',
1087
+ duration: 'string',
1088
+ mediaType: 'string',
1089
+ playUrl: 'string',
1090
+ size: 'string',
1091
+ status: 'string',
1092
+ };
1093
+ }
1094
+
1095
+ constructor(map?: { [key: string]: any }) {
1096
+ super(map);
1097
+ }
1098
+ }
1099
+
1100
+ export class QueryMinutesShareListResponseBodyMinutesDetails extends $tea.Model {
1101
+ bizType?: number;
1102
+ creatorNick?: string;
1103
+ creatorUnionId?: string;
1104
+ durationMicros?: number;
1105
+ isDeleted?: number;
1106
+ size?: number;
1107
+ startTime?: number;
1108
+ status?: number;
1109
+ taskUuid?: string;
1110
+ title?: string;
1111
+ static names(): { [key: string]: string } {
1112
+ return {
1113
+ bizType: 'bizType',
1114
+ creatorNick: 'creatorNick',
1115
+ creatorUnionId: 'creatorUnionId',
1116
+ durationMicros: 'durationMicros',
1117
+ isDeleted: 'isDeleted',
1118
+ size: 'size',
1119
+ startTime: 'startTime',
1120
+ status: 'status',
1121
+ taskUuid: 'taskUuid',
1122
+ title: 'title',
1123
+ };
1124
+ }
1125
+
1126
+ static types(): { [key: string]: any } {
1127
+ return {
1128
+ bizType: 'number',
1129
+ creatorNick: 'string',
1130
+ creatorUnionId: 'string',
1131
+ durationMicros: 'number',
1132
+ isDeleted: 'number',
1133
+ size: 'number',
1134
+ startTime: 'number',
1135
+ status: 'number',
1136
+ taskUuid: 'string',
1137
+ title: 'string',
1138
+ };
1139
+ }
1140
+
1141
+ constructor(map?: { [key: string]: any }) {
1142
+ super(map);
1143
+ }
1144
+ }
1145
+
1146
+ export class QueryMinutesTextResponseBodyParagraphListSentenceListWordList extends $tea.Model {
1147
+ endTime?: number;
1148
+ startTime?: number;
1149
+ word?: string;
1150
+ wordId?: string;
1151
+ static names(): { [key: string]: string } {
1152
+ return {
1153
+ endTime: 'endTime',
1154
+ startTime: 'startTime',
1155
+ word: 'word',
1156
+ wordId: 'wordId',
1157
+ };
1158
+ }
1159
+
1160
+ static types(): { [key: string]: any } {
1161
+ return {
1162
+ endTime: 'number',
1163
+ startTime: 'number',
1164
+ word: 'string',
1165
+ wordId: 'string',
1166
+ };
1167
+ }
1168
+
1169
+ constructor(map?: { [key: string]: any }) {
1170
+ super(map);
1171
+ }
1172
+ }
1173
+
1174
+ export class QueryMinutesTextResponseBodyParagraphListSentenceList extends $tea.Model {
1175
+ endTime?: number;
1176
+ sentence?: string;
1177
+ startTime?: number;
1178
+ wordList?: QueryMinutesTextResponseBodyParagraphListSentenceListWordList[];
1179
+ static names(): { [key: string]: string } {
1180
+ return {
1181
+ endTime: 'endTime',
1182
+ sentence: 'sentence',
1183
+ startTime: 'startTime',
1184
+ wordList: 'wordList',
1185
+ };
1186
+ }
1187
+
1188
+ static types(): { [key: string]: any } {
1189
+ return {
1190
+ endTime: 'number',
1191
+ sentence: 'string',
1192
+ startTime: 'number',
1193
+ wordList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphListSentenceListWordList },
1194
+ };
1195
+ }
1196
+
1197
+ constructor(map?: { [key: string]: any }) {
1198
+ super(map);
1199
+ }
1200
+ }
1201
+
1202
+ export class QueryMinutesTextResponseBodyParagraphList extends $tea.Model {
1203
+ endTime?: number;
1204
+ nickName?: string;
1205
+ paragraph?: string;
1206
+ paragraphId?: number;
1207
+ recordId?: number;
1208
+ sentenceList?: QueryMinutesTextResponseBodyParagraphListSentenceList[];
1209
+ startTime?: number;
1210
+ unionId?: string;
1211
+ static names(): { [key: string]: string } {
1212
+ return {
1213
+ endTime: 'endTime',
1214
+ nickName: 'nickName',
1215
+ paragraph: 'paragraph',
1216
+ paragraphId: 'paragraphId',
1217
+ recordId: 'recordId',
1218
+ sentenceList: 'sentenceList',
1219
+ startTime: 'startTime',
1220
+ unionId: 'unionId',
1221
+ };
1222
+ }
1223
+
1224
+ static types(): { [key: string]: any } {
1225
+ return {
1226
+ endTime: 'number',
1227
+ nickName: 'string',
1228
+ paragraph: 'string',
1229
+ paragraphId: 'number',
1230
+ recordId: 'number',
1231
+ sentenceList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphListSentenceList },
1232
+ startTime: 'number',
1233
+ unionId: 'string',
1234
+ };
1235
+ }
1236
+
1237
+ constructor(map?: { [key: string]: any }) {
1238
+ super(map);
1239
+ }
1240
+ }
1241
+
1242
+ export class QueryUploadVideoPlayInfoResponseBodyPlayInfo extends $tea.Model {
1243
+ duration?: number;
1244
+ playUrl?: string;
1245
+ size?: number;
1246
+ status?: string;
1247
+ static names(): { [key: string]: string } {
1248
+ return {
1249
+ duration: 'duration',
1250
+ playUrl: 'playUrl',
1251
+ size: 'size',
1252
+ status: 'status',
1253
+ };
1254
+ }
1255
+
1256
+ static types(): { [key: string]: any } {
1257
+ return {
1258
+ duration: 'number',
1259
+ playUrl: 'string',
1260
+ size: 'number',
1261
+ status: 'string',
1262
+ };
1263
+ }
1264
+
1265
+ constructor(map?: { [key: string]: any }) {
1266
+ super(map);
1267
+ }
1268
+ }
1269
+
1270
+
1271
+ export default class Client extends OpenApi {
1272
+
1273
+ constructor(config: $OpenApi.Config) {
1274
+ super(config);
1275
+ let gatewayClient = new GatewayClient();
1276
+ this._spi = gatewayClient;
1277
+ this._endpointRule = "";
1278
+ if (Util.empty(this._endpoint)) {
1279
+ this._endpoint = "api.dingtalk.com";
1280
+ }
1281
+
1282
+ }
1283
+
1284
+
1285
+ /**
1286
+ * 批量获取闪记详情
1287
+ *
1288
+ * @param request - BatchGetMinutesDetailsRequest
1289
+ * @param headers - BatchGetMinutesDetailsHeaders
1290
+ * @param runtime - runtime options for this request RuntimeOptions
1291
+ * @returns BatchGetMinutesDetailsResponse
1292
+ */
1293
+ async batchGetMinutesDetailsWithOptions(request: BatchGetMinutesDetailsRequest, headers: BatchGetMinutesDetailsHeaders, runtime: $Util.RuntimeOptions): Promise<BatchGetMinutesDetailsResponse> {
1294
+ Util.validateModel(request);
1295
+ let query : {[key: string ]: any} = { };
1296
+ if (!Util.isUnset(request.unionId)) {
1297
+ query["unionId"] = request.unionId;
1298
+ }
1299
+
1300
+ let body : {[key: string ]: any} = { };
1301
+ if (!Util.isUnset(request.taskUuids)) {
1302
+ body["taskUuids"] = request.taskUuids;
1303
+ }
1304
+
1305
+ let realHeaders : {[key: string ]: string} = { };
1306
+ if (!Util.isUnset(headers.commonHeaders)) {
1307
+ realHeaders = headers.commonHeaders;
1308
+ }
1309
+
1310
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1311
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1312
+ }
1313
+
1314
+ let req = new $OpenApi.OpenApiRequest({
1315
+ headers: realHeaders,
1316
+ query: OpenApiUtil.query(query),
1317
+ body: OpenApiUtil.parseToMap(body),
1318
+ });
1319
+ let params = new $OpenApi.Params({
1320
+ action: "BatchGetMinutesDetails",
1321
+ version: "minutes_1.0",
1322
+ protocol: "HTTP",
1323
+ pathname: `/v1.0/minutes/flashMinutes/details/query`,
1324
+ method: "POST",
1325
+ authType: "AK",
1326
+ style: "ROA",
1327
+ reqBodyType: "none",
1328
+ bodyType: "json",
1329
+ });
1330
+ return $tea.cast<BatchGetMinutesDetailsResponse>(await this.execute(params, req, runtime), new BatchGetMinutesDetailsResponse({}));
1331
+ }
1332
+
1333
+ /**
1334
+ * 批量获取闪记详情
1335
+ *
1336
+ * @param request - BatchGetMinutesDetailsRequest
1337
+ * @returns BatchGetMinutesDetailsResponse
1338
+ */
1339
+ async batchGetMinutesDetails(request: BatchGetMinutesDetailsRequest): Promise<BatchGetMinutesDetailsResponse> {
1340
+ let runtime = new $Util.RuntimeOptions({ });
1341
+ let headers = new BatchGetMinutesDetailsHeaders({ });
1342
+ return await this.batchGetMinutesDetailsWithOptions(request, headers, runtime);
1343
+ }
1344
+
1345
+ /**
1346
+ * 删除闪记
1347
+ *
1348
+ * @param request - DeleteMinutesRequest
1349
+ * @param headers - DeleteMinutesHeaders
1350
+ * @param runtime - runtime options for this request RuntimeOptions
1351
+ * @returns DeleteMinutesResponse
1352
+ */
1353
+ async deleteMinutesWithOptions(taskUuid: string, request: DeleteMinutesRequest, headers: DeleteMinutesHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteMinutesResponse> {
1354
+ Util.validateModel(request);
1355
+ let query : {[key: string ]: any} = { };
1356
+ if (!Util.isUnset(request.unionId)) {
1357
+ query["unionId"] = request.unionId;
1358
+ }
1359
+
1360
+ let realHeaders : {[key: string ]: string} = { };
1361
+ if (!Util.isUnset(headers.commonHeaders)) {
1362
+ realHeaders = headers.commonHeaders;
1363
+ }
1364
+
1365
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1366
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1367
+ }
1368
+
1369
+ let req = new $OpenApi.OpenApiRequest({
1370
+ headers: realHeaders,
1371
+ query: OpenApiUtil.query(query),
1372
+ });
1373
+ let params = new $OpenApi.Params({
1374
+ action: "DeleteMinutes",
1375
+ version: "minutes_1.0",
1376
+ protocol: "HTTP",
1377
+ pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}`,
1378
+ method: "DELETE",
1379
+ authType: "AK",
1380
+ style: "ROA",
1381
+ reqBodyType: "none",
1382
+ bodyType: "json",
1383
+ });
1384
+ return $tea.cast<DeleteMinutesResponse>(await this.execute(params, req, runtime), new DeleteMinutesResponse({}));
1385
+ }
1386
+
1387
+ /**
1388
+ * 删除闪记
1389
+ *
1390
+ * @param request - DeleteMinutesRequest
1391
+ * @returns DeleteMinutesResponse
1392
+ */
1393
+ async deleteMinutes(taskUuid: string, request: DeleteMinutesRequest): Promise<DeleteMinutesResponse> {
1394
+ let runtime = new $Util.RuntimeOptions({ });
1395
+ let headers = new DeleteMinutesHeaders({ });
1396
+ return await this.deleteMinutesWithOptions(taskUuid, request, headers, runtime);
1397
+ }
1398
+
1399
+ /**
1400
+ * 查询闪记摘要
1401
+ *
1402
+ * @param request - OpenQueryMinutesSummaryRequest
1403
+ * @param headers - OpenQueryMinutesSummaryHeaders
1404
+ * @param runtime - runtime options for this request RuntimeOptions
1405
+ * @returns OpenQueryMinutesSummaryResponse
1406
+ */
1407
+ async openQueryMinutesSummaryWithOptions(request: OpenQueryMinutesSummaryRequest, headers: OpenQueryMinutesSummaryHeaders, runtime: $Util.RuntimeOptions): Promise<OpenQueryMinutesSummaryResponse> {
1408
+ Util.validateModel(request);
1409
+ let query : {[key: string ]: any} = { };
1410
+ if (!Util.isUnset(request.taskUuid)) {
1411
+ query["taskUuid"] = request.taskUuid;
1412
+ }
1413
+
1414
+ if (!Util.isUnset(request.unionId)) {
1415
+ query["unionId"] = request.unionId;
1416
+ }
1417
+
1418
+ let realHeaders : {[key: string ]: string} = { };
1419
+ if (!Util.isUnset(headers.commonHeaders)) {
1420
+ realHeaders = headers.commonHeaders;
1421
+ }
1422
+
1423
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1424
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1425
+ }
1426
+
1427
+ let req = new $OpenApi.OpenApiRequest({
1428
+ headers: realHeaders,
1429
+ query: OpenApiUtil.query(query),
1430
+ });
1431
+ let params = new $OpenApi.Params({
1432
+ action: "OpenQueryMinutesSummary",
1433
+ version: "minutes_1.0",
1434
+ protocol: "HTTP",
1435
+ pathname: `/v1.0/minutes/flashMinutes/queryMinutes`,
1436
+ method: "GET",
1437
+ authType: "AK",
1438
+ style: "ROA",
1439
+ reqBodyType: "none",
1440
+ bodyType: "json",
1441
+ });
1442
+ return $tea.cast<OpenQueryMinutesSummaryResponse>(await this.execute(params, req, runtime), new OpenQueryMinutesSummaryResponse({}));
1443
+ }
1444
+
1445
+ /**
1446
+ * 查询闪记摘要
1447
+ *
1448
+ * @param request - OpenQueryMinutesSummaryRequest
1449
+ * @returns OpenQueryMinutesSummaryResponse
1450
+ */
1451
+ async openQueryMinutesSummary(request: OpenQueryMinutesSummaryRequest): Promise<OpenQueryMinutesSummaryResponse> {
1452
+ let runtime = new $Util.RuntimeOptions({ });
1453
+ let headers = new OpenQueryMinutesSummaryHeaders({ });
1454
+ return await this.openQueryMinutesSummaryWithOptions(request, headers, runtime);
1455
+ }
1456
+
1457
+ /**
1458
+ * 查询自己创建的闪记列表
1459
+ *
1460
+ * @param request - QueryCreateMinutesListRequest
1461
+ * @param headers - QueryCreateMinutesListHeaders
1462
+ * @param runtime - runtime options for this request RuntimeOptions
1463
+ * @returns QueryCreateMinutesListResponse
1464
+ */
1465
+ async queryCreateMinutesListWithOptions(request: QueryCreateMinutesListRequest, headers: QueryCreateMinutesListHeaders, runtime: $Util.RuntimeOptions): Promise<QueryCreateMinutesListResponse> {
1466
+ Util.validateModel(request);
1467
+ let query : {[key: string ]: any} = { };
1468
+ if (!Util.isUnset(request.maxResults)) {
1469
+ query["maxResults"] = request.maxResults;
1470
+ }
1471
+
1472
+ if (!Util.isUnset(request.nextToken)) {
1473
+ query["nextToken"] = request.nextToken;
1474
+ }
1475
+
1476
+ if (!Util.isUnset(request.unionId)) {
1477
+ query["unionId"] = request.unionId;
1478
+ }
1479
+
1480
+ let realHeaders : {[key: string ]: string} = { };
1481
+ if (!Util.isUnset(headers.commonHeaders)) {
1482
+ realHeaders = headers.commonHeaders;
1483
+ }
1484
+
1485
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1486
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1487
+ }
1488
+
1489
+ let req = new $OpenApi.OpenApiRequest({
1490
+ headers: realHeaders,
1491
+ query: OpenApiUtil.query(query),
1492
+ });
1493
+ let params = new $OpenApi.Params({
1494
+ action: "QueryCreateMinutesList",
1495
+ version: "minutes_1.0",
1496
+ protocol: "HTTP",
1497
+ pathname: `/v1.0/minutes/flashMinutes/createLists`,
1498
+ method: "GET",
1499
+ authType: "AK",
1500
+ style: "ROA",
1501
+ reqBodyType: "none",
1502
+ bodyType: "json",
1503
+ });
1504
+ return $tea.cast<QueryCreateMinutesListResponse>(await this.execute(params, req, runtime), new QueryCreateMinutesListResponse({}));
1505
+ }
1506
+
1507
+ /**
1508
+ * 查询自己创建的闪记列表
1509
+ *
1510
+ * @param request - QueryCreateMinutesListRequest
1511
+ * @returns QueryCreateMinutesListResponse
1512
+ */
1513
+ async queryCreateMinutesList(request: QueryCreateMinutesListRequest): Promise<QueryCreateMinutesListResponse> {
1514
+ let runtime = new $Util.RuntimeOptions({ });
1515
+ let headers = new QueryCreateMinutesListHeaders({ });
1516
+ return await this.queryCreateMinutesListWithOptions(request, headers, runtime);
1517
+ }
1518
+
1519
+ /**
1520
+ * 查询闪记媒体播放信息
1521
+ *
1522
+ * @param request - QueryMinutesPlayInfoRequest
1523
+ * @param headers - QueryMinutesPlayInfoHeaders
1524
+ * @param runtime - runtime options for this request RuntimeOptions
1525
+ * @returns QueryMinutesPlayInfoResponse
1526
+ */
1527
+ async queryMinutesPlayInfoWithOptions(taskUuid: string, request: QueryMinutesPlayInfoRequest, headers: QueryMinutesPlayInfoHeaders, runtime: $Util.RuntimeOptions): Promise<QueryMinutesPlayInfoResponse> {
1528
+ Util.validateModel(request);
1529
+ let query : {[key: string ]: any} = { };
1530
+ if (!Util.isUnset(request.unionId)) {
1531
+ query["unionId"] = request.unionId;
1532
+ }
1533
+
1534
+ let realHeaders : {[key: string ]: string} = { };
1535
+ if (!Util.isUnset(headers.commonHeaders)) {
1536
+ realHeaders = headers.commonHeaders;
1537
+ }
1538
+
1539
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1540
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1541
+ }
1542
+
1543
+ let req = new $OpenApi.OpenApiRequest({
1544
+ headers: realHeaders,
1545
+ query: OpenApiUtil.query(query),
1546
+ });
1547
+ let params = new $OpenApi.Params({
1548
+ action: "QueryMinutesPlayInfo",
1549
+ version: "minutes_1.0",
1550
+ protocol: "HTTP",
1551
+ pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/playInfos`,
1552
+ method: "GET",
1553
+ authType: "AK",
1554
+ style: "ROA",
1555
+ reqBodyType: "none",
1556
+ bodyType: "json",
1557
+ });
1558
+ return $tea.cast<QueryMinutesPlayInfoResponse>(await this.execute(params, req, runtime), new QueryMinutesPlayInfoResponse({}));
1559
+ }
1560
+
1561
+ /**
1562
+ * 查询闪记媒体播放信息
1563
+ *
1564
+ * @param request - QueryMinutesPlayInfoRequest
1565
+ * @returns QueryMinutesPlayInfoResponse
1566
+ */
1567
+ async queryMinutesPlayInfo(taskUuid: string, request: QueryMinutesPlayInfoRequest): Promise<QueryMinutesPlayInfoResponse> {
1568
+ let runtime = new $Util.RuntimeOptions({ });
1569
+ let headers = new QueryMinutesPlayInfoHeaders({ });
1570
+ return await this.queryMinutesPlayInfoWithOptions(taskUuid, request, headers, runtime);
1571
+ }
1572
+
1573
+ /**
1574
+ * 获取与我共享闪记列表
1575
+ *
1576
+ * @param request - QueryMinutesShareListRequest
1577
+ * @param headers - QueryMinutesShareListHeaders
1578
+ * @param runtime - runtime options for this request RuntimeOptions
1579
+ * @returns QueryMinutesShareListResponse
1580
+ */
1581
+ async queryMinutesShareListWithOptions(request: QueryMinutesShareListRequest, headers: QueryMinutesShareListHeaders, runtime: $Util.RuntimeOptions): Promise<QueryMinutesShareListResponse> {
1582
+ Util.validateModel(request);
1583
+ let query : {[key: string ]: any} = { };
1584
+ if (!Util.isUnset(request.maxResults)) {
1585
+ query["maxResults"] = request.maxResults;
1586
+ }
1587
+
1588
+ if (!Util.isUnset(request.nextToken)) {
1589
+ query["nextToken"] = request.nextToken;
1590
+ }
1591
+
1592
+ if (!Util.isUnset(request.scene)) {
1593
+ query["scene"] = request.scene;
1594
+ }
1595
+
1596
+ if (!Util.isUnset(request.unionId)) {
1597
+ query["unionId"] = request.unionId;
1598
+ }
1599
+
1600
+ let realHeaders : {[key: string ]: string} = { };
1601
+ if (!Util.isUnset(headers.commonHeaders)) {
1602
+ realHeaders = headers.commonHeaders;
1603
+ }
1604
+
1605
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1606
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1607
+ }
1608
+
1609
+ let req = new $OpenApi.OpenApiRequest({
1610
+ headers: realHeaders,
1611
+ query: OpenApiUtil.query(query),
1612
+ });
1613
+ let params = new $OpenApi.Params({
1614
+ action: "QueryMinutesShareList",
1615
+ version: "minutes_1.0",
1616
+ protocol: "HTTP",
1617
+ pathname: `/v1.0/minutes/flashMinutes/shareLists`,
1618
+ method: "GET",
1619
+ authType: "AK",
1620
+ style: "ROA",
1621
+ reqBodyType: "none",
1622
+ bodyType: "json",
1623
+ });
1624
+ return $tea.cast<QueryMinutesShareListResponse>(await this.execute(params, req, runtime), new QueryMinutesShareListResponse({}));
1625
+ }
1626
+
1627
+ /**
1628
+ * 获取与我共享闪记列表
1629
+ *
1630
+ * @param request - QueryMinutesShareListRequest
1631
+ * @returns QueryMinutesShareListResponse
1632
+ */
1633
+ async queryMinutesShareList(request: QueryMinutesShareListRequest): Promise<QueryMinutesShareListResponse> {
1634
+ let runtime = new $Util.RuntimeOptions({ });
1635
+ let headers = new QueryMinutesShareListHeaders({ });
1636
+ return await this.queryMinutesShareListWithOptions(request, headers, runtime);
1637
+ }
1638
+
1639
+ /**
1640
+ * 查询闪记状态
1641
+ *
1642
+ * @param request - QueryMinutesStatusRequest
1643
+ * @param headers - QueryMinutesStatusHeaders
1644
+ * @param runtime - runtime options for this request RuntimeOptions
1645
+ * @returns QueryMinutesStatusResponse
1646
+ */
1647
+ async queryMinutesStatusWithOptions(taskUuid: string, request: QueryMinutesStatusRequest, headers: QueryMinutesStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryMinutesStatusResponse> {
1648
+ Util.validateModel(request);
1649
+ let query : {[key: string ]: any} = { };
1650
+ if (!Util.isUnset(request.unionId)) {
1651
+ query["unionId"] = request.unionId;
1652
+ }
1653
+
1654
+ let realHeaders : {[key: string ]: string} = { };
1655
+ if (!Util.isUnset(headers.commonHeaders)) {
1656
+ realHeaders = headers.commonHeaders;
1657
+ }
1658
+
1659
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1660
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1661
+ }
1662
+
1663
+ let req = new $OpenApi.OpenApiRequest({
1664
+ headers: realHeaders,
1665
+ query: OpenApiUtil.query(query),
1666
+ });
1667
+ let params = new $OpenApi.Params({
1668
+ action: "QueryMinutesStatus",
1669
+ version: "minutes_1.0",
1670
+ protocol: "HTTP",
1671
+ pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/taskStatus`,
1672
+ method: "GET",
1673
+ authType: "AK",
1674
+ style: "ROA",
1675
+ reqBodyType: "none",
1676
+ bodyType: "json",
1677
+ });
1678
+ return $tea.cast<QueryMinutesStatusResponse>(await this.execute(params, req, runtime), new QueryMinutesStatusResponse({}));
1679
+ }
1680
+
1681
+ /**
1682
+ * 查询闪记状态
1683
+ *
1684
+ * @param request - QueryMinutesStatusRequest
1685
+ * @returns QueryMinutesStatusResponse
1686
+ */
1687
+ async queryMinutesStatus(taskUuid: string, request: QueryMinutesStatusRequest): Promise<QueryMinutesStatusResponse> {
1688
+ let runtime = new $Util.RuntimeOptions({ });
1689
+ let headers = new QueryMinutesStatusHeaders({ });
1690
+ return await this.queryMinutesStatusWithOptions(taskUuid, request, headers, runtime);
1691
+ }
1692
+
1693
+ /**
1694
+ * 查询闪记转写文本内容
1695
+ *
1696
+ * @param request - QueryMinutesTextRequest
1697
+ * @param headers - QueryMinutesTextHeaders
1698
+ * @param runtime - runtime options for this request RuntimeOptions
1699
+ * @returns QueryMinutesTextResponse
1700
+ */
1701
+ async queryMinutesTextWithOptions(taskUuid: string, request: QueryMinutesTextRequest, headers: QueryMinutesTextHeaders, runtime: $Util.RuntimeOptions): Promise<QueryMinutesTextResponse> {
1702
+ Util.validateModel(request);
1703
+ let query : {[key: string ]: any} = { };
1704
+ if (!Util.isUnset(request.direction)) {
1705
+ query["direction"] = request.direction;
1706
+ }
1707
+
1708
+ if (!Util.isUnset(request.maxResults)) {
1709
+ query["maxResults"] = request.maxResults;
1710
+ }
1711
+
1712
+ if (!Util.isUnset(request.nextToken)) {
1713
+ query["nextToken"] = request.nextToken;
1714
+ }
1715
+
1716
+ if (!Util.isUnset(request.unionId)) {
1717
+ query["unionId"] = request.unionId;
1718
+ }
1719
+
1720
+ let realHeaders : {[key: string ]: string} = { };
1721
+ if (!Util.isUnset(headers.commonHeaders)) {
1722
+ realHeaders = headers.commonHeaders;
1723
+ }
1724
+
1725
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1726
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1727
+ }
1728
+
1729
+ let req = new $OpenApi.OpenApiRequest({
1730
+ headers: realHeaders,
1731
+ query: OpenApiUtil.query(query),
1732
+ });
1733
+ let params = new $OpenApi.Params({
1734
+ action: "QueryMinutesText",
1735
+ version: "minutes_1.0",
1736
+ protocol: "HTTP",
1737
+ pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/textInfos`,
1738
+ method: "GET",
1739
+ authType: "AK",
1740
+ style: "ROA",
1741
+ reqBodyType: "none",
1742
+ bodyType: "json",
1743
+ });
1744
+ return $tea.cast<QueryMinutesTextResponse>(await this.execute(params, req, runtime), new QueryMinutesTextResponse({}));
1745
+ }
1746
+
1747
+ /**
1748
+ * 查询闪记转写文本内容
1749
+ *
1750
+ * @param request - QueryMinutesTextRequest
1751
+ * @returns QueryMinutesTextResponse
1752
+ */
1753
+ async queryMinutesText(taskUuid: string, request: QueryMinutesTextRequest): Promise<QueryMinutesTextResponse> {
1754
+ let runtime = new $Util.RuntimeOptions({ });
1755
+ let headers = new QueryMinutesTextHeaders({ });
1756
+ return await this.queryMinutesTextWithOptions(taskUuid, request, headers, runtime);
1757
+ }
1758
+
1759
+ /**
1760
+ * 查询上传视频播放信息
1761
+ *
1762
+ * @param request - QueryUploadVideoPlayInfoRequest
1763
+ * @param headers - QueryUploadVideoPlayInfoHeaders
1764
+ * @param runtime - runtime options for this request RuntimeOptions
1765
+ * @returns QueryUploadVideoPlayInfoResponse
1766
+ */
1767
+ async queryUploadVideoPlayInfoWithOptions(videoId: string, request: QueryUploadVideoPlayInfoRequest, headers: QueryUploadVideoPlayInfoHeaders, runtime: $Util.RuntimeOptions): Promise<QueryUploadVideoPlayInfoResponse> {
1768
+ Util.validateModel(request);
1769
+ let query : {[key: string ]: any} = { };
1770
+ if (!Util.isUnset(request.unionId)) {
1771
+ query["unionId"] = request.unionId;
1772
+ }
1773
+
1774
+ let realHeaders : {[key: string ]: string} = { };
1775
+ if (!Util.isUnset(headers.commonHeaders)) {
1776
+ realHeaders = headers.commonHeaders;
1777
+ }
1778
+
1779
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1780
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1781
+ }
1782
+
1783
+ let req = new $OpenApi.OpenApiRequest({
1784
+ headers: realHeaders,
1785
+ query: OpenApiUtil.query(query),
1786
+ });
1787
+ let params = new $OpenApi.Params({
1788
+ action: "QueryUploadVideoPlayInfo",
1789
+ version: "minutes_1.0",
1790
+ protocol: "HTTP",
1791
+ pathname: `/v1.0/minutes/flashMinutes/uploadVideos/${videoId}/playInfos`,
1792
+ method: "GET",
1793
+ authType: "AK",
1794
+ style: "ROA",
1795
+ reqBodyType: "none",
1796
+ bodyType: "json",
1797
+ });
1798
+ return $tea.cast<QueryUploadVideoPlayInfoResponse>(await this.execute(params, req, runtime), new QueryUploadVideoPlayInfoResponse({}));
1799
+ }
1800
+
1801
+ /**
1802
+ * 查询上传视频播放信息
1803
+ *
1804
+ * @param request - QueryUploadVideoPlayInfoRequest
1805
+ * @returns QueryUploadVideoPlayInfoResponse
1806
+ */
1807
+ async queryUploadVideoPlayInfo(videoId: string, request: QueryUploadVideoPlayInfoRequest): Promise<QueryUploadVideoPlayInfoResponse> {
1808
+ let runtime = new $Util.RuntimeOptions({ });
1809
+ let headers = new QueryUploadVideoPlayInfoHeaders({ });
1810
+ return await this.queryUploadVideoPlayInfoWithOptions(videoId, request, headers, runtime);
1811
+ }
1812
+
1813
+ /**
1814
+ * 更新闪记标题
1815
+ *
1816
+ * @param request - UpdateMinutesTitleRequest
1817
+ * @param headers - UpdateMinutesTitleHeaders
1818
+ * @param runtime - runtime options for this request RuntimeOptions
1819
+ * @returns UpdateMinutesTitleResponse
1820
+ */
1821
+ async updateMinutesTitleWithOptions(taskUuid: string, request: UpdateMinutesTitleRequest, headers: UpdateMinutesTitleHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateMinutesTitleResponse> {
1822
+ Util.validateModel(request);
1823
+ let query : {[key: string ]: any} = { };
1824
+ if (!Util.isUnset(request.title)) {
1825
+ query["title"] = request.title;
1826
+ }
1827
+
1828
+ if (!Util.isUnset(request.unionId)) {
1829
+ query["unionId"] = request.unionId;
1830
+ }
1831
+
1832
+ let realHeaders : {[key: string ]: string} = { };
1833
+ if (!Util.isUnset(headers.commonHeaders)) {
1834
+ realHeaders = headers.commonHeaders;
1835
+ }
1836
+
1837
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
1838
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
1839
+ }
1840
+
1841
+ let req = new $OpenApi.OpenApiRequest({
1842
+ headers: realHeaders,
1843
+ query: OpenApiUtil.query(query),
1844
+ });
1845
+ let params = new $OpenApi.Params({
1846
+ action: "UpdateMinutesTitle",
1847
+ version: "minutes_1.0",
1848
+ protocol: "HTTP",
1849
+ pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/titles`,
1850
+ method: "PUT",
1851
+ authType: "AK",
1852
+ style: "ROA",
1853
+ reqBodyType: "none",
1854
+ bodyType: "json",
1855
+ });
1856
+ return $tea.cast<UpdateMinutesTitleResponse>(await this.execute(params, req, runtime), new UpdateMinutesTitleResponse({}));
1857
+ }
1858
+
1859
+ /**
1860
+ * 更新闪记标题
1861
+ *
1862
+ * @param request - UpdateMinutesTitleRequest
1863
+ * @returns UpdateMinutesTitleResponse
1864
+ */
1865
+ async updateMinutesTitle(taskUuid: string, request: UpdateMinutesTitleRequest): Promise<UpdateMinutesTitleResponse> {
1866
+ let runtime = new $Util.RuntimeOptions({ });
1867
+ let headers = new UpdateMinutesTitleHeaders({ });
1868
+ return await this.updateMinutesTitleWithOptions(taskUuid, request, headers, runtime);
1869
+ }
1870
+
1871
+ }