@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/externalVersion.js +5 -5
  2. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
  3. package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
  4. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
  5. package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
  6. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
  7. package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
  8. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
  9. package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
  10. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
  11. package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
  12. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
  13. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
  14. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
  15. package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
  16. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
  17. package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
  18. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
  19. package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
  20. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
  21. package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
  22. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
  23. package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
  24. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
  25. package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
  26. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
  27. package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
  28. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
  29. package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
  30. package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
  31. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
  32. package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
  33. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
  34. package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
  35. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
  36. package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
  37. package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
  38. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
  39. package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
  40. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
  41. package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
  42. package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
  43. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
  44. package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
  45. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
  46. package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
  47. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
  48. package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
  49. package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
  50. package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
  51. package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
  52. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
  53. package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
  54. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
  55. package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
  56. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
  57. package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
  58. package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
  59. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
  60. package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
  61. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
  62. package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
  63. package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
  64. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
  65. package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
  66. package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
  67. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
  68. package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
  69. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
  70. package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
  71. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
  72. package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
  73. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
  74. package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
  75. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
  76. package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
  77. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
  78. package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
  79. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
  80. package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
  81. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
  82. package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
  83. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
  84. package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
  85. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
  86. package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
  87. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
  88. package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
  89. package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
  90. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
  91. package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
  92. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
  93. package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
  94. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
  95. package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
  96. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
  97. package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
  98. package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
  99. package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
  100. package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
  101. package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
  102. package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
  103. package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
  104. package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
  105. package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
  106. package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
  107. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
  108. package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
  109. package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
  110. package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
  111. package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
  112. package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
  113. package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
  114. package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
  115. package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
  116. package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
  117. package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
  118. package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
  119. package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
  120. package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
  121. package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
  122. package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
  123. package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
  124. package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
  125. package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
  126. package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
  127. package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
  128. package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
  129. package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
  130. package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
  131. package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
  132. package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
  133. package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
  134. package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
  135. package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
  136. package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
  137. package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
  138. package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
  139. package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
  140. package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
  141. package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
  142. package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
  143. package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
  144. package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
  145. package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
  146. package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
  147. package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
  148. package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
  149. package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
  150. package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
  151. package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
  152. package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
  153. package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
  154. package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
  155. package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
  156. package/package.json +8 -8
@@ -772,6 +772,199 @@ export class BatchApproveUnionApplyResponse extends $tea.Model {
772
772
  }
773
773
  }
774
774
 
775
+ export class BatchUpdateExternalTitleHeaders extends $tea.Model {
776
+ commonHeaders?: { [key: string]: string };
777
+ xAcsDingtalkAccessToken?: string;
778
+ static names(): { [key: string]: string } {
779
+ return {
780
+ commonHeaders: 'commonHeaders',
781
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
782
+ };
783
+ }
784
+
785
+ static types(): { [key: string]: any } {
786
+ return {
787
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
788
+ xAcsDingtalkAccessToken: 'string',
789
+ };
790
+ }
791
+
792
+ constructor(map?: { [key: string]: any }) {
793
+ super(map);
794
+ }
795
+ }
796
+
797
+ export class BatchUpdateExternalTitleRequest extends $tea.Model {
798
+ operatorUserId?: string;
799
+ updateTitleModelList?: BatchUpdateExternalTitleRequestUpdateTitleModelList[];
800
+ static names(): { [key: string]: string } {
801
+ return {
802
+ operatorUserId: 'operatorUserId',
803
+ updateTitleModelList: 'updateTitleModelList',
804
+ };
805
+ }
806
+
807
+ static types(): { [key: string]: any } {
808
+ return {
809
+ operatorUserId: 'string',
810
+ updateTitleModelList: { 'type': 'array', 'itemType': BatchUpdateExternalTitleRequestUpdateTitleModelList },
811
+ };
812
+ }
813
+
814
+ constructor(map?: { [key: string]: any }) {
815
+ super(map);
816
+ }
817
+ }
818
+
819
+ export class BatchUpdateExternalTitleResponseBody extends $tea.Model {
820
+ result?: BatchUpdateExternalTitleResponseBodyResult;
821
+ success?: boolean;
822
+ static names(): { [key: string]: string } {
823
+ return {
824
+ result: 'result',
825
+ success: 'success',
826
+ };
827
+ }
828
+
829
+ static types(): { [key: string]: any } {
830
+ return {
831
+ result: BatchUpdateExternalTitleResponseBodyResult,
832
+ success: 'boolean',
833
+ };
834
+ }
835
+
836
+ constructor(map?: { [key: string]: any }) {
837
+ super(map);
838
+ }
839
+ }
840
+
841
+ export class BatchUpdateExternalTitleResponse extends $tea.Model {
842
+ headers?: { [key: string]: string };
843
+ statusCode?: number;
844
+ body?: BatchUpdateExternalTitleResponseBody;
845
+ static names(): { [key: string]: string } {
846
+ return {
847
+ headers: 'headers',
848
+ statusCode: 'statusCode',
849
+ body: 'body',
850
+ };
851
+ }
852
+
853
+ static types(): { [key: string]: any } {
854
+ return {
855
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
856
+ statusCode: 'number',
857
+ body: BatchUpdateExternalTitleResponseBody,
858
+ };
859
+ }
860
+
861
+ constructor(map?: { [key: string]: any }) {
862
+ super(map);
863
+ }
864
+ }
865
+
866
+ export class ChangeDingTalkIdHeaders extends $tea.Model {
867
+ commonHeaders?: { [key: string]: string };
868
+ xAcsDingtalkAccessToken?: string;
869
+ static names(): { [key: string]: string } {
870
+ return {
871
+ commonHeaders: 'commonHeaders',
872
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
873
+ };
874
+ }
875
+
876
+ static types(): { [key: string]: any } {
877
+ return {
878
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
879
+ xAcsDingtalkAccessToken: 'string',
880
+ };
881
+ }
882
+
883
+ constructor(map?: { [key: string]: any }) {
884
+ super(map);
885
+ }
886
+ }
887
+
888
+ export class ChangeDingTalkIdRequest extends $tea.Model {
889
+ /**
890
+ * @remarks
891
+ * This parameter is required.
892
+ *
893
+ * @example
894
+ * abc123
895
+ */
896
+ dingTalkId?: string;
897
+ /**
898
+ * @remarks
899
+ * This parameter is required.
900
+ *
901
+ * @example
902
+ * userIdBB
903
+ */
904
+ userId?: string;
905
+ static names(): { [key: string]: string } {
906
+ return {
907
+ dingTalkId: 'dingTalkId',
908
+ userId: 'userId',
909
+ };
910
+ }
911
+
912
+ static types(): { [key: string]: any } {
913
+ return {
914
+ dingTalkId: 'string',
915
+ userId: 'string',
916
+ };
917
+ }
918
+
919
+ constructor(map?: { [key: string]: any }) {
920
+ super(map);
921
+ }
922
+ }
923
+
924
+ export class ChangeDingTalkIdResponseBody extends $tea.Model {
925
+ result?: boolean;
926
+ static names(): { [key: string]: string } {
927
+ return {
928
+ result: 'result',
929
+ };
930
+ }
931
+
932
+ static types(): { [key: string]: any } {
933
+ return {
934
+ result: 'boolean',
935
+ };
936
+ }
937
+
938
+ constructor(map?: { [key: string]: any }) {
939
+ super(map);
940
+ }
941
+ }
942
+
943
+ export class ChangeDingTalkIdResponse extends $tea.Model {
944
+ headers?: { [key: string]: string };
945
+ statusCode?: number;
946
+ body?: ChangeDingTalkIdResponseBody;
947
+ static names(): { [key: string]: string } {
948
+ return {
949
+ headers: 'headers',
950
+ statusCode: 'statusCode',
951
+ body: 'body',
952
+ };
953
+ }
954
+
955
+ static types(): { [key: string]: any } {
956
+ return {
957
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
958
+ statusCode: 'number',
959
+ body: ChangeDingTalkIdResponseBody,
960
+ };
961
+ }
962
+
963
+ constructor(map?: { [key: string]: any }) {
964
+ super(map);
965
+ }
966
+ }
967
+
775
968
  export class ChangeMainAdminHeaders extends $tea.Model {
776
969
  commonHeaders?: { [key: string]: string };
777
970
  xAcsDingtalkAccessToken?: string;
@@ -862,6 +1055,130 @@ export class ChangeMainAdminResponse extends $tea.Model {
862
1055
  }
863
1056
  }
864
1057
 
1058
+ export class CourseFinishCourseHeaders extends $tea.Model {
1059
+ commonHeaders?: { [key: string]: string };
1060
+ xAcsDingtalkAccessToken?: string;
1061
+ static names(): { [key: string]: string } {
1062
+ return {
1063
+ commonHeaders: 'commonHeaders',
1064
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
1065
+ };
1066
+ }
1067
+
1068
+ static types(): { [key: string]: any } {
1069
+ return {
1070
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1071
+ xAcsDingtalkAccessToken: 'string',
1072
+ };
1073
+ }
1074
+
1075
+ constructor(map?: { [key: string]: any }) {
1076
+ super(map);
1077
+ }
1078
+ }
1079
+
1080
+ export class CourseFinishCourseRequest extends $tea.Model {
1081
+ /**
1082
+ * @example
1083
+ * isv_code_cert_id_001
1084
+ */
1085
+ certId?: string;
1086
+ /**
1087
+ * @example
1088
+ * data:image\/(?:png|jpeg|gif|bmp|webp);base64
1089
+ */
1090
+ certMediaBase64?: string;
1091
+ /**
1092
+ * @example
1093
+ * isv_code_course_01
1094
+ */
1095
+ courseId?: string;
1096
+ /**
1097
+ * @example
1098
+ * pass
1099
+ */
1100
+ status?: string;
1101
+ /**
1102
+ * @example
1103
+ * xxxxx001
1104
+ */
1105
+ userId?: string;
1106
+ static names(): { [key: string]: string } {
1107
+ return {
1108
+ certId: 'certId',
1109
+ certMediaBase64: 'certMediaBase64',
1110
+ courseId: 'courseId',
1111
+ status: 'status',
1112
+ userId: 'userId',
1113
+ };
1114
+ }
1115
+
1116
+ static types(): { [key: string]: any } {
1117
+ return {
1118
+ certId: 'string',
1119
+ certMediaBase64: 'string',
1120
+ courseId: 'string',
1121
+ status: 'string',
1122
+ userId: 'string',
1123
+ };
1124
+ }
1125
+
1126
+ constructor(map?: { [key: string]: any }) {
1127
+ super(map);
1128
+ }
1129
+ }
1130
+
1131
+ export class CourseFinishCourseResponseBody extends $tea.Model {
1132
+ /**
1133
+ * @remarks
1134
+ * This parameter is required.
1135
+ *
1136
+ * @example
1137
+ * true
1138
+ */
1139
+ result?: boolean;
1140
+ static names(): { [key: string]: string } {
1141
+ return {
1142
+ result: 'result',
1143
+ };
1144
+ }
1145
+
1146
+ static types(): { [key: string]: any } {
1147
+ return {
1148
+ result: 'boolean',
1149
+ };
1150
+ }
1151
+
1152
+ constructor(map?: { [key: string]: any }) {
1153
+ super(map);
1154
+ }
1155
+ }
1156
+
1157
+ export class CourseFinishCourseResponse extends $tea.Model {
1158
+ headers?: { [key: string]: string };
1159
+ statusCode?: number;
1160
+ body?: CourseFinishCourseResponseBody;
1161
+ static names(): { [key: string]: string } {
1162
+ return {
1163
+ headers: 'headers',
1164
+ statusCode: 'statusCode',
1165
+ body: 'body',
1166
+ };
1167
+ }
1168
+
1169
+ static types(): { [key: string]: any } {
1170
+ return {
1171
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1172
+ statusCode: 'number',
1173
+ body: CourseFinishCourseResponseBody,
1174
+ };
1175
+ }
1176
+
1177
+ constructor(map?: { [key: string]: any }) {
1178
+ super(map);
1179
+ }
1180
+ }
1181
+
865
1182
  export class CreateCooperateOrgHeaders extends $tea.Model {
866
1183
  commonHeaders?: { [key: string]: string };
867
1184
  xAcsDingtalkAccessToken?: string;
@@ -3633,6 +3950,108 @@ export class GetUserCardHolderListResponse extends $tea.Model {
3633
3950
  }
3634
3951
  }
3635
3952
 
3953
+ export class InitVerifyEventHeaders extends $tea.Model {
3954
+ commonHeaders?: { [key: string]: string };
3955
+ xAcsDingtalkAccessToken?: string;
3956
+ static names(): { [key: string]: string } {
3957
+ return {
3958
+ commonHeaders: 'commonHeaders',
3959
+ xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
3960
+ };
3961
+ }
3962
+
3963
+ static types(): { [key: string]: any } {
3964
+ return {
3965
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3966
+ xAcsDingtalkAccessToken: 'string',
3967
+ };
3968
+ }
3969
+
3970
+ constructor(map?: { [key: string]: any }) {
3971
+ super(map);
3972
+ }
3973
+ }
3974
+
3975
+ export class InitVerifyEventRequest extends $tea.Model {
3976
+ callerDeviceId?: string;
3977
+ /**
3978
+ * @remarks
3979
+ * This parameter is required.
3980
+ */
3981
+ factorCodeList?: string[];
3982
+ state?: string;
3983
+ /**
3984
+ * @remarks
3985
+ * This parameter is required.
3986
+ */
3987
+ userId?: string;
3988
+ static names(): { [key: string]: string } {
3989
+ return {
3990
+ callerDeviceId: 'callerDeviceId',
3991
+ factorCodeList: 'factorCodeList',
3992
+ state: 'state',
3993
+ userId: 'userId',
3994
+ };
3995
+ }
3996
+
3997
+ static types(): { [key: string]: any } {
3998
+ return {
3999
+ callerDeviceId: 'string',
4000
+ factorCodeList: { 'type': 'array', 'itemType': 'string' },
4001
+ state: 'string',
4002
+ userId: 'string',
4003
+ };
4004
+ }
4005
+
4006
+ constructor(map?: { [key: string]: any }) {
4007
+ super(map);
4008
+ }
4009
+ }
4010
+
4011
+ export class InitVerifyEventResponseBody extends $tea.Model {
4012
+ verifyId?: string;
4013
+ static names(): { [key: string]: string } {
4014
+ return {
4015
+ verifyId: 'verifyId',
4016
+ };
4017
+ }
4018
+
4019
+ static types(): { [key: string]: any } {
4020
+ return {
4021
+ verifyId: 'string',
4022
+ };
4023
+ }
4024
+
4025
+ constructor(map?: { [key: string]: any }) {
4026
+ super(map);
4027
+ }
4028
+ }
4029
+
4030
+ export class InitVerifyEventResponse extends $tea.Model {
4031
+ headers?: { [key: string]: string };
4032
+ statusCode?: number;
4033
+ body?: InitVerifyEventResponseBody;
4034
+ static names(): { [key: string]: string } {
4035
+ return {
4036
+ headers: 'headers',
4037
+ statusCode: 'statusCode',
4038
+ body: 'body',
4039
+ };
4040
+ }
4041
+
4042
+ static types(): { [key: string]: any } {
4043
+ return {
4044
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4045
+ statusCode: 'number',
4046
+ body: InitVerifyEventResponseBody,
4047
+ };
4048
+ }
4049
+
4050
+ constructor(map?: { [key: string]: any }) {
4051
+ super(map);
4052
+ }
4053
+ }
4054
+
3636
4055
  export class IsFriendHeaders extends $tea.Model {
3637
4056
  commonHeaders?: { [key: string]: string };
3638
4057
  xAcsDingtalkAccessToken?: string;
@@ -4932,6 +5351,7 @@ export class OrgAccountMobileVisibleInOtherOrgHeaders extends $tea.Model {
4932
5351
  }
4933
5352
 
4934
5353
  export class OrgAccountMobileVisibleInOtherOrgRequest extends $tea.Model {
5354
+ fields?: string[];
4935
5355
  /**
4936
5356
  * @remarks
4937
5357
  * This parameter is required.
@@ -4944,6 +5364,7 @@ export class OrgAccountMobileVisibleInOtherOrgRequest extends $tea.Model {
4944
5364
  toCorpIds?: string[];
4945
5365
  static names(): { [key: string]: string } {
4946
5366
  return {
5367
+ fields: 'fields',
4947
5368
  optUserId: 'optUserId',
4948
5369
  toCorpIds: 'toCorpIds',
4949
5370
  };
@@ -4951,6 +5372,7 @@ export class OrgAccountMobileVisibleInOtherOrgRequest extends $tea.Model {
4951
5372
 
4952
5373
  static types(): { [key: string]: any } {
4953
5374
  return {
5375
+ fields: { 'type': 'array', 'itemType': 'string' },
4954
5376
  optUserId: 'string',
4955
5377
  toCorpIds: { 'type': 'array', 'itemType': 'string' },
4956
5378
  };
@@ -8389,15 +8811,109 @@ export class AddContactHideBySceneSettingRequestSearchSceneConfig extends $tea.M
8389
8811
  deptObjectIncludeEmp?: boolean;
8390
8812
  static names(): { [key: string]: string } {
8391
8813
  return {
8392
- active: 'active',
8393
- deptObjectIncludeEmp: 'deptObjectIncludeEmp',
8814
+ active: 'active',
8815
+ deptObjectIncludeEmp: 'deptObjectIncludeEmp',
8816
+ };
8817
+ }
8818
+
8819
+ static types(): { [key: string]: any } {
8820
+ return {
8821
+ active: 'boolean',
8822
+ deptObjectIncludeEmp: 'boolean',
8823
+ };
8824
+ }
8825
+
8826
+ constructor(map?: { [key: string]: any }) {
8827
+ super(map);
8828
+ }
8829
+ }
8830
+
8831
+ export class AddEmpAttributeHideBySceneSettingRequestChatSubtitleConfig extends $tea.Model {
8832
+ active?: boolean;
8833
+ static names(): { [key: string]: string } {
8834
+ return {
8835
+ active: 'active',
8836
+ };
8837
+ }
8838
+
8839
+ static types(): { [key: string]: any } {
8840
+ return {
8841
+ active: 'boolean',
8842
+ };
8843
+ }
8844
+
8845
+ constructor(map?: { [key: string]: any }) {
8846
+ super(map);
8847
+ }
8848
+ }
8849
+
8850
+ export class AddEmpAttributeHideBySceneSettingRequestProfileSceneConfig extends $tea.Model {
8851
+ active?: boolean;
8852
+ static names(): { [key: string]: string } {
8853
+ return {
8854
+ active: 'active',
8855
+ };
8856
+ }
8857
+
8858
+ static types(): { [key: string]: any } {
8859
+ return {
8860
+ active: 'boolean',
8861
+ };
8862
+ }
8863
+
8864
+ constructor(map?: { [key: string]: any }) {
8865
+ super(map);
8866
+ }
8867
+ }
8868
+
8869
+ export class AddEmpAttributeHideBySceneSettingRequestSearchSceneConfig extends $tea.Model {
8870
+ active?: boolean;
8871
+ static names(): { [key: string]: string } {
8872
+ return {
8873
+ active: 'active',
8874
+ };
8875
+ }
8876
+
8877
+ static types(): { [key: string]: any } {
8878
+ return {
8879
+ active: 'boolean',
8880
+ };
8881
+ }
8882
+
8883
+ constructor(map?: { [key: string]: any }) {
8884
+ super(map);
8885
+ }
8886
+ }
8887
+
8888
+ export class BatchApproveUnionApplyRequestBody extends $tea.Model {
8889
+ /**
8890
+ * @example
8891
+ * ding1234
8892
+ */
8893
+ branchCorpId?: string;
8894
+ /**
8895
+ * @example
8896
+ * 123456
8897
+ */
8898
+ linkDeptId?: number;
8899
+ /**
8900
+ * @example
8901
+ * 测试
8902
+ */
8903
+ unionRootName?: string;
8904
+ static names(): { [key: string]: string } {
8905
+ return {
8906
+ branchCorpId: 'branchCorpId',
8907
+ linkDeptId: 'linkDeptId',
8908
+ unionRootName: 'unionRootName',
8394
8909
  };
8395
8910
  }
8396
8911
 
8397
8912
  static types(): { [key: string]: any } {
8398
8913
  return {
8399
- active: 'boolean',
8400
- deptObjectIncludeEmp: 'boolean',
8914
+ branchCorpId: 'string',
8915
+ linkDeptId: 'number',
8916
+ unionRootName: 'string',
8401
8917
  };
8402
8918
  }
8403
8919
 
@@ -8406,17 +8922,20 @@ export class AddContactHideBySceneSettingRequestSearchSceneConfig extends $tea.M
8406
8922
  }
8407
8923
  }
8408
8924
 
8409
- export class AddEmpAttributeHideBySceneSettingRequestChatSubtitleConfig extends $tea.Model {
8410
- active?: boolean;
8925
+ export class BatchUpdateExternalTitleRequestUpdateTitleModelList extends $tea.Model {
8926
+ title?: string;
8927
+ userId?: string;
8411
8928
  static names(): { [key: string]: string } {
8412
8929
  return {
8413
- active: 'active',
8930
+ title: 'title',
8931
+ userId: 'userId',
8414
8932
  };
8415
8933
  }
8416
8934
 
8417
8935
  static types(): { [key: string]: any } {
8418
8936
  return {
8419
- active: 'boolean',
8937
+ title: 'string',
8938
+ userId: 'string',
8420
8939
  };
8421
8940
  }
8422
8941
 
@@ -8425,17 +8944,20 @@ export class AddEmpAttributeHideBySceneSettingRequestChatSubtitleConfig extends
8425
8944
  }
8426
8945
  }
8427
8946
 
8428
- export class AddEmpAttributeHideBySceneSettingRequestProfileSceneConfig extends $tea.Model {
8429
- active?: boolean;
8947
+ export class BatchUpdateExternalTitleResponseBodyResultFailedList extends $tea.Model {
8948
+ title?: string;
8949
+ userId?: string;
8430
8950
  static names(): { [key: string]: string } {
8431
8951
  return {
8432
- active: 'active',
8952
+ title: 'title',
8953
+ userId: 'userId',
8433
8954
  };
8434
8955
  }
8435
8956
 
8436
8957
  static types(): { [key: string]: any } {
8437
8958
  return {
8438
- active: 'boolean',
8959
+ title: 'string',
8960
+ userId: 'string',
8439
8961
  };
8440
8962
  }
8441
8963
 
@@ -8444,17 +8966,20 @@ export class AddEmpAttributeHideBySceneSettingRequestProfileSceneConfig extends
8444
8966
  }
8445
8967
  }
8446
8968
 
8447
- export class AddEmpAttributeHideBySceneSettingRequestSearchSceneConfig extends $tea.Model {
8448
- active?: boolean;
8969
+ export class BatchUpdateExternalTitleResponseBodyResultModifyList extends $tea.Model {
8970
+ title?: string;
8971
+ userId?: string;
8449
8972
  static names(): { [key: string]: string } {
8450
8973
  return {
8451
- active: 'active',
8974
+ title: 'title',
8975
+ userId: 'userId',
8452
8976
  };
8453
8977
  }
8454
8978
 
8455
8979
  static types(): { [key: string]: any } {
8456
8980
  return {
8457
- active: 'boolean',
8981
+ title: 'string',
8982
+ userId: 'string',
8458
8983
  };
8459
8984
  }
8460
8985
 
@@ -8463,35 +8988,23 @@ export class AddEmpAttributeHideBySceneSettingRequestSearchSceneConfig extends $
8463
8988
  }
8464
8989
  }
8465
8990
 
8466
- export class BatchApproveUnionApplyRequestBody extends $tea.Model {
8467
- /**
8468
- * @example
8469
- * ding1234
8470
- */
8471
- branchCorpId?: string;
8472
- /**
8473
- * @example
8474
- * 123456
8475
- */
8476
- linkDeptId?: number;
8477
- /**
8478
- * @example
8479
- * 测试
8480
- */
8481
- unionRootName?: string;
8991
+ export class BatchUpdateExternalTitleResponseBodyResult extends $tea.Model {
8992
+ failedList?: BatchUpdateExternalTitleResponseBodyResultFailedList[];
8993
+ modifyList?: BatchUpdateExternalTitleResponseBodyResultModifyList[];
8994
+ modifyUser?: string;
8482
8995
  static names(): { [key: string]: string } {
8483
8996
  return {
8484
- branchCorpId: 'branchCorpId',
8485
- linkDeptId: 'linkDeptId',
8486
- unionRootName: 'unionRootName',
8997
+ failedList: 'failedList',
8998
+ modifyList: 'modifyList',
8999
+ modifyUser: 'modifyUser',
8487
9000
  };
8488
9001
  }
8489
9002
 
8490
9003
  static types(): { [key: string]: any } {
8491
9004
  return {
8492
- branchCorpId: 'string',
8493
- linkDeptId: 'number',
8494
- unionRootName: 'string',
9005
+ failedList: { 'type': 'array', 'itemType': BatchUpdateExternalTitleResponseBodyResultFailedList },
9006
+ modifyList: { 'type': 'array', 'itemType': BatchUpdateExternalTitleResponseBodyResultModifyList },
9007
+ modifyUser: 'string',
8495
9008
  };
8496
9009
  }
8497
9010
 
@@ -10665,6 +11178,122 @@ export default class Client extends OpenApi {
10665
11178
  return await this.batchApproveUnionApplyWithOptions(request, headers, runtime);
10666
11179
  }
10667
11180
 
11181
+ /**
11182
+ * 批量修改企业员工对外职位信息
11183
+ *
11184
+ * @param request - BatchUpdateExternalTitleRequest
11185
+ * @param headers - BatchUpdateExternalTitleHeaders
11186
+ * @param runtime - runtime options for this request RuntimeOptions
11187
+ * @returns BatchUpdateExternalTitleResponse
11188
+ */
11189
+ async batchUpdateExternalTitleWithOptions(request: BatchUpdateExternalTitleRequest, headers: BatchUpdateExternalTitleHeaders, runtime: $Util.RuntimeOptions): Promise<BatchUpdateExternalTitleResponse> {
11190
+ Util.validateModel(request);
11191
+ let body : {[key: string ]: any} = { };
11192
+ if (!Util.isUnset(request.operatorUserId)) {
11193
+ body["operatorUserId"] = request.operatorUserId;
11194
+ }
11195
+
11196
+ if (!Util.isUnset(request.updateTitleModelList)) {
11197
+ body["updateTitleModelList"] = request.updateTitleModelList;
11198
+ }
11199
+
11200
+ let realHeaders : {[key: string ]: string} = { };
11201
+ if (!Util.isUnset(headers.commonHeaders)) {
11202
+ realHeaders = headers.commonHeaders;
11203
+ }
11204
+
11205
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
11206
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
11207
+ }
11208
+
11209
+ let req = new $OpenApi.OpenApiRequest({
11210
+ headers: realHeaders,
11211
+ body: OpenApiUtil.parseToMap(body),
11212
+ });
11213
+ let params = new $OpenApi.Params({
11214
+ action: "BatchUpdateExternalTitle",
11215
+ version: "contact_1.0",
11216
+ protocol: "HTTP",
11217
+ pathname: `/v1.0/contact/externalTitles`,
11218
+ method: "PUT",
11219
+ authType: "AK",
11220
+ style: "ROA",
11221
+ reqBodyType: "none",
11222
+ bodyType: "json",
11223
+ });
11224
+ return $tea.cast<BatchUpdateExternalTitleResponse>(await this.execute(params, req, runtime), new BatchUpdateExternalTitleResponse({}));
11225
+ }
11226
+
11227
+ /**
11228
+ * 批量修改企业员工对外职位信息
11229
+ *
11230
+ * @param request - BatchUpdateExternalTitleRequest
11231
+ * @returns BatchUpdateExternalTitleResponse
11232
+ */
11233
+ async batchUpdateExternalTitle(request: BatchUpdateExternalTitleRequest): Promise<BatchUpdateExternalTitleResponse> {
11234
+ let runtime = new $Util.RuntimeOptions({ });
11235
+ let headers = new BatchUpdateExternalTitleHeaders({ });
11236
+ return await this.batchUpdateExternalTitleWithOptions(request, headers, runtime);
11237
+ }
11238
+
11239
+ /**
11240
+ * 修改钉钉号
11241
+ *
11242
+ * @param request - ChangeDingTalkIdRequest
11243
+ * @param headers - ChangeDingTalkIdHeaders
11244
+ * @param runtime - runtime options for this request RuntimeOptions
11245
+ * @returns ChangeDingTalkIdResponse
11246
+ */
11247
+ async changeDingTalkIdWithOptions(request: ChangeDingTalkIdRequest, headers: ChangeDingTalkIdHeaders, runtime: $Util.RuntimeOptions): Promise<ChangeDingTalkIdResponse> {
11248
+ Util.validateModel(request);
11249
+ let body : {[key: string ]: any} = { };
11250
+ if (!Util.isUnset(request.dingTalkId)) {
11251
+ body["dingTalkId"] = request.dingTalkId;
11252
+ }
11253
+
11254
+ if (!Util.isUnset(request.userId)) {
11255
+ body["userId"] = request.userId;
11256
+ }
11257
+
11258
+ let realHeaders : {[key: string ]: string} = { };
11259
+ if (!Util.isUnset(headers.commonHeaders)) {
11260
+ realHeaders = headers.commonHeaders;
11261
+ }
11262
+
11263
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
11264
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
11265
+ }
11266
+
11267
+ let req = new $OpenApi.OpenApiRequest({
11268
+ headers: realHeaders,
11269
+ body: OpenApiUtil.parseToMap(body),
11270
+ });
11271
+ let params = new $OpenApi.Params({
11272
+ action: "ChangeDingTalkId",
11273
+ version: "contact_1.0",
11274
+ protocol: "HTTP",
11275
+ pathname: `/v1.0/contact/orgAccounts/dingTalkIds/change`,
11276
+ method: "POST",
11277
+ authType: "AK",
11278
+ style: "ROA",
11279
+ reqBodyType: "none",
11280
+ bodyType: "json",
11281
+ });
11282
+ return $tea.cast<ChangeDingTalkIdResponse>(await this.execute(params, req, runtime), new ChangeDingTalkIdResponse({}));
11283
+ }
11284
+
11285
+ /**
11286
+ * 修改钉钉号
11287
+ *
11288
+ * @param request - ChangeDingTalkIdRequest
11289
+ * @returns ChangeDingTalkIdResponse
11290
+ */
11291
+ async changeDingTalkId(request: ChangeDingTalkIdRequest): Promise<ChangeDingTalkIdResponse> {
11292
+ let runtime = new $Util.RuntimeOptions({ });
11293
+ let headers = new ChangeDingTalkIdHeaders({ });
11294
+ return await this.changeDingTalkIdWithOptions(request, headers, runtime);
11295
+ }
11296
+
10668
11297
  /**
10669
11298
  * 专属帐号转交主管理员(创建者)
10670
11299
  *
@@ -10727,6 +11356,76 @@ export default class Client extends OpenApi {
10727
11356
  return await this.changeMainAdminWithOptions(request, headers, runtime);
10728
11357
  }
10729
11358
 
11359
+ /**
11360
+ * 考证上钉-isv-证书颁发接口
11361
+ *
11362
+ * @param request - CourseFinishCourseRequest
11363
+ * @param headers - CourseFinishCourseHeaders
11364
+ * @param runtime - runtime options for this request RuntimeOptions
11365
+ * @returns CourseFinishCourseResponse
11366
+ */
11367
+ async courseFinishCourseWithOptions(request: CourseFinishCourseRequest, headers: CourseFinishCourseHeaders, runtime: $Util.RuntimeOptions): Promise<CourseFinishCourseResponse> {
11368
+ Util.validateModel(request);
11369
+ let body : {[key: string ]: any} = { };
11370
+ if (!Util.isUnset(request.certId)) {
11371
+ body["certId"] = request.certId;
11372
+ }
11373
+
11374
+ if (!Util.isUnset(request.certMediaBase64)) {
11375
+ body["certMediaBase64"] = request.certMediaBase64;
11376
+ }
11377
+
11378
+ if (!Util.isUnset(request.courseId)) {
11379
+ body["courseId"] = request.courseId;
11380
+ }
11381
+
11382
+ if (!Util.isUnset(request.status)) {
11383
+ body["status"] = request.status;
11384
+ }
11385
+
11386
+ if (!Util.isUnset(request.userId)) {
11387
+ body["userId"] = request.userId;
11388
+ }
11389
+
11390
+ let realHeaders : {[key: string ]: string} = { };
11391
+ if (!Util.isUnset(headers.commonHeaders)) {
11392
+ realHeaders = headers.commonHeaders;
11393
+ }
11394
+
11395
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
11396
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
11397
+ }
11398
+
11399
+ let req = new $OpenApi.OpenApiRequest({
11400
+ headers: realHeaders,
11401
+ body: OpenApiUtil.parseToMap(body),
11402
+ });
11403
+ let params = new $OpenApi.Params({
11404
+ action: "CourseFinishCourse",
11405
+ version: "contact_1.0",
11406
+ protocol: "HTTP",
11407
+ pathname: `/v1.0/contact/course/finishCourse`,
11408
+ method: "POST",
11409
+ authType: "AK",
11410
+ style: "ROA",
11411
+ reqBodyType: "none",
11412
+ bodyType: "json",
11413
+ });
11414
+ return $tea.cast<CourseFinishCourseResponse>(await this.execute(params, req, runtime), new CourseFinishCourseResponse({}));
11415
+ }
11416
+
11417
+ /**
11418
+ * 考证上钉-isv-证书颁发接口
11419
+ *
11420
+ * @param request - CourseFinishCourseRequest
11421
+ * @returns CourseFinishCourseResponse
11422
+ */
11423
+ async courseFinishCourse(request: CourseFinishCourseRequest): Promise<CourseFinishCourseResponse> {
11424
+ let runtime = new $Util.RuntimeOptions({ });
11425
+ let headers = new CourseFinishCourseHeaders({ });
11426
+ return await this.courseFinishCourseWithOptions(request, headers, runtime);
11427
+ }
11428
+
10730
11429
  /**
10731
11430
  * 创建合作空间
10732
11431
  *
@@ -12225,6 +12924,72 @@ export default class Client extends OpenApi {
12225
12924
  return await this.getUserCardHolderListWithOptions(request, headers, runtime);
12226
12925
  }
12227
12926
 
12927
+ /**
12928
+ * 初始化核身事件
12929
+ *
12930
+ * @param request - InitVerifyEventRequest
12931
+ * @param headers - InitVerifyEventHeaders
12932
+ * @param runtime - runtime options for this request RuntimeOptions
12933
+ * @returns InitVerifyEventResponse
12934
+ */
12935
+ async initVerifyEventWithOptions(request: InitVerifyEventRequest, headers: InitVerifyEventHeaders, runtime: $Util.RuntimeOptions): Promise<InitVerifyEventResponse> {
12936
+ Util.validateModel(request);
12937
+ let body : {[key: string ]: any} = { };
12938
+ if (!Util.isUnset(request.callerDeviceId)) {
12939
+ body["callerDeviceId"] = request.callerDeviceId;
12940
+ }
12941
+
12942
+ if (!Util.isUnset(request.factorCodeList)) {
12943
+ body["factorCodeList"] = request.factorCodeList;
12944
+ }
12945
+
12946
+ if (!Util.isUnset(request.state)) {
12947
+ body["state"] = request.state;
12948
+ }
12949
+
12950
+ if (!Util.isUnset(request.userId)) {
12951
+ body["userId"] = request.userId;
12952
+ }
12953
+
12954
+ let realHeaders : {[key: string ]: string} = { };
12955
+ if (!Util.isUnset(headers.commonHeaders)) {
12956
+ realHeaders = headers.commonHeaders;
12957
+ }
12958
+
12959
+ if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
12960
+ realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
12961
+ }
12962
+
12963
+ let req = new $OpenApi.OpenApiRequest({
12964
+ headers: realHeaders,
12965
+ body: OpenApiUtil.parseToMap(body),
12966
+ });
12967
+ let params = new $OpenApi.Params({
12968
+ action: "InitVerifyEvent",
12969
+ version: "contact_1.0",
12970
+ protocol: "HTTP",
12971
+ pathname: `/v1.0/contact/verifyIdentities/verifyEvents/init`,
12972
+ method: "POST",
12973
+ authType: "AK",
12974
+ style: "ROA",
12975
+ reqBodyType: "none",
12976
+ bodyType: "json",
12977
+ });
12978
+ return $tea.cast<InitVerifyEventResponse>(await this.execute(params, req, runtime), new InitVerifyEventResponse({}));
12979
+ }
12980
+
12981
+ /**
12982
+ * 初始化核身事件
12983
+ *
12984
+ * @param request - InitVerifyEventRequest
12985
+ * @returns InitVerifyEventResponse
12986
+ */
12987
+ async initVerifyEvent(request: InitVerifyEventRequest): Promise<InitVerifyEventResponse> {
12988
+ let runtime = new $Util.RuntimeOptions({ });
12989
+ let headers = new InitVerifyEventHeaders({ });
12990
+ return await this.initVerifyEventWithOptions(request, headers, runtime);
12991
+ }
12992
+
12228
12993
  /**
12229
12994
  * 判断某用户跟给定专属账号是否存在好友关系
12230
12995
  *
@@ -12958,7 +13723,7 @@ export default class Client extends OpenApi {
12958
13723
  }
12959
13724
 
12960
13725
  /**
12961
- * 修改企业账号加入其他组织后电话是否可见
13726
+ * 授权其他组织查看本组织的企业账号信息
12962
13727
  *
12963
13728
  * @param request - OrgAccountMobileVisibleInOtherOrgRequest
12964
13729
  * @param headers - OrgAccountMobileVisibleInOtherOrgHeaders
@@ -12968,6 +13733,10 @@ export default class Client extends OpenApi {
12968
13733
  async orgAccountMobileVisibleInOtherOrgWithOptions(request: OrgAccountMobileVisibleInOtherOrgRequest, headers: OrgAccountMobileVisibleInOtherOrgHeaders, runtime: $Util.RuntimeOptions): Promise<OrgAccountMobileVisibleInOtherOrgResponse> {
12969
13734
  Util.validateModel(request);
12970
13735
  let body : {[key: string ]: any} = { };
13736
+ if (!Util.isUnset(request.fields)) {
13737
+ body["fields"] = request.fields;
13738
+ }
13739
+
12971
13740
  if (!Util.isUnset(request.optUserId)) {
12972
13741
  body["optUserId"] = request.optUserId;
12973
13742
  }
@@ -13004,7 +13773,7 @@ export default class Client extends OpenApi {
13004
13773
  }
13005
13774
 
13006
13775
  /**
13007
- * 修改企业账号加入其他组织后电话是否可见
13776
+ * 授权其他组织查看本组织的企业账号信息
13008
13777
  *
13009
13778
  * @param request - OrgAccountMobileVisibleInOtherOrgRequest
13010
13779
  * @returns OrgAccountMobileVisibleInOtherOrgResponse
@@ -13108,7 +13877,7 @@ export default class Client extends OpenApi {
13108
13877
  action: "PushVerifyEvent",
13109
13878
  version: "contact_1.0",
13110
13879
  protocol: "HTTP",
13111
- pathname: `/v1.0/contact/verifyIdentitys/verifyEvents/push`,
13880
+ pathname: `/v1.0/contact/verifyIdentities/verifyEvents/push`,
13112
13881
  method: "POST",
13113
13882
  authType: "AK",
13114
13883
  style: "ROA",
@@ -13498,7 +14267,7 @@ export default class Client extends OpenApi {
13498
14267
  action: "QueryVerifyResult",
13499
14268
  version: "contact_1.0",
13500
14269
  protocol: "HTTP",
13501
- pathname: `/v1.0/contact/verifyIdentitys/verifyResults`,
14270
+ pathname: `/v1.0/contact/verifyIdentities/verifyResults`,
13502
14271
  method: "GET",
13503
14272
  authType: "AK",
13504
14273
  style: "ROA",