@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
@@ -1304,6 +1304,113 @@ export class CopyDentryResponse extends $tea.Model {
1304
1304
  }
1305
1305
  }
1306
1306
 
1307
+ export class CopyDocHeaders extends $tea.Model {
1308
+ commonHeaders?: { [key: string]: string };
1309
+ xAcsDingtalkAccessToken?: string;
1310
+ static names(): { [key: string]: string } {
1311
+ return {
1312
+ commonHeaders: 'commonHeaders',
1313
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1314
+ };
1315
+ }
1316
+
1317
+ static types(): { [key: string]: any } {
1318
+ return {
1319
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1320
+ xAcsDingtalkAccessToken: 'string',
1321
+ };
1322
+ }
1323
+
1324
+ constructor(map?: { [key: string]: any }) {
1325
+ super(map);
1326
+ }
1327
+ }
1328
+
1329
+ export class CopyDocRequest extends $tea.Model {
1330
+ /**
1331
+ * @remarks
1332
+ * This parameter is required.
1333
+ */
1334
+ param?: CopyDocRequestParam;
1335
+ static names(): { [key: string]: string } {
1336
+ return {
1337
+ param: 'param',
1338
+ };
1339
+ }
1340
+
1341
+ static types(): { [key: string]: any } {
1342
+ return {
1343
+ param: CopyDocRequestParam,
1344
+ };
1345
+ }
1346
+
1347
+ constructor(map?: { [key: string]: any }) {
1348
+ super(map);
1349
+ }
1350
+ }
1351
+
1352
+ export class CopyDocResponseBody extends $tea.Model {
1353
+ /**
1354
+ * @example
1355
+ * true
1356
+ */
1357
+ isAsync?: boolean;
1358
+ /**
1359
+ * @example
1360
+ * true
1361
+ */
1362
+ syncCopyResult?: CopyDocResponseBodySyncCopyResult;
1363
+ /**
1364
+ * @example
1365
+ * true
1366
+ */
1367
+ taskId?: string;
1368
+ static names(): { [key: string]: string } {
1369
+ return {
1370
+ isAsync: 'isAsync',
1371
+ syncCopyResult: 'syncCopyResult',
1372
+ taskId: 'taskId',
1373
+ };
1374
+ }
1375
+
1376
+ static types(): { [key: string]: any } {
1377
+ return {
1378
+ isAsync: 'boolean',
1379
+ syncCopyResult: CopyDocResponseBodySyncCopyResult,
1380
+ taskId: 'string',
1381
+ };
1382
+ }
1383
+
1384
+ constructor(map?: { [key: string]: any }) {
1385
+ super(map);
1386
+ }
1387
+ }
1388
+
1389
+ export class CopyDocResponse extends $tea.Model {
1390
+ headers?: { [key: string]: string };
1391
+ statusCode?: number;
1392
+ body?: CopyDocResponseBody;
1393
+ static names(): { [key: string]: string } {
1394
+ return {
1395
+ headers: 'headers',
1396
+ statusCode: 'statusCode',
1397
+ body: 'body',
1398
+ };
1399
+ }
1400
+
1401
+ static types(): { [key: string]: any } {
1402
+ return {
1403
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1404
+ statusCode: 'number',
1405
+ body: CopyDocResponseBody,
1406
+ };
1407
+ }
1408
+
1409
+ constructor(map?: { [key: string]: any }) {
1410
+ super(map);
1411
+ }
1412
+ }
1413
+
1307
1414
  export class CopyWorkspaceHeaders extends $tea.Model {
1308
1415
  commonHeaders?: { [key: string]: string };
1309
1416
  xAcsDingtalkAccessToken?: string;
@@ -1597,6 +1704,99 @@ export class CreateDentryResponse extends $tea.Model {
1597
1704
  }
1598
1705
  }
1599
1706
 
1707
+ export class CreateShortcutHeaders extends $tea.Model {
1708
+ commonHeaders?: { [key: string]: string };
1709
+ xAcsDingtalkAccessToken?: string;
1710
+ static names(): { [key: string]: string } {
1711
+ return {
1712
+ commonHeaders: 'commonHeaders',
1713
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1714
+ };
1715
+ }
1716
+
1717
+ static types(): { [key: string]: any } {
1718
+ return {
1719
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1720
+ xAcsDingtalkAccessToken: 'string',
1721
+ };
1722
+ }
1723
+
1724
+ constructor(map?: { [key: string]: any }) {
1725
+ super(map);
1726
+ }
1727
+ }
1728
+
1729
+ export class CreateShortcutRequest extends $tea.Model {
1730
+ /**
1731
+ * @remarks
1732
+ * This parameter is required.
1733
+ */
1734
+ param?: CreateShortcutRequestParam;
1735
+ static names(): { [key: string]: string } {
1736
+ return {
1737
+ param: 'param',
1738
+ };
1739
+ }
1740
+
1741
+ static types(): { [key: string]: any } {
1742
+ return {
1743
+ param: CreateShortcutRequestParam,
1744
+ };
1745
+ }
1746
+
1747
+ constructor(map?: { [key: string]: any }) {
1748
+ super(map);
1749
+ }
1750
+ }
1751
+
1752
+ export class CreateShortcutResponseBody extends $tea.Model {
1753
+ /**
1754
+ * @example
1755
+ * dentry
1756
+ */
1757
+ openDentryInfo?: CreateShortcutResponseBodyOpenDentryInfo;
1758
+ static names(): { [key: string]: string } {
1759
+ return {
1760
+ openDentryInfo: 'openDentryInfo',
1761
+ };
1762
+ }
1763
+
1764
+ static types(): { [key: string]: any } {
1765
+ return {
1766
+ openDentryInfo: CreateShortcutResponseBodyOpenDentryInfo,
1767
+ };
1768
+ }
1769
+
1770
+ constructor(map?: { [key: string]: any }) {
1771
+ super(map);
1772
+ }
1773
+ }
1774
+
1775
+ export class CreateShortcutResponse extends $tea.Model {
1776
+ headers?: { [key: string]: string };
1777
+ statusCode?: number;
1778
+ body?: CreateShortcutResponseBody;
1779
+ static names(): { [key: string]: string } {
1780
+ return {
1781
+ headers: 'headers',
1782
+ statusCode: 'statusCode',
1783
+ body: 'body',
1784
+ };
1785
+ }
1786
+
1787
+ static types(): { [key: string]: any } {
1788
+ return {
1789
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1790
+ statusCode: 'number',
1791
+ body: CreateShortcutResponseBody,
1792
+ };
1793
+ }
1794
+
1795
+ constructor(map?: { [key: string]: any }) {
1796
+ super(map);
1797
+ }
1798
+ }
1799
+
1600
1800
  export class CreateSpaceHeaders extends $tea.Model {
1601
1801
  commonHeaders?: { [key: string]: string };
1602
1802
  xAcsDingtalkAccessToken?: string;
@@ -2106,7 +2306,7 @@ export class DocContentResponse extends $tea.Model {
2106
2306
  }
2107
2307
  }
2108
2308
 
2109
- export class ExportDocHeaders extends $tea.Model {
2309
+ export class DocExportByDelegatedPermissionHeaders extends $tea.Model {
2110
2310
  commonHeaders?: { [key: string]: string };
2111
2311
  xAcsDingtalkAccessToken?: string;
2112
2312
  static names(): { [key: string]: string } {
@@ -2128,21 +2328,28 @@ export class ExportDocHeaders extends $tea.Model {
2128
2328
  }
2129
2329
  }
2130
2330
 
2131
- export class ExportDocRequest extends $tea.Model {
2331
+ export class DocExportByDelegatedPermissionRequest extends $tea.Model {
2132
2332
  /**
2133
- * @remarks
2134
- * This parameter is required.
2333
+ * @example
2334
+ * false
2135
2335
  */
2136
- param?: ExportDocRequestParam;
2336
+ generateCp?: boolean;
2337
+ /**
2338
+ * @example
2339
+ * markdown
2340
+ */
2341
+ targetFormat?: string;
2137
2342
  static names(): { [key: string]: string } {
2138
2343
  return {
2139
- param: 'param',
2344
+ generateCp: 'generateCp',
2345
+ targetFormat: 'targetFormat',
2140
2346
  };
2141
2347
  }
2142
2348
 
2143
2349
  static types(): { [key: string]: any } {
2144
2350
  return {
2145
- param: ExportDocRequestParam,
2351
+ generateCp: 'boolean',
2352
+ targetFormat: 'string',
2146
2353
  };
2147
2354
  }
2148
2355
 
@@ -2151,28 +2358,17 @@ export class ExportDocRequest extends $tea.Model {
2151
2358
  }
2152
2359
  }
2153
2360
 
2154
- export class ExportDocResponseBody extends $tea.Model {
2155
- /**
2156
- * @example
2157
- * 12345678
2158
- */
2159
- jobId?: string;
2160
- /**
2161
- * @example
2162
- * init
2163
- */
2164
- status?: string;
2361
+ export class DocExportByDelegatedPermissionResponseBody extends $tea.Model {
2362
+ taskId?: number;
2165
2363
  static names(): { [key: string]: string } {
2166
2364
  return {
2167
- jobId: 'jobId',
2168
- status: 'status',
2365
+ taskId: 'taskId',
2169
2366
  };
2170
2367
  }
2171
2368
 
2172
2369
  static types(): { [key: string]: any } {
2173
2370
  return {
2174
- jobId: 'string',
2175
- status: 'string',
2371
+ taskId: 'number',
2176
2372
  };
2177
2373
  }
2178
2374
 
@@ -2181,10 +2377,10 @@ export class ExportDocResponseBody extends $tea.Model {
2181
2377
  }
2182
2378
  }
2183
2379
 
2184
- export class ExportDocResponse extends $tea.Model {
2380
+ export class DocExportByDelegatedPermissionResponse extends $tea.Model {
2185
2381
  headers?: { [key: string]: string };
2186
2382
  statusCode?: number;
2187
- body?: ExportDocResponseBody;
2383
+ body?: DocExportByDelegatedPermissionResponseBody;
2188
2384
  static names(): { [key: string]: string } {
2189
2385
  return {
2190
2386
  headers: 'headers',
@@ -2197,7 +2393,7 @@ export class ExportDocResponse extends $tea.Model {
2197
2393
  return {
2198
2394
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2199
2395
  statusCode: 'number',
2200
- body: ExportDocResponseBody,
2396
+ body: DocExportByDelegatedPermissionResponseBody,
2201
2397
  };
2202
2398
  }
2203
2399
 
@@ -2206,7 +2402,7 @@ export class ExportDocResponse extends $tea.Model {
2206
2402
  }
2207
2403
  }
2208
2404
 
2209
- export class GetDentryIdByUuidHeaders extends $tea.Model {
2405
+ export class DocUpdateContentWithDelegatedPermissionHeaders extends $tea.Model {
2210
2406
  commonHeaders?: { [key: string]: string };
2211
2407
  xAcsDingtalkAccessToken?: string;
2212
2408
  static names(): { [key: string]: string } {
@@ -2228,24 +2424,31 @@ export class GetDentryIdByUuidHeaders extends $tea.Model {
2228
2424
  }
2229
2425
  }
2230
2426
 
2231
- export class GetDentryIdByUuidRequest extends $tea.Model {
2427
+ export class DocUpdateContentWithDelegatedPermissionRequest extends $tea.Model {
2232
2428
  /**
2233
2429
  * @remarks
2234
2430
  * This parameter is required.
2235
2431
  *
2236
2432
  * @example
2237
- * union_id
2433
+ * content
2238
2434
  */
2239
- operatorId?: string;
2435
+ content?: string;
2436
+ /**
2437
+ * @example
2438
+ * data_type
2439
+ */
2440
+ dataType?: string;
2240
2441
  static names(): { [key: string]: string } {
2241
2442
  return {
2242
- operatorId: 'operatorId',
2443
+ content: 'content',
2444
+ dataType: 'dataType',
2243
2445
  };
2244
2446
  }
2245
2447
 
2246
2448
  static types(): { [key: string]: any } {
2247
2449
  return {
2248
- operatorId: 'string',
2450
+ content: 'string',
2451
+ dataType: 'string',
2249
2452
  };
2250
2453
  }
2251
2454
 
@@ -2254,23 +2457,17 @@ export class GetDentryIdByUuidRequest extends $tea.Model {
2254
2457
  }
2255
2458
  }
2256
2459
 
2257
- export class GetDentryIdByUuidResponseBody extends $tea.Model {
2258
- dentryId?: string;
2259
- dentryUuid?: string;
2260
- spaceId?: string;
2460
+ export class DocUpdateContentWithDelegatedPermissionResponseBody extends $tea.Model {
2461
+ data?: { [key: string]: any };
2261
2462
  static names(): { [key: string]: string } {
2262
2463
  return {
2263
- dentryId: 'dentryId',
2264
- dentryUuid: 'dentryUuid',
2265
- spaceId: 'spaceId',
2464
+ data: 'data',
2266
2465
  };
2267
2466
  }
2268
2467
 
2269
2468
  static types(): { [key: string]: any } {
2270
2469
  return {
2271
- dentryId: 'string',
2272
- dentryUuid: 'string',
2273
- spaceId: 'string',
2470
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2274
2471
  };
2275
2472
  }
2276
2473
 
@@ -2279,10 +2476,10 @@ export class GetDentryIdByUuidResponseBody extends $tea.Model {
2279
2476
  }
2280
2477
  }
2281
2478
 
2282
- export class GetDentryIdByUuidResponse extends $tea.Model {
2479
+ export class DocUpdateContentWithDelegatedPermissionResponse extends $tea.Model {
2283
2480
  headers?: { [key: string]: string };
2284
2481
  statusCode?: number;
2285
- body?: GetDentryIdByUuidResponseBody;
2482
+ body?: DocUpdateContentWithDelegatedPermissionResponseBody;
2286
2483
  static names(): { [key: string]: string } {
2287
2484
  return {
2288
2485
  headers: 'headers',
@@ -2295,7 +2492,7 @@ export class GetDentryIdByUuidResponse extends $tea.Model {
2295
2492
  return {
2296
2493
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2297
2494
  statusCode: 'number',
2298
- body: GetDentryIdByUuidResponseBody,
2495
+ body: DocUpdateContentWithDelegatedPermissionResponseBody,
2299
2496
  };
2300
2497
  }
2301
2498
 
@@ -2304,7 +2501,7 @@ export class GetDentryIdByUuidResponse extends $tea.Model {
2304
2501
  }
2305
2502
  }
2306
2503
 
2307
- export class GetDocContentHeaders extends $tea.Model {
2504
+ export class ExportDocHeaders extends $tea.Model {
2308
2505
  commonHeaders?: { [key: string]: string };
2309
2506
  xAcsDingtalkAccessToken?: string;
2310
2507
  static names(): { [key: string]: string } {
@@ -2326,27 +2523,225 @@ export class GetDocContentHeaders extends $tea.Model {
2326
2523
  }
2327
2524
  }
2328
2525
 
2329
- export class GetDocContentRequest extends $tea.Model {
2330
- /**
2331
- * @example
2332
- * false
2333
- */
2334
- generateCp?: boolean;
2526
+ export class ExportDocRequest extends $tea.Model {
2335
2527
  /**
2336
- * @example
2337
- * markdown
2528
+ * @remarks
2529
+ * This parameter is required.
2338
2530
  */
2339
- targetFormat?: string;
2531
+ param?: ExportDocRequestParam;
2340
2532
  static names(): { [key: string]: string } {
2341
2533
  return {
2342
- generateCp: 'generateCp',
2343
- targetFormat: 'targetFormat',
2534
+ param: 'param',
2344
2535
  };
2345
2536
  }
2346
2537
 
2347
2538
  static types(): { [key: string]: any } {
2348
2539
  return {
2349
- generateCp: 'boolean',
2540
+ param: ExportDocRequestParam,
2541
+ };
2542
+ }
2543
+
2544
+ constructor(map?: { [key: string]: any }) {
2545
+ super(map);
2546
+ }
2547
+ }
2548
+
2549
+ export class ExportDocResponseBody extends $tea.Model {
2550
+ /**
2551
+ * @example
2552
+ * 12345678
2553
+ */
2554
+ jobId?: string;
2555
+ /**
2556
+ * @example
2557
+ * init
2558
+ */
2559
+ status?: string;
2560
+ static names(): { [key: string]: string } {
2561
+ return {
2562
+ jobId: 'jobId',
2563
+ status: 'status',
2564
+ };
2565
+ }
2566
+
2567
+ static types(): { [key: string]: any } {
2568
+ return {
2569
+ jobId: 'string',
2570
+ status: 'string',
2571
+ };
2572
+ }
2573
+
2574
+ constructor(map?: { [key: string]: any }) {
2575
+ super(map);
2576
+ }
2577
+ }
2578
+
2579
+ export class ExportDocResponse extends $tea.Model {
2580
+ headers?: { [key: string]: string };
2581
+ statusCode?: number;
2582
+ body?: ExportDocResponseBody;
2583
+ static names(): { [key: string]: string } {
2584
+ return {
2585
+ headers: 'headers',
2586
+ statusCode: 'statusCode',
2587
+ body: 'body',
2588
+ };
2589
+ }
2590
+
2591
+ static types(): { [key: string]: any } {
2592
+ return {
2593
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2594
+ statusCode: 'number',
2595
+ body: ExportDocResponseBody,
2596
+ };
2597
+ }
2598
+
2599
+ constructor(map?: { [key: string]: any }) {
2600
+ super(map);
2601
+ }
2602
+ }
2603
+
2604
+ export class GetDentryIdByUuidHeaders extends $tea.Model {
2605
+ commonHeaders?: { [key: string]: string };
2606
+ xAcsDingtalkAccessToken?: string;
2607
+ static names(): { [key: string]: string } {
2608
+ return {
2609
+ commonHeaders: 'commonHeaders',
2610
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
2611
+ };
2612
+ }
2613
+
2614
+ static types(): { [key: string]: any } {
2615
+ return {
2616
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2617
+ xAcsDingtalkAccessToken: 'string',
2618
+ };
2619
+ }
2620
+
2621
+ constructor(map?: { [key: string]: any }) {
2622
+ super(map);
2623
+ }
2624
+ }
2625
+
2626
+ export class GetDentryIdByUuidRequest extends $tea.Model {
2627
+ /**
2628
+ * @remarks
2629
+ * This parameter is required.
2630
+ *
2631
+ * @example
2632
+ * union_id
2633
+ */
2634
+ operatorId?: string;
2635
+ static names(): { [key: string]: string } {
2636
+ return {
2637
+ operatorId: 'operatorId',
2638
+ };
2639
+ }
2640
+
2641
+ static types(): { [key: string]: any } {
2642
+ return {
2643
+ operatorId: 'string',
2644
+ };
2645
+ }
2646
+
2647
+ constructor(map?: { [key: string]: any }) {
2648
+ super(map);
2649
+ }
2650
+ }
2651
+
2652
+ export class GetDentryIdByUuidResponseBody extends $tea.Model {
2653
+ dentryId?: string;
2654
+ dentryUuid?: string;
2655
+ spaceId?: string;
2656
+ static names(): { [key: string]: string } {
2657
+ return {
2658
+ dentryId: 'dentryId',
2659
+ dentryUuid: 'dentryUuid',
2660
+ spaceId: 'spaceId',
2661
+ };
2662
+ }
2663
+
2664
+ static types(): { [key: string]: any } {
2665
+ return {
2666
+ dentryId: 'string',
2667
+ dentryUuid: 'string',
2668
+ spaceId: 'string',
2669
+ };
2670
+ }
2671
+
2672
+ constructor(map?: { [key: string]: any }) {
2673
+ super(map);
2674
+ }
2675
+ }
2676
+
2677
+ export class GetDentryIdByUuidResponse extends $tea.Model {
2678
+ headers?: { [key: string]: string };
2679
+ statusCode?: number;
2680
+ body?: GetDentryIdByUuidResponseBody;
2681
+ static names(): { [key: string]: string } {
2682
+ return {
2683
+ headers: 'headers',
2684
+ statusCode: 'statusCode',
2685
+ body: 'body',
2686
+ };
2687
+ }
2688
+
2689
+ static types(): { [key: string]: any } {
2690
+ return {
2691
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2692
+ statusCode: 'number',
2693
+ body: GetDentryIdByUuidResponseBody,
2694
+ };
2695
+ }
2696
+
2697
+ constructor(map?: { [key: string]: any }) {
2698
+ super(map);
2699
+ }
2700
+ }
2701
+
2702
+ export class GetDocContentHeaders extends $tea.Model {
2703
+ commonHeaders?: { [key: string]: string };
2704
+ xAcsDingtalkAccessToken?: string;
2705
+ static names(): { [key: string]: string } {
2706
+ return {
2707
+ commonHeaders: 'commonHeaders',
2708
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
2709
+ };
2710
+ }
2711
+
2712
+ static types(): { [key: string]: any } {
2713
+ return {
2714
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2715
+ xAcsDingtalkAccessToken: 'string',
2716
+ };
2717
+ }
2718
+
2719
+ constructor(map?: { [key: string]: any }) {
2720
+ super(map);
2721
+ }
2722
+ }
2723
+
2724
+ export class GetDocContentRequest extends $tea.Model {
2725
+ /**
2726
+ * @example
2727
+ * false
2728
+ */
2729
+ generateCp?: boolean;
2730
+ /**
2731
+ * @example
2732
+ * markdown
2733
+ */
2734
+ targetFormat?: string;
2735
+ static names(): { [key: string]: string } {
2736
+ return {
2737
+ generateCp: 'generateCp',
2738
+ targetFormat: 'targetFormat',
2739
+ };
2740
+ }
2741
+
2742
+ static types(): { [key: string]: any } {
2743
+ return {
2744
+ generateCp: 'boolean',
2350
2745
  targetFormat: 'string',
2351
2746
  };
2352
2747
  }
@@ -3030,7 +3425,7 @@ export class GetStarInfoResponse extends $tea.Model {
3030
3425
  }
3031
3426
  }
3032
3427
 
3033
- export class GetTeamHeaders extends $tea.Model {
3428
+ export class GetTaskInfoHeaders extends $tea.Model {
3034
3429
  commonHeaders?: { [key: string]: string };
3035
3430
  xAcsDingtalkAccessToken?: string;
3036
3431
  static names(): { [key: string]: string } {
@@ -3052,24 +3447,49 @@ export class GetTeamHeaders extends $tea.Model {
3052
3447
  }
3053
3448
  }
3054
3449
 
3055
- export class GetTeamRequest extends $tea.Model {
3450
+ export class GetTaskInfoResponseBody extends $tea.Model {
3056
3451
  /**
3057
- * @remarks
3058
- * This parameter is required.
3059
- *
3060
3452
  * @example
3061
- * YEp3JcM******UIbhwiE
3453
+ * 0
3062
3454
  */
3063
- operatorId?: string;
3455
+ failCount?: number;
3456
+ /**
3457
+ * @example
3458
+ * 2
3459
+ */
3460
+ status?: number;
3461
+ /**
3462
+ * @example
3463
+ * 1
3464
+ */
3465
+ succCount?: number;
3466
+ /**
3467
+ * @example
3468
+ * abcd
3469
+ */
3470
+ taskId?: string;
3471
+ /**
3472
+ * @example
3473
+ * 1
3474
+ */
3475
+ totalCount?: number;
3064
3476
  static names(): { [key: string]: string } {
3065
3477
  return {
3066
- operatorId: 'operatorId',
3478
+ failCount: 'failCount',
3479
+ status: 'status',
3480
+ succCount: 'succCount',
3481
+ taskId: 'taskId',
3482
+ totalCount: 'totalCount',
3067
3483
  };
3068
3484
  }
3069
3485
 
3070
3486
  static types(): { [key: string]: any } {
3071
3487
  return {
3072
- operatorId: 'string',
3488
+ failCount: 'number',
3489
+ status: 'number',
3490
+ succCount: 'number',
3491
+ taskId: 'string',
3492
+ totalCount: 'number',
3073
3493
  };
3074
3494
  }
3075
3495
 
@@ -3078,10 +3498,10 @@ export class GetTeamRequest extends $tea.Model {
3078
3498
  }
3079
3499
  }
3080
3500
 
3081
- export class GetTeamResponse extends $tea.Model {
3501
+ export class GetTaskInfoResponse extends $tea.Model {
3082
3502
  headers?: { [key: string]: string };
3083
3503
  statusCode?: number;
3084
- body?: TeamVO;
3504
+ body?: GetTaskInfoResponseBody;
3085
3505
  static names(): { [key: string]: string } {
3086
3506
  return {
3087
3507
  headers: 'headers',
@@ -3094,7 +3514,7 @@ export class GetTeamResponse extends $tea.Model {
3094
3514
  return {
3095
3515
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3096
3516
  statusCode: 'number',
3097
- body: TeamVO,
3517
+ body: GetTaskInfoResponseBody,
3098
3518
  };
3099
3519
  }
3100
3520
 
@@ -3103,7 +3523,7 @@ export class GetTeamResponse extends $tea.Model {
3103
3523
  }
3104
3524
  }
3105
3525
 
3106
- export class GetTotalNumberOfDentriesHeaders extends $tea.Model {
3526
+ export class GetTeamHeaders extends $tea.Model {
3107
3527
  commonHeaders?: { [key: string]: string };
3108
3528
  xAcsDingtalkAccessToken?: string;
3109
3529
  static names(): { [key: string]: string } {
@@ -3125,30 +3545,24 @@ export class GetTotalNumberOfDentriesHeaders extends $tea.Model {
3125
3545
  }
3126
3546
  }
3127
3547
 
3128
- export class GetTotalNumberOfDentriesRequest extends $tea.Model {
3129
- includeFolder?: boolean;
3548
+ export class GetTeamRequest extends $tea.Model {
3130
3549
  /**
3131
3550
  * @remarks
3132
3551
  * This parameter is required.
3133
3552
  *
3134
3553
  * @example
3135
- * abcd
3554
+ * YEp3JcM******UIbhwiE
3136
3555
  */
3137
3556
  operatorId?: string;
3138
- spaceTypes?: string;
3139
3557
  static names(): { [key: string]: string } {
3140
3558
  return {
3141
- includeFolder: 'includeFolder',
3142
3559
  operatorId: 'operatorId',
3143
- spaceTypes: 'spaceTypes',
3144
3560
  };
3145
3561
  }
3146
3562
 
3147
3563
  static types(): { [key: string]: any } {
3148
3564
  return {
3149
- includeFolder: 'boolean',
3150
3565
  operatorId: 'string',
3151
- spaceTypes: 'string',
3152
3566
  };
3153
3567
  }
3154
3568
 
@@ -3157,8 +3571,87 @@ export class GetTotalNumberOfDentriesRequest extends $tea.Model {
3157
3571
  }
3158
3572
  }
3159
3573
 
3160
- export class GetTotalNumberOfDentriesResponseBody extends $tea.Model {
3161
- dentriesCount?: string;
3574
+ export class GetTeamResponse extends $tea.Model {
3575
+ headers?: { [key: string]: string };
3576
+ statusCode?: number;
3577
+ body?: TeamVO;
3578
+ static names(): { [key: string]: string } {
3579
+ return {
3580
+ headers: 'headers',
3581
+ statusCode: 'statusCode',
3582
+ body: 'body',
3583
+ };
3584
+ }
3585
+
3586
+ static types(): { [key: string]: any } {
3587
+ return {
3588
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3589
+ statusCode: 'number',
3590
+ body: TeamVO,
3591
+ };
3592
+ }
3593
+
3594
+ constructor(map?: { [key: string]: any }) {
3595
+ super(map);
3596
+ }
3597
+ }
3598
+
3599
+ export class GetTotalNumberOfDentriesHeaders extends $tea.Model {
3600
+ commonHeaders?: { [key: string]: string };
3601
+ xAcsDingtalkAccessToken?: string;
3602
+ static names(): { [key: string]: string } {
3603
+ return {
3604
+ commonHeaders: 'commonHeaders',
3605
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
3606
+ };
3607
+ }
3608
+
3609
+ static types(): { [key: string]: any } {
3610
+ return {
3611
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3612
+ xAcsDingtalkAccessToken: 'string',
3613
+ };
3614
+ }
3615
+
3616
+ constructor(map?: { [key: string]: any }) {
3617
+ super(map);
3618
+ }
3619
+ }
3620
+
3621
+ export class GetTotalNumberOfDentriesRequest extends $tea.Model {
3622
+ includeFolder?: boolean;
3623
+ /**
3624
+ * @remarks
3625
+ * This parameter is required.
3626
+ *
3627
+ * @example
3628
+ * abcd
3629
+ */
3630
+ operatorId?: string;
3631
+ spaceTypes?: string;
3632
+ static names(): { [key: string]: string } {
3633
+ return {
3634
+ includeFolder: 'includeFolder',
3635
+ operatorId: 'operatorId',
3636
+ spaceTypes: 'spaceTypes',
3637
+ };
3638
+ }
3639
+
3640
+ static types(): { [key: string]: any } {
3641
+ return {
3642
+ includeFolder: 'boolean',
3643
+ operatorId: 'string',
3644
+ spaceTypes: 'string',
3645
+ };
3646
+ }
3647
+
3648
+ constructor(map?: { [key: string]: any }) {
3649
+ super(map);
3650
+ }
3651
+ }
3652
+
3653
+ export class GetTotalNumberOfDentriesResponseBody extends $tea.Model {
3654
+ dentriesCount?: string;
3162
3655
  static names(): { [key: string]: string } {
3163
3656
  return {
3164
3657
  dentriesCount: 'dentriesCount',
@@ -3500,6 +3993,95 @@ export class GetUuidByDentryIdResponse extends $tea.Model {
3500
3993
  }
3501
3994
  }
3502
3995
 
3996
+ export class GetWorkspacePermissionScopesHeaders extends $tea.Model {
3997
+ commonHeaders?: { [key: string]: string };
3998
+ xAcsDingtalkAccessToken?: string;
3999
+ static names(): { [key: string]: string } {
4000
+ return {
4001
+ commonHeaders: 'commonHeaders',
4002
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
4003
+ };
4004
+ }
4005
+
4006
+ static types(): { [key: string]: any } {
4007
+ return {
4008
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4009
+ xAcsDingtalkAccessToken: 'string',
4010
+ };
4011
+ }
4012
+
4013
+ constructor(map?: { [key: string]: any }) {
4014
+ super(map);
4015
+ }
4016
+ }
4017
+
4018
+ export class GetWorkspacePermissionScopesRequest extends $tea.Model {
4019
+ /**
4020
+ * @remarks
4021
+ * This parameter is required.
4022
+ */
4023
+ operatorId?: string;
4024
+ static names(): { [key: string]: string } {
4025
+ return {
4026
+ operatorId: 'operatorId',
4027
+ };
4028
+ }
4029
+
4030
+ static types(): { [key: string]: any } {
4031
+ return {
4032
+ operatorId: 'string',
4033
+ };
4034
+ }
4035
+
4036
+ constructor(map?: { [key: string]: any }) {
4037
+ super(map);
4038
+ }
4039
+ }
4040
+
4041
+ export class GetWorkspacePermissionScopesResponseBody extends $tea.Model {
4042
+ members?: GetWorkspacePermissionScopesResponseBodyMembers[];
4043
+ static names(): { [key: string]: string } {
4044
+ return {
4045
+ members: 'members',
4046
+ };
4047
+ }
4048
+
4049
+ static types(): { [key: string]: any } {
4050
+ return {
4051
+ members: { 'type': 'array', 'itemType': GetWorkspacePermissionScopesResponseBodyMembers },
4052
+ };
4053
+ }
4054
+
4055
+ constructor(map?: { [key: string]: any }) {
4056
+ super(map);
4057
+ }
4058
+ }
4059
+
4060
+ export class GetWorkspacePermissionScopesResponse extends $tea.Model {
4061
+ headers?: { [key: string]: string };
4062
+ statusCode?: number;
4063
+ body?: GetWorkspacePermissionScopesResponseBody;
4064
+ static names(): { [key: string]: string } {
4065
+ return {
4066
+ headers: 'headers',
4067
+ statusCode: 'statusCode',
4068
+ body: 'body',
4069
+ };
4070
+ }
4071
+
4072
+ static types(): { [key: string]: any } {
4073
+ return {
4074
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4075
+ statusCode: 'number',
4076
+ body: GetWorkspacePermissionScopesResponseBody,
4077
+ };
4078
+ }
4079
+
4080
+ constructor(map?: { [key: string]: any }) {
4081
+ super(map);
4082
+ }
4083
+ }
4084
+
3503
4085
  export class HandoverTeamWithoutAuthHeaders extends $tea.Model {
3504
4086
  commonHeaders?: { [key: string]: string };
3505
4087
  xAcsDingtalkAccessToken?: string;
@@ -3593,6 +4175,99 @@ export class HandoverTeamWithoutAuthResponse extends $tea.Model {
3593
4175
  }
3594
4176
  }
3595
4177
 
4178
+ export class HandoveryWorkspaceHeaders extends $tea.Model {
4179
+ commonHeaders?: { [key: string]: string };
4180
+ xAcsDingtalkAccessToken?: string;
4181
+ static names(): { [key: string]: string } {
4182
+ return {
4183
+ commonHeaders: 'commonHeaders',
4184
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
4185
+ };
4186
+ }
4187
+
4188
+ static types(): { [key: string]: any } {
4189
+ return {
4190
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4191
+ xAcsDingtalkAccessToken: 'string',
4192
+ };
4193
+ }
4194
+
4195
+ constructor(map?: { [key: string]: any }) {
4196
+ super(map);
4197
+ }
4198
+ }
4199
+
4200
+ export class HandoveryWorkspaceRequest extends $tea.Model {
4201
+ /**
4202
+ * @remarks
4203
+ * This parameter is required.
4204
+ */
4205
+ param?: HandoveryWorkspaceRequestParam;
4206
+ static names(): { [key: string]: string } {
4207
+ return {
4208
+ param: 'param',
4209
+ };
4210
+ }
4211
+
4212
+ static types(): { [key: string]: any } {
4213
+ return {
4214
+ param: HandoveryWorkspaceRequestParam,
4215
+ };
4216
+ }
4217
+
4218
+ constructor(map?: { [key: string]: any }) {
4219
+ super(map);
4220
+ }
4221
+ }
4222
+
4223
+ export class HandoveryWorkspaceResponseBody extends $tea.Model {
4224
+ /**
4225
+ * @example
4226
+ * true
4227
+ */
4228
+ result?: boolean;
4229
+ static names(): { [key: string]: string } {
4230
+ return {
4231
+ result: 'result',
4232
+ };
4233
+ }
4234
+
4235
+ static types(): { [key: string]: any } {
4236
+ return {
4237
+ result: 'boolean',
4238
+ };
4239
+ }
4240
+
4241
+ constructor(map?: { [key: string]: any }) {
4242
+ super(map);
4243
+ }
4244
+ }
4245
+
4246
+ export class HandoveryWorkspaceResponse extends $tea.Model {
4247
+ headers?: { [key: string]: string };
4248
+ statusCode?: number;
4249
+ body?: HandoveryWorkspaceResponseBody;
4250
+ static names(): { [key: string]: string } {
4251
+ return {
4252
+ headers: 'headers',
4253
+ statusCode: 'statusCode',
4254
+ body: 'body',
4255
+ };
4256
+ }
4257
+
4258
+ static types(): { [key: string]: any } {
4259
+ return {
4260
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4261
+ statusCode: 'number',
4262
+ body: HandoveryWorkspaceResponseBody,
4263
+ };
4264
+ }
4265
+
4266
+ constructor(map?: { [key: string]: any }) {
4267
+ super(map);
4268
+ }
4269
+ }
4270
+
3596
4271
  export class ListFeedsHeaders extends $tea.Model {
3597
4272
  commonHeaders?: { [key: string]: string };
3598
4273
  xAcsDingtalkAccessToken?: string;
@@ -4980,7 +5655,7 @@ export class QueryDocContentResponse extends $tea.Model {
4980
5655
  }
4981
5656
  }
4982
5657
 
4983
- export class QueryItemByUrlHeaders extends $tea.Model {
5658
+ export class QueryGetContentJobHeaders extends $tea.Model {
4984
5659
  commonHeaders?: { [key: string]: string };
4985
5660
  xAcsDingtalkAccessToken?: string;
4986
5661
  static names(): { [key: string]: string } {
@@ -5002,36 +5677,138 @@ export class QueryItemByUrlHeaders extends $tea.Model {
5002
5677
  }
5003
5678
  }
5004
5679
 
5005
- export class QueryItemByUrlRequest extends $tea.Model {
5680
+ export class QueryGetContentJobRequest extends $tea.Model {
5006
5681
  /**
5007
5682
  * @remarks
5008
5683
  * This parameter is required.
5009
5684
  *
5010
5685
  * @example
5011
- * YEp3JcM******UIbhwiE
5686
+ * union_id
5012
5687
  */
5013
5688
  operatorId?: string;
5014
5689
  /**
5015
- * @remarks
5016
- * This parameter is required.
5017
- *
5018
5690
  * @example
5019
- * https://alidocs.dingtalk.com/i/nodes/m0Xw6OYE4D7VLeaBP***
5691
+ * markdown
5020
5692
  */
5021
- url?: string;
5022
- withStatisticalInfo?: boolean;
5693
+ taskId?: number;
5023
5694
  static names(): { [key: string]: string } {
5024
5695
  return {
5025
5696
  operatorId: 'operatorId',
5026
- url: 'url',
5027
- withStatisticalInfo: 'withStatisticalInfo',
5697
+ taskId: 'taskId',
5028
5698
  };
5029
5699
  }
5030
5700
 
5031
5701
  static types(): { [key: string]: any } {
5032
5702
  return {
5033
5703
  operatorId: 'string',
5034
- url: 'string',
5704
+ taskId: 'number',
5705
+ };
5706
+ }
5707
+
5708
+ constructor(map?: { [key: string]: any }) {
5709
+ super(map);
5710
+ }
5711
+ }
5712
+
5713
+ export class QueryGetContentJobResponseBody extends $tea.Model {
5714
+ contentKey?: string;
5715
+ status?: number;
5716
+ static names(): { [key: string]: string } {
5717
+ return {
5718
+ contentKey: 'contentKey',
5719
+ status: 'status',
5720
+ };
5721
+ }
5722
+
5723
+ static types(): { [key: string]: any } {
5724
+ return {
5725
+ contentKey: 'string',
5726
+ status: 'number',
5727
+ };
5728
+ }
5729
+
5730
+ constructor(map?: { [key: string]: any }) {
5731
+ super(map);
5732
+ }
5733
+ }
5734
+
5735
+ export class QueryGetContentJobResponse extends $tea.Model {
5736
+ headers?: { [key: string]: string };
5737
+ statusCode?: number;
5738
+ body?: QueryGetContentJobResponseBody;
5739
+ static names(): { [key: string]: string } {
5740
+ return {
5741
+ headers: 'headers',
5742
+ statusCode: 'statusCode',
5743
+ body: 'body',
5744
+ };
5745
+ }
5746
+
5747
+ static types(): { [key: string]: any } {
5748
+ return {
5749
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5750
+ statusCode: 'number',
5751
+ body: QueryGetContentJobResponseBody,
5752
+ };
5753
+ }
5754
+
5755
+ constructor(map?: { [key: string]: any }) {
5756
+ super(map);
5757
+ }
5758
+ }
5759
+
5760
+ export class QueryItemByUrlHeaders extends $tea.Model {
5761
+ commonHeaders?: { [key: string]: string };
5762
+ xAcsDingtalkAccessToken?: string;
5763
+ static names(): { [key: string]: string } {
5764
+ return {
5765
+ commonHeaders: 'commonHeaders',
5766
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
5767
+ };
5768
+ }
5769
+
5770
+ static types(): { [key: string]: any } {
5771
+ return {
5772
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5773
+ xAcsDingtalkAccessToken: 'string',
5774
+ };
5775
+ }
5776
+
5777
+ constructor(map?: { [key: string]: any }) {
5778
+ super(map);
5779
+ }
5780
+ }
5781
+
5782
+ export class QueryItemByUrlRequest extends $tea.Model {
5783
+ /**
5784
+ * @remarks
5785
+ * This parameter is required.
5786
+ *
5787
+ * @example
5788
+ * YEp3JcM******UIbhwiE
5789
+ */
5790
+ operatorId?: string;
5791
+ /**
5792
+ * @remarks
5793
+ * This parameter is required.
5794
+ *
5795
+ * @example
5796
+ * https://alidocs.dingtalk.com/i/nodes/m0Xw6OYE4D7VLeaBP***
5797
+ */
5798
+ url?: string;
5799
+ withStatisticalInfo?: boolean;
5800
+ static names(): { [key: string]: string } {
5801
+ return {
5802
+ operatorId: 'operatorId',
5803
+ url: 'url',
5804
+ withStatisticalInfo: 'withStatisticalInfo',
5805
+ };
5806
+ }
5807
+
5808
+ static types(): { [key: string]: any } {
5809
+ return {
5810
+ operatorId: 'string',
5811
+ url: 'string',
5035
5812
  withStatisticalInfo: 'boolean',
5036
5813
  };
5037
5814
  }
@@ -6052,6 +6829,105 @@ export class ShareUrlResponse extends $tea.Model {
6052
6829
  }
6053
6830
  }
6054
6831
 
6832
+ export class SubmitGetContentJobHeaders extends $tea.Model {
6833
+ commonHeaders?: { [key: string]: string };
6834
+ xAcsDingtalkAccessToken?: string;
6835
+ static names(): { [key: string]: string } {
6836
+ return {
6837
+ commonHeaders: 'commonHeaders',
6838
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
6839
+ };
6840
+ }
6841
+
6842
+ static types(): { [key: string]: any } {
6843
+ return {
6844
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6845
+ xAcsDingtalkAccessToken: 'string',
6846
+ };
6847
+ }
6848
+
6849
+ constructor(map?: { [key: string]: any }) {
6850
+ super(map);
6851
+ }
6852
+ }
6853
+
6854
+ export class SubmitGetContentJobRequest extends $tea.Model {
6855
+ /**
6856
+ * @remarks
6857
+ * This parameter is required.
6858
+ *
6859
+ * @example
6860
+ * union_id
6861
+ */
6862
+ operatorId?: string;
6863
+ /**
6864
+ * @example
6865
+ * markdown
6866
+ */
6867
+ targetFormat?: string;
6868
+ static names(): { [key: string]: string } {
6869
+ return {
6870
+ operatorId: 'operatorId',
6871
+ targetFormat: 'targetFormat',
6872
+ };
6873
+ }
6874
+
6875
+ static types(): { [key: string]: any } {
6876
+ return {
6877
+ operatorId: 'string',
6878
+ targetFormat: 'string',
6879
+ };
6880
+ }
6881
+
6882
+ constructor(map?: { [key: string]: any }) {
6883
+ super(map);
6884
+ }
6885
+ }
6886
+
6887
+ export class SubmitGetContentJobResponseBody extends $tea.Model {
6888
+ taskId?: number;
6889
+ static names(): { [key: string]: string } {
6890
+ return {
6891
+ taskId: 'taskId',
6892
+ };
6893
+ }
6894
+
6895
+ static types(): { [key: string]: any } {
6896
+ return {
6897
+ taskId: 'number',
6898
+ };
6899
+ }
6900
+
6901
+ constructor(map?: { [key: string]: any }) {
6902
+ super(map);
6903
+ }
6904
+ }
6905
+
6906
+ export class SubmitGetContentJobResponse extends $tea.Model {
6907
+ headers?: { [key: string]: string };
6908
+ statusCode?: number;
6909
+ body?: SubmitGetContentJobResponseBody;
6910
+ static names(): { [key: string]: string } {
6911
+ return {
6912
+ headers: 'headers',
6913
+ statusCode: 'statusCode',
6914
+ body: 'body',
6915
+ };
6916
+ }
6917
+
6918
+ static types(): { [key: string]: any } {
6919
+ return {
6920
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6921
+ statusCode: 'number',
6922
+ body: SubmitGetContentJobResponseBody,
6923
+ };
6924
+ }
6925
+
6926
+ constructor(map?: { [key: string]: any }) {
6927
+ super(map);
6928
+ }
6929
+ }
6930
+
6055
6931
  export class TeamTemplatesHeaders extends $tea.Model {
6056
6932
  commonHeaders?: { [key: string]: string };
6057
6933
  xAcsDingtalkAccessToken?: string;
@@ -7624,6 +8500,137 @@ export class CategoryTemplatesResponseBodyList extends $tea.Model {
7624
8500
  }
7625
8501
  }
7626
8502
 
8503
+ export class CopyDocRequestParam extends $tea.Model {
8504
+ /**
8505
+ * @remarks
8506
+ * This parameter is required.
8507
+ *
8508
+ * @example
8509
+ * dentryUuid
8510
+ */
8511
+ sourceDentryUuid?: string;
8512
+ /**
8513
+ * @remarks
8514
+ * This parameter is required.
8515
+ *
8516
+ * @example
8517
+ * dentryUuid
8518
+ */
8519
+ targetParentDentryUuid?: string;
8520
+ /**
8521
+ * @example
8522
+ * dentryUuid
8523
+ */
8524
+ targetPreDentryUuid?: string;
8525
+ static names(): { [key: string]: string } {
8526
+ return {
8527
+ sourceDentryUuid: 'sourceDentryUuid',
8528
+ targetParentDentryUuid: 'targetParentDentryUuid',
8529
+ targetPreDentryUuid: 'targetPreDentryUuid',
8530
+ };
8531
+ }
8532
+
8533
+ static types(): { [key: string]: any } {
8534
+ return {
8535
+ sourceDentryUuid: 'string',
8536
+ targetParentDentryUuid: 'string',
8537
+ targetPreDentryUuid: 'string',
8538
+ };
8539
+ }
8540
+
8541
+ constructor(map?: { [key: string]: any }) {
8542
+ super(map);
8543
+ }
8544
+ }
8545
+
8546
+ export class CopyDocResponseBodySyncCopyResultSpaceInfo extends $tea.Model {
8547
+ /**
8548
+ * @example
8549
+ * im
8550
+ */
8551
+ sceneType?: string;
8552
+ static names(): { [key: string]: string } {
8553
+ return {
8554
+ sceneType: 'sceneType',
8555
+ };
8556
+ }
8557
+
8558
+ static types(): { [key: string]: any } {
8559
+ return {
8560
+ sceneType: 'string',
8561
+ };
8562
+ }
8563
+
8564
+ constructor(map?: { [key: string]: any }) {
8565
+ super(map);
8566
+ }
8567
+ }
8568
+
8569
+ export class CopyDocResponseBodySyncCopyResult extends $tea.Model {
8570
+ /**
8571
+ * @example
8572
+ * dentryUuid
8573
+ */
8574
+ dentryUuid?: string;
8575
+ /**
8576
+ * @example
8577
+ * driveDentryId
8578
+ */
8579
+ driveDentryId?: string;
8580
+ /**
8581
+ * @example
8582
+ * driveSpaceId
8583
+ */
8584
+ driveSpaceId?: string;
8585
+ /**
8586
+ * @example
8587
+ * docx
8588
+ */
8589
+ extension?: string;
8590
+ /**
8591
+ * @example
8592
+ * name
8593
+ */
8594
+ name?: string;
8595
+ /**
8596
+ * @example
8597
+ * spaceInfo
8598
+ */
8599
+ spaceInfo?: CopyDocResponseBodySyncCopyResultSpaceInfo;
8600
+ /**
8601
+ * @example
8602
+ * https://example.com
8603
+ */
8604
+ url?: string;
8605
+ static names(): { [key: string]: string } {
8606
+ return {
8607
+ dentryUuid: 'dentryUuid',
8608
+ driveDentryId: 'driveDentryId',
8609
+ driveSpaceId: 'driveSpaceId',
8610
+ extension: 'extension',
8611
+ name: 'name',
8612
+ spaceInfo: 'spaceInfo',
8613
+ url: 'url',
8614
+ };
8615
+ }
8616
+
8617
+ static types(): { [key: string]: any } {
8618
+ return {
8619
+ dentryUuid: 'string',
8620
+ driveDentryId: 'string',
8621
+ driveSpaceId: 'string',
8622
+ extension: 'string',
8623
+ name: 'string',
8624
+ spaceInfo: CopyDocResponseBodySyncCopyResultSpaceInfo,
8625
+ url: 'string',
8626
+ };
8627
+ }
8628
+
8629
+ constructor(map?: { [key: string]: any }) {
8630
+ super(map);
8631
+ }
8632
+ }
8633
+
7627
8634
  export class CopyWorkspaceRequestParam extends $tea.Model {
7628
8635
  /**
7629
8636
  * @example
@@ -7670,6 +8677,157 @@ export class CopyWorkspaceAsyncRequestParam extends $tea.Model {
7670
8677
  }
7671
8678
  }
7672
8679
 
8680
+ export class CreateShortcutRequestParam extends $tea.Model {
8681
+ /**
8682
+ * @remarks
8683
+ * This parameter is required.
8684
+ *
8685
+ * @example
8686
+ * dentryUuid
8687
+ */
8688
+ sourceResourceId?: string;
8689
+ /**
8690
+ * @remarks
8691
+ * This parameter is required.
8692
+ *
8693
+ * @example
8694
+ * DENTRY
8695
+ */
8696
+ sourceResourceType?: string;
8697
+ /**
8698
+ * @remarks
8699
+ * This parameter is required.
8700
+ *
8701
+ * @example
8702
+ * dentryUuid
8703
+ */
8704
+ targetResourceId?: string;
8705
+ /**
8706
+ * @example
8707
+ * 123test
8708
+ */
8709
+ targetResourceName?: string;
8710
+ /**
8711
+ * @remarks
8712
+ * This parameter is required.
8713
+ *
8714
+ * @example
8715
+ * DENTRY
8716
+ */
8717
+ targetResourceType?: string;
8718
+ static names(): { [key: string]: string } {
8719
+ return {
8720
+ sourceResourceId: 'sourceResourceId',
8721
+ sourceResourceType: 'sourceResourceType',
8722
+ targetResourceId: 'targetResourceId',
8723
+ targetResourceName: 'targetResourceName',
8724
+ targetResourceType: 'targetResourceType',
8725
+ };
8726
+ }
8727
+
8728
+ static types(): { [key: string]: any } {
8729
+ return {
8730
+ sourceResourceId: 'string',
8731
+ sourceResourceType: 'string',
8732
+ targetResourceId: 'string',
8733
+ targetResourceName: 'string',
8734
+ targetResourceType: 'string',
8735
+ };
8736
+ }
8737
+
8738
+ constructor(map?: { [key: string]: any }) {
8739
+ super(map);
8740
+ }
8741
+ }
8742
+
8743
+ export class CreateShortcutResponseBodyOpenDentryInfoSpaceInfo extends $tea.Model {
8744
+ /**
8745
+ * @example
8746
+ * im
8747
+ */
8748
+ sceneType?: string;
8749
+ static names(): { [key: string]: string } {
8750
+ return {
8751
+ sceneType: 'sceneType',
8752
+ };
8753
+ }
8754
+
8755
+ static types(): { [key: string]: any } {
8756
+ return {
8757
+ sceneType: 'string',
8758
+ };
8759
+ }
8760
+
8761
+ constructor(map?: { [key: string]: any }) {
8762
+ super(map);
8763
+ }
8764
+ }
8765
+
8766
+ export class CreateShortcutResponseBodyOpenDentryInfo extends $tea.Model {
8767
+ /**
8768
+ * @example
8769
+ * dentryUuid
8770
+ */
8771
+ dentryUuid?: string;
8772
+ /**
8773
+ * @example
8774
+ * driveDentryId
8775
+ */
8776
+ driveDentryId?: string;
8777
+ /**
8778
+ * @example
8779
+ * driveSpaceId
8780
+ */
8781
+ driveSpaceId?: string;
8782
+ /**
8783
+ * @example
8784
+ * docx
8785
+ */
8786
+ extension?: string;
8787
+ /**
8788
+ * @example
8789
+ * name
8790
+ */
8791
+ name?: string;
8792
+ /**
8793
+ * @example
8794
+ * spaceInfo
8795
+ */
8796
+ spaceInfo?: CreateShortcutResponseBodyOpenDentryInfoSpaceInfo;
8797
+ /**
8798
+ * @example
8799
+ * https://example.com
8800
+ */
8801
+ url?: string;
8802
+ static names(): { [key: string]: string } {
8803
+ return {
8804
+ dentryUuid: 'dentryUuid',
8805
+ driveDentryId: 'driveDentryId',
8806
+ driveSpaceId: 'driveSpaceId',
8807
+ extension: 'extension',
8808
+ name: 'name',
8809
+ spaceInfo: 'spaceInfo',
8810
+ url: 'url',
8811
+ };
8812
+ }
8813
+
8814
+ static types(): { [key: string]: any } {
8815
+ return {
8816
+ dentryUuid: 'string',
8817
+ driveDentryId: 'string',
8818
+ driveSpaceId: 'string',
8819
+ extension: 'string',
8820
+ name: 'string',
8821
+ spaceInfo: CreateShortcutResponseBodyOpenDentryInfoSpaceInfo,
8822
+ url: 'string',
8823
+ };
8824
+ }
8825
+
8826
+ constructor(map?: { [key: string]: any }) {
8827
+ super(map);
8828
+ }
8829
+ }
8830
+
7673
8831
  export class CreateSpaceRequestShareScope extends $tea.Model {
7674
8832
  /**
7675
8833
  * @remarks
@@ -7878,15 +9036,40 @@ export class ExportDocRequestParam extends $tea.Model {
7878
9036
  exportType?: string;
7879
9037
  static names(): { [key: string]: string } {
7880
9038
  return {
7881
- dentryUuid: 'dentryUuid',
7882
- exportType: 'exportType',
9039
+ dentryUuid: 'dentryUuid',
9040
+ exportType: 'exportType',
9041
+ };
9042
+ }
9043
+
9044
+ static types(): { [key: string]: any } {
9045
+ return {
9046
+ dentryUuid: 'string',
9047
+ exportType: 'string',
9048
+ };
9049
+ }
9050
+
9051
+ constructor(map?: { [key: string]: any }) {
9052
+ super(map);
9053
+ }
9054
+ }
9055
+
9056
+ export class GetWorkspacePermissionScopesResponseBodyMembers extends $tea.Model {
9057
+ memberId?: string;
9058
+ memberRole?: string;
9059
+ memberType?: string;
9060
+ static names(): { [key: string]: string } {
9061
+ return {
9062
+ memberId: 'memberId',
9063
+ memberRole: 'memberRole',
9064
+ memberType: 'memberType',
7883
9065
  };
7884
9066
  }
7885
9067
 
7886
9068
  static types(): { [key: string]: any } {
7887
9069
  return {
7888
- dentryUuid: 'string',
7889
- exportType: 'string',
9070
+ memberId: 'string',
9071
+ memberRole: 'string',
9072
+ memberType: 'string',
7890
9073
  };
7891
9074
  }
7892
9075
 
@@ -7931,6 +9114,49 @@ export class HandoverTeamWithoutAuthRequestParam extends $tea.Model {
7931
9114
  }
7932
9115
  }
7933
9116
 
9117
+ export class HandoveryWorkspaceRequestParam extends $tea.Model {
9118
+ /**
9119
+ * @example
9120
+ * unionId
9121
+ */
9122
+ leave?: boolean;
9123
+ /**
9124
+ * @remarks
9125
+ * This parameter is required.
9126
+ *
9127
+ * @example
9128
+ * unionId
9129
+ */
9130
+ receiverUnionId?: string;
9131
+ /**
9132
+ * @remarks
9133
+ * This parameter is required.
9134
+ *
9135
+ * @example
9136
+ * root_node_uuid
9137
+ */
9138
+ resourceId?: string;
9139
+ static names(): { [key: string]: string } {
9140
+ return {
9141
+ leave: 'leave',
9142
+ receiverUnionId: 'receiverUnionId',
9143
+ resourceId: 'resourceId',
9144
+ };
9145
+ }
9146
+
9147
+ static types(): { [key: string]: any } {
9148
+ return {
9149
+ leave: 'boolean',
9150
+ receiverUnionId: 'string',
9151
+ resourceId: 'string',
9152
+ };
9153
+ }
9154
+
9155
+ constructor(map?: { [key: string]: any }) {
9156
+ super(map);
9157
+ }
9158
+ }
9159
+
7934
9160
  export class ListFeedsResponseBodyItems extends $tea.Model {
7935
9161
  /**
7936
9162
  * @example
@@ -9458,6 +10684,28 @@ export class SaveTeamMembersResponseBodyNotInOrgMembers extends $tea.Model {
9458
10684
  }
9459
10685
  }
9460
10686
 
10687
+ export class SearchRequestDentryRequestCreateTimeRange extends $tea.Model {
10688
+ end?: number;
10689
+ start?: number;
10690
+ static names(): { [key: string]: string } {
10691
+ return {
10692
+ end: 'end',
10693
+ start: 'start',
10694
+ };
10695
+ }
10696
+
10697
+ static types(): { [key: string]: any } {
10698
+ return {
10699
+ end: 'number',
10700
+ start: 'number',
10701
+ };
10702
+ }
10703
+
10704
+ constructor(map?: { [key: string]: any }) {
10705
+ super(map);
10706
+ }
10707
+ }
10708
+
9461
10709
  export class SearchRequestDentryRequestVisitTimeRange extends $tea.Model {
9462
10710
  end?: number;
9463
10711
  start?: number;
@@ -9481,6 +10729,9 @@ export class SearchRequestDentryRequestVisitTimeRange extends $tea.Model {
9481
10729
  }
9482
10730
 
9483
10731
  export class SearchRequestDentryRequest extends $tea.Model {
10732
+ createTimeRange?: SearchRequestDentryRequestCreateTimeRange;
10733
+ createUsers?: string[];
10734
+ editors?: string[];
9484
10735
  /**
9485
10736
  * @remarks
9486
10737
  * This parameter is required.
@@ -9499,6 +10750,9 @@ export class SearchRequestDentryRequest extends $tea.Model {
9499
10750
  visitTimeRange?: SearchRequestDentryRequestVisitTimeRange;
9500
10751
  static names(): { [key: string]: string } {
9501
10752
  return {
10753
+ createTimeRange: 'createTimeRange',
10754
+ createUsers: 'createUsers',
10755
+ editors: 'editors',
9502
10756
  maxResults: 'maxResults',
9503
10757
  nextToken: 'nextToken',
9504
10758
  searchField: 'searchField',
@@ -9512,6 +10766,9 @@ export class SearchRequestDentryRequest extends $tea.Model {
9512
10766
 
9513
10767
  static types(): { [key: string]: any } {
9514
10768
  return {
10769
+ createTimeRange: SearchRequestDentryRequestCreateTimeRange,
10770
+ createUsers: { 'type': 'array', 'itemType': 'string' },
10771
+ editors: { 'type': 'array', 'itemType': 'string' },
9515
10772
  maxResults: 'number',
9516
10773
  nextToken: 'string',
9517
10774
  searchField: 'number',
@@ -10610,6 +11867,60 @@ export default class Client extends OpenApi {
10610
11867
  return await this.copyDentryWithOptions(spaceId, dentryId, request, headers, runtime);
10611
11868
  }
10612
11869
 
11870
+ /**
11871
+ * 复制文档
11872
+ *
11873
+ * @param request - CopyDocRequest
11874
+ * @param headers - CopyDocHeaders
11875
+ * @param runtime - runtime options for this request RuntimeOptions
11876
+ * @returns CopyDocResponse
11877
+ */
11878
+ async copyDocWithOptions(request: CopyDocRequest, headers: CopyDocHeaders, runtime: $Util.RuntimeOptions): Promise<CopyDocResponse> {
11879
+ Util.validateModel(request);
11880
+ let body : {[key: string ]: any} = { };
11881
+ if (!Util.isUnset(request.param)) {
11882
+ body["param"] = request.param;
11883
+ }
11884
+
11885
+ let realHeaders : {[key: string ]: string} = { };
11886
+ if (!Util.isUnset(headers.commonHeaders)) {
11887
+ realHeaders = headers.commonHeaders;
11888
+ }
11889
+
11890
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
11891
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
11892
+ }
11893
+
11894
+ let req = new $OpenApi.OpenApiRequest({
11895
+ headers: realHeaders,
11896
+ body: OpenApiUtil.parseToMap(body),
11897
+ });
11898
+ let params = new $OpenApi.Params({
11899
+ action: "CopyDoc",
11900
+ version: "doc_2.0",
11901
+ protocol: "HTTP",
11902
+ pathname: `/v2.0/doc/dentries/copy`,
11903
+ method: "POST",
11904
+ authType: "AK",
11905
+ style: "ROA",
11906
+ reqBodyType: "none",
11907
+ bodyType: "json",
11908
+ });
11909
+ return $tea.cast<CopyDocResponse>(await this.execute(params, req, runtime), new CopyDocResponse({}));
11910
+ }
11911
+
11912
+ /**
11913
+ * 复制文档
11914
+ *
11915
+ * @param request - CopyDocRequest
11916
+ * @returns CopyDocResponse
11917
+ */
11918
+ async copyDoc(request: CopyDocRequest): Promise<CopyDocResponse> {
11919
+ let runtime = new $Util.RuntimeOptions({ });
11920
+ let headers = new CopyDocHeaders({ });
11921
+ return await this.copyDocWithOptions(request, headers, runtime);
11922
+ }
11923
+
10613
11924
  /**
10614
11925
  * 拷贝知识库
10615
11926
  *
@@ -10788,6 +12099,60 @@ export default class Client extends OpenApi {
10788
12099
  return await this.createDentryWithOptions(spaceId, request, headers, runtime);
10789
12100
  }
10790
12101
 
12102
+ /**
12103
+ * 创建快捷方式
12104
+ *
12105
+ * @param request - CreateShortcutRequest
12106
+ * @param headers - CreateShortcutHeaders
12107
+ * @param runtime - runtime options for this request RuntimeOptions
12108
+ * @returns CreateShortcutResponse
12109
+ */
12110
+ async createShortcutWithOptions(request: CreateShortcutRequest, headers: CreateShortcutHeaders, runtime: $Util.RuntimeOptions): Promise<CreateShortcutResponse> {
12111
+ Util.validateModel(request);
12112
+ let body : {[key: string ]: any} = { };
12113
+ if (!Util.isUnset(request.param)) {
12114
+ body["param"] = request.param;
12115
+ }
12116
+
12117
+ let realHeaders : {[key: string ]: string} = { };
12118
+ if (!Util.isUnset(headers.commonHeaders)) {
12119
+ realHeaders = headers.commonHeaders;
12120
+ }
12121
+
12122
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
12123
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
12124
+ }
12125
+
12126
+ let req = new $OpenApi.OpenApiRequest({
12127
+ headers: realHeaders,
12128
+ body: OpenApiUtil.parseToMap(body),
12129
+ });
12130
+ let params = new $OpenApi.Params({
12131
+ action: "CreateShortcut",
12132
+ version: "doc_2.0",
12133
+ protocol: "HTTP",
12134
+ pathname: `/v2.0/doc/resource/shortcut/create`,
12135
+ method: "POST",
12136
+ authType: "AK",
12137
+ style: "ROA",
12138
+ reqBodyType: "none",
12139
+ bodyType: "json",
12140
+ });
12141
+ return $tea.cast<CreateShortcutResponse>(await this.execute(params, req, runtime), new CreateShortcutResponse({}));
12142
+ }
12143
+
12144
+ /**
12145
+ * 创建快捷方式
12146
+ *
12147
+ * @param request - CreateShortcutRequest
12148
+ * @returns CreateShortcutResponse
12149
+ */
12150
+ async createShortcut(request: CreateShortcutRequest): Promise<CreateShortcutResponse> {
12151
+ let runtime = new $Util.RuntimeOptions({ });
12152
+ let headers = new CreateShortcutHeaders({ });
12153
+ return await this.createShortcutWithOptions(request, headers, runtime);
12154
+ }
12155
+
10791
12156
  /**
10792
12157
  * 创建知识库
10793
12158
  *
@@ -10999,28 +12364,146 @@ export default class Client extends OpenApi {
10999
12364
  /**
11000
12365
  * 跨组织迁移知识库
11001
12366
  *
11002
- * @param request - CrossOrgMigrateRequest
11003
- * @returns CrossOrgMigrateResponse
12367
+ * @param request - CrossOrgMigrateRequest
12368
+ * @returns CrossOrgMigrateResponse
12369
+ */
12370
+ async crossOrgMigrate(request: CrossOrgMigrateRequest): Promise<CrossOrgMigrateResponse> {
12371
+ let runtime = new $Util.RuntimeOptions({ });
12372
+ let headers = new CrossOrgMigrateHeaders({ });
12373
+ return await this.crossOrgMigrateWithOptions(request, headers, runtime);
12374
+ }
12375
+
12376
+ /**
12377
+ * 删除小组
12378
+ *
12379
+ * @param request - DeleteTeamRequest
12380
+ * @param headers - DeleteTeamHeaders
12381
+ * @param runtime - runtime options for this request RuntimeOptions
12382
+ * @returns DeleteTeamResponse
12383
+ */
12384
+ async deleteTeamWithOptions(teamId: string, request: DeleteTeamRequest, headers: DeleteTeamHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteTeamResponse> {
12385
+ Util.validateModel(request);
12386
+ let query : {[key: string ]: any} = { };
12387
+ if (!Util.isUnset(request.operatorId)) {
12388
+ query["operatorId"] = request.operatorId;
12389
+ }
12390
+
12391
+ let realHeaders : {[key: string ]: string} = { };
12392
+ if (!Util.isUnset(headers.commonHeaders)) {
12393
+ realHeaders = headers.commonHeaders;
12394
+ }
12395
+
12396
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
12397
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
12398
+ }
12399
+
12400
+ let req = new $OpenApi.OpenApiRequest({
12401
+ headers: realHeaders,
12402
+ query: OpenApiUtil.query(query),
12403
+ });
12404
+ let params = new $OpenApi.Params({
12405
+ action: "DeleteTeam",
12406
+ version: "doc_2.0",
12407
+ protocol: "HTTP",
12408
+ pathname: `/v2.0/doc/teams/${teamId}`,
12409
+ method: "DELETE",
12410
+ authType: "AK",
12411
+ style: "ROA",
12412
+ reqBodyType: "none",
12413
+ bodyType: "json",
12414
+ });
12415
+ return $tea.cast<DeleteTeamResponse>(await this.execute(params, req, runtime), new DeleteTeamResponse({}));
12416
+ }
12417
+
12418
+ /**
12419
+ * 删除小组
12420
+ *
12421
+ * @param request - DeleteTeamRequest
12422
+ * @returns DeleteTeamResponse
12423
+ */
12424
+ async deleteTeam(teamId: string, request: DeleteTeamRequest): Promise<DeleteTeamResponse> {
12425
+ let runtime = new $Util.RuntimeOptions({ });
12426
+ let headers = new DeleteTeamHeaders({ });
12427
+ return await this.deleteTeamWithOptions(teamId, request, headers, runtime);
12428
+ }
12429
+
12430
+ /**
12431
+ * 获取文档内容
12432
+ *
12433
+ * @param request - DocContentRequest
12434
+ * @param headers - DocContentHeaders
12435
+ * @param runtime - runtime options for this request RuntimeOptions
12436
+ * @returns DocContentResponse
12437
+ */
12438
+ async docContentWithOptions(dentryUuid: string, request: DocContentRequest, headers: DocContentHeaders, runtime: $Util.RuntimeOptions): Promise<DocContentResponse> {
12439
+ Util.validateModel(request);
12440
+ let query : {[key: string ]: any} = { };
12441
+ if (!Util.isUnset(request.operatorId)) {
12442
+ query["operatorId"] = request.operatorId;
12443
+ }
12444
+
12445
+ let body : {[key: string ]: any} = { };
12446
+ if (!Util.isUnset(request.option)) {
12447
+ body["option"] = request.option;
12448
+ }
12449
+
12450
+ let realHeaders : {[key: string ]: string} = { };
12451
+ if (!Util.isUnset(headers.commonHeaders)) {
12452
+ realHeaders = headers.commonHeaders;
12453
+ }
12454
+
12455
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
12456
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
12457
+ }
12458
+
12459
+ let req = new $OpenApi.OpenApiRequest({
12460
+ headers: realHeaders,
12461
+ query: OpenApiUtil.query(query),
12462
+ body: OpenApiUtil.parseToMap(body),
12463
+ });
12464
+ let params = new $OpenApi.Params({
12465
+ action: "DocContent",
12466
+ version: "doc_2.0",
12467
+ protocol: "HTTP",
12468
+ pathname: `/v2.0/doc/dentries/${dentryUuid}/contents`,
12469
+ method: "GET",
12470
+ authType: "AK",
12471
+ style: "ROA",
12472
+ reqBodyType: "none",
12473
+ bodyType: "json",
12474
+ });
12475
+ return $tea.cast<DocContentResponse>(await this.execute(params, req, runtime), new DocContentResponse({}));
12476
+ }
12477
+
12478
+ /**
12479
+ * 获取文档内容
12480
+ *
12481
+ * @param request - DocContentRequest
12482
+ * @returns DocContentResponse
11004
12483
  */
11005
- async crossOrgMigrate(request: CrossOrgMigrateRequest): Promise<CrossOrgMigrateResponse> {
12484
+ async docContent(dentryUuid: string, request: DocContentRequest): Promise<DocContentResponse> {
11006
12485
  let runtime = new $Util.RuntimeOptions({ });
11007
- let headers = new CrossOrgMigrateHeaders({ });
11008
- return await this.crossOrgMigrateWithOptions(request, headers, runtime);
12486
+ let headers = new DocContentHeaders({ });
12487
+ return await this.docContentWithOptions(dentryUuid, request, headers, runtime);
11009
12488
  }
11010
12489
 
11011
12490
  /**
11012
- * 删除小组
12491
+ * 通过委托权限方式导出文档内容
11013
12492
  *
11014
- * @param request - DeleteTeamRequest
11015
- * @param headers - DeleteTeamHeaders
12493
+ * @param request - DocExportByDelegatedPermissionRequest
12494
+ * @param headers - DocExportByDelegatedPermissionHeaders
11016
12495
  * @param runtime - runtime options for this request RuntimeOptions
11017
- * @returns DeleteTeamResponse
12496
+ * @returns DocExportByDelegatedPermissionResponse
11018
12497
  */
11019
- async deleteTeamWithOptions(teamId: string, request: DeleteTeamRequest, headers: DeleteTeamHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteTeamResponse> {
12498
+ async docExportByDelegatedPermissionWithOptions(dentryUuid: string, request: DocExportByDelegatedPermissionRequest, headers: DocExportByDelegatedPermissionHeaders, runtime: $Util.RuntimeOptions): Promise<DocExportByDelegatedPermissionResponse> {
11020
12499
  Util.validateModel(request);
11021
12500
  let query : {[key: string ]: any} = { };
11022
- if (!Util.isUnset(request.operatorId)) {
11023
- query["operatorId"] = request.operatorId;
12501
+ if (!Util.isUnset(request.generateCp)) {
12502
+ query["generateCp"] = request.generateCp;
12503
+ }
12504
+
12505
+ if (!Util.isUnset(request.targetFormat)) {
12506
+ query["targetFormat"] = request.targetFormat;
11024
12507
  }
11025
12508
 
11026
12509
  let realHeaders : {[key: string ]: string} = { };
@@ -11037,49 +12520,48 @@ export default class Client extends OpenApi {
11037
12520
  query: OpenApiUtil.query(query),
11038
12521
  });
11039
12522
  let params = new $OpenApi.Params({
11040
- action: "DeleteTeam",
12523
+ action: "DocExportByDelegatedPermission",
11041
12524
  version: "doc_2.0",
11042
12525
  protocol: "HTTP",
11043
- pathname: `/v2.0/doc/teams/${teamId}`,
11044
- method: "DELETE",
12526
+ pathname: `/v2.0/doc/me/dentries/${dentryUuid}/export`,
12527
+ method: "GET",
11045
12528
  authType: "AK",
11046
12529
  style: "ROA",
11047
12530
  reqBodyType: "none",
11048
12531
  bodyType: "json",
11049
12532
  });
11050
- return $tea.cast<DeleteTeamResponse>(await this.execute(params, req, runtime), new DeleteTeamResponse({}));
12533
+ return $tea.cast<DocExportByDelegatedPermissionResponse>(await this.execute(params, req, runtime), new DocExportByDelegatedPermissionResponse({}));
11051
12534
  }
11052
12535
 
11053
12536
  /**
11054
- * 删除小组
12537
+ * 通过委托权限方式导出文档内容
11055
12538
  *
11056
- * @param request - DeleteTeamRequest
11057
- * @returns DeleteTeamResponse
12539
+ * @param request - DocExportByDelegatedPermissionRequest
12540
+ * @returns DocExportByDelegatedPermissionResponse
11058
12541
  */
11059
- async deleteTeam(teamId: string, request: DeleteTeamRequest): Promise<DeleteTeamResponse> {
12542
+ async docExportByDelegatedPermission(dentryUuid: string, request: DocExportByDelegatedPermissionRequest): Promise<DocExportByDelegatedPermissionResponse> {
11060
12543
  let runtime = new $Util.RuntimeOptions({ });
11061
- let headers = new DeleteTeamHeaders({ });
11062
- return await this.deleteTeamWithOptions(teamId, request, headers, runtime);
12544
+ let headers = new DocExportByDelegatedPermissionHeaders({ });
12545
+ return await this.docExportByDelegatedPermissionWithOptions(dentryUuid, request, headers, runtime);
11063
12546
  }
11064
12547
 
11065
12548
  /**
11066
- * 获取文档内容
12549
+ * 以委托权限方式覆写全文
11067
12550
  *
11068
- * @param request - DocContentRequest
11069
- * @param headers - DocContentHeaders
12551
+ * @param request - DocUpdateContentWithDelegatedPermissionRequest
12552
+ * @param headers - DocUpdateContentWithDelegatedPermissionHeaders
11070
12553
  * @param runtime - runtime options for this request RuntimeOptions
11071
- * @returns DocContentResponse
12554
+ * @returns DocUpdateContentWithDelegatedPermissionResponse
11072
12555
  */
11073
- async docContentWithOptions(dentryUuid: string, request: DocContentRequest, headers: DocContentHeaders, runtime: $Util.RuntimeOptions): Promise<DocContentResponse> {
12556
+ async docUpdateContentWithDelegatedPermissionWithOptions(docKey: string, request: DocUpdateContentWithDelegatedPermissionRequest, headers: DocUpdateContentWithDelegatedPermissionHeaders, runtime: $Util.RuntimeOptions): Promise<DocUpdateContentWithDelegatedPermissionResponse> {
11074
12557
  Util.validateModel(request);
11075
- let query : {[key: string ]: any} = { };
11076
- if (!Util.isUnset(request.operatorId)) {
11077
- query["operatorId"] = request.operatorId;
12558
+ let body : {[key: string ]: any} = { };
12559
+ if (!Util.isUnset(request.content)) {
12560
+ body["content"] = request.content;
11078
12561
  }
11079
12562
 
11080
- let body : {[key: string ]: any} = { };
11081
- if (!Util.isUnset(request.option)) {
11082
- body["option"] = request.option;
12563
+ if (!Util.isUnset(request.dataType)) {
12564
+ body["dataType"] = request.dataType;
11083
12565
  }
11084
12566
 
11085
12567
  let realHeaders : {[key: string ]: string} = { };
@@ -11093,33 +12575,32 @@ export default class Client extends OpenApi {
11093
12575
 
11094
12576
  let req = new $OpenApi.OpenApiRequest({
11095
12577
  headers: realHeaders,
11096
- query: OpenApiUtil.query(query),
11097
12578
  body: OpenApiUtil.parseToMap(body),
11098
12579
  });
11099
12580
  let params = new $OpenApi.Params({
11100
- action: "DocContent",
12581
+ action: "DocUpdateContentWithDelegatedPermission",
11101
12582
  version: "doc_2.0",
11102
12583
  protocol: "HTTP",
11103
- pathname: `/v2.0/doc/dentries/${dentryUuid}/contents`,
11104
- method: "GET",
12584
+ pathname: `/v2.0/doc/me/suites/documents/${docKey}/overwriteContent`,
12585
+ method: "POST",
11105
12586
  authType: "AK",
11106
12587
  style: "ROA",
11107
12588
  reqBodyType: "none",
11108
12589
  bodyType: "json",
11109
12590
  });
11110
- return $tea.cast<DocContentResponse>(await this.execute(params, req, runtime), new DocContentResponse({}));
12591
+ return $tea.cast<DocUpdateContentWithDelegatedPermissionResponse>(await this.execute(params, req, runtime), new DocUpdateContentWithDelegatedPermissionResponse({}));
11111
12592
  }
11112
12593
 
11113
12594
  /**
11114
- * 获取文档内容
12595
+ * 以委托权限方式覆写全文
11115
12596
  *
11116
- * @param request - DocContentRequest
11117
- * @returns DocContentResponse
12597
+ * @param request - DocUpdateContentWithDelegatedPermissionRequest
12598
+ * @returns DocUpdateContentWithDelegatedPermissionResponse
11118
12599
  */
11119
- async docContent(dentryUuid: string, request: DocContentRequest): Promise<DocContentResponse> {
12600
+ async docUpdateContentWithDelegatedPermission(docKey: string, request: DocUpdateContentWithDelegatedPermissionRequest): Promise<DocUpdateContentWithDelegatedPermissionResponse> {
11120
12601
  let runtime = new $Util.RuntimeOptions({ });
11121
- let headers = new DocContentHeaders({ });
11122
- return await this.docContentWithOptions(dentryUuid, request, headers, runtime);
12602
+ let headers = new DocUpdateContentWithDelegatedPermissionHeaders({ });
12603
+ return await this.docUpdateContentWithDelegatedPermissionWithOptions(docKey, request, headers, runtime);
11123
12604
  }
11124
12605
 
11125
12606
  /**
@@ -11632,6 +13113,50 @@ export default class Client extends OpenApi {
11632
13113
  return await this.getStarInfoWithOptions(dentryUuid, request, headers, runtime);
11633
13114
  }
11634
13115
 
13116
+ /**
13117
+ * 获取任务信息
13118
+ *
13119
+ * @param headers - GetTaskInfoHeaders
13120
+ * @param runtime - runtime options for this request RuntimeOptions
13121
+ * @returns GetTaskInfoResponse
13122
+ */
13123
+ async getTaskInfoWithOptions(taskId: string, headers: GetTaskInfoHeaders, runtime: $Util.RuntimeOptions): Promise<GetTaskInfoResponse> {
13124
+ let realHeaders : {[key: string ]: string} = { };
13125
+ if (!Util.isUnset(headers.commonHeaders)) {
13126
+ realHeaders = headers.commonHeaders;
13127
+ }
13128
+
13129
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
13130
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
13131
+ }
13132
+
13133
+ let req = new $OpenApi.OpenApiRequest({
13134
+ headers: realHeaders,
13135
+ });
13136
+ let params = new $OpenApi.Params({
13137
+ action: "GetTaskInfo",
13138
+ version: "doc_2.0",
13139
+ protocol: "HTTP",
13140
+ pathname: `/v2.0/doc/task/info/${taskId}`,
13141
+ method: "GET",
13142
+ authType: "AK",
13143
+ style: "ROA",
13144
+ reqBodyType: "none",
13145
+ bodyType: "json",
13146
+ });
13147
+ return $tea.cast<GetTaskInfoResponse>(await this.execute(params, req, runtime), new GetTaskInfoResponse({}));
13148
+ }
13149
+
13150
+ /**
13151
+ * 获取任务信息
13152
+ * @returns GetTaskInfoResponse
13153
+ */
13154
+ async getTaskInfo(taskId: string): Promise<GetTaskInfoResponse> {
13155
+ let runtime = new $Util.RuntimeOptions({ });
13156
+ let headers = new GetTaskInfoHeaders({ });
13157
+ return await this.getTaskInfoWithOptions(taskId, headers, runtime);
13158
+ }
13159
+
11635
13160
  /**
11636
13161
  * 查询小组详情
11637
13162
  *
@@ -11918,6 +13443,60 @@ export default class Client extends OpenApi {
11918
13443
  return await this.getUuidByDentryIdWithOptions(dentryId, request, headers, runtime);
11919
13444
  }
11920
13445
 
13446
+ /**
13447
+ * 获取知识库权限范围
13448
+ *
13449
+ * @param request - GetWorkspacePermissionScopesRequest
13450
+ * @param headers - GetWorkspacePermissionScopesHeaders
13451
+ * @param runtime - runtime options for this request RuntimeOptions
13452
+ * @returns GetWorkspacePermissionScopesResponse
13453
+ */
13454
+ async getWorkspacePermissionScopesWithOptions(workspaceId: string, request: GetWorkspacePermissionScopesRequest, headers: GetWorkspacePermissionScopesHeaders, runtime: $Util.RuntimeOptions): Promise<GetWorkspacePermissionScopesResponse> {
13455
+ Util.validateModel(request);
13456
+ let query : {[key: string ]: any} = { };
13457
+ if (!Util.isUnset(request.operatorId)) {
13458
+ query["operatorId"] = request.operatorId;
13459
+ }
13460
+
13461
+ let realHeaders : {[key: string ]: string} = { };
13462
+ if (!Util.isUnset(headers.commonHeaders)) {
13463
+ realHeaders = headers.commonHeaders;
13464
+ }
13465
+
13466
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
13467
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
13468
+ }
13469
+
13470
+ let req = new $OpenApi.OpenApiRequest({
13471
+ headers: realHeaders,
13472
+ query: OpenApiUtil.query(query),
13473
+ });
13474
+ let params = new $OpenApi.Params({
13475
+ action: "GetWorkspacePermissionScopes",
13476
+ version: "doc_2.0",
13477
+ protocol: "HTTP",
13478
+ pathname: `/v2.0/doc/workspaces/${workspaceId}/members`,
13479
+ method: "GET",
13480
+ authType: "AK",
13481
+ style: "ROA",
13482
+ reqBodyType: "none",
13483
+ bodyType: "json",
13484
+ });
13485
+ return $tea.cast<GetWorkspacePermissionScopesResponse>(await this.execute(params, req, runtime), new GetWorkspacePermissionScopesResponse({}));
13486
+ }
13487
+
13488
+ /**
13489
+ * 获取知识库权限范围
13490
+ *
13491
+ * @param request - GetWorkspacePermissionScopesRequest
13492
+ * @returns GetWorkspacePermissionScopesResponse
13493
+ */
13494
+ async getWorkspacePermissionScopes(workspaceId: string, request: GetWorkspacePermissionScopesRequest): Promise<GetWorkspacePermissionScopesResponse> {
13495
+ let runtime = new $Util.RuntimeOptions({ });
13496
+ let headers = new GetWorkspacePermissionScopesHeaders({ });
13497
+ return await this.getWorkspacePermissionScopesWithOptions(workspaceId, request, headers, runtime);
13498
+ }
13499
+
11921
13500
  /**
11922
13501
  * 以超级管理员身份转交小组
11923
13502
  *
@@ -11972,6 +13551,60 @@ export default class Client extends OpenApi {
11972
13551
  return await this.handoverTeamWithoutAuthWithOptions(request, headers, runtime);
11973
13552
  }
11974
13553
 
13554
+ /**
13555
+ * 知识库转交所有者
13556
+ *
13557
+ * @param request - HandoveryWorkspaceRequest
13558
+ * @param headers - HandoveryWorkspaceHeaders
13559
+ * @param runtime - runtime options for this request RuntimeOptions
13560
+ * @returns HandoveryWorkspaceResponse
13561
+ */
13562
+ async handoveryWorkspaceWithOptions(request: HandoveryWorkspaceRequest, headers: HandoveryWorkspaceHeaders, runtime: $Util.RuntimeOptions): Promise<HandoveryWorkspaceResponse> {
13563
+ Util.validateModel(request);
13564
+ let body : {[key: string ]: any} = { };
13565
+ if (!Util.isUnset(request.param)) {
13566
+ body["param"] = request.param;
13567
+ }
13568
+
13569
+ let realHeaders : {[key: string ]: string} = { };
13570
+ if (!Util.isUnset(headers.commonHeaders)) {
13571
+ realHeaders = headers.commonHeaders;
13572
+ }
13573
+
13574
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
13575
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
13576
+ }
13577
+
13578
+ let req = new $OpenApi.OpenApiRequest({
13579
+ headers: realHeaders,
13580
+ body: OpenApiUtil.parseToMap(body),
13581
+ });
13582
+ let params = new $OpenApi.Params({
13583
+ action: "HandoveryWorkspace",
13584
+ version: "doc_2.0",
13585
+ protocol: "HTTP",
13586
+ pathname: `/v2.0/doc/dentries/workspace/handover`,
13587
+ method: "POST",
13588
+ authType: "AK",
13589
+ style: "ROA",
13590
+ reqBodyType: "none",
13591
+ bodyType: "json",
13592
+ });
13593
+ return $tea.cast<HandoveryWorkspaceResponse>(await this.execute(params, req, runtime), new HandoveryWorkspaceResponse({}));
13594
+ }
13595
+
13596
+ /**
13597
+ * 知识库转交所有者
13598
+ *
13599
+ * @param request - HandoveryWorkspaceRequest
13600
+ * @returns HandoveryWorkspaceResponse
13601
+ */
13602
+ async handoveryWorkspace(request: HandoveryWorkspaceRequest): Promise<HandoveryWorkspaceResponse> {
13603
+ let runtime = new $Util.RuntimeOptions({ });
13604
+ let headers = new HandoveryWorkspaceHeaders({ });
13605
+ return await this.handoveryWorkspaceWithOptions(request, headers, runtime);
13606
+ }
13607
+
11975
13608
  /**
11976
13609
  * 查询小组动态
11977
13610
  *
@@ -12792,6 +14425,64 @@ export default class Client extends OpenApi {
12792
14425
  return await this.queryDocContentWithOptions(dentryUuid, request, headers, runtime);
12793
14426
  }
12794
14427
 
14428
+ /**
14429
+ * 查询文档内容获取任务状态
14430
+ *
14431
+ * @param request - QueryGetContentJobRequest
14432
+ * @param headers - QueryGetContentJobHeaders
14433
+ * @param runtime - runtime options for this request RuntimeOptions
14434
+ * @returns QueryGetContentJobResponse
14435
+ */
14436
+ async queryGetContentJobWithOptions(dentryUuid: string, request: QueryGetContentJobRequest, headers: QueryGetContentJobHeaders, runtime: $Util.RuntimeOptions): Promise<QueryGetContentJobResponse> {
14437
+ Util.validateModel(request);
14438
+ let query : {[key: string ]: any} = { };
14439
+ if (!Util.isUnset(request.operatorId)) {
14440
+ query["operatorId"] = request.operatorId;
14441
+ }
14442
+
14443
+ if (!Util.isUnset(request.taskId)) {
14444
+ query["taskId"] = request.taskId;
14445
+ }
14446
+
14447
+ let realHeaders : {[key: string ]: string} = { };
14448
+ if (!Util.isUnset(headers.commonHeaders)) {
14449
+ realHeaders = headers.commonHeaders;
14450
+ }
14451
+
14452
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
14453
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
14454
+ }
14455
+
14456
+ let req = new $OpenApi.OpenApiRequest({
14457
+ headers: realHeaders,
14458
+ query: OpenApiUtil.query(query),
14459
+ });
14460
+ let params = new $OpenApi.Params({
14461
+ action: "QueryGetContentJob",
14462
+ version: "doc_2.0",
14463
+ protocol: "HTTP",
14464
+ pathname: `/v2.0/doc/contents/${dentryUuid}/jobStatuses`,
14465
+ method: "GET",
14466
+ authType: "AK",
14467
+ style: "ROA",
14468
+ reqBodyType: "none",
14469
+ bodyType: "json",
14470
+ });
14471
+ return $tea.cast<QueryGetContentJobResponse>(await this.execute(params, req, runtime), new QueryGetContentJobResponse({}));
14472
+ }
14473
+
14474
+ /**
14475
+ * 查询文档内容获取任务状态
14476
+ *
14477
+ * @param request - QueryGetContentJobRequest
14478
+ * @returns QueryGetContentJobResponse
14479
+ */
14480
+ async queryGetContentJob(dentryUuid: string, request: QueryGetContentJobRequest): Promise<QueryGetContentJobResponse> {
14481
+ let runtime = new $Util.RuntimeOptions({ });
14482
+ let headers = new QueryGetContentJobHeaders({ });
14483
+ return await this.queryGetContentJobWithOptions(dentryUuid, request, headers, runtime);
14484
+ }
14485
+
12795
14486
  /**
12796
14487
  * 根据链接查询节点或知识库信息
12797
14488
  *
@@ -13458,6 +15149,64 @@ export default class Client extends OpenApi {
13458
15149
  return await this.shareUrlWithOptions(request, headers, runtime);
13459
15150
  }
13460
15151
 
15152
+ /**
15153
+ * 提交文档内容获取任务
15154
+ *
15155
+ * @param request - SubmitGetContentJobRequest
15156
+ * @param headers - SubmitGetContentJobHeaders
15157
+ * @param runtime - runtime options for this request RuntimeOptions
15158
+ * @returns SubmitGetContentJobResponse
15159
+ */
15160
+ async submitGetContentJobWithOptions(dentryUuid: string, request: SubmitGetContentJobRequest, headers: SubmitGetContentJobHeaders, runtime: $Util.RuntimeOptions): Promise<SubmitGetContentJobResponse> {
15161
+ Util.validateModel(request);
15162
+ let query : {[key: string ]: any} = { };
15163
+ if (!Util.isUnset(request.operatorId)) {
15164
+ query["operatorId"] = request.operatorId;
15165
+ }
15166
+
15167
+ if (!Util.isUnset(request.targetFormat)) {
15168
+ query["targetFormat"] = request.targetFormat;
15169
+ }
15170
+
15171
+ let realHeaders : {[key: string ]: string} = { };
15172
+ if (!Util.isUnset(headers.commonHeaders)) {
15173
+ realHeaders = headers.commonHeaders;
15174
+ }
15175
+
15176
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
15177
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
15178
+ }
15179
+
15180
+ let req = new $OpenApi.OpenApiRequest({
15181
+ headers: realHeaders,
15182
+ query: OpenApiUtil.query(query),
15183
+ });
15184
+ let params = new $OpenApi.Params({
15185
+ action: "SubmitGetContentJob",
15186
+ version: "doc_2.0",
15187
+ protocol: "HTTP",
15188
+ pathname: `/v2.0/doc/contents/${dentryUuid}/jobs`,
15189
+ method: "PUT",
15190
+ authType: "AK",
15191
+ style: "ROA",
15192
+ reqBodyType: "none",
15193
+ bodyType: "json",
15194
+ });
15195
+ return $tea.cast<SubmitGetContentJobResponse>(await this.execute(params, req, runtime), new SubmitGetContentJobResponse({}));
15196
+ }
15197
+
15198
+ /**
15199
+ * 提交文档内容获取任务
15200
+ *
15201
+ * @param request - SubmitGetContentJobRequest
15202
+ * @returns SubmitGetContentJobResponse
15203
+ */
15204
+ async submitGetContentJob(dentryUuid: string, request: SubmitGetContentJobRequest): Promise<SubmitGetContentJobResponse> {
15205
+ let runtime = new $Util.RuntimeOptions({ });
15206
+ let headers = new SubmitGetContentJobHeaders({ });
15207
+ return await this.submitGetContentJobWithOptions(dentryUuid, request, headers, runtime);
15208
+ }
15209
+
13461
15210
  /**
13462
15211
  * 获取知识库模板列表
13463
15212
  *