@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
@@ -639,6 +639,119 @@ export class AddProcessInstanceCommentResponse extends $tea.Model {
639
639
  }
640
640
  }
641
641
 
642
+ export class ArchiveProcessInstanceHeaders extends $tea.Model {
643
+ commonHeaders?: { [key: string]: string };
644
+ xAcsDingtalkAccessToken?: string;
645
+ static names(): { [key: string]: string } {
646
+ return {
647
+ commonHeaders: 'commonHeaders',
648
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
649
+ };
650
+ }
651
+
652
+ static types(): { [key: string]: any } {
653
+ return {
654
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
655
+ xAcsDingtalkAccessToken: 'string',
656
+ };
657
+ }
658
+
659
+ constructor(map?: { [key: string]: any }) {
660
+ super(map);
661
+ }
662
+ }
663
+
664
+ export class ArchiveProcessInstanceRequest extends $tea.Model {
665
+ /**
666
+ * @remarks
667
+ * This parameter is required.
668
+ *
669
+ * @example
670
+ * 133743186427339452
671
+ */
672
+ opUserId?: string;
673
+ /**
674
+ * @remarks
675
+ * This parameter is required.
676
+ *
677
+ * @example
678
+ * a171de6c-8bxxxx
679
+ */
680
+ processInstanceId?: string;
681
+ static names(): { [key: string]: string } {
682
+ return {
683
+ opUserId: 'opUserId',
684
+ processInstanceId: 'processInstanceId',
685
+ };
686
+ }
687
+
688
+ static types(): { [key: string]: any } {
689
+ return {
690
+ opUserId: 'string',
691
+ processInstanceId: 'string',
692
+ };
693
+ }
694
+
695
+ constructor(map?: { [key: string]: any }) {
696
+ super(map);
697
+ }
698
+ }
699
+
700
+ export class ArchiveProcessInstanceResponseBody extends $tea.Model {
701
+ /**
702
+ * @example
703
+ * true
704
+ */
705
+ result?: boolean;
706
+ /**
707
+ * @example
708
+ * true
709
+ */
710
+ success?: boolean;
711
+ static names(): { [key: string]: string } {
712
+ return {
713
+ result: 'result',
714
+ success: 'success',
715
+ };
716
+ }
717
+
718
+ static types(): { [key: string]: any } {
719
+ return {
720
+ result: 'boolean',
721
+ success: 'boolean',
722
+ };
723
+ }
724
+
725
+ constructor(map?: { [key: string]: any }) {
726
+ super(map);
727
+ }
728
+ }
729
+
730
+ export class ArchiveProcessInstanceResponse extends $tea.Model {
731
+ headers?: { [key: string]: string };
732
+ statusCode?: number;
733
+ body?: ArchiveProcessInstanceResponseBody;
734
+ static names(): { [key: string]: string } {
735
+ return {
736
+ headers: 'headers',
737
+ statusCode: 'statusCode',
738
+ body: 'body',
739
+ };
740
+ }
741
+
742
+ static types(): { [key: string]: any } {
743
+ return {
744
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
745
+ statusCode: 'number',
746
+ body: ArchiveProcessInstanceResponseBody,
747
+ };
748
+ }
749
+
750
+ constructor(map?: { [key: string]: any }) {
751
+ super(map);
752
+ }
753
+ }
754
+
642
755
  export class BatchExecuteProcessInstancesHeaders extends $tea.Model {
643
756
  commonHeaders?: { [key: string]: string };
644
757
  xAcsDingtalkAccessToken?: string;
@@ -4186,6 +4299,155 @@ export class PremiumAddApproveDentryAuthResponse extends $tea.Model {
4186
4299
  }
4187
4300
  }
4188
4301
 
4302
+ export class PremiumAppendTaskHeaders extends $tea.Model {
4303
+ commonHeaders?: { [key: string]: string };
4304
+ xAcsDingtalkAccessToken?: string;
4305
+ static names(): { [key: string]: string } {
4306
+ return {
4307
+ commonHeaders: 'commonHeaders',
4308
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
4309
+ };
4310
+ }
4311
+
4312
+ static types(): { [key: string]: any } {
4313
+ return {
4314
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4315
+ xAcsDingtalkAccessToken: 'string',
4316
+ };
4317
+ }
4318
+
4319
+ constructor(map?: { [key: string]: any }) {
4320
+ super(map);
4321
+ }
4322
+ }
4323
+
4324
+ export class PremiumAppendTaskRequest extends $tea.Model {
4325
+ /**
4326
+ * @remarks
4327
+ * This parameter is required.
4328
+ *
4329
+ * @example
4330
+ * ALL
4331
+ */
4332
+ activateType?: string;
4333
+ agreeAll?: boolean;
4334
+ /**
4335
+ * @remarks
4336
+ * This parameter is required.
4337
+ */
4338
+ appenderUserIds?: string[];
4339
+ /**
4340
+ * @remarks
4341
+ * This parameter is required.
4342
+ *
4343
+ * @example
4344
+ * manager001
4345
+ */
4346
+ operateUserId?: string;
4347
+ /**
4348
+ * @remarks
4349
+ * This parameter is required.
4350
+ *
4351
+ * @example
4352
+ * processInstanceId123
4353
+ */
4354
+ processInstanceId?: string;
4355
+ /**
4356
+ * @example
4357
+ * 请XX帮忙审批一下
4358
+ */
4359
+ remark?: string;
4360
+ /**
4361
+ * @remarks
4362
+ * This parameter is required.
4363
+ *
4364
+ * @example
4365
+ * 1234567
4366
+ */
4367
+ taskId?: number;
4368
+ /**
4369
+ * @remarks
4370
+ * This parameter is required.
4371
+ *
4372
+ * @example
4373
+ * after
4374
+ */
4375
+ type?: string;
4376
+ static names(): { [key: string]: string } {
4377
+ return {
4378
+ activateType: 'activateType',
4379
+ agreeAll: 'agreeAll',
4380
+ appenderUserIds: 'appenderUserIds',
4381
+ operateUserId: 'operateUserId',
4382
+ processInstanceId: 'processInstanceId',
4383
+ remark: 'remark',
4384
+ taskId: 'taskId',
4385
+ type: 'type',
4386
+ };
4387
+ }
4388
+
4389
+ static types(): { [key: string]: any } {
4390
+ return {
4391
+ activateType: 'string',
4392
+ agreeAll: 'boolean',
4393
+ appenderUserIds: { 'type': 'array', 'itemType': 'string' },
4394
+ operateUserId: 'string',
4395
+ processInstanceId: 'string',
4396
+ remark: 'string',
4397
+ taskId: 'number',
4398
+ type: 'string',
4399
+ };
4400
+ }
4401
+
4402
+ constructor(map?: { [key: string]: any }) {
4403
+ super(map);
4404
+ }
4405
+ }
4406
+
4407
+ export class PremiumAppendTaskResponseBody extends $tea.Model {
4408
+ result?: boolean;
4409
+ static names(): { [key: string]: string } {
4410
+ return {
4411
+ result: 'result',
4412
+ };
4413
+ }
4414
+
4415
+ static types(): { [key: string]: any } {
4416
+ return {
4417
+ result: 'boolean',
4418
+ };
4419
+ }
4420
+
4421
+ constructor(map?: { [key: string]: any }) {
4422
+ super(map);
4423
+ }
4424
+ }
4425
+
4426
+ export class PremiumAppendTaskResponse extends $tea.Model {
4427
+ headers?: { [key: string]: string };
4428
+ statusCode?: number;
4429
+ body?: PremiumAppendTaskResponseBody;
4430
+ static names(): { [key: string]: string } {
4431
+ return {
4432
+ headers: 'headers',
4433
+ statusCode: 'statusCode',
4434
+ body: 'body',
4435
+ };
4436
+ }
4437
+
4438
+ static types(): { [key: string]: any } {
4439
+ return {
4440
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4441
+ statusCode: 'number',
4442
+ body: PremiumAppendTaskResponseBody,
4443
+ };
4444
+ }
4445
+
4446
+ constructor(map?: { [key: string]: any }) {
4447
+ super(map);
4448
+ }
4449
+ }
4450
+
4189
4451
  export class PremiumBatchExecuteProcessInstancesHeaders extends $tea.Model {
4190
4452
  commonHeaders?: { [key: string]: string };
4191
4453
  xAcsDingtalkAccessToken?: string;
@@ -4325,6 +4587,9 @@ export class PremiumDelDirHeaders extends $tea.Model {
4325
4587
 
4326
4588
  export class PremiumDelDirRequest extends $tea.Model {
4327
4589
  /**
4590
+ * @remarks
4591
+ * This parameter is required.
4592
+ *
4328
4593
  * @example
4329
4594
  * oaDirIdxxx
4330
4595
  */
@@ -5242,7 +5507,7 @@ export class PremiumGetFormSchemaResponse extends $tea.Model {
5242
5507
  }
5243
5508
  }
5244
5509
 
5245
- export class PremiumGetNoticedInstancesHeaders extends $tea.Model {
5510
+ export class PremiumGetInstFieldSettingHeaders extends $tea.Model {
5246
5511
  commonHeaders?: { [key: string]: string };
5247
5512
  xAcsDingtalkAccessToken?: string;
5248
5513
  static names(): { [key: string]: string } {
@@ -5264,29 +5529,138 @@ export class PremiumGetNoticedInstancesHeaders extends $tea.Model {
5264
5529
  }
5265
5530
  }
5266
5531
 
5267
- export class PremiumGetNoticedInstancesRequest extends $tea.Model {
5268
- /**
5269
- * @remarks
5270
- * This parameter is required.
5271
- *
5272
- * @example
5273
- * 1
5274
- */
5275
- pageNumber?: number;
5532
+ export class PremiumGetInstFieldSettingRequest extends $tea.Model {
5276
5533
  /**
5277
5534
  * @remarks
5278
5535
  * This parameter is required.
5279
5536
  *
5280
5537
  * @example
5281
- * 20
5538
+ * proc-FF6Y2xxxx
5282
5539
  */
5283
- pageSize?: number;
5540
+ processInstanceId?: string;
5284
5541
  /**
5285
5542
  * @remarks
5286
5543
  * This parameter is required.
5287
5544
  *
5288
5545
  * @example
5289
- * manager001
5546
+ * userId123
5547
+ */
5548
+ userId?: string;
5549
+ static names(): { [key: string]: string } {
5550
+ return {
5551
+ processInstanceId: 'processInstanceId',
5552
+ userId: 'userId',
5553
+ };
5554
+ }
5555
+
5556
+ static types(): { [key: string]: any } {
5557
+ return {
5558
+ processInstanceId: 'string',
5559
+ userId: 'string',
5560
+ };
5561
+ }
5562
+
5563
+ constructor(map?: { [key: string]: any }) {
5564
+ super(map);
5565
+ }
5566
+ }
5567
+
5568
+ export class PremiumGetInstFieldSettingResponseBody extends $tea.Model {
5569
+ result?: PremiumGetInstFieldSettingResponseBodyResult[];
5570
+ /**
5571
+ * @example
5572
+ * true
5573
+ */
5574
+ success?: boolean;
5575
+ static names(): { [key: string]: string } {
5576
+ return {
5577
+ result: 'result',
5578
+ success: 'success',
5579
+ };
5580
+ }
5581
+
5582
+ static types(): { [key: string]: any } {
5583
+ return {
5584
+ result: { 'type': 'array', 'itemType': PremiumGetInstFieldSettingResponseBodyResult },
5585
+ success: 'boolean',
5586
+ };
5587
+ }
5588
+
5589
+ constructor(map?: { [key: string]: any }) {
5590
+ super(map);
5591
+ }
5592
+ }
5593
+
5594
+ export class PremiumGetInstFieldSettingResponse extends $tea.Model {
5595
+ headers?: { [key: string]: string };
5596
+ statusCode?: number;
5597
+ body?: PremiumGetInstFieldSettingResponseBody;
5598
+ static names(): { [key: string]: string } {
5599
+ return {
5600
+ headers: 'headers',
5601
+ statusCode: 'statusCode',
5602
+ body: 'body',
5603
+ };
5604
+ }
5605
+
5606
+ static types(): { [key: string]: any } {
5607
+ return {
5608
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5609
+ statusCode: 'number',
5610
+ body: PremiumGetInstFieldSettingResponseBody,
5611
+ };
5612
+ }
5613
+
5614
+ constructor(map?: { [key: string]: any }) {
5615
+ super(map);
5616
+ }
5617
+ }
5618
+
5619
+ export class PremiumGetNoticedInstancesHeaders extends $tea.Model {
5620
+ commonHeaders?: { [key: string]: string };
5621
+ xAcsDingtalkAccessToken?: string;
5622
+ static names(): { [key: string]: string } {
5623
+ return {
5624
+ commonHeaders: 'commonHeaders',
5625
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
5626
+ };
5627
+ }
5628
+
5629
+ static types(): { [key: string]: any } {
5630
+ return {
5631
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5632
+ xAcsDingtalkAccessToken: 'string',
5633
+ };
5634
+ }
5635
+
5636
+ constructor(map?: { [key: string]: any }) {
5637
+ super(map);
5638
+ }
5639
+ }
5640
+
5641
+ export class PremiumGetNoticedInstancesRequest extends $tea.Model {
5642
+ /**
5643
+ * @remarks
5644
+ * This parameter is required.
5645
+ *
5646
+ * @example
5647
+ * 1
5648
+ */
5649
+ pageNumber?: number;
5650
+ /**
5651
+ * @remarks
5652
+ * This parameter is required.
5653
+ *
5654
+ * @example
5655
+ * 20
5656
+ */
5657
+ pageSize?: number;
5658
+ /**
5659
+ * @remarks
5660
+ * This parameter is required.
5661
+ *
5662
+ * @example
5663
+ * manager001
5290
5664
  */
5291
5665
  userId?: string;
5292
5666
  static names(): { [key: string]: string } {
@@ -6000,6 +6374,9 @@ export class PremiumInsertOrUpdateDirHeaders extends $tea.Model {
6000
6374
 
6001
6375
  export class PremiumInsertOrUpdateDirRequest extends $tea.Model {
6002
6376
  /**
6377
+ * @remarks
6378
+ * This parameter is required.
6379
+ *
6003
6380
  * @example
6004
6381
  * administeration
6005
6382
  */
@@ -6010,6 +6387,9 @@ export class PremiumInsertOrUpdateDirRequest extends $tea.Model {
6010
6387
  */
6011
6388
  description?: string;
6012
6389
  /**
6390
+ * @remarks
6391
+ * This parameter is required.
6392
+ *
6013
6393
  * @example
6014
6394
  * 行政管理
6015
6395
  */
@@ -6102,6 +6482,105 @@ export class PremiumInsertOrUpdateDirResponse extends $tea.Model {
6102
6482
  }
6103
6483
  }
6104
6484
 
6485
+ export class PremiumQuerySchemaAndProcessByCodeListHeaders extends $tea.Model {
6486
+ commonHeaders?: { [key: string]: string };
6487
+ xAcsDingtalkAccessToken?: string;
6488
+ static names(): { [key: string]: string } {
6489
+ return {
6490
+ commonHeaders: 'commonHeaders',
6491
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
6492
+ };
6493
+ }
6494
+
6495
+ static types(): { [key: string]: any } {
6496
+ return {
6497
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6498
+ xAcsDingtalkAccessToken: 'string',
6499
+ };
6500
+ }
6501
+
6502
+ constructor(map?: { [key: string]: any }) {
6503
+ super(map);
6504
+ }
6505
+ }
6506
+
6507
+ export class PremiumQuerySchemaAndProcessByCodeListRequest extends $tea.Model {
6508
+ /**
6509
+ * @remarks
6510
+ * This parameter is required.
6511
+ *
6512
+ * **if can be null:**
6513
+ * false
6514
+ */
6515
+ processCodes?: string[];
6516
+ static names(): { [key: string]: string } {
6517
+ return {
6518
+ processCodes: 'processCodes',
6519
+ };
6520
+ }
6521
+
6522
+ static types(): { [key: string]: any } {
6523
+ return {
6524
+ processCodes: { 'type': 'array', 'itemType': 'string' },
6525
+ };
6526
+ }
6527
+
6528
+ constructor(map?: { [key: string]: any }) {
6529
+ super(map);
6530
+ }
6531
+ }
6532
+
6533
+ export class PremiumQuerySchemaAndProcessByCodeListResponseBody extends $tea.Model {
6534
+ result?: PremiumQuerySchemaAndProcessByCodeListResponseBodyResult[];
6535
+ /**
6536
+ * @example
6537
+ * true
6538
+ */
6539
+ success?: boolean;
6540
+ static names(): { [key: string]: string } {
6541
+ return {
6542
+ result: 'result',
6543
+ success: 'success',
6544
+ };
6545
+ }
6546
+
6547
+ static types(): { [key: string]: any } {
6548
+ return {
6549
+ result: { 'type': 'array', 'itemType': PremiumQuerySchemaAndProcessByCodeListResponseBodyResult },
6550
+ success: 'boolean',
6551
+ };
6552
+ }
6553
+
6554
+ constructor(map?: { [key: string]: any }) {
6555
+ super(map);
6556
+ }
6557
+ }
6558
+
6559
+ export class PremiumQuerySchemaAndProcessByCodeListResponse extends $tea.Model {
6560
+ headers?: { [key: string]: string };
6561
+ statusCode?: number;
6562
+ body?: PremiumQuerySchemaAndProcessByCodeListResponseBody;
6563
+ static names(): { [key: string]: string } {
6564
+ return {
6565
+ headers: 'headers',
6566
+ statusCode: 'statusCode',
6567
+ body: 'body',
6568
+ };
6569
+ }
6570
+
6571
+ static types(): { [key: string]: any } {
6572
+ return {
6573
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6574
+ statusCode: 'number',
6575
+ body: PremiumQuerySchemaAndProcessByCodeListResponseBody,
6576
+ };
6577
+ }
6578
+
6579
+ constructor(map?: { [key: string]: any }) {
6580
+ super(map);
6581
+ }
6582
+ }
6583
+
6105
6584
  export class PremiumQueryTodoTasksByManagerHeaders extends $tea.Model {
6106
6585
  commonHeaders?: { [key: string]: string };
6107
6586
  xAcsDingtalkAccessToken?: string;
@@ -6346,6 +6825,145 @@ export class PremiumRedirectTasksByManagerResponse extends $tea.Model {
6346
6825
  }
6347
6826
  }
6348
6827
 
6828
+ export class PremiumRevertTaskHeaders extends $tea.Model {
6829
+ commonHeaders?: { [key: string]: string };
6830
+ xAcsDingtalkAccessToken?: string;
6831
+ static names(): { [key: string]: string } {
6832
+ return {
6833
+ commonHeaders: 'commonHeaders',
6834
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
6835
+ };
6836
+ }
6837
+
6838
+ static types(): { [key: string]: any } {
6839
+ return {
6840
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6841
+ xAcsDingtalkAccessToken: 'string',
6842
+ };
6843
+ }
6844
+
6845
+ constructor(map?: { [key: string]: any }) {
6846
+ super(map);
6847
+ }
6848
+ }
6849
+
6850
+ export class PremiumRevertTaskRequest extends $tea.Model {
6851
+ /**
6852
+ * @remarks
6853
+ * This parameter is required.
6854
+ *
6855
+ * @example
6856
+ * manager001
6857
+ */
6858
+ operateUserId?: string;
6859
+ /**
6860
+ * @remarks
6861
+ * This parameter is required.
6862
+ *
6863
+ * @example
6864
+ * processInstanceId123
6865
+ */
6866
+ processInstanceId?: string;
6867
+ /**
6868
+ * @example
6869
+ * 退回到审批人(上一步)
6870
+ */
6871
+ remark?: string;
6872
+ /**
6873
+ * @remarks
6874
+ * This parameter is required.
6875
+ *
6876
+ * @example
6877
+ * REVERT_FOR_APPROVAL
6878
+ */
6879
+ revertAction?: string;
6880
+ /**
6881
+ * @remarks
6882
+ * This parameter is required.
6883
+ *
6884
+ * @example
6885
+ * d3aa_1974
6886
+ */
6887
+ targetActivityId?: string;
6888
+ /**
6889
+ * @remarks
6890
+ * This parameter is required.
6891
+ *
6892
+ * @example
6893
+ * 1234567
6894
+ */
6895
+ taskId?: number;
6896
+ static names(): { [key: string]: string } {
6897
+ return {
6898
+ operateUserId: 'operateUserId',
6899
+ processInstanceId: 'processInstanceId',
6900
+ remark: 'remark',
6901
+ revertAction: 'revertAction',
6902
+ targetActivityId: 'targetActivityId',
6903
+ taskId: 'taskId',
6904
+ };
6905
+ }
6906
+
6907
+ static types(): { [key: string]: any } {
6908
+ return {
6909
+ operateUserId: 'string',
6910
+ processInstanceId: 'string',
6911
+ remark: 'string',
6912
+ revertAction: 'string',
6913
+ targetActivityId: 'string',
6914
+ taskId: 'number',
6915
+ };
6916
+ }
6917
+
6918
+ constructor(map?: { [key: string]: any }) {
6919
+ super(map);
6920
+ }
6921
+ }
6922
+
6923
+ export class PremiumRevertTaskResponseBody extends $tea.Model {
6924
+ result?: boolean;
6925
+ static names(): { [key: string]: string } {
6926
+ return {
6927
+ result: 'result',
6928
+ };
6929
+ }
6930
+
6931
+ static types(): { [key: string]: any } {
6932
+ return {
6933
+ result: 'boolean',
6934
+ };
6935
+ }
6936
+
6937
+ constructor(map?: { [key: string]: any }) {
6938
+ super(map);
6939
+ }
6940
+ }
6941
+
6942
+ export class PremiumRevertTaskResponse extends $tea.Model {
6943
+ headers?: { [key: string]: string };
6944
+ statusCode?: number;
6945
+ body?: PremiumRevertTaskResponseBody;
6946
+ static names(): { [key: string]: string } {
6947
+ return {
6948
+ headers: 'headers',
6949
+ statusCode: 'statusCode',
6950
+ body: 'body',
6951
+ };
6952
+ }
6953
+
6954
+ static types(): { [key: string]: any } {
6955
+ return {
6956
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6957
+ statusCode: 'number',
6958
+ body: PremiumRevertTaskResponseBody,
6959
+ };
6960
+ }
6961
+
6962
+ constructor(map?: { [key: string]: any }) {
6963
+ super(map);
6964
+ }
6965
+ }
6966
+
6349
6967
  export class PremiumSaveFormHeaders extends $tea.Model {
6350
6968
  commonHeaders?: { [key: string]: string };
6351
6969
  xAcsDingtalkAccessToken?: string;
@@ -6735,6 +7353,7 @@ export class PremiumSaveIntegratedProcessInstanceRequest extends $tea.Model {
6735
7353
  * "{\"mykey\": \"myData\"}"
6736
7354
  */
6737
7355
  bizData?: string;
7356
+ featureConfig?: PremiumSaveIntegratedProcessInstanceRequestFeatureConfig;
6738
7357
  formComponentValueList?: PremiumSaveIntegratedProcessInstanceRequestFormComponentValueList[];
6739
7358
  notifiers?: PremiumSaveIntegratedProcessInstanceRequestNotifiers[];
6740
7359
  /**
@@ -6759,6 +7378,7 @@ export class PremiumSaveIntegratedProcessInstanceRequest extends $tea.Model {
6759
7378
  static names(): { [key: string]: string } {
6760
7379
  return {
6761
7380
  bizData: 'bizData',
7381
+ featureConfig: 'featureConfig',
6762
7382
  formComponentValueList: 'formComponentValueList',
6763
7383
  notifiers: 'notifiers',
6764
7384
  originatorUserId: 'originatorUserId',
@@ -6771,6 +7391,7 @@ export class PremiumSaveIntegratedProcessInstanceRequest extends $tea.Model {
6771
7391
  static types(): { [key: string]: any } {
6772
7392
  return {
6773
7393
  bizData: 'string',
7394
+ featureConfig: PremiumSaveIntegratedProcessInstanceRequestFeatureConfig,
6774
7395
  formComponentValueList: { 'type': 'array', 'itemType': PremiumSaveIntegratedProcessInstanceRequestFormComponentValueList },
6775
7396
  notifiers: { 'type': 'array', 'itemType': PremiumSaveIntegratedProcessInstanceRequestNotifiers },
6776
7397
  originatorUserId: 'string',
@@ -6866,6 +7487,7 @@ export class PremiumSaveIntegratedTaskRequest extends $tea.Model {
6866
7487
  * tPr_FB_mT_xxxxxxxxx2hQ05201655306463
6867
7488
  */
6868
7489
  processInstanceId?: string;
7490
+ taskConfig?: PremiumSaveIntegratedTaskRequestTaskConfig;
6869
7491
  /**
6870
7492
  * @remarks
6871
7493
  * This parameter is required.
@@ -6876,6 +7498,7 @@ export class PremiumSaveIntegratedTaskRequest extends $tea.Model {
6876
7498
  activityId: 'activityId',
6877
7499
  featureConfig: 'featureConfig',
6878
7500
  processInstanceId: 'processInstanceId',
7501
+ taskConfig: 'taskConfig',
6879
7502
  tasks: 'tasks',
6880
7503
  };
6881
7504
  }
@@ -6885,6 +7508,7 @@ export class PremiumSaveIntegratedTaskRequest extends $tea.Model {
6885
7508
  activityId: 'string',
6886
7509
  featureConfig: PremiumSaveIntegratedTaskRequestFeatureConfig,
6887
7510
  processInstanceId: 'string',
7511
+ taskConfig: PremiumSaveIntegratedTaskRequestTaskConfig,
6888
7512
  tasks: { 'type': 'array', 'itemType': PremiumSaveIntegratedTaskRequestTasks },
6889
7513
  };
6890
7514
  }
@@ -8657,6 +9281,11 @@ export class StartProcessInstanceHeaders extends $tea.Model {
8657
9281
 
8658
9282
  export class StartProcessInstanceRequest extends $tea.Model {
8659
9283
  approvers?: StartProcessInstanceRequestApprovers[];
9284
+ /**
9285
+ * @example
9286
+ * https://www.dingtalk.com/
9287
+ */
9288
+ bizDetailPageUrl?: string;
8660
9289
  ccList?: string[];
8661
9290
  /**
8662
9291
  * @example
@@ -8698,6 +9327,7 @@ export class StartProcessInstanceRequest extends $tea.Model {
8698
9327
  static names(): { [key: string]: string } {
8699
9328
  return {
8700
9329
  approvers: 'approvers',
9330
+ bizDetailPageUrl: 'bizDetailPageUrl',
8701
9331
  ccList: 'ccList',
8702
9332
  ccPosition: 'ccPosition',
8703
9333
  deptId: 'deptId',
@@ -8712,6 +9342,7 @@ export class StartProcessInstanceRequest extends $tea.Model {
8712
9342
  static types(): { [key: string]: any } {
8713
9343
  return {
8714
9344
  approvers: { 'type': 'array', 'itemType': StartProcessInstanceRequestApprovers },
9345
+ bizDetailPageUrl: 'string',
8715
9346
  ccList: { 'type': 'array', 'itemType': 'string' },
8716
9347
  ccPosition: 'string',
8717
9348
  deptId: 'number',
@@ -13439,16 +14070,53 @@ export class PremiumGetFormSchemaResponseBodyResult extends $tea.Model {
13439
14070
 
13440
14071
  static types(): { [key: string]: any } {
13441
14072
  return {
13442
- appType: 'number',
13443
- creatorUserId: 'string',
13444
- formCode: 'string',
13445
- gmtCreate: 'string',
13446
- gmtModified: 'string',
13447
- icon: 'string',
13448
- memo: 'string',
13449
- name: 'string',
13450
- schemaContent: PremiumGetFormSchemaResponseBodyResultSchemaContent,
13451
- status: 'string',
14073
+ appType: 'number',
14074
+ creatorUserId: 'string',
14075
+ formCode: 'string',
14076
+ gmtCreate: 'string',
14077
+ gmtModified: 'string',
14078
+ icon: 'string',
14079
+ memo: 'string',
14080
+ name: 'string',
14081
+ schemaContent: PremiumGetFormSchemaResponseBodyResultSchemaContent,
14082
+ status: 'string',
14083
+ };
14084
+ }
14085
+
14086
+ constructor(map?: { [key: string]: any }) {
14087
+ super(map);
14088
+ }
14089
+ }
14090
+
14091
+ export class PremiumGetInstFieldSettingResponseBodyResult extends $tea.Model {
14092
+ /**
14093
+ * @example
14094
+ * TextField
14095
+ */
14096
+ componentType?: string;
14097
+ /**
14098
+ * @example
14099
+ * READONLY
14100
+ */
14101
+ fieldBehavior?: string;
14102
+ /**
14103
+ * @example
14104
+ * TextField-abcd
14105
+ */
14106
+ fieldId?: string;
14107
+ static names(): { [key: string]: string } {
14108
+ return {
14109
+ componentType: 'componentType',
14110
+ fieldBehavior: 'fieldBehavior',
14111
+ fieldId: 'fieldId',
14112
+ };
14113
+ }
14114
+
14115
+ static types(): { [key: string]: any } {
14116
+ return {
14117
+ componentType: 'string',
14118
+ fieldBehavior: 'string',
14119
+ fieldId: 'string',
13452
14120
  };
13453
14121
  }
13454
14122
 
@@ -14235,6 +14903,123 @@ export class PremiumInsertOrUpdateDirResponseBodyResult extends $tea.Model {
14235
14903
  }
14236
14904
  }
14237
14905
 
14906
+ export class PremiumQuerySchemaAndProcessByCodeListResponseBodyResult extends $tea.Model {
14907
+ /**
14908
+ * @example
14909
+ * ding123
14910
+ */
14911
+ appUuid?: string;
14912
+ /**
14913
+ * @example
14914
+ * hrm.xxx
14915
+ */
14916
+ bizCategoryId?: string;
14917
+ /**
14918
+ * @example
14919
+ * 1638326995000
14920
+ */
14921
+ createTime?: number;
14922
+ /**
14923
+ * @example
14924
+ * userId123
14925
+ */
14926
+ creatorUserId?: string;
14927
+ /**
14928
+ * @example
14929
+ * FORM-28215C3E-00E3-4118-xxxx-4091F828AF2F
14930
+ */
14931
+ formUuid?: string;
14932
+ /**
14933
+ * @example
14934
+ * https//:xxx
14935
+ */
14936
+ icon?: string;
14937
+ /**
14938
+ * @example
14939
+ * 模板描述1
14940
+ */
14941
+ memo?: string;
14942
+ /**
14943
+ * @example
14944
+ * userId123
14945
+ */
14946
+ modifierUserId?: string;
14947
+ /**
14948
+ * @example
14949
+ * 1638326995000
14950
+ */
14951
+ modifyTime?: number;
14952
+ /**
14953
+ * @example
14954
+ * 示例模板
14955
+ */
14956
+ name?: string;
14957
+ /**
14958
+ * @example
14959
+ * PROC-17428B8C-6C60-470E-xxxx-64F1037AE067
14960
+ */
14961
+ processCode?: string;
14962
+ /**
14963
+ * @example
14964
+ * {\"name\":\"发起人\",\"type\":\"start\",\"nodeId\":\"sid-startevent\",\"childNode\":{\"name\":\"审批人\",\"prevId\":\"sid-startevent\",\"type\":\"approver\",\"nodeId\":\"sid-1234_5678\",\"properties\":{\"activateType\":\"ONE_BY_ONE\",\"approvalType\":\"MANUAL\",\"actionerRules\":[{\"select\":[\"allStaff\"],\"range\":{\"approvals\":[],\"labels\":[]},\"type\":\"target_select\",\"key\":\"manual_sid-1234_5678_30a8_b373\",\"multi\":1}],\"agreeAll\":false},\"childNode\":{\"name\":\"抄送人\",\"prevId\":\"sid-1234_5678\",\"type\":\"notifier\",\"nodeId\":\"9955_7e43\",\"properties\":{\"actionerRules\":[{\"select\":[\"allStaff\"],\"range\":{},\"type\":\"target_select\",\"key\":\"manual_9955_7e43_0c96_39d8\",\"multi\":1}]}}}}
14965
+ */
14966
+ processConfig?: string;
14967
+ processId?: number;
14968
+ /**
14969
+ * @example
14970
+ * {\"commentHiddenForProposer\":\"\",\"commentRequired\":\"\",\"icon\":\"timefades#red\",\"commentDescription\":\"\",\"description\":\"支持地址控件\",\"title\":\"官方OA审批-POP-2025-0109\",\"items\":[{\"componentName\":\"TimeAndLocationField\",\"props\":{\"label\":[\"当前时间\",\"当前地点\"],\"id\":\"TimeAndLocationField_1CVHM5TIIWR9C\",\"required\":false}},{\"componentName\":\"TextField\",\"props\":{\"placeholder\":\"请输入\",\"label\":\"单行输入框\",\"id\":\"TextField_17EZKEGSOCTC0\",\"required\":false}}]}
14971
+ */
14972
+ schemaContent?: string;
14973
+ /**
14974
+ * @example
14975
+ * PUBLISHED
14976
+ */
14977
+ status?: string;
14978
+ static names(): { [key: string]: string } {
14979
+ return {
14980
+ appUuid: 'appUuid',
14981
+ bizCategoryId: 'bizCategoryId',
14982
+ createTime: 'createTime',
14983
+ creatorUserId: 'creatorUserId',
14984
+ formUuid: 'formUuid',
14985
+ icon: 'icon',
14986
+ memo: 'memo',
14987
+ modifierUserId: 'modifierUserId',
14988
+ modifyTime: 'modifyTime',
14989
+ name: 'name',
14990
+ processCode: 'processCode',
14991
+ processConfig: 'processConfig',
14992
+ processId: 'processId',
14993
+ schemaContent: 'schemaContent',
14994
+ status: 'status',
14995
+ };
14996
+ }
14997
+
14998
+ static types(): { [key: string]: any } {
14999
+ return {
15000
+ appUuid: 'string',
15001
+ bizCategoryId: 'string',
15002
+ createTime: 'number',
15003
+ creatorUserId: 'string',
15004
+ formUuid: 'string',
15005
+ icon: 'string',
15006
+ memo: 'string',
15007
+ modifierUserId: 'string',
15008
+ modifyTime: 'number',
15009
+ name: 'string',
15010
+ processCode: 'string',
15011
+ processConfig: 'string',
15012
+ processId: 'number',
15013
+ schemaContent: 'string',
15014
+ status: 'string',
15015
+ };
15016
+ }
15017
+
15018
+ constructor(map?: { [key: string]: any }) {
15019
+ super(map);
15020
+ }
15021
+ }
15022
+
14238
15023
  export class PremiumQueryTodoTasksByManagerResponseBodyResultList extends $tea.Model {
14239
15024
  /**
14240
15025
  * @example
@@ -14793,6 +15578,116 @@ export class PremiumSaveIntegratedProcessResponseBodyResult extends $tea.Model {
14793
15578
  }
14794
15579
  }
14795
15580
 
15581
+ export class PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeaturesCallback extends $tea.Model {
15582
+ /**
15583
+ * @example
15584
+ * abc
15585
+ */
15586
+ apiKey?: string;
15587
+ /**
15588
+ * @example
15589
+ * abc
15590
+ */
15591
+ appUuid?: string;
15592
+ /**
15593
+ * @example
15594
+ * 1
15595
+ */
15596
+ version?: string;
15597
+ static names(): { [key: string]: string } {
15598
+ return {
15599
+ apiKey: 'apiKey',
15600
+ appUuid: 'appUuid',
15601
+ version: 'version',
15602
+ };
15603
+ }
15604
+
15605
+ static types(): { [key: string]: any } {
15606
+ return {
15607
+ apiKey: 'string',
15608
+ appUuid: 'string',
15609
+ version: 'string',
15610
+ };
15611
+ }
15612
+
15613
+ constructor(map?: { [key: string]: any }) {
15614
+ super(map);
15615
+ }
15616
+ }
15617
+
15618
+ export class PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeatures extends $tea.Model {
15619
+ callback?: PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeaturesCallback;
15620
+ /**
15621
+ * **if can be null:**
15622
+ * true
15623
+ */
15624
+ config?: string;
15625
+ /**
15626
+ * @example
15627
+ * www.dingtalk.com
15628
+ */
15629
+ mobileUrl?: string;
15630
+ /**
15631
+ * @example
15632
+ * abc
15633
+ */
15634
+ name?: string;
15635
+ /**
15636
+ * @example
15637
+ * www.dingtalk.com
15638
+ */
15639
+ pcUrl?: string;
15640
+ /**
15641
+ * @example
15642
+ * ORIGIN
15643
+ */
15644
+ runType?: string;
15645
+ static names(): { [key: string]: string } {
15646
+ return {
15647
+ callback: 'callback',
15648
+ config: 'config',
15649
+ mobileUrl: 'mobileUrl',
15650
+ name: 'name',
15651
+ pcUrl: 'pcUrl',
15652
+ runType: 'runType',
15653
+ };
15654
+ }
15655
+
15656
+ static types(): { [key: string]: any } {
15657
+ return {
15658
+ callback: PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeaturesCallback,
15659
+ config: 'string',
15660
+ mobileUrl: 'string',
15661
+ name: 'string',
15662
+ pcUrl: 'string',
15663
+ runType: 'string',
15664
+ };
15665
+ }
15666
+
15667
+ constructor(map?: { [key: string]: any }) {
15668
+ super(map);
15669
+ }
15670
+ }
15671
+
15672
+ export class PremiumSaveIntegratedProcessInstanceRequestFeatureConfig extends $tea.Model {
15673
+ features?: PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeatures[];
15674
+ static names(): { [key: string]: string } {
15675
+ return {
15676
+ features: 'features',
15677
+ };
15678
+ }
15679
+
15680
+ static types(): { [key: string]: any } {
15681
+ return {
15682
+ features: { 'type': 'array', 'itemType': PremiumSaveIntegratedProcessInstanceRequestFeatureConfigFeatures },
15683
+ };
15684
+ }
15685
+
15686
+ constructor(map?: { [key: string]: any }) {
15687
+ super(map);
15688
+ }
15689
+ }
15690
+
14796
15691
  export class PremiumSaveIntegratedProcessInstanceRequestFormComponentValueList extends $tea.Model {
14797
15692
  bizAlias?: string;
14798
15693
  componentType?: string;
@@ -14990,6 +15885,25 @@ export class PremiumSaveIntegratedTaskRequestFeatureConfig extends $tea.Model {
14990
15885
  }
14991
15886
  }
14992
15887
 
15888
+ export class PremiumSaveIntegratedTaskRequestTaskConfig extends $tea.Model {
15889
+ disableSendCard?: boolean;
15890
+ static names(): { [key: string]: string } {
15891
+ return {
15892
+ disableSendCard: 'disableSendCard',
15893
+ };
15894
+ }
15895
+
15896
+ static types(): { [key: string]: any } {
15897
+ return {
15898
+ disableSendCard: 'boolean',
15899
+ };
15900
+ }
15901
+
15902
+ constructor(map?: { [key: string]: any }) {
15903
+ super(map);
15904
+ }
15905
+ }
15906
+
14993
15907
  export class PremiumSaveIntegratedTaskRequestTasks extends $tea.Model {
14994
15908
  /**
14995
15909
  * @example
@@ -15432,7 +16346,32 @@ export class ProcessForecastRequestFormComponentValues extends $tea.Model {
15432
16346
  extValue: 'string',
15433
16347
  id: 'string',
15434
16348
  name: 'string',
15435
- value: 'string',
16349
+ value: 'string',
16350
+ };
16351
+ }
16352
+
16353
+ constructor(map?: { [key: string]: any }) {
16354
+ super(map);
16355
+ }
16356
+ }
16357
+
16358
+ export class ProcessForecastResponseBodyResultWorkflowActivityRulesActivityActioners extends $tea.Model {
16359
+ avatar?: string;
16360
+ name?: string;
16361
+ userId?: string;
16362
+ static names(): { [key: string]: string } {
16363
+ return {
16364
+ avatar: 'avatar',
16365
+ name: 'name',
16366
+ userId: 'userId',
16367
+ };
16368
+ }
16369
+
16370
+ static types(): { [key: string]: any } {
16371
+ return {
16372
+ avatar: 'string',
16373
+ name: 'string',
16374
+ userId: 'string',
15436
16375
  };
15437
16376
  }
15438
16377
 
@@ -15583,6 +16522,7 @@ export class ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor
15583
16522
  }
15584
16523
 
15585
16524
  export class ProcessForecastResponseBodyResultWorkflowActivityRules extends $tea.Model {
16525
+ activityActioners?: ProcessForecastResponseBodyResultWorkflowActivityRulesActivityActioners[];
15586
16526
  /**
15587
16527
  * @example
15588
16528
  * 1918_5cd3
@@ -15611,6 +16551,7 @@ export class ProcessForecastResponseBodyResultWorkflowActivityRules extends $tea
15611
16551
  workflowActor?: ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor;
15612
16552
  static names(): { [key: string]: string } {
15613
16553
  return {
16554
+ activityActioners: 'activityActioners',
15614
16555
  activityId: 'activityId',
15615
16556
  activityName: 'activityName',
15616
16557
  activityType: 'activityType',
@@ -15622,6 +16563,7 @@ export class ProcessForecastResponseBodyResultWorkflowActivityRules extends $tea
15622
16563
 
15623
16564
  static types(): { [key: string]: any } {
15624
16565
  return {
16566
+ activityActioners: { 'type': 'array', 'itemType': ProcessForecastResponseBodyResultWorkflowActivityRulesActivityActioners },
15625
16567
  activityId: 'string',
15626
16568
  activityName: 'string',
15627
16569
  activityType: 'string',
@@ -18507,6 +19449,64 @@ export default class Client extends OpenApi {
18507
19449
  return await this.addProcessInstanceCommentWithOptions(request, headers, runtime);
18508
19450
  }
18509
19451
 
19452
+ /**
19453
+ * 归档审批实例(OA高级版专享)
19454
+ *
19455
+ * @param request - ArchiveProcessInstanceRequest
19456
+ * @param headers - ArchiveProcessInstanceHeaders
19457
+ * @param runtime - runtime options for this request RuntimeOptions
19458
+ * @returns ArchiveProcessInstanceResponse
19459
+ */
19460
+ async archiveProcessInstanceWithOptions(request: ArchiveProcessInstanceRequest, headers: ArchiveProcessInstanceHeaders, runtime: $Util.RuntimeOptions): Promise<ArchiveProcessInstanceResponse> {
19461
+ Util.validateModel(request);
19462
+ let body : {[key: string ]: any} = { };
19463
+ if (!Util.isUnset(request.opUserId)) {
19464
+ body["opUserId"] = request.opUserId;
19465
+ }
19466
+
19467
+ if (!Util.isUnset(request.processInstanceId)) {
19468
+ body["processInstanceId"] = request.processInstanceId;
19469
+ }
19470
+
19471
+ let realHeaders : {[key: string ]: string} = { };
19472
+ if (!Util.isUnset(headers.commonHeaders)) {
19473
+ realHeaders = headers.commonHeaders;
19474
+ }
19475
+
19476
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
19477
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
19478
+ }
19479
+
19480
+ let req = new $OpenApi.OpenApiRequest({
19481
+ headers: realHeaders,
19482
+ body: OpenApiUtil.parseToMap(body),
19483
+ });
19484
+ let params = new $OpenApi.Params({
19485
+ action: "ArchiveProcessInstance",
19486
+ version: "workflow_1.0",
19487
+ protocol: "HTTP",
19488
+ pathname: `/v1.0/workflow/premium/processInstances/archive`,
19489
+ method: "POST",
19490
+ authType: "AK",
19491
+ style: "ROA",
19492
+ reqBodyType: "none",
19493
+ bodyType: "json",
19494
+ });
19495
+ return $tea.cast<ArchiveProcessInstanceResponse>(await this.execute(params, req, runtime), new ArchiveProcessInstanceResponse({}));
19496
+ }
19497
+
19498
+ /**
19499
+ * 归档审批实例(OA高级版专享)
19500
+ *
19501
+ * @param request - ArchiveProcessInstanceRequest
19502
+ * @returns ArchiveProcessInstanceResponse
19503
+ */
19504
+ async archiveProcessInstance(request: ArchiveProcessInstanceRequest): Promise<ArchiveProcessInstanceResponse> {
19505
+ let runtime = new $Util.RuntimeOptions({ });
19506
+ let headers = new ArchiveProcessInstanceHeaders({ });
19507
+ return await this.archiveProcessInstanceWithOptions(request, headers, runtime);
19508
+ }
19509
+
18510
19510
  /**
18511
19511
  * 批量同意或拒绝审批任务
18512
19512
  *
@@ -20537,6 +21537,88 @@ export default class Client extends OpenApi {
20537
21537
  return await this.premiumAddApproveDentryAuthWithOptions(request, headers, runtime);
20538
21538
  }
20539
21539
 
21540
+ /**
21541
+ * 加签OA审批任务(OA高级版专享)
21542
+ *
21543
+ * @param request - PremiumAppendTaskRequest
21544
+ * @param headers - PremiumAppendTaskHeaders
21545
+ * @param runtime - runtime options for this request RuntimeOptions
21546
+ * @returns PremiumAppendTaskResponse
21547
+ */
21548
+ async premiumAppendTaskWithOptions(request: PremiumAppendTaskRequest, headers: PremiumAppendTaskHeaders, runtime: $Util.RuntimeOptions): Promise<PremiumAppendTaskResponse> {
21549
+ Util.validateModel(request);
21550
+ let body : {[key: string ]: any} = { };
21551
+ if (!Util.isUnset(request.activateType)) {
21552
+ body["activateType"] = request.activateType;
21553
+ }
21554
+
21555
+ if (!Util.isUnset(request.agreeAll)) {
21556
+ body["agreeAll"] = request.agreeAll;
21557
+ }
21558
+
21559
+ if (!Util.isUnset(request.appenderUserIds)) {
21560
+ body["appenderUserIds"] = request.appenderUserIds;
21561
+ }
21562
+
21563
+ if (!Util.isUnset(request.operateUserId)) {
21564
+ body["operateUserId"] = request.operateUserId;
21565
+ }
21566
+
21567
+ if (!Util.isUnset(request.processInstanceId)) {
21568
+ body["processInstanceId"] = request.processInstanceId;
21569
+ }
21570
+
21571
+ if (!Util.isUnset(request.remark)) {
21572
+ body["remark"] = request.remark;
21573
+ }
21574
+
21575
+ if (!Util.isUnset(request.taskId)) {
21576
+ body["taskId"] = request.taskId;
21577
+ }
21578
+
21579
+ if (!Util.isUnset(request.type)) {
21580
+ body["type"] = request.type;
21581
+ }
21582
+
21583
+ let realHeaders : {[key: string ]: string} = { };
21584
+ if (!Util.isUnset(headers.commonHeaders)) {
21585
+ realHeaders = headers.commonHeaders;
21586
+ }
21587
+
21588
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
21589
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
21590
+ }
21591
+
21592
+ let req = new $OpenApi.OpenApiRequest({
21593
+ headers: realHeaders,
21594
+ body: OpenApiUtil.parseToMap(body),
21595
+ });
21596
+ let params = new $OpenApi.Params({
21597
+ action: "PremiumAppendTask",
21598
+ version: "workflow_1.0",
21599
+ protocol: "HTTP",
21600
+ pathname: `/v1.0/workflow/premium/tasks/append`,
21601
+ method: "POST",
21602
+ authType: "AK",
21603
+ style: "ROA",
21604
+ reqBodyType: "none",
21605
+ bodyType: "json",
21606
+ });
21607
+ return $tea.cast<PremiumAppendTaskResponse>(await this.execute(params, req, runtime), new PremiumAppendTaskResponse({}));
21608
+ }
21609
+
21610
+ /**
21611
+ * 加签OA审批任务(OA高级版专享)
21612
+ *
21613
+ * @param request - PremiumAppendTaskRequest
21614
+ * @returns PremiumAppendTaskResponse
21615
+ */
21616
+ async premiumAppendTask(request: PremiumAppendTaskRequest): Promise<PremiumAppendTaskResponse> {
21617
+ let runtime = new $Util.RuntimeOptions({ });
21618
+ let headers = new PremiumAppendTaskHeaders({ });
21619
+ return await this.premiumAppendTaskWithOptions(request, headers, runtime);
21620
+ }
21621
+
20540
21622
  /**
20541
21623
  * 批量同意或拒绝审批任务(OA高级版专享接口)
20542
21624
  *
@@ -21087,6 +22169,64 @@ export default class Client extends OpenApi {
21087
22169
  return await this.premiumGetFormSchemaWithOptions(request, headers, runtime);
21088
22170
  }
21089
22171
 
22172
+ /**
22173
+ * 获取流程表单字段操作权限(高级版专享接口)
22174
+ *
22175
+ * @param request - PremiumGetInstFieldSettingRequest
22176
+ * @param headers - PremiumGetInstFieldSettingHeaders
22177
+ * @param runtime - runtime options for this request RuntimeOptions
22178
+ * @returns PremiumGetInstFieldSettingResponse
22179
+ */
22180
+ async premiumGetInstFieldSettingWithOptions(request: PremiumGetInstFieldSettingRequest, headers: PremiumGetInstFieldSettingHeaders, runtime: $Util.RuntimeOptions): Promise<PremiumGetInstFieldSettingResponse> {
22181
+ Util.validateModel(request);
22182
+ let body : {[key: string ]: any} = { };
22183
+ if (!Util.isUnset(request.processInstanceId)) {
22184
+ body["processInstanceId"] = request.processInstanceId;
22185
+ }
22186
+
22187
+ if (!Util.isUnset(request.userId)) {
22188
+ body["userId"] = request.userId;
22189
+ }
22190
+
22191
+ let realHeaders : {[key: string ]: string} = { };
22192
+ if (!Util.isUnset(headers.commonHeaders)) {
22193
+ realHeaders = headers.commonHeaders;
22194
+ }
22195
+
22196
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
22197
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
22198
+ }
22199
+
22200
+ let req = new $OpenApi.OpenApiRequest({
22201
+ headers: realHeaders,
22202
+ body: OpenApiUtil.parseToMap(body),
22203
+ });
22204
+ let params = new $OpenApi.Params({
22205
+ action: "PremiumGetInstFieldSetting",
22206
+ version: "workflow_1.0",
22207
+ protocol: "HTTP",
22208
+ pathname: `/v1.0/workflow/premium/processes/fields/settings/query`,
22209
+ method: "POST",
22210
+ authType: "AK",
22211
+ style: "ROA",
22212
+ reqBodyType: "none",
22213
+ bodyType: "json",
22214
+ });
22215
+ return $tea.cast<PremiumGetInstFieldSettingResponse>(await this.execute(params, req, runtime), new PremiumGetInstFieldSettingResponse({}));
22216
+ }
22217
+
22218
+ /**
22219
+ * 获取流程表单字段操作权限(高级版专享接口)
22220
+ *
22221
+ * @param request - PremiumGetInstFieldSettingRequest
22222
+ * @returns PremiumGetInstFieldSettingResponse
22223
+ */
22224
+ async premiumGetInstFieldSetting(request: PremiumGetInstFieldSettingRequest): Promise<PremiumGetInstFieldSettingResponse> {
22225
+ let runtime = new $Util.RuntimeOptions({ });
22226
+ let headers = new PremiumGetInstFieldSettingHeaders({ });
22227
+ return await this.premiumGetInstFieldSettingWithOptions(request, headers, runtime);
22228
+ }
22229
+
21090
22230
  /**
21091
22231
  * 查询审批中心我收到的实例列表(OA高级版专享接口)
21092
22232
  *
@@ -21557,6 +22697,60 @@ export default class Client extends OpenApi {
21557
22697
  return await this.premiumInsertOrUpdateDirWithOptions(request, headers, runtime);
21558
22698
  }
21559
22699
 
22700
+ /**
22701
+ * 批量获取审批模板信息(包含表单和流程配置信息)(高级版专享接口)
22702
+ *
22703
+ * @param request - PremiumQuerySchemaAndProcessByCodeListRequest
22704
+ * @param headers - PremiumQuerySchemaAndProcessByCodeListHeaders
22705
+ * @param runtime - runtime options for this request RuntimeOptions
22706
+ * @returns PremiumQuerySchemaAndProcessByCodeListResponse
22707
+ */
22708
+ async premiumQuerySchemaAndProcessByCodeListWithOptions(request: PremiumQuerySchemaAndProcessByCodeListRequest, headers: PremiumQuerySchemaAndProcessByCodeListHeaders, runtime: $Util.RuntimeOptions): Promise<PremiumQuerySchemaAndProcessByCodeListResponse> {
22709
+ Util.validateModel(request);
22710
+ let body : {[key: string ]: any} = { };
22711
+ if (!Util.isUnset(request.processCodes)) {
22712
+ body["processCodes"] = request.processCodes;
22713
+ }
22714
+
22715
+ let realHeaders : {[key: string ]: string} = { };
22716
+ if (!Util.isUnset(headers.commonHeaders)) {
22717
+ realHeaders = headers.commonHeaders;
22718
+ }
22719
+
22720
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
22721
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
22722
+ }
22723
+
22724
+ let req = new $OpenApi.OpenApiRequest({
22725
+ headers: realHeaders,
22726
+ body: OpenApiUtil.parseToMap(body),
22727
+ });
22728
+ let params = new $OpenApi.Params({
22729
+ action: "PremiumQuerySchemaAndProcessByCodeList",
22730
+ version: "workflow_1.0",
22731
+ protocol: "HTTP",
22732
+ pathname: `/v1.0/workflow/premium/processes/schemas/batchQuery`,
22733
+ method: "POST",
22734
+ authType: "AK",
22735
+ style: "ROA",
22736
+ reqBodyType: "none",
22737
+ bodyType: "json",
22738
+ });
22739
+ return $tea.cast<PremiumQuerySchemaAndProcessByCodeListResponse>(await this.execute(params, req, runtime), new PremiumQuerySchemaAndProcessByCodeListResponse({}));
22740
+ }
22741
+
22742
+ /**
22743
+ * 批量获取审批模板信息(包含表单和流程配置信息)(高级版专享接口)
22744
+ *
22745
+ * @param request - PremiumQuerySchemaAndProcessByCodeListRequest
22746
+ * @returns PremiumQuerySchemaAndProcessByCodeListResponse
22747
+ */
22748
+ async premiumQuerySchemaAndProcessByCodeList(request: PremiumQuerySchemaAndProcessByCodeListRequest): Promise<PremiumQuerySchemaAndProcessByCodeListResponse> {
22749
+ let runtime = new $Util.RuntimeOptions({ });
22750
+ let headers = new PremiumQuerySchemaAndProcessByCodeListHeaders({ });
22751
+ return await this.premiumQuerySchemaAndProcessByCodeListWithOptions(request, headers, runtime);
22752
+ }
22753
+
21560
22754
  /**
21561
22755
  * 流程转交待处理任务查询(高级版专享接口)
21562
22756
  *
@@ -21689,6 +22883,80 @@ export default class Client extends OpenApi {
21689
22883
  return await this.premiumRedirectTasksByManagerWithOptions(request, headers, runtime);
21690
22884
  }
21691
22885
 
22886
+ /**
22887
+ * 退回OA审批任务(OA高级版专享)
22888
+ *
22889
+ * @param request - PremiumRevertTaskRequest
22890
+ * @param headers - PremiumRevertTaskHeaders
22891
+ * @param runtime - runtime options for this request RuntimeOptions
22892
+ * @returns PremiumRevertTaskResponse
22893
+ */
22894
+ async premiumRevertTaskWithOptions(request: PremiumRevertTaskRequest, headers: PremiumRevertTaskHeaders, runtime: $Util.RuntimeOptions): Promise<PremiumRevertTaskResponse> {
22895
+ Util.validateModel(request);
22896
+ let body : {[key: string ]: any} = { };
22897
+ if (!Util.isUnset(request.operateUserId)) {
22898
+ body["operateUserId"] = request.operateUserId;
22899
+ }
22900
+
22901
+ if (!Util.isUnset(request.processInstanceId)) {
22902
+ body["processInstanceId"] = request.processInstanceId;
22903
+ }
22904
+
22905
+ if (!Util.isUnset(request.remark)) {
22906
+ body["remark"] = request.remark;
22907
+ }
22908
+
22909
+ if (!Util.isUnset(request.revertAction)) {
22910
+ body["revertAction"] = request.revertAction;
22911
+ }
22912
+
22913
+ if (!Util.isUnset(request.targetActivityId)) {
22914
+ body["targetActivityId"] = request.targetActivityId;
22915
+ }
22916
+
22917
+ if (!Util.isUnset(request.taskId)) {
22918
+ body["taskId"] = request.taskId;
22919
+ }
22920
+
22921
+ let realHeaders : {[key: string ]: string} = { };
22922
+ if (!Util.isUnset(headers.commonHeaders)) {
22923
+ realHeaders = headers.commonHeaders;
22924
+ }
22925
+
22926
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
22927
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
22928
+ }
22929
+
22930
+ let req = new $OpenApi.OpenApiRequest({
22931
+ headers: realHeaders,
22932
+ body: OpenApiUtil.parseToMap(body),
22933
+ });
22934
+ let params = new $OpenApi.Params({
22935
+ action: "PremiumRevertTask",
22936
+ version: "workflow_1.0",
22937
+ protocol: "HTTP",
22938
+ pathname: `/v1.0/workflow/premium/tasks/revert`,
22939
+ method: "POST",
22940
+ authType: "AK",
22941
+ style: "ROA",
22942
+ reqBodyType: "none",
22943
+ bodyType: "json",
22944
+ });
22945
+ return $tea.cast<PremiumRevertTaskResponse>(await this.execute(params, req, runtime), new PremiumRevertTaskResponse({}));
22946
+ }
22947
+
22948
+ /**
22949
+ * 退回OA审批任务(OA高级版专享)
22950
+ *
22951
+ * @param request - PremiumRevertTaskRequest
22952
+ * @returns PremiumRevertTaskResponse
22953
+ */
22954
+ async premiumRevertTask(request: PremiumRevertTaskRequest): Promise<PremiumRevertTaskResponse> {
22955
+ let runtime = new $Util.RuntimeOptions({ });
22956
+ let headers = new PremiumRevertTaskHeaders({ });
22957
+ return await this.premiumRevertTaskWithOptions(request, headers, runtime);
22958
+ }
22959
+
21692
22960
  /**
21693
22961
  * 创建或更新数据表单模板(OA高级版专享)
21694
22962
  *
@@ -21910,6 +23178,10 @@ export default class Client extends OpenApi {
21910
23178
  body["bizData"] = request.bizData;
21911
23179
  }
21912
23180
 
23181
+ if (!Util.isUnset(request.featureConfig)) {
23182
+ body["featureConfig"] = request.featureConfig;
23183
+ }
23184
+
21913
23185
  if (!Util.isUnset(request.formComponentValueList)) {
21914
23186
  body["formComponentValueList"] = request.formComponentValueList;
21915
23187
  }
@@ -21996,6 +23268,10 @@ export default class Client extends OpenApi {
21996
23268
  body["processInstanceId"] = request.processInstanceId;
21997
23269
  }
21998
23270
 
23271
+ if (!Util.isUnset(request.taskConfig)) {
23272
+ body["taskConfig"] = request.taskConfig;
23273
+ }
23274
+
21999
23275
  if (!Util.isUnset(request.tasks)) {
22000
23276
  body["tasks"] = request.tasks;
22001
23277
  }
@@ -22986,6 +24262,10 @@ export default class Client extends OpenApi {
22986
24262
  body["approvers"] = request.approvers;
22987
24263
  }
22988
24264
 
24265
+ if (!Util.isUnset(request.bizDetailPageUrl)) {
24266
+ body["bizDetailPageUrl"] = request.bizDetailPageUrl;
24267
+ }
24268
+
22989
24269
  if (!Util.isUnset(request.ccList)) {
22990
24270
  body["ccList"] = request.ccList;
22991
24271
  }