@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
@@ -1082,6 +1082,112 @@ export class GetProjectRolesV3Response extends $tea.Model {
1082
1082
  }
1083
1083
  }
1084
1084
 
1085
+ export class GetStaredProjectsHeaders extends $tea.Model {
1086
+ commonHeaders?: { [key: string]: string };
1087
+ xAcsDingtalkAccessToken?: string;
1088
+ static names(): { [key: string]: string } {
1089
+ return {
1090
+ commonHeaders: 'commonHeaders',
1091
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1092
+ };
1093
+ }
1094
+
1095
+ static types(): { [key: string]: any } {
1096
+ return {
1097
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1098
+ xAcsDingtalkAccessToken: 'string',
1099
+ };
1100
+ }
1101
+
1102
+ constructor(map?: { [key: string]: any }) {
1103
+ super(map);
1104
+ }
1105
+ }
1106
+
1107
+ export class GetStaredProjectsRequest extends $tea.Model {
1108
+ /**
1109
+ * @example
1110
+ * 10
1111
+ */
1112
+ maxResults?: number;
1113
+ nextToken?: string;
1114
+ /**
1115
+ * @example
1116
+ * updated:desc
1117
+ */
1118
+ sortBy?: string;
1119
+ static names(): { [key: string]: string } {
1120
+ return {
1121
+ maxResults: 'maxResults',
1122
+ nextToken: 'nextToken',
1123
+ sortBy: 'sortBy',
1124
+ };
1125
+ }
1126
+
1127
+ static types(): { [key: string]: any } {
1128
+ return {
1129
+ maxResults: 'number',
1130
+ nextToken: 'string',
1131
+ sortBy: 'string',
1132
+ };
1133
+ }
1134
+
1135
+ constructor(map?: { [key: string]: any }) {
1136
+ super(map);
1137
+ }
1138
+ }
1139
+
1140
+ export class GetStaredProjectsResponseBody extends $tea.Model {
1141
+ /**
1142
+ * @example
1143
+ * f279e812-e431-428d-846d-cxxxxxx
1144
+ */
1145
+ nextToken?: string;
1146
+ result?: string[];
1147
+ static names(): { [key: string]: string } {
1148
+ return {
1149
+ nextToken: 'nextToken',
1150
+ result: 'result',
1151
+ };
1152
+ }
1153
+
1154
+ static types(): { [key: string]: any } {
1155
+ return {
1156
+ nextToken: 'string',
1157
+ result: { 'type': 'array', 'itemType': 'string' },
1158
+ };
1159
+ }
1160
+
1161
+ constructor(map?: { [key: string]: any }) {
1162
+ super(map);
1163
+ }
1164
+ }
1165
+
1166
+ export class GetStaredProjectsResponse extends $tea.Model {
1167
+ headers?: { [key: string]: string };
1168
+ statusCode?: number;
1169
+ body?: GetStaredProjectsResponseBody;
1170
+ static names(): { [key: string]: string } {
1171
+ return {
1172
+ headers: 'headers',
1173
+ statusCode: 'statusCode',
1174
+ body: 'body',
1175
+ };
1176
+ }
1177
+
1178
+ static types(): { [key: string]: any } {
1179
+ return {
1180
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1181
+ statusCode: 'number',
1182
+ body: GetStaredProjectsResponseBody,
1183
+ };
1184
+ }
1185
+
1186
+ constructor(map?: { [key: string]: any }) {
1187
+ super(map);
1188
+ }
1189
+ }
1190
+
1085
1191
  export class GetTbUserIdByDingUserIdHeaders extends $tea.Model {
1086
1192
  commonHeaders?: { [key: string]: string };
1087
1193
  xAcsDingtalkAccessToken?: string;
@@ -1917,6 +2023,117 @@ export class SearchAllTasksByTqlResponse extends $tea.Model {
1917
2023
  }
1918
2024
  }
1919
2025
 
2026
+ export class SearchProjectCustomFiledsV3Headers extends $tea.Model {
2027
+ commonHeaders?: { [key: string]: string };
2028
+ xAcsDingtalkAccessToken?: string;
2029
+ static names(): { [key: string]: string } {
2030
+ return {
2031
+ commonHeaders: 'commonHeaders',
2032
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
2033
+ };
2034
+ }
2035
+
2036
+ static types(): { [key: string]: any } {
2037
+ return {
2038
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2039
+ xAcsDingtalkAccessToken: 'string',
2040
+ };
2041
+ }
2042
+
2043
+ constructor(map?: { [key: string]: any }) {
2044
+ super(map);
2045
+ }
2046
+ }
2047
+
2048
+ export class SearchProjectCustomFiledsV3Request extends $tea.Model {
2049
+ cfIds?: string;
2050
+ maxResults?: number;
2051
+ nextToken?: string;
2052
+ sfcId?: string;
2053
+ static names(): { [key: string]: string } {
2054
+ return {
2055
+ cfIds: 'cfIds',
2056
+ maxResults: 'maxResults',
2057
+ nextToken: 'nextToken',
2058
+ sfcId: 'sfcId',
2059
+ };
2060
+ }
2061
+
2062
+ static types(): { [key: string]: any } {
2063
+ return {
2064
+ cfIds: 'string',
2065
+ maxResults: 'number',
2066
+ nextToken: 'string',
2067
+ sfcId: 'string',
2068
+ };
2069
+ }
2070
+
2071
+ constructor(map?: { [key: string]: any }) {
2072
+ super(map);
2073
+ }
2074
+ }
2075
+
2076
+ export class SearchProjectCustomFiledsV3ResponseBody extends $tea.Model {
2077
+ /**
2078
+ * @example
2079
+ * f279e812-e431-428d-846d-cxxxxxx
2080
+ */
2081
+ nextToken?: string;
2082
+ requestId?: string;
2083
+ result?: SearchProjectCustomFiledsV3ResponseBodyResult[];
2084
+ /**
2085
+ * @example
2086
+ * 35
2087
+ */
2088
+ totalCount?: number;
2089
+ static names(): { [key: string]: string } {
2090
+ return {
2091
+ nextToken: 'nextToken',
2092
+ requestId: 'requestId',
2093
+ result: 'result',
2094
+ totalCount: 'totalCount',
2095
+ };
2096
+ }
2097
+
2098
+ static types(): { [key: string]: any } {
2099
+ return {
2100
+ nextToken: 'string',
2101
+ requestId: 'string',
2102
+ result: { 'type': 'array', 'itemType': SearchProjectCustomFiledsV3ResponseBodyResult },
2103
+ totalCount: 'number',
2104
+ };
2105
+ }
2106
+
2107
+ constructor(map?: { [key: string]: any }) {
2108
+ super(map);
2109
+ }
2110
+ }
2111
+
2112
+ export class SearchProjectCustomFiledsV3Response extends $tea.Model {
2113
+ headers?: { [key: string]: string };
2114
+ statusCode?: number;
2115
+ body?: SearchProjectCustomFiledsV3ResponseBody;
2116
+ static names(): { [key: string]: string } {
2117
+ return {
2118
+ headers: 'headers',
2119
+ statusCode: 'statusCode',
2120
+ body: 'body',
2121
+ };
2122
+ }
2123
+
2124
+ static types(): { [key: string]: any } {
2125
+ return {
2126
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2127
+ statusCode: 'number',
2128
+ body: SearchProjectCustomFiledsV3ResponseBody,
2129
+ };
2130
+ }
2131
+
2132
+ constructor(map?: { [key: string]: any }) {
2133
+ super(map);
2134
+ }
2135
+ }
2136
+
1920
2137
  export class SearchProjectsV3Headers extends $tea.Model {
1921
2138
  commonHeaders?: { [key: string]: string };
1922
2139
  xAcsDingtalkAccessToken?: string;
@@ -4807,6 +5024,103 @@ export class QueryTasksV3ResponseBodyResult extends $tea.Model {
4807
5024
  }
4808
5025
  }
4809
5026
 
5027
+ export class SearchProjectCustomFiledsV3ResponseBodyResultAdvancedCustomfield extends $tea.Model {
5028
+ id?: string;
5029
+ name?: string;
5030
+ objectType?: string;
5031
+ static names(): { [key: string]: string } {
5032
+ return {
5033
+ id: 'id',
5034
+ name: 'name',
5035
+ objectType: 'objectType',
5036
+ };
5037
+ }
5038
+
5039
+ static types(): { [key: string]: any } {
5040
+ return {
5041
+ id: 'string',
5042
+ name: 'string',
5043
+ objectType: 'string',
5044
+ };
5045
+ }
5046
+
5047
+ constructor(map?: { [key: string]: any }) {
5048
+ super(map);
5049
+ }
5050
+ }
5051
+
5052
+ export class SearchProjectCustomFiledsV3ResponseBodyResultChoices extends $tea.Model {
5053
+ id?: string;
5054
+ value?: string;
5055
+ static names(): { [key: string]: string } {
5056
+ return {
5057
+ id: 'id',
5058
+ value: 'value',
5059
+ };
5060
+ }
5061
+
5062
+ static types(): { [key: string]: any } {
5063
+ return {
5064
+ id: 'string',
5065
+ value: 'string',
5066
+ };
5067
+ }
5068
+
5069
+ constructor(map?: { [key: string]: any }) {
5070
+ super(map);
5071
+ }
5072
+ }
5073
+
5074
+ export class SearchProjectCustomFiledsV3ResponseBodyResult extends $tea.Model {
5075
+ advancedCustomfield?: SearchProjectCustomFiledsV3ResponseBodyResultAdvancedCustomfield;
5076
+ boundToObjectId?: string;
5077
+ boundToObjectType?: string;
5078
+ choices?: SearchProjectCustomFiledsV3ResponseBodyResultChoices[];
5079
+ /**
5080
+ * @example
5081
+ * 2022-07-04T03:29:34.770Z
5082
+ */
5083
+ created?: string;
5084
+ creatorId?: string;
5085
+ id?: string;
5086
+ name?: string;
5087
+ originalId?: string;
5088
+ type?: string;
5089
+ static names(): { [key: string]: string } {
5090
+ return {
5091
+ advancedCustomfield: 'advancedCustomfield',
5092
+ boundToObjectId: 'boundToObjectId',
5093
+ boundToObjectType: 'boundToObjectType',
5094
+ choices: 'choices',
5095
+ created: 'created',
5096
+ creatorId: 'creatorId',
5097
+ id: 'id',
5098
+ name: 'name',
5099
+ originalId: 'originalId',
5100
+ type: 'type',
5101
+ };
5102
+ }
5103
+
5104
+ static types(): { [key: string]: any } {
5105
+ return {
5106
+ advancedCustomfield: SearchProjectCustomFiledsV3ResponseBodyResultAdvancedCustomfield,
5107
+ boundToObjectId: 'string',
5108
+ boundToObjectType: 'string',
5109
+ choices: { 'type': 'array', 'itemType': SearchProjectCustomFiledsV3ResponseBodyResultChoices },
5110
+ created: 'string',
5111
+ creatorId: 'string',
5112
+ id: 'string',
5113
+ name: 'string',
5114
+ originalId: 'string',
5115
+ type: 'string',
5116
+ };
5117
+ }
5118
+
5119
+ constructor(map?: { [key: string]: any }) {
5120
+ super(map);
5121
+ }
5122
+ }
5123
+
4810
5124
  export class SearchProjectsV3ResponseBodyResult extends $tea.Model {
4811
5125
  /**
4812
5126
  * @example
@@ -5594,6 +5908,68 @@ export default class Client extends OpenApi {
5594
5908
  return await this.getProjectRolesV3WithOptions(userId, projectId, request, headers, runtime);
5595
5909
  }
5596
5910
 
5911
+ /**
5912
+ * 获取用户星标协作空间
5913
+ *
5914
+ * @param request - GetStaredProjectsRequest
5915
+ * @param headers - GetStaredProjectsHeaders
5916
+ * @param runtime - runtime options for this request RuntimeOptions
5917
+ * @returns GetStaredProjectsResponse
5918
+ */
5919
+ async getStaredProjectsWithOptions(userId: string, request: GetStaredProjectsRequest, headers: GetStaredProjectsHeaders, runtime: $Util.RuntimeOptions): Promise<GetStaredProjectsResponse> {
5920
+ Util.validateModel(request);
5921
+ let query : {[key: string ]: any} = { };
5922
+ if (!Util.isUnset(request.maxResults)) {
5923
+ query["maxResults"] = request.maxResults;
5924
+ }
5925
+
5926
+ if (!Util.isUnset(request.nextToken)) {
5927
+ query["nextToken"] = request.nextToken;
5928
+ }
5929
+
5930
+ if (!Util.isUnset(request.sortBy)) {
5931
+ query["sortBy"] = request.sortBy;
5932
+ }
5933
+
5934
+ let realHeaders : {[key: string ]: string} = { };
5935
+ if (!Util.isUnset(headers.commonHeaders)) {
5936
+ realHeaders = headers.commonHeaders;
5937
+ }
5938
+
5939
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
5940
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
5941
+ }
5942
+
5943
+ let req = new $OpenApi.OpenApiRequest({
5944
+ headers: realHeaders,
5945
+ query: OpenApiUtil.query(query),
5946
+ });
5947
+ let params = new $OpenApi.Params({
5948
+ action: "GetStaredProjects",
5949
+ version: "teamSphere_1.0",
5950
+ protocol: "HTTP",
5951
+ pathname: `/v1.0/teamSphere/users/${userId}/staredProjects`,
5952
+ method: "GET",
5953
+ authType: "AK",
5954
+ style: "ROA",
5955
+ reqBodyType: "none",
5956
+ bodyType: "json",
5957
+ });
5958
+ return $tea.cast<GetStaredProjectsResponse>(await this.execute(params, req, runtime), new GetStaredProjectsResponse({}));
5959
+ }
5960
+
5961
+ /**
5962
+ * 获取用户星标协作空间
5963
+ *
5964
+ * @param request - GetStaredProjectsRequest
5965
+ * @returns GetStaredProjectsResponse
5966
+ */
5967
+ async getStaredProjects(userId: string, request: GetStaredProjectsRequest): Promise<GetStaredProjectsResponse> {
5968
+ let runtime = new $Util.RuntimeOptions({ });
5969
+ let headers = new GetStaredProjectsHeaders({ });
5970
+ return await this.getStaredProjectsWithOptions(userId, request, headers, runtime);
5971
+ }
5972
+
5597
5973
  /**
5598
5974
  * 钉钉 userId 查询 24位长 userId。
5599
5975
  *
@@ -6104,6 +6480,72 @@ export default class Client extends OpenApi {
6104
6480
  return await this.searchAllTasksByTqlWithOptions(request, headers, runtime);
6105
6481
  }
6106
6482
 
6483
+ /**
6484
+ * 搜索项目自定义字段。
6485
+ *
6486
+ * @param request - SearchProjectCustomFiledsV3Request
6487
+ * @param headers - SearchProjectCustomFiledsV3Headers
6488
+ * @param runtime - runtime options for this request RuntimeOptions
6489
+ * @returns SearchProjectCustomFiledsV3Response
6490
+ */
6491
+ async searchProjectCustomFiledsV3WithOptions(userId: string, projectId: string, request: SearchProjectCustomFiledsV3Request, headers: SearchProjectCustomFiledsV3Headers, runtime: $Util.RuntimeOptions): Promise<SearchProjectCustomFiledsV3Response> {
6492
+ Util.validateModel(request);
6493
+ let query : {[key: string ]: any} = { };
6494
+ if (!Util.isUnset(request.cfIds)) {
6495
+ query["cfIds"] = request.cfIds;
6496
+ }
6497
+
6498
+ if (!Util.isUnset(request.maxResults)) {
6499
+ query["maxResults"] = request.maxResults;
6500
+ }
6501
+
6502
+ if (!Util.isUnset(request.nextToken)) {
6503
+ query["nextToken"] = request.nextToken;
6504
+ }
6505
+
6506
+ if (!Util.isUnset(request.sfcId)) {
6507
+ query["sfcId"] = request.sfcId;
6508
+ }
6509
+
6510
+ let realHeaders : {[key: string ]: string} = { };
6511
+ if (!Util.isUnset(headers.commonHeaders)) {
6512
+ realHeaders = headers.commonHeaders;
6513
+ }
6514
+
6515
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
6516
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
6517
+ }
6518
+
6519
+ let req = new $OpenApi.OpenApiRequest({
6520
+ headers: realHeaders,
6521
+ query: OpenApiUtil.query(query),
6522
+ });
6523
+ let params = new $OpenApi.Params({
6524
+ action: "SearchProjectCustomFiledsV3",
6525
+ version: "teamSphere_1.0",
6526
+ protocol: "HTTP",
6527
+ pathname: `/v1.0/teamSphere/users/${userId}/projects/${projectId}/customFields`,
6528
+ method: "GET",
6529
+ authType: "AK",
6530
+ style: "ROA",
6531
+ reqBodyType: "none",
6532
+ bodyType: "json",
6533
+ });
6534
+ return $tea.cast<SearchProjectCustomFiledsV3Response>(await this.execute(params, req, runtime), new SearchProjectCustomFiledsV3Response({}));
6535
+ }
6536
+
6537
+ /**
6538
+ * 搜索项目自定义字段。
6539
+ *
6540
+ * @param request - SearchProjectCustomFiledsV3Request
6541
+ * @returns SearchProjectCustomFiledsV3Response
6542
+ */
6543
+ async searchProjectCustomFiledsV3(userId: string, projectId: string, request: SearchProjectCustomFiledsV3Request): Promise<SearchProjectCustomFiledsV3Response> {
6544
+ let runtime = new $Util.RuntimeOptions({ });
6545
+ let headers = new SearchProjectCustomFiledsV3Headers({ });
6546
+ return await this.searchProjectCustomFiledsV3WithOptions(userId, projectId, request, headers, runtime);
6547
+ }
6548
+
6107
6549
  /**
6108
6550
  * 查询协作空间。
6109
6551
  *
@@ -257,12 +257,19 @@ export class CreateTodoTaskRequest extends $tea.Model {
257
257
  notifyConfigs?: CreateTodoTaskRequestNotifyConfigs;
258
258
  participantIds?: string[];
259
259
  priority?: number;
260
+ remindNotifyConfigs?: CreateTodoTaskRequestRemindNotifyConfigs;
261
+ reminderTimeStamp?: number;
260
262
  sourceId?: string;
261
263
  /**
262
264
  * @remarks
263
265
  * This parameter is required.
264
266
  */
265
267
  subject?: string;
268
+ /**
269
+ * @example
270
+ * TODO
271
+ */
272
+ todoType?: string;
266
273
  operatorId?: string;
267
274
  static names(): { [key: string]: string } {
268
275
  return {
@@ -278,8 +285,11 @@ export class CreateTodoTaskRequest extends $tea.Model {
278
285
  notifyConfigs: 'notifyConfigs',
279
286
  participantIds: 'participantIds',
280
287
  priority: 'priority',
288
+ remindNotifyConfigs: 'remindNotifyConfigs',
289
+ reminderTimeStamp: 'reminderTimeStamp',
281
290
  sourceId: 'sourceId',
282
291
  subject: 'subject',
292
+ todoType: 'todoType',
283
293
  operatorId: 'operatorId',
284
294
  };
285
295
  }
@@ -298,8 +308,11 @@ export class CreateTodoTaskRequest extends $tea.Model {
298
308
  notifyConfigs: CreateTodoTaskRequestNotifyConfigs,
299
309
  participantIds: { 'type': 'array', 'itemType': 'string' },
300
310
  priority: 'number',
311
+ remindNotifyConfigs: CreateTodoTaskRequestRemindNotifyConfigs,
312
+ reminderTimeStamp: 'number',
301
313
  sourceId: 'string',
302
314
  subject: 'string',
315
+ todoType: 'string',
303
316
  operatorId: 'string',
304
317
  };
305
318
  }
@@ -1391,6 +1404,11 @@ export class QueryOrgTodoByUserRequest extends $tea.Model {
1391
1404
  roleTypes?: string[][];
1392
1405
  subject?: string;
1393
1406
  toDueTime?: number;
1407
+ /**
1408
+ * @example
1409
+ * TODO
1410
+ */
1411
+ todoType?: string;
1394
1412
  static names(): { [key: string]: string } {
1395
1413
  return {
1396
1414
  fromDueTime: 'fromDueTime',
@@ -1402,6 +1420,7 @@ export class QueryOrgTodoByUserRequest extends $tea.Model {
1402
1420
  roleTypes: 'roleTypes',
1403
1421
  subject: 'subject',
1404
1422
  toDueTime: 'toDueTime',
1423
+ todoType: 'todoType',
1405
1424
  };
1406
1425
  }
1407
1426
 
@@ -1416,6 +1435,7 @@ export class QueryOrgTodoByUserRequest extends $tea.Model {
1416
1435
  roleTypes: { 'type': 'array', 'itemType': { 'type': 'array', 'itemType': 'string' } },
1417
1436
  subject: 'string',
1418
1437
  toDueTime: 'number',
1438
+ todoType: 'string',
1419
1439
  };
1420
1440
  }
1421
1441
 
@@ -1504,11 +1524,17 @@ export class QueryOrgTodoTasksRequest extends $tea.Model {
1504
1524
  isDone?: boolean;
1505
1525
  nextToken?: string;
1506
1526
  roleTypes?: string[][];
1527
+ /**
1528
+ * @example
1529
+ * TODO
1530
+ */
1531
+ todoType?: string;
1507
1532
  static names(): { [key: string]: string } {
1508
1533
  return {
1509
1534
  isDone: 'isDone',
1510
1535
  nextToken: 'nextToken',
1511
1536
  roleTypes: 'roleTypes',
1537
+ todoType: 'todoType',
1512
1538
  };
1513
1539
  }
1514
1540
 
@@ -1517,6 +1543,7 @@ export class QueryOrgTodoTasksRequest extends $tea.Model {
1517
1543
  isDone: 'boolean',
1518
1544
  nextToken: 'string',
1519
1545
  roleTypes: { 'type': 'array', 'itemType': { 'type': 'array', 'itemType': 'string' } },
1546
+ todoType: 'string',
1520
1547
  };
1521
1548
  }
1522
1549
 
@@ -2429,15 +2456,43 @@ export class CreateTodoTaskRequestDetailUrl extends $tea.Model {
2429
2456
 
2430
2457
  export class CreateTodoTaskRequestNotifyConfigs extends $tea.Model {
2431
2458
  dingNotify?: string;
2459
+ sendAssistantChat?: string;
2460
+ sendTodoApn?: string;
2461
+ static names(): { [key: string]: string } {
2462
+ return {
2463
+ dingNotify: 'dingNotify',
2464
+ sendAssistantChat: 'sendAssistantChat',
2465
+ sendTodoApn: 'sendTodoApn',
2466
+ };
2467
+ }
2468
+
2469
+ static types(): { [key: string]: any } {
2470
+ return {
2471
+ dingNotify: 'string',
2472
+ sendAssistantChat: 'string',
2473
+ sendTodoApn: 'string',
2474
+ };
2475
+ }
2476
+
2477
+ constructor(map?: { [key: string]: any }) {
2478
+ super(map);
2479
+ }
2480
+ }
2481
+
2482
+ export class CreateTodoTaskRequestRemindNotifyConfigs extends $tea.Model {
2483
+ dingNotify?: string;
2484
+ sendTodoApn?: string;
2432
2485
  static names(): { [key: string]: string } {
2433
2486
  return {
2434
2487
  dingNotify: 'dingNotify',
2488
+ sendTodoApn: 'sendTodoApn',
2435
2489
  };
2436
2490
  }
2437
2491
 
2438
2492
  static types(): { [key: string]: any } {
2439
2493
  return {
2440
2494
  dingNotify: 'string',
2495
+ sendTodoApn: 'string',
2441
2496
  };
2442
2497
  }
2443
2498
 
@@ -2932,6 +2987,11 @@ export class QueryOrgTodoByUserResponseBodyTodoCards extends $tea.Model {
2932
2987
  sourceId?: string;
2933
2988
  subject?: string;
2934
2989
  taskId?: string;
2990
+ /**
2991
+ * @example
2992
+ * TODO
2993
+ */
2994
+ todoType?: string;
2935
2995
  static names(): { [key: string]: string } {
2936
2996
  return {
2937
2997
  bizTag: 'bizTag',
@@ -2946,6 +3006,7 @@ export class QueryOrgTodoByUserResponseBodyTodoCards extends $tea.Model {
2946
3006
  sourceId: 'sourceId',
2947
3007
  subject: 'subject',
2948
3008
  taskId: 'taskId',
3009
+ todoType: 'todoType',
2949
3010
  };
2950
3011
  }
2951
3012
 
@@ -2963,6 +3024,7 @@ export class QueryOrgTodoByUserResponseBodyTodoCards extends $tea.Model {
2963
3024
  sourceId: 'string',
2964
3025
  subject: 'string',
2965
3026
  taskId: 'string',
3027
+ todoType: 'string',
2966
3028
  };
2967
3029
  }
2968
3030
 
@@ -3005,6 +3067,11 @@ export class QueryOrgTodoTasksResponseBodyTodoCards extends $tea.Model {
3005
3067
  sourceId?: string;
3006
3068
  subject?: string;
3007
3069
  taskId?: string;
3070
+ /**
3071
+ * @example
3072
+ * TODO
3073
+ */
3074
+ todoType?: string;
3008
3075
  static names(): { [key: string]: string } {
3009
3076
  return {
3010
3077
  bizTag: 'bizTag',
@@ -3018,6 +3085,7 @@ export class QueryOrgTodoTasksResponseBodyTodoCards extends $tea.Model {
3018
3085
  sourceId: 'sourceId',
3019
3086
  subject: 'subject',
3020
3087
  taskId: 'taskId',
3088
+ todoType: 'todoType',
3021
3089
  };
3022
3090
  }
3023
3091
 
@@ -3034,6 +3102,7 @@ export class QueryOrgTodoTasksResponseBodyTodoCards extends $tea.Model {
3034
3102
  sourceId: 'string',
3035
3103
  subject: 'string',
3036
3104
  taskId: 'string',
3105
+ todoType: 'string',
3037
3106
  };
3038
3107
  }
3039
3108
 
@@ -3541,6 +3610,14 @@ export default class Client extends OpenApi {
3541
3610
  body["priority"] = request.priority;
3542
3611
  }
3543
3612
 
3613
+ if (!Util.isUnset(request.remindNotifyConfigs)) {
3614
+ body["remindNotifyConfigs"] = request.remindNotifyConfigs;
3615
+ }
3616
+
3617
+ if (!Util.isUnset(request.reminderTimeStamp)) {
3618
+ body["reminderTimeStamp"] = request.reminderTimeStamp;
3619
+ }
3620
+
3544
3621
  if (!Util.isUnset(request.sourceId)) {
3545
3622
  body["sourceId"] = request.sourceId;
3546
3623
  }
@@ -3549,6 +3626,10 @@ export default class Client extends OpenApi {
3549
3626
  body["subject"] = request.subject;
3550
3627
  }
3551
3628
 
3629
+ if (!Util.isUnset(request.todoType)) {
3630
+ body["todoType"] = request.todoType;
3631
+ }
3632
+
3552
3633
  let realHeaders : {[key: string ]: string} = { };
3553
3634
  if (!Util.isUnset(headers.commonHeaders)) {
3554
3635
  realHeaders = headers.commonHeaders;
@@ -4034,6 +4115,10 @@ export default class Client extends OpenApi {
4034
4115
  body["toDueTime"] = request.toDueTime;
4035
4116
  }
4036
4117
 
4118
+ if (!Util.isUnset(request.todoType)) {
4119
+ body["todoType"] = request.todoType;
4120
+ }
4121
+
4037
4122
  let realHeaders : {[key: string ]: string} = { };
4038
4123
  if (!Util.isUnset(headers.commonHeaders)) {
4039
4124
  realHeaders = headers.commonHeaders;
@@ -4096,6 +4181,10 @@ export default class Client extends OpenApi {
4096
4181
  body["roleTypes"] = request.roleTypes;
4097
4182
  }
4098
4183
 
4184
+ if (!Util.isUnset(request.todoType)) {
4185
+ body["todoType"] = request.todoType;
4186
+ }
4187
+
4099
4188
  let realHeaders : {[key: string ]: string} = { };
4100
4189
  if (!Util.isUnset(headers.commonHeaders)) {
4101
4190
  realHeaders = headers.commonHeaders;