@alicloud/csas20230120 1.7.2 → 1.9.0
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.
- package/dist/client.d.ts +774 -14
- package/dist/client.js +1455 -120
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1779 -146
package/src/client.ts
CHANGED
|
@@ -814,6 +814,394 @@ export class CreateUserGroupResponse extends $tea.Model {
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
+
export class CreateWmBaseImageRequest extends $tea.Model {
|
|
818
|
+
height?: number;
|
|
819
|
+
opacity?: number;
|
|
820
|
+
scale?: number;
|
|
821
|
+
width?: number;
|
|
822
|
+
wmInfoBytesB64?: string;
|
|
823
|
+
wmInfoSize?: number;
|
|
824
|
+
wmInfoUint?: string;
|
|
825
|
+
wmType?: string;
|
|
826
|
+
static names(): { [key: string]: string } {
|
|
827
|
+
return {
|
|
828
|
+
height: 'Height',
|
|
829
|
+
opacity: 'Opacity',
|
|
830
|
+
scale: 'Scale',
|
|
831
|
+
width: 'Width',
|
|
832
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
833
|
+
wmInfoSize: 'WmInfoSize',
|
|
834
|
+
wmInfoUint: 'WmInfoUint',
|
|
835
|
+
wmType: 'WmType',
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
static types(): { [key: string]: any } {
|
|
840
|
+
return {
|
|
841
|
+
height: 'number',
|
|
842
|
+
opacity: 'number',
|
|
843
|
+
scale: 'number',
|
|
844
|
+
width: 'number',
|
|
845
|
+
wmInfoBytesB64: 'string',
|
|
846
|
+
wmInfoSize: 'number',
|
|
847
|
+
wmInfoUint: 'string',
|
|
848
|
+
wmType: 'string',
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
constructor(map?: { [key: string]: any }) {
|
|
853
|
+
super(map);
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
export class CreateWmBaseImageResponseBody extends $tea.Model {
|
|
858
|
+
data?: CreateWmBaseImageResponseBodyData;
|
|
859
|
+
requestId?: string;
|
|
860
|
+
static names(): { [key: string]: string } {
|
|
861
|
+
return {
|
|
862
|
+
data: 'Data',
|
|
863
|
+
requestId: 'RequestId',
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
static types(): { [key: string]: any } {
|
|
868
|
+
return {
|
|
869
|
+
data: CreateWmBaseImageResponseBodyData,
|
|
870
|
+
requestId: 'string',
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
constructor(map?: { [key: string]: any }) {
|
|
875
|
+
super(map);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export class CreateWmBaseImageResponse extends $tea.Model {
|
|
880
|
+
headers?: { [key: string]: string };
|
|
881
|
+
statusCode?: number;
|
|
882
|
+
body?: CreateWmBaseImageResponseBody;
|
|
883
|
+
static names(): { [key: string]: string } {
|
|
884
|
+
return {
|
|
885
|
+
headers: 'headers',
|
|
886
|
+
statusCode: 'statusCode',
|
|
887
|
+
body: 'body',
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
static types(): { [key: string]: any } {
|
|
892
|
+
return {
|
|
893
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
894
|
+
statusCode: 'number',
|
|
895
|
+
body: CreateWmBaseImageResponseBody,
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
constructor(map?: { [key: string]: any }) {
|
|
900
|
+
super(map);
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export class CreateWmEmbedTaskRequest extends $tea.Model {
|
|
905
|
+
documentControl?: CreateWmEmbedTaskRequestDocumentControl;
|
|
906
|
+
fileUrl?: string;
|
|
907
|
+
filename?: string;
|
|
908
|
+
imageEmbedJpegQuality?: number;
|
|
909
|
+
imageEmbedLevel?: number;
|
|
910
|
+
videoBitrate?: string;
|
|
911
|
+
videoIsLong?: boolean;
|
|
912
|
+
wmInfoBytesB64?: string;
|
|
913
|
+
wmInfoSize?: number;
|
|
914
|
+
wmInfoUint?: string;
|
|
915
|
+
wmType?: string;
|
|
916
|
+
static names(): { [key: string]: string } {
|
|
917
|
+
return {
|
|
918
|
+
documentControl: 'DocumentControl',
|
|
919
|
+
fileUrl: 'FileUrl',
|
|
920
|
+
filename: 'Filename',
|
|
921
|
+
imageEmbedJpegQuality: 'ImageEmbedJpegQuality',
|
|
922
|
+
imageEmbedLevel: 'ImageEmbedLevel',
|
|
923
|
+
videoBitrate: 'VideoBitrate',
|
|
924
|
+
videoIsLong: 'VideoIsLong',
|
|
925
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
926
|
+
wmInfoSize: 'WmInfoSize',
|
|
927
|
+
wmInfoUint: 'WmInfoUint',
|
|
928
|
+
wmType: 'WmType',
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
static types(): { [key: string]: any } {
|
|
933
|
+
return {
|
|
934
|
+
documentControl: CreateWmEmbedTaskRequestDocumentControl,
|
|
935
|
+
fileUrl: 'string',
|
|
936
|
+
filename: 'string',
|
|
937
|
+
imageEmbedJpegQuality: 'number',
|
|
938
|
+
imageEmbedLevel: 'number',
|
|
939
|
+
videoBitrate: 'string',
|
|
940
|
+
videoIsLong: 'boolean',
|
|
941
|
+
wmInfoBytesB64: 'string',
|
|
942
|
+
wmInfoSize: 'number',
|
|
943
|
+
wmInfoUint: 'string',
|
|
944
|
+
wmType: 'string',
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
constructor(map?: { [key: string]: any }) {
|
|
949
|
+
super(map);
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
export class CreateWmEmbedTaskShrinkRequest extends $tea.Model {
|
|
954
|
+
documentControlShrink?: string;
|
|
955
|
+
fileUrl?: string;
|
|
956
|
+
filename?: string;
|
|
957
|
+
imageEmbedJpegQuality?: number;
|
|
958
|
+
imageEmbedLevel?: number;
|
|
959
|
+
videoBitrate?: string;
|
|
960
|
+
videoIsLong?: boolean;
|
|
961
|
+
wmInfoBytesB64?: string;
|
|
962
|
+
wmInfoSize?: number;
|
|
963
|
+
wmInfoUint?: string;
|
|
964
|
+
wmType?: string;
|
|
965
|
+
static names(): { [key: string]: string } {
|
|
966
|
+
return {
|
|
967
|
+
documentControlShrink: 'DocumentControl',
|
|
968
|
+
fileUrl: 'FileUrl',
|
|
969
|
+
filename: 'Filename',
|
|
970
|
+
imageEmbedJpegQuality: 'ImageEmbedJpegQuality',
|
|
971
|
+
imageEmbedLevel: 'ImageEmbedLevel',
|
|
972
|
+
videoBitrate: 'VideoBitrate',
|
|
973
|
+
videoIsLong: 'VideoIsLong',
|
|
974
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
975
|
+
wmInfoSize: 'WmInfoSize',
|
|
976
|
+
wmInfoUint: 'WmInfoUint',
|
|
977
|
+
wmType: 'WmType',
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
static types(): { [key: string]: any } {
|
|
982
|
+
return {
|
|
983
|
+
documentControlShrink: 'string',
|
|
984
|
+
fileUrl: 'string',
|
|
985
|
+
filename: 'string',
|
|
986
|
+
imageEmbedJpegQuality: 'number',
|
|
987
|
+
imageEmbedLevel: 'number',
|
|
988
|
+
videoBitrate: 'string',
|
|
989
|
+
videoIsLong: 'boolean',
|
|
990
|
+
wmInfoBytesB64: 'string',
|
|
991
|
+
wmInfoSize: 'number',
|
|
992
|
+
wmInfoUint: 'string',
|
|
993
|
+
wmType: 'string',
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
constructor(map?: { [key: string]: any }) {
|
|
998
|
+
super(map);
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
export class CreateWmEmbedTaskResponseBody extends $tea.Model {
|
|
1003
|
+
data?: CreateWmEmbedTaskResponseBodyData;
|
|
1004
|
+
requestId?: string;
|
|
1005
|
+
static names(): { [key: string]: string } {
|
|
1006
|
+
return {
|
|
1007
|
+
data: 'Data',
|
|
1008
|
+
requestId: 'RequestId',
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
static types(): { [key: string]: any } {
|
|
1013
|
+
return {
|
|
1014
|
+
data: CreateWmEmbedTaskResponseBodyData,
|
|
1015
|
+
requestId: 'string',
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
constructor(map?: { [key: string]: any }) {
|
|
1020
|
+
super(map);
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export class CreateWmEmbedTaskResponse extends $tea.Model {
|
|
1025
|
+
headers?: { [key: string]: string };
|
|
1026
|
+
statusCode?: number;
|
|
1027
|
+
body?: CreateWmEmbedTaskResponseBody;
|
|
1028
|
+
static names(): { [key: string]: string } {
|
|
1029
|
+
return {
|
|
1030
|
+
headers: 'headers',
|
|
1031
|
+
statusCode: 'statusCode',
|
|
1032
|
+
body: 'body',
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
static types(): { [key: string]: any } {
|
|
1037
|
+
return {
|
|
1038
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1039
|
+
statusCode: 'number',
|
|
1040
|
+
body: CreateWmEmbedTaskResponseBody,
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
constructor(map?: { [key: string]: any }) {
|
|
1045
|
+
super(map);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export class CreateWmExtractTaskRequest extends $tea.Model {
|
|
1050
|
+
documentIsCapture?: boolean;
|
|
1051
|
+
fileUrl?: string;
|
|
1052
|
+
filename?: string;
|
|
1053
|
+
videoIsLong?: boolean;
|
|
1054
|
+
videoSpeed?: string;
|
|
1055
|
+
wmInfoSize?: number;
|
|
1056
|
+
wmType?: string;
|
|
1057
|
+
static names(): { [key: string]: string } {
|
|
1058
|
+
return {
|
|
1059
|
+
documentIsCapture: 'DocumentIsCapture',
|
|
1060
|
+
fileUrl: 'FileUrl',
|
|
1061
|
+
filename: 'Filename',
|
|
1062
|
+
videoIsLong: 'VideoIsLong',
|
|
1063
|
+
videoSpeed: 'VideoSpeed',
|
|
1064
|
+
wmInfoSize: 'WmInfoSize',
|
|
1065
|
+
wmType: 'WmType',
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
static types(): { [key: string]: any } {
|
|
1070
|
+
return {
|
|
1071
|
+
documentIsCapture: 'boolean',
|
|
1072
|
+
fileUrl: 'string',
|
|
1073
|
+
filename: 'string',
|
|
1074
|
+
videoIsLong: 'boolean',
|
|
1075
|
+
videoSpeed: 'string',
|
|
1076
|
+
wmInfoSize: 'number',
|
|
1077
|
+
wmType: 'string',
|
|
1078
|
+
};
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
constructor(map?: { [key: string]: any }) {
|
|
1082
|
+
super(map);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
export class CreateWmExtractTaskResponseBody extends $tea.Model {
|
|
1087
|
+
data?: CreateWmExtractTaskResponseBodyData;
|
|
1088
|
+
requestId?: string;
|
|
1089
|
+
static names(): { [key: string]: string } {
|
|
1090
|
+
return {
|
|
1091
|
+
data: 'Data',
|
|
1092
|
+
requestId: 'RequestId',
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
static types(): { [key: string]: any } {
|
|
1097
|
+
return {
|
|
1098
|
+
data: CreateWmExtractTaskResponseBodyData,
|
|
1099
|
+
requestId: 'string',
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
constructor(map?: { [key: string]: any }) {
|
|
1104
|
+
super(map);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export class CreateWmExtractTaskResponse extends $tea.Model {
|
|
1109
|
+
headers?: { [key: string]: string };
|
|
1110
|
+
statusCode?: number;
|
|
1111
|
+
body?: CreateWmExtractTaskResponseBody;
|
|
1112
|
+
static names(): { [key: string]: string } {
|
|
1113
|
+
return {
|
|
1114
|
+
headers: 'headers',
|
|
1115
|
+
statusCode: 'statusCode',
|
|
1116
|
+
body: 'body',
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
static types(): { [key: string]: any } {
|
|
1121
|
+
return {
|
|
1122
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1123
|
+
statusCode: 'number',
|
|
1124
|
+
body: CreateWmExtractTaskResponseBody,
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
constructor(map?: { [key: string]: any }) {
|
|
1129
|
+
super(map);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export class CreateWmInfoMappingRequest extends $tea.Model {
|
|
1134
|
+
wmInfoBytesB64?: string;
|
|
1135
|
+
wmInfoSize?: number;
|
|
1136
|
+
wmType?: string;
|
|
1137
|
+
static names(): { [key: string]: string } {
|
|
1138
|
+
return {
|
|
1139
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
1140
|
+
wmInfoSize: 'WmInfoSize',
|
|
1141
|
+
wmType: 'WmType',
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
static types(): { [key: string]: any } {
|
|
1146
|
+
return {
|
|
1147
|
+
wmInfoBytesB64: 'string',
|
|
1148
|
+
wmInfoSize: 'number',
|
|
1149
|
+
wmType: 'string',
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
constructor(map?: { [key: string]: any }) {
|
|
1154
|
+
super(map);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
export class CreateWmInfoMappingResponseBody extends $tea.Model {
|
|
1159
|
+
data?: CreateWmInfoMappingResponseBodyData;
|
|
1160
|
+
requestId?: string;
|
|
1161
|
+
static names(): { [key: string]: string } {
|
|
1162
|
+
return {
|
|
1163
|
+
data: 'Data',
|
|
1164
|
+
requestId: 'RequestId',
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
static types(): { [key: string]: any } {
|
|
1169
|
+
return {
|
|
1170
|
+
data: CreateWmInfoMappingResponseBodyData,
|
|
1171
|
+
requestId: 'string',
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
constructor(map?: { [key: string]: any }) {
|
|
1176
|
+
super(map);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
export class CreateWmInfoMappingResponse extends $tea.Model {
|
|
1181
|
+
headers?: { [key: string]: string };
|
|
1182
|
+
statusCode?: number;
|
|
1183
|
+
body?: CreateWmInfoMappingResponseBody;
|
|
1184
|
+
static names(): { [key: string]: string } {
|
|
1185
|
+
return {
|
|
1186
|
+
headers: 'headers',
|
|
1187
|
+
statusCode: 'statusCode',
|
|
1188
|
+
body: 'body',
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
static types(): { [key: string]: any } {
|
|
1193
|
+
return {
|
|
1194
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1195
|
+
statusCode: 'number',
|
|
1196
|
+
body: CreateWmInfoMappingResponseBody,
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
constructor(map?: { [key: string]: any }) {
|
|
1201
|
+
super(map);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
|
|
817
1205
|
export class DeleteClientUserRequest extends $tea.Model {
|
|
818
1206
|
id?: string;
|
|
819
1207
|
static names(): { [key: string]: string } {
|
|
@@ -2185,17 +2573,17 @@ export class GetUserGroupResponse extends $tea.Model {
|
|
|
2185
2573
|
}
|
|
2186
2574
|
}
|
|
2187
2575
|
|
|
2188
|
-
export class
|
|
2189
|
-
|
|
2576
|
+
export class GetWmEmbedTaskRequest extends $tea.Model {
|
|
2577
|
+
taskId?: string;
|
|
2190
2578
|
static names(): { [key: string]: string } {
|
|
2191
2579
|
return {
|
|
2192
|
-
|
|
2580
|
+
taskId: 'TaskId',
|
|
2193
2581
|
};
|
|
2194
2582
|
}
|
|
2195
2583
|
|
|
2196
2584
|
static types(): { [key: string]: any } {
|
|
2197
2585
|
return {
|
|
2198
|
-
|
|
2586
|
+
taskId: 'string',
|
|
2199
2587
|
};
|
|
2200
2588
|
}
|
|
2201
2589
|
|
|
@@ -2204,19 +2592,19 @@ export class ListApplicationsForPrivateAccessPolicyRequest extends $tea.Model {
|
|
|
2204
2592
|
}
|
|
2205
2593
|
}
|
|
2206
2594
|
|
|
2207
|
-
export class
|
|
2208
|
-
|
|
2595
|
+
export class GetWmEmbedTaskResponseBody extends $tea.Model {
|
|
2596
|
+
data?: GetWmEmbedTaskResponseBodyData;
|
|
2209
2597
|
requestId?: string;
|
|
2210
2598
|
static names(): { [key: string]: string } {
|
|
2211
2599
|
return {
|
|
2212
|
-
|
|
2600
|
+
data: 'Data',
|
|
2213
2601
|
requestId: 'RequestId',
|
|
2214
2602
|
};
|
|
2215
2603
|
}
|
|
2216
2604
|
|
|
2217
2605
|
static types(): { [key: string]: any } {
|
|
2218
2606
|
return {
|
|
2219
|
-
|
|
2607
|
+
data: GetWmEmbedTaskResponseBodyData,
|
|
2220
2608
|
requestId: 'string',
|
|
2221
2609
|
};
|
|
2222
2610
|
}
|
|
@@ -2226,10 +2614,10 @@ export class ListApplicationsForPrivateAccessPolicyResponseBody extends $tea.Mod
|
|
|
2226
2614
|
}
|
|
2227
2615
|
}
|
|
2228
2616
|
|
|
2229
|
-
export class
|
|
2617
|
+
export class GetWmEmbedTaskResponse extends $tea.Model {
|
|
2230
2618
|
headers?: { [key: string]: string };
|
|
2231
2619
|
statusCode?: number;
|
|
2232
|
-
body?:
|
|
2620
|
+
body?: GetWmEmbedTaskResponseBody;
|
|
2233
2621
|
static names(): { [key: string]: string } {
|
|
2234
2622
|
return {
|
|
2235
2623
|
headers: 'headers',
|
|
@@ -2242,7 +2630,7 @@ export class ListApplicationsForPrivateAccessPolicyResponse extends $tea.Model {
|
|
|
2242
2630
|
return {
|
|
2243
2631
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2244
2632
|
statusCode: 'number',
|
|
2245
|
-
body:
|
|
2633
|
+
body: GetWmEmbedTaskResponseBody,
|
|
2246
2634
|
};
|
|
2247
2635
|
}
|
|
2248
2636
|
|
|
@@ -2251,17 +2639,17 @@ export class ListApplicationsForPrivateAccessPolicyResponse extends $tea.Model {
|
|
|
2251
2639
|
}
|
|
2252
2640
|
}
|
|
2253
2641
|
|
|
2254
|
-
export class
|
|
2255
|
-
|
|
2642
|
+
export class GetWmExtractTaskRequest extends $tea.Model {
|
|
2643
|
+
taskId?: string;
|
|
2256
2644
|
static names(): { [key: string]: string } {
|
|
2257
2645
|
return {
|
|
2258
|
-
|
|
2646
|
+
taskId: 'TaskId',
|
|
2259
2647
|
};
|
|
2260
2648
|
}
|
|
2261
2649
|
|
|
2262
2650
|
static types(): { [key: string]: any } {
|
|
2263
2651
|
return {
|
|
2264
|
-
|
|
2652
|
+
taskId: 'string',
|
|
2265
2653
|
};
|
|
2266
2654
|
}
|
|
2267
2655
|
|
|
@@ -2270,7 +2658,139 @@ export class ListApplicationsForPrivateAccessTagRequest extends $tea.Model {
|
|
|
2270
2658
|
}
|
|
2271
2659
|
}
|
|
2272
2660
|
|
|
2273
|
-
export class
|
|
2661
|
+
export class GetWmExtractTaskResponseBody extends $tea.Model {
|
|
2662
|
+
data?: GetWmExtractTaskResponseBodyData;
|
|
2663
|
+
requestId?: string;
|
|
2664
|
+
static names(): { [key: string]: string } {
|
|
2665
|
+
return {
|
|
2666
|
+
data: 'Data',
|
|
2667
|
+
requestId: 'RequestId',
|
|
2668
|
+
};
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
static types(): { [key: string]: any } {
|
|
2672
|
+
return {
|
|
2673
|
+
data: GetWmExtractTaskResponseBodyData,
|
|
2674
|
+
requestId: 'string',
|
|
2675
|
+
};
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
constructor(map?: { [key: string]: any }) {
|
|
2679
|
+
super(map);
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
export class GetWmExtractTaskResponse extends $tea.Model {
|
|
2684
|
+
headers?: { [key: string]: string };
|
|
2685
|
+
statusCode?: number;
|
|
2686
|
+
body?: GetWmExtractTaskResponseBody;
|
|
2687
|
+
static names(): { [key: string]: string } {
|
|
2688
|
+
return {
|
|
2689
|
+
headers: 'headers',
|
|
2690
|
+
statusCode: 'statusCode',
|
|
2691
|
+
body: 'body',
|
|
2692
|
+
};
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
static types(): { [key: string]: any } {
|
|
2696
|
+
return {
|
|
2697
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2698
|
+
statusCode: 'number',
|
|
2699
|
+
body: GetWmExtractTaskResponseBody,
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
constructor(map?: { [key: string]: any }) {
|
|
2704
|
+
super(map);
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
export class ListApplicationsForPrivateAccessPolicyRequest extends $tea.Model {
|
|
2709
|
+
policyIds?: string[];
|
|
2710
|
+
static names(): { [key: string]: string } {
|
|
2711
|
+
return {
|
|
2712
|
+
policyIds: 'PolicyIds',
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
static types(): { [key: string]: any } {
|
|
2717
|
+
return {
|
|
2718
|
+
policyIds: { 'type': 'array', 'itemType': 'string' },
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
constructor(map?: { [key: string]: any }) {
|
|
2723
|
+
super(map);
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
export class ListApplicationsForPrivateAccessPolicyResponseBody extends $tea.Model {
|
|
2728
|
+
polices?: ListApplicationsForPrivateAccessPolicyResponseBodyPolices[];
|
|
2729
|
+
requestId?: string;
|
|
2730
|
+
static names(): { [key: string]: string } {
|
|
2731
|
+
return {
|
|
2732
|
+
polices: 'Polices',
|
|
2733
|
+
requestId: 'RequestId',
|
|
2734
|
+
};
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
static types(): { [key: string]: any } {
|
|
2738
|
+
return {
|
|
2739
|
+
polices: { 'type': 'array', 'itemType': ListApplicationsForPrivateAccessPolicyResponseBodyPolices },
|
|
2740
|
+
requestId: 'string',
|
|
2741
|
+
};
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
constructor(map?: { [key: string]: any }) {
|
|
2745
|
+
super(map);
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
export class ListApplicationsForPrivateAccessPolicyResponse extends $tea.Model {
|
|
2750
|
+
headers?: { [key: string]: string };
|
|
2751
|
+
statusCode?: number;
|
|
2752
|
+
body?: ListApplicationsForPrivateAccessPolicyResponseBody;
|
|
2753
|
+
static names(): { [key: string]: string } {
|
|
2754
|
+
return {
|
|
2755
|
+
headers: 'headers',
|
|
2756
|
+
statusCode: 'statusCode',
|
|
2757
|
+
body: 'body',
|
|
2758
|
+
};
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
static types(): { [key: string]: any } {
|
|
2762
|
+
return {
|
|
2763
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2764
|
+
statusCode: 'number',
|
|
2765
|
+
body: ListApplicationsForPrivateAccessPolicyResponseBody,
|
|
2766
|
+
};
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
constructor(map?: { [key: string]: any }) {
|
|
2770
|
+
super(map);
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
export class ListApplicationsForPrivateAccessTagRequest extends $tea.Model {
|
|
2775
|
+
tagIds?: string[];
|
|
2776
|
+
static names(): { [key: string]: string } {
|
|
2777
|
+
return {
|
|
2778
|
+
tagIds: 'TagIds',
|
|
2779
|
+
};
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
static types(): { [key: string]: any } {
|
|
2783
|
+
return {
|
|
2784
|
+
tagIds: { 'type': 'array', 'itemType': 'string' },
|
|
2785
|
+
};
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
constructor(map?: { [key: string]: any }) {
|
|
2789
|
+
super(map);
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
export class ListApplicationsForPrivateAccessTagResponseBody extends $tea.Model {
|
|
2274
2794
|
requestId?: string;
|
|
2275
2795
|
tags?: ListApplicationsForPrivateAccessTagResponseBodyTags[];
|
|
2276
2796
|
static names(): { [key: string]: string } {
|
|
@@ -2871,6 +3391,102 @@ export class ListIdpDepartmentsResponse extends $tea.Model {
|
|
|
2871
3391
|
}
|
|
2872
3392
|
}
|
|
2873
3393
|
|
|
3394
|
+
export class ListNacUserCertRequest extends $tea.Model {
|
|
3395
|
+
currentPage?: string;
|
|
3396
|
+
department?: string;
|
|
3397
|
+
deviceType?: string;
|
|
3398
|
+
endTime?: number;
|
|
3399
|
+
pageSize?: string;
|
|
3400
|
+
startTime?: number;
|
|
3401
|
+
status?: string;
|
|
3402
|
+
username?: string;
|
|
3403
|
+
static names(): { [key: string]: string } {
|
|
3404
|
+
return {
|
|
3405
|
+
currentPage: 'CurrentPage',
|
|
3406
|
+
department: 'Department',
|
|
3407
|
+
deviceType: 'DeviceType',
|
|
3408
|
+
endTime: 'EndTime',
|
|
3409
|
+
pageSize: 'PageSize',
|
|
3410
|
+
startTime: 'StartTime',
|
|
3411
|
+
status: 'Status',
|
|
3412
|
+
username: 'Username',
|
|
3413
|
+
};
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
static types(): { [key: string]: any } {
|
|
3417
|
+
return {
|
|
3418
|
+
currentPage: 'string',
|
|
3419
|
+
department: 'string',
|
|
3420
|
+
deviceType: 'string',
|
|
3421
|
+
endTime: 'number',
|
|
3422
|
+
pageSize: 'string',
|
|
3423
|
+
startTime: 'number',
|
|
3424
|
+
status: 'string',
|
|
3425
|
+
username: 'string',
|
|
3426
|
+
};
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
constructor(map?: { [key: string]: any }) {
|
|
3430
|
+
super(map);
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
export class ListNacUserCertResponseBody extends $tea.Model {
|
|
3435
|
+
code?: number;
|
|
3436
|
+
dataList?: ListNacUserCertResponseBodyDataList[];
|
|
3437
|
+
message?: string;
|
|
3438
|
+
requestId?: string;
|
|
3439
|
+
totalNum?: number;
|
|
3440
|
+
static names(): { [key: string]: string } {
|
|
3441
|
+
return {
|
|
3442
|
+
code: 'Code',
|
|
3443
|
+
dataList: 'DataList',
|
|
3444
|
+
message: 'Message',
|
|
3445
|
+
requestId: 'RequestId',
|
|
3446
|
+
totalNum: 'TotalNum',
|
|
3447
|
+
};
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
static types(): { [key: string]: any } {
|
|
3451
|
+
return {
|
|
3452
|
+
code: 'number',
|
|
3453
|
+
dataList: { 'type': 'array', 'itemType': ListNacUserCertResponseBodyDataList },
|
|
3454
|
+
message: 'string',
|
|
3455
|
+
requestId: 'string',
|
|
3456
|
+
totalNum: 'number',
|
|
3457
|
+
};
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
constructor(map?: { [key: string]: any }) {
|
|
3461
|
+
super(map);
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
export class ListNacUserCertResponse extends $tea.Model {
|
|
3466
|
+
headers?: { [key: string]: string };
|
|
3467
|
+
statusCode?: number;
|
|
3468
|
+
body?: ListNacUserCertResponseBody;
|
|
3469
|
+
static names(): { [key: string]: string } {
|
|
3470
|
+
return {
|
|
3471
|
+
headers: 'headers',
|
|
3472
|
+
statusCode: 'statusCode',
|
|
3473
|
+
body: 'body',
|
|
3474
|
+
};
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
static types(): { [key: string]: any } {
|
|
3478
|
+
return {
|
|
3479
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3480
|
+
statusCode: 'number',
|
|
3481
|
+
body: ListNacUserCertResponseBody,
|
|
3482
|
+
};
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
constructor(map?: { [key: string]: any }) {
|
|
3486
|
+
super(map);
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
|
|
2874
3490
|
export class ListPolicesForPrivateAccessApplicationRequest extends $tea.Model {
|
|
2875
3491
|
applicationIds?: string[];
|
|
2876
3492
|
static names(): { [key: string]: string } {
|
|
@@ -4344,20 +4960,23 @@ export class ListUsersResponse extends $tea.Model {
|
|
|
4344
4960
|
}
|
|
4345
4961
|
}
|
|
4346
4962
|
|
|
4347
|
-
export class
|
|
4348
|
-
|
|
4349
|
-
|
|
4963
|
+
export class LookupWmInfoMappingRequest extends $tea.Model {
|
|
4964
|
+
wmInfoSize?: number;
|
|
4965
|
+
wmInfoUint?: string;
|
|
4966
|
+
wmType?: string;
|
|
4350
4967
|
static names(): { [key: string]: string } {
|
|
4351
4968
|
return {
|
|
4352
|
-
|
|
4353
|
-
|
|
4969
|
+
wmInfoSize: 'WmInfoSize',
|
|
4970
|
+
wmInfoUint: 'WmInfoUint',
|
|
4971
|
+
wmType: 'WmType',
|
|
4354
4972
|
};
|
|
4355
4973
|
}
|
|
4356
4974
|
|
|
4357
4975
|
static types(): { [key: string]: any } {
|
|
4358
4976
|
return {
|
|
4359
|
-
|
|
4360
|
-
|
|
4977
|
+
wmInfoSize: 'number',
|
|
4978
|
+
wmInfoUint: 'string',
|
|
4979
|
+
wmType: 'string',
|
|
4361
4980
|
};
|
|
4362
4981
|
}
|
|
4363
4982
|
|
|
@@ -4366,16 +4985,19 @@ export class RevokeUserSessionRequest extends $tea.Model {
|
|
|
4366
4985
|
}
|
|
4367
4986
|
}
|
|
4368
4987
|
|
|
4369
|
-
export class
|
|
4988
|
+
export class LookupWmInfoMappingResponseBody extends $tea.Model {
|
|
4989
|
+
data?: LookupWmInfoMappingResponseBodyData;
|
|
4370
4990
|
requestId?: string;
|
|
4371
4991
|
static names(): { [key: string]: string } {
|
|
4372
4992
|
return {
|
|
4993
|
+
data: 'Data',
|
|
4373
4994
|
requestId: 'RequestId',
|
|
4374
4995
|
};
|
|
4375
4996
|
}
|
|
4376
4997
|
|
|
4377
4998
|
static types(): { [key: string]: any } {
|
|
4378
4999
|
return {
|
|
5000
|
+
data: LookupWmInfoMappingResponseBodyData,
|
|
4379
5001
|
requestId: 'string',
|
|
4380
5002
|
};
|
|
4381
5003
|
}
|
|
@@ -4385,10 +5007,10 @@ export class RevokeUserSessionResponseBody extends $tea.Model {
|
|
|
4385
5007
|
}
|
|
4386
5008
|
}
|
|
4387
5009
|
|
|
4388
|
-
export class
|
|
5010
|
+
export class LookupWmInfoMappingResponse extends $tea.Model {
|
|
4389
5011
|
headers?: { [key: string]: string };
|
|
4390
5012
|
statusCode?: number;
|
|
4391
|
-
body?:
|
|
5013
|
+
body?: LookupWmInfoMappingResponseBody;
|
|
4392
5014
|
static names(): { [key: string]: string } {
|
|
4393
5015
|
return {
|
|
4394
5016
|
headers: 'headers',
|
|
@@ -4401,7 +5023,7 @@ export class RevokeUserSessionResponse extends $tea.Model {
|
|
|
4401
5023
|
return {
|
|
4402
5024
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4403
5025
|
statusCode: 'number',
|
|
4404
|
-
body:
|
|
5026
|
+
body: LookupWmInfoMappingResponseBody,
|
|
4405
5027
|
};
|
|
4406
5028
|
}
|
|
4407
5029
|
|
|
@@ -4410,29 +5032,20 @@ export class RevokeUserSessionResponse extends $tea.Model {
|
|
|
4410
5032
|
}
|
|
4411
5033
|
}
|
|
4412
5034
|
|
|
4413
|
-
export class
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
email?: string;
|
|
4417
|
-
id?: string;
|
|
4418
|
-
mobileNumber?: string;
|
|
5035
|
+
export class RevokeUserSessionRequest extends $tea.Model {
|
|
5036
|
+
externalIds?: string;
|
|
5037
|
+
idpId?: string;
|
|
4419
5038
|
static names(): { [key: string]: string } {
|
|
4420
5039
|
return {
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
email: 'Email',
|
|
4424
|
-
id: 'Id',
|
|
4425
|
-
mobileNumber: 'MobileNumber',
|
|
5040
|
+
externalIds: 'ExternalIds',
|
|
5041
|
+
idpId: 'IdpId',
|
|
4426
5042
|
};
|
|
4427
5043
|
}
|
|
4428
5044
|
|
|
4429
5045
|
static types(): { [key: string]: any } {
|
|
4430
5046
|
return {
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
email: 'string',
|
|
4434
|
-
id: 'string',
|
|
4435
|
-
mobileNumber: 'string',
|
|
5047
|
+
externalIds: 'string',
|
|
5048
|
+
idpId: 'string',
|
|
4436
5049
|
};
|
|
4437
5050
|
}
|
|
4438
5051
|
|
|
@@ -4441,7 +5054,7 @@ export class UpdateClientUserRequest extends $tea.Model {
|
|
|
4441
5054
|
}
|
|
4442
5055
|
}
|
|
4443
5056
|
|
|
4444
|
-
export class
|
|
5057
|
+
export class RevokeUserSessionResponseBody extends $tea.Model {
|
|
4445
5058
|
requestId?: string;
|
|
4446
5059
|
static names(): { [key: string]: string } {
|
|
4447
5060
|
return {
|
|
@@ -4460,10 +5073,10 @@ export class UpdateClientUserResponseBody extends $tea.Model {
|
|
|
4460
5073
|
}
|
|
4461
5074
|
}
|
|
4462
5075
|
|
|
4463
|
-
export class
|
|
5076
|
+
export class RevokeUserSessionResponse extends $tea.Model {
|
|
4464
5077
|
headers?: { [key: string]: string };
|
|
4465
5078
|
statusCode?: number;
|
|
4466
|
-
body?:
|
|
5079
|
+
body?: RevokeUserSessionResponseBody;
|
|
4467
5080
|
static names(): { [key: string]: string } {
|
|
4468
5081
|
return {
|
|
4469
5082
|
headers: 'headers',
|
|
@@ -4476,7 +5089,7 @@ export class UpdateClientUserResponse extends $tea.Model {
|
|
|
4476
5089
|
return {
|
|
4477
5090
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4478
5091
|
statusCode: 'number',
|
|
4479
|
-
body:
|
|
5092
|
+
body: RevokeUserSessionResponseBody,
|
|
4480
5093
|
};
|
|
4481
5094
|
}
|
|
4482
5095
|
|
|
@@ -4485,10 +5098,85 @@ export class UpdateClientUserResponse extends $tea.Model {
|
|
|
4485
5098
|
}
|
|
4486
5099
|
}
|
|
4487
5100
|
|
|
4488
|
-
export class
|
|
5101
|
+
export class UpdateClientUserRequest extends $tea.Model {
|
|
5102
|
+
departmentId?: string;
|
|
5103
|
+
description?: string;
|
|
5104
|
+
email?: string;
|
|
4489
5105
|
id?: string;
|
|
4490
|
-
|
|
4491
|
-
|
|
5106
|
+
mobileNumber?: string;
|
|
5107
|
+
static names(): { [key: string]: string } {
|
|
5108
|
+
return {
|
|
5109
|
+
departmentId: 'DepartmentId',
|
|
5110
|
+
description: 'Description',
|
|
5111
|
+
email: 'Email',
|
|
5112
|
+
id: 'Id',
|
|
5113
|
+
mobileNumber: 'MobileNumber',
|
|
5114
|
+
};
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
static types(): { [key: string]: any } {
|
|
5118
|
+
return {
|
|
5119
|
+
departmentId: 'string',
|
|
5120
|
+
description: 'string',
|
|
5121
|
+
email: 'string',
|
|
5122
|
+
id: 'string',
|
|
5123
|
+
mobileNumber: 'string',
|
|
5124
|
+
};
|
|
5125
|
+
}
|
|
5126
|
+
|
|
5127
|
+
constructor(map?: { [key: string]: any }) {
|
|
5128
|
+
super(map);
|
|
5129
|
+
}
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
export class UpdateClientUserResponseBody extends $tea.Model {
|
|
5133
|
+
requestId?: string;
|
|
5134
|
+
static names(): { [key: string]: string } {
|
|
5135
|
+
return {
|
|
5136
|
+
requestId: 'RequestId',
|
|
5137
|
+
};
|
|
5138
|
+
}
|
|
5139
|
+
|
|
5140
|
+
static types(): { [key: string]: any } {
|
|
5141
|
+
return {
|
|
5142
|
+
requestId: 'string',
|
|
5143
|
+
};
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
constructor(map?: { [key: string]: any }) {
|
|
5147
|
+
super(map);
|
|
5148
|
+
}
|
|
5149
|
+
}
|
|
5150
|
+
|
|
5151
|
+
export class UpdateClientUserResponse extends $tea.Model {
|
|
5152
|
+
headers?: { [key: string]: string };
|
|
5153
|
+
statusCode?: number;
|
|
5154
|
+
body?: UpdateClientUserResponseBody;
|
|
5155
|
+
static names(): { [key: string]: string } {
|
|
5156
|
+
return {
|
|
5157
|
+
headers: 'headers',
|
|
5158
|
+
statusCode: 'statusCode',
|
|
5159
|
+
body: 'body',
|
|
5160
|
+
};
|
|
5161
|
+
}
|
|
5162
|
+
|
|
5163
|
+
static types(): { [key: string]: any } {
|
|
5164
|
+
return {
|
|
5165
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5166
|
+
statusCode: 'number',
|
|
5167
|
+
body: UpdateClientUserResponseBody,
|
|
5168
|
+
};
|
|
5169
|
+
}
|
|
5170
|
+
|
|
5171
|
+
constructor(map?: { [key: string]: any }) {
|
|
5172
|
+
super(map);
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
export class UpdateClientUserPasswordRequest extends $tea.Model {
|
|
5177
|
+
id?: string;
|
|
5178
|
+
password?: string;
|
|
5179
|
+
username?: string;
|
|
4492
5180
|
static names(): { [key: string]: string } {
|
|
4493
5181
|
return {
|
|
4494
5182
|
id: 'Id',
|
|
@@ -4854,6 +5542,78 @@ export class UpdateIdpDepartmentResponse extends $tea.Model {
|
|
|
4854
5542
|
}
|
|
4855
5543
|
}
|
|
4856
5544
|
|
|
5545
|
+
export class UpdateNacUserCertStatusRequest extends $tea.Model {
|
|
5546
|
+
idList?: UpdateNacUserCertStatusRequestIdList[];
|
|
5547
|
+
status?: string;
|
|
5548
|
+
static names(): { [key: string]: string } {
|
|
5549
|
+
return {
|
|
5550
|
+
idList: 'IdList',
|
|
5551
|
+
status: 'Status',
|
|
5552
|
+
};
|
|
5553
|
+
}
|
|
5554
|
+
|
|
5555
|
+
static types(): { [key: string]: any } {
|
|
5556
|
+
return {
|
|
5557
|
+
idList: { 'type': 'array', 'itemType': UpdateNacUserCertStatusRequestIdList },
|
|
5558
|
+
status: 'string',
|
|
5559
|
+
};
|
|
5560
|
+
}
|
|
5561
|
+
|
|
5562
|
+
constructor(map?: { [key: string]: any }) {
|
|
5563
|
+
super(map);
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
export class UpdateNacUserCertStatusResponseBody extends $tea.Model {
|
|
5568
|
+
code?: string;
|
|
5569
|
+
message?: string;
|
|
5570
|
+
requestId?: string;
|
|
5571
|
+
static names(): { [key: string]: string } {
|
|
5572
|
+
return {
|
|
5573
|
+
code: 'Code',
|
|
5574
|
+
message: 'Message',
|
|
5575
|
+
requestId: 'RequestId',
|
|
5576
|
+
};
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
static types(): { [key: string]: any } {
|
|
5580
|
+
return {
|
|
5581
|
+
code: 'string',
|
|
5582
|
+
message: 'string',
|
|
5583
|
+
requestId: 'string',
|
|
5584
|
+
};
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
constructor(map?: { [key: string]: any }) {
|
|
5588
|
+
super(map);
|
|
5589
|
+
}
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
export class UpdateNacUserCertStatusResponse extends $tea.Model {
|
|
5593
|
+
headers?: { [key: string]: string };
|
|
5594
|
+
statusCode?: number;
|
|
5595
|
+
body?: UpdateNacUserCertStatusResponseBody;
|
|
5596
|
+
static names(): { [key: string]: string } {
|
|
5597
|
+
return {
|
|
5598
|
+
headers: 'headers',
|
|
5599
|
+
statusCode: 'statusCode',
|
|
5600
|
+
body: 'body',
|
|
5601
|
+
};
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
static types(): { [key: string]: any } {
|
|
5605
|
+
return {
|
|
5606
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5607
|
+
statusCode: 'number',
|
|
5608
|
+
body: UpdateNacUserCertStatusResponseBody,
|
|
5609
|
+
};
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
constructor(map?: { [key: string]: any }) {
|
|
5613
|
+
super(map);
|
|
5614
|
+
}
|
|
5615
|
+
}
|
|
5616
|
+
|
|
4857
5617
|
export class UpdatePrivateAccessApplicationRequest extends $tea.Model {
|
|
4858
5618
|
addresses?: string[];
|
|
4859
5619
|
applicationId?: string;
|
|
@@ -5691,6 +6451,206 @@ export class CreateUserGroupRequestAttributes extends $tea.Model {
|
|
|
5691
6451
|
}
|
|
5692
6452
|
}
|
|
5693
6453
|
|
|
6454
|
+
export class CreateWmBaseImageResponseBodyData extends $tea.Model {
|
|
6455
|
+
imageId?: string;
|
|
6456
|
+
imageUrl?: string;
|
|
6457
|
+
imageUrlExp?: number;
|
|
6458
|
+
static names(): { [key: string]: string } {
|
|
6459
|
+
return {
|
|
6460
|
+
imageId: 'ImageId',
|
|
6461
|
+
imageUrl: 'ImageUrl',
|
|
6462
|
+
imageUrlExp: 'ImageUrlExp',
|
|
6463
|
+
};
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
static types(): { [key: string]: any } {
|
|
6467
|
+
return {
|
|
6468
|
+
imageId: 'string',
|
|
6469
|
+
imageUrl: 'string',
|
|
6470
|
+
imageUrlExp: 'number',
|
|
6471
|
+
};
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
constructor(map?: { [key: string]: any }) {
|
|
6475
|
+
super(map);
|
|
6476
|
+
}
|
|
6477
|
+
}
|
|
6478
|
+
|
|
6479
|
+
export class CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgInvisibleControl extends $tea.Model {
|
|
6480
|
+
opacity?: number;
|
|
6481
|
+
static names(): { [key: string]: string } {
|
|
6482
|
+
return {
|
|
6483
|
+
opacity: 'Opacity',
|
|
6484
|
+
};
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6487
|
+
static types(): { [key: string]: any } {
|
|
6488
|
+
return {
|
|
6489
|
+
opacity: 'number',
|
|
6490
|
+
};
|
|
6491
|
+
}
|
|
6492
|
+
|
|
6493
|
+
constructor(map?: { [key: string]: any }) {
|
|
6494
|
+
super(map);
|
|
6495
|
+
}
|
|
6496
|
+
}
|
|
6497
|
+
|
|
6498
|
+
export class CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgVisibleControl extends $tea.Model {
|
|
6499
|
+
angle?: number;
|
|
6500
|
+
fontColor?: string;
|
|
6501
|
+
fontSize?: number;
|
|
6502
|
+
horizontalNumber?: number;
|
|
6503
|
+
mode?: string;
|
|
6504
|
+
opacity?: number;
|
|
6505
|
+
posX?: string;
|
|
6506
|
+
posY?: string;
|
|
6507
|
+
verticalNumber?: number;
|
|
6508
|
+
visibleText?: string;
|
|
6509
|
+
static names(): { [key: string]: string } {
|
|
6510
|
+
return {
|
|
6511
|
+
angle: 'Angle',
|
|
6512
|
+
fontColor: 'FontColor',
|
|
6513
|
+
fontSize: 'FontSize',
|
|
6514
|
+
horizontalNumber: 'HorizontalNumber',
|
|
6515
|
+
mode: 'Mode',
|
|
6516
|
+
opacity: 'Opacity',
|
|
6517
|
+
posX: 'PosX',
|
|
6518
|
+
posY: 'PosY',
|
|
6519
|
+
verticalNumber: 'VerticalNumber',
|
|
6520
|
+
visibleText: 'VisibleText',
|
|
6521
|
+
};
|
|
6522
|
+
}
|
|
6523
|
+
|
|
6524
|
+
static types(): { [key: string]: any } {
|
|
6525
|
+
return {
|
|
6526
|
+
angle: 'number',
|
|
6527
|
+
fontColor: 'string',
|
|
6528
|
+
fontSize: 'number',
|
|
6529
|
+
horizontalNumber: 'number',
|
|
6530
|
+
mode: 'string',
|
|
6531
|
+
opacity: 'number',
|
|
6532
|
+
posX: 'string',
|
|
6533
|
+
posY: 'string',
|
|
6534
|
+
verticalNumber: 'number',
|
|
6535
|
+
visibleText: 'string',
|
|
6536
|
+
};
|
|
6537
|
+
}
|
|
6538
|
+
|
|
6539
|
+
constructor(map?: { [key: string]: any }) {
|
|
6540
|
+
super(map);
|
|
6541
|
+
}
|
|
6542
|
+
}
|
|
6543
|
+
|
|
6544
|
+
export class CreateWmEmbedTaskRequestDocumentControlBackgroundControl extends $tea.Model {
|
|
6545
|
+
bgAddInvisible?: boolean;
|
|
6546
|
+
bgAddVisible?: boolean;
|
|
6547
|
+
bgInvisibleControl?: CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgInvisibleControl;
|
|
6548
|
+
bgVisibleControl?: CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgVisibleControl;
|
|
6549
|
+
static names(): { [key: string]: string } {
|
|
6550
|
+
return {
|
|
6551
|
+
bgAddInvisible: 'BgAddInvisible',
|
|
6552
|
+
bgAddVisible: 'BgAddVisible',
|
|
6553
|
+
bgInvisibleControl: 'BgInvisibleControl',
|
|
6554
|
+
bgVisibleControl: 'BgVisibleControl',
|
|
6555
|
+
};
|
|
6556
|
+
}
|
|
6557
|
+
|
|
6558
|
+
static types(): { [key: string]: any } {
|
|
6559
|
+
return {
|
|
6560
|
+
bgAddInvisible: 'boolean',
|
|
6561
|
+
bgAddVisible: 'boolean',
|
|
6562
|
+
bgInvisibleControl: CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgInvisibleControl,
|
|
6563
|
+
bgVisibleControl: CreateWmEmbedTaskRequestDocumentControlBackgroundControlBgVisibleControl,
|
|
6564
|
+
};
|
|
6565
|
+
}
|
|
6566
|
+
|
|
6567
|
+
constructor(map?: { [key: string]: any }) {
|
|
6568
|
+
super(map);
|
|
6569
|
+
}
|
|
6570
|
+
}
|
|
6571
|
+
|
|
6572
|
+
export class CreateWmEmbedTaskRequestDocumentControl extends $tea.Model {
|
|
6573
|
+
backgroundControl?: CreateWmEmbedTaskRequestDocumentControlBackgroundControl;
|
|
6574
|
+
invisibleAntiAllCopy?: boolean;
|
|
6575
|
+
invisibleAntiTextCopy?: boolean;
|
|
6576
|
+
static names(): { [key: string]: string } {
|
|
6577
|
+
return {
|
|
6578
|
+
backgroundControl: 'BackgroundControl',
|
|
6579
|
+
invisibleAntiAllCopy: 'InvisibleAntiAllCopy',
|
|
6580
|
+
invisibleAntiTextCopy: 'InvisibleAntiTextCopy',
|
|
6581
|
+
};
|
|
6582
|
+
}
|
|
6583
|
+
|
|
6584
|
+
static types(): { [key: string]: any } {
|
|
6585
|
+
return {
|
|
6586
|
+
backgroundControl: CreateWmEmbedTaskRequestDocumentControlBackgroundControl,
|
|
6587
|
+
invisibleAntiAllCopy: 'boolean',
|
|
6588
|
+
invisibleAntiTextCopy: 'boolean',
|
|
6589
|
+
};
|
|
6590
|
+
}
|
|
6591
|
+
|
|
6592
|
+
constructor(map?: { [key: string]: any }) {
|
|
6593
|
+
super(map);
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6597
|
+
export class CreateWmEmbedTaskResponseBodyData extends $tea.Model {
|
|
6598
|
+
taskId?: string;
|
|
6599
|
+
static names(): { [key: string]: string } {
|
|
6600
|
+
return {
|
|
6601
|
+
taskId: 'TaskId',
|
|
6602
|
+
};
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6605
|
+
static types(): { [key: string]: any } {
|
|
6606
|
+
return {
|
|
6607
|
+
taskId: 'string',
|
|
6608
|
+
};
|
|
6609
|
+
}
|
|
6610
|
+
|
|
6611
|
+
constructor(map?: { [key: string]: any }) {
|
|
6612
|
+
super(map);
|
|
6613
|
+
}
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
export class CreateWmExtractTaskResponseBodyData extends $tea.Model {
|
|
6617
|
+
taskId?: string;
|
|
6618
|
+
static names(): { [key: string]: string } {
|
|
6619
|
+
return {
|
|
6620
|
+
taskId: 'TaskId',
|
|
6621
|
+
};
|
|
6622
|
+
}
|
|
6623
|
+
|
|
6624
|
+
static types(): { [key: string]: any } {
|
|
6625
|
+
return {
|
|
6626
|
+
taskId: 'string',
|
|
6627
|
+
};
|
|
6628
|
+
}
|
|
6629
|
+
|
|
6630
|
+
constructor(map?: { [key: string]: any }) {
|
|
6631
|
+
super(map);
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
|
|
6635
|
+
export class CreateWmInfoMappingResponseBodyData extends $tea.Model {
|
|
6636
|
+
wmInfoUint?: number;
|
|
6637
|
+
static names(): { [key: string]: string } {
|
|
6638
|
+
return {
|
|
6639
|
+
wmInfoUint: 'WmInfoUint',
|
|
6640
|
+
};
|
|
6641
|
+
}
|
|
6642
|
+
|
|
6643
|
+
static types(): { [key: string]: any } {
|
|
6644
|
+
return {
|
|
6645
|
+
wmInfoUint: 'number',
|
|
6646
|
+
};
|
|
6647
|
+
}
|
|
6648
|
+
|
|
6649
|
+
constructor(map?: { [key: string]: any }) {
|
|
6650
|
+
super(map);
|
|
6651
|
+
}
|
|
6652
|
+
}
|
|
6653
|
+
|
|
5694
6654
|
export class GetActiveIdpConfigResponseBodyData extends $tea.Model {
|
|
5695
6655
|
description?: string;
|
|
5696
6656
|
id?: string;
|
|
@@ -6294,20 +7254,35 @@ export class GetUserGroupResponseBodyUserGroup extends $tea.Model {
|
|
|
6294
7254
|
}
|
|
6295
7255
|
}
|
|
6296
7256
|
|
|
6297
|
-
export class
|
|
6298
|
-
|
|
6299
|
-
|
|
7257
|
+
export class GetWmEmbedTaskResponseBodyData extends $tea.Model {
|
|
7258
|
+
fileUrl?: string;
|
|
7259
|
+
fileUrlExp?: string;
|
|
7260
|
+
filename?: string;
|
|
7261
|
+
outFileHashMd5?: string;
|
|
7262
|
+
outFileSize?: number;
|
|
7263
|
+
taskId?: string;
|
|
7264
|
+
taskStatus?: string;
|
|
6300
7265
|
static names(): { [key: string]: string } {
|
|
6301
7266
|
return {
|
|
6302
|
-
|
|
6303
|
-
|
|
7267
|
+
fileUrl: 'FileUrl',
|
|
7268
|
+
fileUrlExp: 'FileUrlExp',
|
|
7269
|
+
filename: 'Filename',
|
|
7270
|
+
outFileHashMd5: 'OutFileHashMd5',
|
|
7271
|
+
outFileSize: 'OutFileSize',
|
|
7272
|
+
taskId: 'TaskId',
|
|
7273
|
+
taskStatus: 'TaskStatus',
|
|
6304
7274
|
};
|
|
6305
7275
|
}
|
|
6306
7276
|
|
|
6307
7277
|
static types(): { [key: string]: any } {
|
|
6308
7278
|
return {
|
|
6309
|
-
|
|
6310
|
-
|
|
7279
|
+
fileUrl: 'string',
|
|
7280
|
+
fileUrlExp: 'string',
|
|
7281
|
+
filename: 'string',
|
|
7282
|
+
outFileHashMd5: 'string',
|
|
7283
|
+
outFileSize: 'number',
|
|
7284
|
+
taskId: 'string',
|
|
7285
|
+
taskStatus: 'string',
|
|
6311
7286
|
};
|
|
6312
7287
|
}
|
|
6313
7288
|
|
|
@@ -6316,7 +7291,69 @@ export class ListApplicationsForPrivateAccessPolicyResponseBodyPolicesApplicatio
|
|
|
6316
7291
|
}
|
|
6317
7292
|
}
|
|
6318
7293
|
|
|
6319
|
-
export class
|
|
7294
|
+
export class GetWmExtractTaskResponseBodyData extends $tea.Model {
|
|
7295
|
+
createTime?: string;
|
|
7296
|
+
filename?: string;
|
|
7297
|
+
status?: string;
|
|
7298
|
+
taskId?: string;
|
|
7299
|
+
wmInfoBytesB64?: string;
|
|
7300
|
+
wmInfoSize?: number;
|
|
7301
|
+
wmInfoUint?: number;
|
|
7302
|
+
wmType?: string;
|
|
7303
|
+
static names(): { [key: string]: string } {
|
|
7304
|
+
return {
|
|
7305
|
+
createTime: 'CreateTime',
|
|
7306
|
+
filename: 'Filename',
|
|
7307
|
+
status: 'Status',
|
|
7308
|
+
taskId: 'TaskId',
|
|
7309
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
7310
|
+
wmInfoSize: 'WmInfoSize',
|
|
7311
|
+
wmInfoUint: 'WmInfoUint',
|
|
7312
|
+
wmType: 'WmType',
|
|
7313
|
+
};
|
|
7314
|
+
}
|
|
7315
|
+
|
|
7316
|
+
static types(): { [key: string]: any } {
|
|
7317
|
+
return {
|
|
7318
|
+
createTime: 'string',
|
|
7319
|
+
filename: 'string',
|
|
7320
|
+
status: 'string',
|
|
7321
|
+
taskId: 'string',
|
|
7322
|
+
wmInfoBytesB64: 'string',
|
|
7323
|
+
wmInfoSize: 'number',
|
|
7324
|
+
wmInfoUint: 'number',
|
|
7325
|
+
wmType: 'string',
|
|
7326
|
+
};
|
|
7327
|
+
}
|
|
7328
|
+
|
|
7329
|
+
constructor(map?: { [key: string]: any }) {
|
|
7330
|
+
super(map);
|
|
7331
|
+
}
|
|
7332
|
+
}
|
|
7333
|
+
|
|
7334
|
+
export class ListApplicationsForPrivateAccessPolicyResponseBodyPolicesApplicationsPortRanges extends $tea.Model {
|
|
7335
|
+
begin?: number;
|
|
7336
|
+
end?: number;
|
|
7337
|
+
static names(): { [key: string]: string } {
|
|
7338
|
+
return {
|
|
7339
|
+
begin: 'Begin',
|
|
7340
|
+
end: 'End',
|
|
7341
|
+
};
|
|
7342
|
+
}
|
|
7343
|
+
|
|
7344
|
+
static types(): { [key: string]: any } {
|
|
7345
|
+
return {
|
|
7346
|
+
begin: 'number',
|
|
7347
|
+
end: 'number',
|
|
7348
|
+
};
|
|
7349
|
+
}
|
|
7350
|
+
|
|
7351
|
+
constructor(map?: { [key: string]: any }) {
|
|
7352
|
+
super(map);
|
|
7353
|
+
}
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
export class ListApplicationsForPrivateAccessPolicyResponseBodyPolicesApplications extends $tea.Model {
|
|
6320
7357
|
addresses?: string[];
|
|
6321
7358
|
applicationId?: string;
|
|
6322
7359
|
createTime?: string;
|
|
@@ -6889,6 +7926,52 @@ export class ListIdpDepartmentsResponseBodyData extends $tea.Model {
|
|
|
6889
7926
|
}
|
|
6890
7927
|
}
|
|
6891
7928
|
|
|
7929
|
+
export class ListNacUserCertResponseBodyDataList extends $tea.Model {
|
|
7930
|
+
aliuid?: string;
|
|
7931
|
+
department?: string;
|
|
7932
|
+
devTag?: string;
|
|
7933
|
+
deviceType?: string;
|
|
7934
|
+
expiredTime?: string;
|
|
7935
|
+
hostname?: string;
|
|
7936
|
+
mac?: string;
|
|
7937
|
+
status?: string;
|
|
7938
|
+
userId?: string;
|
|
7939
|
+
username?: string;
|
|
7940
|
+
static names(): { [key: string]: string } {
|
|
7941
|
+
return {
|
|
7942
|
+
aliuid: 'Aliuid',
|
|
7943
|
+
department: 'Department',
|
|
7944
|
+
devTag: 'DevTag',
|
|
7945
|
+
deviceType: 'DeviceType',
|
|
7946
|
+
expiredTime: 'ExpiredTime',
|
|
7947
|
+
hostname: 'Hostname',
|
|
7948
|
+
mac: 'Mac',
|
|
7949
|
+
status: 'Status',
|
|
7950
|
+
userId: 'UserId',
|
|
7951
|
+
username: 'Username',
|
|
7952
|
+
};
|
|
7953
|
+
}
|
|
7954
|
+
|
|
7955
|
+
static types(): { [key: string]: any } {
|
|
7956
|
+
return {
|
|
7957
|
+
aliuid: 'string',
|
|
7958
|
+
department: 'string',
|
|
7959
|
+
devTag: 'string',
|
|
7960
|
+
deviceType: 'string',
|
|
7961
|
+
expiredTime: 'string',
|
|
7962
|
+
hostname: 'string',
|
|
7963
|
+
mac: 'string',
|
|
7964
|
+
status: 'string',
|
|
7965
|
+
userId: 'string',
|
|
7966
|
+
username: 'string',
|
|
7967
|
+
};
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
constructor(map?: { [key: string]: any }) {
|
|
7971
|
+
super(map);
|
|
7972
|
+
}
|
|
7973
|
+
}
|
|
7974
|
+
|
|
6892
7975
|
export class ListPolicesForPrivateAccessApplicationResponseBodyApplicationsPoliciesCustomUserAttributes extends $tea.Model {
|
|
6893
7976
|
idpId?: number;
|
|
6894
7977
|
relation?: string;
|
|
@@ -8200,6 +9283,25 @@ export class ListUsersResponseBodyUsers extends $tea.Model {
|
|
|
8200
9283
|
}
|
|
8201
9284
|
}
|
|
8202
9285
|
|
|
9286
|
+
export class LookupWmInfoMappingResponseBodyData extends $tea.Model {
|
|
9287
|
+
wmInfoBytesB64?: string;
|
|
9288
|
+
static names(): { [key: string]: string } {
|
|
9289
|
+
return {
|
|
9290
|
+
wmInfoBytesB64: 'WmInfoBytesB64',
|
|
9291
|
+
};
|
|
9292
|
+
}
|
|
9293
|
+
|
|
9294
|
+
static types(): { [key: string]: any } {
|
|
9295
|
+
return {
|
|
9296
|
+
wmInfoBytesB64: 'string',
|
|
9297
|
+
};
|
|
9298
|
+
}
|
|
9299
|
+
|
|
9300
|
+
constructor(map?: { [key: string]: any }) {
|
|
9301
|
+
super(map);
|
|
9302
|
+
}
|
|
9303
|
+
}
|
|
9304
|
+
|
|
8203
9305
|
export class UpdateExcessiveDeviceRegistrationApplicationsStatusResponseBodyApplications extends $tea.Model {
|
|
8204
9306
|
applicationId?: string;
|
|
8205
9307
|
createTime?: string;
|
|
@@ -8252,6 +9354,28 @@ export class UpdateExcessiveDeviceRegistrationApplicationsStatusResponseBodyAppl
|
|
|
8252
9354
|
}
|
|
8253
9355
|
}
|
|
8254
9356
|
|
|
9357
|
+
export class UpdateNacUserCertStatusRequestIdList extends $tea.Model {
|
|
9358
|
+
devTag?: string;
|
|
9359
|
+
userId?: string;
|
|
9360
|
+
static names(): { [key: string]: string } {
|
|
9361
|
+
return {
|
|
9362
|
+
devTag: 'DevTag',
|
|
9363
|
+
userId: 'UserId',
|
|
9364
|
+
};
|
|
9365
|
+
}
|
|
9366
|
+
|
|
9367
|
+
static types(): { [key: string]: any } {
|
|
9368
|
+
return {
|
|
9369
|
+
devTag: 'string',
|
|
9370
|
+
userId: 'string',
|
|
9371
|
+
};
|
|
9372
|
+
}
|
|
9373
|
+
|
|
9374
|
+
constructor(map?: { [key: string]: any }) {
|
|
9375
|
+
super(map);
|
|
9376
|
+
}
|
|
9377
|
+
}
|
|
9378
|
+
|
|
8255
9379
|
export class UpdatePrivateAccessApplicationRequestPortRanges extends $tea.Model {
|
|
8256
9380
|
begin?: number;
|
|
8257
9381
|
end?: number;
|
|
@@ -9108,15 +10232,325 @@ export default class Client extends OpenApi {
|
|
|
9108
10232
|
body["Description"] = request.description;
|
|
9109
10233
|
}
|
|
9110
10234
|
|
|
9111
|
-
if (!Util.isUnset(request.name)) {
|
|
9112
|
-
body["Name"] = request.name;
|
|
10235
|
+
if (!Util.isUnset(request.name)) {
|
|
10236
|
+
body["Name"] = request.name;
|
|
10237
|
+
}
|
|
10238
|
+
|
|
10239
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10240
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10241
|
+
});
|
|
10242
|
+
let params = new $OpenApi.Params({
|
|
10243
|
+
action: "CreatePrivateAccessTag",
|
|
10244
|
+
version: "2023-01-20",
|
|
10245
|
+
protocol: "HTTPS",
|
|
10246
|
+
pathname: "/",
|
|
10247
|
+
method: "POST",
|
|
10248
|
+
authType: "AK",
|
|
10249
|
+
style: "RPC",
|
|
10250
|
+
reqBodyType: "formData",
|
|
10251
|
+
bodyType: "json",
|
|
10252
|
+
});
|
|
10253
|
+
return $tea.cast<CreatePrivateAccessTagResponse>(await this.callApi(params, req, runtime), new CreatePrivateAccessTagResponse({}));
|
|
10254
|
+
}
|
|
10255
|
+
|
|
10256
|
+
/**
|
|
10257
|
+
* @summary 创建内网访问标签
|
|
10258
|
+
*
|
|
10259
|
+
* @param request CreatePrivateAccessTagRequest
|
|
10260
|
+
* @return CreatePrivateAccessTagResponse
|
|
10261
|
+
*/
|
|
10262
|
+
async createPrivateAccessTag(request: CreatePrivateAccessTagRequest): Promise<CreatePrivateAccessTagResponse> {
|
|
10263
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10264
|
+
return await this.createPrivateAccessTagWithOptions(request, runtime);
|
|
10265
|
+
}
|
|
10266
|
+
|
|
10267
|
+
/**
|
|
10268
|
+
* @summary 创建设备注册策略
|
|
10269
|
+
*
|
|
10270
|
+
* @param tmpReq CreateRegistrationPolicyRequest
|
|
10271
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10272
|
+
* @return CreateRegistrationPolicyResponse
|
|
10273
|
+
*/
|
|
10274
|
+
async createRegistrationPolicyWithOptions(tmpReq: CreateRegistrationPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateRegistrationPolicyResponse> {
|
|
10275
|
+
Util.validateModel(tmpReq);
|
|
10276
|
+
let request = new CreateRegistrationPolicyShrinkRequest({ });
|
|
10277
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
10278
|
+
if (!Util.isUnset(tmpReq.companyLimitCount)) {
|
|
10279
|
+
request.companyLimitCountShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.companyLimitCount, "CompanyLimitCount", "json");
|
|
10280
|
+
}
|
|
10281
|
+
|
|
10282
|
+
if (!Util.isUnset(tmpReq.personalLimitCount)) {
|
|
10283
|
+
request.personalLimitCountShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.personalLimitCount, "PersonalLimitCount", "json");
|
|
10284
|
+
}
|
|
10285
|
+
|
|
10286
|
+
let body : {[key: string ]: any} = { };
|
|
10287
|
+
if (!Util.isUnset(request.companyLimitCountShrink)) {
|
|
10288
|
+
body["CompanyLimitCount"] = request.companyLimitCountShrink;
|
|
10289
|
+
}
|
|
10290
|
+
|
|
10291
|
+
if (!Util.isUnset(request.companyLimitType)) {
|
|
10292
|
+
body["CompanyLimitType"] = request.companyLimitType;
|
|
10293
|
+
}
|
|
10294
|
+
|
|
10295
|
+
if (!Util.isUnset(request.description)) {
|
|
10296
|
+
body["Description"] = request.description;
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
if (!Util.isUnset(request.matchMode)) {
|
|
10300
|
+
body["MatchMode"] = request.matchMode;
|
|
10301
|
+
}
|
|
10302
|
+
|
|
10303
|
+
if (!Util.isUnset(request.name)) {
|
|
10304
|
+
body["Name"] = request.name;
|
|
10305
|
+
}
|
|
10306
|
+
|
|
10307
|
+
if (!Util.isUnset(request.personalLimitCountShrink)) {
|
|
10308
|
+
body["PersonalLimitCount"] = request.personalLimitCountShrink;
|
|
10309
|
+
}
|
|
10310
|
+
|
|
10311
|
+
if (!Util.isUnset(request.personalLimitType)) {
|
|
10312
|
+
body["PersonalLimitType"] = request.personalLimitType;
|
|
10313
|
+
}
|
|
10314
|
+
|
|
10315
|
+
if (!Util.isUnset(request.priority)) {
|
|
10316
|
+
body["Priority"] = request.priority;
|
|
10317
|
+
}
|
|
10318
|
+
|
|
10319
|
+
if (!Util.isUnset(request.status)) {
|
|
10320
|
+
body["Status"] = request.status;
|
|
10321
|
+
}
|
|
10322
|
+
|
|
10323
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
10324
|
+
if (!Util.isUnset(request.userGroupIds)) {
|
|
10325
|
+
bodyFlat["UserGroupIds"] = request.userGroupIds;
|
|
10326
|
+
}
|
|
10327
|
+
|
|
10328
|
+
if (!Util.isUnset(request.whitelist)) {
|
|
10329
|
+
bodyFlat["Whitelist"] = request.whitelist;
|
|
10330
|
+
}
|
|
10331
|
+
|
|
10332
|
+
body = {
|
|
10333
|
+
...body,
|
|
10334
|
+
...OpenApiUtil.query(bodyFlat),
|
|
10335
|
+
};
|
|
10336
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10337
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10338
|
+
});
|
|
10339
|
+
let params = new $OpenApi.Params({
|
|
10340
|
+
action: "CreateRegistrationPolicy",
|
|
10341
|
+
version: "2023-01-20",
|
|
10342
|
+
protocol: "HTTPS",
|
|
10343
|
+
pathname: "/",
|
|
10344
|
+
method: "POST",
|
|
10345
|
+
authType: "AK",
|
|
10346
|
+
style: "RPC",
|
|
10347
|
+
reqBodyType: "formData",
|
|
10348
|
+
bodyType: "json",
|
|
10349
|
+
});
|
|
10350
|
+
return $tea.cast<CreateRegistrationPolicyResponse>(await this.callApi(params, req, runtime), new CreateRegistrationPolicyResponse({}));
|
|
10351
|
+
}
|
|
10352
|
+
|
|
10353
|
+
/**
|
|
10354
|
+
* @summary 创建设备注册策略
|
|
10355
|
+
*
|
|
10356
|
+
* @param request CreateRegistrationPolicyRequest
|
|
10357
|
+
* @return CreateRegistrationPolicyResponse
|
|
10358
|
+
*/
|
|
10359
|
+
async createRegistrationPolicy(request: CreateRegistrationPolicyRequest): Promise<CreateRegistrationPolicyResponse> {
|
|
10360
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10361
|
+
return await this.createRegistrationPolicyWithOptions(request, runtime);
|
|
10362
|
+
}
|
|
10363
|
+
|
|
10364
|
+
/**
|
|
10365
|
+
* @summary 创建用户组
|
|
10366
|
+
*
|
|
10367
|
+
* @param request CreateUserGroupRequest
|
|
10368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10369
|
+
* @return CreateUserGroupResponse
|
|
10370
|
+
*/
|
|
10371
|
+
async createUserGroupWithOptions(request: CreateUserGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserGroupResponse> {
|
|
10372
|
+
Util.validateModel(request);
|
|
10373
|
+
let body : {[key: string ]: any} = { };
|
|
10374
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
10375
|
+
if (!Util.isUnset(request.attributes)) {
|
|
10376
|
+
bodyFlat["Attributes"] = request.attributes;
|
|
10377
|
+
}
|
|
10378
|
+
|
|
10379
|
+
if (!Util.isUnset(request.description)) {
|
|
10380
|
+
body["Description"] = request.description;
|
|
10381
|
+
}
|
|
10382
|
+
|
|
10383
|
+
if (!Util.isUnset(request.name)) {
|
|
10384
|
+
body["Name"] = request.name;
|
|
10385
|
+
}
|
|
10386
|
+
|
|
10387
|
+
body = {
|
|
10388
|
+
...body,
|
|
10389
|
+
...OpenApiUtil.query(bodyFlat),
|
|
10390
|
+
};
|
|
10391
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10392
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10393
|
+
});
|
|
10394
|
+
let params = new $OpenApi.Params({
|
|
10395
|
+
action: "CreateUserGroup",
|
|
10396
|
+
version: "2023-01-20",
|
|
10397
|
+
protocol: "HTTPS",
|
|
10398
|
+
pathname: "/",
|
|
10399
|
+
method: "POST",
|
|
10400
|
+
authType: "AK",
|
|
10401
|
+
style: "RPC",
|
|
10402
|
+
reqBodyType: "formData",
|
|
10403
|
+
bodyType: "json",
|
|
10404
|
+
});
|
|
10405
|
+
return $tea.cast<CreateUserGroupResponse>(await this.callApi(params, req, runtime), new CreateUserGroupResponse({}));
|
|
10406
|
+
}
|
|
10407
|
+
|
|
10408
|
+
/**
|
|
10409
|
+
* @summary 创建用户组
|
|
10410
|
+
*
|
|
10411
|
+
* @param request CreateUserGroupRequest
|
|
10412
|
+
* @return CreateUserGroupResponse
|
|
10413
|
+
*/
|
|
10414
|
+
async createUserGroup(request: CreateUserGroupRequest): Promise<CreateUserGroupResponse> {
|
|
10415
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10416
|
+
return await this.createUserGroupWithOptions(request, runtime);
|
|
10417
|
+
}
|
|
10418
|
+
|
|
10419
|
+
/**
|
|
10420
|
+
* @summary 创建数字水印暗水印透明底图
|
|
10421
|
+
*
|
|
10422
|
+
* @param request CreateWmBaseImageRequest
|
|
10423
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10424
|
+
* @return CreateWmBaseImageResponse
|
|
10425
|
+
*/
|
|
10426
|
+
async createWmBaseImageWithOptions(request: CreateWmBaseImageRequest, runtime: $Util.RuntimeOptions): Promise<CreateWmBaseImageResponse> {
|
|
10427
|
+
Util.validateModel(request);
|
|
10428
|
+
let body : {[key: string ]: any} = { };
|
|
10429
|
+
if (!Util.isUnset(request.height)) {
|
|
10430
|
+
body["Height"] = request.height;
|
|
10431
|
+
}
|
|
10432
|
+
|
|
10433
|
+
if (!Util.isUnset(request.opacity)) {
|
|
10434
|
+
body["Opacity"] = request.opacity;
|
|
10435
|
+
}
|
|
10436
|
+
|
|
10437
|
+
if (!Util.isUnset(request.scale)) {
|
|
10438
|
+
body["Scale"] = request.scale;
|
|
10439
|
+
}
|
|
10440
|
+
|
|
10441
|
+
if (!Util.isUnset(request.width)) {
|
|
10442
|
+
body["Width"] = request.width;
|
|
10443
|
+
}
|
|
10444
|
+
|
|
10445
|
+
if (!Util.isUnset(request.wmInfoBytesB64)) {
|
|
10446
|
+
body["WmInfoBytesB64"] = request.wmInfoBytesB64;
|
|
10447
|
+
}
|
|
10448
|
+
|
|
10449
|
+
if (!Util.isUnset(request.wmInfoSize)) {
|
|
10450
|
+
body["WmInfoSize"] = request.wmInfoSize;
|
|
10451
|
+
}
|
|
10452
|
+
|
|
10453
|
+
if (!Util.isUnset(request.wmInfoUint)) {
|
|
10454
|
+
body["WmInfoUint"] = request.wmInfoUint;
|
|
10455
|
+
}
|
|
10456
|
+
|
|
10457
|
+
if (!Util.isUnset(request.wmType)) {
|
|
10458
|
+
body["WmType"] = request.wmType;
|
|
10459
|
+
}
|
|
10460
|
+
|
|
10461
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10462
|
+
body: OpenApiUtil.parseToMap(body),
|
|
10463
|
+
});
|
|
10464
|
+
let params = new $OpenApi.Params({
|
|
10465
|
+
action: "CreateWmBaseImage",
|
|
10466
|
+
version: "2023-01-20",
|
|
10467
|
+
protocol: "HTTPS",
|
|
10468
|
+
pathname: "/",
|
|
10469
|
+
method: "POST",
|
|
10470
|
+
authType: "AK",
|
|
10471
|
+
style: "RPC",
|
|
10472
|
+
reqBodyType: "formData",
|
|
10473
|
+
bodyType: "json",
|
|
10474
|
+
});
|
|
10475
|
+
return $tea.cast<CreateWmBaseImageResponse>(await this.callApi(params, req, runtime), new CreateWmBaseImageResponse({}));
|
|
10476
|
+
}
|
|
10477
|
+
|
|
10478
|
+
/**
|
|
10479
|
+
* @summary 创建数字水印暗水印透明底图
|
|
10480
|
+
*
|
|
10481
|
+
* @param request CreateWmBaseImageRequest
|
|
10482
|
+
* @return CreateWmBaseImageResponse
|
|
10483
|
+
*/
|
|
10484
|
+
async createWmBaseImage(request: CreateWmBaseImageRequest): Promise<CreateWmBaseImageResponse> {
|
|
10485
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10486
|
+
return await this.createWmBaseImageWithOptions(request, runtime);
|
|
10487
|
+
}
|
|
10488
|
+
|
|
10489
|
+
/**
|
|
10490
|
+
* @summary 创建嵌入水印任务
|
|
10491
|
+
*
|
|
10492
|
+
* @param tmpReq CreateWmEmbedTaskRequest
|
|
10493
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10494
|
+
* @return CreateWmEmbedTaskResponse
|
|
10495
|
+
*/
|
|
10496
|
+
async createWmEmbedTaskWithOptions(tmpReq: CreateWmEmbedTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateWmEmbedTaskResponse> {
|
|
10497
|
+
Util.validateModel(tmpReq);
|
|
10498
|
+
let request = new CreateWmEmbedTaskShrinkRequest({ });
|
|
10499
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
10500
|
+
if (!Util.isUnset(tmpReq.documentControl)) {
|
|
10501
|
+
request.documentControlShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.documentControl, "DocumentControl", "json");
|
|
10502
|
+
}
|
|
10503
|
+
|
|
10504
|
+
let body : {[key: string ]: any} = { };
|
|
10505
|
+
if (!Util.isUnset(request.documentControlShrink)) {
|
|
10506
|
+
body["DocumentControl"] = request.documentControlShrink;
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
if (!Util.isUnset(request.fileUrl)) {
|
|
10510
|
+
body["FileUrl"] = request.fileUrl;
|
|
10511
|
+
}
|
|
10512
|
+
|
|
10513
|
+
if (!Util.isUnset(request.filename)) {
|
|
10514
|
+
body["Filename"] = request.filename;
|
|
10515
|
+
}
|
|
10516
|
+
|
|
10517
|
+
if (!Util.isUnset(request.imageEmbedJpegQuality)) {
|
|
10518
|
+
body["ImageEmbedJpegQuality"] = request.imageEmbedJpegQuality;
|
|
10519
|
+
}
|
|
10520
|
+
|
|
10521
|
+
if (!Util.isUnset(request.imageEmbedLevel)) {
|
|
10522
|
+
body["ImageEmbedLevel"] = request.imageEmbedLevel;
|
|
10523
|
+
}
|
|
10524
|
+
|
|
10525
|
+
if (!Util.isUnset(request.videoBitrate)) {
|
|
10526
|
+
body["VideoBitrate"] = request.videoBitrate;
|
|
10527
|
+
}
|
|
10528
|
+
|
|
10529
|
+
if (!Util.isUnset(request.videoIsLong)) {
|
|
10530
|
+
body["VideoIsLong"] = request.videoIsLong;
|
|
10531
|
+
}
|
|
10532
|
+
|
|
10533
|
+
if (!Util.isUnset(request.wmInfoBytesB64)) {
|
|
10534
|
+
body["WmInfoBytesB64"] = request.wmInfoBytesB64;
|
|
10535
|
+
}
|
|
10536
|
+
|
|
10537
|
+
if (!Util.isUnset(request.wmInfoSize)) {
|
|
10538
|
+
body["WmInfoSize"] = request.wmInfoSize;
|
|
10539
|
+
}
|
|
10540
|
+
|
|
10541
|
+
if (!Util.isUnset(request.wmInfoUint)) {
|
|
10542
|
+
body["WmInfoUint"] = request.wmInfoUint;
|
|
10543
|
+
}
|
|
10544
|
+
|
|
10545
|
+
if (!Util.isUnset(request.wmType)) {
|
|
10546
|
+
body["WmType"] = request.wmType;
|
|
9113
10547
|
}
|
|
9114
10548
|
|
|
9115
10549
|
let req = new $OpenApi.OpenApiRequest({
|
|
9116
10550
|
body: OpenApiUtil.parseToMap(body),
|
|
9117
10551
|
});
|
|
9118
10552
|
let params = new $OpenApi.Params({
|
|
9119
|
-
action: "
|
|
10553
|
+
action: "CreateWmEmbedTask",
|
|
9120
10554
|
version: "2023-01-20",
|
|
9121
10555
|
protocol: "HTTPS",
|
|
9122
10556
|
pathname: "/",
|
|
@@ -9126,94 +10560,63 @@ export default class Client extends OpenApi {
|
|
|
9126
10560
|
reqBodyType: "formData",
|
|
9127
10561
|
bodyType: "json",
|
|
9128
10562
|
});
|
|
9129
|
-
return $tea.cast<
|
|
10563
|
+
return $tea.cast<CreateWmEmbedTaskResponse>(await this.callApi(params, req, runtime), new CreateWmEmbedTaskResponse({}));
|
|
9130
10564
|
}
|
|
9131
10565
|
|
|
9132
10566
|
/**
|
|
9133
|
-
* @summary
|
|
10567
|
+
* @summary 创建嵌入水印任务
|
|
9134
10568
|
*
|
|
9135
|
-
* @param request
|
|
9136
|
-
* @return
|
|
10569
|
+
* @param request CreateWmEmbedTaskRequest
|
|
10570
|
+
* @return CreateWmEmbedTaskResponse
|
|
9137
10571
|
*/
|
|
9138
|
-
async
|
|
10572
|
+
async createWmEmbedTask(request: CreateWmEmbedTaskRequest): Promise<CreateWmEmbedTaskResponse> {
|
|
9139
10573
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9140
|
-
return await this.
|
|
10574
|
+
return await this.createWmEmbedTaskWithOptions(request, runtime);
|
|
9141
10575
|
}
|
|
9142
10576
|
|
|
9143
10577
|
/**
|
|
9144
|
-
* @summary
|
|
10578
|
+
* @summary 创建文件水印提取任务
|
|
9145
10579
|
*
|
|
9146
|
-
* @param
|
|
10580
|
+
* @param request CreateWmExtractTaskRequest
|
|
9147
10581
|
* @param runtime runtime options for this request RuntimeOptions
|
|
9148
|
-
* @return
|
|
10582
|
+
* @return CreateWmExtractTaskResponse
|
|
9149
10583
|
*/
|
|
9150
|
-
async
|
|
9151
|
-
Util.validateModel(
|
|
9152
|
-
let request = new CreateRegistrationPolicyShrinkRequest({ });
|
|
9153
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
9154
|
-
if (!Util.isUnset(tmpReq.companyLimitCount)) {
|
|
9155
|
-
request.companyLimitCountShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.companyLimitCount, "CompanyLimitCount", "json");
|
|
9156
|
-
}
|
|
9157
|
-
|
|
9158
|
-
if (!Util.isUnset(tmpReq.personalLimitCount)) {
|
|
9159
|
-
request.personalLimitCountShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.personalLimitCount, "PersonalLimitCount", "json");
|
|
9160
|
-
}
|
|
9161
|
-
|
|
10584
|
+
async createWmExtractTaskWithOptions(request: CreateWmExtractTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateWmExtractTaskResponse> {
|
|
10585
|
+
Util.validateModel(request);
|
|
9162
10586
|
let body : {[key: string ]: any} = { };
|
|
9163
|
-
if (!Util.isUnset(request.
|
|
9164
|
-
body["
|
|
9165
|
-
}
|
|
9166
|
-
|
|
9167
|
-
if (!Util.isUnset(request.companyLimitType)) {
|
|
9168
|
-
body["CompanyLimitType"] = request.companyLimitType;
|
|
9169
|
-
}
|
|
9170
|
-
|
|
9171
|
-
if (!Util.isUnset(request.description)) {
|
|
9172
|
-
body["Description"] = request.description;
|
|
9173
|
-
}
|
|
9174
|
-
|
|
9175
|
-
if (!Util.isUnset(request.matchMode)) {
|
|
9176
|
-
body["MatchMode"] = request.matchMode;
|
|
9177
|
-
}
|
|
9178
|
-
|
|
9179
|
-
if (!Util.isUnset(request.name)) {
|
|
9180
|
-
body["Name"] = request.name;
|
|
10587
|
+
if (!Util.isUnset(request.documentIsCapture)) {
|
|
10588
|
+
body["DocumentIsCapture"] = request.documentIsCapture;
|
|
9181
10589
|
}
|
|
9182
10590
|
|
|
9183
|
-
if (!Util.isUnset(request.
|
|
9184
|
-
body["
|
|
10591
|
+
if (!Util.isUnset(request.fileUrl)) {
|
|
10592
|
+
body["FileUrl"] = request.fileUrl;
|
|
9185
10593
|
}
|
|
9186
10594
|
|
|
9187
|
-
if (!Util.isUnset(request.
|
|
9188
|
-
body["
|
|
10595
|
+
if (!Util.isUnset(request.filename)) {
|
|
10596
|
+
body["Filename"] = request.filename;
|
|
9189
10597
|
}
|
|
9190
10598
|
|
|
9191
|
-
if (!Util.isUnset(request.
|
|
9192
|
-
body["
|
|
10599
|
+
if (!Util.isUnset(request.videoIsLong)) {
|
|
10600
|
+
body["VideoIsLong"] = request.videoIsLong;
|
|
9193
10601
|
}
|
|
9194
10602
|
|
|
9195
|
-
if (!Util.isUnset(request.
|
|
9196
|
-
body["
|
|
10603
|
+
if (!Util.isUnset(request.videoSpeed)) {
|
|
10604
|
+
body["VideoSpeed"] = request.videoSpeed;
|
|
9197
10605
|
}
|
|
9198
10606
|
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
bodyFlat["UserGroupIds"] = request.userGroupIds;
|
|
10607
|
+
if (!Util.isUnset(request.wmInfoSize)) {
|
|
10608
|
+
body["WmInfoSize"] = request.wmInfoSize;
|
|
9202
10609
|
}
|
|
9203
10610
|
|
|
9204
|
-
if (!Util.isUnset(request.
|
|
9205
|
-
|
|
10611
|
+
if (!Util.isUnset(request.wmType)) {
|
|
10612
|
+
body["WmType"] = request.wmType;
|
|
9206
10613
|
}
|
|
9207
10614
|
|
|
9208
|
-
body = {
|
|
9209
|
-
...body,
|
|
9210
|
-
...OpenApiUtil.query(bodyFlat),
|
|
9211
|
-
};
|
|
9212
10615
|
let req = new $OpenApi.OpenApiRequest({
|
|
9213
10616
|
body: OpenApiUtil.parseToMap(body),
|
|
9214
10617
|
});
|
|
9215
10618
|
let params = new $OpenApi.Params({
|
|
9216
|
-
action: "
|
|
10619
|
+
action: "CreateWmExtractTask",
|
|
9217
10620
|
version: "2023-01-20",
|
|
9218
10621
|
protocol: "HTTPS",
|
|
9219
10622
|
pathname: "/",
|
|
@@ -9223,52 +10626,47 @@ export default class Client extends OpenApi {
|
|
|
9223
10626
|
reqBodyType: "formData",
|
|
9224
10627
|
bodyType: "json",
|
|
9225
10628
|
});
|
|
9226
|
-
return $tea.cast<
|
|
10629
|
+
return $tea.cast<CreateWmExtractTaskResponse>(await this.callApi(params, req, runtime), new CreateWmExtractTaskResponse({}));
|
|
9227
10630
|
}
|
|
9228
10631
|
|
|
9229
10632
|
/**
|
|
9230
|
-
* @summary
|
|
10633
|
+
* @summary 创建文件水印提取任务
|
|
9231
10634
|
*
|
|
9232
|
-
* @param request
|
|
9233
|
-
* @return
|
|
10635
|
+
* @param request CreateWmExtractTaskRequest
|
|
10636
|
+
* @return CreateWmExtractTaskResponse
|
|
9234
10637
|
*/
|
|
9235
|
-
async
|
|
10638
|
+
async createWmExtractTask(request: CreateWmExtractTaskRequest): Promise<CreateWmExtractTaskResponse> {
|
|
9236
10639
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9237
|
-
return await this.
|
|
10640
|
+
return await this.createWmExtractTaskWithOptions(request, runtime);
|
|
9238
10641
|
}
|
|
9239
10642
|
|
|
9240
10643
|
/**
|
|
9241
|
-
* @summary
|
|
10644
|
+
* @summary 创建一条字符串水印信息到数字水印信息的映射记录
|
|
9242
10645
|
*
|
|
9243
|
-
* @param request
|
|
10646
|
+
* @param request CreateWmInfoMappingRequest
|
|
9244
10647
|
* @param runtime runtime options for this request RuntimeOptions
|
|
9245
|
-
* @return
|
|
10648
|
+
* @return CreateWmInfoMappingResponse
|
|
9246
10649
|
*/
|
|
9247
|
-
async
|
|
10650
|
+
async createWmInfoMappingWithOptions(request: CreateWmInfoMappingRequest, runtime: $Util.RuntimeOptions): Promise<CreateWmInfoMappingResponse> {
|
|
9248
10651
|
Util.validateModel(request);
|
|
9249
10652
|
let body : {[key: string ]: any} = { };
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
bodyFlat["Attributes"] = request.attributes;
|
|
10653
|
+
if (!Util.isUnset(request.wmInfoBytesB64)) {
|
|
10654
|
+
body["WmInfoBytesB64"] = request.wmInfoBytesB64;
|
|
9253
10655
|
}
|
|
9254
10656
|
|
|
9255
|
-
if (!Util.isUnset(request.
|
|
9256
|
-
body["
|
|
10657
|
+
if (!Util.isUnset(request.wmInfoSize)) {
|
|
10658
|
+
body["WmInfoSize"] = request.wmInfoSize;
|
|
9257
10659
|
}
|
|
9258
10660
|
|
|
9259
|
-
if (!Util.isUnset(request.
|
|
9260
|
-
body["
|
|
10661
|
+
if (!Util.isUnset(request.wmType)) {
|
|
10662
|
+
body["WmType"] = request.wmType;
|
|
9261
10663
|
}
|
|
9262
10664
|
|
|
9263
|
-
body = {
|
|
9264
|
-
...body,
|
|
9265
|
-
...OpenApiUtil.query(bodyFlat),
|
|
9266
|
-
};
|
|
9267
10665
|
let req = new $OpenApi.OpenApiRequest({
|
|
9268
10666
|
body: OpenApiUtil.parseToMap(body),
|
|
9269
10667
|
});
|
|
9270
10668
|
let params = new $OpenApi.Params({
|
|
9271
|
-
action: "
|
|
10669
|
+
action: "CreateWmInfoMapping",
|
|
9272
10670
|
version: "2023-01-20",
|
|
9273
10671
|
protocol: "HTTPS",
|
|
9274
10672
|
pathname: "/",
|
|
@@ -9278,18 +10676,18 @@ export default class Client extends OpenApi {
|
|
|
9278
10676
|
reqBodyType: "formData",
|
|
9279
10677
|
bodyType: "json",
|
|
9280
10678
|
});
|
|
9281
|
-
return $tea.cast<
|
|
10679
|
+
return $tea.cast<CreateWmInfoMappingResponse>(await this.callApi(params, req, runtime), new CreateWmInfoMappingResponse({}));
|
|
9282
10680
|
}
|
|
9283
10681
|
|
|
9284
10682
|
/**
|
|
9285
|
-
* @summary
|
|
10683
|
+
* @summary 创建一条字符串水印信息到数字水印信息的映射记录
|
|
9286
10684
|
*
|
|
9287
|
-
* @param request
|
|
9288
|
-
* @return
|
|
10685
|
+
* @param request CreateWmInfoMappingRequest
|
|
10686
|
+
* @return CreateWmInfoMappingResponse
|
|
9289
10687
|
*/
|
|
9290
|
-
async
|
|
10688
|
+
async createWmInfoMapping(request: CreateWmInfoMappingRequest): Promise<CreateWmInfoMappingResponse> {
|
|
9291
10689
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9292
|
-
return await this.
|
|
10690
|
+
return await this.createWmInfoMappingWithOptions(request, runtime);
|
|
9293
10691
|
}
|
|
9294
10692
|
|
|
9295
10693
|
/**
|
|
@@ -10176,6 +11574,82 @@ export default class Client extends OpenApi {
|
|
|
10176
11574
|
return await this.getUserGroupWithOptions(request, runtime);
|
|
10177
11575
|
}
|
|
10178
11576
|
|
|
11577
|
+
/**
|
|
11578
|
+
* @summary 查询嵌入水印任务
|
|
11579
|
+
*
|
|
11580
|
+
* @param request GetWmEmbedTaskRequest
|
|
11581
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11582
|
+
* @return GetWmEmbedTaskResponse
|
|
11583
|
+
*/
|
|
11584
|
+
async getWmEmbedTaskWithOptions(request: GetWmEmbedTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetWmEmbedTaskResponse> {
|
|
11585
|
+
Util.validateModel(request);
|
|
11586
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
11587
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11588
|
+
query: OpenApiUtil.query(query),
|
|
11589
|
+
});
|
|
11590
|
+
let params = new $OpenApi.Params({
|
|
11591
|
+
action: "GetWmEmbedTask",
|
|
11592
|
+
version: "2023-01-20",
|
|
11593
|
+
protocol: "HTTPS",
|
|
11594
|
+
pathname: "/",
|
|
11595
|
+
method: "GET",
|
|
11596
|
+
authType: "AK",
|
|
11597
|
+
style: "RPC",
|
|
11598
|
+
reqBodyType: "formData",
|
|
11599
|
+
bodyType: "json",
|
|
11600
|
+
});
|
|
11601
|
+
return $tea.cast<GetWmEmbedTaskResponse>(await this.callApi(params, req, runtime), new GetWmEmbedTaskResponse({}));
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
/**
|
|
11605
|
+
* @summary 查询嵌入水印任务
|
|
11606
|
+
*
|
|
11607
|
+
* @param request GetWmEmbedTaskRequest
|
|
11608
|
+
* @return GetWmEmbedTaskResponse
|
|
11609
|
+
*/
|
|
11610
|
+
async getWmEmbedTask(request: GetWmEmbedTaskRequest): Promise<GetWmEmbedTaskResponse> {
|
|
11611
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11612
|
+
return await this.getWmEmbedTaskWithOptions(request, runtime);
|
|
11613
|
+
}
|
|
11614
|
+
|
|
11615
|
+
/**
|
|
11616
|
+
* @summary 查询文件水印提取任务详情
|
|
11617
|
+
*
|
|
11618
|
+
* @param request GetWmExtractTaskRequest
|
|
11619
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11620
|
+
* @return GetWmExtractTaskResponse
|
|
11621
|
+
*/
|
|
11622
|
+
async getWmExtractTaskWithOptions(request: GetWmExtractTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetWmExtractTaskResponse> {
|
|
11623
|
+
Util.validateModel(request);
|
|
11624
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
11625
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11626
|
+
query: OpenApiUtil.query(query),
|
|
11627
|
+
});
|
|
11628
|
+
let params = new $OpenApi.Params({
|
|
11629
|
+
action: "GetWmExtractTask",
|
|
11630
|
+
version: "2023-01-20",
|
|
11631
|
+
protocol: "HTTPS",
|
|
11632
|
+
pathname: "/",
|
|
11633
|
+
method: "GET",
|
|
11634
|
+
authType: "AK",
|
|
11635
|
+
style: "RPC",
|
|
11636
|
+
reqBodyType: "formData",
|
|
11637
|
+
bodyType: "json",
|
|
11638
|
+
});
|
|
11639
|
+
return $tea.cast<GetWmExtractTaskResponse>(await this.callApi(params, req, runtime), new GetWmExtractTaskResponse({}));
|
|
11640
|
+
}
|
|
11641
|
+
|
|
11642
|
+
/**
|
|
11643
|
+
* @summary 查询文件水印提取任务详情
|
|
11644
|
+
*
|
|
11645
|
+
* @param request GetWmExtractTaskRequest
|
|
11646
|
+
* @return GetWmExtractTaskResponse
|
|
11647
|
+
*/
|
|
11648
|
+
async getWmExtractTask(request: GetWmExtractTaskRequest): Promise<GetWmExtractTaskResponse> {
|
|
11649
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11650
|
+
return await this.getWmExtractTaskWithOptions(request, runtime);
|
|
11651
|
+
}
|
|
11652
|
+
|
|
10179
11653
|
/**
|
|
10180
11654
|
* @summary 批量查询内网访问策略的应用
|
|
10181
11655
|
*
|
|
@@ -10513,6 +11987,76 @@ export default class Client extends OpenApi {
|
|
|
10513
11987
|
return await this.listIdpDepartmentsWithOptions(request, runtime);
|
|
10514
11988
|
}
|
|
10515
11989
|
|
|
11990
|
+
/**
|
|
11991
|
+
* @summary 入网用户列表
|
|
11992
|
+
*
|
|
11993
|
+
* @param request ListNacUserCertRequest
|
|
11994
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11995
|
+
* @return ListNacUserCertResponse
|
|
11996
|
+
*/
|
|
11997
|
+
async listNacUserCertWithOptions(request: ListNacUserCertRequest, runtime: $Util.RuntimeOptions): Promise<ListNacUserCertResponse> {
|
|
11998
|
+
Util.validateModel(request);
|
|
11999
|
+
let query = { };
|
|
12000
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
12001
|
+
query["CurrentPage"] = request.currentPage;
|
|
12002
|
+
}
|
|
12003
|
+
|
|
12004
|
+
if (!Util.isUnset(request.department)) {
|
|
12005
|
+
query["Department"] = request.department;
|
|
12006
|
+
}
|
|
12007
|
+
|
|
12008
|
+
if (!Util.isUnset(request.deviceType)) {
|
|
12009
|
+
query["DeviceType"] = request.deviceType;
|
|
12010
|
+
}
|
|
12011
|
+
|
|
12012
|
+
if (!Util.isUnset(request.endTime)) {
|
|
12013
|
+
query["EndTime"] = request.endTime;
|
|
12014
|
+
}
|
|
12015
|
+
|
|
12016
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
12017
|
+
query["PageSize"] = request.pageSize;
|
|
12018
|
+
}
|
|
12019
|
+
|
|
12020
|
+
if (!Util.isUnset(request.startTime)) {
|
|
12021
|
+
query["StartTime"] = request.startTime;
|
|
12022
|
+
}
|
|
12023
|
+
|
|
12024
|
+
if (!Util.isUnset(request.status)) {
|
|
12025
|
+
query["Status"] = request.status;
|
|
12026
|
+
}
|
|
12027
|
+
|
|
12028
|
+
if (!Util.isUnset(request.username)) {
|
|
12029
|
+
query["Username"] = request.username;
|
|
12030
|
+
}
|
|
12031
|
+
|
|
12032
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12033
|
+
query: OpenApiUtil.query(query),
|
|
12034
|
+
});
|
|
12035
|
+
let params = new $OpenApi.Params({
|
|
12036
|
+
action: "ListNacUserCert",
|
|
12037
|
+
version: "2023-01-20",
|
|
12038
|
+
protocol: "HTTPS",
|
|
12039
|
+
pathname: "/",
|
|
12040
|
+
method: "POST",
|
|
12041
|
+
authType: "AK",
|
|
12042
|
+
style: "RPC",
|
|
12043
|
+
reqBodyType: "formData",
|
|
12044
|
+
bodyType: "json",
|
|
12045
|
+
});
|
|
12046
|
+
return $tea.cast<ListNacUserCertResponse>(await this.callApi(params, req, runtime), new ListNacUserCertResponse({}));
|
|
12047
|
+
}
|
|
12048
|
+
|
|
12049
|
+
/**
|
|
12050
|
+
* @summary 入网用户列表
|
|
12051
|
+
*
|
|
12052
|
+
* @param request ListNacUserCertRequest
|
|
12053
|
+
* @return ListNacUserCertResponse
|
|
12054
|
+
*/
|
|
12055
|
+
async listNacUserCert(request: ListNacUserCertRequest): Promise<ListNacUserCertResponse> {
|
|
12056
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12057
|
+
return await this.listNacUserCertWithOptions(request, runtime);
|
|
12058
|
+
}
|
|
12059
|
+
|
|
10516
12060
|
/**
|
|
10517
12061
|
* @summary 批量查询内网访问应用的策略
|
|
10518
12062
|
*
|
|
@@ -11235,6 +12779,44 @@ export default class Client extends OpenApi {
|
|
|
11235
12779
|
return await this.listUsersWithOptions(request, runtime);
|
|
11236
12780
|
}
|
|
11237
12781
|
|
|
12782
|
+
/**
|
|
12783
|
+
* @summary 根据数字水印信息查询字符串水印信息
|
|
12784
|
+
*
|
|
12785
|
+
* @param request LookupWmInfoMappingRequest
|
|
12786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12787
|
+
* @return LookupWmInfoMappingResponse
|
|
12788
|
+
*/
|
|
12789
|
+
async lookupWmInfoMappingWithOptions(request: LookupWmInfoMappingRequest, runtime: $Util.RuntimeOptions): Promise<LookupWmInfoMappingResponse> {
|
|
12790
|
+
Util.validateModel(request);
|
|
12791
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
12792
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12793
|
+
query: OpenApiUtil.query(query),
|
|
12794
|
+
});
|
|
12795
|
+
let params = new $OpenApi.Params({
|
|
12796
|
+
action: "LookupWmInfoMapping",
|
|
12797
|
+
version: "2023-01-20",
|
|
12798
|
+
protocol: "HTTPS",
|
|
12799
|
+
pathname: "/",
|
|
12800
|
+
method: "GET",
|
|
12801
|
+
authType: "AK",
|
|
12802
|
+
style: "RPC",
|
|
12803
|
+
reqBodyType: "formData",
|
|
12804
|
+
bodyType: "json",
|
|
12805
|
+
});
|
|
12806
|
+
return $tea.cast<LookupWmInfoMappingResponse>(await this.callApi(params, req, runtime), new LookupWmInfoMappingResponse({}));
|
|
12807
|
+
}
|
|
12808
|
+
|
|
12809
|
+
/**
|
|
12810
|
+
* @summary 根据数字水印信息查询字符串水印信息
|
|
12811
|
+
*
|
|
12812
|
+
* @param request LookupWmInfoMappingRequest
|
|
12813
|
+
* @return LookupWmInfoMappingResponse
|
|
12814
|
+
*/
|
|
12815
|
+
async lookupWmInfoMapping(request: LookupWmInfoMappingRequest): Promise<LookupWmInfoMappingResponse> {
|
|
12816
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12817
|
+
return await this.lookupWmInfoMappingWithOptions(request, runtime);
|
|
12818
|
+
}
|
|
12819
|
+
|
|
11238
12820
|
/**
|
|
11239
12821
|
* @summary 吊销用户登录会话
|
|
11240
12822
|
*
|
|
@@ -11627,6 +13209,57 @@ export default class Client extends OpenApi {
|
|
|
11627
13209
|
return await this.updateIdpDepartmentWithOptions(request, runtime);
|
|
11628
13210
|
}
|
|
11629
13211
|
|
|
13212
|
+
/**
|
|
13213
|
+
* @summary 更新NAC User 状态
|
|
13214
|
+
*
|
|
13215
|
+
* @param request UpdateNacUserCertStatusRequest
|
|
13216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13217
|
+
* @return UpdateNacUserCertStatusResponse
|
|
13218
|
+
*/
|
|
13219
|
+
async updateNacUserCertStatusWithOptions(request: UpdateNacUserCertStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateNacUserCertStatusResponse> {
|
|
13220
|
+
Util.validateModel(request);
|
|
13221
|
+
let body : {[key: string ]: any} = { };
|
|
13222
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
13223
|
+
if (!Util.isUnset(request.idList)) {
|
|
13224
|
+
bodyFlat["IdList"] = request.idList;
|
|
13225
|
+
}
|
|
13226
|
+
|
|
13227
|
+
if (!Util.isUnset(request.status)) {
|
|
13228
|
+
body["Status"] = request.status;
|
|
13229
|
+
}
|
|
13230
|
+
|
|
13231
|
+
body = {
|
|
13232
|
+
...body,
|
|
13233
|
+
...OpenApiUtil.query(bodyFlat),
|
|
13234
|
+
};
|
|
13235
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13236
|
+
body: OpenApiUtil.parseToMap(body),
|
|
13237
|
+
});
|
|
13238
|
+
let params = new $OpenApi.Params({
|
|
13239
|
+
action: "UpdateNacUserCertStatus",
|
|
13240
|
+
version: "2023-01-20",
|
|
13241
|
+
protocol: "HTTPS",
|
|
13242
|
+
pathname: "/",
|
|
13243
|
+
method: "POST",
|
|
13244
|
+
authType: "AK",
|
|
13245
|
+
style: "RPC",
|
|
13246
|
+
reqBodyType: "formData",
|
|
13247
|
+
bodyType: "json",
|
|
13248
|
+
});
|
|
13249
|
+
return $tea.cast<UpdateNacUserCertStatusResponse>(await this.callApi(params, req, runtime), new UpdateNacUserCertStatusResponse({}));
|
|
13250
|
+
}
|
|
13251
|
+
|
|
13252
|
+
/**
|
|
13253
|
+
* @summary 更新NAC User 状态
|
|
13254
|
+
*
|
|
13255
|
+
* @param request UpdateNacUserCertStatusRequest
|
|
13256
|
+
* @return UpdateNacUserCertStatusResponse
|
|
13257
|
+
*/
|
|
13258
|
+
async updateNacUserCertStatus(request: UpdateNacUserCertStatusRequest): Promise<UpdateNacUserCertStatusResponse> {
|
|
13259
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13260
|
+
return await this.updateNacUserCertStatusWithOptions(request, runtime);
|
|
13261
|
+
}
|
|
13262
|
+
|
|
11630
13263
|
/**
|
|
11631
13264
|
* @summary 修改内网访问应用
|
|
11632
13265
|
*
|