@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/externalVersion.js +5 -5
  2. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
  3. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
  4. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
  5. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
  6. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
  7. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
  8. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
  9. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
  10. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
  11. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
  12. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
  13. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
  14. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
  15. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
  16. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
  17. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
  18. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
  19. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
  20. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
  21. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
  22. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
  23. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
  24. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
  25. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
  26. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
  27. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
  28. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
  29. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
  30. package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
  31. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
  32. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
  33. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
  34. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
  35. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
  36. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
  37. package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
  38. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
  39. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
  40. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
  41. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
  42. package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
  43. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
  44. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
  45. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
  46. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
  47. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
  48. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
  49. package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
  50. package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
  51. package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
  52. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
  53. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
  54. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
  55. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
  56. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
  57. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
  58. package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
  59. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
  60. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
  61. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
  62. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
  63. package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
  64. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
  65. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
  66. package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
  67. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
  68. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
  69. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
  70. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
  71. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
  72. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
  73. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
  74. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
  75. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
  76. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
  77. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
  78. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
  79. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
  80. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
  81. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
  82. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
  83. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
  84. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
  85. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
  86. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
  87. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
  88. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
  89. package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
  90. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
  91. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
  92. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
  93. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
  94. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
  95. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
  96. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
  97. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
  98. package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
  99. package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
  100. package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
  101. package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
  102. package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
  103. package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
  104. package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
  105. package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
  106. package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
  107. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
  108. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
  109. package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
  110. package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
  111. package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
  112. package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
  113. package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
  114. package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
  115. package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
  116. package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
  117. package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
  118. package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
  119. package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
  120. package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
  121. package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
  122. package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
  123. package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
  124. package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
  125. package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
  126. package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
  127. package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
  128. package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
  129. package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
  130. package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
  131. package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
  132. package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
  133. package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
  134. package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
  135. package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
  136. package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
  137. package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
  138. package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
  139. package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
  140. package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
  141. package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
  142. package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
  143. package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
  144. package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
  145. package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
  146. package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
  147. package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
  148. package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
  149. package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
  150. package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
  151. package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
  152. package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
  153. package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
  154. package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
  155. package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
  156. package/package.json +8 -8
@@ -3116,6 +3116,11 @@ export class GetAutoFlowLogDetailRequest extends $tea.Model {
3116
3116
  * ding5d17e3add038d44535c2f4657eb6378e
3117
3117
  */
3118
3118
  corpId?: string;
3119
+ /**
3120
+ * @example
3121
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
3122
+ */
3123
+ env?: string;
3119
3124
  /**
3120
3125
  * @remarks
3121
3126
  * This parameter is required.
@@ -3156,6 +3161,7 @@ export class GetAutoFlowLogDetailRequest extends $tea.Model {
3156
3161
  static names(): { [key: string]: string } {
3157
3162
  return {
3158
3163
  corpId: 'corpId',
3164
+ env: 'env',
3159
3165
  pageNumber: 'pageNumber',
3160
3166
  pageSize: 'pageSize',
3161
3167
  procInstanceId: 'procInstanceId',
@@ -3167,6 +3173,7 @@ export class GetAutoFlowLogDetailRequest extends $tea.Model {
3167
3173
  static types(): { [key: string]: any } {
3168
3174
  return {
3169
3175
  corpId: 'string',
3176
+ env: 'string',
3170
3177
  pageNumber: 'number',
3171
3178
  pageSize: 'number',
3172
3179
  procInstanceId: 'string',
@@ -3283,6 +3290,11 @@ export class GetCorpAccomplishmentTasksRequest extends $tea.Model {
3283
3290
  * 未知
3284
3291
  */
3285
3292
  createToTimeGMT?: number;
3293
+ /**
3294
+ * @example
3295
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
3296
+ */
3297
+ env?: string;
3286
3298
  /**
3287
3299
  * @example
3288
3300
  * 未知
@@ -3321,6 +3333,7 @@ export class GetCorpAccomplishmentTasksRequest extends $tea.Model {
3321
3333
  appTypes: 'appTypes',
3322
3334
  createFromTimeGMT: 'createFromTimeGMT',
3323
3335
  createToTimeGMT: 'createToTimeGMT',
3336
+ env: 'env',
3324
3337
  keyword: 'keyword',
3325
3338
  language: 'language',
3326
3339
  pageNumber: 'pageNumber',
@@ -3335,6 +3348,7 @@ export class GetCorpAccomplishmentTasksRequest extends $tea.Model {
3335
3348
  appTypes: 'string',
3336
3349
  createFromTimeGMT: 'number',
3337
3350
  createToTimeGMT: 'number',
3351
+ env: 'string',
3338
3352
  keyword: 'string',
3339
3353
  language: 'string',
3340
3354
  pageNumber: 'number',
@@ -3538,6 +3552,11 @@ export class GetCorpTasksRequest extends $tea.Model {
3538
3552
  * 未知
3539
3553
  */
3540
3554
  createToTimeGMT?: number;
3555
+ /**
3556
+ * @example
3557
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
3558
+ */
3559
+ env?: string;
3541
3560
  /**
3542
3561
  * @example
3543
3562
  * 未知
@@ -3585,6 +3604,7 @@ export class GetCorpTasksRequest extends $tea.Model {
3585
3604
  corpId: 'corpId',
3586
3605
  createFromTimeGMT: 'createFromTimeGMT',
3587
3606
  createToTimeGMT: 'createToTimeGMT',
3607
+ env: 'env',
3588
3608
  keyword: 'keyword',
3589
3609
  language: 'language',
3590
3610
  pageNumber: 'pageNumber',
@@ -3601,6 +3621,7 @@ export class GetCorpTasksRequest extends $tea.Model {
3601
3621
  corpId: 'string',
3602
3622
  createFromTimeGMT: 'number',
3603
3623
  createToTimeGMT: 'number',
3624
+ env: 'string',
3604
3625
  keyword: 'string',
3605
3626
  language: 'string',
3606
3627
  pageNumber: 'number',
@@ -5115,6 +5136,11 @@ export class GetMeCorpSubmissionRequest extends $tea.Model {
5115
5136
  * 未知
5116
5137
  */
5117
5138
  createToTimeGMT?: number;
5139
+ /**
5140
+ * @example
5141
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
5142
+ */
5143
+ env?: string;
5118
5144
  /**
5119
5145
  * @example
5120
5146
  * 未知
@@ -5154,6 +5180,7 @@ export class GetMeCorpSubmissionRequest extends $tea.Model {
5154
5180
  corpId: 'corpId',
5155
5181
  createFromTimeGMT: 'createFromTimeGMT',
5156
5182
  createToTimeGMT: 'createToTimeGMT',
5183
+ env: 'env',
5157
5184
  keyword: 'keyword',
5158
5185
  language: 'language',
5159
5186
  pageNumber: 'pageNumber',
@@ -5169,6 +5196,7 @@ export class GetMeCorpSubmissionRequest extends $tea.Model {
5169
5196
  corpId: 'string',
5170
5197
  createFromTimeGMT: 'number',
5171
5198
  createToTimeGMT: 'number',
5199
+ env: 'string',
5172
5200
  keyword: 'string',
5173
5201
  language: 'string',
5174
5202
  pageNumber: 'number',
@@ -5287,6 +5315,11 @@ export class GetNotifyMeRequest extends $tea.Model {
5287
5315
  * 未知
5288
5316
  */
5289
5317
  createToTimeGMT?: number;
5318
+ /**
5319
+ * @example
5320
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
5321
+ */
5322
+ env?: string;
5290
5323
  /**
5291
5324
  * @example
5292
5325
  * 未知
@@ -5336,6 +5369,7 @@ export class GetNotifyMeRequest extends $tea.Model {
5336
5369
  corpId: 'corpId',
5337
5370
  createFromTimeGMT: 'createFromTimeGMT',
5338
5371
  createToTimeGMT: 'createToTimeGMT',
5372
+ env: 'env',
5339
5373
  instanceCreateFromTimeGMT: 'instanceCreateFromTimeGMT',
5340
5374
  instanceCreateToTimeGMT: 'instanceCreateToTimeGMT',
5341
5375
  keyword: 'keyword',
@@ -5353,6 +5387,7 @@ export class GetNotifyMeRequest extends $tea.Model {
5353
5387
  corpId: 'string',
5354
5388
  createFromTimeGMT: 'number',
5355
5389
  createToTimeGMT: 'number',
5390
+ env: 'string',
5356
5391
  instanceCreateFromTimeGMT: 'number',
5357
5392
  instanceCreateToTimeGMT: 'number',
5358
5393
  keyword: 'string',
@@ -6272,6 +6307,144 @@ export class GetProcessDesignResponse extends $tea.Model {
6272
6307
  }
6273
6308
  }
6274
6309
 
6310
+ export class GetProcessDesignByCodeHeaders extends $tea.Model {
6311
+ commonHeaders?: { [key: string]: string };
6312
+ xAcsDingtalkAccessToken?: string;
6313
+ static names(): { [key: string]: string } {
6314
+ return {
6315
+ commonHeaders: 'commonHeaders',
6316
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
6317
+ };
6318
+ }
6319
+
6320
+ static types(): { [key: string]: any } {
6321
+ return {
6322
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6323
+ xAcsDingtalkAccessToken: 'string',
6324
+ };
6325
+ }
6326
+
6327
+ constructor(map?: { [key: string]: any }) {
6328
+ super(map);
6329
+ }
6330
+ }
6331
+
6332
+ export class GetProcessDesignByCodeRequest extends $tea.Model {
6333
+ /**
6334
+ * @remarks
6335
+ * This parameter is required.
6336
+ *
6337
+ * @example
6338
+ * APP_PBKT0MFBEBTDO8T7SLVP
6339
+ */
6340
+ appType?: string;
6341
+ /**
6342
+ * @remarks
6343
+ * This parameter is required.
6344
+ */
6345
+ processCode?: string;
6346
+ /**
6347
+ * @example
6348
+ * 36679675117
6349
+ */
6350
+ processId?: number;
6351
+ /**
6352
+ * @remarks
6353
+ * This parameter is required.
6354
+ *
6355
+ * @example
6356
+ * hexxx
6357
+ */
6358
+ systemToken?: string;
6359
+ /**
6360
+ * @remarks
6361
+ * This parameter is required.
6362
+ *
6363
+ * @example
6364
+ * 02465454670427591261
6365
+ */
6366
+ userId?: string;
6367
+ static names(): { [key: string]: string } {
6368
+ return {
6369
+ appType: 'appType',
6370
+ processCode: 'processCode',
6371
+ processId: 'processId',
6372
+ systemToken: 'systemToken',
6373
+ userId: 'userId',
6374
+ };
6375
+ }
6376
+
6377
+ static types(): { [key: string]: any } {
6378
+ return {
6379
+ appType: 'string',
6380
+ processCode: 'string',
6381
+ processId: 'number',
6382
+ systemToken: 'string',
6383
+ userId: 'string',
6384
+ };
6385
+ }
6386
+
6387
+ constructor(map?: { [key: string]: any }) {
6388
+ super(map);
6389
+ }
6390
+ }
6391
+
6392
+ export class GetProcessDesignByCodeResponseBody extends $tea.Model {
6393
+ approvalSummary?: GetProcessDesignByCodeResponseBodyApprovalSummary[];
6394
+ flowConfig?: GetProcessDesignByCodeResponseBodyFlowConfig;
6395
+ formulaRules?: GetProcessDesignByCodeResponseBodyFormulaRules[];
6396
+ nodes?: GetProcessDesignByCodeResponseBodyNodes[];
6397
+ props?: GetProcessDesignByCodeResponseBodyProps;
6398
+ static names(): { [key: string]: string } {
6399
+ return {
6400
+ approvalSummary: 'approvalSummary',
6401
+ flowConfig: 'flowConfig',
6402
+ formulaRules: 'formulaRules',
6403
+ nodes: 'nodes',
6404
+ props: 'props',
6405
+ };
6406
+ }
6407
+
6408
+ static types(): { [key: string]: any } {
6409
+ return {
6410
+ approvalSummary: { 'type': 'array', 'itemType': GetProcessDesignByCodeResponseBodyApprovalSummary },
6411
+ flowConfig: GetProcessDesignByCodeResponseBodyFlowConfig,
6412
+ formulaRules: { 'type': 'array', 'itemType': GetProcessDesignByCodeResponseBodyFormulaRules },
6413
+ nodes: { 'type': 'array', 'itemType': GetProcessDesignByCodeResponseBodyNodes },
6414
+ props: GetProcessDesignByCodeResponseBodyProps,
6415
+ };
6416
+ }
6417
+
6418
+ constructor(map?: { [key: string]: any }) {
6419
+ super(map);
6420
+ }
6421
+ }
6422
+
6423
+ export class GetProcessDesignByCodeResponse extends $tea.Model {
6424
+ headers?: { [key: string]: string };
6425
+ statusCode?: number;
6426
+ body?: GetProcessDesignByCodeResponseBody;
6427
+ static names(): { [key: string]: string } {
6428
+ return {
6429
+ headers: 'headers',
6430
+ statusCode: 'statusCode',
6431
+ body: 'body',
6432
+ };
6433
+ }
6434
+
6435
+ static types(): { [key: string]: any } {
6436
+ return {
6437
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6438
+ statusCode: 'number',
6439
+ body: GetProcessDesignByCodeResponseBody,
6440
+ };
6441
+ }
6442
+
6443
+ constructor(map?: { [key: string]: any }) {
6444
+ super(map);
6445
+ }
6446
+ }
6447
+
6275
6448
  export class GetRunningTaskListHeaders extends $tea.Model {
6276
6449
  commonHeaders?: { [key: string]: string };
6277
6450
  xAcsDingtalkAccessToken?: string;
@@ -6949,6 +7122,11 @@ export class ListApplicationRequest extends $tea.Model {
6949
7122
  * ding5d17e3add038d44535c2f4657eb6378e
6950
7123
  */
6951
7124
  corpId?: string;
7125
+ /**
7126
+ * @example
7127
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
7128
+ */
7129
+ env?: string;
6952
7130
  /**
6953
7131
  * @example
6954
7132
  * 1
@@ -6980,6 +7158,7 @@ export class ListApplicationRequest extends $tea.Model {
6980
7158
  appFilter: 'appFilter',
6981
7159
  appNameSearchKeyword: 'appNameSearchKeyword',
6982
7160
  corpId: 'corpId',
7161
+ env: 'env',
6983
7162
  pageNumber: 'pageNumber',
6984
7163
  pageSize: 'pageSize',
6985
7164
  token: 'token',
@@ -6992,6 +7171,7 @@ export class ListApplicationRequest extends $tea.Model {
6992
7171
  appFilter: 'string',
6993
7172
  appNameSearchKeyword: 'string',
6994
7173
  corpId: 'string',
7174
+ env: 'string',
6995
7175
  pageNumber: 'number',
6996
7176
  pageSize: 'number',
6997
7177
  token: 'string',
@@ -8460,6 +8640,11 @@ export class PageAutoFlowLogRequest extends $tea.Model {
8460
8640
  * 2021-01-01
8461
8641
  */
8462
8642
  endTimeGMT?: number;
8643
+ /**
8644
+ * @example
8645
+ * vpc(国内版宜搭)/sgp_vpc(海外版宜搭)
8646
+ */
8647
+ env?: string;
8463
8648
  /**
8464
8649
  * @example
8465
8650
  * FORM-GX866MC1NC1VOFF6WVQW33FD16E23L3CPMKVKA
@@ -8509,6 +8694,7 @@ export class PageAutoFlowLogRequest extends $tea.Model {
8509
8694
  appType: 'appType',
8510
8695
  corpId: 'corpId',
8511
8696
  endTimeGMT: 'endTimeGMT',
8697
+ env: 'env',
8512
8698
  formUuid: 'formUuid',
8513
8699
  pageNumber: 'pageNumber',
8514
8700
  pageSize: 'pageSize',
@@ -8525,6 +8711,7 @@ export class PageAutoFlowLogRequest extends $tea.Model {
8525
8711
  appType: 'string',
8526
8712
  corpId: 'string',
8527
8713
  endTimeGMT: 'number',
8714
+ env: 'string',
8528
8715
  formUuid: 'string',
8529
8716
  pageNumber: 'number',
8530
8717
  pageSize: 'number',
@@ -15779,110 +15966,35 @@ export class GetProcessDesignResponseBodyProps extends $tea.Model {
15779
15966
  }
15780
15967
  }
15781
15968
 
15782
- export class GetRunningTaskListResponseBodyResult extends $tea.Model {
15783
- /**
15784
- * @example
15785
- * 2021-02-01
15786
- */
15787
- activeTimeGMT?: string;
15788
- /**
15789
- * @example
15790
- * manager123
15791
- */
15792
- actualActionExecutorId?: string;
15793
- appType?: string;
15794
- /**
15795
- * @example
15796
- * 2021-01-01
15797
- */
15798
- createTimeGMT?: string;
15799
- /**
15800
- * @example
15801
- * 2021-01-01
15802
- */
15803
- finishTimeGMT?: string;
15804
- originatorEmail?: string;
15805
- originatorId?: string;
15806
- originatorName?: string;
15807
- originatorNameInEnglish?: string;
15808
- originatorNickName?: string;
15809
- originatorNickNameInEnglish?: string;
15810
- originatorPhoto?: string;
15811
- outResult?: string;
15812
- outResultName?: string;
15813
- processInstanceId?: string;
15814
- /**
15815
- * @example
15816
- * running
15817
- */
15818
- status?: string;
15819
- /**
15820
- * @example
15821
- * task-123
15822
- */
15823
- taskId?: string;
15969
+ export class GetProcessDesignByCodeResponseBodyApprovalSummaryTitle extends $tea.Model {
15824
15970
  /**
15825
15971
  * @example
15826
- * append task
15972
+ * zhangsan
15827
15973
  */
15828
- taskType?: string;
15974
+ enUS?: string;
15829
15975
  /**
15830
15976
  * @example
15831
- * 李四发起的请购单
15977
+ * i18n
15832
15978
  */
15833
- title?: string;
15979
+ type?: string;
15834
15980
  /**
15835
15981
  * @example
15836
- * title A
15982
+ * 张三
15837
15983
  */
15838
- titleInEnglish?: string;
15984
+ zhCN?: string;
15839
15985
  static names(): { [key: string]: string } {
15840
15986
  return {
15841
- activeTimeGMT: 'activeTimeGMT',
15842
- actualActionExecutorId: 'actualActionExecutorId',
15843
- appType: 'appType',
15844
- createTimeGMT: 'createTimeGMT',
15845
- finishTimeGMT: 'finishTimeGMT',
15846
- originatorEmail: 'originatorEmail',
15847
- originatorId: 'originatorId',
15848
- originatorName: 'originatorName',
15849
- originatorNameInEnglish: 'originatorNameInEnglish',
15850
- originatorNickName: 'originatorNickName',
15851
- originatorNickNameInEnglish: 'originatorNickNameInEnglish',
15852
- originatorPhoto: 'originatorPhoto',
15853
- outResult: 'outResult',
15854
- outResultName: 'outResultName',
15855
- processInstanceId: 'processInstanceId',
15856
- status: 'status',
15857
- taskId: 'taskId',
15858
- taskType: 'taskType',
15859
- title: 'title',
15860
- titleInEnglish: 'titleInEnglish',
15987
+ enUS: 'en_US',
15988
+ type: 'type',
15989
+ zhCN: 'zh_CN',
15861
15990
  };
15862
15991
  }
15863
15992
 
15864
15993
  static types(): { [key: string]: any } {
15865
15994
  return {
15866
- activeTimeGMT: 'string',
15867
- actualActionExecutorId: 'string',
15868
- appType: 'string',
15869
- createTimeGMT: 'string',
15870
- finishTimeGMT: 'string',
15871
- originatorEmail: 'string',
15872
- originatorId: 'string',
15873
- originatorName: 'string',
15874
- originatorNameInEnglish: 'string',
15875
- originatorNickName: 'string',
15876
- originatorNickNameInEnglish: 'string',
15877
- originatorPhoto: 'string',
15878
- outResult: 'string',
15879
- outResultName: 'string',
15880
- processInstanceId: 'string',
15881
- status: 'string',
15882
- taskId: 'string',
15883
- taskType: 'string',
15884
- title: 'string',
15885
- titleInEnglish: 'string',
15995
+ enUS: 'string',
15996
+ type: 'string',
15997
+ zhCN: 'string',
15886
15998
  };
15887
15999
  }
15888
16000
 
@@ -15891,22 +16003,484 @@ export class GetRunningTaskListResponseBodyResult extends $tea.Model {
15891
16003
  }
15892
16004
  }
15893
16005
 
15894
- export class GetRunningTasksResponseBodyResult extends $tea.Model {
15895
- activeTimeGMT?: string;
15896
- activityId?: string;
15897
- actualActionerId?: string;
15898
- createTimeGMT?: string;
15899
- finishTimeGMT?: string;
15900
- originatorId?: string;
15901
- processInstanceId?: string;
15902
- status?: string;
15903
- taskId?: string;
15904
- taskType?: string;
15905
- title?: string;
15906
- titleInEnglish?: string;
16006
+ export class GetProcessDesignByCodeResponseBodyApprovalSummary extends $tea.Model {
16007
+ title?: GetProcessDesignByCodeResponseBodyApprovalSummaryTitle;
15907
16008
  static names(): { [key: string]: string } {
15908
16009
  return {
15909
- activeTimeGMT: 'activeTimeGMT',
16010
+ title: 'title',
16011
+ };
16012
+ }
16013
+
16014
+ static types(): { [key: string]: any } {
16015
+ return {
16016
+ title: GetProcessDesignByCodeResponseBodyApprovalSummaryTitle,
16017
+ };
16018
+ }
16019
+
16020
+ constructor(map?: { [key: string]: any }) {
16021
+ super(map);
16022
+ }
16023
+ }
16024
+
16025
+ export class GetProcessDesignByCodeResponseBodyFlowConfigSidInstDetail extends $tea.Model {
16026
+ /**
16027
+ * @example
16028
+ * HIDDEN
16029
+ */
16030
+ fieldBehavior?: string;
16031
+ /**
16032
+ * @example
16033
+ * textField_xxx
16034
+ */
16035
+ fieldId?: string;
16036
+ static names(): { [key: string]: string } {
16037
+ return {
16038
+ fieldBehavior: 'fieldBehavior',
16039
+ fieldId: 'fieldId',
16040
+ };
16041
+ }
16042
+
16043
+ static types(): { [key: string]: any } {
16044
+ return {
16045
+ fieldBehavior: 'string',
16046
+ fieldId: 'string',
16047
+ };
16048
+ }
16049
+
16050
+ constructor(map?: { [key: string]: any }) {
16051
+ super(map);
16052
+ }
16053
+ }
16054
+
16055
+ export class GetProcessDesignByCodeResponseBodyFlowConfig extends $tea.Model {
16056
+ sidInstDetail?: GetProcessDesignByCodeResponseBodyFlowConfigSidInstDetail[];
16057
+ static names(): { [key: string]: string } {
16058
+ return {
16059
+ sidInstDetail: 'sid_instDetail',
16060
+ };
16061
+ }
16062
+
16063
+ static types(): { [key: string]: any } {
16064
+ return {
16065
+ sidInstDetail: { 'type': 'array', 'itemType': GetProcessDesignByCodeResponseBodyFlowConfigSidInstDetail },
16066
+ };
16067
+ }
16068
+
16069
+ constructor(map?: { [key: string]: any }) {
16070
+ super(map);
16071
+ }
16072
+ }
16073
+
16074
+ export class GetProcessDesignByCodeResponseBodyFormulaRulesName extends $tea.Model {
16075
+ /**
16076
+ * @example
16077
+ * zhangsan
16078
+ */
16079
+ enUS?: string;
16080
+ /**
16081
+ * @example
16082
+ * 张三
16083
+ */
16084
+ zhCN?: string;
16085
+ static names(): { [key: string]: string } {
16086
+ return {
16087
+ enUS: 'en_US',
16088
+ zhCN: 'zh_CN',
16089
+ };
16090
+ }
16091
+
16092
+ static types(): { [key: string]: any } {
16093
+ return {
16094
+ enUS: 'string',
16095
+ zhCN: 'string',
16096
+ };
16097
+ }
16098
+
16099
+ constructor(map?: { [key: string]: any }) {
16100
+ super(map);
16101
+ }
16102
+ }
16103
+
16104
+ export class GetProcessDesignByCodeResponseBodyFormulaRulesRule extends $tea.Model {
16105
+ /**
16106
+ * @example
16107
+ * EQ(#{textField_xxx},1)
16108
+ */
16109
+ content?: string;
16110
+ /**
16111
+ * @example
16112
+ * EQ(单行文本,1)
16113
+ */
16114
+ displayRule?: string;
16115
+ /**
16116
+ * @example
16117
+ * EQ(#{textField_xxx},1)
16118
+ */
16119
+ source?: string;
16120
+ static names(): { [key: string]: string } {
16121
+ return {
16122
+ content: 'content',
16123
+ displayRule: 'displayRule',
16124
+ source: 'source',
16125
+ };
16126
+ }
16127
+
16128
+ static types(): { [key: string]: any } {
16129
+ return {
16130
+ content: 'string',
16131
+ displayRule: 'string',
16132
+ source: 'string',
16133
+ };
16134
+ }
16135
+
16136
+ constructor(map?: { [key: string]: any }) {
16137
+ super(map);
16138
+ }
16139
+ }
16140
+
16141
+ export class GetProcessDesignByCodeResponseBodyFormulaRules extends $tea.Model {
16142
+ activityAction?: string[];
16143
+ activityId?: string[];
16144
+ /**
16145
+ * @example
16146
+ * n
16147
+ */
16148
+ block?: string;
16149
+ /**
16150
+ * @example
16151
+ * xxx
16152
+ */
16153
+ message?: string;
16154
+ name?: GetProcessDesignByCodeResponseBodyFormulaRulesName;
16155
+ /**
16156
+ * @example
16157
+ * START
16158
+ */
16159
+ nodeType?: string;
16160
+ rule?: GetProcessDesignByCodeResponseBodyFormulaRulesRule;
16161
+ /**
16162
+ * @example
16163
+ * VALIDATOR
16164
+ */
16165
+ ruleType?: string;
16166
+ /**
16167
+ * @example
16168
+ * null
16169
+ */
16170
+ triggerMode?: string;
16171
+ static names(): { [key: string]: string } {
16172
+ return {
16173
+ activityAction: 'activityAction',
16174
+ activityId: 'activityId',
16175
+ block: 'block',
16176
+ message: 'message',
16177
+ name: 'name',
16178
+ nodeType: 'nodeType',
16179
+ rule: 'rule',
16180
+ ruleType: 'ruleType',
16181
+ triggerMode: 'triggerMode',
16182
+ };
16183
+ }
16184
+
16185
+ static types(): { [key: string]: any } {
16186
+ return {
16187
+ activityAction: { 'type': 'array', 'itemType': 'string' },
16188
+ activityId: { 'type': 'array', 'itemType': 'string' },
16189
+ block: 'string',
16190
+ message: 'string',
16191
+ name: GetProcessDesignByCodeResponseBodyFormulaRulesName,
16192
+ nodeType: 'string',
16193
+ rule: GetProcessDesignByCodeResponseBodyFormulaRulesRule,
16194
+ ruleType: 'string',
16195
+ triggerMode: 'string',
16196
+ };
16197
+ }
16198
+
16199
+ constructor(map?: { [key: string]: any }) {
16200
+ super(map);
16201
+ }
16202
+ }
16203
+
16204
+ export class GetProcessDesignByCodeResponseBodyNodesName extends $tea.Model {
16205
+ /**
16206
+ * @example
16207
+ * 张三
16208
+ */
16209
+ enUS?: string;
16210
+ /**
16211
+ * @example
16212
+ * zhangsan
16213
+ */
16214
+ zhCN?: string;
16215
+ static names(): { [key: string]: string } {
16216
+ return {
16217
+ enUS: 'en_US',
16218
+ zhCN: 'zh_CN',
16219
+ };
16220
+ }
16221
+
16222
+ static types(): { [key: string]: any } {
16223
+ return {
16224
+ enUS: 'string',
16225
+ zhCN: 'string',
16226
+ };
16227
+ }
16228
+
16229
+ constructor(map?: { [key: string]: any }) {
16230
+ super(map);
16231
+ }
16232
+ }
16233
+
16234
+ export class GetProcessDesignByCodeResponseBodyNodes extends $tea.Model {
16235
+ childNodes?: { [key: string]: any }[];
16236
+ /**
16237
+ * @example
16238
+ * 请选择审批人
16239
+ */
16240
+ description?: string;
16241
+ name?: GetProcessDesignByCodeResponseBodyNodesName;
16242
+ nextId?: string[];
16243
+ /**
16244
+ * @example
16245
+ * node_xxx
16246
+ */
16247
+ nodeId?: string;
16248
+ /**
16249
+ * @example
16250
+ * node_xxx
16251
+ */
16252
+ prevId?: string;
16253
+ props?: { [key: string]: any };
16254
+ /**
16255
+ * @example
16256
+ * approval
16257
+ */
16258
+ type?: string;
16259
+ static names(): { [key: string]: string } {
16260
+ return {
16261
+ childNodes: 'childNodes',
16262
+ description: 'description',
16263
+ name: 'name',
16264
+ nextId: 'nextId',
16265
+ nodeId: 'nodeId',
16266
+ prevId: 'prevId',
16267
+ props: 'props',
16268
+ type: 'type',
16269
+ };
16270
+ }
16271
+
16272
+ static types(): { [key: string]: any } {
16273
+ return {
16274
+ childNodes: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
16275
+ description: 'string',
16276
+ name: GetProcessDesignByCodeResponseBodyNodesName,
16277
+ nextId: { 'type': 'array', 'itemType': 'string' },
16278
+ nodeId: 'string',
16279
+ prevId: 'string',
16280
+ props: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
16281
+ type: 'string',
16282
+ };
16283
+ }
16284
+
16285
+ constructor(map?: { [key: string]: any }) {
16286
+ super(map);
16287
+ }
16288
+ }
16289
+
16290
+ export class GetProcessDesignByCodeResponseBodyProps extends $tea.Model {
16291
+ allowCollaboration?: boolean;
16292
+ allowTemporaryStorage?: boolean;
16293
+ allowWithdraw?: boolean;
16294
+ /**
16295
+ * @example
16296
+ * FORM-xxx
16297
+ */
16298
+ bindingForm?: string;
16299
+ noRecordRecall?: boolean;
16300
+ /**
16301
+ * @example
16302
+ * TPROC--BDC66HB1FIPNPCMNE5VV787RY4D5327NBKTZL0
16303
+ */
16304
+ processCode?: string;
16305
+ /**
16306
+ * @example
16307
+ * https://xxx
16308
+ */
16309
+ processDetailUrl?: string;
16310
+ /**
16311
+ * @example
16312
+ * https://xxx
16313
+ */
16314
+ processInitUrl?: string;
16315
+ /**
16316
+ * @example
16317
+ * https://xxx
16318
+ */
16319
+ processMobileDetailUrl?: string;
16320
+ stopAssociationRulesIfFailed?: boolean;
16321
+ static names(): { [key: string]: string } {
16322
+ return {
16323
+ allowCollaboration: 'allowCollaboration',
16324
+ allowTemporaryStorage: 'allowTemporaryStorage',
16325
+ allowWithdraw: 'allowWithdraw',
16326
+ bindingForm: 'bindingForm',
16327
+ noRecordRecall: 'noRecordRecall',
16328
+ processCode: 'processCode',
16329
+ processDetailUrl: 'processDetailUrl',
16330
+ processInitUrl: 'processInitUrl',
16331
+ processMobileDetailUrl: 'processMobileDetailUrl',
16332
+ stopAssociationRulesIfFailed: 'stopAssociationRulesIfFailed',
16333
+ };
16334
+ }
16335
+
16336
+ static types(): { [key: string]: any } {
16337
+ return {
16338
+ allowCollaboration: 'boolean',
16339
+ allowTemporaryStorage: 'boolean',
16340
+ allowWithdraw: 'boolean',
16341
+ bindingForm: 'string',
16342
+ noRecordRecall: 'boolean',
16343
+ processCode: 'string',
16344
+ processDetailUrl: 'string',
16345
+ processInitUrl: 'string',
16346
+ processMobileDetailUrl: 'string',
16347
+ stopAssociationRulesIfFailed: 'boolean',
16348
+ };
16349
+ }
16350
+
16351
+ constructor(map?: { [key: string]: any }) {
16352
+ super(map);
16353
+ }
16354
+ }
16355
+
16356
+ export class GetRunningTaskListResponseBodyResult extends $tea.Model {
16357
+ /**
16358
+ * @example
16359
+ * 2021-02-01
16360
+ */
16361
+ activeTimeGMT?: string;
16362
+ /**
16363
+ * @example
16364
+ * manager123
16365
+ */
16366
+ actualActionExecutorId?: string;
16367
+ appType?: string;
16368
+ /**
16369
+ * @example
16370
+ * 2021-01-01
16371
+ */
16372
+ createTimeGMT?: string;
16373
+ /**
16374
+ * @example
16375
+ * 2021-01-01
16376
+ */
16377
+ finishTimeGMT?: string;
16378
+ originatorEmail?: string;
16379
+ originatorId?: string;
16380
+ originatorName?: string;
16381
+ originatorNameInEnglish?: string;
16382
+ originatorNickName?: string;
16383
+ originatorNickNameInEnglish?: string;
16384
+ originatorPhoto?: string;
16385
+ outResult?: string;
16386
+ outResultName?: string;
16387
+ processInstanceId?: string;
16388
+ /**
16389
+ * @example
16390
+ * running
16391
+ */
16392
+ status?: string;
16393
+ /**
16394
+ * @example
16395
+ * task-123
16396
+ */
16397
+ taskId?: string;
16398
+ /**
16399
+ * @example
16400
+ * append task
16401
+ */
16402
+ taskType?: string;
16403
+ /**
16404
+ * @example
16405
+ * 李四发起的请购单
16406
+ */
16407
+ title?: string;
16408
+ /**
16409
+ * @example
16410
+ * title A
16411
+ */
16412
+ titleInEnglish?: string;
16413
+ static names(): { [key: string]: string } {
16414
+ return {
16415
+ activeTimeGMT: 'activeTimeGMT',
16416
+ actualActionExecutorId: 'actualActionExecutorId',
16417
+ appType: 'appType',
16418
+ createTimeGMT: 'createTimeGMT',
16419
+ finishTimeGMT: 'finishTimeGMT',
16420
+ originatorEmail: 'originatorEmail',
16421
+ originatorId: 'originatorId',
16422
+ originatorName: 'originatorName',
16423
+ originatorNameInEnglish: 'originatorNameInEnglish',
16424
+ originatorNickName: 'originatorNickName',
16425
+ originatorNickNameInEnglish: 'originatorNickNameInEnglish',
16426
+ originatorPhoto: 'originatorPhoto',
16427
+ outResult: 'outResult',
16428
+ outResultName: 'outResultName',
16429
+ processInstanceId: 'processInstanceId',
16430
+ status: 'status',
16431
+ taskId: 'taskId',
16432
+ taskType: 'taskType',
16433
+ title: 'title',
16434
+ titleInEnglish: 'titleInEnglish',
16435
+ };
16436
+ }
16437
+
16438
+ static types(): { [key: string]: any } {
16439
+ return {
16440
+ activeTimeGMT: 'string',
16441
+ actualActionExecutorId: 'string',
16442
+ appType: 'string',
16443
+ createTimeGMT: 'string',
16444
+ finishTimeGMT: 'string',
16445
+ originatorEmail: 'string',
16446
+ originatorId: 'string',
16447
+ originatorName: 'string',
16448
+ originatorNameInEnglish: 'string',
16449
+ originatorNickName: 'string',
16450
+ originatorNickNameInEnglish: 'string',
16451
+ originatorPhoto: 'string',
16452
+ outResult: 'string',
16453
+ outResultName: 'string',
16454
+ processInstanceId: 'string',
16455
+ status: 'string',
16456
+ taskId: 'string',
16457
+ taskType: 'string',
16458
+ title: 'string',
16459
+ titleInEnglish: 'string',
16460
+ };
16461
+ }
16462
+
16463
+ constructor(map?: { [key: string]: any }) {
16464
+ super(map);
16465
+ }
16466
+ }
16467
+
16468
+ export class GetRunningTasksResponseBodyResult extends $tea.Model {
16469
+ activeTimeGMT?: string;
16470
+ activityId?: string;
16471
+ actualActionerId?: string;
16472
+ createTimeGMT?: string;
16473
+ finishTimeGMT?: string;
16474
+ originatorId?: string;
16475
+ processInstanceId?: string;
16476
+ status?: string;
16477
+ taskId?: string;
16478
+ taskType?: string;
16479
+ title?: string;
16480
+ titleInEnglish?: string;
16481
+ static names(): { [key: string]: string } {
16482
+ return {
16483
+ activeTimeGMT: 'activeTimeGMT',
15910
16484
  activityId: 'activityId',
15911
16485
  actualActionerId: 'actualActionerId',
15912
16486
  createTimeGMT: 'createTimeGMT',
@@ -19750,6 +20324,10 @@ export default class Client extends OpenApi {
19750
20324
  query["corpId"] = request.corpId;
19751
20325
  }
19752
20326
 
20327
+ if (!Util.isUnset(request.env)) {
20328
+ query["env"] = request.env;
20329
+ }
20330
+
19753
20331
  if (!Util.isUnset(request.pageNumber)) {
19754
20332
  query["pageNumber"] = request.pageNumber;
19755
20333
  }
@@ -19832,6 +20410,10 @@ export default class Client extends OpenApi {
19832
20410
  query["createToTimeGMT"] = request.createToTimeGMT;
19833
20411
  }
19834
20412
 
20413
+ if (!Util.isUnset(request.env)) {
20414
+ query["env"] = request.env;
20415
+ }
20416
+
19835
20417
  if (!Util.isUnset(request.keyword)) {
19836
20418
  query["keyword"] = request.keyword;
19837
20419
  }
@@ -19976,6 +20558,10 @@ export default class Client extends OpenApi {
19976
20558
  query["createToTimeGMT"] = request.createToTimeGMT;
19977
20559
  }
19978
20560
 
20561
+ if (!Util.isUnset(request.env)) {
20562
+ query["env"] = request.env;
20563
+ }
20564
+
19979
20565
  if (!Util.isUnset(request.keyword)) {
19980
20566
  query["keyword"] = request.keyword;
19981
20567
  }
@@ -20780,6 +21366,10 @@ export default class Client extends OpenApi {
20780
21366
  query["createToTimeGMT"] = request.createToTimeGMT;
20781
21367
  }
20782
21368
 
21369
+ if (!Util.isUnset(request.env)) {
21370
+ query["env"] = request.env;
21371
+ }
21372
+
20783
21373
  if (!Util.isUnset(request.keyword)) {
20784
21374
  query["keyword"] = request.keyword;
20785
21375
  }
@@ -20870,6 +21460,10 @@ export default class Client extends OpenApi {
20870
21460
  query["createToTimeGMT"] = request.createToTimeGMT;
20871
21461
  }
20872
21462
 
21463
+ if (!Util.isUnset(request.env)) {
21464
+ query["env"] = request.env;
21465
+ }
21466
+
20873
21467
  if (!Util.isUnset(request.instanceCreateFromTimeGMT)) {
20874
21468
  query["instanceCreateFromTimeGMT"] = request.instanceCreateFromTimeGMT;
20875
21469
  }
@@ -21415,6 +22009,76 @@ export default class Client extends OpenApi {
21415
22009
  return await this.getProcessDesignWithOptions(processId, request, headers, runtime);
21416
22010
  }
21417
22011
 
22012
+ /**
22013
+ * 根据流程ID获取流程设计结构
22014
+ *
22015
+ * @param request - GetProcessDesignByCodeRequest
22016
+ * @param headers - GetProcessDesignByCodeHeaders
22017
+ * @param runtime - runtime options for this request RuntimeOptions
22018
+ * @returns GetProcessDesignByCodeResponse
22019
+ */
22020
+ async getProcessDesignByCodeWithOptions(request: GetProcessDesignByCodeRequest, headers: GetProcessDesignByCodeHeaders, runtime: $Util.RuntimeOptions): Promise<GetProcessDesignByCodeResponse> {
22021
+ Util.validateModel(request);
22022
+ let query : {[key: string ]: any} = { };
22023
+ if (!Util.isUnset(request.appType)) {
22024
+ query["appType"] = request.appType;
22025
+ }
22026
+
22027
+ if (!Util.isUnset(request.processCode)) {
22028
+ query["processCode"] = request.processCode;
22029
+ }
22030
+
22031
+ if (!Util.isUnset(request.processId)) {
22032
+ query["processId"] = request.processId;
22033
+ }
22034
+
22035
+ if (!Util.isUnset(request.systemToken)) {
22036
+ query["systemToken"] = request.systemToken;
22037
+ }
22038
+
22039
+ if (!Util.isUnset(request.userId)) {
22040
+ query["userId"] = request.userId;
22041
+ }
22042
+
22043
+ let realHeaders : {[key: string ]: string} = { };
22044
+ if (!Util.isUnset(headers.commonHeaders)) {
22045
+ realHeaders = headers.commonHeaders;
22046
+ }
22047
+
22048
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
22049
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
22050
+ }
22051
+
22052
+ let req = new $OpenApi.OpenApiRequest({
22053
+ headers: realHeaders,
22054
+ query: OpenApiUtil.query(query),
22055
+ });
22056
+ let params = new $OpenApi.Params({
22057
+ action: "GetProcessDesignByCode",
22058
+ version: "yida_1.0",
22059
+ protocol: "HTTP",
22060
+ pathname: `/v1.0/yida/processes/designStructures`,
22061
+ method: "GET",
22062
+ authType: "AK",
22063
+ style: "ROA",
22064
+ reqBodyType: "none",
22065
+ bodyType: "json",
22066
+ });
22067
+ return $tea.cast<GetProcessDesignByCodeResponse>(await this.execute(params, req, runtime), new GetProcessDesignByCodeResponse({}));
22068
+ }
22069
+
22070
+ /**
22071
+ * 根据流程ID获取流程设计结构
22072
+ *
22073
+ * @param request - GetProcessDesignByCodeRequest
22074
+ * @returns GetProcessDesignByCodeResponse
22075
+ */
22076
+ async getProcessDesignByCode(request: GetProcessDesignByCodeRequest): Promise<GetProcessDesignByCodeResponse> {
22077
+ let runtime = new $Util.RuntimeOptions({ });
22078
+ let headers = new GetProcessDesignByCodeHeaders({ });
22079
+ return await this.getProcessDesignByCodeWithOptions(request, headers, runtime);
22080
+ }
22081
+
21418
22082
  /**
21419
22083
  * 通过实例id批量获取待办任务
21420
22084
  *
@@ -21804,6 +22468,10 @@ export default class Client extends OpenApi {
21804
22468
  query["corpId"] = request.corpId;
21805
22469
  }
21806
22470
 
22471
+ if (!Util.isUnset(request.env)) {
22472
+ query["env"] = request.env;
22473
+ }
22474
+
21807
22475
  if (!Util.isUnset(request.pageNumber)) {
21808
22476
  query["pageNumber"] = request.pageNumber;
21809
22477
  }
@@ -22648,6 +23316,10 @@ export default class Client extends OpenApi {
22648
23316
  body["endTimeGMT"] = request.endTimeGMT;
22649
23317
  }
22650
23318
 
23319
+ if (!Util.isUnset(request.env)) {
23320
+ body["env"] = request.env;
23321
+ }
23322
+
22651
23323
  if (!Util.isUnset(request.formUuid)) {
22652
23324
  body["formUuid"] = request.formUuid;
22653
23325
  }